Module discover filter improved

Module discovering filter issue improved
Description
I think is better to call the module filter just like the default filter in the Config directory to get all the filter features.
So I instantiate the module filter class on module discoverfilter() in system/filters/filters.php.
include($file);

$this->config = new $className;

This is working fine in my project the only problem here is that the default config filter is not loading again
Checklist:

[x] Securely signed commits

[x] Component(s) with PHPDoc blocks, only if necessary or adds value

[x] Unit testing, with >80% coverage

[x] User guide updated

[x] Conforms to style guide

@ChibuezeAgwuDennis Thank you for sending a PR.
But it seems your base branch is very old. There are lots of conflicts.
And you missed the last two commits with GPG sign.
Please read the Contributing to CodeIgniter, especially:

https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#php-style
https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/pull_request.md#unit-testing

And this PR contains unrelated str_contaions():
https://github.com/codeigniter4/CodeIgniter4/pull/5534/files#diff-a96878ab09ca70cda56a717ca46ea7d2e1761159d07b7eea0fad26b8472f33e4R868
Please remove unrelated commits.
Thank you.

@ChibuezeAgwuDennis  would you be able to address @kenjis 's concerns? If not, we'll promptly close this in the next few days.

@ChibuezeAgwuDennis would you be able to address @kenjis 's concerns? If not, we'll promptly close this in the next few days.

I am having issue updating my fork to the current version of codeigniter.  can you guide me on that newly to git

@ChibuezeAgwuDennis Try: https://github.com/codeigniter4/CodeIgniter4/blob/develop/contributing/workflow.md#pushing-your-branch


*Config classes shall be more .NET compliant

Is your feature request related to a problem? Please describe.
The configuration based on *Config classes needs an approach like the one used in Java/Scala.
To be more suitable for .NET users can be useful to extend the class with method and properties like other configuration classes in .NET.
Describe the solution you'd like
*Config classes shall host properties related to the possible applicable options and the configuration shall be able to use a Fluent approach.
Describe alternatives you've considered
N/A
Additional context
N/A

@masesdevelopers: Add a mechanism to duplicate/clone a configuration


Feature request: mechanism to set TCP socket connect timeout

Thanks for mitmproxy! It's awesome.
I've spent a few days debugging an issue in my environment (a custom Selenium grid that runs Firefox and proxies connections through mitmproxy, uses inline scripts, and has specific requirements for limiting the time that things can take). I believe that having the ability to set TCP socket connection timeouts would solve some specific issues for me. I've distilled it down here to some curl commands, but be aware it's not the real environment.
Steps to reproduce the problem:

Start mitmdump --port 8088
Run time curl --proxy http://localhost:8088 http://<IP_ADDRESS>/fake, notice it hangs and then takes real  1m15.650s before raising a 502 and timing out (the actual time is system TCP config dependent).

What is the expected behavior?
I'd like the ability to make this timeout after X seconds. Specifically, I'd like to set a TCP connection timeout on the socket.socket object, after socket creation but before connect.
What went wrong?
As far as I can tell, there's no way to do it currently.
https://github.com/mitmproxy/mitmproxy/blob/0.17.x/netlib/tcp.py#L699
A few roadblocks exist here to solving this myself:

The creation of the socket is relatively deeply nested and there are not hooks to configure it.
You cannot use the serverconnect hook, it fires before the socket object is actually created.
You cannot use the TCPClient.settimeout method for the same reason, the timeout needs to be set before connect but after the socket is created.
You cannot use Python's native socket.setdefaulttimeout in an inline script because it still breaks SSL connections in the same way as this old, closed issue (and this might actually be the wrong fix anyway, since it's a full socket timeout not just a connect timeout).

I basically want a productionized way to do this patch:
index 8e46d4f..8e04138 100644
--- a/netlib/tcp.py
+++ b/netlib/tcp.py
@@ -648,9 +648,12 @@ class TCPClient(_Connection):
     def connect(self):
         try:
             connection = socket.socket(self.address.family, socket.SOCK_STREAM)
+            connection.settimeout(CONNECT_TIMEOUT_SECONDS)
             if self.source_address:
                 connection.bind(self.source_address())
             connection.connect(self.address())
+            # Reset socket timeout to system defaults because the connection is now established.
+            connection.settimeout(None)
             if not self.source_address:
                 self.source_address = Address(connection.getsockname())
             self.rfile = Reader(connection.makefile('rb', self.rbufsize))

I guess this could be either through a new hook like beforeserverconnect for inline scripts, or a command line flag, etc. It might also be nice to pull out the socket.socket creation to it's own method that can be more easily manipulated (I've ended up having to monkey-patch the whole connect method unfortunately).
Any other comments?
I think this would fix https://github.com/mitmproxy/mitmproxy/issues/1044

Mitmproxy Version: v0.16 (but relates to master)
Operating System: Linux and Mac

(Updated some incorrect details above about the order of things)

Thanks for the detailed request. I'm not sure how we can fix that best - we currently rely on socket.makefile, which, as far as I understand it, requires that the socket must be in blocking mode. Maybe we can tackle this by having netlib.tcp.Reader work on raw (pyOpenSSL) sockets.

refs #1775

Any updates on the above?

