Updated Angular to v4.4.4

Also changed tsconfig options to fix an error that arose - TS2304: Cannot find name 'Iterable'

It's auto-generated by npm and is intended to be committed - https://docs.npmjs.com/files/package-lock.json
Do you still want me to remove it?

I know and you are right, but I found that it adds a lot of noise to diff so don't wanna to introduce it to this tiny plugin.

Ok, no problem.

I removed package-lock.json

Seems like your PR have conflicts now.


Update load-testing.md

RE: Load Testing SDK alignment

Learn Build status updates of commit b69a7e0:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

docs-ref-services/latest/load-testing.md
:x:Error

Details

docs-ref-services/latest/load-testing.md

Line 12, Column 1: [Error: include-not-found] Invalid include link: 'load-testing-client-index.md'.
Line 1, Column 1: [Warning: ms-date-missing - See documentation] Missing required attribute: 'ms.date'. A freshness date is required for this content set. Add a date in format MM/DD/YYYY.
Line 1, Column 1: [Warning: ms-topic-missing - See documentation] Missing required attribute: 'ms.topic'. Add a valid value to indicate the article type.
Line 1, Column 1: [Warning: author-missing - See documentation] Missing required attribute: 'author'. Add the current author's GitHub ID.
Line 1, Column 1: [Warning: title-missing - See documentation] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 1, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 1, Column 1: [Warning: ms-prod-or-service-missing - See documentation] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 6, Column 1: [Warning: h1-not-first - See documentation] Markdown content is not allowed before H1 'Azure Load Testing SDK for Python - preview'.
Line 1, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 9229a81:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/load-testing.md
:warning:Warning
View (azure-python)
Details

docs-ref-services/latest/load-testing-client-index.md
:warning:Warning
View (azure-python)
Details

docs-ref-services/latest/load-testing-mgmt-index.md
:warning:Warning
View (azure-python)
Details

docs-ref-services/latest/load-testing.md

Line 1, Column 1: [Warning: ms-date-missing - See documentation] Missing required attribute: 'ms.date'. A freshness date is required for this content set. Add a date in format MM/DD/YYYY.
Line 1, Column 1: [Warning: ms-topic-missing - See documentation] Missing required attribute: 'ms.topic'. Add a valid value to indicate the article type.
Line 1, Column 1: [Warning: author-missing - See documentation] Missing required attribute: 'author'. Add the current author's GitHub ID.
Line 1, Column 1: [Warning: title-missing - See documentation] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 1, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 1, Column 1: [Warning: ms-prod-or-service-missing - See documentation] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 6, Column 1: [Warning: h1-not-first - See documentation] Markdown content is not allowed before H1 'Azure Load Testing SDK for Python - preview'.
Line 1, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

docs-ref-services/latest/load-testing-client-index.md

