text:
Race condition when setting endorser/author roles on connection record

When setting the connection metadata on a connection record (using the endorse transaction API, particularly the set_endorser_role and set_endorser_info methods), as far as I can tell, the operations seem to queue the setting of metadata as a background task.
Even though the methods return a success response, there is some delay in the connection record actually being updated. This leads to a race condition when trying to add the second set_endorser_role job (e.g. for the author role) too soon after the endorser role has been set (or queued to be set).
Furthermore, trying to read the metadata of the connection record (with get_metadata in the connection API), in order to assert that the endorser role has successfully been set, to make sure that it's now safe to set the author role, doing that without sufficient delay can inadvertently cause the set_endorser_role background task to fail!
This behavior has been the source of much confusion, but fortunately I have managed to create a reproducible example. I'll describe in more detail in the following comment.
Simple description of steps to reproduce:

Establish a connection between two agents.
Set the connection metadata (for example, set the endorser role).
Immediately set the author role from the other agent's perspective (or immediately fetch the connection metadata)
Notice that the metadata may not yet be updated, and/or raise a duplicate record error.

Possible solution:

Ensure that metadata writes are completed in the main thread and don't return success/200 until the write operation is fully completed.
If background processing is necessary, then perhaps just add clearer documentation to indicate that the job is queued. Generally a 202 success code is used to indicate this

Additional context:

We are using ACA-Py 0.9.0 - although these methods have no changes in later releases (up to 0.10.3)

The following scenario is for onboarding an issuer to our ecosystem.
An issuer requires a public DID, and in order for the DID to be written to the ledger, the to-be issuer requires a connection with an endorser, where the connection is configured with endorser/author roles and endorser info, such that the issuer nym can be registered on the ledger.
This is endorsement process is described in the following docs.
Here's a sample method where we set both endorser and author roles on the connection.
Note we are using the aries-cloudcontroller-python project which provides us an AcaPyClient instance with all the ACA-Py API methods.
async def set_endorser_roles(
    endorser_controller: AcaPyClient,
    issuer_controller: AcaPyClient,
    endorser_connection_id: str,
    issuer_connection_id: str,
    logger: Logger,
):
    logger.debug("Setting roles for endorser")
    await set_endorser_role(endorser_controller, endorser_connection_id, logger)

    logger.debug("Setting roles for author")
    await set_author_role(issuer_controller, issuer_connection_id, logger)

    logger.debug("Successfully set roles for connection.")

## ^ This method calls the following:

async def set_endorser_role(
    endorser_controller: AcaPyClient, endorser_connection_id: str, logger: Logger
):
    try:
        logger.debug("Setting roles for endorser on endorser-issuer connection.")
        await endorser_controller.endorse_transaction.set_endorser_role(
            conn_id=endorser_connection_id,
            transaction_my_job="TRANSACTION_ENDORSER",
        )
        logger.debug("Successfully set endorser role.")

        await asyncio.sleep(DEFAULT_DELAY)  # Allow ACA-Py records to update <---- NB
    except ClientResponseError as e:
        logger.error("Failed to set endorser role: {}.", e)

async def set_author_role(
    issuer_controller: AcaPyClient, issuer_connection_id: str, logger: Logger
):
    try:
        logger.debug("Setting roles for author on issuer-endorser connection")
        await issuer_controller.endorse_transaction.set_endorser_role(
            conn_id=issuer_connection_id,
            transaction_my_job="TRANSACTION_AUTHOR",
        )
        logger.debug("Successfully set author role.")

        await asyncio.sleep(DEFAULT_DELAY)  # Allow ACA-Py records to update <---- NB
    except ClientResponseError as e:
        logger.error("Failed to set author role: {}.", e)

FYI, the await endorser_controller.endorse_transaction.set_endorser_role method, that is simply making the API call to the set_endorser_role method, on behalf of the endorser.
So, the above code is essentially calling set_endorser_role twice - once from the endorser_controller to set transaction_my_job="TRANSACTION_ENDORSER", and then we call from the issuer_controller to set transaction_my_job="TRANSACTION_AUTHOR".
You'll notice there is a await asyncio.sleep(DEFAULT_DELAY) sleep statement after set_endorser_role is called. This is the necessary workaround to cater for the background task to complete. When working locally, as little as a 0.02 second sleep is sometimes sufficient. When working on k8s, the sleep must be at least 0.2 -- 1 second long for reliable results.
If I set DEFAULT_DELAY = 0, then we can reproduce our error:
2023-10-09 09:22:46.169 | DEBUG    |  Setting roles for endorser
2023-10-09 09:22:46.169 | DEBUG    |  Setting roles for endorser on endorser-issuer connection.
2023-10-09 09:22:46.193 | DEBUG    |  Successfully set endorser role.
2023-10-09 09:22:46.194 | DEBUG    |  Setting roles for author
2023-10-09 09:22:46.195 | DEBUG    |  Setting roles for author on issuer-endorser connection

2023-10-09 09:22:46,220 aries_cloudagent.core.dispatcher ERROR Handler error: set_endorser_role
Traceback (most recent call last):
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 256, in __step
    result = coro.send(None)
  File "/home/aries/.local/lib/python3.9/site-packages/aries_cloudagent/protocols/endorse_transaction/v1_0/routes.py", line 601, in set_endorser_role
    jobs = await record.metadata_get(session, "transaction_jobs")

=================
  File "/home/aries/.local/lib/python3.9/site-packages/aries_cloudagent/connections/models/conn_record.py", line 550, in metadata_get
    record = await storage.find_record(
  File "/home/aries/.local/lib/python3.9/site-packages/aries_cloudagent/storage/askar.py", line 167, in find_record
    raise StorageDuplicateError("Duplicate records found")
aries_cloudagent.storage.error.StorageDuplicateError: Duplicate records found
2023-10-09 09:22:46,223 aries_cloudagent.admin.server ERROR Handler error with exception: Duplicate records found
Traceback (most recent call last):
  File "/home/aries/.local/lib/python3.9/site-packages/aries_cloudagent/admin/server.py", line 173, in ready_middleware
    return await handler(request)
  File "/home/aries/.local/lib/python3.9/site-packages/aries_cloudagent/admin/server.py", line 210, in debug_middleware
    return await handler(request)
  File "/home/aries/.local/lib/python3.9/site-packages/aiohttp_apispec/middlewares.py", line 45, in validation_middleware
    return await handler(request)
  File "/home/aries/.local/lib/python3.9/site-packages/aries_cloudagent/admin/server.py", line 330, in check_token
    return await handler(request)
  File "/home/aries/.local/lib/python3.9/site-packages/aries_cloudagent/admin/server.py", line 379, in check_multitenant_authorization
    return await handler(request)
  File "/home/aries/.local/lib/python3.9/site-packages/aries_cloudagent/admin/server.py", line 442, in setup_context
    return await task
  File "/usr/local/lib/python3.9/asyncio/futures.py", line 284, in __await__
    yield self  # This tells Task to wait for completion.
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 328, in __wakeup
    future.result()
  File "/usr/local/lib/python3.9/asyncio/futures.py", line 201, in result
    raise self._exception
  File "/usr/local/lib/python3.9/asyncio/tasks.py", line 256, in __step
    result = coro.send(None)
  File "/home/aries/.local/lib/python3.9/site-packages/aries_cloudagent/protocols/endorse_transaction/v1_0/routes.py", line 601, in set_endorser_role
    jobs = await record.metadata_get(session, "transaction_jobs")
  File "/home/aries/.local/lib/python3.9/site-packages/aries_cloudagent/connections/models/conn_record.py", line 550, in metadata_get
    record = await storage.find_record(
  File "/home/aries/.local/lib/python3.9/site-packages/aries_cloudagent/storage/askar.py", line 167, in find_record
    raise StorageDuplicateError("Duplicate records found")
aries_cloudagent.storage.error.StorageDuplicateError: Duplicate records found

This should be looked at in the AnonCreds RS work that is underway — as we refactor the Endorser handling to be “hidden” from the control — config and process.

repo: hyperledger/aries-cloudagent-python


text:
feat: add pt-BR hour format

Summary of Changes
Adding pt-BR format hour (24h) when this language is selected.
Related Issues
N/A
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);
[X] Updated LICENSE-3RD-PARTY.md for any added dependencies or vendored components;
[X] Updated documentation as needed for changed code and new or modified features;
[X] Added sufficient tests so that overall code coverage is not reduced.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!
Pro Tip 🤓

Read our contribution guide at least once; it will save you a few review cycles!
Your PR will likely not be reviewed until all the above boxes are checked and all automated tests have passed.

PR template adapted from the Python attrs project.

Wouldn't it be better if this format be a i18n key? Many apps that support pt-BR uses 12 hour format, so 24 hours is not a strict rule.

@CarolineLCa can you implement the above as an alternative to this change?

@CarolineLCa can you implement the above as an alternative to this change?

@thiagoromanos  @bryce-mcmath
I have checked this dependence and tried to implement it, but  DeviceTimeFormat.is24HourFormat() is an async function while our formatTime() is non-async so this change would not only affect this function but also a lot of other components that use it.

@CarolineLCa can you implement the above as an alternative to this change?

@thiagoromanos @bryce-mcmath
I have checked this dependence and tried to implement it, but DeviceTimeFormat.is24HourFormat() is an async function while our formatTime() is non-async so this change would not only affect this function but also a lot of other components that use it.

Gonna open an issue for that. It'll need a lot of refactoring indeed, but it would be great to having the time format matching the device's format.

Opened the issue #986 for that.

source: gharchive/pull-request

authors: CarolineLCa bryce-mcmath thiagoromanos

license_type: permissive

license_source: github-api


text:
RFC 0025: rename "didcomms" --> "didcomm"

The rationale for doing this is described and may be debated in rocket.chat: https://chat.hyperledger.org/channel/aries?msg=haDnrASscA5S7HJC9
Here is an inline copy of the beginning of that thread:
[Daniel H]: In English, we have the phenomenon of count nouns and non-count nouns. A count noun is something that you count with integers: cars, shoes, phones, etc. We say, "I own 3 cars." A non-count noun is something that you quantify as a collective or mass: "My car is emitting a lot of smoke." "I bought 3 bushels of wheat."
Count nouns carry plural markers in English: I own 3 cars.
Non-count nouns do NOT carry plural markers in English. We would not say, "I saw 3 smokes coming out of my tailpipe when I started the car."
It is possible for a noun to be both a count noun and a non-count noun. "Water" is a great example. Normally, water is a non-count noun--we measure it in real units, as a collective. However, when a waiter takes our order at a restaurant, he may say, "Okay, so that's 3 waters, right?" When this happens, we're implying that we've packaged the non-count, collective noun in a discrete form.
When you turn nouns into adjectives, usually the non-count, non-plural version is more common. We talk about "water-borne illnesses" and "watercraft", not "waters-born illnesses" and "waterscraft".
So what about the word "communication"?
Well, "communication" is normally a non-count noun. We say things like "There's a lot of communication happening" (non-count collective) or "The internet backbone carries 3.9 terabytes of communication per second in the transatlantic cable" (units +real quantifying a collective but not discrete items).
We also use communication as a count noun, in the same way that my water example does. If each discrete communication event is counted, then we can say things like, "27 communications arrived on this radio channel in the past hour."
So, what would "didcomm" imply, and what would "didcomms" imply?
"Didcomm" means communication in bulk, uncounted. It is also the appropriate adjective form. "Didcomms" means individual, countable didcomm events.
Almost always, we want the non-plural, non-count sense.
As I said before, I really don't care how we talk informally--but in formal written artifacts, I suggest that we follow best practice grammar and use the form without the 's'.

@TelegramSam ^^

I've started to adapt my language to support DIDComm in writing. Out of force of habit when speaking I'll probably still use the 's' because I like the sound better though.

I support this. We'll see how quickly I can correct my verbal usage. :)

The discussion on Rocket.Chat more or less paralleled the one here. We'll use "didcomm" in formal written stuff, and not worry about the variation/style that people pick otherwise.

source: gharchive/issue

authors: TelegramSam dhh1128 kdenhartog

repo: hyperledger/aries-rfcs


text:
feat(polkadot): polkadot-connector-first-implementation

The first implementation of the Polkadot connector for Hyperledger Cactus.

Sorry for the late reply Peter, will do in the weekend :)

