Alluxio master starts with failure at first time in Kubernetes

Alluxio Version:
Alluxio-2.0.0
Describe the bug
When deploying Alluxio cluster in K8s, the master server failed with following error message:
2019-10-09 15:51:01,836 ERROR AlluxioMaster - Fatal error: Failed to create master process
java.lang.RuntimeException: java.lang.RuntimeException: Journal alluxio.master.journal.raft.RaftJournalSystem@35cabb2a has not been formatted!
	at alluxio.master.AlluxioMasterProcess.<init>(AlluxioMasterProcess.java:117)
	at alluxio.master.FaultTolerantAlluxioMasterProcess.<init>(FaultTolerantAlluxioMasterProcess.java:58)
	at alluxio.master.AlluxioMasterProcess$Factory.create(AlluxioMasterProcess.java:378)
	at alluxio.master.AlluxioMaster.main(AlluxioMaster.java:45)
Caused by: java.lang.RuntimeException: Journal alluxio.master.journal.raft.RaftJournalSystem@35cabb2a has not been formatted!

To Reproduce
Following steps described in https://docs.alluxio.io/os/user/stable/en/deploy/Running-Alluxio-On-Kubernetes.html to start Alluxio cluster in HA mode with embedded journal setups.
Run command to check log messages
kubectl logs -f alluxio-master-0 -c alluxio-master

Expected behavior
The Alluxio master should be formatted at the very first time if it has not been formatted. The option "--no-format" should apply if pod is restarted.
Urgency
High priority.
Additional context
Add any other context about the problem here.

@madanadit @jiacheliu3 can you double check if this issue has been fixed recently in master (2.1.0-SNAPSHOT) branch?

@apc999 The issue has been fixed in 2.1.0-SNAPSHOT. There are template YAML files that users can start from for multi-master environment using embedded journal. And the instructions for setting this up is documentated in the updated in the docs.
@dxiangaka If you look at Alluxio template embedded journal this provides a working set of YAML templates to start from. --no-format is applied to Alluxio master so this is resolved.
Specific to 2.0.0, i think the documentation for 2.0 says Embedded Journal was not supported?

I think this issue can be closed because it's fixed in the latest version. What do you think @madanadit ?

@madanadit can you point out the fix here and I could close this ticket. In case @dxiangaka still see the issue with nightly build, we could re-open the issue.

Close this Issue as confirmed since this has been addressed in 2.1.0-SNAPSHOT and @dxiangaka has a workaround too.


How Can I Display All ESLint Errors and Warnings for All Files in VSCode?

I use this extension for VSCode, and it displays all the warnings and errors when I open a file.
However, is there a way to display all the errors and warnings across all the files in the project as identified by ESLint? I don't want to open each file individually to check for errors.
Also, using the terminal to copy file paths and locate them in the VSCode editor is not efficient.

The extension has support to lint all files using a task. See the setting: eslint.lintTask.enable. It still requires to run the task manually since ESLint itlself has no support for file watching.


Update test_mongodb_client.py

Codecov Report
Base: 98.59% // Head: 98.66% // Increases project coverage by +0.06% :tada:

Coverage data is based on head (01934a8) compared to base (f09f254).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #418      +/-   ##
==========================================
+ Coverage   98.59%   98.66%   +0.06%
==========================================
  Files         136      137       +1
  Lines        6637     6719      +82
==========================================
+ Hits         6544     6629      +85
+ Misses         93       90       -3

Impacted Files
Coverage Δ

ted_sws/core/model/manifestation.py
100.00% <100.00%> (ø)

ted_sws/core/model/transform.py
100.00% <100.00%> (ø)

ted_sws/mapping_suite_processor/__init__.py
100.00% <100.00%> (ø)

...r/entrypoints/cli/cmd_conceptual_mapping_differ.py
100.00% <100.00%> (ø)

...te_processor/services/conceptual_mapping_differ.py
100.00% <100.00%> (ø)

...te_processor/services/conceptual_mapping_reader.py
100.00% <100.00%> (ø)

...idator/services/entity_deduplication_validation.py
100.00% <100.00%> (ø)

...ices/create_notice_collection_materialised_view.py
100.00% <0.00%> (+13.04%)
:arrow_up:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


⚠ Bofrost.be has degraded performance

In 73335a7, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 1835 ms

Resolved: Bofrost.be performance has improved in 0497033.


bump bwc version to 2.8.0

Description
Bump bwc version to 2.8.0 as latest version of 2.x is 2.8.0 now
Issues Resolved
[List any issues this PR will resolve]
Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

depends on https://github.com/opensearch-project/notifications/pull/657

changes moved to #663


Issue 52 support format avro

The PR contains the Avro support.
Configure a list of avro schema per column to be able to read any version of data.
To read avro data, we must have the schema which with we write the data.
fix #52

Hi,
I've just rebased the latest changes.

I've just rebased the latest changes

Hi @igorbernstein2 ,
Do yuo know if it is possible to get a review on this PR?
Thanks

Any change to get a review?

Hi @mutianf
Any chance to get a review?

Hi,
I've just rebased main.
Any chance to get a review?

Hi @igorbernstein2,
Any chance to get a review?

Any chance to get a review to add this feature?

Any chance to get a review to add this feature?

Any chance to get a review to add this feature?

Hi @triplequark , @igorbernstein2
Is there anything missing to get a review?

Is there any chance to get a review?
My weekly message

Hi @mutianf
Is there any chance to get a review?

Hi @googleapis/api-bigtable @triplequark @igorbernstein2
Any chance to get a review?

Hi @bhshkh,
Any change to get a review?


Bad time scale

Fix typo
Sliding window is presented with an example expressed in seconds but the time scale is in minutes. It is confusing.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 63c64692-7533-cc84-251d-1994aab6a8fb
Version Independent ID: 10d6faea-cf4a-1e28-2dd6-76146128e1ce
Content: Introduction to Azure Stream Analytics windowing functions
Content Source: articles/stream-analytics/stream-analytics-window-functions.md
Service: stream-analytics
GitHub Login: @JSeb225
Microsoft Alias: jeanb

@Edward-fdev, Thanks for the feedback! We are taking a look into this and will get back to you soon.

@Edward-fdev Thanks for bringing this to our attention. Your feedback  has been shared with the content owner for further review.
@JSeb225 Could you please update the image with from minute to seconds?

I have updated the image. Please allow a few hours for the changes to go live.
#please-close


The "Getting involved" documentation needs updating to point to calico-containers and other calico-container related repos

From @robbrockbank on February 8, 2016 19:23
The involved.rst document currently points at calico-docker.

The calico-docker repo has been renamed to calico-containers
There are a number of other calico-container related repos that we should also point to
calico-mesos
calico-kubernetes
calico-cni
libcalico
libnetwork-plugin

etc.
Copied from original issue: projectcalico/felix#976

From @fasaxc on September 1, 2016 12:29
@eepyaich I think you'll get to close this one with the new docs integration

@robbrockbank  can you clarify this a bit more?


Support Composer-managed WP installations

From https://github.com/szepeviktor/small-project/blob/de32f4b232967f43d0d9532febc97f81ba8ec6ad/plugin-name.php#L45-L48

Thanks!

Thanks!

Thank you.

Thank you.


chore: update readme for api keys

Note: added version bump for the sake of creating a fresh 0.7.9 unstructured image.


I cant' find where weight_preds are loaded into T2I model

https://github.com/KohakuBlueleaf/HyperKohaku/blob/765131323c31a19c2ea18ff1d2a1f505a5f7abfa/train_hyperdreambooth.py#L1050
I cant' find where weight_preds are loaded into T2I model for the reconstruction error

The forward propagation of the hypernetwork will update the internal matrices of liloras based on the predicted weights. Then, during the forward propagation of Unet, the forward function of liloras will be called to obtain the 'model_pred' for reconstruction loss.
Additionally, the 'weight_preds' of the hypernetwork are used for weight loss.

The forward propagation of the hypernetwork will update the internal matrices of liloras based on the predicted weights. Then, during the forward propagation of Unet (where the forward function of liloras will also be called), the 'model_pred' is obtained for reconstruction loss.
Additionally, the 'weight_preds' of the hypernetwork are used for weight loss.

If you just use img_loss, the hypernetwork won't update. Did I do something else wrong?

@chenxinhua DId you change update_weights() ?


Request to re-open issue #5735

Proposal
We've added a couple comments to the original issue requesting that it be re-opened.
Currently, if prometheus cannot successfully complete a remote_write operation, it will log an error. However, if using a proxy via the proxy_url configuration option, prometheus will NOT log an error.
As we log separate out from metrics and have prometheus running on VM's (not containers) via systemd, it is not always practical to monitor the internal metrics for prometheus (and not always possible if it cannot complete a remote_write operation). Being able to easily trouble-shoot issues by looking at logs is basic systems administration and prometheus is completely inconsistent in how and what it logs and why.
We would like to see issue #5735  re-opened for these reasons. Thanks.

Closing this as I have reopened #5735.


Google Cloud Infrastructure Pricing Update 2022-10-01

