text:
Add Embedbase as a vector store

Hey! Thanks for the great lib 🚀, I thought about integrating Embedbase (https://github.com/different-ai/embedbase) in it

[x] example usage of embedbase as a vector store with the hosted version
[x] basic unit test of embedbase as a vector store
[x] integration test of embedbase as a vector store with the hosted version
[x] updated .env.example(s) for the hosted version

@nfcampos hey, wondering if there is any issue with the doc? The repo build locally and doc run, anything special to do?

@louis030195 going to close due to merge conflicts. If you'd still like to get this merged in, please open off of an up-to-date main branch, and I'll review. Thank you!


text:
Add a way to not apply the default sort if another sort exists

See context: https://discord.com/channels/1032376983214116914/1080197260538826883/1249777228338954313
Imagine a table with 2 columns, name and date, both sortable. Ny default, the date is sorted by desc if the user hasn't applied any sorts.
However, if the user has applied a sort, it should sort by that specific sort, and not by date anymore. Currently, the date desc sort is still applied first even if the user specifies another sort.

https://github.com/hybridly/hybridly/commit/505fe580145605e0a09bffababe995379162e91c

source: gharchive/issue

repo: hybridly/hybridly

license: MIT

license_type: permissive

license_source: github-api


text:
Reference to tastypie still exists

hs_core/hydroshare/users.py still has reference to tastypie

You'll need to be more specific. I have a fresh checkout of develop and all references in that module have been removed. Perhaps you're looking at master, where the purge branch has not been merged yet?

I am referring to line#282 to 286 in hs_core/hydroshare/users.py.  I am assuming those are tastypie related.

The function in question doesn't seemed to be invoked from anywhere. Do you know if it will need to be used or if it can be removed?

Not sure whether this refers to the function get_user_info(user) which imports UserResource from hs_core.api, which does not exist in the code base. This get_user_info() is not used in the code base (only used by test script). @pkdash @selimnairb @ironfroggy Can this get_user_info() be removed safely or it is used implicitly somehow by REST API?

@hyi Using PyCharm I found that function get_user_info() (defined in hs_core.hydroshare.users.py) is used only in unit tests. The unit tests where it is being used are marked to be skipped from unit test run. It should be safe to remove this function.

@pkdash That is what I found using PyCharm as well. I think if we remove this function, we should remove the corresponding unit test as well. Could you take care of removing this as well as the corresponding test as part of clean-up in conjunction with bringing in coverage test to our development and deployment workflow? Thanks!

The pull request was merged into develop and tested on dev; nothing is broken due to this removal, so closing.

authors: hyi ironfroggy pkdash

repo: hydroshare/hydroshare

license_source: bigquery


text:
Improve checksum implementation

The current checksum implementation cannot handle the case where files with the same file name exist in multiple folders/collections. Need to add more constraint into iquest to handle this special case.

PR Merged. Closing.


text:
Button label accuracy in JSON schema hide/show for model instance/program aggregations

After "Show Model..." to see the JSON schema, it's not clear how to hide the JSON.  It looks like the standard mechanism for that is clicking "Show..." again, but changing it to "Hide..." would make that more clear.

@horsburgh and @goodalljl I believe this falls under Resource Model -> Model Instance aggregation. Labeling as an enhancement as it seems to pertain to styling.

@horsburgh The text of the button to show/hide metadata schema has been changed to indicate that the same button can be used a toggle to show/hide the schema (you can test this on prod) as shown here.

Wondering if we can close this issue.

Assuming this is in production, it can be closed.

authors: eclark-cuahsi horsburgh hydrocheck pkdash


text:
WIP-3129 code cleanup for deprecated resource types

NOTE: This PR currently has cleanup code only for NetCDF resource type.  There are 10 deprecated resource types that need to deleted. This PR has been created to get early feedback as similar code cleanup strategy will be applied to other deprecated resource types. The goal is to completely remove code for deprecated resource types. As part of this PR, we won't be able to completely remove all code for a deprecated resource type as we need the resource type migrations to cleanup the database tables associated with the deprecated resource type. After the code for this PR is deployed and necessary migrations are applied, we will have another PR to completely remove the remaining code for the deprecated resource types.
Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4528

@sblack-usu and @hyi I have created this PR to get early feedback. This PR has cleanup code only for the NetCDF resource type. If the strategy I am using to remove this deprecated resource type seems reasonable, then I can do the same for the rest of the deprecated resource types.

source: gharchive/pull-request

authors: hydrocheck pkdash


text:
hyp output to stdout

It would be great to redirect hyp text output to stdout, so that it would be redirected into file, filtered through pipe with grep, etc.

@rzelnik yeah are there any commands in particular you wanted this for? Would help us prioritize those

hyp info: I seed many drives, so the list overflows the terminal screen. Export into file or paging through 'more' would be helpful.

For me this is a feature request with lowest possible priority.

Yeah no prob, wrapping a big website update this week, can prob hit this next week

On Dec 18, 2020, at 1:08 AM, Robert Zelnik notifications@github.com wrote:

For me this is a feature request with lowest possible priority.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.

Okay should be fixed in 1.3.0

authors: pfrazee rzelnik

repo: hypercore-protocol/cli


text:
Add components

This PR addresses the following:

Add Checkbox input

Add Radio input

Add Dropdown input

Update Banner styles

Thanks !

authors: andyngo noteed

repo: hypered/design-system


text:
Added WebSocket Server.

增加WebSocket服务
修改Server回调，相同server下，相同class，不同方法报Warning的BUG。

有点小问题。。先不要merge

repo: hyperf-cloud/hyperf


text:
Introduce Dark Mode

Summary
Introducing new Dark Mode. You can switch with a button on top. The value if dark mode is set or not is stored in localStorage on Client Browser.
Resolves #744
Some OS (iOS or Mac OS e.g.) can give the browser an information if system wide dark mode is set or not. If the OS shares this information, webui is set automatically to the mode. Manual overwrite is still possible by pressing button on the webui. This is valid as long the session in the client is open.
What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[X] Feature
[ ] Code style update
[ ] Refactor
[ ] Docs
[ ] Build-related changes
[ ] Other, please describe:

If changing the UI of web configuration, please provide the before/after screenshot:

Does this PR introduce a breaking change? (check one)

[ ] Yes
[X] No

If yes, please describe the impact and migration path for existing setups:
The PR fulfills these requirements:

[ ] When resolving a specific issue, it's referenced in the PR's body (e.g. Fixes: #xxx[,#xxx], where "xxx" is the issue number)

If adding a new feature, the PR's description includes:

[ ] A convincing reason for adding this feature
[ ] Related documents have been updated (docs/docs/en)
[ ] Related tests have been updated

To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
Other information:

I can't assign someone for review. Can someone please assign @tpmodding?

Merge?

Someone tested?
@tpmodding eg?

I couldn't find any problems.

nope, hau raus...im notfall gibtsn fix :-)

authors: Paulchen-Panther b1rdhous3 tpmodding

license: mit


text:
Sign Transactions Offline - fabric-node-sdk

Test the following tutorial locally
Implement functionality in REST API

Sounds good.  Please let me know how it goes.

@udosson Should we still work on this?  Or do your suggestions for trustID make this unnecessary now?

@opentaps I would leave this issue open as at the moment I don't know much about trustID and if it's production-ready (which I don't think). Hopefully, we can gather more information about trustID during the Open Climate Collabathon. And still, signing transactions offline in a kind of wallet app is the way to go if we want to move the user authentication away from the REST API/Frontend layer. If we think of a generic wallet we could just switch the crypto material we use to sign the transaction - fabric private key vs. SSI credential/identity.

Ok sounds good.
Si Chen
Open Source Strategies, Inc.
Video: Fighting Climate Change with Blockchain and Open Source
https://youtu.be/NgxNWXa_IjE
On Fri, Nov 13, 2020 at 12:02 PM Robin Klemens notifications@github.com
wrote:

@opentaps https://github.com/opentaps I would leave this issue open as
at the moment I don't know much about trustID and if it's production-ready
(which I don't think). Hopefully, we can gather more information about
trustID during the Open Climate Collabathon. And still, signing
transactions offline in a kind of wallet app is the way to go if we want to
move the user authentication away from the REST API/Frontend layer. If we
think of a generic wallet we could just switch the crypto material we use
to sign the transaction - fabric private key vs. SSI credential/identity.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/opentaps/blockchain-carbon-accounting/issues/11#issuecomment-727003721,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AANAS4MC2RJWONKMC3N3OM3SPWGE7ANCNFSM4RBSHFFA
.

I was able to reproduce offline private key signing using on a fabric test-network. I'll look into integrating the js funcitons I put together for offline signing into the REST API of the utility emissions channel.

Here is a small demo replicating the tutorial for offline signing.
https://github.com/brioux/fabric-client-signer

CA on Node Server registers users and opens gateway to fabric network.

Browser requests server to generate either an endorsement proposal or query request.

This is passed back to browser for signing with offline key.

signatures are returned to server to either

send proposal and return a commit request.
Query is submitted to server and returns results

Commits are signed again by browser and sent back to gateway.
The first step when server opens gateway for client is currently done with local filesystem storage of X.509 identity with private key. Trying to instant I ate the gateway using only offline private key.

Thanks for showing us this today.  This issue is now completed.  We'll move on to integrating with the Vault and HSM in #232

authors: brioux opentaps sichen1234 udosson


text:
added pagination for transactions view frontend

Signed-off-by: deekshithvarma256 deekshithvarma256@email.com

What this PR does / why we need it:
This feature integrates the Api calls to render server-side pagination for list of transactions to be fetched.
As of now the pagination is being handled from UI. Implementing pagination from backend addresses an issue when dealing with retrieval of huge data sets.
Which issue(s) this PR fixes:

Fixes #347
Special notes for your reviewer:
Does this PR introduce a user-facing change?

Yes

Additional documentation, usage docs, etc.:

This PR has dependency on #346

LGMT, please squash the commits.

repo: hyperledger-labs/blockchain-explorer


text:
revert #239, couchdb version  v.3 => hyperledger/fabric-couchdb:latest to support legacy fabric-version

#239 changed couchdb version from fabric-couchdb:latest to couchdb:3
the background of #239:

fabric-couchdb became deprecated and recent fabric supports couchdb:3 officially.

the reason of revert #239:

to use couchdb:3, it needs FAB-17993 in peer which legacy fabric doesn't have.
recent fabric version still supports fabric-couchdb,  so simply revert it.

for supporting variety of versions (legacy to recent), version-image matrix will be needed.

@itaru2622 did you see the email I sent to you about being the committer of the project? I sent to you last Friday.

repo: hyperledger-labs/minifabric


text:
Cannot Receive Invitation on Mobile

What I'm trying to do
I am trying to set up the Aries Go Framework on a mobile device. I built the .aar and included it in the Android project. I implemented the Provider and Store interfaces, the LoggerProvider and Logger interfaces, and now I am trying to receive an invitation.
This is how I create my agent:
val options = Options().apply {
            useLocalAgent = true
            storage = storeProvider
            logger = loggerProvider
            agentURL = mediatorAgentUrl
            websocketURL = mediatorAgentWebsocketUrl
            apiToken = mediatorAgentApiKey
            label = localAgentName
        }
agent = Ariesagent.new_(options)

Then, I am receiving an invitation by calling receiveInvitation() on the DIDExchangeController. The payload in the RequestEnvelope looks as follows:
{
    "@type":"https://didcomm.org/didexchange/1.0/invitation",
    "@id":"96427dd3-bb44-441a-a24c-5bb7e46a9756",
    "label":"Mediator",
    "recipientKeys":["KEY"],
    "serviceEndpoint":"ENDPOINT_URL"
}

As a response, I get no error, but a kind of empty result payload as an answer:
{
    "state":"",
    "created_at":"0001-01-01T00:00:00Z",
    "updated_at":"0001-01-01T00:00:00Z",
    "connection_id":"23914fe1-dc28-49ae-942e-309d76ee5191",
    "request_id":"",
    "my_did":""
}

The handler I registered prints the following information (so I guess the DIDExchangeController at least receives some data and then does something with it):
2021-08-11 09:23:29.030 10055-11506/package D/MyHandler: received notification topic: didexchange_states
2021-08-11 09:23:29.040 10055-11506/package D/MyHandler: received notification message: {"id":"3ff0ebc7-880c-4b3f-9f47-ec046f0bdb31","topic":"didexchange_states","message":{"ProtocolName":"didexchange","Type":"post_state","StateID":"invited","Message":{"@id":"96427dd3-bb44-441a-a24c-5bb7e46a9756","@type":"https://didcomm.org/didexchange/1.0/invitation","label":"Mediator","recipientKeys":["KEY"],"serviceEndpoint":"SERVICE_ENDPOINT_URL"},"Properties":{"connectionID":"31f6968d-4056-4284-8d8e-197a2270aa61","invitationID":"96427dd3-bb44-441a-a24c-5bb7e46a9756"}}}

My logger prints the following:
aries-framework/did-exchange/service: receive inbound message : map[@id:96427dd3-bb44-441a-a24c-5bb7e46a9756 @type:https://didcomm.org/didexchange/1.0/invitation _internal_metadata:map[] label:Mediator recipientKeys:[KEY] serviceEndpoint:SERVICE_ENDPOINT_URL]
aries-framework/did-exchange/service: msgType=https://didcomm.org/didexchange/1.0/invitation thID=96427dd3-bb44-441a-a24c-5bb7e46a9756
aries-framework/did-exchange/service: retrieved current state [null] using nsThID [my_39363432376464332d626234342d343431612d613234632d356262376534366139373536e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855]
aries-framework/did-exchange/service: check if current state [null] can transition to [invited]
aries-framework/did-exchange/service: command=[didexchange] action=[handleInbound] [msgType=[https://didcomm.org/didexchange/1.0/invitation] msgID=[96427dd3-bb44-441a-a24c-5bb7e46a9756] connectionID=[1d8976ef-f977-446a-8312-aa99c3bbae4b]] msg=[success]
aries-framework/did-exchange/service: handling msg: &{Msg:map[@id:96427dd3-bb44-441a-a24c-5bb7e46a9756 @type:https://didcomm.org/didexchange/1.0/invitation _internal_metadata:map[] label:Mediator recipientKeys:[KEY] serviceEndpoint:SERVICE_ENDPOINT_URL] ThreadID:96427dd3-bb44-441a-a24c-5bb7e46a9756 Options:0x40004b63c0 NextStateName:invited ConnRecord:0x40004921e0 err:<nil>}
aries-framework/controller/did-exchange: command=[didexchange] action=[ReceiveInvitation] [invitationID=[96427dd3-bb44-441a-a24c-5bb7e46a9756] label=[Mediator] connectionID=[1d8976ef-f977-446a-8312-aa99c3bbae4b]] msg=[success]
aries-framework/did-exchange/service: sent pre event for state invited
aries-framework/out-of-band/service: input: {ProtocolName:didexchange Type:0 StateID:invited Msg:map[@id:96427dd3-bb44-441a-a24c-5bb7e46a9756 @type:https://didcomm.org/didexchange/1.0/invitation _internal_metadata:map[] label:Mediator recipientKeys:[KEY] serviceEndpoint:SERVICE_ENDPOINT_URL] Properties:0x400009a1e0}
aries-framework/did-exchange/service: finished execute state: invited
aries-framework/did-exchange/service: updated connection record &{ConnectionID:1d8976ef-f977-446a-8312-aa99c3bbae4b State:invited ThreadID:96427dd3-bb44-441a-a24c-5bb7e46a9756 ParentThreadID: TheirLabel:Mediator TheirDID: MyDID: ServiceEndPoint:SERVICE_ENDPOINT_URL RecipientKeys:[KEY] RoutingKeys:[] InvitationID:96427dd3-bb44-441a-a24c-5bb7e46a9756 InvitationDID: Implicit:false Namespace:my}
aries-framework/out-of-band/service: command=[out-of-band] action=[handleDIDEvent] [] errMsg=[ignored]
aries-framework/did-exchange/service: finish execute state action: 'invited'
aries-framework/did-exchange/service: sent post event for state invited
aries-framework/out-of-band/service: input: {ProtocolName:didexchange Type:1 StateID:invited Msg:map[@id:96427dd3-bb44-441a-a24c-5bb7e46a9756 @type:https://didcomm.org/didexchange/1.0/invitation _internal_metadata:map[] label:Mediator recipientKeys:[KEY] serviceEndpoint:SERVICE_ENDPOINT_URL] Properties:0x400049ea40}
aries-framework/did-exchange/service: halted execution before state=requested
aries-framework/out-of-band/service: command=[out-of-band] action=[handleDIDEvent] [] errMsg=[ignored]
aries-framework/did-exchange/service: command=[didexchange] action=[processMessage] [msgType=[https://didcomm.org/didexchange/1.0/invitation] msgID=[96427dd3-bb44-441a-a24c-5bb7e46a9756] connectionID=[1d8976ef-f977-446a-8312-aa99c3bbae4b]] msg=[success]

Is this correct at this point, or am I doing something wrong?
Neither my mediator agent, nor my Store implementation is called at any point, which I find very strange. Shouldn't the agent store something? Also, why is my ResultEnvelope empty, except for the connection_id?
When I try to call acceptInvitation using the above connection_id, I receive an error telling me that some "data cannot be found". This is no surprise, since nothing was stored.
Am I missing some important configuration?
I am happy to supply more code should you need it.

My StoreProvider seems to be getting called. It creates a few stores. But the stores itself are never called. Can somebody confirm that setting your own store on mobile actually works?

It seems that connection.NewRecorder(p) is returning a memory store, instead of the mobile binding store. However, I cannot figure out why. Does anyone know, why this might be happening?
It is very difficult and cumbersome to debug, since all I can do is add some logging statements, build the entire thing time and again, and then execute it on the phone.
// newConnectionStore returns new connection store instance.
func newConnectionStore(p provider) (*connectionStore, error) {
	recorder, err := connection.NewRecorder(p)
	if err != nil {
		return nil, fmt.Errorf("failed to initialize connection recorder: %w", err)
	}

	didConnStore, err := did.NewConnectionStore(p)
	if err != nil {
		return nil, fmt.Errorf("failed to initialize did connection store: %w", err)
	}

	return &connectionStore{Recorder: recorder, ConnectionStore: didConnStore}, nil
}

I can confirm that the stores are being called.
However, in the particular case of receiving an invitation, no connection entry is created in the mobile store. Only the ProtocolStateStore seems to be called.
Why is that? Shouldn't a record be put into the mobile store as well (since the ProtocolStateStore exists only in memory)?

@Marco77577 I did not try to use the did exchange invitation but i got the connection to work with the out of band invitation.
From the documentation about mediators and edge agents without inbound capacity here, you have to go over websockets and allow the mediator to reuse these to return a response. This is necessary because an edge agent does not have a service endpoint.
So your agent's options should look like this:
val options = Options().apply {
            useLocalAgent = true
            storage = storeProvider
            logger = loggerProvider
            agentURL = mediatorAgentUrl
            websocketURL = mediatorAgentWebsocketUrl
            apiToken = mediatorAgentApiKey
            transportReturnRoute = "all"
            addOutboundTransport("ws")
            label = localAgentName
        }
agent = Ariesagent.new_(options)

Also be sure that mediatorAgentUrl and mediatorAgentWebsocketUrl are using the ws:// scheme.
Steps for a connection:

Create an outofband invitation on the mediator (outofband/create-invitation).
Accept the invitation on the mobile agent with the method acceptInvitation from the OutOfBandController (do not forget to add my_label to the received invitation).
On the mediator search for the requested connection id (e.g. search on connections) and accept the connection (connections/{connectionId}/accept-request).

At the end you should see that the connection are completed on the mediator. But i did not find out how to find connections on the mobile agent yet.
Note: Be sure that all Aries component were uniformly compiled with or without the ACAPyInterop tag.

repo: hyperledger/aries-framework-go


text:
Introduce - proposals should be sent simultaneously

The current implementation of introduce protocol sends proposals to introducees consistently. We need to change it. Proposals should be sent simultaneously.

Done!


text:
fix: iOS app permissions

Summary of Changes
iOS 14+ uses local network permissions at app start which triggers permissions package to start, incorrectly configured Podfile and outdated package version cause an exception trigger at iOS app startup
Updated react-native-permissions package and added configuration in Podfile
Also tested Android to make sure updating package doesn't affect the flow

Pull Request Checklist
Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

[X] All commits contain a DCO Signed-off-by line (we use the DCO GitHub app to enforce this);
[ ] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[ ] Updated documentation as needed for changed code and new or modified features;
[ ] Added sufficient tests so that overall code coverage is not reduced.

@MosCD3 , can't we use the reactNativePermissionsIOS.json  configuration file instead of changing the cocoa pod configuration file?

This may be unique to your development environment. I don't see this. I do some times see, when the app starts, it ask for permission to use the network. I just answer yes and it seems to work fine. I think this is proper behaviour for iOS though.

keep it a bit until I retest if not a solution I will close it

@MosCD3 I was running Bifold the other day and ran into this problem. I think it may be needed here. Are you able to fix the conflicts so it can be merged?

Yes sure, will do that

authors: MosCD3 cvarjao jleach


text:
test(cbdc-example): removed dependency on chai and update tests

Chai was removed as dependency of the cbdc-backend package
A test scenario was removed in the 'bridge-back' feature due to having duplicated logic with another one in the same file
Some tests were failing due to timeouts, so we added an explicit and generous timeout limit for each step

closes #3034

@petermetz thanks a lot. I'm always in a struggle with the naming, but getting better!! 😀

@petermetz thanks a lot. I'm always in a struggle with the naming, but getting better!! 😀

@AndreAugusto11 No worries! It takes a long time (speaking from personal experience) to build up the muscle memory for these kind of things so until then the best course of action is to just keep working on it!

@outSH thanks, also pinned all versions accordingly.

repo: hyperledger/cacti


text:
Remove spurious files

Update readme to correct project name
Signed-off-by: Ry Jones ry@walledcity.org

@delventhalz PR updated per feedback

@ryjones Awesome. You should be good to merge.

authors: delventhalz ryjones

repo: hyperledger/education-cryptomoji


text:
Docs id_ID translation

Modularity part

@nikofebrianur you need to get your local machine up-to-date with this branch, you are way behind. I think you should make a new branch from release-2.5 and start there

authors: nikofebrianur ryjones


text:
Java chaincode implementation of ERC-20 token standard.

Java chaincode implementation of ERC-20 token standard. It follows the same logic of the existing golang and javascript chaincode implementation in the repo.

@renjithpta I think there is also a lingering error in that a client can reach a negative balance by BURNing a token quantity higher than the current available balance.
e.g. :
mint 5000 tokens for account1
transfer 100 tokens from account1 -> account2
BURN 5000 tokens.

At this point the token balance in the account is -100.   I think this is an error case and should be reflected as INSUFFICIENT_FUNDS

Hi @renjith
This looks great!! Thanks for the new addition!
A couple of really minor comments. And maybe one question...

The SPDX copyrights are missing from a few of the source files.
Please add a log / printf / output / ... line at the return from the CC contract methods.
Why does ClientAccountID return an encoded cert description from golang, and a certificate summary in the Java/Node contracts?
Move the Genson out of Transfer and Approval classes -> ERC20TokenContract class.  This can be in a marshal() routine in the contract class.

authors: jkneubuh renjithpta

repo: hyperledger/fabric-samples


text:
propose HIPE: Agent connection protocol

This is meant to replace HIPE 18
Rendered Text

Rendered Text

It seems as though it might make sense to leave "new" off the front of each of the message types. It feels a little redundant but I don't feel strongly about this if you think it should stay that way.

It seems as though it might make sense to leave "new" off the front of each of the message types. It feels a little redundant but I don't feel strongly about this if you think it should stay that way.

Done

Another minor comment regarding the types: I think we might want to make connection the message family and move that from off the front of the type.
So, this "@type": "did:sov:1234567890;spec/messagefamily/1.0/connectionofferunencrypted" would become "@type": "did:sov:1234567890;spec/connection/1.0/offerunencrypted".

Since the intention of the connection request (and response) is to establish a pairwise relationship with the other party, I think the exchanged data for these messages should not be a public key but rather a DID and DIDDoc. I would think the other party would also need to know what key entry it should be using to respond, so as that the response would be sent to the correct agent. The connection being established is (I believe) between two domains, not just two agents (based on the requirements in the Cross-Domain and DIDDoc Convention HIPEs) and so this protocol should account for that.
In saying that, I'm assuming that the "message" is just a piece of verification text being exchanged - correct?
That implies this HIPE blurs into the Relationship State Machine HIPE/protocol. My preference is that the RSM is an internal implementation (not exposed at the cross-domain level) and so other than knowing that somehow the set of agents that make up the domain have to manage the RSM, it has little impact on this HIPE - other than the requirement that the implementation provide a DID and DIDDoc for these messages to send.

We've come across a couple of use cases recently where an introduction mechanism might be useful from a user experience perspective. An "introduction" in this case would be where two identities have a relationship, and one (Alice) wants to introduce the other (Bob) to a third party (Carol). Alice and Bob, and Alice and Carol already have relationships and the goal is for Bob and Carol to have a relationship (that doesn't include Alice). It seems that the use of unencrypted communications and public DIDs might be able to be avoided if a temporary public key can flow from Bob through Alice to Carol in place of the "out of band connection". I think it might make sense to standardize, could reduce correlation opportunities and could improve user experience. Risk is that it be able to be abused, so that needs to be considered.
Has this been considered? Good/bad idea?

So this protocol uses “temporary” keys. The public key here is an ephemeral key so not correlation is created. It also adds forward secrecy. This does not handle routing I’m assuming that is handled at a lower level. By doing introductions this way you either have 0-RTT with public DIDs and 1-RTT otherwise.

@swcurran I added some details which might address your concerns. What this protocol is really trying to establish is not what needs to be sent to establish the pairwise relationship but how that information is sent. In place of the DID and Verification key in the connection message, we could just as easily put just a DID to be looked up on the ledger or a DIDDoc.
Our focus at the moment is to establish connections with what we have today (for a functional demo at IIW) which, unfortunately, means that we won't be sending a full DIDDoc because we don't have DIDDoc support in Indy-sdk yet. Additionally, before introducing the complexities of routing through domains, we want to demonstrate the basics of messaging. As we see things like Microledger and DIDDoc support hit the SDK, I think we can start to have more HIPEs addressing exactly what content is sent as part of a connection establishment.
By keeping the scope of this HIPE narrow, we can focus on the mechanics and crypto of the exchange itself.

Feel free to correct me if I'm off, @mikelodder7

Hey @dbluhm, reasonable I guess, but I don't think HIPEs should be written to deal with short term deliverables.  I think it's great that your team is working on an immediate deliverable (can't wait to see it!), but I don't think a HIPE should be constrained by that deliverable.  HIPEs (and especially this HIPE IMHO) should be driving what core indy-sdk functionality needs to be implemented, so work can be prioritized on that.  HIPEs shouldn't propose unrealistic "cool, but ain't never gonna happen" approaches, but they shouldn't be limited to what can be done today.
I'd prefer to see a complete HIPE for Establishing Connections, with perhaps a "Current Status" section that deals with what can be implemented in the short term.  Ideally, there should also be a "Dependent On" section that points to other HIPEs/features needed.
It's not clear my suggestion is right (although it is how I understand the HIPE process).  I think if we do go with the more pragmatic approach you are proposing, then we should back off on several of the other HIPEs that have been proposed - especially the Cross-Domain and DIDDoc Conventions ones, as they are contradictory to this HIPE - and this one has code.
Finally - I would add that this to me shows the urgency of getting DIDDoc support in at least indy-sdk and likely indy-node.

Hey @dbluhm, reasonable I guess, but I don't think HIPEs should be written to deal with short term deliverables. I think it's great that your team is working on an immediate deliverable (can't wait to see it!), but I don't think a HIPE should be constrained by that deliverable. HIPEs (and especially this HIPE IMHO) should be driving what core indy-sdk functionality needs to be implemented, so work can be prioritized on that. HIPEs shouldn't propose unrealistic "cool, but ain't never gonna happen" approaches, but they shouldn't be limited to what can be done today.

That's not the goal of this HIPE. The goal here is to have the introduction messages. This only shows the minimum required fields. The contents of message can be whatever is necessary to complete the setup. The problem is we haven't define exactly what this is. So this should be the "Dependent On" section that you suggest.

I'd prefer to see a complete HIPE for Establishing Connections, with perhaps a "Current Status" section that deals with what can be implemented in the short term. Ideally, there should also be a "Dependent On" section that points to other HIPEs/features needed.
It's not clear my suggestion is right (although it is how I understand the HIPE process). I think if we do go with the more pragmatic approach you are proposing, then we should back off on several of the other HIPEs that have been proposed - especially the Cross-Domain and DIDDoc Conventions ones, as they are contradictory to this HIPE - and this one has code.

Cross-Domain should work in conjunction with this HIPE. This HIPE does not cover how routing and discovery are made. Just the interactions needed to complete the setup for a new relationship in a secure forward secret manner.

Finally - I would add that this to me shows the urgency of getting DIDDoc support in at least indy-sdk and likely indy-node.

Agreed.

authors: dbluhm mikelodder7 swcurran

repo: hyperledger/indy-hipe


text:
[fix] #2225: Fix benchmarks

Signed-off-by: Ales Tsurko ales.tsurko@gmail.com

Description of the Change
I've changed the waiting time (thread::sleep) for blocks to appear in WSV. The value is twice bigger, so I expect it will work on machines twice slower.

Issue
As described in the ticket, cargo bench panicked. It turned out the panic caused by too little time of waiting for blocks to appear in WSV.

Benefits
It should fix the bug.

Possible Drawbacks
The needed time may vary from machine to machine. As for now I don't know how everything works exactly, I can only guess that it's because of the time of blocks validation. So it may fail on slower machines, and then we need to increase the value again. Also, it slows down the benchmarks.

Usage Examples or Tests [optional]
None.

Alternate Designs [optional]
We may provide an optional config for benchmarks through an environment variable, for example, with the sleep time.

I can't reproduce the error in issue #2225. Is the panic message you find the same as the original issue?

Well, I have the warnings described in the issue, but they aren't the cause of the panic, which is actually the one you described below.

Apart from that, it seems that the tps-dev benchmark has indeed broken at some point since #1963. As of efa9a35, no matter how long I wait (at least in 32 seconds, I've confirmed that it fails. It's abnormal) the same number of blocks as the configuration are never applied to WSV:
thread 'main' panicked at 'The block is not yet in WSV. Need more sleep?', client/benches/tps/lib.rs:94:22

One possible cause is that the event counters are detecting more events than the actual number of blocks committed, and exiting prematurely

Hmm Then changing this value won't fix anything. Will investigate further then. Thanks!

repo: hyperledger/iroha


text:
Implement server-side pagination for api calls yielding high results

In cases where a view in NEXT comprises data that can potentially become very large (eg browsing proposals, users, roles, packs. https://www.dropbox.com/s/ccdzd1dy7bfo3xc/B1.png) implement server-side pagination to cut down the payload/time over the wire.

[ ] Determine where the data is being queried from (formerly pseudo-relational tables, more recently 'state')
[ ] Add support to the endpoint for limiting the range of results ( query params )
[ ] Write the query that filters on the given range params

Acceptance criteria:

Demo in the UI. If the feature is not available in the UI, demo using a rest client.
Given a GET request to a lookup endpoint having a specified page length, the api should yield a list of results that is less than or equal to the specified page length. If results = 12, page size is 10, then page 1 should have 10 results.
The api should be able to show traversal across several pages. If results = 50, page size is 8, then the call for page 2 should return (considering base index of 1) results in 9-16.
Traversals should stop at either end of the list without breaking. If results = 15, page size is 10, then page 2 should have 5 results and traverse no further.
Paging should be stateless. Any lookup of any range of results should be available in the api at all times. Any and all state management must happen in the UI.

I took the liberty of rewriting #847 and now it seems to overlap this story quite a bit.  The desired end user experience would be that everything in the UI seems very fast and responsive...  Not sure if this can be accomplished without some sort of client side caching though.  Please take a look at #847 and decide if this story is in direct conflict or is complimentary.
In general we should try to write stories that describe the desired functionality and not the implementation...  I like most of the Acceptance Criteria on this one.

per discussion with Phil, we have pagination for much of the app already.  We will revisit this if we have perf issues.

authors: PatrickLammers kthblmfld

repo: hyperledger/sawtooth-next-directory


text:
Proposal Page: Add "like" function to the comment (S)

Summary
As a DAO user I would like to be able to "like" a comment on the proposal detail page
AC

[x] Add like (heart) to comments
[x] Add like counter next to heart

Design
https://xd.adobe.com/view/27bc7fff-1845-449c-913a-4ecfb3c9461c-72ef/screen/9e4d3c8c-ea69-46b9-a065-e1dcf85fd9a6

@arsenijesavic @pugakn this is not working for me:

repo: hypha-dao/dho-web-client


text:
can this be build with system installed wlroots?

i have wlroots 0.15.1 installed it would be nice if hyprland can be build using system wlroots instead of using a subproject.
A meson_options.txt build with system wlroots would be nice.

no. dupe of #302

authors: adcdam vaxerski

repo: hyprwm/Hyprland


text:
Spotify in special tag causes problems on multi-monitor setups

Reproduce:

open spotify and switch to tiled
move it to the special workspace
move an another window from not your primary monitor into the special workspace
weird behavior regarding the primary monitor ensues
(this has not been thoroughly tested, might be also applicable under more circumstances)

Expected outcome is for Spotify to play nice and work as any other tiled window in the special workspace and not cause trouble.
Noted outcome is breakage fixable by switching to a different workspace on the broken monitor.
Spotify is regarded as being broken and at fault.
Video to visualize:
2022-07-20 12-24-36.webm

Is this still a thing?

Still happens. But its.. better? A bit. Doesn't seem to happen every time now. Seems like the requirement is a bit different :shrug:
Spotify can break it in both tiled and floating, but I've noticed that when putting anything floating into the special workspace it breaks as well, windows in a workspace disappear and the floating window that was moved to special is not shown on the right monitor it should be + damage tracking leaves a trail from the animation. Only saw https://github.com/hyprwm/Hyprland/issues/827 which doesn't talk about rendering breakage so am reporting this just in case

Well actually, putting anything into special as a second item and upwards breaks my workspace the same way also..
Having focus on the second monitor first, then moving a window from the first monitor breaks the second monitor's workspace

odd. Doesn't do that for me.

Have you tried with only two monitors? (if I remember, you have a 3 monitor setup)
It's also weird that this kind of behavior only seem to happen to me. At least I haven't seen any other issue here.
My monitors are different. One is a 60Hz 24 inch, while my primary is a 165Hz 23.8 inch, both 1080p though.

I now have only 2 monitors (sadge)

:disappointed:

Same issue here but not only on spotify. I think it might be related to heterogenous setups (whether in scale or refresh rate).
What happens is that my 4k screen scaled at 1.25 will sometimes become a "no-go zone" - i.e. if I move any window to it (whether by mod+dragging or with hyprctl dispatch they just...vanish?
They are still listed as a running process and are present in hyprctl clients so they didn't crash but Hyprland doesn't render them.
If that's useful I make extensive use of both the special workspace (to tuck away my kitty terminal) and dwindle groups. I also noted that manually assigning workspaces to monitors seems to trigger this pretty consistently.
As you can see I have a very heterogenous setup:

`hyprctl monitors` Output
Monitor DP-1 (ID 0):
	1920x1080@239.759995 at 3072x0
	description: BenQ Corporation ZOWIE XL LCD EBRAL01378SL0 (DP-1)
	active workspace: 1 (1)
	reserved: 0 0 0 0
	scale: 1.00
	transform: 0
	focused: yes
	dpmsStatus: 1

Monitor DP-2 (ID 1):
	1920x1080@60.000000 at 4992x0
	description: ViewSonic Corporation VA2456 Series VC4183200617 (DP-2)
	active workspace: 2 (2)
	reserved: 0 0 0 0
	scale: 1.00
	transform: 1
	focused: no
	dpmsStatus: 1

Monitor DP-3 (ID 2):
	3840x2160@143.998993 at 0x0
	description: LG Electronics LG ULTRAGEAR+ 201NTPCEA896 (DP-3)
	active workspace: 3 (3)
	reserved: 50 0 0 0
	scale: 1.25
	transform: 0
	focused: no
	dpmsStatus: 1

can we close this?

@vaxerski Yeah. Haven't had that happening to me for a looooooong while. So for me it can be closed np

authors: OtaK Pebor vaxerski


text:
Launching kickoff softlocks Hyprland due to no surface being focused

Hyprland Version
 System/Version info
Hyprland, built from branch main at commit 2ead1fd22103ce065661555513bace5897083ded  (virtual-keyboard: emit event before finishing keyboard).
Date: Sat May 18 05:07:33 2024
Tag: v0.40.0-111-g2ead1fd2, commits: 4717

flags: (if any)

System Information:
System name: Linux
Node name: milkbar
Release: 6.9.1-arch1-1
Version: #1 SMP PREEMPT_DYNAMIC Fri, 17 May 2024 16:56:38 +0000

GPU information:
0b:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] [1002:731f] (rev c1) (prog-if 00 [VGA controller])
0c:00.0 VGA compatible controller [0300]: NVIDIA Corporation TU104 [GeForce RTX 2070 SUPER] [10de:1e84] (rev a1) (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
Launching kickoff results in Hyprland being uninteractable due to no window being focusable (normal), but the new kickoff surface also appearing to be unfocused (no inputs work, can't type, can't close with esc).
I can still change workspaces with hotkeys, but that doesn't help. The only way I was able to escape back to a usable system was to switch TTY and terminate kickoff from another session.
I have already bisected the issue, unfortunately it's a significant commit (121d3a7).
121d3a72137d4780602cf245704615f63357ea22 is the first bad commit

How to reproduce
Start kickoff on master and try to type.
Crash reports, logs, images, videos
No response

Still the case after the release of 0.41.0.

Same issue here


text:
Allows using wallpaper files without extensions

This resolves #52, though it introduces a dependency on the file executable. That shouldn't be a problem though, as on Arch file is required by the base package.

Yeah, that would be way cleaner, although the function wouldn't be used anywhere else in hyprpaper.
I will try to do something like that

Yeah, that would be way cleaner, although the function wouldn't be used anywhere else in hyprpaper.

at the moment, in the future, who knows.

I didn't completely copy the code from hyprland at all

That if was meant to check if for some reason the file binary, the program that actually checks the file type doesn't exist, but I forgot execAndGet logs that already

Just a note, as the initial is kind of hidden now, you might want to add file (the binary) to the dependency list on AUR when you merge this

repo: hyprwm/hyprpaper


text:
Error while downloading hyprpicker via yay

So, I tried to install hyprpicker via yay and got an error:
make: entering directory "/home/padlakun/.cache/yay/hyprpicker-git/src/hyprpicker"
make: *** There is no rule for building the "all" target. Stop.
make: exit directory "/home/padlakun/.cache/yay/hyprpicker-git/src/hyprpicker"
==> ERROR: There was a failure in build().
Interrupt...
-> build error: hyprpicker-git-exit status 4
-> Failed to install the following packages. Manual intervention is required:
hyprpicker-git - exit status 4
Distro: Arch; Kernel: cachyos-bore 6.8.1-3

I don't maintain aur packages. Ask whoever does to fix it

authors: MRPOZZIchanel vaxerski

repo: hyprwm/hyprpicker


text:
README - Screenshots of the local UI added to readme

Related issues

#9

Description
When a user lands on i-am-bee/bee-ui, they should immediately see some screenshots of what they are getting.
Motivation
This repo is  for the Bee UI. Specifically the graphical user interface. Let's see some graphics!
Ideas
Adding 1-5 key screenshots of the local UI. Ideas for screenshots include:

Chat welcome screen of a newly created Bee
Bee chat screen with a multi-turn conversation, showing plan expanded
A workspace home page with multiple bees populated
Bee configuration modal

Can we close as resolved?

repo: i-am-bee/bee-ui


text:
Client friendly links

Currently removing advisornet links completely
Untick advisor net as source in user table.
Ask: replace advisor net link with accessible link where content is equal
RAG can still see advisor net links, i.e. caddy has full domain for advice
But then remove advisor net links in the sharable answer.
Currently, retrieves links from opensearch
passes retrievals into merge retrieves func (langchain)
embed, cluster, filter
maximal marginal diff - find most different docs from each set (i.e create a set [0,1,1,2] -> [0,1,2]
Then passes docs through to response
Inline citation is then
Could we provide a caddy citation, to provide publicly available links
When doing email re write drop all inline citations?
Current User needs. They have to replace the advisor net link with the suitable public link when sending to client.
For client less about proof of statements, more giving an action. For advisors proof is necessary
Advising advisor then translating for client. 2 stage process??
During same flow, option/button for cached client friendly.
Have prototype for 16th with few examples, not production ready
1st step on process to have low risk caddy front desk/door

Regenerate output to remove advisernet links and format text addressing client. Remove all inline links and list only public links at the end of the text.
Button for advisor to generate client-facing version (doesn't go back to the supervisor).

Later
0) Checking that the client-facing text is true to the public website links listed to a %

Making sure that advisor is actually reading client-facing version. 'Confirm you've read this?'
Tracking if this gets sent to client

authors: mhgov sdurcan

repo: i-dot-ai/caddy-chatbot


text:
WIP: prepare for production

don't merge this!

Closing as this is now part of @ghannay10's branch

repo: i-dot-ai/consultation-analyser


text:
Skip sign in confirmation page.

Context
A proposed solution for REDBOX-248 - skip the sign-in confirmation page.
Changes proposed in this pull request
Auto-skip the sign-in confirmation page.
Guidance to review

Relevant links
Things to check

[ ] I have added any new ENV vars in all deployed environments
[ ] I have tested any code added or changed
[ ] I have run integration tests

LGTM. Any security concerns around this?

authors: KevinEtchells brunns

repo: i-dot-ai/redbox-copilot


text:
apktool don't work

I want do this comand: java -jar apktool.jar d -d 202.apk out
I use apktool 1.4.1.
I get error.
C:\apktool>java -jar apktool.jar d -d 202.apk out
I: Baksmaling...
testI: Loading resource table...
Exception in thread "main" brut.androlib.AndrolibException: Could not decode ars
c file
        at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:55)
        at brut.androlib.res.AndrolibResources.getResPackagesFromApk(AndrolibRes
ources.java:315)
        at brut.androlib.res.AndrolibResources.loadMainPkg(AndrolibResources.jav
a:50)
        at brut.androlib.res.AndrolibResources.getResTable(AndrolibResources.jav
a:43)
        at brut.androlib.Androlib.getResTable(Androlib.java:44)
        at brut.androlib.ApkDecoder.getResTable(ApkDecoder.java:148)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:98)
        at brut.apktool.Main.cmdDecode(Main.java:120)
        at brut.apktool.Main.main(Main.java:57)
Caused by: java.io.IOException: Expected: 0x001c0001, got: 0x00000000
        at brut.util.ExtDataInput.skipCheckInt(ExtDataInput.java:48)
        at brut.androlib.res.decoder.StringBlock.read(StringBlock.java:45)
        at brut.androlib.res.decoder.ARSCDecoder.readPackage(ARSCDecoder.java:97
)
        at brut.androlib.res.decoder.ARSCDecoder.readTable(ARSCDecoder.java:82)
        at brut.androlib.res.decoder.ARSCDecoder.decode(ARSCDecoder.java:48)
        ... 8 more

Help me please. How fixed apktool and decompile apk ?

Apktool 1.4.1 is like 3 years old.

How me this comand "java -jar apktool.jar d -d 202.apk out" do in last version apktool ?
Option -d not found in new version.
I want to debug android program without sorce.

I read this aticle https://habrahabr.ru/post/150825/ and want to repeat. How me do this on new version ?

C:\apktool2>apktool d -d 202.apk
SmaliDebugging has been removed in 2.1.0 onward. Please see: https://github.com/
iBotPeaches/Apktool/issues/1061

Yes smali debugging has been removed.

How me do debug ? I want to debug android tools without sorce in eclipse with smali.

This is a bug tracker. Not for support. You aren't reading anything that I'm saying.

repo: iBotPeaches/Apktool


text:
[BUG] Build keeps failing after an exception

Information

Apktool Version (apktool -version) - latest one
Operating System (Mac, Linux, Windows) - Windows
APK From? (Playstore, ROM, Other) - Playstore

i was trying to build an apk with the normal command "java -jar apktool.jar b name" and i got this exception at the end stage: "java.io.IOException: There is not enough space on the disk", which let me know i didn't have enought space on my disk, i solved the problem and now when i retype "java -jar apktool.jar b name" i get the following error: "Unable to rename temporary file"
the only thing i did to solve this error is to decompile the apk again.
its a small bug but it will be good if it can be solved

Apktool dumps some files into tmp for executing aapt. This has issues on systems where execution from tmp is disallowed. You may use -a to point to a copy of the aapt binaries.
https://ibotpeaches.github.io/Apktool/documentation/#rebuild
Maybe I'll look into adapting -a to just redirecting the location of tmp.  So I'll hold this open for that.

Apktool dumps some files into tmp for executing aapt. This has issues on systems where execution from tmp is disallowed. You may use -a to point to a copy of the aapt binaries.
https://ibotpeaches.github.io/Apktool/documentation/#rebuild
Maybe I'll look into adapting -a to just redirecting the location of tmp. So I'll hold this open for that.

isn't a better fix just deleting the remaining temporary files each re-build?

this error is caused by residue of *.apktool_temp
need to  delete the temporary file before
outFile.renameTo(tempFile);
https://github.com/iBotPeaches/Apktool/blob/35ce8fc061d31e30978c6f65d194fe3c4191b0be/brut.apktool/apktool-lib/src/main/java/brut/androlib/Androlib.java#L663

this error is caused by residue of *.apktool_temp need to delete the temporary file before outFile.renameTo(tempFile);
https://github.com/iBotPeaches/Apktool/blob/35ce8fc061d31e30978c6f65d194fe3c4191b0be/brut.apktool/apktool-lib/src/main/java/brut/androlib/Androlib.java#L663

Could you put up a pull request with what you suggest the solution is? I see the tempFile.delete() so not following.

authors: beranos iBotPeaches yapcheahshen


text:
[BUG] Encoding using AAPT/AAPT2 Failed! / Compile Failed !

Information

Apktool Version (2.9.3) -
Operating System (Termux,Android) -
APK From? (Jar from github) -
Java Version (17-internal) -

encoding-aapt.failed.log
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether sources has changed...
I: Checking whether resources has changed...
I: Building resources...
W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_166296468087419377422651239972314854954.tmp[235]: syntax error: unexpected '('
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.termux/files/usr/tmp/brut_util_Jar_166296468087419377422651239972314854954.tmp, compile, --dir, /data/data/com.termux/files/usr/tmp/apk-mitm-7da17574913f61fee42c6514e4ebba90/decode/res, --legacy, -o, /data/data/com.termux/files/usr/tmp/apk-mitm-7da17574913f61fee42c6514e4ebba90/decode/build/resources.zip]```

### encoding-aapt2.failed.log

```I: Using Apktool 2.9.3
I: Checking whether sources has changed...
I: Smaling smali folder into classes.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes2 folder into classes2.dex...
I: Checking whether sources has changed...
I: Smaling smali_classes3 folder into classes3.dex...
I: Checking whether resources has changed...
I: Building resources...
brut.androlib.exceptions.AndrolibException: brut.common.BrutException: could not exec (exit code = 1): [/data/data/com.termux/files/usr/tmp/brut_util_Jar_14362068881115375334613972798598968693.tmp, compile, --dir, /data/data/com.termux/files/usr/tmp/apk-mitm-7da17574913f61fee42c6514e4ebba90/decode/res, --legacy, -o, /data/data/com.termux/files/usr/tmp/apk-mitm-7da17574913f61fee42c6514e4ebba90/decode/build/resources.zip]
W: /data/data/com.termux/files/usr/tmp/brut_util_Jar_14362068881115375334613972798598968693.tmp[235]: syntax error: unexpected '('```

### Steps to Reproduce
1. `apktool `

### Frameworks
If this APK is from an OEM ROM (Samsung, HTC, LG). Please attach framework files
(`orignal.apk`)

### APK
![IMG_20240603_154419](https://github.com/iBotPeaches/Apktool/assets/133761719/57c37827-36af-473d-b9c3-5a5b234167e6)
![IMG_20240603_154344](https://github.com/iBotPeaches/Apktool/assets/133761719/fed03bfa-93bf-4838-8758-d1006471c369)

### Questions to ask before submission
1. Whenever the app is compiled after patching it, it always shows an error meaning that compile failed.  can you fix it by updating it

2. if i use it with 'ApkTool M' then it works but in Termux it always fails why is that

Sorry on Android isn't support. As you can see the aapt2/aapt binaries are not supported on the architecture.

authors: TechnoIndian iBotPeaches


text:
update apktool.bat

to work even without java_home defined . i tested many times and all those options work.
i left uncommented the line to work with any jdk present.

i dont know why but in my pc im adding java_home to path but it does not get recognized. already restarted IDE's and cmd but no fix. i've also not restarted windows yet  because thats too much still open here. maybe thats the problem.
but anyway this makes it more resilient to work in enviroments that had java just installed, and because of that it may probably be more resilient to work in vm's, dockers and alike.

i just restarted the pc - actually energy fall , and its not working even with the changes now.

just saw that JAVA_HOME was not being set because it needed to be in "" for program files having space in the path


text:
🛑 Local Files is down

In 6b90dae, Local Files (https://ustc-files.ibugone.com/) was down:

HTTP code: 503
Response time: 1232 ms

Resolved: Local Files is back up in 943ec82.

repo: iBug-Bot/status


text:
Documentation Issue: Search on "Category" leads to 404

Clicking on category class after searching for "category" leads to a 404
Found on page  https://www.itwinjs.org/reference/core-backend/imodels/category - "undefined"

Thanks. Fixed.

authors: ben-polinsky simihartstein

repo: iTwin/itwinjs-core


text:
ivh-treeview-children-attribute does not override default config

While wanting to change the children-attribute for a specific tree, i noticed my getChildren().length was always zero.
<div class="streamgroups-tree"
     ivh-treeview="$ctrl.streamgroups"
     ivh-treeview-children-attribute="'childStreamGroups'"
     ivh-treeview-on-cb-change="$ctrl.treeUpdated()">

With previous config, i received following (example) output
node.childStreamgroups.length = 3
getChildren().length = 0

When i updated the option in the ivhTreeviewOptionsProvider it worked perfectly and getChildren().length was also 3.
ivhTreeviewOptionsProvider.set({
   childrenAttribute: 'childStreamGroups'
});

Things i've tried:

Using another key name
Setting the value via a controller variable instead of plain string
Adding options via ivh-treeview-options with controller variable & object directly in attribute
Printing out multiple variables

Hmm... that's interesting. Nothing jumps out at me but I also see we don't currently have any tests for overriding this option. I'll take a look but if you were interested in submitting a PR with a failing test that would help fast tract things :).

Thank you for the fast reply.
I will try to set up a test case a.s.a.p.

@iandroogmans any luck reproducing this on your end? I had a chance to take quick look but the test I threw together seems to be passing:
https://github.com/iVantage/angular-ivh-treeview/commit/0531a2ee97fa64a48ee57d94b6d928de9e834226

@jtrussell Haven't had the chance to do this. I'll add it to my agenda for this weekend.
Kind regards

Hey @jtrussell, I've managed to reproduce this issue in the starter template provided. See the following link:
http://jsbin.com/bolesaboxa/1/edit?html,js,output

Feel free to re-open if this is still an issue :).

authors: iandroogmans jc9412 jtrussell

repo: iVantage/angular-ivh-treeview


text:
Layoutoptions aren't set correctly

Bug:
var layoutOptT = typeof options.layoutBy;
if (layoutOptT == "string")
  cy.layout({name: "cose"});
else if (layoutOptT == "function")
  options.layoutBy();

must be:
var layoutOptT = typeof options.layoutBy;
if (layoutOptT != "string")
  cy.layout({name: "cose"});
else if (layoutOptT == "function")
  options.layoutBy();

@bastianleirpo I think that you mean it must be
var layoutOptT = typeof options.layoutBy;
if (layoutOptT != "string")
  cy.layout({name: options.layoutBy});
else if (layoutOptT == "function")
  options.layoutBy();

If so I realized this bug and fixed here (https://github.com/iVis-at-Bilkent/cytoscape.js-graphml/commit/026819924b43a9d84d2a508aae686b552ae0f66c#diff-30321755da65b185145ed63f223042a6R175). If so we can close the issue.

I think this is not an issue anymore, so I'm closing.

authors: bastianleirpo hasanbalci metincansiper


text:
Adds support for getting the amount of VAT per unit of a line

Background
In the UK, we must, according to law, list the price per item excluding VAT on invoices. The cart library today supports listing price per line and price per cart excluding VAT. But this is not enough for the UK.
What does this PR change?
This PR adds a field to the ItemLine class called unitVat. CartUtils.buildItemLines is modified to also put the VAT amount per unit in the line. I consider this to be the most backwards-compatible way to accomplish this.
Could this be done in a better way?
Yes, absolutely!
We could modify Item to add a default method:
/**
 * Returns the VAT amount per item
 * @return
 */
default long getUnitVat() {
    return CartUtils.calculateVatFromAmount(getUnitPrice(), getVatPercentage());
}

But we can't do this right now, because it would break Android support.

@adamvoncorswant The relevant information is in the list of what makes a valid invoice:

Price per item, excluding VAT

I believe that an item is the line rather than a physical product in these contexts. If that's the case, getting the amount without VAT is already available in the cart lib. Otherwise, it's getting pretty hard to explain the unit VAT amount if you sell minced meat for 1 öre per gram. Still if it's 1000 grams on that line and you have 25% VAT,  the total VAT amount on that line will be 2.5kr. Communicating a rounded VAT amount per unit will open up a can of worms with rounding errors/questions.
Thoughts on this?

@adamvoncorswant UK (B2B) invoices present everything excluding VAT, except the total line.
If a company with a VAT number sends an invoice to another company, we should not show any VAT per item or per line. The only places we show VAT is at the bottom: total VAT amount and total including VAT. We do not need to show the actual unit VAT amount, but instead the unit price excluding VAT.  This is what we interpret to be the "price per item excluding VAT."
I chose to implement this as getUnitVat() to follow the existing pattern of getting the amount of VAT, not the adjusted unit price.  The invoice service will use the Cart library to deduct the unitVat from the unitPrice when rendering the invoice.

If a company with a VAT number sends an invoice to another company, we should not show any VAT per item or per line. The only places we show VAT is at the bottom: total VAT amount and total including VAT. We do not need to show the actual unit VAT amount, but instead the unit price excluding VAT. This is what we interpret to be the "price per item excluding VAT."

I chose to implement this as getUnitVat() to follow the existing pattern of getting the amount of VAT, not the adjusted unit price. The invoice service will use the Cart library to deduct the unitVat from the unitPrice when rendering the invoice.

I see... Well, the problem is that this is never going to add up. You will have rounding errors on each line that'll accumulate and make people (and the British tax authorities) scratch their heads. I honestly don't know how this should be solved, except for making it possible for customers to specify their price per unit without VAT as opposed to today where all prices are entered including VAT. This, however, seems extremely burdensome to change...

@mrshish thoughts on this?

Just to clarify:
A merchant enters a unit price of 100kr with a VAT percentage of 21%. The unit price without VAT will then be ~82.644628099173kr. If we have to present this price on the invoice, we'll have to show 82.64kr per unit.
Let's say a customer buys 3 units of this product. That will, as we do it today, be calculated as 3100=300kr, where 3000.21/1.21 ~ 52.07kr VAT. If we use the stated unit price without VAT, we'll get: 382.64=247.92kr, where 267.870.12~52.06kr VAT.
This was just an example: I'm certain that there be much higher errors for other prices and VAT rates. The effect will also, of course, be accumulated if a higher number of items is bought.

@adamvoncorswant After some discussion with @izwarholm and @MrShish, we hypothesize that a 0.5p-1p discrepancy in VAT on these invoices is an acceptable error, and from @izwarholm's research, might actually be ignored by UK tax authorities. We will proceed this route, but leave the logic outside of the cart library, and isolate it for invoices only.

Suma sumarum: the total sum and total sum without vat is still valid, and what actually is needed to do a correct tax deduction..
The rounding errors is ok as long as we move it outside of the mathematical realm and treat it as a presentational aid.

Some additional discussion (wall of text) https://www.taxation.co.uk/Articles/2009/01/14/239261/fraction-frustration

authors: MrShish adamvoncorswant izwarholm olsson

repo: iZettle/izettle-toolbox


text:
Image uploaders

Check content type of uploaded images
About the issue #222:
Looks like the problem reported by #222 is related to frontend. Tested with multiple images sizes and all of them were resized correctly (of course some end up getting really ugly and squeezed, but that can't be helped).
Image sizes weren't validated as done with cover because I don't find it necessary, and I can't tell what limits are good (even 32x32 or 600x5000 images are resized to 200x200 and look good). In my opinion, if a user's avatar looks squeezed, blurred and ugly it's not our problem, they should add a better image.
PS Why I think it's related to frontend: if you check the processed images files (and not how they look in the profile page) you'll see that they were resized correctly, their original sizes don't matter.

Check content type of uploaded images
About the issue #222:
Looks like the problem reported by #222 is related to frontend. Tested with multiple images sizes and all of them were resized correctly (of course some end up getting really ugly and squeezed, but that can't be helped).
Image sizes weren't validated as done with cover because I don't find it necessary, and I can't tell what limits are good (even 32x32 or 600x5000 images are resized to 200x200 and look good). In my opinion, if a user's avatar looks squeezed, blurred and ugly it's not our problem, they should add a better image.
PS Why I think it's related to frontend: if you check the processed images files (and not how they look in the profile page) you'll see that they were resized correctly, their original sizes don't matter.

Got your point! But even if the profiles are not our responsibility, they are on our network and are literally what other users see and interact with. We should, as far as possible, improve the user experience.
Take the neighboring social networks as an example:

Twitter

It transforms the image to fit the required size.

Following our recent rule to no create new functionalities, i propose the following condition:

unless image[:width] <= image[:width] * 2 && image[:height] <= image[:height] * 2
unless image[:width] >= image[:width] / 2 && image[:height] >= image[:height] / 2

@Utzig26
The cropping image tool is very useful, and we should consider developing one for future releases. Anyway, I made some changes:

Avatar image size is validated using this logic

unless image[:width] <= image[:height] * 2 && image[:height] <= image[:width] * 2
unless image[:width] >= image[:height] / 2 && image[:height] >= image[:width] / 2

Validate uploaded files signatures

Reads first 8 bytes of uploaded file before processing it
Only process it if it's actually a valid image
Mitigates ImageTragick

The last change was made because CarrierWave content_type_allowlist doesn't check files signatures, so it's not enough.

repo: iaebots/iae


text:
Alternative JWT auth mechanism?

In the thread at https://github.com/zeit/next.js/issues/153 @trandainhan has created a nice JWT implementation.
It's not suitable for some of the use cases I have but it's a lot less convoluted if you don't need to store data server side (or don't want to have to maintain a session DB).
https://github.com/trandainhan/next.js-example-authentication-with-jwt
Going to have a think about if it's worth including or integrating in some way. If I can't figure that out at least worth linking to in the README - explaining the differences so people can figure out which one is suitable for them.

What data does it avoid storing server side?

Pull requests with JWT sessions would be great. I appreciate it's a lot of work so seems unlikely, but even if it's only a partial implementation it would be something.

authors: babenzele iaincollins

repo: iaincollins/nextjs-starter

license: ISC


text:
How do you compile new version from source files?

Or if you don't want to tell me, then you please go compile the 2016 build....and fix it to your releases page...

It's already compiled. Build.zip contains the compiled files.

Please update this...

I think the author is dead....

This was built on libctru
I believe you set up devkitpro with libctru, run make all or make build in this repo, and it should build 3dsx, elf, and smdh files
From there you can turn those into a cia file with makerom

oh ur alive?! Shit....how long has it been?!
I don't remember why I asked this...I think it must have been me seeing the source with newer edits than the release dates and you forgetting to compile the newer edits to release....

authors: DumbJoe HTV04 iamevn wuniversales

repo: iamevn/for-anyone-who-walks-a-lot

license: WTFPL


text:
driver_book_appointment(save html and screenshot)

Ungetestet.
Bin mir unsicher, ob man den PATH braucht oder ob auch nur log/errorterminauswahl/ ausreicht.

Zeile 304-305 sind wichtig der Rest war die  Autoformatierung.

repo: iamnotturner/vaccipy


text:
Exportify docs as part of export button

[x] Stand up python Exportify as micro service in Nextzen
[x] Large docs like Norway fail timeout
[x] Take Export JSON doc and validate it with Exportify microservice
[x] Present exportified JSON to user
[x] Python 3 all the Mapzen requirements

@iandees Can you update this issue, I think most of these are done now?

The form now performs an exportify before sending content to GitHub for a PR or downloading.
I increased the timeout on the endpoint from 6 to 15 seconds, which should help with processing larger documents. (4b5b4f3)
There is now a button to download the exportified JSON to the user's computer instead of creating a PR in GitHub. This option doesn't require a GitHub login.
Aaron merged my PRs that py3-ify all the WOF dependencies, so we should be good to go with the last checkbox, too. (465e226)

Working for me :)

authors: iandees nvkelso

repo: iandees/wof-editor


text:
Delete confusing VERSION file

It seems like this file is no longer used? I tried to install the gem with relative versioning using ~> 1.1.0 version constraint in my Gemfile, but obviously that installed quite an old version.

Or wait, can I even install versions larger than 1.1.2 via bundler?

You probably wanted ~> 1.1 rather than ~> 1.1.0.
Still, removing or updating the outdated VERSION file seems like the right thing to do. :+1:

authors: lime valscion


text:
Updated redux-router module for issue: https://github.com/ianobermill…

Closes #13

Thanks! I never did get to that :)

authors: ahmedmohiduet ianobermiller

repo: ianobermiller/nuclearmail


text:
代理问题

您好，对于ShadowsocksR-dotnet4.0 的代理也是使用-s 命令吗？为什么我的无法使用，

一般本地都是 127.0.0.1:1080 这个地址，你试试这个

ok,可以了

现在不能解析优酷视频了吗？

其他问题单独提 issue 吧，把 URL，报错信息什么的都写详细


text:
解析不了Youtube

win10 64位系统，annie可以解析国内网站视频，但解析Youtube时一直不出来结果，一直停在这个界面，而用you-get、youtube-dl都能正常解析。

I got the same problem, try to add proxy option, like: annie -s 127.0.0.1:1080

不行啊
youtube.com下载 引用了 github.com/rylio/ytdl
ytdl这个模块不支持 socks5代理 .  配制的socks5 仅在annie项目这范围里有效.

@wxf4150 我发现了这个问题，试试最新的 0.9.8，使用代理的方式有变化
https://github.com/iawia002/annie#proxy

最新版可以解析Youtube了，但代理命令也太长了吧，能不能精简一下？
比如http用“H”表示，socks用“S”表示，可以实现吗？

Try 0.10.0


text:
Update README.md

Change 2022 to 2021

Update


text:
🛑 Icarephone is down

In a3aab63, Icarephone (https://www.icarephone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Icarephone is back up in 04c92dc.

repo: icarephone/upptime


text:
🛑 Icarephone is down

In 759cf5f, Icarephone (https://www.icarephone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Icarephone is back up in 99f2a81.


text:
🛑 Proxy is down

In 0cdde55, Proxy (https://proxy.icarephone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Proxy is back up in 84e21ba.


text:
docs(es): Update feb 28

ok so I checked and before sending the update march 1 - 11 this one was missing

updates Vue and vitepress versions

Also, the dynamic pages aren't working 🤔 Do you know why it might be?

Also be sure to fix the space in the object keys inside partners.json line 235, 237.

authors: glopzel icarusgk

repo: icarusgk/vuejs-spanish-docs


text:
Feat use config

support useData/useConfig
support useAppData
optimise some types

业务代码
// page data&config
import { useData, useConfig } from 'ice';、

// appData
import { useAppData } from 'ice';

// appContext, 不推荐但能力上可以
import { useAppContext } from '@ice/runtime';

插件 runtime
// page data&config
// 通过入参注入了 useData 和 useConfig API

// appContext
// 通过入参注入了 appContext

// appData，目前 appContext 上有 appData 但除了插件 runtime 这个场景，其他场景都不推荐用（推荐用 useAppData）
// const { appData } = appContext

repo: ice-lab/ice-next


text:
Is software rendering supported?

I am researching a toolkit to use for an embedded tool we'd use across different types of devices and ideally we'd support also software rendering for devices without GPU support.
Is it currently supported?

It's not.
If nevertheless you'd still be interested in trying iced, I don't know if wgpu would work well with software Vulkan.
As an alternative, I started a software rendering backend stub (gutted from iced_wgpu).
https://github.com/hecrj/iced/pull/311
It is currently tied to WlShm, I don't know which platform you are targeting.
(and does not work yet)

Right, the use of Wayland is Ok. We aim to use with embedded devices which has no gpu at all and we can rely on the software rendering for that.
Once the #311 is usable, we can try it.

Just to be clear 311 is more of a stub I've been doing in my spare time than
something usable yet. Iced seems like a good coordination point for Rust UI
long term, but depending on your deadline you might want to consider
another option, unless you see benefits in investing to contribute to
improve iced in this direction.
On Sat, May 9, 2020, 14:21 Otavio Salvador notifications@github.com wrote:

Right, the use of Wayland is Ok. We aim to use with embedded devices which
has no gpu at all and we can rely on the software rendering for that.
Once the #311 https://github.com/hecrj/iced/pull/311 is usable, we can
try it.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hecrj/iced/issues/337#issuecomment-626167750, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGGMFTOOYUTWLUUZ7NKP6TRQVDDJANCNFSM4M4Q7L2Q
.

Now that there's an OpenGL backend, you should be able to use it with any software OpenGL implementation (e.g. mesa's llvmpipe).
Maybe WebRender's swgl is worth looking into, as an integrated implementation that doesn't require a system-wide one.

Yes, this would be useful, because current OpenGL backend only seems to support OpenGL 3.3+, while it's not supported by every machine. For example, while my graphics card supports 3.3 (at most though), embedded GPU (an Intel G41, embedded into motherboard chipset) only supports 2.1.

What is the current status of this?

There has been some experimenation with a raqote backend, but iced itself will need to change somewhat for that backend to be not awkward to implement/use.

Closing in favor of #1071.

authors: Matthias-Fauconneau handicraftsman hecrj maroider myfreeweb otavio

repo: iced-rs/iced


text:
Add a Test System for Development

Context
Testing vastly speeds up development time, and makes it easy to avoid regressions. Currently the app does not have an associated test suite.
Test suite for:

api
web - might defer to a future ticket, definitely will be a second PR.

Requires:

https://github.com/thoughtbot/fishery
https://github.com/faker-js/faker.

Tests for api service should have an example of most types of tests:

test that hits a given endpoint, peforms a full set of CRUD operations, and checks that the database is updated appropriately.
tests for api/src/utils/formatter.ts
test for api/src/models/funding-submission-line-json.ts
tests for api/src/services/centre-services.ts
tests for api/src/routes/user-router.ts
tests for api/src/middleware/authorization.ts

Tests for web service should have an example of most types of tests:

TODO but probably a component test and a store test, maybe a test of a plugin.

Web tests issue created at https://yg-hpw.atlassian.net/browse/ELCC-13

repo: icefoganalytics/elcc-data-management


text:
WASM Support?

Desired feature
I don't see a place to ask questions so unfortunately I am placing it here.
Does this project work with WASM? Specifically Microsoft Blazor.
Problem
No response
Alternatives
No response
Additional context
No response

Hi Mark, we currently don't include support for Blazor.
I think it would be reasonably easy to do. It's a matter of adding a new duplex transport for Blazor:
https://docs.icerpc.dev/icerpc/duplex-transport
I assume you'd want to use Blazor to write a web client. What would your web client talk to? An Ice server using ws/wss? An IceRPC server?

authors: MarkOverstreet bernardnormier

repo: icerpc/icerpc-csharp


text:
Handle cookies options

The previous proxy that was used to edit SvelteKit cookies did not take in account the cookies options.
This still does not have the exact same behaviour as the SvelteKit implementation, but should be the same for most cases. Using the default implementation would require access to the internal API.
I also fixed a bug where old cookies were set again for every request.
Cookies now also have Path: /  by default, instead of Path: /trpc.

yea i have this same issue when i tried setting 2 cookies
// TODO: This seems to be setting 2 set-cookies headers
                    ctx.cookies.set("token", token, {
                        path: "/",
                        httpOnly: true,
                        secure: true,
                        sameSite: "strict",
                        maxAge: parseInt(PUBLIC_JWT_EXPIRES_IN), // in seconds
                    });
                    ctx.cookies.set("refreshToken", refreshToken, {
                        path: "/",
                        httpOnly: true,
                        secure: true,
                        sameSite: "strict",
                        maxAge: parseInt(PUBLIC_REFRESH_JWT_EXPIRES_IN), // in seconds
                    });

                    return { status: "success", token };

I migrated from sveltekit endpoint to trpc and this was working on sveltekit
but on trpc all the options were missing, also it seems its only able to set 1 cookie and not multiple
this this fix it?

I just tried the new version, the options seem to be passing, but it still only supports 1 cookie :(

it looks like the set-cookie is combined into 1 header
Set-Cookie:
token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwdWJsaWNLZXkiOiJhN1BReU1OWXhpa1VUNWpBeGVMaFN6NWMxUFdNWkVEcVhCVzlIYlNuRTR4IiwiaWF0IjoxNzA5NTcxNDk2LCJleHAiOjE3MDk1NzUwOTZ9.8kQjVibE5Z2YlBp7TXxqcdnkxOU1oUEw3qIeqpLvlQw; Max-Age=3600; Path=/; HttpOnly; Secure; SameSite=Strict; refreshToken=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJwdWJsaWNLZXkiOiJhN1BReU1OWXhpa1VUNWpBeGVMaFN6NWMxUFdNWkVEcVhCVzlIYlNuRTR4IiwiaWF0IjoxNzA5NTcxNDk2LCJleHAiOjE3MDk2NTc4OTZ9.D1WBuRl6AtjRJiSTgZawqxIRBrL0n6CBCjv8sgWVIao; Max-Age=86400; Path=/; HttpOnly; Secure; SameSite=Strict;

so that the browser doesnt recognize it. I think sveltekit breaks it up into 2 set-cookie headers

You're right! Can you provide an example of the headers SvelteKit generates with multiple cookies?

Yep this is what i get

instead of this
Set-Cookie: cookie1=value1; Expires=Wed, 09 Jun 2021 10:18:14 GMT; Path=/
Set-Cookie: cookie2=value2; Expires=Wed, 09 Jun 2021 10:18:14 GMT; Path=/

Create a new PR for that! With that fix it works fine for me, but you can try it yourself and give your feedback!

authors: BearToCode shirecoding

repo: icflorescu/trpc-sveltekit


text:
fix issues1,2,3

Issuesの修正

Issues1：SNSのリンクを追加
Issues2：スマホ版でのMember グラフを縦向きから横向きへ
Issues3：faviconをイチピロのアイコンへ変更

LGTM!


text:
Memory error during push rbx leave instruction executed partially

This issue was initially reported by @huettenhain at https://github.com/icicle-emu/icicle-python/issues/10.
Test code in rust: https://github.com/icicle-emu/icicle-python/blob/aef686faa6a66d73da5a18c7d06c432a18db4388/tests/tests.rs#L139-L156
It appears that this is due to how to semantics are implemented in Ghidra, where the STACKPTR is updated first and the memory write happens next:
macro push48(x) {
  mysave:8 = x;
  $(STACKPTR) = $(STACKPTR) - 8;
  *:8 $(STACKPTR) = mysave;
}

Not sure if there is a generic solution for this. Moving memory writes up would most likely require major work and I am not sure if push/pop are the only affected instructions, but for now we could update the semantics.

Yeah, at some point I look at trying to fix this -- but, particularly for x86-64, there are a huge number of instructions where this is an issue.
A vast majority of them I think can be fixed with a automatic rewrite rule that move load/stores above register updates -- but I know of at least a few cases where manual changes are required underlying SLEIGH specification.
I do want to implement some automatic rewrites, but I've held off a bit, since I wasn't sure if having a partial solution would make it harder to detect the cases that still have issues. The other cases that need some thinking about include:

Cases where the SLEIGH specification (incorrectly) duplicates loads/stores within a single instruction. It should be pretty easy to dedup these, but some care is needed for instructions that loads/store from multiple addresses.
Large memory access being broken up into multiple Pcode load/store ops. This is most relevant for store operations where memory writes are more difficult to undo. Internally, due to Icicle code, this can happen for unaligned accesses as well. This could probably be fixed by checking that all inner addresses are resolveable before actually updating the state, but this is a little complicated.
Memory accesses in delay slots.

As far as I known, there are also instructions in some ISAs which do result in partial execution on memory exceptions (e.g., when faults cross page boundaries).

For now I just worked around the x86-specific issue with push, because it seems like a common-enough case to warrant a sleigh update: https://github.com/icicle-emu/icicle-python/commit/37c0fc57a8e286381569688a2d6ab028841ea56e
It would be interesting to write some analysis pass that tries to automatically identify which instructions are affected. The Ghidra people are probably also interested in fixing this in the sleigh spec, so might also be worth bringing it to their attention upstream.
Another (slower) solution could be to 'simply' not commit stores to the actual memory/context until the end of the instruction (or even execution), but this most likely violates a bunch of assumptions and would be tricky to implement.

I thought about splitting memory checks from the final commit, but yeah it's hard to implement efficiently while maintaining support for hooks, and other dynamic manipulations.
I also want to add support for a 'passthrough' memory mode, where guest addresses are directly translated to host address -- though this would likely have some limitations, so the existing memory mode would still exist.

authors: mchesser mrexodia

repo: icicle-emu/icicle-emu


text:
Not supported response of writable method in ScoreClient

There is an external function with a boolean return type , whenever I try to call that function through the ScoreClient ,an issue is raised that says "Not supported response of writable method in ScoreClient" . However when I call the same function by changing the return type to BigInteger, It did work smoothly.

The return value of the writable external method couldn't get via icx_getTransactionResult of JSON-RPC. that's why ScoreClient does not support it.

However when I call the same function by changing the return type to BigInteger, It did work smoothly.
What does it mean? 'call'?

@External
boolean distribute();

The interface method is defined in this way as it returns data type in the external method. Although the return value can't be obtained during icx_getTransactionResult, the return value can be obtained in inter-score calls. Thus the interface is defined with a return type to match the exact implementation in the contract.
It would be nice to have score-client generate the methods for the above interface method considering it as a void return type. This way the interface would remain the same as the implementation contract and the generated method would also work.

authors: Suyog007 ajaya-man jspark-icon


text:
ICON Chain

All xCall smart contract work related to ICON.

duplicate

repo: icon-project/xcall-multi


text:
Get the absolute path of each file

👋
Is there anyway to get the absolute path of each file when running the forEach() on a collection instance? For example, when running the following, I only get the svg, and name.
return collection.forEach((svg, name) => {
  console.log(
    `Found icon ${name}: ${svg.toString()}\n`
  );
});

I need to have the path of each file for the project I am working on and couldn't find anywhere in the code where I can find the path.
I really appreciate any help on this 😀

I assume you are using ImportDir function to import all icons from a directory?
Then you can use importer option to add source. Example:
const tools = require('@iconify/tools');

tools
	.ImportDir('svg', {
		importer: (source, options) => {
			return new Promise((fulfill, reject) => {
				tools
					.ImportSVG(source, options)
					.then((svg) => {
						svg.source = source;
						fulfill(svg);
					})
					.catch((err) => {
						reject(err);
					});
			});
		},
	})
	.then((collection) => {
		// Do stuff
	})
	.catch((err) => {
		console.error(err);
	});

Option importer is a function that returns a Promise. It imports icon using ImportSVG, then adds custom property source to it.

Damn, I never realised that there's a built-in importer() that I could use. I have been digging this from yesterday and even edited the source code to make it work 😑
Thanks man, really appreciate your work 🍺

@cyberalien forEach() on Collection class seems doesn't return any custom properties. How would you access the source custom property from then?

Works fine:
const tools = require('@iconify/tools');

tools
	.ImportDir('svg', {
		importer: (source, options) => {
			return new Promise((fulfill, reject) => {
				tools
					.ImportSVG(source, options)
					.then((svg) => {
						svg.source = source;
						fulfill(svg);
					})
					.catch((err) => {
						reject(err);
					});
			});
		},
	})
	.then((collection) => {
		collection.forEach((svg, name) => {
			console.log(name + ':', svg.source);
		});
	})
	.catch((err) => {
		console.error(err);
	});

You must be doing something wrong. Also I see redundant code in your example: collection['items'][name] is the same as svg, so instead of that big expression you just need svg.source

Thanks, man ✌ I overlooked everything and used redundant code, needs to get some rest before knocking your door again 😬

authors: cyberalien iamazik

repo: iconify/tools


text:
chore(main): release 1.1.24

:robot: I have created a release beep boop
1.1.24 (2023-05-29)
Features

gitProvider.ts: add support for more Git repository providers and refactor composeFileUrl function to use the new fields in the Project model (62147cf)

Bug Fixes

BacktraceLine.tsx: handle case where fileUrl is null or undefined by rendering a span instead of a link (18da703)
gitProvider.ts: return empty string instead of '#' when url is not defined in default case of switch statement (18da703)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/icoretech/airbroke/releases/tag/v1.1.24 :sunflower:

repo: icoretech/airbroke


text:
Send presentation params to the viewer.

Mainly background color but the whole lot is handy. I need to modify the viewer js but from of it but from the html template we could do something like:
// Just after this:
var viewer = new Viewer("https://icosa-foundation.github.io/icosa-sketch-assets/");
// Maybe:
viewer.backgroundColor = "{{ backgroundColor }}";
// etc

I did background color. That's probably fine for me.
(I needed three to be in scope - not sure if the way I did it was a bit too hacky?)

repo: icosa-foundation/icosa-gallery


text:
Added a CompressionLevel enum to Deflater to allow FastZip users to s…

I certify that I own, and have sufficient rights to contribute, all source code and related material intended to be compiled or integrated with the source code for the SharpZipLib open source product (the "Contribution"). My Contribution is licensed under the MIT License.
I came across this feature need in the forum because I also needed it.
http://community.sharpdevelop.net/forums/p/6835/19472.aspx
I recently switched from DotNetZip because it was not functioning well with my project when unzipping it in OSX. SharpZipLib did not have the same problem, but I did miss the compression level feature. I followed the practices I saw in the library, and I added the enum to Deflater because that is where the const int definitions were. I personally think it would have been cleaner to add my enum directly to the ICSharpCode.SharpZipLib.Zip.Compression namespace, but I leave that up to you.

I'm glad you added this to the milestones! @McNeight

repo: icsharpcode/SharpZipLib


text:
disable postprocessor to accept input data objects as output data objects

Pull Request Description
What issue does this change request address? (Use "#" before the issue to link it, i.e., #42.)
close #805
This PR depends on PR #971, and should NOT be merged before PR#974
What are the significant changes in functionality due to this change request?
With the changes, the post processor will not allow the input data objects as the output data objects.

For Change Control Board: Change Request Review
The following review must be completed by an authorized member of the Change Control Board.

[x] 1. Review all computer code.
[x] 2. If any changes occur to the input syntax, there must be an accompanying change to the user manual and xsd schema. If the input syntax change deprecates existing input files, a conversion script needs to be added (see Conversion Scripts).
[x] 3. Make sure the Python code and commenting standards are respected (camelBack, etc.) - See on the wiki for details.
[ ] 4. Automated Tests should pass, including run_tests, pylint, manual building and xsd tests. If there are changes to Simulation.py or JobHandler.py the qsub tests must pass.
[x] 5. If significant functionality is added, there must  be tests added to check this. Tests should cover all possible options.  Multiple short tests are preferred over one large test. If new development on the internal JobHandler parallel system is performed, a cluster test must be added setting, in  XML block, the node <internalParallel> to True.
[x] 6. If the change modifies or adds a requirement or a requirement based test case, the Change Control Board's Chair or designee also needs to approve the change.  The requirements and the requirements test shall be in sync.
[ ] 7. The merge request must reference an issue.  If the issue is closed, the issue close checklist shall be done.
[x] 8. If an analytic test is changed/added is the the analytic documentation updated/added?

@wangcj05 are you planning to work on this?

let me rebase it and see how much work that is needed. @alfoa

@alfoa This PR is ready for reviewing.

@PaulTalbot-INL Could you take a look at this PR?

@PaulTalbot-INL I have addressed your comments.

A draft email should be included here or on the associated issue, as some inputs may stop working due to the changes.

@PaulTalbot-INL Draft email:
Dear users,
As pull request #808, we will not allow using the same input DataObjects as the output DataObjects in the PostProcess Step. In the past, PostProcess Step allows the user using the same input DataObjects as the output DataObjects. This can be convenient for the users when they start to create their own RAVEN input files. However, this will not allow the user keeping track of all the variables stored in the DataObjects, since the PostProcessors can dump additional variables with the default name into the DataObjects without notify the users. This capability is disabled with PR #808,  which  requires the user to choose the variables to be stored in the output DataObjects, and the DataObjects themselves can automatically check variables as well as their format. In this case, the DataObjects are transparent to the users. If you are using PostProcessors and the input and output data objects are the same in your PostProcess Step, you need to change your inputs and provide a new output data objects.

Sincerely,

RAVEN TEAM

When you send the email out, I might also note that examples of the required changes are included in this PR's changes to regression tests.

Merging. You can send the email.

Thanks @PaulTalbot-INL, email is sent to raven users group.

authors: PaulTalbot-INL alfoa wangcj05

repo: idaholab/raven


text:
[BUG] client.calculate returns ConnectionResultsData only for one loadcase, not for all

Describe the bug
If you have multiple loadcases, the results are not returned
client.Calculate(con.Identifier) returns results only for one loadcase (first one?)
Expected behavior
Result object shall have information for all loadcases
Screenshots
Two loadcases in the model

the result contains 16 entries for 16 bolts, but only for loadcaseId=0

Desktop (please complete the following information):

OS: [Windows 23H2]
IdeaStaticaPlugin [24.0.3.1498]
IdeaStatiCa Version [e.g. 24.0]

Hi @ZTThomasOberthanner, I believe it outputs results for the extreme load case. You cannot currently get results for individual load cases.

please consider adding all loadcases. shoud be fairly easy, because the LoadCaseID is already there for all entries, so it easy to distinguish...

HI @ZTThomasOberthanner, yes we are considering improving this. I will change this from a bug to possible improvement. Thanks for all your suggestions.

hi @nathanlukeIDEA. Piggy backing on two open issues.
I need to get fatigue results for multiple load cases. Currently, the Idea Connection application does not let you choose the load case for the report, and does not give results for extreme but for one selected load case.
So i tried to access the results using the api but :

400
"Request failed Fatigues analysis is not supported."
and as @ZTThomasOberthanner said there might not be results for all load cases anyway in the response.
Could you please take a look ?

Hi @lionelclotcamus, the first step is to look at least get some results for fatigue analysis (for the extreme calculations) through the API. We are working on this right now and it should be available soon. We are looking at a full approach to getting results as you require, although it is likely a little bit away.

repo: idea-statica/ideastatica-public


text:
关于多级标题的显示建议

你好，我是mini-vlook的用户，很喜欢你这个主题，很好看很流畅。
关于多级标题的显示，我向您推荐粉色小屋的设计，真的很清晰明了。
而且不会像自动编号那样经常与本文内容中的编号打架。

PS：粉色小屋也很好看，但是它在我的电脑上有点卡。

是的，我想是否考虑把自动添加标题独立为一个插件呢？这样就可以自由选择是否打开了

是的，我想是否考虑把自动添加标题独立为一个插件呢？这样就可以自由选择是否打开了
通过在文档中添加自定义属性 f=bt 可以关闭。

authors: idea-zone yanyu2015 zznjobs

repo: idea-zone/mini-vlook


text:
添加出警火星链接功能

其实已经在程序结构上预留了这个功能实现的空间，只是没实现。
有空的时候写一下。

试写的时候发现，问题主要在不太好制定一个标准来规定一个链接是否需要出警……可能写是可以写，但是一个是可能需要管理一个白名单列表，二个是误触率会格外上升。
结论是现阶段还是先暂时不考虑这个功能了……

repo: idlist/koishi-plugin-duplicate-checker


text:
将AI返回内容中的markdown代码块转换为普通json

在生成记忆时,部分LLM有概率返回markdown代码块格式而非单纯地json格式,导致无法解析并创建记忆.
这个pr尝试移除掉代码块标记,并在生成记忆错误时打印log

多谢 PR，这里没有严格校验 AI 输出的内容格式，考虑到 LLM 返回的格式可能多种多样，解析失败默认按异常处理。

感谢您的 code review!

当时修改这部分代码时只想着针对这一种 case, 代码量较少, 所以没做过多工程和代码风格方面的考量, 这确实是我的问题.
大部分指令服从性好的 LLM 都能够输出正确的 json 格式, 少部分模型会稳定输出 markdown code block, 这导致使用这种模型时记忆完全不可用, 所以考虑通过这种方式来纠正这种情况.
我觉得再通过优化 prompt (eg. 增加样本, 完善要求) 去适应其他的极端情况并不划算, 因为 LLM 的输出本身就具有随机性, 对于其他的更极端的偶然情况, 直接丢弃就可以.
通过正则表达式来处理 json 确实不错, 可以考虑换用这种方式.

另外这个 pr 用不用 close? 还是我继续优化一下?

了解你说的场景了，我觉得还是有必要兼容下的。
如果你能换用正则匹配，并封装成一个统一的解析方法的话，我可以重新考虑合并你的这个 PR。一个 python 的例子：

这次修改我把jsonDecode jsonEncode放到了/utils/parse, 并且将清洗json代码封装为一个函数

已合并

repo: idootop/mi-gpt


text:
[功能建议] 编辑器面板键盘控制能力（删除、移动、撤销等等）

为扩展输入便捷性，希望通过键盘控制主面板。
触发时机：focus到面板即开始监听。

Command+Z 实现撤销本次操作
Delete 实现删除选中的层，然后自动聚焦到下一层
光标没有focus到输入型控件，上下移动位置/如果同时按住Shift更快的移动。
拖拽层的时候，如果按下shift键盘，可以实现固定方向移动

😄

I have implemented the keyborad-events these are copy, cut, delete and paste for controlling elements
https://github.com/idrawjs/idraw/pull/75

@mycoin 最新版本已支持快捷键 元素的粘贴，复制，切切 和 操作的撤销

authors: chenshenhai mycoin

repo: idrawjs/idraw


text:
Upgrade project to use sass for style file

https://stackoverflow.com/questions/40726081/angular-cli-from-css-to-scss
rename all css fiel to scss file !!

to update it type the following command
ng g schematics-scss-migrate:scss-migrate
this will do the following set auto.

Renamed all the stylesheets in the src folder recursively.
Altered the styleUrls value to point to the new file names for the stylesheet in the component classes relative to the component style files.
Updated the component styles schematics value in the angular.json file or creates one if the schematic does not exist.
And renamed styles.css references to .scss in the angular.json file

ref

I got error

Can you do it for me ?

i too
we have to go manually

I got issue for that

I willclose this own-- we have to reduce issues as soon as possible