Sorry for the late reply Peter, will do in the weekend :)

@CatarinaPedreira No worries, no rush :-)

@CatarinaPedreira Did you have time to incorporate the changes? This package would be useful for us to be able to connect to the SAIO and showcase a bug

@CatarinaPedreira @RafaelAPB As usual, I'm happy to help with any git problems you might be having, nasty conflicts, etc.

I'm so sorry for the late reply - this last week and a half has been crazy busy at work. I haven't had the time yet, but I will take care of this asap (maximum on the weekend). So sorry and thank you for your patience. @RafaelAPB @petermetz

@CatarinaPedreira No worries at all, I'm drowning in tasks myself as well. :-) If you need any help do not hesitate to reach out here with questions!

@CatarinaPedreira any updates on this?

@CatarinaPedreira this PR can be closed: i'll create a new one with the needed refactoring.

authors: CatarinaPedreira RafaelAPB petermetz

repo: hyperledger/cactus


text:
[FABCI-420] Cleanup AZP definition file in master

Signed-off-by: Brett Logan Brett.T.Logan@ibm.com

Looks like this is the same as #18 so the comments there apply here as well.

Addressed per #18 comments

repo: hyperledger/fabric-ca


text:
[FABN-1564] SubjectDN extensibility

In multiple places we have only common name as input for building X509
Subject.
We should allow directly full input of subject
Signed-off-by: david david-khala@hotmail.com

Generally looks good to me. Just some minor tweaks

Thanks again. Agree all all feedback. WIP

repo: hyperledger/fabric-sdk-node


text:
getQueryResultWithPagination code example

Hi Fabric Team,
Can anyone point me to a code example which involves fetching the records from Fabric using Pagination,
An example which involves the use of getQueryResultWithPagination?

Please check this fabric sample: https://github.com/hyperledger/fabric-samples/blob/c646c5904ff0b45cb9052136b50b7a7a58cefe78/asset-transfer-ledger-queries/application-java/src/main/java/application/java/App.java#L131 whether it helps.

And the corresponding chaincode sample:
https://github.com/hyperledger/fabric-samples/blob/main/asset-transfer-ledger-queries/chaincode-go/asset_transfer_ledger_chaincode.go#L345-L356

authors: HarshMultani Param-S denyeart

repo: hyperledger/fabric

license_source: bigquery


text:
Fixing documentation issue #1060

The documentation issue #1060 is fixed here.

DCO1.1 Signed-off-by Andres Garagiola andresgaragiola@gmail.com

LGTM. Thanks

authors: andresgaragiola srderson


text:
Tag image as latest only when releasing the latest tag

Resolves: #1506

@EnriqueL8 tests passed :)

repo: hyperledger/firefly


text:
Initial version of readme, code of conduct, contributing information

Initial attempt to create some documentation about the purpose and usage of the repository.
Signed-off-by: Christian Bormann ChristianCarl.Bormann@de.bosch.com

I guess we should describe some form of governance for this repository and also clarify who can/should register networks?
I guess it also makes sense to allow/motivate some form of readme file for the different registered networks to give some context (e.g. describe intended use of the network).

repo: hyperledger/indy-did-networks


text:
Feature/add hunter with boost

Description of the Change
This PR contains the first attempt to introduce Hunter - package manager for CMake projects.
Specifically, it presents Hunter configuration and Boost as the first hunterized dependency.

Benefits
With current ExternalProject-based dependency handling we can't get an external project in config time, so we can't guarantee successfulness of its build and even don't know correct paths needed before build-time.
The use of Hunter in Iroha building process can sufficiently clarify project dependencies and allow to avoid custom Find*.cmake modules. Also, it has many features like a cache hit, local binary cache, transparent config file that describes dependencies and so on.

Possible Drawbacks
Despite Hunter in active dev/maintaining stage, it yet another third-party dependency in Iroha on which we will rely. @Warchant have some research about it and team decide to try Hunter on some Iroha dependencies to clarify drawbacks.
Also, we need to think about usage Hunter in the case of making Shared Model as separate CMake project. I guess in such case we would need to use Hunter twice.

Usage Examples or Tests [optional]
cmake -H. -Bbuild
cmake --build build
cmake --build build --target test

Additional Information
You can check research WIP PR for additional information: #961

Guys, how can I correctly test this PR in CI using a special container without Boost and with modern CMake (>3.5.1)?

To correctly test this, you would need to re-build hyperledger/iroha-docker-develop:v1 without boost.
UPD: we will change cmake version in another PR.

Hunter is BSD3 licensed. Is it compatible with our license?

I hope you have powerful computer, because this will take a while :-)
I'd suggest to remove parallelism here

Hunter is BSD3 licensed. Is it compatible with our license?
Yes

I'd suggest to remove parallelism here

Why? This is a number of threads used for building process.

I tested this PR, build succeeds without boost in the OS.

As soon as I compile new dockerfile from https://github.com/hyperledger/iroha/pull/1078 and push it to dockerhub, build step on ci will stop failing.

As you can see, build-clean works. No boost installed in a system. After merge of this PR it will be enough to have a CMake, g++-5, golang (for grpc, but when it will be hunterized, it will disappear).

I make Hunter fully optional and it enables by -DHUNTER_ENABLED=ON option for further investigation.

Hunter modifies target names, for example libametsuchi.a becomes libametsuchid.a in Debug build. It could be a problem if Hunter introduces such side effect to the project.

It is not a problem. All libs are linked correctly. But can be fixed with https://cmake.org/cmake/help/v3.0/variable/CMAKE_DEBUG_POSTFIX.html

@Warchant This particular problem with suffix can be fixed, but it is not clear if there are other changes introduced by Hunter script.

Wow. 2 approves but changes is not working. We have to investigate more in boost targets with disables flag.

Oh, pretty hard PR.
I have some problems with builds, we need further investigation.

Any updates on that?

This PR contains some problems with Boost targets and has been postponed until Jenkins CI will be fixed.

repo: hyperledger/iroha


text:
Sawtooth Version 1 Updates

Signed-off-by: kidrecursive chris.wilhite@pokitdok.com
This is a squashed and signed PR for @joewright's work to get the explorer up to date with Sawtooth 1.X and add docker support.

From a workflow perspective, Sawtooth generally uses PR submissions from forks, never from the main repository itself, so that all branches in the main repository are release branches or long-lived feature branches.

Thanks @vaporos, closing this and opened: https://github.com/hyperledger/sawtooth-explorer/pull/7

authors: kidrecursive vaporos

repo: hyperledger/sawtooth-explorer


text:
Removed Example app and replaced with quickstart submodule

If someone wants to have the quick start app, he will need to initialise git submodule.

We should note that the quickstart app is available as a submodule in the README.

It looks like this PR contains all commits from your master branch, which includes null-safety, etc. Please fix the commit history so that the PR only pertains to the removal of the example.

Closing this to create a new one

authors: AshishSynoriq ferologics

repo: hypertrack/sdk-flutter

license: MIT


text:
DHO-specific configurations

This issue is to document some configurations that need to be updated to be DHO-specific.
Here is the settings document (viewable with daoctl get documents --type settings).

Contract or DHO Setting
Current Setting
Future Setting
Notes

DHO
voting_duration_sec
voting_duration_sec
later, this can move to the proposal to support variable duration voting periods

DHO
husd_token_contract
peg_token_contract
optional setting if a DHO wants to support paying a peg, could be BMUSD or BMGBP, but default is neither.  They cannot use the same as Hypha because it grants access to treasury.

DHO

peg_token_symbol
asset value such as 0.00 BUSD

DHO
hypha_token_contract
reward_token_contract
a token contract can hold many tokens, so we would likely re-use token.hypha but not required

DHO

reward_token_symbol
this is hard-coded many places now (in smart contracts and UI) as [HYPHA, 2], and we'll need to update to be data-driven

DHO
hvoice_token_contract
governance_token_contract

DHO

governance_token_symbol

n/a
last_ballot_id

no longer needed

n/a
publisher_contract

no longer needed

Contract
seeds_escrow_contract
escrow_contract
any DHO can use the escrow contract for any transferable token

Contract
seeds_token_contract
seeds_token_contract
I think all phase 1 DHOs could have native support for SEEDS

n/a
telos_decide_contract

no longer needed

DHO
treasury_contract
treasury_contract
required if and only if the DHO is using peg token functionality

DHO
hypha_deferral_factor_x100
reward_token_price
this governs the value of HYPHA token vs USD and is used to calculate HYPHA values based on a USD input. It's an integer now - 13, which is applied in the contract, but it should probably an asset value, like "16.00 USD".

n/a
last_sender_id

no longer needed

Contract
paused
paused
this is currently a contract level setting - not DHO level; may want to allow pausing DHO by DHO ❓

n/a
seeds_deferral_factor_x100

no longer needed

n/a
last_sender_id

no longer needed

DHO
root_node
root_node
this is duplicative to the edge pointing to the settings document, so may not be needed

Contract
client_version
client_version
We probably haven't been updating this. It is just the semantic version number plus the commit hash

Contract
contract_version
contract_version

Additional notes