Check new Google pricing on October 1, 2022 and adjust calculation.

Google Blog: https://cloud.google.com/blog/products/infrastructure/updates-to-google-clouds-infrastructure-pricing
Cloud Storage Pricing Announcements
Load Balancing pricing Announcements
Network Intelligence Center pricing Announcements
PD Pricing Announcements

No change so far. Keep watching...

https://github.com/Cyclenerd/google-cloud-pricing-cost-calculator/commit/d0809b065e32d15733ffca183b0ce2c838dd46d9


Logs Not Appearing in Firebase Crashlytics with Kermit in Kotlin Multiplatform Using GitLive Firebase SDK

I’m using the GitLive Firebase SDK in a Kotlin Multiplatform project and have integrated Kermit for logging. The logs, including exceptions, appear in Logcat, but they are not being sent to Firebase Crashlytics. I’m using CrashlyticsLogWriter() to route logs from Kermit to Crashlytics in Android-specific code.
build.gradle in shared:
sourceSets {
        commonMain.dependencies {
            api(libs.gitlive.firebase.kotlin.crashlytics)
            implementation("co.touchlab:kermit:2.0.4")
            implementation("co.touchlab:kermit-crashlytics:2.0.4")
            implementation("co.touchlab.crashkios:crashlytics:0.9.0")
        }
    }

androidMain:
class MainActivity : ComponentActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)

        SharedLogger.initializeCrashlyticsLogging()
        SharedLogger.logInfo("In the onCreate()")

        setContent {
            App()
        }
    }
}

SharedLogger in commonMain

object SharedLogger {
    val logger: Logger = Logger.withTag("SharedLogger")

    @OptIn(ExperimentalKermitApi::class)
    fun initializeCrashlyticsLogging() {
        Logger.addLogWriter(CrashlyticsLogWriter())
        logInfo("In the init in shared")
    }

    fun logError(exception: Throwable, message: String) {
        logger.e(exception) { message }
    }

    fun triggerEveryTypeOfSeverityLog() {
        logger.v { "This is a verbose log message" }
        logger.d { "This is a debug log message" }
        logger.i { "This is an info log message" }
        logger.w { "This is a warning log message" }
        logger.e { "This is an error log message" }
        logger.a { "This is an assert log message" }
    }

    fun logInfo(message: String) {
        logger.i { message }
    }
}

I am trying to call triggerCrashOutOfBounds() which is in shared/commonMain, from the Android UI:
fun triggerCrashOutOfBounds() {
    val myList = listOf(1, 2, 3)
    SharedLogger.logInfo("Calling triggerCrashOutOfBounds().")
    try {
        val element = myList[5]
    } catch (e: IndexOutOfBoundsException) {
        SharedLogger.logError(e, "Out of bounds error occurred.")

        throw e
    }
}

In the Crashlytics page in Firebase I can see only:
1. Info: (SharedLogger) In the onCreate()

2. Info: (SharedLogger) In the init in shared

The logs from the triggerCrashOutOfBounds are completely lost. Any ideas? (iOS can send all the logs to Crashlytics, even those from triggerCrashOutOfBounds )

There may be an issue with the way GitLive handles initializing Crashlytics and it's interaction with Kermit. Can you provide a minimal reproducing project for us to take a look at?

Here is a link to the demo project: https://github.com/mhristev/KMP-Kermit-Crashlytics

Here is a link to the demo app: https://github.com/mhristev/KMP-Kermit-Crashlytics

I ran the app locally. I changed the app id and created a crashlytics app. Tried the crash button on Android and got the attached log.
That is what you're expecting to see, just to confirm? Are you missing statements always or is it intermittent?

Yes, this is what I expect to see. However, in the Crashlytics app, I consistently only get the first three logs from the bottom, with the top two always missing. I’ve tried over 100 times, but it’s always the same result.

We were able to reproduce the issue on a different machine. When running on Android 14, all five logs appear in the Crashlytics app. However, when switching to Android 15, only the three logs shown in the screenshot above are displayed. Did you test your crashes on Android 14 or Android 15?

Closing for now. I'm adding it to our internal backlog for somebody to look into if there's time. However, Kermit is just a passthrough for log calls, as is CrashKiOS underneath it. There's nothing in either that would be different between different versions of Android, or at least, nothing that either is doing intentionally:
Kermit
The log message winds up in the log function, which calls into CrashlyticsCallsActual.
class CrashlyticsLogWriter(
    // Etc
) : LogWriter() {

    private val crashlyticsCalls: CrashlyticsCalls = CrashlyticsCallsActual()

    override fun log(severity: Severity, message: String, tag: String, throwable: Throwable?) {
        crashlyticsCalls.logMessage(
            messageStringFormatter.formatMessage(severity, Tag(tag), Message(message))
        )
        // Etc
    }
}

CrashKiOS
CrashlyticsCallsActual directly calls into Crashlytics.
actual class CrashlyticsCallsActual : CrashlyticsCalls {
    override fun logMessage(message: String) {
        FirebaseCrashlytics.getInstance().log(message)
    }
    //Etc
}

My guess is you're seeing some kind of timing issue in Crashlytics. However, Kermit doesn't do anything batched or async. When you finally throw the exception, those log calls would have completed.


DSET-4080 fix recovery from error state

Problem

when DataSet returns Retryable error we try to retry with timeout. Once this time is over we stay in error mode since last error is never overriden, and new event handling is rejected.
Solution
keep timestamp of last error and consider it while evaluate last error timestamp in order to recover from error mode.

Codecov Report

Merging #36 (52a73ca) into main (7259c39) will decrease coverage by 0.36%.
The diff coverage is 50.00%.

:exclamation: Current head 52a73ca differs from pull request most recent head 9f83f11. Consider uploading reports for the commit 9f83f11 to get more accurate results

@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   74.44%   74.07%   -0.36%
==========================================
  Files          10       10
  Lines        1377     1377
==========================================
- Hits         1025     1020       -5
- Misses        292      296       +4
- Partials       60       61       +1

Impacted Files
Coverage Δ

pkg/client/client.go
85.68% <50.00%> (-1.17%)
:arrow_down:

@tomaz-s1 I have more e2e test like unit (blackbox) test using waiting etc. but that test fails on pre commit hook despite the fact that in idea its passes. So after all I decided to mock the state (whitebox test), its also much faster.

@zdaratom Yeah, it actually looks like we don't have a setup for such tests in this repo, but we have it in the otel one (https://github.com/scalyr/dataset-exporter-opentelemetry/tree/main/dummy-server), so we should add an end to end test like this in that repo once the PR is merged.


Add field to mark a model as being active (as in deployed and in use)

