Not running correctly with nix-build

⇒  ./result/bin/stack2nix .

Ensuring git version is >= 2 ...
Ensuring cabal version is >= 2 ...
stack2nix: haskell.compiler.ghc843 failed to build via nix
CallStack (from HasCallStack):
  error, called at src/Stack2nix/Util.hs:79:22 in stack2nix-0.2.2-EtJJy0cFom33lozvs8RJ6L:Stack2nix.Util

Looks like this is trying to install ghc-8.4.3. Do I need to build stack2nix with the correct version or something?

See https://github.com/input-output-hk/stack2nix/issues/166 for a few workarounds.


Form: Ion-input type password error/bug

Ionic version:  (check one with "x")
[ ] 1.x
[x] 2.x
I'm submitting a ...  (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or http://ionicworldwide.herokuapp.com/
Current behavior:
Hello, I have a form like this:
<ion-content padding>
  <form>
    <ion-list>
      <ion-item>
        <ion-label floating>Email</ion-label>
        <ion-input type="email" [(ngModel)]="email" name="email" required></ion-input>
      </ion-item>
      <ion-item>
        <ion-label floating>Password</ion-label>
        <ion-input type="password" [(ngModel)]="password" name="password" required></ion-input>
      </ion-item>
      <ion-item>
      <button ion-button block (click)="loginUser()">Log in</button>
      </ion-item>
    </ion-list>
  </form>
</ion-content>

When you run this on a browser anything you type in the input type password is automatically masked by dots.
When you run it on a device (only tested on Android), when you type a password it takes a few seconds to mask the characters (I understand this is for UX reasons).
The problem comes when I type my password and before the character is masked I click Log in. It will throw an error, like the password is incorrect.
If I wait for the character to get masked the log in is succesfull.
Expected behavior:
I would expect the character to mask onsubmit by default.
Or to pass the whole password even if the last character is not masked.
Other information:
I am using Firebase as a Backend.
Log in is successful at the second log in.
First log in throws error: A network error (such as timeout, interrupted connection or unreacheable host) has occurred.
Thanks!

Hello, thanks for opening an issue with us. Could you share a repo that we could use to reproduce this issue?

It seems it has nothing to do with the password input field.
Its more of a AngularFire2 / Firebase issue.
Thanks anyways!

No problem! I am going to close this issue for now.


API - Bugfix - Host Application Access

Issue:

https://github.com/bcgov/entity/issues/23279

Description of changes:
Security bug is fixed. The API behaviour [in terms of response codes] remains unchanged for now. Only the authorization check function needed updates.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the namex license (Apache 2.0).

CI check is failing with the same issue that Patrick had told to disregard earlier this week.


New key for test realm

[test]

[test]

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1221   +/-   ##
=======================================
  Coverage   60.16%   60.16%
=======================================
  Files         119      119
  Lines       10339    10339
=======================================
  Hits         6220     6220
  Misses       3464     3464
  Partials      655      655

Impacted Files
Coverage Δ

configuration/configuration.go
78.44% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


[rai+generic] [Errno 54] Connection reset by peer

Checklist

[X] I'm reporting a bug unrelated to a specific site
[X] I've verified that I'm running yt-dlp version 2<IP_ADDRESS> (update instructions) or later (specify commit)
[X] I've checked that all provided URLs are playable in a browser with the same IP and same login details
[X] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue

Description
Came across this interesting Rai link. It works just fine with HTTP but fails with HTTPS.
http://raisudtirol.rai.it/de/index.php?media=Ttv1656281400
and
https://raisudtirol.rai.it/de/index.php?media=Ttv1656281400
Not geo restricted. Maybe some optimisation to Rai or generic extractor is needed.
Sorry if this has already been reported and I've created a duplicate. This one is tricky so it was rather hard to pick the keywords to find if it existed.
Verbose log
./yt-dlp -v -F "https://raisudtirol.rai.it/de/index.php?media=Ttv1656281400"
[debug] Command-line config: ['-v', '-F', 'https://raisudtirol.rai.it/de/index.php?media=Ttv1656281400']
[debug] Encodings: locale UTF-8, fs utf-8, pref UTF-8, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2<IP_ADDRESS> [a86e01e74] (zip)
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Python version 3.9.13 (CPython 64bit) - macOS-12.4-arm64-arm-64bit
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: avconv -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] Checking exe version: avprobe -bsfs
[debug] exe versions: none
[debug] Optional libraries: sqlite3-2.6.0
[debug] Proxy map: {}
[debug] [generic] Extracting URL: https://raisudtirol.rai.it/de/index.php?media=Ttv1656281400
[generic] index: Requesting header
WARNING: [generic] Could not send HEAD request to https://raisudtirol.rai.it/de/index.php?media=Ttv1656281400: [Errno 54] Connection reset by peer
[generic] index: Downloading webpage
ERROR: [generic] Unable to download webpage: [Errno 54] Connection reset by peer (caused by ConnectionResetError(54, 'Connection reset by peer')); please report this issue on  https://github.com/yt-dlp/yt-dlp/issues?q= , filling out the appropriate issue template. Confirm you are on the latest version using  yt-dlp -U
  File "./yt-dlp/yt_dlp/extractor/common.py", line 639, in extract
    ie_result = self._real_extract(url)
  File "./yt-dlp/yt_dlp/extractor/generic.py", line 2832, in _real_extract
    full_response = self._request_webpage(request, video_id)
  File "./yt-dlp/yt_dlp/extractor/common.py", line 790, in _request_webpage
    raise ExtractorError(errmsg, cause=err)

  File "./yt-dlp/yt_dlp/extractor/common.py", line 772, in _request_webpage
    return self._downloader.urlopen(self._create_request(url_or_request, data, headers, query))
  File "./yt-dlp/yt_dlp/YoutubeDL.py", line 3595, in urlopen
    return self._opener.open(req, timeout=self._socket_timeout)
  File<EMAIL_ADDRESS>line 517, in open
    response = self._open(req, data)
  File<EMAIL_ADDRESS>line 534, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
  File<EMAIL_ADDRESS>line 494, in _call_chain
    result = func(*args)
  File "./yt-dlp/yt_dlp/utils.py", line 1457, in https_open
    return self.do_open(
  File<EMAIL_ADDRESS>line 1350, in do_open
    r = h.getresponse()
  File<EMAIL_ADDRESS>line 1377, in getresponse
    response.begin()
  File<EMAIL_ADDRESS>line 320, in begin
    version, status, reason = self._read_status()
  File<EMAIL_ADDRESS>line 281, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File<EMAIL_ADDRESS>line 704, in readinto
    return self._sock.recv_into(b)
  File<EMAIL_ADDRESS>line 1242, in recv_into
    return self.read(nbytes, buffer)
  File<EMAIL_ADDRESS>line 1100, in read
    return self._sslobj.read(len, buffer)
ConnectionResetError: [Errno 54] Connection reset by peer

Use --prefer-insecure
The link on the webpage is relative so yt-dlp is automatically appending the protocol (which defaults to HTTPS unless --prefer-insecure is provided).

It's works for me
(python_proj2) ~\yt-dlp>python -m yt_dlp -v "http://raisudtirol.rai.it/de/index.php?media=Ttv1656281400" --prefer-insecure
[debug] Command-line config: ['-v', 'http://raisudtirol.rai.it/de/index.php?media=Ttv1656281400', '--prefer-insecure']
[debug] Encodings: locale cp1252, fs utf-8, pref cp1252, out utf-8, error utf-8, screen utf-8
[debug] yt-dlp version 2<IP_ADDRESS> [a86e01e74] (source)
[debug] Lazy loading extractors is disabled
[debug] Plugins: ['SamplePluginIE', 'SamplePluginPP']
[debug] Git HEAD: 4d9bc6e6e
[debug] Python version 3.10.4 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] Checking exe version: ffmpeg -bsfs
[debug] Checking exe version: ffprobe -bsfs
[debug] exe versions: ffmpeg 5.0.1-full_build-www.gyan.dev (setts), ffprobe 5.0.1-full_build-www.gyan.dev
[debug] Optional libraries: Cryptodome-3.14.1, brotli-1.0.9, certifi-2<IP_ADDRESS>, mutagen-1.45.1, sqlite3-2.6.0, websockets-10.3
[debug] Proxy map: {}
[debug] [generic] Extracting URL: http://raisudtirol.rai.it/de/index.php?media=Ttv1656281400
[generic] index: Requesting header
WARNING: [generic] Falling back on generic information extractor.
[generic] index: Downloading webpage
[generic] index: Extracting information
[debug] Looking for video embeds
[debug] Formats sorted by: hasvid, ie_pref, lang, quality, res, fps, hdr:12(7), vcodec:vp9.2(10), acodec, filesize, fs_approx, tbr, vbr, abr, asr, proto, vext, aext, hasaud, source, id
[debug] Identified a JW Player data
[debug] Default format spec: bestvideo*+bestaudio/best
[info] index: Downloading 1 format(s): 0
[debug] Invoking http downloader on "http://raibz.rai.it/streaming/TGT22-26-06-22.mp4"
[debug] File locking is not supported. Proceeding without locking
[download] Destination: Rai Südtirol [index].mp4
[download]   0.5% of 184.71MiB at   50.30KiB/s ETA 01:02:22
ERROR: Interrupted by user

Why are there still sites in 2022 that doesn't use https??? 😒
Can/should we fix this to work without --prefer-insecure? Considering the current download is through generic, this would likely need a whole new extractor.

Same work-around (--prefer-insecure) is good for yt-dl.
The issue is that the media link is found by _find_jwplayer_data(). The page URL is then passed as the base_url argument to _parse_jwplayer_data(), and thence to _parse_jwplayer_formats(), where the user scheme preference is applied before the page defaults (same code in yt-dlp):
            source_url = urljoin(
                base_url, self._proto_relative_url(source.get('file')))

Why would one want to resolve the link against anything other than the page URL? To get https:, just use that in the URL passed to the program.

