Reader: HasMessageAvailableAsync returns True but ReadNextAsync never returns when using StartMessageFromRollbackDuration

I am not sure if this is a Pulsar issue or issue with Pulsar.Client. Hoping someone can help point me in the right direction!
The below function works perfectly when using StartMessageId(MessageId.Earliest). If I try to use StartMessageFromRollbackDuration like below, the HasMessageAvailableAsync() will return true but then the ReadNextAsync will block indefinitely, never returning a message. There is only one message in the queue at the time this runs, if that helps as well.
{
    TimeSpan rollbackDuration = DateTime.Now - startReadtime;
    await using IReader<byte[]> reader = await _readerBuilder
        .StartMessageFromRollbackDuration(rollbackDuration)
        //.StartMessageId(MessageId.Earliest)
        .CreateAsync();

        while (await reader.HasMessageAvailableAsync())
        {
            Message<byte[]> received = await reader.ReadNextAsync();

            if (CheckMessage(received, messageCheck))
            {
                return true;
            }
        }

    return false;
}

Here are the logs from my Standalone Pulsar image running in Docker from the point of creating the read to attempting to read the next:

20:05:18.932 [pulsar-io-51-2] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:33082] Subscribing on topic persistent://public/default/block-schedule-activity / reader-9b5a98d18f
20:05:18.934 [pulsar-io-51-2] INFO  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://public/default/block-schedule-activity][reader-9b5a98d18f] Creating non-durable subscription at msg id null
20:05:18.934 [pulsar-io-51-2] INFO  org.apache.bookkeeper.mledger.impl.NonDurableCursorImpl - [public/default/persistent/block-schedule-activity] Created non-durable cursor read-position=10:1 mark-delete-position=10:0
20:05:18.934 [pulsar-io-51-2] INFO  org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - [public/default/persistent/block-schedule-activity] Opened new cursor: NonDurableCursorImpl{ledger=public/default/persistent/block-schedule-activity, ackPos=10:0, readPos=10:1}
20:05:18.973 [bookkeeper-ml-workers-OrderedExecutor-1-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentMessageFinder - [persistent://public/default/block-schedule-activity][reader-9b5a98d18f] Found position 10:0 closest to provided timestamp<PHONE_NUMBER>935
20:05:18.973 [bookkeeper-ml-workers-OrderedExecutor-1-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentSubscription - [persistent://public/default/block-schedule-activity][reader-9b5a98d18f] Successfully disconnected consumers from subscription, proceeding with cursor reset
20:05:18.973 [bookkeeper-ml-workers-OrderedExecutor-1-0] INFO  org.apache.bookkeeper.mledger.impl.ManagedCursorImpl - [public/default/persistent/block-schedule-activity] Initiate reset position to 10:1 on cursor reader-9b5a98d18f
20:05:18.975 [bookkeeper-ml-workers-OrderedExecutor-1-0] INFO  org.apache.bookkeeper.mledger.impl.ManagedCursorImpl - [public/default/persistent/block-schedule-activity] reset position to 10:1 before current read position 10:1 on cursor reader-9b5a98d18f
20:05:18.976 [bookkeeper-ml-workers-OrderedExecutor-1-0] INFO  org.apache.bookkeeper.mledger.impl.ManagedCursorImpl - [public/default/persistent/block-schedule-activity-reader-9b5a98d18f] Rewind from 10:1 to 10:1
20:05:18.976 [bookkeeper-ml-workers-OrderedExecutor-1-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://public/default/block-schedule-activity] There are no replicated subscriptions on the topic
20:05:18.976 [bookkeeper-ml-workers-OrderedExecutor-1-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://public/default/block-schedule-activity][reader-9b5a98d18f] Created new subscription for 1
20:05:18.976 [bookkeeper-ml-workers-OrderedExecutor-1-0] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:33082] Created subscription on topic persistent://public/default/block-schedule-activity / reader-9b5a98d18f
20:05:30.334 [SyncThread-7-1] INFO  org.apache.bookkeeper.bookie.EntryLogManagerBase - Creating a new entry log file because current active log channel has not initialized yet
20:05:30.339 [SyncThread-7-1] INFO  org.apache.bookkeeper.bookie.EntryLoggerAllocator - Created new entry log file data/standalone/bookkeeper0/current/0.log for logId 0.
20:05:30.342 [pool-5-thread-1] INFO  org.apache.bookkeeper.bookie.EntryLoggerAllocator - Created new entry log file data/standalone/bookkeeper0/current/1.log for logId 1.
20:05:40.046 [pulsar-web-69-5] INFO  org.eclipse.jetty.server.RequestLog - <IP_ADDRESS> - - [08/Jul/2020:20:05:40 +0000] "GET /admin/v2/persistent/public/functions/coordinate/stats?getPreciseBacklog=false HTTP/1.1" 200 1278 "-" "Pulsar-Java-v2.6.0" 1

Hi! I've just commited test for StartFromRollbackDuration and it works fine locally on 2.5.2, while fails on github actions, can you please check if it fails for you on 2.5.2?

I've just noticed one warning, which seems to have fixed the github action as well, I'll publish a version today with this fix for you to try

That's fantastic! Thanks for the quick turnaround!

I've just published 1.4.3, you are welcome to try it out

Unfortunately I am experiencing the same issue with 1.4.3. What version of Pulsar are you running? Could you potentially send me the logs from the point of creating the subscription to trying to read the next message so that I could compare them to mine?

Here are the logs from the integration tests I mentioned above, I'm using 2.5.2. Can you check 2.5.2 server as well? New pulsar releases often break things
2020-07-09T11:52:38.752627374Z 11:52:38.752 [pulsar-io-22-2] INFO  org.apache.pulsar.broker.service.ServerCnx - New connection from /<IP_ADDRESS>:38446
2020-07-09T11:52:38.779866279Z 11:52:38.779 [pulsar-io-22-1] INFO  org.apache.pulsar.broker.service.ServerCnx - New connection from /<IP_ADDRESS>:38448
2020-07-09T11:52:38.788102032Z 11:52:38.787 [pulsar-io-22-2] INFO  org.apache.pulsar.broker.service.ServerCnx - New connection from /<IP_ADDRESS>:41878
2020-07-09T11:52:38.804103929Z 11:52:38.803 [pulsar-io-22-2] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:41878][persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8] Creating producer. producerId=1
2020-07-09T11:52:38.804851643Z 11:52:38.804 [pulsar-ordered-OrderedExecutor-1-0] INFO  org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - Opening managed ledger public/retention/persistent/fb5bf45cdf02486997b0940e324b33d8
2020-07-09T11:52:38.805378252Z 11:52:38.805 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.bookkeeper.mledger.impl.MetaStoreImplZookeeper - Creating '/managed-ledgers/public/retention/persistent/fb5bf45cdf02486997b0940e324b33d8'
2020-07-09T11:52:38.808985719Z 11:52:38.808 [pulsar-ordered-OrderedExecutor-5-0-EventThread] INFO  org.apache.pulsar.zookeeper.ZooKeeperCache - [State:CONNECTED Timeout:30000 sessionid:0x1000001d93700d3 local:/<IP_ADDRESS>:34312 remoteserver:pulsar-zookeeper-0.pulsar-zookeeper/<IP_ADDRESS>:2181 lastZxid:2745681 xid:48445 sent:48445 recv:49896 queuedpkts:0 pendingresp:0 queuedevents:2] Received ZooKeeper watch event: WatchedEvent state:SyncConnected type:NodeCreated path:/managed-ledgers/public/retention/persistent/fb5bf45cdf02486997b0940e324b33d8
2020-07-09T11:52:38.80902262Z 11:52:38.808 [pulsar-ordered-OrderedExecutor-5-0-EventThread] INFO  org.apache.pulsar.zookeeper.ZooKeeperChildrenCache - [State:CONNECTED Timeout:30000 sessionid:0x1000001d93700d3 local:/<IP_ADDRESS>:34312 remoteserver:pulsar-zookeeper-0.pulsar-zookeeper/<IP_ADDRESS>:2181 lastZxid:2745681 xid:48445 sent:48445 recv:49896 queuedpkts:0 pendingresp:0 queuedevents:1] Received ZooKeeper watch event: WatchedEvent state:SyncConnected type:NodeChildrenChanged path:/managed-ledgers/public/retention/persistent
2020-07-09T11:52:38.809351026Z 11:52:38.809 [bookkeeper-ml-workers-OrderedExecutor-6-0] WARN  org.apache.bookkeeper.client.BookieWatcherImpl - New ensemble: [pulsar-bookkeeper-0.pulsar-bookkeeper.default.svc.cluster.local:3181] is not adhering to Placement Policy. quarantinedBookies: []
2020-07-09T11:52:38.809862735Z 11:52:38.809 [pulsar-ordered-OrderedExecutor-5-0-EventThread] INFO  org.apache.pulsar.zookeeper.ZooKeeperChildrenCache - reloadCache called in zookeeperChildrenCache for path /managed-ledgers/public/retention/persistent
2020-07-09T11:52:38.812714588Z 11:52:38.812 [pulsar-ordered-OrderedExecutor-5-0-EventThread] INFO  org.apache.bookkeeper.client.LedgerCreateOp - Ensemble: [pulsar-bookkeeper-0.pulsar-bookkeeper.default.svc.cluster.local:3181] for ledger: 141206
2020-07-09T11:52:38.812733789Z 11:52:38.812 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - [public/retention/persistent/fb5bf45cdf02486997b0940e324b33d8] Created ledger 141206
2020-07-09T11:52:38.814808727Z 11:52:38.814 [bookkeeper-ml-workers-OrderedExecutor-6-0] WARN  org.apache.pulsar.broker.service.AbstractTopic - [persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8] Error getting policies java.util.concurrent.CompletableFuture cannot be cast to org.apache.pulsar.common.policies.data.Policies and publish throttling will be disabled
2020-07-09T11:52:38.814823127Z 11:52:38.814 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.pulsar.broker.service.AbstractTopic - Disabling publish throttling for persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8
2020-07-09T11:52:38.814826027Z 11:52:38.814 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8] There are no replicated subscriptions on the topic
2020-07-09T11:52:38.814853528Z 11:52:38.814 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.pulsar.broker.service.BrokerService - Created topic persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8 - dedup is disabled
2020-07-09T11:52:38.81602145Z 11:52:38.815 [Thread-7954] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:41878] persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8 configured with schema false
2020-07-09T11:52:38.816287155Z 11:52:38.816 [Thread-7954] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:41878] Created new producer: Producer{topic=PersistentTopic{topic=persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8}, client=/<IP_ADDRESS>:41878, producerName=readerRollbackDurationProducer, producerId=1}
2020-07-09T11:52:38.894540205Z 11:52:38.894 [pulsar-io-22-2] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:41878] Subscribing on topic persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8 / reader-b2c55dc648
2020-07-09T11:52:38.894640107Z 11:52:38.894 [pulsar-io-22-2] INFO  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8][reader-b2c55dc648] Creating non-durable subscription at msg id -1:-1:-1:-1
2020-07-09T11:52:38.894647807Z 11:52:38.894 [pulsar-io-22-2] INFO  org.apache.bookkeeper.mledger.impl.NonDurableCursorImpl - [public/retention/persistent/fb5bf45cdf02486997b0940e324b33d8] Created non-durable cursor read-position=141206:0 mark-delete-position=141206:-1
2020-07-09T11:52:38.894732609Z 11:52:38.894 [pulsar-io-22-2] INFO  org.apache.bookkeeper.mledger.impl.ManagedLedgerImpl - [public/retention/persistent/fb5bf45cdf02486997b0940e324b33d8] Opened new cursor: NonDurableCursorImpl{ledger=public/retention/persistent/fb5bf45cdf02486997b0940e324b33d8, ackPos=141206:-1, readPos=141206:0}
2020-07-09T11:52:38.896680645Z 11:52:38.896 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentMessageFinder - [persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8][reader-b2c55dc648] Found position 141206:0 closest to provided timestamp<PHONE_NUMBER>894
2020-07-09T11:52:38.896710646Z 11:52:38.896 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentSubscription - [persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8][reader-b2c55dc648] Successfully disconnected consumers from subscription, proceeding with cursor reset
2020-07-09T11:52:38.896713846Z 11:52:38.896 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.bookkeeper.mledger.impl.ManagedCursorImpl - [public/retention/persistent/fb5bf45cdf02486997b0940e324b33d8] Initiate reset position to 141206:0 on cursor reader-b2c55dc648
2020-07-09T11:52:38.896716646Z 11:52:38.896 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.bookkeeper.mledger.impl.ManagedCursorImpl - [public/retention/persistent/fb5bf45cdf02486997b0940e324b33d8] reset position to 141206:0 before current read position 141206:0 on cursor reader-b2c55dc648
2020-07-09T11:52:38.896871349Z 11:52:38.896 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.bookkeeper.mledger.impl.ManagedCursorImpl - [public/retention/persistent/fb5bf45cdf02486997b0940e324b33d8-reader-b2c55dc648] Rewind from 141206:0 to 141206:0
2020-07-09T11:52:38.896895649Z 11:52:38.896 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8] There are no replicated subscriptions on the topic
2020-07-09T11:52:38.896898749Z 11:52:38.896 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.pulsar.broker.service.persistent.PersistentTopic - [persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8][reader-b2c55dc648] Created new subscription for 1
2020-07-09T11:52:38.896901549Z 11:52:38.896 [bookkeeper-ml-workers-OrderedExecutor-6-0] INFO  org.apache.pulsar.broker.service.ServerCnx - [/<IP_ADDRESS>:41878] Created subscription on topic persistent://public/retention/fb5bf45cdf02486997b0940e324b33d8 / reader-b2c55dc648
2020-07-09T11:52:39.018592305Z 11:52:39.016 [pulsar-io-22-2] INFO  org.apache.pulsar.broker.service.ServerCnx - Closed connection from /<IP_ADDRESS>:38446
2020-07-09T11:52:39.018613206Z 11:52:39.016 [pulsar-io-22-2] INFO  org.apache.pulsar.broker.service.ServerCnx - Closed connection from /<IP_ADDRESS>:41878
2020-07-09T11:52:39.018616406Z 11:52:39.017 [pulsar-io-22-1] INFO  org.apache.pulsar.broker.service.ServerCnx - Closed connection from /<IP_ADDRESS>:38448