Sometimes, Releases could be broken, or deprecated, or removed. We still want to keep these in the model provenance DB, but we would like to be able to see if a model is either active or inactive (or some other words that note that the model is in use or not).
Could we add a field in the database, active (@aidanheerdegen, how's this sound?) that denotes whether a model is currently released and in use?
We would also have to figure out how to edit the database if a model is deprecated or removed, preferably via a workflow (@CodeGat can help creating this) - can there be an 'API' (similar to how https://github.com/ACCESS-NRI/build-cd/blob/main/tools/release_provenance/test_release_data.json is used by https://github.com/ACCESS-NRI/build-cd/blob/main/tools/release_provenance/save_release.py) that shows what model needs to have their active status modified.

I reckon a status field. Options for status might be

Status
Meaning

active
Released and actively available

retracted
Released and subsequently retracted due to errors

deprecated
Deprecated release. Not supported may be deleted

eol
End of life. No longer supported

deleted
End of life release deleted

But happy to discuss. I'm not sure if we'd ever delete something just because it was old. Seems a bit ... dystopian. But it could happen I guess.

I guess deprecated might be redundant if eol is there.

That's a great idea, having multiple statuses.
Deleted could be like some kind of cataclysmic scenario where we don't have the spack.lock and can't reliably recreate it...I dunno :D

Yeah deleted could be a system shift or some other reason to dump a bunch of old stuff, like reaching some hard limit that is imposed at a later date.

We could have a prerelease status (as you suggested @CodeGat) if we captured all builds. I don't see a huge problem with it. It would increase the DB size by 5-10 fold, but it won't be a massive DB. The only question is the utility, and it would likely be pretty niche.

Closed via https://github.com/ACCESS-NRI/build-cd/pull/108


Query events by subscription filter

Subscriptions have a filter on them, which is applied to events as they appear in the event stream to determine if they match the subscription.
This filter is spelt with a JSON semantic that is completely unique to subscriptions:
https://hyperledger.github.io/firefly/head/reference/types/subscription.html#subscriptionfilter
So if you wanted to browse the history of messages that would be delivered to your subscription, and look at where the offset of your subscription is up to in that stream, it's a really hard thing to do!
You have to construct an API query from scratch, that you believe is accurate compared to what FireFly is constructing internally in Go code.
So, this enhancement request is to instead provide a simple API GET endpoint underneath a subscription to ask FireFly to do that query-building for you.
e.g. you get a collection API that's pre-filtered by all the filtering that's part of your SubscriptionFilter, and when you do queries on top of it (like id=xyz or created=>...) you're adding an additional set of filters on top of the filters already in place.

The wrinkle here, is that SubscriptionFilter applies filters as a Regular Expression, and currently we don't have support for regular expression filters in our DB semantics.
So I think the most straight forward and determinsitic way to build this feature is:

Run the DB query without skip and limit from the API call (use our own internal skip + limit)
Use the existing go code from the filtering that is done in the subscription to post-filter these
Loop on the skip + limit in our internal loop, until we've fulfilled the skip + limit on the external

PR for this now open at https://github.com/hyperledger/firefly/pull/1452

This has been merged and completed


How to enable rbac option?

Support Question
I have a need to install helm chart in such way:
helm install --set rbac.create=true kube-ops-view stable/kube-ops-view

If there's no rbac.create option then this chart doesn't work. It's just producing blank screen when opining url :) With this command it does work.

Try this:

module my-app {
  source  = "terraform-module/release/helm"
  version = "2.6.0"

  namespace  = "app-namespace"
  repository =  https://charts.helm.sh/stable"

  app = {
    name          = "kube-ops-view"
    version       = "x.x.x"
    chart         = "kube-ops-view"
    force_update  = true
    wait          = false
    recreate_pods = false
    deploy        = 1
  }

  set = [
    {
      name  = "rbac.create"
      value = "true"
    },
  ]
}

Try this:

module my-app {
  source  = "terraform-module/release/helm"
  version = "2.6.0"

  namespace  = "app-namespace"
  repository =  https://charts.helm.sh/stable"

  app = {
    name          = "kube-ops-view"
    version       = "x.x.x"
    chart         = "kube-ops-view"
    force_update  = true
    wait          = false
    recreate_pods = false
    deploy        = 1
  }

  set = [
    {
      name  = "rbac.create"
      value = "true"
    },
  ]
}


K8SSAND-1534 ⁃ Create events from SystemLogger

What is missing?
If we have issues in the running pod which are visible from the Cassandra logs, we could create events directly from the SystemLogger which we deploy as a sidecar to every Cassandra pod. This ensures that the log processing will scale no matter how many nodes the cluster has (assuming low amount of events are generated).
We could still output the logs to the stdin also, with possibility of more features for filtering. However, I don't think we should necessary implement these features ourselves (the parsing language, tailing etc), instead we could use a logshipper such as Vector (but not necessarily Vector) and then modify the rules to be available in a ConfigMap if user wishes to further use its capabilities in their log shipping requirements.
We probably need to create the Kubernetes events sink ourselves as not many products have that. Or just to create the events, we can add a webhook to cass-operator and call it with the service name - however this then requires that cass-operator does not become the bottleneck in large clusters and that it is always available (or we need to queue on the sending side + throttling etc).
https://github.com/k8ssandra/management-api-for-apache-cassandra/issues/193
Why do we need it?
Environment

Cass Operator version:
Insert image tag or Git SHA here

**Anything else we need to know?**:

┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1534
┆priority: Medium

Isn't this a duplicate of https://github.com/k8ssandra/management-api-for-apache-cassandra/issues/193?


Another Uncaught TypeError: Cannot read property 'array' of undefined issue

Aframe 0.5.0
Vive controllers
When trying to use the component I get a "Cannot read property 'array' of undefined" and the scene doesn't load.
The errors are :
three.js:14957 Uncaught TypeError: Cannot read property 'array' of undefined     at At.Object.assign.raycast (https://aframe.io/releases/0.5.0/aframe.min.js:113:14953)     at Dn (https://aframe.io/releases/0.5.0/aframe.min.js:109:9054)     at Dn (https://aframe.io/releases/0.5.0/aframe.min.js:109:9119)     at Un.intersectObjects (https://aframe.io/releases/0.5.0/aframe.min.js:117:689)     at i.tick (https://aframe.io/releases/0.5.0/aframe.min.js:181:1401)     at https://aframe.io/releases/0.5.0/aframe.min.js:250:6254     at Array.forEach (native)     at HTMLElement.value (https://aframe.io/releases/0.5.0/aframe.min.js:250:6216)     at HTMLElement.value (https://aframe.io/releases/0.5.0/aframe.min.js:250:6410)     at HTMLElement.render (https://aframe.io/releases/0.5.0/aframe.min.js:369:132) Object.assign.raycast @ three.js:14957 Dn @ three.js:39156 Dn @ three.js:39164 intersectObjects @ three.js:39233 tick @ raycaster.js:106 (anonymous) @ a-scene.js:450 value @ a-scene.js:448 value @ a-scene.js:472 (anonymous) @ bind.js:12 e @ a-scene.js:392 (anonymous) @ a-scene.js:377 module.exports.fireEvent @ index.js:96 (anonymous) @ a-node.js:222 value @ a-node.js:221 (anonymous) @ a-node.js:118
and
three.js:14957 Uncaught TypeError: Cannot read property 'array' of undefined     at At.Object.assign.raycast (https://aframe.io/releases/0.5.0/aframe.min.js:113:14953)     at Dn (https://aframe.io/releases/0.5.0/aframe.min.js:109:9054)     at Dn (https://aframe.io/releases/0.5.0/aframe.min.js:109:9119)     at Un.intersectObjects (https://aframe.io/releases/0.5.0/aframe.min.js:117:689)     at i.tick (https://aframe.io/releases/0.5.0/aframe.min.js:181:1401)     at https://aframe.io/releases/0.5.0/aframe.min.js:250:6254     at Array.forEach (native)     at HTMLElement.value (https://aframe.io/releases/0.5.0/aframe.min.js:250:6216)     at HTMLElement.value (https://aframe.io/releases/0.5.0/aframe.min.js:250:6410)     at HTMLElement.render (https://aframe.io/releases/0.5.0/aframe.min.js:369:132)
I noticed this has been reported before but was apparently resolved, however for me it is crashing on load. Code attached as <a-entity vive-controls="hand: right" controller-cursor position="0 .5 -0.5" ></a-entity>

I'm guessing this is the same as the attributes.position issue.
It used to work on earlier versions, but broke at some point (not sure how). A fix was made in A-Frame core, so the component is working again (but only with master). I'll add a note to the readme.
You can acquire master builds from the core A-Frame repo.

If you get the same error with master, feel free to reopen/file a new issue.

Will test and either respond here or open a new issue, thank you for your quick reply (and making this component in the first place)

np!
I should have added a warning to the readme a while ago :smile:

I think this was if trying to raycast against a model that is currently loading. master's controller cursor (raycaster="showLine: true") does not have this issue since I think it waits for a mesh.

@ngokevin What I still don't understand is how the component broke "retroactively". Is it just race condition weirdness (i.e. the bug was there all along but the model loaded fast enough to avoid it)? What caused it to start happening reliably?
I have a 0.5.0 CodePen which definitely crashed at one point, but I just tried it and...no crash. Now I'm beginning to question my sanity.


⚠ Bofrost.fr has degraded performance

In f6b1553, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1429 ms

Resolved: Bofrost.fr performance has improved in 66ac024.


fix: make Debug impl for unions opaque

Fixes #4118

Thanks for working on this!
I'll take a more in-depth look soon, but why did this add core::cmp to Eq and PartialEq? If it is related to rustc-dep-of-std then that can be disregarded, we don't need to support both rustc-dep-of-std and extra-traits being enabled at the same time.

Fyi the current error comes from a new lint in a recent nightly, I'll have it fixed soon https://github.com/rust-lang/libc/pull/4177

Feel free to cherry pick 99f4dd920b580ca3d201d948153cffe54158e4b8 so you get CI results now, I can rebase once things turn green.


Unable to install dependencies: No matching distribution found for triton==0.4.2

Describe the bug
It seems like there's an issue with the dependencies.

Error Output
$ pip install -r requirements/requirements.txt
Defaulting to user installation because normal site-packages is not writeable
Collecting deepspeed
  Using cached deepspeed-0.3.15+eb7f5cf-py3-none-any.whl
Collecting einops==0.3.0
  Using cached einops-0.3.0-py2.py3-none-any.whl (25 kB)
Collecting ftfy==6.0.1
  Using cached ftfy-6.0.1-py3-none-any.whl
Collecting lm_dataformat==0.0.20
  Using cached lm_dataformat-0.0.20-py3-none-any.whl (5.8 kB)
Collecting lm_eval==0.2.0
  Using cached lm_eval-0.2.0-py3-none-any.whl (143 kB)
Collecting mpi4py==3.0.3
  Using cached mpi4py-3.0.3.tar.gz (1.4 MB)
  Preparing metadata (setup.py) ... done
Collecting numpy==1.21.0
  Using cached numpy-1.21.0-cp310-cp310-linux_x86_64.whl
Collecting pybind11==2.6.2
  Using cached pybind11-2.6.2-py2.py3-none-any.whl (191 kB)
Collecting regex
  Using cached regex-2022.6.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (763 kB)
Collecting sentencepiece
  Using cached sentencepiece-0.1.96-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB)
Collecting six
  Using cached six-1.16.0-py2.py3-none-any.whl (11 kB)
Collecting tokenizers==0.10.2
  Using cached tokenizers-0.10.2.tar.gz (211 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting transformers~=4.16.0
  Using cached transformers-4.16.2-py3-none-any.whl (3.5 MB)
Collecting wandb==0.10.28
  Using cached wandb-0.10.28-py2.py3-none-any.whl (2.1 MB)
Collecting wcwidth
  Using cached wcwidth-0.2.5-py2.py3-none-any.whl (30 kB)
Collecting zstandard
  Using cached zstandard-0.17.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.5 MB)
Collecting ujson
  Using cached ujson-5.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (45 kB)
Collecting jsonlines
  Using cached jsonlines-3.0.0-py3-none-any.whl (8.5 kB)
  Using cached jsonlines-2.0.0-py3-none-any.whl (6.3 kB)
Collecting scikit-learn>=0.24.1
  Using cached scikit_learn-1.1.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (30.4 MB)
Collecting nagisa==0.2.7
  Using cached nagisa-0.2.7-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (21.5 MB)
Collecting rouge-score==0.0.4
  Using cached rouge_score-0.0.4-py2.py3-none-any.whl (22 kB)
Collecting black
  Using cached black-22.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB)
Collecting sqlitedict==1.6.0
  Using cached sqlitedict-1.6.0.tar.gz (29 kB)
  Preparing metadata (setup.py) ... done
Collecting pycountry==20.7.3
  Using cached pycountry-20.7.3.tar.gz (10.1 MB)
  Preparing metadata (setup.py) ... done
Collecting click>=7.1
  Using cached click-8.1.3-py3-none-any.whl (96 kB)
Collecting zstandard
  Using cached zstandard-0.15.2.tar.gz (1.0 MB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Preparing metadata (pyproject.toml) ... done
Collecting datasets==1.15.1
  Using cached datasets-1.15.1-py3-none-any.whl (290 kB)
Collecting numexpr==2.7.2
  Using cached numexpr-2.7.2.tar.gz (97 kB)
  Preparing metadata (setup.py) ... done
Collecting pytest==6.2.3
  Using cached pytest-6.2.3-py3-none-any.whl (280 kB)
Collecting jieba==0.42.1
  Using cached jieba-0.42.1.tar.gz (19.2 MB)
  Preparing metadata (setup.py) ... done
Collecting openai==0.6.4
  Using cached openai-0.6.4.tar.gz (159 kB)
  Preparing metadata (setup.py) ... done
Collecting sacrebleu==1.5.0
  Using cached sacrebleu-1.5.0-py3-none-any.whl (65 kB)
Collecting mock==4.0.3
  Using cached mock-4.0.3-py3-none-any.whl (28 kB)
Requirement already satisfied: torch>=1.7 in /home/toby/.local/lib/python3.10/site-packages (from lm_eval==0.2.0->-r requirements/requirements.txt (line 5)) (1.11.0)
Collecting best-download==0.0.9
  Using cached best_download-0.0.9-py3-none-any.whl (6.5 kB)
Collecting tqdm-multiprocess==0.0.11
  Using cached tqdm_multiprocess-0.0.11-py3-none-any.whl (9.8 kB)
Collecting pytablewriter==0.58.0
  Using cached pytablewriter-0.58.0-py3-none-any.whl (96 kB)
Collecting requests<3,>=2.0.0
  Using cached requests-2.27.1-py2.py3-none-any.whl (63 kB)
Collecting GitPython>=1.0.0
  Using cached GitPython-3.1.27-py3-none-any.whl (181 kB)
Collecting shortuuid>=0.5.0
  Using cached shortuuid-1.0.9-py3-none-any.whl (9.4 kB)
Collecting python-dateutil>=2.6.1
  Using cached python_dateutil-2.8.2-py2.py3-none-any.whl (247 kB)
Collecting subprocess32>=3.5.3
  Using cached subprocess32-3.5.4.tar.gz (97 kB)
  Preparing metadata (setup.py) ... done
Collecting configparser>=3.8.1
  Using cached configparser-5.2.0-py3-none-any.whl (19 kB)
Collecting protobuf>=3.12.0
  Using cached protobuf-4.21.1-cp37-abi3-manylinux2014_x86_64.whl (407 kB)
Collecting PyYAML
  Using cached PyYAML-6.0-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (682 kB)
Collecting promise<3,>=2.0
  Using cached promise-2.3.tar.gz (19 kB)
  Preparing metadata (setup.py) ... done
Collecting docker-pycreds>=0.4.0
  Using cached docker_pycreds-0.4.0-py2.py3-none-any.whl (9.0 kB)
Collecting pathtools
  Using cached pathtools-0.1.2.tar.gz (11 kB)
  Preparing metadata (setup.py) ... done
Collecting psutil>=5.0.0
  Using cached psutil-5.9.1-cp310-cp310-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl (282 kB)
Collecting sentry-sdk>=0.4.0
  Using cached sentry_sdk-1.5.12-py2.py3-none-any.whl (145 kB)
Requirement already satisfied: tqdm in /home/toby/.local/lib/python3.10/site-packages (from best-download==0.0.9->lm_eval==0.2.0->-r requirements/requirements.txt (line 5)) (4.64.0)
Collecting rehash
  Using cached rehash-1.0.0-py2.py3-none-any.whl (8.7 kB)
Collecting xxhash
  Using cached xxhash-3.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (211 kB)
Collecting pyarrow!=4.0.0,>=1.0.0
  Using cached pyarrow-8.0.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (29.4 MB)
Collecting multiprocess
  Using cached multiprocess-0.70.13-py310-none-any.whl (133 kB)
Collecting aiohttp
  Using cached aiohttp-3.8.1-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl (1.2 MB)
Collecting fsspec[http]>=2021.05.0
  Using cached fsspec-2022.5.0-py3-none-any.whl (140 kB)
Collecting dill
  Using cached dill-<IP_ADDRESS>-py2.py3-none-any.whl (95 kB)
Collecting pandas
  Using cached pandas-1.4.2-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (11.7 MB)
Collecting huggingface-hub<1.0.0,>=0.1.0
  Using cached huggingface_hub-0.7.0-py3-none-any.whl (86 kB)
Collecting packaging
  Using cached packaging-21.3-py3-none-any.whl (40 kB)
Collecting DyNet38
  Using cached dyNET38-2.1-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (6.0 MB)
Collecting tcolorpy<1,>=0.0.5
  Using cached tcolorpy-0.1.2-py3-none-any.whl (7.9 kB)
Collecting tabledata<2,>=1.1.3
  Using cached tabledata-1.3.0-py3-none-any.whl (11 kB)
Collecting msgfy<1,>=0.1.0
  Using cached msgfy-0.2.0-py3-none-any.whl (4.3 kB)
Collecting mbstrdecoder<2,>=1.0.0
  Using cached mbstrdecoder-1.1.0-py3-none-any.whl (7.8 kB)
Requirement already satisfied: setuptools>=38.3.0 in /usr/lib/python3.10/site-packages (from pytablewriter==0.58.0->lm_eval==0.2.0->-r requirements/requirements.txt (line 5)) (62.3.2)
Collecting pathvalidate<3,>=2.3.0
  Using cached pathvalidate-2.5.0-py3-none-any.whl (19 kB)
Collecting DataProperty<2,>=0.50.0
  Using cached DataProperty-0.55.0-py3-none-any.whl (26 kB)
Collecting typepy[datetime]<2,>=1.1.1
  Using cached typepy-1.3.0-py3-none-any.whl (31 kB)
Collecting py>=1.8.2
  Using cached py-1.11.0-py2.py3-none-any.whl (98 kB)
Collecting iniconfig
  Using cached iniconfig-1.1.1-py2.py3-none-any.whl (5.0 kB)
Collecting pluggy<1.0.0a1,>=0.12
  Using cached pluggy-0.13.1-py2.py3-none-any.whl (18 kB)
Collecting attrs>=19.2.0
  Using cached attrs-21.4.0-py2.py3-none-any.whl (60 kB)
Collecting toml
  Using cached toml-0.10.2-py2.py3-none-any.whl (16 kB)
Collecting absl-py
  Using cached absl_py-1.1.0-py3-none-any.whl (123 kB)
Collecting nltk
  Using cached nltk-3.7-py3-none-any.whl (1.5 MB)
Collecting portalocker
  Using cached portalocker-2.4.0-py2.py3-none-any.whl (16 kB)
Collecting colorama
  Using cached colorama-0.4.4-py2.py3-none-any.whl (16 kB)
Collecting tensorboardX==1.8
  Using cached tensorboardX-1.8-py2.py3-none-any.whl (216 kB)
Collecting ninja
  Using cached ninja-<IP_ADDRESS>-py2.py3-none-manylinux_2_5_x86_64.manylinux1_x86_64.whl (108 kB)
INFO: pip is looking at multiple versions of zstandard to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of tqdm-multiprocess to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of sqlitedict to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of sacrebleu to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of rouge-score to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pytest to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pytablewriter to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pycountry to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of openai to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of numexpr to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of nagisa to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of mock to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of jsonlines to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of jieba to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of datasets to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of best-download to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of wandb to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of tokenizers to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of pybind11 to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of numpy to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of mpi4py to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of lm-eval to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of lm-dataformat to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of ftfy to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of einops to determine which version is compatible with other requirements. This could take a while.
ERROR: Could not find a version that satisfies the requirement triton==0.4.2 (from deepspeed) (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0)
ERROR: No matching distribution found for triton==0.4.2

To Reproduce
Steps to reproduce the behavior:

git clone git@github.com:EleutherAI/gpt-neox.git
pip install torch
pip install -r requirements/requirements.txt
Error happenes

Expected behavior
That the installation just works.
Environment (please complete the following information):

Neofetch output
                   -`<EMAIL_ADDRESS>                  .o+`                   ---------------
                 `ooo/                   OS: Arch Linux x86_64
                `+oooo:                  Kernel: 5.18.1-arch1-1
               `+oooooo:                 Uptime: 23 mins
               -+oooooo+:                Packages: 1365 (pacman)
             `/:-:++oooo+:               Shell: bash 5.1.16
            `/++++/+++++++:              Terminal: /dev/pts/1
           `/++++++++++++++:             CPU: Intel i9-9900KS (16) @ 5.000GHz
          `/+++ooooooooooooo/`           GPU: NVIDIA GeForce RTX 3090 Ti
         ./ooosssso++osssssso+`          Memory: 293MiB / 32011MiB
        .oossssso-````/ossssss+`
       -osssssso.      :ssssssso.
      :osssssss/        osssso+++.
     /ossssssss/        +ssssooo/-
   `/ossssso+/:-        -:/+osssso+-
  `+sso+:-`                 `.-/+oso:
 `++:.                           `-/+/
 .`                                 `/

This appears to be a recurring issue with Triton :(
I will leave this issue open for increased visibility until it is resolved, but please see the linked issue for updates + to report related issues.

any workaround?

ERROR: Could not find a version that satisfies the requirement triton==0.4.2 (from versions: 0.1, 0.1.1, 0.1.2, 0.1.3, 0.2.0, 0.2.1, 0.2.2, 0.2.3, 0.3.0)
ERROR: No matching distribution found for triton==0.4.2

Have you all checked your python version is compatible with triton==0.4.2? I'll bet you're all on 3.10.

Hi, is there any workaround/resolution to this issue. I am facing the same issue.

There is no triton library above 0.3 for Python 3.10. Try Ubuntu 20.04 + Python 3.8, 3.9

Thank you, I switched to Python 3.8 and I could install the required version.

There is no triton library above 0.3 for Python 3.10. Try Ubuntu 20.04 + Python 3.8, 3.9

I'll update the README to specify that Python 3.8 or 3.9 is required (IIRC that part was written before Python 3.10 came out). It seems like this will close the issue?

Yes, this should work .. for now.
The latest triton releases do not have anything for Python 3.10 or for Windows (I tried that too).
I don't see anything being done for 3.10 on the new triton 2 as well.

This error has resurfaced for me:
ERROR: Could not find a version that satisfies the requirement triton==0.4.2 (from deepspeed) (from versions: 2.0.0.dev20221030, 2.0.0.dev20221031, 2.0.0.dev20221101, 2.0.0.dev20221103, 2.0.0.dev20221105, 2.0.0.dev20221117, 2.0.0.dev20221120, 2.0.0.dev20221202)
ERROR: No matching distribution found for triton==0.4.2

@zeitsmatt I’m sorry, this is unfortunately out of our hands. We don’t maintain Triton and cannot get Triton to support Python 3.10 any quicker

Looks like support is inbound:

I meet this same error, and solved this by changing my python version to 3.9, record here.
triton is currently not support  python3.10, and not support windows, so we need to install python3.9 and linux. the current ubuntu22.04 version have python3.10 by default, to change this, firstly use deadsnakes ppa so that we can install python3.9 using apt, you may need this command:
add-apt-repository ppa:deadsnakes/ppa
apt-get install python3.9
then we use update-alternatives to change the python version between 3.9 and 3.10. there are tutorials try to google it. you may need these command when you meet python3.9 pip installation problems:
apt-get install python3.9-distutils
remember to upgrade pip to pip-23 when you begin to install any pip resources.
then with python3.9, we can install triton now. if you want to change back to python3.10 at any time, using this command:
update-alternatives --config python
this is the solution of mine.


Delete data/nickaldwin.json

Fixes Issue
remove my old json file

Changes proposed

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[ ] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots

Note to reviewers

Thank you


[FLINK-28009] Optimize data split

Related to FLINK-28009
Optimizing split data logic for large data volumes using parallel streams

Hi @complone Thanks for the contribution.
Do you mean FileStorePathFactory.createDataFilePathFactory is very slow?

CC @tsreaper

@JingsongLi Yes, in the case of a large amount of data, there is a lot of data that needs to be sharded. Parallel streams will first allocate the same key to the internal bucket. I think this can improve performance.

@JingsongLi Yes, in the case of a large amount of data, there is a lot of data that needs to be sharded. Parallel streams will first allocate the same key to the internal bucket. I think this can improve performance.

Can you have some test benchmark data? For example, how many times can it be executed in 1 second?

@JingsongLi   According to Oracle's performance test, the parallel stream is affected by the number of cpu cores, I will change it to stream to simplify the code logic
Related to parallel-streams-performance-benchmark

@complone Any update about benchmark?

@complone关于基准的任何更新？

No. Simplify code with only stream API


Typo in FCS_COP/HASH

The application note for FCS_COP.1/HASH begins with "The TSF shall provide the audit records in a manner suitable for the user to interpret the information."

Fixed.

Fixed.


Reenable APICheck

Fixes https://github.com/aspnet/Identity/issues/1168

@ryanbrandenburg what causes those errors?  I see those locally too for release/2.1 (but not dev)

Fix the version names to match something that both works and is available on one of your sources.

@ryanbrandenburg will these failures also happen on the CI or is this just local/pr verification failures?

Possibly the referenced version fell off the nuget retention. Anyone except Universe that builds this will be broken, please update the deps by running ".\run.ps1 -update upgrade deps" and commit that change so people can use the repo.

Fair enough, updating deps and will merge that with this PR


fix Unhandled rejection TypeError: user.createSession is not a function

There's a bug in lib/routes.js around line 123 on the /password-reset route that throws the error above.

Thank you very much for the bug fix! I apologize, I've been overwhelmed by other projects so haven't been able to give this proper attention.


BIOS/Firmware concept

Proposed Changes
This is the design concept document for BIOS/Firmware update solution
Fixes #99

Thanks @aobort! Without having looked at the content, can we change the proposal structure to something like that https://github.com/gardener/gardener/blob/master/docs/proposals/00-template.md. We are using the same template in the ironcore project as well https://github.com/ironcore-dev/ironcore/blob/main/docs/proposals/00-template.md.

Do you envision the the update's service API, scheduler and job runner as independently deployed units? In my opinion I would mash them into the firmware-operator, until scaling issues are actually encountered.

Do you envision the the update's service API, scheduler and job runner as independently deployed units? In my opinion I would mash them into the firmware-operator, until scaling issues are actually encountered.

Exactly. Internal components of one service. Like several controllers in one operator

From our discussion yesterday I guess it would make sense to split the BIOS from the Firmware update flow. It might actually make sense to also split it API wise. Wdyt?

for split the BIOS from the Firmware update flow + separate CRDs for this. Going further, should we also split BMC version update?

+1 for split the BIOS from the Firmware update flow + separate CRDs for this. Going further, should we also split BMC version update?

That is a good point. The BIOS update of the BMC should be addressed as well. Not sure if we should do this in this concept OR just focus here on the Server resource first.

From our discussion yesterday I guess it would make sense to split the BIOS from the Firmware update flow. It might actually make sense to also split it API wise. Wdyt?

Tbh, I do not see any advantage in separating bios and firmware. If the bios and firmwares might be incompatible it makes sense to keep them in one object and provide some kind of compatibility matrix to make validation convenient and handy. If they would be stored in separate objects this will just create additional load on API server, when the amount of hardware will be big enough, bc we'll need to request additional resources. Also additional objects to store in etcd.

@afritzler @defo89

There is a list of bios settings in Server's .spec.BIOS;
There is current bios settings in Server's .status.BIOS;

Current bios version, taken from Server's .status.BIOS.version, is reflected in ServerFirmware object's .spec.bios.version. Now the question: what object should be updated to trigger BIOS update?
If we'll update version in ServerFirmware object, then we'll need to update corresponding Server object's spec, but we cannot, bc we also need to specify BIOS settings. If we'll update Server's status, then it will result into discrepancy between spec and status.
If we'll update BIOS version (with settings) in Server's .spec.bios which will trigger BIOS update job, then it seems to make no sense to store BIOS version also in ServerFirmware object.
Considering all in above, I'd suggest to:

Introduce ServerBIOS API type
apiVersion: ...
kind: ServerBIOS
metadata:
  name: sample
spec:
  serverRef:
    name: compute-1
  versions:
  - version: 1.0.0
    settings: {}  # map of bios settings
  - version: 1.2.0
    settings: {}  # map of bios settings
    currentVersion: true
status:
  version: 1.2.0
  settings: {}. # map of bios settings

Replace bios settings in Server's .spec.bios with reference to the ServerBIOS object

Implement separate controller which will manage both BIOS version and settings

In total, separating only BIOS update flow from firmware update flow still seems to make no sense from my point of view. However, separating whole BIOS management including version and settings from server management and firmware management flows seems to be reasonable.


Add more python questions

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Thanks for the corrections, I'll do well to fix them all.

Hi @jdwilkin4 , I've made the necessary corrections.


uniform algorithm API

For uniformity with the current status of code (see discussion for PR #119), I think we should remove any policy-less function interface from algorithm.h and numeric.h.
In the current version, calling shad::min_element with shad::distributed_sequential policy does not compile, I think this is confusing for the user.
@VitoCastellana @mminutoli

We need to schedule a design meeting.


Allow the use of additional optional connected experiences in Office doesn't work properly

Disabling 'Allow the use of additional optional connected experiences in Office' only prevents the dialog pop-up in Outlook. The File > Account > Account Privacy > Manage Settings box is not available in Outlook, however in any other application the pop-up appears and the Manage Settings option is available.
This is not consistent when we are trying to prevent this being shown to users completely.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ef4debee-6a1e-53c7-7bec-2dbd208f4f2d
Version Independent ID: b93ad6a2-0976-6f5f-7aae-1756079bdc1d
Content: Use policy settings to manage privacy controls for Office 365 ProPlus
Content Source: DeployOffice/privacy/manage-privacy-controls.md
Service: o365-proplus-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

@hrrysckr  -- not sure if this is related to your comment, but we've found an issue with this policy setting (and the other 3 policy settings related to connected experiences).
For now, to disable one of these policy settings by using the Group Policy Management tool, you need to select the Enabled radio button and then choose Disabled from the drop-down list in the Options section. Selecting the Disabled radio button won't disable these policy settings.
We're working to fix this issue. In the meantime, we've added an Important callout to the content to let admins know about this issue.

This does look to be related! Thank you.

@hrrysckr -- Wanted to let you know that an updated set of Group Policy files was published yesterday (Tuesday 28 May) that fixes this problem. So you should download the updated ADMX/ADML files from https://www.microsoft.com/en-us/download/details.aspx?id=49030. We'll update this article to let others know about the updated ADMX/ADML files. Thanks for bringing this issue to our attention so that we could get it fixed.


Loop for multiple resources that belong together

Is your feature request related to a problem? Please describe.
I have an existing template that deploys 2 web apps each with vnet integration. This template can be found at https://github.com/vermegi/tryout-webapp-deploy/blob/main/project/main.bicep. I now want to use looping syntax for creating the web apps and vnet integration. My first trial to do this can be found at: https://github.com/vermegi/tryout-webapp-deploy/blob/main/project/main2.bicep. This second file fails however, with the following message:
(before I added the dependsOn on line 63):
Deployment failed. Correlation ID: 1000d609-7de6-4c50-ab61-4398d4105b8e. {
"error": {
"code": "ParentResourceNotFound",
"message": "Can not perform requested operation on nested resource. Parent resource 'wa1' not found."
}
}
(after I added the dependsOn):
Deployment failed. Correlation ID: 778a3529-c0a5-4c46-8703-505195fb1eb8. {
"error": {
"code": "ParentResourceNotFound",
"message": "Can not perform requested operation on nested resource. Parent resource 'wa2' not found."
}
}
I suppose this is still the same failure and the wa1 creation succeeded after my first run of the template. Meaning that the dependsOn probably does not fix the original issue.
Describe the solution you'd like
A way for deploying the web apps and the vnet integration in 1 go. Either one of the below I think would make this work:

using 1 resource for this is not possible, I used https://github.com/Azure/azure-quickstart-templates/blob/master/101-app-service-regional-vnet-integration/azuredeploy.json as a basis, and there you can use resources as a subtag in 'Microsoft.Web/sites, I tried this, but it did not get accepted as valid syntax. Being able to use the resources syntax should fix this though. (I forgot to double check this on a previous version of the API, that might be a fix)
using 1 for loop for creating both the web app and the vnet integration. Current syntax only allows a for loop to be used on 1 resource at a time (unless there is syntax I don't know about, I checked https://github.com/Azure/bicep/blob/main/docs/spec/loops.md)
dependsOn should work here.

FYI: I tried the 2019-08-01 api version for the Microsoft.Web/sites resource, and this still did not give me a resources property. So that one for now is not a fix I can apply.

is this not a limitation that nested resources do not support loops?
I had a similar issue with storage accounts and file share.

Hi @vermegi I just wanted to revive this thread to see if you were still having issues?
Please let us know and we can share some more info and samples for you to resolve.

I retested my original template: still failing on the vnet integration with the message "Can not perform requested operation on nested resource. Parent resource 'wa1' not found."
However, I did get a successful deploy with version Microsoft.Web/sites@2021-01-01 in https://github.com/vermegi/tryout-webapp-deploy/blob/main/project/main3.bicep. With that version the double loop is no longer needed and VNet integration can be set up through the websites' properties.
I found this version here: https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.web/app-service-regional-vnet-integration/main.bicep
However this version is not documented (yet) here: https://docs.microsoft.com/en-us/azure/templates/microsoft.web/sites?tabs=bicep
My Visual Studio Code Bicep extension did give me proper code completion on this version, so I think it's just docs that are lagging behind?

Thanks @vermegi yes this is one of the examples where 'How to define the capability' does not map to the 'export from the Portal'
i.e. This is the output you see from the portal export
        {
            "type": "Microsoft.Web/sites/virtualNetworkConnections",
            "apiVersion": "2021-01-15",
            "name": "[concat(parameters('sites_ACU1_BRW_AOA_T5_fnPS01_name'), '/b8eaf74e-272e-44c5-8c03-2068707b9679_snMT01')]",
            "location": "Central US",
            "dependsOn": [
                "[resourceId('Microsoft.Web/sites', parameters('sites_ACU1_BRW_AOA_T5_fnPS01_name'))]"
            ],
            "properties": {
                "vnetResourceId": "[concat(parameters('virtualNetworks_ACU1_BRW_AOA_T5_vn_externalid'), '/subnets/snMT01')]",
                "isSwift": true
            }
        }

However this is the Bicep code to generate the virtualNetworkConnection (which you have from the quick start)
resource WSVirtualNetwork 'Microsoft.Web/sites/config@2021-01-01' = [for (ws, index) in WebSiteInfo: if (ws.deploy == 1 && WSInfo[index].match) {
  name: 'virtualNetwork'
  parent: WS[index]
  properties: {
    subnetResourceId: resourceId('Microsoft.Network/virtualNetworks/subnets', '${Deployment}-vn', ws.subnet)
    swiftSupported: true
  }
}]

taken from: https://github.com/brwilkinson/AzureDeploymentFramework/blob/c7b94840f446831cfc67553481502bca5b2d6d48/ADF/bicep/AppServiceFunction.bicep#L185
I think the Web App Docs would need an update to avoid the confusion.


Add date to guides pages

Show the date (if it's there) on guides pages so we can see a "last updated" date to help maintain going forward...

Closed via #951


Side Pots

When there is a side pot. Eg. one player is all in with a balance of 50. Two other players have a balance of 1000 and call the 50 all in wager. Both those players are now wagering their 950 against each other in a side pot that isn't available to the player with the original 50 all in wager.
When this occurs I noticed that the larger bettors or at least one of the larger betters will have a check function that cant be engaged. Because of this the only options are to also go all in or to fold.
 My developer and I will try to solve this problem at some point but some advice would be nice.

Thanks

Hello,
Sorry but this repository has not been maintained for a while so I can't give quick tips. But in general you should be aware that it uses quite old technologies.


Internal Server Error (500) on cPanel DNS Only

CentOS release 6.8 (Final)
INSTALLATION OUTPUT:
# ./install.sh
Protocol::ACME is NOT installed
Installing Protocol::ACME
.....
.....
 Testing  perl modules we just installed
.....
Protocol::ACME is installed properly
.....
.....DONE
letsencrypt registered
info [install_plugin] Installing to paper_lantern
warn [install_plugin] The specified theme [paper_lantern] does not exist.
info [install_plugin] Installing to x3
warn [install_plugin] The specified theme [x3] does not exist.
Searching for themes that support the cpanel plugins system...........Done

Rebuild Complete
letsencrypt-cpanel-ui registered
Successfully installed letsencrypt manager

DETAILS ABOUT THE ERROR:
Internal Server Error
500

No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/letsencrypt/letsencrypt.pl): The subprocess reported error number 255 when it ended.

ADDITIONAL DETAILS:
CENTOS 6.8 x86_64 standard
WHM 56.0 (build 24)

Are you still facing the same problem? Could you please send me the cpanel error_log file to<EMAIL_ADDRESS>

I'm facing exactly the same problem. I have a cPanel DNSONLY, version WHM 58.0 (build 19), installed at a CentOS 6.8 system. I installed the following plugins:
/scripts/perlinstaller cPanel::PublicAPI
/scripts/perlinstaller Protocol::ACME
/scripts/perlinstaller JSON::XS
/scripts/perlinstaller Mozilla::CA
/scripts/perlinstaller CGI
I tried to uninstall (uninstall.sh) the plugin and reinstall it but no luck. I also executed /etc/init.d/cpanel restart.
These are some lines from /usr/local/cpanel/logs/error_log:
Server Error from <IP_ADDRESS>: HTTP/1.1 500 Internal Error
[2016-08-12 02:13:28 +0300] info [cpsrvd] Internal Server Error: "GET /cpsessXXXXX/cgi/letsencrypt/letsencrypt.pl HTTP/1.1" 500 No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/letsencrypt/letsencrypt.pl): The subprocess reported error number 255 when it ended.
Server Error from <IP_ADDRESS>: HTTP/1.1 500 Internal Error
Server Error from <IP_ADDRESS>: HTTP/1.1 500 Internal Error
[2016-08-12 02:13:42 +0300] info [cpsrvd] Internal Server Error: "GET /cpsesscpsessXXXXX/cgi/letsencrypt/letsencrypt.pl HTTP/1.1" 500 No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/letsencrypt/letsencrypt.pl): The subprocess reported error number 255 when it ended.
Server Error from <IP_ADDRESS>: HTTP/1.1 500 Internal Error
Server Error from <IP_ADDRESS>: HTTP/1.1 500 Internal Error
[2016-08-12 02:18:53 +0300] info [cpsrvd] Internal Server Error: "GET /cpsesscpsessXXXXX/cgi/letsencrypt/letsencrypt.pl HTTP/1.1" 500 No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/letsencrypt/letsencrypt.pl): The subprocess reported error number 255 when it ended.
The results of manually running /usr/local/cpanel/whostmgr/docroot/cgi/letsencrypt/letsencrypt.pl from the command line:
/usr/local/cpanel/whostmgr/docroot/cgi/letsencrypt/letsencrypt.pl
Status: 400 Bad request
Content-Type: application/text; charset=ISO-8859-1
Access denied

Hello,
Any news about the problem i have reported?


feat comment mention

Add mention node to comment
Add markdown and text serialization to mention

This looks pretty good to go. Can wait until the rest of the feature is ready before merging though.


Enhancement: spo term group add - Allow adding a site-level term group or a tenant-level term group without SPO Admin privileges

Currently spo term group add can only be run on the Global Termstore on tenant level.
This has the following consequence:
You need the SPO administrator role to run this command. You cannot add term groups as a taxonomy administrator without the SPO administrator role.
I propose fixing this.
Options

Option
Description

-u, --webUrl [webUrl]
If specified, allows you to add a term group to the tenant term store as a term store administrator without the SharePoint administrator role.

Remarks

To use this command without the --webUrl option you have to have permissions to access the tenant admin site.

When using the --webUrl option you can connect to the term store with limited permissions, and do not need the SharePoint Adminstrator role. It allows you to add a term group to the tenant term store if you are listed as a term store administrator.

This command does not create a sitecollection specific term store/group when using the --webUrl option.

Additional remarks
The webUrl option (if used) can be swapped in instead of the currently used spoAdminUrl to achieve the desired result.
Some research still needed to add a term group to the sitecollection specific term store.

LGTM 👍

Hi @martinlingstuyl
Sorry, I did not get that why we need the option -s, --store [store] ?
If we specify value for -u, --webUrl [webUrl], the term group should get added to sitecollection term store or else to the tenant level term store.
Please let me know, if I missed anything understanding the store parameter?

Hi @nanddeepn, The point is that you need sp admin permissions to use the command if you don't use webUrl.
But you can be a term store admin without tenant admin access.
We need to cover these 4 things when working with taxonomy:

Access the term store as a tenant admin.
Access the term store as a term store admin.
Access the term store as a regular user.
Access the site collection specific term store as well as the tenant term store.

Point 1 was already covered.
Point 4 was partly covered (term group list already showed site collection specific groups as well)
Point 2-4 are covered by adding webUrl and (only for term group add) store.
So we need the store param so you can define that you want to add the group to the global store or the site collection specific store.
In this scenario we only use the webUrl to get the permissions sorted out. In the ui it's like going to the term store management page from the context of a Site.

Could have a look at this one 😄

All yours!

That's awesome @MathijsVerbeeck, I was thinking the other day that some extra research would not hurt here. Let's see how you get on though!

@martinlingstuyl I've just done some research and I think that we would also have to 'provision' the site collection term store, as I'm not sure that one is available immediately. I see that there is no command spo term store add, so maybe we should add this, or I could just include the call in this command, I don't mind really.

Good point... so should we maybe use this command only to add a group to the tenant store..?
Adding a sitecollection term store would maybe fit better in spo term store add, even if a sitecollection specific store is really a group.
What do you think?
If you agree we could remove the --store option from the specs. Wich would make the implementation of this update easier.

Mhm or maybe I was seeing it wrong, my apologies and ignore my previous comments.
If I'm opening the termstore admin center on site collection level, I will not see the term group and a button is there, but when I click and create something, an error will be thrown:

But, when I then refresh the page, a term group will appear. So we could simply use this command to skip this 'initial provisioning'? I do not get to pick a name for the term group however..

Also - I think that we should implement this --store site probably on all term commands, as this could be useful in these cases too, but that might be for the future I guess 😄

On the other term commands its not necessary, you can already interact with tenant AND sitecollection term groups, sets and terms as it is currently implemented.

Yes, I posted a bit too soon 🤔

But, when I then refresh the page, a term group will appear. So we could simply use this command to skip this 'initial provisioning'? I do not get to pick a name for the term group however..

This would be an additional reason to use a different command (spo term store add) to provision a sitecollection term store.
We could use the current enhancement (with --webUrl) to add a group to the tenant admin for when you are a term store admin but no global admin.

We would need to add a big notice to the remarks section that it is not possible to create a sitecol specific term group using this command. Even if it looks like that because of the webUrl option.

But, when I then refresh the page, a term group will appear. So we could simply use this command to skip this 'initial provisioning'? I do not get to pick a name for the term group however..

This would be an additional reason to use a different command (spo term store add) to provision a sitecollection term store.
We could use the current enhancement (with --webUrl) to add a group to the tenant admin for when you are a term store admin but no global admin.

I agree with that one.

Ok, Shall I remove the store option then? And you still know what to do, right?

Ok, Shall I remove the store option then? And you still know what to do, right?

Even though I made the discussion really messy, I do 😄
Provide the option --webUrl and allow users to create a term group on global level when they are only term group administrator instead of global administrator

Even though I made the discussion really messy, I do 😄

As long as the issue becomes clearer in the end,  thats okay 👍
I've updated the Specs. Can you read it and confirm if its clear like this?

Even though I made the discussion really messy, I do 😄

As long as the issue becomes clearer in the end, thats okay 👍 I've updated the Specs. Can you read it and confirm if its clear like this?

Can confirm that it is clear to me :)


Inject custom CSS

It would be useful to be able to inject custom CSS to make small overrides without having to fork the project. Something like the docdash scripts config would be enough.
Are you open to a PR for this?

Definitely. Good idea!

@bigtimebuddy Okay I'm going to essentially take the same approach as they did in docdash. My one question is where config values should go. On that project they've added a docdash key that contains all the specific configuration for that project. I'm generally familiar with jsdoc but it's a little unclear to me what config is default and what is additional to each custom template.
Does it make sense to have templates.scripts or templates.pixi.scripts?

I’m not sure either. We aren’t JSDoc experts over here, so I’d take the lead on how other packages like docdash do it.


Duplicate shape option not specific enough

The "--duplicate-shape fred" option (I guess one string is as good as another) causes the parser to ignore duplicate shapes across and within shape definition files.  We need an option that causes the parser to ignore duplicates if we happen to send the same or similar shape definition across two invocations.   We do not, however, want to ignore two definitions of the same shape within the same same call.
Suggestion: the caching of definitions should be changed to an "opt in"  approach.  Don't cache a shape definition unless the caller specifically says "I want you to hang on to this".

Note that --duplicate-shape options are ignore|replace|abort . Is any other behavior desired?

Resolved -- behavior options cover my use case


It wait 20 seconds and then request api.githubcopilot.com:443

It turns slow from some time. I checked every thing and found that copilot chat did not send requests to api.githubcopilot.com:443 immediately.

Copilot Chat Extension Version: v0.18.1
VS Code Version: 1.92.0
OS Version: macOS Sonoma
Logs:

Steps to Reproduce:

just ask  copilot in chat

Please give some more details about exactly what you're seeing

Ensure you're on the latest VS Code Insiders + GitHub Copilot Chat pre-release
Set log level to trace F1 -> Set Log Level -> Trace
reproduce the issue
Attach the Github Copilot Chat log, via CMD/CTRL + SHIFT +U -> GitHub Copilot Chat

Ensure you're on the latest VS Code Insiders + GitHub Copilot Chat pre-release
Set log level to trace F1 -> Set Log Level -> Trace
reproduce the issue
Attach the Github Copilot Chat log, via CMD/CTRL + SHIFT +U -> GitHub Copilot Chat

It takes each 10 seconds for "Resolving chat model" and  "Processed panel chat intent". It is so weird becasuse 10 seconds seems like "sleep 10 seconds". By the way, this case appears at my mackbook provided by my company. Is it possible that my company hacked the electron or copliot chat extension? I guess that because my company encourages us to use my company's own chat extension just like copilot chat.
2024-08-08 14:16:39.148 [trace] Panel chat request received from extension host
2024-08-08 14:16:39.148 [trace] Processing panel chat intent
2024-08-08 14:16:39.148 [trace] Resolving chat model
2024-08-08 14:16:39.149 [trace] Resolving chat model
2024-08-08 14:16:49.157 [trace] Resolved chat model
2024-08-08 14:16:49.158 [trace] Resolved chat model
2024-08-08 14:16:49.159 [trace] Processed panel chat intent
2024-08-08 14:16:59.170 [trace] Built panel chat prompt
2024-08-08 14:16:59.171 [trace] Sending panel chat prompt to model
2024-08-08 14:17:01.394 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 2181 ms
2024-08-08 14:17:06.507 [info] message 0 returned. finish reason: [stop]
2024-08-08 14:17:06.509 [info] request done: requestId: [04a1c2be-619e-4e27-90b4-c1be47822f19] model deployment ID: []

2024-08-08 14:46:06.237 [trace] Panel chat request received from extension host
2024-08-08 14:46:06.237 [trace] Processing panel chat intent
2024-08-08 14:46:06.237 [trace] Resolving chat model
2024-08-08 14:46:06.237 [trace] Resolving chat model
2024-08-08 14:46:16.243 [trace] Resolved chat model
2024-08-08 14:46:16.244 [trace] Resolved chat model
2024-08-08 14:46:16.245 [trace] Processed panel chat intent
2024-08-08 14:46:26.260 [trace] Built panel chat prompt
2024-08-08 14:46:26.260 [trace] Sending panel chat prompt to model
2024-08-08 14:46:28.756 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 2453 ms
2024-08-08 14:46:35.346 [info] message 0 returned. finish reason: [stop]
2024-08-08 14:46:35.347 [info] request done: requestId: [806705eb-987b-41a5-8621-ad0d611bb2fe] model deployment ID: []
2024-08-08 14:46:46.311 [trace] Resolving chat model
2024-08-08 14:46:56.319 [trace] Resolved chat model
2024-08-08 14:46:58.269 [info] [chat fetch] request.response: [https://api.githubcopilot.com/chat/completions], took 1932 ms
2024-08-08 14:46:58.563 [info] message 0 returned. finish reason: [stop]
2024-08-08 14:46:58.565 [info] request done: requestId: [b6426a0f-695f-448a-840e-bb0660335200] model deployment ID: []

I believe this has been fixed and was caused by blocking the exp endpoint. Are you still seeing this

I believe this has been fixed and was caused by blocking the exp endpoint. Are you still seeing this

yes, it seems ok


Linking SystemC on Windows with MinGW produces Error with QuickThreads

C:\Users\...\systemc\src\sysc\packages\qt\md\iX86_64.s: Assembler messages:
C:\Users\...\systemc\src\sysc\packages\qt\md\iX86_64.s:77: Error: junk at end of line, first unrecognized character is `-'
mingw32-make.exe[2]: *** [...\systemc\src\CMakeFiles\systemc.dir\build.make:1266: .../systemc/src/CMakeFiles/systemc.dir/sysc/packages/qt/md/iX86_64.s.obj] Error 1
mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:1006: .../systemc/src/CMakeFiles/systemc.dir/all] Error 2
mingw32-make.exe: *** [Makefile:129: all] Error 2

SystemC was build with CMAKE in the context of a CMAKE project. Under Linux and macOS its works, but on windows I get this assembler error shown above. It can be fixed by using pthreads but I think qt are much better.
Any ideas to fix it?

One of my workaround would be to switch to pthreads/fibers. However this code in the CMAKE file prevents me of doing that:
if (WIN32 AND ENABLE_PTHREADS)
  message (FATAL_ERROR "Pthreads is not supported on ${CMAKE_SYSTEM}.")
endif (WIN32 AND ENABLE_PTHREADS)

Commenting out the last 3 lines in the .s file helps:
//#if defined(__linux__) && defined(__ELF__)
//.section .note.GNU-stack,"",%progbits
//#endif

User mo_ayman posted on 2020-07-15 on the SystemC forum about his effort to fix QuickThreads on Win64. He has created a branch containing the current state of his fixes, which is based on SystemC 2.3.2.

In my CMake build, I was able to fix the issue by overriding some properties before loading the SystemC library:
  if (MINGW)
      set(MSVC true)       # SystemC tries to assemble quick threads if this isn't added
  endif(MINGW)

Hello @myzinsky  and @mattgately ,
What environment are you using for MinGW setup?
I faced a similar issue recently and figured out that the issue was with my CMake setup.
I am using MSYS2 for managing my MinGW 64-bit environment.
As it seems the environment is split between MSYS2, MinGW 64-bit, MinGW 32-bit.
For MSYS2 and MinGW it has separate binaries for CMake which handles the SystemC project quite differently.
For reference: cmake packages in MSYS2
In case you are using MSYS2 to manage the setup it is quite easy to fix the issue:
pacman -S mingw64/mingw-w64-x86_64-cmake
Which resolved most of the build issues in the MinGW environment.
Note:

Regarding the MinGW cmake build one has to specify the CMake generator as "Unix Makefiles" by default it tries to configure for NMake/MSBuild project.
I have not tried with native windows CMake Binary for MinGW/MSYS2 environment.

Hope this helps.

I can confirm that it works with MSYS2, using a MINGW64 shell and the correct cmake
pacman -S mingw-w64-x86_64-cmake
as already pointed out by @AmeyaVS.
(Tested current SystemC 3.0.0)
The issue can be closed and could be re-opened if further details about the used cmake and migw system are given.


Store not available in props/context of components rendered using react-router

What I am rendering:
<Provider store={store}>
   <Router history={hashHistory}>
        <Route path='/' component={App}>
            <IndexRoute component={HomePage} onEnter={_ensureLoggedIn}/>
            <Route path="login" component={ SessionForm }/>
        </Route>
    </Router>
</Provider>

when attempting a sign in I am getting 'Cannot read property 'dispatch' of undefined' when calling this.context.store.dispatch
I threw a debugger and store is not present on this.props or this.context (SessionForm component).
I thought I tried everything from all the documentation on this subject I could find, still no help though

Are you attempting to access the <Provider> context directly? You should be @connecting your components and providing your action creators as bound functions to dispatch, which you can then access via props.

I would like to dispatch from the SessionForm component on a form submit event, was under the impression that provider allows for the store to be accessed by this.context.store

Yes, but that's removing a big benefit of having this library. You should use @connect instead like so: https://github.com/reactjs/react-redux/blob/master/docs/api.md#inject-todos-and-all-action-creators-addtodo-completetodo--as-actions

Understand the benefit of connect for presentational components however this component is just a log in form. It does not need to be connected to redux state. Just needs to call dispatch when submit is clicked. Is this still an appropriate use for connect?

You don't have to connect to state: https://github.com/reactjs/react-redux/blob/master/docs/api.md#inject-just-dispatch-and-dont-listen-to-store

Yeah, both mapState and mapDispatch are optional.  Connected components can optionally subscribe to state updates or ignore state entirely, and specify what functions they want to use dispatch with or just receive dispatch as a prop.  Fine either way.

Excellent thank you Tim! and apologies for totally missing that part of the readme, I believed this particular functionality worked independently from connect


Chinese Input Method Prevents Search

Due to the default activation of the Chinese input mode by the Microsoft Input Method in Chrome, it becomes impossible to input correct URLs or English keywords during searches, resulting in the inability to obtain rewards.
Perhaps consider adding a flag to simulate pressing the Shift key, so that it can switch to English mode.
Screenshot：

Can you describe how your setup normally works?
Are you saying that in order to type in english with your keyboard layout, you need to press SHIFT once before typing? Or hold the key down?

Yes! In order to type English, I need to press SHIFT once to switch to English mode. (only once)

My English is not very good, and I believe the code expresses the meaning more accurately than I can in English.
def search(count, words_gen: Generator, agent, args, config):
    --snip--
    # Wait for Chrome to load
    time.sleep(args.load_delay or config.get("load-delay", LOAD_DELAY))

    # keyboard controller from pynput
    key_controller = keyboard.Controller()

    # Select the address bar
    key_controller.press(Key.alt)
    key_controller.press("d")
    key_controller.release("d")
    key_controller.release(Key.alt)

    # Switch to English mode
    key_controller.press(Key.shift)
    key_controller.release(Key.shift)
    print("Switch to English mode")
    --snip--

Please check the new 2.1.0 Release to see if that works for you :D