text:
Implement the Gram Schmidt process

Please implement the Gram Schmidt process for the FieldMatrix<T> class type  as a method to return the orthonormal basis for some given vectors.

Two orthonormalize methods have been added to MatrixUtils. One for double-based lists of vectors, one for CalculusFieldElement-based lists of vectors.

I assume, if some of the input vectors are not linearly independent, the output should contain zero vectors?
    @Test
    public void testOrthonormalize4() {
        final List<RealVector> basis =
                        MatrixUtils.orthonormalize(Arrays.asList(new ArrayRealVector(new double[] { 2, 3 }),
                                                                 new ArrayRealVector(new double[] { 2, 7 }),
                                                                 new ArrayRealVector(new double[] { 4, 5 })));
        Assert.assertEquals(3, basis.size());
        checkVector(basis.get(0), 0.5547001962252291, 0.8320502943378437);
        checkVector(basis.get(1), -0.8320502943378437, 0.5547001962252291);
        checkVector(basis.get(2), 0.0, 0.0);

    }

It should throw an exception. In this case, due to the normalization process, when the third vector is processed, it has a very small non-zero norm (its components are -4.44e-16 and -6.11e-16), so it is computed as a regular vector.
I will add an additional argument with a threshold on norm to consider such small norms as zero and to throw an exception there.

Sorry I thought, that instead of an exception the 0-vectors can be added to the result.

This looks rather awkward to me as an API.
What should we do if the dependent vector is the 3rd one but a 4th vector afterwards is independent? Should we
still put the 0 vector as the 3rd one in the list?
Another possibility (which I would prefer), would be to just ignore the vector ant continue the loop, so in the previous case with 4 vectors and the 3rd one dependent of the first two, we would return a list of length 3 built from vectors 1, 2 and 4. The mathematical meaning would be: " we return a basis of the span of the input vectors ". The returned list would always be a basis. Including a zero vector, we don't have a basis anymore.
I think in this case we should add a boolean flag to et the user either throw an exception or return a basis of the span.

I'm trying to match this API:

https://reference.wolfram.com/language/ref/Orthogonalize.html

It still seems awkward to me. Enforcing the fact to keep the same number of vectors by adding zero vectors if the span dimension is less then the number of vectors is not mathematically sound to me. The description reads "gives an orthonormal basis". With zero vector, it is not an orthonormal basis, where all vectors are normalized.
I will launch a thread on the forum to gather opinions from other users.

The topic in the forum is here: Deciding about an API for Gram-Schmidt orthogonalization feature

As per discussion above, I implemented all three choices : generate exception, add zero vector or reduce basis to span.

authors: axkr maisonobe

repo: Hipparchus-Math/hipparchus


text:
feat: create "mod-export.sh" for easier cleanup of dev environment

As mentioned in #1, @phoddie mentioned:

Is there a way to unsetup? Since the .profile is modified automatically, it could be nice to store it with the tool somehow.

Since this CLI tool appends several exports and modifies the global PATH, cleaning up those changes could be a hassle to automate. It is also a "leaky abstraction" to have all of those changes visible to the end user, who might be familiar with maintaining their shell profile.
If those changes were collected under a single mod-export.sh (similar to the export.sh file used by the esp-idf tooling), then appending a single source $MOD_PATH/mod-export.sh (MOD_PATH being somewhere under the ~/.local/share directory with the other installed dependencies) to the shell profile will be much easier to maintain long term and remove through a potential xs-dev teardown command.

Resolved with the release of version 0.1.0: https://github.com/HipsterBrown/xs-dev/blob/main/CHANGELOG.md#010

This is working nicely and looks like a clean solution. I did run into a problem trying it out. My Mac didn't have a ~/.bashrc file led to an error. I worked around it but I'm not sure I got it right.

@phoddie can you share the error output? Where do you normally put your shell environment config?
I can update the shell profile logic to ensure the assumed file exists.

Here's the output:
jphAir2018:promiscuous hoddie$ xs-dev setup
Setting up the mac tools!
✔ Cloning Moddable-OpenSource/moddable repo
/usr/local/lib/node_modules/xs-dev/node_modules/gluegun/build/index.js:13
    throw up;
    ^

Error: file not found /Users/hoddie/.bashrc
    at /usr/local/lib/node_modules/xs-dev/node_modules/gluegun/build/toolbox/patching-tools.js:183:23
    at step (/usr/local/lib/node_modules/xs-dev/node_modules/gluegun/build/toolbox/patching-tools.js:33:23)
    at Object.next (/usr/local/lib/node_modules/xs-dev/node_modules/gluegun/build/toolbox/patching-tools.js:14:53)
    at /usr/local/lib/node_modules/xs-dev/node_modules/gluegun/build/toolbox/patching-tools.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/usr/local/lib/node_modules/xs-dev/node_modules/gluegun/build/toolbox/patching-tools.js:4:12)
    at readFile (/usr/local/lib/node_modules/xs-dev/node_modules/gluegun/build/toolbox/patching-tools.js:179:12)
    at Object.<anonymous> (/usr/local/lib/node_modules/xs-dev/node_modules/gluegun/build/toolbox/patching-tools.js:86:46)
    at step (/usr/local/lib/node_modules/xs-dev/node_modules/gluegun/build/toolbox/patching-tools.js:33:23)
    at Object.next (/usr/local/lib/node_modules/xs-dev/node_modules/gluegun/build/toolbox/patching-tools.js:14:53)

Where do you normally put your shell environment config?

~/.profile

source: gharchive/issue

authors: HipsterBrown phoddie

repo: HipsterBrown/xs-dev

license: MIT

license_type: permissive

license_source: github-api


text:
フィルタサイズを変えて実験してみる

[x] 学習開始
[x] 学習完了
[x] configのweak逆転を修正
[x] これで良いか
[x] テスト

フィルタサイズを512と1に、判別器をそのまま・弱くして学習させた。

weakのフラグが逆転していた古いコードを使っていた。
判別器を弱くしないものは判別器のaccuracyが1付近になっていた。学習を止める。

フィルターサイズ512「ご静聴ありがとうございました」

300付近の「り」の子音や、400手前の「ご」の子音が消えている。

フィルターサイズ1「ご静聴ありがとうございました」

子音が消え気味。アライメントがしっかり取られていない説が濃厚・・・？
F0が揺れる傾向にあるが、これは平滑化をかければかなりましになる。

４つの学習曲線。結構安定する。

repo: Hiroshiba/yukarin


text:
[Bug]  TypeError: Cannot read properties of undefined (reading 'message')] 'writer error'

描述问题
使用讯飞星火认知免费api，对接one-api，在chatgpt-next-web-LangChain中使用。

回复一直都带有如下错误。
{
  "error": true,
  "message": "[object Object]"
}

在原版chatgpt-next-web不会出现这个问题。
如何复现
1.填写好配置

2.选择模型

3.使用出错

预期行为
没有如下错误。
{
  "error": true,
  "message": "[object Object]"
}

相关截图
在one-api使用这个项目，one-api会出现下面错误。

Deployment
Docker
Desktop (please complete the following information):

OS: Windows
Browser Microsoft Edge
Version 版本 116.0.1938.76 (正式版本) (64 位)

Smartphone (please complete the following information):
不会在手机使用。
Additional Logs
无

对了，我使用的版本是四天前github仓库的源码。
希望作者大大能解决下chatgpt-next-web-LangChain使用出错，而chatgpt-next-web不会出错的问题。
最后，感谢作者大大开源本项目，让我这个小白能用上ai。再次感谢

插件功能是基于微调版本的 OpenAI ChatGPT 模型实现的，仅限于以下几个模型。其它厂商的模型需要关闭插件功能，后面的版本我会修改规则将其它模型的插件功能默认关闭。

gpt-4
gpt-4-0613
gpt-4-32k
gpt-4-32k-0613
gpt-3.5-turbo
gpt-3.5-turbo-0613
gpt-3.5-turbo-16k
gpt-3.5-turbo-16k-0613

repo: Hk-Gosuto/ChatGPT-Next-Web-LangChain


text:
Incorrect behaviour of windowcovering in Example 13

Hello,
I'm trying to set up a windowcovering, using example 13 as a source, but I've observed a strange behaviour from the TargetPosition Characteristic value in this example.
target=new Characteristic::TargetPosition(0);       // Window Shades have positions that range from 0 (fully lowered) to 100 (fully raised)
target->setRange(0,100,10);                         // set the allowable target-position range to 0-100 IN STEPS of 10
target is supposed to be in incremental values of 10, but in HomeKit seems to allow every int values.
I've tried other accessories with range values, like fan rotationspeed in example 4, which seems to work correctly.
Am I the only to observe this behaviour ? Is it normal ?

I just tried this out and can confirm the Home App no longer respects setRange().   The Eve for Home Kit app continues to only allow changes in the steps specified, but the Home App ignores.  Must be a change Apple made somewhat recently.
To be fair the original HAP-R2 spec states that only Characteristics with INT or FLOAT can change their min/max/step values.  This means step values will still work with Brightness (for a lightbulb) and Rotation Speed (for a fan), which are INT and FLOAT, respectively.  But CurrentPosition and TargetPosition are defined as UINT8, so in principle the Home App should ignore the mix/max/step requests.  They used to allow min/max/step changes for most numeric-based characteristics, but now it seems like the Home App finally caught up to the 2019 specs.
Thanks for catching this.  Since there is a chance that Apple reverts this new restriction back to prior practice in a future release, I'll make a note in the documentation, but still allow the user to set for now.

Ah ok, interesting. Thanks for the heads up.
Do you see any workaround to force a fixed number of positions ? Or is it better to work with the full range allowed by Apple ?

One possibility would be to enforce the step sizes in the sketch itself.  For example, the user might request 42% as a target state.  After receiving this you could round to 40% and set the window shade accordingly.  Once set, you can then update both currentPosition and targetPosition, so that the Home App slider resets to 40%.

Ok thanks, I will try that

authors: HomeSpan dofet

repo: HomeSpan/HomeSpan


text:
cmd/list: delineate formulae and casks

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

Listing everything without qualifying which is which is confusing for
some users.
Fixes #10897.

Review period will end on 2021-03-23 at 05:32:21 UTC.