I am getting the same behavior on 2.5.2. I see some logs of interest that are different between mine and yours, however:
Mine:
Found position 10:0 closest to provided timestamp<PHONE_NUMBER>935
reset position to 10:1 before current read position 10:1 on cursor reader-9b5a98d18f
Yours:
Found position 141206:0 closest to provided timestamp<PHONE_NUMBER>894
reset position to 141206:0 before current read position 141206:0 on cursor reader-b2c55dc648
For some reason on mine it is moving the cursor forward past the data I have yet HasMessageAvailableAsync() still returns true. Any ideas what could cause this?

I think the best you can do is to provide a full repro of the issue (just like in the integration test I did) so we could clearly understand all the conditions under which the issue happens.

I will try to put that together. Thanks!

@JarrodJ83 hey, where you able to make a repro?

Let me try to get back to it next week. I was able to repro but not consistently. Will try to dig into it a bit more.

Seems to be the same issue as https://github.com/apache/pulsar/issues/10515

Closing as parent issue is fixed


OpenSource : 5.17 Explain everything related to Fluentd

Description :

Explain everything related to Fluentd

Note :

Changes should be made inside the Open_Source/ directory & Opensource branch.
Put  your doc inside section-5
Issue only for GWOC'21 contributors.
Issue will be assigned on a first come first serve basis, 1 Issue  ==  1 PR == 1 Contributor
For Contributor please don't create the same issue again, before creating any issue do visit OpenSource Milestone
Doc name should same as the issue title

Must Follow : Contributing Guidelines & Code of Conduct before start Contributing.
Happy Contributing 🙌

Hey @Aryamanz29, I would like to work on this issue. Can you please assign me this issue?
Name:- Hassan Rahim
Batch:- Open-Source Batch-6
Type:- Documentation

Why @HassanRahim26  spamming ??

Work on assigned issue first  @HassanRahim26

Why @HassanRahim26 spamming ??
Okay and I'm sorry for spamming.

Work on assigned issue first @HassanRahim26

Okay :)

@Aryamanz29 Can I work on this?

@Asmit2952  Sure, Happy Learning 🎉🎉🎉


Support providing locale in options

Intl.DateTimeFormat accepts locale

This is now supported in v3.2.0 via the lang attribute. The element will find the nearest element that has a lang attribute and use that; so you can set it once on <html lang="..."> and <relative-time> should respect that!


Tests

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@8707baf). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main       #3   +/-   ##
=======================================
  Coverage        ?   80.00%
=======================================
  Files           ?        1
  Lines           ?        5
  Branches        ?        0
=======================================
  Hits            ?        4
  Misses          ?        1
  Partials        ?        0

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 8707baf...2f80ce9. Read the comment docs.


Batch Merkle Proof - override equals for matcher array equality

Required for https://github.com/ergoplatform/ergo/pull/1526
ScalaTest matchers do not properly evaluate Array contents as per https://github.com/scalatest/scalatest/issues/491.
Even when defining a custom Equality[BatchMerkleProof] trait, it does not get invoked when the target object is wrapped inside another container.  This was causing problems in the Ergo Node PoPow serialization tests,
As we are not using BatchMerkleProof inside any hash-based collections, I think we can avoid overriding hashcode as well?
Open to any alternative suggestions.

Based on zip definition:
def zip[A1 >: A, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Repr, (A1, B), That]): That = {
    val b = bf(repr)
    val these = this.iterator
    val those = that.iterator
    while (these.hasNext && those.hasNext)
      b += ((these.next(), those.next()))
    b.result()
}

that can be equal to this if indices and proofs are prefixes just, so not strict equality is really checked.
Please rewrite equals with comparing length of collections first, then doing by-index loops with per-element comparison (using .apply() from Seq), so avoiding collections re-allocations also


WBITDD Exercises: "Extract Contract Tests"

https://online-training.jbrains.ca/courses/8788/lectures/9607445

In the end, it depends on the business requirements. My judgement comes from assumptions I made about them:

The interface suggests to me that rollouts are multi-user and multi-feature (otherwise, why have feature and user as parameters?). Therefore, interference may occur.

I assume that a rollout with user interference or feature interference would be undesired (unless there's relations between features or users, which I don't see any indication for). Therefore, I don't want interference.

In conclusion, if interference may happen and I don't want it to (regardless of the implementation), then non-interference is a property of my contract.
Does that make sense to you?

On 10. Jul 2019, at 12:10, Yevhen Viktorov<EMAIL_ADDRESS>wrote:
@yevgenko commented on this pull request.
In spec/rollout_spec.rb:

 it { is_expected.to be_active('feature_name', double(id: 42)) }

end

context 'when feature is NOT rolled out for the user' do

 subject { rollout_except('feature_name', double(id: 42)) }

 it { is_expected.not_to be_active('feature_name', double(id: 42)) }

end
end

describe "feature as a String and user as an anything with ID attribute" do
it_behaves_like "User's Feature Checker" do

 def rollout(feature_name, user)

   Rollout.new(Redis.new).tap do |rollout|

     rollout.activate_user("not_the_#{feature_name}", user)

     rollout.activate_user(feature_name, user)

     rollout.activate_user(feature_name, double(id: user.id + 100))

"a feature" is not active for a user if "another feature" is activated for this user. I would say this is also an important aspect of the contract. Let's call it "non-interference of features".
May I ask you to elaborate on how you decide what is an important aspect of the contract? :)
Which criteria could I use to decide which details is important for the "contract tests" and which are just specific implementation details of particular supplier, i.e. "specific supplier tests"?
Thank you in advance!
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.


[Enhance] Quick return Discovery CollapsingToolbarLayout

THE CHAMP IS HERE
what
Quick returning the entire Discovery CollapsingToolbarLayout on scroll and stubbornly bringing back the elevation.
Removing the divider line with AlphaBehavior because it's no longer visually relevant when the Appbar is collapsed.
see

 Don't hide discovery header/search/activity bar while scrolling


Use email templates per environment

GovNotify has two versions: production (live) and staging. They both
define different sets of templates and API keys. We must use a correct
app for specific env.

One tweak to make, but lookin' good!


Add PHP Magic Number Detector

Added PHP Magic Number Detector - a library which helps you detect magic numbers in you codebase.

@povils If you rebase this then we can merge it, thanks.

Created a new one #1254