I will add a class to the Rai extractor.


Changes

Purpose

Remarks

PR introduces (a) breaking change(s): <yes/no>
PR introduces (a) deprecation(s): <yes/no>

Hi @salmanaslam25,
thanks for providing the PRs.
I think this is a duplicate of #3330.
So I'm closing it.
Feel free to reopen it if it's a mistake.


[BUG] Deadly module without the spawner module causese the mob spawners in caves to have missing textures.

Disabling the spawner module makes the spawners for the deadly module have no textures, however they still function, seemingly normally.
Here's a picture

Here's the related mods
Forge 35.1.13
Apotheosis-1.16.3-4.4.1.jar
ConfigurableCane-1.16.3-2.0.0.jar
EnchantmentDescriptions-1.16.4-6.0.2.jar
Hwyla-forge-1.10.11-B78_1.16.2.jar
jei-1.16.4-<IP_ADDRESS>.jar
branders-spawnermod-1.16.4-1.7.9.jar
Can we get the deadly module to work without the spawner module enabled?

Disabling the spawner module will do this to all spawners in the world, same with removing any block replacement.  It's a forge bug.
Also, why do you have two mods that are incompatible with apoth installed while making reports?

Disabling the spawner module will do this to all spawners in the world, same with removing any block replacement.  It's a forge bug.
Also, why do you have two mods that are incompatible with apoth installed while making reports?

Wow, just close it, without waiting for me to respond. Ok.
Well firstly, these mods you mention that are incompatible are listed in your dependencies. Little did I know that incompatible mods are also listed in the dependencies.  I see now that there's a dependency type selection and you have to select incompatible to see that those are indeed incompatible. My bad.
Secondly, these spawners are spawning WITH THE WORLD. I deleted the world entirely after making these changes. I understand that your spawners are different spawners than vanilla and removing these capabilities would also remove the aforementioned items from the game, causing a glitch like this. But that is NOT THE CASE.
Simply turning off those modules CAUSE THIS ISSUE.

Wow, just close it, without waiting for me to respond. Ok.
Well firstly, these mods you mention that are incompatible are listed in your dependencies. Little did I know that incompatible mods are also listed in the dependencies.  I see now that there's a dependency type selection and you have to select incompatible to see that those are indeed incompatible. My bad.
Secondly, these spawners are spawning WITH THE WORLD. I deleted the world entirely after making these changes. I understand that your spawners are different spawners than vanilla and removing these capabilities would also remove the aforementioned items from the game, causing a glitch like this. But that is NOT THE CASE.
Simply turning off those modules CAUSE THIS ISSUE.


[WIP] V1.1 backport 2016 07 16 microscope

This backports the following PRs:

#4856
#4452

Signed-off by: Ian Vernon<EMAIL_ADDRESS>

This change is

test-me-please

test-me-please

Build timed out; no explicit failures occurred. Trying again. Regardless of whether this build fails, I think this is the right thing to do, as outlined in the PR description.

test-me-please

The K8s 1.7 tests started here:
23:23:20 [Cilium-PR-Ginkgo-Tests-Validated] Running shell script

The pulling of the cilium-builder image took a considerable amount of time:
23:28:31     k8s1-1.7: Download complete
00:12:56     k8s1-1.7: e31ea0d9b455:

This could have occurred due to issues pulling the images from quay.io, connectivity on the baremetal running the VM, etc. 40 minutes to pull the image definitely explains the timeouts.
The same thing occurred for the k8s-1.10 build, indicating some type of problem pulling the images, as it is hitting both build stages simultaneously.

First green build:
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/5006
To validate the stability of this change, triggering two more builds.

test-me-please

Second green build:
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/5010
Building again one last time.

test-me-please

Third green build:
https://jenkins.cilium.io/job/Cilium-PR-Ginkgo-Tests-Validated/5012
As such, am merging.


⚠ Bofrost.lu has degraded performance

In 0baf695, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 3375 ms

Resolved: Bofrost.lu performance has improved in 1c0f12a.


Hello, I was wondering if you could make this compatible with pycord?

Unfortunately not.
discord.py is the main lib, and the only one I will be supporting and working with myself.


Add new options flag to create sample configuration

This adds the --create-ini-template to the cli
allowing users to create a sample configuration for
goad in their current working directory.

@cwaltken-edrans a bit too long, but I understand u want a self descripting thing


Assertion Failure

I am following exact steps as per tutorial: https://medium.com/michaeladeyeri/how-to-implement-android-like-tab-layouts-in-ios-using-swift-3-578516c3aa9
but getting Assertion failure error:
*** Assertion failure in -[UICollectionViewData layoutAttributesForItemAtIndexPath:], /BuildRoot/Library/Caches/com.apple.xbs/Sources/UIKit_Sim/UIKit-3600.7.47/UICollectionViewData.m:741
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'no UICollectionViewLayoutAttributes instance for -layoutAttributesForItemAtIndexPath: <NSIndexPath: 0x608000230e20> {length = 2, path = 0 - 0}'
As per my understanding this issue is related to 'ButtonBarView'. Could you please suggest me the fix for it.
Thanks.
-Krishna

I don't know what the problem is, but deleting xib and creating new one solved it, although i just copy pasted all code and it worked this time.
In my project i have custom navigation bar at the top, but the 'ButtonBarView' is always displaying from top (x:0, y:0). Any [possible solution for providing inset from top? The container view is good at its place, but 'ButtonBarView' is not at proper place.
Thanks.

Yeah I get that problem too

I managed to solve it, the issue for me was that I was using a UIView opposed to a UICollectionView.

Hey @KrishnaKaira ! could you see if you had the same mistake as @jesster2k10 ?
Or maybe upload a sample code to reproduce the issue
Cheers


add separate upstart scripts for centos 6 and ubuntu 12.04

The upstart versions of centos 6 and ubuntu 12.04 are missing features that are configured in the current upstart file. This PR adds separate files for these OSes.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


EI-1772 update create input

Adds RPC methods to:

Create an input
Update an input

@vtermanis @conbon I've updated this, I've also made values and properties repeated fields  as the UpsertInputWithMeta was doing this, and it seems to be a good idea to allow multiple updates. Let me know if this is the wrong idea.


Form scaling

Forms do not scale for different screen sizes and DPI.
v1.0.0-alpha.1

Fixed in v1.0.0-alpha.2.


Update Project Descriptions for Improved Clarity and Accuracy

I would love working on this issue! Could you please assign this to me?


add testcase for double colon

Hi @joegasewicz ! I find the issue by the page
And is it okay to feel like this for the issue https://github.com/joegasewicz/env-conf/issues/7 ? There are any rule about contribution...., so plz check!

Thanks! If you need more help, please mension me! @joegasewicz

That's great to know, I will do, thanks again @ogiwelcome


How to get Child component to notify Parent component that it can't continue with initialization

So, I have one parent component that is supposed to load multiple child components, kinda like Factory but I'm keeping it simple here. These child components are independently responsible for doing some task that can fail midway and you can't load the model of the child component.
For example:

Parent component does background tasks connecting to a server etc, setup other things.
Child component fetches an image from server and load it.

In such a scenario, it would be ideal to let the parent component to be notified similar to Option enum to return an error to Parent component if image fetch gives 404 and let the parent component skip it.
The only solution currently I am thinking of is to let parent component do the heavy lifting and the child component will just display it if the model is correctly built.
Cons:

This complicates the responsibility of Parent component, it's purpose is mixed? A child component should have just fetched it and loaded.

Are you using regular components or asynchronous components?
Maybe you can use this solution:
// The child component
struct ComponentModel {
    // ...
}

impl ComponentModel {
    // Optional initialization
    fn init() -> Option<Self> {
        //
    }
}

impl Component for ComponentModel {
    // Pass the entire model as init parameter
    type Init = Self;
    // ...
}

    // Then in the parent component:
    fn init(/* ... */) -> ComponentParts<Self> {
        // ...

        // Only launch the component if the initialization works
        if let Some(child) = ComponentModel::init() {
            model.child = Some(ComponentModel::builder().launch(child).detach());
        }

        // ...
    }

Please let me know if that works for you :)

The thing is my child component i.e., ComponentModel's init() method returns ComponentParts<Self>. So I don't think this would work.

Ah, got it. But then what about the child components's view_output!() ? Where does that fit in? 🤔

Something like this:
fn init(init: Self, root: &Self::Root, sender: ComponentSender<Self>) -> ComponentParts<Self> {
    let model = init;

    let widgets = view_output!();

    ComponentParts {
        model,
        widgets,
    }
}

Yes, that is one solution. You could also have a separate init type that contains the result of all fallible operations and then use the Component::init() for initializing the model in an infallible manner. Often, it is enough to just pass Self as Init parameter though.
Btw. it was probably a bad idea to call the custom method init() because that could lead to collisions, so you should probably choose another name.


Embed python script in YAML file

Proof of concept of a possible solution to https://github.com/OpenAstronomy/github-actions-workflows/issues/9
In practice I think if we really wanted to do this we should add a pre-commit hook to make sure the base64 encoded script is in sync with the Python file in the repo, and also to run in CI. We could also add a flag to the script to make it return a base64-encoded version of itself.
This is hacky but I think would actually solve https://github.com/OpenAstronomy/github-actions-workflows/issues/9 🤷
(this only updates one of the scripts)

To be clear, I am suggesting this as a temporary option until we can properly access the workflow ref inside the workflow. It would at least allow us to start tagging some versions.

This is the first time I've seem a whole program encoded into an environment variable! This does seem like the best solution for now. The GitHub Actions docs advises on Storing Base64 binary blobs as secrets. Should be do: echo $TOX_MATRIX_SCRIPT | base64 --decode > tox_matrix.py instead of using python to decode? Use https://pre-commit.com for the pre commit hook?

Note that we can't use secrets as they won't be frozen for each tag. I can try and go ahead and implement this properly.

