MRG: Fix vector colormap

Closes #5236.
Fixes some errant changes in colormap defaults. Should be backported.

All better:
https://8152-1301584-gh.circle-artifacts.com/0/html/auto_examples/inverse/plot_vector_mne_solution.html

backported


Add format specifier for showing active filter expression

Closes https://github.com/newsboat/newsboat/issues/946

Coverage decreased (-0.02%) to 56.859% when pulling 517d69f40242588d4f11e3610e6546d993514c3f on dennisschagt:feature/issue-946 into 6ca32a883fc0fdec8386cb8e49281371e1464afe on newsboat:master.


Add support for excluding markers via false

This behavior mimics the includeMdc behavior and causes
the tags serialization to be skipped.

Awesome!  Thanks.

@ramsperger/ @philsttr  I'm using LogstashEncoder for logging, recently i found there is tag which is populating in my logs.
"marker": {
"name": "LS_APPEND_OBJECT"
}
using net.logstash.logback:logstash-logback-encoder:4.6
How can i suppress above properties(marker) from logging? does it work if i use ?

@BoinaRamesh - You need to set up a config for the encoder that includes <includeTags>false</includeTags>.
Much abbreviated example:
<configuration>
    <appender name="stash" class="ch.qos.logback.core.rolling.RollingFileAppender">
        <encoder class="net.logstash.logback.encoder.LogstashEncoder">
            <includeTags>false</includeTags>
        </encoder>
    </appender>
</configuration>


Negative position shows child before parent in roots_and_descendants_preordered

When position is negative the child showed before the parent in roots_and_descendants_preordered, self_and_descendants_preordered it's behaving correctly (displaying Parent first, followed by its children)
  Child A
Parent
  Child B
  Child C

This is still not working quite well with RankedModel, it works great before I adjust the position of an item, it breaks miserably after I adjust the position, and the new row_order became a negative number, I am not appending/prepending a child/sibling, I am just re-arranging the position.

finally, i figured this part out with overwriting the method in the model, it's slow (because it's recursive), but it works
def self_and_descendents_preordered
  result = [self]

  children.each do |child|
    result += child.self_and_descendents_preordered
  end

  result
end


Enhance the cross domain DvP flow for consumability

What would you like to be added?
Discussing with @awrichar, the Bond example (a DvP scenario) is very complex, we want to see if it can be enhanced to be more consumable.
Why is this needed?
Also need to add Zeto to the flow, or create another flow that incorporates Zeto for payment.

sequenceDiagram
box Bond Issuer Paladin
actor Bond issuer
participant Noto domain (issuer)
participant Pente domain (issuer)
participant Bond tracking contract (issuer)
end

box Bond Custodian Paladin
actor Bond custodian
participant Noto domain (custodian)
participant Zeto domain (custodian)
participant Pente domain (custodian)
participant Bond tracking contract (custodian)
participant Bond subscription contract (custodian)
end

box Bank Paladin
actor Bank
participant Noto domain (bank)
participant Zeto domain (bank)
participant Pente domain (bank)
end

box Investor Paladin
actor Bond investor
participant Noto domain (investor)
participant Zeto domain (investor)
participant Bond subscription contract (investor)
participant Pente domain (investor)
end

box Base EVM ledger
participant Noto contract
participant Zeto contract
participant Pente contract
participant Bond public contract
participant Atom contract
end

par Create issuer+custodian privacy group
Pente domain (issuer)->>Pente domain (custodian): create privacy group & agree on endorsement policy
Pente domain (custodian)->>Pente domain (issuer): acknowledge
Pente domain (issuer)->>Pente contract: deploy issuer+custodian privacy group
Pente contract-->>Pente domain (custodian): deploy event indexed
end

par Create bond tracker contract
Bond issuer->>Bond public contract: deploy
Bond issuer->>Bond tracking contract (issuer): deploy private tracker contract
Bond issuer->>Bond tracking contract (custodian): deploy private tracker contract
end

par Deploy Noto Bond token
Bond issuer->>Noto domain (issuer): deploy Noto token contract
Noto domain (issuer)->>Noto contract: deploy
Noto contract-->Noto domain (custodian): deploy event indexed
Noto contract-->Noto domain (investor): deploy event indexed
end

par Deploy Zeto cash token
Bank->>Zeto domain (bank): deploy Zeto token contract
Zeto domain (bank)->>Zeto contract: deploy
Zeto contract-->Zeto domain (investor): deploy event indexed
Zeto contract-->Zeto domain (custodian): deploy event indexed
end

par Issue bond
Bond issuer->>Noto domain (issuer): Issue bond
Noto domain (issuer)->>Noto contract: mint()
Noto domain (issuer)->>Noto domain (custodian): send secrets for the minted tokens
Noto contract-->>Noto domain (custodian): noto asset tokens event indexed
Noto domain (custodian)->>Noto domain (custodian): compare secrets vs. hashes in the event
Noto domain (custodian)->>Noto domain (custodian): save token private states
end

par Issue cash
Bank->>Zeto domain (bank): Issue cash
Zeto domain (bank)->>Zeto contract: mint()
Zeto domain (bank)->>Zeto domain (investor): share secrets for the minted tokens
Zeto contract-->>Zeto domain (investor): zeto payment tokens event indexed
Zeto domain (investor)->>Zeto domain (investor): compare secrets vs. hashes in the event
Zeto domain (investor)->>Zeto domain (investor): save token private states
end

par Create investor+custodian privacy group
Pente domain (investor)->>Pente domain (custodian): create privacy group & agree on endorsement policy
Pente domain (custodian)->>Pente domain (investor): acknowledge
Pente domain (investor)->>Pente contract: deploy investor+custodian privacy group
Pente contract-->>Pente domain (custodian): deploy event indexed
end

par Create bond subscription contract
Bond issuer->>Bond subscription contract (investor): deploy private tracker contract
Bond issuer->>Bond subscription contract (custodian): deploy private tracker contract
end

par propose trade: bond transfer
Noto domain (custodian)->>Noto domain (custodian): prepare bond transfer
Noto domain (custodian)->>Bond subscription contract (custodian): prepare bond transfer & encode for private invocation
Noto domain (custodian)->>Bond subscription contract (investor): prepare bond transfer & encode for private invocation
Noto domain (custodian)->>Bond public contract: prepare bond transfer & encode for public invocation

Pente domain (seller)->>Pente domain (buyer): share secrets for the prepared trade leg
DvP contract-->>Pente domain (buyer): lock trade event indexed
Pente domain (buyer)->>Pente domain (buyer): compare hash in the event vs shared secrets
Pente domain (buyer)->>Pente domain (seller): accept trade
end

par propose trade payment leg
Zeto domain->>Zeto domain: prepare trade leg for payment transfer
Zeto domain->>DvP contract: set & lock prepared payment transfer
Pente domain (buyer)->>Pente domain (seller): share secrets for the prepared trade leg
DvP contract-->>Pente domain (seller): lock trade event indexed
Pente domain (seller)->>Pente domain (seller): compare hash in the event vs shared secrets
Pente domain (seller)->>Pente domain (buyer): accept trade
end

Setup the Cash contracts
sequenceDiagram
box Bond Custodian Paladin
actor Bond custodian
participant Zeto domain (custodian)
end

box Bank Paladin
actor Bank
participant Zeto domain (bank)
end

box Investor Paladin
actor Bond investor
participant Zeto domain (investor)
end

box Base EVM ledger
participant Zeto contract
end

par Deploy Zeto cash token
Bank->>Zeto domain (bank): deploy Zeto token contract
Zeto domain (bank)->>Zeto contract: deploy
Zeto contract-->>Zeto domain (investor): deploy event indexed
Zeto contract-->>Zeto domain (custodian): deploy event indexed
end

Issue Bond and Cash
sequenceDiagram
box Bond Issuer Paladin
actor Bond issuer
participant Noto domain (issuer)
end

box Bond Custodian Paladin
actor Bond custodian
participant Noto domain (custodian)
participant Zeto domain (custodian)
end

box Bank Paladin
actor Bank
participant Zeto domain (bank)
end

box Investor Paladin
actor Bond investor
participant Noto domain (investor)
participant Zeto domain (investor)
end

box Base EVM ledger
participant Noto contract
participant Zeto contract
end

par Issue bond
Bond issuer->>Noto domain (issuer): Issue bond
Noto domain (issuer)->>Noto contract: mint()
Noto domain (issuer)->>Noto domain (custodian): send secrets for the minted tokens
Noto contract-->>Noto domain (custodian): noto asset tokens event indexed
activate Noto domain (custodian)
Noto contract-->>Noto domain (investor): noto asset tokens event indexed
Noto domain (custodian)->>Noto domain (custodian): compare secrets vs. hashes in the event
Noto domain (custodian)->>Noto domain (custodian): save token private states
deactivate Noto domain (custodian)
end

par Issue cash
Bank->>Zeto domain (bank): Issue cash
Zeto domain (bank)->>Zeto contract: mint()
Zeto domain (bank)->>Zeto domain (investor): share secrets for the minted tokens
activate Zeto domain (investor)
Zeto contract-->>Zeto domain (investor): zeto payment tokens event indexed
Zeto contract-->>Zeto domain (custodian): zeto payment tokens event indexed
Zeto domain (investor)->>Zeto domain (investor): compare secrets vs. hashes in the event
Zeto domain (investor)->>Zeto domain (investor): save token private states
deactivate Zeto domain (investor)
end

Setup Bond subscription b/w investor and custodian
sequenceDiagram
box Bond Custodian Paladin
actor Bond custodian
participant Pente domain (custodian)
participant Bond subscription contract (custodian)
end

box Investor Paladin
actor Bond investor
participant Bond subscription contract (investor)
participant Pente domain (investor)
end

box Base EVM ledger
participant Pente contract
end

par Create investor+custodian privacy group
Pente domain (investor)->>Pente domain (custodian): create privacy group & agree on endorsement policy
Pente domain (custodian)->>Pente domain (investor): acknowledge
Pente domain (investor)->>Pente contract: deploy
investor+custodian
privacy group
Pente contract-->>Pente domain (custodian): deploy event indexed
end

par Create bond subscription contract
Bond custodian->>Bond subscription contract (investor): deploy bond subscription contract
Bond custodian->>Bond subscription contract (custodian): deploy bond subscription contract
end

Propose payment and bond transfers
sequenceDiagram
box Bond Custodian Paladin
actor Bond custodian
participant Noto domain (custodian)
participant Pente domain (custodian)
participant Bond subscription contract (custodian)
end

box Investor Paladin
actor Bond investor
participant Zeto domain (investor)
participant Bond subscription contract (investor)
end

box Base EVM ledger
participant Zeto contract
participant Pente contract
participant Atom contract
end