Implement orb publish subcommand

The publish subcommand enables a user to publish the latest sphere revision in their workspace to the public Noosphere name system, causing any follower spheres to be able to discover the changes and sync them.
This capability depends on #12

Per discussion surrounding Subconscious use cases we have decided that publish should just happen on every sync for now.


Framework for building Task-style applications with .NET Core

Related to https://github.com/SteeltoeOSS/Connectors/issues/19 - there may be a need for a framework for building task-style applications with .NET that don't fit the mold provided by GenericHost
Investigate if a solution already exists, frame out requirements if one does not

Steeltoe.Management.TaskCore shipped with 2.3.0-rc1


Add a new integration test for testing notHost authz scenario via pods

…
Add a new integration test for testing notHost authz scenario via pods
Please provide a description of this PR:

Hi @Adarsh-Prakash-Agarwal. Thanks for your PR.
I'm waiting for a istio member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.

@Adarsh-Prakash-Agarwal: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security_istio
a881603d2cc7a1639458ebaa2a008e71ffacbf50
link
true
/test integ-security

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Adarsh-Prakash-Agarwal: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security_istio
a881603d2cc7a1639458ebaa2a008e71ffacbf50
link
true
/test integ-security

integ-security-multicluster_istio
a881603d2cc7a1639458ebaa2a008e71ffacbf50
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

/retest

@Adarsh-Prakash-Agarwal: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
a881603d2cc7a1639458ebaa2a008e71ffacbf50
link
true
/test integ-security-multicluster

integ-security_istio
a881603d2cc7a1639458ebaa2a008e71ffacbf50
link
true
/test integ-security

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Adarsh-Prakash-Agarwal: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security_istio
a881603d2cc7a1639458ebaa2a008e71ffacbf50
link
true
/test integ-security

integ-security-multicluster_istio
a881603d2cc7a1639458ebaa2a008e71ffacbf50
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Adarsh-Prakash-Agarwal: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security_istio
a881603d2cc7a1639458ebaa2a008e71ffacbf50
link
true
/test integ-security

integ-security-multicluster_istio
a881603d2cc7a1639458ebaa2a008e71ffacbf50
link
true
/test integ-security-multicluster

integ-security-istiodremote_istio
3f83f13ca830a607f4baac3fbb8f01fbec8b8588
link
true
/test integ-security-istiodremote

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Adarsh-Prakash-Agarwal: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
a881603d2cc7a1639458ebaa2a008e71ffacbf50
link
true
/test integ-security-multicluster

integ-security-istiodremote_istio
3f83f13ca830a607f4baac3fbb8f01fbec8b8588
link
true
/test integ-security-istiodremote

integ-security_istio
3f83f13ca830a607f4baac3fbb8f01fbec8b8588
link
true
/test integ-security

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Adarsh-Prakash-Agarwal: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-istiodremote_istio
3f83f13ca830a607f4baac3fbb8f01fbec8b8588
link
true
/test integ-security-istiodremote

integ-security_istio
3f83f13ca830a607f4baac3fbb8f01fbec8b8588
link
true
/test integ-security

integ-security-multicluster_istio
3f83f13ca830a607f4baac3fbb8f01fbec8b8588
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Adarsh-Prakash-Agarwal: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
3f83f13ca830a607f4baac3fbb8f01fbec8b8588
link
true
/test integ-security-multicluster

integ-security_istio
8f0b35d705ca991a4b443d55ecd6986e7a7188b1
link
true
/test integ-security

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.

@Adarsh-Prakash-Agarwal: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security_istio
8f0b35d705ca991a4b443d55ecd6986e7a7188b1
link
true
/test integ-security

integ-security-multicluster_istio
8f0b35d705ca991a4b443d55ecd6986e7a7188b1
link
true
/test integ-security-multicluster

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here.


Improve the basic crew code

Discovered while working on https://github.com/cjcodeproj/medialibrary/issues/96
The current crew code works, but it's very simplistic.  It doesn't handle attributes like uncredited, and it lumps everyone into a single array regardless of any variation of the job.  It will be difficult to implement <music> support or <artDept> support without addressing the need to handle departments and jobs within departments.
This ticket is to put together a framework for a mechanism to handle the Music department of a film.

Commit:
https://github.com/cjcodeproj/medialibrary/pull/99/commits/8b7c1bdcfbbc2120164fc00e068fdc285ae03fdd

Closing notes:

The CrewAssignment class is meant to be an outer layer to handle element attributes like uncredited.  It works, but there should probably be two classes; one for crew assignments, and one for the multiple-cases where the assignment of a job role could be either a group, an entity, or a person.
This is barely scratching the surface of changes needed to the crew code.  The consideration for things like Departments will probably need to be covered.


Errors on undefined vars

I have a directory structure like this:
/app/css/base.less
/app/csss/header.less