How about we only do this in our test workflow, and if the env var isn't defined in the main workflow then it reads from the file?

How about we only do this in our test workflow, and if the env var isn't defined in the main workflow then it reads from the file?

I'm not sure what you mean by this. If it reads the python script from file we have no way of knowing which version/ref of the file it should read.

@Cadair - but we would be defining TOX_MATRIX_SCRIPT in the workflow file like in this PR so it would always be defined?

Ok so now I need to learn about how pre-commit works unless someone fancies just pushing a commit here 😆

I can take a look later. Do you want me to configure https://pre-commit.ci so we can auto-update the encoded script in PRs?

I have added the pre-commit CI


Add reference for Configuration to kafka cluster

Description of your changes

Partially Fixes #489
It seems that creating a kafka cluster sometimes fails, with an error related to the configuration, as described in #489. One workaround we've implemented is to always define both the Configuration.kafka and the Cluster.kafka in the same composition, and patch from the Configuration to the composite, then from the composite to the Cluster with fromFieldPath: Required. This is cumbersome, but it works.
This seems like potentially a better solution, allowing the use of a selector to get essentially the same behavior, but the cost is that it requires you to specify the same selector twice. What I really wanted to do was to be able to extract both the ARN and the revision from the same object, but it seems like the output of the ExtractValueFn must always be a string, and make generate panics if I have more than one selector with the same name, so I couldn't see a way to do it.
I have:

[x] Run make reviewable test to ensure this PR is ready for review.

How has this code been tested

/test-examples="examples/kafka/cluster.yaml"

Since it takes a long time to create and delete this resource, can you add a 2-hour timeout like here to extend the running time of uptest?

I updated the example to include the 2 hour timeout (oof) and also fixed a schema error. I don't know why the configurationInfo is an array, probably because of something about the way it's set up in terraform? It certainly seems like it would make more sense as an object in yaml, but I guess that would be a breaking schema change to a v1beta1 resource, which probably isn't worth it.
For some reason when I try to run the e2e test locally I get this error:
    case.go:363: DeliveryStream.firehose.aws.upbound.io "test-stream" is invalid: spec: Invalid value: "object": no such key: initProvider evaluating rule: name is a required parameter

Any idea why that might be?

Any idea why that might be?

Can you use the example here for the DeliveryStream.firehose resource? The example in Cluster.kafka resource has not been updated and has deprecated parameters.

ok, that's fixed. Now the problem is that the Cluster.kafka is having a reconcile error:
    Last Transition Time:  2023-09-14T21:20:46Z
    Message:               cannot resolve references: mg.Spec.ForProvider.ConfigurationInfo[i3].Revision: referenced field was empty (referenced resource may not yet be ready)
    Reason:                ReconcileError
    Status:                False
    Type:                  Synced

even though the Configuration is Ready:

kubectl get -o yaml configuration.kafka
apiVersion: v1
items:
- apiVersion: kafka.aws.upbound.io/v1beta1
  kind: Configuration
  metadata:
    annotations:
      crossplane.io/external-create-succeeded: "2023-09-14T21:18:28Z"
      crossplane.io/external-name: arn:aws:kafka:us-west-1:226209437353:configuration/example/c8c1a33a-54f0-44ef-8a5c-a99ce0f33319-2
      upjet.crossplane.io/provider-meta: "null"
      upjet.upbound.io/test: "true"
    creationTimestamp: "2023-09-14T21:18:28Z"
    finalizers:
    - finalizer.managedresource.crossplane.io
    generation: 2
    labels:
      testing.upbound.io/example-name: example
    name: example
    resourceVersion: "153241"
    uid: aa1f90fe-51b0-46d3-b9d1-51c91490bbb7
  spec:
    deletionPolicy: Delete
    forProvider:
      kafkaVersions:
      - 2.6.0
      name: example
      region: us-west-1
      serverProperties: |
        auto.create.topics.enable = true
        delete.topic.enable = true
    initProvider: {}
    managementPolicies:
    - '*'
    providerConfigRef:
      name: default
  status:
    atProvider:
      arn: arn:aws:kafka:us-west-1:226209437353:configuration/example/c8c1a33a-54f0-44ef-8a5c-a99ce0f33319-2
      description: ""
      id: arn:aws:kafka:us-west-1:226209437353:configuration/example/c8c1a33a-54f0-44ef-8a5c-a99ce0f33319-2
      kafkaVersions:
      - 2.6.0
      latestRevision: 1
      name: example
      serverProperties: |
        auto.create.topics.enable = true
        delete.topic.enable = true
    conditions:
    - lastTransitionTime: "2023-09-14T21:18:34Z"
      reason: Available
      status: "True"
      type: Ready
    - lastTransitionTime: "2023-09-14T21:18:29Z"
      reason: ReconcileSuccess
      status: "True"
      type: Synced
    - lastTransitionTime: "2023-09-14T21:18:31Z"
      reason: Success
      status: "True"
      type: LastAsyncOperation
    - lastTransitionTime: "2023-09-14T21:18:31Z"
      reason: Finished
      status: "True"
      type: AsyncOperation
    - lastTransitionTime: "2023-09-14T21:18:45Z"
      reason: UpToDate
      status: "True"
      type: Test
kind: List
metadata:
  resourceVersion: ""

Oh, I bet the problem is that status.atProvider.latestRevision is a number, not a string.

Then we can consider canceling the reference definition for the revision parameter and passing the value as revision: 1. What do you say?

That will make the test pass. I already tried that locally and it worked. It does make the reference substantially less useful, but I suppose it's still better than nothing?
How deeply baked into the code for resolving references is the requirement that the resolved value must be a string? What I'd really like to be able to do is use a Resolver that returns an object, which I can customize. Something like (pseudocode)
def resolveConfiguration(mr: xp.ManagedResource) = {
  return {
    "arn": mr.status.atProvider.arn,
    "revision": mr.status.atProvider.latestRevision
   }
}

This seems useful in general as a flexible (ideally user-definable) way to define arbitrary dependencies between managed resources. Are you aware of any design discussions around possibly supporting this, or on why it would be prohibitively difficult?

/test-examples="examples/kafka/cluster.yaml"

For checking uptest logs: https://github.com/upbound/provider-gcp/pull/391#issuecomment-1725071475

As far as I can tell the test failed because one or more of the subnets didn't become ready.
2023-09-20T08:29:51Z	DEBUG	provider-aws	apply async ended	{"workspace": "/tmp/88afe8fa-8857-45c1-883e-737f847b19d4", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.5.5\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-09-20T08:29:50.081714Z\",\"terraform\":\"1.5.5\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"aws_subnet.subnet-az2: Plan to create\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-09-20T08:29:51.314176Z\",\"change\":{\"resource\":{\"addr\":\"aws_subnet.subnet-az2\",\"module\":\"\",\"resource\":\"aws_subnet.subnet-az2\",\"implied_provider\":\"aws\",\"resource_type\":\"aws_subnet\",\"resource_name\":\"subnet-az2\",\"resource_key\":null},\"action\":\"create\"},\"type\":\"planned_change\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 1 to add, 0 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-09-20T08:29:51.314247Z\",\"changes\":{\"add\":1,\"change\":0,\"import\":0,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"aws_subnet.subnet-az2: Creating...\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-09-20T08:29:51.800935Z\",\"hook\":{\"resource\":{\"addr\":\"aws_subnet.subnet-az2\",\"module\":\"\",\"resource\":\"aws_subnet.subnet-az2\",\"implied_provider\":\"aws\",\"resource_type\":\"aws_subnet\",\"resource_name\":\"subnet-az2\",\"resource_key\":null},\"action\":\"create\"},\"type\":\"apply_start\"}\n{\"@level\":\"info\",\"@message\":\"aws_subnet.subnet-az2: Creation errored after 0s\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-09-20T08:29:51.946235Z\",\"hook\":{\"resource\":{\"addr\":\"aws_subnet.subnet-az2\",\"module\":\"\",\"resource\":\"aws_subnet.subnet-az2\",\"implied_provider\":\"aws\",\"resource_type\":\"aws_subnet\",\"resource_name\":\"subnet-az2\",\"resource_key\":null},\"action\":\"create\",\"elapsed_seconds\":0},\"type\":\"apply_errored\"}\n{\"@level\":\"error\",\"@message\":\"Error: creating EC2 Subnet: InvalidParameterValue: Value (REDACTEDc) for parameter availabilityZone is invalid. Subnets can currently only be created in the following availability zones: REDACTEDa, REDACTEDb.\\n\\tstatus code: 400, request id: c748bd40-b8df-4902-89ee-8ac002585416\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-09-20T08:29:51.947437Z\",\"diagnostic\":{\"severity\":\"error\",\"summary\":\"creating EC2 Subnet: InvalidParameterValue: Value (REDACTEDc) for parameter availabilityZone is invalid. Subnets can currently only be created in the following availability zones: REDACTEDa, REDACTEDb.\\n\\tstatus code: 400, request id: c748bd40-b8df-4902-89ee-8ac002585416\",\"detail\":\"\",\"address\":\"aws_subnet.subnet-az2\",\"range\":{\"filename\":\"main.tf.json\",\"start\":{\"line\":1,\"column\":443,\"byte\":442},\"end\":{\"line\":1,\"column\":444,\"byte\":443}},\"snippet\":{\"context\":\"resource.aws_subnet.subnet-az2\",\"code\":\"{\\\"provider\\\":{\\\"aws\\\":{\\\"access_key\\\":\\\"REDACTED\\\",\\\"region\\\":\\\"REDACTED\\\",\\\"secret_key\\\":\\\"REDACTED\\\",\\\"token\\\":\\\"\\\"}},\\\"resource\\\":{\\\"aws_subnet\\\":{\\\"subnet-az2\\\":{\\\"availability_zone\\\":\\\"REDACTEDc\\\",\\\"cidr_block\\\":\\\"<IP_ADDRESS>/24\\\",\\\"lifecycle\\\":{\\\"prevent_destroy\\\":true},\\\"tags\\\":{\\\"crossplane-kind\\\":\\\"subnet.ec2.aws.upbound.io\\\",\\\"crossplane-name\\\":\\\"subnet-az2\\\",\\\"crossplane-providerconfig\\\":\\\"default\\\"},\\\"vpc_id\\\":\\\"vpc-071bb13dcb266c3d4\\\"}}},\\\"terraform\\\":{\\\"required_providers\\\":{\\\"aws\\\":{\\\"source\\\":\\\"hashicorp/aws\\\",\\\"version\\\":\\\"4.67.0\\\"}}}}\",\"start_line\":1,\"highlight_start_offset\":442,\"highlight_end_offset\":443,\"values\":[]}},\"type\":\"diagnostic\"}\n"}