Line 0, Column 0: [Warning: h1-missing - See documentation] H1 is required. Use a single hash (#) followed by a space to create your top-level heading.
Line 1, Column 1: [Warning: ms-date-missing - See documentation] Missing required attribute: 'ms.date'. A freshness date is required for this content set. Add a date in format MM/DD/YYYY.
Line 1, Column 1: [Warning: ms-topic-missing - See documentation] Missing required attribute: 'ms.topic'. Add a valid value to indicate the article type.
Line 1, Column 1: [Warning: author-missing - See documentation] Missing required attribute: 'author'. Add the current author's GitHub ID.
Line 1, Column 1: [Warning: title-missing - See documentation] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 1, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 1, Column 1: [Warning: ms-prod-or-service-missing - See documentation] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 3, Column 2: [Warning: file-not-found - See documentation] Invalid file link: 'developer-loadtesting-readme.md'.
Line 1, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

docs-ref-services/latest/load-testing-mgmt-index.md

Line 0, Column 0: [Warning: h1-missing - See documentation] H1 is required. Use a single hash (#) followed by a space to create your top-level heading.
Line 1, Column 1: [Warning: ms-date-missing - See documentation] Missing required attribute: 'ms.date'. A freshness date is required for this content set. Add a date in format MM/DD/YYYY.
Line 1, Column 1: [Warning: ms-topic-missing - See documentation] Missing required attribute: 'ms.topic'. Add a valid value to indicate the article type.
Line 1, Column 1: [Warning: author-missing - See documentation] Missing required attribute: 'author'. Add the current author's GitHub ID.
Line 1, Column 1: [Warning: title-missing - See documentation] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 1, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 1, Column 1: [Warning: ms-prod-or-service-missing - See documentation] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 1, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 20a5422:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/load-testing.md
:warning:Warning
View (azure-python)
Details

docs-ref-services/latest/load-testing-client-index.md
:warning:Warning
View (azure-python)
Details

docs-ref-services/latest/load-testing-mgmt-index.md
:warning:Warning
View (azure-python)
Details

docs-ref-services/latest/load-testing.md

Line 2, Column 1: [Warning: ms-date-missing - See documentation] Missing required attribute: 'ms.date'. A freshness date is required for this content set. Add a date in format MM/DD/YYYY.
Line 5, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'loadtesting'.

docs-ref-services/latest/load-testing-client-index.md

Line 0, Column 0: [Warning: h1-missing - See documentation] H1 is required. Use a single hash (#) followed by a space to create your top-level heading.
Line 1, Column 1: [Warning: ms-date-missing - See documentation] Missing required attribute: 'ms.date'. A freshness date is required for this content set. Add a date in format MM/DD/YYYY.
Line 1, Column 1: [Warning: ms-topic-missing - See documentation] Missing required attribute: 'ms.topic'. Add a valid value to indicate the article type.
Line 1, Column 1: [Warning: author-missing - See documentation] Missing required attribute: 'author'. Add the current author's GitHub ID.
Line 1, Column 1: [Warning: title-missing - See documentation] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 1, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 1, Column 1: [Warning: ms-prod-or-service-missing - See documentation] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 3, Column 2: [Warning: file-not-found - See documentation] Invalid file link: 'developer-loadtesting-readme.md'.
Line 1, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

docs-ref-services/latest/load-testing-mgmt-index.md

Line 0, Column 0: [Warning: h1-missing - See documentation] H1 is required. Use a single hash (#) followed by a space to create your top-level heading.
Line 1, Column 1: [Warning: ms-date-missing - See documentation] Missing required attribute: 'ms.date'. A freshness date is required for this content set. Add a date in format MM/DD/YYYY.
Line 1, Column 1: [Warning: ms-topic-missing - See documentation] Missing required attribute: 'ms.topic'. Add a valid value to indicate the article type.
Line 1, Column 1: [Warning: author-missing - See documentation] Missing required attribute: 'author'. Add the current author's GitHub ID.
Line 1, Column 1: [Warning: title-missing - See documentation] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 1, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 1, Column 1: [Warning: ms-prod-or-service-missing - See documentation] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 1, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 0d41d71:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-services/latest/developer-loadtesting-readme.md
:warning:Warning
View (azure-python)
Details

docs-ref-services/latest/load-testing-client-index.md
:warning:Warning
View (azure-python)
Details

docs-ref-services/latest/developer-loadtesting-readme.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'loadtestservice'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 47, Column 65: [Suggestion: docs-link-absolute - See documentation] Absolute link 'https://learn.microsoft.com/python/api/azure-identity/azure.identity.defaultazurecredential?view=azure-python' will be broken in isolated environments. Replace with a relative link.
Line 47, Column 65: [Suggestion: preserve-view-not-set - See documentation] You've pinned this link to a specific version of content with the view parameter. It's recommended not to pin a version unless that version is A) not the default view and B) the context is about that version specifically. To proceed with pinning a version add the &preserve-view=true to the URL.  Otherwise, remove the view parameter. URL: https://learn.microsoft.com/python/api/azure-identity/azure.identity.defaultazurecredential?view=azure-python

docs-ref-services/latest/load-testing-client-index.md

Line 0, Column 0: [Warning: h1-missing - See documentation] H1 is required. Use a single hash (#) followed by a space to create your top-level heading.
Line 1, Column 1: [Warning: ms-date-missing - See documentation] Missing required attribute: 'ms.date'. A freshness date is required for this content set. Add a date in format MM/DD/YYYY.
Line 1, Column 1: [Warning: ms-topic-missing - See documentation] Missing required attribute: 'ms.topic'. Add a valid value to indicate the article type.
Line 1, Column 1: [Warning: author-missing - See documentation] Missing required attribute: 'author'. Add the current author's GitHub ID.
Line 1, Column 1: [Warning: title-missing - See documentation] Missing required attribute: 'title'. Add a title string to show in search engine results.
Line 1, Column 1: [Warning: ms-author-missing - See documentation] Missing required attribute: 'ms.author'. Add the current author's Microsoft alias.
Line 1, Column 1: [Warning: ms-prod-or-service-missing - See documentation] One of the following attributes is required: 'ms.prod', 'ms.service'. Use ms.prod for on-premise products, or ms.service for cloud services.
Line 1, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Learn Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings or suggestions unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Bad Performance of text-generation with sampling algo

System Info
Ubuntu 20.04

Information

[X] The official example scripts
[ ] My own modified scripts

Tasks

[ ] An officially supported task in the examples folder (such as GLUE/SQuAD, ...)
[ ] My own task or dataset (give details below)

Reproduction
with do_sample, the throughput is 450 tps
python run_generation.py --model_name_or_path gpt2  --batch_size 1 --max_new_tokens 100 --use_hpu_graphs --prompt "I am a student from" --do_sample

without do_sample, the throughput is 900tps
python run_generation.py --model_name_or_path gpt2  --batch_size 1 --max_new_tokens 100 --use_hpu_graphs --prompt "I am a student from"

Expected behavior
decent performance with do_sample algo

@regisss  you have asked me before about the bad performance when you runing text-generation with sampling algo, after profiling, I think the issue is bad pipelining of host and device, see the to_cpu part with red rectangle.

it block host until device finished. so what I think is try to remove it by introducing check early stop every N steps.

Interesting! Not sure what you mean by "check early stop every N steps" though, could you explain it a bit more?

from the profile we could see there is a to_cpu and to_hpu and after investigation, I found it is because tensor.prod is a fallback op in HPU side refer code

when there is a CPU fallback op, which means we must stop here and wait the tensor from device ready.
the above part is used for early stop checking, so a straight  forward solution is checking early stop every 5 or 10 step, not calling above part code every step.
But I have not seen this issue before, and after check the code I found that we are using a old transformers, with which the implementation is
unfinished_sequences = unfinished_sequences.mul((sum(next_tokens != i for i in eos_token_id)).long())

@regisss  seems much better now
before

now is

cost of one step on device is reduced from 2.2ms to 1.9ms
but there is still a waiting

I think it is comes from here

how about we adding a feature that check early stop every N step?

I took a closer look and I have a few questions/remarks:

We should see the same behavior with greedy_search no? Since early stopping is managed the same way: https://github.com/huggingface/optimum-habana/blob/2cb7646bdaa41e88e05ef2bea18fce43f2faf0a8/optimum/habana/transformers/generation/utils.py#L1173
You mentioned that this was not happening with the previous implementation. Maybe we can just revert back tounfinished_sequences = unfinished_sequences.mul((sum(next_tokens != i for i in eos_token_id)).long())

what do you think?
We use early stopping in eager mode only, so a quick and simple fix would be to changeif eos_token_id_tensor is not None:
    unfinished_sequences = unfinished_sequences.mul(
        next_tokens.tile(eos_token_id_tensor.shape[0], 1).ne(eos_token_id_tensor.unsqueeze(1)).prod(dim=0)
    )

toif not lazy_mode and eos_token_id_tensor is not None:
    unfinished_sequences = unfinished_sequences.mul(
        next_tokens.tile(eos_token_id_tensor.shape[0], 1).ne(eos_token_id_tensor.unsqueeze(1)).prod(dim=0)
    )

if I understood correctly.

yes @regisss , you are right, but not enough
the following code will still block and wait

what is the ignore_eos, after debugging I found that in greedy_search, the ignore_eos is True, so we will skip the checking

Good catch, we don't use ignore_eos when doing sampling. So I guess we can just use it the same way as in greedy_search, and that should solve this issue?

how about the following changes

checking azy_mode first and if True, python won't check unfinished_sequences.max() == 0 and there is no wait
and perf is

closed since PR #254 fixed


Fibonacci benchmark improvements

Duplication and Architecture

Minimize code duplication between the Fibonacci and Fibonacci_LEM benchmarks by refactoring common code into shared functions or modules.
Follow the Criterion architecture for comparing functions to organize and compare the benchmarks, which will enable plotting the performance of these benchmarks relative to each other.

BenchmarkID Construction

Adjust the BenchmarkID construction to align with the hierarchical section format expected by external tools like critcmp or criterion-table.
Rename the benchmark group from "Prove" to "Fibonacci" and utilize the additional parameter in BenchmarkId to hold git details, as shown in the BenchmarkId documentation.
Notably, the problem is not that the benchmark ID includes some git data, but that it includes it in the function name parameter of BenchmarkID::new and not in the parameter argument, see:
https://github.com/lurk-lab/lurk-rs/blob/696f1f699a68386777f5399b44b18803d6582e77/benches/fibonacci.rs#L93
https://github.com/lurk-lab/lurk-rs/blob/696f1f699a68386777f5399b44b18803d6582e77/benches/fibonacci_lem.rs#L88

Performance Measurement

Incorporate throughput measurements in terms of number of recurrences per second, as outlined in the Criterion's advanced configuration guide.

Fixed in https://github.com/lurk-lab/lurk-rs/pull/852 https://github.com/lurk-lab/lurk-rs/pull/855 https://github.com/lurk-lab/lurk-rs/pull/857 https://github.com/lurk-lab/lurk-rs/pull/861


Tab Selection

A tab selection in the menu bar would be useful, something that lets me sort of "clear" the window whenever I choose it.
Here's a example ;
I want 3 tabs
Player Physic Testing --> Game Physics Testing --> Settings (right of the menu bar) --- the current tab will be white and the ones that aren't will be grayed out
and if i use just the collapsing headers for tabs, it will get overcrowded, and i have a diff purpose for them. Sure, I can use multiple windows for each but I have a ton of info on just 1 window and if i spread them out im worried it will be hard for me to control, this would make it much easier and better for me to organize
A system in which I can choose those tabs would be really nice

Tabs is another feature which would be good to add but is not currently implemented. The best option we have at the moment is what the styling window does with radio buttons.

Thanks! Forgot about them


[FIX] Ensure the default locale is set correctly for domain based configuration

Fixes https://github.com/tractorcow/silverstripe-fluent/issues/439

You OK with this @tractorcow?

Context: it sucks that the director doesn't apply middleware until after it's done all the routing, but it is what it is. This is why we need to use the director extension instead of making that a middleware as well. @scott1702 found that the InitStateMiddleware needs to be run before the fluent director extension makes routing decisions based on the state, so this is the workaround.

@tractorcow we can follow up on this if you're not happy with it


View Model Training failures

Image Training Azure:

On Azure Upload there is a newtonsoft error in Az Copy. Becca probably regressed this. AZ Copy upload has been condensed into one method in TrainViewModel and the helper method is in AzCopyDataProvider

Object Detection:

This is uploading! But there is some failure. Attached is my data object that is getting passed to training (sorry, it has all the c# escape characters)https://app.zenhub.com/files/186917455/c3a2af01-f822-4d1c-b043-50935af48f73/download

These were all bugs during original VM conversion


Allows to delete linked project without any warning message.

Describe the bug
Should display some warning message while trying to delete linked projects.

Linked project means? linked to time sheet or billing?? i guess when project is finished it can not be deleted. Kindly check that can we delete project.

As discussed with Vinod Sir, kindly display warning message.

I actually don't know that, whether user is adding/editing or removing project(s).
as multiple project added or removed its bit difficult to find out.
still we can do this we little longer time in development for a message.
I suggest for a message this much work is not required.
still required? @vinpahilwani

dont do anything. as far as timesheet on deleted projects is concerned we need to cover itup in summary report.


DeviceEntryType error after upgrade to 1.1.4 version

The component doesn't work anymore after updating the component to version 1.1.4.
I'm running Home Assistant version 2021.11.0
Debug log

Logger: homeassistant.setup
Source: setup.py:316
First occurred: 08:06:32 (3 occurrences)
Last logged: 08:06:33

Unable to prepare setup for platform knmi.binary_sensor: Platform not found (cannot import name 'DeviceEntryType' from 'homeassistant.helpers.device_registry' (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/device_registry.py)).
Unable to prepare setup for platform knmi.weather: Platform not found (cannot import name 'DeviceEntryType' from 'homeassistant.helpers.device_registry' (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/device_registry.py)).
Unable to prepare setup for platform knmi.sensor: Platform not found (cannot import name 'DeviceEntryType' from 'homeassistant.helpers.device_registry' (/srv/homeassistant/lib/python3.9/site-packages/homeassistant/helpers/device_registry.py)).

I'm not sure what is the best way forward, DeviceEntryType was introduced in 2021.12 I think, upgrading HA to that version would fix your issue.
I have a branch with a hotfix that you could use as well: https://github.com/golles/ha-knmi/tree/2021.11-fix
Let me know if this helps for you
(In the meantime I need to think about how I should accept new features from HA)

@golles That's no problem. I didn't know the DeviceEntryType was introduced in 2021.12.
I will upgrade my HA instance to fix it. Thanks.

It was introduced here: https://github.com/home-assistant/core/pull/59940/files#diff-cf3556489ca520b322444a92a9232b9473ee68ee564de8e305f33fa734ec649a
I think it was a bit unlucky that I did all this refactoring just after 2021.12 release :-)
Let me know if it's still broken after the upgrade

@golles I've upgraded Home Assistant to the latest version and now everything works fine.

Good to hear and thanks for reporting back!


Atom hangs when fetching a large amount of data from the REPL and pretty printing

Atom will sometimes hang if executing a command that returns a large amount of data from the REPL especially when using inline mode or pretty printing. Autoeval makes the problem worse. We need to limit the amount of data returned from the REPL to avoid this.

I think the right way to handle this will be to create middleware for Proto REPL. I knew I would need to do this eventually. It's probably time to do it.

How much do you consider a large amount of data?
I was actually experimenting with this last night. I imported a CSV of around 35MB and 154k lines. Importing with incanter worked but was slow, using closure-csv was fast, but importing with data.csv made Proto REPL hang (may have just been user error too).
However, all that imported data was stored in a defined variable. The one time I attempted to display all the contents of that variable (154k vectors!), Proto REPL did hang irrecoverably.

I'd consider that a lot of data. That's way more than I think you could consider displaying in Proto REPL with the current design. My approach would be to use nREPL middleware and only take some top N amount of the data to return for display. I haven't looked into it too much yet.
You can do the same thing manually. If you have a giant csv assigned to a def then display just part of it in Proto REPL using (take 20 my-var) to limit to 20 rows that are displayed.

I don't know if it's possible within Atom's capabilities, but it would be useful to be able to browse complete datasets of this size.
New to Clojure, but with good experience with R, some of the key tasks I'm undertaking to learn Clojure are loading and manipulating datasets. In RStudio, it is possible to load a dataset of this size and browse the dataframe in a new tab (see screenshot). This can be very useful to conducting spot checks of data and better understanding content/structure.
Limiting display to just N amount of data to return would possibly preclude or limit this possibility.
Not a deal breaker, just adding that it would be a nice to have. I guess there has to be a limit somewhere though and I'm not experienced enough to understand if this even should be possible via a REPL with Clojure.

It's definitely possible both for Clojure and Atom to handle this amount of data. It just has to be managed in the right way so that it's fast and doesn't use up too much memory. clojure.data.csv has lazy functions for returning data. 154K lines or 35MB of data isn't too much to load in one Clojure JVM. Atom itself isn't great at handling very large files. They're still working to improve things like that. But Atom backed by Clojure should be able to handle that without a problem as long as it's pulling back reasonable sized chunks to display. That's where nREPL middleware will hopefully come in handy. If I just asked for the entire set of data and then try to created 154K nested inline items which each become 12 divs or more the GUI will become sluggish.
I know I can do it because I was recently doing a very similar thing with CSV and parsing over 4GB of data and displaying things with Proto REPL. I wasn't trying to keep all of that in memory but even that size should be possible if I increased the JVM heap size.

This is the next big thing that I'm tackling. My hunch was that it was ClojureScript EDN parsing of the results that was slow but this turned out to be completely incorrect. Below is an image that shows the performance analysis displaying (range 10000) in Proto REPL. Automatic Pretty printing and inline display were turned on. I can definitely improve this a lot. The first thing to tackle is the inline display. By writing custom code to reproduce what Atom ink is doing in ClojureScript I can probably shrink cut the total time in half. The next thing after that would probably be to look at using pretty printing within Clojure instead of ClojureScript and Fipp.

I created a pull request in Atom ink to fix the tree view issue.
Performance before change for creating a tree view with N children:

1000 - 59 ms
10000 - 1451 ms
100000 - 132278 ms

Performance after the change is:

1000 - 5 ms
10000 - 27 ms
100000 - 216 ms

I'll manually incorporate this change into Proto REPL until the Atom change is merged.

I released 1.1.6 with this part of the performance improvements.

I found something: when you pretty-print a lot of data with proto-repl, clear the repl, and again pretty-print a lot, it'll sometimes hang.
I think one possibility is because we're adding all these changes to undo stack. Maybe we can have a memory and performance improvements if we call clearUndoStack on REPL's  TextEditor.


New trees don't respect workbench.list.openMode

This setting controls whether items should open/expand with a single click or double click. The old trees check this via the WorkbenchTreeController/DefaultController. How should we handle it for the new tree?

Didn't seem to fix it in this build:
7f136b44cff0cd3486ac88b43598b8c72b025d16
2019-01-31T06:07:23.930Z
Can repro in explorer.

@Tyriar Which platform?

Can't repro on Linux or macOS.

Also can't repro on Windows.

Oh I see what you mean, this is about folder expansion.


INCOMPLETE: Added profit field for overlay with profit calculation

I opened this pull request to check if you are interested in such features related to profit tracking,
that will calculate how much profit you've made, per hour, in total, including items you've just banked
for people going on money making.
I added a profit field for starters:

Hey, I think I will continue develop in a different repo now, since my code is becoming a pretty different plugin with a different goal. I will sure to have credit to your repo which I've forked from.

Hi :) Is it ok if just add a credit and link in my README file?

Hi :) Is it ok if just add a credit and link in my README file?
( see https://github.com/nofatigue/runelite-plugin-ProfitTracker

Your plugin looks great -- glad I was able to inspire something!  I will go ahead and close this PR.


Merge dev-master into master branch

@sdhutchins After I get the paper added, and finish some more updates we can make an official release!

@sdhutchins After I get the paper added, and finish some more updates we can make an official release!

Cool. I'll give the paper another look today.

It's about to pass in a few minutes!


Componentize markup and stop partials from piping into dist

@matheuss @sindresorhus @doot0 Please review if anyone gets a chance 🙌
This PR works to shrink the amount of repeated pug code in Kap by introducing mixins. It also stops any .pug or .css file starting with _ from piping into the dist directory. Handy for partials! 🎉

I'm getting:

utils.js:22 Uncaught TypeError: Cannot read property 'addEventListener' of null

In the GIF editor.

The cropper window is broken. It's not possible to change its height.

@CodeTheory the marquee is smaller than the window 😰

@matheuss @sindresorhus please review again ❤


Camera Projection Matrix Loading

Fixed camera projection matrix loading.
Previously, each instance in self.t_img_cam kept on overwriting itself, resulting in all entries to be the same matrix (CAM07)

Thanks @codyreading I've confirmed this issue and this fixes the problem.
Before:

After


⚠ ClamAV has degraded performance

In ffdc1d7, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 464 ms

Resolved: ClamAV performance has improved in b4ace6a.


Convert Leads to Contact

Hi,
in the Sugar interface there is a way to convert Leads in Contact: Lead tab >> "Convert Lead"
Someone know the way to do that using this library ?
I had a look to
SugarCRM::Lead.methods
but I have not found nothing.
Some ideas ?
Thank you,
Alessandro

Closing this, unless it's still an issue!


CP4BA 21.0.3 odm_configuration to reduce request values have no effect.

Please don't tell me to raise this with CP team.
Issue:  (on CP4BA 21.0.3.IF018 [latest LTSR])
For DEV system I try to reduce the CPU and MEM request. (works great on other CP4BA components and the ibm_cp4a_cr_production_FC_decisions.yaml file suggest that it is possible.
The KC / help as well: https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/21.0.3?topic=parameters-operational-decision-manager
But the values aren't used.
Also I couldn't find any logic which would pick these up (in the Ansible roles folder of CP4BA operator. )
nothing which read/uses: decisionCenter.resources.requests.cpu
Seems that since 22.0.1 the roles\ODM\tasks\addparams-profile_size.yml action on the CR values.
Any plans to fix this in 21.0.3 (current supported LTSR) or document this as known issue?
Here the section of CP4BA CR file:
  odm_configuration:
    no_log: false
    debug: true ##doesn't use no_log: false
    decisionServerRuntime:
      enabled: true
      resources:
        requests:
          cpu: 31m
          memory: 256Mi
    decisionServerConsole:
      resources:
        requests:
          cpu: 31m
          memory: 256Mi
    # To enable the Authoring part
    decisionRunner:
      enabled: true
      resources:
        requests:
          cpu: 31m
          memory: 256Mi
    decisionCenter:
      enabled: true
      resources:
        requests:
          cpu: 31m

Hello, sorry for the delay, I didn't receive any notification, or maybe it slipped out of my attention :)
Your values should be used but it seems you didn't add the mandatory
odm_configuration:
  deployment_profile_size: custom

in your CR (look for deployment_profile_size in https://www.ibm.com/docs/en/cloud-paks/cp-biz-automation/21.0.3?topic=parameters-operational-decision-manager).

@PYLochou  thanks for you reply.
on CP4BA 21.0.3 (LTSR) this doesn't work.
I couldn't find any logic in 21.0.3 which would user/set the CPU/MEM values.
here my ODM yaml section
  odm_configuration:
    customization:
      authSecretRef: tso-odm-sec-mapping
    debug: true
    decisionCenter:
      enabled: true
      resources:
        requests:
          cpu: 31m
    decisionRunner:
      enabled: true
      resources:
        requests:
          cpu: 31m
          memory: 256Mi
    decisionServerConsole:
      resources:
        requests:
          cpu: 31m
          memory: 256Mi
    decisionServerRuntime:
      enabled: true
      resources:
        requests:
          cpu: 31m
          memory: 256Mi
    deployment_profile_size: custom
    no_log: false

merci

I just checked with latest code (iFix 22 I'd say) and it works as expected.
Here is an excerpt of my CR:
spec:
  appVersion: 21.0.3
  ibm_license: accept
  shared_configuration:
    sc_deployment_profile_size: small
  odm_configuration:
    deployment_profile_size: custom
    decisionRunner:
      enabled: true
      resources:
        requests:
          cpu: 31m
          memory: 256Mi

and this is what I get:
oc get deployment odm-demo-2103-odm-decisionrunner -o jsonpath="{.spec.template.spec.containers[0].resources.requests.cpu}"
31m

So... I don't understand :(
The correct code has been provided about 18 months ago from my GitHub history, your iFix 18 is probably more recent...
Can you please check the source code in the CP4BA pod, and verify the following lines in roles/ODM-21.0.3/tasks/deploy.yml:
- name: "include_tasks: addparams-profile_size"
  include_tasks: addparams-profile_size.yml
  when: odm_deployment_profile_size |lower != "custom"

(line 82)
Especially the when condition?
Thank you!

On a side note: This GitHub repo is related to our standalone offer ODM on K8s and not to CP4BA.
Would you mind next time either opening an IBM support case, or open a new discussion rather on https://community.ibm.com/community/user/automation/communities/community-home?CommunityKey=65a0df07-3745-40d1-a699-304350bd38fc? Thank you very much!


Paste via ctrl+v does not work in web chrome windows

Is there an existing issue for this?

[X] I have searched the existing issues

Flutter Quill version
8.6.4
Steps to reproduce

copy any text
paste text using ctrl+v

Expected results
text pasted
Actual results
text pasted incorrect or not pasted

Hi, does the issue only happen on google chrome for windows?

Hi, does the issue only happen on google chrome for windows?

no. I check in other browsers too

Hi, does the issue only happen on google chrome for windows?

no. I check in other browsers too

I can't reproduce the bug, I tested it on google chrome in macOS and Android as well iOS

Hi, does the issue only happen on google chrome for windows?

no. I check in other browsers too

I can't reproduce the bug, I tested it on google chrome in macOS and Android as well iOS

Bug only on Windows
Linux and Mac works ok

Is the copied text have styles or not?

Is the copied text have styles or not?

Bug only on Microsoft Windows on any browser

Is the copied text have styles or not?

Bug only on Microsoft Windows on any browser

The logic of pasting text differ if it have styles or not, we need to know if that bug from our side or from clipboard plugin that we use

I just tested it and it seems to be working, I didn't test it on Microsoft Windows on any browser yet.


feat: Add BLS signature short pk variant

Description
Major changes include:

move current bls_over_bn254 impl to bls_over_bn254::min_sig
add bls_over_bn254::min_pk module

closes: #373

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (main)
[ ] Linked to GitHub issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the GitHub PR explorer

Is this still working? We may still want a short pk version for a smaller stake table.

I see! I paused this previously, but I will keep working on it this week. Thanks for reminding me! @mrain

I see! I paused this previously, but I will keep working on it this week. Thanks for reminding me! @mrain

Thanks @alxiong ! Let me know when it's ready.


Add some random api to entertainment

[x] My submission is formatted according to the guidelines in the contributing guide
[x] My addition is ordered alphabetically
[x] My submission has a useful description
[x] The description does not have more than 100 characters
[x] The description does not end with punctuation
[x] Each table column is padded with one space on either side
[x] I have searched the repository for any relevant issues or pull requests
[x] Any category I am creating has the minimum requirement of 3 items
[x] All changes have been squashed into a single commit

Hi @Yakiyo
Thanks for your contribution ;)
We have some problems with Public APIs, so we won't be able to review/add this improvement right now.
Read this issue for more information, please: https://github.com/public-apis/public-apis/issues/3104


Fix Yams dependency

https://github.com/apple/swift/pull/31891 introduced a dependency on a fork: https://github.com/jpsim/Yams/pull/260. We need to understand the root cause and go back to depending on upstream releases of Yams.

FYI @ematejska .

Dan found the root cause and a better patch: https://github.com/asuhan/Yams/pull/1. We'll need to keep the fork around until https://bugs.swift.org/browse/TF-1203 is solved.


⚠ Secret Website 3 has degraded performance

In 41b1c08, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 2377 ms

Resolved: Secret Website 3 performance has improved in 7975a7f.


API error when claiming

I'm trying to claim lazysoci.al but I get "The api returned this error: Internal Server Error "

Can you tell me the admin username you were putting there?

lazyadmin

Please try again now

You're really keen on this. Thanks.
Sorry, it was gone midnight for me, I had to sleep.
That worked.


Workflow Maintenance

Fix issue in pushing images to master/release with multi-arch build
Bump action versions

apparently image push was falling for quite a while...
align workflows with sriov-device-plugin
see: https://github.com/k8snetworkplumbingwg/sriov-cni/actions/workflows/image-push-master.yml


Added classes for handling events to Azure Core.

This is based on this draft for guidelines for handling events in Android. See this PR for an example of how developer would use these APIs.

Keeping this open.

Keep open.

Keep open

Hi @vcolin7. Thank you for your interest in helping to improve the Azure SDK experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days.

Hold it, my guy.

Will work on this next week.


Type refinement can't be put into reusable function

Flow version: 0.133.0
Expected behavior
There should be no errors as the if shouldn't be run unless the type is correct
Actual behavior
There is an error saying that it can't find properties of string and boolean even though my valid function does type refinement

Link to Try-Flow or Github repo: https://flow.org/try/#0C4TwDgpgBAKlC8UBGB7FAbCBDAdlAPlAM7ABOAljgOYFQDeUokAXMWZTQL4DcAUACYQAxuiyloANzFQsrGH15CUOElCnpy-BFAAUKJACs5ASgQA+eryhRyAM11MIKe-oMJ4iAOQkK1T6fFgAFdSPFssdCIIPms7B3AnF0N3L1QMbBx-KECQsIiomOyIYNDGUiDo3h5eXjiddU0dLGNTOisoJRV0gDp0FCom7sdjPk4ausdnGSgAQg8ob3Y-KAAyFcYEqaxZ+c80zFwstutOoh6+gawhhJGqoA

Read the docs: https://flow.org/en/docs/types/functions/#toc-predicate-functions
https://flow.org/try/#0C4TwDgpgBAKlC8UBGB7FAbCBDAdlAPlAM7ABOAljgOYFQDeUokAXMWZTQL4DcAUACYQAxuiyloANzFQsrGH15CUOElCnpy-BFAAUKJACs5ASlaoM2PAFIhAC2EBrIlAQA+erxfjgAV1J4mCBQAMyh9AygAQnhEAHISCmpYqAAyFMZwINDwqJioWPNMXFi+Hl5eclCddU0dLGNjDxclFQsAOnQUKjq2wONS8srdQJCZXLiEjmS0jMhRrHH8wstYxrpPKBaids7urF7M-t5OIA

Perfect just what I'm looking for! Thank you 🙏


Relation between Single File STAC and Collections

For me it is not quite clear how the relation between Single File STAC and Collections is. Currently, SFS extends a Catalog and Collections is a Catalog, but at the same time there's a collections field in the Catalog.
From a "Single Item with Collection" use case, I'd find it pretty sweet to just add the collection fields to the top-level in a SFS and not populate the collections array. I'm not sure whether that's allowed and I think should be clarified.
Edit: The Collection JSON Schema doesn't allow it.

The top-level in a SFS is basically the "root" catalog, and all the Collections in the catalog are in the collections array and all the Items in the catalog are in the Features array.
You can't just have collection fields in the top-level because your SFS might have Items from multiple Collections.

Yes, I know that this is generally the case, but I'm looking at a use case with just one collection and then I asked myself whether I could just extend the Catalog to be a Collection like in "STAC core". It just doesn't say anything about it and should be clarified quickly.

The underlying question really is: Is a Collection Extension automatically also a Catalog extension?
This is related to #826.

Is a Catalog Extension automatically also a Collection extension?

It is, see JSON Schemas.

Is a Catalog Extension automatically also a Collection extension?

It is, see JSON Schemas.


[1.13] otel: ensure stable XDS generation (#40930)

Currently, order changes on every new push. This leads to draining all connections
(cherry picked from commit 76a8be91904b97ace6d2b18ba4c02d833a304177) (cherry picked from commit 4e46398b05e346366641b1a81a7e953de646e4ff)
Fixes https://github.com/istio/istio/issues/40931

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio_release-1.13
1a093406881fe3098a7e0a5c75cbbd373940040b
link
true
/test release-notes

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio_release-1.13
1a093406881fe3098a7e0a5c75cbbd373940040b
link
true
/test release-notes

unit-tests_istio_release-1.13
1a093406881fe3098a7e0a5c75cbbd373940040b
link
true
/test unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio_release-1.13
1a093406881fe3098a7e0a5c75cbbd373940040b
link
true
/test release-notes

unit-tests_istio_release-1.13
1a093406881fe3098a7e0a5c75cbbd373940040b
link
true
/test unit-tests

lint_istio_release-1.13
1a093406881fe3098a7e0a5c75cbbd373940040b
link
true
/test lint

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio_release-1.13
1a093406881fe3098a7e0a5c75cbbd373940040b
link
true
/test release-notes

unit-tests_istio_release-1.13
1a093406881fe3098a7e0a5c75cbbd373940040b
link
true
/test unit-tests

lint_istio_release-1.13
1a093406881fe3098a7e0a5c75cbbd373940040b
link
true
/test lint

integ-security_istio_release-1.13
1a093406881fe3098a7e0a5c75cbbd373940040b
link
true
/test integ-security

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security_istio_release-1.13
626c378dafca3369f97b44dd67624851432c438d
link
true
/test integ-security

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest


RefreshListener doesn't respect destination service

When a service is receiving a RemoteApplicationRefreshEvent the destinationServiceId isn't checked. Every application does refresh it's context. Would be great to only refresh the applications that match the given destinationServiceId.
Or is the current behaviour correct?

No, can you provide more information besides it doesn't work? Versions? Steps to reproduce?

Well I think I've been wrong here. I've been observing the ConfigServer itself. It has always been reloading it's Environment no matter what I put in the /monitor call.
I think this is reasonable.
The other services using the ConfigServer only get messages which contain their application name.
So I think the behaviour is correct.
My mind was just full yesterday.
Sorry.
BTW I'm on Cameden.SR5
So as long as you agree that it is ok for the config server to refresh no matter what the path contains we can close this one.

The service that recieves the refresh event will act on the event regardless of who it was for. So, sounds like everything is OK.


Image from URL don't work

Regression?
No
Hyprlock Info and Version
Hyprlock version 0.4.1
 Hyprlock config

# $text_color = rgba(E3E1EFFF)
# $entry_background_color = rgba(12131C11)
# $entry_border_color = rgba(908F9F55)
# $entry_color = rgba(C6C5D6FF)
$text_color = rgba(FFFFFFFF)
$entry_background_color = rgba(33333311)
$entry_border_color = rgba(3B3B3B55)
$entry_color = rgba(FFFFFFFF)
$font_family = Material Symbols Rounded

general {
  no_fade_in = true
  disable_loading_bar = false
  hide_cursor = true
  ignore_empty_input = true
  text_trim = true
}

background {
    path = ~/.dotfiles/wallpapers/wallpaper_arch_perfection_simplicity_by_icetremens-dbjspqh.png
    monitor =
    blur_size = 8
    blur_passes = 0 # 0 disables blurring
    noise = 0.0117
    contrast = 1.3000 # Vibrant!!!
    brightness = 0.8000
    vibrancy = 0.2100
    vibrancy_darkness = 0.0
}

# INPUT FIELD
input-field {
    monitor =
    size = 300, 40
    outline_thickness = 2
    dots_size = 0.2 # Scale of input-field height, 0.2 - 0.8
    dots_spacing = 0.2 # Scale of dots' absolute size, 0.0 - 1.0
    dots_center = true
    outer_color = $entry_border_color
    inner_color = $entry_background_color
    font_color = $entry_color
    fade_on_empty = true
    placeholder_text =
    hide_input = true
    position = 0, 150
    halign = center
    valign = bottom
}

label { # Clock
    monitor =
    text = $TIME
    shadow_passes = 1
    shadow_boost = 0.5
    color = $text_color
    font_size = 65
    font_family = $font_family

    position = 0, 0
    halign = center
    valign = top
}

label { # Status
    monitor =
    text = cmd[update:5000] ~/.config/hypr/hyprlock/status.sh
    shadow_passes = 1
    shadow_boost = 0.5
    color = $text_color
    font_size = 14
    font_family = $font_family

    position = 30, -30
    halign = left
    valign = top
}

# Music
image {
    monitor =
    path =
    size = 60 # lesser side if not 1:1 ratio
    rounding = 5 # negative values mean circle
    border_size = 0
    rotate = 0 # degrees, counter-clockwise
    reload_time = 2
    reload_cmd = ~/.config/hypr/hyprlock/playerctlock.sh  --arturl
    position = 10, 10
    halign = left
    valign = bottom
}

# PLAYER TITTLE
label {
    monitor =
    text = cmd[update:1000] echo "$(~/.config/hypr/hyprlock/playerctlock.sh --title)"
    color = rgba(255, 255, 255, 0.8)
    font_size = 12
    font_family = JetBrains Mono Nerd Font Mono ExtraBold
    position = 80, 50
    halign = left
    valign = bottom
}

# PLAYER ALBUM
label {
    monitor =
    text = cmd[update:1000] echo "$(~/.config/hypr/hyprlock/playerctlock.sh  --album)"
    color = rgba(255, 255, 255, 1)
    font_size = 10
    font_family = JetBrains Mono Nerd Font Mono
    position = 80, 30
    halign = left
    valign = bottom
}
# PLAYER Artist
label {
    monitor =
    text = cmd[update:1000] echo "$(~/.config/hypr/hyprlock/playerctlock.sh  --artist)"
    color = rgba(255, 255, 255, 0.8)
    font_size = 10
    font_family = JetBrains Mono Nerd Font Mono ExtraBold
    position = 80, 10
    halign = left
    valign = bottom
}

playerctlock.sh
#!/bin/bash

if [ $# -eq 0 ]; then
	echo "Usage: $0 --title | --arturl | --artist | --length | --album | --source"
	exit 1
fi

# Function to get metadata using playerctl
get_metadata() {
	key=$1
	playerctl metadata --format "{{ $key }}" 2>/dev/null
}

# Check for arguments

# Function to determine the source and return an icon and text
get_source_info() {
	trackid=$(get_metadata "mpris:trackid")
	if [[ "$trackid" == *"firefox"* ]]; then
		echo -e "Firefox 󰈹"
	elif [[ "$trackid" == *"spotify"* ]]; then
		echo -e "Spotify "
	elif [[ "$trackid" == *"chromium"* ]]; then
		echo -e "Chrome "
	else
		echo ""
	fi
}

# Parse the argument
case "$1" in
--title)
	title=$(get_metadata "xesam:title")
	if [ -z "$title" ]; then
		echo ""
	else
		echo "${title:0:28}" # Limit the output to 50 characters
	fi
	;;
--arturl)
	url=$(get_metadata "mpris:artUrl")
	if [ -z "$url" ]; then
		echo ""
	else
		if [[ "$url" == file://* ]]; then
			url=${url#file://}
		fi
		echo "$url"
	fi
	;;
--artist)
	artist=$(get_metadata "xesam:artist")
	if [ -z "$artist" ]; then
		echo ""
	else
		echo "${artist:0:30}" # Limit the output to 50 characters
	fi
	;;
--length)
	length=$(get_metadata "mpris:length")
	if [ -z "$length" ]; then
		echo ""
	else
		# Convert length from microseconds to a more readable format (seconds)
		echo "$(echo "scale=2; $length / 1000000 / 60" | bc) m"
	fi
	;;
--status)
	status=$(playerctl status 2>/dev/null)
	if [[ $status == "Playing" ]]; then
		echo "󰎆"
	elif [[ $status == "Paused" ]]; then
		echo "󱑽"
	else
		echo ""
	fi
	;;
--album)
	album=$(playerctl metadata --format "{{ xesam:album }}" 2>/dev/null)
	if [[ -n $album ]]; then
		echo "$album"
	else
		status=$(playerctl status 2>/dev/null)
		if [[ -n $status ]]; then
			echo "Not album"
		else
			echo ""
		fi
	fi
	;;
--source)
	get_source_info
	;;
*)
	echo "Invalid option: $1"
	echo "Usage: $0 --title | --url | --artist | --length | --album | --source"
	exit 1
	;;
esac

Compositor Info and Version
 System/Version info
Hyprland, built from branch main at commit 1ed925b69c2854a3f345cbeb7dca29a6286ca926  (internal: fix missing include directive (7984)).
Date: Fri Oct 4 10:41:27 2024
Tag: v0.43.0-93-g1ed925b6, commits: 5289
built against aquamarine 0.4.1

flags: (if any)

System Information:
System name: Linux
Node name: PadsTower
Release: 6.11.1-zen1-1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Mon, 30 Sep 2024 23:49:48 +0000

GPU information:
0d:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 22 [Radeon RX 6700/6700 XT/6750 XT / 6800M/6850M XT] [1002:73df] (rev c1) (prog-if 00 [VGA controller])

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:

Description
Image from URL (jpeg) don't work
How to reproduce
Launch spotify and lock with my config :)
Crash reports, logs, images, videos
hyprlock output with debug flag
[TRACE] got wl event
[TRACE] timer thread firing
[TRACE] got wl event
[TRACE] [core] got poll event
[ERR] filesystem error: cannot get file time: No such file or directory [https://i.scdn.co/image/ab67616d0000b273e48af84946f1e07dab564088]
[ERR] filesystem error: cannot get file time: No such file or directory [https://i.scdn.co/image/ab67616d0000b273e48af84946f1e07dab564088]
[TRACE] Requesting label resource label:94283817536192,time:1728147576021071748
[TRACE] [TRACE] Requesting label resource label:94283817538880,time:1728147576021083998
Processing requested resourceID label:94283817536192,time:1728147576021071748
[TRACE] Requesting label resource label:94283817541072,time:1728147576021093858
[TRACE] Requesting label resource label:94283816861328,time:1728147576021113588
[TRACE] Requesting label resource label:94283816628720,time:1728147576021122778
[TRACE] Requesting label resource label:94283817542640,time:1728147576021131058
[TRACE] [TRACE] [core] got poll eventgot wl event

Source of my config : https://gist.github.com/ashish-kus/dd562b0bf5e8488a09e0b9c289f4574c

I think it would be easy enough to curl the file to a local temp folder (or cache) and pass that to hyprlock.
Certainly easier than adding curl functionality to hyprlock.

yes i know, but i see this configuration un other dotfiles on github.
I think this is a regression

yes i know, but i see this configuration un other dotfiles on github.

surely not with hyprlock

and image work with a youtube video

?! we don't support networking.

After performing several tests:

png loaded via http do not work
jpeg loaded via http work

I saw the commits to manage png, hence my issue :)

@PaideiaDilemma does cairo load URLs or are we witnessing some massive wtf

Do you you want debug log with youtube thumb ?

nah now way we can download images now. cairo_image_surface_create_from_png uses fopen and we use open for jpegs and webp.
@pad92 OP in issue #431 had a script that worked well for me when i tested it.

nah now way we can download images now. cairo_image_surface_create_from_png uses fopen and we use open for jpegs and webp.
@pad92 OP in issue #431 had a script that worked well for me when i tested it.

Thanks but I already updated mine https://gitlab.com/pad92/dotfiles/-/blob/master/.config/hypr/hyprlock/playerctlock.sh?ref_type=heads#L49


Created 2 new templates; Updated 1 existing template

Added two new templates: PFW New Issue Alert and PFW Hand Picked.
Update to PW:Contract Packaging Template. Switched out the logo and header image and updated the name and tagline.
Note, this was the first time I've created a new template (even though it was just a clone). I did add the newsletter instance in the manage.pmmimediagroup.com/emails backend. I also figured that I needed to update the email instance and tagline in the core.js file, so please let me know if this is not correct.
Also, I think something needs to get hooked up with EmailX, as I have the attached error on both new templates: https://share.getcloudapp.com/wbuzrjl8

 PR #69


chore: Experiment with gnoclient API

This is a draft branch to experiment with what the gnoclient API should look like.
Add a temp copy of gnoclient. Use it in execCall.
This would actually be done by PR https://github.com/gnolang/gno/pull/1047 .

Close this PR in favor of #14.


Async refresh ui-select: selected options appears in the list again after type in input

I have a select with a refresh method,
If I select one item in the list, it will be removed from the options list.
but after I type in the input, the list get refreshed, selected options appears again in the list.
How to avoid this?

I've just hit the same exact issue.  Please tell me that I don't have to pre-filter the results before sending them back to the control.

Quick follow-up to this.  For now I'm just filtering my results when I get the data back from the ajax call.
I pass in the select control to the refresh function and grab the selected values from there.
<ui-select-choices repeat="solicitor in locals.solicitorSearchResults | filter: $select.search" refresh="locals.solicitorSearch($select.search, $select)" refresh-delay="100">

Then I filter the results based on what's currently selected.
.....
.....
var results = result.data.results,
    filteredItems,
    selected = locals.solicitorSearchControl.selected;

filteredItems = results.filter(function (i) {
    return selected.map(function (e) { return e.id; }).indexOf(i.id) < 0;
});

$scope.locals.solicitorSearchResults = filteredItems;
.....
.....

@MBentley1976 could you go into more detail. That I have to write a filter for this, seems odd.
This feels like a bug in ui-select.

Hey Marshall, the issue is the IndexOf() function on the array to look for existing items.  That doesn't work well when trying to compare objects which is what I'm populating my items array with.

very simple! just keep reference of selected items and exchange it by duplicate received items
...
if (ctrl.multiple) {
var selinx = ctrl.selected.map(function (e) { return e.id; }), i, t;
angular.forEach(items, function(v, k) {
if ((i = selinx.indexOf(v.id)) >= 0) {
t = items[k] = select.selected[i];
angular.forEach(v, function(n, p) { t[p] = v[p]; });
}
});
}
...
<ui-select-choices repeat="itm in items ...

Going to close as a usage issue - this is a problem that should be solved on the user's side.

@wesleycho seems to be odd that it should be solved on the user's side instead of UI-select, especially this isn't documented.

@MattiJarvinen-BA This has actually been resolved in #1473 from what I can see (Ref: src/uiSelectController.js#L242)

@user378230 oh, seems so. So nevermind then. ;)