In my base.less file, I have a handful of LESS variables. If I use said vars in header.less, I will get Parse error: variable @green is undefined on line xx when running recess on my folder like recess ./lib/app/css/*.less.
Sure, @green wasn't defined in the header.less-file, but in the previously read base.less-file. Shouldn't there be a way to keep track of already defined vars to prevent this error from occuring?
I figured out that I could use cat to join the files to avoid this, but I am sure that I am not the only one to have this issue, so probably someone smarter already has a better solution.
Thank you

:+1:


InvalidPipeArgument: 'Missing locale data for the locale "ar".' for pipe 'DatePipe'

Reproduction link
https://stackblitz.com/edit/ng-zorro-antd-start-yrjyey?file=src%2Fapp%2Fapp.component.html
Steps to reproduce
1-Set local provider for arabic
2-add date picker component
3-try to select date
What is expected?
date picker popup should show up
What is actually happening?
console error message showing : InvalidPipeArgument: 'Missing locale data for the locale "ar".' for pipe 'DatePipe'

Environment
Info

ng-zorro-antd
7.0.0-rc.3

Browser
chrome latest

NG-ZORRO date format is based on angular i18n by default, you should register ar:
import ar from '@angular/common/locales/ar';
registerLocaleData(ar);


Bump keb

Description
Changes proposed in this pull request:

bump keb

Related issue(s)

/retest


Errata in the Row Format blog

I'm reading the blog and confusing about the example of format of Byte Arrays which is shown as the following:
"Defenestration"      ┌───┬───┬───┬───┬───┬───┐
                      │02 │'D'│'e'│'f'│'e'│FF │
                      └───┼───┼───┼───┼───┼───┤
                          │'n'│'e'│'s'│'t'│FF │
                          ├───┼───┼───┼───┼───┤
                          │'r'│'a'│'t'│'r'│FF │
                          ├───┼───┼───┼───┼───┤
                          │'a'│'t'│'i'│'o'│FF │
                          ├───┼───┼───┼───┼───┤
                          │'n'│00 │00 │00 │17 │
                          └───┴───┴───┴───┴───┘

The length of remainder should be 0x01 instead of 0x17, right?

You are quite correct, filed https://github.com/apache/arrow-site/pull/270

Closed by https://github.com/apache/arrow-site/pull/270


[ERROR]: TypeError in M3Embedder.encode(): Missing required argument 'queries'

Is there an existing issue for this?

[X] I have searched the existing issues.

Issue
I'm encountering a TypeError when trying to use the M3Embedder to encode documents. Tried with pymilvus==2.4.0, 2.4.8, 2.4.9
Steps to Reproduce

Import the necessary modules
pip install --upgrade pymilvus
pip install "pymilvus[model]"

Create an M3Embedder object

Attempt to encode documents using encode_documents method

Code Sample
from pymilvus.model.hybrid import BGEM3EmbeddingFunction

bge_m3_ef = BGEM3EmbeddingFunction(
    model_name='BAAI/bge-m3',
    device='cpu',
    use_fp16=False
)

docs = ["Your document text here"]
docs_embeddings = bge_m3_ef.encode_documents(docs)

from pymilvus.model.hybrid import BGEM3EmbeddingFunction

bge_m3_ef = BGEM3EmbeddingFunction(
    model_name='BAAI/bge-m3', # Specify the model name
    device='cpu', # Specify the device to use, e.g., 'cpu' or 'cuda:0'
    use_fp16=False # Specify whether to use fp16. Set to `False` if `device` is `cpu`.
)

docs = [
    "Artificial intelligence was founded as an academic discipline in 1956.",
    "Alan Turing was the first person to conduct substantial research in AI.",
    "Born in Maida Vale, London, Turing was raised in southern England.",
]

docs_embeddings = bge_m3_ef.encode_documents(docs)

print("Embeddings:", docs_embeddings)
print("Dense document dim:", bge_m3_ef.dim["dense"], docs_embeddings["dense"][0].shape)
print("Sparse document dim:", bge_m3_ef.dim["sparse"], list(docs_embeddings["sparse"])[0].shape)

Same error, solved by pip intall FlagEmbedding==1.2.11


bug/UI inconsistencies

What does this implement/fix? Explain your changes.

AND-12764
AND-12773
AND-12769
AND-12767

Any relevant logs, error output, etc?
...
Any other comments?

On the CD view
Light & Dark theme:
— Appbar without subtitle
Title: CLOUD DRIVE ( so user is reassured that he/she is on the chosen destination)
Subtitle: Select destination
— The area comprising the buttons is grey instead of white.
— Buttons: text button (CANCEL) and raised button ( SAVE) since we came from the save scan view

This is being fixed in the following MR.
Where has this been tested?

Devices/Simulators:
Google Pixel 4

OS Version:
Android 11

Everything looks fine, just small feedback.
And what's the expected behavior of https://jira.developers.mega.co.nz/browse/AND-12773 ? Currently it's still not cancellable while saving.

And what's the expected behavior of https://jira.developers.mega.co.nz/browse/AND-12773 ? Currently it's still not cancellable while saving.

It has been replaced by a Progress Dialog which is not cancelable.

@Gnzlt I have changed the base branch because it should be develop like for any other PR.
@Piasy please review and approve again.

Hi @Gnzlt , the code changes are fine and other bugs are fixed except this one.
Follow the steps provided by Eve, the issue remains,could you please confirm? Cheers.

Hey @ash-mega, I've just checked and it works as expected. Please make sure you are using the latest version from this branch when building.
implementation 'com.github.meganz:AndroidDocumentScanner:96c16ff4b4'

https://user-images.githubusercontent.com/5398754/114859764-7a51f900-9deb-11eb-8273-3959a0af3825.mp4

Hi @Gnzlt , you're right, the issue is fixed. All good, approved.


Updating pbar and a couple other things

@vigji  opened a cleaner PR here, if the tests pass we can merge?

I've decided not to include pycln at the end because it would sometimes not work nicely with the other pre-commit checks and it was more bother than benefit...

It seems that the linting is failing, but both black and flake8 pass on my machine.
Any idea how to fix?

uhm, trying updating black? I was also having something funny with
black-ing of that file...
On Wed, 7 Oct 2020 at 13:54, Federico Claudi<EMAIL_ADDRESS>wrote:

It seems that the linting is failing, but both black and flake8 pass on my
machine.
Any idea how to fix?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/brainglobe/bg-atlasapi/pull/87#issuecomment-704883956,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACPLDVBQRC75AF3DAPK2JQTSJRJHBANCNFSM4SHF4HKQ
.

Yeah, I think it's a black version issue. We should probably update the version in  .pre-commit-config.yaml too.

Done, now black did some stuff to list_atlases, le's see if that fixed it

That fixed it, merging now.


Flickering/weird positioning issues

Describe the bug
When moving between spaces/opening windows/changing windows positions, the windows flicker and move a bit before staying in place. Video attached:
https://github.com/user-attachments/assets/de5cbda2-a94d-4fc4-b386-083f521b6c1e
Related issues you could find
I have 2 users on my machine that share the same configuration for both aerospace and sketchybar. As far as I can tell this issue only occurs for my work user, even though they share the same config files.
I will be happy to share any logs/other information that might help in solving this issue.
Thank you :)

Found the issue, I forgot I installed Amethyst a while ago and it kept running on boot for this user. The conflict between Amethyst and Aerospace is what caused the issue.
Sorry for this silly issue, hopefully it will help someone in the future.
You're great keep up the amazing work!


Error 500 when running on bamboo pipeline causing no test results uploaded

Description
So in the 3rd project ( I have already successfully implemented and configured the cypress xray plugin in two projects running both locally and on the Bamboo pipeline) I tried to configure the newest xray plugin version and it works locally.
However on the pipeline while the build goes green no test results are imported on the tickets. The error in the logs is following:

build	02-Aug-2024 13:44:10	│ Cypress Xray Plugin │ INFO    │ Importing Cucumber execution...
error	02-Aug-2024 13:44:10	│ Cypress Xray Plugin │ ERROR   │ Failed to import Cucumber execution: Request failed with status code 500
error	02-Aug-2024 13:44:10	│ Cypress Xray Plugin │ ERROR   │ Complete error logs have been written to: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/logs/importExecutionCucumberMultipartError.json
build	02-Aug-2024 13:44:20	│ Cypress Xray Plugin │ INFO    │ Waiting for https://devstack.group.com/jira to respond... (10 seconds)
build	02-Aug-2024 13:44:21	│ Cypress Xray Plugin │ INFO    │ Waiting for https://devstack.group.com/jira to respond... (10 seconds)
build	02-Aug-2024 13:44:21	│ Cypress Xray Plugin │ INFO    │ Waiting for https://devstack.group.com/jira to respond... (10 seconds)
build	02-Aug-2024 13:44:21	│ Cypress Xray Plugin │ INFO    │ Waiting for https://devstack.group.com/jira to respond... (10 seconds)
build	02-Aug-2024 13:44:21	│ Cypress Xray Plugin │ INFO    │ Waiting for https://devstack.group.com/jira to respond... (10 seconds)
build	02-Aug-2024 13:44:22	│ Cypress Xray Plugin │ INFO    │ Waiting for https://devstack.group.com/jira to respond... (10 seconds)
error	02-Aug-2024 13:44:24	│ Cypress Xray Plugin │ ERROR   │ Failed to edit issue: Request failed with status code 429
error	02-Aug-2024 13:44:24	│ Cypress Xray Plugin │ ERROR   │ Complete error logs have been written to: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/logs/editIssue.json
error	02-Aug-2024 13:44:24	│ Cypress Xray Plugin │ ERROR   │ Failed to edit issue: Request failed with status code 429
error	02-Aug-2024 13:44:24	│ Cypress Xray Plugin │ ERROR   │ Complete error logs have been written to: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/logs/editIssue.json
error	02-Aug-2024 13:44:24	│ Cypress Xray Plugin │ ERROR   │ Failed to edit issue: Request failed with status code 429
error	02-Aug-2024 13:44:24	│ Cypress Xray Plugin │ ERROR   │ Complete error logs have been written to: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/logs/editIssue.json
error	02-Aug-2024 13:44:24	│ Cypress Xray Plugin │ ERROR   │ Failed to edit issue: Request failed with status code 429
error	02-Aug-2024 13:44:24	│ Cypress Xray Plugin │ ERROR   │ Complete error logs have been written to: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/logs/editIssue.json
error	02-Aug-2024 13:44:26	│ Cypress Xray Plugin │ ERROR   │ Failed to search issues: Request failed with status code 429
error	02-Aug-2024 13:44:26	│ Cypress Xray Plugin │ ERROR   │ Complete error logs have been written to: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/logs/searchError.json
error	02-Aug-2024 13:44:28	│ Cypress Xray Plugin │ ERROR   │ Failed to edit issue: Request failed with status code 429
error	02-Aug-2024 13:44:28	│ Cypress Xray Plugin │ ERROR   │ Complete error logs have been written to: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/logs/editIssue.json
error	02-Aug-2024 13:44:28	│ Cypress Xray Plugin │ ERROR   │ Failed to edit issue: Request failed with status code 429
error	02-Aug-2024 13:44:28	│ Cypress Xray Plugin │ ERROR   │ Complete error logs have been written to: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/logs/editIssue.json
build	02-Aug-2024 13:44:38	│ Cypress Xray Plugin │ INFO    │ Waiting for https://devstack.group.com/jira to respond... (10 seconds)
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Parsing feature file: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/fscErstellen.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Parsing feature file: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/onlineCryptDetails.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Parsing feature file: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/onlineCryptSeite.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Parsing feature file: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/startSeite.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Parsing feature file: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/vinAnlegen.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Parsing feature file: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/vinMassenbearbeitung.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Parsing feature file: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/vinVerwaltung.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Parsing feature file: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/vinVerwDetails.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Importing feature file to Xray: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/vinVerwaltung.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Importing feature file to Xray: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/vinVerwDetails.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Importing feature file to Xray: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/vinMassenbearbeitung.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Importing feature file to Xray: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/onlineCryptDetails.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Importing feature file to Xray: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/startSeite.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Importing feature file to Xray: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/onlineCryptSeite.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Importing feature file to Xray: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/fscErstellen.generated.feature
build	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ INFO    │ Importing feature file to Xray: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/cypress/e2e/feature/generated_features/vinAnlegen.generated.feature
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │ Encountered problems during plugin execution!
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │ PROJ-1469
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │     Failed to set labels field to value: ["cypress_fsc"]
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │ PROJ-1446
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │     Failed to set labels field to value: ["cypress_fsc"]
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │ PROJ-1445
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │     Failed to set labels field to value: ["cypress_fsc"]
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │ PROJ-1442
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │     Failed to set labels field to value: ["cypress_fsc"]
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │ PROJ-1537
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │     Failed to set labels field to value: ["cypress_fsc"]
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │ PROJ-1571
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │     Failed to set labels field to value: ["cypress_fsc"]
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ WARNING │ No test results were uploaded
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ ERROR   │ Failed to import Cucumber execution results
error	02-Aug-2024 13:44:50	│ Cypress Xray Plugin │ ERROR   │ Failed to search for issues
build	02-Aug-2024 13:44:50
error	02-Aug-2024 13:44:50	tput: No value for $TERM and no -T specified

So it could be that its the Jira Token not correct. But if its not the case, what could be the causing of the error 500?
Cypress version
13.13.1
Plugin version
7.1.0
Jira/Xray type
Cloud
Configuration
No response
Acknowledgements

[X] I have made sure not to include any sensitive data in screenshots or obfuscated all occurrences.
[X] I have made sure not to include any sensitive data in descriptions or replaced all values with placeholders.
[X] I have made sure not to include any sensitive data in code snippets or replaced all values with placeholders.

Hi @alexviz7,
great to hear that this is your third project using the plugin already. It looks like you're encountering more the mentioned problem.

But if its not the case, what could be the causing of the error 500?

Do you have a way of accessing the actual response? The plugin tells you where it gets written to:

error 02-Aug-2024 13:44:10 │ Cypress Xray Plugin │ ERROR │ Complete error logs have been written to: /appl/bamboo-agent/xml-data/build-dir/PROJ-FSCUI-JOB1/proj-ui/logs/importExecutionCucumberMultipartError.json

The information there would help a lot (make sure to scan for sensitive data if you include it in a comment).

Failed to edit issue: Request failed with status code 429

The Jira API returns 429 Too Many Requests when hitting an internally defined rate limit. This may also be causing problems, currently the plugin does not retry such failed requests. I will need to fix this as soon as I can.

Failed to set labels field to value: ["cypress_fsc"]

Does this warning appear locally too? If not, the pipeline credentials might not have the necessary permissions to edit the labels of existing issues. Can you check if that's the case?

I could not find the json file on the pipeline, but I could reproduce the issue also locally with the add of the Jira execution issue and plan in the command.

I rerun the local test command, but without the JIRA_TEST_PLAN_ISSUE_KEY and the fail disapeared and the results were imported on Jira and on the Execution ticket. So there might be a bug on the Test plan?

The removal of the JIRA_TEST_PLAN_ISSUE_KEY in the pipeline command fixed the issue there too.

Hi @alexviz7
I have just released version 7.2.0 (changelog). The new version includes a rate limiting feature which should get rid of your 429 Too Many Requests errors.
Regarding the 500 Internal Server error: I have not found the time to investigate this yet, but it will be next on my list.

The 7.3.0 version plus the addition of:

http: {
  rateLimiting: {
    requestsPerSecond: 0.95,
  },
},

in the configuration, solved the issue. No error 400 or 500 found in the logs after the implementation.
Thank you very much.


Fixed made to make view box scaling and draw to bitmap work as it should.

view box scaling and draw to bitmap work as it should.

do you have test cases for that? how many different ones and do they all work?

I only have two test cases. The both work as expected. I even went a changed the the preserveAspectRatio value of them after getting it to work and realizing that I wanted xMinYMin and not xMidYMid.

@Fr33dan : I just tested this PR, and it seems to break a couple of tests:

coords-viewattr-01-b.svg
coords-viewattr-03-b.svg
__issue-279-01.svg

You can check these using the test runner application.
Also, if you have you own test images that cover functionality not covered by the existing W3C tests, it makes sense to add them together with the png. You can create the png with the SVGViewer application.

I am seeing that problem as well. I have been playing with it for a couple of hours and can't find a solution that works for my usage and gets those tests working.

Also, if you have you own test images that cover functionality not covered by the existing W3C tests, it makes sense to add them together with the png. You can create the png with the SVGViewer application.

I was easily able to add my image to the test program but it doesn't do any good since the problem only occurs when I'm drawing the image at a size that isn't the original image size.
At this point if my usage has brought a problem with the library to light or if I'm using it incorrectly. Either way I'm done fighting with it today. I'll be back on it tomorrow.

Okay well the problem was a combination my SVG files not being matching what I had in my head and an me incorrectly using the library.
Once I figured out what I was doing wrong I did have to make some changes to the library to be able to get the functionality I want. That is being able to draw my scaled image directly to a graphics object.
My primary goal is to be able to print the image with the other data in a report. The new draw method works great for rendering on the screen graphics object in OnPaint (I don't understand why everyone is drawing to a PNG to then draw the PNG, seems inefficient). When I try to render to the graphics object in my PrintPage event however it always draws it at at the origin. I haven't given up yet but I've hit a wall for the moment.

Ok, this version looks certainly better :)
A hint  (as you are new to git) - try git rebase -i to squash your commits (you have to use git push --force afterwards, which is OK as long as nobody has been using your code).
As to rendering - I am rendering to a memory stream to draw a bitmap, no PNG needed there, though I'm quite new to .NET myself, so I'm not the best advisor. Good luck with your project!

This pull request is a mess and no longer does what it originally say it does. I rebased from the latest version and made my changes their so I'm closing this request.


StairsPlacementRule fix & cursor position to Placement Rules

Hi! This pull requests add cursor X, Y & Z positions into placement rule blockPlace method (as floats).
It also fixes the block update and the half property calculation on StairsPlacementRule.

Oh I didn't mean to start a review lol. Just comments

Oh I didn't mean to start a review lol. Just comments

You want me to add comments to my code or you wanted to comment ? 😂

Oh I didn't mean to start a review lol. Just comments

You want me to add comments to my code or you wanted to comment ? 😂

I wanted comment xD

I think we can just convert the floats to double anyways.
Cursor pos is used either to spawn entities at a specific location (like fireworks), or determine a block data; doubles are accurate enough.

Le 11 avr. 2022 à 13:57, Mrln @.***> a écrit :
@Marlonzockt commented on this pull request.
In src/main/java/net/minestom/server/instance/block/rule/BlockPlacementRule.java https://github.com/Minestom/Minestom/pull/893#discussion_r847245396:

/**

* Called when the block is placed.

*

* @param instance        the instance of the block

* @param block           the block placed

* @param blockFace       the block face

* @param blockPosition   the block position

* @param pl              the player who placed the block

* @param cursorX  the cursor X position

* @param cursorY  the cursor Y position

* @param cursorZ  the cursor Z position

* @return the block to place<EMAIL_ADDRESS>null} to cancel

*/