Maybe for some reason your aws account is only allowed to use the us-west-1a and us-west-1b AZs, and not us-west-1c? Or maybe AWS was having some problem in us-west-1c yesterday?
I ran the test twice locally on my laptop. The first time, after it had requested creation of the cluster, one of the aws api calls failed with a network error, probably because I was switching between wifi and ethernet, which caused the provider to terraform taint the kafka cluster. It was created in AWS, but never became ready in crossplane until I logged into the provider pod and manually terraform untainted it. Then it worked fine.
I reran the test a second time and left my computer plugged in to ethernet the whole time. The test passed without intervention, and those are the results I posted above.

Maybe for some reason your aws account is only allowed to use the us-west-1a and us-west-1b AZs, and not us-west-1c? Or maybe AWS was having some problem in us-west-1c yesterday?

Yes, it is, if this run also fails due to this, you can use us-west-1a and us-west-1b, I will trigger now.

/test-examples="examples/kafka/cluster.yaml"

I moved the whole example to us-east-2 and switched to availability zones a and b just before you triggered the test, so :crossed_fingers: it will pass this time.


station: 1.52.2 -> 2.5.0

Description of changes
Update the Station application from 1.52.2 to 2.5

Things done
I just update with the actual path and also set the arch as a variable.

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.11 Release Notes (or backporting 23.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

I did what you suggest @natsukium, let me known if you need something else.

Sorry for my novice with ofborg, but I do not understand well that is the root of the problem.


Format Errors since GoAccess 1.9

Since having upgraded GoAccess from 1.8.1 to 1.9 (Debian bookworm packages), we're getting a lot of these errors:
==3918168==
==3918168== Format Errors - Verify your log/date/time format

On some days, this happens every hour (every run, we run goaccess every hour), sometimes just on single runs. It's hard to say on which logfile it happens (need to introduce some more debugging), but it's basically a loop over a couple of access.log files, running these goaccess commands:
grep -P " (foo.example.com)( \d+)?$" /var/www/web999/logs/access.log | goaccess - --restore --persist -o /var/www/web999/system/goaccess/foo/2024-02/index.html --db-path /var/www/web2/system/goaccess/foo/2024-02/db/ --keep-last=29
grep -P " (example.com)( \d+)?$" /var/www/web999/logs/access.log | goaccess - --restore --persist -o /var/www/web999/system/goaccess/www/2024-02/index.html --db-path /var/www/web2/system/goaccess/www/2024-02/db/ --keep-last=29

all access.log use the same Apache log format:
LogFormat "%h %l %u %t %I %O \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %V %p" combined

looking like this:
<IP_ADDRESS> - - [04/Feb/2024:12:02:15 +0100] 37 16933 "GET /favicon.ico HTTP/2.0" 200 16618 "https://example.com/something" "Mozilla/5.0 (X11; Linux x86_64; rv:122.0) Gecko/20100101 Firefox/122.0" foo.example.com 443

In 1.8.1 this was just working fine and Format Errors - Verify your log/date/time format error never popped up. Not need to specify --log-format, as it was correctly detected.
Any help greatly appreciated!
Thanks, Philip

Please review the details provided in this post and confirm if it resolves the issue on your side. Planning to deploy the updated release shortly. Appreciate your feedback. Thank you.

Hi @allinurl Thanks for your fast response and sorry about not finding time to further debug this. Yes, it seems to have been #1683 related and since having upgraded from 1.9.0 to 1.9.1 this morning, the Format Errors no longer popped up.
Thank you for shipping 1.9.1 that fast!


Refresh when scrolling to the edge at first/last item

Is this a bug report or a feature request?
feature request
Hello,
I'm trying to implement a refresh on swipe mechanic on the carousel but so far i have been unable to make it work. I tried making use of onScroll and onScrollBeginDrag/onScrolEndDrag. But that didn't suffice. Is there another way of implementing a swipe to refresh?
use case: I want my list to call a refresh method whenever the user swipes further than the last/first item in the list
thank you!

Hi @GillesVercammen,
Have you tried playing with VirtualizedList's inherited props? Particularly onEndReached.

Tnx for the suggestion. I tried it out and it seems super buggy. It sometimes calls onEndReact on the first render of the component. Also It calls onEndReached twice with the bounce from flatlist.
I could make it work. But it is super dirty en fragile. sadly onRefresh en is refreshing props do not work for horizontal list.

@GillesVercammen Sorry for not getting back to you sooner. Indeed, the FlatList component is super buggy in vertical mode and it only gets worse when going horizontal...
I have been facing too many issues with horizontal FlatLists to recommend implementing an infinite scroll feature with it. For now, I would clearly go with a manual refresh button, as per your suggestion.
I'm going to close the issue since there's nothing much we can do about it at the moment. But feel free to continue the discussion and let's hope one of us finally come across a more robust solution ;-)

Hi,
My answer might be too late, since i have been facing the same issue, i decided to share with you guys my temporal fix.
This is not the best solution but at least something similar.
use onSnapToItem to know whenever the active item changes.
 <Carousel                 data={this.state.users}                 ref={(ref) => { this.carouselRef = ref; }}                  ...                 onSnapToItem={(index) => {                     let lastIndex = users.length - 1;                     if (index === lastIndex) {                          // do your fetch stuff here :)                         let newUsers = [];                         this.setState({ users: newUsers }, () => {                                  // jump to the previous index                                 this.carouselRef.snapToItem(index, true);                         });                     }                 }}             />
You can now re-fetch whenever the last item is rendered but  unfortunately the snapToItem is not working correctly.
For your own convenience, you can still add a button to refresh manually!
Thanks,
Have fun 👍


[FEATURE REQUEST] Lookup font in text render based on family and style name

Currently, fonts are identified by the name of the file that defines the font. In Arnold we extended this logic to be able to find fonts based on the font family and style name. This makes it easier for end users to select fonts. For instance "Arial Bold" is defined by arialbd.ttf on Windows. Specifying arialbd is not that obvious and also file names could differ based on the platform.
If you find this useful, we can port our code back here.
I'd also like to point out that it's not that obvious from the current documentation that fontname supposed to be the file name and not the family name.

fontsize/fontname – Size and name of the font. If the name is not a full pathname to a font file, it will search for a matching font, defaulting to some reasonable system font if not supplied at all), and with a nominal height of fontsize (in pixels).

Specially because some examples suggest the family name should work, like this:
ImageBufAlgo::render_text(A, x, y, "Centered", 48, "Courier New");

Not sure about other platforms, but for instance on Windows this does not work currently, because "Courier New" is defined by cour.ttf.

Created PR #4509 with the suggested changes.


bower asset wrong alias

Made a fresh installation of Yii 2.0.6 basic template and along with it are installed the various bower.
Bower asset path are as following schema
bower/bower-asset/<assets_name>
but the alias to bower in
yiisoft/yii2/base/Application.php at line 456
is defined as:
Yii::setAlias('@bower', $this->_vendorPath . DIRECTORY_SEPARATOR . 'bower');
and should be
Yii::setAlias('@bower', $this->_vendorPath . DIRECTORY_SEPARATOR . 'bower'.DIRECTORY_SEPARATOR .'bower-asset');

You are probably using pretty outdated version of https://github.com/francoispluchino/composer-asset-plugin

yes my error, I regularly do composer global update. But on this machine it was a bit of time that I didn't develop, and even with update the assets plugin was stick to 1.0.3 as update do not advance versions but only minor version.


Implement Ensemble for Streaming Detectors

Task
Implement an ensemble inheriting from Ensemble and StreamingDetector which is meant for the streaming case.
Description TBD. Stems from #77
Random notes:
class StreamingEnsemble(Ensemble, StreamingDetector):
    def update():
        step_detector_1_forward()                    # can use pipeline idea scrapped earlier
        if detector_1.reached_burn_in_point:
            # do something

Here's the current look:
df = fetch_rainfall_data()[['temperature', 'dew_point', 'sea_level_pressure']]
y_trues = fetch_rainfall_data().rain

k1 = KdqTreeStreaming(window_size=10, bootstrap_samples=1)      # only works with >1 X features
p1 = PCACD(window_size=10, sample_period=0.1)                   # have to set step to integer

d1 = DDM(n_threshold=10)
e1 = EDDM(n_threshold=10)
l1 = LinearFourRates(burn_in=2, num_mc=1)
m1 = MD3                                                        # TODO - no idea how to include this one
s1 = STEPD(window_size=10)
a1 = ADWINOutcome()                                             # default threshold sizes are too large

detectors = {
    'k1': k1, 'p1': p1,                                         # data drift
    'd1': d1, 'e1': e1, 'l1': l1, 's1': s1, 'a1': a1,           # concept drift
                                                                # change detection
}

s = StreamingEnsemble(detectors, 'simple-majority')
for i in range(21):
    s.update(X=df.iloc[[i]], y_true=y_trues[i], y_pred=np.random.randint(0,2))

It runs! The following issues remain for me to look at:

add MD3 to this example (can cheat off of concept drift examples)
use large enough # of rows such that burn-ins, thresholds come into play (and sketch logic to handle that)
should change detectors be in here? many are univariate, which may mean some internal parsing in the ensemble code, since the we're passing in entire rows above?

Tagging @tms-bananaquit for initial thoughts

Definitely need to think about MD3, but I'm not sure we should commit to fixing it with this issue. One problem is that it's supposed to loop calling give_oracle_label rather than update once it hits a warning state, so if we do handle it in the streaming ensemble, it's sort of a commitment to a particular structure for semi-supervised detectors which we may have to back out later. On the set_reference problem, at least, that only needs to be explicitly called after init.
I think the extra logic on the burn-in and similar may need to come in with fancier options for the evaluators, at least to encompass the two approaches noted in issue 25, which are a) "if any detector enters a drift state, reset and retrain all detectors" and b) "wait for a second detector to confirm before having the ensemble alarm".

Neither of these specifically accounts for "out of sync" burn-in. I think having these on comparable resolutions is something we could impose on the "outside" as part of testing, but I'm not sure about a solution right now, or whether it's even desirable to bake one into e.g. validation.

Re: change detectors, I think you already solved this problem in the Ensemble superclass, with the columns argument. There might be some way to make it more convenient to have null entries where it's not applicable, and fork on the input:

PCACD and KdqTreeStreaming probably would respond to null by operating on the entire X
concept drift detectors just ignore X entirely, so presumably non-null columns entries would also be ignored?

I think the note on the diversity of drift detectors from #25 is something we can incorporate into examples, rather than explicitly prohibiting the user from combining certain detectors one way or the other.

@tms-bananaquit Ok, so I've decided then to ignore MD3, and add the evaluators (I may discuss those with you separately) without thinking much of burn-in for this issue.
Need a bit to wrap my head around the change detectors bit, working on that now.


Updated copyright year to 2023 in all files

Description
Updated copyright year to 2023 in all files
Summary of the change and any relevant info.
Type of change

Bug fix
New sample implementation
Sample viewer enhancement
Other enhancement

Platforms tested on

[ ] WPF .NET 6
[ ] WPF Framework
[ ] WinUI
[ ] MAUI WinUI
[ ] MAUI Android
[ ] MAUI iOS
[ ] MAUI MacCatalyst

Checklist

[ ] Self-review of changes
[ ] All changes work as expected on all affected platforms
[ ] There are no warnings related to changes
[ ] Code is commented and follows .NET conventions and standards
[ ] Codemaid and XAML styler extensions have been run on every changed file
[ ] No unrelated changes have been made to any other code or project files
[ ] Screenshots are correct size and display in description tab (800 x 600 on Windows, 600 height mobile screenshots for MAUI)

Do we need to change all older years to 2023 as well? I only see 2022 MAUI changes and one shared file. There are still plenty of 2016-2021 files in the repo.

@ZackAllen I am not sure either. I will check with sample design council to see what other SDKs do.

Based on https://devtopia.esri.com/runtime/dotnet-api/wiki/.NET-Samples-conventions-and-standards#copyright-years I don't this we need to update all files. @duffh can you please confirm ?

Based on https://devtopia.esri.com/runtime/dotnet-api/wiki/.NET-Samples-conventions-and-standards#copyright-years I don't this we need to update all files. @duffh can you please confirm ?

You are right, let's not merge this change. I'll update the sample template year to 2023 in line with this convention.


Clarify whether the library is supported in React Native

This very promising library's npm name seems to suggest that this is a React Native library.  However, React Native currently doesn't natively support BigInt nor the n number suffix required for the library to work. These issues could be addressed using the big-integer package and the @babel/plugin-syntax-bigint plugin. I suggest either documenting the React Native library installation procedure or clarifying that the words react native in the library's title don't refer to React Native.

clarifying that the words react native in the library's title don't refer to React Native

Which words? We don't have any "react" mention anywhere.

I don't know whose package is react-native-elliptic-curve-cryptography, it's not mine. So, you should report the issue to pkg author.

Someone appears to be pointing the react-native-elliptic-curve-cryptography npm package to this repository and your corresponding blog post.  I (it turns out wrongly) assumed it was you.  Apologies for bothering you.

I don't know whose package is react-native-elliptic-curve-cryptography, it's not mine. So, you should report the issue to pkg author.

have you reported this issue on the NPM website...?


Improve repo level ordering tf

Why are these changes needed?
Related issue number (if any).
https://github.com/IBM/data-prep-kit/issues/421
https://github.com/IBM/data-prep-kit/issues/420

@shivdeep-singh-ibm can you resolve the conflicts, we can merge this PR once it is resolved

@shivdeep-singh-ibm can you please check the testcase, 2 failures reported https://github.com/IBM/data-prep-kit/actions/runs/10416381352/job/28848510989?pr=434

@shivdeep-singh-ibm can you please resolve the merge conflicts


June demo

Re-created PR to re-open CI processing and provide a patch to ZED python package version.

Re:

"Docker image is currently too big for the default Github CI Runners... Zed bloat is mostly to blame"

Would it be viable to change the default Github CI Runners' maximum allowed docker image size? Especially since you mentioned hesitation to remove the Zed bloat for now.

Would it be viable to change the default Github CI Runners' maximum allowed docker image size? Especially since you mentioned hesitation to remove the Zed bloat for now.

I don't believe that is possible without paying Github money. l found something related to getting extremely nitty-gritty with Github automation where we would rm ... a bunch of non-critical stuff from the instance image host before proceeding into docker stuff, but it's a bit fragile and I don't think it would give us much room.
In the future, based on a convo with Brian, we may not continue to use the Zed stuff, so that may be removable. I might put up a Draft PR later today doing just that to set the stage for when it's appropriate.


[EBS VOLUME TYPE CONFIGURATION] - How to specify the type of EBS volume type?

Summary
I have a docker swarm setup in AWS in a multi-AZ setup, I am using rex-ray to create persistent storage for docker containers via docker service create command. Now back in my aws ec2 web console, I see the volume is being created but the type of volume created is standard. So what is the configuration that I have to add to change the volume type of my choosing, gp2, iops, etc.
TL;DR
Everything works fine, expected behavior and actual behavior are same, although the logs show some errors.
So Basically I have 2 questions:

First one is regarding the EBS Volume Type that is getting created. How to define my own type?
Since everything works fine, why do I still have those error logs?

If you need to know the entire workflow, if it may help, I have furnished more and verbose info below.
MORE INFO
I have 5 node cluster -
3 Managers (nightswatch-01, lannisters-02, starks-03),
2 Workers (johnsnow-04, tyrion-05).
Region - ap-south-1
AZ - ap-south-1a and ap-sount-1b
2 Manager in AZ a :  (nightswatch-01,  starks-03),
1 Manager in AZ b :  (starks-03).
1 Worker in AZ a :  (johnsnow-04),
1 Worker in AZ b :  (tyrion-05).
NOTE : The above info is not needed, just to make it easy if required.
Version
Please paste the output of rexray version. For example:
$ rexray version
REX-Ray
-------
Binary: /usr/bin/rexray
Flavor: client+agent+controller
SemVer: 0.7.0
OsArch: Linux-x86_64
Branch: v0.7.0
Commit: a20a838ca70838a914b632637398824fcb10d0db
Formed: Mon, 23 Jan 2017 15:14:32 UTC

libStorage
----------
SemVer: 0.4.0
OsArch: Linux-x86_64
Branch: v0.7.0
Commit: a1103d3f215117f7b9f51dae2b24f852c9c54995
Formed: Mon, 23 Jan 2017 15:14:12 UTC

NOTE: Additionally I am also giving my docker version report.
$ docker version
Client:
 Version:      1.13.1
 API version:  1.26
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 06:50:14 2017
 OS/Arch:      linux/amd64

Server:
 Version:      1.13.1
 API version:  1.26 (minimum version 1.12)
 Go version:   go1.7.5
 Git commit:   092cba3
 Built:        Wed Feb  8 06:50:14 2017
 OS/Arch:      linux/amd64
 Experimental: false

Expected Behavior

After I create a service with mount as volume with volume-driver as rexray with a constraint on the service to restrict the task scheduling to a particular AZ (since cross AZ EBS support not possible)
Able to add data to the redis service in one node, shutting the node down, so as the auto scheduling of task(container) to a different node satisfying the AZ constraint.
Able to enter the container to check the data persisted.
Also to be able to check the volume appearing in the aws ec2 web console with attached instance, first to be the original node instance-id, and after its shut down, then re-attachment to the new node instance (belonging to the same AZ)

Actual Behavior
All of the above expected behaviours are satisfied.
Screenshots to show the steps.

Creation of service from a manager node in AZ a (nightswatch-01). The service gets scheduled according to the constraint to one node in AZ b. In this case gets scheduled to (lannisters-02)

Data added successfully, no screenshot for this. Node Shut Down to mimic node failure, Below Screenshot shows Node (lannisters-02) becomes Down and Manager status as Unreachable

Also the task(container) gets rescheduled to a new node with satisfying constraint of AZ b

Able to enter the container to check if data persisted in the volume.

Able to see the volume creation. Attached instances not shown, but it worked perfectly.

NOTE this is my main question. The above volume does get created and everything works as expected but how to change the volume type (or is the standard the only possible type)
Steps To Reproduce
Please list the steps to reproduce the issue in this section.
NOTE Debug mode enabled.

Create Swarm of 5 nodes according the initial info. Add labels to node so as to use those labels during service creation to put constraint to service scheduling to particular AZ. Install rex-ray via the curl comand to all nodes, add config.yml to all nodes in required directory, and restart rexray service in all nodes.

Step 1: Create Service from any manager node. I have put the constraint to schedule task to a node in AZ b

$ docker service create --name redis --mount type=volume,source=redis_data,target=/data,volume-driver=rexray --constraint 'node.labels.io.aroyd.swarm.cluster.node.aws.az == b' redis:alpine redis-server --appendonly yes

Find out where the service task got scheduled and note down the node name.

$ docker service ps redis

SSH in to the scheduled node and enter into the container and add data to redis

$ docker exec -it $CONTAINER_ID sh
# redis-cli
>set foo bar
>lpush mylist a b 123 456
>exit
#^P^Q

Shut down above node to mimic node failure

$ docker-machine stop <node_name_of_the_service_scheduled>

Check current node where task got scheduled from any present manager node

$ docker service ps redis

7 Go to the new node, enter into the container and check if data persisted
$ docker exec -it $CONTAINER_ID sh
# redis-cli
>get foo
bar
>lrange mylist 0 -1
> <result>
> exit
# ^P^Q

Configuration Files
Please paste any related configuration files, such as /etc/rexray/config.yml
in this section. Please use the appropriate formatting when pasting YAML.
content. For example:
NOTE I used the rex-ray configuration generator to generate this config.
rexray:
  logLevel: debug
libstorage:
  logging:
    level: debug
    httpRequests:  true
    httpResponses: true
  service: ebs
  integration:
    volume:
      operations:
        create:
          default:
            size: 8
        mount:
          preempt: true
        unmount:
          ignoreUsedCount: false
        path:
          cache:
            enabled: true
            async: true
ebs:
  accessKey: <my_access_key>
  secretKey: <my_secret_key>
  region: ap-south-1

Logs
It is very important when filing an issue to include associated logs. There are
two different logs about which to be concerned: the service log (if REX-Ray is
running as a service) and the client log.
Service Log
NOTE Adding logs here since its not that verbose, just a few lines.

Logs on the first node where the service gets scheduled first. In my case (lannisters-02):

No error logs here.

After rescheduling of service to a new node, in my case (tyrion-05) according to the constraint of AZ b. The logs on this node are:

SemVer: 0.7.0                                                                                [0/141]
OsArch: Linux-x86_64
Branch: v0.7.0
Commit: a20a838ca70838a914b632637398824fcb10d0db
Formed: Mon, 23 Jan 2017 15:14:32 UTC

libStorage
----------
SemVer: 0.4.0
OsArch: Linux-x86_64
Branch: v0.7.0
Commit: a1103d3f215117f7b9f51dae2b24f852c9c54995
Formed: Mon, 23 Jan 2017 15:14:12 UTC

time="2017-02-16T09:41:28Z" level=error msg="resource not found" host="unix:///var/run/libstorage/711720440.sock" instanceID="ebs=i-<tyrion-0f_instance_id>,availabilityZone=ap-south-1b&region=ap-south-1" resourceID=vol-<redis_data_volume_id> route=volumeInspect server=jet-singer-gb service=ebs storageDriver=ebs task=0 time=1487238088942 tls=false txCR=1487238088 txID=1d5a9aa0-bd1b-42cd-44c0-673575353773
time="2017-02-16T09:41:28Z" level=error msg="resource not found" host="unix:///var/run/libstorage/711720440.sock" resourceID=vol-<redis_data_volume_id> route=volumeInspect server=jet-singer-gb time=1487238088942 tls=false txCR=1487238088 txID=1d5a9aa0-bd1b-42cd-44c0-673575353773
time="2017-02-16T09:41:28Z" level=error msg="/VolumeDriver.Path: error returning path" error.inner.resourceID=vol-<redis_data_volume_id> error.status=404 host="unix:///var/run/libstorage
/711720440.sock" time=1487238088944

@anirbanroydas you need to pass the --opt flag and pre-create the volume before deploying the container
this will show you all the options you can use and would be the best way for re-creation
rexray volume create --help

      --amount[=false]: Attach and mount the new volume
      --attach[=false]: Attach the new volume
      --availabilityZone="":
      --continueOnError[=false]: Continue processing a collection upon error
      --encrypted[=false]: A flag that requests the storage platform create an encrypted volume. Specifying true doesn't guarantee encryption; it's up the storage driver and platform to implement this feature.
      --encryptionKey="": The key used to encrypt the volume.
      --force[=false]:
      --fsType="":
      --iops=0:
      --overwriteFS[=false]:
      --size=0:
      --snapshotID="":
      --volumeType="":

sudo rexray volume create testvol01 --size=20 --volumeType=gp2
sudo rexray volume create testvol02 --size=100 --volumeType=io1 --iops=2500

or you can use docker volume cli and pass the opt flag:
sudo docker volume create -d rexray --name testvol03 --opt=size=20 --opt=volumeType=gp2

@kacole2  Thanks. Thats the solution for the volume type problem.
Can you also shed some light on the error logs?
Also, I would request to do some refactoring of the docs. Its a little overwhelming when you first try to look at it. Plus you have to refer the libstorage docs at the same time. And the fact the all the options and stuffs are not mentioned clearly. It would be great if the docs get easier to grasp. Right now there are a lot of things which are not clear at first go.

Hi @anirbanroydas,
I just wanted to step in and comment on how amazed and impressed I am by your attention to detail and willingness to adhere to the issue template's requested guidelines. Thank you so much. This type of information truly does make it easier for us to help you. Thank you again.

@akutz Thanks. It indeed is a good practice when creating new issues.

@anirbanroydas sorry for being a little late to the reply here. you've made @akutz very happy :)
as for the docs, yes. they are intimidating and overwhelming when first looking at them. We are currently underway of adding in new sections, as well a quick "get started" splash page that should ease a lot of the burden.
the service logs...
time="2017-02-16T09:41:28Z" level=error msg="resource not found" host="unix:///var/run/libstorage/711720440.sock" instanceID="ebs=i-<tyrion-0f_instance_id>,availabilityZone=ap-south-1b&region=ap-south-1" resourceID=vol-<redis_data_volume_id> route=volumeInspect server=jet-singer-gb service=ebs storageDriver=ebs task=0 time=1487238088942 tls=false txCR=1487238088 txID=1d5a9aa0-bd1b-42cd-44c0-673575353773
time="2017-02-16T09:41:28Z" level=error msg="resource not found" host="unix:///var/run/libstorage/711720440.sock" resourceID=vol-<redis_data_volume_id> route=volumeInspect server=jet-singer-gb time=1487238088942 tls=false txCR=1487238088 txID=1d5a9aa0-bd1b-42cd-44c0-673575353773
time="2017-02-16T09:41:28Z" level=error msg="/VolumeDriver.Path: error returning path" error.inner.resourceID=vol-<redis_data_volume_id> error.status=404 host="unix:///var/run/libstorage
/711720440.sock" time=1487238088944

it's saying that it can't find vol-<redis_data_volume_id>. This is probably because of a scripting error. I don't believe < or > are valid usable characters. I've never tested this myself though.
I can see the preempt is set to true, which will take care of the failover in a single AZ. You can probably clean up your config.yml a bit by using http://rexrayconfig.codedellemc.com/.

Hi @kacole2,
His config file is actually fairly concise for what he's trying to do, but I do recommend your generator. Just probably not for this case.

@kacole2  Actually, I have used the generator itself (I mentioned it as a NOTE in the issue template). And those <, > are not what I have used. I generally avoid any leaking of personal info via logs when submitting issues. So I just replace them with humanly-names. And for what is worth, the actual vol-ids were the same as what rex-ray created and which appeared on the ec2 web console. Thats why it feels strange, since everything worked fine and still those weird error logs.
@akutz What additional configuration should I add? The docs, as I mentioned is intimidating and took me a while to get around things and hence I cheated and used the configuration generator at first place to make things easier. Let me know where to go next.

@kacole2 Hey, any follow ups on the above?

@anirbanroydas better question... have you had any more errors? I'll have to defer on to others about the logs because from what I can tell is that it's looking for a volume that doesn't exist.

@anirbanroydas I'm looking through old issues, and wanted to check if you were still having any issues along these lines, or if this can be closed.
Thanks.


backslashing certain characters in the StringsFolder string (path) in config.json gives error when starting LocalizationTool

Using backslashes (because Windows-style paths) with certain characters in StringsFolder in config.json can create issues during startup of the tool, e.g. having "StringsFolder": "d:\WH40KRT\WhRtModificationTemplate\Strings" gives error window with "'W' is an invalid escapable characted within a JSON string. The string should be correctly escaped. Path: $.StringsFolder | LineNumber: 5 | BytePositionInLine: 23." and then few lines from what looks like a stack/backtrace.
Well, yes, \W (and \w) and also \S (and \s) I remember from regular expressions, so I guess something inside breaks down because of this...
... anyway, easily fixable by either escaping the backslashes, e.g. "d:\\WH40KRT\\WhRtModificationTemplate\\Strings", works, or by changing to slashes (like Unix-style paths), e.g. "d:/WH40KRT/WhRtModificationTemplate/Strings", works too.

@mhudec  have made changes a time ago. Is issue reproducable in the latest build?

@vmchar - I had this issue with v201, with newer v202 (that got released few days later) it is OK, the path in the config.json gets changed from \ to / automatically after I start the program. Thanks!
P.S. ... v203 seems to offer only source code ZIP archives for download so far in the releases.

v206 is OK too (replaces \ with /). Thank you.


Separate Air Quality App and Grafana into separate charts

Separate Air quality App and Grafana into separate charts
Separate Air Quality dashboards and General dashboards in different grafana folders.

Lcosing, already merged in a different PR.


pytun: 2.2.1 -> 2.3.0

Motivation for this change
Update pytun to its latest release.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108385 run on x86_64-linux 1

3 packages built:

python37Packages.pytun
python38Packages.pytun
python39Packages.pytun

This is a semi-automatic executed nixpkgs-review which does not build all packages (e.g. lumo, tensorflow or pytorch)
If you find some bugs or got suggestions for further things to search or run please reach out to SuperSandro2000 on IRC.
Result of nixpkgs-review pr 108385 run on x86_64-linux 1

3 packages built:

python37Packages.pytun
python38Packages.pytun
python39Packages.pytun


fix: Optimize Setting of Output Required Inputs

Description:
This update modifies the logic for setting required inputs for outputs in the Component class. Previously, the code would set required inputs even if they were already defined. With this change, the required inputs are only set if they are not already specified. This ensures that existing configurations are preserved and only missing required inputs are added.
Changes Made:

Added a conditional check to skip setting required inputs if they are already defined.

Rationale:
This change improves the efficiency of the component setup process by avoiding redundant operations. It ensures that the required inputs are only set when necessary, which can help prevent potential overwrites of existing configurations.
Impact:
This change should not affect existing functionality but will optimize the setup process for components with pre-defined required inputs.

AutoGenerated
This pull request includes a small change to the _set_output_return_type method in the src/backend/base/langflow/custom/custom_component/component.py file. The change adds a condition to continue the loop if the output has required_inputs.

src/backend/base/langflow/custom/custom_component/component.py: Added a condition to skip outputs with required_inputs in the _set_output_return_type method.

Pytest passes. But still in CI it says it failed.
Running again.


Make apps.api.acorn.io support server-side apply

https://github.com/acorn-io/acorn/issues/441

FYI, this also has the pid commit on it. So maybe you'll have to rebase once we merge that?


Missing modules

`As of version 0.1.9.
Running jest: Cannot find module 'jest-config'.
With testprocessor: "istanbul-lib-instrument" module is missing.

Okay sorry for the noise, I had some weird stuff happening and deleted my whole node modules folders and re-installed the ts-jest module from scratch to fix this.

Alright I'm not crazy after all, my travis failed so I had to add these deps.

@beckend would it be possible to create a small repo that reproduces this?

@beckend I had this message before, running our build on travis-ci for node 4:

Running jest: Cannot find module 'jest-config'.

Jest actually requires later npm as we were able to see here. As for now they slightly changed their travis config.
May be we have to add this to README?

Proposed fix by @Igmat fails.
I am using  jest-cli  , the failing ci can be seen here. A reproduce-able branch.

@beckend I was unable to reproduce it locally - but it really seems that we left some packages in devDependencies instead of dependencies. Could you try with "ts-jest": "^0.1.10". It should probably fix this issue.

@beckend due to this seems that it fixed 😉 Could I close this issue?

Thanks @Igmat!

<EMAIL_ADDRESS>has Cannot find module 'jest-config'.

I now see the peerDependecy my bad.

Can you tell me which peerDependencies to install? Cause I have both typescript and jest installed and I keep receiving this error.

that's should be all you need, I also installed jest-cli in global also.


2.4 crashes when starting with 2.3.2 settings.xaml

Error log is attached.
After deleting the old setting.xaml, 2.4 starts flawlessly.
17_01_08.txt
Windows 7.64, Up to date .NET

Looks like a problem with the German translation. Strange that it works for me when starting, but gives me an error while opening the Editor.

Thanks for the quick feedback, btw.
Fixed.

You are welcome. Thanks for the quick fix.
Runs fine now!

Great! :D


New version incorporating Occupancy Sensor support for display of non-standard accessories

New version providing additional functionality using occupancy sensors to display the Tempest sensor values.
NOTE: There is a current limitation as HomeKit accessory names are set when the accessory is initially added and cannot be dynamically updated. The accessories are correctly displayed and updated in the Homebridge "Accessories" tab of the webpage interface. This version is not backwards compatible.
Reference CHANGELOG.md for overview of changes.

@chasenicholl, if you prefer I could release as a separate archive say 'homebridge-weatherflow-tempest-plus` with the occupancy sensors and all of the associated quirks and do a separate PR for your archive which just the fixes that are required for your archive.

No we don’t need to do that. We’ll get this officially released in the coming days! Thanks again for the thought and contributions!

Thank you for your patience and contributions @DMBlakeley

Glad I was able to contribute. Curious if iOS 17 will add any new functionality which would be more conducive to the addition of generic sensors. Homebridge of course would have to pick up this functionality if added.


Update Kotlinx Coroutines

Summary
Updates Kotlinx Coroutines to use the latest version, 1.7.2.
Since this is a relatively small change I thought I'd make a PR rather than making a ticket - I hope that's okay!
I wanted to update Kx Coroutines because I noticed you had introduced a test utility, runSuspendingTest {}. This can be replaced with runTest {}, which provides the same basic functionality, as well as some very useful utilities like automatically skipping over delay()s while still measuring the virtual time.
Depends on #4

I tried to update coroutines in this branch:
https://github.com/marykdb/maryk/tree/update_coroutines
But there is an issue with changes in Kotlin Native which causes iOS RocksDB tests to fail on a memory crash. It seems there is something wrong within the RocksDB iOS library but after quite some time trying to find out the exact place of the issue I parked it for now.
This Kotlin 1.9 issue seems to refer to what is happening (dealloc on wrong thread) but I don't allocate the objects on the main thread so the fix does not help. I need to find out which element is exactly causing it and make some changes in which thread it gets allocated. https://kotlinlang.org/docs/whatsnew19.html#objective-c-or-swift-object-deallocation-hook-on-the-main-thread

The old coroutines has a different dealloc behaviour so that is why I kept it at that version for now

Ahh okay, you are already on the ball :)
Have you made an issue on YouTrack? I'd be happy to do that.

