Cleanup: improve the use of maps

Please provide a description of this PR:
improve the use of maps

Hi @yeedove. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

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.

/ok-to-test

@yeedove: 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
54c8571630bdb137142a6f3645ec18847de23b8e
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.

@yeedove: 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
54c8571630bdb137142a6f3645ec18847de23b8e
link
true
/test release-notes

lint_istio
54c8571630bdb137142a6f3645ec18847de23b8e
link
true
/test lint

gencheck_istio
54c8571630bdb137142a6f3645ec18847de23b8e
link
true
/test gencheck

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

@yeedove: 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

gencheck_istio
54c8571630bdb137142a6f3645ec18847de23b8e
link
true
/test gencheck

release-notes_istio
b232506c7c79a08d6a63c94a67f2ca2fd2b6f27b
link
true
/test release-notes

lint_istio
b232506c7c79a08d6a63c94a67f2ca2fd2b6f27b
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.

@yeedove: 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
b232506c7c79a08d6a63c94a67f2ca2fd2b6f27b
link
true
/test release-notes

lint_istio
b232506c7c79a08d6a63c94a67f2ca2fd2b6f27b
link
true
/test lint

gencheck_istio
b232506c7c79a08d6a63c94a67f2ca2fd2b6f27b
link
true
/test gencheck

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.

@yeedove: 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

lint_istio
b232506c7c79a08d6a63c94a67f2ca2fd2b6f27b
link
true
/test lint

gencheck_istio
b232506c7c79a08d6a63c94a67f2ca2fd2b6f27b
link
true
/test gencheck

release-notes_istio
6e643ba5fdf5cc069f0c7a78d57e65840fd57f57
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.

/retest

@yeedove: 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

gencheck_istio
b232506c7c79a08d6a63c94a67f2ca2fd2b6f27b
link
true
/test gencheck

release-notes_istio
6e643ba5fdf5cc069f0c7a78d57e65840fd57f57
link
true
/test release-notes

lint_istio
6e643ba5fdf5cc069f0c7a78d57e65840fd57f57
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.

/retest

@yeedove: 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

lint_istio
6e643ba5fdf5cc069f0c7a78d57e65840fd57f57
link
true
/test lint

gencheck_istio
6e643ba5fdf5cc069f0c7a78d57e65840fd57f57
link
true
/test gencheck

release-notes_istio
f9c874b3e70567c4c59af166c16ea54e46bf9fc3
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.

@yeedove: 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

gencheck_istio
6e643ba5fdf5cc069f0c7a78d57e65840fd57f57
link
true
/test gencheck

release-notes_istio
f9c874b3e70567c4c59af166c16ea54e46bf9fc3
link
true
/test release-notes

lint_istio
f9c874b3e70567c4c59af166c16ea54e46bf9fc3
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.

@yeedove: 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
f9c874b3e70567c4c59af166c16ea54e46bf9fc3
link
true
/test release-notes

lint_istio
f9c874b3e70567c4c59af166c16ea54e46bf9fc3
link
true
/test lint

gencheck_istio
f9c874b3e70567c4c59af166c16ea54e46bf9fc3
link
true
/test gencheck

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


Add profile_tcprtt

Hi.
This PR adds profile_tcprtt, so far the grouping by addresses is not supported as it caused some problems partially addressed in https://github.com/inspektor-gadget/inspektor-gadget/tree/francis/profile-tcprtt.
Since we do not support grouping for profile_blockio, we can move ahead with this for now.
Best regards.

Does it fix #3002?


Search function is really bad

Hey !
The search function is really bad. I don't mean to be rude tho. I respect you people. I tried to search my account in many ways and I always end up with  NOT FOUND . Haha .
Well my game profile is "Amanda Rosset" . I did a series of queries to test it. Here are pics

But when I type in rosset my profile shows up
So whats wrong ?

Well, the main thing that's wrong is that you're posting your issue in the wrong repository :D The people over at Yasp are well-esteemed colleagues who hang out here from time to time, however, this is just the repo for one of the many libraries they use within the Yasp ecosystem. I'm afraid there's very little we here at node-dota2 can do for you. You're asking the farmer to change the way the baker bakes his bread. If you have a problem with Yasp, I propose that you head over to the yasp repository :)

@Crazy-Duck I actually wanted to comment on the recent value decision in the open issue. So somewhere I mixed up the tabs and ended up here. Sorry !
such and awkward situation xD

no problem, everyone messes up from time to time :p you're always welcome to contribute to the library if you'd be so inclined, we're always looking for contributors :D


ModuleNotFoundError: No module named 'trainers.ours

Hello,
when I try to run one of your example bash commands, I somehow can't figure out how to get rid of this error.
(dassl) user@MBP scripts % bash main.sh caltech101 rn50_ep50 middle 16 1 True Run this job and save the output to output/caltech101/CoOp/rn50_ep50_1shots/nctx16_cscTrue_ctpmiddle/seed1 Traceback (most recent call last):   File "train.py", line 27, in <module>     import trainers.zsclip   File "/Users/user/Projects/CoOp/CoOp/trainers/zsclip.py", line 10, in <module>     from .ours import load_clip_to_cpu ModuleNotFoundError: No module named 'trainers.ours'

Good spot.
I've fixed the error. Please pull the latest commit.


Broken Instance generation for Vision

The constructor of the Vision class references the variable n, which is undefined, probably should be nm at these points.
https://github.com/KULeuven-COSIC/Marvellous/blob/1bad94a239dd52f7206cd7f2d3a7f023e006f533/instance_generator.sage#L8
https://github.com/KULeuven-COSIC/Marvellous/blob/1bad94a239dd52f7206cd7f2d3a7f023e006f533/instance_generator.sage#L9
https://github.com/KULeuven-COSIC/Marvellous/blob/1bad94a239dd52f7206cd7f2d3a7f023e006f533/instance_generator.sage#L16
Furthermore, the assert for the state size being as large as the security level actually prevents the generation of the Vision Mark I instances from the paper, Appendix D.1 having 192 and 256 bit security.
vision_instance = Vision(s = 192, nm = 128, m = 16)
vision_instance = Vision(s = 256, nm = 128, m = 16)
Are these intended to be m = 24 and 32 instead?

Thank you for noticing this! I adapted the parameters n.
We are currently looking into the Mark I instances.

We removed Mark I instances in the ePrint with higher security than state size. We never explained in the article how to handle a bigger key compared to the state size of the block cipher. We hope this does not inconvenience you. If we can help with your application in another way, please let us know. The software will remain unchanged with respect to this.

Alright, thanks for taking a look!


Update client.py for fixed user agent

This commit addresses an issue related to an illegal header value encountered during the execution of the Twikit client. The error was traced back to a LocalProtocolError caused by an invalid user agent header. The provided user agent value contained characters that were not acceptable in the context of the HTTP request.
[Changes Made]:

Updated the user agent in client.py to a valid and commonly used value to resolve the LocalProtocolError.
Replaced the problematic user agent with a standard one: "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.124 Safari/537.36".

the random user agent at each login with cookies returns errors

Summary by CodeRabbit

Refactor

Updated the user agent string used in network requests for improved compatibility and performance.