public @Nullable Block @.*** Instance instance,

                                          @NotNull Block block, @NotNull BlockFace blockFace, @NotNull Point blockPosition,

                                          @NotNull Player pl, float cursorX, float cursorY, float cursorZ) {

you're right, I didn't notice those were floats, one solution would be to keep it and the other would be to just use a Point that uses doubles (similar to how there is no int Point and double is used always)
—
Reply to this email directly, view it on GitHub https://github.com/Minestom/Minestom/pull/893#discussion_r847245396, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ2KZ2NNBFCJ7KG35VC74W3VEQHSJANCNFSM5S53SB6A.
You are receiving this because you authored the thread.

I think we can just convert the floats to double anyways.
Cursor pos is used either to spawn entities at a specific location (like fireworks), or determine a block data; doubles are accurate enough.

Le 11 avr. 2022 à 13:57, Mrln @.***> a écrit :
@Marlonzockt commented on this pull request.
In src/main/java/net/minestom/server/instance/block/rule/BlockPlacementRule.java https://github.com/Minestom/Minestom/pull/893#discussion_r847245396:

/**

* Called when the block is placed.

*

* @param instance        the instance of the block

* @param block           the block placed

* @param blockFace       the block face

* @param blockPosition   the block position

* @param pl              the player who placed the block

* @param cursorX  the cursor X position

* @param cursorY  the cursor Y position

* @param cursorZ  the cursor Z position

* @return the block to place<EMAIL_ADDRESS>null} to cancel

*/

public @Nullable Block @.*** Instance instance,

                                          @NotNull Block block, @NotNull BlockFace blockFace, @NotNull Point blockPosition,

                                          @NotNull Player pl, float cursorX, float cursorY, float cursorZ) {

you're right, I didn't notice those were floats, one solution would be to keep it and the other would be to just use a Point that uses doubles (similar to how there is no int Point and double is used always)
—
Reply to this email directly, view it on GitHub https://github.com/Minestom/Minestom/pull/893#discussion_r847245396, or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ2KZ2NNBFCJ7KG35VC74W3VEQHSJANCNFSM5S53SB6A.
You are receiving this because you authored the thread.

Doubles are more accurate then floats

I think we can just convert the floats to double anyways.
Cursor pos is used either to spawn entities at a specific location (like fireworks), or determine a block data; doubles are accurate enough.

Le 11 avr. 2022 à 13:57, Mrln @.***> a écrit :
@Marlonzockt commented on this pull request.
In src/main/java/net/minestom/server/instance/block/rule/BlockPlacementRule.java #893 (comment):

/**

* Called when the block is placed.

*

* @param instance        the instance of the block

* @param block           the block placed

* @param blockFace       the block face

* @param blockPosition   the block position

* @param pl              the player who placed the block

* @param cursorX  the cursor X position

* @param cursorY  the cursor Y position

* @param cursorZ  the cursor Z position

* @return the block to place<EMAIL_ADDRESS>null} to cancel

*/

public @nullable Block @.*** Instance instance,

                                          @NotNull Block block, @NotNull BlockFace blockFace, @NotNull Point blockPosition,

                                          @NotNull Player pl, float cursorX, float cursorY, float cursorZ) {

you're right, I didn't notice those were floats, one solution would be to keep it and the other would be to just use a Point that uses doubles (similar to how there is no int Point and double is used always)
—
Reply to this email directly, view it on GitHub #893 (comment), or unsubscribe https://github.com/notifications/unsubscribe-auth/AQ2KZ2NNBFCJ7KG35VC74W3VEQHSJANCNFSM5S53SB6A.
You are receiving this because you authored the thread.

Doubles are more accurate then floats

Wait, what ?  Aren't doubles X.XX and float X.XX...XX ? WTF have I learned in school...?🤔

@luzzardik Doubles are more accurate, but more importantly, that's what our apis use.
We did used to use floats however now we use doubles, so you should be using a Point here as per Gazdag's original pr.

Hi guys ! Sorry for necro-ing a bit my PR, since #443 was added, maybe mine is not useful anymore ? I don't really remember what I've did...


Show shortlink on Non-orphan visits list.

Summary
When visiting the Non-orphan visits view, I can't find which shortlink was the one visited. I would like to have an entry at the table showing which shortlink was visited. Here's a suggestion of what this could look like:

This could potentially be showing the labels or even just a link to the shortlink page.

Thanks for your work on this!
I've updated, but still can't see the shortlink in non-orphan-visits/list. Do I need to do anything to enable it?

Server: v4.1.0 - Client: v4.1.1

I've updated, but still can't see the shortlink in non-orphan-visits/list

This issue is still not implemented 😅
It's just unblocked now, because the backend now returns all required info.

Oh, I'd misunderstood. Thanks for explaining!

I'm going to treat this as a bug, as in "the server is returning the information, but the client is using the wrong logic to determine when to show it, resulting in the info not being displayed"

This is now implemented. I just need to fix one last bug, and then I'll release the fixes with shlink-web-client 4.1.2

I have just released shlink-web-client 4.1.2, which includes this.
As long as the server is Shlink >=4.1, all kinds of visits will now show the visited URL column in the visits table.

Works great. Thanks so much for your efforts!


When writing the file metadata or the header, it returns the file itself. Should we just return 0 or 1?

I agree that we don't need to return anything. We probably just need to make sure the file is closed after the metadata/header is written. I'm not sure why I originally had this returning a file.
Returning a 0 or 1 is an old-school way from C/C++ of saying whether or not a program executed successfully (0) or failed for some reason (1).
https://www.geeksforgeeks.org/return-0-vs-return-1-in-c/
https://stackoverflow.com/questions/22604196/difference-between-return-1-return-0-return-1-and-exit
https://stackoverflow.com/questions/9549342/should-i-return-0-or-1-for-successful-function
I'm always used to my functions returning something, even a None. I'm just thinking if something else fails in the code after we do that one error.
If you see the proper pythonic way to put in the error throw, then go for it.

Ah, this is all good to know! I didn't realize that about with!
Those error statements look good. Whenever you feel comfortable that have enough error checking in adding the metadata and header, feel free to close the issue. I'm good with the functionality...but that's because I wrote something that made sense to me. :)   If you think I've missed something, let me know.


Please do something with android-sdk installation issues

Use case
[arch] [command-line] [NOT android studio]
I would love to do
yay -S flutter

And just being abel to use emulators out of the box, but instead, I have to fight errors like
PANIC: Broken AVD system path. Check your ANDROID_SDK_ROOT value [/opt/android-sdk]!

PANIC: Cannot find AVD system path. Please define ANDROID_SDK_ROOT