The Coroutines team gave me back the response that the error is in the ObjectiveC code. Thanks to some lldb debugging I can see the exact place of the crash but since it involves the complete setup of a RocksDB DataStore instance and a later deinit I found it difficult to find the exact element which causes it. So I need to collect some new courage to dive into these memory management issues. The Kotlin 1.9 release notes give me at least more hints to look into, but an update to 1.9 did not automatically fix it unfortunately. Maybe I can move some main DataStore things to main thread to have that new behaviour circumvent it.
https://github.com/Kotlin/kotlinx.coroutines/issues/3368

Bizarre! Digging around in C code is too great of a task for me, so I don't think I'd be able to help very much.
Just to double check I tried updating to Kotlin 1.9 and enabling the newer flags, but all tests in maryk.datastore.memory.InMemoryDataStoreTest fail for all targets.
I think it's useful to keep this PR alive, just in case something changes, but I can mark it as a draft?

Bizarre! Digging around in C code is too great of a task for me, so I don't think I'd be able to help very much.

It has something to do with the bridging between objc and Kotlin and ownership of objects. Kotlin GC already cleans up instances on a GC thread before they are to be cleaned in the deinit block in ObjC. I could once track it down to the VersionedComparator which is set as a custom RocksDBComparator. But should find an init proces which also works in tests. Should likely be inited with the whole Store on Main so it uses that new 1.9 objc dealloc strategy, but then how can it run properly on Main in a test.

