No such module 'CioMessagingPushAPN'

SDK version:
3.9.0
Environment: Development or Production
Development
Are logs available?

Describe the bug

After upgrading to xCode 16.0, I'm unable to build my application because the packager is unable to find module 'CioMessagingPushAPN'
To Reproduce

Build react native application with xCode 16.0 (to note: I am using nx in a monorepo setup but prior to upgrading to xCode 16.0 the project was building fine).
Expected behavior

App should be able to be built
Screenshots

Additional context

abstract_target '###CommonPods' do
  config = use_native_modules!

  pod 'customerio-reactnative/apn', :path => '../node_modules/customerio-reactnative'

  target '###Staging' do
  end

  target '###' do
  end

  target '###Development' do
  end

  target 'NotificationServiceExtension' do
    # Notice the '-richpush' in the line below. This line of code is different from what you added for your main target.
    pod 'customerio-reactnative-richpush/apn', :path => '../node_modules/customerio-reactnative'
  end

Hi @airowe ,
I am sorry to hear that you are facing this issue.
This error typically occurs when CioMessagingPushAPN is not correctly linked to your targets, which can be due to the following reasons:

Incorrect Podfile Configuration: The pod install command might not be linking the module correctly.
Installation Path Issue: Given that you are using a monorepo, the specified path in the Podfile might be incorrect in this context, or there could be conflicts when CocoaPods attempts to install pods across multiple targets.
Caching Issue: Since you recently moved to Xcode 16, it’s possible that there are cached pods or an outdated Podfile.lock.

Here are a few suggestions to help resolve the issue:

Ensure Correct Path: Double-check that the path to node_modules and the dependency is correct, especially considering it’s a monorepo.
Add inherit! :complete to Each Target: Using abstract_target doesn’t automatically inherit dependencies. Including inherit! :complete will ensure all dependencies from the abstract_target are included in each target.
Clear Cache and Reinstall Pods: After clearing cache, run rm -rf Pods/ Podfile.lock and then pod install --repo-update. These will be regenerated when you reinstall the pods.

Following these steps should help ensure that all necessary modules, including CioMessagingPushAPN, are properly linked to your targets. Let us know if you continue to encounter issues after trying this!

Closing this issue due to inactivity.

@ami-aman It appears there was a change to the documentation today, is that accurate? Would this help to resolve my issue? @Ahmed-CIO

Hey there,
There hasn’t been any change to the documentation relevant to this issue, and I’m sorry to hear that the previous suggestions didn’t resolve it.
To assist you further, I would need more details, such as the exact steps to reproduce the issue or any additional information you’d like to share with us. This will help us troubleshoot the problem, as we’ve been unable to reproduce it on our end using Xcode 16 and the podfile snippet you shared above.

Hey there,
There hasn’t been any change to the documentation relevant to this issue, and I’m sorry to hear that the previous suggestions didn’t resolve it.
To assist you further, I would need more details, such as the exact steps to reproduce the issue or any additional information you’d like to share with us. This will help us troubleshoot the problem, as we’ve been unable to reproduce it on our end using Xcode 16 and the podfile snippet you shared above.

Thanks! Would it be possible to communicate privately and/or invite you to our private repo?

@airowe
Sure! You can share the sample app at<EMAIL_ADDRESS>Please ensure the following:

Remove any sensitive data from the project.
Mention the link to this issue so we can link it internally.
Make sure the repository or code has the appropriate permissions for us to access it.
Include any relevant details that would help us get started quickly and efficiently.

Looking forward to your update!

@ami-aman I'm still working on getting a reproducible demo for you but as I've been investigating I have noticed that I do not see this issue at all on xCode 15.x versions but it's happening across the board on xCode 16.x

Hey there! Thank you for taking the time to and working on a sample app to help us debug the issue. We really appreciate your efforts!
I would like to inform you that our team is already using Xcode 16.0, and so far, we haven’t encountered this issue. Could you please share the exact version of Xcode you’re using? This might help us identify if there’s a version-specific problem causing the issue.
For your convenience, I’ve reopened this issue since we now have an active ongoing conversation.

MacOS Sequoia 15.0.1 (24A348) - Apple M1 Pro
XCode Version 16.0 (16A242d)

Thanks for sharing the detail. I truly appreciate it.Our team is looking into it and will get back to you with an update soon.

Hi @airowe ,
Thanks for your patience.
We’ve attempted to reproduce the issue using Xcode 16 but haven’t been able to encounter the same behavior on our end. To help us investigate further, would you be able t:

Run one of our sample apps on your system and let us know if the issue persists.
Create a fresh sample app with the Customer.io SDK integration.
Upgrade to the latest React Native SDK (with CDP support) and test it on your system and let us know if you face the issue.

I would appreciate your help in debugging this issue.

Closing this issue due to inactivity. If you still need assistance or have a related question, feel free to open a new issue.


Add tests for failOnErrors attribute in openapi annotation

Purpose

Add integration tests for failOnErrors attribute in openapi annotations.

Check List

[x] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #23578 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #23578   +/-   ##
=======================================
  Coverage   14.59%   14.59%
=======================================
  Files          51       51
  Lines        1411     1411
  Branches      219      219
=======================================
  Hits          206      206
  Misses       1189     1189
  Partials       16       16

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 ba50200...a0e4c3b. Read the comment docs.


bug: pass config to useContractWrite from usePrepareContractWrite in typescript

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
0.7.15
Current Behavior
Problem after bump wagmi to v0.7.15, from 0.8.6
    const {
        config: writeMintConfig,
        error: prepareWriteMintError,
        isFetching: isPrepareWriteMintFetching,
        isError: isPrepareWriteMintError,
    } = usePrepareContractWrite({
        ...MONARCH_MIXER_CONTRACT_CONFIG,
        functionName: 'mint',
        args: [
            debouncedMintCodeJSON?.tokenId,
            debouncedMintCodeJSON?.proofId,
            debouncedMintCodeJSON?.proof,
        ],
        cacheTime: 13_000,
        enabled: Boolean(debouncedMintCodeJSON) && !mintCodeError,
    });

    // write `mint`
    const {
        data: writeMintTxResp,
        error: writeMintTxError,
        isError: isWriteMintError,
        isIdle: isWriteMintIdle,
        isLoading: isWriteMintLoading,
        isSuccess: isWriteMintSuccess,
        write: writeMint,
        reset: resetWriteMint,
        status: writeMintStatus,
    } = useContractWrite(writeMintConfig);

You can find the problem in Line#126 from https://github.com/web3jt/dApp-tour/blob/feature/bump-wagmi/src/components/Monarch/mint.tsx#L126
Just notice the last line, the var named writeMintConfig
Typescript wound let it pass like this:

Argument of type 'PrepareWriteContractResult<Abi | readonly unknown[], "mint">' is not assignable to parameter of type 'UseContractWriteConfig<readonly unknown[], "mint"> | undefined'.
  Type 'PrepareWriteContractResult<Abi | readonly unknown[], "mint">' is not assignable to type 'MutationConfig<SendTransactionResult, Error, UseContractWriteArgs<Abi, string>> & Omit<ContractConfig<Omit<{ ...; }, OmitConfigProperties>, readonly unknown[], "mint", never, { ...; }>, "args"> & ... 5 more ... & Omit<...>'.
    Type 'PrepareWriteContractResult<Abi | readonly unknown[], "mint">' is not assignable to type 'Omit<ContractConfig<Omit<{ abi: readonly unknown[]; functionName: "mint"; chainId?: number | undefined; }, OmitConfigProperties>, readonly unknown[], "mint", never, { isAbiOptional: true; isAddressOptional: true; isArgsOptional: true; isFunctionNameOptional: true; isRequestOptional: true; }>, "args">'.
      Types of property 'abi' are incompatible.
        Type 'readonly unknown[] | [never]' is not assignable to type 'readonly {}[] | undefined'.
          Type 'readonly unknown[]' is not assignable to type 'readonly {}[]'.
            Type 'unknown' is not assignable to type '{}'.ts(2345)

I am here looking for if someone can help me out... many thanks...
Expected Behavior
Just like the main branch
I use v0.8.6 before, it works well.

Steps To Reproduce
Git clone the https://github.com/web3jt/dApp-tour
and switch to branch feature/bump-wagmi
use VSCode to open the root folder,
goes to ./src/components/Monarch/mint.tsx, line #126
Link to Minimal Reproducible Example (CodeSandbox, StackBlitz, etc.)
No response
Anything else?
No response

I think I have jut work it out like this https://github.com/web3jt/dApp-tour/commit/902e1f2d3f291dfc173c0404f3b36c813ae61512
Write here as a memo.

After change
const CONTRACT_CONFIG = {
    addressOrName: '0x...',
    contractInterface: CONTRACT_ABI,
};

to
const CONTRACT_CONFIG = {
    address: '0x...',
    abi: CONTRACT_ABI,
};

I'd got the right alert about readonly type
then I updated
interface MintCodeJSON {
    tokenId: number,
    proofId: number,
    proof: string[],
}

to
interface MintCodeJSON {
    tokenId: number,
    proofId: number,
    proof: readonly `0x${string}`[],
}

Now, solved.
Thank you all and wishes.

Finished


More tests?

I have a hard time getting together your encoding and other tests. E.g:
https://github.com/ethereum/web3.js/blob/cd1cfd9db6cacb494884a1824f8562c6440f85df/test/coder.decodeParam.js
What types are currently supported?

Contract data and types are decoded in web3 solidity type not in rlp, so I close this issue.
Thanks for report.


[designspaceLib] Does Instance name really need to be unique and is it really required?

Hi,
Browsing the designspaceLib docs, I noticed the line for the Instance name attribute

name: required, string. A unique name that can be used to identify this font if it needs to be referenced elsewhere.

https://github.com/fonttools/fonttools/blob/aa390ec98bedb5cdd8c4392b0d7898a812db6a6b/Doc/source/designspaceLib/xml.rst?plain=1#L925
It looks like it comes unmodified from @LettError's designSpaceDocument Readme, from 8 years ago:
https://github.com/LettError/designSpaceDocument/blame/4312e8a086664b71ad4d195bce10ec155b0112e4/README.md#L390
But I've looked through designspaceLib, and it doesn't seem to be used for anything, let alone checked for uniqueness. There are many <instance>s in the designspaceLib test documents without the name attribute, so the "required" line does not seem to be holding water. Does anyone know if it is required as a unique identifier in any other tool or library?
The only place I thought it really might be used is MutatorMath, but it is not required there. See: https://github.com/LettError/MutatorMath/blob/b0a87ec54df25ccbe6cc37825dd1d335efbce4a6/Lib/mutatorMath/ufo/document.py#L199-L205
If not, should we remove "required", "unique", or both?

In practice (in the designspaceLib implementation) it is indeed not required, and not checked for uniqueness.
(That said, I wish it was required and unique: in my Fontra designspace reader/writer I need a unique and persistent identifier, and I will make one up if it doesn't exist or isn't unique.)