par propose trade: payment transfer
Zeto domain (investor)-->>Zeto contract: prepare payment transfer
Zeto domain (investor)->>Zeto domain (investor): prepare payment transfer
Zeto domain (investor)->>Bond subscription contract (investor): set prepared payment transfer
Zeto domain (investor)->>Bond subscription contract (custodian): set prepared payment transfer
activate Bond subscription contract (custodian)
Bond subscription contract (custodian)->>Zeto contract: lock proof via emitted PenteExternalCall
end

par propose trade: bond transfer
Noto domain (custodian)-->>Pente contract: prepare bond transfer
Noto domain (custodian)->>Noto domain (custodian): prepare bond transfer
Noto domain (custodian)->>Bond subscription contract (custodian): set prepared bond transfer
Noto domain (custodian)->>Bond subscription contract (investor): set prepared bond transfer
end

par approve trade
Bond custodian->>Bond subscription contract (custodian): distribute
Bond subscription contract (custodian)-->>Pente domain (custodian): external call event
to deploy Atom
deactivate Bond subscription contract (custodian)
Pente domain (custodian)->>Atom contract: deploy Atom contract with prepared payment and bond transfers
end

Execute trade
sequenceDiagram
box Bond Custodian Paladin
actor Bond custodian
participant Noto domain (custodian)
participant Pente domain (custodian)
participant Zeto domain (custodian)
participant Bond subscription contract (custodian)
end

box Investor Paladin
actor Bond investor
participant Zeto domain (investor)
participant Bond subscription contract (investor)
end

box Base EVM ledger
participant Noto contract
participant Zeto contract
participant Pente contract
participant Atom contract
end

par appove trade: payment transfer
Zeto domain (custodian)->>Zeto contract: move proof lock to the Atom contract
end

par approve trade: bond transfer
Pente domain (custodian)->>Pente contract: approve transition, with Atom as the delegate
end

par execute trade atomically
Atom contract->>Noto contract: execute bond transfer
Atom contract->>Zeto contract: execute payment transfer
end


Some optimization suggestions

Hello, Sharrnah
In use, I have several optimization suggestions：

Add a button to clear the history on the right
Add a checkbox to control whether the history is displayed in the list
Optimize the display of the history list, increase the adaptive height. Now, the translation and original text will be mixed together render
Add shortcut keys to control whether to send data to the VRC through OSC.
Whether it can support the function of dynamic switching microphone to recognize in-game speech or speak by yourself. Or support both in-game voice and own voice, which is more memory saving than I open two Tiger.Now due to graphics card limitations, I can only very difficult to choose one of them.

Your Chinese friend, OptimisticGeek

Thanks for the suggestions.

Add a button to clear the history on the right

Should be no problem. Should this also affect the CSV export? since both are saved differently.

Add a checkbox to control whether the history is displayed in the list

What would this good for? If you don't need the history, you don't need to use it. Just curious. If you give me a good reason i am more than happy to add it.

Optimize the display of the history list, increase the adaptive height. Now, the translation and original text will be mixed together render

This is a known issue with the currently used UI library. The new version of it should allow this, but it has heavy memory issues when using a font that supports all the different language characters, so i kept it on the currently old version.
They are improving it already, so this is hopefully soon a thing of the past.

Add shortcut keys to control whether to send data to the VRC through OSC.

Do you have some suggestion for a shortcut key? Or should it be configurable similar to the push to talk configuration?

Whether it can support the function of dynamic switching microphone to recognize in-game speech or speak by yourself. Or support both in-game voice and own voice, which is more memory saving than I open two Tiger.Now due to graphics card limitations, I can only very difficult to choose one of them.

This is on my roadmap, But i can't say any date when this is ready yet as its not so simple in how it currently all works together.

Should be no problem. Should this also affect the CSV export? since both are saved differently.
What would this good for? If you don't need the history, you don't need to use it. Just curious. If you give me a good reason i am more than happy to add it.

I didn't need to use the history.I wanted to minimize my hardware consumption as much as possible, but I didn't know how to turn it off.
Is there a risk of memory leaks if the list size is too long? I suggest that you record all the records in the local database and export the records in the database when saving CSV.

Do you have some suggestion for a shortcut key? Or should it be configurable similar to the push to talk configuration?
Yes, you need to support configurable shortcuts to avoid conflicts with other applications. It would be better to support shortcuts such as F1~F12, PrtSc, Home, and Pause.

This is on my roadmap, But i can't say any date when this is ready yet as its not so simple in how it currently all works together.

I also think this is a complicated project. Please release this exciting news when you have new progress.

I didn't need to use the history.I wanted to minimize my hardware consumption as much as possible, but I didn't know how to turn it off.
Is there a risk of memory leaks if the list size is too long? I suggest that you record all the records in the local database and export the records in the database when saving CSV.

There should be no issue and i am not aware of any memory leak because of the history. And since it is only text, the RAM usage should be no issue and it only uses the CPU RAM and no Video-RAM.
The only possible memory leak i might have found is when using faster whisper, realtime mode and Run each transcription in a seperate thread.
That is most likely an issue with Faster whisper though or maybe something specific on my PC since i never heard of any complain yet. But its why i added the "Run each transcript in a seperate thread" option.

The only possible memory leak i might have found is when using , and . That is most likely an issue with Faster whisper though or maybe something specific on my PC since i never heard of any complain yet. But its why i added the "Run each transcript in a seperate thread" option.faster whisper``realtime mode``Run each transcription in a seperate thread

I haven't had any crashes so far

5.Whether it can support the function of dynamic switching microphone to recognize in-game speech or speak by yourself. Or support both in-game voice and own voice, which is more memory saving than I open two Tiger.Now due to graphics card limitations, I can only very difficult to choose one of them.

If you switch the microphone and speaker through the shortcut key, Is it easier to implement?
This is not the way of parallel recognition, but through a single recognition mode, only need to change the input source.
example:

Switch to the speaker and use the speaker as an input source to listen for in-game speech
Switch to the microphone and use the microphone as an input source to listen to your own voice

It is not so much about switching the device, but about everything that is attached to it.
For example, you probably do not want the text to speech trigger when you recorded someone else speaking.
Or possibly you do not want to send the OSC of the other person,
or you do not want realtime mode for your own speech, but you want realtime mode for the other person etc.
I appreciate the suggestion though.

It is not so much about switching the device, but about everything that is attached to it. For example, you probably do not want the text-to-speech trigger when you recorded someone else speaking. Or possibly you do not want to send the OSC of the other person,
or you do not want realtime mode for your own speech, but you want realtime mode for the other person etc.
I appreciate the suggestion though.

Yes, I think it is simple, I hope my ideas can bring you some inspiration. I really like Tiger!

I just released the new Update.

Now supports a new Secondary Profile Plugin to load and use a second profile with a different audio device (for example to translate other people).
Improved UI so the overlapping text in the list should not happen anymore.

So i will close this issue. Feel free to open a new one if you are missing something or have new ideas. :)


Updated Binary for Linux

I would like to try --no-ncv-estimation option to prevent Out of Memory errors. However, the only binary for linux available does not have this option. Could you please provide an updated linux binary(not ubuntu specific)?

@arunchakra , the provided binaries with name 'ubuntu' in them were compiled under ubuntu, but should be working for any Linux. Did you try them?

Did this issue get solved? I have the same problem.

I got this same GLIBC_2.29 error. It looks like it requires a minimum of Ubuntu version 19.04 to run. Upon upgrading, I got rid of that error; however, I ran into a new one.

Any updates on this? Again, it seems that the binary is still Ubuntu-specific currently and does not work on a linux cluster.

I tried to run the last ubuntu Binary in a CentOS Linux 7 cluster (Harvard RC computing), and I got the same error described above.   Seems that this is a common problem with other software (https://github.com/darbyjohnston/DJV/issues/287).

Hi everyone,
GLIBC_2.29 is pretty old now. The new compiled binary for v0.6.0 used GLIBC_2.31. It's hard to support all the old distributions, so I suggest installing Baysor as a Julia package in this case . I tried to simplify the procedure in v0.6.0.


Update README.md

fixed Ivana's name and plain DOI for dataset. Excited to see the data being reused in this hackathon!

Dear @dartar, thanks for your feedback and changes, and sorry for the name mix-up and the delay in replying.
Happy to merge this of course!


Refresh rate setting not working

The refresh rate setting does not work at all on an RTX 3050 (laptop) with latest drivers installed, game v1.01 (Steam)
DR3Fix reads the setting completely fine, as it's logged in dr3fix.log once the game boots, but it does not actually apply the change, at least according to the Steam FPS counter, which remains 60 after the initial cutscene
Setting 10 fps, 30 fps, 144 fps (and other numbers presumably) does not work, so there must be a problem in the application of the D3D setting (wrong D3D setting?)

iirc the game is locked to 60 FPS regardless. That setting only affects the display mode.


Hierarchical EDS weighted load balancing

EDS now expresses weights at both the endpoint and locality level, these need to be combined to produce an effective LB weighting. The issue tracks the implementation work  on this.

Given #1929 took longer than expected I'm probably not going to be able to pick this one in up in the near future.

is this a duplicate of #2725 ?

I don't think we're going to be removing the weight limits, given how the hierarchical Maglev balancer works today. I think we should close this one out, as the work is complete, feel free to open additional tracking issues for point features.

Should we update the comment in the API about this issue given it's been closed?
https://github.com/envoyproxy/envoy/blob/6a8b843840687c24109b5a0dddf50868f9355e65/api/envoy/api/v2/endpoint/endpoint.proto#L109-L114

Agree, PRs welcome :)

The resolution is not clear to me from this issue given it was closed with no changes. Based on current LB impl, the limit of 128 sticks around due to perf concerns and the reference to this issue should be removed, or have the underlying perf concerns been addressed?

There aren't any perf concerns anymore w/ weighting for both RR and LR. Both have been fixed. I don't recall exactly how Maglev works. TBH I would probably just update the comment to remove the attention link until if/when someone complains that the weight max needs to be larger than 128.


[JAV-508] & [SCB-11] Metrics Auto Publish

Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a JIRA issue filed for the change (usually before you start working on it).  Trivial changes like typos do not require a JIRA issue.  Your pull request should address just this issue, without pulling in other changes.
[x] Each commit in the pull request should have a meaningful subject line and body.
[x] Format the pull request title like [JAV-XXX] Fixes bug in ApproximateQuantiles, where you replace JAV-XXX with the appropriate JIRA issue.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Run mvn clean install to make sure basic checks pass. A more thorough check will be performed on your pull request automatically.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

If user include metrics in dependency,the metrics service would auto publish with Java Chassis Producer,also use same transport and endpoint config.
For example if user config rest address <IP_ADDRESS>:8080 in microservice.yaml,then the metrics service will available at http://:8080/metrics
this PR include :
1.Direct metrics publish , interface is MetricsPublisher
public interface MetricsPublisher {
RegistryMetric metrics();
RegistryMetric metricsWithWindowTimeIndex(int windowTimeIndex);
}
2.Integration test in demo-springmvc

Coverage increased (+0.07%) to 87.452% when pulling 592285a2ea9bafbee89a57742ea1e1259426f833 on zhengyangyong:JAV-508&SCB-11 into fca6aebe0b524a2d2e51a158b56a4ea90ad66621 on apache:master.