And similar issues with JAVA_HOME.
Obvious permission and jdk version mess-up on my computer.
But it is a clean installation of flutter, android-sdk, according to the great book.
Countless resources to make the whole setup working...
https://stackoverflow.com/questions/52573901/flutter-command-line-emulator-device-not-found
https://stackoverflow.com/questions/39645178/panic-broken-avd-system-path-check-your-android-sdk-root-value
https://www.rockyourcode.com/how-to-get-flutter-and-android-working-on-arch-linux/
https://gist.github.com/mrk-han/66ac1a724456cadf1c93f4218c6060ae
At lest 30% of my time doing android development is about troubleshooting emulators to be abel to make some screenshots for tablet or being abel to make an apk...
Proposal
Just include everything to be abel to use flutter as a fully functional tool for android development.
avdmanager, and others cli tools are a pain to use and set up.
My quick soultion
In the end, I think I will use docker to achive my goals with something like
https://github.com/matsp/docker-flutter
to avoid this hassle all together.

Hello @BenceBakos. Flutter uses the Android SDK (usually installed via Android Studio) for Android development. It's not possible to include all that in an installation of Flutter since if you need to configure anther AVD, you'd do it from Android Studio or to manage the installed SDKs too. If you want to install the command line tools only, you can download that separately from https://developer.android.com/studio.
If you are having troubles getting the installation working, please follow the official guide for installing on linux. Closing this issue as this is working as expected. Thank you.


getPodUrlAll should parse the https://www.w3.org/ns/pim/space# predicate

Search terms you've used

pod
https
Feature suggestion
getPodUrlAll should parse the https://www.w3.org/ns/pim/space# predicate

getPodUrlAll()  function doesn't parse the https://www.w3.org/ns/pim/space# predicate, but
does parse the http://www.w3.org/ns/pim/space# predicate.
Expected functionality/enhancement
getPodUrlAll()  function finds the https://www.w3.org/ns/pim/space# predicate, as well as the the http://www.w3.org/ns/pim/space# predicate.

Actual functionality/enhancement

Currently, getPodUrlAll()  function finds the http://www.w3.org/ns/pim/space# predicate, but doesn't find the https://www.w3.org/ns/pim/space# predicate.
Use Cases

Self-hosters can use either prefix (https or http) to get the pod urls.
Additional information

http and https URIs are not interchangeable in RDF as URIs are compared using an exact string match.
The solid spec defines pim as  http://www.w3.org/ns/pim/space# and so pim:storage is explicitly defined as http://www.w3.org/ns/pim/space#storage and so implementations MUST use that URI for the pim:storage predicate in order to correctly implement the spec.
Also note that when you dereference https://www.w3.org/ns/pim/space# the document you retrieve correctly uses http in its definition of pim:storage. In particular
$ npx rdf-dereference https://www.w3.org/ns/pim/space# | grep "#storage"
{"subject":"http://www.w3.org/ns/pim/space#storage","predicate":"http://www.w3.org/1999/02/22-rdf-syntax-ns#type","object":"http://www.w3.org/1999/02/22-rdf-syntax-ns#Property","graph":""},
{"subject":"http://www.w3.org/ns/pim/space#storage","predicate":"http://www.w3.org/2000/01/rdf-schema#comment","object":"\"The storage in which this workspace is, or the storage which\ncontains this resource, or a storage available to this agent to use.\"","graph":""},
{"subject":"http://www.w3.org/ns/pim/space#storage","predicate":"http://www.w3.org/2000/01/rdf-schema#label","object":"\"storage\"","graph":""},
{"subject":"http://www.w3.org/ns/pim/space#storage","predicate":"http://www.w3.org/2000/01/rdf-schema#range","object":"http://www.w3.org/ns/pim/space#Storage","graph":""},

I encourage you to look inspect the document downloaded when you visit https://www.w3.org/ns/pim/space# to see why this is the case. I'm also happy to answer follow up questions :)


set json-object-type to alist, as expected by direnv--summarise-changes

Using emacs-direnv with lean-mode, I want to run direnv-update-environment before a particular function runs by doing
(advice-add 'lean-setup-rootdir :before #'direnv-update-environment)

but that function is called in a scope where json-object-type is set to 'plist, which breaks direnv--summarise-changes.

mutable global state 🙄 what can go wrong…
thanks, merged!


vxsat in high bit like interrupt in cause.

Fortunately fcsr does not have this issue:
Bits 31–8 of the fcsr are reserved for other standard extensions, including the “L” standard extension for decimal floating-point. If these extensions are not present, implementations shall gnore writes to these bits and supply a zero value when read. Standard software should preserve the contents of these bits.

3.9. Vector Control and Status Register vcsr The vxrm and vxsat separate CSRs can also be accessed via fields in the vector control and status CSR, vcsr.
As we are ponder the topic of reworking registers #
Perhaps vxsat should be in high order bit like TT (inrterrupt bit is) and reduce our csr load.

Current location in vcsr  allows rounding mode and saturation status to be set using one CSRI instruction.


Add some starter kit material & update resource with typo fixes and clarifications

Session 1 and 2 starting to take shape
A parking area for session 4 and beyond

Nice work Katja!!


Can I use huggingface's transformers instead of megatron?

Of course, you can.
Although we do not have a plug-in style module to adapt huggingface, you can use our ‘FMoETransformerMLP’ module to replace the MLP module in any transformer model implementation.


Negative Test Report

For more information see the link below.
https://github.com/ballerina-platform/ballerina-standard-library/blob/main/docs/library-development-process.md#negative-test-report

Closing this as this is no longer valid.


Integrating Fluent2 Divider and TableViewCell into main.

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
This change merges the Fluent2 version of the TableViewCell into main with support for design tokens.
For reference, the changes in the fluent2-tokens branch associated with the TableViewCell are listed below:

#1056
#1044
#1002
#998
#978
#833
#803

Verification

Clean build of dependent partner apps (devmain)
Test scenarios exercised through the Demo app.

Pull request checklist
This PR has considered:

[x] Light and Dark appearances
[x] iOS supported versions (all major versions greater than or equal current target deployment version)
[ ] VoiceOver and Keyboard Accessibility
[ ] Internationalization and Right to Left layouts
[ ] Different resolutions (1x, 2x, 3x)
[x] Size classes and window sizes (iPhone vs iPad, notched devices, multitasking, different window sizes, etc)
[ ] iPad Pointer interaction
[x] SwiftUI consumption (validation or new demo scenarios needed)
[x] Objective-C exposure (provide it only if needed)

Microsoft Reviewers: Open in CodeFlow

Thanks in advance for adding in #1062 :)

can we actually do the before and after page of the tableviewcell in ipad splitmode elevated colors which seems to be where majority of the bug is? the current screenshot is bit hard to tell the before and after per light/dark theme


Unconditional weights / training tips?

Has anyone had success training the unconditional generation model? Any checkpoints or idea of how many epochs it takes to converge?

I trained an nc model to ~150k steps and definitely heard what sounded like the faint murmur of my dataset… but nothing beyond that, really. The log reported an infinitesimal loss, but I don't think I believe it. In any case, just wanted to let you know there are others out here trying to get this working!

thanks! will probably not be trying nc waveRNN then, due to limited budget. But I'll post here if I do.


Create CONTRIBUTING.md

For Issue #82

Not merging yet because I'll need to make a url change once PR #98 is approved.


Provide browser support information

It's known that some browsers (e.g. IE11) don't fully support flexbox and/or support an earlier specification of flexbox.
While playing this game, it would be nice to know, at any point, what the browser support is for each flexbox feature. If there's a particular feature that needs a workaround, or performs differently, it would be nice to know.
Conversely... if all of these basic flexbox features are fully supported, even in IE11, then at least there should be a message indicating that too!
thx

sounds good


Draft: Replace textarea

Have to fix some bugs still - putting up so I don't lose it while I keep noodling.

Preview: https://virtual-assistant-pr-virtual-assistant-308.surge.sh

Closing since we went with a contenteditable div instead.


Smart contract architecture

[x] multiple batches validation
[x] fork sorage
[x] prominent batch selection
[x] header chain determination

Jobs done!


Contribute to Our Open Source Project by Adding Sources to the project

Contribute to Our Open Source Project
🌟 Welcome to our open-source MVC C# ASP.NET project! 🌟
We're thrilled to invite you to contribute to our project and make it even more valuable to the community. In this issue, we're specifically looking for contributions to the Views/Sources/Sources.cshtml file, where we curate a list of various learning resources related to web development, computer science, and programming.
How You Can Contribute
1. Add New Sources
You can contribute by adding new online learning sources to our existing list. These sources can include websites, courses, tutorials, and any other valuable resources that can help individuals learn and enhance their skills in web development, computer science, and programming.
2. Update Existing Information
If you come across outdated information or broken links in our existing list, please update them to ensure the accuracy and usability of our resource collection.
Getting Started

Fork our repository: Link to Repository

Create a new branch for your contributions:
git checkout -b add-sources

Edit the Views/Sources/Sources.cshtml file to add or update the learning sources.

Commit your changes:
git commit -m "Added/Updated learning sources"

Push your changes to your fork:
git push origin add-sources

Create a pull request to merge your changes into the main project repository.

Contributor Guidelines

Make sure the added sources are relevant and useful for individuals interested in web development and computer science.
Provide a clear and concise description of each source.
Check and validate all links to ensure they are functional.
Follow the existing formatting and structure in the Sources.cshtml file for consistency.

Why Contribute?
By contributing to this project, you'll be helping others discover valuable resources for their learning journey. Your contributions will make this open-source project an even more valuable asset for the community of developers and learners.
Thank you for considering contributing to our project! Your efforts will be greatly appreciated, and together we can build a robust collection of learning sources.
If you have any questions or need assistance with the contribution process, feel free to reach out to us. Let's learn and grow together!

Hi, I think I can contribute by adding my learning resources.

Hi, I think I can contribute by adding my learning resources.

You're more than welcome to! it would be greatly appreciated.

Hello, I think I can contribute by adding  learning resources in the Sources.cshtml file.
@DoonOnthon

Hey, I think I can contribute to this project by adding some significant learning resources.

Hello, @DoonOnthon, given the tremendous growth of AI/ML in today's world, I believe I can contribute by sharing resources in this field.

Hey, the sources section could be a lot better. Can I start working on this and will pr on this?

@DoonOnthon I believe I can contribute to this project by adding some significant learning resources.

Everyone is more than welcome to add sources, at this point in time there's no "state of done". Therefor it will be continuous, feel free to add them!

Hey, I want to add a few contributions to this project.

Hey, I want to add a few contributions to this project.

Hi there, I made a PR, could you please check and merge soon?

Made a PR, please review it and merge soon. Thank you.

Hey y'all, I've added some more resources to the sources file. Please feel free to add/edit anything in it. Thanks