The number of available tokens is fixed in the current design, e.g. a reward token, governance token, peg token, and SEEDS. However, we may want to support a dynamic set of compatible tokens. A DHO may have 8 different tokens that they hold and want to have available for payouts on proposals.
enrollers are currently defined as a permission on the contract, and this needs to be based on the enroller assigned a badge within a specific DHO
roles, assignments, badges, and badge assignments belong to a DHO but this is only indicated by the edges that exist from the root_node to the documents. We will need to enforce scenarios where a user is a member of one DHO where they hold the treasurer badge but they may not in a 2nd DHO. They should not get the 1% pay boost for assignment pay on the 2nd DHO.
the escrow 'unlock' event is currently hard-coded into the contract to the SEEDS golive event. We currently are not using escrow, so it's no big deal, but we'll need to address before we enable escrow options for a DHO. The UI will need to be updated also. (TODO: I need to give @leonieherma1 and @lukegravitt some docs or preso on this.)
IMHO, we should migrate to the new recurring payment model soon unless other phase 1 DHOs are all going to use the same existing calendar.  We need to discuss this with @Gerard097 to ensure it can work with the adjustable commitment feature.
Determining if a document, e.g. assignment, is approved requires checking the edges. We may want to start leveraging the certificates functionality so that approvals on documents is more explicit and can be found in the document (although certificates are not part of the hash).
We should implement the UUID functionality soon.

Current settings document as reference:
ContentGroups
  ContentGroup
    content_group_label                settings
    root_node                          52a7ff82bd6f53b31285e97d6806d886eefb650e79754784e9d923d3df347c91
    voting_duration_sec                900
    updated_date                       2021-04-01T15:50:55.000
    husd_token_contract                husd.hypha
    hypha_token_contract               token.hypha
    last_ballot_id                     hypha1....1tg
    publisher_contract                 publsh.hypha
    seeds_escrow_contract              escrow.seeds
    seeds_token_contract               token.seeds
    telos_decide_contract              trailservice
    hvoice_token_contract              voice.hypha
    treasury_contract                  bank.hypha
    client_version                     1.0.13 0c81dde6
    contract_version                   v0.2.0 618f051
    hypha_deferral_factor_x100         13
    last_sender_id                     527
    paused                             0
    seeds_deferral_factor_x100         100
  ContentGroup
    content_group_label                system
    type                               settings
    node_label                         Settings

Current Setting
Frontend Config
Where Used

voting_duration_sec
voteDurationSeconds
on assignment/badge propsal, to enable extend button

husd_token_contract
husdToken
redeem, buy seeds, wallet, treasury

hypha_token_contract
hyphaToken
wallet, treasury

hvoice_token_contract
hvoiceToken
wallet (supply only)

seeds_escrow_contract
seedsEscrow
wallet/deferred seeds

seeds_token_contract
seedsToken
wallet/liquid seeds, treasury

telos_decide_contract
decide
profile, history lists (historical votes), registration wallet <--- this is a bug i think?

treasury_contract
treasury
redeem/redemptions, treasury

hypha_deferral_factor_x100
hyphaMultiplier
assignment/contribution creation

Yes, we need to update the wallet to pull HVOICE balance from voice.hypha instead of telos_decide_contract.  The voice.hypha uses the standard data structure for tokens, so the balance would be derived like this:
cleos -u https://api.telos.kitchen get table voice.hypha hyphanewyork accounts
As of now, users are not seeing new HVOICE issuance or decay in their wallet. Maybe this should be a new ticket for a hotfix?

Opened #446

Hardcoded data/details:

[ ] Token names
[ ] Token icons
[ ] Deferred seeds (retrieval mechanism)
[ ] That Hypha is 'deferred'
[ ] Which tokens are paid (e.g hvoice_salary_per_phase)
[ ] How many tokens
[ ] How hypha/husd/hvoice are calculated from usd value and commitment level

Frontend - Must be done:

[ ] Update all queries using 'has' to instead use edges from DHO root node (over 20 queries)

https://github.com/hypha-dao/dao-contracts/issues/113

@Gerard097 I am cleaning up the board, can I close this issue? It will not be deleted just not showing up at the board anymore

repo: hypha-dao/dho-web-client


text:
Added workdir

@DieterReuter Please review and Merge. My tests were OK.

@MathiasRenner now it LGTM. Please test again, then it's ready to merge.

Error with using a relative path:
"TypeError: path must be absolute or specify root to res.sendFile"

Please review and merge.

Just tested it. Works great.

authors: DieterReuter MathiasRenner

repo: hypriot/rpi-node-example-hello-world

license: mit


text:
dmesg nouveau errors

Hyprland Version
Hyprland, built from branch HEAD at commit d74607e414dcd16911089a6d4b6aeb661c880923  (props: bump ver to 0.33.1). Tag: v0.33.1  flags: (if any)
Bug or Regression?
Bug
Description
After starting and using Hyprland for a short while I've got this in dmesg:
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: magic set 1:
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 	00408e04: 21202401
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 	00408e08: 00010049
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 	00408e0c: 40000430
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 	00408e10: 91700000
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: TRAP_TEXTURE - TP1: 00000003 [ FAULT]
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 00200000 [] ch 3 [003fa80000 Hyprland[502924]] subc 3 class 8597 mthd 15e0 data 00000000
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: magic set 0:
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 	00408604: 2320b004
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 	00408608: 00010049
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 	0040860c: 40000430
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 	00408610: 91700000
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: TRAP_TEXTURE - TP0: 00000003 [ FAULT]
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: magic set 1:
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 	00408e04: 21205901
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 	00408e08: 00010049
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 	00408e0c: 40000430
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 	00408e10: 91700000
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: TRAP_TEXTURE - TP1: 00000003 [ FAULT]
[Mon Dec 18 08:43:44 2023] nouveau 0000:01:00.0: gr: 00200000 [] ch 3 [003fa80000 Hyprland[502924]] subc 3 class 8597 mthd 15e0 data 00000000

Who to blame? Hyprland or nouveau?
How to reproduce
It is just happening once in a while during normal work.
Crash reports, logs, images, videos
No response

idk looks like nouveau? like is there anything wrong with hyprland?

No, everything looks totally ok.

authors: manio vaxerski

repo: hyprwm/Hyprland


text:
[Question] Using with hyprlock or swaylock, different timeout when hyprlock or swaylock is activated

Is it possible with hypridle to have multiple conditional timeouts?
I want to have one timeout for when hyprlock or swaylock not running. And other for when hyprlock or swaylock is running.
Example:

hyprlock is not running/active, timeout = 600 seconds
hyprlock is running/active, timeout = 60 seconds

Related: https://github.com/swaywm/swayidle/issues/159

Can't you do just pgrep hyprlock && command?

I think this can be closed? @omnigenous

Can't you do just pgrep hyprlock && command?

The problem with this is that, lets say 60sec is for screen turn off if hyprlock active, and 100 sec is for screen lock. Now hypridle runs a single timer and executes timeout_action based whin idle timeout reaches that listener. Because 60sec idle timeout comes first, it executed its timeout_action - which will won't turn off the screen. Now idle timeout reaches 100sec and it will lock the screen. And now there are no listener, idle timer keeps on running but it won't reset to 0 unless mouse or key press is done. So 60sec timeout_action won't be executed again untlit hypridle resets.

Can't you do just pgrep hyprlock && command?

The problem with this is that, lets say 60sec is for screen turn off if hyprlock active, and 100 sec is for screen lock. Now hypridle runs a single timer and executes timeout_action . Because 60sec idle timeout comes first, it executed its timeout_action - which will won't turn off the screen. Now idle timeout reaches 100sec and it will lock the screen. And now there are no listener, idle timer keeps on running but it won't reset to 0 unless mouse or key press is done. So 60sec timeout_action won't be executed again untlit hypridle resets.

Why not make another listener then for turning off the screen at 160 seconds if one minute is the desired time after lock is invoked? I'm not against adding this feature, but I feel it's pretty simple to implement with a single command, and to change for whatever check you need to do. Other way around, lets say a function that checks for hyprlock is included in hypridle, if somebody wants to use swaylock then should that be added also, where does the checking end?
Maybe just documentation needs enhancing, so users know how to create these basic routines.

Why not make another listener then for turning off the screen at 160 seconds if one minute is the desired time after lock is invoked? I'm not against adding this feature, but I feel it's pretty simple to implement with a single command, and to change for whatever check you need to do.

wow, didn't thought that, nice idea.

Other way around, lets say a function that checks for hyprlock is included in hypridle, if somebody wants to use swaylock then should that be added also, where does the checking end?

Yes this is totally not a good idea, i created a issue on hyplock so that screen_turn_off can be addressed by  hyplock only.

Maybe just documentation needs enhancing, so users know how to create these basic routines.

Yes. i didn't knew that i had to use lock_cmd = pgrep hyprlock || hyprlock if not used then multiple instances of hyprlock will be started everytime timer-resets.

Solved, thank you :heart:
listener {
  timeout = 600
  on-timeout = pgrep hyprlockORswaylock || hyprlockORswaylock
}
listener {
  timeout = 660
  on-timeout = pgrep hyprlockORswaylock && command1
  on-resume = command2
}
# If no longer idle but still haven't unlocked
listener {
  timeout = 60
  on-timeout = pgrep hyprlockORswaylock && command1
  on-resume = command2
}

repo: hyprwm/hypridle


text:
Input typing indicator widget

While there is an input-field widget, it can reveal the number of characters in the password.
So, it would be nice to have some kind of typing indicator to show the user that hyprlock is getting the input.

suggestions for visualizing?

Maybe not a good idea, but how about combining all the examples I mentioned? 🤔
Something like this: When a key is entered, a prompt is shown and everything else is blurred, the prompt can be a (random or fixed) set of underscores like xsecurelock or maybe empty circles(or some other shape?) and when keys are pressed, a prompt character from the set is randomly chosen and the color of underscores or the fill color of circles are randomly changed.

I have a better idea.

6ff808cebf4db80f69b786637c3a3b21e0dc0cdd hows that

Nice and very efficient!

authors: CIAvash vaxerski

repo: hyprwm/hyprlock


text:
In 0.11 // comments doesn't work inside multi-line comments

Previously, single line comments can disable multi-line comments #24, but this has now been fixed https://github.com/typst/typst/issues/1113

😅 Ok let's revert that.

authors: hyrious istudyatuni

repo: hyrious/typst-syntax-highlight


text:
ENG-2030 add informative logs

Improve non-informative logs as RuntimeError('coroutine raised StopIteration') that raises when we look for an attribute that does not exist in the relevant node/ KG. More info can be found in the corresponding Jira ticket

Do you think it will it be beneficial to add the graph hash (graph id) to the log?

good idea; I added the node id instead of the hash though

repo: hyroai/knowledge-graph


text:
decompiling an APK using apkTool

Information

Apktool Version (apktool_2.3.1.jar) -
Operating System (Mac, Linux, Windows) -
APK From? (Playstore, ROM, Other) -