Coverage increased (+0.08%) to 87.456% when pulling 94aa3556102231d14d631aac6f36b000810f4a34 on zhengyangyong:JAV-508&SCB-11 into fca6aebe0b524a2d2e51a158b56a4ea90ad66621 on apache:master.

Coverage increased (+0.02%) to 87.398% when pulling e05445311d891bf9e08c3c981ecee41c38e73efd on zhengyangyong:JAV-508&SCB-11 into fca6aebe0b524a2d2e51a158b56a4ea90ad66621 on apache:master.


AriesFrameworkError: Missing required dependency: 'Wallet'

Hey, I am trying to use @hyperledger/aries-askar-react-native with the following configuration, please have a look
Versions
  "@aries-framework/anoncreds": "^0.4.0-alpha.127",
    "@aries-framework/anoncreds-rs": "^0.4.0-alpha.127",
    "@aries-framework/askar": "^0.4.0-alpha.127",
    "@aries-framework/indy-vdr": "^0.4.0-alpha.127",
    "@aries-framework/react-native": "^0.4.0-alpha.127",
    "@hyperledger/anoncreds-react-native": "^0.1.0-dev.18",
    "@hyperledger/aries-askar-react-native": "^0.1.0-dev.11",
    "@hyperledger/indy-vdr-react-native": "^0.1.0-dev.15",
    "@aries-framework/core": "0.4.0-alpha.127",
    "react": "17.0.2",
    "react-native": "0.66.1",
    "react-native-fs": "^2.16.6",
    "react-native-get-random-values": "^1.8.0"

I am getting the following error while initialising the agent
[AriesFrameworkError: Missing required dependency: 'Wallet'. You can register it using one of the provided modules such as the AskarModule or the IndySdkModule, or implement your own.]

Code
const init = async () => {
    console.log("INIT CALLED")
    const agent = new Agent({
      config: {
        label: 'testing-askar',
        walletConfig: {
          id: 'alice',
          key: 'pw',
        },
        // logger: new ConsoleLogger(LogLevel.debug),
      },
      dependencies: agentDependencies,
      modules: {
        askar: new AskarModule({
          ariesAskar,
        }),
        mediationRecipient: new MediationRecipientModule({
          mediatorPickupStrategy: MediatorPickupStrategy.PickUpV2,
          mediatorInvitationUrl:c
        }),
        credentials: new CredentialsModule({
          autoAcceptCredentials: AutoAcceptCredential.ContentApproved,
          credentialProtocols: [
            new V2CredentialProtocol({
              credentialFormats: [new LegacyIndyCredentialFormatService()],
            }),
          ],
        }),
        proofs: new ProofsModule({
          autoAcceptProofs: AutoAcceptProof.ContentApproved,
          proofProtocols: [
            new V1ProofProtocol({
              indyProofFormat: new LegacyIndyProofFormatService(),
            }),
            new V2ProofProtocol({
              proofFormats: [new LegacyIndyProofFormatService()],
            }),
          ],
        }),
        anoncreds: new AnonCredsModule({
          registries: [new IndyVdrAnonCredsRegistry()],
        }),
        anoncredsRs: new AnonCredsRsModule({
          anoncreds: anoncreds,
        }),
        indyVdr: new IndyVdrModule({
          indyVdr: indyVdr,
          networks: [
            {
              genesisTransactions: trential,
              indyNamespace: 'trential-dev',
              isProduction: false,
            },
          ],
        }),
      },
    });
    const httpOutboundTransport = new HttpOutboundTransport();
    const wsOutboundTransport = new WsOutboundTransport();
    agent.registerOutboundTransport(wsOutboundTransport);
    agent.registerOutboundTransport(httpOutboundTransport);
    await agent.initialize();
  };

@realabbas we just released AFJ 0.4.0 (stable release). Could you try updating all @aries-framework versions to ^0.4.0, and all @hyperledger versions to ^0.1.0

Closing due to presumed fix by v0.4.0 release.


Andrew Initial Code

Added the actual code. For some reason, the other pull request didn't transfer my files.
I added the code for RestaurantsList and the CSS that comes with it. Feel free to add the restaurants we find to this file.
I also added the initial code for the shopping cart. It will allow you to remove any unwanted items and confirm your total. Will probably have to change this around but for now, it works. All of this is on one page for now, but I would like to separate the main page from the confirmation screen.

Fails to deploy, "8:18:30 PM: Module not found: Error: Can"t resolve "./components/RestaurantList/RestaurantList.css" in "/opt/build/repo/src/components/TitanEats""


Include mitigation options for Context Entity Replaced and for Context Object Not Found conflicts

Include mitigation options for Context Entity Replaced and for Context Object Not Found conflicts using newly introduced Java Public API to change the context object of a workflow

For 9.21 after we merge the new public API method

The code has been merged to master. Will be released with 9.21


The ⌘+number shortcut is not easy to match the text, since margin is too large

As in the screenshot, when it comes to the sixth or seventh item, I can hardly recognize which text the ⌘+number shortcut refers to, since it is too away from the text. Only by drawing a red line in the screenshot can you clearly find out the relation.
I think if you put ⌘+number shortcut to the left side so that it is close to the text item, it can be easier to recognize which refers to which

Unfortunately, this is how NSMenu works - there is no way to place the shortcut on the left side.
In your particular case, it looks like there is some item with long text that causes this behavior. I can only recommend removing this item or decreasing the "Menu size" setting. This will make sure the item is not visible and doesn't force the whole menu to be so wide.


Implement "clean" command

Implement "clean" command, which reads the output directory from the user settings and deletes it.

@wclr
I'm a beginner in PureScript, and a few days ago I struggled because the vscode-ide-purescript extension was behaving weirdly on the project I'm working on.
It turned out the solution was to remove the output dir and rebuild the project, so I thought it would be useful to have such a command integrated in the extension.
The reason why the vscode-ide-purescript extension was behaving weirdly turned out to be that I had updated the purescript package from 0.13.8 to 0.14.1, and then opened vscode on a project that I had built before, so it was built using<EMAIL_ADDRESS>The mismatch between the version the project was built with and the version that was running in the extension caused the extension to not recognize any imports and not recognize any types except for the primitive types.

Right, I'm aware too of such a problem. I would consider this to be a compiler responsibility to handle this case of updated version correctly, just to get rid of a user of the manual hassle.

@wclr ultimately "output needs cleaned to build properly" in the case of version upgrades should be sorted by the compiler, and "stale output requires build for IDE" could be triggered by an IDE prompt.
There are a couple of other cases where I would usually nuke output. Sometimes things go weird switching back and forth on git branches - maybe that's also something also that could be fixed. But when moving or removing PureScript modules, the compiled results stay in output/ by the design of the compiler
Anyway I don't care about providing one more command that many people might not find useful - main concern is if this is dangerous and could delete data unintentionally

Anyway I don't care about providing one more command that many people might not find useful

I prefer to care about such things as well. And though I've said that I'm ok with the feature if to think more carefully providing such command conveys that this is a "normal scenario" for work, though it is actually not, as it is just a workaround for compiler's shortcoming and just UI shortcut for terminal rm -rf output.
I would prefer LS itself to be more intelligent about it if possible.

main concern is if this is dangerous and could delete data unintentionally

Cleaning up stuff is always potentially dangerous, so this is also the point.
@alessioprestileo do you manage to reproduce the issue on the simple example?

But when moving or removing PureScript modules, the compiled results stay in output/ by the design of the compiler

I thought about this issue, and probably the compiler is not going to be aware of and intelligent about such things, but probably LS could if it could handle cache-db.json content with hashes and clean up the output directory selectively, as well do more intelligent fast rebuilds.

I thought about this issue, and probably the compiler is not going to be aware of and intelligent about such things, but probably LS could if it could handle cache-db.json content with hashes and clean up the output directory selectively, as well do more intelligent fast rebuilds.

This is 100% not the job of the language server, the correctness of incremental and "fast rebuild" compilation is a compiler concern. At best the language server is providing an appropriate context.

This is 100% not the job of the language server, the correctness of incremental and "fast rebuild" compilation is a compiler concern. At best the language server is providing an appropriate context.

Right, but the compiler doesn't do currently some things it should do. For example, the compiler does fust rebuilds even if the source didn't change, or it can not handle module removal/rename. This could be handle on the LS side, so LS could be the point where the current compiler's shortcomings could be temporarily compensated to enhance user experience, as it takes more time to introduce changes to the compiler. I may be wrong about it, but I prefer the issue to be solved even if it assumes some temporary workaround.
On the OP problem I did some testing, it seems it's easy to reproduce, but where there is a version mismatch compiler does emit the error:
[Error] Version mismatch for the externs at: d:\Code\elm2purs\output/Unsafe.Coerce\externs.cbor Expected: 0.14.1 Found: 0.14.0

that could be handled.
But cleaning the output does not always solve the issue when the wrong config is done. Example:
If one wants to use node_modules located purs one should add:
"purescript.addNpmPath": true,
"purescript.buildCommand": "npx spago build --purs-args --json-errors",

Otherwise, if you don't set purescript.buildCommand here spago will use globally installed purs, and will get version mismatch as well. I think this is too config problem that should be fixed in some way.

Otherwise, if you don't set purescript.buildCommand here spago will use globally installed purs, and will get version mismatch as well

As far as I know addNpmPath is true, then spago is invoked with the local npm bin in PATH, which it should then just pick up. This is something that always just worked before. Does npx complicate this somehow?

As far as I know addNpmPath is true, then spago is invoked with the local npm bin in PATH, which it should then just pick up. This is something that always just worked before. Does npx complicate this somehow?

I see this in the code that is provides updated PATH env var, but I tell what I see in my tests. Found it: https://github.com/nwolverson/purescript-language-server/issues/133

@wclr @nwolverson
I only have these 2 arguments for introducing the feature:

I don't understand how this command could be dangerous, since it deletes a temporary folder which is only used for the build output
I have never seen a tool where you can build but you cannot clean the build output, so I thought by adding this command the vscode-ide-purescript would look more like other building tools I have used in the past

I have never seen a tool where you can build but you cannot clean the build output, so I thought by adding this command the vscode-ide-purescript would look more like other building tools I have used in the past

I think this is a valid argument, but I have a suggestion here: for safety and other reasons this should not remove everything in the output directory but cache-db.json and directories that contain externs.cbor.
The other reasons may include as an example: I considered for myself to have package.json/node_modules in the output directory, this definitely not a standard thing, but why not. An this will be definitely safer.

It sounds good to me 👍
@nwolverson what do you think?

@alessioprestileo that sounds good to me, that should guard against bad things happening if e.g. output is misconfigured to something weird

@wclr @nwolverson
I made the improvements suggested by @wclr, feedback is very welcome :-)
I am logging to the console output every file and every dir that were removed... Do you think it's too much? It seems like useful information.