Thanks for mitmproxy! It's awesome. :)
I'm having the same issue and I don't know if having a timeout on TCP level is a good idea. Maybe it'd break pipeline feature or cause some issues with HTTP2 since it uses persistent connection.
I think a timeout on HTTP level would be a better approach like we have in requests (e.g. https://docs.python-requests.org/en/latest/user/quickstart/#timeouts).
It seems mitmproxy is using h11 (https://github.com/python-hyper/h11) under the hood which seems not expose any parameter to define the request timeout (https://h11.readthedocs.io/en/latest/api.html#h11.Connection).
If my assumptions are right we would need to manually implement a timeout feature here https://github.com/mitmproxy/mitmproxy/blob/6be24f452eb634fe82989bea2e50c231674b5741/mitmproxy/proxy/layers/http/_http1.py#L65.
Before trying implement something I'd like to know your @mhils opinion if what I said above make sense.
Regards
Ricardo Iramar

We thankfully don't use socket.makefile anymore, so setting socket timeouts should be relatively easy now. The relevant call to open upstream connections is happening here:
https://github.com/mitmproxy/mitmproxy/blob/1e9707307815144a3106c3b5056111971ad07c6d/mitmproxy/proxy/server.py#L139-L152
The most useful approach would probably be to manually create a socket.socket object before all that, add it to ServerConnectionHookData to expose it to addons in the server_connect hook (we now have separate server_connect and server_connected hooks, the first one fires early enough), and then use it in the asyncio.open_connection call. This would provide addons with full control over the socket object to do all sorts of shenanigans (such as #436).


error message is not optimal on apple silicon with semeru8

Description:
A clear and concise description of what the bug is.
Run actions/setup-java@v4
  with:
    distribution: semeru
    java-version: 8
    java-package: jdk
    check-latest: false
    server-id: github
    server-username: GITHUB_ACTOR
    server-password: GITHUB_TOKEN
    overwrite-settings: true
    job-status: success
    token: ***
Installed distributions
  Trying to resolve the latest version from remote
  Error: Unsupported architecture for IBM Semeru: arm64, the following are supported: x64, x86, ppc64le, ppc64, s390x, aarch64

Task version:
Specify the task version
Platform:

[ ] Ubuntu
[x] macOS
[ ] Windows

Runner type:

[x] Hosted
[ ] Self-hosted

Repro steps:
A description with steps to reproduce the issue. If your have a public example or repo to share, please provide the link.
Expected behavior:
A description of what you expected to happen.
Actual behavior:
A description of what is actually happening.

Hello @mio-19 👋,
Thank you for your report. We'll investigate the issue and get back to you.

The error message showed that arm64 is not supported while aarch64 is supported, while in fact only x64 mac is supported

Hello @mio-19,
We have updated the error message for greater accuracy and fixed a bug related to fetching aarch64 when arm64 was requested. Please test your workflow with actions/setup-java@main.
Please feel free to reach out to us if you encounter any other issues.


ability to remove certain contracts from metrics

I'm not sure if I put in a github issue for this or not.  We have some bad data in the metrics section...either because we uploaded incorrect numbers initially or because Stephanie/ed didn't understand how and when to mark status's complete.  This means we have some numbers that are DRASTICALLY incorrect.  I would like the ability to remove some of these from metrics either by having the ability to edit timelines of completed contracts or selecting to remove them in some other way.
Going forward I don't see this as being a huge problem so a 3rd way would be I send you a list of which ocntracts to remove and we do it as a one time thing

I could add a flag where you could control individual contracts in the admin.

this would be amazing! for these ones I want them to be included in the
future but I want this to be flow specific.
On Wed, Jan 20, 2016 at 12:19 PM, Ben Smithgall<EMAIL_ADDRESS>wrote:

I could add a flag where you could control individual contracts in the
admin.
—
Reply to this email directly or view it on GitHub
https://github.com/CityofPittsburgh/pittsburgh-purchasing-suite/issues/32#issuecomment-173281947
.


wrong settings of dts files in the package.json

description
wrong settings of dts files in the package.json

https://publint.dev

https://arethetypeswrong.github.io/

A correct version of settings using TSUP can refer to sxzz/unplugin-starter

Maybe type: 'module'

close in 0ff2235


Prompt SBOX_FATAL_MEMORY_EXCEEDED after project startup

Describe the bug
After I shared the project, it caused the browser to crash upon startup, but this phenomenon did not exist before sharing.
Link to the blitz that caused the error
https://stackblitz.com/edit/nestjs-typescript-starter-ukpkr2?file=README.md
Steps to reproduce
The problem can be reproduced after the initial loading is successful and the default command is automatically executed
Expected behavior
normal use
Parity with Local

[X] I have run the project in my local machine and I could not reproduce the issue.

Screenshots
No response
Platform
Browser name  = Chrome
Full version  = <IP_ADDRESS>
Major version = 114
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
performance.memory = {
  "totalJSHeapSize": 116135378,
  "usedJSHeapSize": 98388718,
  "jsHeapSizeLimit":<PHONE_NUMBER>
}
Hash = a12d8c69

Additional context
No response

Closing as a duplicate of #1096.


Add data sources as edge metadata "attributes"

https://github.com/biolink/biolink-model/blob/3a3617afb32805a808864a67fc2f184e2c2f8c5c/biolink-model.yaml#L5879

See comment in #128.


Add conference presentations.

Starting with the DevConf/FOSDEM presentation.

This change is

@gluster/gluster-kubernetes-maintainers Please review.

LGTM - thanks!


Inference Code for Detection Model

Is there any simple code available for running inference of EVA-02 Detection models? Thanks

I didn't find it either.

I don't get it why this project get 1.6k stars web crawler? hahaha

I also tried using EVA-02 detection models for inference, but I still don't know how to use them. Does anyone know how to do it?


[playtron-os-files] Add new IPv6 related files

Depends on: https://github.com/playtron-os/playtron-os-files/pull/17

This now also depends on: https://github.com/playtron-os/playtron-os-files/pull/18

I tagged the new release of playtron-os-files: https://github.com/playtron-os/playtron-os-files/tree/0.6.0
I was able to build a source and binary RPM. I installed the binary RPM for testing. All of the new files are there and the new clatd package dependency was installed.


Add github.com/AvitalTamir/cyphernetes

Source URL
https://github.com/AvitalTamir/cyphernetes
Homepage URL
https://cyphernet.es/
Command names

cyphernetes

How to confirm after installation
cyphernetes -h
Cyphernetes allows you to query Kubernetes resources using a Cypher-like query language.

Usage:
  cyphernetes [command]

Available Commands:
  completion  Generate the autocompletion script for the specified shell
  help        Help about any command
  operator    Manage the Cyphernetes operator
  query       Execute a Cypher-inspired query against Kubernetes
  shell       Launch an interactive shell
  web         Start the Cyphernetes web interface

Flags:
  -A, --all-namespaces     Query all namespaces
  -h, --help               help for cyphernetes
  -l, --loglevel string    The log level to use (debug, info, warn, error, fatal, panic) (default "info")
  -n, --namespace string   The namespace to query against (default "default")
      --no-color           Disable colored output in shell and query results

Use "cyphernetes [command] --help" for more information about a command.

How to install
aqua supports several install ways.
https://github.com/AvitalTamir/cyphernetes?tab=readme-ov-file#get-cyphernetes
The tool's official installation guide:

[x] Download pre-built binaries

[x] GitHub Releases
[ ] Files in the GitHub repository
[ ] URL:

[x] Build from source

[x] go install: go install
[ ] go build: go build
[ ] cargo install cargo install

Note
No response

Thank you.

https://github.com/aquaproj/aqua-registry/pull/29989

🎉 https://github.com/aquaproj/aqua-registry/releases/tag/v4.277.0


Add recent community contributed devices

These come from:

https://github.com/balena-os/balena-rockchip-rk3288/
https://github.com/balena-os/balena-jetson/blob/master/photon-nano.coffee

@acostach, do we need to generate the base images for these device types?


[Event Parameter Change] Codeunit 80 "Sales-Post" - procedure SumSalesLines2 - Event OnSumSalesLines2OnBeforeDivideAmount

We would like the parameter-/s RoundingLineInserted added to the following event.
Codeunit 80 "Sales-Post" - procedure SumSalesLines2 - Event OnSumSalesLines2OnBeforeDivideAmount
Original:
OnSumSalesLines2OnBeforeDivideAmount(OldSalesLine, IsHandled, SalesHeader, SalesLine, QtyType, SalesLineQty, TempVATAmountLine, TempVATAmountLineRemainder, IncludePrepayments);

[IntegrationEvent(false, false)]
local procedure OnSumSalesLines2OnBeforeDivideAmount(var OldSalesLine: Record "Sales Line"; var IsHandled: Boolean; SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; QtyType: Option; var SalesLineQty: Decimal; var TempVATAmountLine: Record "VAT Amount Line" temporary; var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary; IncludePrepayments: Boolean)
begin
end;

Change:
OnSumSalesLines2OnBeforeDivideAmount(OldSalesLine, IsHandled, SalesHeader, SalesLine, QtyType, SalesLineQty, TempVATAmountLine, TempVATAmountLineRemainder, IncludePrepayments, RoundingLineInserted); // <-- ADDED

[IntegrationEvent(false, false)]
local procedure OnSumSalesLines2OnBeforeDivideAmount(var OldSalesLine: Record "Sales Line"; var IsHandled: Boolean; SalesHeader: Record "Sales Header"; var SalesLine: Record "Sales Line"; QtyType: Option; var SalesLineQty: Decimal; var TempVATAmountLine: Record "VAT Amount Line" temporary; var TempVATAmountLineRemainder: Record "VAT Amount Line" temporary; IncludePrepayments: Boolean; RoundingLineInserted: Boolean) // <-- ADDED
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 44285.


fix: Build errors due to old kotlin and gradle versions

Fixes #893 here.
The project fails to build due to the old Kotlin version that can't use kotlinx.serialization library. Also, the library changed its dependencies declaration from the older versions.
After several attempts to solve the unsupported versions and the resulting issues due to changing the versions in the project, what works eventually is the following:
Changes:

Upgrade Kotlin versions in the project to 1.9.0
Upgrade Gradle version to 6.8.3 and Android Gradle Plugin to 4.2.2 to be compatible with the Kotlin version.
Upgrade kotlinx serialization library version to 1.6.2 and change the obsolete dependency name from kotlinx-serialization-runtime to kotlinx-serialization-json and change the code in JSONHelper.kt file to the new API provided by the library.
Due to the previous upgrades, kotlin-android-extensions plugin (which provides Kotlin synthetics and parcelization) is now unsupported because it was an experimental plugin, and it is not possible to build the project with it. Therefore, we need to migrate from Kotlin synthetics to Jetpack View Binding. In addition, we need to use kotlin-parcelize plugin for parcelization.
After the migration to ViewBinding, the plugin com.diffplug.spotless and ktlint() are now working properly and they automatically modified the whole project to comply with the Kotlin linting.

@CloudyPadmal @adityastic I think the build checks here are failing due to the upgraded Kotlin version used in the project but it locally builds successfully in my Android Studio Flamingo. Can you review, please?


[BlockSparseArrays] Simplifications of blocks for blocksparse Adjoint and Transpose

This PR excises SparseTransposeBlocks and SparseAdjointBlocks, and replaces them with the equivalent adjoint(blocks(a)) and transpose(blocks(a)).
This should not change any functionality, but reduces the complexity as the number of wrapper types decreases.

This should 🤞 now have all necessary imports and be based on the latest main

This is great, thanks!

@lkdvos did this fix: https://github.com/ITensor/ITensors.jl/issues/1336#issuecomment-2215122254?

Yeah, I double checked and it doesn't. I'll have a look if I can find a solution


Resized columns are reset to default widths on view resizing

Testing #10170
Resized columns are reset to default widths on view resizing (which might occur if the VS Code window is resized).
It would be helpful if the column widths would be scaled proportionally to the width of the Variables View.

Variables viewer will become built-in https://github.com/microsoft/vscode/issues/165445


Update SLURM plugin docs

[x] I have added the tests to cover my changes.
[x] I have updated the documentation and CHANGELOG accordingly.
[x] I have read the CONTRIBUTING document.

Closes the docs update in #1615 (the SLURM plugin README was updated to better reflect the installation instructions, which I have now mimicked here).

@sriranjanivenkatesan FYI :D


SelectorErrorCode::index() parses the wrong bits

According to a lengthy troubleshooting discussion on StackOverflow attempting to figure out why my #NP handler was giving weird selector indices:

Interesting and almost what I expected but goes against how the selector error code is documented. See just before this 100: v=97 e=0000 i=0 cpl=0 IP=0008:0000008000021b3c pc=0000008000021b3c SP=0010:fffff00007ffe8f0 env->regs[R_EAX]=000001807eb4a3e0. v=97 (that is actually 0x97). It almost appears (despite how it is documented) that in 64-bit code the selector error code has to be shifted right 4 bits rather than 3 bits (as it is in 32 bit code). It makes sense since since 64-bit entries are 16 bytes. That would yield index 0x97 (decimal 151) for the interrupt number.

Sure enough, following this advice finally fixed the dreaded, elusive Issue #10 in my kernel. This can only mean one thing: a misaligned parse of the selector error code's bits by the x86_64 crate, since I use SelectorErrorCode::new(code) to debug this.

I'm going to investigate this issue further. Between the AMD manual and the Intel Manuals they do suggest bits 3:16 are the index and that it doesn't differ for 32-bit or 64-bit modes. I'm going to run some tests on real hardware. It may well be that QEMU is at fault encoding the index in 64-bit code incorrectly.

@mpetch  Thanks a lot!

I have to write a bit of debug code to output values on real hardware. But I can already see that BOCHS and QEMU differ! BOCHS puts a selector error code on the stack that in line with what the documentation suggests. QEMU doesn't. Once I get a test program together and run it on real hardware I expect BOCHS and the real hardware will agree. My hunch is the bug exists in QEMU now.
This isn't an issue with GDT selectors since those descriptors are 8 bytes in size (except for the TSS which takes to index entries) but all of them are still scaled by 8.

Since we know that this is indeed a QEMU issue and not an issue with this crate after all, closing this and closing the associated pull request.

I get the correct selector index on real hardware, BOCHS, and QEMU if using the -enable-kvm option. If I run QEMU without that option I get the wrong selector encoded. This suggests QEMU software emulation has a bug and improperly encodes the selector using 8 byte scaling rather than 16 byte for IDT index entries in long mode.

Yeah, it clearly sounds like there is a bug in QEMU. I guess we should open a bug at https://gitlab.com/qemu-project/qemu/-/issues about it?

I am in the process of doing that as we speak. I put my test code up on GitHub with the intention of  linking it to a QEMU bug report.


ERROR! the playbook: copy-daemon-openpai-default-runtime.yml could not be found

Organization Name:

Short summary about the issue/question:
When I run ”/bin/bash quick-start-kubespray.sh -m example/master.csv -w example/worker.csv -c example/config.yml“，an error occurred
ERROR! the playbook: copy-daemon-openpai-default-runtime.yml could not be found

Brief what process you are following:

How to reproduce it:

OpenPAI Environment:

OpenPAI version:v0.17.0
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Hardware (e.g. core number, memory size, storage size, GPU type etc.):
Others:

Anything else we need to know:

Please paste the content of the file example/config.yml

请粘贴文件内容 example/config.yml

branch-name: pai-0.17.y


Issue with k8s.io/docs/tasks/configure-pod-container/configmap/

This is a...

[ ] Feature Request
[x ] Bug Report

Problem:
The page describes how to create a config map. The commands refer to paths in the repository "--from-file=docs/user-guide/configmap/kubectl" which no longer exist.
Proposed Solution:
Would be really helpful if the paths were updates in the commands on the page,
Page to Update:
https://kubernetes.io/docs/tasks/configure-pod-container/configmap/

My bad, I did not pull the latest version

I just hit this issue too. It's not obvious at all that this does not work just copying the commands from the web site.

/assign
The page is now at https://kubernetes.io/docs/tasks/configure-pod-container/configure-pod-configmap/ and change #8611 fixes the problem. I'll close this issue now.

/close


odd character selection

really really love this!
for some reason it only selects the furigana above the word instead the full word is there a way to fix this?
im using the Jitendex dict
thank you very much you are amazing!!!

Hi!
Thanks for the nice comments. Is the problem with the ankiconnect import from yomitan? It's copying the wrong info to the fields on the card?

hey there
i reinstalled yomitan and now it works?
not sure what went wrong but it works!
thank you!
btw i was wondering if it would be possible to add an option to also write in English?
like in wanikani you see the Japanese word and you type the meaning in English?
once again thank you very much!

Was wondering about this too
new to anki it adds a bunch of other cards?
Is there a way of having it Japanese to English and English to Japanese?


Andle/property testing

Closes #13.
Adds basic property-based testing.
I also refactored the Cell data type to treat stashes as a physical object rather than a Background. I added a tentative icon for the trash in Game.hs.
Compiled and spot-checked that game ran; all tests pass.

Updated the code to be consistent with the cell coloring changes.


Slow-query of payload 1.6 takes me about 10s to load an article list of nearly 30k documents

    It takes me about 10s to load the article list

I inspected the slow API. If I remove the draft option. I will be very fast.
https://mysite.com/api/articles?locale=en&depth=0&draft=true&limit=10

vs
https://mysite.com/api/articles?locale=en&depth=0&limit=10

And it cannot reproduce in my local machine.
And I ran the migration script as the document said. https://github.com/payloadcms/payload/blob/master/CHANGELOG.md#-versions-may-need-to-be-migrated
Originally posted by @Stupidism in https://github.com/payloadcms/payload/discussions/2217

Hey there – that is certainly not acceptable. Do you have indexes created on the ‘updatedAt’ and ‘parent’ fields on your versions collection?
We will look into this tomorrow 👍

@Stupidism, might want to trim the top bit of that first image 😅

Hmm, this is very strange.
I have absolutely no idea why your GraphQL is functioning as expected but REST is not. Are you able to use a tool like MongoDB Compass to connect to your database? If so, you should try and recreate the aggregate that you are running within MongoDB Compass directly.
This also might be to do with AWS' DocumentDB. I believe that Mongo will fall back on writing to disk if it does not have an index available, or if the resulting data set is too large for it to be executed in memory. That could be why you are seeing COLLSCAN. This is definitely related to COLLSCAN—the question is - why?
I just seeded 40K documents and it still loads blazingly fast for me. Here is a screenshot of my working database's indexes within MongoDB Compass:

Oops - did not mean to close. I didn't even know I did!
Question - is there a way that you could clone your exact database, run on Atlas (or a local MongoDB Community), and then re-assess the speed here?

@Stupidism The versions screen crashing was a reported issue and has since been fixed, just letting you know!

Hey @Stupidism — I think this is definitely the move.

For example, if we set a flag in versions table latest: true?

The team and I have been discussing a way to do exactly this, and I think this will circumvent your issue.
Give us a bit here and we will get a plan in place to make this or something similar to this happen.

Hey @Stupidism — what version of local Mongo are you using? Do you have it installed locally on your computer, or are you using Docker or similar?
It's very strange that we can't reproduce this at all. We're looking into fixes still, but I really need to be able to reproduce your exact scenario before being confident in a fix. Still digging, but the more info you can provide about your local MongoDB, the better.
We've also recreated your exact aggregate pipeline directly in Mongo Compass, and it's still quite fast:

Hmm, ok - so just so I am clear, on local, you are actually seeing pretty good execution time - 785ms, right? Did you change anything? Before I believe you mentioned 5s+ even trying this locally. But this looks about similar to what I am seeing on my end when I test locally. Good that it's using the updatedAt index.
Let me know and we can go from there. Thanks!!

Hi @jmikrut, This is the url you can compare the speed:
https://seo-payload.stage.getjerry.com/api/articles?locale=en&depth=0&draft=true&page=1
https://seo-payload.stage.getjerry.com/api/articles?locale=en&depth=0&page=1
curl -o /dev/null -s -w 'Establish Connection: %{time_connect}s\nTTFB: %{time_starttransfer}s\nTotal: %{time_total}s\n' https://seo-payload.stage.getjerry.com/api/articles\?locale\=en\&depth\=0\&page\=1
Establish Connection: 0.000000s
TTFB: 0.000000s
Total: 5.009390s

curl -o /dev/null -s -w 'Establish Connection: %{time_connect}s\nTTFB: %{time_starttransfer}s\nTotal: %{time_total}s\n'  https://seo-payload.stage.getjerry.com/api/articles\?locale\=en\&depth\=0\&draft\=true\&page\=1
Establish Connection: 0.007475s
TTFB: 21.427764s
Total: 21.427931s

Hi @jmikrut ,
My team is also having similar issues with one of our collections. With drafts disabled, we get very quick collection list load time but with drafts enabled we are having long load times.
look at args.req.origin to see if the request is coming from the admin UI
look at args.id to see if there is an ID (AKA this is the find and not findByID operation). You should only disable draft=true if it's on the find operation itself```

This works, but it looks like a brittle solution for us and are concerned that with a payload update our experience can be broken at some point. If you use a similar data structure to above are you able to mock or reproduce this issue?

Has anyone tested whether https://github.com/payloadcms/payload/releases/tag/v1.15.3 improves query speeds for draft-enabled collections on DocumentDB?

Has anyone tested whether https://github.com/payloadcms/payload/releases/tag/v1.15.3 improves query speeds for draft-enabled collections on DocumentDB?

It should have the same affect on DocumentDB, since it removes the need for the aggregation step when querying drafts!

Sounds promising! Will check it tomorrow, I'll let you know.

Yes, this issue has been a thorn in our side for quite some time now but I am pretty confident that this new approach will 100% solve this issue for all Mongo-like databases from here on out.
It will be defaulted in 2.0, and we wanted to get it out now as a feature flag so you guys don't have to wait 👍 thanks to Jarrod for the quick moves here!


Write docs

Gitbook will be the new location of documentation
v3 docs will remain on Postman, but will no longer be linked to.

[ ] Write v4 docs
[ ]  Move apps list to gitbook
[ ]  Move clients list to gitbook

Docs written


Text overwriting on WebUI traffic page

Stratux version: v0.9b1 (89107818b8)

Stratux config:
SDR
[ ] single
[X] dual
GPS
[X] yes
[ ] no
type: RY835AI
AHRS
[X] yes
[ ] no
power source: panel
usb cable: PortaPow

EFB app and version: (e.g., WingX Pro7 8.6.2) N/A
EFB platform: (e.g., iOS 9.2) iOS 9.3.2.
EFB hardware: (e.g., iPad Mini 2) iPad Air 2

Description of your issue:

Using the standard mobile Safari browser, looking at the Traffic page, the Power (dB) and Age fields overwrite each other, and also extend past the graphic "box" area.  Limiting the display to fewer characters is probably all that is required to resolve.

If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://<IP_ADDRESS>/logs/stratux/ and http://<IP_ADDRESS>/logs/stratux.log.

This looks like a client-side cache problem. Your screenshot shows the page structure and headers from v0.8r2. Can you hit refresh a couple times to see if it clears up?
Improvements to the UI, including reflow improvements on devices of different sizes, were incorporated at #398. Among other things, rounding of power and age were move from traffic.js to Angular expressions in traffic.html. If the .js file updated and the .html didn't, it would explain what you're seeing.

It should look like this:

You are right.  It is a client-side problem.  I'll close this out.  (Separately, I use the option to create a Home Screen short-cut, and even after I clear cache, and delete and re-make the shortcut, it still pulls in the old format.  Going to <IP_ADDRESS> from the browser directly pulls in the new format.)

@AvSquirrel  It looks like this is a pretty common problem with web sites saved to the home screen.  There is no user provision to clear cache.  Either the developer needs to make a change, such as updating the version of the manifest, or the user needs to connect their iOS device to the computer and run some debugging tools from the desktop.
https://coderwall.com/p/knft5a/3-ios-homescreen-web-app-tips


Initial commit for dSTS Auth

This PR fixes #

Pull Request Test Coverage Report for Build 421699125

3 of 18 (16.67%)  changed or added relevant lines in 4 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.007%) to 43.156%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/services/connection/browser/connectionManagementService.ts
1
2
50.0%

src/sql/workbench/services/connection/browser/connectionController.ts
0
2
0.0%

src/sql/workbench/services/accountManagement/browser/accountManagementService.ts
0
5
0.0%

src/sql/workbench/services/connection/browser/connectionWidget.ts
2
9
22.22%

Files with Coverage Reduction
New Missed Lines
%

src/sql/workbench/services/connection/browser/connectionController.ts
1
38.73%

Totals

Change from base Build 421695347:
-0.007%

Covered Lines:
24111

Relevant Lines:
51223

💛  - Coveralls


chore(bazel): bump Bazel repositories

Supported Bazel versions for rules_rust: https://bazelbuild.github.io/rules_rust/index.html?highlight=bazel#supported-bazel-versions

Closed as we have remove all Bazel files in this repo


⚠ Bofrost.com has degraded performance

In 7c03651, Bofrost.com (https://www.bofrost.com) experienced degraded performance:

HTTP code: 200
Response time: 832 ms

Resolved: Bofrost.com performance has improved in 7b0abb0 after 8 minutes.


Binding Context of View is Changed

Platform

OS: Both
Device: all
MAUI: [6.0.540]

Describe the bug
Inserting the view in the tab removes the view's BindingContext
To Reproduce
I have a content view with the binding context set in view, such as the code below where it is set in xaml:
<ContentView.BindingContext>
        <model:MyViewModel/>
</ContentView.BindingContext>

When I put this view in the DelayedView (or the LazyView) it changes the binding of the view to the parent's page BindingContext
Here is the code for the page:
<tabs:ViewSwitcher x:Name="Switcher" Grid.RowSpan="4" Margin="0" Animate="True"
                                           SelectedIndex="{Binding SelectedViewModelIndex, Mode=TwoWay}">

          <tabs:DelayedView Animate="True">
                   <views:MyViewWithItsOwnBindingContext/>
          </tabs:DelayedView>

           <tabs:DelayedView x:TypeArguments="views:MySecondView" Animate="True" />
</tabs:ViewSwitcher>

I think I may be seeing the same problem: LazyView messing up my bindings (using Maui 8.0.40 on Android and iOS).
What causes it is probably this:
https://github.com/roubachof/Sharpnado.Tabs/blob/e8dc4e2446e510797a334a1c66f3b397361027fc/Tabs/Tabs/LazyView.cs#L116
@roubachof What's the reason for resetting the BindingContext here? Do you have any comments on this issue?

It's the default behavior, if you don't want the binding context to propagate just inherit from LazyView and override LoadView


Do not create 800b socket if we have nothing to send

There is a case on StatsDMessageFormatter when Random.NextDouble() is less than a sample rate. The formatted result is an empty string in this case. There is no value in creating a socket for sending empty payload.

Do the same in UdpTransport
prefered format is
if (nothingToDo)
{
  return;
}

Do we have any test cases anywhere for this? They should be safe to run in CI given they're no-ops.


Allow ghc-prim-0.10 for ghc-9.6

I have also revised the ed25519-<IP_ADDRESS> package on Hackage with this constraint. Thanks!


Creating a News Entry for Release 24.05

Please create a news entry to summarize the TX Release 24.05:
Headline: Tractus-X 24.05 available now
We are excited to announce the release of Tractus-X 24.05! This release builds the foundation for one of the most significant updates to our Catena-X ecosystem to date. Highlights include an update to the Multi-Opco solutions, the full implementation of the Industry Core KIT as well as the advancement of Self Sovereign Identity concepts, e.g. Multi-Wallet solutions. Conjointly, it makes several improvements to the user-friendliness of KITs based on feedback received to date, making Tractus-X overall more accessible and welcoming to newcomers and veterans alike. A big thank you to all contributors and committers for bringing this milestone to life and keep Tractus-X as one of the most significant OS projects in the automotive industry.
With Release 24.05, the Catena-X Association will also introduce significant advancements in its operating model including an update to its regulatory framework, an update to its roles, improvements to the overall release management and compatibility schemes as well as for the first time, interoperability criteria. Stay tuned for an official release on the Catena-X website at the end of June 2024.
Enjoy diving into the all new Tractus-X Release!

News entry text fine for me / yet: URLs not crosschecked
No changes requested ;-)

Created a PR (#907)


New version: Perceptrons v1.1.2

Registering package: Perceptrons
Repository: https://github.com/lalvim/Perceptrons.jl
Created by: @lalvim
Version: v1.1.2
Commit: 7b5185b828956c2580852c32db1b0242896c5ec1
Git reference: master

I dont know why i have this automerge problems.
This is a little fix on package deps of project.toml.
Can you manually merge for me? There is an previous version with deps problem. It is important to fix this fast. Thanks.


typoCorrect error version information in the document

Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Header deserialization should be case insensitive

Package Name: core-http
Package Version: 2.2.5 and 2.2.6
Operating system: all
[X] nodejs

version: all

[ ] browser

name/version:

[X] typescript

version: all

Is the bug related to documentation in

[ ] README.md
[ ] source code documentation
[ ] SDK API docs on https://docs.microsoft.com

Describe the bug
We are using a custom HTTP client to preserve header casings as they come from the server. When we do this we do something like:
// the object our sendRequest method returns
const httpOperationResponse: HttpOperationResponse = {
    request: httpRequest,
    status: response.statusCode,
    // response.rawHeaders is a collection of raw HTTP response headers exactly as they were received.
    // Header keys and values come in a single list and not as a list of tuples.
    // Header keys are immediately followed by their respective values.
    // Header names are not lowercased, and duplicates are not merged.
    headers: this.#parseNetRawHeaders(response.rawHeaders),
    readableStreamBody: undefined,
    bodyAsText: undefined
};

and
#parseNetRawHeaders(rawHeaders): HttpHeadersLike {
    const httpHeaders = new CoreHttp.HttpHeaders();
    for (let i = 0; i < rawHeaders.length; i += 2) {
        httpHeaders.set(rawHeaders[i], rawHeaders[i + 1]);
    }
    return httpHeaders;
}

We recently started noticing that this introduces problems during deserialization of headers in core-http's deserializeCompositeType. Specifically in this code block:
else {
        const property = responseBody[propertyName];
        instance[key] = serializer.deserialize(propertyMapper, property, propertyObjectName, options);
}

The propertyName is an all-lowercase version of the header, while the responseBody contains the headers with original-cased names.

This should be handled better, as HTTP headers should be treated case insensitively by code. It should not matter what case the server used for a header. Since the code assumes that responseBody contains headers with lowercased names, then deserialization of headers can fail (such as the last-modified example in my screenshot).
To Reproduce

Do as described above

Expected behavior
Deserialization should work.
Screenshots
See above.
Additional context
Possible solutions:

In the short-term we will consider being more stringent about what headers we respect casing for.
In the long-term we would expect this to be fixed in core-http. Perhaps the best spot to do this would be in deserializeResponseBody when the headers are deserialized. Instead of passing in parsedResponse.headers.rawHeaders() to operationSpec.serializer.deserialize, y'all could use parsedResponse.headers.toJson({ preserveCase: false })? If operationSpec.serializer.deserialize is going to assume header keys have been lowercased, using rawHeaders/headers which are potentially uppercase probably isn't a good idea.

Label prediction was below confidence level 0.6 for Model:ServiceLabels: 'Azure.Core:0.53638357,Storage:0.2408054,Cosmos:0.08460428'

@MRayermannMSFT I'd like to understand the need for a custom HttpClient a bit more, since we did work in 2.2.3 to enable returning the original casing via rawHeaders(): https://github.com/Azure/azure-sdk-for-js/blob/fdb65d1b84259ae1fe946cc573ab01939d00cc23/sdk/core/core-http/src/httpHeaders.ts#L177
See PR https://github.com/Azure/azure-sdk-for-js/pull/18561

@xirzec great question. I think it's best answered by the change log from the PR:

Fix HttpHeaders.rawHeaders() to preserve header name case. As a result HttpClient now sends requests with their original header names. HttpHeaders.toJson() now has an option to preserve header key casing.

That PR only had an effect on the sending side of things. For receiving, the default http client does not respect header casings. Ultimately the thing to blame for that is node fetch. So that's why, at least for header name casing respecting, we are using a custom HTTP client.

@MRayermannMSFT it's all coming back to me now, dug up this old task: https://github.com/Azure/azure-sdk-for-js/issues/8117
I know @EmmaZhu is working on migrating to the new core which should solve this once and for all, but I understand that you would like to resolve this a bit sooner. I opened a PR to try out your proposed solution here, if you'd like to give it a look: https://github.com/Azure/azure-sdk-for-js/pull/22888

@xirzec I tested it locally and it seems to work well/as expected.

@xirzec I tested it locally and it seems to work well/as expected.

Excellent! Since this is going into core, we usually try to avoid hotfixes to reduce risk. Are you good with us shipping this early September on our normal cycle?

@xirzec yes, early September is fine.

Would it be possible to publish a beta package though so we can start testing with the fix, help to/continue to look for any unseen side effects?

Would it be possible to publish a beta package though so we can start testing with the fix, help to/continue to look for any unseen side effects?

Assuming CI is cooperative this should merge today and be out in a nightly alpha tomorrow. Would that work for you?

@MRayermannMSFT looks like this actually made the nightly (which is really a daily) build yesterday. Give @dev or 2.2.7-alpha.20220815.2 a try!


add testing against empty PID in boot scrip

The current code assumes that
kill -0 ""

is answered with an error code, which happens with the core util's kill.
Although the application stopped accordingly, the above assumption
lead to indefinite waiting on a machine using busybox.

Thanks for the PR!


[bug?] Node (Render size mode) onSizeChange only triggered when the content is bigger.

Hello,
I have a visualisation that moves words across the screen so I need to know the width of each word. To achieve that I use the component onSizeChange. Each word is set with render size mode. The first time I set the content It triggers the event for every word. It does work really well, the problem comes when the words get to the left of the screen then I need to change the content of each word. Only when the new content is bigger the onSizeChange component gets triggered therefore some words stay on the left and they get not triggered.
Is that a known issue? could you advise on what could I do to get the width every time please?
Thanks!
You can see a live version of the issue here:
http://www.buzzradar.com/test/juan/onsizechange/
(this = node)
function _addSizeComponent() {

	this.BZNO_FA_COMPONENT_SIZECHANGE.onSizeChange = function() {
		this.width = this.dom.getRenderSize()[0];
	    this.height = this.dom.getRenderSize()[1];
	    _setInitialPosition.call(this);
	}.bind(this);

	this.addComponent(this. BZNO_FA_COMPONENT_SIZECHANGE);

}

and this is how I set the new content of the word:
P04_WordCtrl_NODE.prototype.startWord = function (word_feed) {

	this.dom.setContent(word_feed);

};

Has the merged being succesful? I can see there was an error: https://travis-ci.org/Famous/engine/builds/79443728
Thanks for looking after this issue Alex.

We're running our tests via smokestack and Fx. Seems like WebGL isn't supported on the CI server.


Update Composer dependencies (2024-08-31-00-19)

Visual regression test passed!
View the visual regression test report


Exclusions

Folder and file exclusions.
Explicit or possibly regex matching?

You can now pass additional arguments to tar
tar_args="--exclude='/data/sub1/*' --verbose"


[BUG] Not compatible with the latest features of Winget

Please confirm these before moving forward

[X] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions.
[X] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version
3.1.1
Windows version, edition, and architecture
Windows 11 Home China 22631.3958 x64
Describe your issue
Any software package update reports an error, and then I view the command line output, among which Winget reminds me that I need to execute the command “winget settings --enable InstallerHashOverride” with administrator privileges in order to use the parameters
Steps to reproduce the issue
Using the winget v1.8.1911 to update any software,then report such error.
UniGetUI Log
[2024/8/11 17:25:21]    __  __      _ ______     __  __  ______
                       / / / /___  (_) ____/__  / /_/ / / /  _/
                      / / / / __ \/ / / __/ _ \/ __/ / / // /
                     / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                     \____/_/ /_/_/\____/\___/\__/\____/___/
                         Welcome to UniGetUI Version 3.1.1
[2024/8/11 17:25:21]
[2024/8/11 17:25:21] Version Code:  3.11
[2024/8/11 17:25:21] Encoding Code Page set to 936
[2024/8/11 17:25:21] Using bundled GSudo at D:\Program Files\UniGetUI\Assets\Utilities\gsudo.exe
[2024/8/11 17:25:21] Loaded language locale: zh_CN
[2024/8/11 17:25:22] Randomly-generated background API auth token for the current session: b80ib9w5ofn12eu6yazvi14kvxwjvlvkgz8h60su2lyyotkh7zm3sl68jdu4jmby
[2024/8/11 17:25:22] Api running on http://localhost:7058
[2024/8/11 17:25:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: Chocolatey
                     █ Enabled: True
                     █ Found: False
                     █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                     █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024/8/11 17:25:22] The restored geometry did not have exactly 5 items (found length was 1)
[2024/8/11 17:25:22] Command npm was not found on the system
[2024/8/11 17:25:22] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: Npm
                     █ Enabled: True
                     █ Found: False
                     █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                     █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024/8/11 17:25:23] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: .NET Tool
                     █ Enabled: True
                     █ Found: False
                     █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                     █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024/8/11 17:25:23] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: Pip
                     █ Enabled: True
                     █ Found: True
                     █ Fancy exe name: pip
                     █ Executable path: C:\Users\alove\AppData\Local\Microsoft\WindowsApps\python.exe
                     █ Call arguments:  -m pip
                     █ Version:
                     █
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024/8/11 17:25:23] UniGetUI is up to date
[2024/8/11 17:25:24] Command scoop was not found on the system
[2024/8/11 17:25:24] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: Scoop
                     █ Enabled: True
                     █ Found: False
                     █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                     █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024/8/11 17:25:24] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: Winget
                     █ Enabled: True
                     █ Found: True
                     █ Fancy exe name: winget.exe
                     █ Executable path: C:\Users\alove\AppData\Local\Microsoft\WindowsApps\winget.exe
                     █ Call arguments:
                     █ Version:
                     █   System WinGet CLI Version: v1.8.1911
                     █   Microsoft.WinGet.Client PSModule version: ""
                     █   Using Native WinGet helper (COM Api)
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024/8/11 17:25:26] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: PowerShell7
                     █ Enabled: True
                     █ Found: True
                     █ Fancy exe name: pwsh.exe
                     █ Executable path: C:\Program Files\PowerShell\7\pwsh.exe
                     █ Call arguments:  -NoProfile -Command
                     █ Version:
                     █   PowerShell 7.4.4
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024/8/11 17:25:27] Lang files were updated successfully from GitHub
[2024/8/11 17:25:27] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                     █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                     █ Name: PowerShell
                     █ Enabled: True
                     █ Found: True
                     █ Fancy exe name: powershell.exe
                     █ Executable path: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
                     █ Call arguments:  -NoProfile -Command
                     █ Version:
                     █   Name                           Value
                     █   ----                           -----
                     █   PSVersion                      5.1.22621.3958
                     █   PSEdition                      Desktop
                     █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
                     █   BuildVersion                   10.0.22621.3958
                     █   CLRVersion                     4.0.30319.42000
                     █   WSManStackVersion              3.0
                     █   PSRemotingProtocolVersion      2.3
                     █   SerializationVersion           <IP_ADDRESS>
                     ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[2024/8/11 17:25:28] Microsoft.Powershell.Client detection has been forcefully skipped as the module is not required on the current context