Just to double check I tried updating to Kotlin 1.9 and enabling the newer flags, but all tests in maryk.datastore.memory.InMemoryDataStoreTest fail for all targets.

Oh the maryk.datastore.memory.InMemoryDataStoreTest  succeeds for me in 1.9. Which flags did you try? It is RocksDBDataStoreMigrationTest which always is the problem. If it runs separately it runs fine so it is just something with the deallocation which happens when running more tests at the same time.. With the new 1.9 info it sounds like the Kotlin developers have more a handle on the dealloc issue with the GC threads. So I could ask around again on the Kotlin Slack.

I think it's useful to keep this PR alive, just in case something changes, but I can mark it as a draft?

Yes sounds like a good idea!

Oh the maryk.datastore.memory.InMemoryDataStoreTest succeeds for me in 1.9. Which flags did you try?

I've committed the flags to the current PR 👍

Ah I now see the commit with the flags you mention. It is unfortunate they did not work. Thanks for trying!

Coroutines was updated on master so this PR is not needed anymore. I did for now disable the multiplatform RocksDB implementation. It was troublesome with also latest Kotlin updates around expect/actual and I decided for now to move forward without it until more stable times arrive. (I use this library for now on the server side)


feature: async components and suspense

This PR essentially implements suspense and partial rendering :)
The best improvement we get with this is support in SSR for knowing when an app has finished loading data before passing out the edits.
It also means the VirtualDom can implement streaming edits - a very significant feature for React.
However, we lack a proper React-equivalent scheduler with swim lanes (priority lanes), so there's no concept of "hot and cold" DOM zones.
Examples
Regular components can now be async, but you have to annotate lifetimes (due to how rust transforms async fns)
async fn sus3(cx: Scope<'_>) -> Element {
    tokio::time::sleep(std::time::Duration::from_secs(1)).await;

    render! { div { "Hello" } }
}