I added an info log message at the start and finish of the clean command, and I stopped logging messages about removal of directory content when the whole dir was removed.

Logging is good. I think we're good to go then?

Yep, if there's nothing you want me to change then it's done 👍


[NEW ICON] Xcode

Skill Name
Xcode
Why?
Xcode is a crucial integrated development environment (IDE) for macOS, used for developing applications for Apple platforms, and a dedicated icon for it would be very useful.
Usage: This icon will facilitate the identification of Xcode-related components and projects within the repository.
Community Impact: Adding this icon will enhance the repository's usability for developers working with Xcode and make it more comprehensive.
Reference Image

+1


Fixed stack overflow on the language server

This fixes https://github.com/dafny-lang/dafny/issues/1213 by default for mac users, instead of having them run into this issue.

Wasn't this fixed with https://github.com/dafny-lang/dafny/pull/1449? Sorry I've missed closing the issue you've referenced.
@keyboardDrummer, can you confirm that the mentioned PR resolved the issue?

After several tests, this PR does not fix the problem that this Dafny user is encountering on a Mac using the latest version of the plugin (stuck on "Verifying..."), so I'll switch from draft to closed.


Zend db returning everything as string

data fetch from database, every column is returned as string instead of proper data type, even int is returned as string like "1"

this is actually recently changed behavior
https://github.com/Shardj/zf1-future/commit/7c3911ca2933c8b57ea0a54d04eca4bfe1d73320
I think its best to revert this commit

@Jimbolino if I remember correctly, PDO fetch is was always returning strings. Why is this problem anyway? Are we C++ now?

..or at least was, not sure now. As I'm pretty ignoring types, unless are classes.

YEp, just checked the docs. Before 8.1 all were strings. So now the question is, if we are going to keep framework consistent or we are going to adjust framework to some enforced typing.
Maybe there is a way in the middle: what about to introduce method to disable stringify? Then we have backwards compatibility and also have possibility to go forward with strict types within framework.

afaik since php uses mysqlnd (optional since php 5.3, default in php 5.4) the pdo-mysql driver returns datatypes as they are configured in the database.
I read the migration notes: https://www.php.net/manual/en/migration81.incompatible.php#migration81.incompatible.pdo

PDO::ATTR_STRINGIFY_FETCHES now stringifies values of type bool to "0" or "1". Previously bools were not stringified.
Not sure if mysql has bool fields. I know there are BIT fields. A BIT(1)  can be used as a boolean, but they are a pain to work with because they are returned as binary data. You can however have queries that return "true" or "false", but i'm not sure thats a common use case for most people.

Integers and floats in result sets will now be returned using native PHP types instead of strings when using emulated prepared statements.
I'm not sure if zf1 uses "emulated prepared statements", afaik it just concats the strings into a query, and executes it as a regular query statement. But im not sure about that.

In general i'm not a big fan of overwriting defaults to stay compatible with older versions. When a developer upgrades their php version, it is their responsibility to check if their code is compatible with the new version (usually by reading a changelog). By putting these defaults in zf1 we become responsible for these backwards incompatible changes. Usually users dont read changelogs when they do a composer update, at least i only do it on major releases.
In my case i had to debug code that was written in 2019  and survived upgrades from php 7.0 to php 8.2, but recently broke because of this change :)
@hungtrinh please tell us how you see things :)

@Jimbolino I understand your frustration.
From my point of view, to save time upgrading libraries for many ZF1 based projects, I want to keep everything backward compatible as much as possible
That why I made #324 and #320
To solve your problem i think you can make an PR:

Replace
https://github.com/Shardj/zf1-future/blob/7c3911ca2933c8b57ea0a54d04eca4bfe1d73320/library/Zend/Db/Adapter/Pdo/Mysql.php#L113-L119
Byif (PHP_VERSION_ID >= 80100 && Zend_Db_Adapter_Abstract::$isPdoStringifyFetchesBackwardCompatiblePhp8) {
    // ensure $config['driver_options'] is an array
    $this->_config['driver_options'] = $this->_config['driver_options'] ?? [];
    if (!isset($this->_config['driver_options'][PDO::ATTR_STRINGIFY_FETCHES])) {
        $this->_config['driver_options'][PDO::ATTR_STRINGIFY_FETCHES] = true;
    }
}

Add to line 57 public static attribute public static $isPdoStringifyFetchesBackwardCompatiblePhp8 = true;
https://github.com/Shardj/zf1-future/blob/fd9504563846cb081ca9eae98350a0e2ada73feb/library/Zend/Db/Adapter/Pdo/Abstract.php#L45-L57

So in your use case in zf project folder public/index.php after line zend autoloading library add this line to solve your problem
That will keep your project in forward compatible with php >= 8
... \\after Zend Framework Autoload library line
Zend_Db_Adapter_Abstract::$isPdoStringifyFetchesBackwardCompatiblePhp8) = false;

Why use static attribute why not use normal property support setting per connection?
Because Project base on ZF1 we have 2 use case only

Backward Compatible With Php <= 8
Forward  Compatible With Php >= 8

Use static property flag save time to setting for project in 1 line at 1 startup point.
If we provide normal class attribute flag lead to enable mixed mode: some where in project $isPdoStringifyFetchesBackwardCompatiblePhp8=false other $isPdoStringifyFetchesBackwardCompatiblePhp8=true => it's not safe


Move libOpenCLHybrid into its own repo

You'd mentioned wanting to do this in this comment and it'd be super useful to me, mind setting that up?

Hi @rcombs, thanks for the reminder and nudge - it's great to know this is still interesting and useful.
I'm still planning to do this but I probably won't get to it for another week or so.  Would that work for you?

Sure, that's fine! Thanks much.