[2024/8/11 17:25:28] Dependency WinGet PowerShell Module for manager Winget is present
[2024/8/11 17:25:28] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[2024/8/11 17:25:28] Found 0 available updates from Pip
[2024/8/11 17:25:28] Found 0 installed packages from Pip
[2024/8/11 17:25:32] Found 0 installed packages from PowerShell7
[2024/8/11 17:25:32] Found 0 available updates from PowerShell7
[2024/8/11 17:25:32] Found 0 installed packages from PowerShell
[2024/8/11 17:25:32] Found 0 available updates from PowerShell
[2024/8/11 17:26:18] Found 7 available updates from Winget
[2024/8/11 17:26:18] Found 216 installed packages from Winget
[2024/8/11 17:27:02] Failed to download icons and screenshots
[2024/8/11 17:27:02] System.Threading.Tasks.TaskCanceledException: The request was canceled due to the configured HttpClient.Timeout of 100 seconds elapsing.
                      ---> System.TimeoutException: The operation was canceled.
                      ---> System.Threading.Tasks.TaskCanceledException: The operation was canceled.
                      ---> System.IO.IOException: Unable to read data from the transport connection: 由于线程退出或应用程序请求，已中止 I/O 操作。.
                      ---> System.Net.Sockets.SocketException (995): 由于线程退出或应用程序请求，已中止 I/O 操作。
                        --- End of inner exception stack trace ---
                        at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ThrowException(SocketError error, CancellationToken cancellationToken)
                        at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.System.Threading.Tasks.Sources.IValueTaskSource<System.Int32>.GetResult(Int16 token)
                        at System.Net.Security.SslStream.EnsureFullTlsFrameAsync[TIOAdapter](CancellationToken cancellationToken, Int32 estimatedSize)
                        at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
                        at System.Net.Security.SslStream.ReadAsyncInternal[TIOAdapter](Memory`1 buffer, CancellationToken cancellationToken)
                        at System.Runtime.CompilerServices.PoolingAsyncValueTaskMethodBuilder`1.StateMachineBox`1.System.Threading.Tasks.Sources.IValueTaskSource<TResult>.GetResult(Int16 token)
                        at System.Net.Http.HttpConnection.FillAsync(Boolean async)
                        at System.Net.Http.HttpConnection.CopyToContentLengthAsync(Stream destination, Boolean async, UInt64 length, Int32 bufferSize, CancellationToken cancellationToken)
                        at System.Net.Http.HttpConnection.ContentLengthReadStream.CompleteCopyToAsync(Task copyTask, CancellationToken cancellationToken)
                        --- End of inner exception stack trace ---
                        at System.Net.Http.HttpConnection.ContentLengthReadStream.CompleteCopyToAsync(Task copyTask, CancellationToken cancellationToken)
                        at System.IO.Compression.DeflateStream.CopyToStream.CopyFromSourceToDestinationAsync()
                        at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
                        --- End of inner exception stack trace ---
                        --- End of inner exception stack trace ---
                        at System.Net.Http.HttpClient.HandleFailure(Exception e, Boolean telemetryStarted, HttpResponseMessage response, CancellationTokenSource cts, CancellationToken cancellationToken, CancellationTokenSource pendingRequestsCts)
                        at System.Net.Http.HttpClient.GetStringAsyncCore(HttpRequestMessage request, CancellationToken cancellationToken)
                        at UniGetUI.Core.IconEngine.IconDatabase.LoadIconAndScreenshotsDatabaseAsync() in C:\SomePrograms\WingetUI-Store\src\UniGetUI.Core.IconStore\IconDatabase.cs:line 70
[2024/8/11 17:27:02] Icon Database file not found
[2024/8/11 17:29:44] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:29:44] Icon for package ByteDance.Doubao was not found, returning default icon
[2024/8/11 17:29:44] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:29:44] Icon for package Alibaba.DingTalk was not found, returning default icon
[2024/8/11 17:29:44] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:29:44] Icon for package Microsoft.EdgeWebView2Runtime was not found, returning default icon
[2024/8/11 17:29:44] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:29:44] Icon for package Python.Python.3.12 was not found, returning default icon
[2024/8/11 17:29:44] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:29:44] Icon for package Tencent.TencentMeeting was not found, returning default icon
[2024/8/11 17:30:01] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:30:01] Icon for package ByteDance.Doubao was not found, returning default icon
[2024/8/11 17:30:01] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:30:01] Icon for package Alibaba.DingTalk was not found, returning default icon
[2024/8/11 17:30:01] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:30:01] Icon for package Microsoft.EdgeWebView2Runtime was not found, returning default icon
[2024/8/11 17:30:01] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:30:01] Icon for package Python.Python.3.12 was not found, returning default icon
[2024/8/11 17:30:01] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:30:01] Icon for package Tencent.TencentMeeting was not found, returning default icon
[2024/8/11 17:30:02] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:30:02] Icon for package ByteDance.Doubao was not found, returning default icon
[2024/8/11 17:30:02] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:30:02] Icon for package Alibaba.DingTalk was not found, returning default icon
[2024/8/11 17:30:02] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:30:02] Icon for package Microsoft.EdgeWebView2Runtime was not found, returning default icon
[2024/8/11 17:30:02] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:30:02] Icon for package Python.Python.3.12 was not found, returning default icon
[2024/8/11 17:30:02] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:30:02] Icon for package Tencent.TencentMeeting was not found, returning default icon
[2024/8/11 17:31:20] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:31:20] Icon for package Alibaba.DingTalk was not found, returning default icon
[2024/8/11 17:31:20] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:31:20] Icon for package Microsoft.EdgeWebView2Runtime was not found, returning default icon
[2024/8/11 17:31:20] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:31:20] Icon for package Python.Python.3.12 was not found, returning default icon
[2024/8/11 17:31:20] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:31:20] Icon for package Tencent.TencentMeeting was not found, returning default icon
[2024/8/11 17:31:43] Found 0 installed packages from Pip
[2024/8/11 17:31:45] Found 0 installed packages from PowerShell7
[2024/8/11 17:31:46] Found 0 installed packages from PowerShell
[2024/8/11 17:31:47] Found 216 installed packages from Winget
[2024/8/11 17:31:50] Resetting administrator rights cache for process id 22684
[2024/8/11 17:32:25] Non-MSStore WinGet Native Icons have been forcefully disabled on code
[2024/8/11 17:32:25] Icon for package Alibaba.DingTalk was not found, returning default icon
[2024/8/11 17:32:25] Caching admin rights for process id 22684
[2024/8/11 17:32:35] Resetting administrator rights cache for process id 22684
[2024/8/11 17:44:10] Found 0 installed packages from Pip
[2024/8/11 17:44:12] Found 0 installed packages from PowerShell7
[2024/8/11 17:44:13] Found 0 installed packages from PowerShell
[2024/8/11 17:44:15] Found 216 installed packages from Winget

Package Managers Logs
Manager WinGet with version:
System WinGet CLI Version: v1.8.1911
Microsoft.WinGet.Client PSModule version: ""
Using Native WinGet helper (COM Api)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 2024/8/11 17:25:24
Process end time:   2024/8/11 17:25:24

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged subprocess-based task on manager Winget. Task type is RefreshIndexes
Subprocess executable: "C:\Users\alove\AppData\Local\Microsoft\WindowsApps\winget.exe"
Command-line arguments: " source update --disable-interactivity"
Process start time: 2024/8/11 17:25:27
Process end time:   2024/8/11 17:25:35

-- Process STDOUT
 ...

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2024/8/11 17:25:28
Process end time:   2024/8/11 17:26:18

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListSources
Process start time: 2024/8/11 17:25:28
Process end time:   2024/8/11 17:25:28

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListUpdates
Process start time: 2024/8/11 17:25:35
Process end time:   2024/8/11 17:26:18

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2024/8/11 17:31:43
Process end time:   2024/8/11 17:31:47

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Logged native task on manager Winget. Task type is ListInstalledPackages
Process start time: 2024/8/11 17:44:10
Process end time:   2024/8/11 17:44:15

-- Task information
 ...

The task reported success

——————————————————————————————————————————

Relevant information
Package Manager Version
Winget v1.8.1911
The log uses the "Detail" level.
This issue is translated from Chinese by AI. If there are any less smooth places, please understand.
Screenshots and videos

Will investigate


#504 Add support for Java modules (since J9+)

Fixes #504
Motivation
Hartshorn aims to support modern language and JDK features, yet has not added support for Java modules which were introduced in Java 9.
You can read more about Java modules here: https://www.oracle.com/corporate/features/understanding-java-9-modules.html
Changes
Adds the required module-info.java files to all main sourcesets.
Additional changes will be documented before PR is ready for review.
Type of change

[x] New core feature

How Has This Been Tested?

[x] Integration testing (J9+ modules)

Checklist:

[x] I have performed a self-review of my own code
[ ] I have added tests that prove it is effective or that my feature works
[x] New and existing unit tests pass locally with my changes

Moved to https://github.com/GuusLieben/Hartshorn/tree/draft/j9-modules


Error accessing map overworld in bluemap

Describe the Bug
Expected Behavior
 map towny access the world "overworld" in bluemap
Plugin Version

Towny Version
<IP_ADDRESS>
Towny Map Version
2.2.0
bluemap Version
3.21
Server Software Version

Spigot 1.19.2
Additional Comments

Hey, thanks for filing a ticket. Could you please provide some more information about the issue you're facing? Are you getting any errors in the server console, and if so, could you please provide a snippet of those errors?

Marking this issue as inactive and slating for removal since no further information was provided.


refactor: separate service to manage the Python server

Summary of Changes
Extract the logic to manage the Python server into its own service.

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

npm package (@latest dist-tag)
npm package (@latest dist-tag)
v0.13.0
GitHub release

Your semantic-release bot :package::rocket:


Import file preview grid columns not resizable

Azure Data Studio Version: master

Steps to Reproduce:

Run Import flat file wizard on a CSV with lots of columns

Expected: The table preview presents the data legibly, properly sizing columns with basic resize and scrolling behavior.
Actual: Preview is squashed into a fixed sized table without the ability to resize columns.  Some data cannot be adequately previewed.

@kburtram I think this issue isn't present in the correct build. Correct me if I'm wrong.

@kburtram Please check my PR #10278. I think I fixes the issue.

Closing as fixed based on #10278.


ConversationBufferMemory returns empty string (and not a list) when empty, breaking agents with memory ("should be a list of base messages, got")

System Info
LangChain==0.0.306
Python 3.10.12
(Ubuntu Linux 20.04.6)
Who can help?
The ConversationBufferMemory returns an empty string instead of an empty list when there's nothing stored, which breaks the expectations of the MessagesPlaceholder used within the Conversational REACT agent.
Related: https://github.com/langchain-ai/langchain/issues/7365 (where it was commented that changing the loading logic in ConversationBufferWindowMemory could break other things).
A possible solution that seems safer (in light of the subsequent type-checking code) could be to default empty strings to empty lists in the format_messages method of the MessagesPlaceholder, i.e.:
class MessagesPlaceholder(BaseMessagePromptTemplate):

    ...

    def format_messages(self, **kwargs: Any) -> List[BaseMessage]:
        value = kwargs[self.variable_name]
        if not value:                       ## <-- ADDED CODE
            value = []                      ## <-- ADDED CODE
        if not isinstance(value, list):
            raise ValueError(...)
        for v in value:
            if not isinstance(v, BaseMessage):
                raise ValueError(...)
        return value

    ...

Information

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

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[X] Memory
[X] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
To reproduce the behaviour, make sure you have an OPENAI_API_KEY env var and run the following:
# pip install langchain openai
import os

from langchain.memory import ChatMessageHistory, ConversationBufferMemory
from langchain.chat_models import ChatOpenAI
from langchain.agents import initialize_agent
from langchain.tools import BaseTool

conversational_memory = ConversationBufferMemory(
    memory_key="chat_history",
    chat_memory=ChatMessageHistory()
)

llm = ChatOpenAI(
    openai_api_key=os.environ['OPENAI_API_KEY'],
    temperature=0,
    model_name="gpt-4"
)

class MyTool(BaseTool):
    name = "yell_loud"
    description = "The tool to yell loud!!!"

    def _run(self, query, run_manager=None):
        """Use the tool."""
        return 'WAAAAH!'

    async def _arun(self, query, run_manager=None):
        """Use the tool asynchronously."""
        raise NotImplementedError("no async")

agent = initialize_agent(
    agent="chat-conversational-react-description",
    tools=[MyTool()],
    llm=llm,
    max_iterations=5,
    verbose=True,
    memory=conversational_memory,
    early_stopping_method='generate'
)

print(agent.run("Please yell very loud, thank you, and then report the result to me."))

# Will raise:
#       ValueError: variable chat_history should be a list of base messages, got
# at location:
#       "langchain/prompts/chat.py", line 98, in format_messages

Expected behavior
I would expect the script to not complain when the memory is empty and result in something like the following agent interaction (as I got from the modified format_messages tentatively suggested above):
$> python agent_script.py

> Entering new AgentExecutor chain...
'''json
{
    "action": "yell_loud",
    "action_input": "Please yell very loud, thank you"
}
'''
Observation: WAAAAH!
Thought:'''json
{
    "action": "Final Answer",
    "action_input": "The response to your last comment was a loud yell, as you requested."
}
'''

> Finished chain.
The response to your last comment was a loud yell, as you requested.

I ran into this problem and discovered that I needed to pass return_messages=True when I created ConversationBufferMemory.  So like this:
memory = ConversationBufferMemory(memory_key="chat_history", input_key="input", chat_memory=history, return_messages=True)

Here is where this has an effect:
https://github.com/langchain-ai/langchain/blob/d95ea3550eaa1a4957663227581f2c914bb1e4e5/libs/langchain/langchain/memory/buffer.py#L20
I think it has to do with the type of agent you're using.  Some agents, like ReAct, expect chat_history to be a string, whereas others, like openai_tools expect chat_history to be an array.
If you're using an agent that expects it to be an array, I guess you need to tell ConversationBufferMemory that.


how to fetch kubernetes volumes metrics

Hello,
I am trying to replace signalfx smart agent by otel collector since its deprecation.
I started with a simple configuration for host, kubernetes and nginx metrics.
exporters:
  sapm:
    access_token: ${SPLUNK_ACCESS_TOKEN}
    endpoint: https://ingest.eu0.signalfx.com/v2/trace
  signalfx:
    access_token: ${SPLUNK_ACCESS_TOKEN}
    api_url: https://api.eu0.signalfx.com
    correlation: null
    ingest_url: https://ingest.eu0.signalfx.com
    sync_host_metadata: true
extensions:
  health_check: null
  k8s_observer:
    auth_type: serviceAccount
    node: ${K8S_NODE_NAME}
  zpages: null
processors:
  batch: null
  k8s_tagger:
    extract:
      metadata:
      - namespace
      - node
      - podName
      - podUID
    filter:
      node_from_env_var: K8S_NODE_NAME
  memory_limiter:
    ballast_size_mib: ${SPLUNK_BALLAST_SIZE_MIB}
    check_interval: 5s
    limit_mib: ${SPLUNK_MEMORY_LIMIT_MIB}
  resource:
    attributes:
    - action: insert
      key: host.name
      value: ${K8S_NODE_NAME}
    - action: insert
      key: k8s.node.name
      value: ${K8S_NODE_NAME}
    - action: insert
      key: k8s.cluster.name
      value: kubeoteltest
  resource/add_agent_k8s:
    attributes:
    - action: insert
      key: k8s.pod.name
      value: ${K8S_POD_NAME}
    - action: insert
      key: k8s.pod.uid
      value: ${K8S_POD_UID}
    - action: insert
      key: k8s.namespace.name
      value: ${K8S_NAMESPACE}
  resourcedetection:
    detectors:
    - system
    - env
    override: false
    timeout: 10s
receivers:
  hostmetrics:
    collection_interval: 10s
    scrapers:
      cpu: null
      disk: null
      filesystem: null
      load: null
      memory: null
      network: null
      paging: null
      processes: null
  jaeger:
    protocols:
      grpc:
        endpoint: <IP_ADDRESS>:14250
      thrift_http:
        endpoint: <IP_ADDRESS>:14268
  kubeletstats:
    auth_type: serviceAccount
    collection_interval: 10s
    endpoint: ${K8S_NODE_IP}:10250
    extra_metadata_labels:
    - container.id
  otlp:
    protocols:
      grpc:
        endpoint: <IP_ADDRESS>:4317
      http:
        endpoint: <IP_ADDRESS>:55681
  prometheus/agent:
    config:
      scrape_configs:
      - job_name: otel-agent
        scrape_interval: 10s
        static_configs:
        - targets:
          - ${K8S_POD_IP}:8888
          - ${K8S_POD_IP}:24231
  receiver_creator:
    receivers:
      prometheus_simple:
        config:
          endpoint: '`endpoint`:`"prometheus.io/port" in annotations ? annotations["prometheus.io/port"] : 9090`'
          metrics_path: '`"prometheus.io/path" in annotations ? annotations["prometheus.io/path"] : "/metrics"`'
        rule: type == "pod" && annotations["prometheus.io/scrape"] == "true"
      smartagent/nginx:
        config:
          type: collectd/nginx
        rule: type == "port" && pod.name matches "nginx" && port == 80
    watch_observers:
    - k8s_observer
  sapm:
    endpoint: <IP_ADDRESS>:7276
  smartagent/kubernetes_volumes:
    kubeletAPI:
      url: https://${K8S_NODE_IP}:10250
    type: kubernetes-volumes
  smartagent/signalfx-forwarder:
    listenAddress: <IP_ADDRESS>:9080
    type: signalfx-forwarder
  zipkin:
    endpoint: <IP_ADDRESS>:9411
service:
  extensions:
  - health_check
  - k8s_observer
  - zpages
  pipelines:
    metrics:
      exporters:
      - signalfx
      processors:
      - memory_limiter
      - batch
      - resource
      - resourcedetection
      receivers:
      - receiver_creator
      - hostmetrics
      - kubeletstats
      - smartagent/kubernetes_volumes
    metrics/agent:
      exporters:
      - signalfx
      processors:
      - memory_limiter
      - batch
      - resource
      - resource/add_agent_k8s
      - resourcedetection
      receivers:
      - prometheus/agent
    traces:
      exporters:
      - sapm
      - signalfx
      processors:
      - memory_limiter
      - k8s_tagger
      - batch
      - resource
      - resourcedetection
      receivers:
      - otlp
      - jaeger
      - smartagent/signalfx-forwarder
      - zipkin

Events:  <none>

It is not clear if native kubeletstatsreceiver and k8sclusterreceiver from otel collector fully replaces all the kube* smart agent monitors (e.g. kubernetes-events or kubernetes-volumes ..).
For volumes, according to the documentation: https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/kubeletstatsreceiver#metric-groups it supports volumes metrics.
I see most of the metrics from kubernetes-cluster and kubelet-metrics coming to Splunk Observability expect for volume metrics: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/kubeletstatsreceiver/kubelet/volume.go#L27.
However, as you can see in the configuration, metric_groups is not defined so it should fetch all metrics including volumes.
Not a big deal given that this receiver is still in beta and the goal of https://github.com/signalfx/splunk-otel-collector/tree/main/internal/receiver/smartagentreceiver is also to be able to keep existing working smart agent monitors waiting for full replacement by opentelemetry collector.
So I tried to configure the original https://docs.signalfx.com/en/latest/integrations/agent/monitors/kubernetes-volumes.html monitor.
Sadly, with the previously shared configuration I got the following error:
2021-04-22T17:33:37.356Z    ERROR    volumes/volumes.go:65    Could not get volume metrics    {"kind": "receiver", "name": "smartagent/kubernetes_volumes", "monitorType": "kubernetes-volumes", "error": "failed to get summary stats from Kubelet URL \"https://<IP_ADDRESS>:10250/stats/summary/\": kubelet request failed - \"401 Unauthorized\", response: \"Unauthorized\""}

So I updated to kubernetes volumes configuration fragment to:
      smartagent/kubernetes_volumes:
        type: kubernetes-volumes
        kubeletAPI:
          authType: serviceAccount
          url: https://${K8S_NODE_IP}:10250

But now I get following errors:
Error: cannot load configuration: error reading receivers configuration for smartagent/kubernetes_volumes: failed creating Smart Agent Monitor custom config: yaml: unmarshal errors:
   line 2: field authtype not found in type kubelet.APIConfig
 2021/04/22 17:51:23 main.go:74: application run finished with error: cannot load configuration: error reading receivers configuration for smartagent/kubernetes_volumes: failed creating
   line 2: field authtype not found in type kubelet.APIConfig

According to https://docs.signalfx.com/en/latest/integrations/agent/monitors/kubernetes-volumes.html#configuration authType is a valid configuration for kubeletAPI nested block so my configuration seems correct.
So maybe it is an "exception" of monitor not compatible with smart agent receiver?
thanks for your help

Hi @xp-1000, as stated in https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/kubeletstatsreceiver#metric-groups , volume metrics are not collected by default by the kubeletstats receiver (only container, pod and node metrics are collected). You'll need to explicitly override the metric_groups option with
    metric_groups:
      - node
      - pod
      - container
      - volume

Can you try making the above change to your kubeletstats receiver config?
If you tried the https://github.com/signalfx/splunk-otel-collector-chart, I believe we currently do not have an option to turn these metrics on in the chart. I've created https://github.com/signalfx/splunk-otel-collector-chart/issues/111 for this.
In terms of parity, the k8scluster receiver collects the metrics collected by the kubernetes-cluster monitor and the kubeletstats receiver collects metrics collected by the kubelet-metrics and kubernetes-volumes monitors.

Hello @asuresh4 thanks for your answer.
adding volume to metric_groups is the first thing I tried, sorry I forgot to speak about that.

oh my bad, just checked again into signalfx metric explorer and some metrics are present on my otel test env.
They just changed their name :

kubernetes.volume_available_bytes -> k8s.volume.available
kubernetes.volume_capacity_bytes -> k8s.volume.capacity

But I still don't see the inode related metrics (with the new or old name) when I use Otel collector even if it seems supported: https://github.com/open-telemetry/opentelemetry-collector-contrib/blob/main/receiver/kubeletstatsreceiver/kubelet/volume.go#L29
In any case I am still worry about the fact we cannot configure authType on kubeletAPI, this make the usage of smart agent monitors impossible and I am pretty sure we will different cases / metrics without equal parity between smartagent and otel collector.
For example, after volumes which is critical I would like to configure kubernetes-event which will have the same problem (and this time there is no equivalent in otel collector).

@xp-1000 - you should be able to use the old or new names interchangeably. If this is not the case please open a support ticket with information such as realm/org and we will be able to help address that.
By default the OTel collector only emits metrics that are classified as default by the respective Smart Agent monitor. For monitors that have already been ported to OpenTelemetry such as hostmetrics, k8scluster, kubeletstats receivers, this is currently controlled by the signalfx exporter. To include metrics that are non-default you can make use of the include_metrics option on the exporter.
    include_metrics:
      - metric_names: [k8s.volume.inodes, k8s.volume.inodes.free, k8s.volume.inodes.used]

I will get back to you on configuring authType using the smartagent receiver after some more investigation.

Hello @asuresh4 thank you very much for your help.
I am sorry I must have missed this information about extraMetrics (but this was one of my question) I will test now and come back to confirm but it makes sens!
if a newbie as me read this and try to replace smart agent by otel collector I think the documentation available on https://docs.splunk.com/Observability/get-started/migrate/migrate-to-otel.html#nav-Replace-the-SignalFx-Smart-Agent-with-the-Splunk-Distribution-of-OpenTelemetry-Collector is maybe not enough (at least for me) so I recommend to check the following good docs on github:

https://github.com/signalfx/splunk-otel-collector/tree/main/internal/receiver/smartagentreceiver
https://github.com/signalfx/splunk-otel-collector/tree/main/internal/extension/smartagentextension
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/receiver/signalfxreceiver
https://github.com/open-telemetry/opentelemetry-collector-contrib/tree/main/exporter/signalfxexporter

The last one contains everything I missed until now (thanks @asuresh4).

OK so I confirm it works fine with the following configuration:
  config:
    receivers:
      receiver_creator:
        receivers:
          smartagent/nginx:
            rule: type == "port" && pod.name matches "nginx" && port == 80
            config:
              type: collectd/nginx
      kubeletstats:
        metric_groups:
          - node
          - pod
          - volume
    exporters:
      signalfx:
        include_metrics:
          - metric_names:
            - k8s.job.desired_successful_pods # kubernetes.job.completions
            - k8s.job.active_pods # kubernetes.job.active
            - k8s.job.successful_pods # kubernetes.job.succeeded
            - k8s.statefulset.ready_pods # kubernetes.stateful_set.ready
            - k8s.statefulset.desired_pods # kubernetes.stateful_set.desired
            - k8s.hpa.max_replicas # kubernetes.hpa.spec.max_replicas
            - k8s.hpa.desired_replicas # kubernetes.hpa.status.desired_replicas
            - k8s.volume.inodes.free # kubernetes.volume_inodes_free
            - k8s.volume.inodes # kubernetes.volume_inodes
    service:
      pipelines:
        metrics:
          receivers:
            - kubeletstats
            - receiver_creator
    extensions:
      zpages:
        endpoint: <IP_ADDRESS>:55679```

I see inode related metrics in the metric finder using the new opentelemetry naming. The finder cannot find the metric with the old signalfx naming (this is why I did not find them in first place) BUT you are right @asuresh4 the old signalfx metric name still work if you set it manually in signalflow (it is just not listed the metric finder).

Now thanks to your help, I think I have only one remaining problem about dimensions parity:

![image](https://user-images.githubusercontent.com/2693213/116532742-e3079e00-a8e0-11eb-844e-22c4c4d0c544.png)

![image](https://user-images.githubusercontent.com/2693213/116533012-311ca180-a8e1-11eb-998a-03db9759e315.png)

as you can see, some kubernetes metrics have the "old" signalfx dimension `kubernetes_cluster` in addition to the new one `k8s.cluster.name` but this is not case of the volume metrics for example.

It is a problem for us because we maintain a list of terraform modules for signalfx "tempalate" detectors and we rely on metrics names but also on their dimensions.
While the metrics names are translated we can hope to keep these base of detectors working with both smart agent and otel collector to avoid a disruptive migration but we also need the dimension parity.

should I try to use `dimensionClients` to keep old dimensions ? I confess it is not fully clear for me this part.

thanks !

Ok I added :
          - action: rename_dimension_keys
            mapping:
              k8s.cluster.name: kubernetes_cluster

in the signalfx export configuration and now I get my metrics with the "old" dimension kubernetes_cluster.
With this setup all of our detectors will work for both smart agent AND otel collector without any change to them (e.g. for kubernetes: https://github.com/claranet/terraform-signalfx-detectors/tree/master/modules/smart-agent_kubernetes-common).
I think the other modules will be easier while we use the original smart agent monitors (and not a new otel exporter like for hostmetrics or kubernetes).
Now I will try to make the kubernetes-events works but I am afraid it will have the same problem than kubernetes_volume on the kubeapi configuration (that said this less critical given that this is not a dependency for detectors/alerts).

@xp-1000 - I did a quick test and it appears, both the new and old dimensions are available. However, it does not surface in the suggestions like the issue you saw with metrics in metric finder (renamed metrics not showing up). You shouldn't need the additional dimension remapping. On checking with the relevant team, I've learnt that this is a known limitation. I would recommend you also open a support ticket highlighting you've run into this.
I've opened #345, which I believe will fix the issue you're seeing with the kubeletAPI  config.
@xp-1000 thank you for the feedback on the gaps in docs for migration. I realize that we don't have information around monitors that have already been ported over to OTel (such as hostmetrics, k8scluster, kubeletstats) for advanced configurations that give parity with the respective agent monitors. I'll work on adding some of this information. Please also let us know of other difficulties you've run into while trying to replace the Smart Agent. cc @rmfitzpatrick

I did a quick test and it appears, both the new and old dimensions are available. However, it does not surface in the suggestions like the issue you saw with metrics in metric finder

Oh indeed, again I am bad ^^ it seems applying my "transformation rule" fix the suggestion filter but in true the dimension is here you are right.

I've opened #345, which I believe will fix the issue you're seeing with the kubeletAPI config.

awesome thanks I will test (it will probable unstuck me for the kubernetes-events monitor

Please also let us know of other difficulties you've run into while trying to replace the Smart Agent.
it will be a pleasure, I am afraid I will not be able to make pull request contributions like I did on smart agent until I take the hand on this otel collector which remains pretty new for me but I can at least report issues ;)

Your precious help is highly appreciated thanks ! I think you can close this issue.


Proposal for the HTTP API for Application Services

See https://github.com/matrix-org/matrix-doc/pull/5 for the general API discussion.
See https://github.com/matrix-org/matrix-doc/blob/as-http-api/drafts/as-http-api.rst for the main document.

This needs to be updated to support the concept of exclusive namespaces.

This needs to be updated to support the idea of m.room.member metadata (e.g. during virtual account creation): see https://github.com/matrix-org/matrix-doc/pull/5#issuecomment-74503662


Activity monitor

The Activity Monitor is an alternate view of activity within your ACS infrastructure. It displays live device/node activity, the number of messages sent by each device/node and indicates BIRTH, DEATH and NCMD messages via colour changes.
It can be accessed at http(s)://activity.*, where * is the base URL of your ACS installation.

@amrc-benmorrow would it make more sense to update the service client to remove the blank space after await instead of patching it?


Handle indefinite length case of map/array when decoding string

Description

This is to fix this bug reported by customer. https://github.com/aws/amazon-freertos/issues/1915
When decoding definite-length text/binary string, our current code has an optimization by returning the pointer in the decoded buffer directly, thus avoiding copying data around.
But it didn't handle the case of indefinite length case of map/array. In that case, a special break character 0xFF is appended in the end of map/array. Therefore our calculation of the pointer offsets by 1.
Checklist:

[ ] I have tested my changes. No regression in existing tests.
[x] My code is Linted.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/bot run checks

Fix should be applied to C-SDK first and then sync to Amazon FreeRTOS. Temporarily close this PR.


Dependabot and GH API access

Been running into some issues with this action and Dependabot PR's, when uploading the test result to the GH API. I've got a organization level token specified ,(ORG_GITHUB_TOKEN) as the REPO_TOKEN parameter, since Dependabot does not have access to GITHUB-TOKEN but get the following errror
Syntax
    - name: Parse Trx files
      uses<EMAIL_ADDRESS>      id: trx-parser
      if: always()
      with:
        TRX_PATH: ${{ github.workspace }}/TestResults
        REPO_TOKEN: ${{ secrets.ORG_GITHUB_TOKEN }}

Error
....
Creating PR check for ORBIT UNITTESTS
Creating status check for GitSha: c040653ee8bead3071fee97ac7d27f52[18](https://github.com/...api/runs/5380650173?check_suite_focus=true#step:7:18)6c681d on a pull request event
Check time is: Tue, 01 Mar 2022 [19](https://github.com/...api/runs/5380650173?check_suite_focus=true#step:7:19):09:12 GMT
Error: Resource not accessible by integration
....

Should Dependabot not be able to write to GH API with this?

Hi @jnus
Thanks for opening an issue.
The issue you are seeing was introduced by Github to not allow access to workflow secrets to dependabot due to some security concerns on forked repositories.
However, this had affected normal repos even for orgs that don't allow forks.
Github now allows you to specify which permissions dependabot can get.
Docs: https://github.blog/changelog/2021-04-20-github-actions-control-permissions-for-github_token/
For reference, please checkout the  ./github/workflows/test.yaml. Look for permissions:
Hope this helps.


cannot use "class" in HTML - it will not evaluate things like vue expressions.

<div id="comment-{{id}}" class="level{{level}}">

id will evaluate, but level will not, because when you require an html template that has a class attribute, it breaks the expression inside of the equal. However, you can't do "className" like you can in React, because then it just spits out "classname" as the attribute.

@bclinkinbeard has this issue been ever resolved.
@jlem could you share if you have a work around to get around this issue?


fix: requeuer time

Please see #1789  on why.

Thank you for your pull request. The reason for pulling messages 30 seconds ahead of time is to ensure that messages are efficiently batched together. Obviously this isn't ideal for the reason you point out, so I've combined your suggestion with an additional delay in requeueing, which would solve your issue while still allowing messages to be efficiently batched.
New pull request at https://github.com/postalserver/postal/pull/2371


Including sass-rails image-url-helper for the usage of the asset pipeline.

Fixes #272
Signed-off-by: Jürgen Löhel<EMAIL_ADDRESS>

LGTM


$panel not initiated before use

Hi. Thanks for this
But it will throw exception
if ($ajax === true && $panel->supportAjax === false) {
                 continue;
 }

Because $panel is not exists
I`ll change supportAjax to static variable
Maybe it can work...

change to check interface IAjaxPanel


[Feature Request]: Creating a testimonials section

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
Testimonial with photo and stars as review
Use Case
Testimonial with photo and stars as review
Benefits
No response
Add ScreenShots
No response
Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@PSS2134 please check this


feature/camera-update-fix

Latest camera fixup for multiple Android devices. (cc @adammeghji @nsendhavdq)
@adammeghji I would like to know if you want to review this repository or if we should maintain it ourselves.

thanks @renfelo!  yeah, let's review PRs in this repo as well, I have just updated branch settings to encourage this flow :)


Support more than 1 source argument

Hi,
I tried to implement a way to include more than 1 source arg.
My approach was to set the completed value of the hydration input nodes to be the value of their parents in the hydration traversal so any extra source arguments can be accessed during the creation of arguments. It's a pretty hacky and still a WIP.
Current Implementation of source argument works as below:
someField: Field => hydrated from Service.field(id: $source.fooId)
The hydration transformation is then applied on someField and it is converted into a hydration input node with the field being fooId now. Then once this value is resolved, the transformation is unapplied and it is resolved by the hydration input resolvers.

So I've updated the way in which extra source arguments are supported.
Now, I create additional hydration input nodes with the transformation ID used in the original apply transformation function for the additional source arguments required. Then i map this transformation ID to a single transformation (the hydration transformation) which is used to identify which input node is to be hydrated.

So I've updated the way in which extra source arguments are supported.
Now, I create additional hydration input nodes with the transformation ID used in the original apply transformation function for the additional source arguments required. Then i map this transformation ID to a single transformation (the hydration transformation) which is used to identify which input node is to be hydrated.

Currently the only way to have multiple source arguments is to have either only single sources, or only list sources. I'm sure it's possible to have a combination of these in the future but there's some ambiguity (i.e. single source + list source) with how that would be implemented which would have to be addressed later.

Currently the only way to have multiple source arguments is to have either only single sources, or only list sources. I'm sure it's possible to have a combination of these in the future but there's some ambiguity (i.e. single source + list source) with how that would be implemented which would have to be addressed later.


Pull to reload on Product View

Summary:
Implement pull to reload on Product View
Expected behavior:
When you drag/pull on one of the tabs of product view, it should reload the full product page, while staying on the same tab.

I am working on this

I'm taking issues with product page.

Okay @shivanshsoni you can proceed if you want to.

@Shubham2320 Ok go for it

@Shubham2320 This is related to product page. Are you sure that you don't want to go for it.

@shivanshsoni okay then I'll work on it, thanks.

@Shubham2320 How is this going? Can I proceed with it ?

@alexaldev actually I'm busy in my exams so I'm not able to complete it, you can proceed with this issue if you want.

but before proceeding with it please wait for some PR's related to this page which is yet to be merged.

Sure, thanks !

I'm working on it


Link from the homepage to the Education taxon in the B variant

In the new navigation, which is the B variant of the education navigation A/B test, link directly to the Education taxon rather than the Education browse page, and use the title and description of the taxon.
The layout of the homepage has been changed slightly to accommodate the longer taxon description: 'Housing and local services' has been moved from the second column into the third. This matches the prototype that has been tested in user research.
The variants are cached separately using the Vary header, but unlike on other A/B-tested pages, the meta tag is not added. This is because we do not want to include all journeys through the homepage in the A/B test analytics; we are only concerned with user journeys which include education content.
This requires a release of govuk_ab_testing before the tests will pass.
@carvil - I can't remove the feature flag yet because it relies on the shared EducationNavigationAbTestHelper.
Trello: https://trello.com/c/FOUYzmzX/477-change-homepage-topic-and-description-for-education

@suzannehamilton ok, that makes sense.
Could you please add a screenshot of how it looks now?

A

B


request body fix

Q
A

Bug fix?
YES

New sample?
NO

Related issues?
No

What's in this Pull Request?
I fixed the request-body-json-schema.json file, since the creation Date were not being passed to the flow. The file had a property with the wrong name, the property was named "creationTimeUTC" while the Readme file states that it should be named "createdTimeUTC
The change was tested on my dev tentant and confimed that works fine... the flow received the property after the fix

thx Raul, appreciated.