Or you can put a future in the tree directly which acts like a suspense barrier on its own.
fn sus2(cx: Scope) -> Element {
    let value1 = use_future(&cx, (), |_| async { 123 });
    let value2 = use_future(&cx, (), |_| async { 123 });

    cx.render(rsx! {
        div {
            async move {
                let a = value1.await;
                let b = value2.await;
                render!("{a} {b}")
            }

            async move {
                let a = value1.await;
                render!("{a}")
            }
        }
    })
}

Part of #600


Enforce PR reviews based on @Mentions

Hey Sindre,
I've recently published a chrome extension to enforce PR reviews based on @Mentions in Github. I would like to merge it here to reach wider audience.
PRampage: https://github.com/codef0rmer/PRampage
Do you think its a good Idea?

Nice! I don't see really the point in merging it in here though. It's useful even for people not using refined-github.

Hi @codef0rmer, you might find https://lgtm.co/ useful which can restrict the merge with the help of GitHub protected branches and required status checks.

@sindresorhus Makes sense. Thanks.


Fix space empty activity

Matches how the web client sanitizes the response from conversation

Deploy preview for hopeful-hamilton-4090b9 ready!
Built with commit 5d79b3cb40d9a7ab99653dddc04ea6f313a8ce85
https://deploy-preview-665--hopeful-hamilton-4090b9.netlify.com


Move atom-flutter issues to flutter/flutter and close issue tracker on atom-flutter

Tracking issue for closing the issue tracker for the atom-flutter repo , in order to file all issues here in the flutter/flutter issue tracker.