Stacktrace/Logcat
D:\Android tools\APktool>apktool d files/com.alameensoft.xPOS.apk --f
I: Using Apktool 2.0.0-RC4 on com.alameensoft.xPOS.apk
I: Loading resource table...
W: Config flags size > 38. Exceeding bytes: 0x746E00000000000000000000000000000000.
W: Invalid config flags detected. Dropping resources: string-sr-ERR0
I: Decoding AndroidManifest.xml with resources...
I: Loading resource table from file: C:\Users\MotazZ\apktool\framework\1.apk
I: Regular manifest package...
I: Decoding file-resources...
Exception in thread "main" java.lang.ClassCastException: brut.androlib.res.data.value.ResStringValue cannot be cast to brut.androlib.res.data.value.ResAttr
        at brut.androlib.res.decoder.ResAttrDecoder.decode(ResAttrDecoder.java:36)
        at brut.androlib.res.decoder.AXmlResourceParser.getAttributeValue(AXmlResourceParser.java:369)
        at org.xmlpull.v1.wrapper.classic.XmlPullParserDelegate.getAttributeValue(XmlPullParserDelegate.java:69)
        at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.writeStartTag(StaticXmlSerializerWrapper.java:267)
        at org.xmlpull.v1.wrapper.classic.StaticXmlSerializerWrapper.event(StaticXmlSerializerWrapper.java:211)
        at brut.androlib.res.decoder.XmlPullStreamDecoder$1.event(XmlPullStreamDecoder.java:83)
        at brut.androlib.res.decoder.XmlPullStreamDecoder.decode(XmlPullStreamDecoder.java:141)
        at brut.androlib.res.decoder.ResStreamDecoderContainer.decode(ResStreamDecoderContainer.java:33)
        at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:114)
        at brut.androlib.res.decoder.ResFileDecoder.decode(ResFileDecoder.java:99)
        at brut.androlib.res.AndrolibResources.decode(AndrolibResources.java:339)
        at brut.androlib.Androlib.decodeResourcesFull(Androlib.java:133)
        at brut.androlib.ApkDecoder.decode(ApkDecoder.java:104)
        at brut.apktool.Main.cmdDecode(Main.java:165)
        at brut.apktool.Main.main(Main.java:81)

Steps to Reproduce
apktool d files/com.alameensoft.xPOS.apk
Frameworks
APK

Closing due to no response in months.

authors: Motaz-Al-Zoubi iBotPeaches

repo: iBotPeaches/Apktool


text:
Compiler Expiration: clear on reload

Fix a bug where we wouldn't clear the expire timeout when replacing
the webpack compiler. Thus if you reloaded, {timeout} seconds later
it would kill the compiler, seemingly out of no-where.
Now we clear the timeout before replacing (in set) and before
removing it.

CR 🌵

dev_block 👍  on my own suggestion.

un_dev_block 👍

CR 🌵

CR :zap:

repo: iFixit/multi-user-dev-server


text:
1.增加一个获取签名的方法 2.修改alipay.fund.auth.order.freeze(资金授权冻结接口)不需要发起接口请求

1.增加一个获取签名的方法
2.修改alipay.fund.auth.order.freeze(资金授权冻结接口)不需要发起接口请求

另外我请教一个问题， FundAuthOrderAppFreeze 这个接口，你本身用过吗？确实是只有返回请求参数就可以了，对吗？

对的。我这边还有点改动。TradePay auth_code不能拦截。芝麻信用费传的是auth_no不是auth_code 我今天已经在对接了用我自己的分支测试的流程可以走通

@iGoogle-ink 辛苦合并一下咯

@iGoogle-ink 辛苦合并一下咯

经过测试没问题的话，我先合并进去了

对的。我这边还有点改动。TradePay auth_code不能拦截。芝麻信用费传的是auth_no不是auth_code 我今天已经在对接了用我自己的分支测试的流程可以走通

这个 auth_code 和 scene 我看了，确实有非必传的场景

AliPaySignSelf()  这个方法名，改一下，看看我给你反馈的 discussion

这样命名如何

authors: iGoogle-ink larry-dev

repo: iGoogle-ink/gopay


text:
🛑 OBEC Academy is down