DOC: Chatbots > Customer Support throwing the error: "An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'"

Issue with current documentation:
https://langchain-ai.github.io/langgraph/tutorials/customer-support/customer-support/#utility
Running the notebook throws the following error:
---------------------------------------------------------------------------
BadRequestError                           Traceback (most recent call last)
...
    [762](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:762)                 "stop": stop,
    [763](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:763)                 "store": store,
    [764](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:764)                 "stream": stream,
    [765](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:765)                 "stream_options": stream_options,
    [766](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:766)                 "temperature": temperature,
    [767](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:767)                 "tool_choice": tool_choice,
    [768](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:768)                 "tools": tools,
    [769](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:769)                 "top_logprobs": top_logprobs,
    [770](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:770)                 "top_p": top_p,
    [771](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:771)                 "user": user,
    [772](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:772)             },
    [773](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:773)             completion_create_params.CompletionCreateParams,
    [774](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:774)         ),
    [775](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:775)         options=make_request_options(
    [776](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:776)             extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
    [777](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:777)         ),
    [778](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:778)         cast_to=ChatCompletion,
    [779](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:779)         stream=stream or False,
    [780](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:780)         stream_cls=Stream[ChatCompletionChunk],
    [781](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/resources/chat/completions.py:781)     )

File ~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1277, in SyncAPIClient.post(self, path, cast_to, body, options, files, stream, stream_cls)
   [1263](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1263) def post(
   [1264](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1264)     self,
   [1265](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1265)     path: str,
   (...)
   [1272](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1272)     stream_cls: type[_StreamT] | None = None,
   [1273](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1273) ) -> ResponseT | _StreamT:
   [1274](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1274)     opts = FinalRequestOptions.construct(
   [1275](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1275)         method="post", url=path, json_data=body, files=to_httpx_files(files), **options
   [1276](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1276)     )
