text:
Kucoin - Error requesting exchange info

Issue showing on the start of the Client only after changing kucoin API from v1 to v2 on dev-1.15.0 (latest development branch).
Error executing request GET https://openapi-sandbox.kucoin.com/api/v2/symbols. HTTP status is 404
Note: not affecting order placing/refreshing
Steps To Reproduce
Clone and install dev-1.15.0 (latest development branch)
Start the Client
Pay attention to the log pane
Actual:
Log pane showing KucoinExchange - ERROR - There was an error requesting exchange info.
Expected:
no issues on the log pane at Client start
logs_hummingbot.log
2023-04-03 06:56:38,172 - 2772619 - hummingbot.connector.exchange.kucoin.kucoin_exchange.KucoinExchange - ERROR - There was an error requesting exchange info.
Traceback (most recent call last):
  File "/home/ubuntu/development/hummingbot/connector/exchange_py_base.py", line 1092, in _initialize_trading_pair_symbol_map
    exchange_info = await self._make_trading_pairs_request()
  File "/home/ubuntu/development/hummingbot/connector/exchange_py_base.py", line 1105, in _make_trading_pairs_request
    exchange_info = await self._api_get(path_url=self.trading_pairs_request_path)
  File "/home/ubuntu/development/hummingbot/connector/exchange_py_base.py", line 896, in _api_get
    return await self._api_request(*args, **kwargs)
  File "/home/ubuntu/development/hummingbot/connector/exchange_py_base.py", line 938, in _api_request
    request_result = await rest_assistant.execute_request(
  File "/home/ubuntu/development/hummingbot/core/web_assistant/rest_assistant.py", line 75, in execute_request
    raise IOError(f"Error executing request {method.name} {url}. HTTP status is {response.status}. "
OSError: Error executing request GET https://openapi-sandbox.kucoin.com/api/v2/symbols. HTTP status is 404. Error: {"code":"404","msg":"Not Found","retry":false,"success":false}

@rapcmia @nikspz @carlitogetaladajr I will take this one

Fixed in #6253

authors: cardosofede nikspz

repo: hummingbot/hummingbot


text:
feat/ Add gateway balance command

Before submitting this PR, please make sure:

[x] Your code builds clean without any errors or warnings
[x] You are using approved title ("feat/", "fix/", "docs/", "refactor/")

A description of the changes proposed in the pull request:
This is a PR to solve #6395. Add gateway balance command

Removed display of DEX balances from balance command.
Added a new gateway balance command that reports balances and allowances of connected wallets.
Added all the necessary funcs to make the command work, including util funcs like like df building funcs

Tests performed by the developer:
NA
Tips for QA testing:
NA

Readying the commit of adding displaying DEX balances through a new gateway balance command. This PR is wip.

commit b862dc0
Test performed:
Cloned and install feature branch + gateway latest development
gateway generate certs + ./gateway setup.sh
yarn start --passphrase=pass, review gateway ONLINE
gateway connect uniswap_ethereum_arbitrum one successfully
balance command not showing any balance

gateway balance command not showing any tokens balance for arbitrum

gateway connect uniswap_ethereum_mainnet one successfully
balance command not showing any balance

gateway balance command not showing mainnet connected, not showing any tokens balance for arbitrum

gateway connect uniswap_ethereum_mainnet one successfully ✅ balance command not showing any balance ✅ gateway balance command not showing mainnet connected ❌, not showing any tokens balance for arbitrum ❌

Hi @nikspz, the bug for the first issue here: gateway balance command not showing mainnet connected is fixed now.
And the gateway balance command shows balances and allowances for tokens that requested a report for through gateway connector-tokens command. So, after connecting any gateway connector, user needs to approve what tokens they want the balances and allowances reported for, through gateway connector-token command.
But, I think maybe I should add functionality to report balances/allowances for native tokens on the chain. I'll add that right now.
Please check and confirm if the first issue here is solved. Thanks!

@nikspz added native currency tokens now.

Test performed:

Clone and install feature branch + gateway latest development ✅
gateway connect uniswap ethereum arbitrum one ✅
Reviewed DEX balances Removed from balance command ✅
gateway balance displays uniswap ethereum arbitrum one: correct native token (Eth) balances ✅ Allowances ❌

add tokens with gateway connector-tokens uniswap_ethereum_arbitrum_one USDC.E,WETH,ARB command ✅

Checked if gateway balance return added connector-tokens ❌

@srirambandi After tokens added with gateway connector-tokens uniswap_ethereum_arbitrum_one USDC.E,WETH,ARB Client failed to check gateway balance
Steps to reproduce:

Clone and install feature branch + gateway latest development
gateway connect uniswap_ethereum_arbitrum_one
gateway connector-tokens uniswap_ethereum_arbitrum_one USDC.E,WETH
check gateway balance

Actual:
failed to check gateway balance
Client returns error Unhandled error in background task: [<class 'decimal.InvalidOperation'>]
Expected:
Client displays gateway balance for all connectors and connector-tokens
logs_hummingbot.log
logs_gateway_app.log
2023-07-24 10:05:15,201 - 597555 - hummingbot.core.utils.async_utils - ERROR - Unhandled error in background task: [<class 'decimal.InvalidOperation'>]
Traceback (most recent call last):
  File "/home/nikita/gwbalance6482/hummingbot/core/utils/async_utils.py", line 9, in safe_wrapper
    return await c
  File "/home/nikita/gwbalance6482/hummingbot/client/command/gateway_command.py", line 441, in _gateway_balance
    raw_data.append([str(round(Decimal(connector_to_token_allowances[connector].get(token, "NaN")), 4)) for token in all_tokens])
  File "/home/nikita/gwbalance6482/hummingbot/client/command/gateway_command.py", line 441, in <listcomp>
    raw_data.append([str(round(Decimal(connector_to_token_allowances[connector].get(token, "NaN")), 4)) for token in all_tokens])
decimal.InvalidOperation: [<class 'decimal.InvalidOperation'>]

Hi @nikspz, noting down the issues one by one:
I tried to reproduce the error scenario above, the decimal.InvalidOperation: [<class 'decimal.InvalidOperation'>] one, I couldn't get it. I logged the raw allowances response JSON also to the left panel, to see what is being returned from gateway APIs. Here's how it looks.

Connect Uniswap on ethereum arbitrum_one and add request token reports for USDC.E, WETH, ARB.
Checked balance and allowances using gateway balance command.

I couldn't reproduce the error, it was working as expected for me as you see above.
Few important observations:

The allowance request for the native token ETH doesn't return any value  even after requesting the ETH token via gateway connector-tokens command. This is the case with any connector(openocean, sushiswap) i have tested. Is this expected or a bug?
When I do the same for uniswap on ethereum mainnte, I observed another bug, where the allowance for USDC.E is not in the response, and not shown as 0.0000 in the gateway balance. Is this probably related to this issue https://github.com/hummingbot/gateway/issues/143 gateway#143 @fengtality?

@nikspz let me know if you are getting the above reported error again, cause I've installed everything fresh and still not getting your error.

@srirambandi Fresh installation: same issue. I think it's related to balance amount.
Could you try with Goerli and non - zero balance?

@srirambandi Fresh installation: same issue. I think it's related to balance amount. Could you try with Goerli and non - zero balance?
Okay sure 🙌
But do you mean goerli or arbitrum_one? You used arbitrum_one in the above example.

@srirambandi I mean could it be it's related to connector-tokens with non-zero balance and with allowances ?
Could you please review this comment again?

Test performed:

Clone and install feature branch + gateway latest development ✅
gateway connect uniswap ethereum arbitrum one ✅
Reviewed DEX balances Removed from balance command ✅
gateway balance displays uniswap ethereum arbitrum one: correct native token (Eth) balances ✅ Allowances ❌

add tokens with gateway connector-tokens uniswap_ethereum_arbitrum_one USDC.E,WETH,ARB command ✅

Checked if gateway balance return added connector-tokens ❌

@srirambandi After tokens added with gateway connector-tokens uniswap_ethereum_arbitrum_one USDC.E,WETH,ARB Client failed to check gateway balance
Steps to reproduce:

Clone and install feature branch + gateway latest development
gateway connect uniswap_ethereum_arbitrum_one
gateway connector-tokens uniswap_ethereum_arbitrum_one USDC.E,WETH
check gateway balance

Actual: failed to check gateway balance Client returns error Unhandled error in background task: [<class 'decimal.InvalidOperation'>]
Expected: Client displays gateway balance for all connectors and connector-tokens
logs_hummingbot.log logs_gateway_app.log
2023-07-24 10:05:15,201 - 597555 - hummingbot.core.utils.async_utils - ERROR - Unhandled error in background task: [<class 'decimal.InvalidOperation'>]
Traceback (most recent call last):
  File "/home/nikita/gwbalance6482/hummingbot/core/utils/async_utils.py", line 9, in safe_wrapper
    return await c
  File "/home/nikita/gwbalance6482/hummingbot/client/command/gateway_command.py", line 441, in _gateway_balance
    raw_data.append([str(round(Decimal(connector_to_token_allowances[connector].get(token, "NaN")), 4)) for token in all_tokens])
  File "/home/nikita/gwbalance6482/hummingbot/client/command/gateway_command.py", line 441, in <listcomp>
    raw_data.append([str(round(Decimal(connector_to_token_allowances[connector].get(token, "NaN")), 4)) for token in all_tokens])
decimal.InvalidOperation: [<class 'decimal.InvalidOperation'>]

You could try these steps:
Clone and install feature branch + gateway latest development
gateway connect uniswap_ethereum_goerli
gateway connector-tokens uniswap_ethereum_goerli TOKEN_THAT_HAS_BALANCE_AND_APPROVALS
check gateway balance

@srirambandi Thanks for the work on this issue. I'll start reviewing and might make formatting changes
@nikspz I can take over the review/testing and finish it off!

@srirambandi there's a bug in how you are handling the allowances columns, likely due to replacing empty allowances or something like that. I tried debugging with ChatGPT and it changed the code in gateway_command.py to this:
            raw_data: List[List[str]] = [all_tokens, balances]
            for connector in connectors:
                # add allowances for each connector for all tokens - if token is not approved, add "NaN" to the list
                allowances: List[Decimal] = [Decimal(connector_to_token_allowances[connector].get(token, "NaN")) for token in all_tokens]
                # rounding to 4 decimal places (following from the rounding in the balance command)
                allowances_rounded: List[str] = [str(round(allowance, 4)) for allowance in allowances if isinstance(allowance, (int, float))]
                raw_data.append(allowances_rounded)

            data = []
            columns: List[str] = ["Symbol", "Balance", *connectors]
            max_len = min(len(lst) for lst in raw_data)  # find the length of the shortest list in raw_data
            for i in range(max_len):  # iterate only to the length of the shortest list
                data.extend([
                    [
                        raw_data[j][i] for j in range(len(raw_data))
                    ]
                ])

However, that produces a set of empty DataFrames. I think you should test with tokens that are both approved and not approved to reproduce this issue.
@nikspz Let's split this bounty into:

Create gateway balance 50K
Add allowances to gateway balance: 50K

That will let @srirambandi finish this PR for gateway balance without the Allowances columns, and then he can fix the Allowances bug in a 2nd PR.

@srirambandi there's a bug in how you are handling the allowances columns, likely due to replacing empty allowances or something like that. I tried debugging with ChatGPT and it changed the code in gateway_command.py to this:
            raw_data: List[List[str]] = [all_tokens, balances]
            for connector in connectors:
                # add allowances for each connector for all tokens - if token is not approved, add "NaN" to the list
                allowances: List[Decimal] = [Decimal(connector_to_token_allowances[connector].get(token, "NaN")) for token in all_tokens]
                # rounding to 4 decimal places (following from the rounding in the balance command)
                allowances_rounded: List[str] = [str(round(allowance, 4)) for allowance in allowances if isinstance(allowance, (int, float))]
                raw_data.append(allowances_rounded)

            data = []
            columns: List[str] = ["Symbol", "Balance", *connectors]
            max_len = min(len(lst) for lst in raw_data)  # find the length of the shortest list in raw_data
            for i in range(max_len):  # iterate only to the length of the shortest list
                data.extend([
                    [
                        raw_data[j][i] for j in range(len(raw_data))
                    ]
                ])

However, that produces a set of empty DataFrames:
I think you should test with tokens that are both approved and not approved to reproduce this issue.

@srirambandi can you please let us know when can we expect a possible update? thank you

@rapcmia I'll work on it today. That bug is weirdly happening with few connector and token combos. Will test it out properly today.

@rapcmia I'll work on it today. That bug is weirdly happening with few connector and token combos. Will test it out properly today.

Hi @srirambandi we have not received any update since last comment. Can you please advise plans to continue the bounty? thank you

Sure, of course. Was caught up in a work last 2 days. Will check soon. Will try and resolve soon.

Closing this PR, as requested changes not resolved

source: gharchive/pull-request

authors: fengtality nikspz rapcmia srirambandi

license_type: permissive

license_source: github-api


text:
Form Label and Form Description are not rendered

Describe the bug
When creating a form like in the docs, Using Form.label and Form.Description does not render them on the form. Everything else works fine.
Also when passing form to Form.Field it complains that children prop does not exist. This may have to do something with it but the code runs normally, it might just be a type issue.
Reproduction
Can't reproduce with the repro as it fails when installing dependencies. I think it may have something to do with the registry.
Also when installing the form component with the add command, in many cases the cli just hangs forever in the installing dependencies step. Not sure if this is related to the issue.
This is for the NEXT version.

type error description (can't screenshot)
Object literal may only specify known properties, and 'children' does not exist in type 'FieldProps<{ name?: string; email?: string; phone?: string; }, "phone"> & Omit<WithElementRef<HTMLAttributes>, "children">'.ts(2353)
Logs
No response
System Info
This command hangs as well

Severity
annoyance

The issue is that stackblitz filters out requests that are attempting to leave like that via the CLI (IIRC). Form.Field requires you to have either children passed as a prop or actual children content. If you can link a github repo I'll take a look.

Same issue here:

New Project

Project Name

This is your project name.

Description

Optional project description.

Create

Does someone have fix this issue yet
I have the same on 2 auth pages

Does someone have fix this issue yet
I have the same on 2 auth pages

Yes, I just opened new issue Huntabyte replied with fix and closed ticket, just search for this issue again (among closed yesterday).
Ps. My reply is from phone can't paste link

Does someone have fix this issue yet
I have the same on 2 auth pages

Yes, I just opened new issue Huntabyte replied with fix and closed ticket
here

Thanks man

source: gharchive/issue

authors: MickBuilder huntabyte kmaximoff pacosw1

repo: huntabyte/shadcn-svelte

license: MIT


text:
docs: Add note to Sonner component

Just spent more time than I am proud of trying to figure this one out. But I do think its a pretty easy mistake to make if you are trying to use intellisense imports.
This is an obvious mistake but if you aren't paying attention and could be useful to mention in the installation instructions.
// incorrect
import { Toaster } from "svelte-sonner";
// correct
import { Toaster } from "$lib/components/ui/sonner";

Obviously when you do this you miss out on the entire reason of adding the sonner component through shadcn as none of the styles are applied.
I think adding a note would help anyone else who makes this mistake.

@huntabyte You might also want to change the example code on the website. It's still importing from "svelte-sonner" still.

That is intended you import Toaster from components but toast from svelte-sonner

authors: gottlike ieedan


text:
🛑 retro is down

In 447766d, retro (https://retro.thekor.eu/) was down:

HTTP code: 502
Response time: 3578 ms

Resolved: retro is back up in ee834b2 after 47 minutes.

repo: hupratt/upptime


text:
🛑 mealie is down

In c2a6739, mealie (https://mealie.craftstudios.shop/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mealie is back up in 5d15303.


text:
Sourcemaps not working with babel + ng-annotate

module.exports = {
    devtool: 'sourcemap',
    context: __dirname + '/app',
    entry: './index.js',
    output: {
        filename: 'bundle.js'
    },
    module: {
        loaders: [
            // run babel first then ng-annotate
            { test: /\.js$/, loaders: ['ng-annotate','babel'] }
        ]
    }
};

When I use the above webpack config the source-map file is messed up with duplicate entries like the following.
"webpack:///./index.js",
"webpack:///./index.js?2645",
"webpack:///../~/angular/index.js",
"webpack:///../~/angular/index.js?08f2",
"webpack:///../~/angular/angular.js",
"webpack:///../~/angular/angular.js?58d0",

This is causing Chrome to not find the correct lines...
It seems that ng-annotate is inserting lines in the code without the source-map getting corrected info.
So where before ng-annotate (when the source-map was created) the code looked like
	    /* @ngInject */
	    function HeroController(users) {

now after ng-annotate there are new lines that the source-map doesnt know about
	    /* @ngInject */
	    HeroController.$inject = ["users"];
	    function HeroController(users) {

which version?

"babel-preset-es2015": "^6.9.0",
"babel-preset-react": "^6.11.1",
"babel-core": "^6",
"babel-loader": "^6",
"ng-annotate-loader": "^0.1.1",
"webpack": "^1.12.13",

Thanks

authors: e-cloud killersite

license: mit

license_source: bigquery


text:
VIM-S

Any plans for uploading the weights for the vim-s model?

Hello,
We have uploaded the weights for small models to HuggingFace. You can find the links in our README.md.

authors: AmeenAli Unrealluver

repo: hustvl/Vim


text:
Implmenetation queries

❔Question
Hi thanks for opensourcing the code base this gives steps to learn transformers, i am having few queries

The dataset is loaded from coco.py using which function since "ConvertCocoPolysToMask" is not called inherently anywhere
Your load the data training for each epoch using train_one_epoch() for the whole dataset which internally performs losses and then the out for that is performed with evaluation this is performed for each 300 epoch so what's the idea behind this training
Does yolos provide panoptic segmentation also?can we get pretrained model on this

Thanks in advance
Additional context

Our codebase is inherit from DETR and ViT of timm. So,

ConvertCocoPolysToMask is inherit from DETR, we didn't modify that.
This is similar to the original DETR implantation, you can also refer to other DETR implantations, e.g., mmdet (https://github.com/open-mmlab/mmdetection/blob/master/configs/detr/README.md).
We didn't try panoptic seg, but we believe it is feasible for YOLOS to perform panoptic seg following the configuration of DETR.

repo: hustvl/YOLOS


text:
FileNotFoundError: [WinError 2] The system cannot find the file specified

I'm getting this error when running app.py
Hello there! I'm Jarvis, a personal AI assistant. How may I assist you today? Traceback (most recent call last):   File "C:\Users\dmerg\Documents\Projects\JARVIS\carter_project\app.py", line 170, in <module>     jc = CarterClient(          ^^^^^^^^^^^^^   File "C:\Users\dmerg\Documents\Projects\JARVIS\carter_project\app.py", line 41, in __init__     self.getOpener()     ^^^^^^^^^^^^^^^^   File "C:\Users\dmerg\Documents\Projects\JARVIS\carter_project\app.py", line 154, in getOpener     self.playAudio(output['audio'])   File "C:\Users\dmerg\Documents\Projects\JARVIS\carter_project\app.py", line 101, in playAudio     audio_data = AudioSegment.from_file(BytesIO(r.content)).export(format='wav')                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\dmerg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pydub\audio_segment.py", line 728, in from_file     info = mediainfo_json(orig_file, read_ahead_limit=read_ahead_limit)            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Users\dmerg\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\pydub\utils.py", line 274, in mediainfo_json     res = Popen(command, stdin=stdin_parameter, stdout=PIPE, stderr=PIPE)           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^   File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1008.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1024, in __init__     self._execute_child(args, executable, preexec_fn, close_fds,   File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1008.0_x64__qbz5n2kfra8p0\Lib\subprocess.py", line 1509, in _execute_child     hp, ht, pid, tid = _winapi.CreateProcess(executable, args,                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [WinError 2] The system cannot find the file specified
Not sure where to start debugging on this? any insights?

i cant even start mine

repo: huwprosser/carter-voice-assistant


text:
Serializing Prompts with Partial Variables

I am interested in making using of Prompt serialization in order to allow for more modular use of models / chains.
I noticed when partial variables were initially added in this PR, there was some discussion about their interaction with serialized prompts, which resulted in these lines being added to disable serialization of prompts with partial variables.
In my testing I found that partial variables seem to work well as is, if those lines are removed, as done in this PR.

https://github.com/hwchase17/langchain/pull/3734

I'm happy to help with developing this feature, but would be interested to hear more about what the reasoning was for initially disabling it, as I am sure there are edge cases I am missing. Thanks!

Interested as well!

authors: chasemcdo trancethehuman


text:
Issue: langchain implementation where asynchronous tools don't break the chain

I implemented langchain as a Python API, created via FASTAPI and uvicorn.
The Python API is composed of one main service and various microservices the main service call when required. These microservices are tools. I use 3 tools: web search, image generation, image description. All are long running tasks.
The microservices need to be called as a chain. I.e. the output of one microservice can be used as the input to another microservice (who's output is then returned, or used as an input to another tool, as required).
Now I have made each microservice asynchronous. As in, they do the heavy lifting in a background thread, managed via Celery+Redis.
This set up breaks the chain. Why? Because the first async microservice immediately returns a task_id (to track the background work) when it is run via Celery. This output (the task_id) is passed as input to the next microservice. But this input is essentially meaningless to the second microservice. It's like giving a chef a shopping receipt and expecting them to cook a meal with it.
The next microservice required the actual output from the first one to do its job, but it's got the task_id instead, which doesn't hold any meaningful information for it to work with.
This makes the chain return garbage output ultimately. So in that sense, the chain "breaks".
How else could I have implemented my langchain execution to ensure concurrency and parallelism? Please provide an illustrative example.
Suggestion:
No response

hello did you find anything


text:
Example of including ipython notebooks

This PR is an example of using nbviewer to include ipython notebooks.
Requirements:

Install nbviewer
Install pandoc (I used apt-get install pandoc)
All notebooks must include a title using a markdown cell with H1 title
There may be a way to achieve this without moving the notebooks


text:
feat: Add lifecycle hooks

like this:
import {
      downloadFailed,
      downloadAborted,
      downloadCompleted,
      connectFailed
} from 'maria2'

downloadFailed((e)=>{
console.log(e.reason,e.filename,e.filesize,e.progress)
})

See https://aria2.github.io/manual/en/html/aria2c.html#notifications

I want to build a high-level abstract of aria2 based on this.
Maybe you can help :)
I think there should be something like Aria2Client with a download method
download(<magnet/torrent file/...>,
  options: { ..., callbacks: { progress(percent) {}, ... } }): Promise<{ status: 'ok' | 'aborted' | 'failed' | ..., ... }>

Just a prototype

impl #8

authors: hydrati jingyuexing yjl9903


text:
Make Schemas Match Lucidchart Diagram

I went through and compared HydroServer's models with our LucidCharts diagram to make sure everything matches and found the following discrepancies. For any changes, we'll need to make sure the backend, frontend, and Lucidchart are all the same:

[ ] DataSource.URL -  This is the same everywhere, but the other tables use 'link' as the field name when referring to a web URL. Do we want to update this?
[ ] ThingAssociation.followsThing - This should be deleted everywhere since we're not using it anymore.
[ ] Observation.validBeginTime & validEndTime - present in Lucid but not the db. But there's a "suggest not using" note in Lucid. Do we care that the fields are missing in the db?

Created an issue cleaning up follower functionality: https://github.com/hydroserver2/hydroserver/issues/170

authors: daniel-slaugh kjlippold


text:
Buddy why after a new update windows defender informs me that there is a Trojan:Win32/Wacatac.B!ml on my computer

why did you chew a trojan into such a good program

jestem ci wdzięczna za aktualizajce ale jednak po użyciu na moim komputerze pojawił się trojan

this is some part to make it work false detection or what?

I don't think it necessarily has to be a virus just something needed to function but false detections I try to understand


text:
Support different panel types

CEP Panels have several types. Is there a way to specify the type of panel in cep.cponfig.ts? Bridge, for instance, supports Embedded panels. This sits in the DispatchInfoList -> Extension -> DispatchInfo -> UI -> Type tag in the manifest.

Wasn't aware Bridge had a 5th option since just the 4 are listed in the Cookbook

Updated in vite-cep-plugin v 1.1.1 so you can update running yarn add vite-cep-plugin

Superb! Testing now.

authors: jameslockman justintaylor-dev

repo: hyperbrew/bolt-cep


text:
[FEATURE] 希望给 Hyperf\Database\Query\Builder 类增加 forPageBeforeId 方法

Is your feature request related to a problem? Please describe.
forPageAfterId 只适用于正序列序列表分页
Describe the solution you'd like
希望提供 forPageBeforeId 支持倒序列表分页
自增ID越大的越新排在越前边

这个加个 order 不就行了么？
有没有例子。。

除了order还有一个比较ID大小的查询条件
public function forPageBeforeId($perPage = 15, $lastId = 0, $column = 'id')
    {
        $this->orders = $this->removeExistingOrdersFor($column);

        if (! is_null($lastId)) {
            $this->where($column, '<', $lastId);
        }

        return $this->orderBy($column, 'desc')
                    ->limit($perPage);
    }

    public function forPageAfterId($perPage = 15, $lastId = 0, $column = 'id')
    {
        $this->orders = $this->removeExistingOrdersFor($column);

        if (! is_null($lastId)) {
            $this->where($column, '>', $lastId);
        }

        return $this->orderBy($column, 'asc')
                    ->limit($perPage);
    }

可以的，我抽空加一下

repo: hyperf/hyperf


text:
[QUESTION] 框架启动占用内存很大

Before you submit this issue, you has been search all existed issues and search the documentation

[] I've been search all existed issues
[] I've been read all documentation

Describe your question
项目部署在阿里云k8s，dockerfile 环境变量 scan_cachable = (true)，构建的时候有执行 composer dump-autoload -o 和 php bin/hyperf.php 生成代理缓存，检查runtime 目录缓存确实有生成，但是项目启动的时候 php bin/hyperf.php start 发现总共占用的内存很大，就像没有提前 php bin/hyperf.php 生成代理缓存一样，缓存失效了吗？有没有小伙伴遇到过一样的问题？

dockerfile 贴出来看看

dockerfile 贴出来看看

dockerfile 贴出来看看

FROM hyperf/hyperf:7.4-alpine-v3.9-cli-v4.5.2
update
RUN set -ex
&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
&& apk update
&& apk add --no-cache
openssh
imagemagick
pngquant
php7-imagick
&& apk del --purge -dev
# install composer
&& cd /tmp
&& php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');"
&& php composer-setup.php
&& php -r "unlink('composer-setup.php');"
&& mv composer.phar /usr/local/bin/composer
&& rm -rf /var/cache/apk/ /tmp/* /usr/share/man /usr/share/php7
# show php version and extensions
&& php -v
&& php -m
&& php --ri swoole
ARG timezone
ARG SSH_KEY_CONTENT
ENV TIMEZONE=${timezone:-"Asia/Shanghai"}
SCAN_CACHEABLE=(true)
update
RUN set -ex
#  ---------- some config ----------
&& cd /etc/php7
# - config PHP
&& {
echo "upload_max_filesize=128M";
echo "post_max_size=128M";
echo "memory_limit=512M";
echo "date.timezone=${TIMEZONE}";
echo "session.gc_maxlifetime=86400";
} | tee conf.d/99_overrides.ini
# - config timezone
&& ln -sf /usr/share/zoneinfo/${TIMEZONE} /etc/localtime
&& echo "${TIMEZONE}" > /etc/timezone
WORKDIR /service
COPY . /service
EXPOSE 80
应用安装
RUN composer update --no-dev
&& composer dump-autoload -o --no-dev
&& /usr/bin/php ./bin/hyperf.php
&& ls -l runtime/container
&& date

dockerfile 贴出来看看

FROM hyperf/hyperf:7.4-alpine-v3.9-cli-v4.5.2
update
RUN set -ex
&& sed -i 's/dl-cdn.alpinelinux.org/mirrors.aliyun.com/g' /etc/apk/repositories
&& apk update
&& apk add --no-cache
openssh
imagemagick
pngquant
php7-imagick
&& apk del --purge -dev
# install composer
&& cd /tmp
&& php -r "copy('https://install.phpcomposer.com/installer', 'composer-setup.php');"
&& php composer-setup.php
&& php -r "unlink('composer-setup.php');"
&& mv composer.phar /usr/local/bin/composer
&& rm -rf /var/cache/apk/ /tmp/* /usr/share/man /usr/share/php7
# show php version and extensions
&& php -v
&& php -m
&& php --ri swoole
ARG timezone
ARG SSH_KEY_CONTENT
ENV TIMEZONE=${timezone:-"Asia/Shanghai"}
SCAN_CACHEABLE=(true)
update
RUN set -ex
#  ---------- some config ----------
&& cd /etc/php7
# - config PHP
&& {
echo "upload_max_filesize=128M";
echo "post_max_size=128M";
echo "memory_limit=512M";
echo "date.timezone=${TIMEZONE}";
echo "session.gc_maxlifetime=86400";
} | tee conf.d/99_overrides.ini
# - config timezone
&& ln -sf /usr/share/zoneinfo/${TIMEZONE} /etc/localtime
&& echo "${TIMEZONE}" > /etc/timezone
WORKDIR /service
COPY . /service
EXPOSE 80
应用安装
RUN composer update --no-dev
&& composer dump-autoload -o --no-dev
&& /usr/bin/php ./bin/hyperf.php
&& ls -l runtime/container
&& date

最后start命令是啥

最后start命令是啥

最后start命令是啥

/usr/bin/php ./bin/hyperf.php start

最后start命令是啥

/usr/bin/php ./bin/hyperf.php start

config.php贴出来看看

config.php贴出来看看

config.php贴出来看看

 env('APP_NAME', 'aaa'),
    'app_env' => env('APP_ENV', 'dev'),
    'scan_cacheable' => env('SCAN_CACHEABLE', true),
    StdoutLoggerInterface::class => [
        'log_level' => [
            LogLevel::ALERT,
            LogLevel::CRITICAL,
            LogLevel::DEBUG,
            LogLevel::EMERGENCY,
            LogLevel::ERROR,
            LogLevel::INFO,
            LogLevel::NOTICE,
            LogLevel::WARNING,
        ],
    ],
];

config.php贴出来看看

 env('APP_NAME', 'aaa'),
    'app_env' => env('APP_ENV', 'dev'),
    'scan_cacheable' => env('SCAN_CACHEABLE', true),
    StdoutLoggerInterface::class => [
        'log_level' => [
            LogLevel::ALERT,
            LogLevel::CRITICAL,
            LogLevel::DEBUG,
            LogLevel::EMERGENCY,
            LogLevel::ERROR,
            LogLevel::INFO,
            LogLevel::NOTICE,
            LogLevel::WARNING,
        ],
    ],
];

config.php贴出来看看

删了业务自己定义的无关紧要的的配置

config.php贴出来看看

删了业务自己定义的无关紧要的的配置

config.php贴出来看看

可能跟我们的部署环境也有关系，只有线上环境会这样，其他环境都是正常的，但是各个环境部署的方式又是一样的。  .env 文件我们是挂载上去的。我在本地测试也都是完全正常的

config.php贴出来看看

可能跟我们的部署环境也有关系，只有线上环境会这样，其他环境都是正常的，但是各个环境部署的方式又是一样的。  .env 文件我们是挂载上去的。我在本地测试也都是完全正常的

你们线上部署的时候，不会主动写了环境变量进去吧。。
建议你进线上的容器，然后输出一下SCAN_CACHEABLE环境变量

你们线上部署的时候，不会主动写了环境变量进去吧。。
建议你进线上的容器，然后输出一下SCAN_CACHEABLE环境变量

你们线上部署的时候，不会主动写了环境变量进去吧。。
建议你进线上的容器，然后输出一下SCAN_CACHEABLE环境变量

确实有主动写其他的环境变量进去，不过没有修改这个变量   printenv|grep SCAN 显示   SCAN_CACHEABLE=(true)

你们线上部署的时候，不会主动写了环境变量进去吧。。
建议你进线上的容器，然后输出一下SCAN_CACHEABLE环境变量

确实有主动写其他的环境变量进去，不过没有修改这个变量   printenv|grep SCAN 显示   SCAN_CACHEABLE=(true)

那不清楚了。。
可能内存就是这么大

那不清楚了。。
可能内存就是这么大


text:
Hyper(for Mac) doesn't support "http" when pull image from private registry server

Start private registry server( ip 192.168.1.141 )
$ docker run -d -p 5000:5000 --restart=always --name registry -v $(pwd)/data:/tmp/registry registry

hyper for mac (not support http)
OS: Mac OS X 10.10.3
Hyper: Download Install package from https://docs.hyper.sh/get_started/install/mac.html
$ hyper pull 192.168.1.141:5000/mrbot/nginx:1.9.4

hyper ERROR: invalid registry endpoint https://192.168.1.141:5000/v0/: unable to ping registry endpoint https://192.168.1.141:5000/v0/
v2 ping attempt failed with error: Get https://192.168.1.141:5000/v2/: EOF
 v1 ping attempt failed with error: Get https://192.168.1.141:5000/v1/_ping: EOF. If this private registry supports only HTTP or HTTPS with an unknown CA certificate, please add `--insecure-registry 192.168.1.141:5000` to the daemon's arguments. In the case of HTTPS, if you have access to the registry's CA certificate, no need for the flag; simply place the CA certificate at /etc/docker/certs.d/192.168.1.141:5000/ca.crt

docker for linux (support http)
OS: Centos 7.1.1503
Docker: 1.8.1
$vi /etc/sysconfig/docker
#add "--insecure-registry"
other_args="--insecure-registry 192.168.1.141:5000 --selinux-enabled"

$ sudo service docker restart

$ docker pull 192.168.1.141:5000/mrbot/nginx:1.9.4
Pulling repository 192.168.1.141:5000/mrbot/nginx
e3991d05f7ab: Download complete
e3991d05f7ab: Pulling image (1.9.4) from 192.168.1.141:5000/mrbot/nginx
2c49f83e0b13: Download complete
...
a661f0049c0e: Download complete
Status: Image is up to date for 192.168.1.141:5000/mrbot/nginx:1.9.4

It's better for Hyper to support http.

@Jimmy-Xu the report there is no insecure-registry parameter.

authors: Jimmy-Xu xiaods

repo: hyperhq/hyper


text:
Region support broken in the Hypercli Docker image

When running Hyper CLI via Docker I get:
docker run -it --privileged -v /var/run/docker.sock:/var/run/docker.sock -e HYPER_ACCESS=$HYPER_ACCESS -e HYPER_SECRET=$HYPER_SECRET hyperhq/hypercli hyper --region=eu-central-1 ps
flag provided but not defined: --region
See 'hyper --help'.

Also the ENV variable doesn't seem to do anything:
docker run -it --privileged -v /var/run/docker.sock:/var/run/docker.sock -e HYPER_ACCESS=$HYPER_ACCESS -e HYPER_SECRET=$HYPER_SECRET -e HYPER_DEFAULT_REGION=eu-central-1 hyperhq/hypercli hyper ps
CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES               PUBLIC IP
Found a newer version, downloading...

There should have been 3 containers in Frankfurt, I have 0 containers in US.
it works fine on OSX.

Thanks for reporting! The hyperhq/hypercli image needs to be updated.

I love hyper.sh! I forgot to mention that the hyper executable inside the image is correct & recent, because if I manually log in to the container with docker run -it ..... hyperhq/hypercli bash and then run hyper it works as advertised. It only does not work when I pass the arguments directly in the docker invocation.

That's because the hyper command will download the latest version automatically.
See the Found a newer version, downloading... message in your original comment.

updated docker hub hyperhq/hypercli:latest image.

authors: bergwolf mirosval

repo: hyperhq/hypercli


text:
feat: add support for the digest headers

This commit adds support for the following headers:

Repr-Digest
Content-Digest
Want-ReprDigest
Want-Content-Digest

These headers are defined in the following upcoming RFC:
https://datatracker.ietf.org/doc/html/draft-ietf-httpbis-digest-headers-08
Signed-off-by: Nathaniel McCallum nathaniel@profian.com

As written, this is incomplete.  Any predefined, const HeaderName needs to be included in the internal header::name::parse_hdr function.
As is, this would fail:
    let h = http::header::HeaderName::from_static("want-repr-digest");
    assert_eq!(h, http::header::WANT_REPR_DIGEST);

with,
thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `"want-repr-digest"`,
 right: `"want-repr-digest"`', src/main.rs:4:5

...which is an unfortunately misleading error message, but is due to the internal representation of the const headers being different than ad hoc headers.
I do not speak on behalf of the crate owners, but I suspect these particular headers may not rise to the level of universal inclusion.  If you would like to argue otherwise,  I would humbly suggest you rebase this on top of my branch in #499, as it automates the inclusion of the const header names in parse_hdr.  When that is finally merged, if it is decided that these headers belong in this crate, this change alone would work. But, if not, it will make dealing with non-standard headers easier in general.

Yes, my initial feeling is that we wouldn't include these header names. The included constants tend to be very common. When the referenced pull request is merged (very soon), a user can make these constants in their own code.

@seanmonstar @jeddenlea I actually concur with you that these headers probably don't warrant inclusion just yet. However...
We have a chicken and egg problem. In the headers crate, Header::name() -> &'static HeaderName requires a return value of a static reference. Further, HeaderName has no public const constructor. Therefore, while http regards these headers as extensible, only http-defined headers can be used with the headers::Header trait. So I see three options:

Merge the headers into http. I think we agree this isn't the optimal solution.
Give HeaderName a public const constructor.
Modify Header::name() to return HeaderName rather than &'static HeaderName.

Thoughts?

The Header::name() was made a function specifically to allow for static header names that aren't constants. Otherwise it was going to be an associated constant. As a function, a user can return something from a lazy_static or similar.
But yes, the const constructor should be merged shortly. I have time next week for the review.

@seanmonstar I had attempted this with once_cell and failed. I might need to retry.

@npmccallum There is a good chance the problem you ran into with once_cell (or lazy_static) is that most of the places within the http API that want a header name express that via traits that don't align with the structs that either once_cell or lazy_static produces.  If that was the issue, the answer is just to force a dereference, e.g., https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=fd83935a06a6d659f97a1dd4b9aa125a

Would be surprised if these landed in http, at least before the standard is out of draft.
Like Jed said, you can achieve this with once_cell easily.

authors: jeddenlea npmccallum robjtede seanmonstar

repo: hyperium/http


text:
client: missing IntoFuture implementation on Response?

Using hyper and futures, I ended in a chain of futures where I am having a hard time combining all the resulting types. In particular, inside a combinator I have a Response from one side (the current request) and a FutureResponse from the other side (a newly spun request). However I seem not to be able to bridge between the two types as FutureResponse constructor is private, and the IntoFuture/FromFuture traits are not implemented for the conversion to happen. My understanding is that a into_future() or from_future() should be provided by hyper due to the custom newtype.
I may me misunderstanding something or missing some other easier way to do this, in which case I'll gladly take some hints and close this.

client::FutureResponse implements Future, which means it automatically implements IntoFuture. You won't get the Response from it until after it resolves, like with future_resp.and_then(|res| now_i_have_a_response(res)).

I'm fine with FutureResponse, the hard times are coming from trying to do an async conversion on an already resolved Response (and perhaps doing it the wrong way).
In a simplified snippet similar to my combinator:
client1.request(req1).and_then(move |r| {
  if r.status() == StatusCode::ImATeapot {
    client2.request(req2) // This is a FutureResponse
  } else {
     // ... I would have expected a r.into_future() here
 }).flatten().from_err();

Oh OK, so you have a closure where you want to return 2 different types, either a Response, or a FutureResponse. You could probably use the Either type from futures:
and_then(move |r| {
  if r.status() == StatusCode::ImATeapot {
    Either::A(client2.request(req2))
  } else {
    Either::B(futures::future::ok(r))
  }
}).flatten()

First, thanks for the quick feedback (and sorry, I should have provided a snippet earlier)! future::Either does indeed fit this scenario and solve my issue (I just missed its existence before).

so you have a closure where you want to return 2 different types

OTOH, this is not exactly what I was planning to do. I naively wanted to reconcile the already-resolved Response back to its async counterpart as I know that all the other branches of that closure will return FutureResponse. Wrapping everything in a Either looks like a perfect generic solution, but here I instinctively looked for a simpler async conversion, which looks like is not really possible by design/constraints?

I know what you mean, I was just saying that the types are distinct, and so therefore Rust complains. It's common in something like JavaScript where you can return either an immediate value or a promise, it just works. I wonder if that pattern can be made any nicer in Futures...

authors: lucab seanmonstar

repo: hyperium/hyper


text:
refactor(role): code refactor

This is an attempt at a fix for #1795

Thanks!

authors: bishtpawan seanmonstar


text:
Add Fhenix Testnet chain

Description
Add Fhenix Testnet chain.
Thanks to the Hyperlane Team—Yorke, Trevor, and all the hidden heroes—for your support! Greetings from ETHGlobal Brussels 😊
Backward compatibility
Yes, these changes are backward compatible just by deleting the fhenix folder.
Testing
I've tested using Fhenix as a destination chain. Not specifically with the deployed addresses in this PR.

@0x471 Still a few little issues but I'll take this over for you and fix it up

repo: hyperlane-xyz/hyperlane-registry


text:
Can't get deatils of orderer_local after restart of test-network and operations console

First run and associating identities are ok but when I stop everything and open them again I can’not reach details
1- I start test-network and console using the commands;
./setupNerwork.sh up
./setupConsole.sh up
2- I create assets using the command;
./createAsset.sh

3- I login http://localhost:3000/ , import assets and save
4- I associated  all identities and displayed details successfully

5- I logout the console and stop  both console and test-network
./setupConsole.sh down
./setupNetwork.sh down
6- I start the  test-network and console again using the following commands;
~/fabric-operations-console/fabric-samples/test-network$ ./network.sh up -ca -s couchdb
or  ./setupNetwork.sh up
./setupConsole.sh up

7- I get the following error when I open orderer_local details;
“Unable to get channel information from orderer_local. The associated identity does not have administrative privilege. Ensure that the associated identity has administrative privilege.”

8- For ordererca-local,  I also get error saying “Unable to retrieve the list of users”

@varadgit  Any idea?

@turantk when you "down" and "up", it is going to create new containers and new certificates. You will need to redo the ./createAsset.sh, clear identities from wallet in browser and create new ones and associate with components.

@varadgit  Thank you very much for your answer. I would like to say that you doing a great job.

closing

authors: turantk varadgit


text:
Allow the auditor to access idemix credential's revocation handle

Currently, the auditor receives only the opening of the Enrolment ID. This issue asks to add attach to the Idemix credential also a commitment to the revocation handle and pass the opening to the auditor in such a way the auditor can verify that the revocation handle is correct.
This will require changes to github.com/IBM/idemix, fabric-smart client, and to the token-sdk.
Related Idemix Issue: https://github.com/IBM/idemix/issues/21

done

authors: KElkhiyaoui adecaro

repo: hyperledger-labs/fabric-token-sdk


text:
Large amount of connections can cause performance degradation

In aca-py 0.7.4, If agent disclose a multi-use invitation for all invitee, When the number of connections increases, the return records of Askar's SCAN_QUERY grow proportionally. As a result, In proportion, the total execution time of connection 1.0 process increases.

@ianco and @andrewwhitehead -- could you please take a look at this.  Is there something we can do about this?
Thanks

See https://github.com/hyperledger/aries-cloudagent-python/pull/2116

authors: kukgini reflectivedevelopment swcurran

repo: hyperledger/aries-cloudagent-python


text:
Zero to hero demo using the basis of this framework

Intro
I have been working on getting this framework up and running. Along the way there have been questions and still are. Therefore I dedicated to, in this issue: https://github.com/hyperledger/aries-cloudagent-python/issues/983 to make a demo that uses the basis of this framework to explain what goes on. Dont do any shortcuts, but still fast enough to play with.
This is the first draft, hence draft pull request. The goal is to get an example of hosting as well in the same demo.
But for now, there are alot of questions in this doc itself, that need inline answering to, that can be reference to documentation or what not, but I was not able to easily find it.
As the questions are answered the doc will be updated.
The doc will also be update as I go along the way of making this work for our benefit.
Communication so far
https://github.com/hyperledger/aries-cloudagent-python/issues/983
https://chat.hyperledger.org/channel/aries-cloudagent-python?msg=GZF2o6YrKJ9c9voxg
https://chat.hyperledger.org/channel/aries-cloudagent-python?msg=o4nwTqwQMevvtjoJG

Codecov Report

Merging #1004 (3b3223e) into main (982a260) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1004   +/-   ##
=======================================
  Coverage   98.93%   98.93%
=======================================
  Files         325      325
  Lines       18785    18785
=======================================
  Hits        18585    18585
  Misses        200      200

Remember to DCO sign your commits (-s or --signoff)

There's some great material here, but not in form that we can really use.  I'm going to close this as I'm sure there is not a lot of time to keep this moving forward.

authors: codecov-io ianco swcurran vongohren


text:
test: Verifiable controller bdd tests

What I'm trying to do
Create Gherkin scenarios to test the Verifiable controller.
Expected result
Coverage of the Verifiable controller.

N/A

repo: hyperledger/aries-framework-go


text:
fix(askar): anoncrypt messages unpacking

AskarWallet unpack method was not properly handling the case of incoming anoncrypt messages, which is the case of forward messages. As a result, mediation was not working.
In this PR there are also some updates in the E2E tests to do the full flow (including mediation), interacting with an Indy SDK issuer. These tests are still skipped due to performance issues in CI/CD.

Codecov Report

Merging #1332 (08220ee) into main (64e20f1) will increase coverage by 6.58%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1332      +/-   ##
==========================================
+ Coverage   68.84%   75.42%   +6.58%
==========================================
  Files         688      688
  Lines       16427    16427
  Branches     2777     2777
==========================================
+ Hits        11309    12390    +1081
+ Misses       5115     4033    -1082
- Partials        3        4       +1

Impacted Files
Coverage Δ

packages/indy-sdk/src/wallet/IndySdkWallet.ts
32.25% <0.00%> (+0.40%)
:arrow_up:

...c/protocols/credentials/v1/V1CredentialProtocol.ts
87.83% <0.00%> (+0.54%)
:arrow_up:

...entials/protocol/v2/CredentialFormatCoordinator.ts
89.78% <0.00%> (+0.72%)
:arrow_up:

packages/core/src/modules/oob/OutOfBandApi.ts
83.38% <0.00%> (+1.01%)
:arrow_up:

.../modules/connections/services/ConnectionService.ts
88.23% <0.00%> (+1.47%)
:arrow_up:

packages/core/src/agent/Dispatcher.ts
69.81% <0.00%> (+1.88%)
:arrow_up:

...e/src/modules/dids/methods/peer/peerDidNumAlgo2.ts
50.54% <0.00%> (+2.19%)
:arrow_up:

packages/core/src/agent/BaseAgent.ts
83.13% <0.00%> (+2.40%)
:arrow_up:

...gleContextLruCache/SingleContextStorageLruCache.ts
12.50% <0.00%> (+3.12%)
:arrow_up:

...s/connections/handlers/ConnectionRequestHandler.ts
86.66% <0.00%> (+3.33%)
:arrow_up:

... and 94 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Was this an Askar issue, or an issue in AFJ’s use of Askar?

Was this an Askar issue, or an issue in AFJ’s use of Askar?

It's on the AFJ side. Both Askar and ACA-Py implementation based on it seems OK.

authors: codecov-commenter genaris swcurran

repo: hyperledger/aries-framework-javascript


text:
Enhance Code Readability Update MergeProtocolSchedule.java

Description:
This update refactors the conditional statement in the unapplyModificationsFromShanghaiOnwards method to improve code readability and alignment with Java standards.
Issue:
Previously, the code used size() > 0 to check whether the list config.getForkBlockTimestamps() contains elements:
if (config.getForkBlockTimestamps().size() > 0) {
  postMergeModifications.put(config.getForkBlockTimestamps().get(0), Function.identity());
}

While this is functionally correct, using isEmpty() is more idiomatic, concise, and clearer in intent.
Solution:
The condition was updated to use the isEmpty() method:
if (!config.getForkBlockTimestamps().isEmpty()) {
  postMergeModifications.put(config.getForkBlockTimestamps().get(0), Function.identity());
}

Importance:

Improved Readability: The new approach explicitly conveys the intent of checking for an empty list, making the code easier to understand.
Consistency with Java Standards: Using isEmpty() is the recommended practice in Java, as it directly reflects the operation being performed and aligns with modern coding standards.
Future Maintenance: This change reduces potential confusion for new contributors and ensures better maintainability.

Additional Notes:
This is a non-breaking change with no impact on functionality, focused purely on improving code quality.
Thanks for sending a pull request! Have you done the following?

[x] Checked out our contribution guidelines?
[x] Considered documentation and added the doc-change-required label to this PR if updates are required.
[x] Considered the changelog and included an update if required.
[x] For database changes (e.g. KeyValueSegmentIdentifier) considered compatibility and performed forwards and backwards compatibility tests

Locally, you can run these tests to catch failures early:

[x] unit tests: ./gradlew build
[x] acceptance tests: ./gradlew acceptanceTest
[x] integration tests: ./gradlew integrationTest
[x] reference tests: ./gradlew ethereum:referenceTests:referenceTests

Hi, thanks for your interest in our project. We'd love for you to contribute code, however we don't accept trivial contributions such as this. Have a look at good first issues and please read our (recently updated!) contributing guidelines https://github.com/hyperledger/besu/blob/main/CONTRIBUTING.md#guidelines-for-non-code-and-other-trivial-contributions

authors: macfarla mdqst

repo: hyperledger/besu


text:
feat(connector-fabric): private data collections support

Is your feature request related to a problem? Please describe.
Same thing that is being tutored here should work through the Fabric connector plugin of Cactus as well.
https://developer.ibm.com/recipes/tutorials/implement-private-data-collections-with-fabric-a-practical-example/
Describe the solution you'd like
The ability to specify the transient data in the run transaction request when invoking a Fabric chain code contract.
Describe alternatives you've considered
Nothing, I'm pretty confident that we need this as a feature.
Additional context
Relevant issue from the carbon accounting tool:
https://github.com/hyperledger-labs/blockchain-carbon-accounting/issues/6
cc: @takeutak @sfuji822 @hartm @jonathan-m-hamilton @AzaharaC @jordigiam @kikoncuo @jagpreetsinghsasan @arnab-roy

I'm working on this in the context of my BLP

authors: RafaelAPB petermetz

repo: hyperledger/cactus


text:
docs(ci): support debugging on CI server through ssh

Fixes #717

@petermetz Thank you! I think I got it now :)


text:
Adding the Letters of Credit sample app

Signed-off-by: Erin Hughes Erin.Hughes@ibm.com

Closing because of DCO nonsense :(


text:
Compare Snapshots Utility First 10

Type of change

New feature
Test update

Description

Snapshot comparison tool now only finds the first 10 divergences by default. A flag has been added to let the user allow for all divergences to be found.

Related issues

FAB-18425

I don't think that this flag adds any value. We can close this PR. Instead what is desired is to produce in a separate file, top 10 entries from the list of divergent records sorted by blkNum:TxNum. So, it could be used as a point from where divergence started.

authors: jcastrence manish-sethi

repo: hyperledger/fabric


text:
[FAB-17621] Simplify Printf formatting of cert/key/crl in tests

Signed-off-by: Chongxin Luo Chongxin.Luo@ibm.com
Signed-off-by: Will Lahti wtlahti@us.ibm.com
Type of change

Improvement (improvement to code, performance, etc)

Description

Simplify Printf formatting of cert/key/crl in tests.

Related issues
FAB-17612

rebased. waiting on CI


text:
Perf-Test: Database change event queue gets exhausted

Test Type: Broadcast POST /message/broadcast
Number of workers: 5
Frequency: 10 tx/sec per worker
Duration of worker's test before waiting for transactions to finish: 5 Seconds
Time elapsed before failure: ~15 Minutes
After running a broadcast test at ~50 tx/sec, FireFly consistently starts to log a Database change event queue is exhausted warning. Due to this, the workers of the test do not receive an event notification that all of their transactions have completed, preventing them from proceeding to their next job and sending more POST requests.
The warning is being triggered at this line in FireFly: https://github.com/hyperledger/firefly/blob/main/internal/orchestrator/persistence_events.go#L31
Grafana

Log
broadcastTest.log - Warnings begin on line 4932

Increasing the dbevents buffer size in the firefly config files has made this error go away. This suggests FireFly should increase the default size from 1,000 to 10,000.
event:
  dbevents:
    bufferSize: 10000

merged here: https://github.com/hyperledger/firefly-cli/pull/132

repo: hyperledger/firefly


text:
Split tokens into a separate crate

We should explore ways how to move smart_contract/default/tokens.rs into a separate crate that can be imported by both iroha_executor and iroha_client. The big problem to consider here is how to have that crate swappable because we want, not just default tokens,  but also user defined tokens to be provided by this crate.
The solution we find for tokens will be a foundation for creating executor_data_model crate which will contain all structures that are shared by iroha_executor and iroha_client such as custom expression system.
I somehow don't feel this is possible to do. I think that every executor will define it's own executor_data_model crate which will then be imported by the client. When a user creates their own executor, they will also make their own executor_data_model which can (but doesn't have to) re-export iroha_default_executor_data_model

so in essence we can define iroha_default_executor_data_model but users of iroha will have to define their own data model crates

I have a concern about swappable data model in general. Currently, probably the main reason to use an SDK is to safely build data model types. If data model is not static, then Iroha users (other devs) will have to build their own SDKs, which seems like a huge overhead.
Not entirely sure if my concern is 100% related to this issue.

Not entirely sure if my concern is 100% related to this issue.

Yes, your concern is related and valid

Regarding SDK problem I think we should provide support for default types as we do now. But if users will decide that they need some kind of expressions or anything else they should be able to combine our SDK and their own data model

closed as part of #4791

authors: 0x009922 Arjentix mversic

repo: hyperledger/iroha


text:
PoET Block Verifier Success Case

Signed-off-by: nconde naissa.conde@intel.com

This is the same as the previous branch, i was having some issues rebasing with upstream/master after merging the first branch. So i created this new branch.

repo: hyperledger/sawtooth-core


text:
Add inital README.md and 0000-template.md

This adds the intial README.md and 0000-template.md, copied from the Rust RFCs repository and then modified for our purposes.

Updated typo in commit message.

This should probably be a squash commit. The intermediate revisions of these files don't matter.

The commits make it clear what initially came from the Rust RFCs repository versus what modifications we made in this repository.

Pushed fixes to make 0000-template.md more Sawtooth appropriate.  Also wrapped lines at <80 characters in 0000-template.md.
Intentionally not squashing commits as we would do in other repos, in the spirit of the RFC process as described, which forbids squashing on RFC PRs.

More Rust RFCs->Sawtooth RFCs text updates.
Wishing I could hide the iteration with squash commits, but resisting.

Looks like all of my comments were on lines that got changed in later commits. For clarity, I will re-add the ones that haven't been addressed.

We will be proposing a sub-team/maintainer model as an RFC using this process as part the bootstrap of the process, so all the sub-team stuff is important. This roughly breaks down across repo lines (so supply chain sub-team will differ from the core sub-team, etc.).

@vaporos Should we add a subteam for each repo then on line 72 of the Readme?

Changes to address feedback from @delventhalz added.

@delventhalz We will fill in specific rules for core in a subsequent, more focused PR; we include the link here as an example and because we know we have special rules to write up (around API changes, etc.).  We can leave additional sub-team rules (if they exist for that sub-team) to those sub-teams once they have been defined.

Changed 'feature' to 'change' or 'major change' per Anne's comment.

authors: delventhalz ryjones vaporos

repo: hyperledger/sawtooth-rfcs


text:
Check formatstic older versions support

Doesn't work with formtastic < 3.0 (possibly 3.1)

:+1:

authors: sindrenm toothfairy


text:
BUG: xdg-portal-hyprland doesn't work on chronium

xdg-portal-hyprland works well on: OBS, firefox
xdg-portal-hyprland DOESN'T work well on: chronium.

HOW TO REPRODUCE:

sudo pacman -S chronium
Visit here
Try to screen capture. Nothing is displayed (only tab sharing work)

I think you know this one already. I just create the issue to keep track of it.

wrong bug tracker, and dupe of https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/52

authors: Zeioth vaxerski

repo: hyprwm/Hyprland


text:
Perfomance is bad when animations are running with iGPU

Hyprland Version
Hyprland, built from branch  at commit 3fe6162af1904f15fc5526c179c06a48265bdbff  (). Tag:   flags: (if any) debug
Bug or Regression?
Bug
Description
When there is any kind of animation playing, whether it is video playing or animations inside an application (like steam for example) switching between workspaces is not smooth at all.
I have tried many things and none worked. I have set CPU and GPU to performance mode, I have set GPU to Hybrid mode, I have enabled vrr and disabled it and same with vfr. Disabled scaling too.
What I have noticed is that the load on my iGPU and dGPU is just unreasonable. With vrr disabled my iGPU is at around 50% (that's fine) but the performance is bad. With vrr on iGPU is at 100% load and the performance is just a little bit better. The only time I am able to make Hyprland go fully smooth is when I use my dGPU as primary one and iGPU as secondary on Hyprland which seems unreasonable for me, considering that for other people iGPU is just enough for smooth experience, even on 4K monitors.
I have RX 6800M GPU and Ryzen 9 5980HX CPU with iGPU. My monitor is 2560x1440 with 165hz. Below I will send pictures of my tests while some kind of animation is playing (in this case video playing). I will gladly provide more info if needed. All of the tests were made in performance mode btw.
iGPU with vrr set to 1 and vfr set to true

iGPU with vrr set to 1 and vfr set to false

iGPU with vrr set to 0 and vfr set to true

iGPU with vrr set to 0 and vfr set to false

dGPU (main) and iGPU (secondary) with vrr set to 1 and vfr set to true

dGPU (main) and iGPU (secondary) with vrr set to 1 and vfr set to false

dGPU (main) and iGPU (secondary) with vrr set to 0 and vfr set to true

dGPU (main) and iGPU (secondary) with vrr set to 0 and vfr set to false

Each of these tests were done after session restart.
One thing to note is that iGPU sometimes jumps to 2100mHz according to nvtop while dGPU is the main one. I would do tests with purely dGPU enabled but Hyprland refuses to launch when this is the case. A person who has literally the same machine as me reports that Hyprland goes smoothly for them with iGPU only while they have two monitors. I am certain that the behavior my session is showing is not normal at all. One could say that maybe something is wrong in my machine but I have checked everything so many times that I am starting to doubt that the issue is on my part.
Like mentioned before, I will gladly provide more information if needed. I just want Hyprland to run smoothly with iGPU only without my fans going crazy as if I were playing AAA games. Especially when it is possible for others.
How to reproduce

Install Hyprland.
Use iGPU only.
Try running a video on firefox in workspace 1 for example.
Run steam on main page in workspace 2.
Try switching between them.
The issue should be hopefully visible.

Crash reports, logs, images, videos
No response

have you tried kde? sway? 1440p at 165Hz seems impossible to me for an igpu.

have you tried kde? sway? 1440p at 165Hz seems impossible to me for an igpu.

Yes. Both work with no issues.

what workspace animation are you using?

what workspace animation are you using?

Default ones. My hyprland is mostly default besides binds and scaling. I haven't gotten to ricing my hyprland yet.

no clue then. on fade, I'd understand, as it's the most taxing one, but slide is default and it shouldn't be.
Sway was a bad example from my side tbh, no anims there. KDE running smooth though is definitely odd.
To me this is just weird. I'd bet on either gpu not keeping up or that funky gpu clock thing when the load is not enough to sustain high clocks but high enough to need them

no clue then. on fade, I'd understand, as it's the most taxing one, but slide is default and it shouldn't be.
Sway was a bad example from my side tbh, no anims there. KDE running smooth though is definitely odd.
To me this is just weird. I'd bet on either gpu not keeping up or that funky gpu clock thing when the load is not enough to sustain high clocks but high enough to need them
FYI: don't play with vfr. vfr should always be enabled, as it is by default.

I was playing with vfr for the sake of tests. I am aware that it should be always on like indicated on the variable page of Hyprland.
Yes, this thing is very weird to me too. I do not understand why would the animations not be smooth on Hyprland with iGPU. Especially when plenty of people do not have this issue. Even the person with the same machine as me does not have these issues.
I do not think that gpu is the issue here, or at least gpu only. I see no reason for KDE working fine but Hyprland not, there must be something more going on. I would understand that GPU would be not able to keep up if I didn't have high-end laptop. Though considering what kind of machine I have, I see no reason for tiling compositor to not run smoothly out of all things.
I'll try to get more info if possible, but for now I am just stuck with this issue.

I can confirm I am having the same issue, igpu is always above 80% from the Hyprland itself when idling... Is there any info I could provide to help troubleshoot this? My animations are completely disabled, same for blur

I'm wondering it this isn't related to the full gl rendering pipeline - commit 2ebfd0c, because I notice that my rx560 is using significantly more power, even when idle. pre that commit it ran at ~8 watts idle, after the commit it's 16 and up.
If I build with commit before 2ebf0c, power usage goes back to what it was.
I set the card for low power performance and it keeps it at the ~8 range, but all animations are very choppy.
So it's a choice between much more power being used or no animations and choppiness in movement.
To me, there's no noticeable performance difference with or without the commit.
In my case no improvement in smoothness, etc, just more power being used.

I'm wondering it this isn't related to the full gl rendering pipeline - commit 2ebfd0c, because I notice that my rx560 is using significantly more power, even when idle. pre that commit it ran at ~8 watts idle, after the commit it's 16 and up. If I build with commit before 2ebf0c, power usage goes back to what it was.
I set the card for low power performance and it keeps it at the ~8 range, but all animations are very choppy.
So it's a choice between much more power being used or no animations and choppiness in movement.
To me, there's no noticeable performance difference with or without the commit. In my case no improvement in smoothness, etc, just more power being used.
With the above people mention the igpu, it's probably because of limited resources, exacerbated by the commit.

I had these issues way before that commit. And I do not mind using more power as long as it is still reasonable. Though my iGPU running constantly at 100% and still have hyprland animations to be choppy is just crazy. That's just not normal imo.
I wonder if the issue is related to the CPU. Something like Hyprland needing to use CPU too but not much goes into it, only GPU. Though I do not know exactly how Hyprland works from that aspect. I guess I might as well try overclocking my CPU and see if anything changes.

I've made some performance improvements in 68e57b7ee36f015d99988f38cb3a8b83c23ae7c3 and 408d96668d57fdd1a713e56f1d40a9befd51bd4a
also, for best results, use hyprpaper for your wallpapers and not swaybg. Haven't tested swww or any others.

I've made some performance improvements in 68e57b7 and 408d966
also, for best results, use hyprpaper (git!!! commit from today) for your wallpapers and not swaybg. Haven't tested swww or any others.

I use SWWW and I did tests without it running too and it does not seem to impact the perfomance in any way, only when the wallpaper changes which I do not mind and is to be expected. I will build into the latest branch now and report if anything changes for me.

The perfomance seems to be actually better,. The GPU also uses a little bit less resources. The animations are still snappy however. I'll try checking if it is some service or process ruining it on my system.

at least another confirmation my patches worked, even if just a bit :)

Interesting, I am running latest git (hypr)
pre gl  with swaybg and waybar - ~8 watts
post gl with swaybg and waybar - 16-18 watts consistent
post gl with swaybg, no waybar - ~10 watts
So it appears as if some interaction with waybar, and the gl pipeline keeping the gpu busy so watts stays higher than it used to.
I haven't checked other resource usage on the gpu, I just happen to keep track of watts in waybar.

that's odd, as the new pipeline allows for some shortcuts where it's possible and keeps everything just like it was otherwise.

I removed parts of waybar config, to see if I could narrow things down.
Running clock with display per second - 16-18  watts
Without clock, it drops to ~14 watts (things displayed every 2 seconds or longer)
and without waybar it runs ~10
I even built the latest git waybar to see if any changes, still the same.
The only other time I've seen >= ~16 watts is if I'm trying to run 2 monitors off the card at the same time.

The perfomance seems to be actually better,. The GPU also uses a little bit less resources. The animations are still snappy however. I'll try checking if it is some service or process ruining it on my system.

I tried to kill as many services and processes as I could and nothing seems to have changed the performance.
Though I have noticed something that could help a lot I believe. I found out that it might not be animations but rather a video playing, specifically on youtube. I use firefox as my browser and I listen to music all the time. I have noticed that the animations are not smooth mostly when I switched between workspaces in which one of them is the video playing (the video must be on the screen). There are small lags when switching between matrix and steam too but it's barely noticable. Youtube videos seem to be mostly affecting the perfomance. I tried twitch, discord and reddit with videos and none affect the perfomance like Youtube does.
This is weird to me though because I asked others to play a video on youtube and switch between workspaces and tell me if it affects their performance and everyone told me that it does not and they use iGPU only too.
What do you think that the issue may be?

in that case, I think the issue may be youtube or firefox... Tried chromium? does it do the same? if so, the issue is youtube.

in that case, I think the issue may be youtube or firefox... Tried chromium? does it do the same? if so, the issue is youtube.

After more testing I found out what the issue was. My normal config has set scaling to 1.5. I set it to 1 and everything goes fine, even the youtube video. I assume that was also a difference between other people's config and mine.
The problem is that I have 2K monitor and I can't see the text very well with scaling set to 1. Furthermore, on KDE I have scaling set to 150% which is the equivalent to 1.5 in Hyprland, that's why I had such scaling in the first place.
Why does it happen though? On KDE the scaling works fine but not on Hyprland? Is there a way to mitigate or fix this problem? My eyes kinda hurt trying to read the text and all of that stuff when it's too small.

what if you set it to 2?

It's very smooth. That is beyond weird. 1.5 has issues but 2 doesn't? It is pretty big for my liking but a lot better than 1.

hahahaha welcome to fractional scaling on wayland :)
my guess is firefox is not using the new fractional scaling protocol yet, so what happens is:
firefox gets logically resized to size / 1.5 and receives a scale of 2
firefox renders at (size / 1.5) * 2 = 4/3 of the monitor's res
lag because 4/3 of 1440p is almost 4k

hahahaha welcome to fractional scaling on wayland :)
my guess is firefox is not using the new fractional scaling protocol yet, so what happens is:
firefox gets logically resized to size / 1.5 and receives a scale of 2 firefox renders at (size / 1.5) * 2 = 4/3 of the monitor's res lag because 4/3 of 1440p is almost 4k

Ooooooh that makes sense hahaha. KDE has pretty good fractional scaling from what I have heard, I believe my experience confirms it too. But I have totally forgotten about the state of fractional scaling on wayland overall.
Well, I am glad that this issue can be fixed in a way, I believe that's what other people are struggling with too. I would suggest documenting it somewhere on hyprland website so people know not to use non-integer numbers as scaling on Hyprland. I have seen plenty of people do the same thing I did.
Thank you again for willing to help me. I will close this issue now because the root of the problem has been found and it can be fixed.

You can use fractional scaling and there's nothing wrong with it, it works. More and more apps support it. Chromium and qt I know already do. IIRC firefox did too, but guessing by the lag it might not / impl sucks

That's true I guess. Especially when everything worked and there were some small issues with specific apps and big issue with firefox. Though it is not perfect it seems and many people wish to have the "perfect" experience if you get what I mean.
I pretty much fall under the same category too. It works mostly yes, but firefox makes it problematic and I do not want to use anything else and I believe other people will have similar excuses too. So I believe it would be great to at least inform people that if they have performance issues and are using fractional scaling then they should try non-fractional scaling and see if this fixes their problems.

feel free to make a mr to the wiki :)

Sure!

feel free to make a mr to the wiki :)

Done :)

Read this https://www.phoronix.com/news/Firefox-Fractional-Scale-v1, Firefox 121 is also supposedly getting some Wayland updates.

worth noting that impl seems to be dogshit and broken as hell


text:
Hyprland crashes resuming from suspend + cursor disappears

Hyprland Version
 System/Version info
Hyprland, built from branch main at commit 1343aa865d04d80313b0e674c28ecfdbeb90e876 dirty (config: Don't override fullscreen opacity if only two opacities are provided (5512)).
Date: Tue Apr 9 16:22:44 2024
Tag: v0.38.0-83-g1343aa86, commits: 4416

flags: (if any)

System Information:
System name: Linux
Node name: james-office-desktop
Release: 6.7.9-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 08 Mar 2024 01:59:01 +0000

GPU information:
0e:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP102 [GeForce GTX 1080 Ti] [10de:1b06] (rev a1) (prog-if 00 [VGA controller])

os-release: NAME="EndeavourOS"
PRETTY_NAME="EndeavourOS"
ID="endeavouros"
ID_LIKE="arch"
BUILD_ID="2022.04.08"
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://endeavouros.com"
DOCUMENTATION_URL="https://discovery.endeavouros.com"
SUPPORT_URL="https://forum.endeavouros.com"
BUG_REPORT_URL="https://forum.endeavouros.com/c/arch-based-related-questions/bug-reports"
PRIVACY_POLICY_URL="https://endeavouros.com/privacy-policy-2"
LOGO="endeavouros"

plugins:

Bug or Regression?
Bug
Description
If I put my system into S3 sleep and then resume, hyprland crashes and I get dumped back out to SDDM.
Also when I log back in my mouse cursor has disappeared. I can get it back by running:
hyprctl setcursor Bibata-Modern-Ice-Hypr 24
How to reproduce
Presumably just by suspending and resuming, but not sure if this is something particular to my machine. I'm using nvidia 545 drivers. Also I'm using swaylock because hyprlock is unstable for me. I have no idea if swaylock gets engaged before the system enters s3 sleep?
Crash reports, logs, images, videos
hyprlandCrashReport797595.txt

I was able to replicate this with systemctl hybrid-sleep left my desktop hanging and I was unable to go to tty, systemctl suspend came back fine, and systemctl hibernate seemed to turn off my computer and brought me back to tty for login? This is with an AM5 msi mobo X670-p, and amd 6900 for gpu. The odd thing is none of them left a core dump?
What command are you running to make this happen @endeavour?

systemctl suspend. I've switched from S3 to S2idle as a workaround.

authors: The-Briel-Deal endeavour


text:
floating windows open in workspace 1 not in current workspace

Hyprland Version
 System/Version info
Hyprland, built from branch main at commit 33a7b7bb6b307d6e4a093f75ffdda0419cd7ffaf  (core: fix on-empty workspace being called too often (6026)).
Date: Sun May 12 01:03:32 2024
Tag: v0.40.0-65-g33a7b7bb, commits: 4671
flags: (if any)
System Information:
System name: Linux
Node name: archlinux
Release: 6.8.9-arch1-2
Version: #1 SMP PREEMPT_DYNAMIC Tue, 07 May 2024 21:35:54 +0000
GPU information:
0000:00:02.0 VGA compatible controller [0300]: Intel Corporation Alder Lake-UP3 GT2 [UHD Graphics] [8086:4628] (rev 0c) (prog-if 00 [VGA controller])
os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo
<Paste the output of the command here>

Bug or Regression?
Bug
Description
floating windows open in workspace 1 not in current workspace
Any workspace but 1, open floating window (Bluetooth manager, nm-connection-editor, anything I have a float rule on) it opens on wksp 1
How to reproduce
Click on Bluetooth manager and open this but open on workspace 1 not open on current workspace
Crash reports, logs, images, videos
No response

have you tried disabling initial workspace tracking in the config?

No how to do this ??

https://github.com/hyprwm/Hyprland/assets/57872034/e050fe93-dc66-47a6-a9dc-4d7a88022779

https://wiki.hyprland.org/Configuring/Variables/#misc
ctrl+f "initial"

Now working properly. Thanks, varxy! You are one of the developers who are most active in helping. 🙂

So I will close this issue ??

ye, it's expected since you probably launched your "managers" at launch, so they got a token for workspace 1

ok

authors: mahaveergurjar vaxerski


text:
Invalid xdg_positioner

System Info and Version
 System/Version info
Hyprland, built from branch main at commit d0a224a4915b5a90555818ed3f9e49e1a61b7cdb dirty (seat: discrete round away from zero + high res scrolling (6317)).
Date: Tue Jun 4 04:47:02 2024
Tag: v0.40.0-155-gd0a224a4, commits: 4761

flags: (if any)

System Information:
System name: Linux
Node name: Arch
Release: 6.9.3-1-cachyos-echo-lto
Version: #1 SMP PREEMPT_DYNAMIC Thu, 30 May 2024 19:14:38 +0000

GPU information:
64:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 [1002:15bf] (rev c7) (prog-if 00 [VGA controller])

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

plugins:

Bug or Regression?
Regression
Description
Invalid xdg_positioner for menu or popup, xwayland and wayland apps have this problem!
How to reproduce
above
Crash reports, logs, images, videos

Related issue #6150