sourcedescriptor has a similar name that was once used for such a purpose. https://github.com/fonttools/fonttools/blob/aa390ec98bedb5cdd8c4392b0d7898a812db6a6b/Lib/fontTools/designspaceLib/init.py#L132
Maybe it is enough that the descriptors have an attribute where tools can assign their identifiers to. But with the understanding that it is not a value that need to be editable by people?

(Edit: I was not yet fully awake, I thought this was about source descriptors.)

Yeah, the name attribute seems to be crucial for just about every other element other than the Instance element! But since Instance has family and style names, it seems less important. I don't see it as having to be "required", like in other elements.
I don't think we should get rid of name, I just wanted clarification of its role and to see if anyone out there is actually using it as described in the spec.


Strikethrough is not working

I am trying to use the setDeleteLine() function and other strikethrough commands, but they are not working. How can I apply strikethrough?

What printer brand do you use?
It is not the command that not working, but the printer did not accept or support the command. Each printer has its own capability to accept commands, or not. So, please try another printer brand.

i am using BIXOLON Bluetooth printer

OK thanks, I'll create the record for each brand of printer


New key binding to force-complete the input

We probably want to support shift+enter or some other way to force-complete the input, even when the input doesn't appear complete as per the predicate.

Fixed.


[SUPPORT] Deltastreamer AvroKafka Schema Evolution transiently failing in --continuous mode

Created from this request on my original Community Slack Thread
Describe the problem you faced
We are using the DeltaStreamer on EMR 6.8.0, sourcing data from Confluent Kafka Avro topics and using our Confluent Schema Registry to deserialize the messages, which we write to the Glue Data Catalog and query with Athena.
We are running the deltastreamer in --continuous mode with the KafkaAvroSchemaDeserializer and are facing some transient errors on upstream schema evolution.
The producers are updated in numerous different backwards compatible ways for our testing, which in turn updates our confluent schema registry. The Deltastreamer either handles the evolution gracefully, succeeds in committing, and then updates the Glue Data Catalog accordingly with the new Schema, or fails out with this
org.apache.hudi.exception.HoodieUpsertException: Error upserting bucketType UPDATE for partition
...
Caused by: org.apache.hudi.exception.HoodieUpsertException: Failed to close UpdateHandle
....
Caused by: java.io.EOFException <-- this line changes dependent on the type of schema evolution.

Speaking to @yihua and @nsivabalan in the Hudi Office hours, they believed this could potentially be a transient error due to the --continuous mode
When you restart the deltastreamer however, the evolution ALWAYS succeeds and carries on as normal
To Reproduce
With a duplicate environment to the one mentioned at the beginning, our Spark command is:
"spark-submit",
"--class", "org.apache.hudi.utilities.deltastreamer.HoodieDeltaStreamer",
"--conf", "spark.scheduler.mode=FAIR",
"--conf", "spark.serializer=org.apache.spark.serializer.KryoSerializer",
"--conf", "spark.sql.catalogImplementation=hive",
"--conf", "spark.sql.hive.convertMetastoreParquet=false",
"--conf", "spark.sql.extensions=org.apache.spark.sql.hudi.HoodieSparkSessionExtension",
"--conf", "spark.sql.catalog.spark_catalog=org.apache.spark.sql.hudi.catalog.HoodieCatalog",
"--conf", "spark.hadoop.hive.metastore.client.factory.class=com.amazonaws.glue.catalog.metastore.AWSGlueDataCatalogHiveClientFactory",
"--conf", "spark.streaming.kafka.allowNonConsecutiveOffsets=true",
# IMPORTANT: hudi-utilities-bundle must be declared immediately before any Hudi spark commands
"/usr/lib/hudi/hudi-utilities-bundle.jar",
"--source-class", "org.apache.hudi.utilities.sources.{{ source_type }}",
"--source-ordering-field", "{{ timestamp_field }}",
"--table-type", "COPY_ON_WRITE",
"--op", "UPSERT",
"--enable-sync",
"--continuous",
# Hudi write config
"--target-base-path", f"s3://{bucket}/raw/{{ table }}",
"--target-table", "{{ table }}",
"--hoodie-conf", "hoodie.database.name={{ database }}_raw",
"--hoodie-conf", "hoodie.table.name={{ table }}",
"--hoodie-conf", "hoodie.datasource.write.recordkey.field={{ primary_key }}",
"--hoodie-conf", "hoodie.datasource.write.precombine.field={{ timestamp_field }}",
"--hoodie-conf", "hoodie.datasource.write.keygenerator.class=org.apache.hudi.keygen.TimestampBasedKeyGenerator",
"--hoodie-conf", "hoodie.datasource.write.partitionpath.field={{ timestamp_field }}",
"--hoodie-conf", "hoodie.deltastreamer.keygen.timebased.timestamp.type=EPOCHMILLISECONDS",
"--hoodie-conf", "hoodie.deltastreamer.keygen.timebased.output.dateformat=yyyy/MM/dd",
"--hoodie-conf", "hoodie.deltastreamer.source.kafka.value.deserializer.class=org.apache.hudi.utilities.deser.KafkaAvroSchemaDeserializer",
# AWS Glue Data Catalog config
"--hoodie-conf", "hoodie.datasource.hive_sync.enable=true",
"--hoodie-conf", "hoodie.datasource.hive_sync.database={{ database }}_raw",
"--hoodie-conf", "hoodie.datasource.hive_sync.table={{ table }}",
"--hoodie-conf", "hoodie.datasource.hive_sync.partition_fields=_event_date",
"--hoodie-conf", f"hoodie.deltastreamer.source.kafka.topic={self.kafka_topic}",
"--hoodie-conf", "auto.offset.reset=earliest",
"--hoodie-conf", "sasl.mechanism=PLAIN",
"--hoodie-conf", "security.protocol=SASL_SSL",
"--hoodie-conf", f"bootstrap.servers={self.kafka_bootstrap_servers}",
"--hoodie-conf", f'sasl.jaas.config=org.apache.kafka.common.security.plain.PlainLoginModule required
username="{self.kafka_sasl_username}" password="{self.kafka_sasl_password}";',
"--schemaprovider-class", "org.apache.hudi.utilities.schema.SchemaRegistryProvider",
"--hoodie-conf", f"schema.registry.url=https://{self.schema_registry_url}",
"--hoodie-conf", "basic.auth.credentials.source=USER_INFO",
"--hoodie-conf", f"schema.registry.basic.auth.user.info={self.schema_registry_auth}",
"--hoodie-conf"<EMAIL_ADDRESS>
Have this running, then update the producer (& subsequently, the SR), with a backwards compatible schema evolution, the deltastreamer usually initiates a rollback, requests another commit, then the EMR Step job dies.
Here is a list of evolutions we've done (always defaulted, nullable for compatibility) and:

what never triggered this error 💚
Triggered this error sometimes, but succeeds on retry and has worked gracefully❗
Triggered the error, and hasn't been seen to succeed gracefully due to lack of testing 🛑

However, as I said above, when you restart the deltastreamer however, the evolution ALWAYS succeeds and carries on as normal
Adding...

int 💚
float❗
array ❗
Nullable record at root 💚

Adding int field ❗

Nullable enum ❗

Extending symbols 💚

Array of records 💚