Hey,
I think I can contribute to this project by adding some significant learning resources. I’ve forked the repository and will be working on these additions.
You can check out my progress here: https://github.com/PATILYASHH/SorcererCoderNet.
Thanks!
Best,
Yash Patil

PATILYASHH
Hey,

I've added some significant learning resources as discussed. Please review the changes in this pull request.


Support React Router v6

Support React Router v6: #31
What are the changes?

Compatible with Route Object: In React Router v6, Route Object can be used instead of configuration.
Intelligent route sorting: Since React Router does not export the sorting algorithm, this is a simple copy and modification of it.
Added some interface definitions.
Removed matchOptions.

How to migrate
Change Route Config to Route Object:
// before:
const routeConfig = [
  {
    path: '/posts',
    component: Posts,
    breadcrumb: 'Posts',
  },
  {
    path: '/posts/:id',
    component: Post,
    breadcrumb: 'Post',
  },
];

// after:
const routes = [
  {
    path: 'posts',
    element: <Posts />,
    breadcrumb: 'Posts',
    children: [
      {
        path: ':id',
        element: <Post />,
        breadcrumb: 'Post',
      },
    ],
  },
];

Think about how to deal with matchOptions, In React Router v6, we have no concept of strict or exact matching, so you can only configure caseSensitive in the route object:
const routes = [
  {
    path: 'posts',
    element: <Posts />,
    breadcrumb: 'Posts',
    caseSensitive: true,
  },
];

Try to use nested relative paths, otherwise your route-objects may be difficult to maintain:
const routes = [
  {
    path: 'posts',
    element: <PostsLayout />,
    children: [
      {
        index: true,
        element: <Posts />,
        breadcrumb: 'Posts',
      },
      {
        path: ':id',
        element: <Post />,
        breadcrumb: 'Post',
      },
    ],
  },
];

match.url has been replaced by match.pathname, see matchPath, It is also recommended to just use match.params and match.pathname:
const UserBreadcrumb = ({ match }) => {
  const { params } = match;
  return <div>{params.id}</div>;
};

There may be other things that need attention, but I’m sorry I can only think of these for the time being.
Code Review
This change may be relatively large, and some things may require more careful consideration. For formal use, more detailed testing may be required.
Regarding why matchRoutes is not used, I mainly considered the following two points:

Although matchRoutes now returns the original route object, But in its function signature, it only returns RouteObject.
For cases where routes are not passed in, special handling is required

this is fantastic, thanks @Grapedge ! I'll review it today, but on initial glance it looks great

Coverage remained the same at 100.0% when pulling 874277ee14dd978e4a797d8575b41775e46e9704 on Grapedge:react-router-v6 into ee9c360f0e6bb39d76f617a3b29d97954b9f05d3 on icd2k3:master.

but my only concern is that we'll have to keep a close eye on if they change that strategy in later versions

Yes, I read the source code of react router, and I don't think we have a stable way to do this for the time being.

could you also bump version in package.json to 3.0.0?

I have changed the version to 3.0.0 😊


Remove -auto from the names of the projects

create projects as userx, not userx-auto.

Hey @RHRolun , I started this in this branch: https://github.com/rh-aiservices-bu/parasol-insurance/tree/fix/remove-auto
I'm just waiting for an env to boot up to be able to confirm it can work.
You're more familiar with the code. I only found 2 places with -auto in them.
Anyways, mostly telling you I started the work on this so we don't dupe the effort.

done in #30 . Confirmed that it seemed to work ok.


Issue 80 - Fix to allow container deployment

This fix allows the user to set --local_directory to a folder outside the container.
This then allows Dask to write files for a container deployment.
e.g.
libertem-server --local_directory=$home/dask-user-space

Hi @ozej8y, thank you for contributing and welcome to LiberTEM! 👍  :-)

Thanks, merged!


Add meta (counts) to GET /posts #1387

Created includeMeta query parameter (set default to false) that if true sends a response within an envelope. The envelope format is:
{
"meta":
{ "total": 3478, "filtered": 456, "count": 6, "skip": 450, "limit": 10 }
},
"data": [{}, {}, {}, {}, {}, {}]
}
What does this pull request aim to achieve? 💯
Please be concise and link any related issue(s):

[x] I have checked that no one else is working on similar changes.
[x] I have read the latest README and understand the development workflow.
[x] The name of this branch is: feature/<branch_name>, or hotfix/<branch_name> if this is a hotfix. The branch is created in a cloned version of this repo, not a forked repo.
[x] This branch is rebased/merged with the latest staging (or the latest production if it is a hotfix).
[x] There are no merge conflicts.
[x] There are no console warnings and errors.
[x] On the right hand side of this PR, I have linked the appropriate issue(s) under "Issues" and added a project progress under "Projects".

Thanks @lmpeixoto  for this work.
I realize now I've probably complicated the issue a bit with all the various options, but it wasn't quite clear until now.
Looking back at the Laravel example I cited, the meta-total-count is the total minus filters in query params (skip, limit, others...) not the total in the database (e.g. in our case we would never want to count meta-filter-count). meta-filtered-count is the total minus skip/limit params only.
Really for our pagination use case right now we only care about what the result would be if there was no skip or limit (but all other query params & backend-only filters were applied) - which is like meta-filtered-count in example above - but I'm not sure if that's what I want to call it.
If you look at https://jsonapi.org/examples/ - there is no standard for the sub-elements of meta so it's up to us:

Note: Putting a property like "totalPages" in "meta" can be a convenient way to indicate to clients the total number of pages in a collection (as opposed to the "last" link, which simply gives the URI of the last page). However, all "meta" values are implementation-specific, so you can call this member whatever you like ("total", "count", etc.) or not use it at all.

For our use case now all we need is the one count (with other filters but minus skip/limit) - we can add more later. But I don't like calling it "filtered" like above.
Personally, I doubt, because we are following social media model, we'll ever show something like "Filtered 400 of 5989 results". So maybe just call it "total" or "totalCount" for pagination use case? Thoughts @robinv85 , @Naraujo13
E.g.
"meta": {
  "total": 346
},
"data": [{},{},{},{},{}]

Anyways @lmpeixoto  once we make a decision you can make modifications - but chime in if you have you're own ideas.

Also my suggestion of including limit/skip/count in meta, I think that was more than we need since the frontend knows about them already.

Thanks for your review Josh. Commited the changes.

I've gone ahead and merged - @OzkanAbdullahoglu you can use this for the FE pagination & @CamilaArias the chatbot team can use this as well.
We can make improvements with a plugin/middleware later


Support multiple configurations of the same adapter

For example --
config :eva, Eva.Robot,
  adapter: Hedwig.Adapters.Slack,
  name: "Ava",
  aka: "/",
  token: "",
  # for now, you can invite your bot to a channel in slack and it will join
  # automatically
  rooms: [],
  responders: [
    {Hedwig.Responders.Help, []},
    {Hedwig.Responders.GreatSuccess, []},
    {Hedwig.Responders.ShipIt, []}
  ]

config :eva, Eva.Robot,
  adapter: Hedwig.Adapters.Slack,
  name: "Eva",
  aka: "/",
    # fill in the appropriate API token for your bot
  token: "",
  # for now, you can invite your bot to a channel in slack and it will join
  # automatically
  rooms: [],
  responders: [
    {Hedwig.Responders.Help, []},
    {Hedwig.Responders.GreatSuccess, []},
    {Hedwig.Responders.ShipIt, []}
  ]

Hi @enilsen16,
Hedwig already supports dynamic configuration at runtime. Check out this section in the README. I believe the only thing that is compile-time is the adapter. So you can simply pass in a name: "Eva" into the options and it will be merged with the what's in your config.
What you are suggesting is just not possible.


Inconsistent result in unit test for "aps_randomized_cv_crossval" in classification

Describe the bug
When the unit tests are run, one test gives inconsistent results (for the "aps_randomized_cv_crossval" method in the classification).
To Reproduce
Steps to reproduce the behavior:

Run the test_toy_dataset_predictions test several times in mapie/tests/test_classification.py.

Expected behavior
Consistent results when tests are run several times.

Hello everyone,
@thibaultcordier I confirm the comment made by @BaptisteCalot above.
Running test_toy_dataset_predictions with strategy = "aps_randomized_cv_crossval" 10k times is not giving me any error.
See the test function I created for that here :https://github.com/Sialcant/MAPIE-issue-377/blob/c633e2b71acef5d9d0b1f77f085a19a5e8e32b6e/mapie/tests/test_classification.py#L1461
Should I do something differently?
Best,

Hello @BaptisteCalot @BenoitGaston
Your feedback seems to be good and experience shows that the problem has not reappeared.
I am closing the issue accordingly.
Best,


[DPEDE-1720] Investigate add transfer-list in modal component

https://ctl.atlassian.net/browse/DPEDE-1720

https://github.com/CenturyLink/Chi/pull/1204/commits/aa0729358a58ee0b858d1d981e7bd432b3ab498c
Problems:

The combination with columnCustomization in Toolbar doesn't work well. So, I commented the columnCustomization button.
Cannot hide modal by clicking on "Cancel" button because it is part of TransferList component.
In columnCustomization when you make changes but don't click on "Save" button, your changes are not saved. In TransferList every change is saved.


kexploitdFailed error when building from source

I built the project with make, got the TIPA file, installed on a device but got this error:

I looks like the exploit doesn't work for me. Any idea how to fix it?

I was using an old ldid.


Holograms causing server crash

Seems to crash upon teleporting to a player - This was also my crash report: https://pastebin.com/18vjCxmx
2019-07-31-13.log.gz

I have the exact same problem. My server works for about 1 - 3 minutes and then crashes randomly.

Discussion moved to #71, try upgrading to Holograms version 2.9 or above and reporting whether the problem persists


Datepicker should use Date as state model, (local-now) for determining today

When determining the value of today for highlighting purposes, we should use (local-now) so that it matches the end user's current date as opposed to the current UTC date.
The underlying model used to store the current value of the Datepicker should be a Date object since the widget does not actually capture both a Date and a Time. This then allows the component user to further manipulate as needed without worrying about time zone conversions or other issues.

@osbert thanks for the PR. I have had a look at this and I still have some reservations, although I'm more then happy to admit I'm missing something subtle. I'm still doing some more experiments but I wanted to acknowledge your submission and give some preliminary feedback.