error was
Cookies loaded successfully.
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/httpcore/_exceptions.py", line 10, in map_exceptions
    yield
  File "/usr/local/lib/python3.10/dist-packages/httpcore/_sync/http11.py", line 142, in _send_request_headers
    event = h11.Request(
  File "/usr/local/lib/python3.10/dist-packages/h11/_events.py", line 96, in __init__
    self, "headers", normalize_and_validate(headers, _parsed=_parsed)
  File "/usr/local/lib/python3.10/dist-packages/h11/_headers.py", line 164, in normalize_and_validate
    validate(_field_value_re, value, "Illegal header value {!r}", value)
  File "/usr/local/lib/python3.10/dist-packages/h11/_util.py", line 91, in validate
    raise LocalProtocolError(msg)
h11._util.LocalProtocolError: Illegal header value b'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36 '

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/httpx/_transports/default.py", line 66, in map_httpcore_exceptions
    yield
  File "/usr/local/lib/python3.10/dist-packages/httpx/_transports/default.py", line 228, in handle_request
    resp = self._pool.handle_request(req)
  File "/usr/local/lib/python3.10/dist-packages/httpcore/_sync/connection_pool.py", line 268, in handle_request
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/httpcore/_sync/connection_pool.py", line 251, in handle_request
    response = connection.handle_request(request)
  File "/usr/local/lib/python3.10/dist-packages/httpcore/_sync/connection.py", line 103, in handle_request
    return self._connection.handle_request(request)
  File "/usr/local/lib/python3.10/dist-packages/httpcore/_sync/http11.py", line 133, in handle_request
    raise exc
  File "/usr/local/lib/python3.10/dist-packages/httpcore/_sync/http11.py", line 92, in handle_request
    self._send_request_headers(**kwargs)
  File "/usr/local/lib/python3.10/dist-packages/httpcore/_sync/http11.py", line 141, in _send_request_headers
    with map_exceptions({h11.LocalProtocolError: LocalProtocolError}):
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/httpcore/_exceptions.py", line 14, in map_exceptions
    raise to_exc(exc) from exc
httpcore.LocalProtocolError: Illegal header value b'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36 '

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/home/ubuntu/Desktop/exploits/blockbot/main.py", line 85, in <module>
    main()
  File "/home/ubuntu/Desktop/exploits/blockbot/main.py", line 52, in main
    user = client.get_user_by_screen_name(username)
  File "/usr/local/lib/python3.10/dist-packages/twikit/client.py", line 928, in get_user_by_screen_name
    response = self.http.get(
  File "/usr/local/lib/python3.10/dist-packages/twikit/http.py", line 51, in get
    return self.request('GET', url, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/twikit/http.py", line 25, in request
    response = self.client.request(method, url, **kwargs)
  File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 814, in request
    return self.send(request, auth=auth, follow_redirects=follow_redirects)
  File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 901, in send
    response = self._send_handling_auth(
  File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 929, in _send_handling_auth
    response = self._send_handling_redirects(
  File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 966, in _send_handling_redirects
    response = self._send_single_request(request)
  File "/usr/local/lib/python3.10/dist-packages/httpx/_client.py", line 1002, in _send_single_request
    response = transport.handle_request(request)
  File "/usr/local/lib/python3.10/dist-packages/httpx/_transports/default.py", line 227, in handle_request
    with map_httpcore_exceptions():
  File "/usr/lib/python3.10/contextlib.py", line 153, in __exit__
    self.gen.throw(typ, value, traceback)
  File "/usr/local/lib/python3.10/dist-packages/httpx/_transports/default.py", line 83, in map_httpcore_exceptions
    raise mapped_exc(message) from exc
httpx.LocalProtocolError: Illegal header value b'Mozilla/5.0 (Linux; Android 10; K) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36


bower components _global overriding scss/global/_setting

I have just move from using 1.6 to 2.5.1 and use CodeKit to compile the the css on a Mac running 10.10.5.
I don't know what I am doing wrong but compared to 1.6, the bower components seems to override the the my custom settings. For example if I change the colour for $secondary-color in the file assets/scss/global/settings once it is compiled the colour is equal to what was defined in one of the files within assets/components/foundation-files/scss/...

Interesting, I just discovered the same problem but I do not use codekit, just regular npm...
In assets/scss/global/_setting.scss I changed $primary-color: red; BUT the color color shown in the website still is the default foundation one...

Update: If I change the order in foundation.scss, putting the '@import "global/settings";' after the '@import '../components/foundation-sites/scss/foundation';'
it works, wich in a way make sense I think. What I don't understand is why it has been working before!!! I made two website with new FoundationPress  and it was working!

Hi guys.
This issue was fixed earlier today. Here is the pull request https://github.com/olefredrik/FoundationPress/pull/761 .
You can either pull the latest master branch or simply check out the updated _settings.scss where the new foundation-palette mixin has been introduced.
Cheers,
Ole Fredrik

And you know what Ole, I saw it in my mail earlier!!! Holy s@$t !! Ah ah, I must pay more attention to the latest pull! :)

The reason it was working before, is that the Foundation team introduced the new foundation palette in the 6.2 update. You can find more details here if interested.


Copy-paste Lab website section from GDOCs

GDocs link

[x] copy paste (no big content edit for now) the text from gdoc to lab_website.md file (the file is here
[x] edit the text on GitHub to markdown rules (basic cheatsheet here)

[x] if there are links report them in markdown style
[x] If there are "confidential information" take note and discuss with others how to tackle them, discussion can happen in the comment section of the PR

[x] If you see that a section might need some edits (old/wrong info, missing parts, etc), please open an issue pointing to that
[x] When done, ask @marcobarilari and @fcerpe to review your edits on the PR
[x] Highlight in red the section you just worked on on the gdoc
[x] Enjoy the review process

Here are the slides we discussed at the LM
If something is not clear, do not hesitate to contact @marcobarilari or @fcerpe for help.
If you do not have time to do it please the let us know by commenting on this issue.
Thanks

Done


iOS: Drawer extends into OS status bar (top of screen)

Steps to Reproduce
Open a Drawer widget... the drawer extends up into the OS status bar area, with the time, network connection, etc. info area.

This is what is intended. Why is that a problem?

As @Hixie says, Material Design specifies it this way. GoogleKit (for iOS) mirrors this behaviour. I did a quick survey of Google material apps and every app I tried other than Hangouts used a side nav that extended into the status bar.


£ sign is not being displayed correctly on handset

Hello team... I have an issue with some characters being displayed wrongly on the handset.
Sent content: £$%^&*96733{}@#
Delivered content: B#$%^&*96733{}@#
It appears the character £ is being misrepresented.
Below is a sample code block:
String message = "£$%^&*96733{}@#";

String messageId = session.submitShortMessage(
        null,
        TypeOfNumber.ALPHANUMERIC,
        NumberingPlanIndicator.UNKNOWN,
        "Uwiano",
        TypeOfNumber.INTERNATIONAL,
        NumberingPlanIndicator.ISDN,
        "254723624727",
        new ESMClass(),
        (byte) 0,
        (byte) 0,
        null,
        null,
        new RegisteredDelivery(SMSCDeliveryReceipt.DEFAULT),
        (byte) 0,
        new GeneralDataCoding(Alphabet.ALPHA_DEFAULT, MessageClass.CLASS1, false),
        (byte) 0,
        message.getBytes()
);

Have you tried GSM Charset for encoding your byte stream?
Issue could be either on your end or SMSC, if it has a different meaning for that byte.

This issue was closed. I used  Gsm7BitCharset class and all is well now. Apologies for not updating this issue.
Closing the issue now.


ImageScanSummaryAssessmentGate.ps1 no longer finds assessments

Describe the bug
The container image scan vulnerability assessment script no longer seems to be working. I don't know if there was a schema change or API change on the Graph but it never finds results, even if they do actually appear in Defender for Cloud UI dashboard.
To Reproduce
Steps to reproduce the behavior:

Login to Azure CR via `az acr login -n ''
Navigate to the ps1 script
Execute the ps1 script:

.\ImageScanSummaryAssessmentGate.ps1 -registryName "<companyregistry_without_cr.io_suffix>" -repository "<apprepository>" -tag 932

See error:

Image Digest: sha256:4a3e5843...snip...2063
Query: securityresources
 | where type == 'microsoft.security/assessments/subassessments'
 | where id matches regex  '(.+?)/providers/Microsoft.ContainerRegistry/registries/(.+)/providers/Microsoft.Security/assessments/dbd0cb49-b563-45e7-9724-889e799fa648/'
 | extend registryResourceId = tostring(split(id, '/providers/Microsoft.Security/assessments/')[0])
 | extend registryResourceName = tostring(split(registryResourceId, '/providers/Microsoft.ContainerRegistry/registries/')[1])
 | extend imageDigest = tostring(properties.additionalData.imageDigest)
 | extend repository = tostring(properties.additionalData.repositoryName)
 | extend patchable = tobool(properties.additionalData.patchable)
 | extend scanFindingSeverity = tostring(properties.status.severity), scanStatus = tostring(properties.status.code)
 | summarize findingsCountOverAll = count(), scanFindingSeverityCount = countif(patchable or not(tobool(False))) by scanFindingSeverity, scanStatus, registryResourceId, registryResourceName, repository, imageDigest
 | summarize findingsCountOverAll = sum(findingsCountOverAll), severitySummary = make_bag(pack(scanFindingSeverity, scanFindingSeverityCount)) by registryResourceId, registryResourceName, repository, imageDigest, scanStatus
 | summarize findingsCountOverAll = sum(findingsCountOverAll) , scanReport = make_bag_if(pack('scanStatus', scanStatus, 'scanSummary', severitySummary), scanStatus != 'NotApplicable')by registryResourceId, registryResourceName, repository, imageDigest
 | extend IsScanned = iif(findingsCountOverAll > 0, true, false)
| where imageDigest =~ 'sha256:4a3e5843...snip...2063' and repository =~ '<apprepository>' and registryResourceName =~ '<companyregistry_without_cr.io_suffix>'

No results for image <apprepository>:932 yet ...
No results for image <apprepository>:932 yet ...
Write-Error: No results were found for digest: sha256:4a3e5843...snip...2063 after 3 retries!

Expected behavior
Historically, this script has executed locally just fine for me.
Additional context
This script is integrated into my AzDO pipeline and it halts pushes to Development environments if it does not pass. It's pretty slow already, requiring a 5 minute waiting period on the previous step, but now that it's not even finding results, it's even more frustrating.

I did see this in the past when I inadvertently included azurecr.io to my registry name. The script gives a log message saying it scrubs it from the input, but I don't think that's accurate and only once I set the registry to the name without the suffix did it finally work. It was tricky to find this issue because it was running on a build pipeline with injected envrionment vars for the registry and repo names. But running locally I was able to troubleshoot.
Now it just stopped working entirely.

@killnine I don't think it's supported anymore, but check this: https://learn.microsoft.com/en-us/azure/defender-for-cloud/transition-to-defender-vulnerability-management the assessment keys are different with Defender now


Fixed the link on core/templates/index.html:103.

Good catch!

Sorry for the late, i'm merging this.
Thanks!


Fix invalid output for template string

Fixes #100

Good job!

Fixed in<EMAIL_ADDRESS>

Can you push tags? The latest is 0.0.26 on github

Done :)


Offline editor Sample - can't popup the attributes

after disconnected/ switched offline, it's not possible to edit or change the attributes for any point, line or polygon in the feature service, as it was in the older API sample..
.

@carlosrishmawi Thanks for logging this issue.  I will look into our previous release of this sample to see if we can get it re-implemented.

Did you have the chance to look at the attribute editing issue ???

@carlosrishmawi Yes I have and will be working on it soon, hope to have it included with our upcoming samples update release.

@carlosrishmawi We have identified the original code that supported opening a Popup to edit attributes.  We removed this from the sample in order to simplify it, we will research re-introducing back into our current sample implementation.  While we are doing that, have you looked at our Popup for Editing sample?  That sample is similar to the implementation we had originally in this sample, only now we are working with FeatureTables.  Let me know if that sample helps you in the near term.


Morphology test

-Resolves #13

Coverage increased (+3.5%) to 57.437% when pulling bdfb0ba4024d1b3b7ad01b9b26028066cb302cfb on morphology-test into 9ea70ac044a5c8909dcf7c6626467b7a0721ddff on development.


vscode open base64 code make windows system crushed

when I open a css file which contains base64 code in vscode editor, it makes windows system into blue screen，this bug is always happened.

Can u please give file.

/needsMoreInfo
Could you provide example of base64 code that causes problems as was asked above and other data required by issue template (VSCode version, OS, extension etc., can be copied from about info or from issue that prefilled if reported through Help > Report Problem)
Is it reproducible with all extensions disabled?
You can try this with F1 and >Developer: Reload Window With Extensions Disabled


fix: Allow clients to be remembered in the SessionHttpHandler

Fixes the first part of #909

This provides a short-term fix to the issue we were having, thanks ! Let's keep the conversation going in https://github.com/solid/community-server/issues/909 to get a proper long-term fix.


chapter 14 pag.489 transforms

Hello, I don't know if I was the only one not getting this the first time that I read it, but I didn't notice that "transform trains" are applied to the full DataSet each time that it's reloaded, for each epoch. Probably because the line where the dataset is reloaded, is completely different from the usual one, which is more legible.
I would change the red line:

to this:

so the code becomes more legible and familiar??
from torch.utils.data import DataLoader

celeba_train_dataset = torchvision.datasets.CelebA(image_path,
                                                   split='train',
                                                   target_type='attr',
                                                   download=False,
                                                   transform=transform_train,
                                                   target_transform=get_smile)

torch.manual_seed(1)
data_loader = DataLoader(celeba_train_dataset, batch_size=2)

fig = plt.figure(figsize=(15, 6))

num_epochs = 5
for j in range(num_epochs):
    for img_batch, label_batch in data_loader: # new line
        img = img_batch[0]
        ax = fig.add_subplot(2, 5, j + 1)
        ax.set_xticks([])
        ax.set_yticks([])
        ax.set_title(f'Epoch {j}:', size=15)
        ax.imshow(img.permute(1, 2, 0))

        img = img_batch[1]
        ax = fig.add_subplot(2, 5, j + 6)
        ax.set_xticks([])
        ax.set_yticks([])
        ax.imshow(img.permute(1, 2, 0))
        break #new break

#plt.savefig('figures/14_16.png', dpi=300)
plt.show()

Totally agree. That's also how I usually write it. Not sure why we did it differently here @haydenliu?

Hey @GianniGi @rasbt
You are right, "for img_batch, label_batch in data_loader" is enough.


BFT smartbft integration test with synch with "simple" replication policy

If not specified, the default cluster replication policy is "consensus".
This is what currently happens in all smartbft integration tests (it is not specified).
We want to check whether the old, "simple" cluster replication policy is still working.

Select one of the smartbft integration tests in which the orderers have to use Sync()
Ran the same test a second time, now with cluster.ReplicationPolicy="simple"

This flag is specified in the orderer.yaml file.

@semil


Runtime member creation failed

Could not replicate this in tester solution but please have a look at log if there is any hint where to look.
Creating new Persisitent member through expand model editor runtime.
When app is restarted, it fails to run giving error message below.
Exception thrown: 'System.AggregateException' in Xpand.Persistent.Base.dll
06.11.18 19:47:21.079	--------------------------------------------------------------------------------
Logon failed
06.11.18 19:47:21.080	Runtime members creation failed
06.11.18 19:47:21.082		CurrentObject: Xpand.ExpressApp.Security.AuthenticationProviders.XpandLogonParameters
Exception thrown: 'System.AggregateException' in DevExpress.ExpressApp.v18.2.dll
The thread 0x4e84 has exited with code 0 (0x0).
EarthCape.Win.exe Error: 0 : 06.11.18 19:47:21.132	================================================================================
The error occurred:
Type:       AggregateException
Message:    Runtime members creation failed
Data:       0 entries
Stack trace:

at Xpand.Persistent.Base.RuntimeMembers.RuntimeMemberBuilder.CreateRuntimeMembers(IModelApplication model) in D:\a\1\s\Xpand\Xpand.Persistent\Xpand.Persistent.Base\RuntimeMembers\RuntimeMemberBuilder.cs:line 65
at System.EventHandler`1.Invoke(Object sender, TEventArgs e)
at DevExpress.ExpressApp.XafApplication.LoadUserDifferences()
at DevExpress.ExpressApp.XafApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs)
at DevExpress.ExpressApp.Win.WinApplication.Logon(PopupWindowShowActionExecuteEventArgs logonWindowArgs)
----------------
InnerException:
		Type:       Exception
		Message:    Failed to create test3 on EarthCape.Module.Core.PersonCore
		Data:       0 entries
		Stack trace:

		----------------
		InnerException:

				Type:       NullReferenceException
				Message:    Object reference not set to an instance of an object.
				Data:       0 entries
				Stack trace:

at Xpand.Persistent.Base.RuntimeMembers.RuntimeMemberBuilder.CreateXpandCustomMemberInfo(IModelMemberEx modelMemberEx, XPObjectSpace objectSpace) in D:\a\1\s\Xpand\Xpand.Persistent\Xpand.Persistent.Base\RuntimeMembers\RuntimeMemberBuilder.cs:line 111
at Xpand.Persistent.Base.RuntimeMembers.RuntimeMemberBuilder.CreateRuntimeMembers(IModelApplication model) in D:\a\1\s\Xpand\Xpand.Persistent\Xpand.Persistent.Base\RuntimeMembers\RuntimeMemberBuilder.cs:line 49
InnerException is null

Ok this was remedied by sticking to XpandObjectSpaceProvider. Will get back to it later.


CMake: Enable -Werror unconditionally, enable Wl,--no-undefined and Wl,-z,defs  on ELF platforms

Recreation of #200 @BertalanD

CI not happy :-(

Ah dang. Looks like I'll have to disable this for the ClangPlugins targets and for the fuzzer build.


[Enhancement]: Use navigateTo() function to navigate to widgets

Is there an existing issue for this?

[X] I have searched the existing issues

Summary

Current navigateTo() function can be enhanced to navigate to a different widget on the canvas or sub-menus of widgets like tabs or menu.

Why should this be worked on?
When user wants to navigate to a different part of the canvas, we currently can't use the navigateTo function for this operation. A use case to that I can think of if for documentation kind of site, navigating to a specific location can help when creating links.
Another use case that came from a Discord user is navigating to different tables based on button widget action.

Similar to #8314


augment_expanding(engine='polars'): Inconsistency between Pandas and Polars Output

I'm not sure what's going on with the augment_expanding() function, but I don't think Polars is being calculated correctly. I expect values similar to what Pandas is returning.
What should happen: Pandas
import pytimetk as tk
import pandas as pd
import numpy as np

df = tk.load_dataset("m4_daily", parse_dates = ['date'])

expanded_df = (
    df
        .groupby('id')
        .augment_expanding(
            date_column = 'date',
            value_column = 'value',
            window_func = [
                'mean',  # Built-in mean function
                'std',   # Built-in standard deviation function,
                ('quantile_75', lambda x: pd.Series(x).quantile(0.75)),  # Custom quantile function
            ],
            min_periods = 1,
            engine = 'pandas',  # Utilize pandas for the underlying computations
        )
)

expanded_df

Incorrect: Polars
import pytimetk as tk
import pandas as pd
import numpy as np
import polars as pl
import numpy as np
from pytimetk.utils.polars_helpers import pl_quantile
from pytimetk.utils.pandas_helpers import pd_quantile

df = tk.load_dataset("m4_daily", parse_dates = ['date'])

expanded_df = (
    df
        .groupby('id')
        .augment_expanding(
            date_column = 'date',
            value_column = 'value',
            window_func = [
                'mean',  # Built-in mean function
                'std',   # Built-in std function
                ('quantile_75', pl_quantile(quantile=0.75)),  # Configurable with all parameters found in polars.Expr.rolling_quantile
            ],
            min_periods = 1,
            engine = 'polars',  # Utilize Polars for the underlying computations
        )
)

expanded_df

Apparently order can become unpredictable after grouping and aggregating. Added an additional sort to fix the issue. Now deterministic.
df_new_columns = df \
            .sort(*group_names, date_column) \
            .group_by(group_names) \
            .agg(expanding_exprs) \
            .sort(*group_names) \    # fixes the bug
            .explode(new_column_names)

I belive that setting the parameter maintain_order = truecould fix this.
I did this to address the issue with augment_lags.


adding 0xd417144312dbf50465b1c641d016962017ef6240 : CQT

Please add CQT info to SushiSwap

Hey @anadi2311, looks like tests are failing. I think the addresses need to be checksummed.

Okay, thanks. I will take a look

Thanks for fixing this PR up @anadi2311, LGTM


feat: added span name processor

Currently, Vert.x core sets "operation" (HTTP Method for client/server span kinds) as a span name:

https://github.com/eclipse-vertx/vertx-tracing/blob/master/vertx-opentelemetry/src/main/java/io/vertx/tracing/opentelemetry/OpenTelemetryTracer.java#L75
https://github.com/eclipse-vertx/vertx-tracing/blob/master/vertx-opentelemetry/src/main/java/io/vertx/tracing/opentelemetry/OpenTelemetryTracer.java#L138

With an opened ticket for configuring the name https://github.com/eclipse-vertx/vertx-tracing/issues/59
which is a bit of non-descriptive. To be aligned with the other DIAL components, like chat, adapters, etc., which form the name as HTTP Method  + HTTP Path (e.g. "POST /path/to/resource"), the idea is to introduce the span processor which will set the name the same way.

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review

/deploy-review


Can't install targetcli on Ubuntu 3.13.0-48-generic in EC2 instance

OS: Ubuntu 14.04
Kernel:  3.13.0-48-generic
Env:  EC2 instance on AWS
The following errors were see when running 'apt-get install --no-install-recommends targetcli'. This happens on -48 minor headers but not on -24 versions
Errors were encountered while processing:
 lio-utils
 targetcli
E: Sub-process /usr/bin/dpkg returned an error code (1)

The source of the errors is lio-utils

On Tue, 2015-10-13 at 13:56 -0700, Jonathan Kong wrote:

OS: Ubuntu 14.04
Kernel: 3.13.0-48-generic
Env: EC2 instance on AWS
The following errors were see when running 'apt-get install --no-
install-recommends targetcli'. This happens on -48 minor headers but
not on -24 versions
lio-utils
targetcli
E: Sub-process /usr/bin/dpkg returned an error code (1)

The source of the errors is lio-utils

This error message is not useful in anyway whatsoever.
And that version of Ubuntu has a very old version of targetcli. Your
best bet would be to report and work with your distribution.
If you want to try the latest code, you can try it on Debian Unstable.
--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

Thanks for the response. We solved the issue with scst.
From: Ritesh Raj Sarraf<EMAIL_ADDRESS>Sent: Wednesday, October 14, 2015 12:33 AM
To: Datera/targetcli<EMAIL_ADDRESS>Cc: Jonathan Kong<EMAIL_ADDRESS>Subject: Re: [targetcli] Can't install targetcli on Ubuntu 3.13.0-48-generic in EC2 instance (#18)
On Tue, 2015-10-13 at 13:56 -0700, Jonathan Kong wrote:

OS: Ubuntu 14.04
Kernel: 3.13.0-48-generic
Env: EC2 instance on AWS
The following errors were see when running 'apt-get install --no-
install-recommends targetcli'. This happens on -48 minor headers but
not on -24 versions
lio-utils
targetcli
E: Sub-process /usr/bin/dpkg returned an error code (1)

The source of the errors is lio-utils

This error message is not useful in anyway whatsoever.
And that version of Ubuntu has a very old version of targetcli. Your
best bet would be to report and work with your distribution.
If you want to try the latest code, you can try it on Debian Unstable.
--
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."
—
Reply to this email directly or view it on GitHub https://github.com/Datera/targetcli/issues/18#issuecomment-147962431 .  https://github.com/notifications/beacon/AIlc1BtEHAM80AkVHcQE9cryLMz4e3Txks5o7fycgaJpZM4GOMpU.gif


Add Storybook and Docs to dev-pm config

With this all our development processes are managed by dev-pm. This allows to have logs for Storybook and a package in the same terminal window, for instance npx dev-pm logs storybook comet-admin. One downside of this approach is that the logs for Storybook and Docs aren't followed automatically anymore.

One downside of this approach is that the logs for Storybook and Docs aren't followed automatically anymore.

you could use --follow if you think that is a downside

you could use --follow if you think that is a downside

Didn't know about that option – nice!a


React-native-worker not working issue with @Override

HI ,
I am new to react-native i integrated react-native-workers as you mentioned in this repo i tried with manual as well as automatic. i am getting the below errors. i am unable to find any solution to resolve it. Please help me out to solve this problem.
import com.facebook.react.modules.core.JSTimersExecution;
^
symbol:   class JSTimersExecution
location: package com.facebook.react.modules.core
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:9: error: JSCJav                                                                                aScriptExecutor is not public in com.facebook.react.bridge; cannot be accessed f                                                                                rom outside package
import com.facebook.react.bridge.JSCJavaScriptExecutor;
^
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:19: error: canno                                                                                t find symbol
import com.facebook.react.devsupport.DevSupportManager;
^
symbol:   class DevSupportManager
location: package com.facebook.react.devsupport
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:29: error: canno                                                                                t find symbol
private DevSupportManager devSupportManager;
^
symbol:   class DevSupportManager
location: class ReactContextBuilder
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:42: error: canno                                                                                t find symbol
public ReactContextBuilder setDevSupportManager(DevSupportManager devSupport                                                                                Manager) {
^
symbol:   class DevSupportManager
location: class ReactContextBuilder
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:128: error: cann                                                                                ot find symbol
private void addJSModules(JavaScriptModuleRegistry.Builder jsModulesBuilder)                                                                                {
^
symbol:   class Builder
location: class JavaScriptModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:137: error: cann                                                                                ot find symbol
private void addNativeModules(ReactApplicationContext reactContext, NativeMo                                                                                duleRegistry.Builder nativeRegistryBuilder) {
^
symbol:   class Builder
location: class NativeModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\WorkerModule.java:16: error: cannot find symbo                                                                                l
import com.facebook.react.devsupport.DevSupportManager;
^
symbol:   class DevSupportManager
location: package com.facebook.react.devsupport
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\WorkerModule.java:188: error: cannot find symb                                                                                ol
private DevSupportManager getDevSupportManager() {
^
symbol:   class DevSupportManager
location: class WorkerModule
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\BaseReactPackage.java:46: error: cannot f                                                                                ind symbol
new SourceCodeModule(reactInstanceManager.getSourceUrl()),
^
symbol:   method getSourceUrl()
location: variable reactInstanceManager of type ReactInstanceManager
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\BaseReactPackage.java:61: error: method d                                                                                oes not override or implement a method from a supertype
@Override
^
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\BaseReactPackage.java:65: error: cannot f                                                                                ind symbol
JSTimersExecution.class,
^
symbol:   class JSTimersExecution
location: class BaseReactPackage
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:53: error: packa                                                                                ge JSCJavaScriptExecutor does not exist
JavaScriptExecutor jsExecutor = new JSCJavaScriptExecutor.Factory().crea                                                                                te(new WritableNativeMap());
^
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:62: error: canno                                                                                t find symbol
NativeModuleRegistry.Builder nativeRegistryBuilder = new NativeModuleReg                                                                                istry.Builder();
^
symbol:   class Builder
location: class NativeModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:62: error: canno                                                                                t find symbol
NativeModuleRegistry.Builder nativeRegistryBuilder = new NativeModuleReg                                                                                istry.Builder();
^
symbol:   class Builder
location: class NativeModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:66: error: canno                                                                                t find symbol
JavaScriptModuleRegistry.Builder jsModulesBuilder = new JavaScriptModule                                                                                Registry.Builder();
^
symbol:   class Builder
location: class JavaScriptModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:66: error: canno                                                                                t find symbol
JavaScriptModuleRegistry.Builder jsModulesBuilder = new JavaScriptModule                                                                                Registry.Builder();
^
symbol:   class Builder
location: class JavaScriptModuleRegistry
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\core\ReactContextBuilder.java:131: error: cann                                                                                ot find symbol
for (Class<? extends JavaScriptModule> jsModuleClass : reactPackage.                                                                                createJSModules()) {
^
symbol:   method createJSModules()
location: variable reactPackage of type ReactPackage
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\WorkerModule.java:180: error: no suitable meth                                                                                od found for createFileLoader(ReactApplicationContext,String)
return JSBundleLoader.createFileLoader(getReactApplicationContext(), "as                                                                                sets://workers/" + jsFileSlug + ".bundle");
^
method JSBundleLoader.createFileLoader(String) is not applicable
(actual and formal argument lists differ in length)
method JSBundleLoader.createFileLoader(String,String,boolean) is not applica                                                                                ble
(actual and formal argument lists differ in length)
C:\Users\Scketch\Desktop\scketch-chat\node_modules\react-native-workers\android\                                                                                src\main\java\co\apptailor\Worker\WorkerPackage.java:21: error: method does not                                                                                override or implement a method from a supertype
@Override
^
20 errors
:react-native-workers:compileReleaseJavaWithJavac FAILED
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':react-native-workers:compileReleaseJavaWithJavac'.

Compilation failed; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug                                                                                option to get more log output.

BUILD FAILED
Total time: 1 mins 21.781 secs
Could not install the app on the device, read the error above for details.
Make sure you have an Android emulator running or a device connected and have
set up your Android development environment:
https://facebook.github.io/react-native/docs/getting-started.html

same problem here

I've just installed it and ran into this!

can someone solve this??

I have same problem, could anybody help us?

@tabekg This lib has not seen a commit for 2 years. I suggest people interested in having similar features to look into this: https://github.com/joltup/react-native-threads


Should we worry about the case where "$(" might be escaped out and just part of the value as a string literal?

          Should we worry about the case where `"$("` might be escaped out and just part of the value as a string literal?

Originally posted by @shubhbapna in https://github.com/python-wheel-build/fromager/pull/134#discussion_r1666852029

Let's wait and deal with this if it comes up in a real situation.


[Bug]: multi_document_agents - - - top_agent.chat("my_message")

Bug Description
Hello,
I followed the documentation on https://gpt-index.readthedocs.io/en/stable/examples/agent/multi_document_agents.html.
Everything is working correctly just cooping and pasting.
But if i try to change from:
response=top_agent.query("tell me more about boston?")
to:
response=top_agent.chat("tell me more about boston?")
it gives me some errors if I don't explicit the topic in my next message once that the topic should be defined.
I start with:
response=top_agent.chat("tell me more about boston?")
I get the answer correctly calling the boston tool.
than this is the chat history:
[ ChatMessage(role=<MessageRole.USER: 'user'>, content='Ciao mi dici di più su boston?', additional_kwargs={}),  ChatMessage(role=<MessageRole.ASSISTANT: 'assistant'>, content=None, additional_kwargs={'function_call': <OpenAIObject at 0x1eaf6deb230> JSON: {   "name": "tool_Boston",   "arguments": "{\n\"input\": \"overview\"\n}" }}),  ChatMessage(role=<MessageRole.FUNCTION: 'function'>, content="Boston ... bla bla bla.", additional_kwargs={'name': 'tool_Boston'}),  ChatMessage(role=<MessageRole.ASSISTANT: 'assistant'>, content="Boston ... bla bla bla", additional_kwargs={})]
but then if I ask somithing like:
what can you tell me about art:
response = top_agent.chat(what about art?)
it gives me the following error reported in the traceback.
it seems that it can not find anymore the tool.
let me know.
Version
0.8.48
Steps to Reproduce

follow the documentation on https://gpt-index.readthedocs.io/en/stable/examples/agent/multi_document_agents.html.

change from:
response=top_agent.query("tell me more about boston?")
to:
response=top_agent.chat("tell me more about boston?")
start chatting with out giving topic reference after the first message.
Relevant Logs/Tracbacks
ValueError                                Traceback (most recent call last)
c:\Users\erric\Desktop\Python\17-llama-index-experiments.py\00-llama_index_notebooks\04_multi_documents_chat.ipynb Cell 18 line 7
      5 print(last_used_tool)
      6 new_question=question_from_user+last_used_tool
----> 7 response = top_agent.chat("what about art?")
      9 print (response)

File c:\Users\erric\AppData\Local\Programs\Python\Python311\Lib\site-packages\llama_index\callbacks\utils.py:39, in trace_method.<locals>.decorator.<locals>.wrapper(self, *args, **kwargs)
     37 callback_manager = cast(CallbackManager, callback_manager)
     38 with callback_manager.as_trace(trace_id):
---> 39     return func(self, *args, **kwargs)

File c:\Users\erric\AppData\Local\Programs\Python\Python311\Lib\site-packages\llama_index\agent\openai_agent.py:342, in BaseOpenAIAgent.chat(self, message, chat_history, function_call)
    331 @trace_method("chat")
    332 def chat(
    333     self,
   (...)
    336     function_call: Union[str, dict] = "auto",
    337 ) -> AgentChatResponse:
    338     with self.callback_manager.event(
    339         CBEventType.AGENT_STEP,
    340         payload={EventPayload.MESSAGES: [message]},
    341     ) as e:
--> 342         chat_response = self._chat(
...
     38 if name not in name_to_tool:
---> 39     raise ValueError(f"Tool with name {name} not found")
     40 return name_to_tool[name]

ValueError: Tool with name tool_Boston not found

Hello, answer not so usefull, by the way I solved like this:

def extract_tool_name_from_penultimate_message(chat_history):

    # Verifica se ci sono abbastanza messaggi nella lista
    if len(chat_history) < 2:
        return None

    # Ottiene il penultimo messaggio
    penultimate_message = chat_history[-2]

    # Ottiene il campo 'additional_kwargs' del penultimo messaggio
    additional_kwargs = penultimate_message.additional_kwargs

    # Cerca il campo 'name' in 'additional_kwargs'
    tool_name = additional_kwargs.get('name')
    if tool_name==None:
        return ""
    else:
        return tool_name

def answer(top_agent, question_from_user):
    try:
        chat_history = top_agent.chat_history
        print("\n --- \n")
        print(chat_history)
        print("\n --- \n")
        last_used_tool = extract_tool_name_from_penultimate_message(chat_history)
        print(last_used_tool)
        response = top_agent.chat(question_from_user)
    except ValueError as e:
        error_message = str(e)
        if "not found" in error_message:
            print("Errore: Tool not found. Procedo con il codice alternativo.")
            chat_history = top_agent.chat_history
            print("\n --- \n")
            print(chat_history)
            print("\n --- \n")
            last_used_tool_after_error= extract_tool_name_from_penultimate_message(chat_history)
            print(f"Ultimo tool utilizzato dopo errrore: {last_used_tool_after_error} ")
            print(f"Ultimo tool utilizzato: {last_used_tool}")
            question = f"{question_from_user}. ({last_used_tool})"
            print(f"Nuova domanda: {question}")
            response = top_agent.chat(question)
        else:
            # Gestione di altri ValueError non riconosciuti
            print("Errore sconosciuto:", e)
    else:
        print("Nessun errore riscontrato.")
        # Codice da eseguire se non ci sono errori

    return response

it  will use a new tool if it is defined in the message while it while take the previous tool if it is not defined in the message.
I think it is not really clean but this is the solution I found let me know.
Working for me... for now

response=answer(top_agent, " qualche curiosità?")
print(str(response))

Thanks for raising the issue @ElioErrico! Looping in @nerdai to take a quick look

Hi ElioErrico
i am also following the same Multi-Document Agents  : https://gpt-index.readthedocs.io/en/stable/examples/agent/multi_document_agents.html
did u face any issue like description is too long
=== Calling Function ===
Calling function: 2311_17815_pdf with args: {
"input": "sections"
}
STARTING TURN 1
Got output: Error: Error code: 400 - {'error': {'message': "'Useful for questions related to specific aspects of the following listed .........................................

HPZMO, 5.4 HLS-based Design Flows for Deep Learning, 6 DEEP LEARNING COMPILERS, Approximate computing approaches, Source code compilation'  is too long  - 'tools.0.function.description'", 'type': 'invalid_request_error', 'param':
None, 'code': None}}

do you know how to solve.
thanks.


Replace uses of boost flat_map and flat_set with robin_map and robin_set

Description
A tiny bit more progress towards #4158.
None of the code was actually dependent on the fact that these containers are sorted by key. Switching to the robin containers instead removes one less use of boost in the project.
Tests
It passes the tests that I can run locally -- will be looking at the actual CI results to confirm everything passes, since I can't get all tests to pass locally (even without this change).
Checklist:

[x] I have read the contribution guidelines.
[x] I have updated the documentation, if applicable.
[x] I have ensured that the change is tested somewhere in the testsuite
(adding new test cases if necessary).
[ ] If I added or modified a C++ API call, I have also amended the
corresponding Python bindings (and if altering ImageBufAlgo functions, also
exposed the new functionality as oiiotool options).
[x] My code follows the prevailing code style of this project. If I haven't
already run clang-format before submitting, I definitely will look at the CI
test that runs clang-format and fix anything that it highlights as being
nonconforming.

Holy cow, would you believe I had just sat down to start working on this very problem, with the same solution of just using robin_map and robin_set? But had only gotten like 10 minutes into it.

👍🏻 I'll take care of the CLA on Monday.

Any progress?

Its been signed -- we're working on getting it ingested into the EasyCLA system ...

The celestial bodies have aligned and CLA has been taken care of :)
I will rebase now.

Now we know an eclipse was a necessary ingredient for the CLA God's.


Dart Version management improvements

Certainly! Here's a revised version of the text, keeping the bullet points structure:
FVM now performs various checks for Dart SDK project constraints and dependencies to provide more informative feedback to the user. However, we have some suggestions to make this process even better.

[ ]  It would be extremely helpful if FVM could install Flutter SDK based on a Dart SDK constraint. For example, running fvm use 2.14 --dart would install the latest version of Flutter that supports this version of Dart.
[ ] Also it would be great if FVM could easily run commands on the lowest and highest SDK constraint of pubspec. As a package creator, this is crucial for checking for deprecations or issues with the constraints.
[ ] When calling fvm dart ... if no version is configured in the project, and when falling back to PATH, it should fall back to Dart SDK configured in the Flutter SDK, and not the Dart SDK configured within the path

Discussed in https://github.com/leoafarias/fvm/discussions/532

Would it be enough to add the latest supported dart version into the table generated by fvm releases?


bump typing extension

Fixes dependancy issue https://github.com/Textualize/rich/issues/2150

Codecov Report

Merging #2157 (02c5bf1) into master (7105781) will decrease coverage by 3.39%.
The diff coverage is 85.77%.

@@            Coverage Diff             @@
##           master    #2157      +/-   ##
==========================================
- Coverage   99.46%   96.07%   -3.40%
==========================================
  Files          72       72
  Lines        7339     7497     +158
==========================================
- Hits         7300     7203      -97
- Misses         39      294     +255

Flag
Coverage Δ

unittests
96.07% <85.77%> (-3.40%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

rich/__main__.py
100.00% <ø> (ø)

rich/layout.py
100.00% <ø> (ø)

rich/progress.py
93.36% <77.69%> (-5.07%)
:arrow_down:

rich/console.py
97.48% <100.00%> (-1.66%)
:arrow_down:

rich/terminal_theme.py
100.00% <100.00%> (ø)

rich/traceback.py
99.55% <100.00%> (+<0.01%)
:arrow_up:

rich/_windows_renderer.py
0.00% <0.00%> (-100.00%)
:arrow_down:

rich/_win32_console.py
3.19% <0.00%> (-88.30%)
:arrow_down:

rich/_lru_cache.py
95.23% <0.00%> (-4.77%)
:arrow_down:

... and 7 more

Continue to review full report at Codecov.

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

Is there any way to bump the version number from this? We can't seem to use it as it uses the old version number still I think?

New release coming soon

@henryiii FYI we had to bump typing-extensions because the minimum version didn't have OrderedDict

That's annoying, very sorry! According to https://github.com/python/typing/tree/master/typing_extensions it was added in 3.7. They don't have a proper changelog until "4.0", so it can be hard to tell what's in typing_extensions, so I thought it was in typing_extensions 3.7 too. Looking at the history, it was added in 3.10.0 in https://github.com/python/typing/commit/ea7f88e8d2dd28a5569b2385c21b17063c480c7f Please feel free to ping me if you need any help with anything related to what I've done.
In build we test all minimum versions too: https://github.com/pypa/build/blob/main/tests/constraints.txt (ironically, except for typing_extensons). I can set up a test like that if you want one.


Improve archival dockerfile 1.12

This is in preparation for a larger overhaul of the docs-base Dockerfile. This will make the final archival image only have the built HTML and the Nginx config.
To test, check out this branch and build the Dockerfile locally, then run the image at port 4000.
If you like this I will propagate it to the other archive branches.
This will change the contract of the Docker archive image, such that the docs will now live in /etc/nginx/html. This is important for docs-base which will need to change as it goes multi-stage.

Word of warning, this will be a breaking change when it hits and likely docs-base will be weird until we get this propagated across all branches and get docs-base updated....

Hm, there's something wrong in this branch (not new); the menu isn't clickable for me; same for the current online version; https://docs.docker.com/v1.12/
Could be this?

Yes, that's it; fixing the URL for the metadata.txt unblocks the menu;
diff --git a/js/menu.js b/js/menu.js
index 9f83c1e3fc..e3b4ef9c74 100644
--- a/js/menu.js
+++ b/js/menu.js
@@ -195,7 +195,7 @@ function hookupTOCEvents()
 }

 jQuery(document).ready(function(){
-    $.getJSON( "/metadata.txt", function( data ) {
+    $.getJSON( "/v1.12/metadata.txt", function( data ) {
       metadata = data;
       hookupTOCEvents();
     });

We should look into that; may even consider removing search from the archives, or at least make sure that reading the metadata does not break the menu

So, we actually do disable the search in the archives now, by just hiding it. I'll look into the recent archives for how to disable this part of it too.


[Autocomplete] Remove text programmatically

It should be possible to delete the content of the autocomplete-form.

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

I have the following code:
<Autocomplete
	{...defaultPropsDisziplinen}
	id="id"
	onChange={(evt, choosenOption) => setValue(choosenOption)}
	freeSolo
	disableClearable
	renderInput={(params: any) => (
		<TextField {...params} label="Search or create a new item"
				   margin="normal" fullWidth
				   onChange={(evt: any) => setValue(evt.target.value)}
		/>)}/>

After the user clicks on an option the onChange method of the autocomplete-form fires. The choosen option will be save in the state-value.
I am doing the same in the Textfield onChange-method, because maybe the user does not wants to write his own option.
Now I would like to programmatically clear the textfield. How can I achieve this?
I tried several things, but nothing works: (For example, not working)
<Autocomplete
	{...defaultPropsDisziplinen}
	id="id"
	onChange={(evt, choosenOption) => setValue(choosenOption)}
        value={value}
	freeSolo
	disableClearable
	renderInput={(params: any) => (
		<TextField {...params} label="Search or create a new item"
				   margin="normal" fullWidth
                                   value={value}
				   onChange={(evt: any) => setValue(evt.target.value)}
		/>)}/>

tip: inputValue/onInputChange.

Thank you.
Normally I am writing in Stackoverflow, but Autocomplete is in "Lab" therefore I thought it would better fit in the issue tracker.


[feature request] MIN(time), MAX(time), FIRST(time), LAST(time), query only time field

These all return null when I tried them, but it would be very useful to be able to query for these.
Also "at least 1 non-time field must be queried" seems like a strange limitation.

+1
I need to keep statistics to check data quality, min?time and max_time are crucial for that.

@ericremoreynolds can you expand? Can you give an example of finding the maximum time? I think the maximum time is just last() of some point. I think #5926 might be what you need.

I guess you might want to do a query like
SELECT min(time) FROM whatever_measurement WHERE some_condition
without having to explicitly reference some non-time column in the select clause.
I don't know if that makes sense?

Wouldn't the minimum time just be the first time for a field? In situations where you don't have a GROUP BY time(...), you can do this to find the minimum time of a field.
SELECT first(value) FROM cpu

Yeah sure but maybe in some situations you don't want to reference a
specific field but just query the timestamp of the first/last point
regardless of which fields it has values for.
Just a thought, i guess there are indeed approximate workarounds as you say.

@pauldix what do you think about this? I've seen a few other issues where people don't really seem to care about which field they're selecting on. While it will be slower than a single column access, do we want to try and support this kind of query?

@jsternberg Thanks for considering this. But why should the query be slower? In worst case, a "SELECT MIN(dt) FROM cpu" would perform exactly the same internal work as "SELECT FIRST(value) FROM cpu", which also returns the timestamp. But as the value is not returned, it should theoretically even be (marginally) faster. However, it would make code better readable as the query states what we want to select.
So without knowing a lot about the internal handling of queries, I would guess that converting MIN(dt),MAX(dt) to equivalent/existing FIRST/LAST queries should not result in additional overhead or performance loss.

@plinyGo because InfluxDB is a columnar database. So to do this you'd be doing hitting every field and then taking the aggregates against those. Because we don't store these statistics as a whole, you'd end up doing range scans for every field under that measurement.
@jsternberg doing this as a query would be a horrible experience because of this. The only tractable way I can think of to do this would be to keep these summary statistics, but we don't have anything on the roadmap for that yet.
I think it's difficult enough to implement that we'd really need to think about what the need is here and how we could engineer this to be performant.

I want to measure lag time itself, so having time, aggregates of time, and time arithmetic expressions in my SELECT clause all make sense. There is literally no other field I'm interested in. Completely different visualizations will concern themselves with the other fields. But my use case is visualizing the change in lag over time.
So how do I even get lag? Let's say I have several sensors as clients that report measured fields and their metadata tags once per minute. However, if there is memory, computational, or network latency contentions, my process puts backpressure on chiming in to Influx. The result for a sensor might look like reporting in at 1:02:03, 1:03:04, 1:06:11, 1:08:45, 1:18:12, 11:19:13, etc.
My console wants to visualize lag over time and alert when any sensor is behind by more than 15 minutes. A SingleStat in Grafana would be nice. Green when <10m, Orange when >=10m, and Red when >=15m. When my alarm goes off, a nice thing would be a graph to see if lag on that sensor is spiky vs. creeping up over time vs. how it fares vs. other sensors. This can help me differentiate between a troublesome sensor vs. network-to-Influx issues for all sensors.
What I don't want is the sensor itself querying Influx, doing the time logic, and then reporting those values into a different measurement to Influx. The lag detection has to be decoupled from the sensor itself. I can't detect a troublesome sensor if I'm depending on it to reliably report its own lag! I can have a dedicated client/process do this for all sensors on their behalf, but I'm having trouble justifying this when I feel Grafana or a Continuous Query should be able to do this.
What I need is: SELECT last(now() - time) FROM sensors WHERE sensor_id =~ /$sensor_id$/ AND time < now() - 4h
This lets me Template and Repeat on sensor_id.
I can't do SELECT last(some_field) FROM sensors ... because I want to visualize the value of the time difference (lag size/duration) across time, not the value of some_field. You can't cheat and declare victory just because there's a timestamp somewhere in the JSON result. I need the difference returned as a first-class citizen so tools can visualize on it.

+1

We really need this type of query. Unability to get the primary key - this is an absurd.

+1

I'm going to close this out. There is no time without a corresponding field. Under the covers Influx is a columnar database where a column is:
measurement,tagset,field

# for example
cpu,host=serverA,region=west,usage_user

That combination represents a series or a column. Within that range are value, time tuples. This isn't like a row oriented database where time is stored as a column value per row. Time is stored for each series (or column).
Thus it makes no sense to grab the time without a field. If you want to get the first or last time, which is equivalent to min and max respectively, do it by asking for a specific field like this:
-- first value and time returned
select usage_user from cpu limit 1
-- last value and time returned
select usage_user from cpu order by time desc limit 1

You can also add a where time > ... and time < ... clause to find the first and last times in a given range. So you can already get the summary statistics you're looking for.

Please reconsider the close issue decision:
How can I get the min(time) and max(time) if I query a time range with grouping, e.g. GROUP BY time(1d)?
The query result will always use startOfDay as returned timestamp of the daily aggregated entries, thus I have no possibility to know the time of my first and last item within the aggregation.

is this issue still on go? I need to know the period of time in a group by query
select min(time), max(time), sum(item_price) as price, sum(view) as view from statistics group by item_invoice

But it doesn't it sum price or return max and min of time!
name: statistics
tags: item_invoice=
time min max price view
---- --- --- ----- ----
0                  83

name: statistics
tags: item_invoice=067a1302-bac4-42cb-409f-c047b14417c3
time min max price view
---- --- --- ----- ----
0                  7

name: statistics
tags: item_invoice=cb9ed298-e355-4f6f-52ba-41b15f4afca7
time min max price view
---- --- --- ----- ----
0                  4

I have a similar issue relating to time, when doing a query that is time bounded I don't want the beginning timeframe timestamp but to select which timestamp (first/last) for the series to be reported.
select last(value) from table where time >= now() - 3h group by "host"
will always give me a time as now-3h. It's not showing me the first or last timestamp but its repeating the now()-3h value for each host. When looking at the data programmatically this does nothing to help understand the true timeframe the data represents.

@rickalm: the query you show works for me (influxdb 1.5.2, Ubuntu 16.04)
In the following example, I stopped collecting SNMP data from a particular host by IP address (<IP_ADDRESS>) and started collecting it by name instead (gw.example.com), so the "agent_host" tag changed.
> select last(ifHCInOctets) from interface where time >= now() - 3h group by agent_host
name: interface
tags: agent_host=<IP_ADDRESS>
time                 last
----                 ----
2018-05-26T14:35:40Z<PHONE_NUMBER>3

name: interface
tags: agent_host=gw.example.com
time                 last
----                 ----
2018-05-26T15:09:40Z<PHONE_NUMBER>9

name: interface
tags: agent_host=sw1.example.com
time                 last
----                 ----
2018-05-26T15:08:41Z 0

The switchover was made about 40 minutes ago. If I reduce the time range then that host drops out completely:
> select last(ifHCInOctets) from interface where time >= now() - 30m group by agent_host
name: interface
tags: agent_host=gw.example.com
time                 last
----                 ----
2018-05-26T15:09:40Z<PHONE_NUMBER>9

name: interface
tags: agent_host=sw1.example.com
time                 last
----                 ----
2018-05-26T15:08:41Z<PHONE_NUMBER>8

In your case, maybe there are additional time series which are messing up the query.  I suggest you try group by * instead of group by "host"; this may show you additional time series that you weren't expecting.  group by "host" will give you the last() entry across all time series which have the same "host" tag.

+1

Having the same issue as well with aggregate queries.  Without being able to get the min or max of the timestamps (or even just the first or last of them), I would need to do the aggregation manually outside of influx to preserve that data.
As it is now, aggregate queries completely mangle the original timestamps:
> select last(time), count(count) as count from count_progress_list where time >=<PHONE_NUMBER>000000000 and time <=<PHONE_NUMBER>000000000
name: count_progress_list
-------------------------
time                    last    count
1564689300000000000             1281

I have a problem of similar matter.
I want to watch for first datapoint occurence in time range, to calculate e.g. when user switched the monitoring device on today.
Returned value may be a number of minutes between start of time range and timestamp of first catched datapoint.
Solution may involve ELAPSED(), but both seems to be impossible:

calling ELAPSED on series having only one point
combining two single-point series (merging FIRST() of the series and FIRST() of timerange filled by zeros)

I thing a lot of people have similar problems.

I would also like to be able to work with min and max of the timestamps of a query.
I use influx to log statistics from machine lines in manufacturing, such as machine cycle time per minute. The KPI's machine speed over time, total machine cycles per day and total run-time per day, and displaying the result on a Grafana dashboard.
Getting the total machine cycles is fairly easy but I cant figure out a good way to display the time span between the first and last registrations per day. Maybe working directly with Influx isn't the best approach. Pulling the data into a SQL database and then do the calculations from there.
But I would much rather be able to do proper statistical analysis directly on the measurements.

I also make statistics in manufacturing :-)
I think a solution that follows the spirit of InfluxQL the most is extending the ELAPSED() query,
allowing calculation of time elapsed not from datapoint to datapoint, but also from start of time range to datapoint and from datapoint end of time range.
A parameter may be used - one is already used to define the time unit, why not make a second one? Maybe, it even may be the default behaviour of ELAPSED() when a single data point is passed to it.

+1

+1

Use case: I want to be able to select the first and last timestamps per day of my solar panel measurements. The panels obviously don't produce at night, and thus the converter shuts off and stops sending data. For checking availability of the data through a cron-job I want to know at what time the solar panel switches on for each day in the year (and then using this to do some sinus-fitting).
I find it interesting behavior that the time is truncated to the start of the group, although I can see there are arguments for this. Maybe it is possible to have two time-columns? One for the start of the group and one for the actual select data point (be it first(), last(), min(), max() or perhaps others)
For my use-case I found a bit of a work-around, only valid in case there is a data column which is only increasing within the time group (for example the kWh produced that day): use the bottom(field_key, 1) or top(field_key, 1) functions. Sharing for those interested!

I really think minimum stored time and maximum stored time (or first and last) is very much required for time series database without having to know the filed name- it is quite frustrating not to get this feature HIGHEST priority. This is the reason I switched to promotheus

any solution?

+1
Need first(time) ~ last(time) group by tag

+1

+1

I'm going to close this out. There is no time without a corresponding field. Under the covers Influx is a columnar database where a column is:
measurement,tagset,field

# for example
cpu,host=serverA,region=west,usage_user

That combination represents a series or a column. Within that range are value, time tuples. This isn't like a row oriented database where time is stored as a column value per row. Time is stored for each series (or column).
Thus it makes no sense to grab the time without a field. If you want to get the first or last time, which is equivalent to min and max respectively, do it by asking for a specific field like this:
-- first value and time returned
select usage_user from cpu limit 1
-- last value and time returned
select usage_user from cpu order by time desc limit 1

You can also add a where time > ... and time < ... clause to find the first and last times in a given range. So you can already get the summary statistics you're looking for.

With my query SELECT last(now() - time) FROM sensors WHERE sensor_id =~ /$sensor_id$/ AND time < now() - 4h I am indeed using a non-time field to query with!! The WHERE already efficiently pinpointed exactly what data to fetch. Yes, even by column store standards. Fetching is done. I've already satisfied the "at least 1 non-time field must be queried" requirement.  I'm asking in the SELECT clause to whittle the result set down some before sending back to the client.

For anyone else who finds this in 2022, this is actually pretty straightforward if you are able to use Flux to query rather than InfluxQL.  We have a number of IoT devices writing to buckets and we cannot rely on any particular device supporting a specific measurement.  I can pull the timestamp of the most recent measurement with:
from(bucketID:"your_bucket_id_here") |> range(start: 0) |> sort(columns: ["_time"], desc: true) |> limit(n:1)

For anyone else who finds this in 2022, this is actually pretty straightforward if you are able to use Flux to query rather than InfluxQL. We have a number of IoT devices writing to buckets and we cannot rely on any particular device supporting a specific measurement. I can pull the timestamp of the most recent measurement with:
from(bucketID:"your_bucket_id_here") |> range(start: 0) |> sort(columns: ["_time"], desc: true) |> limit(n:1)

Your query fails when when the number of records becomes large enough, your range(start: 0) only hides the problem. Look up group and last functions.

+1

+1


[TEPHRA-241] Introduce a way to limit the size of a transaction

first commit introduces four new configurations for change set size limits, enforces these limits in a new method canCommitOrThrow() (we keep canCommit() for compatibility), and uses the new method throughout the higher level classes and tests
second commit refactors the transaction system test cases: Don't start a new TxManager for each test method, have a shared common configuration across subclasses, move the checkpoint test to the base class such that it also gets tested with Thrift
third commit adds a new test case for size limit validation

Thrift changes are backward-compatible (we keep the existing methods the same), and so are the TransactionSystemClient changes.

Travis build failed again in the known flaky test with Java 8. It does pass when I run it with Java 8 locally. Java 7 also passes in Travis. I am confident that this was not introduced by the changes in this PR, and will commit this now.

After rebasing on latest master, another travis build is running; waiting for that to finish.

Same travis failure. This appears to happen a lot more frequently with Java 8. I will commit this now and try to fix the flaky test before 0.13 release.


[Storage] Fix #27590: az storage fs directory download: Check system path for azcopy before installing

Related command

Description

Fix #27590 Check system PATH for azcopy before installing
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

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

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

Storage

Some more thoughts here.
The desired behavior is for az CLI to use azcopy binary for some sub commands. The issue was that the AZ CLI command would download azcopy binary to an install location that is common for users to install software ~/bin, replacing the binary that may already exist on a users machine.
The proposed solution here is to use the azcopy binary that already exists if one can be found.. but that might not be ideal either because az CLI might depend on features of a specific azcopy version (right now it's pinned at 10.13, but the latest version is 10.21.0), causing more people to file issues about the az storage CLI....
A more stable solution that doesn't break the users local version of azcopy, or potentially break az cli commands by using an incompatible version of azcopy, would be to have a more unique default install location for the az cli's pinned version of azcopy.
For example, suppose I have a local version of azcopy: ~/bin/azcopy, who's --version is 10.21.0. Then I run az storage command and that installs the compatible version of azcopy in it's own unique install location, say ~/.azure/cliextensions/storage-preview/bin/azcopy. Then az cli can have it's own pinned version of azcopy, and I can have my own pinned version of azcopy, and everyone is happy.

@jakevc Having a pinned version in another location is probably a better solution than what I was trying to do here. Will keep the 10.13.0 as the version.

I do think what jake said is a good suggestion. Can we detect whether there's existing azcopy installed before CLI downloads and installs specific azcopy? There's no necessary for CLI to pin azcopy's version. Ideally CLI can smoothly call any version installed by customer as CLI just pass through arguments to azcopy

BTW, resource module installs bicep under our config directory, shall we follow the same path?
https://github.com/Azure/azure-cli/blob/3209b9590793c7670cb8a2f286afe5dfd2b3eab5/src/azure-cli/azure/cli/command_modules/resource/_bicep.py#L41-L42


Installation instrucitons

Hi,
how can I install this plugin? I do not see any installation instructions.
Do I miss anything?
Thank you

@leonstafford maybe we need to have the master branch with vendor deployed? or one zip for download in github revisions area?
@sowinski you need to upload to wp-content/plugins folder. Connect via ssh and ren composer install in same folder.
Then you go to admin and activate plugin.

@fromcouch - yes, some website updates coming, where I'll keep releases on homepage/downloads page.
I'd avoid putting vendor dir in - will blow up the repo and I have a feeling there's a chance for different binaries to be pulled for different architectures with Composer(?)
Lack of quickly installable binaries and lack of clear documentation are big pain points today

improvements around this now in codebase and will be published in next release. See last comment here to learn more:
https://github.com/leonstafford/wp2static/issues/702


Docs about server middleware out of date

The README says "middleware for Express servers in persistgraphql/lib/server", but there's no middleware to be found.
It also says "These will likely be moved to their own packages in the future", which I assume already has happened. Where did they go?

We removed the middlewares because everyone's infrastructure will be a bit different - some people will load queries from an object, some from Redis, some from a database. So we replaced it with a simple short code snippet which people can modify to fit their needs: https://github.com/apollographql/persistgraphql#server-side

I've removed the offending docs, and would appreciate some more code samples for how to, for example, load the queries from a database!

We can go ahead and close this since the doc changes have been merged.