In the payment form the Heading is not align properly , we can change the heading as well as make text more engaging and attractive . Also can change the background color.

Is your Documentation related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Prototype Screenshot/Demo Video(Mandatory )
Are you contributing under any open-source program ?

@apu52 can you pls assign me this issue.

Hi ,
This might be a good issue but you need to follow issue template and describe your issue with proper screenshots. And at one time I can only assign one issue to you so work on one issue first then focus on another one.
Regards
Project Mentor (GSSoC' 24)

GOOD EVENING SIR ,
As you said i align the heading of the form(from h2 to h1) and also add the
background to the form section. If it's perfectly match with the demand ,
then please assign me the issue.
your sincerely
ANIRUDH SHARMA
On Fri, May 24, 2024 at 9:20 AM Ghanshyam Prajapati <
@.***> wrote:

Hi ,
This might be a good issue but you need to follow issue template and
describe your issue with proper screenshots. And at one time I can only
assign one issue to you so work on one issue first then focus on another
one.
Regards
Project Mentor (GSSoC' 24)
—
Reply to this email directly, view it on GitHub
https://github.com/apu52/Travel_Website/issues/511#issuecomment-2128473254,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A64L2LE5XGLLHOBNYSWHB3DZD22HHAVCNFSM6AAAAABH6EEKI2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRYGQ3TGMRVGQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

@Ghanshyam89  @apu52 please assign me this issue.

the check out page is already well designed . So , I don't need any changes . Sorry to close this issue


chore: added lint as precommit

hey @maddhruv we temporarily ditched the service worker; would you mind fixing the conflict so we can get this merged? thanks 😁


not have any activity when git push with reverse proxy auth

Description
not have any activity when git push with reverse proxy auth
Gitea Version
1.18.3
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
No response
How are you running Gitea?
docker
Database
MySQL

Could you provide more details?

背景

不好意思，信息不全。补充下信息

动态一直是空的

一直有commit

其他

使用 docker 部署，一直有跟版本，具体是哪个版本出现的，已经不好确定了
看日志文件，没有异常日志
其他副作用是使用drone ci也不能正常触发(单独在设置里面测试webhook正常)

Please speak English
Please resync your hooks in your instance's admin panel.

Closed as no response so I think maybe you have resolved the problem. I will close this one and please feel free to reopen it if you have further problems.


Fix deprecation warnings

Pull request
Couple of quick fixes to stop deprecation warnings spewing out when using scmdata.
Please confirm that this pull request has done the following:

[ ] ~Tests added~
[ ] ~Documentation added (where applicable)~
[ ] ~Example added (either to an existing notebook or as a new notebook, where applicable)~
[x] Changelog in '/changelog' added

Nice. Do we need to bump the minimum version of seaborn to what ever major release added the errorbar parameter?

Do we need to bump the minimum version of seaborn to what ever major release added the errorbar parameter?

True, thanks


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v4.10 to before v5.10.75",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a50c1e35650b929500bd89be61c89d95a267ce56",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=e59d839743b50cb1d3f42a786bea48cc5621d254"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "a50c1e35650b929500bd89be61c89d95a267ce56",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "e59d839743b50cb1d3f42a786bea48cc5621d254",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "mlxsw: thermal: Fix out-of-bounds memory accesses\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.75 by commit e59d839743b50cb1d3f42a786bea48cc5621d254, it was introduced in version v4.10 by commit a50c1e35650b929500bd89be61c89d95a267ce56. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1002036


Add special treatment for Sphinx style in class attr

No longer relevant, since https://github.com/jsh9/pydoclint/pull/136 will be merged.
Closing.


Error: Failed to launch the browser process!

So I've been trying to clear the cache, trying to download the buildpack but nothing is happening. My logs:
(node:4) UnhandledPromiseRejectionWarning: Error: Failed to launch the browser process! spawn /app/node_modules/puppeteer/.local-chromium/linux-809590/chrome-linux/chrome ENOENT Thanks in advance!

Nvm fixed it by deleting the puppeteer in my system so the puppeteer that's in the buildpack works.


scPoli Model for Unsupervised Use

Version history
scarches: 0.5.10
Issue
When attempting to initialize the scPoli model for unsupervised learning, the constructor seems to require a label_indices=[] argument to be passed as an empty list, which should be optional in unsupervised scenarios.

Hi,
To use scPoli in unsupervised settings, please note that you should:

Set all values in the passed cell_type_keys to a dummy value (e.g. 'Unknown') and pass the unknown_ct_names=['Unknown'] parameter to scPoli.
Additionally, Set labeled_indices=[]

The second requirement may be relaxed in an upcoming merge request.
Please note that scPoli without cell-type information is equivalent to trVAE with batches handled using embedding vectors rather than one-hot encodings.


Copy(ctrl+c) the contents of the address field!

Hello Anton, Congratulations and thanks for another version of Traccar, this wonderful software!
Anton, you can enable (CTRL + C) in the address field because today  can not copy the information from the address field.
Thank you!

I think enableTextSelection method can be used to make text selectable.


PeerAddress not globally reachable.

node index.js --config=server.sample.conf
I have edited that config and can`t use that comand.  Every times i get  "PeerAddress not globally reachable. "
How to handle with that?

@wwwolegwww This error looks like invalid configuration, so I'm going to close this. This issue tracker is meant for bug reports and feature suggestions, not for support. The Nimiq support Telegram group might be able to help you further: https://t.me/NimiqSupport


Feature Request: Read Note

Right now you have to select next and then run the command. I'd like to have a command that will just directly read the entirety of the current document, without having to first "select-all." Thanks.

@kerim which version are you running? Can you clarify what you mean by "Right now you have to select next and then run the command?" I've slightly tweaked this behavior in the last few versions. It should read the whole document if nothing is selected, or the cursor is at the start of the document. Or do you have something else in mind?

There's 4 possible ways to trigger the audio to play a new selection:

the ribbon icon

Editor command "Play selection"

Right click to play

Or, if the toolbar is open, hitting the big play button

I'm noticing that "#2" could be  improved, it currently requires your cursor to be entered into the file before the command is available. Is perhaps what you're having trouble with? Or is it something else.

Thanks. It is working now.
Some suggestions:
When using #2, the pause/play buttons show up, but not when using #1. That would be good, as I and to use the command palette to stop it when testing just now.
When using #3, if nothing is selected, it will select the current word and just play that. So here it would be good to have a "play note" option as well.

I'm noticing that #2 could be improved, it currently requires your cursor to be entered into the file before the command is available. Is perhaps what you're having trouble with? Or is it something else.

Just released some improvements here in 0.4.0 which will let that "Play selection" command play the full file

When using https://github.com/adrianlyjak/obsidian-aloud-tts/issues/2, the pause/play buttons show up, but not when using https://github.com/adrianlyjak/obsidian-aloud-tts/issues/1. That would be good, as I and to use the command palette to stop it when testing just now.

You can configure the player to stay open in the settings. By default that's mobile only

When using https://github.com/adrianlyjak/obsidian-aloud-tts/issues/3, if nothing is selected, it will select the current word and just play that. So here it would be good to have a "play note" option as well.

Thanks, I'll look into that further and see if it can be improved. I might be inclined to just make it run the full file if the selection is extremely short, assuming the selection was a mistake

Seems to be working as expected now. Thanks


Pecl extensions?

I'd like to enable some PHP extensions. Some are distributed with core php (such as intl) but others are only available to install using pecl (for instance grpc).
I was unable to find any configuration related to extensions. Is this supported? If not is it planned?

@thitch97 do you have context on this?

@enumag this might be helpful: https://github.com/paketo-buildpacks/php/issues/355#issuecomment-814936498

Ah thanks. I think I'll close this issue since it's a duplicate.


Generate Supplementary Figure Describing GTEx and TCGA Sex Features

Related to #163 and specifically https://github.com/greenelab/BioBombe/pull/163#issuecomment-463310573
Also need to explore gene coefficients in both models

Also, what is the overlap in genes between TCGA and GTEx

Deciding to not pursue this analysis for now


feat/integrate transaction tracking

integrate tx tracking to remote token deployments
prevent closing Interchain Transfer modal while tx is either awaiting_approval or awaiting_spend

looks good!


rewriting syslog hostname

Is your feature request related to a problem? Please describe.
For logging to syslog, we need to be able to record the host of the source dnstap message,  not the
Describe the solution you'd like
Ability to configure hostname:  with the static text OR contents of a variable

https://github.com/dmachard/go-dnscollector/discussions/583

The hostname can be configured with the following setting:
  # set syslog hostname
  hostname: ""

Sorry,   some requirements got missed,    For our requirement, I was meaning "hostname" to be dynamic based on the DNS server the dnstap message came from.   As it stands , I have to feed the output through another process to populate and accurate value in our splunk logs

Add the server identity in the text-format setting is not enough ?
Anyway, I will take a look to allowing any fields from the DNStap message to be added to the hostname


Store encoding parameters in metadata

Is your feature request related to a problem? Please describe.
Would be great if the reference encoder could store the encoder parameters / command line arguments to the metadata of the output file, like some video encoders do.
It could be useful both for knowing what kind of image you're dealing with, and to learn a thing or two about how others use the encoder.
Describe the solution you'd like
The reference encoder could write encoding parameters to metadata. If not by default, then at least optionally.
Describe alternatives you've considered
Tools using cjxl or other jpeg xl emcoders could write this to the metadata afterwards.
Additional context
Original idea found here:

https://www.reddit.com/r/jpegxl/comments/13s5ooq/how_to_view_encode_properties_of_a_jxl_image/jlob700

Doing this in cjxl could be just a matter of adding a custom box with the version number and command line, including the input file name or not — it could be useful to store that info, but it's of course also potentially 'too much information'.
Doing this in libjxl would have the advantage that it could also be done by downstream applications, but then we probably should add some API to

select whether to include the encode settings in the output bitstream or not
have some way to read encode settings, possibly by parsing it back into a JxlFrameSettings struct (so you could encode something else with identical settings, which could e.g. be useful for editors since presumably 'same settings as input' is often a reasonable thing to do) and adding a way to do GetOption and not just SetOption.

We would then need to come up with some way to serialize encode settings in a way that will be forward and backward compatible.
I don't know whether it would be a good idea to enable this by default. If it's optional, then likely in practice the information will usually be missing and it will only be there when you specifically thought about storing the encode settings, which will likely defeat the purpose of doing this (if you can specifically enable it, you can also just remember the settings you used).
So doing it by default would be better in that respect. But then again, it almost feels like a 'privacy issue' to reveal encode settings (not everyone might like it that anyone can see how much effort and what quality setting you used), and there is of course the overhead of forcing the container and storing probably something that could be 20-200 bytes of information (depending on how much effort we spend on making a compact serialization of it).
There's also the question of how much detail you need. I imagine often you'll just want to know whether the image is lossless or lossy, and if lossy, what kind of quality/distance setting was used. You may not need to know the effort setting or specific options for lossless. Should it be configurable how much detail to store, or should that be a fixed selection of things (e.g. store distance but not effort).
Finally, a number of encode settings like e.g. the group shift setting or the progressive settings can in principle derived from the bitstream itself, though there is currently no decode-side api to get that info. Should that kind of info be included (redudantly, for convenience) in the encoding parameters, or not?
To help answer some of these questions, it would be useful to know what are the use cases envisioned for this functionality.
The main use case I see where this could in principle be useful is for services like image CDNs or social media where images are getting transcoded (and you obviously don't want to transcode to a higher quality than needed), but that's kind of a use case where this approach doesn't really work: you cannot trust user-generated content to 1) have this metadata in the first place, and 2) have correct values in it. E.g. if you are facebook and you want to implement some logic where d < 3 images get transcoded to d3, and d >= 3 images are just preserved as-is, then of course there will be clever users annotating their d1 (or d0) images with "this image is d5, leave it alone!" metadata. So for this particular use case, I don't think there's any way to actually make it work in practice (but I would be happy to be proven wrong).
Are there any other use cases for this proposed new feature?

I just successfully lobbied against version information in opus audio files - in that case for the ability to be able to remove them at all. https://github.com/fmang/opustags/issues/51
All software version or setting tags can be used as an additional resource for tracking, even if explicit date tags and other specific information are not included by default or are removed.
This is indeed a privacy concern, and formats aspiring to become worldwide standards have a higher responsibility. Last not least, trying to do no evil might be useful if dealing with Google and avif...


vm:remove float type and related testcase

remove all float type and related testcase

Codecov Report

Merging #6 into master will decrease coverage by 18.62%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #6       +/-   ##
==========================================
- Coverage   68.73%   50.1%   -18.63%
==========================================
  Files          33      33
  Lines        3349    3223      -126
==========================================
- Hits         2302    1615      -687
- Misses        788    1357      +569
+ Partials      259     251        -8

Impacted Files
Coverage Δ

exec/vm.go
46.58% <ø> (-40.2%)
:arrow_down:

wasm/operators/conv.go
73.33% <ø> (-5.62%)
:arrow_down:

exec/func_table.go
100% <ø> (ø)
:arrow_up:

wasm/init_expr.go
41.86% <ø> (+6.56%)
:arrow_up:

wasm/types.go
47.46% <ø> (ø)
:arrow_up:

wast/write.go
71.92% <100%> (+1.77%)
:arrow_up:

disasm/disasm.go
80.22% <100%> (-1.57%)
:arrow_down:

disasm/asm.go
100% <100%> (ø)
:arrow_up:

exec/conv.go
0% <0%> (-100%)
:arrow_down:

exec/parametric.go
0% <0%> (-100%)
:arrow_down:

... and 9 more

Continue to review full report at Codecov.

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


Replacement of standard icons with Material Icon Theme

I think that the standard icons of vscode are rather gloomy, there are no and many icons for different types of files are missing, and I think that it would be better to replace them with Material Icons, because these icons are much more attractive, clearer and the most popular (24M+ downloads), you can see for yourself:

Default icons
Material icons

If they are pre-installed in vscode, then the editor will be much better

If you accept this update, make it so that the new default icons appear only for new users, and for those who currently have default icons, they will remain the same, this will be the most tolerant solution

As you know, the The Material Icon Theme is not owned and maintained not by us, but by Philipp Kief with the help of many contributors. Philipp does a fantastic job, and I can tell you that maintaining a icon theme is a lot of work.
Making the Material theme a built-in theme would mean for us to take ownership of it. Its (a.) not what we want; we have too much on our plate already and  (ab) (I think) also Philipp isn't keen of giving away his work and loosing the freedom to improve the theme the way he likes.
It's very easy for users to install a theme from the marketplace and the sharing of work is the best model for the success of VS Code and to the benefit of all user, even, if it means a few extra clicks to install a theme.
Closing as out-of-scope

As you know, the The Material Icon Theme is not owned and maintained not by us, but by Philipp Kief with the help of many contributors. Philipp does a fantastic job, and I can tell you that maintaining a icon theme is a lot of work.
Making the Material theme a built-in theme would mean for us to take ownership of it. Its (a.) not what we want; we have too much on our plate already and (ab) (I think) also Philipp isn't keen of giving away his work and loosing the freedom to improve the theme the way he likes.
It's very easy for users to install a theme from the marketplace and the sharing of work is the best model for the success of VS Code and to the benefit of all user, even, if it means a few extra clicks to install a theme.
Closing as out-of-scope

The thing is, I didn't say to give you the Material Icons repository, but to make them pre-installed, I don't know exactly how it works for you, but I'm thinking of just putting the .vsix extension in the vscode build
And to have the Material icons theme as the default and the old default vscode icons to be pre-installed as well and can be selected at any time

@aeschli, would it be possible to do it as written in my plan?

All extensions that are built-in VS Code are open source and maintained/owned by us. There are various benefits to that, in particular we can ensure that all changes are reviewed and tested.

All extensions that are built-in VS Code are open source and maintained/owned by us. There are various benefits to that, in particular we can ensure that all changes are reviewed and tested.

First, please reopen this issue
Second, I will try to create a fork with these icons if possible

All extensions that are built-in VS Code are open source and maintained/owned by us. There are various benefits to that

What are the other benefits? 🧐
And why should they be yours or should you maintain them?


Add linting on js files

There are some basic mistakes that can happen all the time in .js files. Adding eslint (or typescript?) would help mitigate that.

We could also use BuckleScript (kidding / not kidding ) 😄

lol, I kinda like the idea of using BuckleScript. that would take care of both linting and type.

Yeah 😄 I have been thinking more, and if extra tooling is going to be added, we could just as well use jsoo Js module, and ppx (obj##.property, obj##method), which has quite good support to deal with JS data types (actually BuckleScript was inspired from it in many ways).
As an example, this:
https://github.com/jchavarri/rroo/blob/4aac16dac3c6fed395805b33c4e0ae6035a27ce6/lib/InteropUtils.js#L11-L13
would become this:
Js.Opt.to_option

😂
Maybe a small experiment with useState for example would throw more light, but it seems like the simplest path forward. If that was the case the external go away and are replaced with regular let where the converted logic for each function would go.

I wish I had more experience with jsoo to give constructive input. Although it's very fascinating to learn where bs drew some inspiration. 😅
So if I understand correctly, if we decided to just use the jsoo, lib/React.js would be replaced with one jsoo ffi implementation? Any no need for externals ?

@benschinn Exactly! No need for .js files anymore.


Server sometimes fails conformance test suite

Description
The daily conformance test run occasionally fails as can be seen in the log
This does not happen in every run, and if it happens it is not always on the same branch, both main and versions/3.0.0 have had this issue. The last 3 failures have all been on the same test, but in the past it has also happened on a similar but different test, see older log and test.
Both tests are the same in that they expect a 403 but get a 401 instead. My guess is that this is probably an issue with the server and not the test suite, as otherwise I would expect other servers to run into the same issue. A 401 would indicate that something goes wrong with the dpop header. Either the test suite receives an incorrect access token from our IDP, or the server fails while validating the token.
Unfortunately I have been unable to reproduce this issue. I created a test run that starts a server, registers a pod, sets the acl, logs in, and then does the HTTP request. Doing 100 iterations of this (with different variations of which parts get repeated and which don't) didn't yield any errors.
Next steps to look into this could be to run the test suite itself multiple times with extra logging and see if that triggers it, or create a new branch where we continuously run the test suite through CI in case this is somehow a CI issue.

For the conformance tests, can we simply always run CSS with full debug logging? This logging can be written to a file, which the CI then saves. So whenever it happens, we have all details ready.

For the conformance tests, can we simply always run CSS with full debug logging? This logging can be written to a file, which the CI then saves. So whenever it happens, we have all details ready.

That would be the plan with the separate branch, or we could just do it on the ones we already have indeed. But another part of it would be running the tests more often as having to wait a day just to see if it triggers is annoying.
Problem would be that these would be the logs of all tests which would make finding the correct entry a challenge. I think it might be possible to configure the CTH to only run a specific test, which could be useful, unless then the error never occurs of course.
Once we can trigger it somehow, my guess is also that we probably are going to need more logging to find out exactly why this happens.

That would be the plan with the separate branch, or we could just do it on the ones we already have indeed.

No need for separate branch; let's just do it. Then we also debug one-off future failures.

Problem would be that these would be the logs of all tests which would make finding the correct entry a challenge.

That's good feedback for the test team actually. Maybe they could send a bogus request with the name of the test before every test starts? @edwardsph
PS The feature is called a workflow artifact. We use it already to share built docs between actions (see bottom of https://github.com/solid/community-server/actions/runs/1777635717 for instance).

Problem would be that these would be the logs of all tests which would make finding the correct entry a challenge.

That's good feedback for the test team actually. Maybe they could send a bogus request with the name of the test before every test starts? @edwardsph

We would also need to set # of threads to 1 to make any sense of the output (and then we never see the problem again because perhaps it was a threading issue 😉 ).
I have run the docker test in the exact same way as we do on the CI on my system a bunch of times and was and never saw the error. Since it seems to occur about half the times now on the CI this does seem to indicate it might be something related specifically to the CI system.
Going to start by just enabling debug output on the CTH which I think should also show all the HTTP requests and responses. Will see if that provides any insight should the error occur again.

To run a single test, or group of tests you can add a filter param (of multiples) using a string to match something in the manifest IRIs. For the example you mentioned: --filter=not-read-resource-access-AWC or for the whole group `--filter=protected'.
You probably already have this, but to run single threaded, add MAXTHREADS=1 to the yaml file.
Let me know if you want me to go through log results with you - glad to help.

@edwardsph It's rather that, if we have random/Heisenbug test failures, how do we correlate our own server logs with the test logs?
We can indeed do the filter, but given that these are Heisenbugs, that is hard to do.

I will have a look at the workflow artefact idea but as an interim measure, if you have the output report saved, can use the URL from the test log e.g. > PUT https://server/alice/q7Zj7k/4bJDxp/ to track the request in the server logs? I shortened the generated path names to make this easier - UUIDs made it too hard!

if you have the output report saved, can use the URL from the test log e.g. > PUT https://server/alice/q7Zj7k/4bJDxp/ to track the request in the server logs?

That might work indeed. I'm going to update the CI to only use 1 thread and also store the server logs. Just updated them to already store the CTH HTML reports.

See the artifacts at the bottom here for an example: https://github.com/solid/community-server/actions/runs/1788677310. The HTML report contains all the HTTP request so these can indeed be matched with the server log.
Note that since I started updating the CI for the CTH all tests have always succeeded...
@edwardsph I noticed in the HTML report above that in the "Results by specification requirement" it says 17/81 and 4/22 for the 2 categories. Is this an issue?

I'm happy to have suggestions on how to make those numbers communicate more clearly. They represent a count of the requirements where the server passes all tests versus the number of defined requirements. The problem is that not all requirements have tests available but all requirements are listed and included in the count. For the protocol spec there are 81 requirements (both server and client). Of the server requirements 17 have tests available and the server passed all of them. Perhaps it should says 17/17 (64 untested) or 17/17 (17/81 tested)?
If you drill down to a specific requirement you then see numbers such as 2/2 - it passed 2 tests out of the 2 defined for this requirement.

When I see 17/81 and then look at the subcomponents below that that each have their own numbers such as 2/2 I would expect the sum of all the left numbers to reach 17 and all the numbers on the right to reach 81. So I would indeed prefer something like 17/17 (64 untested), perhaps even with some explanation of why these are untested. I know the CSS run doesn't test everything (e.g., ACP), so it would be nice to know if some tests were skipped because the server does not actually support that feature, or if it was because no tests exist yet for that feature.
I'm assuming that if all 81 requirements had their own tests, but CSS only passed 17 of them the score would also be 17/81. So it's a bit weird that 17/81 can have 2 different meanings.

There are too many dimensions to this! The results table at the top gives much clearer information on tests that were skipped. I'll give some thought to how to make the counts in the collapsible sections clearer. Thanks

Seeing as the issue was resolved with the additional changes above this can be closed.


Queries Regarding HA Setup on EC2

Hi,
As part of the POC, I've setup Conductor Server, Dynomite and ElasticSearch on a EC2 instance. Another EC2 instance of same configuration hosts only a Conductor Server which points to the Elastic Search and Dynomite hosted on the previous EC2. Both the conductor servers are behind a Elastic Load Balancer (ELB).
I've defined a Workflow which contains just a HTTPTask which calls a REST endpoint available on the internet.
The total time taken to execute 1000 instances of the workflow is same (around 3 and half mins) if they run on a single conductor server (after shutting down the second instance) or if they run on the load balanced servers. I am calculating the total time by subtracting the start-time of the first instance from the end-time of the last instance obtained from the Workflow UI.
In both the scenarios the 'startWorkflow' requests are coming through the ELB only.
Is this the expected behavior? Or improved performance can be expected from the load balanced servers? Is DB the performance bottleneck in my setup described above?
Any pointer would be really helpful. Below are my Dynomite yml and conductor.properties respectively:
dyn_o_mite:
  datacenter: us-east-1
  dyn_listen: <IP_ADDRESS>:8101
  data_store: 0
  listen: <IP_ADDRESS>:8102
  dyn_seed_provider: simple_provider
  rack: us-east-1b
  servers:
  - <IP_ADDRESS>:6379:1
  tokens: 437425602
  data_store: 0
  mbuf_size: 16384
  stats_listen: <IP_ADDRESS>:22222

db=dynomite
port=8080
workflow.dynomite.cluster.hosts=<IP_ADDRESS>:8102:us-east-1b
workflow.dynomite.cluster.name=dyn_o_mite
workflow.namespace.prefix=conductor
workflow.namespace.queue.prefix=conductor_queues
queues.dynomite.threads=100
queues.dynomite.nonQuorum.port=6379
workflow.elasticsearch.url=<IP_ADDRESS>:9300
workflow.elasticsearch.index.name=conductor
EC2_AVAILABILITY_ZONE=us-east-1b

The properties for the other Conductor Server contains private IP of the EC2 instance which hosts ElasticSearch and Dynomite.

Couple of questions:

How many dynomite nodes do you run?  Is it a single node server?
The HTTP endpoint - how long does it take to execute the request?

Conductor scalability depends on dynomite for its queuing, so if you are running a single node dynomite server - so at some point dynomite will be the bottleneck unless you scale it up.
3 and half minute ~ 200 seconds  to execute 1000 is about 5 per second.  That is certainly too low, but it also depends how long each HTTP task takes to execute?
Do you mind sharing your workflow definition?

How many dynomite nodes do you run? Is it a single node server?

Yes it is a single node server.

The HTTP endpoint - how long does it take to execute the request?

~160 milliseconds (When hit from a standalone java client running on a EC2 instance. The java client uses required apis under java.net.* and java.io.*). If a single instance of the Workflow is executed, the time taken by the HttpTask is ~100ms and the difference between scheduled time and start time of the Httptask is 500ms. But if 1000 parallel instances are running, the time taken by the HttpTask remains the same (for all the instances) but the difference between scheduled and start time of the HttpTask of the last 200 odd instances goes upto a minute. This means the difference in scheduled and start time is increasing as the no. of parallel workflow instances increases.

Do you mind sharing your workflow definition?
{
  "createTime":<PHONE_NUMBER>906,
  "name": "PostDetails",
  "version": 1,
  "tasks": [
    {
      "name": "getPost",
      "taskReferenceName": "getPost",
      "inputParameters": {
        "http_request": {
          "method": "GET",
          "uri": "https://jsonplaceholder.typicode.com/posts/1",
          "contentType": "application/json"
        }
      },
      "type": "HTTP",
      "startDelay": 0
    }
  ],
  "schemaVersion": 2
}

The URL https://jsonplaceholder.typicode.com/posts/1 is accessible over internet.

Update - I've added another Dynomite node but don't see any performance improvement.
Currently I've 2 EC2 instances with the following components:
First EC2 instance (<IP_ADDRESS>) - Redis, Dynomite,ElasticSearch and Conductor Server
Second EC2 instance (<IP_ADDRESS>) - Redis, Dynomite and Conductor Server
Both the EC2 instances are in us-east-1b
Following are the Conductor and Dynomite Configuration
Conductor Server 1
db=dynomite
port=8080
workflow.dynomite.cluster.hosts=<IP_ADDRESS>:8102:us-east-1b;<IP_ADDRESS>:8102:us-east-1b
workflow.dynomite.cluster.name=dyn_o_mite
workflow.namespace.prefix=conductor
workflow.namespace.queue.prefix=conductor_queues
queues.dynomite.threads=100
queues.dynomite.nonQuorum.port=6379
workflow.elasticsearch.url=<IP_ADDRESS>:9300
workflow.elasticsearch.index.name=conductor
EC2_AVAILABILITY_ZONE=us-east-1b

Conductor Server 2
db=dynomite
port=8080
workflow.dynomite.cluster.hosts=<IP_ADDRESS>:8102:us-east-1b;<IP_ADDRESS>:8102:us-east-1b
workflow.dynomite.cluster.name=dyn_o_mite
workflow.namespace.prefix=conductor
workflow.namespace.queue.prefix=conductor_queues
queues.dynomite.threads=100
queues.dynomite.nonQuorum.port=6379
workflow.elasticsearch.url=<IP_ADDRESS>:9300
workflow.elasticsearch.index.name=conductor
EC2_AVAILABILITY_ZONE=us-east-1b

Dynomite Node 1
dyn_o_mite:
  datacenter: us-east-1
  dyn_listen: <IP_ADDRESS>:8101
  data_store: 0
  listen: <IP_ADDRESS>:8102
  dyn_seed_provider: simple_provider
  dyn_seeds:
   - <IP_ADDRESS>:8101:us-east-1b:us-east-1:1383429731
  rack: us-east-1b
  servers:
  - <IP_ADDRESS>:6379:1
  tokens:<PHONE_NUMBER>
  data_store: 0
  mbuf_size: 16384
  stats_listen: <IP_ADDRESS>:22222

Dynomite Node 2
dyn_o_mite:
datacenter: us-east-1
dyn_listen: <IP_ADDRESS>:8101
data_store: 0
listen: <IP_ADDRESS>:8102
dyn_seed_provider: simple_provider
dyn_seeds:
 - <IP_ADDRESS>:8101:us-east-1b:us-east-1:1383429731
rack: us-east-1b
servers:
- <IP_ADDRESS>:6379:1
tokens:<PHONE_NUMBER>
data_store: 0
mbuf_size: 16384
stats_listen: <IP_ADDRESS>:22222

Please suggest if the above configurations are as they should be.

There are two properties that controls how many tasks are polled from the queue for system tasks such as HTTP and the number of threads used to process these.
workflow.system.task.worker.poll.count
workflow.system.task.worker.thread.count

I would suggest setting them to something above 25 or so (the default is just 5).
There is also a poller which polls every .5 seconds, which I think might be too low at times, so in the next version will look to making it property driven.
But in one of my test environments, setting the value to 25 for the above helped a lot.  Mind trying it out and let us know how it goes?
https://github.com/Netflix/conductor/blob/master/core/src/main/java/com/netflix/conductor/core/execution/tasks/SystemTaskWorkerCoordinator.java

Thanks @v1r3n !!
After introducing the 2 parameters mentioned by you with value of 25 (for both), marked improvement has been noticed. The 1000 parallel instances are finishing in 2 and half mins (instead of the earlier 3 and half mins) irrespective of whether the 1000 instances are running on a single Conductor Server or 2 Load Balanced Conductor Servers.
The time taken by the 1000 instances now is roughly equal to the time taken by my java client (uses conductor-client apis) to create those 1000 instances. That means, most importantly, the difference between schedule time and start time of the HttpTask is consistently ~600ms across the 1000 instances instead of earlier up to a minute for last 200 odd instances.
Thanks once again for your help!!

@smkb80 We are going to update the poll time to a lower and configurable number in the upcoming version (1.80).  Also, experiment with workflow.system.task.worker.queue.size parameter to increase the number (if you see lot of queue rejection logs) or keep the thread counter higher than the poll size.  The exact values will depend on the type of endpoint you are calling and time it takes to process these requests.

Thanks @v1r3n for the update.
This time I am testing 10k parallel instances of the Workflow Def shared above. The time taken to execute 10k instances is ~24 min 30 secs irrespective of whether they are running on a single Conductor Server or load balanced 2 Conductor Servers.
Is there any way to confirm that the Load Balanced servers are performing better than a single instance?
Or do I have to keep on increasing the no. of parallel instances until the load balanced servers are performing better?

Hi @v1r3n ,
I've increased the thread counter to 50 from 25. The poll size is 25. As a result of this change, 1000 parallel instances are executing in 46 seconds on a single server and 23 seconds on 2 load balanced servers.
Thanks a lot for these pointers!!

@smkb80  How are you deploying dynomite and elastisearch in aws? Can you please share?

@sk523 Pls refer to the below link for Dynomite Installation steps and configuration parameters.
https://github.com/Netflix/dynomite/blob/dev/README.md
I've setup Dynomite on 2 nodes. Pls refer to my comment above for the Dynomite configuration YAMLs that I've used.

@smkb80 is this still an issue or can we close it?

Yes @v1r3n , we can close this. Thanks a lot for all your help!!


Added styling for about page and rendered cards for the maintainers. …

Describe your changes
Added the cards for maintainers as requested.
Screenshots - If Any (Optional)
Link to issue

Closes #189
Checklist before requesting a review

[X] I have performed a self-review of my code.
[X] Followed the repository's Contributing Guidelines.
[X] I ran the app and tested it locally to verify that it works as expected.
[ ] I have checked my code with an automatic accessibility tool such as Axe Dev Tools or Wave
and it shows no errors.

Additional Information (Optional)
Any additional information that you want to give us.

Updated the changes as requested :)


[Storage-blob] ContainerClient encodes blobName including folder which produces are problematic url

Package Name: storage-blob

Describe the bug
The problem is this line. It encodes the blobName, but the blobName can also include a folder, like folderA/blob.txt.
This produces the following URL:
https://mystorageaccount.blob.core.windows.net/my-container/folderA%2Fblob.txt
This is fine most of the time, but if you want this to work with an Apache proxy you have to set AllowEncodedSlashes, see Apache docs.
To Reproduce
Steps to reproduce the behavior:
const sasUrlToContainer = 'https://mystorageaccount.blob.core.windows.net/my-container?[sasQueryParameters]';
const blobName = 'folderA/blob.txt';
const client = new ContainerClient(sasUrlToContainer);
const blobClient = client.getBlockBlobClient(blobName);
const result = await blobClient.download();

Expected behavior
The encoding should only include the filename but not the folder name.

@mwiedemeyer ,
Do you mean if you use an Apache proxy, the proxy won't work for a URL like
https://mystorageaccount.blob.core.windows.net/my-container/folderA%2Fblob.txt
and only work for URL like
https://mystorageaccount.blob.core.windows.net/my-container/folderA/blob.txt ?
Hi @jeremymeng ,
I can access to a blob with '/' in its name without encoded. Are you aware of any environment in which the raw '/' may not work?
Thanks
Emma

Hi,
correct. Normally everything works with https://mystorageaccount.blob.core.windows.net/my-container/folderA%2Fblob.txt and https://mystorageaccount.blob.core.windows.net/my-container/folderA/blob.txt.
However the Apache proxy does not work with the %2f in the url. The raw / should always work (like any other URL)

Hi @jeremymeng ,
I can access to a blob with '/' in its name without encoded. Are you aware of any environment in which the raw '/' may not work?

Our own doc says reserved url characters should be encoded but also the same doc shows samples with '/'.  I guess '/' is special and we may want to special-case it for storage. The path url encoding code is from track 1, @XiaoningLiu probably knows more?

.NET does not encode '/'.  We will want to do the same too: https://github.com/Azure/azure-sdk-for-net/blob/0ce8e17b4dee01d7d3c2e0aff6977706d448eee0/sdk/storage/Azure.Storage.Common/src/Shared/StorageExtensions.cs#L12-L28

The fix has been released in<EMAIL_ADDRESS>


Chrome recording audio-only sounds too low

Recording audio only (with the demo code) in Chrome 56 sounds a lot lower/deeper when playing back.
Can not reproduce with Firefox 43, works fine there.
Any ideas how I might fix that by changing the configuration?

Just checked: Does not happen when recording video AND audio.

@cb109 can you check if it's using the extra audio element with the audio+video recording in Chrome (and not in Firefox)?

@cb109 no feedback, closing.


bar/** seems to work differently than .gitignore

For files like

.
├ foo
│  └ bar
│     └ some_file.txt
└ bar
   └ other_file.txt

When I ignore:
bar/**

Both foo/bar/some_file.txt and bar/other_file.txt will be ignored.
But for .gitignore, only bar/other_file.txt will be ignored.

You are correct - thanks for the bug report. I'll get a fix out as soon as I can.

This should now be fixed. Please let me know if the fix does not work as you expected.
Apologies for the delay in correcting this.


[AutoRelease] t2-hdinsightcontainers-2024-02-06-21084(can only be merged by SDK owner)

https://github.com/Azure/sdk-release-request/issues/4934
Live test success
https://dev.azure.com/azure-sdk/internal/_build?definitionId=997
BuildTargetingString
azure-mgmt-hdinsightcontainers
Skip.CreateApiReview
true

issue link:https://github.com/Azure/sdk-release-request/issues/4934


Xfail some conditions of ndimage measurements under ROCm/HIP

Rel #4132, #4484.
Including fairly larger errors.
E       AssertionError:
E       Not equal to tolerance rtol=1e-07, atol=0
E
E       Mismatched elements: 1 / 2 (50%)
E       Max absolute difference: 1608
E       Max relative difference: 64.32
E        x: array([1633,   33])
E        y: array([25, 33])

pfnCI, test this please.

Jenkins CI test (for commit 12b339f2cd49b975847d6f2505fb32747464e494, target branch master) failed with status FAILURE.

pfnCI, test this please.

Jenkins CI test (for commit 8c3b32c7a3a784c88c5ecae26c7a1072fd29cab5, target branch master) succeeded!


Can't load model uform-vl-multilingual-v2

When trying to load the unum-cloud/uform-vl-multilingual-v2 model using the example code from its README, I get this error:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/blah/usearch-images/env/lib/python3.12/site-packages/uform/__init__.py", line 187, in get_model
    return get_model_onnx(model_name, device=device, token=token, modalities=modalities)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/blah/usearch-images/env/lib/python3.12/site-packages/uform/__init__.py", line 155, in get_model_onnx
    encoder = TextEncoder(modality_paths.get(Modality.TEXT_ENCODER), device=device)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/blah/usearch-images/env/lib/python3.12/site-packages/uform/onnx_encoders.py", line 109, in __init__
    self.text_encoder_session = ort.InferenceSession(
                                ^^^^^^^^^^^^^^^^^^^^^
  File "/blah/usearch-images/env/lib/python3.12/site-packages/onnxruntime/capi/onnxruntime_inference_collection.py", line 405, in __init__
    raise TypeError(f"Unable to load from type '{type(path_or_bytes)}'")
TypeError: Unable to load from type '<class 'NoneType'>'

Example code, for reference:
import uform

model, processor = uform.get_model('unum-cloud/uform-vl-multilingual-v2')

Has something changed so this model is no longer supported or something? I originally ran into this issue with the streamlit demo, though I notice that seems a bit dated.

Hey @polm-stability! Yes, can you please upgrade to the v3 models for embeddings? The weights would be the same, but the files under the new handle are organized in a way compatible with the new codebase. Please let me know if it works 🤗

Sorry for the delayed followup, thanks for the clarification.
Is the v3 model unum-cloud/uform3-image-text-multilingual-base? It looks that way but given how different the name was I wasn't sure if it was a new version or a separate model.
In either case, I was able to load that model successfully using the README instructions.
If v2 is no longer supported maybe the README for it should be updated?

Is the v3 model unum-cloud/uform3-image-text-multilingual-base?

Yes 🤗


Is version 8.0.0 of cardano-graphql, compatible with the latest version of cardano-node-ogmios?

The problem hasn't been solved yet.
I'm using docker to run the service and the software versions are：
cardanosolutions/cardano-node-ogmios:v6.0.0_8.1.2
inputoutput/cardano-db-sync:<IP_ADDRESS>
inputoutput/cardano-graphql-background:8.0.0
inputoutput/cardano-graphql-hasura:8.0.0
inputoutput/cardano-graphql-server:8.0.0
Also I found that the Asset table is empty, which makes it impossible to get the synchronization progress
explorer=# SELECT count(*) FROM "public"."Asset";
 count
-------
     0
(1 row)

I'm using cardano-graphql version 8.0.0, but the cardano-graphql-background logs keep getting stuck here, what is the reason for this?
{"name":"background","hostname":"ada-0-0","pid":2400,"level":30,"module":"Db","msg":"Initializing...","time":"2023-08-31T17:37:26.731Z","v":0}
{"name":"background","hostname":"ada-0-0","pid":2400,"level":30,"module":"HasuraBackgroundClient","msg":"Initializing","time":"2023-08-31T17:37:26.740Z","v":0}
{"name":"background","hostname":"ada-0-0","pid":2400,"level":30,"module":"HasuraBackgroundClient","msg":"Initialized","time":"2023-08-31T17:44:03.337Z","v":0}
{"name":"background","hostname":"ada-0-0","pid":2400,"level":30,"module":"MetadataFetchClient","msg":"Initializing","time":"2023-08-31T17:44:03.338Z","v":0}
{"name":"background","hostname":"ada-0-0","pid":2400,"level":30,"module":"MetadataFetchClient","msg":"Initialized","time":"2023-08-31T17:44:03.733Z","v":0}
{"name":"background","hostname":"ada-0-0","pid":2400,"level":30,"module":"ChainFollower","msg":"Initializing","time":"2023-08-31T17:44:03.733Z","v":0}
{"name":"background","hostname":"ada-0-0","pid":2400,"level":30,"module":"ChainFollower","msg":"Initialized","time":"2023-08-31T17:44:03.741Z","v":0}
{"name":"background","hostname":"ada-0-0","pid":2400,"level":30,"module":"Worker","msg":"Starting","time":"2023-08-31T17:44:03.742Z","v":0}
{"name":"background","hostname":"ada-0-0","pid":2400,"level":30,"module":"Worker","msg":"Started","time":"2023-08-31T17:44:03.790Z","v":0}
{"name":"background","hostname":"ada-0-0","pid":2400,"level":30,"module":"ChainFollower","msg":"Starting","time":"2023-08-31T17:44:03.801Z","v":0}
@YuXiaoCoder

Leave a comment
未选择任何文件
Attach files by dragging & dropping, selecting or pasting them.
Remember, contributions to this repository should follow its [contributing guidelines](https://github.com/input-output-hk/cardano-db-sync/blob/16635b6e8f1dec5084d7a6b821117e9fd13b11f1/CONTRIBUTING.rst) and [code of conduct](https://github.com/input-output-hk/cardano-db-sync/blob/16635b6e8f1dec5084d7a6b821117e9fd13b11f1/CODE-OF-CONDUCT.md).
Assignees
No one assigned
Labels
[bug](https://github.com/input-output-hk/cardano-db-sync/labels/bug)
Projects
None yet
Milestone
No milestone
Development
No branches or pull requests

Notifications
Customize
You’re receiving notifications because you authored the thread.
2 participants

@YuXiaoCoder  我能看看你的docker-compose.yml 配置么？
  cardano-node-ogmios:
    build:
      args:
        - CARDANO_CONFIG_REV=${CARDANO_CONFIG_REV:-303f3a3035c52eb753b533d53ef439c6b4cde9c9}
        - CARDANO_NODE_VERSION=${CARDANO_NODE_VERSION:-1.35.5}
        - NETWORK=${NETWORK:-mainnet}
      cache_from: [ cardanosolutions/cardano-node-ogmios:latest ]
      context: ./ogmios
    image: cardanosolutions/cardano-node-ogmios:${OGMIOS_VERSION:-v5.6.0}_${CARDANO_NODE_VERSION:-1.35.5}-${NETWORK:-mainnet}

我的cardanosolutions/cardano-node-ogmios 停留在v5.6.0，升级版本报错

Same for me. I tried few times and Assets are not populated. How to rebuild them?


Replace python builtin exceptions with custom ones

This commit is divided into these subtasks:

Categorizing all exceptions into groups[1][2]
Creating custom exceptions(all are annotated directly in file exceptions.py)
Replacing all raise EXCEPTION with newly created ones
Resolving dependent try-catch block, i. e. replace builtin exceptions in catch statements.

The 4th task is a bit tricky. I had to change the code a bit more to reflect things such as certain catch block being redundant(model line 1170, 1074-1078, 1155), multiple previously different exceptions being now caught as one(model lines 1191-1210)
Tests have been changed accordingly. In a few places, assert_logging_policy was replaced by caplog. It is a preferable practice and doing so made it easier to adjust the test.
Also, a bug causing the test silently passing when it should not have was found on the line 1245-1250.
[1] https://github.com/mamiksik/python-pyodata/wiki/Exceptions
[2] https://github.com/mamiksik/python-pyodata/wiki/Exceptions-rewrite

Codecov Report

Merging #92 into master will decrease coverage by 0.52%.
The diff coverage is 54.46%.

@@            Coverage Diff             @@
##           master      #92      +/-   ##
==========================================
- Coverage   92.23%   91.71%   -0.53%
==========================================
  Files           6        6
  Lines        2433     2256     -177
==========================================
- Hits         2244     2069     -175
+ Misses        189      187       -2

Impacted Files
Coverage Δ

pyodata/v2/model.py
92.22% <52.77%> (-0.65%)
:arrow_down:

pyodata/exceptions.py
100.00% <100.00%> (ø)

pyodata/v2/service.py
89.70% <0.00%> (-0.29%)
:arrow_down:

Continue to review full report at Codecov.

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

Can you create a table with 2 columns (old exception , new exception) where you where lines are errors, please.

 Please, create one with shorter commits.


[GITHUB-19] Switch to Java 8

Overall this looks good but the tests seem to be getting more and more complicated :)

Makefile looks more complex in order to make .travis and make commands more usable and friendly.
You can now run:
make lint
make test
make clean test ANSIBLE_INSTALL_VERSION=<IP_ADDRESS>
make clean test VAGRANT_BOX=ubuntu/trusty64
...

LGTM 👍

I have tested this and PR https://github.com/sansible/gocd_server/pull/34 together and it worked fine. The server and agent running on Java 8. Python virutalenv looks good too.
Great work! :+1:


Small maintenance fixes

refactors a couple verbose pattern-matches,
uses Rust 1.58's captured identifiers,
runs clippy (split in 2 commits, the penultimate is test-only, the last one contains the non-test changes)

Let's just wait to merge this until after #201 is merged.

Is there some change to the CI clippy job that would have caused the code you edited to have failed the check on CI? I think the answer might be no because clippy is somewhat flakey about which files it actually checks based on local change history (or something).

Clippy's fixes improve over time. I may be running a more fresh variant of clippy than what's used in CI.
My opinions on inserting the clippy fixes at this juncture in time are loosely held, happy to elide the clippy changes, which are likely to only become relevant in the future (but are correct now), from this PR.

I'm fine with including them.


Aave Treasury Data

Each Aave market has a treasury contract, which collects a portion of protocol interest in the form of aTokens. Treasury data is not included in the Aave protocol subgraph, so it needs to be added to the mapping. The treasury logic works a bit differently in V2 and V3.
V2: aTokens are automatically transferred to the collector contracts, so summing the aToken balances will give the entire balance.
V2 Collectors:
Eth Mainnet V2/AMM/ARC: 0x464c71f6c2f760dda6093dcb91c24c39e5d6e18c (shared contract)
Polygon V2: 0x7734280A4337F37Fbf4651073Db7c28C80B339e9
Avalanche V2: 0x467b92aF281d14cB6809913AD016a607b5ba8A36
V3: aTokens must be pulled into the treasury contract by calling the mintToTreasury function on the Pool contract. There's a field on each reserve called accruedToTreasury which tracks the unminted amounts (not currently on the subgraph but I'll update this issue once it's added). So the treasury total is the aToken balances of the contracts below + accruedToTreasury for each reserve.
V3 Collectors:
Optimism V3: 0xA77E4A084d7d4f064E326C0F6c0aCefd47A5Cb21
Arbitrum V3: 0xC3301b30f4EcBfd59dE0d74e89690C1a70C6f21B
Polygon V3: 0x73D435AFc15e35A9aC63B2a81B5AA54f974eadFe
Harmony V3: 0xeaC16519923774Fd7723d3D5E442a1e2E46BA962 (not supported by TheGraph yet)
Fantom V3: 0xc0F0cFBbd0382BcE3B93234E4BFb31b2aaBE36aD
Avalanche V3: 0xaCbE7d574EF8dC39435577eb638167Aca74F79f0

Thanks @defispartan! We will revisit this when we get to the v3 subgraph.

Since this is different from reserves I think this should be an add on field for aave v2 and v3.

@dmelotik are these fields in the 3.0.0 schema? We are going to table this then till AAVE is upgraded to 3.0.0

No, it would be an addon field there as well. It really wouldn't make a difference if we added to the current schema as an additional field. But depends on priority

If we decide to go down this route of grabbing treasury data. I think we would set ourselves up much better long term to create a small schema for treasury metrics and make separate subgraphs for that. Rather than adding it onto existing subgraphs and waiting to sync.

@dmelotik, (and maybe @defispartan), I appreciate your guidance on a few things related to the treasury addition. Since we already track protocol side revenue, so this new field/entity will just track the actual treasury balance? Any preference between using an (optional) field of the market entity (seems making most sense to me as the balance is collected in aToken), vs a separate entity? Any other information besides balance, e.g. source, amountUSD? I suppose it/they needs to be added to daily/hourly snapshot? thx!

If/when we go down the route of treasury tracking with subgraphs I think the plan will be to make it it's own schema/subgraph. Open to other opinions though


axios 1.7.3

Hi There
Please update axios dependency to the latest version
The latest as at this request is 1.7.3
Thank you very much

updated to latest!


internal error: extracted proof has metavariables

Consider the theorem below:
import Aesop

attribute [aesop safe (cases (patterns := [List.Mem _ []]))] List.Mem
attribute [aesop unsafe 50% (cases (patterns := [List.Mem _ (_ :: _)]))] List.Mem

theorem Mem.split [DecidableEq α] (xs : List α) (v : α) (h : v ∈ xs)
  : ∃ l r, xs = l ++ v :: r := by
  induction xs
  case nil =>
    aesop
  case cons x xs ih =>
    have dec : Decidable (x = v) := inferInstance
    cases dec
    case isFalse no =>
      -- aesop -- aesop: internal error: extracted proof has metavariables.
      let ⟨l, r, prf⟩ : ∃ l r, xs = l ++ v :: r := by aesop
      apply Exists.intro (x :: l)
      apply Exists.intro r
      rw [prf]
      rfl
    case isTrue yes =>
      apply Exists.intro []
      apply Exists.intro xs
      rw [yes]
      rfl

The commented aesop call produces the following error:
aesop: internal error: extracted proof has metavariables.
  Proof: Exists.intro (?m.1084 x h no) (?m.1009 v (x :: xs) h (Eq.refl v) (Eq.refl (x :: xs)) (HEq.refl h))
  Unassigned metavariables: [_uniq.1084, _uniq.1206]

Commit: a4294f4ae0dc5831a8466ddf244f0a2d28054223

While aesop on its own no longer produces this error, the call aesop (add unsafe [cases List]) produces:
aesop: internal error: extracted proof has metavariables.
  Proof: ?m.651 v (x :: xs) h (Eq.refl v) (Eq.refl (x :: xs)) (HEq.refl h)
  Unassigned metavariables: [_uniq.8425]

Commit: b9bdd88c0547ad4b2f85d455f85cca5026bca342


API returns 404

System Health details
System Information

version
core-2024.1.3

installation_type
Unknown

dev
false

hassio
false

docker
false

user
skinkie

virtualenv
false

python_version
3.11.4

os_name
Linux

os_version
6.1.51-0-rpi

arch
aarch64

timezone
Europe/Amsterdam

config_dir
/home/skinkie/.homeassistant

Home Assistant Community Store

GitHub API
ok

GitHub Content
ok

GitHub Web
ok

GitHub API Calls Remaining
4915

Installed Version
1.33.0

Stage
running

Available Repositories
1379

Downloaded Repositories
5

Home Assistant Cloud

logged_in
false

can_reach_cert_server
ok

can_reach_cloud_auth
ok

can_reach_cloud
ok

Dashboards

dashboards
1

resources
1

views
5

mode
storage

Recorder

oldest_recorder_run
January 11, 2024 at 9:17 AM

current_recorder_run
January 18, 2024 at 10:10 AM

estimated_db_size
580.99 MiB

database_engine
sqlite

database_version
3.44.2

Checklist

[X] I have enabled debug logging for my installation.
[X] I have filled out the issue template to the best of my ability.
[X] This issue only contains 1 issue (if you have multiple issues, open one issue for each issue).
[X] This issue is not a duplicate issue of currently previous issues..

Describe the issue
TGTG api returns 404
Reproduction steps

Start ha
Observe log.

Debug logs
2024-01-18 10:10:44.864 ERROR (MainThread) [homeassistant.components.sensor] Error while setting up tgtg platform for sensor
Traceback (most recent call last):
  File "/home/skinkie/.local/lib/python3.11/site-packages/homeassistant/helpers/entity_platform.py", line 360, in _async_setup_platform
    await asyncio.shield(task)
  File "/usr/lib/python3.11/concurrent/futures/thread.py", line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/skinkie/.homeassistant/custom_components/tgtg/sensor.py", line 81, in setup_platform
    add_entities([TGTGSensor(each_item_id)])
                  ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/skinkie/.homeassistant/custom_components/tgtg/sensor.py", line 102, in __init__
    self.update()
  File "/home/skinkie/.homeassistant/custom_components/tgtg/sensor.py", line 212, in update
    self.tgtg_orders = tgtg_client.get_active()["orders"]
                       ^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/skinkie/.homeassistant/deps/lib/python3.11/site-packages/tgtg/__init__.py", line 426, in get_active
    raise TgtgAPIError(response.status_code, response.content)
tgtg.exceptions.TgtgAPIError: (404, b'')

Diagnostics dump
I guess if it fails to start you cannot reach this point.

With some hacking I disabled the orders in two places. That allows for starting the integration.

So, I'm currious.. What did you do to make it work again?

--- sensor.py
+++ /home/skinkie/.homeassistant/custom_components/tgtg/sensor.py
@@ -188,6 +188,7 @@

         orders_placed = 0
         total_quantity_ordered = 0
+        """
         for order in self.tgtg_orders:
             if "item_id" in order:
                 if order["item_id"] == str(self.item_id):
@@ -198,6 +199,7 @@
                         data[ATTR_PICKUP_WINDOW_CHANGED] = order["pickup_window_changed"]
                     if "cancel_until" in order:
                         data[ATTR_CANCEL_UNTIL] = order["cancel_until"]
+        """
         data[ATTR_ORDERS_PLACED] = orders_placed
         if total_quantity_ordered > 0:
             data[ATTR_TOTAL_QUANTITY_ORDERED] = total_quantity_ordered
@@ -209,7 +211,7 @@
         """
         global tgtg_client
         self.tgtg_answer = tgtg_client.get_item(item_id=self.item_id)
-        self.tgtg_orders = tgtg_client.get_active()["orders"]
+        # self.tgtg_orders = tgtg_client.get_active()["orders"]

         self.store_name = self.tgtg_answer["display_name"]
         self.item_qty = self.tgtg_answer["items_available"]

Can you submit this as a PR? That would help everyone

Can you submit this as a PR? That would help everyone

This is not a fix. This is hack to ignore orders.


Future: CAN FD support

UAVCAN will support CAN FD in the future (possibly in v1.1) in a fully backward-compatible way. The feature has not been included in v1.0 due to low demand.

Closing - CAN FD support is already in the v1.0 draft; see https://github.com/UAVCAN/specification/issues for relevant discussions; the tracking issue is https://github.com/UAVCAN/specification/issues/2.


How to add plugins

How can I add module / loaders / query / plugins ?

Hello @danyhoron
You mean how to add all these though C# code? Currently I have implemented only a limited functionality through C# api. I assumed that this is enough for most simple scenarios. If you want to do something more complicated you can still use this package but point to an external webpack configuration file.


"No Rows found" and "Loading..." should not be displayed at the same time

Problem Description
I would like to open up this issue for discussions. I have noticed that when I have an empty table displaying "No rows found" and then I trigger the table to populate while setting the loading prop to true this creates an overlay where both texts are visible.
I would like to suggest replacing the "No Row found " text with loading or alternative only display the loading overlay but not both at the same time. @tannerlinsley  what do you think ?
Code Snippet(s)
            <ReactTable                 loading= {this.props.loading}                 data={this.props.data}                 columns={columns}                 className="-striped -highlight"                 pivotBy={['P1', 'P2', 'P3']}                 showPagination={false}             />
Steps to Reproduce

list the steps

Render an empty table

set loading to true

System Information

Browser & Browser Version:
Node Version:
OS Version:
NPM Version:
Yarn Version:

There was a small discussion in the slack channel about only allowing noData text to be displayed when and if there were no rows and the table was loading.  This would have been a very tightly integrated solution for this specific use case, but would significantly lock down the API for other users who may want the opposite.
We decided to wait for now to see if a similar use case appears, and in the mean time rely on user to dictate around this special circumstance using the api to override noData text to be empty`.

I just stumbled upon the same issue. Unfortunately for me, it is not as easy as setting the text to being empty, because there is still an empty white box slightly visible behind the loading overlay.
I would also like to add, that I can not imagine, how anyone would want both messages to appear at the same time.
Anyway, a compromise would be, if I would be able to specify my own render method for noData. This way, I would be able to render null, if data is loading.

@ghost23 You should be able to completely override the component that is rendered.
Try setting the NoDataComponent on the table.

Yes, I guess, I will have to do it that way.

Seems this is now fixed in version 6.

@aaronschwartz @ghost23 Correct me if I wrong, but an overriding component, that will render on render null, based on isLoding will not work, since NoDataComponent will be mounted right when ReactTable will be mounted (before async loading even gets started).
@ghost23 did manage to fix this issue?

@andrei-sheina  I don't really understand what your goal is.
If you're taking full control of the loading and NoDataComponent props you're in control of when everything gets rendered.
In that case you know exactly when your data is being loaded or not.
You could try something like this:
loading={this.state.loading}
NoDataComponent={
  this.state.finishedLoadingData && !this.state.loading ? (
No Data
) : null
}

If you have something else in mind it would be great if you could recreate it in codepen.

@aaronschwartz ok, sorry for misleading. Overriding NoDataComponent actually works perfectly. It was just a wrong conditional statement in my code.
In case anyone else will run into this issue, here is working solution:
ComponentWithDataToRenderInTable.js

<ReactTable
            className='-striped -highlight'
            data={state.data}
            columns={columns}
            loading={state.isLoading}
            LoadingComponent={CustomLoadingComponent}
            NoDataComponent={CustomNoDataComponent}
          />

CustomNoDataComponent.js

const CustomNoDataComponent = ({ state, ...rest }) => {
  if (state.isLoading) {
    return null;
  }
  return
No rows found

}

export default CustomNoDataComponent;

Well, we should be lucky the authors of react-table decided to give us that much flexibility 😎
Here's my take on above-described problem:
TLDR; Don't render NoDataComponent as long as loading: true.

// NOTE: Map `loading` into props a NoDataComponent will receive
// so we can hide the component as long as data fetching is in progress
const getNoDataProps = (props) => ({
  loading: props.loading,
});

[...]

<ReactTable
  getNoDataProps={getNoDataProps}
  NoDataComponent={NoDataComponent}
/>

[...]

const NoDataComponent = (props) => {
  const { children, loading } = props;

  return loading
  ? null
  : (

  );
};

I did it like this

<ReactTable
  noDataText={!this.state.loading?'No rows found':''}
  NoDataComponent={NoDataComponent}
/>

onst NoDataComponent = (props) => {
    const {
        children
    } = props;

    return children === '' ?
        null :
        (

             {children}

        );
};


[$500] Compose-Sending message page flickers & sending link page shows loading for a second

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 1.3.92-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause-Internal Team
Slack conversation: @
Action Performed:

Launch app
Tap on a report
Send any message
Send any url

Expected Result:
Sending message page must not flicker & sending link page must not show loading for a second also.
Actual Result:
Sending message page flickers & sending link page shows loading for a second
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[ ] Android: mWeb Chrome
[x] iOS: Native
[ ] iOS: mWeb Safari
[ ] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos

Android: Native
https://github.com/Expensify/App/assets/115492554/5f34d223-8b10-4562-8794-79fae203a261

Android: mWeb Chrome

iOS: Native

iOS: mWeb Safari

MacOS: Chrome / Safari

MacOS: Desktop

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01e22aad449d431bed
Upwork Job ID:<PHONE_NUMBER>790860288
Last Price Increase: 2023-11-10

How does the proposal in https://github.com/Expensify/App/issues/30495#issuecomment-1783728777 look @0xmiroslav?

@tienifr, you had mentioned this as a copy of another issue. Here are my thoughts on that. https://github.com/Expensify/App/issues/30729#issuecomment-1794372264

@perunt just to clarify, you see these as two separate issues requiring different solutions, correct? Your comment seems to suggest that @tienifr's solution here wouldn't fully solve the issue reported in https://github.com/Expensify/App/issues/30729

This could be fixed with one PR. The main issue here that we call oStartReached each time when we scroll to the bottom(to the newest message). We do this because if you scroll a bit and than send message, the sended message should be in focus. At leas it's how it works now.

This could be resolved with one PR. The main issue is that onStartReached is automatically called each time we scroll to the bottom (to the newest message). This automatic scroll is triggered because if you scroll slightly and then send a message, the sent message should come into focus – that's the current behavior. Right now, this automatic scrolling is managed by autoscrollToTopThreshold (that's why removing reportScrollManager.scrollToBottom() doesn't broke anything). However, I'm not sure if this will work well with the upcoming Comment Linking feature. Therefore, I would suggest preventing onStartReached from being called during automatic scrolls to the end, instead of disabling the automatic scroll altogether

OK, given that we'll need a unique solution for this problem, how does the proposal in https://github.com/Expensify/App/issues/30495#issuecomment-1783728777 look @0xmiroslav?

Signing on for this as it's a dupe of https://github.com/Expensify/App/issues/30729

@roryabraham you mentioned this is a dupe of https://github.com/Expensify/App/issues/30729, which has more progress. Should we keep both of these open?

This should be fixed now, requesting retest: https://expensify.slack.com/archives/C9YU7BX5M/p1703721450532629

Not repro on Galaxy, but seem to be still repro on Pixel 6/ Android 14
https://github.com/Expensify/App/assets/43995119/de9ce021-a93e-4219-8c81-15fb9d53ffb7
https://github.com/Expensify/App/assets/43995119/57fe8722-829c-462c-91a4-539318bcb4e0

So we are no longer seeing a flickering loading spinner, which (I believe) was a contributor to this problem, but it seems there's some other problem as well. Maybe something causing a remount of the chat list, which flickers only on lower-end devices.

I'm not sure about the best path forward here, but I'm tempted to suggest that we just sit on this problem for now, and look to a hopefully not-too-distant future when we migrate the main chat list from FlatList to FlashList

Cool, putting this on hold for https://github.com/Expensify/App/issues/33725

Still on HOLD

Making this a monthly in the meantime

@hoangzinh reassigning, please take over as C+. If you don't have bandwidth, unassign yourself. Thanks

still on HOLD

Still held

Still held

Still held.

Still on hold for https://github.com/Expensify/App/issues/33725

Remains held

still on HOLD

@mountiny assigning to you while I'm on parental leave since I also assigned you to #33725

Held on Flashlist change

Still on hold

Still held


⚠ St. Lawrence Global Observatory CKAN Sitemap has degraded performance

In abe670b, St. Lawrence Global Observatory CKAN Sitemap (https://catalogue.ogsl.ca/sitemap/sitemap-1.xml) experienced degraded performance:

HTTP code: 200
Response time: 27275 ms

Resolved: St. Lawrence Global Observatory CKAN Sitemap performance has improved in ea415e0 after 36 minutes.


SAK-32215 Prevent deadlock at startup due to quartz misfire handler

If quartz tried to run some misfired jobs while the component manager was still starting up it would deadlock the startup of Sakai.
This introduces the Spring lifecycle to our application context and uses it to start the quartz scheduler once the application context has been refreshed.

Ok seems fine. @ern how about a quick review?

LGTM, good use on using the ApplicationContext lifecycle 👍


onReady prop called multiple times with files as url

Be sure to search for your issue before opening a new one.
Current Behavior

When using the component to play a file, onReady prop is called infinitely.
Expected Behavior

onReady prop called only once
Steps to Reproduce

Use  with a file as url
Put some function in onReady prop (I used a console.log)

Environment

URL attempting to play: file stored in Google storage (local file too produce presented bug)
Browser: Google Chrome Version 78.0.3904.97 (Official Build) (64-bit)
Operating system: Ubuntu 16.04.5 LTS
jsFiddle example:

Other Information

The onReady event listens to the canplay event for files. If this is a weird OS/browser quirk or something specific to the type of file, I don't know what this library can do about this.
Feel free to reopen this issue with an example jsFiddle or detailed steps to reproduce.

I faced the same problem when using any source other that Youtube ( I am using playerRef.current.seekTo( ... ) function and this was causing onReady event to loop, this problem does not exsit when using YT links ).  I decided to keep state of isReady separately and attach my logic to that state instead of listening to onReady. Not sure if this is a good fix, but works for me


Using bash instead of default shell

So right now poe checks the $SHELL variable and uses that shell to run the commands when using shell type.
Why was this the choice? Seems a bit strange. While I do use fish myself, I do not want to write poe tasks on my projects to also use it. I would like everyone to be able to jus run poe commands if they checkout the code without having fish.
make for example ignores $SHELL. And this makes sense because these command should be cross platform and not require a developer setup a specific environment to be able to use the project.
Anyway, this would be a breaking change so maybe configuration is the way to go? I could try make a pull request myself if there is some consensus on what's the best way to handle this.

Hi @Algirdyz, thanks for the feedback.
I think you're right. The use of $SHELL was an ill conceived attempt to ensure portability, and should probably be removed. Using bash as a lowest common denominator by default probably makes the most sense.
I intend to do so as part of addressing #15. I'm OK with a breaking change for this (we're not 1.0.0 yet), though I'd want to make it smooth which implies mostly addressing #15 by supporting something like a task level option to specify a shell executable (or ordered list thereof to try). Unfortunately I think this a little complicated to get right.
I'm happy to accept help in the form of design feedback and PRs (though I'm likely to be quite picky about what gets merged from a PR).

Have you thought about using shellingham or use a custom POE_SHELL variable?

I wouldn't go for bash, but for sh, which is always a POSIX shell (bash might be not installed in some systems!)

@Algirdyz Thanks again for the feedback.
A fix for this issue has just been released as 0.12.0


Referencing previous initialised variables raises a NullPointerException

Hello,
The following search request raises a NullPointerException complaining foo is not defined:
curl -XPOST "http://localhost:9200/index/model/_search" -d'
{
  "query": {
    "function_score": {
      "script_score": {
        "script": "foo = 2; foo + 2",
        "lang": "python"
      }
    }
  }
}'

This is similar to https://github.com/elastic/elasticsearch-lang-python/issues/19 but in this case I'm trying to reference the variable just initialised. I'm using ES 1.4.3 and python plugin 2.4.1. I've tried both 1.5 ES version and the plugin snapshot versions, and the behaviour is the same.
Note that the above is totally valid if we change "lang" to "groovy".
Am I missing out something ?
Please help,
Thank you

Actually your python script does not return anything. When function_score API tries to access the value, it generates a NPE.
I think we need to catch it properly in elasticsearch core code itself.
What are you trying to achieve here? Could you illustrate your example with a more concrete use case?
Also, could you put here the full stack trace?
cc @brwe Do you think we should detect that in elasticsearch core to avoid NPE if the language returns null. WDYT?

Ok, some context. My cluster has currently around 1M docs which are used to search. We apply a bunch of filtering and in the end we use the script score to compute some business logic. The script is multi-line and written in groovy. Irrelevant whitespace and comments are then stripped, cached and then sent to ES as a dynamic script (which then ES caches it too).
This works quite well for us: response time is consistently 30-50ms~ despite the high search query demand.
Groovy is not considered a sandboxed language anymore. So, in theory using Python could make our scripts bit more readable and shorter (if we don't take a performance hit) and that's why I was interested in giving it a try.
Does that give some real context in this case ?

Actually your python script does not return anything. When function_score API tries to access the value, it generates a NPE.

curl -XPOST "http://localhost:9200/index/model/_search" -d'
{
  "query": {
    "function_score": {
      "script_score": {
        "script": "return 2",
        "lang": "python"
      }
    }
  }
}'

Specifying return raises a python error:
[2015-03-30 09:32:42,076][DEBUG][action.search.type       ] [Belathauzer] [index][2], node[0AjBuVPwSWyjcJJAePpBOw], [P], s[STARTED]: Failed to execute [org.elasticsearch.action.search.SearchRequest@65c6eb62] lastShard [true]
org.elasticsearch.search.SearchParseException: [index][2]: from[-1],size[-1]: Parse Failure [Failed to parse source [{
  "query": {
    "function_score": {
      "script_score": {
        "script":"return 2",
        "lang": "python"
      }
    }
  }
}
]]
	at org.elasticsearch.search.SearchService.parseSource(SearchService.java:721)
	at org.elasticsearch.search.SearchService.createContext(SearchService.java:557)
	at org.elasticsearch.search.SearchService.createAndPutContext(SearchService.java:529)
	at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:291)
	at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231)
	at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228)
	at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.index.query.QueryParsingException: [search_development] script_score the script could not be loaded
	at org.elasticsearch.index.query.functionscore.script.ScriptScoreFunctionParser.parse(ScriptScoreFunctionParser.java:93)
	at org.elasticsearch.index.query.functionscore.FunctionScoreQueryParser.parse(FunctionScoreQueryParser.java:133)
	at org.elasticsearch.index.query.QueryParseContext.parseInnerQuery(QueryParseContext.java:302)
	at org.elasticsearch.index.query.IndexQueryParserService.innerParse(IndexQueryParserService.java:382)
	at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:281)
	at org.elasticsearch.index.query.IndexQueryParserService.parse(IndexQueryParserService.java:276)
	at org.elasticsearch.search.query.QueryParseElement.parse(QueryParseElement.java:33)
	at org.elasticsearch.search.SearchService.parseSource(SearchService.java:705)
	... 9 more
Caused by: SyntaxError: ("'return' outside function", ('<script>', 1, 0, ''))

	at org.python.core.ParserFacade.fixParseError(ParserFacade.java:95)
	at org.python.core.CompilerFacade.compile(CompilerFacade.java:36)
	at org.python.core.Py.compile_flags(Py.java:1823)
	at org.python.core.Py.compile_flags(Py.java:1828)
	at org.python.util.PythonInterpreter.compile(PythonInterpreter.java:277)
	at org.python.util.PythonInterpreter.compile(PythonInterpreter.java:272)
	at org.python.util.PythonInterpreter.compile(PythonInterpreter.java:266)
	at org.elasticsearch.script.python.PythonScriptEngineService.compile(PythonScriptEngineService.java:70)
	at org.elasticsearch.script.ScriptService.compile(ScriptService.java:297)
	at org.elasticsearch.script.ScriptService.search(ScriptService.java:429)
	at org.elasticsearch.index.query.functionscore.script.ScriptScoreFunctionParser.parse(ScriptScoreFunctionParser.java:90)
	... 16 more

Full stack of the NullPointerException with the original code:
[2015-03-30 09:31:19,067][DEBUG][action.search.type       ] [Belathauzer] All shards failed for phase: [query]
org.elasticsearch.search.query.QueryPhaseExecutionException: [index][4]: query[filtered(function score (ConstantScore(*:*),function=script[foo = 2; foo +2], params [null]))->cache(+_type:property +org.elasticsearch.index.search.nested.NonNestedDocsFilter@55c9b8e4)],from[0],size[10]: Query Failed [Failed to execute main query]
	at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:163)
	at org.elasticsearch.search.SearchService.loadOrExecuteQueryPhase(SearchService.java:286)
	at org.elasticsearch.search.SearchService.executeQueryPhase(SearchService.java:297)
	at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:231)
	at org.elasticsearch.search.action.SearchServiceTransportAction$5.call(SearchServiceTransportAction.java:228)
	at org.elasticsearch.search.action.SearchServiceTransportAction$23.run(SearchServiceTransportAction.java:559)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
	at org.elasticsearch.script.python.PythonScriptEngineService$PythonSearchScript.runAsDouble(PythonScriptEngineService.java:215)
	at org.elasticsearch.common.lucene.search.function.ScriptScoreFunction.score(ScriptScoreFunction.java:100)
	at org.elasticsearch.common.lucene.search.function.FunctionScoreQuery$FunctionFactorScorer.innerScore(FunctionScoreQuery.java:160)
	at org.elasticsearch.common.lucene.search.function.CustomBoostFactorScorer$AnyNextDoc.score(CustomBoostFactorScorer.java:133)
	at org.elasticsearch.common.lucene.search.function.CustomBoostFactorScorer.score(CustomBoostFactorScorer.java:71)
	at org.apache.lucene.search.TopScoreDocCollector$OutOfOrderTopScoreDocCollector.collect(TopScoreDocCollector.java:140)
	at org.apache.lucene.search.Weight$DefaultBulkScorer.scoreAll(Weight.java:193)
	at org.apache.lucene.search.Weight$DefaultBulkScorer.score(Weight.java:163)
	at org.apache.lucene.search.BulkScorer.score(BulkScorer.java:35)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:621)
	at org.elasticsearch.search.internal.ContextIndexSearcher.search(ContextIndexSearcher.java:191)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:491)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:448)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:281)
	at org.apache.lucene.search.IndexSearcher.search(IndexSearcher.java:269)
	at org.elasticsearch.search.query.QueryPhase.execute(QueryPhase.java:157)
	... 8 more

So a few things:

It would be great if we could have multi-line python scripts. Maybe specified as an array of strings which then have the right indentation in order to be parsed/eval correctly.
While it failed above with the return - note that removing the return (and making script: "2") does make the function score work and apply 2 to every document - it would be great if we can make sure early returns work as expected.

Any new feedback on this? Thanks.

This issue was moved to elastic/elasticsearch#13370


interpolatedString seems undefined

Describe the bug
When running pnpm dev, I get the following:
D:/somefolder/node_modules/.pnpm/astro-i18next@1.0.0-beta.21_astro@2.6.3/node_modules/astro-i18next/src/utils.ts:59
    interpolatedString = interpolatedString.replaceAll(
                                            ^

TypeError: Cannot read properties of undefined (reading 'replaceAll')

To Reproduce
Steps to reproduce the behavior:

Create an astro project with pnpm
Add astro-18next and setup
Run pnpm dev
See error

Expected behavior
Shouldn't crash
Context (please complete the following information):

astro-i18next version: ^1.0.0-beta.21
astro version: ^2.3.0
OS: Windows 11
Browser: Brave

Same problem here using <Trans /> component.

No I was trying to migrate an existing project and gave up

I'm not using the Trans component anymore so I could migrate to pnpm but still, no solution here

Seems like its incompatible with<EMAIL_ADDRESS>Downgrading to v22 resolved the issue for me.

If it helps anyone:
If you install react-i18next, it uses version 23 by default and breaks this library, with this same error, the solution is to set the i18next version to the latest compatible version, in my case it was:
     "i18next": "22.5.1",


Add CreatedTimestamp and ModifiedTimestamp Columns to list commands

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


Feature request: ? keymap help

Hi.
Thanks so much for this plugin. I use it daily :)
I've noticed that we've recently been blessed with several new features (such as sessions and api request params), and have since also been given several new keybinds to remember.
Could we get something like nerdtree (example below) where the user could press ? to see a quick summary/cheat sheet of all the possible buttons? It's getting hard to track!

Thanks

Moving this to the discussions area, as there seems to be activity over there


Sinking aggregated data does not work

Hi. I have an issue with Sinking data to MongoDB using your code.
I read similar issues like #55 and #36 and I know possible solutions but I couldn't make them work with my situation.
I have a stream that I aggregate values of it within a window using KSQL. here is my query:
CREATE TABLE WATCHTIME_AGG AS \
 SELECT ID, MAX(progress) AS progress, MAX(position) AS position, MAX(timestamp) AS timestamp \
   FROM WATCHTIME \
   WINDOW TUMBLING (SIZE 1 HOUR) \
   GROUP BY ID;

It creates a table which it's ROWKEYs are like this:

149988257825337_6696933 : Window{start=1540024620000 end=-}
null_11646895 : Window{start=1540024620000 end=-}
153974245826038_6222197 : Window{start=1540024620000 end=-}
151415963389431_11197398 : Window{start=1540024620000 end=-}
153173851492214_9207426 : Window{start=1540024620000 end=-}

But it can't be Sinked because of JSON error when key type is JSON:
com.fasterxml.jackson.core.JsonParseException: Invalid UTF-8 start byte 0x90\n at [Source: (byte[])\"null_12208937\u0000\u0000\u0001f\ufffd\u0007\ufffd\u0000\"; line: 1, column: 19]
And this error when key type is String:
org.bson.json.JsonParseException: JSON reader was expecting a value but found 'null_12208937'
The key should be a valid JSON or Avro if I'm not wrong, but window aggregation won't produce JSON and won't let me change it to a valid one.
What can I do to make it work?
It's a really simple use-case and should be straightforward. But at least I could not make it work.

I also tried hoisting with no success.
{
  "connector.class": "at.grahsl.kafka.connect.mongodb.MongoDbSinkConnector",
  "topics": "WATCHTIME_AGG",
  "mongodb.connection.uri": "mongodb://...?w=1&journal=true",
  "name": "watchtime-mongo",
  "value.converter.schema.registry.url": "http://schema-registry:8081",
  "value.converter.schemas.enable": "false",
  "value.converter": "org.apache.kafka.connect.json.JsonConverter",
  "key.converter.schema.registry.url": "http://schema-registry:8081",
  "key.converter.schemas.enable": "false",
  "key.converter": "org.apache.kafka.connect.json.JsonConverter",
  "mongodb.collection": "watchtime",
  "transforms": "id_to_object",
  "transforms.id_to_object.type": "org.apache.kafka.connect.transforms.HoistField$Key",
  "transforms.id_to_object.field": "id"
}

Hi @masihyeganeh thx for getting in touch!

the question is how do you want the data of the KTable to be inserted into the MongoDB collection? By that I mean how would a mongodb document look like: would it include the rowkey information as a field, should this even become the _id field in the resulting document? because then you may need further post processors

apart from that a plain naive insertion generating new BSON Object Id for each KTable entry in the MongoDB collection should work with a small change only, namely specify the StringConverter for the key part of the sink record like so:

{ ...
"key.converter.schemas.enable": "false",
	  "key.converter": "org.apache.kafka.connect.storage.StringConverter",
... }

The rest should be fine from what I've seen. Also there is no need to use schema-registry for this in my opinion.

Thanks for swift reply.
To answer your first question, I'd like to have a mongo collection to store watch time of users for movies in windows. Something like this:
{
    "_id": "{user1_movie1_windowStartTime}",
    "user": "user1",
    "movie": "movie1",
    "watchtime": "{aggregated watchtime}",
    ...
}

And for the second one, the second error (org.bson.json.JsonParseException: JSON reader was expecting a value but found 'null_12208937') happened when I used org.apache.kafka.connect.storage.StringConverter as key converter.
And hoisting didn't make any difference even in error messages

@masihyeganeh

for me the configuration with a StringConverter for key worked fine. I used some different data but the rowkey is also coming from a WINOWED calculation and contained data of similar format than yours. so I'm currently wondering what's the problem at your side. this was my configuration

{ "name": "ksql-ingest-01",
	"config":
    {
	  "connector.class": "at.grahsl.kafka.connect.mongodb.MongoDbSinkConnector",
	  "topics": "DEMO_KSQL_TABLE",
	  "mongodb.connection.uri": "mongodb://localhost:27017/kafkaconnect?w=1&journal=true",
	  "value.converter.schemas.enable": "false",
	  "value.converter": "org.apache.kafka.connect.json.JsonConverter",
	  "key.converter.schemas.enable": "false",
	  "key.converter": "org.apache.kafka.connect.storage.StringConverter",
	  "mongodb.collection": "demo_ksql_table",
	  "transforms": "id_to_object",
	  "transforms.id_to_object.type": "org.apache.kafka.connect.transforms.HoistField$Key",
	  "transforms.id_to_object.field": "id"
	}
}

the actual problem here seems to be that the rowkey when generated from windowed calculations is containing a binary structure, which is why the interpretation as string in kafka connect contains non-printable characters. you can see this when you try to e.g. use the console consumer and print the keys of the underlying topic. there are several efforts underway to fix this and besides give rowkeys a well defined semantics. see the following KSQL issues:

https://github.com/confluentinc/ksql/issues/1497
https://github.com/confluentinc/ksql/pull/2024

In the meantime you could work around this by e.g. writing your own UDF and do it in KSQL before, or writing you own SMT and let it happen in Connect. Either way if you fix it temporarily on your own you should expect breaking changes starting with CP 5.1+

w.r.t to the final _id field for the resulting document I'm wondering why you are wrapping it in '{'...'}' since it's only a string and not valid JSON anyway? Also when you want the _id field to look like this you need to do that in advance in KSQL with string functions or with an SMT since the sink connector itself has no such id generation strategy in place.

I hope this helps!

I appreciate your help man. Thanks for taking time to test it.

You mean you have a WINDOWED aggregated stream as a KTable and StringConverter can successfully convert it's binary ROWKEY to a string that can be stored in Mongo? I can't. how it works for you?

I was even thinking about a simple hash function that converts ROWKEY containing string and binary to a simple hex string. It will actually solve my problem. Isn't there any hash function or anything similar to it in KSQL?

No no, I am using { }  to show that this field is calculated from those values and is not a constant string. It's not JSON or object. sorry for misleading example.

1. You mean you have a WINDOWED aggregated stream as a KTable and StringConverter can successfully convert it's binary ROWKEY to a string that can be stored in Mongo? I can't. how it works for you?

yes the string conversion was done but like I said you get 'garbage characters' and thus a non-usable string representation but it landed in the collection as documents anyway

I was even thinking about a simple hash function that converts ROWKEY containing string and binary to a simple hex string. It will actually solve my problem. Isn't there any hash function or anything similar to it in KSQL?

you can do it with the string representation that you see on the KSQL CLI. simply add the ROWKEY field to the field list like e.g.
SELECT ROWKEY AS rk, ... FROM demo_ksql_table
doing that makes the rowkey part of the value structure of the sink record and then you can refer to it in the sink connector with the proper id generation strategy. Still you will get a representation that matches the one from the KSQL CLI e.g.
149988257825337_6696933 : Window{start=1540024620000 end=-}
overall a bit of a hack at best but should be working anyway :)

Thanks man! it's working. But I'm not sure if it is doing what I want or not. I hope it does.
You're great, Thanks

Well the latter is not a good sign... I suggest you better check if it behaves like expected.

Ok, My concern was right. It is not doing what I want.
Here is my config again:
{
  "connector.class": "at.grahsl.kafka.connect.mongodb.MongoDbSinkConnector",
  "topics": "WATCH_AGG",
  "mongodb.connection.uri": "mongodb://...",
  "name": "watch-mongo",
  "value.converter.schemas.enable": "false",
  "value.converter": "org.apache.kafka.connect.json.JsonConverter",
  "key.converter.schemas.enable": "false",
  "key.converter": "org.apache.kafka.connect.storage.StringConverter",
  "mongodb.collection": "watch",
  "transforms": "id_to_object",
  "transforms.id_to_object.type": "org.apache.kafka.connect.transforms.HoistField$Key",
  "transforms.id_to_object.field": "id"
}

And it is producing records like this:
/* 1 */
{
    "_id" : ObjectId("5bcf2831471afa0001075f6f"),
    "VID" : NumberLong(7571493),
    "POSITION" : NumberLong(700),
    "PROGRESS" : 0.986749365661122,
    "TIMESTAMP" : NumberLong(1540287039866),
    "ID" : "153207088294975.7571493.",
    "AFCN" : "153207088294975"
}

/* 2 */
{
    "_id" : ObjectId("5bcf2831471afa0001075f7e"),
    "VID" : NumberLong(7571493),
    "POSITION" : NumberLong(700),
    "PROGRESS" : 0.986749365661122,
    "TIMESTAMP" : NumberLong(1540287039866),
    "ID" : "153207088294975.7571493.",
    "AFCN" : "153207088294975"
}

/* 3 */
{
    "_id" : ObjectId("5bcf2831471afa0001075f96"),
    "VID" : NumberLong(7571493),
    "POSITION" : NumberLong(700),
    "PROGRESS" : 0.986749365661122,
    "TIMESTAMP" : NumberLong(1540287039866),
    "ID" : "153207088294975.7571493.",
    "AFCN" : "153207088294975"
}

As you can see, it is not updating records with same ID, instead it inserts new records.
the _id should be the identical for the records with same ID (if I'm not wrong).
Is it? Am I wrong? I thought it should upsert records in Mongo.

Sorry, my fault.
Thanks for helping.

This issue still seems to occur with the KSQL 5.1.x branch...
The key on a windowed tables still has binary data embedded making it unusable for JDBC Connect


Make TargetHeatingCoolingState writable

Apparently, if TargetHeatingCoolingState is not writable, you can’t add
a thermostat to a scene. This fix makes it writable from HomeKit, but
it still always remains set to HEAT.

Erm...meant to open this against upstream.


Add an option for opened file position inside tab group

When I open a file with enter key the file opens next to the last focused one.
It would be nice to have a way to open the new file to the last position in the tab group.

Thanks for the suggestion!  This is controlled by the atom/tabs package, you can do this now by enabling Settings > Packages > Tabs > Add New Tabs At End.
If I'm misunderstanding, please let me know.
Also, for future issues please use the issue template as much as possible, even for feature requests (you can just say "NA" is something isn't applicable) - the template format and details are super helpful for us when triaging issues.

I don't want to change the stardard Tabs behaviour (new tabs after the active one).
Instead in most cases using the fuzzy finder i'm searching and opening a file that isn't related closely to the active one, so I would prefer it to open to the last position of the tab group (using some key combination or another way).

Ohh ok, so you really want a keybinding to open a fuzzy finder item as the last tab like it currently works where you can open a fuzzy finder item in a split pane.  Though it's not something the team would prioritize now, I'll mention this suggestion with the other maintainers for you.


Automate common tasks

We should be able to automate common tasks

[ ] Setup icon automatically
[ ] Specify desktop file
[ ] Specify entry binary (so we can automatically put desktop integration into this path and suffix with .wrapper)

Possibly this information can be extracted from the AppStream metainfo file that should go into every AppImage.


backport-2.0: sql: permited collated strings as index constraints

PR: https://github.com/cockroachdb/cockroach/pull/25175
From release notes:

Collated strings can now be used in WHERE clauses on indexed columns. [#25175][#25175] {% comment %}doc{% endcomment %}

No doc updates needed here.