👍
There are only three issues left - I think they can be closed out (will double check).

OK, issues closed out. The README for the project points to this issue tracker.


merge package from arlac77/npm-package-template

.npmignore

chore(npm): update .npmignore from template

Codecov Report

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

@@          Coverage Diff          @@
##           master   #567   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           1      1
  Lines          28     28
=====================================
  Hits           28     28

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 d4077e2...8f164d5. Read the comment docs.

Coverage remained the same at 97.561% when pulling 8f164d577771e1c7aac6d50992df3b83d593764d on template-sync-1 into d4077e28b70d1c4437dc28c602a786cd63d6cbf8 on master.


chore(cypress): update to 3.0.2

Closes DCOS-38652
Testing

Pull
npm run build-assets
npm run integration-tests

They've changed the way Cypress caches the binary we have to adjust our isolation setup.

System Tests are red 😭

@juliangieseke yes, They've changed the way Cypress caches the binary we have to adjust our isolation setup.

:tada: This PR is included in version 2.8.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Can't seem to log into paper trading webull

{'msg': 'System error.', 'traceId': '2ac81031daf4476c9ae602b270fcb77b', 'code': 'system.error'}
This happens when I run the following code:
wb = paper_webull()
wb.get_mfa(email)
mfa = input("input mfa")
print(wb.login(email, password, username, mfa))

I'm quite confused as to how to fix this issue. This is with the paper trading webull. Please advise. Using version 0.3.2 from github

Never mind, this was due to the added security question issue https://github.com/tedchou12/webull/issues/157. Adding that fixed my issue.


Removes duplicate identifier "preventScrollOnTouch"

It causes error on any environments and typescript configurations:
error TS2300: Duplicate identifier 'preventScrollOnTouch'. 260     preventScrollOnTouch?: "auto" | "force" | false;

Hey there, same problem here. Tiny-slider is broken in typescript projects :(
Do you plan to merge this PR any time soon @ganlanyuan ?
Cheers!

Same here. As a workaround we are using this PR as npm source. But it doesn't sound like a good solution.


Increase timeout of avatar upload to 5 min

Is there anything else we can do here? Clientside resizing might be a good idea.


DOC: Graphical guides (using TikZ)

Is your feature request related to a problem? Please describe.
The graphical guides are part of the ongoing Google Season of Docs.
Describe the solution you'd like
I propose to introduce graphical guides that would facilitate the navigation and exploration of the current documentation. They would not replace the textual guides but could serve as a visual navigational aid. I'd like to get feedback on the general look of the guides and, especially, on the colour scheme. I've already used the official colour scheme but it appears to be too dark. I then experimented with different saturation values (see screenshots below). I also have to consider accessibility issues (e.g., here). The guides can be found here.
Describe alternatives you've considered
So far, I have implemented the guides in TeX, using the TikZ package. I propose to integrate them with the main documentation using TeX4ht (I am prepared to consider other solutions if necessary).
Additional context (e.g. screenshots)
Update:

Here is an example (prototype) of a graphical guide:

Various saturation values:

I also use TikZ extensively but from a UX perspective these images are a bit too cumbersome to make something out of it. The eyes have to "touch" almost all boxes to find the right one and that brings more difficulties, primarily creating visual burden and eventually falling back to the text list we already have.
For mindmaps, this layout is pretty helpful but for indexing I think they are not the right one.

The eyes have to "touch" almost all boxes to find the right one and that brings more difficulties, primarily creating visual burden and eventually falling back to the text list we already have.

Perhaps if the colors were organized differently that might not be the case quite as much. Maybe if the innermost one were whiter, then the next level almost as light, then the last level darker (or invert the progression?) it would make the progression clearer. Basically give the eyes a luminance trail to follow.
But already with these colors personally I find this easier to parse than a text list would be. This might vary from person to person, but these are easy enough to ignore if people want, so +1 from me for including them (in addition to the existing text lists) in some form.

@ilayn Thanks for the input. I totally see your point. But then, users differ and I think that it wouldn't do too much harm to have the visual guides (with more suitable colours) on top of the current documentation. The main motivation for the guides was that people expressed a wish to see the connections between functions, modules, etc. I suppose that experts will never need to consult a visual guides but it could be appreciated by beginners.
@larsoner Thanks! The colours will definitely be different. We could also consider splitting the guides to make them more readable. I suppose it will depend on a given references section that is to be visualised. I particularly like your idea with creating a trail. That could make it clearer.

Just to clarify I'm not against having these (should have probably mentioned this first). I am only a bit concerned about the layout. In TikZ any layout is kind of easy to achieve (let me know if you need an extra hand. I was quite involved with TikZ in the past).

I do like constructive criticism! Do you have any other alternative layouts in mind? I intended to create an easy 'quick reference' structure. That's why I arranged the functions (in an alphabetical order) anti-clockwise because I assumed that it would facilitate quicker reading. I'm open to suggestions.

A simple tree would be much easier in my opinion, say, http://www.texample.net/tikz/examples/work-breakdown-structure/
But maybe can be a mix of both. Also if you use
\usepackage{fontspec}
\setmonofont{Consolas}

it will use a better monospaced font (choose your own favorite) instead of that ugly typewriter font.

Good idea, that was my initial approach but I thought it would be simply converting the text lists to graphical lists. We'll see what others prefer. The typewriter font is actually my favourite (:D) but I'll experiment with alternative fonts. Thanks again!

I like the font too. WBS diagram makes sense I think; it'll also save space so for larger modules it's easier to make it fit.

I'm more and more inclined to choose the WBS diagram. Saving space is another reasonable argument. I was actually concerned about that. IMHO the 'mind map' concept seems to be more visually appealing but the WBS solution is clearer and far more practical. Plus it really does save a lot of time and is more uniform in terms of future maintenance (i.e., I really can't write guidelines saying what angle to use between neighbouring arrows, etc.).

@ilayn I've redesigned the guide following your tips. What do you think about the new version? I kept the ugly font for now ;-)

The tree looks nice, it's fine by me.
FYI @mkg33 if you open a WIP PR for this, CircleCI will render the docs, and you can just paste a link to the latest rendering. It's a potentially nicer way to iterate than you having to paste, and people scroll up to the top comment, etc.

@larsoner Glad to hear that! Thanks for the tip, I'll bear it in mind. Anyway, I guess we can close this issue very soon.

I like the tree layout! Less artistic, but easier to read.
Also made me spot a content issue: I think the "plotting" and "visualizing flat clusters" headings should be merged. Perhaps simply "visualizing" or "visualizing clusters'?

Tree is indeed prettier to my taste.

@rgommers Thanks! The content issue: I thought about it but wanted the graphical guide to be a faithful representation of the textual guide, i.e., in the reference guide, the two categories (visualising flat clusters and plotting) are separate. Moreover, they are separated by a large chunk of text. I mean, semantically, they should fall under the same category but shall I distort the reflection of the text guide? It would make perfect sense, though.

By the way, that rendering glitch shows up again on another Mac and a newer Safari version... I've updated my comment in issue #10748, hope that helps.

Let's just fix that text version then. The way it's separated now is quite odd.


[turborepo] can't specify a cache input to another workspace package

What version of Turborepo are you using?
1.6.3
What package manager are you using / does the bug impact?
pnpm
What operating system are you using?
Mac
Describe the Bug
if I try this for a path into another dep it doesn't bust cache for changes to eslint-preset.js
  "lint": {
      "outputs": [],
      "inputs": ["**/*", "../rig/eslint-preset.js"]
    },

where rig is one of the workspaces and is included as a dep everywhere via "rig": "workspace:*",
fwiw i also tried<EMAIL_ADDRESS>which i would prefer.
(sidenote but turbo also doesn't throw any kind of error if I specify a totally non-existent file there)
Expected Behavior
i would have expected the cache to bust automatically because a dependency source controlled file changed, but barring that i would expect this explicit path to bust as it does in https://github.com/vercel/turbo/issues/1913
To Reproduce
bug description shows the setup
Reproduction Repo
No response
cc: @spikebrehm @adamrneary

The same for me

Seeing the same problem on 1.8.8 + pnpm

The cache is actually being missed for a different reason: Setting inputs opts you out of Turborepo's default input behavior. This means that you're including, for instance, gitignored files into your hash. The out-of-package globs being referenced are likely working correctly.
Worthy of note: We've added a microsyntax to help you include the defaults in Turborepo 1.12. Check out $TURBO_DEFAULT$! here: https://turbo.build/blog/turbo-1-12-0#improved-inputs-ergonomics

@anthonyshew Not working for me in v2. Did something change?
Simply run git diff HEAD~1, yarn turbo run build --filter="[HEAD~1]". Ref: Sandbox

Doesn't still seem to work for root level workspaces. See issue: https://github.com/vercel/turbo/issues/8762


TypeError is raised in Firefox at a specific website

ERROR Error: Uncaught (in promise): TypeError: r is not a function
The errror does not occur in other browsers or if the page is opened without TestCafe.
Please refer to the T904842 private ticket for more detail.
Steps to Reproduce:

Run the tests
Open DevTools
See the error

Your Environment details:

testcafe version:                   1.8.8-alpha.2
node.js version:                    12.14.1
command-line arguments:  testcafe firefox managementui.testcafe --debug-on-fail
browser name and version: Firefox 78.0.1
platform and version:          Windows 10

Easy to reproduce:
index.html:
<!DOCTYPE html>
<html>
    <head></head>
    <body>
        <script>
            const ifr = document.createElement('iframe');
            document.body.appendChild(ifr);
            ifr.contentDocument.location.replace('iframe.html');
        </script>
    </body>
</html>

test.js:
fixture('This is a demo to demonstrate this error')
    .page('file:///home/eax/ssss/index.html');

test('Should not emit the error on client-side Hammerhead', async t => {
    await t.debug();
});

testcafe firefox test.js --dev
Uncaught TypeError: onChanged is not a function