-> [1277](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1277)     return cast(ResponseT, self.request(cast_to, opts, stream=stream, stream_cls=stream_cls))

File ~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:954, in SyncAPIClient.request(self, cast_to, options, remaining_retries, stream, stream_cls)
    [951](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:951) else:
    [952](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:952)     retries_taken = 0
--> [954](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:954) return self._request(
    [955](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:955)     cast_to=cast_to,
    [956](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:956)     options=options,
    [957](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:957)     stream=stream,
    [958](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:958)     stream_cls=stream_cls,
    [959](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:959)     retries_taken=retries_taken,
    [960](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:960) )

File ~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1058, in SyncAPIClient._request(self, cast_to, options, retries_taken, stream, stream_cls)
   [1055](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1055)         err.response.read()
   [1057](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1057)     log.debug("Re-raising status error")
-> [1058](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1058)     raise self._make_status_error_from_response(err.response) from None
   [1060](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1060) return self._process_response(
   [1061](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1061)     cast_to=cast_to,
   [1062](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1062)     options=options,
   (...)
   [1066](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1066)     retries_taken=retries_taken,
   [1067](https://file+.vscode-resource.vscode-cdn.net/Users/justinwinter/Projects/experiments/~/Library/Caches/pypoetry/virtualenvs/-AxVTkH6j-py3.12/lib/python3.12/site-packages/openai/_base_client.py:1067) )

BadRequestError: Error code: 400 - {'error': {'message': "An assistant message with 'tool_calls' must be followed by tool messages responding to each 'tool_call_id'. The following tool_call_ids did not have response messages: call_bsyGIHSEUgnD3EgLzihthfQT", 'type': 'invalid_request_error', 'param': 'messages', 'code': None}

Output before error
================================ Human Message =================================

Hi there, what time is my flight?
================================== Ai Message ==================================

Your flight LX0112 is scheduled to depart from Charles de Gaulle Airport (CDG) at 12:01 PM local time on October 10, 2024. It is set to arrive at EuroAirport Basel Mulhouse Freiburg (BSL) at 1:31 PM local time on the same day.
================================ Human Message =================================

Am i allowed to update my flight to something sooner? I want to leave later today.
================================== Ai Message ==================================
Tool Calls:
  lookup_policy (call_RYFiRp5nNOpAXbzVNmGgrR6Z)
 Call ID: call_RYFiRp5nNOpAXbzVNmGgrR6Z
  Args:
    query: flight change policy
================================= Tool Message =================================
Name: lookup_policy

## Booking and Cancellation

1. How can I change my booking?
	* The ticket number must start with 724 (SWISS ticket no./plate).
	* The ticket was not paid for by barter or voucher (there are exceptions to voucher payments; if the ticket was paid for in full by voucher, then it may be possible to rebook online under certain circumstances. If it is not possible to rebook online because of the payment method, then you will be informed accordingly during the rebooking process).
	* There must be an active flight booking for your ticket. It is not possible to rebook open tickets or tickets without the corresponding flight segments online at the moment.
	* It is currently only possible to rebook outbound (one-way) tickets or return tickets with single flight routes (point-to-point).
2. Which tickets/bookings cannot be rebooked online currently?
	* Bookings containing flight segments with other airlines
	* Bookings containing reservations, where a ticket has not yet been issued
	* Bookings with several valid tickets for the same person and route
	* Tickets with a status other than O (open) (A)
	* Bookings with segments with a status other than OK (e.g. containing flight segments with the status Waitlist) (HK|RR)
	* Tickets that do not display the tariff calculation (IT tickets)
	* Bookings that contain special services (e.g. transportation of animals/transportation of medica ... (truncated)
================================== Ai Message ==================================

You are allowed to change your flight to a later time today, as long as you meet the following conditions:

1. Your ticket number starts with 724 and was not paid for by barter or voucher.
2. You have an active flight booking, and the flight is not part of a group booking.
3. Your flight booking does not include special services like transportation of animals or medical equipment.
4. You are changing a single flight route, not a multi-leg journey.

Since your flight is scheduled to depart soon, I will assist you in making the change. Let me transfer your request to the appropriate assistant to handle this update for you.
Tool Calls:
  ToFlightBookingAssistant (call_K5zmNjUW0oczo8Cta31vohfX)
 Call ID: call_K5zmNjUW0oczo8Cta31vohfX
  Args:
    request: The user wants to reschedule their flight LX0112 from CDG to BSL for a later time today.
Currently in:  update_flight
================================= Tool Message =================================

The assistant is now the Flight Updates & Booking Assistant. Reflect on the above conversation between the host assistant and the user. The user's intent is unsatisfied. Use the provided tools to assist the user. Remember, you are Flight Updates & Booking Assistant, and the booking, update, other other action is not complete until after you have successfully invoked the appropriate tool. If the user changes their mind or needs help for other tasks, call the CompleteOrEscalate function to let the primary host assistant take control. Do not mention who you are - just act as the proxy for the assistant.
Currently in:  update_flight
================================== Ai Message ==================================
Tool Calls:
  search_flights (call_c3neUfUSOb2VwXMqmrokSeu9)
 Call ID: call_c3neUfUSOb2VwXMqmrokSeu9
  Args:
    departure_airport: CDG
    arrival_airport: BSL
    start_time: 2024-10-10T12:30:00
    end_time: 2024-10-10T23:59:00
Currently in:  update_flight
================================= Tool Message =================================
Name: search_flights

[]
Currently in:  update_flight
================================== Ai Message ==================================
Tool Calls:
  search_flights (call_y5QDJ828M0IeEDaNd1WjjTM9)
 Call ID: call_y5QDJ828M0IeEDaNd1WjjTM9
  Args:
    departure_airport: CDG
    arrival_airport: BSL
    start_time: 2024-10-10T14:00:00
    end_time: 2024-10-11T01:00:00
Currently in:  update_flight
================================= Tool Message =================================
Name: search_flights

[]
Currently in:  update_flight
================================== Ai Message ==================================
Tool Calls:
  CompleteOrEscalate (call_pVsOZFjY9AMcAqOOiQkI19Lb)
 Call ID: call_pVsOZFjY9AMcAqOOiQkI19Lb
  Args:
    reason: Unable to find available flights for the user to reschedule to a later time today.
================================= Tool Message =================================

Resuming dialog with the host assistant. Please reflect on the past conversation and assist the user as needed.
================================== Ai Message ==================================

I couldn't find any available flights from Charles de Gaulle Airport (CDG) to EuroAirport Basel Mulhouse Freiburg (BSL) later today. If you have any flexibility with your travel plans, I recommend checking back later or considering alternate travel arrangements. If there's anything else I can assist you with, please let me know!
================================ Human Message =================================

Update my flight to sometime next week then
================================== Ai Message ==================================
Tool Calls:
  ToFlightBookingAssistant (call_7vEHTv2npOPxWtByz6D12WeP)
 Call ID: call_7vEHTv2npOPxWtByz6D12WeP
  Args:
    request: The user wants to reschedule their flight LX0112 from CDG to BSL to a date next week.
Currently in:  update_flight
================================= Tool Message =================================

The assistant is now the Flight Updates & Booking Assistant. Reflect on the above conversation between the host assistant and the user. The user's intent is unsatisfied. Use the provided tools to assist the user. Remember, you are Flight Updates & Booking Assistant, and the booking, update, other other action is not complete until after you have successfully invoked the appropriate tool. If the user changes their mind or needs help for other tasks, call the CompleteOrEscalate function to let the primary host assistant take control. Do not mention who you are - just act as the proxy for the assistant.
Currently in:  update_flight
================================== Ai Message ==================================
Tool Calls:
  search_flights (call_5WCBkWDvUSIiPrJkPEWKDM3M)
 Call ID: call_5WCBkWDvUSIiPrJkPEWKDM3M
  Args:
    departure_airport: CDG
    arrival_airport: BSL
    start_time: 2024-10-17T00:00:00
    end_time: 2024-10-17T23:59:00
Currently in:  update_flight
================================= Tool Message =================================
Name: search_flights

[{"flight_id": 19251, "flight_no": "LX0112", "scheduled_departure": "2024-10-17 12:01:18.665554-04:00", "scheduled_arrival": "2024-10-17 13:31:18.665554-04:00", "departure_airport": "CDG", "arrival_airport": "BSL", "status": "Scheduled", "aircraft_code": "SU9", "actual_departure": null, "actual_arrival": null}]
Currently in:  update_flight
================================== Ai Message ==================================
Tool Calls:
  update_ticket_to_new_flight (call_pVsOZFjY9AMcAqOOiQkI19Lb)
 Call ID: call_pVsOZFjY9AMcAqOOiQkI19Lb
  Args:
    ticket_no:<PHONE_NUMBER>906569
    new_flight_id: 19251
Currently in:  update_flight
================================ Human Message =================================

The next available option is great
Currently in:  update_flight
Currently in:  update_flight
================================== Ai Message ==================================

Let's proceed with updating your flight to October 17, 2024. I'll handle the update for you.
Tool Calls:
  update_ticket_to_new_flight (call_KxH0vjgwfyW6ShhxtSPjdUdX)
 Call ID: call_KxH0vjgwfyW6ShhxtSPjdUdX
  Args:
    ticket_no:<PHONE_NUMBER>906569
    new_flight_id: 19251
Currently in:  update_flight
================================ Human Message =================================

what about lodging and transportation?
Currently in:  update_flight
Currently in:  update_flight
================================== Ai Message ==================================
Tool Calls:
  CompleteOrEscalate (call_puWvVoar1bOkql3LXM9f3pkB)
 Call ID: call_puWvVoar1bOkql3LXM9f3pkB
  Args:
    reason: The user needs assistance with lodging and transportation, which is outside my capabilities.
================================= Tool Message =================================

Resuming dialog with the host assistant. Please reflect on the past conversation and assist the user as needed.
================================== Ai Message ==================================

I can help you with lodging and transportation arrangements. Could you please provide the location, dates, and any specific preferences you have for booking a hotel and renting a car?
================================ Human Message =================================

Yeah i think i'd like an affordable hotel for my week-long stay (7 days). And I'll want to rent a car.
================================== Ai Message ==================================
Tool Calls:
  ToHotelBookingAssistant (call_6sqBva3nmPmTdm3qP98iQ3yU)
 Call ID: call_6sqBva3nmPmTdm3qP98iQ3yU
  Args:
    location: Basel
    checkin_date: 2024-10-17
    checkout_date: 2024-10-24
    request: Looking for an affordable hotel for a 7-day stay.
  ToBookCarRental (call_bsyGIHSEUgnD3EgLzihthfQT)
 Call ID: call_bsyGIHSEUgnD3EgLzihthfQT
  Args:
    location: Basel
    start_date: 2024-10-17
    end_date: 2024-10-24
    request: Looking to rent a car for a week-long stay.
Currently in:  book_hotel
================================= Tool Message =================================

The assistant is now the Hotel Booking Assistant. Reflect on the above conversation between the host assistant and the user. The user's intent is unsatisfied. Use the provided tools to assist the user. Remember, you are Hotel Booking Assistant, and the booking, update, other other action is not complete until after you have successfully invoked the appropriate tool. If the user changes their mind or needs help for other tasks, call the CompleteOrEscalate function to let the primary host assistant take control. Do not mention who you are - just act as the proxy for the assistant.

My python env:
langchain                 0.2.16          Building applications with LLMs through composability
langchain-anthropic       0.1.23          An integration package connecting AnthropicMessages and LangChain
langchain-community       0.2.17          Community contributed LangChain integrations.
langchain-core            0.2.41          Building applications with LLMs through composability
langchain-mistralai       0.1.13          An integration package connecting Mistral and LangChain
langchain-openai          0.1.25          An integration package connecting OpenAI and LangChain
langchain-text-splitters  0.2.4           LangChain text splitting utilities
langgraph                 0.0.69          langgraph
langserve                 0.2.3
langsmith                 0.1.132         Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.
pydantic                  1.10.18         Data validation and settings management using python type hints

Idea or request for content:
No response

I would really love to see a chatbot example where you stream to a frontend implementation that accepts user input for an interrupt. This piece is really throwing me off.

I think this thread is related
https://github.com/langchain-ai/langgraph/discussions/544
User Story: As a developer building a simple chatbot, I may want to interrupt a graph to get user approval before executing a specific tool. (ex. changing airline booking) I need an AI message sent to the user with the details of the proposed change and need to record this plus the users response in as a checkpoint before continuing on with the tool execution or not. I would expect the messages state to be managed by langgraph in this situation.

@justinlevi this should be fixed if you update to the latest version of langchain-anthropic. Please update and let me know if you're still running into issues!

Yeah, this wasn’t related to anthropic as I was using OpenAI
On Tue, Oct 15, 2024 at 5:58 PM Vadym Barda @.***>
wrote:

@justinlevi https://github.com/justinlevi this should be fixed if you
update to the latest version of langchain-anthropic. Please update and
let me know if you're still running into issues!
—
Reply to this email directly, view it on GitHub
https://github.com/langchain-ai/langgraph/issues/2075#issuecomment-2415237276,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAIQ6JJBYJGTXIR77UBBGM3Z3WFX3AVCNFSM6AAAAABPXEQZEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJVGIZTOMRXGY
.
You are receiving this because you were mentioned.Message ID:
@.***>


Reusing arcgisimage AxesImage instance

Hi!
First of all, thank you for your work on basemap!
I'm looking for a way of reusing the AxesImage instance returned by the arcgisimage function of basemap, in order to reapply it to following and identical maps on which only the plotted data differs.
I tried using the matplotlib.axes.Axes.add_image() function on a basemap instance, thinking it might do the trick but alas, it does not.
I may simply be missing something rather obvious that would fulfill my need, but I have no clue of what it might be.
Here's the function that generates basemap instances and contains my (failed) attempt described above, as well as the straightforward -- but very unoptimized -- fix:
def getBasemapsInstances(nbGraphs, axes, swCornerCoord, neCornerCoord, arcgisService):

   mAxes = []

   swCorLat = swCornerCoord[0]
   swCorLon = swCornerCoord[1]
   neCorLat = neCornerCoord[0]
   neCorLon = neCornerCoord[1]

   la0 = swCorLat + (neCorLat - swCorLat)/2
   lo0 = swCorLon + (neCorLon - swCorLon)/2

   for i in range(1, nbGraphs):

   	bmap = Basemap(ax=axes[i],
   					llcrnrlon=swCorLon,llcrnrlat=swCorLat,
   					urcrnrlon=neCorLon,urcrnrlat=neCorLat,
   					epsg=3035,lon_0=lo0,lat_0=la0)

   	''' Doesn't work
   	if i==1:
   		arcServInst = bmap.arcgisimage(service=arcgisService,
   										xpixels = 2000,
   										dpi=1500,
   										verbose= True)
   	else:
   		bmap.add_image(arcServInst)
   	'''

   	arcServInst = bmap.arcgisimage(service=arcgisService,
   									xpixels = 2000,
   									dpi=1500,
   									verbose= True)

   	bmap.drawmapboundary()

   	mAxes.append(bmap)

   return mAxes

Thanks in advance for any input you may have! :-)

What you need to do is look at the code for the arcgisimage method and extract the parts up to but not including the actual imshow.  You would return the result of the imread.  Then call your new function outside your loop, save its imread output, and supply it to a call to bmap.imshow inside your loop.
(Side note: it looks like you are accustomed to Matlab-style indexing; better to just switch consistently  to Python-style.  As it is, you are ignoring your first axes element and processing nbGraphs-1 elements.)

OK, will do. I was hoping to avoid doing this but it's not the end of the world. Also, will see how the function works firsthand!
As for the indexing -- and you can't guess it from this bit of code -- I actually am using the full range of my axes array. The element at index 0 is just not a basemap instance and is handled somewhere else. So range(1, nbGraphs) is absolutely intentional :-) Also, never used Matlab in my life! The first line of code I wrote was in C, which doesn't forgive such silliness ;-)
If you are curious, axes[0] contains a colormap that serves as a reference for what I'm plotting.
Anyway, thanks a lot for your answer and thank you for your contributions to Matplotlib :-)

A bit of a follow-up: I took the time to do as suggested by @efiring in his answer and, short of a few tweaks here and there, things work perfectly as expected.
This is potentially a huge time saver when trying to display several maps with the same background image... which is exactly what I'm doing. So thanks again!
Below, my modifications to the code to make it work outside the library.
Beware: this is intended for python 3.5. Conflicting bits concern the urllib import.
def getArcgisimage(bmapInstance, server='http://server.arcgisonline.com/ArcGIS',
						service='ESRI_Imagery_World_2D',
						xpixels=400, ypixels=None, dpi=96,
						verbose=False, **kwargs):
	import pyproj
	import matplotlib.image as mlabIm
	from urllib.request import urlopen

	_cylproj = ['cyl','merc','mill','gall','cea']

	if not hasattr(bmapInstance,'epsg'):
		msg = dedent("""
		Basemap instance must be creating using an EPSG code
		(http://spatialreference.org) in order to use the wmsmap method""")
		raise ValueError(msg)
	# find the x,y values at the corner points.
	p = pyproj.Proj(init="epsg:%s" % bmapInstance.epsg, preserve_units=True)
	xmin,ymin = p(bmapInstance.llcrnrlon,bmapInstance.llcrnrlat)
	xmax,ymax = p(bmapInstance.urcrnrlon,bmapInstance.urcrnrlat)
	if bmapInstance.projection in _cylproj:
		Dateline =\
		_geoslib.Point(
					bmapInstance(180.,0.5*(bmapInstance.llcrnrlat+bmapInstance.urcrnrlat))
				)
		hasDateline = Dateline.within(bmapInstance._boundarypolyxy)
		if hasDateline:
			msg=dedent("""
			arcgisimage cannot handle images that cross
			the dateline for cylindrical projections.""")
			raise ValueError(msg)
	if bmapInstance.projection == 'cyl':
		xmin = (180./np.pi)*xmin; xmax = (180./np.pi)*xmax
		ymin = (180./np.pi)*ymin; ymax = (180./np.pi)*ymax
	# ypixels not given, find by scaling xpixels by the map aspect ratio.
	if ypixels is None:
		ypixels = int(bmapInstance.aspect*xpixels)
	# construct a URL using the ArcGIS Server REST API.
	basemap_url = \
"%s/rest/services/%s/MapServer/export?\
bbox=%s,%s,%s,%s&\
bboxSR=%s&\
imageSR=%s&\
size=%s,%s&\
dpi=%s&\
format=png32&\
f=image" %\
(server,service,xmin,ymin,xmax,ymax,bmapInstance.epsg,bmapInstance.epsg,xpixels,ypixels,dpi)
	# print URL?
	if verbose: print(basemap_url)
	return mlabIm.imread(urlopen(basemap_url))

And the adapted function from OP:
def getBasemapsInstances(nbGraphs, axes, swCornerCoord, neCornerCoord, arcgisService):

	mAxes = []

	swCorLat = swCornerCoord[0]
	swCorLon = swCornerCoord[1]
	neCorLat = neCornerCoord[0]
	neCorLon = neCornerCoord[1]

	la0 = swCorLat + (neCorLat - swCorLat)/2
	lo0 = swCorLon + (neCorLon - swCorLon)/2

	argisimage = None

	for i in range(1, nbGraphs+1):

		bmap = Basemap(ax=axes[i],
						llcrnrlon=swCorLon,llcrnrlat=swCorLat,
						urcrnrlon=neCorLon,urcrnrlat=neCorLat,
						epsg=3035,lon_0=lo0,lat_0=la0)

		if i==1:
			arcgisimage = getArcgisimage(bmap, service=arcgisService,
											xpixels = 2000,
											dpi=1500,
											verbose= True)

		bmap.imshow(arcgisimage, origin='upper')

		bmap.drawmapboundary()

		mAxes.append(bmap)

	return mAxes