In a8dbfd2, OBEC Academy (https://dlp.obec.go.th) was down:

HTTP code: 0
Response time: 0 ms

Resolved: OBEC Academy is back up in 75c2ef1.


text:
chore: promote react-spring to version 0.0.23

this commit will trigger a pipeline to generate the actual kubernetes resources to perform the promotion which will create a second commit on this Pull Request before it can merge

react-spring
Changes in version 0.0.23
Chores

release 0.0.23 (jenkins-x-bot)
add variables (jenkins-x-bot)

Other Changes
These commits did not use Conventional Commits formatted messages:

FE (iMckify)
bump kaniko (iMckify)

[jx-info] Hi, we've detected that the pipelines in this repository are using a syntax that will soon be deprecated.
We'll continue to update you through PRs as we progress. Please check #8589 for further information.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign
You can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

repo: iMckify/pipeline-cluster


text:
Access blocked when trying to configure integration

The problem
When I want to authorize my account to get a token, Google blocks access due to an 400 Error: Invalid request.
Detailed error:
Error 400: invalid_request
The out-of-band (OOB) flow has been blocked in order to keep users secure. Follow the Out-of-Band (OOB) flow migration guide linked in the developer docs below to migrate your app to an alternative method.
Details of request: redirect_uri=urn:ietf:wg:oauth:2.0:oob

What version of this integration (ha-nest-protect) has the issue?
0.1.0
What version of Home Assistant Core has the issue?
2023.1.4
Device / Model
Nest Protect (line power)
Diagnostics information
No response
Home Assistant log
Logs
```
Copy/paste any log here, between the starting and ending backticks (`)
```

Additional information
No response

Duplicate of #105

repo: iMicknl/ha-nest-protect


text:
Flow and slope units changes

PR to fix the bug https://bentleycs.visualstudio.com/iModelTechnologies/_workitems/edit/1101223

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

/azp run

repo: iTwin/bis-schemas


text:
Fix skybox persistence

Adjust SkyBoxImageType enum to match native persistence layer.
Add tests to verify fixes to native persistence layer.
Corresponding native PR.

@Ellord207 @Josh-Schifter fyi.

repo: iTwin/itwinjs-core


text:
Traefik support - Proxy HTTP support for external reverse proxy

Hello,
Congratulations for making all this be possible.
I recently managed to make this work but I had some troubles.
I use traefik for reverse proxy all my services so using a selfsigned certificate only for this service is a pain. I managed to make all this work using starting from the #18
If anyone wants feel free to reply and I will redact my domains and place the configs in here.
Basically traefik proxies tesla.mydomain.com to nginx which then serves the tesla certificate and the flash app(disabled after setup).
Traefik also proxies teslaproxy.internal.mydomain.com to tesla-proxy container trough port 443 but I need to setup a TCP router with TLS passtrough for the proxy to accept my certificate
Also HomeAssistant and Traefik+Proxy are on different VM's so mounting the certificate file is a pain, I managed to move it by hand since it shouldn't change after inicial setup.
What I propose is an option to make tesla-proxy listen only in port 80 for traefik to handle certificate generation via ACME like all the other services
Feel free to tell me if you want to work to make this happen

Please describe the instructions as it might be useful to others. I am not knowlegable about Traefik so can't add much here.
Regarding having the proxy listen on port 80, can this be achieved by changing docker-compose-yml? e.g:
ports:
      - 4430:443

to

ports:
      - 80:443

Hello,
I can do that, in fact I don't even have to map any ports in tesla-proxy container because the connections are made to traefik first.
The protocol needs to be changed from https to http because tesla-proxy <-> traefik connection is internal to the docker network so normally it is just http.
Docker-Compose file
services:
  tesla-proxy:
    image: iainbullock/tesla_http_proxy:latest
    container_name: tesla-proxy
    hostname: tesla-proxy
    restart: unless-stopped
    networks:
      - traefik
    stdin_open: true
    tty: true
    entrypoint: "/app/run.sh"
    working_dir: /app
    volumes:
      - tesla_http_proxy:/data
      - tesla_http_proxy:/share

    labels:
      - traefik.enable=true
      - traefik.tcp.routers.tesla-proxy.rule=HostSNI(`internal.tesla.domain.com`) #DNS only mapped in internal DNS server
      - traefik.tcp.routers.tesla-proxy.entrypoints=websecure
      - traefik.tcp.routers.tesla-proxy.tls=true
      - traefik.tcp.routers.tesla-proxy.tls.passthrough=true
      - traefik.tcp.routers.tesla-proxy.service=tesla-proxy
      - traefik.tcp.services.tesla-proxy.loadbalancer.server.port=443

      # Block outside traffic
      - traefik.tcp.middlewares.tesla-proxy-whitelist-ip.ipwhitelist.sourceRange=192.168.12.0/24,192.168.22.0/24
      - traefik.tcp.routers.tesla-proxy.middlewares=tesla-proxy-whitelist-ip@docker

  tesla-proxy-nginx:
    image: nginx:latest
    container_name: tesla-proxy-nginx
    hostname: tesla-proxy-nginx
    restart: unless-stopped
    networks:
      - traefik
    volumes:
      - tesla_http_proxy:/etc/nginx/conf.d
      - tesla_http_proxy:/share
    labels:
      - traefik.enable=true
      - traefik.http.routers.tesla-proxy-nginx.rule=Host(`tesla.domain.com`) #External acessible dns
      - traefik.http.routers.tesla-proxy-nginx.entrypoints=websecure
      - traefik.http.routers.tesla-proxy-nginx.tls=true
      - traefik.http.routers.tesla-proxy-nginx.tls.certresolver=cloudflareNetgere
      - traefik.http.routers.tesla-proxy-nginx.service=tesla-proxy-nginx
      - traefik.http.services.tesla-proxy-nginx.loadbalancer.server.port=80

volumes:
  tesla_http_proxy:
    external: true

networks:
  traefik:
    external: true

Default.conf
server {
    listen 80;
    listen [::]:80;
    server_name tesla.domain.com; #External acessible dns

    proxy_buffering off;

    resolver 127.0.0.11;
    set $target __PROXYHOST__;

    # temporary Flask app for initial auth (Remove commends then comment after flash shutdown)
#    location / {
#        proxy_pass http://tesla-proxy:8099;
#    }

    # static public key for Tesla (Only thing served by nginx after flash shutdown)
    location /.well-known/appspecific/com.tesla.3p.public-key.pem {
        root /share/nginx;
        try_files /com.tesla.3p.public-key.pem =404;
    }

}

Thanks for documenting this. Can we close the issue or move it to a discussion?

Feel free to close. Are you able to implement some setting to make flask run on port 80 plain text without https?

The parent repo owner wrote the code regarding the flask implementation. It's not something I'm looking at but if someone wants to add to the discussion on how to this I will update. Thanks for your input

Sorry to reopen the issue.
Upon further analysis I found out I'm mistaken, The flask app is not the one that needs to run under http, its the own tesla http proxy would need to be changed to allow http connection instead of https.
https://github.com/iainbullock/tesla-http-proxy-docker/blob/a8964216b3ca110a173aebe80e3d2ac97bcce30c/tesla_http_proxy/app/run.sh#L79C24-L79C113 This line starts the tesla http proxy made by tesla using self signed certificates.  If we generate a trusted certificate using let's encrypt and pass it to tesla proxy, then homeassistant does not need the certificate because it is already trusted.
I don't know whether it allows running HTTP if we launch it with 'tesla-http-proxy -port 80' probably not by looking at tesla's code but I will try to add an issue regarding this.
The certificate would come from traefik itself and tesla's proxy would run http.

authors: XxTopKillerzZ iainbullock

repo: iainbullock/tesla-http-proxy-docker


text:
Reset paging

Is there a way to reset the paging?
If you take http://codepen.io/iamisti/pen/RRrjLk?editors=1010 as an example.
The moment you start filtering on something else I'd like to start paging again from the first page.

Nojaf,
In loadPageCallbackWithDebounce(); pass in the page number you want to fetch, for example:
loadPageCallbackWithDebounce(1); // Load page 1
That doesn't bring you out of trouble, as far as I can see the pager within the component isn't reset, I created a decorator to fix this, not 100% sure if that's the correct solution though:

 .decorator(
        "mdtAjaxPaginationHelperFactory",
        ['$delegate', 'ColumnFilterFeature', 'ColumnSortFeature', function mdtAjaxPaginationHelperFactoryDecorator( $delegate, ColumnFilterFeature, ColumnSortFeature ) {
            // Return the decorated service.

            var originalGetInstance = $delegate.getInstance;
            $delegate.getInstance = function decoratedGetInstance() {
                var instanciated = originalGetInstance.apply($delegate, arguments);

                instanciated.fetchPage = function(page){
                    if (page) {
                        this.page = page;
                    } else {
                        page = this.page;
                    }
                    this.isLoading = true;
                    var that = this;
                    var callbackArguments = {page: page, pageSize: this.rowsPerPage, options: {}};

                    ColumnFilterFeature.appendAppliedFiltersToCallbackArgument(this.dataStorage, callbackArguments);
                    ColumnSortFeature.appendSortedColumnToCallbackArgument(this.dataStorage, callbackArguments);

                    return this.paginatorFunction(callbackArguments)
                        .then(function(data){
                            that.dataStorage.storage = [];
                            that.setRawDataToStorage(that, data.results, that.rowOptions['table-row-id-key'], that.rowOptions['column-keys'], that.rowOptions);
                            that.totalResultCount = data.totalResultCount;
                            that.totalPages = Math.ceil(data.totalResultCount / that.rowsPerPage);

                            if(that.totalResultCount == 0){
                                that.isNoResults = true;
                            }else{
                                that.isNoResults = false;
                            }

                            that.isLoadError = false;
                            that.isLoading = false;

                        }, function(){
                            that.dataStorage.storage = [];

                            that.isLoadError = true;
                            that.isLoading = false;
                            that.isNoResults = true;
                        });
                };
                return instanciated;
            };

            return $delegate;

        }]
    )

I did notice a other issue still, but will update if I have a update or better method.
Do let me know if this works for you!
Ries

I tried you decorator but with no luck I'm afraid.

Nojaf,
After further playing I had 50% luck with it. The decorator was called when using the paginator, but not when using my own loadPageCallbackWithDebounce and reset the page by suppling the page number.
I decided to just modify the code and move on...

What did you modify exactly?

Nojaf, see : https://github.com/rvt/mdDataTable/commit/f600cc8e9f9af055d1510c76488097d9194d99fb
file mdtAjaxPaginationHelperFactory.js

Thanks, your solution worked. Would it make sense to make pull request for this?

authors: nojaf rvt

repo: iamisti/mdDataTable


text:
Expired discord invite link

As the title says, the discord invite link in the README is expired.
I really like what you are doing here as it is pretty hard to find good information on how to do DDD/Clean Architecture well in go and I wanted to come on to ask a few questions.

Hey @KELLOGGS522 ,
Because of the business issues of my professioanl life, couldn't find a time to be online in discord but will be glad to help you here. You can ask yur questions here
Best

repo: iammuho/NatterNet


text:
Trojan:Win32/Wacatac.B!ml

Hey, is the installer malicious?

windows-terminservice.exe v1.02 after installation via installer:
https://www.virustotal.com/gui/file/997c04d502b6d28ea9fbd28c26dd7f0dfd3be9844e68050dd5029b378f437212/detection
vaccipy_installer.exe v1.0.2
https://www.virustotal.com/gui/file/ef20b54d311705611c207ad88d3c887de1b503d3dcddcaf50a16c86f765e76c7/detection
vaccipy_installer.exe v1.0.4
https://www.virustotal.com/gui/file/352e61d5d2ed2154c7b8af73a274f33dd9c7aa4f92d8879bc5e965da9b8a3517/detection

Hey @D1yt, we already know about the problem - see #128
No don't worry, the installer is not malicious. Otherwise, here is an alternative: https://github.com/iamnotturner/vaccipy/issues/128#issuecomment-850964801

Only windows defender on background check

repo: iamnotturner/vaccipy


text:
Update README.md

I tried to keep it simple adding all the necessary details in it, kindly merge it.
Thank you :)

I tried to keep it simple adding all the necessary details in it, kindly merge it.
Thank you :)

can you please add please add the section "star the repository if you like it" like something like this?

I tried to keep it simple adding all the necessary details in it, kindly merge it.
Thank you :)

can you please add please add the section "star the repository if you like it" like something like this?

Sure, Should I create a new pr or commit the changes in that?


text:
CI for Node

Part of course

  ✕ Sets the current player to be whoever it is not (1 ms)

Initializes with two players (3 ms)

repo: ianakt/github-actions-for-ci


text:
Fix bug in componentShouldUpdate causing the component never to update when children are strings and have changed

@frostney, I'm sorry, just found out i made a mistake in my previous pull request: https://github.com/ianbjorndilling/react-typewriter/pull/13. Causing componentShouldUpdate never to return true when children is a string and has changed.

This is now available with 0.4.1

repo: ianbjorndilling/react-typewriter


text:
Expose list branches and list trees

See issue #25

Thanks!
I think that it would be okay for users to import the functions from root_numpy themselves, not sure whether it makes sense to additionally re-export them from root_pandas.
But I think it would be extremely useful to mirror the HDFStore API that pandas has for HDF5 files by with a ROOTStore:
http://pandas.pydata.org/pandas-docs/stable/api.html#hdfstore-pytables-hdf5
That would solve the issue that you had in an elegant way.
There's already an issue on it here: https://github.com/ibab/root_pandas/issues/3.

Closing due to inactivity.
Feel free to comment if you want this reopened.

authors: ibab wiso


text:
Setting receptive field size for music training samples

I am trying to apply WaveNet to music samples, and per the WaveNet paper I should be training with a larger receptive field. I feel that ideally the receptive field size should be in the tens of seconds so that WaveNet can keep it coherent across a longer time frame. To keep it simple let's say I just want the receptive field to cover around 5 seconds for now, which translates into 80000 samples in the fields, which then translates into around 16 dilation layers (80000 ~= 2**16.288), which appears to be prohibitively expensive to run.
Does anybody have experience try using a fairly large receptive field size on music samples? Do you have anything to share?

I think extending the receptive field to anywhere near that large will require a context stack.

@jyegerlehner Good point. The idea of 'context stacks' was mentioned only briefly in the paper in terse terms, and my understanding is that it roughly amounts to using multiple smaller WaveNet stacks to handle components of the training data at different frequencies, possibly including polling.
I am leery of this approach because: while the beauty of WaveNet is that it works directly on raw audios, there is only so far that you can push it. Pooling works well with images, but with audios (and without converting data to the frequency domain) it will destroy vital information in the data. Using much lower sampling rate also grossly distorts the training data. On the other hand, if  training data is converted to the frequency domain first (say, using Fourier Transform) then fed into a variation of the WaveNet, then applying pooling and/or lower sampling rate (in the frequency domain) could actually work much better.
Would love to be proven wrong with the above. So far I have not been able to find any detailed discussion over the Internet regarding the viability of the "context stacks" idea as mentioned in the paper.

I think the pooling bit is optional. And it would only be performed on the longer-range wavenet.
Well, if you don't want to try context stacks, another alternative to just adding more dilation stacks, is to have each dilation stack grow to a larger size. Instead of:
1 2 4 ... 256 512 1 2 4 ...'
in a stack, you could do:
1 2 4 ... 256 512 1024 2048 4096 1 2 4 ...
It's shallower than just piling up more dilation stacks that only go up to 512. Might require increasing the number of channels. No idea  how doing that compares with a context stack. There are plenty of hyper parameters to make comparison difficult. And then there's the fact we haven't written the code to do context stacks yet, at least in this project.

So far I have not been able to find any detailed discussion over the Internet regarding the viability of the "context stacks" idea as mentioned in the paper.

I expect the only ones who have tried it yet are DeepMind.

One way to increase your effective receptive field without increasing your model size is to decrease the sample rate.  For example 8 KHz is often used in telephone systems, since most vocalizations are bunched at the low end (see G.711).
Likewise, piano keys peak around 4 KHz, which means 8 KHz is a fair choice according to Nyquist's theorem.
Does anyone have insight into the paper's 16KHz choice?

@dunnevan  Good point. Indeed 8KHz should be sufficient for my purpose (i.e., using it as a basis for discovering naive musicality). I have down-sampled some piano music from 44.1K to 8K and it sounds reasonable (though kind of dry due to the lack of higher frequency harmonics, but it will do). Now we shall see how it turns out when cranked through WaveNet.
As to the paper's 16KHz choice, my guess is that 16KHz used to be treated as non-audiophile's hifi-ish sample rate (i.e., good enough for most people), so the paper just pick it up as good enough for its setup too. Most people can tell 8KHz audio as telephone-ish type of lower quality stuff.

For some reason, GitHub doesn't like me replying from email.... Most of my points are now irrelevant since I see we're all in the same page.
A new contribution: my bet is they chose 16 kHz because they had it already set up for speech. 16 kHz is the standard for wide-band voice applications (most current telephones and VoIP), but has never been widely used in music. Below the 44.1 kHz standard you can find 32 kHz, maybe 22.05 kHz, for low-quality and very compressed music, but I haven't seen it go as low as 16 for applications other than analysis.
Now, what I meant to send a few hours ago:
Well, 8 kHz is enough for speech and used to be common in telephony, but it doesn't sound very clear, especially in the "s" sounds. With 16 kHz you can get decent quality for speech. Using 8 kHz would still be a good idea to speed up the model and see how it performs.
For music it's too low. The highest key of a piano has a fundamental frequency of 4 kHz, but this "frequency" is completely unrelated to the frequency in Nyquist. The frequency in Nyquist includes partials, noise and transients, which go up to 10 kHz easily (the transients go higher). But again, if we are just testing whether the net can figure out "notes" and "pitches" it's a completely viable option.

I think it'd be extremely useful if the group found a way to 44.1k with a long receptive field possible, while magically keeping it viable for small memory GPUs (aka top of the line consumer gaming Titan XP etc). Even if it means obscene training times.
I've done a number of experiments training it on full mixes of music at 44.1k, but with the settings commonly used in the repo for 16k. That means my receptive field winds up being really small, and the output just sounds like large grain granular synthesis / timestretching. Which is not especially exciting (to me anyway).

Combining input from @jyegerlehner and @dunnevan  I am now testing with the following model:
{
"filter_width": 2,
"sample_rate": 8000,
"dilations": [1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536,
1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536,
1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048, 4096, 8192, 16384, 32768, 65536],
"residual_channels": 32,
"dilation_channels": 32,
"quantization_channels": 256,
"skip_channels": 512,
"use_biases": true,
"scalar_input": false,
"initial_filter_width": 32
}
This is with the aim of having a rather longish receptive field size (~8 seconds?), so that the generated samples from a trained model will exhibit some level of coherence  across a good stretch of time interval.
I am testing this on an 8 vCPU instance on Google Cloud, which at this time would appear that it will take many days to converge. Stay tuned.
@paperkettle @lemonzi   FYI, I am okay with 8KHz sample rate  because I am simply trying to have WaveNet learn the most basic musical elements, such as the simplest form of note progression, rhythm, and perhaps harmony.  In its current form I don't believe that WaveNet can do much more than that (if at all), but I have hope that a more advanced version of WaveNet could be the core component of a much more sophisticated music composition system one day.

@kaihuchen, if you are interested in taking into account a receptive field as long as tens os seconds so you can compose congruent music pieces, you will probably need to make use of some attentional interfaces http://distill.pub/2016/augmented-rnns/#attentional-interfaces.
You probably will need to use WaveNet with the higher receptive field possible, but modify also the model so you can take into account (focus) on very old segments of the current song. I don't thing WaveNet can be extended (just setting up its parameters) enough to be able to generate a full congruent song. You will probably need to modify the model greatly if you want to get something really better than the piano sound that DeepMind already show in here: https://deepmind.com/blog/wavenet-generative-model-raw-audio/.
Regards,
Samu.

@kaihuchen
With that dilation stack, you'll need to set --sample_size. It defaults to 100000, so you won't fill that whole field. You could either set sample_size to the receptive field size, or I think 0 to turn off chunking.

@Zeta36 I completely agree with your assessment. I have no illusion that WaveNet in its current form will be able to produce full congruent music. I look at WaveNet's generative capability merely as a way to create useful low-level 'audio features' (conceptually somewhat similar to how CNN uses unsupervised learning to generate useful low-level visual features), and the purpose of my tests here is only to find out how useful such audio features are going to be. There are a lot more work that need to be done in order to produce full congruent music, possibly including the attention interfaces stuff that you mentioned.

Well, 8 kHz is enough to decipher what someone is saying and used to be
common in telephony, but try it yourself and you'll see it doesn't sound
very clear. With 16 kHz you can get decent quality for speech. Using 8 kHz
would still be a good idea to speed up the model and see how it performs,
only don't expect very high quality at the output.
For music it's too low. The highest key of a piano has a fundamental
frequency of 4 kHz, but this "frequency" is completely unrelated to the
frequency in Nyquist. The frequency in Nyquist includes partials, noise and
transients, which IIRC in a piano go up to 10 kHz easily (the transients go
higher); 16 kHz is a compromise for speed and works well enough when there
is only piano present, 22 kHz would be enough for low fidelity. But again,
if we are just testing whether the net can figure out "notes" and "pitches"
it's a viable option.
El dl., 24 oct. 2016 a les 15:03, dunnevan (notifications@github.com) va
escriure:

One way to increase your effective receptive field without increasing your
model size is to decrease the sample rate. For example 8 KHz is often used
in telephone systems, since most vocalizations are bunched at the low end
(see G.711).
Likewise, piano keys peak around 4 KHz, which means 8 KHz is a fair choice
according to Nyquist's theorem.
Does anyone have insight into the paper's 16KHz choice?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ibab/tensorflow-wavenet/issues/161#issuecomment-255834220,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADCF5vbvIUdtQs0pQz3i35H5FIN0Mgcbks5q3QEEgaJpZM4KeC3c
.

Just curious, what would happen if you increased the filter_width to 3? You may be able to pick up more features with less layers and therefore, less cost.

@kaihuchen Just curious but how did your experiment with those settings go?

@materialvision It seems that he used cpu only experiement. (8 vCPU instance)

@materialvision Even after days of computation it never did converge. I am gradually reducing the receptive field size, tweaking other parameters,  as well as reverting to use the VCTK dataset to see if I can do any better. Perhaps it's time for me to spend a little effort to get a GPU instance going.

I've tried with 4 titan x's with large field sizes  (10k), and I've found gating to be crucial for convergence.

@LeavesBreathe Have you implemented model parallelism on multiple gpu devices?

@nakosung Right now I have probably the worst model parallelism design. I'm taking separate layers and placing them on different gpus so I'll have one  1,2,4....10k block on one gpu and the next block on another. Timewise, this is the least efficient as only one gpu runs at a time. However, it does allow all memory usage, which I was interested in (using a big model).

@LeavesBreathe    Could you share some details regarding what kind of gating worked for you? Thanks!

by gating I simply mean the sigmoidal dilated causal conv that is multiplied by the tanh activated dilation. Was anyone else able to do model parallelism on gpus?

I tried to extend the receptive field with dialtion 1, 2, ..., 8192 and has 5 stacks. But the loss is always around 3.5, on my set of 480 pieces of absolute music, even when I trained 130K steps. @kaihuchen Maybe similar results to yours

authors: LeavesBreathe Zeta36 dunnevan jyegerlehner kaihuchen lemonzi materialvision nakosung paperkettle strongrex2001

repo: ibab/tensorflow-wavenet


text:
How to interpret topological distance?

How should one interpret the values in the Distance Changes chart? What does a high (versus low) value mean?
From section 3 of the paper Topological tail dependence: Evidence from forecasting realized volatility:

In other words, since the absolute correlations between the stocks in St increase during turbulent periods, depicted by Fig. 9, the average distances between the data points will normally be smaller than the average distances during normal periods.

Based on this^, does a larger topological distance imply a lower correlation?

Hi Micycle1,
The distances illustrates the changes between different states over time. A high value in the distance changes chart indicates a significant change in the topological distance between the points in the multidimensional space representing the different states. This could mean that the relationship or dependency between the variables has undergone a shift. A low value will suggests a smaller change in the topological distance, which in turn could mean that the relationship or dependency between the variables remains relatively stable over the observed period.
But the question regarding the correlation is very interesting. I have to think about that.

Ok thanks for responding, a follow up then: the distance value spiked in 2020 (COVID), but has been much lower since then. Does that mean COVID ushered in a new state that has distance value have been low since, or new state that only existed during the spike?

Can you describe the input data, e.g. what are the variables for the distance computation?

This is from the README😁!

I´m sorry. I thought you are using some medical data related to COVID 🤣 Lets say, that some dependencies between the variables has undergone a shift: This process would lead to an spike in the distance. If the other variables catch up the same dependency shift as the first variables, the distance would decrease. One can only certainly say, that there was a shift in the dependencies.

repo: ibaris/finance-tda


text:
fix(fix download merged project feed to use job monitoring)

 Issue by landonreed
Tuesday Sep 19, 2017 at 20:08 GMT
Originally opened as https://github.com/catalogueglobal/datatools-ui/pull/27

Along with catalogueglobal/datatools-server#37, this PR replaces the buggy merge project feeds with a job that, once completed, triggers a download via feed token/s3 credentials.

landonreed included the following code: https://github.com/catalogueglobal/datatools-ui/pull/27/commits

 Comment by codecov-io
Tuesday Sep 19, 2017 at 20:14 GMT

Codecov Report

Merging #27 into dev will decrease coverage by <.01%.
The diff coverage is 0%.

@@           Coverage Diff            @@
##             dev     #27      +/-   ##
========================================
- Coverage   0.03%   0.03%   -0.01%
========================================
  Files        312     312
  Lines      10316   10321       +5
  Branches    3415    3417       +2
========================================
  Hits           4       4
- Misses     10312   10317       +5

Impacted Files
Coverage Δ

lib/manager/actions/versions.js
0% <0%> (ø)
:arrow_up:

lib/manager/actions/status.js
0% <0%> (ø)
:arrow_up:

lib/manager/actions/projects.js
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

 Comment by abyrd
Thursday Sep 21, 2017 at 11:29 GMT

Ah OK, it's the client that notices that a job is finished in a specific category and initiates the download. Makes sense.

:tada: This issue has been resolved in version 4.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

repo: ibi-group/datatools-ui


text:
函数名语法问题

根据 Apple 自己的同名函数，YYClassInfo 里的 setNeedUpdate 不是应该是 setNeedsUpdate 么，needUpdate 也是一样的问题。

好吧。。确实命名不好。。不过已经发布了就不太好改了😓

authors: gogozs ibireme

repo: ibireme/YYModel


text:
The GitHub actions tests should use the latest Frank!Framework version

The Frank!Runner does not always download the latest Frank!Framework version. This makes the Frank!Runner start quickly, but this behavior is not always desired for the tests. The tests may be triggered with the aim of testing the newest F!F version.
The tests can fix this by deleting frank-runner/download/metadata.
GitHub actions triggered by workflow_dispatch events can have inputs. We can force downloading the newest F!F only if this is requested through the inputs.

Is gedaan.

repo: ibissource/frank-runner


text:
xs:any in xsd does not work

When using the xs:any element inside an xsd to validate any element at that position, the Json2XmlValidatorPipe gives an error like:
Validation using Json2XmlValidator with 'xsd.xsd' failed: /root/data: No typeDefinition found for element [exampleelementname] in namespace [] qName [exampleelementname]
Reporter
Lenard

Make an adapter like this:

<Configuration>
	<Adapter name="Test">
		<Receiver name="Test">
			<JavaListener name="Test"/>
		</Receiver>

		<Pipeline firstPipe="dummy">

			<Json2XmlInputValidator
				outputFormat="json"
				schema="xsd.xsd">
				<Forward name="failure" path="ERROR"/>
			</Json2XmlInputValidator>

			<FixedResultPipe name="dummy" returnString="dummy">
				<Forward name="success" path="EXIT"/>
			</FixedResultPipe>

			<Exit path="EXIT" state="success"/>
			<Exit path="ERROR" state="error"/>
		</Pipeline>
	</Adapter>
</Configuration>

Create the following xsd in the same directory as the adapter

<?xml version="1.0" encoding="utf-8"?>
<xs:schema elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" >
	<xs:element name="root">
		<xs:complexType>
			<xs:sequence>
				<xs:any maxOccurs="unbounded" processContents="skip"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
</xs:schema>

Start the Frank, go to Test a Pipeline in the console, and run the pipeline with input:

<root>
	<test1>test content 1</test1>
	<test2element>test content 2</test2element>
</root>

This happens in the 7.7-RC1

When using the Json2XmlInputValidator, I assume you want to validate the json content and convert it to XML.
In your example you're not sending json but a simple string.
What is it that you expect the validator to do here?

Due to wrong formatting the xml snippets didn't show correctly. Should be fixed now. I'm trying to validate xml and convert it to json.

The Json2XmlValidator cannot know from an xsd:any tag how to convert the input to json.

PR #2802 enables the use of anyAttribute, and provides an example of label-value

authors: gvanbrakel lenardvandermaas nielsm5

repo: ibissource/iaf


text:
Filtering the IP address in HMC and user sessions

Using split() and pop() to filter the IP address in the HMC and user sessions page.
Defect: https://jazz07.rchland.ibm.com:13443/jazz/web/projects/CSSD#action=com.ibm.team.workitem.viewWorkItem&id=570310

And this works with 9.9.9.9, ::ffff:9.61.186.84? what if one day we had an ipv6 address 2001:0000:130F:0000:0000:09C0:876A:130B ?

Yes, It would not work for the ipv6 address example, It would display 130B

repo: ibm-openbmc/webui-vue


text:
🛑 Git is down

In a1af7d0, Git (https://git.icarephone.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Git is back up in df9befb.

repo: icarephone/upptime


text:
🛑 Secret Site is down

In 164db4c, Secret Site ($SECRET_SITE) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Secret Site is back up in 530a7ce.


text:
Migrate ci to GitHub actions #17

Description
Migrates the Travis CI build to GitHub actions.
Testing instructions

[ ] Review code
[ ] Check CI build runs in GitHub actions
[ ] Check GitHub actions successfully publishes site (Can only be tested once the PR is merged)

Agile board tracking
closes #17

The workflow successfully build the site before the last commit was pushed, so we now need to test whether it publishes the site OK when the PR is merged.

This would now mean that non-gatsbyjs branches are never tested on CI - I think we should add back in that behaviour.

@louise-davies Running the current workflow on non-gatsbyjs branches would mean that it would be deployed on every push. While there is a skip-publish: true that allows for the deploy part to be skipped, I could not find a way to make use of it for non-gatsbyjs branches only at the time of writing the workflow. I will have a look again next week.

@louise-davies I modified the workflow so that it builds but skips publishing for non gatsbyjs branches.

great work @VKTB and @louise-davies !

authors: VKTB agbeltran


text:
Add Protobuf to the doc index page

This PR updates the doc index page to include links for protobuf.

We need to also fix https://github.com/icerpc/icerpc-csharp/tree/main/docfx/namespaces

authors: externl pepone

repo: icerpc/icerpc-csharp


text:
weakly-scattering prolate spheroid

In reviewing code to calculate the scattering by a weakly-scattering prolate spheroid found in:
https://github.com/CRIMAC-WP4-Machine-learning/Prol_Spheroid,
I compared their results to those in echoSMs and to the benchmark.
The results and parameters are in the attached file, WkProlateSpheroid.ods.
The Prol_Spheroid results matched the benchmark quite well, with some errors at the nulls. Their code bombed when I got to 258 kHz (for a prolate spheroid with a=0.07 m and b=0.01 m), which is why there are no values beyond this frequency.
However, the echoSMS PSMS model did not fare as well. I ran this on a google cloud workstation, linux-base e2-standard-8.
Here is my code:
from echosms import PSMSModel, BenchmarkData, ReferenceModels
from sys import exit
import numpy as np

rm = ReferenceModels()
# help(rm)
# dir(rm)
rm_type = 'weakly scattering prolate spheroid'
print('Reference model selected: {0}'.format(rm_type))
# select the model
model = PSMSModel()
# the reference model target type information
rm_spec = rm.specification(rm_type)
# get the parameters for that reference model target type
rm_par = rm.parameters(rm_type)

bmd = BenchmarkData()
bmd_pd = bmd.freq_dataset  # this is a Pandas DataFrame
# benchmark data column names
bmd_colnames = bmd_pd.columns
# map the reference model to the benchmark data column
rmbmd_map = {}
for i in range(len(bmd_colnames)-1):
    rmbmd_map[rm.names()[i]] = bmd_colnames[i+1]

# benchmark target selection
# match the benchmark data to the reference model
if (rm_type not in rmbmd_map.keys()):
    print('Reference Model:  {0} does not have benchmark data. Exiting'.format(rm_type))
    exit()
bmd_type = rmbmd_map[rm_type]

# use the same frequencies as the benchmark, convert to Hz
rm_par['f'] = bmd_pd['frequency (kHz)']*1e3
rm_par['theta'] = 90

TS = model.calculate_ts(rm_par)

# comparison to the benchmark data
jech_index = np.mean(np.abs(TS - bmd_pd[bmd_type]))

WkProlateSpheroid.ods
I did find the echoSMs PSMS model calculated for the full range of f and was considerably faster (but I didn't do any time trials).

I had seen the errors in the echoSMs results but had forgotten about them until this reminder... I'll have another go at finding the error.  Note that this error is only for weakly scattering (pressure release and rigid agree well).
A few notes:

the CRIMAC code uses the same Fortran prolate spheroid library as echoSMs,
the echoSMs code is using an simplifying approximation when doing weakly scattering that I don't see the CRIMAC code doing - this might be contributing to the differences in calculation times.
Currently, the prolate spheroid model in echoSMs doesn't do strongly scattering fluid filled (e.g., gas)

It turns out that the approximation used for weakly scattering (eqn after (17b) in Jech et al) is not valid when the density contrast is very close to 1 (as it is for the benchmark weakly scattering prolate spheroid). Sound speed contrasts very close to 1 are ok.
This behaviour is demonstrated in Figure 3 of Gonzalez et al (2016). The echoSMs PSMS code produces the same curve as the 'approx' curve in figure 3 - the echoSMs implementation is probably correct. It's just that the approximation is not valid for the weakly scattering prolate spheroid in the Jech et al paper. The text after eqn 17b in the Jech et al paper says that this approximation was used for the benchmark calculations, but perhaps this is not quite correct.
The solution is to implement the full fluid boundary condition in echoSMs's PSMS model (as per eqn (15) in Jech et al).
Gonzalez, J. D., Lavia, E. F., Blanc, S., & Prario, I. (2016). Acoustic scattering by prolate and oblate liquid spheroids. Proceedings of the 22nd International Congress on Acoustics. Acoustics for the 21st Century, Buenos Aires. http://www.ica2016.org.ar/ica2016proceedings/ica2016/ICA2016-0298.pdf

New version of echoSMs, v0.6.2, is now available that implements the full equations for weakly scattering boundaries. This gives the same TS results at the CRIMAC code (and so very close to the benchmark results). But, the code fails as the frequency increases, so more work is needed.

It could very well be that the weakly-scattering model did not use the approximation. I believe Sawada-san has retired, so it may be difficult to confirm, but I'll check.
The CRIMAC code bombed at 258 kHz, so there does seem to be an upper limit. I don't know if the limit is based on frequency alone or "L"/lambda where "L" is some characteristic length such as semi-major or semi-minor lengths, total length, ... or some other metric.

The Gonzalez et al (2016) implementation of the PSMS (done in Julia) achieved good results up to 1.8 MHz with the Jech et al parameters, so there is hope! Another promising result from that paper was that they successfully ran their model with a gas interior, something that didn't work with the PSMS implementation used in the Jech at al paper.

authors: gavinmacaulay jmjech

repo: ices-tools-dev/echoSMs


text:
CPHL_EO spatial confidence to be set to High

Currently the CPHL indicator data type EO spatial confidence is not available. For now, the EO data type spatial confidence should be "hardcoded" to HEAT script to be "High" for all open sea subbasins (except the Sound where there is no CPHL_EO EQRS) to enable calculating integrated confidende for CPHL all data types as well as criteria 2 and overall assessment confidence.

@jkaitaranta I have as requested now included the option to hardcode the GTC, STC and or SSC within the configuration file in the indicator unit results sheet and have updated the default configuration file with SSC = 100 (high) for CPHL_EO for all assessment units.
However above doesn't resolve the issue that when confidence is missing from one indicator in one assessment unit, then the result will still be missing both in the criteria and the overall assessment. I could in principle ignore missing values all over but are unsure if this is indeed the right approach (i.e. claiming unknown translate into ignore) and what the group wants?

Thanks. Please adjust the script so that it ignores missing values for now.

Done, missing values are being ingnored

authors: HjalteParner jkaitaranta

repo: ices-tools-prod/HEAT


text:
DataTable component ignores withRowBorders=false property on the last row

Description:
The DataTable component continues to render a border on the last row despite the withRowBorders property being set to false. This unexpected behavior causes UI inconsistency.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I expect that when withRowBorders is set to false, no rows should display borders, including the last row in the table.
Screenshots

I tested the "native" mantine table, it does not apply the border to the last element when withRowBorders is set to false

Fixed in v7.9.1.

authors: icflorescu khashashin

repo: icflorescu/mantine-datatable


text:
How can we show suggestion by querying server ?

Dynamically querying the server and show suggestion.

please read the wiki page or have a search.
You can use the remoteFIlter callback to do that.
https://github.com/ichord/At.js/wiki/How-to-use-remoteFilter

authors: ichord signalarun


text:
某些小米手机无法显示文字

某些小米手机的微信小程序上的wxParse不显示
小米手机型号 MIX2S
小米系统 MIUI 9.5
微信 6.6.6
经过调试，发现是 console.dir 这个api 在该环境上（小米手机的微信小程序）不支持引起的错误
然而作者的 html2json.js文件中 112和119行各有一个 console.dir
故而无法显示

感谢LZ解决了我的困惑……

感谢LZ，遇到相同问题！

我也遇到了这个问题

authors: CXeon bearFish-x daiyifei hqsiswiliam

repo: icindy/wxParse


text:
Crash in md_array_str_eq()

I got a crash in md_array_str_eq():
#0  0x00007f0ed9f99bd5 in md_array_str_eq (a1=0x556fc1771ec0, a2=0x0, case_sensitive=case_sensitive@entry=0) at md_util.c:226
#1  0x00007f0ed9f943ea in md_reg_sync_finish (reg=0x556fc1771a30, md=md@entry=0x556fc1719ae0, p=p@entry=0x556fc167f138, ptemp=ptemp@entry=0x556fc16aa3c8) at md_reg.c:877
#2  0x00007f0ed9f9e00e in md_post_config_after_ssl (p=0x556fc167f138, plog=<optimized out>, ptemp=0x556fc16aa3c8, s=<optimized out>) at mod_md.c:949
#3  0x0000556fc1377ff3 in ap_run_post_config (pconf=pconf@entry=0x556fc167f138, plog=0x556fc16ae488, ptemp=0x556fc16aa3c8, s=0x556fc16a9858) at config.c:103
#4  0x0000556fc1352f0e in main (argc=<optimized out>, argv=<optimized out>) at main.c:807

Probably you have already fixed it in this commit: https://github.com/icing/mod_md/commit/ebe24fc21d655c92cb97f4e73e9982818cb10f44
It's this change in src/md_util.c:
-    if (!a1) return 0;
+    if (!a1 || !a2) return 0;

Any chance to backport this bugfix to the branch "maintenance-2.2.x" ? I hope it will be included in a future version of httpd 2.4.x.

Ah, yes. Should do that. Some people use the module from here, also.

I will release master (containing the fix) as 2.4.0 soon and bring this over to Apache repository.

I will release master (containing the fix) as 2.4.0 soon and bring this over to Apache repository.

authors: icing mkauf


text:
fix: return error for relay handeFailed

This pull request fixes an issue where an error was not being returned for relay handle failed. The WaitForTxResult function now returns an error if the callback is nil. Additionally, the function now returns the error if the transaction status is not 1. This ensures that errors are properly handled and returned in the relay process.

Did you check if other chains also have similar implementation?

Did you check if other chains also have similar faulty implementation?

We have refactor current implementation on cosmwasm.

could we fix issue in one ticket and then refactor in another ?? constant refactoing of codes makes it very hard to track changes in PR.

could we fix issue in one ticket and then refactor in another ?? constant refactoing of codes makes it very hard to track changes in PR.

Very hard to fix this issue without refactoring.

authors: bcsainju debendraoli

repo: icon-project/centralized-relay


text:
Twice request

Option 1 - Call SVGInject from the onload attribute
Does this method cause the file to request twice?

@dasboe Thank you for the detailed explanation. Very good if all common browsers exhibit this behavior.
I am concerned about the browsers requesting from the server and then returning with the 304 status code. This way it will have an extra 150-300ms overhead (even if it doesn't download the file).
Of course, these are all assumptions. Very good as you said

I've changed the README to address this Issue in What are additional advantages when using onload??

authors: dasboe ionurboz

repo: iconfu/svg-inject


text:
Clean install on up-to-date Quest 2 crashes on start up

I’ve just installed Open Brush on Quest 2 and it constantly crashes on start up

Installed via App Lab

We can't reproduce this and as far as I'm aware nobody else has reported it. I know that's not very comforting for you but it's hard to know how to progress this.

My bad - although not my fault, directly - as this was an Oculus for Business Quest 2 headset, but hadn't been commisioned for that special (and very restricted) OS. Therefore, it wouldn't update past v29 firmware (as it wasn't on the list of 'commercial' devices). As O4B is being discontinued now, all these Q2s have been redesignated as normal headsets, and can now be updated. Open Brush now works fine, thankfully.

authors: DoctorMikeReddy andybak

repo: icosa-gallery/open-brush


text:
[Question] Syntax highlighting within comment

I have created my own XSHD syntax highlighting.
Is it possible to highlight certain keywords within a comment?

A possible solution would be this:
<?xml version="1.0"?>
<SyntaxDefinition name="Custom Highlighting" xmlns="http://icsharpcode.net/sharpdevelop/syntaxdefinition/2008">
	<Color name="Comment" foreground="Green" />

	<RuleSet>

		<Import ruleSet="SpecialKeywords" />

		<Keywords fontWeight="bold" foreground="Red">
			<Word>Normal1</Word>
			<Word>Normal2</Word>
			<Word>Normal3</Word>
			<Word>if</Word>
			<Word>else</Word>
		</Keywords>
	</RuleSet>

	<RuleSet name="SpecialKeywords">
		<Keywords fontWeight="bold" foreground="Orange">
			<Word>Special1</Word>
			<Word>Special2</Word>
			<Word>Special3</Word>
		</Keywords>
	</RuleSet>
</SyntaxDefinition>

Preview:

Hope this helps!

authors: MrReSc siegfriedpammer

repo: icsharpcode/AvalonEdit


text:
Fix delete line behavior

The existing implementation creates a selection if there isn't one, instead of just deleting the current line. So, undo will restore a selection that wasn't there. If there was a selection, a different selection may be restored (e.g., this happens with any rectangular selection). I believe this commit fixes these problems.

@christophwille Sorry, there should be a textArea.ClearSelection() call after the textArea.Document.Remove() call on line 514. I had that in my fork for a long time and when I did some last minute testing before submitting this, I thought it wasn't necessary, but it is. (If you're at the end of a line and extend the selection to the very beginning of the next line, there will then be one character selected there still after the deletion).

I meant @dgrunwald ... lol.


text:
AD1000 Exception in AccessToStaticMemberViaDerivedTypeAnalyzer

Reported through Visual Studio Gallery by user jrpally:

I got the following error: Severity Code Description Project File Line Suppression State
Warning AD1000 An instance of analyzer RefactoringEssentials.CSharp.Diagnostics.AccessToStaticMemberViaDerivedTypeAnalyzer cannot be created from \VISUALSTUDIO\14.0\EXTENSIONS\ELJKFHG1.I4P\RefactoringEssentials.dll: Could not load file or assembly 'Microsoft.CodeAnalysis, Version=1.2.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified.. 1 Active

Questions:

Which exact versions of VS and Refactoring Essentials installed?
If RE 4.4: Did this error appear with 4.4 for the first time?
Which other VS extensions installed?

repo: icsharpcode/RefactoringEssentials


text:
Fallo de indentación

https://github.com/idafensp/github-eii/blob/131b519c43160d8b5444e74e42f126195ee7b154/hunt.py#L10

Falla la indentación

Solucionado en la issue #5

authors: AmbarJade idafensp

repo: idafensp/github-eii


text:
Adapt griffin steady inputs for PJFNKMO

Regold transient for new restart point
Refs #46

Regold was necessary because of fluids update in #62


text:
Migrate to Bevy 0.15

This is a migration to Bevy 0.15. It is simply composed of all necessary changes to make bevy-tnua build with Bevy 0.15, bevy_rapier 0.28, and the tentative Avian 0.2.
There are some problems that currently exist, some likely block this PR:

Avian has not published the version supporting 0.15 (I think version 0.2.0 is in progress?)
No consideration/work done to convert Bundle pattern to required components
Rapier now supports multiple physics "worlds," since RapierConfiguration/RapierContext are now components instead of resources. bevy-tnua may require implementation changes to support this feature properly
The character does not properly float/move/respond in all Avian demos

Might be related to Avian's PhysicsLayer changes - https://github.com/Jondolf/avian/pull/494
Did some minimal troubleshooting to not much avail

As per #45, I did not make any assumptions about how to adjust the API for the new Bevy version - I provide this as a starting point, and to anyone who depends on tnua and wants to migrate their project to 0.15.

Thanks! I'll take it from here (can't promise to publish today, but I'll try to do it during the weekend)

I looked into the why the floating problem in the Avian demos, and it looks like some of the components were changed. Specifically:

Something was changed with the layers. Instead of having all the layers, objects created without layers only have the default layer (i.e. the one generated by Default::default())
Mass and AngularInteria are not automatically added - I have to look in ComputedMass and ComputedAngularInteria instead.

authors: idanarye voximity

repo: idanarye/bevy-tnua


text:
python dependencies installation on centos7

@joamatab I am trying to install python dependencies using make install but I am getting this below error. Do you have any idea on this?
Collecting gdsfactory==5.1.1 (from -r requirements.txt (line 5))
  Could not find a version that satisfies the requirement gdsfactory==5.1.1 (from -r requirements.txt (line 5)) (from versions: 1.1.1, 1.1.3, 1.1.5, 1.1.6, 1.1.8, 1.1.9, 1.2.2, 1.3.2, 1.4.0, 1.4.2, 1.4.3, 2.0.0, 2.0.2, 2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.2.1, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 2.2.6, 2.2.8, 2.2.9, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.4.1, 2.4.2, 2.4.3, 2.4.4, 2.4.5, 2.4.6, 2.4.7, 2.4.8, 2.4.9)
No matching distribution found for gdsfactory==5.1.1 (from -r requirements.txt (line 5))

I did not face this issue on Ubuntu.. I checked the python version which is 3.6.

Python 3.6 has reached the end of life, why not upgrading your python using mamba or pyenv?

@joamatab it is working on Ubuntu20 distro but not in centos7.
Anyway, I will try upgrading python too.

Yes, I required python 3.7 or newer

I highly recommend using conda to install a python environment and easily get all the tools you need from https://github.com/hdl/conda-eda

@joamatab  Thank you! I found a workaround and got all of the python libraries installed.
@mithro, Thanks. I will get it a try.

authors: joamatab mithro saicharan0112

repo: idea-fasoc/OpenFASOC


text:
Fix shebang on dependencies.sh

Fix shebang string. When execute with ./dependencies.sh, it will always run by using /bin/bash when the default shell is different from bash.

Thanks!

authors: msaligane qrqiuren


text:
add cython brute force

This is slightly faster than other methods

how much is slightly faster? Would be awesome if you could add your timings to the PR

On an ancient laptop, which isn't ideal for benchmarking:
6k images
bktree: 297s
brute_force: 373s
brute_force_cython: 0.6s

This still needs a call to clear somewhere. Is it OK to leave this to you guys to test and do any remaining changes?

This still needs a call to clear somewhere. Is it OK to leave this to you guys to test and do any remaining changes?

Yes, we're on it. Thanks for your PR, it adds a lot of value.

Continued in PR #56

authors: clennan jonatron tanujjain

repo: idealo/imagededup


text:
Filesize limit

Add the capability to implement a filesize limit for both uploaded files and downloaded files.

Requested changes have now been implemented. Pull request will now be merged into master.

SizeLimitExceededException 👌

authors: daniel-warren leonatherton

repo: idrsolutions/base-microservice-example


text:
add audio support

Now it's possible to download not only video but audio as well as resample the audio (currently supports output="files"). Audio is being saved as .mp3 file.

@marianna13 please let's try to keep this as small as possible, no unnecessary changes to other components, if you think something else should be changed let's discuss over discord and then make a different PR. If this PR is about "audio support" then the changes in the diff should reflect integrating audio support and not refactoring how we access the video link

I changed things significantly so I'm afraid this will need to be redone
could you try to implement these features:

reading local mp3 files
reading audio from yt-dlp

it would be great!

Sure!

Does it need to support only mp3 or other audio formats as well?
What do you mean by "reading audio from yt-dlp"? I can extract audio link (m4a or mp3 or whatever) and download audio from it or I could just download audio with yt-dlp.

all sounds great, but I figure start with something minimal and then we can expand on top

@marianna13 remember to merge in main

does this work fast?

Speed test (1 video, on CPU cluster):

only video (mp4): 8.223158836364746 seconds
only audio (mp3): 8.929118394851685 seconds
video + audio (mp4, mp3): 8.74603796005249 seconds

Lgtm

There's a few typos and bad variable names but not a big deal


text:
fix: Preserve RelatedDocuments for RFCs

The new migration is a bit slow (but less than 2 minutes on my dev machine). May want to look into combining / optimizing those when we have a full set.

I have some ideas about how to speed this up, but we are talking about a large number of new rows being added for the reference relationships.

authors: jennifer-richards rjsparks

repo: ietf-tools/datatracker