Before:
❯ brew ls
adns                    gh                      libgcrypt               mit-scheme              psutils
autoconf                ghostscript             libgpg-error            moreutils               pylint
automake                git                     libidn2                 mpdecimal               python-tabulate
awscli                  git-delta               libksba                 mpfr                    python@3.9
bash                    gitleaks                libmetalink             msgpack                 rbenv
bat                     glib                    libmpc                  ncurses                 readline
[snip]
1password                 daisydisk                 iterm2                    mactex                    taskwarrior-pomodoro
alacritty                 docker                    julia                     orka                      typora
alfred                    dropbox                   karabiner-elements        skim                      zoom
coconutbattery            grammarly                 lyx                       slack

After:
==> Formulae:
adns                    gh                      libgcrypt               mit-scheme              psutils
autoconf                ghostscript             libgpg-error            moreutils               pylint
automake                git                     libidn2                 mpdecimal               python-tabulate
awscli                  git-delta               libksba                 mpfr                    python@3.9
bash                    gitleaks                libmetalink             msgpack                 rbenv
bat                     glib                    libmpc                  ncurses                 readline
[snip]
==> Casks:
1password                 daisydisk                 iterm2                    mactex                    taskwarrior-pomodoro
alacritty                 docker                    julia                     orka                      typora
alfred                    dropbox                   karabiner-elements        skim                      zoom
coconutbattery            grammarly                 lyx                       slack

One other suggestion: it would be nice to only show the Formulae: message if there are formulae installed and only show the Casks: message if any casks are installed.

That would be nice, yes. I'll need to think more carefully about the best way to do that.

One thing to consider, should this be done when --full-name is passed?

Possibly, yes. I'll probably save that for a separate PR, perhaps along with what to do about ls_args. https://github.com/Homebrew/brew/pull/10899#discussion_r598659321

Review period ended.

Will work on outstanding issues in a follow-up. Thanks for the feedback, @MikeMcQuaid, @Rylan12.

source: gharchive/pull-request

authors: BrewTestBot carlocab

repo: Homebrew/brew


text:
metafiles: include Cargo.lock and go.sum

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

We use cargo and go to provide external dependencies when building
some formulae. Let's install the lock files that they generate.
This will make it easier to find out the precise external dependencies
our formulae rely on, and enables auditing them for things like security
vulnerabilities.

Review period will end on 2023-03-01 at 09:56:04 UTC.

I don't think we should install these, they aren't useful to users. We could consider e.g. outputting their contents in brew test-bot runs for consumption through GitHub Actions logs instead.

Actions logs are ephemeral. If a vulnerability in a crate is disclosed (e.g. ones susceptible to this CVE), then we'll need to find a way to check past logs for the problematic crate -- if the logs are even still there.
Giving users the ability to audit these lock files for themselves is useful. Auditing them in CI would be even better, but I don't see how to do that properly without doing something like this.

Actions logs are ephemeral.

Are they? How long do they last until they are deleted?

Giving users the ability to audit these lock files for themselves is useful.

I don't think installing them unconditionally for all users is useful enough, given even we don't have a direct use for this yet.

Auditing them in CI would be even better, but I don't see how to do that properly without doing something like this.

Put the files anywhere else except in the keg/bottle.

Actions logs are ephemeral.

Are they? How long do they last until they are deleted?

Yep, example: https://github.com/Homebrew/homebrew-core/pull/116495/checks
They last for at most 90 days: https://docs.github.com/en/organizations/managing-organization-settings/configuring-the-retention-period-for-github-actions-artifacts-and-logs-in-your-organization

Giving users the ability to audit these lock files for themselves is useful.

I don't think installing them unconditionally for all users is useful enough, given even we don't have a direct use for this yet.

I actually already have a use in mind. I'll implement it.

Auditing them in CI would be even better, but I don't see how to do that properly without doing something like this.

Put the files anywhere else except in the keg/bottle.

Where else can we put them? The only other natural place is the tab, but that's still in the keg/bottle. We could maybe add them to the GHP manifest, but that'll end up on disk too -- in a much less useful form.

Where else can we put them?

Somewhere else on the internet. GitHub Packages? We're going to need to start doing this for e.g. caching brew test-bot runs anyway.

We could maybe add them to the GHP manifest, but that'll end up on disk too -- in a much less useful form.

Could be somewhere else on GHP that's not included in the manifest.

Review period ended.

Passing on this, sorry. Will consider the other approaches we discussed.

authors: BrewTestBot MikeMcQuaid carlocab


text:
feat: allow font install on linux

[x] Have you followed the guidelines in our Contributing document?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same change?
[ ] Have you added an explanation of what your changes do and why you'd like us to include them?
[x] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew typecheck with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

This should disable quarantine on Linux, allow installing fonts and set a location for the fonts. Marking this as draft until I've had a moment to test it.
Waiting for https://github.com/Homebrew/brew/pull/18808 to be merged

Installing fonts now works, although it is still installing in the macOS location. I can't get the DEFAULTS to work.


text:
compilers: support GCC 10 as a formula

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[x] Have you successfully run brew style with your changes locally?
[x] Have you successfully run brew tests with your changes locally?

GCC 10 is now released. The fix in this pull request is needed to update the GCC formula to version 10.

Doh you beat me to it by one minute: https://github.com/Homebrew/brew/pull/7529

I've merged, we'll need this to ship to users before we can update GCC to version 10.


text:
tests/tap_syntax: test API generation.

This should avoid making changes in taps that break API generation.
This is maybe not the right place for this to live but it felt most appropriate to me.
See also https://github.com/Homebrew/brew/pull/15404

This write files to the current directory so might want to Dir.mktmpdir here.
It also deletes files in the current directory too, including a formula directory.

This write files to the current directory so might want to Dir.mktmpdir here.

Yeh, needs to be done in a subdirectory, minimum and probably respect --local etc.

Can we split this to something that can be run concurrently with tap_syntax? tap_syntax is already really slow 😅

Would rather not add concurrent stuff to brew test-bot as it's mostly designed to be run sequentially. Reasonable to not slow things down more, though.

Alternatively, we could run it only on merge_group and push for homebrew/core?

Yes, this is a good idea. Perhaps an optional flag that's added in homebrew/core or homebrew/cask* or do you think checking the event type should be done within brew test-bot?

I believe @carlocab meant extracting that logic into a separate step in test-bot and running it as a separate job in homebrew-core, so those two test-bot steps could run in parallel on our CI.

Yep, this. test-bot can still be 100% serial. However, running this only for merge_group/push is probably simpler and cleaner, so I think we should do that instead.

Yes, this is a good idea. Perhaps an optional flag that's added in homebrew/core or homebrew/cask* or do you think checking the event type should be done within brew test-bot?

Not a super strong opinion, but: probably check here in test-bot. We already have a lot of flags, and they're not all super easy to understand.

@carlocab Should be good now, let me know what you think!

authors: Bo98 MikeMcQuaid carlocab

repo: Homebrew/homebrew-test-bot


text:
Cached Merkle Trees

In the actual Merkle Tree implementation a minimum number of leaves/nodes is actually generated to create a tree of height MIN_HEIGHT with respect to the one you would expect by setting the HEIGHT parameter in MerkleTreeConfig.
This is obviously done for efficiency reason, but: padding nodes are added only between MIN_HEIGHT and HEIGHT , therefore you won't actually have 2^(HEIGHT - 1) leaves: this means that if you want to create a Merkle Proof starting from a specific padding leaf, or reconstruct the Merkle Root starting from all the leaves, you can't;
Of course if we want to keep this implementation the most immediate solution would be to explicitly pass all the leaves according to the desired HEIGHT and keep everything in memory.
But, if a given subtree has all or some of the leaves all to null, sure there is a smarter way to quickly and efficiently compute the root of that tree via pre-computation and caching:
it is worth to investigate this and implement optimizations in order to efficiently compute and represent a "full" Merkle Tree and not a "virtually full" like the actual one.

Closed with #69.
We have now a FieldBasedOptimizedMHT, suitable for small sized Merkle Trees, exploiting batch hash and precomputed node values to boost the performances.
For bigger Merkle Trees we have introduced Sparse Merkle Trees using DB as a support and using lazy root computation to speed up performances where needed. This last one is still WIP.

repo: HorizenOfficial/ginger-lib


text:
Engine Refactor about the use of Pointers

Refactor performed with the purpose of discarding unnecessary Smart Pointers and substitute them with Raw or Unique Pointers.

@markmeliaa Thank you very much for your feedback Mark! It's important to discuss the changes, I really appreciate it.

Thank you both for your reviews!

authors: gerard-queralt sncarbo

repo: Horizons-Games/Axolotl-Engine


text:
DGV update issues when the same column is selected as both the x and y data set.

The data grid view reads point data in this circumstance, from the first row entry found in the dgv, for each row. This can either be the x or y column, but if data is arbitrarily entered into the other column, points are not created any further.
What should happen is that when one column is present and is assigned as both the x and y data sets, then only one column should be available to edit in the dgv. This reduces user confusion and makes data entry more intuitive.

With the code changes from resolving issue #3, this issue is tolerable, but not yet resolved. It is becoming a lower priority bug for the time being.

repo: Hoshiningen/Data-Fitting

license: mit

license_source: bigquery


text:
+page.gql are sent twice

Discussed in https://github.com/HoudiniGraphql/houdini/discussions/609

Originally posted by philippxbt October 17, 2022
Hi,
I'm using automatic loading for my queries by adding a +page.gql file in the respective route directories. I have also defined the variables functions, because all my queries have variables.
The queries are working, however, I noticed that each graphql request is sent twice to the server, the first request without variables and the second one with the variables.
Is this default behavior or am I doing something wrong?
A simple way to reproduce this is to have:

# +page.gql