Hi, sorry for the delay.  I haven't had as much time to work on this as I would have liked to, but I did get something pushed out at least:
https://github.com/bashbaug/opencl-runtime-loader
I've verified that these simple samples build and run when they link against this library instead of the standard OpenCL ICD loader.
I have plenty of plans to enhance this library but hopefully this is good enough to get started for now.  If you find bugs or have requests for enhancements, feel free to file issues on that repo (I'll also take pull requests!).  Thanks!

Thanks much! I'll close this out then.


contact

Do you have a email I can reach you at? Wanted to talk to you about the ecommerce app you built

<EMAIL_ADDRESS>


Simplified Installation

Here's an alternate command to drop into the Diagnostics > Command Prompt page that bypasses the install.php process entirely:
curl -O --output-dir /usr/local/www/css https://raw.githubusercontent.com/callmekass/pfSense-palenight/main/callmekass-palenight.css

This is great but I'm planning to add some features to the install script down the line. Not going to inclu


build: switch test targets to karma_web_test_suite

Switches all ts_web_test_suite targets to the new
karma_web_test_suite rule. ts_web_test_suite is
based on the karma_web_test_suite rule but does not
allow developers to have a custom karma configuration.
In order to be able to provide a custom karma configuration
for setting up Saucelabs and Browserstack, we switch all
targets over to the karma_web_test_suite rule.
See: https://github.com/bazelbuild/rules_typescript/pull/363.
@josephperrott I don't think we want to provide a custom karma configuration for all targets right now. Only the target that runs on Saucelabs should provide the custom karma configuration. We prospectively will have targets that combine multiple tests to avoid rate and browser limits.
Ideally even then, we would not need to specify a custom karma configuration as the default karma configuration for Bazel has an integrated mechanism for using saucelabs. see:
https://github.com/bazelbuild/rules_nodejs/blob/master/packages/karma/src/karma.conf.js#L311

CI failures like related?

@jelbourn Yeah, I wanted to get back to fix these, but got stuck on restructuring the examples. will let you know when this is ready.

@jelbourn PR is ready for review now.


Removed newlines from SVGs

New lines are not needed in SVGs so I removed them.

Thanks for this Ace, I appreciate the work. As it says in the readme "Newlines can be stripped - they've been kept for readability where possible."
Newlines also make it easier for seeing diffs in pull requests.
I'm going to keep the newlines (for now) - but if you come up with any other space saving measures, I'd love to see them.


updated fontawesome

Updated fontawesome to the latest version and added a ResearchGate option to the author sidebar.

Thanks!


Add overloaded method contains of AbstractDoubleArrayAssert and AbstractFloatArrayAssert

Check List:

Fixes two elements of #2055
Unit tests : YES
Javadoc with a code example (on API only) : YES

@scordio I made the changes. I think the PR is ready. Let me know if something is missing

@scordio I created the new methods and added unit tests for those methods.

@OmarMorales71 thank you! I'll have a look soon.

Integrated, thanks @OmarMorales71!

Integrated, thanks @OmarMorales71!


Adapt remove server test to verify stepping down

Codecov Report

Merging #13 into master will increase coverage by 0.275%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           master       #13       +/-   ##
============================================
+ Coverage   81.97%   82.245%   +0.275%
============================================
  Files          56        56
  Lines        3999      3999
============================================
+ Hits         3278      3289       +11
+ Misses        721       710       -11


MWPW-135538 - Define query-index for cards

add separate index defintion for merch cards
needed as data source for card collections

Resolves: MWPW-135538
Test URLs:

Before: https://main--cc--adobecom.hlx.page/?martech=off
After: https://mwpw-135538--cc--honstar.hlx.page/?martech=off

@honstar I see that the target query-index file has not been created yet.

@honstar I see that the target query-index file has not been created yet.

Thanks for the review @Ruchika4 , the corresponding query-index-cards.xlsx workbook has been created.


Install nodejs if it does not exist.

Codecov Report

Merging #396 into master will decrease coverage by 0.05%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #396      +/-   ##
==========================================
- Coverage   34.77%   34.71%   -0.06%
==========================================
  Files          49       49
  Lines        1852     1852
  Branches      334      334
==========================================
- Hits          644      643       -1
- Misses       1208     1209       +1

Impacted Files
Coverage Δ

core/selectors.js
32.97% <0%> (-1.07%)
:arrow_down:

Continue to review full report at Codecov.

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


Field: More efficient conversion into Bignum_bigint.t

As discussed here, this is a more efficient conversion into Bignum_bigint.t values that avoids processing the input and output bit by bit.
It feels kind of dirty having to go through bin_prot for this, but Bignum_bigint doesn't expose any other way to interpret raw bytes to produce a bigint (which should be more efficient than the alternatives). A pro of this approach is that it didn't require any new function to be exposed (other than the compare added in the other field), but assumes that all implementations of to_bytes will produce the same output.
Explain how you tested your changes:
*
Checklist:

[x] Dependency versions are unchanged

Notify Velocity team if dependencies must change in CI

[ ] Modified the current draft of release notes with details on what is completed or incomplete within this project
[ ] Document code purpose, how to use it

Mention expected invariants, implicit constraints

[ ] Tests were added for the new behavior

Document test purpose, significance of failures
Test names should reflect their purpose

[ ] All tests pass (CI will check this if you didn't)
[ ] Serialized types are in stable-versioned modules
[ ] Does this close issues? List them

Closes #0000

!ci-build-me

If I try these patches rebased on top of rampup the tests don't fail when I run dune runtest src/lib --profile=dev.

Just noticed that there is another implementation of that function here with the same issue:
https://github.com/o1-labs/snarky/blob/7edf13628872081fd7cad154de257dad8b9ba621/src/base/backend_extended.ml#L101-L110

@mrmr1993 got rid of the intermediary binprot buffer construction and re-implemented the conversion using Zarith directly. Current version special-cases 0 and 1.

!ci-build-me

!ci-nightly-me

!ci-nightly-me


VSCode is no longer supporting specifiying a commandId in the "initialConfigurations" contribution

Hi,
We noticed your extension in package.json is using a "initialConfigurations" contribution in a deprecated way by specifiying a command id.
We wanted to let you know that we plan to delete support for this specific use of "initialConfigurations" soon.
More about this deprecation can be found here and in our release notes.
A good example on how to use the DebugConfigurarationProvider which is the new way of doing this can be found here
Also note other deprecations which are specified in our release notes (which can be found on our site).
Kind regards,
Isidor from the VSCode team

I got hit by this issue today.  The extension refused to provide configurations and I have to copy them manually from source to the launch.json file like below:
{     // Use IntelliSense to learn about possible attributes.     // Hover to view descriptions of existing attributes.     // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387     "version": "0.2.0",     "configurations": [ 		{ 			"name": "Bash-Debug (hardcoded script name)", 			"type": "bashdb", 			"request": "launch", 			"scriptPath": "${workspaceRoot}/agent_memo.sh", 			"commandLineArguments": "", 			"windows": { 				"bashPath": "C:\\Windows\\sysnative\\bash.exe" 			}, 			"linux": { 				"bashPath": "bash" 			}, 			"osx": { 				"bashPath": "bash" 			} 		}, 		{ 			"name": "Bash-Debug (select script from list of sh files)", 			"type": "bashdb", 			"request": "launch", 			"scriptPath": "${command:SelectScriptName}", 			"commandLineArguments": "", 			"windows": { 				"bashPath": "C:\\Windows\\sysnative\\bash.exe" 			}, 			"linux": { 				"bashPath": "bash" 			}, 			"osx": { 				"bashPath": "bash" 			}         }, 		{ 			"name": "Bash-Debug (type in script name)", 			"type": "bashdb", 			"request": "launch", 			"scriptPath": "${workspaceRoot}/${command:AskForScriptName}", 			"commandLineArguments": "", 			"windows": { 				"bashPath": "C:\\Windows\\sysnative\\bash.exe" 			}, 			"linux": { 				"bashPath": "bash" 			}, 			"osx": { 				"bashPath": "bash" 			}         } 	] }

Same, I get only this when I use the command to generate configuration:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": "extension.bash-debug.provideInitialConfigurations"
}


Check that the transactions submitted at the mempool have a valid size

We should change the mempool admission test from:
mempoolsize + txsize <= mempoolcapacity

to:
mempoolsize < mempoolcapacity

This would mean that as soon as there is a byte free in the mempool we add a transaction to it.
We should look out for invariants that assume that mempoolsize <= mempoolcapacity always hold.
We expect that the ledger checks the sanity of the transactions' size. We should document this expectation somewhere.
The  mempool admission check can be found here.
This change should take place on top of https://github.com/input-output-hk/ouroboros-network/pull/4436.

We should look out for invariants that assume that mempoolsize <= mempoolcapacity always hold.

Upon inspection of the code, it seems that this cannot possibly be an invariant. The mempool API states that the maximum capacity can dynamically change when the ledger state is updated.
-- Note that the capacity of the Mempool, unless it is overridden with
-- 'MempoolCapacityBytesOverride', can dynamically change when the
-- ledger state is updated: it will be set to twice the current ledger's
-- maximum transaction capacity of a block.

The code can't possibly rely on mempoolsize <= mempoolcapacity because:
-- When the capacity happens to shrink at some point, we /do not/ remove
-- transactions from the Mempool to satisfy this new lower limit.

Changes pushed to https://github.com/input-output-hk/ouroboros-network/pull/4436

While working on PR https://github.com/IntersectMBO/ouroboros-consensus/pull/1175, Esgen noticed that I had reverted the change suggested in this Issue's description. After some study, I think it's OK to revert that change.
Specifically: PR https://github.com/IntersectMBO/ouroboros-consensus/pull/49 made both the change suggested by this Issue's description as well as adding some centralized MVars. I believe those MVars supplant the description's suggested change: as soon as a thread adding a tx grabs the MVar, it will hold it until that tx fits in the mempool.


How to use multiple APIs of multiple websites in a project ?

How to use multiple APIs of multiple websites in a project ? Help me!

Hi @haiclover, have you found a solution ??


Will this library support Windows?

As title, will it be?

Hi,
This is definitely one of the requirements for the project to be considered release-worthy.
Currently, the library utilizes zig std, which has poor (I believe none) support within the event loop for Windows.
Writing an event loop is quite the undertaking (and complex) and I'd rather rely on the std to implement it correctly. For now, you can track https://github.com/ziglang/zig/issues/8224 to see the status.
I'll leave this issue open to track upstream as well as to ensure we do not forget Windows support.

Ah understood, thx for the explanation.
Hope std libs will have better support for event loop on windows in near future


[Creator Starter Kit] BUG: Getting an error on the OnButtonSelect property of the Dialog control from the Creator Kit by Power CAT Team. Error: Expected Record Value

Getting an error on the OnButtonSelect property of the Dialog control from the Creator Kit by Power CAT Team. Error: Expected Record Value
To Reproduce
Steps to reproduce the behavior:

Create a canvas app
Add the Dialog control from Power CAT Component Library
Write formula to the OnButtonSelect property..      UpdateContext({showHideDialog: false})
See error "Expected Record Value"

Expected behavior
I expect no error. The error came up all of a sudden on 11/10/2023. Error was not there before that date and PowerFX was fine.
Additional context
Using version 1.0.20230421.1 of the Creator Kit by PowerCAT Team
Error doesn't make sense.

Came here to raise the same issue. This is happening on Panel component as well.

Encountering the same issue. If i put a record value of {value:0} i get a new error which says "The record passed in has none of the expected fields: Color, Fill, Label".
Not sure if related or not but get a similar issue on the Header component OnBackSelect property which is now saying "Expected Boolean Value"

Encountering the same issue. If i put a record value of {value:0} i get a new error which says "The record passed in has none of the expected fields: Color, Fill, Label".
Not sure if related or not but get a similar issue on the Header component OnBackSelect property which is now saying "Expected Boolean Value"

based on your test, I tried ading "Self.SelectedButton" as the record and it removes the error and reinstates the expected functionality. So you can do something like:
Switch(    Self.SelectedButton.Label,    "Cancel",    Notify("You pressed Cancel"); Self.SelectedButton,    "OK",    "Notify("Your pressed OK"); Self.SelectedButton )

Same Problem here, The Solution with the Self.SelectedButton does not work on my Side - but i have also bit more complex logic than the example from above.
Would be great to get a quick fix for this otherwise i need to change all dialogs and panels in my Apps if i want to publish a new change.

I am having the same issue with the Panel Control. Noticed also that my own compoents using "Action" as the type are now asking for the boolean value that they were not before. Could be related?

Same Problem here, The Solution with the Self.SelectedButton does not work on my Side - but i have also bit more complex logic than the example from above.
Would be great to get a quick fix for this otherwise i need to change all dialogs and panels in my Apps if i want to publish a new change.
Just a note - At the moment the failure just appears in the PowerApps Studio the published Versions function properly. I did not test how it behaves when i publish a new Version.

Hi, My logic is more complicated also, just tried to show a simple example... here is my full code behind the OnButtonSelect:

The Self.SelectedButton statement is the last statement within each case of the switch, which is working for me at least.

Hello All; I am also getting the same issue that happened this morning when accessing my environment the creator kit panel isn't working. For some reason the onButtonSelect is disabled I even tried editing the panel. Please, we need an urgent fix on this issue as this is affecting the majority of my core functionality.

Power Cat Creator Kit is showing the same error with the Panel onButtonSelect. Please look into this I can't use the Panel at all I will need to look into a workaround.

We need an urgent solution to this. Dialogs are an integral part of any production worthy app.

I've been seeing this on a bunch of components too. Seems to be some chatter about it on the forums related to the latest publishing versions. https://powerusers.microsoft.com/t5/Power-Apps-Experimental-Features/BUG-component-Event-not-being-triggered-since-update/m-p/2450417#M841
For the Panel and Dialog components here, I just edited them muself in the Creator Kit component library, changing the types from Boolean / Record to text. Updated in my apps and all seems to be working properly.

I don't really understand why it needs a return type, but when adding this record at the end of my code, I got rid of the error: { Color: ""};

Thanks for that it works fine for now, if this new change is related to "Enhanced Component properties" it shouldn't be applied as its Experimental. Thank you Lunet95 your workaround has fixed the panel issues.
Before:
Switch(
Self.SelectedButton.Label,
"Cancel",
UpdateContext({ showHideDialogGrid: false });Set(varToggleAll,false);Reset(Toggle4_2);Reset(Toggle4_3);Reset(Toggle4);Reset(Toggle4_4),
"Ok",
Notify("Notification Settings set",NotificationType.Success);UpdateContext({ showHideDialogGrid: false });Set(varToggleAll,false);Reset(Toggle4_2);Reset(Toggle4_3);Reset(Toggle4);Reset(Toggle4_4)
)
After:
Switch(
Self.SelectedButton.Label,
"Cancel",
UpdateContext({ showHideDialogGrid: false });Set(varToggleAll,false);Reset(Toggle4_2);Reset(Toggle4_3);Reset(Toggle4);Reset(Toggle4_4),
"Ok",
Notify("Notification Settings set",NotificationType.Success);UpdateContext({ showHideDialogGrid: false });Set(varToggleAll,false);Reset(Toggle4_2);Reset(Toggle4_3);Reset(Toggle4);Reset(Toggle4_4)
);{ Color: ""};
From: Lunet95 @.>
Sent: Tuesday, November 14, 2023 11:11 AM
To: microsoft/powercat-creator-kit @.>
Cc: HADJIPETROU Peter @.>; Comment @.>
Subject: Re: [microsoft/powercat-creator-kit] [Creator Starter Kit] BUG: Getting an error on the OnButtonSelect property of the Dialog control from the Creator Kit by Power CAT Team. Error: Expected Record Value (Issue #424)
I don't really understand why it needs a return type, but when adding this record at the end of my code, I got rid of the error: { Color: ""};

Reply to this email directly, view it on GitHubhttps://github.com/microsoft/powercat-creator-kit/issues/424#issuecomment-1809909983, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BD6KZUP5KUQIWGRGXZHKHLDYEM7S7AVCNFSM6AAAAAA7GUEQ6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZHEYDSOJYGM.
You are receiving this because you commented.Message ID<EMAIL_ADDRESS>Classification: WIPO FOR OFFICIAL USE ONLY
World Intellectual Property Organization Disclaimer: This electronic message may contain privileged, confidential and copyright protected information. If you have received this e-mail by mistake, please immediately notify the sender and delete this e-mail and all its attachments. Please ensure all e-mail attachments are scanned for viruses prior to opening or using.

Actually editing the buttons type only fixed the errors for me. But my code still wouldn't run properly. Some bits would if I deleted the functions after it but it didn't like multiple commands. I rolled back to publishing version 3.23104.18 and it all started working again without any component changes at all. 3.23105.17 seems to be the cursed one.

We have also noticed this issue:

Can confirm rolling back the authoring version corrects the issue, but it still persists if changing it to a more recent version
Can confirm adding Self.SelectedButton; after all the existing logic also removes the error

In the interim we've remained on the same authoring version and have gone with adding additional code/record value to fix

Experiencing same issue with panel OnButtonSelect on Version 3.23105.18.
Reviewing suggested options to resolve, I've reverted to version 3.23104.18 which seems to have resolved the issue.

This post seems to describe the cause of the issue. https://powerusers.microsoft.com/t5/Power-Apps-Experimental-Features/BUG-component-Event-not-being-triggered-since-update/td-p/2450417 according to one of the later posts the change was rolled back. Can confirm my apps are working as expected again.

Thanks for that it works fine for now, if this new change is related to "Enhanced Component properties" it shouldn't be applied as its Experimental. Thank you Lunet95 your workaround has fixed the panel issues. Before: Switch( Self.SelectedButton.Label, "Cancel", UpdateContext({ showHideDialogGrid: false });Set(varToggleAll,false);Reset(Toggle4_2);Reset(Toggle4_3);Reset(Toggle4);Reset(Toggle4_4), "Ok", Notify("Notification Settings set",NotificationType.Success);UpdateContext({ showHideDialogGrid: false });Set(varToggleAll,false);Reset(Toggle4_2);Reset(Toggle4_3);Reset(Toggle4);Reset(Toggle4_4) ) After: Switch( Self.SelectedButton.Label, "Cancel", UpdateContext({ showHideDialogGrid: false });Set(varToggleAll,false);Reset(Toggle4_2);Reset(Toggle4_3);Reset(Toggle4);Reset(Toggle4_4), "Ok", Notify("Notification Settings set",NotificationType.Success);UpdateContext({ showHideDialogGrid: false });Set(varToggleAll,false);Reset(Toggle4_2);Reset(Toggle4_3);Reset(Toggle4);Reset(Toggle4_4) );{ Color: ""}; From: Lunet95 @.> Sent: Tuesday, November 14, 2023 11:11 AM To: microsoft/powercat-creator-kit @.> Cc: HADJIPETROU Peter @.>; Comment @.> Subject: Re: [microsoft/powercat-creator-kit] [Creator Starter Kit] BUG: Getting an error on the OnButtonSelect property of the Dialog control from the Creator Kit by Power CAT Team. Error: Expected Record Value (Issue #424) I don't really understand why it needs a return type, but when adding this record at the end of my code, I got rid of the error: { Color: ""}; - Reply to this email directly, view it on GitHub<#424 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BD6KZUP5KUQIWGRGXZHKHLDYEM7S7AVCNFSM6AAAAAA7GUEQ6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBZHEYDSOJYGM. You are receiving this because you commented.Message ID<EMAIL_ADDRESS>Classification: WIPO FOR OFFICIAL USE ONLY World Intellectual Property Organization Disclaimer: This electronic message may contain privileged, confidential and copyright protected information. If you have received this e-mail by mistake, please immediately notify the sender and delete this e-mail and all its attachments. Please ensure all e-mail attachments are scanned for viruses prior to opening or using.

Used this workaround as a quick fix.


Link to u8glib in readme is outdated

The u8glib project moved to github and can be found here:
https://github.com/olikraus/u8glib

@mnme: Thanks! I'll update it shortly.

Fixed in 41d7ea70bd147699e75d021d0d95bdd52a1ce9bb.


SC-213 initial commit

Initial commit.
This lambda listens to the SNS topic defined by 'topic-arn-exported-from-budgetmaker-stack' and forwards notification events to Synapse users via email.  It uses the 'subject' and 'message' fields from the notification as the email subject and body and it parses the Synapse user ID from the Subject field.

@brucehoff Was this PR ready for review? I thought this was still in development.

This is a super simple lambda that is meant to work with @tthyer budget lambda so I'm wondering whether it even needs to be a separate lambda at all. Would it make sense to just move this lambda into the budget lambda package?

We concluded that it's best managed as a separate github repo'.


MS --clusters should be --firings

and be bkwd compatible
This is to avoid associations with "clusters".

I did it -- all references to "clusters" and "clusters.mda" have been replaced by "firings" and "firings.mda".


Remove the ${Y} variable in the Setup Intel ME Mode keyword

We use the ${Y} variable in the Setup Intel ME Mode keyword
We don't have the ${Y} variable defined anywhere.
Can be replaced by the keyword Save Changes and Reset

This report provides very limited value. At the very least, please provide revision of repo on which you are talking about. Better, provide a link to the problem. Ideally, just submit a PR with a fix instead of issue, as it sounds like a straghtforward one...

Issue solved by https://github.com/Dasharo/open-source-firmware-validation/commit/3deec03fa2d8a87d6e651c3e25dd9392df23d68b (The keyword Setup Intel ME Mode is no longer used.)


caddyserver.com registration

Hi, could you please register this provider on caddyserver.com?
Otherwise caddy upgrade is broken on custom builds that include this module.
See also: https://github.com/caddy-dns/acmeproxy/issues/2

Hi!
Thanks for bringing this to my attention and for the link. I'll look into it.

Cool, thanks for doing this, @jangzn !

Awesome, thank you!


Complete TypeScript definitions

Clear and concise description of the problem
At present, the types are incomplete.
Reproduction:

Typing the EffectCoverflow function with SwiperModule results in several errors (missing types, incorrect/incomplete types).

Suggested solution
Short-term: Adding missing types
Alternative
Long term: Rewriting Swiper in TypeScript
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the docs.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Would you like to open a PR for this feature?

[ ] I'm willing to open a PR

Your issue is closed because it is not filled correctly. Before you open an issue please review the contributing guideline.
Please fill the issue template correctly and:

Clearly describe the issue including steps to reproduce when it is a bug.
Make sure you fill in the earliest version that you know has the issue.
Provide live link or JSFiddle/Codepen or website with isssue

It will save a lot of time for other contributors to check your issue and fix it.


Revert "Implement health checks in Supervisor (#139)"

This reverts accidentally created commit 124a2342d1f93918fe414085f9891cb4a4c8e4d7.

@andykellr I accidentally pushed to main instead of a branch. This reverts the accidental commit.


ItemSource error version 4.1.2

Hi,
I´m getting an error when setting the ItemSource:
var viewsSource = new ObservableCollection<viewItem>();
viewsSource.Add(new viewItem
{
	name = "item0",
});
viewsSource.Add(new viewItem
{
	name = "item1",
});
theCarousel.ItemsSource = viewsSource;

Error: System.MissingMethodException: Method 'CarouselView.FormsPlugin.Abstractions.CarouselViewControl.set_ItemsSource' not found.
Thanks!

I can not reproduce this.

Nothing changed related to ItemsSource in version 4.1.2.

PositionSelected EventHandler to EventHandler
InsertPage private method fix to allow insert in a position <= current page.

Sorry for this. I have cleaned my solution and now is working as expected.
Thank you so much

If my work is helping you, please help me back: https://xamarinhq.wufoo.com/forms/nominate-a-xamarin-mvp/
This is what i have done that is community visible:

Alex has been pretty active sharing his knowledge and answering questions in StackOverflow, GitHub and Xamarin Forums.
Alex has been open sourcing Xamarin components and plugin with the community, with more of 10 repositories being maintained on GitHub.
One of Alex's Xamarin.Forms plugin, the CarouselView, is currently being pulled into the Xamarin.Forms core (https://github.com/xamarin/Xamarin.Forms/pull/853). As an stable widget, this control has become the standard for Xamarin.Forms carousel screens with more that 16K downloads in NuGet and more than 100 solved and not open issues.
Another Alex's plugin, the SegmentedControl (https://github.com/alexrainman/SegmentedControl), is a big candidate to be also pulled into Xamarin.Forms core.
Plus Xamarin.Forms UI related plugins, Alex shares plugins to set app icon Badge, Google Analytics and KeyChain access.
Alex shares his knowledge about cutting edge technologies like Couchbase NoSQL and MobileIron integration with Xamarin Apps.


TODO migration to a new page on daily journal

Please select if your request is either something new or an enhancement

[ ] Enhancement of an existing Feature.
[x] Request of a new feature.

Please select the area your request applies to. (Multiple selections are Possible. You can leave blank if you're not sure.)

[x] Workspace - VSCode workspace, vaults, Intellisense/autocomplete, Dendron settings
[ ] Lookup - Dendron's Lookup Command
[ ] Views - Dendron Preview, Tree View, Side Panels in the UI
[ ] Schema - Dendron Schemas
[ ] Pod - Data import from / export to Dendron
[ ] Publish - External Site Publish
[x] Markdown - Markdown features, such as syntax support and features

Is your feature request related to a problem? Please describe
I use dendron for writing and organizing daily todos on the daily journal page.
there are some tasks that haven't been finished on that day, I moved them to the new page the next day.
Describe the solution you'd like
usually, they're noted under ## TODO, so collecting items and moving them when creating a new daily journal page would be great.
Additional context
the example TODO would be like...
## TODO

today's tasks

- [ ] write a report email to my boss
- [x] clear 7 unused EC2 instances
- [x] update deprecated packages
- [ ] attend a daily scrum
- [x] finish feature/XXX

yesterday's unfinished tasks

- [ ] pet a cat
- [ ] clean my room
- [ ] call the hospital for an annual health check-up reservation

with this example, I want these items without [x] marked to be moved to the new daily journal page.

Yep, something like this would be great: Automatically copy to new daily note the unfinished tasks from the previous day (while keeping their section's title)
## TODO (my tasks)
- [X] task 1
- [ ] task 2
- [ ] task 3

## To follow-up (other people's tasks)
- [ ] task 4
- [X] task 5

Would be transferred to the next day's daily note as:
## TODO (my tasks)
- [ ] task 2
- [ ] task 3

## To follow-up (other people's tasks)
- [ ] task 4


How does SE relate to Lite?

I see that SeContainerInitializer allows access to features we don't support in Lite (Extensions, Decorators, ...). What do we want to do with this interface and the related TCK tests?

SE should operate on CDI Full precisely because it supports all CDI core features such as portable extensions, decorators, @Interceptors, BeanManager operations and so on...

I think it would be useful to have "something like SE" for Lite, but I'm not sure if the SE API is a good fit.

We can discuss that during meeting but even if we decide to do that, we need to first consider how much work it spawns as we are already tackling quite a few things...

Postpone this as a feature to consider post 4.0


fixed INVALID_GOSSIP_CA_CERTIFICATE

Description:

Related issue(s):
Fixes #374
Notes for reviewer:

Checklist

[ ] Documented (Code comments, README, etc.)
[ ] Tested (unit, integration, etc.)

LGTM ! Please make sure develop is not broken when this is merged.

Yes, I will merge PR13887 first. Then this one. Then create another PR to change protobuf branch name.


missing react?

On windows in the example dir, running npm install and then npx shadow-cljs watch app gives:
The required JS dependency "react" is not available, it was required by<EMAIL_ADDRESS>
Does package.json need to include react? Sorry if I'm missing something, I don't know much about npm.

ditto for react-dom

react and react-dom appear as "peer" dependencies in package-lock.json. So, they should be installed by a recent version of NPM. But if you have an old version of NPM, they might not, because there was a period where NPM didn't install peer dependencies by default.
What do you get when you run npm --version? I get:
❯ npm --version
7.24.2

If that's the problem and you can upgrade NPM, that's probably your best bet. If you can't upgrade NPM, you can manually resolve the dependencies by adding "react": "^17.0.2" and "react-dom": "^17.0.2" to the dependencies section of your package.json file.

I was on 6.14.13. Thanks! I didn't know about that.


OpenGL.Soil build failure under OSX El Capitan, XCode 8.0

Compilation of the file : /System/Library/Frameworks/CoreGraphics.framework/Headers/CGFont.h
fails on my system with:
CGFont.h:53:40: error: initializer element is not constant
static const CGFontIndex kCGGlyphMax = kCGFontIndexMax;
but kCGFontIndexMax certainly (to me) looks like a constant:
typedef unsigned short CGFontIndex;
static const CGFontIndex kCGFontIndexMax = ((1 << 16) - 2);
static const CGFontIndex kCGGlyphMax = kCGFontIndexMax;
Googling indicates that this failure is not specific to my system.
I see that there are two Frameworks/CoreGraphics.framework/Headers/CGFont.h on my system.
One in /Library/Developer/CommandLineTools and one in /System/Library
with header files dated 8 Feb 2016 in the first and 2 Nov 2016.
I am aware that Apple are forever reorganizing there system file structures but haven't been able to find what their current preferred organization is.
However, a comparison of the two CGFont.h files indicates no difference at least up to line 53.
Any ideas welcome.

I need more information to reproduce. Building the SOIL test like this:
gprbuild -d -eL -Psoil_test.gpr -XLIBRARY_TYPE=static -XAuto_Exceptions=enabled -XMode=debug -s -XWindowing_System=quartz -p -XGLFW_Version=3

works for me. I am also on El Capitan with Xcode 8 (8A218a).

I need more information to reproduce. Building the SOIL test like this:
gprbuild -d -eL -Psoil_test.gpr -XLIBRARY_TYPE=static -XAuto_Exceptions=enabled -XMode=debug -s -XWindowing_System=quartz -p -XGLFW_Version=3

works for me. I am also on El Capitan with Xcode 8 (8A218a).

Thanks flyx.
Your command line also worked for me, so I checked:
which gcc
/usr/bin/gcc
It seems the problem is due to my gcc-6.1.0 compiler
So I ran gprconfig to select gcc-6.1.0 for Ada and /usr/bin for c.
Then added to my GPS Build Target settings:  --config=/Ada_Source/config.cgpr
soil_test.gpr then built successfully and ran OK.
Seems a bug in gcc-6.1.0?
I'm currently building gcc-6.3.0 to check for any improvement.

Interesting. I am unsure which gcc my gprbuild uses, my setup is similar to yours. /usr/gcc is 4.2.1 for me, which is the old Apple binary.

For my system:
/usr/bin/gcc -v
Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 8.0.0 (clang-800.0.38)
Target: x86_64-apple-darwin15.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
gcc-6.3.0 built OK but I had the install prefix wrong.
So rebuilding from scratch!


Add consumer group coordinator label to consumer_group_info metric

Fixes #79
@weeco I took inspiration from your other kowl project where you already integrated franz-go sharded responses.
lmk, thanks

Hey @amuraru ,
thanks for another PR from you :-). Overall looks good to me, I just removed the wrapper around the sharded request to simplify the code a bit. In Kowl we did that to propagate potential issues (e.g. one or more group coordinators not responding) by showing what Brokers haven't responded. In kminion we can just print some warn/error log messages in that case and therefore we don't need that wrapper I think

@weeco Martin, thanks for ammending the PR and integrating it. The changes look good to me!


Revert "Fix static constexpr to inline constexpr"

Reverts dmeybohm/wisdom-chess#95

Thought deployment problem was due to this, but it looks like netlify didn't parse some of the rules needed for adding the required HTTP headers.


Implement stddev_over_time fn in PromQL

What problem does the new feature solve?
Implement the stddev_over_time function resets from PromQL. From PromQL's official document, stddev_over_time calculate the population standard deviation of input data:

stddev_over_time(range-vector): the population standard deviation of the values in the specified interval.

A reference implementation can be found in DataFusion's StddevAccumulator
What does the feature do?

implement the function, refer to https://github.com/GreptimeTeam/greptimedb/blob/develop/src/promql/src/functions/aggr_over_time.rs for examples
add unit tests for your implementations
add the necessary document

Implementation challenges
No response

Hi @waynexia
I decided to give it a go 😅

Closed by #1289


Finnish weekdays + Build and publish latest changes

It seems the latest additions to the library had not being published, hence not available publicly in npm. Now everything should be ok!

I also added a fix into the Finnish weekdays, they were starting by Monday! 😅 🇫🇮

Thanks @mduqueoviedo .  I had a bug with my new release script that was causing new assets to not be packaged up. I fixed that here: https://github.com/bradymholt/cRonstrue/pull/144.  Would you mind removing the build assets and changes to package.json here and just making changes to that Finnish i18n?  Then, I can merge this in.

Fiuuu! That should be all! Thanks for the hard work @bradymholt :)

Thanks!


[TS] 4.7.0-rc7  Actor casting broken in rc7

Description
I think we'll really benefit if the the  Typescript example was extended to include actors. I'm probably not doing it right, but the latest rc no longer likes how I cast my actors in my machine context.
Expected Result
Spawning actors should not cause TS errors
Actual Result

Type 'ServiceActor<LightContext, LightEvent>' is missing the following properties from type 'Interpreter<LightContext, LightStateSchema, LightEvent>': machine, clock, options, scheduler, and 44 more.ts(2352)

Reproduction

Go to https://codesandbox.io/s/frosty-maxwell-66355
Wait for TS to init and observe the error on line 97 in index.ts
change xstate dep version to 4.7.0-rc6
Important reload the page
Wait for TS to init
There should be no error

Additional context
xsstate  - 4.7.0-rc7
TS - 3.3.4000
Notice that I've adapted the traffic light example by making the lightMachine a function that returns a machine. Also, added a dummy machine that spawns the lightMachine using said function.

This looks to be resolved in 4.7.2 so thank you for that.
I see that the issue is tagged with documentation as well so I'll leave you @davidkpiano to decide when to close the issue (I assume you've left this ticket open as a reminder).

No documentation needed since I've simplified the types so things should "just work".


Different namespace for different uses

Eventually roms-tools will cover setting up input files, but also analysing them, as well as miscellaneous utilities. I think it would be neater to separate these uses into different namespaces, i.e. roms_tools.setup, roms_tools.analysis, and roms_tools.utils. This would require changing the current top-level imports of Grid etc. to be from roms_tools.setup import Grid etc. instead.
This suggestion assumes that there is no use for the Grid etc. classes in the analysis steps?

The only class that may be relevant for analysis steps is actually Grid because Grid.ds holds all relevant coordinate information. A lot of this coordinate information is not needed by ROMS itself, but is there for the user so they are able to do analysis, e.g., lat / lon at u- and v-points and vertical coordinate info.
That being said, the content of Grid.ds is written to a NetCDF file, which the analysis classes could read in if they don't want to rely on Grid. But it would be nicer to have them depend on the Grid class I think.


ISO 8601 UTC date string is auto converted without timezone calculation

What happened?
My frontmatter contains an ISO 8601 date formatted as below:
---
datetime: "2017-05-25T16:12:18.000Z"
---

I intended to convert it to another timezone (GMT+9) using dataviewjs, but the string is converted before my script and becomes a Date 2017-05-25 16:12:18 GMT+8 (which is my system timezone, but the time is incorrect anyway).
This might be related to the keepLocalTime in this pull request https://github.com/blacksmithgu/obsidian-dataview/pull/631. I don't know what does it work for but is there any setting to turn off this conversion?
DQL
No response
JS
No response
Dataview Version
0.5.43
Obsidian Version
0.15.19
OS
Windows

You can write a wrapper to extract non TZ information and then create a new moment with custom TZ info.

The fix here is somewhat insidious since the problem was not the parsing, but rather the code that passes date objects back and forth between the main thread and worker threads.
The main problem now is that the default date time format (which is configurable in the dataview settings) does not include the zone offset by default (code ZZZZ), so the dates render as if they are local time despite being in a different time zone. I can't easily change the value of existing settings once they've been persisted (or if people have changed them). I guess I'll need to add a third option for "default date time in different timezone format"?
See https://github.com/blacksmithgu/obsidian-dataview/pull/1405 for the fix which corrects parsing at least, though not yet the rendering side of the issue.

Also, I guess I would need two different additional formats - one for "non-local zone date" and "non-local zone date+time", which seems... annoying. Another option is to always render dates in local time and make you use dateformat explicitly if you want a string in a different zone.

Thanks for the explanation. Seems a much more complex issue than I thought.
For anyone who may need to deal with this, now I just convert the date object back to the original string to parse it:
new Date(p.datetime.toString().replace(/\+..:../g,'Z'))

Fixed on develop so dates now have the proper time zone. Dates render in local time by default, but you can use dateformat() explicitly to bypass this and render in the original time zone; you can also use localDate() to convert a date to local time.

Will release in 0.5.44 shortly.


Fix issue #1802: Handle UnicodeDecodeError in repo file paths

Added error handling for UnicodeDecodeError when decoding paths in the Git repository. This issue arises when paths are encoded in formats other than the expected system encoding.
The error handler now provides a detailed error message, helping users identify potential encoding mismatches.
Closes #1802

 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.

Thanks!


patch: Add _update_bundle.yaml

This PR aims to condense both previous patches #237 and #235 in a single, experimental _update_bundle.yaml workflow that will pin both snap and rock resource versions, in accordance to what was previously discussed:

For rocks: follows John Meinel's proposed format, see PR commit: https://github.com/canonical/postgresql-k8s-bundle/pull/215/commits/b3ce19be07e35ab532ff558520cb380600fbe6bf
important: CI tests are failing there because this format breaks juju deploy compatibilty!
For snaps: follows existing store proxy standard, see PR commit: https://github.com/canonical/postgresql-bundle/commit/8716a3893f04f5328a7afa0c1575cea6d926eecf

Important info:

This is amd64 only. An eventual patch for arm64 should be straightforward.
This is specific to SQL bundles and their associated charms. This is the case because snap pinning requires specific logic per-charm, see point below.
This fetches snap revisions by individual parsing of each charm's source code (not by deploying the bundle, like on previous patch)

I think I addressed all of @carlcsaposs-canonical 's comments - Let me know how it looks. About your previous question:

question: do @delgod's requirements mean that we need to have a bundle for k8s that's deployable (which would require the resources to be omitted)?

If I remember correctly, @taurus-forever suggested that we include all OCI info in commented lines so that k8s bundle files stay deployable, like this:
  postgresql-k8s:
    channel: 14/edge
    charm: postgresql-k8s
    constraints: arch=amd64
    revision: 404
    resources:
      postgresql-image: 164  # <== juju deploy requires that value to be either int (the rev) or str (the oci image path)
       # oci-image: ....
       # oci-password: ...
       # oci-username: ...

My local tests show that this format works in juju deploy. If everyone approves, I can adapt the PR.

is https://github.com/canonical/postgresql-bundle/pull/208 up-to-date? I'm not seeing the snap yaml in that example

got overwritten by the old workflow, still running, will re-run in a sec, but you can refer to the previous commit: https://github.com/canonical/postgresql-bundle/commit/53eac6a07ead599d756281d339750c00f1ba0731

@lucasgameiroborges why two snap revisions here ?
re: K8s, should we comment YAML lines to make juju deploy bundle happy?

I think I addressed all of @carlcsaposs-canonical 's comments - Let me know how it looks. About your previous question:

question: do @delgod's requirements mean that we need to have a bundle for k8s that's deployable (which would require the resources to be omitted)?

If I remember correctly, @taurus-forever suggested that we include all OCI info in commented lines so that k8s bundle files stay deployable, like this:
  postgresql-k8s:
    channel: 14/edge
    charm: postgresql-k8s
    constraints: arch=amd64
    revision: 404
    resources:
      postgresql-image: 164  # <== juju deploy requires that value to be either int (the rev) or str (the oci image path)
       # oci-image: ....
       # oci-password: ...
       # oci-username: ...

My local tests show that this format works in juju deploy. If everyone approves, I can adapt the PR.

Go this way for now (to make Juju happy about the bundle file).
Ping @jameinel :  should we bugreport juju about lack of revision support as YAML node? Tnx!

K8s bundle is deployable again, all syntax-breakingoci-* lines are now added as comments. Also added links to the 2 blocking issues currently on store-admin's side, please refer to updated PR description for all relevant links


Aggregating peaks returns empty anndata object

Hi, I have 10X Multiome data and wanted to try out multivelo. I have been following this tutorial here:
https://multivelo.readthedocs.io/en/latest/MultiVelo_Demo.html
However, when aggregating peaks via aggregate_peaks_10x, the output is:
CellRanger ARC identified as 2.0.0
Found 17270 genes with promoter peaks
So I guess it correctly identifies genes with promoter peaks. But the function results in an empty anndata object with all cells but no features.
Any help would be highly appreciated!

Here is the code that I ran:
# reading in raw 10X atac data
cellranger_path='/path/to/CellrangerARC_output/'
adata_atac=sc.read(cellranger_path + 'Human/filtered_feature_bc_matrix/matrix.mtx', cache=True)
adata_atac = adata_atac.transpose()

# annotate barcodes and set as obs
barcodes = pd.read_table(cellranger_path+'Human/filtered_feature_bc_matrix/barcodes.tsv', header=None)
barcodes.rename(columns={0:'barcode'}, inplace=True)
barcodes.set_index('barcode', inplace=True)
adata_atac.obs = barcodes
adata_atac.obs['barcode']=[x[:-2] for x in adata_atac.obs.index]
adata_atac.obs['batch']=[x[-1:] for x in adata_atac.obs.index]

# annotate features
genes = pd.read_table(cellranger_path+'Human/filtered_feature_bc_matrix/features.tsv', header=None)
genes.rename(columns={0:'gene_id', 1:'gene_symbol', 2:'feature_types', 3:'chrom', 4:'start', 5:'end'},
             inplace=True)
adata_atac.var = genes

# subset to peaks only
adata_atac = adata_atac[:,adata_atac.var['feature_types'] == "Peaks"]

# subset to user-defined human cells from RNA
human_cells=pd.read_csv(cellranger_path + 'Human/human_metadata.csv')
human_cells=human_cells['barcode'].values
# make cells in atac data match my user-defined human_cells
obs_subset=adata_atac.obs.barcode.astype(str) + str('-') + adata_atac.obs['batch'].astype(str)
adata_atac.obs['obs_subset']=obs_subset
# subset
ix=np.isin(adata_atac.obs['obs_subset'],human_cells)
adata_atac=adata_atac[ix].copy()

adata_atac results in
AnnData object with n_obs × n_vars = 24869 × 369296
    obs: 'barcode', 'batch', 'obs_subset'
    var: 'gene_id', 'gene_symbol', 'feature_types', 'chrom', 'start', 'end'

Now, when aggregating the peaks:
# aggregate peaks
adata_atac = mv.aggregate_peaks_10x(adata_atac,
                                    cellranger_path + 'Human/atac_peak_annotation.tsv',
                                    cellranger_path + 'Human/analysis/feature_linkage/feature_linkage.bedpe',
                                    verbose=True)

adata_atac results in
View of AnnData object with n_obs × n_vars = 24869 × 0

Ah I found the issue! adata_atac.var.index was not set to peak coordinates.


How would you pass a function call?

So I want to schedule a job, the method being called takes a date parameter.
I need to pass in date.today() each time the job is executed.
How would I do this?
    def notify_employees_day(date):
        ...

    schedule.every(5).hours.do(notify_employees_day, date.today)

The do method declaration for the Job class is
def do(job_func, *args, **kwargs)

The docs say that args and kwargs are passed on to the job_func so an example would be:
import schedule, time

def func_takes_arg(arg):
    print(arg)

schedule.every(2).seconds.do(func_takes_arg, "Hello")
schedule.every(2).seconds.do(func_takes_arg, arg="World")

while True:
    schedule.run_pending()
    time.sleep(1)

The above code should print "Hello" and "World" every 2 seconds.

Nice one, for some reason couldn't think of that.
Cheers!


Upgrading router

Disclaimer: I'm the author of Anumargak package.

I would like you to have a look on anumargak router which may increase the speed of restana. Here is the comparison;

Anumargak supports some additional features.

I will extend restana to allow factory based router injection, so we can use Anumargak or any other compatible router.
So, prepare to challenge the current benchmarks 😎
Thanks

Thanks for the changes. I'll update you.

So I've tested with following configuration;
Setup
Anumargak
const anumargak = require('anumargak')
const service = require('restana')({
  routerFactory: (options) => {
    return anumargak(options)
  }
})

service.get("/this/is/static", function(req, res){
    res.send("Hello");
})

service.get("/this/is/:dynamic", function(req, res){
    res.send("Hello");
})

//commented for apple-to-apple comparison
/* service.get("/this/is/:enum(this|that)", function(req, res){
    res.send("Hello");
}) */

service.start(3001).then((server) => {
    console.log("server has been started on port 3001")
});

Find-my-way
const service = require('restana')({});

service.get("/this/is/static/only", function(req, res){
    res.send("Hello");
})

service.get("/this/is/:dynamic", function(req, res){
    res.send("Hello");
})

//commented because multiple similar dynamic routes are not supported
/* service.get("/this/is/:enum(this|that)", function(req, res){
    res.send("Hello");
}) */

service.start(3000).then((server) => {
    console.log("server has been started on port 3000")
});

Benchmark
Run 1
Running restana with find-my-way
server has been started on port 3000
Completed 5000 requests
Completed 10000 requests
Completed 15000 requests
Completed 20000 requests
Completed 25000 requests
Completed 30000 requests
Completed 35000 requests
Completed 40000 requests
Completed 45000 requests
Completed 50000 requests
Finished 50000 requests
Requests per second:    21686.82 [#/sec] (mean)
Running restana with anumargak
server has been started on port 3001
Completed 5000 requests
Completed 10000 requests
Completed 15000 requests
Completed 20000 requests
Completed 25000 requests
Completed 30000 requests
Completed 35000 requests
Completed 40000 requests
Completed 45000 requests
Completed 50000 requests
Finished 50000 requests
Requests per second:    22287.71 [#/sec] (mean)

Run 2
I've added more routes and still there was not much difference
Running restana with find-my-way
:
Requests per second:    21953.28 [#/sec] (mean)
Running restana with anumargak
:
Requests per second:    22302.63 [#/sec] (mean)

Run 3
This time I'm running the tests for dynamic URL. But it was not big difference
Running restana with find-my-way
:
Requests per second:    21599.56 [#/sec] (mean)
Running restana with anumargak
:
Requests per second:    22254.75 [#/sec] (mean)

Run 4
This time I tested anumargak and find-my-way directly. And I've realized as there are multiple features have been added to anumargak, it is much better than find-my-way in case of static and enumerated URLs but give almost same performance in case of dynamic URLs.
Hardware
I've performed these tests on Ubuntu 17.10 i7 with 16GB RAM. However, there around 40 firefox tabs, 7 vscode windows are also open.

Hi Amit, thanks a lot for your exhaustive perf testing here. I can confirm your findings, as I also tested on my side. As a hint, when I tweaked your router to disable the versions support, it was as fast as find-my-way, I guess there is still room for improvements.
Other than that, anumargak is still really fast, I am happy that it has become an option in restana. Thanks. Maybe an article here explaining the features and benefits would help on its adoption.
Regarding restana performance with find-my-way, please consider that restana uses as much CPU as it can by default; under low resources, better you disable "prioRequestsProcessing".
I would love if you can add muneem to this list: https://github.com/the-benchmarker/web-frameworks, maybe it becomes the framework to beat ;)
Let's keep in contact.

First of all, I would like to appreciate your behavior to support the work of other developers. Otherwise, many developers ignore it and see it as a competition. :clap:

As a hint, when I tweaked your router to disable the versions support, it was as fast as find-my-way, I guess there is still room for improvements.

I believe you mean dynamic URLs. Yes, I agree improvements can be done. And I'll try to focus on them as soon as I get some time. There are some features like the list of handlers seem useless and impact the performance. So need a plan what to keep in and what to kick out.

Maybe an article here explaining the features and benefits would help on its adoption.

I've added the integration example from above comments to anumargark's github page. Will think to write an article in the future.

I would love if you can add muneem to this list: https://github.com/the-benchmarker/web-frameworks, maybe it becomes the framework to beat ;)

Frankly speaking, this is not my motive as I want to focus on something that can be easily remember and followed (getting old ;) ). And I'll not be able to maintain the speed for a long time. But your suggestion can help to advertise the repo at least. :P