Extending nested record with array 🛑  (doesn't this directly contradict the hudi documentation?
Extending nested record with strings ❗ and ints 💚

Type Changes...
Type changes that should be viable have never triggered this error...
Expected behavior
I expected the deltastreamer to always handle the evolutions gracefully..
I also expect some of the successful evolutions I've done to not be do-able based on the hudi documentation? Specifically around working with array Types.
Answers Required
What's causing this error? Do you need any other information? Driver logs attached.
Environment Description
Hudi version : Deltastreamer on EMR 6.8.0 running Hudi 0.11.1-amzn-0
Spark version : 3.3.0
Hive version : 3.1.3
Hadoop version : Amazon 3.2.1
Storage (HDFS/S3/GCS..) : S3
Running on Docker? (yes/no) : No
EMR 6.9.0 that utilizes Hudi 0.12.1 wasn't used due to getting constant org.apache.hudi.exception.HoodieException: Could not sync using the meta sync class org.apache.hudi.hive.HiveSyncTool
Additional context

I have visited the Hudi office hours before writing this issue, where it was suggested that I investigate and write up my findings here if the root cause is still unknown.

Stacktraces
test-schema-evo-trace-safe.txt
This trace was created by adding a nullable string to a record Type inside an array Type field at the root level
adding_array_outofbounds.txt
This trace was created by adding a nullable array of strings to a record inside an array Type. Note that in testing I created a nullable array of ints inside the same record and a nullable enum field with no issues. This behaviour is VERY transient
Currently working on recreating the issue at a DEBUG log level as of 14:31GMT...

hey @danielfordfc
I guess we have some hunch on whats going on.
if you have some time and willing to contribute, let me know.
The issue is. getSourceScheme in case of SchemaRegistry provider is not idempotent. even within a single batch of write, if we call getSourceSchema multiple times, it could return latest schema from the schema registry. ideally we want it to return one schema for one batch of write.
so, the fix is to add a new api to Source abstract class called "clearCaches" or "cleanupResources". also add similar apis to SchemaProvider. and so within source.clearCaches, we will call schemaProvider.clearCaches.
Incase of SchemaRegistryProvider, for every batch, we will fetch from remote schema registry and cache is locally. for subsequent calls to getsourceSchema, we will be returning the same value. before moving onto next batch of consume, we will have to call clearCaches which will invalidate the local cache of source schema.
If you are interested, can you take it up.
I can help review the patch.

@danielfordfc : Do you think you can take a stab at the fix.

I will try to take a look in the coming weeks, but seeing as it's not a blocker for us, we're currently looking more into the transactional producer topic issues discussed today in the hudi office hours!

So I know/knew very little about the code itself and have never actually used java before, but i've begun working out the code hierarchy for the deltastreamer and commenting parts of the code to explain to my colleagues, and I've started having a stab at a cached consumer that Clears its cache when the source is instantiated.
Currently in a draft, but will learn and iterate slowly here. If you're bored please feel free to poke fun at me 😆
https://github.com/apache/hudi/pull/8220/files

Fix being developed in https://github.com/apache/hudi/pull/8246


Wiki dump 20230720 has been removed from https://dumps.wikimedia.org

Hi,
Thanks for releasing such fantastic resources. Unfortunately, I encounter the following error when executing the python download_data.py en_wiki --output_dir data/download/en_wiki --overwrite script.
FileNotFoundError: Couldn't find file at https://dumps.wikimedia.org/enwiki/20230720/dumpstatus.json

Upon visiting the wiki dump, i found the 20230720 dump has been removed for both Japanese and English.

Facing the same issue!


DsAggregateStorage overwrites event count after last snapshot for different aggregates with the same ID

Now, DsAggregateStorage, overwrites an event count after the last snapshot for different aggregates with the same IDs.
The event count is stored in the google.protobuf.Int32Value kind. The ID of the count consists of EVENTS_AFTER_SNAPSHOT_ prefix and a stringified value of an aggregate ID.
So, when two aggregates (e.g. TaskRoot and TaskPart) have the same ID (task-123), they have the same ID for the event count after the last snapshot.
To solve the problem, an ID of an event count should additionally contain a state type name of an aggregate. So, the ID should look like EVENTS_AFTER_SNAPSHOT_foo.bar.StateType_task-123.
The same problem exists for the aggregate lifecycle flags. Also, an ID of an aggregate lifecycle flags includes EVENTS_AFTER_SNAPSHOT_ prefix, which is strange.

Fixed in #96.


"Easy Installation (Linux) (recommended)" Not Working

Good afternoon,
We are not able to use the PTATO recommended Docker Install option.  Assuming this is no longer supported with PTATO 1.3.1, can you confirm?  I also tried with 1.2.0 git source, different errors.
Was the extractPtatoTable.nf config file removed from PTATO 1.3.1?
[pdavila@n521 1.3.1]$ sh /sccc/share/apps/ptato/run_ptato_demo.sh
WARNING: could not mount /etc/localtime: not a directory
N E X T F L O W  ~  version 23.04.0
WARN: It appears you have never run this project before -- Option `-resume` is ignored
Launching `/sccc/share/apps/ptato/1.3.1/ptato.nf` [irreverent_caravaggio] DSL2 - revision: b34e51191e
ERROR ~ Unable to read script: '/sccc/share/apps/ptato/1.3.1/./workflows/short_variants.nf' -- cause: Can't find a matching module file for include: ./short_variants/extractPtatoTable.nf

[pdavila@n521 1.3.1]$ ls -l workflows/short_variants
-rwxr-xr-x 1 pdavila hpc 2399 Sep 14 17:31 get_ab_tables.nf
-rwxr-xr-x 1 pdavila hpc  612 Sep 14 17:31 get_context_beds.nf
-rwxr-xr-x 1 pdavila hpc 1865 Sep 14 17:31 get_features_beds.nf
-rwxr-xr-x 1 pdavila hpc 1748 Sep 14 17:31 get_somatic_vcfs.nf
-rwxr-xr-x 1 pdavila hpc 1434 Sep 14 17:31 get_walker_vcfs.nf
-rwxr-xr-x 1 pdavila hpc  711 Sep 14 17:31 intersect_ptato_vcfs.nf
-rwxr-xr-x 1 pdavila hpc 1032 Sep 14 17:31 merge_ptato_vcfs.nf

Traced issue down to PTATO release 1.3.1.  Suspect the PTATO_dir/workflows/short_variants/extractPtatoTable.nf file was just never checked in before committing 1.3.1.
Reverting to PTATO 1.3.0 till bug is patched.

Thank you for spotting this. I have changed the code and created a new release v1.3.2. The issue should be fixed now, let me know if it isn't


[1.10.2] Crash on Server

Not sure which mod dev it is because it looks like IC2 (is not even in the pack), EnderIO and Mekanism is part of the issue. Here is the log http://hastebin.com/wuxeqivegu.coffee
EnderIO: <IP_ADDRESS>
Mekanism: <IP_ADDRESS>8

Looks like a bug in Mekanism.


Correct cost accounting of MESSAGEix system costs in MACRO

MESSAGEix based total_cost parameter updated in iteration with MACRO
replaced COST_NODAL_NET by COST_NODAL for parameterizing total_cost
included net trade balance in MACRO CAPITAL_CONSTRAINT equation

Superseded by https://github.com/iiasa/message_ix/pull/430.


[Feature]: Support Nemotron-4-340B

🚀 The feature, motivation and pitch
Benchmarks on the Nvidia's latest nemotron model look great. Is there plan or already going work to support it?
Alternatives
No response
Additional context
https://huggingface.co/nvidia/Nemotron-4-340B-Instruct

Once there is support in HF transformers, then it should be relatively straightforward to port into vLLM. It seems there aren't any efforts from searching the transformers issues/PRs

attention

I started a paid bounty to close these issues. Already over $200 of support.
https://x.com/natolambert/status/1814735390877884823


Support for Mocha

We would use this at @better

It seems like mocha may not support having multiple reporters out of the box which may make it a bit tricky.
@clok do you have a way of running multiple reporters on mocha in any of your test suites?

draft PR up with an implementation #33

The PR #33 was merged, but the mocha reporter files were not added to the npm package. I create a PR to add them to the npm package: https://github.com/buildkite/test-collector-javascript/pull/45

PR #45 was released in #55, version 1.4.2


Revert "fmt ff/src/fields/models/fp/mod.rs"

This reverts commit d091aaa3e276cadfdbd0021b0c319977a98afd72.

Description
@Pratyush  I think the commit d091aaa3e276cadfdbd0021b0c319977a98afd72 broke formatting.

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (master)
[ ] Linked to GitHub issue with discussion and accepted design OR have an explanation in the PR that describes this work.
[ ] Wrote unit tests
[ ] Updated relevant documentation in the code
[ ] Added a relevant changelog entry to the Pending section in CHANGELOG.md
[ ] Re-reviewed Files changed in the GitHub PR explorer

we could also ignore that line explicitly, but I think we should just go with what cargo fmt suggests`

That's so weird; why is the line above not formatted like that?


Review and improve visualisations in selected visualisation framework(s) for second pass at "vertical"

This is being done in iterations, and I am closing this issue off in preference for issues specifically relating to the work being done on those visualisations (i.e https://github.com/NGLPteam/NGLP-Analytics/issues/62 and https://github.com/NGLPteam/NGLP-Analytics/issues/64 )


Notification Integration

Integration of firebase cloud messaging in the app to notify users of messages.

I want to work on this one !!

go ahead @riturajjain2000


How do I create a new command?

Is there a way Squire allows me to create a command to push onto the stack of your undo/redo manager? I'm working on a proof of concept for a layout manager where I would like to push my changes on to the history stack. Is this possible somehow?

You can call saveUndoState to save the current state of the editor (HTML + focus). But there is no way to push something entirely unrelated onto the undo stack.


Angular 11 build Warning: mat-table-filter_ivy_ngcc_\fesm2015\mat-table-filter.js depends on 'util'. CommonJS or AMD dependencies can cause optimization bailouts.

I know the developer may prefer use external libs but it may cause trouble such as Angular 11 build Warning:
mat-table-filter.js depends on 'util'. CommonJS or AMD dependencies can cause optimization bailouts.
mat-table-filter.js depends on 'lodash'. CommonJS or AMD dependencies can cause optimization bailouts.
Do you have any plan to provide a solution for more compatibility with modern optimization approach?!

xlsx will be handled later.


OLED i2c display reset issue

Hello Colleagues,
@AlexGyver Thank you for sharing this amazing library.
I'm using the 1.6.1 Gyveroled Arduino library version, but I'm facing problems with the Raspberry Pi Pico RP2040.
I'm using Arduino IDE, Display I2C OLED 2,42" SSD1306 128x64, 4 pins (VCC,GND,SCL, and SDA).
The code (even the library examples, as oled_demo.ino) almost all the time works fine. But sometimes when I reset the Pico, the display doesn't wake up. If I turn off the Pico and display and turn it on again after 8 seconds, the oled display wakes up. Even if i press the PICO reset button, nothing happens.
I'm searching for answers in Google, and i found similar issues with i2C 4-pin OLED displays.
It looks like one of those restarts faster than another, so it doesn't sync. In the link below, the guy solved the problem inserting a 25-ms delay in the start of code (I don't know exactly where).
link
I'm afraid because I made a big project with this hardware, and now I have this issue, and this is the only OLED library that works with this display and Pico.
Your support will be useful.
Thank you in advance.

Hi, try to add delay in beginning of setup

Hi!
It did not work.
I tryed with delay and delayMicroseconds of 25,100 and 500ms and i got the same issue.
Below you can see the code:
`
#include <SimpleTimer.h>
#include <GyverOLED.h>
GyverOLED<SSD1306_128x64, OLED_BUFFER> oled; // with buffer
#define Play_bt 1
#define Pause_bt 2
#define Reset_bt 3
#define Charge_pin 6
#define Bat_meter 26
#define Relay_pin 8
volatile int Segundos = 0;
volatile int Minutos = 0;
volatile int Horas = 0;
volatile int bat_percent = 0 ;
volatile bool play = 0;
volatile bool Paused = 1;
volatile bool Reseted = 0;
bool Charging = 0;
bool warning_flag = 0;
volatile float voltage = 0;
float v_min = 1.909;
float v_max = 2.273;
float perc_min = 0;
float perc_max = 100;
SimpleTimer timer;
void setup() {
      delay (100);
      oled.init();
      oled.clear();
      oled.update();

      pinMode (Bat_meter, INPUT);
      pinMode (Play_bt, INPUT);
      pinMode (Pause_bt, INPUT);
      pinMode (Reset_bt, INPUT);

      attachInterrupt(Pause_bt,Pause,FALLING);
      attachInterrupt(Reset_bt,Reset,FALLING);

      attachInterrupt(Play_bt, Play,RISING);

      timer.setInterval(1000, contaTempo);
      timer.setInterval(1200, get_percent);
      draw_timer ();
      }`

Thank you for your support

So where should be that delay?

So where should be that delay?

I don't know :(
But I tried in a Arduino Nano, and the same happens. :(


Confusing Github layout

The Microsoft Bot Framework team prefers that "How To" questions be submitted on Stack Overflow. The official Bot Framework GitHub repository  is the preferred platform for submitting bug fixes and feature requests.
Bot Info
n/a
Issue Description
Having SDK 3.0 unlabeled in https://github.com/Microsoft/BotBuilder/, while the readme.md points to v3 and v4, where v4 exists in other repos, can lead to confusion. Is this v3 or v4 of the sdk? Why is the SDK v4 spread out over other repos rather than in one canonical SDK repo?
Code Example
n/a
Reproduction Steps
n/a
Expected Behavior
n/a
Actual Results
n/a

Thank you for your feedback.

@jaydeflix thanks for the feedback. V4 is a PREVIEW release at the moment. The goal is to restructure the repos when V4 hits stable release.


Bump JRuby to <IP_ADDRESS>

This PR bumps JRuby to <IP_ADDRESS> for the 1.6. branch and removes use of some of the dynamic type mapping features that are used with the AsciidoctorModule, where we currently rely on JRuby automatically implementing it as a org.asciidoctor.Asciidoctor.
Before really merging this I'd like to add more tests for Ruby extensions, as not all extension types are covered yet.

Looks like Java 7 is no longer support by JRuby 9.2, therefore removed it from the travis build matrix.

Going ahead with the merge.


Align demo presentation with Android

Pull request
Description
This PR aligns demo presentation with Android (except DASH streams and one stream we need to discuss).
Changes made
Described above.
Checklist

[x] Your branch has been rebased onto the main branch.
[x] APIs have been properly documented (if relevant).
[x] The documentation has been updated (if relevant).
[x] New unit tests have been written (if relevant).
[x] The demo has been updated (if relevant).
[ ] All pull request status checks pass.

🌙 Available in TestFlight nightlies
The most recent state can be tested in the following builds:

Platform
Version

iOS
-

tvOS
1.0.0 (51)


Suggestion - improve results with training on Lapa dataset

Hello Jack,  JD has recently released their dataset:
Repo: https://github.com/lucia123/lapa-dataset
Paper: https://www.aaai.org/Papers/AAAI/2020GB/AAAI-LiuY.6557.pdf
Do you think your network can outperform their results when trained on this new dataset?

@ofirkris Great, I have to try and test it, thank you very much!

Iy would be very nice if you can share the results on the table of "Performance comparison " with the results you achieve with the dataset.

@ofirkris I've been writing a graduation thesis recently, and I will definitely make up the experiment after finishing it.


[stable/gocd] Add support for SSH keys on server and agent

This PR adds support for setting SSH keys on the server and agent. This allows, for example, checking out a git repository via SSH rather than HTTPS.

@or1can - thank you for this PR! I think that its a great improvement on the GoCD Helm chart. Do you mind rebasing and signing the CNCF CLA so that we can review and get this merged?

Hello there, this is super useful, can I help to get this merged in anyway?

That took me way longer than planned to get the CNCF CLA signed. I've just rebased, so hopefully it's good to go now.

@or1can - still shows that the CLA hasn't been signed.

And please check circle ci console and fix the tests.

I am testing this locally and it looks like the files are created under root ownership, because of that my GoCD server is not able to use the credentials in Github.
Does it work for you guys?

Is your container running as root?

Also, for clarity, we're using the good yaml config plugin to define pipelines.
A proof of concept configuration which works for us is as follows (change the git and elastic_profile_id values as appropriate):
format_version: 2
pipelines:
  mypipe1:
    group: mygroup1
    materials:
      mygit:
        git<EMAIL_ADDRESS>    stages:
      - build:
          jobs:
            build:
              elastic_profile_id: "some-elasticagent-profile-id"
              tasks:
                - exec:
                    command: echo
                    arguments:
                      - "Fake test run"

@or1can - please update the PR when you can.

@or1can - did you check that the known-hosts file also must be provided?

@or1can - something went wrong with the rebase? Please update the PR with only your changes to gocd. Thanks! :)

Hello guys... any updates on this?
It would be super helpful to have it merged. I am maintaining my own copy of it locally because right now but it is kind of a pain and makes this helm kind of hard to use not having it.
Can I do something to help? Open another PR or something?

Hello @or1can -- any updates on the PR?

Hi all, I ran into the same issue here but was able to get around it by using the kubernetes api's existing features to inject my ssh key into the right volumes before gocd launches.  these patches can be applied on top of an existing helm deployment and have the following prequisites:

I used the following versions, I believe most of this should work on 1.6 and up but i'm not 100% sure:

Client Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-28T20:16:17Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"10", GitVersion:"v1.10.3", GitCommit:"2bba0127d85d5a46ab4b778548be28623b32d0b0", GitTreeState:"clean", BuildDate:"2018-05-28T20:13:43Z", GoVersion:"go1.9.3", Compiler:"gc", Platform:"linux/amd64"}

a helm deployment of gocd running in the 'gocd' namespace (you can use whatever namespace you like, just be sure to change it).
a config map in the same namespace called gocd-ssh-config containing the contents of .ssh/config:

 # I ran this command to upload the contents of
 $ kubectl create configmap gocd-ssh-config --from-file=gocd/ssh_config -n gocd

# ssh_config contents
    Host github.com
        StrictHostKeyChecking no
        UserKnownHostsFile /dev/null
        IdentityFile /home/go/.ssh/id_rsa

a secret in the same namespace called github ssh that contains the public/private key you are using to ssh auth into github. I ran this command to create the secret from existing files:

 kubectl create secret generic github-ssh --from-file=./secrets/id_rsa --from-file=./secrets/id_rsa.pub --namespace gocd

Now you can apply the following patch using kubectl patch deployment gocd-server --patch "$(cat gocd/patch-ssh-secret-server.yaml)" -n gocd
# gocd/patch-ssh-secret-server.yaml
spec:
  template:
    spec:
      containers:
      - name: gocd-server
        lifecycle:
          postStart:
            exec:
              command:
              - /bin/bash
              - /preconfigure_server.sh
      initContainers:
      - args:
        - |-
          while [ ! -e /home/go/ssh_config -o ! -e /home/go/ssh_key ]; do sleep 1; done &&
          mkdir -p /home/go/.ssh &&
          cp /home/go/ssh_config/ssh_config /home/go/.ssh/config &&
          cp /home/go/ssh_key/* /home/go/.ssh/ &&
          chmod 400 /home/go/.ssh/id_rsa* &&
          chown -R go /home/go/.ssh/
        command:
        - /bin/bash
        - -c
        image: gocd/gocd-server:v18.6.0
        imagePullPolicy: IfNotPresent
        name: ssh-config
        resources: {}
        terminationMessagePath: /dev/termination-log
        terminationMessagePolicy: File
        volumeMounts:
        - mountPath: /home/go
          name: goserver-vol
          subPath: homego
        - mountPath: /home/go/ssh_config
          name: ssh-config
        - mountPath: /home/go/ssh_key
          name: ssh-key
      volumes:
      - configMap:
          defaultMode: 420
          name: gocd-ssh-config
        name: ssh-config
      - name: ssh-key
        secret:
          defaultMode: 420
          secretName: github-ssh

YMMV but this got the ssh key working on the server. I used a similar technique to configure the kubernetes elastic agent from within the ui I went to admin->elastic agent profiles created my profile and added the following sections to the spec:
  initContainers:
  - name: ssh-config
    image: gocd/gocd-agent-docker-dind:v18.6.0
    imagePullPolicy: IfNotPresent
    command:
    - /bin/bash
    - -c
    args:
    - |-
      while [ ! -e /home/go/ssh_config -o ! -e /home/go/ssh_key ]; do sleep 1; done &&
      mkdir -p /home/go/.ssh &&
      cp /home/go/ssh_config/ssh_config /home/go/.ssh/config &&
      cp /home/go/ssh_key/* /home/go/.ssh/ &&
      chmod 400 /home/go/.ssh/id_rsa* &&
      chown -R go /home/go/.ssh/
    volumeMounts:
    - mountPath: /home/go
      name: goagent-vol
      subPath: homego
    - mountPath: /home/go/ssh_config
      name: ssh-config
    - mountPath: /home/go/ssh_key
      name: ssh-key
 # containers config, etc.
 # ....
  volumes:
  - configMap:
      defaultMode: 420
      name: gocd-ssh-config
    name: ssh-config
  - name: ssh-key
    secret:
      defaultMode: 420
      secretName: github-ssh
  - name: goagent-vol
    emptyDir: {}kk

Sweet @lb-saildrone, might give it a try. Though it would be even smoother (especially for Elastic Agents) to get the originally suggested change incorporated.
@or1can, is this the only commit needed? ca41a5b885642d0f560016b437ca81817d440658
Maybe we could create a new pull request with just this commit to start of from again?
Seems like you might've accidentally updated your own master branch (that this PR was based on) with newer commits from upstream.

@MPV If I am groking this correctly, you are still going to have to configure the elastic agent from within gocd once it is launched (or pumping in the right XML before launch).  This helm chart only configures and installs the static agent but not the elastic ones.  I'm currently working on a new PR to incorporate these additions (and possibly solve the EA problem) and will submit it against incubator in the coming week.

@lb-saildrone - couple of things
The GoCD helm chart is in stable. The incubator chart is deprecated. I'd suggest submitting PRs for stable itself.
The GoCD helm chart comes with the Kubernetes elastic agent installed and preconfigured to use the same k8s cluster. Check out the configmap yaml in the templates directory. If you think that the elastic agent profile values could be improved in a generic sense, feel free to create a PR.
Thanks!

@varshavaradarajan sure, my only point is that this PR (as far as I can tell) does not do anything to add the ability to configure ssh into the EA profile. As such that needs to either be added to the preconfigure_server.sh script or it needs to be added manually after the fact. If the EA does not have access to the ssh key, it will never be able to ssh-auth into github (i.e. add ssh support)

@lb-saildrone you're right. I ended up going with the elastic agent profile method for configuring ssh & git instead.

Also, this PR seems to now be superseded by https://github.com/helm/charts/pull/7084

@MPV i created a new PR so we can have the changes incorporated sooner as the this PR has run into some issues and there were no updates for quite some time.
Like @MPV and @lb-saildrone mentioned this only works for static agents. For elastic gocd agents to work i had to create a new elastic agent profile in GoCD.
I have mentioned the same in the new PR
https://github.com/helm/charts/pull/7084#issuecomment-412018277

Closing this PR in favour of https://github.com/helm/charts/pull/7084
/close

I think this can be closed now @or1can since #7084 is merged instead. 😊


Problem in movement of car

Hi,
While running collect_training_data.py,everything is working fine. When I'm placing my car in hands, wheels are properly moving in forward reverse left right direction,... But when I'm placing my car on floor , it is only moving in forward and reverse direction. What must be the problem?

It might have low battery( change batteries) or it can't bear the weight u
put on them like pi and power bank.
On Sun 31 Mar, 2019, 1:25 AM ShwetaLalwani<EMAIL_ADDRESS>wrote:

Hi,
While running collect_training_data.py,everything is working fine. When
I'm placing my car in hands, wheels are properly moving in forward reverse
left right direction,... But when I'm placing my car on floor , it is only
moving in forward and reverse direction. What must be the problem?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/hamuchiwa/AutoRCCar/issues/184, or mute the thread
https://github.com/notifications/unsubscribe-auth/At7cbtr0GlijX3ZORGy3FQZtcmY_bXbdks5vb8EwgaJpZM4cT8AI
.

Hi, after running rc_driven_nn_only.py ,I'm getting this error- module object has no attribute ml.
What should I do to remove this ?

Attach the screenshot of whole error u got
On Sat 6 Apr, 2019, 10:14 AM ShwetaLalwani<EMAIL_ADDRESS>wrote:

Hi, after running rc_driven_nn_only.py ,I'm getting this error- module
object has no attribute ml.
What should I do to remove this ?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hamuchiwa/AutoRCCar/issues/184#issuecomment-480473887,
or mute the thread
https://github.com/notifications/unsubscribe-auth/At7cbiMIDpmWu5Xy_kn5ovn_BvIKO1C_ks5veCYzgaJpZM4cT8AI
.

It may be open cv version issue problem try to downgrade opencv
On Sat 6 Apr, 2019, 11:42 AM ShwetaLalwani<EMAIL_ADDRESS>wrote:

[image: 2019-04-06-113000_1364x768_scrot]
https://user-images.githubusercontent.com/48839546/55665632-eeeb1800-5860-11e9-8617-e6135eb5766a.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/hamuchiwa/AutoRCCar/issues/184#issuecomment-480477863,
or mute the thread
https://github.com/notifications/unsubscribe-auth/At7cbrio9njFTthdlh-AplU3-PFsb-Mgks5veDq5gaJpZM4cT8AI
.

Downgrade to which version? Now my OpenCV version is 3.4.4

Ok that error is solved. Now I'm getting this error-.

My car is moving only in forward direction. Plz help. @hamuchiwa

@ShwetaLalwani rc_driver_nn_only.py  should be run on your computer and not RPi

while running collect_training_data.py my car is not moving with computer arrow buttons , hence not collecting frames

pls help @ShwetaLalwani @VishalWrench

@arpitpartani first you have to run collect_training_data.py and then in other terminal run stream_client.py ,then a pygame window along with a streaming window will pop up. Click on pygame window and then click the arrow keys to move your car. When your data collection is done press x or q to exit from pygame window and then press q to exit from streaming window , your saved frames and lost frames will then be displayed on terminal window.

exactly we are doing @ShwetaLalwani
but its not working
can u share your collect_training_data.py code

@arpitpartani actually I've done my whole project on raspberry pi, I haven't used Arduino. So my code is a bit different than this, but the procedure is same . I've only changed the pins according to my dc motor pins and removed the Arduino part. Rest is same as collect_training_data.py. Tell me what error are u getting?

Atleast send the code
On Wed 26 Jun, 2019, 2:18 PM ShwetaLalwani<EMAIL_ADDRESS>wrote:

@arpitpartani https://github.com/arpitpartani actually I've done my
whole project on raspberry pi, I haven't used Arduino. So my code is a bit
different than this, but the procedure is same . I've only changed the pins
according to my dc motor pins and removed the Arduino part. Rest is same as
collect_training_data.py. Tell me what error are u getting?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/hamuchiwa/AutoRCCar/issues/184?email_source=notifications&email_token=AH7SX3T7A5R4LV6WJEXJ64LP4MUMVA5CNFSM4HCPYAEKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYS2BXQ#issuecomment-505782494,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7SX3UES7R7GSVTEQEWFNDP4MUMVANCNFSM4HCPYAEA
.

@arpitpartani I am also having the same problem after running collect_training_data.py file and model_training.py after I'm running the rc_driver.py my car only goes on straight line it does not follow the lane..?

@arpitpartani can you explain the file "train_predict_test.ipynb" the jupyter notebook file in model_train_test folder..?


Update repository readme to help future contributors

Closed by https://github.com/simplysecure/dots-website/pull/13/commits/74b3357df55920c21d9a14e97f96f9198bf537f7


Is it possible to get locale information?

For example, if I want to obtain the character used for digit grouping to use with another function like autoNumeric.
autoNumeric has a aSep option that is the character to be used for digit grouping. To set the character, I would need to get it from Globalize for the current locale.

var lang = new Cldr(languageId); // e.g. languageId = 'fr';
var groupingSepararator = lang.get([
    'main',
    languageId,
    'numbers',
    'symbols-numberSystem-latn',
    'group'
);

Also http://stackoverflow.com/questions/32142529/how-to-access-culture-data-in-globalize-js-v1-0-0

Maybe add a note about this here? https://github.com/jquery/globalize#where-does-the-data-come-from


Upgrade AWS Java SDK to 1.12.227

Issue #, if available: #333
Description of changes:
Upgrade AWS SDK for Java to version 1.12.227. This follows the same changes we made in https://github.com/aws/aws-xray-sdk-java/pull/256.
We update these 2 packages which we use:

com.amazonaws:aws-java-sdk-xray
com.amazonaws:aws-java-sdk-core

Fixes #333
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Codecov Report

Merging #334 (79c08df) into master (2dcd09e) will not change coverage.
The diff coverage is n/a.

:exclamation: Current head 79c08df differs from pull request most recent head 464a415. Consider uploading reports for the commit 464a415 to get more accurate results

@@            Coverage Diff            @@
##             master     #334   +/-   ##
=========================================
  Coverage     58.86%   58.86%
  Complexity     1206     1206
=========================================
  Files           131      131
  Lines          5066     5066
  Branches        593      593
=========================================
  Hits           2982     2982
  Misses         1809     1809
  Partials        275      275

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 2dcd09e...464a415. Read the comment docs.


Token auth flow. Refresh token ideas?

Hi @dailydismay,
Sorry for the late reply, it's been a busy few weeks, however I will also be adding the refresh token feature soon.

@Tony133
What about storing refresh token binded to concrete device. Any ideas on unique identifiers for devices?

I can contribute if u want

We keep track of this here: https://github.com/Tony133/nestjs-api-boilerplate-jwt/pull/532


Review first version before release to the master

Ruchi,
This looks great.  If you can make the changes I described this morning I'd love to merge this today.
Thanks,
Philip

Hi Philip,
I have made the changes suggested by you.
Thanks,
Ruchi.


3D Upsampling

Description
Currently MXNet does not support upsampling on 5D tensors (3D images). There is more and more work being done in the medical field where 3D images are very common. As MXNet supports 3D transposed convolutions, 3D Upsampling would be very helpful as well, since there are instances where upsampling has been shown to be as effective if not more so than a transposed convolutions.
References
PyTorch, TF both support 3D upsampling.

If it's supported by cuDNN or Intel oneDNN, you may only need to edit a few lines to expose the feature in MXNet when built with either of the backends.

I'd be happy to give it a go, just not sure how to go about doing that. I'm using the Julia bindings, if that makes a difference.
Also, I think there's a way of using average pooling backwards to accomplish the same thing?

Great to have this use-case. @andevellicus Thanks for bringing it up. While your experience in Julie will be handy, we would still need work to be done on MXNet Backend [C/C++] because those few lines that @leezu  mentioned would go somewhere here
For Upsampling Forward & Backward
https://github.com/apache/incubator-mxnet/blob/3b23c2de950fb0e4d44560f4c7ea933a520c526c/src/operator/nn/upsampling-inl.h#L100
CPU-specific implementation
For e.g. Shape currently checks for 4D input [2D image]
https://github.com/apache/incubator-mxnet/blob/eceb5f2c1c494094c1a697286f2c4560b7ca472e/src/operator/nn/upsampling.cc#L44-L45
https://github.com/apache/incubator-mxnet/blob/eceb5f2c1c494094c1a697286f2c4560b7ca472e/src/operator/nn/upsampling.cc#L61-L62
There don't seem to be GPU-specific implementations at the moment. So we are good on that.
You can take a stab at updating the forward & backward implementations. Additionally, we could add a test for this 3D image use-case
Similar to
https://github.com/apache/incubator-mxnet/blob/f1f3f44166e2e47afad6c65025fb48dd47efeb65/tests/python/gpu/test_operator_gpu.py#L1481-L1489
I can help review your PR. Feel free to ping me if you need any help / have specific doubts related to contributing code to the MXNet Backend.

I see this was created a while ago. Was it implemented? If not, I'd like to give it a try.

Hey @r3stl355 I don't believe any update was made. Feel free to implement it! Thanks!

Yes, thank you for confirming, I checked and can see it's not there. At the moment I'm trying to figure out the following:

For 4D, this is the expected shape (batch, channel, y, x), what would it be for 5D: (batch, channel, z, y, x) or (batch, channel, y, x, z) or something else
Implementing this for GPU will likely require some way of testing it so I guess I'd have to setup something on EC2 (i'm on Mac)

I managed to get a basic 3D sampling implemented (still only covering one straightforward case) but for that to work I had to make a modification to mshadow https://github.com/apache/incubator-mxnet/blob/da247654371664fb906ad286053c63e6fc2f5b5a/3rdparty/mshadow/mshadow/extension/spatial_upsampling_nearest.h#L52 as at the moment it scales only the last 2 dimensions whereas for 3D sampling it needs to do that for 3 last dims. I feel like I'm biting more than I can chew and would appreciate some guidance, would I have to create a separate PR to mshadow for this?

As per https://github.com/dmlc/mshadow
This code base has been donated to the Apache MXNet project per #373, and repo is deprecated. Future development should continue in Apache MXNet.

Feel free to make changes to that header file, test it out on your end. You don't have to create a separate PR for it. Update it within the same one.

Nice catch, thank you. That statement about being donated only appears under DMLC repo.

I'm about to resume my work on this one. I paused my work due to job change. I've implemented forward for Nearest upsampling but came across a problem while trying to implement the same for Bilinear -the 3rd party library only supports 2D - any advise would be appreciated, I will provide more info shortly after I recreate my dev environment

hey @ChaiBapchya can i work on it?
One approach you can take is to reshape your 5D tensor into a 4D tensor with a batch dimension and a channel dimension, and then apply 2D upsampling to the resulting 4D tensor. This can be done using the MXNet UpSampling operator.While this approach may not be as efficient as directly upsampling a 5D tensor, it can still be effective in some cases and may be worth trying out

@Pheewww I'm no longer actively contributing. So feel free to build on your approach and raise a pull request. I'm sure relevant folks will chime on with feedback.

@r3stl355 Looks like you have been closely implementing and tracking down the issue. Let me know if it needs to be taken care of, happy to collaborate, Thanks

@SID262000 I am no longer contributing to this project

I see. Thanks for the update @r3stl355


can't disable metrics in k8s

What version of Dapr?
1.11.0
Expected Behavior
disable pod and service metrics
Actual Behavior
crd didn't work when I set metrics.enabled=false
Steps to Reproduce the Problem
deploment:

crd:

service:

pod:

sidecar:

@naah69 did you update the CRD version of the Configuration resource in your cluster?
kubectl replace -f https://raw.githubusercontent.com/dapr/dapr/v1.11.3/charts/dapr/crds/configuration.yaml


test: add new test cases for pkg/protocol/response.go

What type of PR is this?
test
Check the PR title.

[x] This PR title match the format: <type>(optional scope): <description>
[x] The description of this PR title is user-oriented and clear enough for others to understand.

(Optional) Translate the PR title into Chinese.
测试：为pkg/protocol/response.go文件新增测试用例。
(Optional) More detail description for this PR(en: English/zh: Chinese).

en: add test cases for the following features for pkg/protocol/response.go:
1.TestResponseMustSkipBody：test when to skip body read and copy.
2.TestResponseBodyGunzip: test compress and decompress body with gzip.
3.TestResponseSwapResponseBody.
4.TestResponseAcquireResponse: test acquire and release response.
zh(optional):
Which issue(s) this PR fixes:
https://github.com/cloudwego/hertz/issues/257

 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.

You can improve your description according to the PR template and can describe the situation of unit test coverage.

Please resign the CLA🙏

done

Please resign the CLA🙏

done

It is best to note the change in overall coverage in the description.

It is best to note the change in overall coverage in the description.

May I use the the test coverage rate

It is best to note the change in overall coverage in the description.

done, sorry to close this pr...


Added VB example for NegotiateStream

This PR contributes to:
https://github.com/dotnet/dotnet-api-docs/issues/2069
Added the VB example for NegotiateStream.

Will take care of these changes. And yes, I will do a PR to add these samples to the documentation. Already started that, but saw thate there are much more VB samples involved for related/underlying pages. Wjat do you prefer.. Page by page or Topic by Topic?

Topic by topic probably works best, @obelink.

I've addressed my earlier comments, @obelink, so I'll merge your PR, as well as open a PR in dotnet/dotnet-api-docs to add the example to the documentation. We'd welcome additional VB examples as you have time.


fix need to set backend status base on edit log

Proposed changes
For non-master FE, must set Backend's status based on the content of edit log.
There is a bug that if we set fe config: max_backend_heartbeat_failure_tolerance_count larger that one,
the non-master FE will not set Backend as dead until it receive enough number of heartbeat edit log,
which is wrong.
This will causing the Backend is dead on Master FE, but is alive on non-master FE
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

LGTM


[firebase_messaging] Support the v2 Android embedder plugins API

@amirh
The issue at https://github.com/flutter/flutter/issues/41874 has been closed and moved here. Future collaboration on this issue will be done here.

Hi @amirh
could you please provide your flutter doctor -v
and your flutter run --verbose.
Also, to better address the issue, would be helpful
if you could post a self contained app on github
or the steps to reproduce it.
Thank you

@kroikie Was this not closed in https://github.com/FirebaseExtended/flutterfire/pull/1564?
Otherwise, I think that https://github.com/FirebaseExtended/flutterfire/issues/1754 and https://github.com/FirebaseExtended/flutterfire/issues/2017 are more relevant now.

Closing this as already implemented in #1564.


[Icon Request] Support for typical Redux files

[x] I'm sure this issue is not a duplicate.
[x] I'm submitting an icon request:

Type: typical Redux files
Icon Name: redux
Sample original Icon: (from Webstorm)

Extensions: .js
Filenames: action.js actions.js actionType.js actionTypes.js reducer.js reducers.js store.js
Language ids: redux

Related to #1069

@Jonathan0wh Please read https://github.com/vscode-icons/vscode-icons/wiki/Issue and fix your OP.


UI changes: choose the destination chain at first (Blast, Mode) before asset

Problem
We've encountered at least 6 tickets or conversations regarding the selection process between BLAST or MODE as the destination chain. Support suggests that users select the asset first, followed by choosing the destination chain. However, this process lacks clarity and intuitiveness.
Examples:
Conversation 262
Conversation 328
Conversation 340
Conversation 324
On two occasions, transactions were executed with the wrong destination due to a UI bug that users overlooked, leading to transactions being processed with the BNB destination chain:
Issue 5825
Issue 5842
Current process flow can be viewed here.
Summary
Users should be able to select any destination chain, including MODE or BLAST, as the first step in the UI:
a)
b)
If BLAST is chosen as the destination, the origin chain must be limited to Eth, and vice versa. If Ethereum is selected as the origin chain initially, users should be able to switch to BLAST without altering assets:

The asset should automatically switch to ezETH instead of altering the destination chain:

Acceptance criteria
There have been no reported tickets regarding the process of finding BLAST. The UI is functioning as expected.

https://discord.com/channels/454734546869551114/1217308845597134859/1217308929885864007

https://tickettool.xyz/transcript/v1/993555046891540570/1224385096992161882/transcript-closed-2232-sulta420.html/661d4c7b/660ad77b/9f945fe197d9d93508aaa638747d00246cc2a7f042e2cfa371e3fd4f0a015241

https://discord.com/channels/454734546869551114/1234030741772566612


difference result in difference running test

More specific, I trained the model with my custom dataset and saved the weight. But when it's load the weight and predict on the same image, the difference result after each time I run. I think it should have some random factor in here but I can't find any? So can you explain that?
command: python3 src/launcher.py --phase=test --visualize --data-path=data/test_1/test.txt --data-base-dir=./  --log-path=log.txt --load-model --model-dir=train/  --output-dir=results

You have to change this line of code in model.py
line 133: cnn_model = CNN(self.img_data, True) to cnn_model = CNN(self.img_data, not self.forward only)
Batch norm is the cause of this problem.


As a teacher, I should be able to create a new class and load a csv file of all my students

[ ] a checkbox should be added to the registration for teachers to sign up
Estimated hours: 0.5 hours
Risk: LOW
Priority: LOW

[x] a page should be created to add a new class (name of class, hour, location, TAs and students list in csv format) This page should only be visible to teachers
Estimated hours: 2 hours
Risk: LOW
Priority: LOW

[x] when the csv is loaded, create a new class in the db and add it to every student in the csv
Estimated hours: 3 hours
Risk: HIGH
Priority: HIGH

[x] send a email to every student in that class indicating that the class has been added to their account
Estimated hours: 2 hours
Risk: HIGH
Priority: LOW

Story points: 13

All tasks besides teacher checkbox complete.
Teacher checkbox could be moved to next issue due to issues with administrator verification/setting role upon new account creation based on checkbox.

Note: Certain fields currently require specific formtting:

Course code: "AAAA###(AAA...)" (four chars, three nums, then optional chars)
TAs: "email:name,email:name,..."


Console doesn't appear when i press the key

config.json

cet_v1.8.3
cyber_engine_tweaks.log

Windows 10 Home x64 10.0
I am using US keyboard keyboard, but when i press '~' nothing happens. The console doesn't appear and even my cursor also doesn't show up. I'm using GOG version, v1.04 which actually should be compatible with c.e.t. I don't have RivaTuner, MSIAfterburner, and Fraps installed.

Also my windowed mode is windowed borderless

Also my windowed mode is windowed borderless

1.04 isn't supported.

1.04 isn't supported.


MUMUP-2670 : Cleanup silent login step

Make the silent login step somewhat skip-able to fix localhost heavy development and fix master.

👍


Angular 13 build fails in webpack-sources - Maximum call stack size exceeded

🐞 Bug report
Command (mark with an x)

[ ] new
[x] build
[x] serve
[ ] test
[ ] e2e
[ ] generate
[ ] add
[ ] update
[ ] lint
[ ] extract-i18n
[ ] run
[ ] config
[ ] help
[ ] version
[ ] doc

Is this a regression?

No issues in Angular 12
Description
Augular 13 builds break with sourceMap=true.
This has been discussed with quite some detail in the webpack-sources repo and seems to affect in particular Angular 13.
https://github.com/webpack/webpack-sources/issues/131
Stack trace below
🔬 Minimal Reproduction
Please see the discussion in the webpack-sources repo https://github.com/webpack/webpack-sources/issues/131
🔥 Exception or Error

 [webpack-dev-middleware] HookWebpackError: Maximum call stack size exceeded
     at makeWebpackError (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack\lib\HookWebpackError.js:48:9)
     at C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack\lib\Compilation.js:3043:12
     at eval (eval at create (C:\Dev\workspace\myapp\myapp-web-13\node_modules\tapable\lib\HookCodeFactory.js:33:10), :111:1)
     at processTicksAndRejections (node:internal/process/task_queues:96:5)
 -- inner error --
 RangeError: Maximum call stack size exceeded
     at String.match ()
     at OriginalSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\OriginalSource.js:64:32)
     at module.exports (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamChunks.js:13:17)
     at ReplaceSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\ReplaceSource.js:175:44)
     at module.exports (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamChunks.js:13:17)
     at streamAndGetSourceAndMap (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamAndGetSourceAndMap.js:27:53)
     at CachedSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\CachedSource.js:208:35)
     at module.exports (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamChunks.js:13:17)
     at module.exports (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamChunks.js:13:17)
     at ConcatSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\ConcatSource.js:112:55)
     at module.exports (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamChunks.js:13:17)
     at streamAndGetSourceAndMap (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamAndGetSourceAndMap.js:27:53)
     at CachedSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\CachedSource.js:208:35)
     at module.exports (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamChunks.js:13:17)
     at ConcatSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\ConcatSource.js:112:55)
 caused by plugins in Compilation.hooks.processAssets
 RangeError: Maximum call stack size exceeded
     at String.match ()
     at OriginalSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\OriginalSource.js:64:32)
     at module.exports (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamChunks.js:13:17)
     at ReplaceSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\ReplaceSource.js:175:44)
     at module.exports (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamChunks.js:13:17)
     at streamAndGetSourceAndMap (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamAndGetSourceAndMap.js:27:53)
     at CachedSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\CachedSource.js:208:35)
     at module.exports (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamChunks.js:13:17)
     at ReplaceSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\ReplaceSource.js:175:44)
     at module.exports (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamChunks.js:13:17)
     at ConcatSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\ConcatSource.js:112:55)
     at module.exports (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamChunks.js:13:17)
     at streamAndGetSourceAndMap (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamAndGetSourceAndMap.js:27:53)
     at CachedSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\CachedSource.js:208:35)
     at module.exports (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\helpers\streamChunks.js:13:17)
     at ConcatSource.streamChunks (C:\Dev\workspace\myapp\myapp-web-13\node_modules\webpack-sources\lib\ConcatSource.js:112:55)

🌍 Your Environment

Angular CLI: 13.0.2
Node: 16.13.0
Package Manager: npm 8.1.3
OS: win32 x64

Angular: 13.0.1
... animations, cdk, common, compiler, compiler-cli, core, forms
... language-service, material, platform-browser
... platform-browser-dynamic, router, service-worker

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1300.2
@angular-devkit/build-angular   13.0.2
@angular-devkit/core            13.0.2
@angular-devkit/schematics      13.0.2
@angular/cli                    13.0.2
@schematics/angular             13.0.2
rxjs                            6.6.7
typescript                      4.4.4

Anything else relevant?

Hi @thre3eye,
Thanks for this issue.
But, based on the conversations going on in https://github.com/webpack/webpack-sources/issues/131 it seems that this is a webpack-sources bug and hence it is not actionable from our end.

Yes, thankfully my workaround hack seems to have helped identifying the issue and they are on it. Thanks for checking.


Upgrade to ffigen 5 and fix header paths (again)

This tries to resolve the glob issue introduced by #588. Turns out that the glob implementation used by ffigen doesn't take into account different directory separators, unlike glob on Node.js. In order to work around this I had to not use directory separator characters in the glob string, so **/src/*.h became **src**.h. The trouble with this is that it matched the dart-dl headers.
The problems are compounded by ffigen 5 - it seems to consider realm.h multiple times - once for each entry point header that includes it, like realm_dart.h and subscription_set.h and others. This causes it to produce several copies of each realm.h symbol binding, unlike ffigen 4. The workaround I came up with this is entrypoint.h - ensuring that ffigen only processes a single translation unit altogether works around the binding duplication issue. This regrettably means that we still need to make sure entrypoint.h contains the explicit list of headers we want ffigen to process. Perhaps we can open an issue against ffigen about the symbol duplication, and if we move dart-dl out from the src folder we'd remove the need for entrypoint.h.
In all fairness I didn't have to upgrade to ffigen 5 now, but seeing as the problems it caused are specifically related to how we discover headers I think it's best to solve this once for the foreseeable future. Side-effects include its support for ABI-specific integers in Dart 2.17, with types like ffi.Char and ffi.Size. I modified realm_core.dart to use the new types and changed the way we pass strings and integer arrays to native, because our old extensions were based around types ffigen doesn't generate anymore.

the ffigen 5 duplicating seems like a bug in ffigen

the ffigen 5 duplicating seems like a bug in ffigen

Yeah, I'm inclined to agree - I just haven't had the time to research whether it's actual intended change in behavior they need for their Objective-C support, or an unintended side-effect of something else.

we moved the discussion offline. Will be parking this PR for when ffigen 5 bug is fixed.


Configure Azure Pipelines

This pipeline configuration builds the application and produces a build for the Release configuration.

 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.:x: ajeesh81 sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

1


Static layout analysis hooks for near-zero-cost serialization/deserialization

In Libuavcan, there is a huge chunk of heavily templated code responsible for data serialization, which upon monomorphization resolves into a series of invocations of low-level bit-level data copy routine: https://github.com/UAVCAN/libuavcan/blob/fd8ba19bc9c09c05a1ab60289b3e7158810e9bd0/libuavcan/src/marshal/uc_bit_array_copy.cpp#L12-L58. In Libcanard, there are basic functions canardEncodePrimitive(..) and canardDecodePrimitive(..) which serve a similar purpose, except that they lack any type safety because C.
Bit-level copying is very slow. I don't have exact numbers at hand, but I'm considering to obtain them later once our new UAVCAN v1.0 implementations are available. Bit-level serialization is slow, but it is also generic, meaning that it is applicable always regardless of data alignment; yet, if one were to cast a very careful look at our standard definitions (and most of the known third-party definitions, e.g., ArduPilot, OlliW), they would see that majority of fields are always at least byte-aligned, meaning that slow bit-level copying could be avoided if we could determine such always-aligned fields statically.
Earlier we invented the concept of compile-time alignment checks, which was discussed at length here: https://forum.uavcan.org/t/new-dsdl-directive-for-simple-compile-time-checks/190. This same concept can be extended to facilitate static bit layout analysis in order to allow code generators to emit the fastest possible serialization code, resorting to slower methods only when faster ones cannot be proven to be safe. One can define the following arbitrary categories of serialization approaches:

The fastest, zero-cost serialization: direct memcpy() applied to the whole data structure. This is applicable when the alignment, size, and byte order requirements of the native platform match those of UAVCAN. As you will see later, these properties are discoverable and checkable at the code generation time, provided that we can make reliable assumptions about the target platform (such as byte order and type alignment requirement, which is usually sizeof(type); violation of such assumptions can be detected later at compile time so they are safe).
Field-level zero-cost serialization: direct memcpy() applied to a given field. E.g., if we have a uint64 field in a data structure, the byte order of the platform is little-endian, and the field is always aligned at the byte boundary, we can directly memcpy the field into the final buffer, again avoiding bit-level copying.
Last resort: bit-level serialization. This one is chosen when the code generator cannot determine alignment statically.

The proof of alignment is obtained by PyDSDL by manipulating bit length sets of serialized representations of data types. A code generator can request PyDSDL to determine if there is such serialized representation of a composite or array type which would NOT meet a specified alignment goal (say, a byte (8 bit), or 64-bit if we're serializing a field of uint64), and then use the answer to choose the appropriate (fastest safe) serialization strategy at code generation time (there are some known performance issues: #23).
This new logic is exposed to the user via the following new API entries:

class BitLengthSet and its overloaded + operator.
CompositeType.iterate_fields_with_offsets(base_offset: BitLengthSet = None) -> Iterator[Tuple[Field, BitLengthSet]]
FixedLengthArrayType.enumerate_elements_with_offsets(base_offset: BitLengthSet = None) -> Iterator[Tuple[int, BitLengthSet]]

Early selection of the serialization strategy has an important implication on the serialization of nested data structures. A data structure can be nested into another one at an arbitrary alignment, which would defeat the purpose of static layout analysis since the code generator wouldn't be able to make any assumptions about the base offset. Additionally, the misaligned origin of a data structure does not necessarily imply that every following field of it will be misaligned as well. Consider the following example:
@union
uint8 a
uint8 b

Due to the one-bit union tag preceding the actual value, both a and b are misaligned. Now, imagine that the above union is nested into another structure as follows:
void7
U the_union

The union is padded so that the one-bit tag brings the following data fields into alignment. The example demonstrates that in order to take full advantage of the layout analysis, a code generator must model nested object hierarchies holistically rather than atomically. The per-type generated serialization functions/methods may have some basic alignment requirement chosen by the author of the code generator (for example, they may require the serialization buffer to be always byte-aligned, or require that its alignment matches the largest alignment requirement of any nested type); the serialization code of an outer (containing) type would then determine statically whether the alignment requirement of a serialization function is met. If the alignment requirement is not met, the code generator would emit serialization code in-place, as if the definition of the included type were copy-pasted into the outer type, instead of invoking its serialization function.
You can see field iterators in action in this carefully crafted unit test: https://github.com/UAVCAN/pydsdl/blob/f998ad6f744b853d9b97e240ab0302df27ddd598/pydsdl/_serializable.py#L1284-L1383
...also in this Jinja2 code generation template for PyUAVCAN:
{%- macro _serialize_variable_length_array(t, ref, offset) -%}
    # Length field byte-aligned: {{ offset.is_aligned_at_byte() }}; {# -#}
     first element byte-aligned: {{ (offset + t.length_field_type.bit_length).is_aligned_at_byte() }}; {# -#}
      all elements byte-aligned: {{ (offset + t.bit_length_set).is_aligned_at_byte() }}.
    assert len({{ ref }}) <= {{ t.capacity }}, '{{ ref }}: {{ t }}'
    {{ _serialize_integer(t.length_field_type, 'len(%s)'|format(ref), offset) }}
{%- if t.element_type is BooleanType %}
    _ser_.add_{{ (offset + t.length_field_type.bit_length)|alignment_prefix }}_array_of_bits({{ ref }})
{%- elif t.element_type is PrimitiveType and t.element_type.standard_bit_length %}
    _ser_.add_{{ (offset + t.length_field_type.bit_length)|alignment_prefix -}}
          _array_of_standard_bit_length_primitives({{ ref }})
{%- else %}
    for _element_ in {{ ref }}:
        {{ _serialize_any(t.element_type, '_element_', offset + t.bit_length_set)|indent }}
{%- endif %}
{%- endmacro -%}

Where alignment_prefix is defined as: 'aligned' if offset.is_aligned_at_byte() else 'unaligned'.
In the following example (sourced from PyUAVCAN as well) look at the case of CompositeType, where we select whether the current item matches the alignment requirement of the serialization method of t (which is _serialize_aligned_(..)). If there is a match, we invoke the method; otherwise, we emit serialization code in-place.
{%- macro _serialize_any(t, ref, offset) -%}
    {%- if offset.is_aligned_at_byte() -%}
    assert _ser_.current_bit_length % 8 == 0, '{{ ref }}: {{ t }}'
    {% endif -%}
    {%- if t is VoidType -%}                    _ser_.skip_bits({{ t.bit_length }})
    {%- elif t is BooleanType -%}               _ser_.add_unaligned_bit({{ ref }})
    {%- elif t is IntegerType -%}               {{ _serialize_integer(t, ref, offset) }}
    {%- elif t is FloatType -%}                 {{ _serialize_float(t, ref, offset) }}
    {#- Despite the apparent similarities, fixed and variable arrays are very different when it comes to serialization,
     #- mostly because of the different logic of offset computation. -#}
    {%- elif t is FixedLengthArrayType -%}      {{ _serialize_fixed_length_array(t, ref, offset) }}
    {%- elif t is VariableLengthArrayType -%}   {{ _serialize_variable_length_array(t, ref, offset) }}
    {%- elif t is CompositeType -%}
        {%- if offset.is_aligned_at_byte() -%}
    {{ ref }}._serialize_aligned_(_ser_)  # Delegating because this object is always byte-aligned.
        {%- else -%}
    # Object {{ ref }} is not always byte-aligned, serializing in-place.
    {{ _serialize_composite(t, ref, offset) }}
        {%- endif -%}
    {%- else -%}{%- assert False -%}
    {%- endif -%}
{%- endmacro -%}

One can see more examples in my PyUAVCAN repo (which is still a WIP of course): https://github.com/pavel-kirienko/pyuavcan/blob/uavcan-v1.0/pyuavcan/dsdl/_templates/serialization.j2, also https://github.com/pavel-kirienko/pyuavcan/blob/6f9234ab918beefce56ef3f58920773df29079e5/pyuavcan/dsdl/_serialized_representation/_serializer.py#L56-L187
I expect that this feature will allow us to greatly simplify implementations. Particularly, libuavcan may no longer need the rather complex primitive marshaling templates, since generated serialization methods can operate on raw byte pointers now.

Pull Request Test Coverage Report for Build 213

276 of 276 (100.0%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 194:
0.0%

Covered Lines:
2652

Relevant Lines:
2652

💛  - Coveralls

Pull Request Test Coverage Report for Build 213

276 of 276 (100.0%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 194:
0.0%

Covered Lines:
2652

Relevant Lines:
2652

💛  - Coveralls

Pull Request Test Coverage Report for Build 213

276 of 276 (100.0%)  changed or added relevant lines in 8 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 100.0%

Totals

Change from base Build 194:
0.0%

Covered Lines:
2652

Relevant Lines:
2652

💛  - Coveralls


⚠ Bofrost.at has degraded performance

In 9c346a0, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1314 ms

Resolved: Bofrost.at performance has improved in 464366d.


Failed to launch interactive ssh session over Enter-PSSession

Enter-PSSession is doing something wrong with IO redirection.
Here is my setup,
I have 3 machines (2 Ubuntu VMs, 1 Windows VM).
From one of the Ubuntu VM, do Enter-PSSession to Windows VM and then do SSH to another Ubuntu VM.
UbuntuVM_1 ----(Enter-PSSession)----> windows m/c -------(SSH)----->UbuntuVM_2.
SSH connection get's stuck. I tried to print the ssh client logs to console but it fails.
I tried to use SSH instead of Enter-PSSession. It works flawless.
UbuntuVM_1 ----(SSH)----> windows m/c -------(SSH)----->UbuntuVM_2.
Here are the screenshots for both the scenarios,
After Enter-PSSession, tried to ssh with Win32OpensSH Client, Windows GIT SSH Client.
With win32OpenSSH client, control doesn't return and it's stuck.
With Windows GIT SSH client, control returns but the SSH connection is closed i.e., no interactive SSH session.

With SSH (everywhere) it works fine.

@SteveL-MSFT @PaulHigin Maybe MSFT team creates a Design document to define which remote scenarios should be/are supported?

This is not supported.  You cannot run an SSH client from within a PowerShell SSH remoting session because the StdIn/StdOut pipes are redirected to pass the remoting protocol messages.

@PaulHigin - Not sure why it is not doable when nested interactive SSH sessions are possible.
When Enter-PSSession is using SSH as a transport, I expect the traffic should flow through a named pipe (between powershell, ssh client on the same machine) which is not STDIN/STDOUT pipes. If not then changing this will solve the problem?

@PaulHigin can correct me if I'm wrong here but as I understand it the issue with PSRemoting, what Enter-PSSession uses, is it uses an SSH subsystem that exchange bytes back and forth between the client and server. This subsystem is started based on the command specified in your sshd_config

Subsystem powershell c:/progra~1/powershell/7/pwsh.exe -sshs -NoLogo

Basically when sshd gets a request to connect to the powershell subsystem it will start a new process based on that config entry and use the stdio pipes for that ssh connection as the new process' SSH pipes. That means your ssh session's stdout is the same pipe that is attached to pwsh.exe -sshd -NoLogo. From there any data sent from the PowerShell client is sent over the stdin pipe to pwsh and any data received is from the pwsh stdout pipe. This data is encapsulated in a simple XML message like
<Data Stream='Default' PSGuid='00000000-0000-0000-0000-000000000000'>PSRP fragment(s)</Data>

Any messages exchanged between the client and the server are all in these XML messages, that's unlike a normal ssh session where you've simply reading and writing to the stdout/stdin like a normal process. So if you tried to nest an SSH connection that had interactive input then PowerShell would need a way to read and write to those new pipes in a way that didn't affect the PSRP data exchanges.


Blast search produce blank or error

Get expression  makes an error when you don't select options in Blast search

Fixed. Error modal is displayed when there is no input selected


Add Visual Studio 2019 compatibility

Like the title said, add support for visual studio 2019.

Oops, didn't notice there already was an open pull request for this, closing.


VCVRack port for simulator

Hi Simon,
Have you considered adding a build/port of the simulator for VCVRack? there are already many sequencers available there but people love skeuomorphic interfaces and i think per|former would be a hugely popular module there.
Cheers,
southpole

I thought about it but it will be difficult to control the sequencer. I pretty much hijack all of the keyboard and mouse scrolling to control the simulator.


Question: cloaking file syntax

Hi!
Couldn't find any info on cloacking rules syntax. Does it accept wildcards etc. as blacklist file does or it is simply domain pairs? For instance, google has few dozen domains and to force safe search with google shall I have few dozen lines or I may use a wildcard? The example file is not self-documented enough, at least I'm not sure about it.

It does not accept wildcards at the moment.

Okay. Thank you Frank!

Maybe in a future version!

I think it's not very important, for the cloaking files are not nearly that big as blacklists are. Rather, it's a matter of being documented in a clearer way. Tnanks again!

The documentation is a wiki; anybody can edit it :)


New branch for merge v1

new PR for fixed build
Any background context?

seems the new index file is missing.


Callback for Media Loaded & "Preview" Once Loaded

Hey,
Just some questions on how to do things.

Is there any sort of callback for when the media has finished loading? Currently, I'm using the VlcMediaPlayer.Media.DurationChanged event (after calling LoadMedia) to see when the media is finished loading, but this seems...not ideal.

Is there any way to make the video player show the first frame of the video once the video is loaded? I don't want to play the video until the user clicks the play button, but it would be nice if the user had some visual indication that the video was loaded. I suppose I could mute the video, play it for a split second, and then pause it as a workaround?

Thank you! :)

Ummmm...
01.StateChanged event maybe can do this.
After LoadMedia method...
NothingSpecial -> Opening -> Buffering -> Playing...
02.Ummmm...Maybe you can try NextFrame() method...
I'm not sure...you can have a try...

Re:

I just decided to keep using DurationChanged, as I didn't want the video to auto play when it started, thus relying on the StateChanged event was not what I needed.
NextFrame() didn't seem to do the trick, unfortunately -- unless you've called Play(), the video player doesn't like responding to NextFrame(). So, in my application, whenever I load media, I mute the player, tell the player to Play after the VlcMediaPlayer.Media.DurationChanged event has been triggered, monitor states (as you suggested), then pause and unmute the video once the Play state has been triggered. Then I reset the video to time 0. This, although convoluted, seems to work.


Reset text formats for new text nodes

refs Facebook/lexical#4943

removes formatting when inserting a new text node

Closing this PR due to staleness! If there are new updates, please reopen the PR.


make it selectable to use inventory or books

We want to make it selectable, to use the zoho books or inventory api.
Would be also really cool: Automatically switch to Zoho Books API, if API request limit is running low. Can be checked with response headers from Zoho.

done


Default-importing UMD module in ESM file didn't take default named export from UMD module

Bug report

What is the current behavior?
Suppose we are consuming a library published with UMD module (actually it's a Webpack-bundled UMD library module) that exports the following members

HighchartsReact: a React component
default: exactly the same instance as HighchartsReact when being exported.
__esModule: true

I'm importing this library in a ESM js file (I've enabled ESM in package.json for my own project) with something like this
import HighChartsReact from 'highcharts-react-official';

// inside a React component...
return <HighChartsReact ... />;

and I see the following Error

Element type is invalid: expected a string (for built-in ccmponents) or a class/function (for composite components) but got: object.
Check the render method of [SomeComponent]

I've checked the runtime value of HighChartsReact and I see something like this

Note that I'm default-importing highcharts-react-official as HighChartsReact, but during runtime, it looks almost the same as if I were importing the module with star import
import * as HighChartsReact from 'highcharts-react-official';

If the current behavior is a bug, please provide the steps to reproduce.

https://github.com/chenxinyanc/webpack-esm-default-import-issue
What is the expected behavior?

I expect by calling
import HighChartsReact from 'highcharts-react-official';

I receive similar effect as
const HighChartsReact = (await import('highcharts-react-official')).default;

rather than
const HighChartsReact = await import('highcharts-react-official');

Other relevant information:
webpack version:  5.85.0
Node.js version: 18.16.0
Operating System: Windows 11
Additional tools: yarn
I've done some preliminary investigation and it seems  the getDefaultExport helper didn't get emitted, because exportsType was default-with-named during build-time.
https://github.com/webpack/webpack/blob/cc3fd6ee19c295dd322a643093a5e280061a115b/lib/RuntimeTemplate.js#L771-L784

Sorry, I can't use https://github.com/chenxinyanc/webpack-esm-default-import-issue and I want to say it works as expected there is not default in UMD, try to run your code without webpack (covert jsx to js)

Oops. My bad. Just made the repo public.

it works as expected there is not default in UMD

Did you mean there is no default keyword in UMD or were you suggesting the package I'm importing might lack the default export?

try to run your code without webpack (covert jsx to js)

My reproduction repo is not using JSX, and nodejs won't let me import UMD module in ESM with synchronous import statement.

same for commonjs and etc

I guess the default import syntax works if I just convert my repo into CJS in package.json. Will try out later.

I will look at this soon, thank you for updating

As I said above - expected, run it without webpack, i.e. node src/index.js with this code:
import HighChartsReact_default from 'highcharts-react-official';
// import * as HighChartsReact_star from 'highcharts-react-official';
// import { HighchartsReact } from 'highcharts-react-official';

export function printMyImports() {
  // const outputEl = document.getElementById("output");

  console.log("import default from ->", HighChartsReact_default);
  // console.log("import * from ->", HighChartsReact_star);
  // console.log("import { HighchartsReact } from ->", HighchartsReact);

  function writeLine(str) { console.log(str); }
  function printImportObjectOutline(obj) {
    writeLine(`  __esModule=${obj.__esModule}; $$typeof=${obj.$$typeof?.description}; default=${obj.default}`);
    writeLine(obj.default);
    writeLine("");
  }

  writeLine("import default from 'highcharts-react-official'");
  printImportObjectOutline(HighChartsReact_default);
  // writeLine("import * as Foo from 'highcharts-react-official'");
  // printImportObjectOutline(HighChartsReact_star);
  // writeLine("import { HighchartsReact } from 'highcharts-react-official'");
  // printImportObjectOutline(HighchartsReact);
}

printMyImports();

Output:
import default from -> {
  HighchartsReact: [Getter],
  default: {
    '$$typeof': Symbol(react.memo),
    type: {
      '$$typeof': Symbol(react.forward_ref),
      render: [Function: HighchartsReact]
    },
    compare: null
  }
}
import default from 'highcharts-react-official'
  __esModule=true; $$typeof=undefined; default=[object Object]
{
  '$$typeof': Symbol(react.memo),
  type: {
    '$$typeof': Symbol(react.forward_ref),
    render: [Function: HighchartsReact]
  },
  compare: null
}

So we align to Node.js behaviour and align to other bundlers behaviour, just try it on esbuild, you will have the same.
We have a lot of tests to align with Node.js behaviour and other bundlers, so I see the same result everywhere.

My reproduction repo is not using JSX, and nodejs won't let me import UMD module in ESM with synchronous import statement.

UMD is universal, so you can run it on node and browser and not only

import default doesn't unwrap the UMD module and behaves exactly the same as import * as ...

Yes, because source exported in commonjs format and you have type: "module", there is no ESM default in commonjs

As long as I remove type: "module" from package.json, everything works as expected -- I can consume UMD module even if I'm using ES6 import syntax (instead of require("...")).

Since the logic is different between ESM and CommonJS, when you import index.js webpack tries to resolve it and gets what it has type: "module" so now you have logic for ESM.
And don't know who written docs about that you can use default import in pure ESM, it is not truth.
Anyway you can fix it using type: "javascript/auto", you already set fullySpecified: false, so it is not compatibility with ESM:
module: {
  rules: [
    {
      test: /\.m?js$/,
      type: "javascript/auto",
      resolve: {
        fullySpecified: false,
      },
    },
  ],
},

Simplifed example:
test.mjs
import foo from "./foo.cjs";

console.log(foo)

foo.cjs
module.exports = {
    default: "test"
};

Feel free to feedback

Thanks for your detailed explanation! I think I've been having misunderstanding regarding to this statement for a while:

And don't know who written docs about that you can use default import in pure ESM, it is not truth.

After some googling, I found this article and realized that NodeJS (and therefore other bundlers) is not following the __esModule sentry (proposed by TypeScript, I guess).
So, in summary, I think the current situation is, when importing CJS modules,

Default imports in NodeJS (and webpack / esbuild / etc.) behaves exactly the same as star imports.
There is no way to overwrite default import unless the module imported is also ESM, rather than CJS.

Does it sound correct to you?

Default imports in NodeJS (and webpack / esbuild / etc.) behaves exactly the same as star imports.

Yes

There is no way to overwrite default import unless the module imported is also ESM, rather than CJS.

Yes, but you can have babel/swc/etc to override/change it