query ProjectsList($limit: Int) {
  project(limit: $limit) {
    username
}

And add a log in your client fetchQuery. You will see that it will be fired 2 times.
This is because the preprocessor will generate code in: +page.js and +layout.js.
To fix this:

+page.gql should only affect +page.js
+layout.gql should only affect +layout.js

For me this also happens with queries without any variables, @jycouet can you confirm that?

Yes, I confirm.
It's fixed in the PR #633 that will be merged soon 👍

My guess is that this is also related to the following issue:
Assuming the following routes structure:

navigating to /some-collection/some-page triggers the following queries in this order:

routes/layout.gql - (expected)
routes/page.gql - (not expected)
routes/[collectionHandle]/[slug]/page.gql - (expected)

I guess that the query routes/layout.gql leads to also querying routes/page.gql which should not be the case, right?

Yes, exactly.
And it's what is fixed in https://github.com/HoudiniGraphql/houdini/pull/633 🥳

authors: grischaerbe jycouet

repo: HoudiniGraphql/houdini


text:
Hey, add more language to Website

hey @HridoyHazard, I can add more languages to the website, so more people can use it
I like to add the Marathi Language
so please can you assign this issue to me

Can you please add hacktoberfest label

first make a valid pr. after that i will add hacktoberfest label

Ok

repo: HridoyHazard/HazzWeather


text:
"CSSValue X has to be a Y value" is logged despite using SilentCssErrorHandler

I use HtmlUnit 2.58.0 and the corresponding HtmlUnit web driver from Geb 4.1 on top of Selenium 3.141.59.
My custom WebClient sets a SilentCssErrorHandler inside overridden modifyWebClient. I actually was expecting this to silence log lines like
13:28:11.582 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(544px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.587 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(768px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.587 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(1012px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.587 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue '0\0 ' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.597 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(544px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.599 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(768px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.599 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(1012px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.599 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue '0\0 ' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.603 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(544px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.603 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(768px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.604 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(1012px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.604 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue '0\0 ' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.607 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(544px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.607 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(768px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.607 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(1012px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.608 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue '0\0 ' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.610 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(544px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.610 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(768px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.610 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(1012px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.610 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue '0\0 ' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.616 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(544px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.616 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(768px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.617 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(1012px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.617 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue '0\0 ' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.641 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(544px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.641 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(768px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.642 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue 'calc(1012px - 0.02px)' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.
13:28:11.642 [main] WARN  c.g.h.j.host.css.CSSStyleSheet - CSSValue '0\0 ' has to be a 'px', 'em', '%', 'ex', 'ch', 'vw', 'vh', 'vmin', 'vmax', 'rem', 'mm', 'cm', 'Q', or 'pt' value.

in an otherwise successful test opening on https://github.com/trending, selecting the top 3 projects and opening their GH pages.

Hi Alexander,
the CssErrorHandler handles (mainly) errors found while parsing the css file. But this warning is a bit more different. The css is correct but HtmlUnit is not able to deal with this calc stuff and therefore reports this warning.
You can disable this using set the log level for HtmlUnit or for only the CSSStyleSheet class.
What do you think - maybe i have to change the text of the warning a bit or do you still think i should use the error handler here?
I know the best would be to support this calc stuff (and many more css thinks) but my time is limited. Maybe you like to help with stuff like this - PR's are always welcome.

OK, I think if I can programmatically define the log level for CSSStyleSheet in a generic way, that will be fine. As HtmlUnit uses Commons Logging, actually in my Geb configuration script (which is used in multiple project, each of which might use a different logging tool) I would like to set the log level. The Commons Logging API is not very helpful in determining which logging framework is detected and used by it during runtime and then setting the level there. So how can I do that? I know this is no longer a question specific to HtmlUnit, but because you suggested setting the log level, I would like to know.

@kriegaex What rbri means it to turn off the log level within your logging framework for that class or htmlunit in general.
Basically what this log is telling you is "this part is not 100% implemented, don't rely on it's execution when asserting your page".
So you could either set the logger for com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet to ERROR or turn it off completely depending on the logging implementation you're using.
@rbri My personal opinion regarding this is that this should override the SilentCSSErrorHandler since it's not an error happening in CSS like it potentially would happen in a real browser but rather a limitation of the framework. On the other hand I don't even see a real use case for the 3 log levels in the CSSHandler - so one could potentially use warning for this 🤷

@twendelmuth, I know what rbri means and what the error means. I also know how to configure a logging framework. I just wanted to find a way to avoid configuring the framework in each of my applications and do it centrally in the module where HtmlUnit gets configured. But Commons Logging being a facade without its own means of setting the log level, this seems to be impossible.
@rbri, as for whether this kind of CSS warning should be captured by the SilentCssErrorHandler, let us take a look at the javadocs, shall we?
https://github.com/HtmlUnit/htmlunit/blob/d44dc2fc7610567c76232a96447f5b1d003073b4/src/main/java/com/gargoylesoftware/htmlunit/SilentCssErrorHandler.java#L23-L29
The "which ignores all CSS problems" made me believe that it would also capture (and suppress) warnings about limitations in HtmlUnit itself, as it is also a warning about CSS. If the javadoc would be improved in such a way as to help users understand that warnings about incomplete implementation are not captured by the handler and they need to configure their respecive logging frameworks for it, at least it would be clear. The problem from a user perspective is, however, that they use silent XY error handlers or listeners - the class names SilentCssErrorHandler vs SilentJavaScriptErrorListener are inconsistent here - and their test logs are still floodded with warnings they might not wish to see (like me), but HtmlUnit provides no handler or listener to suppress them and they have to silence them outside of the tool via their respective logging frameworks. While this is of course possible, it is just not nice and inconsistent with the user experience for other types of error/warning logging.

FWIW, because the module I am currently dealing with happens to be using Logback, I added this to me config file in the test resources:
<!--
  Avoid excessive logging of warnings about limitations in HtmlUnit's own CSS parser,
  see https://github.com/HtmlUnit/htmlunit/issues/446
-->
<logger name="com.gargoylesoftware.htmlunit.javascript.host.css.CSSStyleSheet" level="ERROR" />

I would be happy to be able to remove that in the future, if you would kindly consider to implement a specific handler (and a silent version of it) for those kinds of warnings. 🙂

authors: kriegaex rbri twendelmuth

repo: HtmlUnit/htmlunit


text:
about query

Excuse me, is there no query function in ball_tree? How do I get query's nearest neighbor vector index
this is my code
my code：XX is a double* (size N*D)     X_test is double**     N is 10   D is 512
int leaf = 40;
p2h::Ball_Tree<double>* tree = new p2h::Ball_Tree<double>(N, D, leaf, XX);
tree->display();
p2h::MinK_List* list = new  p2h::MinK_List(10);
std::cout << "   nns   " << tree->nns(10, 10, 1, X_test[0], list) << std::endl;;

How  to get  X_test[0]'s nearest neighbor  index
tasnks

Thanks for your interest!
nns() only returns the number of candidates for the query, which is not the list of the NNS index.
The NN index is stored in the list in your case. You can visit methods/pri_queue.h and use the function ith_id() to get the index one by one.
Please let me know if you meet other issues. Thanks!

int leaf = 40;
p2h::Ball_Tree<double>* tree = new p2h::Ball_Tree<double>(N, D, leaf, XX);
tree->display();
p2h::MinK_List* list = new  p2h::MinK_List(10);
std::cout << "   nns   " << tree->nns(10, 10, 1, X_test[0], list) << std::endl;;
std::cout << list->max_key() << std::endl;
std::cout << list->min_key() << std::endl;
std::cout << list->ith_id(1) << std::endl;

我使用了function ith_id() ，但是它并不是我期待的返回值，我的 X_test[0]正确的最邻近索引是第五条。
还有就是 ith_id() 的输入是int类型，这个应该输入什么呀？我应当怎么使用 ith_id() 函数获取到 X_test[0]的最邻近索引（4 if index start 0或5 if index start 1）

i want to sove the problem is :
datasets    10 Vectors，the dimension is 512.  i want to build ball tree。   and   use it  to query a vector ，get its  index  （0~9/1~10）.。。。

First of all, the nns() of the ball tree returns the approximate results, not the exact ones.
The input parameter (i.e., int) of ith_id() starts from 0, which means that you should call ith_id(0) if you want to find the nearest neighbor that the ball tree found; similarly, you can call ith_id(1) if you aim to find the 2nd nearest neighbor that ball tree found. The valid range is [0, k-1].
Moreover, the returned value starts from 0, and the returned range is [0, n-1].
Besides, max_key() and min_key() mean the largest and smallest distances the ball tree found. The ith_key(i) returns the (i+1) nearest distance.
BTW, I am not clear about the dimension information of your test queries. For the problem of P2HNNS, please ensure that the query should be one dimension higher than the data. Thanks!

For the problem of P2HNNS, please ensure that the query should be one dimension higher than the data
why？？？  the data create ball  tree is  10 * 512 dimensions。the query data is 1 * 513 ？？？？？？

now   ，

First of all, the nns() of the ball tree returns the approximate results, not the exact ones.
The input parameter (i.e., int) of ith_id() starts from 0, which means that you should call ith_id(0) if you want to find the nearest neighbor that the ball tree found; similarly, you can call ith_id(1) if you aim to find the 2nd nearest neighbor that ball tree found. The valid range is [0, k-1].
Moreover, the returned value starts from 0, and the returned range is [0, n-1].
Besides, max_key() and min_key() mean the largest and smallest distances the ball tree found. The ith_key(i) returns the (i+1) nearest distance.
BTW, I am not clear about the dimension information of your test queries. For the problem of P2HNNS, please ensure that the query should be one dimension higher than the data. Thanks!

now，，in my code，
XX is a double* (size ND)     it is used to create  ball tree；
X_test is double    size  1D
N is the vector  numbers    D is  dimension
the  create tree code ： p2h::Ball_Tree tree = new p2h::Ball_Tree(N, D, leaf, XX);
find  min  distance index code :
p2h::MinK_List* list = new  p2h::MinK_List(1);
std::cout << "   nns   " << tree->nns(10, 10, 1, X_tes], list) << std::endl;;
std::cout << list->ith_id(0) << std::endl;     this is  min  index,but  my code result is   incorrect  result

Before answering your questions, I suppose I should let you know that this repo targets at the problem of Point-to-Hyperplane Nearest Neighbor Search (P2HNNS). For the problem of P2HNNS, the input datasets are data points in $R^{D-1}$ space. In this repo, I add one more dimension after loading the data, so in ap2h.h, datasets also contain $D$ dimensions. Different from the traditional point-to-point NNS problem, the queries are NOT data points but hyperplane queries that are in $R^D$ space. Moreover, the distance is not the commonly used Euclidean distance but the point-to-hyperplane distance.
So for your issue, you might first check the distance function we used is the one in your considered case; otherwise, you indeed cannot get the correct results. Second, you might check that the query (X_test) is a hyperplane query but not the direct data point. Third, the nns() only accept float* for the hyperplane query. You might change double* to float*.
Besides, although this is not your test case, I also want to clarify that this repo provides the approximate (not exact) methods for the problem of P2HNNS. Although you did all the correct things, as the ball tree we provided will not check all branches and allow approximation factor, it only provides the approximate results. Thus, it is reasonable if you cannot get the exact results.

Before answering your questions, I suppose I should let you know that this repo targets at the problem of Point-to-Hyperplane Nearest Neighbor Search (P2HNNS). For the problem of P2HNNS, the input datasets are data points in RD−1 space. In this repo, I add one more dimension after loading the data, so in ap2h.h, datasets also contain D dimensions. Different from the traditional point-to-point NNS problem, the queries are NOT data points but hyperplane queries that are in RD space. Moreover, the distance is not the commonly used Euclidean distance but the point-to-hyperplane distance.
So for your issue, you might first check the distance function we used is the one in your considered case; otherwise, you indeed cannot get the correct results. Second, you might check that the query (X_test) is a hyperplane query but not the direct data point. Third, the nns() only accept float* for the hyperplane query. You might change double* to float*.
Besides, although this is not your test case, I also want to clarify that this repo provides the approximate (not exact) methods for the problem of P2HNNS. Although you did all the correct things, as the ball tree we provided will not check all branches and allow approximation factor, it only provides the approximate results. Thus, it is reasonable if you cannot get the exact results.

Thank you very much for your reply. I have realized where my problem lies. Wish you success in your work, life and study

Ha ha, under your prompt, I just modified the distance method, now your method has been adapted to my point-to-point problem solving, and adopted your code architecture, compared with the ball tree method I used before, the ball tree construction time comparison: 91ms vs 1140ms nns time comparison: <1ms vs 23ms. Your method beats the game. Thank you

Hello, referring to your project, I have realized the functions I want to achieve, thank you.
I would like to ask you, according to your understanding of ball tree, can ball tree achieve incremental learning? My understanding is that in incremental learning, if I add a piece of data, I only need to add that piece of data to the last node and update the dimension of the number. It is not necessary to reconstruct the ball tree with (N+1) *D data.

Thank you for your assessments and your appreciation.
For the point-to-point problem you aim to deal with, you might also need to carefully set up the new lower bound (or upper bound) if you consider the approximate case, as the current lower bound I used in ball_node.h is designed for P2H distance.
For your follow-up question, my suggestion is that the ball tree can support incremental updating (or learning) if the data distribution does not change too much; otherwise, the ball tree might not be the best choice because the pivot points we have chosen for data splitting when building the ball tree will become less effective, and the ball tree might be extremely imbalanced. As such, the nns() will also become less efficient.
An alternative option is that you apply the ball tree for incremental updating (or learning) for only a short period (e.g., one week or 10 days). Then, you might reconstruct the ball tree for the whole dataset (offline) so that we could choose more promising pivots for data splitting.

Thank you for your assessments and your appreciation.
For the point-to-point problem you aim to deal with, you might also need to carefully set up the new lower bound (or upper bound) if you consider the approximate case, as the current lower bound I used in ball_node.h is designed for P2H distance.
For your follow-up question, my suggestion is that the ball tree can support incremental updating (or learning) if the data distribution does not change too much; otherwise, the ball tree might not be the best choice because the pivot points we have chosen for data splitting when building the ball tree will become less effective, and the ball tree might be extremely imbalanced. As such, the nns() will also become less efficient.
An alternative option is that you apply the ball tree for incremental updating (or learning) for only a short period (e.g., one week or 10 days). Then, you might reconstruct the ball tree for the whole dataset (offline) so that we could choose more promising pivots for data splitting.

Thank you very much for your advice. I have understood my thinking for future projects. The best wishes for you

Hello, I have a new problem in nns.
p2h::Ball_Tree* tree = new p2h::Ball_Tree(N, D, leaf, XX);
//p2h::BC_Treetree = new p2h::BC_Tree(N, D, leaf, XX);
tree->display();
p2h::MinK_List list = new  p2h::MinK_List(1)
tree->nns(1, int(N), 1, X_test[i], list);
In the case of nns, parameter int(N) has a lot of influence on the result. For example, when N=20000 in the case of tree construction, my int(N) is int(* 0.2n), so when the correct result of my test data is >4000 (0.2 * 20000 = 4000), the wrong result will appear. I have to enlarge int(N) to int(N), but that would be a brute force search, so where is my problem?

Hello, I have a new problem in nns. p2h::Ball_Tree* tree = new p2h::Ball_Tree(N, D, leaf, XX); //p2h::BC_Tree_tree = new p2h::BC_Tree(N, D, leaf, XX); tree->display(); p2h::MinK_List_ list = new p2h::MinK_List(1) tree->nns(1, int(N), 1, X_test[i], list);
In the case of nns, parameter int(N) has a lot of influence on the result. For example, when N=20000 in the case of tree construction, my int(N) is int(* 0.2n), so when the correct result of my test data is >4000 (0.2 * 20000 = 4000), the wrong result will appear. I have to enlarge int(N) to int(N), but that would be a brute force search, so where is my problem?

I change the Ball_Tree leaf the same as  int(N * 0.2) or int(N * 0.5) ,  the problem maybe solve.But  the Accuracy rate Serious decline

Hello, I have a new problem in nns. p2h::Ball_Tree* tree = new p2h::Ball_Tree(N, D, leaf, XX); //p2h::BC_Tree_tree = new p2h::BC_Tree(N, D, leaf, XX); tree->display(); p2h::MinK_List_ list = new p2h::MinK_List(1) tree->nns(1, int(N), 1, X_test[i], list);
In the case of nns, parameter int(N) has a lot of influence on the result. For example, when N=20000 in the case of tree construction, my int(N) is int(* 0.2n), so when the correct result of my test data is >4000 (0.2 * 20000 = 4000), the wrong result will appear. I have to enlarge int(N) to int(N), but that would be a brute force search, so where is my problem?

Yes, it might happen. The parameter int(N) represents the number of candidates you aim to check in this nns() function. Basically, we are only interested in k=100 NN of the query, then int(N) is only 2 to 5 times of k, e.g., [2k, 5k]. As such, nns() could be efficient as it will not need to check too many candidates. However, if you set too large for this parameter, e.g., int(N) = 0.2*n or n, then the efficiency will degrade rapidly. You might consider using a factor of k to set up this parameter rather than using a fraction of n.

But the result of my testing, for example when I was building the ball tree, was that the data was... If int cand, // number of candidates is 4000 when I conduct nns, then it can guarantee 100% correctness only when the test data is 0~4000, but when the test data index is >4000, the accuracy is 0%. So I guess int cand must >=leaf. Based on this, I conducted the test again, set leaf = 1w, int cand = 5000, and the test accuracy was less than 50%

I suppose it is not the problem of the cand setting. Basically, the sweet range of the leaf size is in between 20 to 500. In most cases, we do not suggest setting a very large value for leaf.
I suppose the reason is that the ball tree we built is designed for point-to-hyperplane distance, which might NOT be the distance (e.g., Euclidean distance) you considered for your problem. Thus, when you build a ball tree with more than a leaf, as the lower bound is not correct for your problem and you might choose a wrong branch, the accuracy degrades rapidly.
The construction of the ball tree I currently designed could also support Euclidean distance, but you use perform nns() by considering your own distance, you should carefully modify the est_lower_bound function in ball_node.h and the center preference in Lines 153-162 in ball_node.h (here, you might choose the branch that the distance (you consider, not inner product) between the center and query is closer) when traversing the ball tree from root to leaves.
I hope my suggestions could be useful for you, but directly solving your problem is out of the scope of this repo, and I do not have much free time for the indirect problem. Wish a great success for you!

I suppose it is not the problem of the cand setting. Basically, the sweet range of the leaf size is in between 20 to 500. In most cases, we do not suggest setting a very large value for leaf.
I suppose the reason is that the ball tree we built is designed for point-to-hyperplane distance, which might NOT be the distance (e.g., Euclidean distance) you considered for your problem. Thus, when you build a ball tree with more than a leaf, as the lower bound is not correct for your problem and you might choose a wrong branch, the accuracy degrades rapidly.
The construction of the ball tree I currently designed could also support Euclidean distance, but you use perform nns() by considering your own distance, you should carefully modify the est_lower_bound function in ball_node.h and the center preference in Lines 153-162 in ball_node.h (here, you might choose the branch that the distance (you consider, not inner product) between the center and query is closer) when traversing the ball tree from root to leaves.
I hope my suggestions could be useful for you, but directly solving your problem is out of the scope of this repo, and I do not have much free time for the indirect problem. Wish a great success for you!

Thank you very much for your suggestions. I hope my questions will not affect your work. I am satisfied that you can answer my questions, thank you

repo: HuangQiang/BC-Tree


text:
不能识别claude官方api key

直接调用官方apikey，基础url填https://api.anthropic.com 或 https://api.anthropic.com/v1 都显示密钥无效。
自己修改了下ask_gpt函数，可以调用了，但测试下来，gpt-4o-mini翻译正常，反而调用claude-3-5-sonnet-20241022总是报错，显示Exception: JSON parsing still failed after 3 attempts: ❎ API response error: Missing required sub-key(s) in item 12: free
难道claude-3-5-sonnet-20241022还不如gpt-4o-mini？

我建议你可以试试看先用oneapi中转把claude的格式转成GPT的看看

检查output/gpt_log/error.json 查看响应，claude对于敏感内容容易拒绝

同样问题，claude-3-5-sonnet-20241022，官方Key, base url https://api.anthropic.com/v1 ,显示 API key is invalid
换了几次key，重装几次依然如此
Unexpected error occurred: Error code: 404 - {'type': 'error', 'error': {'type': 'not_found_error', 'message': 'Not Found'}}
API key is invalid

作者开发时使用的api提供商采用的是oneapi这个项目，该项目应该把Claude api返回的格式整合成了gpt的格式。建议你也采用oneapi进行转换

authors: Huanshere assassinliujie bingood

repo: Huanshere/VideoLingo


text:
Dev

想起来就merge一把

我想起来了

repo: Huazie/flea-frame


text:
how to delete an item?

What's the workarround to delete an item cleanly?

Is it local draft ? or remote draft (the .adoc file is on github) ?

It's a remote draft on github. Unfotunatly after pointing my main domain via cname a post only published with success at the first time. After editing the post there is always an error. Is it right to login the master branch and publish on gh-pages?
Am 16. Februar 2015 16:31:09 MEZ, schrieb "Anthonny Quérouil" notifications@github.com:

Is it local draft ? or remote draft (the .adoc file is on github) ?

Reply to this email directly or view it on GitHub:
https://github.com/HubPress/hubpress.io/issues/93#issuecomment-74525199

Bloggerschmidt.github.io point on your master, you should rename your repository to :
bloggerschmidt.de
Then it should work (maybe after a delay)

Awesome! You made my day. How can I give you something back? Maybe a donation via PayPal. What's your paypal-email-address?

Haha @anthonny already making :moneybag: :moneybag: :moneybag: from this project!

well deserved :-)

@Bloggerschmidt I do not know what to say in front of so much generosity :blush:
I hesitated to put a button as Paypal or Gratipay, I did not know how that would be interpreted.
I do not know which is the best way of communicating on this matter, nor which is the best tools (paypal, gratipay)
My paypal account is anthonny.querouil@gmail.com

I know exactly what you mean. I have a similar project called "Blank" http://blank.vc/, a template for the cms Joomla, and it works to sell an ebook with a complete documetation. Maybe this is something you can consider.

@Bloggerschmidt thank you for yours advices, i must think about this.
This week, i was thinking about crowdfunding like kickstarter but i don't know if it's good.
A survey should be interesting to have the opinion of the users.

authors: Bloggerschmidt anthonny ryanmavilia


text:
Revert breaking change in enum deserialization

There appears to have been a change right around Dropwizard 1.0
in how enums are deserialized; my guess is that somehow @JsonCreator
cascades and prevents the FuzzyEnumModule from being applied properly,
but I'm not really sure. The result was that SingularityContainerType
wasn't accepting lowercase mesos, docker as valid values, which was
a breaking change from before - and in particular, prevented creating
deploys from the UI.
See also dropwizard/dropwizard#1985, which is kind-of related, I think
/cc @ssalinas

@PtrTeixeira I can't seem to reproduce this one. I tried the same fields via ui in our staging setup and a lower case docker was correctly read as the SingularityContainerType.DOCKER. Same with a number of other fields. Going to close this one for the moment, if you have more specific examples of failures feel free to reopen

authors: PtrTeixeira ssalinas

repo: HubSpot/Singularity


text:
Mesos 0.23.0

@tpetr @wsorenson

when you have a chance, can you rebase? those first 3 commits shouldn't be in the PR

@tpetr merged master in and removed that comment, diff is now just the appropriate commits

@tpetr made that boolean optional, and also added a constructor that matched the previous version, marked as deprecated

authors: ssalinas tpetr


text:
Add overlay value to overflow to detect scroll parent

overflow: overlay; is non-standard value ( http://quirksmode.org/css/css2/overflow.html ), but it works now for WebKit browsers, so I think it can be nice to make tether works with it.

👍

authors: TrevorBurnham roadhump

repo: HubSpot/tether


text:
Add shodan integration

Add a link like: https://www.shodan.io/search?query=ssl.jarm:29d29d00029d29d00042d42d00000000f78d2dc0ce6e5bbc5b8149a4872356.
We could also like to have a result number directly in the GUI.

Closed in #35

repo: Hugo-C/jarm-online


text:
Live Connection in Report

Hey, this library has been incredibly helpful, thanks! I’m currently trying to extract metadata (measures, tables, etc.) from a Power BI report that uses a live connection to semantic models. However, when I attempt this, it fails and returns the error: 'DataModel not found in the archive.' I would appreciate any guidance on how to resolve this issue without impacting the original report or its connection. Also any other approach i can try.

The primary purpose of this library was to surface the data embedded in the DataModel file inside the pbix file. With a live connection, very little information can be inferred from the connected Semantic Model. And I don't intend to build any functionality supporting connecting to PBI services.

authors: Hugoberry SachinSatam

repo: Hugoberry/pbixray


text:
Reinforcement_Learning.py - log_q_values.read()

Hi Magnus,
first of all, I wanted to thank you for providing such a huge amount of knowledge for free. I am currently working on a research paper for using reinforcement learning in a strategic planning simulation and your tutorials helped me quite a lot already.
Even though I am trying to do most of the work myself I am using your work as a reference and I have learned much more than I would have ever expected from a free resource like this.
Atm I am trying to run your model to compare its performance to my work but I ran into a problem.
When I execute the line:
log_q_values.read()
log_reward.read()
in google colab I get the following error:
FileNotFoundError                         Traceback (most recent call last)
 in ()
----> 1 log_q_values.read()
2 log_reward.read()
/content/reinforcement_learning.py in read(self)
367
368         # Read the log-file using the super-class.
--> 369         self._read()
370
371         # Get the logged statistics for the Q-values.
/content/reinforcement_learning.py in _read(self)
267
268         # Open and read the log-file.
--> 269         with open(self.file_path) as f:
270             reader = csv.reader(f, delimiter="\t")
271             self.count_episodes, self.count_states, *data = zip(*reader)
FileNotFoundError: [Errno 2] No such file or directory: 'checkpoints_tutorial16/Breakout-v0/log_q_values.txt'
However, this is not the only problem. Your model seems to be stuck at training without rly improving. Q-values are oscillatng around .02 without rly chaning much.
I would really appreciate any help.
Kind regards,
Felix

I also encountered this problem on a fresh install of these tutorials on a clean machine.
The reason is that by default the Notebook only trains for 1 episode which does not create a log-file. The intention is that you run the actual training in a terminal with this command because it can take many hours or even days:
python reinforcement_learning.py --env Breakout-v0 --training

You can try running the training entirely in the Notebook (e.g. on Colab) and I would think that you just need to increase the number of episodes in this line:
agent.run(num_episodes=1)

You can try 1000 episodes to start with. I'm not sure how many episodes I ran during training, but it appears that it might have been close to 100k.
Please confirm if this fixes the problem, or if you have found another solution.

repo: Hvass-Labs/TensorFlow-Tutorials


text:
Transaction of HYDRA coin transfer cost more than 0.5 HYDRA and no refund is sent

Please investigate why transaction of HYDRA coins transfer cost of 0.53822207 HYDRA
https://explorer.hydrachain.org/tx/d31a44e0d1b458278c7be8b0bdf41d430ce91d263a4513a9c52be7421827f227.
There are 0 pending HYDRA on the wallet
Wallet version: HYDRA version v0.18.5.4-f725a4441-dirty (64-bit)

Hi, the exact same thing has happened to me today. I am using the same wallet version.

One interesting fact, if I restart wallet before transfer, fees are much lower, so I do encourage everyone before transferring to restart wallet software :), a quick workaround for this defect!

Okay, cheers.
Only problem is I had just updated my wallet before I made the transfer because one of the guys suggested I do that to make sure the right transfer fees were charged. Restarting might be different I guess.
Thanks for the email :)
On Wednesday, 5 May 2021, 05:44:58 pm AEST, codelano ***@***.***> wrote:

One interesting fact, if I restart wallet before transfer, fees are much lower, so I do encourage everyone before transferring to restart wallet software :), a quick workaround for this defect!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Closing as obsolete.

authors: RosenKrumov Shiiike codelano

repo: Hydra-Chain/node


text:
Fix convergence references in the model

The logic depending on convergence in statistics needs to be fixed. Below is a link to one of the locations of a reference to the old convergence logic in statistics. Please update this to the new logic.
https://github.com/HydrologicEngineeringCenter/HEC-FDA/blob/836702045a9d2b45e6bb19cfcfa36fb453219dfd/Model/Conditions/Locations/Years/Results/ConditionLocationYearResult.cs#L19

The full list of errors that I am encountering can be found in the branch Occtype_Editor_Investigation.

why do we need convergence on a year outside of our fda_model?

if we are using our fda_model for our actual compute, this entire class should get deleted to not cause conflict in terms of using the wrong code

Many of the errors exist in my code to display the results of the compute. I had to guess at what the results would look like. If there is a new/better way of doing things then we can feel free to change my code. I just need to know what the results object is and i can plug it in.

it is unwritten, but we shouldnt reference any model objects in our view specifically, we should have a thin veil in our vm. Just create properties unconnected to any model object in your vm at the moment. we will create a converter in the vm to convert the user inputs to model inputs (in the case of input) and to take model outputs and convert them into the vm properties for output.

i think in this specific case though we are talking about a histogram specifically, since convergence is a property of a histogram itself now

@rnugent3 is there a specific branch I should be working from?

I made a commit to #Occtype_Editor_Investigation
I basically just commented out the code that was broken because it does not reference the right model at all, anywhere. If it doesn't reference fda_model, we shouldnt fix, we should remove and exchange it (where applicable). Here it is unclear to me why we have any reference to model.conditions.locations.years.results anywhere in the view model because it is not consistent with the fda_model.
Every fix we make between fda_statistics and the old model is just code debt and potential ground for bugs.
Our current model in fda_model works well enough to have us support it only.

we have committed to the new computational model, so we should remove the old one ASAP.

HEC-FDA/model does not exist anymore, this issue has been resolved

authors: HenryGeorgist codymccoy rnugent3

repo: HydrologicEngineeringCenter/HEC-FDA


text:
Alignment off in the Create Post module (Post iN)

The alignment is off between "Post In" and "Type Group Name"

only happens when no groups are selected

This is in src/components/GroupsSelector/GroupsSelector.js

authors: KrishaTerranIO tibetsprague

repo: Hylozoic/hylo-evo


text:
Where can I find more info about this Hformer?

Congrats on the release!
Where can I find more info about this Hformer? The blog post does not give many details.

Hi @jzhang38 , thx for your interest in our work! We will include more details in the technical report, which will be released later this week.

@jzhang38 Hi, thx for your interest in our work! We will include more details in the technical report, and it will take some time to prepare it.

repo: HyperGAI/HPT


text:
it stil does not work

i've donewhat you asked.  i've even redownloaded it but it stil does not work.
i get the same error everytime right now

this is the code

btw: i will change my token.

i sometimes get this to

You'll keep getting the keyerror if you don't change your token. Get it again after changing your password, replace the token in the code with the new one and then try.
The latest error you posted seems like a unique one to you. Post the full Traceback (The error info starting from Traceback) to see where the error occurs.
Make sure you're connected properly to the internet and no firewall/antivirus in blocking you.

Changed password, changed key, still there same error. On thé official pokecord catcher thé key works.

You have teamspeak? Maybe you can see yourself

TeamViewer*

Sorry, I cannot that level of assistance where I take control of your PC itself.
Also, I have noticed the obvious mistake there which everyone seems to be making.
It should be:
configs["token"] = "Insert token here"

Not:
configs["token"] = os.environ["Insert token here"]

UMG thanks it's working


text:
refer to land use data changelog

I'd suggest to link to the other changelog instead of keeping this up to date. I already added a link to this concordia changelog in our mrdownscale changelog.

Thanks, pascal. That sounds sensible to me!

authors: coroa pascal-sauer

repo: IAMconsortium/concordia


text:
[FEATURE] password visibility toggle in signup as an user

Description
Toggle the visibility of the password in user signup page on button click.
Screenshots
After addition

🥦 Browser
Google Chrome
Checklist ✅

[X] I checked and didn't find similar issue
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (blank for no)

Can you assign me this project for gssoc?

Hello Milan, I kindly request you to consider assigning this project to me. I am eager to contribute my knowledge and contribute to the success of this project.

Hey @SINJINI-G , great issue !
Would you like this to be assigned under GSSOC'23 ?

Hey @SINJINI-G , great issue ! Would you like this to be assigned under GSSOC'23 ?

Yes!! Thanks a lot for the opportunity!!

authors: IAmTamal LaxmanSingh07 SINJINI-G

repo: IAmTamal/Milan


text:
[Swift 3] Open VS Public

The highly discussed Proposal 0117 is now implemented :

Classes declared as public can no longer be subclassed outside of their defining module, and methods declared as public can no longer be overridden outside of their defining module. To allow a class to be externally subclassed or a method to be externally overridden, declare them as open, which is a new access level beyond public.

We now have to choose
We have to explicitly decide which class are subclassable and which methods / properties are overridable.
I am not a big fan of this decision to make classes non-subclassable by default, since we sometimes need to inherit from a class that was not designed for subclassing (for instance UITabbar etc).
So I will not be very objective about this ;)
What do you think ?

@lastMove Thanks for picking up this.
IBAnimatable is an extension of UIKit. All UIKit elements will be open, I think IBAnimatable elements should be open too. Even our demo also subclasses from some IBAnimatable elements. So I prefer to use open for all IBAnimatable UI classes.

Personnaly I would prefer to let the biggest part of the Framework open. And use public only when the classes/methods/properties are dangerous to subclass or override. (Sometimes I found myself subclassing class that was not intended for. To fix some behaviours)

@lastMove comments from #287
Just a question about this, shouldn't we do the reverse? Let public for the one we think that won't overridable then changing them to open if there good reasons. If it's for a bug, we should fix it. After, since the most of IBAnimatable elements are from UIKit, I agree with you to say they should be open.

@tbaranes I think we only set UI elements to open now. We may revisit them again since from open to public is a breaking change. And from public to open is a feature 😁

authors: JakeLin lastMove tbaranes

repo: IBAnimatable/IBAnimatable


text:
Option to draw border inside / outside

With the swift3 implementation we change the way to draw the borders from outside to inside. For me, it introduces some breaking interface. It would be great to have an option to choose how drawing it.
What do you think about it?

Sure, the user will have more control. How can we add this info, via a new property as enum?

Do you mean by creating a new enum with a new designable properties... or by duplicating the current borders (AllIn, AllOut, TopIn, TopOut...)?

I think your idea is better, we may keep the old one mapped to default behaviour like all -> allIn

Closing, after some tests, it's just how you play with it, but you can have the expected behaviour with the default draw.

@tbaranes Do you mean we can configure the frame of the view in Storyboard to get the expected effect like border inside or outside? If yes, I think we can keep the current implementation.

Yes, that's right

Cool, thanks @tbaranes

authors: JakeLin tbaranes


text:
tag latest removed on dockerhub

this pull request fixes it.
https://github.com/IBM-Blockchain/fabric-images/pull/17
that said, I think it would be better to have a defined version instead of a random tag

This is not the source image name, this is target image name. It is under build tag of compose file. It will use the Dockerfile inside the baseimage folder to build the image.

try to remove all your docker images and do a docker-compose up.
You will see it will try to pull the image with the tag latest.

It should not. It should build using the ./baseimage folder.
Ref: https://docs.docker.com/compose/compose-file/#/build

ok, I found the issue.
On mac, . setenv.sh doesn't work, and it was then not setting the ENV variable and stopping there, complaining about a missing manifest file.
./setenv.sh works... Dumb mistake :/.
I will create a small PR to prevent this from happening (it seems I wasn't the only one as there was another issue with the same symptoms)

@vincentserpoul as you mentioned, the other issue has a solution comment which says . setenv.sh is same as source setenv.sh.
Ref: https://github.com/IBM-Blockchain/fabric-images/issues/21#issuecomment-273967109
Thus a PR is not necessary. Thank you.

authors: mrshah-at-ibm vincentserpoul

repo: IBM-Blockchain/fabric-images


text:
Update softlayerlink.md

this is the networking update to the Admin page.

Not sure why this pull request says it has conflicts, because I don't see any, so I've entered the change directly into the file and created a new pull request for Beth to review before it goes live.  Closing this one.

authors: leesakcp markjmeredith

repo: IBM-Bluemix/docs


text:
fix: Increase robustness of openshift login flow

This PR increases the robustness of the openshift login flow:

Retries on retrieving the passcode ( including covering of the rate limit that kicks in)
Race condition (around request headers) that existed in previous version as the same rest client instance was reused without proper locking. Some threads in previous code was effectively essentially removing the auth headers causing any parallel and subsequent request to fail with 401.
Exiting with error when passcode cannot be retrieved - ensuring the user is not unexpectedly authenticated as 'anonymous'
Handling of intermittent issue where openshift returns a 200 instead of a 302 with accesscode on authentication flow

Context: We've been plagued with a number of authentication / login issue in our terraform code. The IBM Cloud terraform provider makes intensive use. See in particular https://github.com/IBM-Cloud/terraform-provider-ibm/issues/2811

We will looking into the PR

@hkantare Vincent is on vacation for 2 weeks, so I am just following up on this. These authentication issues are occurring quite frequently, so would be great if we could and some robustness like Vincent has proposed in this PR.
Thank you.

@hkantare Thank you very much - How do we go about getting this into the ibm terraform provider code for next provider release? Thanks

authors: hkantare ocofaigh vburckhardt

repo: IBM-Cloud/bluemix-go


text:
[CLOSED] Package name is KituraCSRF, should be Kitura-CSRF

 Issue by Wilson-Ding1
Thursday Sep 28, 2017 at 04:01 GMT
Originally opened as https://github.ibm.com/IBM-Swift/Kitura-CSRF/issues/1

 Issue by ianpartridge
Thursday Jul 28, 2016 at 15:11 GMT
Originally opened as https://github.com/IBM-Swift/Kitura-CSRF/issues/1

Same applies to the directory name Sources/KituraCSRF.

 Comment by Wilson-Ding1
Thursday Sep 28, 2017 at 04:01 GMT

 Comment by irar2
Sunday Jul 31, 2016 at 07:21 GMT

I didn't change the directory name, because it causes the package name to be Kitura-CSRF in import, and this is different from other repos.

repo: IBM-Swift-Sunset/Kitura-CSRF


text:
Create version 2.0.1

Incorporate improved regex (using find rather than match) -- pull 208
Update pom.xml dependencies
Move test files into a testfiles directory to make the main easier to navigate

Released -- should be here within a couple of hours:
https://search.maven.org/search?q=g:com.ibm.jsonata4java AND a:JSONata4Java


text:
Initial setup on Mac M1

after running conda env create -f env.yml on my mac M1 in China it reports such an error:

Channels:
 - pytorch
 - nvidia
 - pyg
 - conda-forge
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - pytorch::torchvision
  - pyg::pytorch-sparse
  - pyg::pytorch-scatter
  - pytorch::pytorch-cuda==11.8
  - pytorch::pytorch
  - pyg::pyg
  - cudatoolkit=11.8*
  - datatable

Current channels:

  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch/osx-arm64
  - https://conda.anaconda.org/nvidia/osx-arm64
  - https://conda.anaconda.org/pyg/osx-arm64
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/osx-arm64
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/main/osx-arm64
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/r/osx-arm64
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/msys2/osx-arm64
  - https://conda.anaconda.org/pyg
  - https://conda.anaconda.org/pyg
  - https://conda.anaconda.org/pyg
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch
  - https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/pytorch

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

I 'm not familiar with torch but I know it may has something to do with cuda. I tried removing two packages regarding cuda but it still reports the same error.
Anybody kindly offer guidance? I'm just trying to adopting it to my course project and the data prepared is small, unnecessary referring to GPU, I guess.

@Stephen37927
There are some known issues of using pytorch-geometric on Apple M1/2/3. For me, installing the latest pytorch-geometric's cpu version suffices to run this repo.
pip install torch_geometric pyg_lib torch_scatter torch_sparse torch_cluster torch_spline_conv -f https://data.pyg.org/whl/torch-2.3.0+cpu.html
Other libraries used by this repo can be pip installed. E.g., datatable, wandb. You may need to make wandb offline to run the codes due to connection stability in CN, btw.

repo: IBM/Multi-GNN


text:
Using compensation method to mitigate the effect of drift

Hello,
I'm trying to use the compensation method to mitigate the effect of drift. I saw it is implemented in aihwkit/src/aihwkit/inference/compensation/drift.py using the functions readout and get_readout_tensor and I have two questions about proper usage:

From what I understood, it is not applied automatically, and I need to activate them in the following way:

    # drift compensation
    rpu_config.drift_compensation = GlobalDriftCompensation()

    rpu_config.drift_compensation.get_readout_tensor(?)

I wasn't sure when to use readout (and whether I need it at all) and what integer to pass as input to get_readout_tensor. Could you please correct me if I'm using it in a wrong way?

What is the meaning of the in_size parameter that the function get_readout_tensor gets?

Thank you for your help!

Drift compensation is turned on by when defined in the rpu_config as you did in your example. You don't need to do anything beyond that, the readout is called automatically and the drift compensation is applied when calling drift_analog_weights.
The the get_readout_tensor can be used (overridden) to implement your own drift compensation class.

Thank you for the clarification

repo: IBM/aihwkit


text:
chore(tekton): Add missing release notes

Signed-off-by: Brian Gleeson brian.gleeson@ie.ibm.com
PR summary
Add some missing rlease notes for the new release
PR Checklist
Please make sure that your PR fulfills the following requirements:

[x] The commit message follows the Angular Commit Message Guidelines.

PR Type

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] New tests
[ ] Build/CI related changes
[x] Documentation content changes
[ ] Other (please describe)

:tada: This PR is included in version 0.1.6 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: IBM/continuous-delivery-go-sdk


text:
Fixing Problem with Subscription Lookup

Overview
Fixing an issue wherein the tool looks up the CS sub in the openshift-operators namespace. From AIOPs 4.4, there was a change in which CS would only exist per cloud-pak. This meant that the subscription for it would exist in our install namespace.
Sample output
$ oc waiops status-all

Cloud Pak for AIOps v4.5 installation status:
______________________________________________________________
Installation instances:

NAME           PHASE     LICENSE    STORAGECLASS                STORAGECLASSLARGEBLOCK        AGE
ibm-cp-aiops   Running   Accepted   ocs-storagecluster-cephfs   ocs-storagecluster-ceph-rbd   66m

______________________________________________________________
ZenService instances:

KIND         NAME                 NAMESPACE   VERSION   STATUS      PROGRESS   MESSAGE
ZenService   iaf-zen-cpdservice   cp4aiops    5.1.1     Completed   100%       The Current Operation Is Completed

______________________________________________________________
Kafka and Elasticsearch instances:

KIND    NAMESPACE   NAME         STATUS
Kafka   cp4aiops    iaf-system   True

KIND            NAMESPACE   NAME         STATUS
Elasticsearch   cp4aiops    iaf-system   True

______________________________________________________________
IRCore and AIOpsAnalyticsOrchestrator instances:

KIND                  NAMESPACE   NAME    VERSION   STATUS   MESSAGE
IssueResolutionCore   cp4aiops    aiops   4.5.0     Ready    All Services Ready

KIND                         NAMESPACE   NAME    VERSION   STATUS   MESSAGE
AIOpsAnalyticsOrchestrator   cp4aiops    aiops   4.5.0     Ready    All Services Ready

______________________________________________________________
LifecycleService instances:

KIND               NAMESPACE   NAME    VERSION   STATUS   MESSAGE
LifecycleService   cp4aiops    aiops   4.5.0     Ready    All Services Ready

______________________________________________________________
BaseUI instances:

KIND     NAMESPACE   NAME              VERSION   STATUS   MESSAGE
BaseUI   cp4aiops    baseui-instance   4.5.0     True     Ready

______________________________________________________________
AIManager, ASM, AIOpsEdge, and AIOpsUI instances:

KIND        NAMESPACE   NAME        VERSION   STATUS      MESSAGE
AIManager   cp4aiops    aimanager   4.5.0     Completed   AI Manager is ready

KIND   NAMESPACE   NAME             VERSION   STATUS
ASM    cp4aiops    aiops-topology   2.22.0    OK

KIND        NAMESPACE   NAME        STATUS       MESSAGE
AIOpsEdge   cp4aiops    aiopsedge   Configured   all critical components are reporting healthy

KIND      NAMESPACE   NAME               VERSION   STATUS   MESSAGE
AIOpsUI   cp4aiops    aiopsui-instance   4.5.0     True     Ready

______________________________________________________________
Kong instances:

KIND   NAMESPACE   NAME      STATUS   MESSAGE
Kong   cp4aiops    gateway   True     <none>

______________________________________________________________
Postgres instances:

KIND      NAMESPACE   NAME                        STATUS
Cluster   cp4aiops    ibm-cp-aiops-edb-postgres   Cluster in healthy state
Cluster   cp4aiops    zen-metastore-edb           Cluster in healthy state

______________________________________________________________
CSVs from cp4aiops namespace:

NAME                                         DISPLAY                VERSION                  REPLACES   PHASE
aimanager-operator.v4.5.0-rc1-202403120045   IBM AIOps AI Manager   4.5.0-rc1-202403120045              Succeeded

NAME                                         DISPLAY          VERSION                  REPLACES   PHASE
aiopsedge-operator.v4.5.0-rc1-202403120045   IBM AIOps Edge   4.5.0-rc1-202403120045              Succeeded

NAME                                   DISPLAY                             VERSION                  REPLACES   PHASE
asm-operator.v4.5.0-rc1-202403120045   IBM Netcool Agile Service Manager   4.5.0-rc1-202403120045              Succeeded

NAME                                      DISPLAY                                            VERSION                  REPLACES   PHASE
ibm-aiops-ir-ai.v4.5.0-rc1-202403120045   IBM Watson AIOps Issue Resolution AI & Analytics   4.5.0-rc1-202403120045              Succeeded

NAME                                        DISPLAY                                  VERSION                  REPLACES   PHASE
ibm-aiops-ir-core.v4.5.0-rc1-202403120045   IBM Watson AIOps Issue Resolution Core   4.5.0-rc1-202403120045              Succeeded

NAME                                             DISPLAY                                    VERSION                  REPLACES   PHASE
ibm-aiops-ir-lifecycle.v4.5.0-rc1-202403120045   IBM Cloud Pak for Watson AIOps Lifecycle   4.5.0-rc1-202403120045              Succeeded

NAME                                             DISPLAY                   VERSION                  REPLACES   PHASE
ibm-aiops-orchestrator.v4.5.0-rc1-202403120045   IBM Cloud Pak for AIOps   4.5.0-rc1-202403120045              Succeeded

NAME                             DISPLAY       VERSION   REPLACES   PHASE
ibm-automation-elastic.v1.3.16   IBM Elastic   1.3.16               Succeeded

NAME                           DISPLAY                           VERSION   REPLACES   PHASE
ibm-automation-flink.v1.3.16   IBM Automation Foundation Flink   1.3.16               Succeeded

NAME                  DISPLAY                 VERSION   REPLACES   PHASE
ibm-redis-cp.v1.1.6   ibm-redis-cp-operator   1.1.6                Succeeded

NAME                                 DISPLAY                               VERSION   REPLACES   PHASE
ibm-common-service-operator.v4.4.0   IBM Cloud Pak foundational services   4.4.0                Succeeded

NAME                                          DISPLAY                         VERSION                  REPLACES   PHASE
ibm-management-kong.v4.5.0-rc1-202403120045   IBM Internal - IBM AIOps Kong   4.5.0-rc1-202403120045              Succeeded

NAME                                                   DISPLAY        VERSION                  REPLACES   PHASE
ibm-watson-aiops-ui-operator.v4.5.0-rc1-202403120045   IBM AIOps UI   4.5.0-rc1-202403120045              Succeeded

NAME                              DISPLAY                       VERSION   REPLACES                          PHASE
cloud-native-postgresql.v1.18.7   EDB Postgres for Kubernetes   1.18.7    cloud-native-postgresql.v1.18.6   Succeeded

NAME                               DISPLAY            VERSION   REPLACES   PHASE
ibm-cert-manager-operator.v4.2.2   IBM Cert Manager   4.2.2                Succeeded

NAME                           DISPLAY         VERSION   REPLACES   PHASE
ibm-commonui-operator.v4.3.1   Ibm Common UI   4.3.1                Succeeded

NAME                         DISPLAY               VERSION   REPLACES   PHASE
ibm-events-operator.v4.9.0   IBM Events Operator   4.9.0                Succeeded

NAME                      DISPLAY           VERSION   REPLACES   PHASE
ibm-iam-operator.v4.4.0   IBM IM Operator   4.4.0                Succeeded

NAME                          DISPLAY                VERSION   REPLACES   PHASE
ibm-mongodb-operator.v4.2.2   IBM MongoDB Operator   4.2.2                Succeeded

NAME                      DISPLAY           VERSION   REPLACES   PHASE
ibm-zen-operator.v5.1.1   IBM Zen Service   5.1.1                Succeeded

NAME                                          DISPLAY                                VERSION   REPLACES   PHASE
operand-deployment-lifecycle-manager.v4.2.3   Operand Deployment Lifecycle Manager   4.2.3                Succeeded

______________________________________________________________
Subscriptions from cp4aiops namespace:

NAME                 PACKAGE              SOURCE                  CHANNEL
aimanager-operator   aimanager-operator   ibm-cp-waiops-catalog   v4.5

NAME                 PACKAGE              SOURCE                  CHANNEL
aiopsedge-operator   aiopsedge-operator   ibm-cp-waiops-catalog   v4.5

NAME           PACKAGE        SOURCE                  CHANNEL
asm-operator   asm-operator   ibm-cp-waiops-catalog   v4.5

NAME                  PACKAGE               SOURCE                  CHANNEL
ibm-management-kong   ibm-management-kong   ibm-cp-waiops-catalog   v4.5

NAME                           PACKAGE                        SOURCE                  CHANNEL
ibm-watson-aiops-ui-operator   ibm-watson-aiops-ui-operator   ibm-cp-waiops-catalog   v4.5

NAME             PACKAGE           SOURCE                  CHANNEL
ir-ai-operator   ibm-aiops-ir-ai   ibm-cp-waiops-catalog   v4.5

NAME               PACKAGE             SOURCE                  CHANNEL
ir-core-operator   ibm-aiops-ir-core   ibm-cp-waiops-catalog   v4.5

NAME                    PACKAGE                  SOURCE                  CHANNEL
ir-lifecycle-operator   ibm-aiops-ir-lifecycle   ibm-cp-waiops-catalog   v4.5

NAME           PACKAGE        SOURCE                  CHANNEL
ibm-redis-cp   ibm-redis-cp   ibm-cp-waiops-catalog   v1.1

NAME                     PACKAGE                  SOURCE                  CHANNEL
ibm-automation-elastic   ibm-automation-elastic   ibm-cp-waiops-catalog   v1.3

NAME                   PACKAGE                SOURCE                  CHANNEL
ibm-automation-flink   ibm-automation-flink   ibm-cp-waiops-catalog   v1.3

NAME                      PACKAGE                   SOURCE                  CHANNEL
cloud-native-postgresql   cloud-native-postgresql   ibm-cp-waiops-catalog   stable

NAME                         PACKAGE                     SOURCE                  CHANNEL
ibm-idp-config-ui-operator   ibm-commonui-operator-app   ibm-cp-waiops-catalog   v4.3

NAME                  PACKAGE               SOURCE                  CHANNEL
ibm-events-operator   ibm-events-operator   ibm-cp-waiops-catalog   v3

NAME              PACKAGE            SOURCE                  CHANNEL
ibm-im-operator   ibm-iam-operator   ibm-cp-waiops-catalog   v4.4

NAME                      PACKAGE                    SOURCE                  CHANNEL
ibm-im-mongodb-operator   ibm-mongodb-operator-app   ibm-cp-waiops-catalog   v4.2

NAME                      PACKAGE            SOURCE                  CHANNEL
ibm-platformui-operator   ibm-zen-operator   ibm-cp-waiops-catalog   v4.3

NAME                                       PACKAGE    SOURCE                  CHANNEL
operand-deployment-lifecycle-manager-app   ibm-odlm   ibm-cp-waiops-catalog   v4.2

NAME                        PACKAGE                       SOURCE                  CHANNEL
aiops-ibm-common-services   ibm-common-service-operator   ibm-cp-waiops-catalog   v4.4

______________________________________________________________
Subscriptions from openshift-operators namespace:

NAME                     PACKAGE                  SOURCE                  CHANNEL
ibm-aiops-orchestrator   ibm-aiops-orchestrator   ibm-cp-waiops-catalog   v4.5

______________________________________________________________
OperandRequest instances:

NAMESPACE   NAME                   PHASE     CREATED AT
cp4aiops    ibm-aiops-ai-manager   Running   2024-03-13T18:40:11Z

NAMESPACE   NAME                         PHASE     CREATED AT
cp4aiops    ibm-aiops-aiops-foundation   Running   2024-03-13T18:40:11Z

NAMESPACE   NAME              PHASE     CREATED AT
cp4aiops    ibm-iam-service   Running   2024-03-13T18:40:56Z

NAMESPACE   NAME              PHASE     CREATED AT
cp4aiops    ibm-iam-request   Running   2024-03-13T18:38:06Z

______________________________________________________________
AIOps certificate status:

NAME                       RENEWAL                READY   MESSAGE
aimanager-ca-certificate   2024-05-12T19:04:14Z   True    Certificate is up to date and has not expired

NAME                    RENEWAL                READY   MESSAGE
aimanager-certificate   2024-05-12T19:04:32Z   True    Certificate is up to date and has not expired

NAME                                               RENEWAL                READY   MESSAGE
aiops-ir-lifecycle-eventprocessor-ep-client-cert   2024-05-12T18:42:06Z   True    Certificate is up to date and has not expired

NAME                                                 RENEWAL                READY   MESSAGE
aiops-ir-lifecycle-eventprocessor-ep-internal-cert   2024-05-12T18:42:05Z   True    Certificate is up to date and has not expired

NAME                                         RENEWAL                READY   MESSAGE
aiops-ir-lifecycle-eventprocessor-ep-ss-ca   2024-05-12T18:41:36Z   True    Certificate is up to date and has not expired

NAME                                                  RENEWAL                READY   MESSAGE
aiops-ir-lifecycle-eventprocessor-ep-zk-client-cert   2024-05-07T18:41:33Z   True    Certificate is up to date and has not expired

NAME                            RENEWAL                READY   MESSAGE
aiops-topology-cassandra-cert   2030-11-11T02:42:57Z   True    Certificate is up to date and has not expired

NAME                    RENEWAL                READY   MESSAGE
aiopsedge-client-cert   2026-02-11T18:41:09Z   True    Certificate is up to date and has not expired

NAME          RENEWAL                READY   MESSAGE
aiopsedgeca   2026-02-11T18:41:09Z   True    Certificate is up to date and has not expired

NAME                                            RENEWAL                READY   MESSAGE
automationbase-sample-automationbase-ab-ss-ca   2024-05-12T18:37:05Z   True    Certificate is up to date and has not expired

NAME                    RENEWAL                READY   MESSAGE
common-web-ui-ca-cert   2024-12-16T18:38:56Z   True    Certificate is up to date and has not expired

NAME                             RENEWAL                READY   MESSAGE
connector-bridge-cert-ca9e3e1a   2025-07-13T10:44:12Z   True    Certificate is up to date and has not expired

NAME                                               RENEWAL                READY   MESSAGE
cp4waiops-eventprocessor-eve-29ee-ep-client-cert   2024-05-12T18:41:15Z   True    Certificate is up to date and has not expired

NAME                                                 RENEWAL                READY   MESSAGE
cp4waiops-eventprocessor-eve-29ee-ep-internal-cert   2024-05-12T18:41:15Z   True    Certificate is up to date and has not expired

NAME                                         RENEWAL                READY   MESSAGE
cp4waiops-eventprocessor-eve-29ee-ep-ss-ca   2024-05-12T18:40:36Z   True    Certificate is up to date and has not expired

NAME                RENEWAL                READY   MESSAGE
cs-ca-certificate   2025-07-13T10:37:32Z   True    Certificate is up to date and has not expired

NAME                                      RENEWAL                READY   MESSAGE
iaf-system-elasticsearch-es-client-cert   2024-05-12T18:39:06Z   True    Certificate is up to date and has not expired

NAME                                RENEWAL                READY   MESSAGE
iaf-system-elasticsearch-es-ss-ca   2024-05-12T18:38:34Z   True    Certificate is up to date and has not expired

NAME                                    RENEWAL                READY   MESSAGE
ibm-cp-aiops-edb-postgres-client-cert   2024-05-12T18:40:36Z   True    Certificate is up to date and has not expired

NAME                                    RENEWAL                READY   MESSAGE
ibm-cp-aiops-edb-postgres-server-cert   2024-05-12T18:40:41Z   True    Certificate is up to date and has not expired

NAME                              RENEWAL                READY   MESSAGE
ibm-cp-aiops-edb-postgres-ss-ca   2024-05-12T18:40:31Z   True    Certificate is up to date and has not expired

NAME                             RENEWAL                READY   MESSAGE
ibm-cp-aiops-redis-client-cert   2024-05-12T18:35:13Z   True    Certificate is up to date and has not expired

NAME                             RENEWAL                READY   MESSAGE
ibm-cp-aiops-redis-server-cert   2024-05-12T18:35:13Z   True    Certificate is up to date and has not expired

NAME                       RENEWAL                READY   MESSAGE
ibm-cp-aiops-redis-ss-ca   2024-05-12T18:34:57Z   True    Certificate is up to date and has not expired

NAME                                RENEWAL                READY   MESSAGE
ibm-zen-metastore-edb-certificate   2024-05-12T18:49:25Z   True    Certificate is up to date and has not expired

NAME                      RENEWAL                READY   MESSAGE
icp-mongodb-client-cert   2025-07-13T10:39:18Z   True    Certificate is up to date and has not expired

NAME                     RENEWAL                READY   MESSAGE
identity-provider-cert   2024-12-16T18:38:24Z   True    Certificate is up to date and has not expired

NAME                       RENEWAL                READY   MESSAGE
internal-tls-certificate   2024-05-12T18:43:41Z   True    Certificate is up to date and has not expired

NAME                              RENEWAL                READY   MESSAGE
internal-tls-pkcs12-certificate   2024-05-12T18:43:28Z   True    Certificate is up to date and has not expired

NAME                             RENEWAL                READY   MESSAGE
internal-tls-pkcs8-certificate   2024-05-12T18:43:24Z   True    Certificate is up to date and has not expired

NAME                   RENEWAL                READY   MESSAGE
mongodb-root-ca-cert   2025-07-13T10:39:15Z   True    Certificate is up to date and has not expired

NAME                 RENEWAL                READY   MESSAGE
platform-auth-cert   2024-12-16T18:38:32Z   True    Certificate is up to date and has not expired

NAME                           RENEWAL                READY   MESSAGE
platform-identity-management   2024-12-16T18:38:31Z   True    Certificate is up to date and has not expired

NAME             RENEWAL                READY   MESSAGE
saml-auth-cert   2024-12-16T18:38:36Z   True    Certificate is up to date and has not expired

NAME                                           RENEWAL                READY   MESSAGE
zen-metastore-edb-replica-client-certificate   2024-05-12T18:43:39Z   True    Certificate is up to date and has not expired

NAME                                   RENEWAL                READY   MESSAGE
zen-metastore-edb-server-certificate   2025-02-11T18:43:38Z   True    Certificate is up to date and has not expired

NAME                    RENEWAL                READY   MESSAGE
zen-minio-certificate   2025-03-13T18:44:45Z   True    Certificate is up to date and has not expired

______________________________________________________________
ODLM pod current status:

cp4aiops                                           operand-deployment-lifecycle-manager-6694f56f48-gsvw5             1/1     Running     0               65m
______________________________________________________________
Orchestrator pod current status:

openshift-operators                                ibm-aiops-orchestrator-controller-manager-7d86b988db-zk7h6        1/1     Running     0               70m

@siyer-123 Wouldn't https://github.com/IBM/cp4waiops-samples/blob/be761dc6d1af8332837ad7425108d5068cddc6b6/kubectl-plugin/kubectl-waiops#L1145-L1195 cover that? L1195 checks for that sub for <= v4.3