While I agree with your argument that the widget only deals with dates, not time, even goog.date.Date (as do its counterparts DateTime & UtcDateTime) is based on milliseconds since epoch and it simply forces the time to zero, but still seems to have a notion of timezone. e.g. if you do (.getTimezoneOffset (js/goog.date.Date.)) what do you get ? I get -600 I am based in Queensland, Australia so GMT+1000 (AEST)
I have experimented with (now) used in datepicker.cljs line 201 for :today which in turn is defined in cljs-time.core L247-L250 in terms of (goog.date.UtcDateTime.) My tests so far suggest that although this is a goog.date.UtcDateTime that the date/time is indeed based on users local date & time (although I have only tested this on my Ubuntu/Linux machine) If this is the case and since all datepicker underlying dates model, minimum, maximum & today are goog.date.UtcDateTime instances, I'm struggling to see how today could be out. Perhaps some sample code that demonstrates the issue might help me have an aha moment.
I understand that depending on context, consumers may optionally want to deal with a localised date instance after selection, I would suggest to convert any selected date back to a local one e.g. in your registered handler:
:on-change (fn [goog-utc] (cljs-time.coerce/to-local-date goog-utc))
We have found this area of timezone based dates is where dragons live, particularly if you try and serialise and transfer dates across timezones or simply to a server which may be in a different timezone, if you are not careful a date created in one is not the same elsewhere and you may want it to be a common currency. Don't even get me started if you further consider daylight saving DST which is not represented in the timezone offsets.

I appreciate the timely response. I will try to explain the exact problem a little bit better. Note that there is technically nothing wrong with the code nor the reasoning which is why I understand your concern completely. However, as a result it is somewhat difficult for me to illustrate using a fully automated test but here's my best effort given time available. I'll continue thinking about a good way to express this in a test but hopefully this helps.
(ns re-com.test.datepicker-test
  (:require-macros [cemerick.cljs.test :refer (is are deftest with-test run-tests testing test-var)])
  (:require [cemerick.cljs.test]
            [reagent.core :as reagent]
            [re-com.datepicker :as datepicker]
            [cljs-time.core :as t]
            [cljs-time.coerce :as tc]
            [cljs-time.format :as tf]))

(deftest test-datepicker-today-highlight
  ;; The highlight is controlled by whether or not (=date date today)
  ;; return true, in which case it adds the style "today".
  ;;
  ;; In this check, date refers to the calendar date being rendered,
  ;; which is generated by iterating the underlying model in
  ;; increments of days, and of type goog.date.UtcDateTime.
  ;;
  ;; To populate "today", we call (now) in (datepicker/configure)
  ;; which also returns UtcDateTime. This is all exactly as you
  ;; stated.
  ;;
  ;; Let's assume that the user is in Australia (+10 offset).
  ;; This means that when it is currently local time 0700, in GMT it
  ;; is 2100 the previous day.
  ;;
  ;; To give a full concrete example, this means that at local time
  ;; 2015-05-11 0700 (+10), we'll have the following:
  ;;
  ;;   today => (now) => 2015-05-10 21:00 (UTC)
  ;;
  ;; Since we're looking for (date= today date), this predicate will
  ;; return true when date is 2015-05-10 00:00 (UTC), and thus
  ;; highlight 2015-05-10 even though the user local time is currently
  ;; 2015-05-11.
  ;;
  (let [today (goog.date.UtcDateTime. 2015 5 10 21 0)] ;; 2015-05-10 21:00 (UTC)

    ;; This illustrates that it will highlight 2015-05-10. For all
    ;; intents and purposes, this is actually correct behavior. These
    ;; invariants should actually always be true in this code.
    (is (datepicker/=date today (goog.date.UtcDateTime. 2015 5 10)))
    (is (not (datepicker/=date today (goog.date.UtcDateTime. 2015 5 11))))

    ;; However, the actual problem is that for the user, highlighting
    ;; 2015-05-10 is incorrect as it is currently 2015-05-11 for the
    ;; Australian user.
    ))

In summary, the calendar rendered currently accurately reflects the UTC date/time since that's the underlying model, but the user is likely to be confused unless they are also in UTC date/time. Once you change the value for :today to be local time, to avoid further confusion you'll likely end up wanting to change the underlying model to be a local Date. Or at least, that's the path I ended up going down.

@osbert Thanks again, and thanks for persisting. Further experiments show that (goog.dateUtcDateTime.) does not localise the date/time, perhaps my bad interpretation of the docs in the first place coupled with quirks of chrome debug tools printing localised time etc. Either way, I now fully understand how depending on your timezone and time of day today could be wrong. I've setup a branch where I'm experimenting with normalising today based on local date time but maintaining all datepicker underlying model & minimum & maximum models still utc based (mainly because of other already mentioned concerns) If my experiment proves successful, I will push the branch for further tests. Do you think this approach will be acceptable ?
BTW, I have found a way to test on Linux where I can simulate a timezone for a given browser session, which helps in testing.

@osbert I have now pushed the branch. https://github.com/Day8/re-com/tree/feature/today-fix
I have tested it simulating New Zealnd timeszone as it passed midnight 30 min ago pushing their local time to the 13th and today now correctly highlighted, while our local GMT+1000 timezone still shows as 12th. Would you be please confirm this now solves the issue and we'll merge.

The other main reason to want to have a local date is because local
time midnight is likely the base offset for further calculations if
you also want to incorporate a time input field.
In the case where we use UTC as the model, if we select 2015-05-10, what we'll
get back is the following UTC date-time:
_> (cljs-time.format/unparse (:rfc822 cljs-time.format/formatters) (cljs-time.core/date-time 2015 5 10))
_=> "Sun, 10 May 2015 00:00:00 Z"

Note that this represents UTC midnight, not local midnight. If I
simultaneously wish to ask the user for a time and then apply that
offset, I will need to first find midnight at local time anyways.
Let's say the user enters 730 in the corresponding time input widget. Apply an offset of 7h 30mins would take me to "Sun, 10 May 2015 07:30:00 Z" but the user actually intended for the date-time pair to result in "Sun, 10 May 2015 07:30:00 -07:00", or whatever their local time zone is.

I'd argue that it is significantly less error-prone and more accurate to say that when the user is entering a Date, they are intending to specify the equivalent of local time midnight.
Consider the following operations (assuming user offset -2):
1a) User specifies date (2015-05-10)
2a) Date is stored in model (2015-05-10 0000 UTC) / (2015-05-09 2200 -2)
3a) Date is rendered (2015-05-10 0000 UTC) / (2015-05-09 2200 -2)
In the general case, people will attempt to render to local date-time since they assume users don't care or will be confused by UTC.  But if you attempt to render this date by converting to local date it will show the wrong date. This is extremely counter-intuitive and confusing.

@osbert I apologise for my tardy response. We are going to have a look at what's involved to support either. e.g. in your use case you might provide a goog.date.DateTime as the :model in which case you would expect a goog.date.DateTime back, alternatively you might provide a goog.date.UtcDateTime Would that work for you ?

I think that's fine. I seem to recall from my brief experimentation that simply relaxing the constraint in goog-date? to check if it was a goog.Date.DateTime worked and was sufficient for my purposes. Thanks for the reply.
If you don't mind, please also let me know about your current use case and how you are able to stay in UTC end-to-end, I'm very curious if  there is an approach I'm missing. Thanks.

@osbert Apologies once again, we have only just managed to get back to reviewing outstanding re-com issues with the view to do a 0.6.0 release soon. Back in may I addressed the issue of the datepicker  incorrectly displaying today's date for users please see this commit Can you confirm this addresses the problem ? I realise this does not alter the underlying model which I agree with the benefit of hindsight could have been plain goog.date.Date We were driven by the defaults in cljs-time and our own use case which suited UTC. But afaict, really the only thing visible for users is the the today highlight (now fixed, pending your confirmation), and any consuming code (:on-change handler) can optionally convert the result back to local or any other timezone if needed. Let me know if you agree and we can close this.

Closing.


OpenGL Texture Corruption

Description

Capturing frames using OpenGL result in corrupted texture. This does not happen on other backends.
Steps to reproduce
So far I can reproduce this in 2 application: LOVE and Eastward. Here's how to reproduce it in LOVE:

Get LOVE framework, latest stable version (11.4 as of writing)
Clone one of my game livesim2
Run LOVE through RenderDoc with command-line parameters set to location of my game at step 2.
Capture the main menu.
Inspect the capture, texture is corrupted.

What I see:

Result in RenderDoc:

Below is attached capture for LOVE and Eastward.
rdc_corrupt_texture_opengl.zip

Environment

RenderDoc version: 1.21 98a93408c6df02502f9e7dbbc35fa234c8da024e
Operating System: Windows 10 (10.0.19044.2006)
Graphics API: OpenGL
Driver version from love.graphics.getRendererInfo(): OpenGL 3.3.14830 Core Profile Context <IP_ADDRESS> 27.20.21020.4003 ATI Technologies Inc. AMD Radeon(TM) Graphics

I also try to use latest nightly build of LOVE using OpenGL renderer with same corruption result. However, this does not happen on the recently-merged Vulkan renderer, so this issue is isolated to OpenGL.

Update: This seems to affects AMD GPUs, (so far) integrated ones. I tested it in my gaming laptop with both RTX 3060 and integrated AMD Radeon graphics and I can reproduce it when using integrated GPU.
Environment of the gaming laptop

RenderDoc version: 1.21 98a93408c6df02502f9e7dbbc35fa234c8da024e
Operating System: Windows 11 (10.0.22000.978)
Graphics API: OpenGL
Driver version from love.graphics.getRendererInfo(): OpenGL 3.3.14761 Core Profile Context 21.30.22 30.0.13022.3 ATI Technologies Inc. AMD Radeon(TM) Graphics

Looks like this has been fixed in RenderDoc 1.22.


Adds distributed, semi-durable bindings to lattice.

Also adds support for selectable wasm engines
Closes #83, #65 , and #57

Test suites pass locally but aren't working in the GH pipeline. Likely a concurrency issue, I'll try and set the tests to single-threaded.

Just a few comments, https://wascc.dev/tutorials/first-actor/create_host/ (and maybe a few other places in the dev site) will just need a little s/bind_actor/set_binding/

Absolutely, there's going to be a number of changes that will need to be made to the dev since once 0.13.0 is released. Keep in mind that master != release

Also closes #77