ConnectionStack has template error due to missing conditions

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
10.5.2
What operating system are you using?
Linux (Fedora)
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No manual changes made
Describe the bug
I am using the flutter amplify_flutter packages that are in developer preview: https://pub.dev/packages/amplify_flutter/versions/1.0.0-next.2
When I run amplify push the deployment fails. The issue is the ConnectionStack:
The following resource(s) failed to create: [ConnectionStack].
Template error: unresolved condition dependency HasEnvironmentParameter in Fn::If
When I look inside ConnectionStack.json I notice it's missing conditions. I believe the following would resolve the error:
  "Conditions": {
    "HasEnvironmentParameter": {
      "Fn::Not": [
        {
          "Fn::Equals": [
            {
              "Ref": "referencetotransformerrootstackenvXXXXXXRef"
            },
            "NONE"
          ]
        }
      ]
    },

I've tried adding the condition to ConnectionStack.json manually but it gets wiped out whenever I run amplify push.
Amplify push worked fine until I modified my schema.graphql with the following to connect two models:
  comments: [Comment] @hasMany

The only thing unusual about my setup is that I configured amplify with amplify import auth but then added the rest of the resources from amplify, e.g. amplify add api
Let me know if you need more information!
Expected behavior
amplify pushes the stack ConnectionStack to AWS and graphql works.
Reproduction steps

amplify push

Project Identifier
No response
Log output

# Put your logs below this line

Additional information
No response
Before submitting, please confirm:

[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

With each new iteration of amplify push, it gets more complicated to go through all the ConnectionStack.json template files and repair them. My current workaround is to do an initial amplify push that fails due to the missing Conditions block. Then I download each ConnectionStack.json template file and repair each locally by adding the Conditions block:

s3/buckets/amplify-FAKENAME-dev-XXXXXX-deployment/amplify-appsync-files/{guid}/stacks/ConnectionStack.json
s3/buckets/amplify-FAKENAME-dev-XXXXXX-deployment/amplify-appsync-files/{guid}/states/initial-stack/stacks/ConnectionStack.json
s3/buckets/amplify-FAKENAME-dev-XXXXXX-deployment/amplify-appsync-files/{guid}/states/01/stacks/ConnectionStack.json
s3/buckets/amplify-FAKENAME-dev-XXXXXX-deployment/amplify-appsync-files/{guid}/states/02/stacks/ConnectionStack.json

After that I delete the deployment-state.json file in the S3 bucket so that the next amplish push doesn't show the error ["Index: 0 State: {"deploy":"waitingForDeployment"} Message: Resource is not in the state stackUpdateComplete"]
Now I run amplify push again. It's a race against the clock to update all 4 versions of the ConnectionStack.json template in the S3 bucket before the cloudformation stack jobs run and use those templates.
This still works.

My schema.graphql is getting increasingly complex but the issue with ConnectionStack persists and the workaround continues to be to simply have a modified ConnectionStack.json prepared and to upload it to the S3 appsync deployment bucket as a replacement as soon as amplify push has uploaded the templates for cloudformation. Just as the first time, all I have to do is add the following at the very end of the ConnectionStack.json:
  "Conditions": {
    "HasEnvironmentParameter": {
      "Fn::Not": [
        {
          "Fn::Equals": [
            {
              "Ref": "referencetotransformerrootstackenvXXXXXXRef"
            },
            "NONE"
          ]
        }
      ]
    }
  }
}
EOF

I've also described a more complex workaround where I had to modify multiple ConnectionStack.json files, but I haven't had to do that again recently.

Just realized I omitted that I am using the amplify_flutter packages that are in developer preview: https://pub.dev/packages/amplify_flutter/versions/1.0.0-next.2

I fixed this issue after a bunch of trial and error.  In my case, the issue seemed to appear when I used the combo of 1) a @hasMany relationship in my schema (like the Blog/Post/Comment example), 2) Use of DataStore with conflict detection 3) a custom Lambda for resolution conflicts.   In this scenario the deployments always resulted in ConnectionStack errors and were rolled back.
Reading about the issue here:
https://github.com/aws-amplify/amplify-category-api/issues/628
inspired me to look into the file at amplify/backend/api/<apiName>/cli-inputs.json
which looked like this
"conflictResolution": {       "defaultResolutionStrategy": {         "type": "LAMBDA",         "resolver": {           "type": "EXISTING",           "name": "<functionName>-${env}"         }       }     }
My solution was to add the ARN address to this section and remove the ${env} part of the function name.
{    ...,     "conflictResolution": {       "defaultResolutionStrategy": {         "type": "LAMBDA",         "resolver": {           "type": "EXISTING",           "name": "<functionName>",           "arn": "arn:aws:lambda:<region>:<accountID>:function:<functionName>"         }       }     }   } }
Now deployments work, yet I still have no idea why adding the ARN was the solution and why the CLI doesn't handle this properly.

/cli-inputs.json

So far, your solution seems to work, though I kept the -${dev} in the name and even added it into the arn:
"conflictResolution": {
"defaultResolutionStrategy": {
"type": "LAMBDA",
"resolver": {
"type": "EXISTING",
"name": "-${env}",
"arn": "arn:aws:lambda:::function:-${env}"
}
}
},
Nice detective work! If this issue comes back, I'll update here.

Actually, not sure if I've just not managed to trigger the issue I had before with subsequent deployments, since when I took a look at ConnectionStack.json the missing condition HasEnvironmentParameter was not there.

The solution gave me the following issue when a conflict happens:

DataStore {"cause": {"data": null, "errorInfo": null, "errorType": "ConflictError", "locations": [[Object]], "message": "1 validation error detected: Value "arn:aws:lambda:::function:-${env}" at 'functionName' failed to satisfy constraint: Member must satisfy regular expression pattern: (arn:(aws[a-zA-Z-]*)?:lambda:)?([a-z]{2}((-gov)|(-iso(b?)))?-[a-z]+-\d{1}:)?(\d{12}:)?(function:)?([a-zA-Z0-9-\.]+)(:(\$LATEST|[a-zA-Z0-9-]+))?

I assume it's not replacing the -${env} correctly.

Any updates for this? This is still an issue when trying to set up custom lambda conflict resolution for a model with these relational appsync directives.

Any updates on this? This is still an issue when trying to push custom lambda conflict handler for a @model with relational directives such as @hasMany.

Any updates for this? This is still an issue when trying to set up custom lambda conflict resolution for a model with these relational appsync directives.

For custom lambda conflict resolution specificaly there was an issue where the ${env} wasn't being replaced as others have noticed. My stack works properly if I just write out the actual env in the lambda name as opposed to only your lambda name.
Inside your /backend/api/<name_of_your_api>/cli-inputs.json:
    "conflictResolution": {
      "defaultResolutionStrategy": {
        "type": "LAMBDA",
        "resolver": {
          "type": "EXISTING",
          "name": "syncConflictResolution-staging", // explicitly write out the whole name-${env} here
          "arn": "arn:aws:lambda:us-west-2:276341602269:function:syncConflictResolution-staging" // same here
        }
      }
    },

Thanks for your suggestion, @kevinlam92. Wouldn't that hardcode the environment name? We have multiple environments matching multiple branches so I would think we need the ${env} interpolation, right?


Can't install swap

Hi @florianv
composer require florianv/swap php-http/message php-http/guzzle6-adapter

We are unable to install your package, as a follow of https://github.com/florianv/laravel-swap/issues/60
→ composer require florianv/swap php-http/message php-http/guzzle6-adapter
Using version ^3.4 for florianv/swap
Using version ^1.7 for php-http/message
Using version ^2.0 for php-http/guzzle6-adapter
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install php-http/guzzle6-adapter v2.0.0
    - don't install php-http/guzzle6-adapter 2.x-dev|install php-http/guzzle6-adapter dev-master
    - Conclusion: remove php-http/httplug v1.1.0
    - Installation request for php-http/guzzle6-adapter ^2.0 -> satisfiable by php-http/guzzle6-adapter[2.x-dev, v2.0.0].
    - Conclusion: don't install php-http/httplug v1.1.0
    - php-http/guzzle6-adapter dev-master requires php-http/httplug ^2.0 -> satisfiable by php-http/httplug[2.0.x-dev, v2.0.0].
    - Can only install one of: php-http/httplug[2.0.x-dev, v1.1.0].
    - Can only install one of: php-http/httplug[v2.0.0, v1.1.0].
    - Installation request for php-http/httplug (locked at v1.1.0) -> satisfiable by php-http/httplug[v1.1.0].

Installation failed, reverting ./composer.json to its original content.

Do you any workaround to allow us to use your package? :)
Best

Hey @sylouuu, can you try this install command instead ?
composer require florianv/laravel-swap php-http/message php-http/guzzle6-adapter ^1.0


Unable to sign up to woodgrove app

I click "Sign Up with your work account", enter my AAD credentials and I am redirected to https://woodgrovegroceriesb2cdemo.azurewebsites.net/b2c-signin-callback
with this error message:
Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException: Message contains error: 'server_error', error_description: 'AADB2C90289: We encountered an error connecting to the identity provider. Please try again later.
Correlation ID: 63f8e242-6d6e-472a-8643-032c3a6cb318
Timestamp: 2019-10-02 14:51:03Z
', error_uri: 'error_uri is null'.
   at Microsoft.AspNetCore.Authentication.RemoteAuthenticationHandler`1.HandleRequestAsync()
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

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

ID: 245ef8a4-a811-19b7-676c-aa9b82e2126f
Version Independent ID: ad2ec743-2aa7-b3c7-3350-2986a78d7c90
Content: What is Azure Active Directory B2C?
Content Source: articles/active-directory-b2c/active-directory-b2c-overview.md
Service: active-directory
Sub-service: b2c
GitHub Login: @mmacy
Microsoft Alias: marsma

@DavidJFowler Hi David, thanks for the heads-up! This looks like a bug in the application, can you open an issue in the application's repository, here:
https://github.com/Azure-Samples/active-directory-external-identities-woodgrove-demo
I'm happy to do so if you'd rather not. Let me know, if so.
As this isn't a doc issue, I'll request this issue be closed. We'll reference this issue in the sample repo's issue.
#please-close #reassign:mmacy

@mmacy Thanks for the quick response.


Adding missing TIFF alias: Tif

Feel free to let me know if I've misunderstood anything; it looks to me like magick-format.ts is meant to have all formats, including aliases?
If we look at the source during the 7.0.10-25 release, it also had an alias for TIFF called TIF to open .tif files.

#define MagickTIFFAliases \
  MagickCoderAlias("TIFF", "GROUP4") \
  MagickCoderAlias("TIFF", "PTIF") \
  MagickCoderAlias("TIFF", "TIF") \
  MagickCoderAlias("TIFF", "TIFF64")

https://github.com/ImageMagick/ImageMagick/blob/8b4e00829eb84d4e7b4da11acf1f98f1e8166e5b/coders/tiff.h

The enum currently only has GROUP4, PTIF, TIFF, and TIFF64, but not TIF.

On the side, just want to say thank you for all the work you've done on ImageMagick/Magick.NET/Magick.WASM. <3

Thanks for your kind words @SethiPandi. And thank you for this fix.


Fix PySCF dependency for newest version

moving to pyscf==2.5.0 (latest stable version) breaks test_otpd
check pyscf.dft.gen_grid.Grids.weights and verifiy OTPD field fitting

closed by #56


Search target element in sorted 2D array

I will do it in C++.
@tarun26091999  Please assign me this issue.

I want to contribute to this Issue. Kindly assign it to me.

hey can i work on this issue in python
thank you

present at #385


Integrated Terminal Bash - backslashes instead of forward slashes

@Tyriar this pr is a continuation of #44383 and fixes #36897

@Tyriar  I'm stumped on wslpath. My own machine, running Windows 10.0.16299, does not appear to have it, although I have the Ubuntu flavor of WSL installed. It's my understanding that build 17046 is a preview build. Is that true? If so, does this issue need to be revisited after the next Windows 10 release?

@captainrdubb looks like something went wrong when you merged, you should cherry pick you commits to a new branch and do another PR.

I'm stumped here. It appears wslpath is available on build >= 17046. Is wslpath only available on insider builds? If so, can we rely on wslpath?

Don't worry about wslpath for now, just assume /mnt/<drive>/ is correct. I'll eventually add the ability to query the Windows build number which would allow us to reliably check this.


WinUI 3 ScrollViewer does not bubble PointerCaptureLost event when ancestor calls CapturePointer in PointerPressed

Describe the bug
In UWP, if you have something like:
var stackPanel = new StackPanel();
var scrollViewer = new ScrollViewer();
stackPanel.Children.Add(scrollViewer);
stackPanel.PointerPressed += (sender, args) => {
  stackPanel.CapturePointer(args.Pointer);
}
stackPanel.PointerCaptureLost += (sender, args) => {
  Debug.WriteLine("PointerCaptureLost");
}

when you start a direct manipulation on the ScrollViewer with a touch gesture, the PointerCaptureLost event bubbles to the StackPanel. In WinUI 3, this does not occur.
This manifests in a limitation for React Native Windows, which uses pointer routed events at the top-level WinUI component to proxy events to JavaScript, and relies on ScrollViewer bubbling the PointerCaptureLost event to know when to cancel a gesture sequence emitted to JavaScript.
Steps to reproduce the bug

Set up code like the above, where a ScrollViewer is nested in a WinUI component ancestor that calls CapturePointer in it's PointerPressed callback.
Subscribe the PointerCaptureLost event on the ancestor that captures the pointer.
Use a pan gesture to scroll the ScrollViewer
Observe that the PointerCaptureLost event does not bubble to the ancestor, nor does PointerReleased (expected) or PointerCanceled, so we have no terminal event to establish that a touch gesture has been interrupted / canceled.

Expected behavior
WinUI 3 ScrollViewer should bubble a PointerCaptureLost event like it does in UWP when a touch gesture results in direct manipulation in a ScrollViewer.
Screenshots
No response
NuGet package version
WinUI 3 - Windows App SDK 1.5.5: 1.5.240627000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response

What makes this an even bigger problem is that WinUI 3 also does not appear to bubble the PointerReleased event to the ancestor unless we call CapturePointer on it.

This was resolved as duplicate of an internal bug. Changing this to fixed. It looks like the fix is in 1.6-experimental2 and 1.6-preview1.


Add ability to suport video for nft, handle receiving ipfs hash without path ipfs//

Might keep it separate. Video might be tricky.

yes sure, video urls would be supported but without its playing

@hboon do you know if there anyway to know when video has loaded via AVPlayed?

@hboon do you know if there anyway to know when video has loaded via AVPlayed?

Something like this:
NotificationCenter.default.addObserver(forName: .AVPlayerItemNewAccessLogEntry, object: item, queue: nil) { notification in
then check for player.state == .readyToPlay


Use drupal/core-recommended for pinning down Drupal's dependencies

This was based advice from @jordandukart as part of D9 audit, but isn't specifically required for compatibility with D9.
From the documentation:

This project is for use with a Composer-managed Drupal site. It is recommended that all Composer-managed Drupal sites use this project.

Require this project instead of the drupal/core subtree split in order to guarantee that all of the dependencies from drupal/core will be included in your Drupal site at exactly the same version that was tested with the version of Drupal you are currently using.

The consequences of not using this project is that Drupal's dependencies may "float up" to more recent versions than were tested with Drupal when you use Composer to upgrade your Drupal site. Occasionally, new dependency versions introduce bugs in Drupal. While these sorts of errors are usually corrected fairly quickly, it can still be quite disruptive to be one of the first people encountering one of these bugs. Using the recommended dependencies avoids this problem by only using dependency versions that have already been tested with Drupal.

I noticed that there were quite a few dependency updates associated with this (where the advice from drupal/core-recommended conflicted with the lockfile), and most were downgrades.  Therefore, it looks like we were experiencing the "float up" problem described above.
Also note:  composer now creates a modules directory in codebase/.  I don't know the logic behind why that directory is suddenly appearing and being populated, but trust that it is part of some composer mechanism I'm not aware of, related somehow to the inclusion of drupal/core-recommended.

Passes my eye-test. In regards to that new directory being added is it to do with drupal-custom-module not having a mapping in your core_composer_scaffolding configuration?

In regards to that new directory being added is it to do with drupal-custom-module not having a mapping in your core_composer_scaffolding configuration?

@jordandukart  Unfortunately, I'm not sure.  My understanding of composer is rather limited.  Is there some missing mapping that should have been present in installer-paths?  Essentially, this composer.json has its roots in the Born Digital drupal site used in ISLE development back in 2020, so this aspect hasn't occupied any of our mindshare.  If there's a simple solution that is aligned with best practices, let me know and I can push some changes.  As it stands, this PR is just passively reacting to what Composer is doing.. and I don't know if that is a good thing, or a bad thing.

Should be able to add that missing entry for drupal-custom-module in the scaffolding but definitely wouldn't be considered a blocker for this.

I do have some problems when drupal starts:
drupal_1      | + composer install
drupal_1      | Gathering patches for root package.
drupal_1      | > DrupalProject\composer\ScriptHandler::checkComposerVersion
drupal_1      | Loading composer repositories with package information
drupal_1      | Installing dependencies (including require-dev) from lock file
drupal_1      | Package operations: 4 installs, 56 updates, 7 removals
drupal_1      |   - Removing psr/cache (1.0.1)
drupal_1      |   - Removing drupal/core-vendor-hardening (9.2.0)
drupal_1      |   - Removing doctrine/deprecations (v0.5.3)
drupal_1      |   - Removing symfony/contracts (v2.3.1)
drupal_1      |   - Removing doctrine/event-manager (1.1.1)
drupal_1      |   - Removing doctrine/persistence (1.3.8)
drupal_1      |   - Removing doctrine/reflection (1.2.2)
drupal_1      | Gathering patches for root package.
drupal_1      | Gathering patches for dependencies. This might take a minute.
drupal_1      |   - Installing drupal/core-project-message (8.9.16): Downloading (100%)
drupal_1      |   - Downgrading symfony/polyfill-mbstring (v1.23.0 => v1.17.0): Downloading (100%)
drupal_1      |   - Downgrading guzzlehttp/psr7 (1.8.2 => 1.6.1): Downloading (100%)
drupal_1      |     Cleaning: guzzlehttp/psr7
drupal_1      |   - Downgrading guzzlehttp/promises (1.4.1 => v1.3.1): Downloading (100%)
drupal_1      |     Cleaning: guzzlehttp/promises
drupal_1      |   - Downgrading symfony/polyfill-php72 (v1.23.0 => v1.17.0): Downloading (100%)
drupal_1      |   - Downgrading symfony/polyfill-intl-idn (v1.23.0 => v1.17.0): Downloading (100%)
drupal_1      |   - Downgrading guzzlehttp/guzzle (6.5.5 => 6.5.4): Downloading (100%)
drupal_1      |   - Downgrading aws/aws-sdk-php (3.176.9 => 3.173.19):     Update failed (Could not delete /var/www/drupal/vendor/aws/aws-sdk-php/src: )
drupal_1      |     Would you like to try reinstalling the package instead [yes]?
drupal_1      |
drupal_1      |   [Symfony\Component\Console\Exception\RuntimeException]
drupal_1      |   Aborted
drupal_1      |
drupal_1      |
drupal_1      | install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [--no-suggest] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--apcu-autoloader] [--ignore-platform-reqs] [--] [<packages>]...
drupal_1      |
drupal_1      | [cont-init.d] 99-custom-setup.sh: exited 1.
drupal_1      | [cont-finish.d] executing container finish scripts...
drupal_1      | [cont-finish.d] done.

I'm wondering if we need to make composer install non-interactive by supplying the -n switch.

Interesting.  So the error you saw occurred when doing a make up over an existing codebase?   I think updating the buildkit image (separate from this issue) to add -n would be a good idea if that works.
This doesn't appear to be an issue with make reset, or with creating a static image

Interesting. So the error you saw occurred when doing a make up over an existing codebase

Yup, exactly.  I did not perform a make reset.  Shouldn't be an issue as long as nothing is there to begin with.


[BEAM-13178][Playground] Refactoring for controller

[BEAM-13178]
moving setup methods to a new module;
moving processing methods to a new module;

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

@pabloem

LGTM thanks!


Need help adding kite status in section z of status line

From the kite plugin documentation:

Add %{kite#statusline()} to your statusline to get an indicator of what Kite is doing

So I set section z value as
let g:airline_section_z="%{kite#statusline()}"

but the section was just blank when editing the file.
Executing
set statusline=%{kite#statusline()}

while editing the file shows the message correctly
environment

vim: 8.1.2269
vim-airline: latest version
OS: WSL2 Ubuntu
Have you reproduced with a minimal vimrc: yes
What is your airline configuration:let g:airline_powerline_fonts = 1
let g:airline_statusline_ontop=1
let g:airline#extensions#tabline#enabled = 1
let g:airline_section_z="%{kite#statusline()}"

if you are using terminal:

terminal: Windows terminal latest version
$TERM variable: xterm-256color
color configuration (:set t_Co?): default

actual behavior
No message is being displayed after opening file. If the command :set statusline=%{kite#statusline()} is called and then if any mode changes happen, then the message is displayed
expected behavior
Message in section:Z saying Kite: ready immediately after opening file
screen shot (if possible)

You can see that the section z (little yellow section at top right corner) does not have anything in it.

For future references,
The command I used for to set the section z was right. just include the other lines from documentation as well to call the function.


pull request for e2e test at 12/26/2016 20:56:06

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Enables rdkit-structure-renderer.js in Jupyter Lab and Notebook

This can be further improved (particularly the documentation, which is non-existent at the moment), but I wished to get it to you as early of possible so you can start having a look.
There is a Jupyter Notebook that can be used for testing:

@ptosco : the test failure in the limitdependencies build looks real:
https://dev.azure.com/rdkit-builds/RDKit/_build/results?buildId=2046&view=logs&jobId=b5be7281-7544-5a2c-48a9-f6ead8802ad2&j=b5be7281-7544-5a2c-48a9-f6ead8802ad2&t=1a2f196f-00ef-568b-fb6f-66dfea5c4d9b


Standardize EOLs

Is this not the default for git these days?

Can't hurt.

Is this not the default for git these days?
It leaves it up to the committer afaik


Some  elements from YT rss feed don't parse

Some entries from YT rss feed seem to fail parsing or are discarded. The videos can be added manually and are recorded as expected (based on similar, past cases for which I didn't open an issue). I checked trace-level logs but the two video ID never appeared. The filter I'm applying should match everything. Running 0.2.2 in Docker v20.10.21 on Windows
[2023-01-07T06:32:50Z INFO  hoshinova] hoshinova v0.2.2 (23435f3)
[2023-01-07T06:32:50Z DEBUG hoshinova] Git hash: 23435f3334ac948707543763c6b973b39cb8d904
[2023-01-07T06:32:50Z DEBUG hoshinova] Built on: 2022-11-05T04:06:50.280737947+00:00

Config
[ytarchive]
executable_path = "ytarchive"
working_directory = "temp"
args = ["--vp9", "--thumbnail", "--add-metadata", "--threads", "4", "--output", "%(upload_date)s %(title)s [%(channel)s] (%(id)s)", "--cookies", "/app/youtube.com_cookies.txt", "--retry-stream", "120"]
quality = "best"
delay_start = "3s"

[scraper.rss]
poll_interval = "30s"

[notifier.discord]
webhook_url = "hook url here"
notify_on = ["recording", "done", "failed"]

# Coming soon, a web interface to view and manage tasks.
# Optional, remove this section to disable.
[webserver]
bind_address = "<IP_ADDRESS>:1104"

[[channel]]
id = "UCu1INzefw3R7M9-3QEHYmMQ"
name = "Nene Amano"
filters = [".*"]
outpath = "/app/kawaii/Nene Amano"

Exerpt from https://www.youtube.com/feeds/videos.xml?channel_id=UCu1INzefw3R7M9-3QEHYmMQ
<entry>
<id>yt:video:zjUlh5lVFDs</id>
<yt:videoId>zjUlh5lVFDs</yt:videoId>
<yt:channelId>UCu1INzefw3R7M9-3QEHYmMQ</yt:channelId>
<title>【ASMR/KU100】WIFE Becomes Your Bunny Servant [Onee-san Voice/$10,000 Mic]</title>
<link rel="alternate" href="https://www.youtube.com/watch?v=zjUlh5lVFDs"/>
<author>
<name>Nene Amano Ch. 天野寧々【kawaii】</name>
<uri>https://www.youtube.com/channel/UCu1INzefw3R7M9-3QEHYmMQ</uri>
</author>
<published>2023-01-05T02:07:53+00:00</published>
<updated>2023-01-05T22:13:45+00:00</updated>
<media:group>
<media:title>【ASMR/KU100】WIFE Becomes Your Bunny Servant [Onee-san Voice/$10,000 Mic]</media:title>
<media:content url="https://www.youtube.com/v/zjUlh5lVFDs?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
<media:thumbnail url="https://i3.ytimg.com/vi/zjUlh5lVFDs/hqdefault.jpg" width="480" height="360"/>
<media:description>#VTuber #ENVTuber #nenetan Using over $10,000 of audio equipment. The KU100 ASMR mic! (Whispering/Oil Massage/Heartbeat/Ear Cleaning) ☁Become a memeber and support Tenshi!!☁ https://www.youtube.com/channel/UCu1INzefw3R7M9-3QEHYmMQ/join ☁Donation Link!☁ https://streamlabs.com/Neneamano ☁1st Anniversary Celebration Merch☁ https://productionkawaii.booth.pm/items/3816918 ☁Twitter☁ https://twitter.com/amanene_kawaii Thumbnail by https://twitter.com/nakanomaru925 ✰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈✰ ଘ(❁•̀ 3 •́)━☆*✲⋆[Chat Rules]☆*✲⋆ Let’s make this a fun and enjoyable place for everyone! ε(*´・ω・)з If rules are not followed, your comment may get deleted/muted. 1. No spoilers! They are my worst enemy! 2. Please be nice to other people watching.  3. Please understand that I try to respond to every comment, but it’s not possible for me to engage with every comment. Don’t take it personally if I don’t read your comment out loud! 4. If you see spam or trolling, don’t engage with it. Just block, report, and ignore it. Tenshi will take care of getting rid of them. ଘ(˵╹-╹)━☆ 5. Please keep the conversation relevant to the stream content. Asking me questions is ok, just make sure they are appropriate! 6. Please don’t cross the line with overly inappropriate/sensitive/sexual comments 7. I will only listen to backseating when I need help, and will ask for help if needed. Please keep in mind I may not listen to advice because I want to try for myself. 8. Please don’t talk about other streamers unless I engage the conversation myself. 9. I don’t do shout outs/saying name requests outside of superchats/donations. ✰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈✰ kawaii members: 【Reina Sun 🍣 レイナ・サン】 https://www.youtube.com/channel/UCKJexadCeNo3lu0U20skmNg Twitter: https://twitter.com/reina_kawaiii 【Charlotte Suzu 🩸 シャーロット・スズ】 https://www.youtube.com/channel/UCoAw3SML_09dF-7yhQU8wFQ Twitter: https://twitter.com/charsuzu_kawaii 【Isla Coleman 👸 アイラ・コールマン】 https://www.youtube.com/channel/UCuaDidGk4HNLOnQE9wzMMeQ Twitter: https://twitter.com/isla_kawaii Kawaii Gen 2 Members: 【Lua Asuka Ch. 飛鳥瑠藍】 【Shee Icho Ch. 銀杏しい】 【Namiji Freesia Ch. ナミジ・フリージア】 Kawaii Gen 3 Members: 【Oceane Otoishi Ch. 音衣詩おしあん 】 【Aletta Sky Ch. アレッタ・スカイ】 【Miryu Kotofuji Ch. 琴藤みりゅう】 【Peony Aeria Ch. ピオニー・エリア】 【Sava Safari Ch. サヴァ・サファリ】 ✰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈✰ Contact ／お問い合わせ 【プロダクション「kawaii」HP】 https://production-kawaii.com/en/home-2/ 【「kawaii」公式Twitter】 https://twitter.com/kawaiiOfficial5✧┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈✧ I'm your angel, you're my angel! It's Nene! VTuber from production kawaii (Japan) who does chatting, gaming, and ASMR! I use a 3dio mic and a KU100 to do binaural ASMR. I can guarantee you will enjoy my waifu/wife ASMR. I can speak Tenshi, English, and Japanese! I also love to sing and rap, and have a 3D model coming in January!! Idol Tenshi coming soon! I enjoy games like Elden Ring, Dragon Age, FGO, Fate/Stay Night, Umineko, and more!  I'm a big fan of VTubers such as Hololive. HololiveEN and HoliveJP are inspirations. I was inspired by Shirogane Noel, Mori Calliope, Gawr Gura, Ceres Fauna, Ouro Kronii, and more. VShojo and Nijisanji inspired me as well through art, digitalart, singing, game review, let's play, gaming and more. I quit my job to become a virtual animegirl and virtualyoutuber and will continue to fulfill my dream and lots of livestreaming to bring you joy. I usually stream every day! (and post lots of meme anime meme, animememe, anime funny).</media:description>
<media:community>
<media:starRating count="102" average="5.00" min="1" max="5"/>
<media:statistics views="0"/>
</media:community>
</media:group>
</entry>
<entry>
<id>yt:video:XHIrqwyMD6Q</id>
<yt:videoId>XHIrqwyMD6Q</yt:videoId>
<yt:channelId>UCu1INzefw3R7M9-3QEHYmMQ</yt:channelId>
<title>I’m Going to Destroy Amelia’s Entire Family [Bloodborne]</title>
<link rel="alternate" href="https://www.youtube.com/watch?v=XHIrqwyMD6Q"/>
<author>
<name>Nene Amano Ch. 天野寧々【kawaii】</name>
<uri>https://www.youtube.com/channel/UCu1INzefw3R7M9-3QEHYmMQ</uri>
</author>
<published>2023-01-05T01:37:18+00:00</published>
<updated>2023-01-05T09:51:47+00:00</updated>
<media:group>
<media:title>I’m Going to Destroy Amelia’s Entire Family [Bloodborne]</media:title>
<media:content url="https://www.youtube.com/v/XHIrqwyMD6Q?version=3" type="application/x-shockwave-flash" width="640" height="390"/>
<media:thumbnail url="https://i1.ytimg.com/vi/XHIrqwyMD6Q/hqdefault.jpg" width="480" height="360"/>
<media:description>#VTuber #ENVTuber #nenetan ☁Donation Link!☁ https://streamlabs.com/Neneamano Special alert sounds for $1, $10, $39, $50, $60, $100, $104, and $1000 donations! ☁Become a memeber and support Tenshi!!☁ https://www.youtube.com/channel/UCu1INzefw3R7M9-3QEHYmMQ/join ☁Oppai Mousepad, Acrylic Stand, and more! Official Merch!☁ https://booth.pm/en/search/Nene%20Amano ☁Twitter☁ https://twitter.com/amanene_kawaii Thumbnail is created with novelai. It is an ai generated image. ✰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈✰ ଘ(❁•̀ 3 •́)━☆*✲⋆[Chat Rules]☆*✲⋆ Let’s make this a fun and enjoyable place for everyone! ε(*´・ω・)з If rules are not followed, your comment may get deleted/muted. 1. No spoilers! They are my worst enemy! 2. Please be nice to other people watching.  3. Please understand that I try to respond to every comment, but it’s not possible for me to engage with every comment. Don’t take it personally if I don’t read your comment out loud! 4. If you see spam or trolling, don’t engage with it. Just block, report, and ignore it. Tenshi will take care of getting rid of them. ଘ(˵╹-╹)━☆ 5. Please keep the conversation relevant to the stream content. Asking me questions is ok, just make sure they are appropriate! 6. Please don’t cross the line with overly inappropriate/sensitive/sexual comments 7. I will only listen to backseating when I need help, and will ask for help if needed. Please keep in mind I may not listen to advice because I want to try for myself. 8. Please don’t talk about other streamers unless I engage the conversation myself. 9. I don’t do shout outs/saying name requests outside of superchats/donations. ✰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈✰ kawaii members: 【Reina Sun 🍣 レイナ・サン】 https://www.youtube.com/channel/UCKJexadCeNo3lu0U20skmNg Twitter: https://twitter.com/reina_kawaiii 【Charlotte Suzu 🩸 シャーロット・スズ】 https://www.youtube.com/channel/UCoAw3SML_09dF-7yhQU8wFQ Twitter: https://twitter.com/charsuzu_kawaii 【Isla Coleman 👸 アイラ・コールマン】 https://www.youtube.com/channel/UCuaDidGk4HNLOnQE9wzMMeQ Twitter: https://twitter.com/isla_kawaii ✰┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈✰ Contact ／お問い合わせ 【プロダクション「kawaii」HP】 https://production-kawaii.com/en/home-2/ 【「kawaii」公式Twitter】 https://twitter.com/kawaiiOfficial5✧┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈✧</media:description>
<media:community>
<media:starRating count="54" average="5.00" min="1" max="5"/>
<media:statistics views="0"/>
</media:community>
</media:group>
</entry>

Hello,
The version you're running has an additional filter in the RSS scraper that discards entries older than 24 hours by default. This is because hoshinova is mainly a live stream recording tool and I wanted to reduce the chances of hitting rate limits.
https://github.com/HoloArchivists/hoshinova/blob/main/config.example.toml#L21
You can try adding the configuration and setting the value to a high number (e.g. 100 years) if you want to capture all of the entries.

Ah, removed it from the config after I found that it's counterproductive for my use case. My issue with it is that it would ignore waiting rooms older than 24h, even if the stream starts in the future. Obviously, I would want those recorded and not skipped.
Guess that can't be avoided with the information available in the RSS feed. I figured that removing it from the config would remove that filter. Set to 999h and the vods were added. Thanks!


CORE-119 - Tidy Up ACP

Review sidebar, extract to individual files and ensure permissions are correct.
Remove the hundreds of comments from AdminLTE that actually aren’t useful.
Remove anything that is “bloaty” like the online indicator that serves little purpose.
Improve consistency for yield vs content.
Ensure scripts/stylesheets are properly included/extracted.
Remove unused files / commented out blocks of code.

There is probably further work to do to bring the visit-transfer and network-data admin panels in with the rest of the code.

@atoff Sounds good. Would like to swap all of the @if to @can at some stage but I think that can wait.


feat: phone number input

This PR resolves CX-890
Description
In a future PR we'll be adding a step in the consignments flow where a user must confirm/provide their phone number. The consignments team wanted us to make sure there's an explicit area code on users' phone numbers, since up until now the :phone field has been more-or-less free text on both web and mobile.
This PR preempts that change to the consignments flow by adding a new phone number input with an explicit area code dropdown, and using it on the MyAccountEditPhone screen.
This new input, PhoneInput, also tries to normalize existing values from gravity to the international standard format (E.164). It uses the user's locale and whatever they've written previously as hints. I decided to do this because only 24623 out of 130702 users with a meaningful phone number use the international format. I can't easily measure the precision of my normalization function, since we don't store the user's location in gravity (maybe last IP address would work?), but it's bound to be a lot higher than 0% :p
There are some decent phone number inputs on npm, but I couldn't find a really solid one with great UX, customisable UI, and reasonable bundle footprint, so I made one using our existing Select and Input components.

PR Checklist (tick all before merging)

[x] I have included screenshots or videos to illustrate my changes, or I have not changed anything that impacts the UI.
[x] I have added tests for my changes, or my changes don't require testing, or I have included a link to a separate Jira ticket covering the tests.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added an app state migration, or my changes do not require one. (What are migrations?)
[x] I have added a CHANGELOG.yml entry or my changes do not require one.

Thanks for the clean git history. it made reviewing this PR really satisfying

#squashongreen


[Request] Allowing download by tags list within set time frame

Hello and thank you for the best Pixiv program! May I suggest to add "Olders first", "Start date" and "End date" to "Download by tags list" option in future versions? When your favorite theme has a lot of different tags and you want to get all fanart from 2015 only, for example, it's not very handy to insert every tag manually.

this settings will be applicable for the whole tag list.

That would be perfect!


feat: env indicator to app

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


[2850] Fix form for a single mappable language course

Context
https://trello.com/c/fLz9mxqT/2850-language-specialism-isnt-saving-automatically-from-course-selection
Changes proposed in this pull request
Diagnosed from a user session: selecting a course with one single mappable language subject was broken.
Steps to recreate the original bug on Trello ticket.
Note: I added a failing feature test to check we're now covered.
Guidance to review

Select a course with one single language subject so that you're not shown the subject specialism form
Continue to the confirm page
Check that the subject isn't missing
Check that you can confirm and save

 Language specialism isn't saving automatically from course selection


Rotate OAK-D-Lite 180 degrees

It's fixed upside-down, so any images/video coming off the camera will need to be rotated.
https://docs.luxonis.com/projects/api/en/latest/references/python/#depthai.CameraImageOrientation

Relevant comment: https://github.com/luxonis/depthai/issues/200#issuecomment-784830303


Does not work in mobile chrome after update to version 55.0.X

Web-pull-to-refresh does not work in chrome browser for mobile after the recent update to version 55.0.X

You just need to update hammer at the top of the js file to the v2.0.8
found here http://hammerjs.github.io/dist/hammer.min.js
Hopefully that helps!

Is it working for you?
I tried downloading the hammer like you suggested.
Replaces the script in my environment and Run it on Chrome.
When it is in Desktop mode all is working. But if you go to inspect and change to device mode, choose Nexus or something you will see it is not working properly. even the demo with the same steps doesn't work.
What am I missing?

Any thoughts?

You're right, I jumped the gun on that one. It worked in the chrome browser desktop mode, but not when you actually throw it on a real mobile device. I had to pull the library out of our app, and go with iScroll instead. Let me know if you find a better solution.

Not so much...working to find a solution. What do you mean but go with iScroll you removed this completely? Do iScroll has pull to refresh too? anyway I will try to see if I can solve this issue here.
Let me know if you have any progress

I had to pull wptr from our hybrid app, and went with a custom iScroll implementation. Essentially just hand-rolled ptr in. Spent a long time searching for a solution to fix this, but no luck,


"Not Vaild Idle Animation Form Get: "Attack_Sprint"!"

Hello there. Since using this mod im getting crashes with the message when npcs are fighting. Not taking long.
Error occured at code ->
[F:\SKSE_Development\SKSEPlugins\Plugins\SCARActionData.cpp:216]
Callsite ->
PerformSCARAction
Detail->
"Not Vaild Idle Animation Form Get: "Attack_Sprint"!".
Continuing may result in undesired behavior.
(Hope there are no typing errors^^)
In the comments on your nexusrelease i read some people getting it aaswell. Startet happening when i switched from mco to this mod "https://www.nexusmods.com/skyrimspecialedition/mods/117052?tab=description". The mod author stated it has nothing to do with his mod.
Is this maybe a scar issue? tried this version aswell,  but sadly the issue persists. Hoping for help. Hope you have a nice day :)

Same problem here.


Remove the project name from the hookr calls

What
Remove the project name from the hookr calls.
This is no longer needed with the updated hookr.

Sexy!


XFS file system needs --encrypt-format-all

It would be nice to make a note or put a link for the --encrypt-format-all that says XFS needs this to be encrypted. https://learn.microsoft.com/en-us/azure/virtual-machines/linux/disk-encryption-faq#is-xfs-filesystem-supported-

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

ID: 4762f857-8a1e-f1bb-7843-3d8fefe28f8e
Version Independent ID: 91ce956c-c915-5053-56b0-a489fb2f7b00
Content: az vm encryption
Content Source: latest/docs-ref-autogen/vm/encryption.yml
Service: virtual-machines
GitHub Login: @rloutlaw
Microsoft Alias: routlaw

@zhoxing-ms for awareness


Formula as children of objects

a formula that has a an object parent

This is not planned for now. The strategy used to identify formula isn't compatible with nested fields at the moment

It's no problem.
This feature will be an absolute game changer, that along with the display of the children of objects when querying.


Fix bug: FileInput constructor accepts checkinterval as seconds, however it is stored and treated as milliseconds.

Change name of parameter and set the default to 100, which is minimum according to the setter on CheckIntervalMiliseconds.
The alternative would have been to actually treat checkIntervalSeconds as seconds and multiply it by 1000 before assigning _checkIntervalMiliseconds, but that would have been a breaking change. And the default in .Net framework when specifying intervals/timeouts with an int is milliseconds.

Maybe it should default to 30000? That seems to be the intention from the default init value for the private (misspelled) field _checkIntervalMiliseconds

Yes, but that means FileInput changes its behaviour. If the user hasn't specified any value today, then 30 is used, meaning the file is checked very often. So changing the default value to 100 would mean that the file is still checked very often, i.e. sort of the same behaviour. 30000 would be a drastic change.
However, if you want a more reasonable default value, that does not change today's behaviour to much, then for example 1000 could work.

true that...


Incorrect link in Readme.md

The link pointing to the API Docs at https://developers.signiflow.com/docs/signiflow-openapi-v1/docs/introduction.md points to an empty page.
The link is under the "What can I do with a Swagger file?" heading in the main REAME.md

Thanks for bringing this up, I have replaced the link with the correct one.


#459: allow score to be cleared when editing

Resolves #459

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 2 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 94.975%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6470

Relevant Lines:
6579

💛  - Coveralls


BdJuno Lags behind

Bug description

Opening issue for track keeping.
Most days in the morning I noticed Bdjuno lags behind by a few thousand blocks. (Consensus is reading directly from the chain).  I'm currently not sure why this happens

Steps to reproduce

Expected behavior

Update
Today BDJuno stopped again. After checking, it was all fine (BDJuno was still running, Hasura too) except the database connection that dropped. I'm now thinking if this might be a Linode thing.

Update
Today BDJuno stopped again. I restarted it at block height 692,850 and it stopped at block height 729,980.
This is 37,130 blocks without interruption (~ 2.57 days).

Update
Today BDJuno stopped again. I restarted it at block height 692,850 and it stopped at block height 729,980.
This is 37,130 blocks without interruption (~ 2.57 days).

Have you found any more issues with db connection that time?
And btw, do you have all things(bdjuno, hasura, postgres) on same machine or accessing db remotely?

Have you found any more issues with db connection that time?

Apparently, it's the db connection that is dropping. BDJuno was running fine (daemon was up) as well as Hasura and the PostgreSQL database itself. They were all up, just BDJuno was not communicating.

And btw, do you have all things(bdjuno, hasura, postgres) on same machine or accessing db remotely?
We have Hasura and BDJuno on the same server, and the PostgreSQL database is remote on another machine.

Update
BDJuno stopped again on block 743,625. This is 13,645 blocks after the previous stop (~ 23 hours). It seems to become more frequent over time.

Update
BDJuno stopped again on block 821,369. This is 77,744 blocks without interruption (~ 5.48 days).
It seems that stops are random.

Update
BDJuno stopped again on block 843,381. This is 22,012 blocks without interruption (~ 1.52 days).

Update
BDJuno stopped again on block 906,002. This is 62,621 blocks without interruption.

I think we've been pretty stable. Okay to close and open again if needed?

I think we've been pretty stable. Okay to close and open again if needed?

Sure


e2e checkLogs in mixer unreliable in minikube

Pilot e2e checkLogs check for the existence of a request ID in mixer logs.
I have seen mixer logs rotate in minikube, it seems rotation is enabled by default:
https://github.com/kubernetes/minikube/issues/830
The VM has something like this:
https://stackoverflow.com/questions/39021832/kubernetes-how-to-set-the-maximum-size-of-the-log-file
checkLogs parameter should be disabled by default, since it is expensive and flaky/misleading. The absence of a request ID in the logs can be due to rotation, not to a bug.

Issue moved to istio/istio #1401 via ZenHub


php 8 explode error

Hello,
under some circumstances on php 8.0 we can get this error:
explode(): Argument #1 ($separator) cannot be empty
I already fixed this i will make pull request soon.

I also have the same problem.

Here is the fix:
https://github.com/matt-pawley/oc-imageresizer-plugin/pull/81


Built-in support for storyboard references

Currently Typhoon injects the TyphoonComponentFactory only in the main storyboard of the application - and you need to instantiate other storyboards manually using the -storyboardWithName:bundle:factory: method.
With Xcode 7 we have the brand new feature of creating storyboard references, so it'd be very convinient to implement automated instrumenting of all the storyboards in the application.

Looks nice. So it would works only if parent storyboard is TyphoonStoryboard too, right? Looks like easy to implement :-)

@alexgarbarev,

@alexgarbarev Well, I don't see a nice way to determine the parent storyboard. I've thought of using TyphoonInitialStoryboardResolver for all the storyboards in the application bundle, except the ones blacklisted in the Info.plist file.

Implemented in v.3.3.4


pasting code block in chat

fix from https://github.com/microsoft/vscode/pull/233358 (which was reverted)
previously approved + added a new fix for the text model
cc. @jrieken

hmm was green right before i updated the branch, let me investigate


Add method to destroy stored captcha phrase and fix possible replay attack vulnerability

Hey @freezy-sk ! Nice to see you again. Thanks a lot for this very useful contribution. I’ve just requested 2 minor changes regarding CS, but otherwise it’s all great, thanks ! 👍

Hi @fabschurt
It's all done right now ;)


Ice walls and other unused walls need materials/construction steps added.

Description
We've moved to /tg/ sprites so best put them all to use.

this is pretty much complete, would need issues for specifics


Add new replaceAllInSliding strategy

The motivation for this new heuristic is this test: https://github.com/fthomas/scala-steward/pull/527/files#diff-4afd9d1aeae9d83e852850cdf8b9b256


Regexp value must be a REGEXP

Link #30

Coverage increased (+0.1%) to 74.093% when pulling c8c19b242af9b9c61af6d83ae4ef6bda19fa93a1 on issue/30 into 3c640c87487b3dc827b7cc5916484d7c219388d0 on develop.


Kornia crate docs cannot build because of not found gstreamer libs

Crate name
kornia-io
Build failure link
https://docs.rs/crate/kornia-io/0.1.6-rc.5/builds/1364839
Requested RAM limit
No response
Requested timeout
No response
Requested number of targets
No response
Why your crate needs the resource increases
hi, I'm facing some issues to build the docs of the kornia-io crate:

kornia-io: https://docs.rs/crate/kornia-io/0.1.6-rc.5 (the one actually crashing with all-features enabled)
kornia: https://docs.rs/kornia/latest/kornia (main crate using the above, not showing all the features)

The kornia-io has a couple of feature flags that depends on system dependencies like nasm or gstreamer which seems to be the issue while building the docs the crates.io.
I wanted to take also this opportunity to ask what's is the recommended way to upload the docs under this conditions. For all the deployment and testing I have a very simple docker file: https://github.com/kornia/kornia-rs/blob/main/devel-x86_64.Dockerfile
For publishing crates the only way I found to work around is via a separated bash **script as I couldn't figure from github actions to do it properly reusing the dockerfile.
**https://github.com/kornia/kornia-rs/blob/main/scripts/release_rust.sh

you can add needed system dependencies into our build image. see

https://docs.rs/about/builds#missing-dependencies
https://forge.rust-lang.org/docs-rs/add-dependencies.html


Fixes issue #349

ISSUE TYPE

Feature Pull Request

SUMMARY

Added e2e test coverage for '@BotKube notifier showconfig' command.

Fixes #349
added a new test case for notifier showconfig in e2e/command/botkube.go

Closed this one due to failed test and already created a new PR


Update operator

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pilot-multicluster-e2e_istio
31f6ade2a6ba6beb264feb847f1fdf10f8f7e8d8
link
/test pilot-multicluster-e2e_istio

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

/retest


Color picker HTML field weirdness

Describe your issue

Typing in the HTML field in the color picker window doesn't work as expected.  The third character typed duplicates all characters, e.g., typing '123' results in '112233'.  Possibly intended?  But strange.
OS and Chatterino Version

Windows10, Chatterino 2.3.2.

That was not intended by me (who is responsible for the original feature). The behavior is caused by the input validation set up for the text field:
https://github.com/Chatterino/chatterino2/blob/6355742b6ed01ff54b66752655e4c5c4290c0231/src/widgets/dialogs/ColorPickerDialog.cpp#L355-L363
Worth a fix imo

I see that #RGB is meant to be interpreted as #RRGGBB. However I believe overriding what the user writes is a bug.
Src: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value#syntax_2


match data deletion requests

as above

This isn't implemented yet.  It requires a couple of things:

User needs to be able to prove that they own the account_id in question
Need to write scripts to remove the data from all the tables properly

Why is this needed? We don't send any emails anyway and we won't parse your matches if you are not logging in.

Actually, I mistakenly parsed a couple of practice matches long ago and I am wondering how I can prevent them from being associated with me.

If they were lobbies and done via uploaded replay then they don't persist.

No, they are normal matched ones, but they just didn't count (not visible in API) because of some connection issues of the server at the time.

In that case the radiant_win property is probably null and we don't count the match toward aggregations

I know, but I guess users should probably have an option to remove it from match lists of their profile.


Could not create monacoeditor

Hi,
I was trying to add blazormonaco to my webassembly blazor project, but I get an exception that is not defined
Could not find 'blazorMonaco.editor.create'

Looks like the js files are missing. Just make sure that you've followed the instructions in the Getting Started section of the README file.


Remove reduce usage for better performance

Argo’s performance is quadratic over the size of the collection being decoded, due to the use of reduce (AirspeedVelocity article). This PR removes most usages of reduce in exchange for a for loop of the same functionality. This improves the performance of decoding an array of over 9000 simple models on an iPhone 4S by ~2600% (76.4s to 2.9s). See #295 for my analysis and evolution of this code.

Thanks for doing this. The performance increases are amazing! Really sad to see the functional code go away, but if for loops are more efficient then so be it.
My only comments are about consistency in the variable naming but otherwise this is good.

@tonyd256 Done. I also updated some layout, and added a Dictionary minimum capacity I missed.

@jshier I was curious if you would be able to write a test similar to our PerformanceTests.swift (or perhaps just update that test) to use whatever JSON you're using in those test results you posted in #295. I think it's important that we track this performance in the future and asking you to run the test every commit/release isn't scalable :smiley:

I was just thinking about that. I'll put together a reduced case of perhaps 500 - 1000 items, so it runs in a reasonable amount of time, just to make sure.

Great! If it's simple copy-paste of the JSON to get it back up to the one you're testing here then that would be fine.

@tonyd256 There is a large test file already in the project (big_data.json). However, it's not correct for the TestModel type and so fails decoding, making the performance test it's used for meaningless. I've built a new big_data.json that is correct, and big enough to see a difference, though the impact is lower when running on the Mac. How much time is acceptable for the tests?

For instance, with a new test file with 10,000 TestModels, tests take 37s to run on my 3.5GHz i7 iMac, with my optimizations. Same file with the old sequence takes 123s. Time taken to decode decreased from about 10s to 1.2s.

Haha, no wonder the performance tests ran so fast on my machine. The big_data.json file must not have been updated along with the types.json file. We should definitely add a check for success to those performance tests. Would you mind doing that as part of the test changes you're already making?
And I think that's fine for timing.

@tonyd256 I've added my updated big_data.json file, though I'm unsure how we can check for the success of the decode without affecting performance. I suppose I could just assert that the count of the array is 10,000? I don't know what impact that assertion will have from inside the measureBlock, as I can't find a way to capture the result of one of the runs outside the block.
Also, I've tried to rebase / squash, but my local squash doesn't seem to get synced up. Any idea what I'm doing wrong?

Thanks @jshier for updating this! As for the assertion that it can parse, I think it would be find to have a separate test that doesn't use a performance block but does assert that there are 10000 objects.
About the rebase, not sure what happened but it seems you have a wrong commit as the first commit of this PR (908aa92d2c5657efec8d571f3af6afe6271b68a0).  Then you should be able to force push you local rebase/squash to you're remove fork and then github should pull that in here right? Is that the part that's not happening?

I'll add that test.
I think the force push is what I was missing.

To add an extra data point to the speed improvement here, I ran this branch against a rather small 32k+ line JSON file, and a related test case went from 4.850s down to 0.771s on a MBP13 with a 2.6GHz Core i5.
Does this sort of enhancement have to wait 'til the 3.0 milestone? Performance issues like this scare folks off (if the custom operators didn't already), and it doesn't appear to affect the existing API. Folks that already shipped against the 2.x API could pick up the performance gain before having to deal with any API change. Thoughts?

@liscio Oh wow. Yeah, we (@tonyd256 and I) should talk about trying to get this performance fix out ASAP before moving towards a 3.0 release.

@tonyd256 @jshier what's the status here? Is this ready to merge? I'd like to get a 2.3 release out this week that includes this improvement.

@gfontenot This is good to go, I just have to figure out how to squash it down appropriately.

@jshier I'm happy to do that for you if you don't want to deal with it. I'd probably merge the first 4 into one commit and the last 3 into another. I'd also rebase to get rid of the merge commit.

That would be fine. Thanks.

Merged this as 416349d and 255196c
Thanks so much for this, @jshier!

Argo 2.3 is now available and includes this change

:+1: :+1:


how to control cloud offloading via limitation on cpu usage of the clients?

I want to know how I can add cloud offloading code to this github repository just like this code of yours https://github.com/piaoliangkb/task-offloading/blob/master/engine.py but i made some changes to this one https://github.com/IBM/adaptive-federated-learning like I wanted to run it for 3 virtual machines (windows 10) with 1Gb of Ram and 10Gb of hard disk, and I wanted to only use SVM and CNN with the MNIST dataset. So now I want a couple lines of code, where they data that's been processed up until a certain amount of CPU reached on the virtual machines (let's say 75% of CPU is used) to be offloaded into a cloud server. I don't really know where to begin, but this is a very important project and I have seen all those "offloading" codes in GitHub, but they weren't much helpful to begin with.

Hello there
would you please be able to help me add offloading to this project? I want the 3 nodes on virtual machines that i have designed to work based on this code, to offload model parameters to cloud whenever their cpu or RAM are exceeding to a high extent or whatever reason you made the decision on when and how to offload based on your code, would you please help me?

Hello there
would you please be able to help me add offloading to this project? I want the 3 nodes on virtual machines that i have designed to work based on this code, to offload model parameters to cloud whenever their cpu or RAM are exceeding to a high extent or whatever reason you made the decision on when and how to offload based on your code, would you please help me?


Create a skeleton Flask application

As a developer
I need skeleton files written in python
So that I can start building our application
Details & Assumptions:

The skeleton files will be written in Python 3.9
The framework used in this application is Flask framework
The skeleton files may be divided into the following layers: controller, service and dao

Acceptance Criteria:
Given [some initial state]
When [some event]
Then [some measurable outcome]

added more details to the body of this issue

Hey team! Please add your planning poker estimate with ZenHub @Fivetoes @jiuliwei @XinyuC97 @yx2512 @ZX-WANG


[Task]: Make Run button disabled when there are empty fields

Is there an existing issue for this?

[X] I have searched the existing issues

SubTasks
No response

@rohan-arthur The requirements here are still a bit unclear, is this task for the API Editor page?


⚠ Bofrost.be has degraded performance

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

HTTP code: 200
Response time: 1592 ms

Resolved: Bofrost.be performance has improved in f1045a6 after 6 minutes.


Allow chaoshead to generally be able to load any .lhs file

I tried to do some scripting stuff on another computer that doesn't have Levelhead today. I got some .lhs files for testing, and I ended up needing to replicate the /PlatformerBuilder/UserData/(profilecode)/Stages directory to put the file in, but Chaoshead still didn't recognize it. After testing, this seems to be because you need a save_data folder (with the correct data about the .lhs files) one level down for CH to be able to see the level.
For this, I think it would be nice if Chaoshead could just open any .lhs file, with a file prompt window like many other windows programs. I don't know if there's any essential data contained in the save_data file that is needed for the reading of the .lhs file, but if there is not, it would be nice to have Chaoshead not be completely dependent on the save_data file to do its main job.

If there's no save_data file, CH should just list the .lhs files in /PlatformerBuilder/UserData/(profilecode/whatever you want)/ (though not yet in subdirectories).
A file prompt isn't directly supported by LÖVE and would be a lot of work, but letting files be able to get dropped on the CH window to open them should be possible. It also might be possible to make CH able to be used to open LHS files directly from the file explorer, but that would probably open a new CH window for every file.

Added in af28aff89506bf378c2e073895003ea4a1f11b42 and 5d3977851e411b41d530855ad98321a7f4459b03


Microsoft Azure transcription service refactoring

The previous implementation of the Azure transcription service uses the Microsoft Speech SDK. On Linux systems it needs gstreamer installed as it will be used to extract and push audio stream to Azure. It comes with some complications. First of all, a memory leak. But also other issues we've found in production. This was the reason to refactor the code using the Azure Speech Services endpoints directly.
Microsoft Azure Speech Services provide multiple ways to transcribe audio for specific use cases. As we want to transcript an static, not live, audio stream, the best option is the Batch API. It works like transcription services from other vendors

Upload audio track
Poll transcription job status
Download the result on success
Start an attach-transcript workflow

To test the module you need an Microsoft account with at least a standard tear subscription. Free subscription does not work as documented here. Initially the code was written for Opencast 14. Since then we run it for two semesters in production. For the contribution it was rebased to develop and added the missing documentation. Some minor changes to handling captions (see documentation) are also applied.
Your pull request should…

[ ] have a concise title
[ ] close an accompanying issue if one exists
[ ] be against the correct branch
[ ] include migration scripts and documentation, if appropriate
[ ] pass automated tests
[ ] have a clean commit history
[ ] have proper commit messages (title and body) for all commits

Below are some screenshots from generated transcriptions and workflow properties of the started attach-transcription job.
This image shows the attached transcription and appended tags generated by the workflow in the documentation

Here you can see the workflow properties

The code is tested in production at ETH for some semesters now and it fixes some serious issues from the old implementation. I would like to see it merged. Is someone willing to review it?

Thank you @KatrinIhler for the review. I've fixed the merge conflict, rebased the branch to develop and fixed related links in the admin guides. Please go ahead.


feat: async attach and async detach (demotion)

What type of PR is this?
/kind feature

What this PR does / why we need it:

By making publishVolume asynchronous and allowing attachment demotion on unpublishVolume, kubernetes would be able to continue to perform pod setup / failover work concurrently with the disk attach and detach operation.
Which issue(s) this PR fixes:

Fixes #161
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[x] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 46.903%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
212

Relevant Lines:
452

💛  - Coveralls


Adding EPG

Hello!,
I love it! And got everything to work :) Thank you for the good manual.
I know want to place a EPG (TV Guide) to a video (live stream). So when you choose a video and it shows you the description and button to play video I would like to show the EPG of that video/stream. Is this somehow easy to do with JW player? Have you got any tips or tricks how to get this done?
Thank you!

One way you could do this is by extending the ItemDetail template, you probably want to do something like the following:

In ItemDetail.js when the view is registered make a XMLHttpRequest to your API that provides the EPG data.
When the data has been loaded you can modify the document and insert your data using TVML elements.

Thank you for you reply! Also This feed I've got is a .json format. In here there is a collection of all kinds of videos. First it shows the info about the program, time etc. But is it possible to extract the video urls in this feed and put them in a playlist? So all video's will be shown in 1 playlist.
So I got a .json file and want to show all videos in this .json file to show up in 1 playlist.
I'm searching for it in Google but can't find anything to get this done.
Thanks again!

Yes! You'll need to parse the url, build a regular playlist with media item objects, and feed the media item objects into the player in order to play them.
If you look at the source code under appletv/jwplayer-appletv-web-app/js/PlaylistLoader.js you can modify the xml playlist code to achieve this.
There is also more documentation on the player and playlist objects from Apple developers here
Hope this helps!.

123mijnwebsite... wij zijn ook bezig met het ontwikkelen van een TVOS app op basis van de JW Player maar kunnen nog wel wat extra handjes gebruiken... ook hebben we eventueel wel interesse in je source code daar wij hetzelfde bouwen denk ik...en app met live tv zenders en epg data
mijn email is<EMAIL_ADDRESS>hoop snel van je te horen

@123mijnwebsite and @telergyhd , very exciting to hear that more people plan to use the code! Forks are great, but we also welcome pull requests to Master. :-)
JL

Still working on it... Can't figure out how to add a rss/json feed to show a tv guid (EPG) tips are welcome :)


Test capi-agent-sanity job failure

/WIP please ignore

/test capi-provider-agent-sanity

/test capi-provider-agent-sanity

Just doing some house keeping
please @eranco74 reopen if still needed
/close


Moto does not appear to support complex keys for dynamodb get_item

In attempting to use moto to unit test some services I've written that hit dynamodb, I've encountered an issue with one of our tables that has a multipart key. When calling get_item against this multipart key, it seems to only be filtering by part of the key, not the entire key object.
Here is a minimal reproducible unit test that shows the issue. In this case, get_item should be returning the first object inserted into the table. Instead it returns the second (with the wrong clientId).
moto version is 1.3.11
import boto3
import moto

@moto.mock_dynamodb2()
def test_get_item_does_not_work():
    dynamo_client = boto3.resource('dynamodb')

    # Create table - works fine.
    table = dynamo_client.create_table(
        TableName='test-table',
        KeySchema=[
            {
                'AttributeName': 'clientId',
                'KeyType': 'HASH'
            },
            {
                'AttributeName': 'id',
                'KeyType': 'HASH'
            },
        ],
        AttributeDefinitions=[
            {
                'AttributeName': 'clientId',
                'AttributeType': 'S'
            },
            {
                'AttributeName': 'id',
                'AttributeType': 'S'
            },
            {
                'AttributeName': 'vendorId',
                'AttributeType': 'S'
            },
        ],
        ProvisionedThroughput={
            'ReadCapacityUnits': 1,
            'WriteCapacityUnits': 1
        },
        GlobalSecondaryIndexes=[
            {
                "IndexName": "test-vendor-id-index",
                "KeySchema": [
                    {
                        'AttributeName': 'clientId',
                        'KeyType': 'HASH'
                    },
                    {
                        'AttributeName': 'id',
                        'KeyType': 'HASH'
                    },
                ],
                "Projection": {
                    "ProjectionType": "ALL"
                },
                "ProvisionedThroughput": {
                    'ReadCapacityUnits': 1,
                    'WriteCapacityUnits': 1
                }
            }
        ]
    )

    table.meta.client.get_waiter('table_exists').wait(TableName='test-table')

    table.put_item(
        Item={
            "id": "04440e50-67c8-4971-8c78-c6bc8424eeb3",
            "clientId": "demo",
            "vendorId": "1337",
        }
    )

    table.put_item(
        Item={
            "id": "04440e50-67c8-4971-8c78-c6bc8424eeb3",
            "clientId": "demo2",
            "vendorId": "1337",
        }
    )

    item = table.get_item(
        Key={
            "id": "04440e50-67c8-4971-8c78-c6bc8424eeb3",
            "clientId": "demo"
        }
    )

    assert item.get('Item', {}).get('clientId') == "demo"

Correct. I will set this as a feature request. Thanks!

I also want to add that in get_item it doesn't seem to have option to set ProjectionExpression, where the boto3 document supports, can you please also add that? Thanks!

@TheCleric Hi - I've just tried to reproduce this, and noticed that you have two HASH-keys in the create-table statement. Running it against AWS itself produces this error:
An error occurred (ValidationException) when calling the CreateTable operation: Invalid KeySchema: The second KeySchemaElement is not a RANGE key type

After changing 'id' to be the RANGE-key, the test does pass - both against AWS and against moto.

@bblommers you are correct. Not sure how that test worked in the first place. I can confirm this test (and an addendum I added below) do pass:
    item = table.get_item(Key={"id": "04440e50-67c8-4971-8c78-c6bc8424eeb3", "clientId": "demo2"})

    assert item.get('Item', {}).get('clientId') == "demo2"


Bitcoin wallet went empty

I added about .0324 bitcoin to my wallet in August of 2019, it was there yesterday, I copied a blockchain from 5dimes.com to send them $200 dollars worth of bitcoin. After attempting the blockchain, nothing went to 5dimes.com, but yyen my wallet was at zero and there shows only a history of adding money to th e wallet nothing else. How can I of lost my bitcoin?

dup: https://github.com/bitpay/copay/issues/10339

Well, i was in the same situation until i sorted professional help. These guys helped me recover my wallet private key [secrettruthhackers.imfast.io], what would i have done when my wallet had investors bitcoin in there? Thanks to the secrettruthhackers.

@Schmadeke1
I have solved similar problem for my customer.
get in touch with me I will return your lost btc<EMAIL_ADDRESS>


renew letsencrypt

i saw that in crontab is not set anything like in v3. There is any mode to renew SSL from LE automaticaly?
BTW, i`ve tested V4 in Debian 9 and all works fine.

Hey @buzucan. Thank you very much for testing it on Debian 9 :)

I saw that in crontab is not set anything like in v3. There is any mode to renew SSL from LE automatically?

In upcoming releases, we will add a migration, which will add cron for renewing SSL on all existing sites. Hence you don't need to worry about it :)


ed25519_sign() is significantly different from current libsodium/SUPERCOP ref10 implementations (and generates incompatible output)

In working with your implementation, I was doing some testing against other code I have that uses libsodium, and noted that the ed25519 signatures produced by each were entirely different. After some digging, I noted that the implementation of ed25519_sign() you provide does not match the current libsodium/SUPERCOP ref10 (20141124) implementations.
I have an updated version that is interoperable that I'd be happy to submit if you'd like.

@rdeker Please share any ideas and work. That will help everyone involved :-)

I've forked this project and have one with a couple of fixes available at https://github.com/rdeker/ed25519 . To date I haven't heard anything in response to my pull request.

Sorry for the late response. I finally got around to checking this. ed25519_sign is not significantly different from SUPERCOP's ref10, I simply have a different representation of the private key.
ref10 stores the private key by storing the seed (32 bytes) and public key (32 bytes) as the 'private key'.
I instead straight up store the hashed seed (64 bytes) as the private key to not have to re-hash the seed on every sign operation.
So if you simply use the 64 bytes from the ref10 'private key' as the private key in this library you will end up with incorrect results.

See also this previous question about this exact topic: https://github.com/orlp/ed25519/issues/1#issuecomment-52679990

@orlp  Is it worth putting some info about this prominently on the main README.md? This tripped me up for quite a while, until I dug into closed issues. I imagine a lot of people will expect this to play nicely with other implementations.
(Note: I completely understand why you do what you do, but it may be missed by many).


Correction for raw affiliation Leicester Castle Business School, De Montfort University, Leicester, England and Faculty of Economics, Misuratu University, Misrata, Libya

Correction needed for raw affiliation Leicester Castle Business School, De Montfort University, Leicester, England and Faculty of Economics, Misuratu University, Misrata, Libya
raw_affiliation_name: Leicester Castle Business School, De Montfort University, Leicester, England and Faculty of Economics, Misuratu University, Misrata, Libya
new_rors: 0312pnr83;014fcf271
previous_rors: 014fcf271
works_examples: W3000339305
contact: f24833d6aae7e5fec6394e336d264f6f:045edf @ dmu.ac.uk

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


Cover unit test for use case SubmitOrderUseCase.kt

Currently there is no testing for use case. It would be nice if we can set up one and cover them

I did some in app/src/test/java/com/hieuwu/groceriesstore/domain/usecases/impl/GetProfileUseCaseImplTest.kt, you can start writing test following the convention.


Allow to discard results of monadic actions that are bound to _

🚀 Feature request
Let M be an instance of Monad class.
Current Behavior
Sometimes we are not interested in a result of a monadic action, especially we are interacting with some I/O (e.g. IO, Task, TaskEither).
However, current .bind notation enforces its result to be bound to some symbol, even if it is intended to be discarded, and moreover, they must be unique each other.
pipe(
  M.Do,
  M.bind('_a', ma),
  M.bind('_b', mb),
  M.map(({ _a, _b }) => {
    // `_a` and `_b` are intended to be discarded, but available here
  }),
)

It's a pain to give a different name to each void.
Desired Behavior
It's great if we have the way to discard such a result of a monadic action.
In fp-ts-contrib such an API was provided via DoClass#do.
Suggested Solution

In Haskell, such a result is discarded with the wildcard pattern (or void :: Functor f => f a -> f ()).
do
  _ <- ma
  _ <- mb

  void mc -- alternative way

So does it make sense if the result will be discarded when the first argument is '_'?
pipe(
  M.Do,
  M.bind('_', ma),
  M.bind('_', mb),
  M.map(({ _ }) => {
    // it's great if `_`  is unavailable here
  }),
)

Who does this impact? Who is this for?

All users using Monad.bind
Describe alternatives you've considered

Adding another function (other than bind) that executes the given monadic action and discard its result.
This can't be named do, nor void, as they are already reserved in JavaScript.
In that case, it may be safer to accept M<void> only, to avoid unintentional discarding.
See GHC's -Wunused-do-bind.
Additional context

none
Your environment

Software
Version(s)

fp-ts
v2.9.3

TypeScript
v4.1.2

You can use chainFirst:
import { pipe } from 'fp-ts/function'
import * as O from 'fp-ts/Option'

pipe(
  O.some(4),
  O.bindTo('x'),
  O.bind('y', () => O.some(2)),
  O.chainFirst(() => O.some('nope')),
) // O.some({ x: 4, y: 2 })

You can use chainFirst:
import { pipe } from 'fp-ts/function'
import * as O from 'fp-ts/Option'

pipe(
  O.some(4),
  O.bindTo('x'),
  O.bind('y', () => O.some(2)),
  O.chainFirst(() => O.some('nope')),
) // O.some({ x: 4, y: 2 })

Thanks @DenisFrezzato!
I totally didn't notice it works.
So instead of adding such a feature, how what do you think of adding some documentation to bind functions?
I, as a Haskeller, personally think it is a bit hard to come up with chainFirst in such situation.

Thanks @DenisFrezzato!
I totally didn't notice it works.
So instead of adding such a feature, how what do you think of adding some documentation to bind functions?
I, as a Haskeller, personally think it is a bit hard to come up with chainFirst in such situation.

how what do you think of adding some documentation to bind functions?

I'd rather expand the first section of https://gcanti.github.io/fp-ts/guides/purescript.html or add a new document in https://gcanti.github.io/fp-ts/guides/ related to: do notation, pipeable seaquence S, pipeable sequence T

how what do you think of adding some documentation to bind functions?

I'd rather expand the first section of https://gcanti.github.io/fp-ts/guides/purescript.html or add a new document in https://gcanti.github.io/fp-ts/guides/ related to: do notation, pipeable seaquence S, pipeable sequence T

@ryota-ka I agree with you, but not only to bind functions but more generically to anything that revolves around the do notation thing as a whole (Do, bind, bindTo, apS...). Furthermore, I think that examples showcasing how it works would be better than documentation. @gcanti anticipated me while I was writing this comment :smile:

@ryota-ka I agree with you, but not only to bind functions but more generically to anything that revolves around the do notation thing as a whole (Do, bind, bindTo, apS...). Furthermore, I think that examples showcasing how it works would be better than documentation. @gcanti anticipated me while I was writing this comment :smile:

Maybe, it's possible to add do function to each module as a synonym for chainFirst? Or name it like exec/effect/action? I second @ryota-ka on finding chainFirst not being clear enough when trying to teach fp-ts to others, but quite obvious once one gets a hand on using functional jargon.
Currently I'm working on a series of articles in Russian about functional TypeScript via fp-ts, and Do-syntax will be present in the article about tasks. Examples will be like this:
pipe(
    // [1]:
    TE.Do,
    // [2]:
    TE.bind("allUsers", () => TE.fromTask(() => getAllUsersFromMongo())),
    TE.bind("ordersCtx", ({ allUsers }) => TE.tryCatch(async () => {
        // do some async calls and get further data from mongoDB
        return { orders, users, total };
    }, E.toError)),
    // [3]:
    TE.chainFirst(({ ordersCtx: { orders, users, total } }) => pipe(
        orders,
        TE.traverseArrayWithIndex((idx, order) => order.total < 1000
            ? TE.of([])
            : TE.fromTask(() => sendDiscountEmail(order))))),
    // [4]:
    TE.map(constVoid)
);

Maybe, my work can help? I'd be glad to add some documentation for Do.

Maybe, my work can help? I'd be glad to add some documentation for Do.

:+1: :+1: :+1:

I agree it's not immediately obvious that chainFirst is the way to go for discarding computations, and it honestly feels a little out of place in a chain of do notation bindings. In PureScript they require you to implement discard for the Discard class in order to discard in do blocks. I recently started just aliasing chainFirst as discard in my custom data type modules and grouped it with the other Do related functions. I think it'd be convenient and instructive to include something like that in fp-ts. A let combinator would be handy too. E.g.:
pipe(
    TE.Do,
    TE.bind("allUsers", () => TE.fromTask(() => getAllUsersFromMongo())),
    TE.bind("ordersCtx", ({ allUsers }) => TE.tryCatch(async () => {
        // do some async calls and get further data from mongoDB
        return { orders, users, total };
    }, E.toError)),
    TE.let("whatever", ({ allUsers }) => `There are ${allUsers.length} users`),
    TE.discard(({ ordersCtx: { orders, users, total } }) => pipe(
        orders,
        TE.traverseArrayWithIndex((idx, order) => order.total < 1000
            ? TE.of([])
            : TE.fromTask(() => sendDiscountEmail(order))))),
    TE.map(constVoid)
);


nfs3: add test for readdirplus records v5

remove RUST as a feature since its not optional anymore

Previous PR: #683
S-V for unittests at OISF/suricata@4e2edd4

Merged in #692, thanks!


feat: 🎸 multiSig changes

JIRA Link
https://polymesh.atlassian.net/browse/DA-1304
Changelog / Description

adds endpoint to get historical multi-sig proposals
adds endpoint to get active multi-sig proposals
adds enpoint to get multi-sig admin
adds endpoint to get multi-sig payer
adds endpoint to  set multi-sig admin
adds endpoint to remove multi-sig payer
adds endpoint to remove multi-sig admin

Checklist -

[x] New Feature ?
[x] Updated swagger annotation (if API structure is changed) ?
[x] Unit Test (if possible) ?

/fast-forward

Triggered from https://github.com/PolymeshAssociation/polymesh-rest-api/pull/292#issuecomment-2428316702 by @prashantasdeveloper.
Trying to  fast forward v7-chain-support (7b688da004ba783ccbdb61160b1b32a95582eb58) to feat/DA-1304 (121f4c0fff67c5a75a17a678dc2b0091e6ac19cd).
Target branch (v7-chain-support):
commit 7b688da004ba783ccbdb61160b1b32a95582eb58 (HEAD -> v7-chain-support, origin/v7-chain-support)
Author: Toms<EMAIL_ADDRESS>Date:   Mon Oct 21 13:47:26 2024 +0300

    chore: 🤖 remove depreciated methods

Pull request (feat/DA-1304):
commit 121f4c0fff67c5a75a17a678dc2b0091e6ac19cd (pull_request/feat/DA-1304)
Author: Toms<EMAIL_ADDRESS>Date:   Thu Oct 17 13:32:20 2024 +0300

    feat: 🎸 multiSig changes

Can't fast forward v7-chain-support (7b688da004ba783ccbdb61160b1b32a95582eb58) to feat/DA-1304 (121f4c0fff67c5a75a17a678dc2b0091e6ac19cd). v7-chain-support (7b688da004ba783ccbdb61160b1b32a95582eb58) is not a direct ancestor of feat/DA-1304 (121f4c0fff67c5a75a17a678dc2b0091e6ac19cd). Branches appear to have diverged at 285e4ce9f3b2985273d87e9e341ec18b1b84f413:
* 7b688da004ba783ccbdb61160b1b32a95582eb58 chore: 🤖 remove depreciated methods
| * 121f4c0fff67c5a75a17a678dc2b0091e6ac19cd feat: 🎸 multiSig changes
|/
* 285e4ce9f3b2985273d87e9e341ec18b1b84f413 feat: 🎸 get network and middleware metadata

commit 285e4ce9f3b2985273d87e9e341ec18b1b84f413
Author: Toms<EMAIL_ADDRESS>Date:   Fri Oct 11 16:54:27 2024 +0300

    feat: 🎸 get network and middleware metadata

Rebase locally, and then force push to feat/DA-1304.

/fast-forward


IE compatibility List conditions to add a website are confusing

The IE compatibility List only adds a website when the following actions occur.

Shows an IE user a message suggesting the user should use a different browser for compatibility reasons.
Owner requests to add the website to the IE compatibility list.

It is not clear to me if both actions need to occur or only one of them.

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

ID: 6fe5c21b-2296-8b5c-208a-f41eb967c24e
Version Independent ID: c3722063-7455-5ba9-a78d-102823dfd474
Content: Moving users to Microsoft Edge from Internet Explorer - Microsoft Edge Development
Content Source: microsoft-edge/web-platform/ie-to-microsoft-edge-redirection.md
Product: microsoft-edge
GitHub Login: @MSEdgeTeam
Microsoft Alias: msedgedevrel

I also have a question around this:

Shows an IE user a message suggesting the user should use a different browser for compatibility reasons

Is there any information on how this is presented to users using Assistive Technologies? e.g. is it read out by a screen reader?

Thank you @rik and @Nooshu for filing this. I agree that the page is pretty confusing.
I think the confusion comes from the way the page describes the message.

Many modern websites have designs that are incompatible with Internet Explorer. When an Internet Explorer user visits an incompatible public website, the user may get a message. The message states that the website is incompatible with the browser.

This sentence makes it seem like IE displays the message automatically. This isn't true. What this is saying is that, often, websites will have their own banners saying something like "this site is best viewed with Chrome/Firefox/Edge", for example.
What the needsedge list does is auto navigate users of sites that are in this list to Edge. This way users don't have to do it themselves.
So, really, the only thing needed is for website owners to request their sites be added to the list.
About this sentence:

hows an IE user a message suggesting the user should use a different browser for compatibility reasons.

I need to check this, but perhaps it was added to the doc because the owners of the list do check that the site contains some form of warning message before adding it to the list. But I'm really not sure.
In any case, thanks for the issue, I'll add a task on our backlog to improve this page.

Thanks for the issue @rik and @Nooshu. I agree this page is confusing. So confusing that I had first typed in an answer, only to realize that I had it wrong. So I'll need to do more research, but I agree that this needs improvements.

Here is what I found out:

Anyone can request their site to be added to the list by following these instructions.
There is no message from the browser on incompatible websites in IE. However, when the user is redirected to Edge automatically, a UI appears in Edge (as shown in the article).
Like any other part of the browser UI, the message that appears in Edge is accessible and, in particular, will be read by screen readers.

Anyone can request their site to be added to the list by following these instructions.

To make sure I understand, this means that a website owner can request addition to the list, even if the website has no UI suggesting the user should use a different browser, right?


feat(visitor_mailer): multiple templates

Add templates for guest events
event_template:    "event",
booking_template:  "booking",

nice i that's definitely a step in the right direction though I think one part still remains:
both Resource bookings (like ME booking my desk and receiving a booking confirmation template email) and visitor invites (me inviting an external visitor and THEM getting the visitor template email) are Bookings, yet they need different Templates, and we still need this driver to differentiate between the two (looks like right now they will send the same template).
i can't seem to find any documentation on what a visitor invitation Signal payload is (to see how it differs to a desk booking signal payload)


tag argument in node constructor is incorrect in User Guide > Nodes > Tagging Nodes

Description
In the Tagging Nodes section of the User Guide in the kedro docs, the following example is given:
node(func=add, inputs=["a", "b"], outputs="sum", name="adding_a_and_b", tag="node_tag")

However, if you look at the documentation for the class node, there is no tag argument in the constructor. The correct argument is tags and it only accepts a list. The corrected example should read:
node(func=add, inputs=["a", "b"], outputs="sum", name="adding_a_and_b", tags=["node_tag"])

Context
This error in the documentation makes it difficult to figure out how to use tags effectively with nodes. Overall, I think a consolidated explanation of tagging nodes and tagging pipelines would be helpful.
Your Environment
Include as many relevant details about the environment in which you experienced the bug:

Kedro version used (pip show kedro or kedro -V): 0.15.1 (also tested on 0.15.3)
Python version used (python -V): 3.6.9
Operating system and version: MacOS 10.14.6

Perhaps related to #148.

@benjaminjack Thanks for flagging this, we managed to resolve this error in our latest release for 0.15.4. However, you do raise a great point about re-doing our tagging documentation so I'll close this ticket but place on our backlog an item to look at that documentation.


Help Needed: How to Work with Extracted .pyd Files to Retrieve Source Code

Thank you! I used your software to decode it, and now I have several .pyd files. Could you please advise me on how to proceed in identifying and working towards retrieving the source code? Currently, I only have a collection of .pyd files.
[+] Processing ../marktplaats.exe
[+] File type: PE
[+] Payload size: 20523272 bytes
[+] Payload compression: true
[+] Beginning extraction...
[+] Total files: 673
[+] Successfully extracted to __/marktplaats.exe_extracted

Pyd files are compiled Python extension modules. Unfortunately it isn't possible to retrieve the source code by the usual means like decompilation as there is no Python bytecode in pyd files. Pyd files are like any other natively compiled executable. You can load a pyd file in Ghidra/IDA to have a look at the assembly code. The usual techniques to reverse engineer natively compiled executables apply here.


Kepn Installer: introduce deployment parameters to keptn helm chart (control-plane) to make resource limits/requests customisable

Problem:
We experience scalability issues with the api-gateway-nginx (control-plane chart) when running Keptn on K8s with the default Keptn Helm Charts. From time to time the liveness-probes fail resulting in triggered restarts, furthermore we experienced pod kills by OOM.
Our plan to overcome these issues would be to customise the resource limits/requests of pods to our individual demands. However, to change resource-definitions it currently demands manual intervention in the Keptn Helm Chart and leads to the problem that we can no longer relate/use the charts from the official Keptn Helm Repo (https://charts.keptn.sh/).
Keptn Version: 0.10.0
Proposed fix:
The introduction of deployment parameters (with default values) would provide a generic way to make resource definitions customisable. As a reference implementation I suggest the bitnami charts that provide best-practices for helm chart templating:

https://github.com/bitnami/charts/tree/master/bitnami/nginx/#nginx-deployment-parameters
https://github.com/bitnami/charts/blob/master/bitnami/nginx/templates/deployment.yaml#L197

Currently we encounter this scalability issues on api-gateway-nginx, but I think it would make sense to introduce these deployment parameters (with current default values) to all containers.
I am open for feedback as well as for other solutions that help us to solve our issue!
DoD

Implement the suggestion with having the current values as default

I'm currently working on this issue.

@albertogdd is currently working on this issue.

As Sarah said, I'm currenlty working on this issue (see #7595, work in progress)


update: placed screenreader infoTip content after button in DOM order

Overview

PR Checklist

[ ] Related to designs:
[ ] Related to JIRA ticket: [ABC-123]
[ ] I have run this code to verify it works
[ ] This PR includes unit tests for the code change
[ ] This PR includes testing instructions tests for the code change
[ ] The alpha package of this PR is passing end-to-end tests in all relevant Codecademy repositories

Testing Instructions

Don't make me tap the sign.
PR Links and Envs

Repository
PR Link
PR Env

Monolith
Monolith PR
Monolith Env

Portal
Portal Link
Portal Env

Another Repo
Another Link
Another Env

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

📬Published Alpha Packages:@codecademy/gamut@55.25.4-alpha.8ed524.0@codecademy/gamut-kit@0.6.425-alpha.8ed524.0<EMAIL_ADDRESS>
🚀 Styleguide deploy preview ready!https://668fc7ec768e4d0c55daf523--gamut-preview.netlify.appDeploy Logs


add Define GC heap

nice work! Thank you!
I use it to build rp2040 micropython, need to add GC information to complete the build

on commit bab04f6
can using picowota_reboot on MicroPython usermod

Hi,
I wonder if these changes would be better in the micropython repository rather than here?
The micropython reboot module is only depending on exported functionality, and duplicating the build rules with a custom linker script wouldn't be very complicated.

My idea is to integrate picowota_reboot into MicroPython as a module.
This way I can switch the device to OTA mode in normal running with the following Python code:
import picowota_reboot
picowota_reboot.reboot(True)

pr adds a separate file, which will not be used in other c projects. In MicroPython, it can be directly built with link instructions. I feel like this won't affect either side.
My English is not good, use the translator, sorry.


Audio clipping

Hi, I'm sorry to be harsh, but the sound clips so easily that it's almost unusable.
Can you add a gain control and significantly reduce the default output level?

Hello, it is not harsh to provide valuable feedback.
Can you provide more information about the machine/browser you are using and which instrument so I can try to replicate?
This sfz-web-player is a prototype so does not have many audio effects/controls implemented yet
Here is a video showing notes played with a volume indicator. Looks ok to me at first glance:
https://github.com/sfzlab/sfz-web-player/assets/1710493/657daf46-bbb3-4ef7-b850-03754678afeb
It would be fairly easy to add a volume control if using your overall machine volume is not sufficient

I don't think it is machine/browser specific, but I could be wrong. I think the engine is internally clipping. (Turning down the system volume does not alleviate the clipping)
I am just loading up the page with the default instrument, which sounds like Kalimba, and then clicking my mouse across all the notes. As soon as 3-4 notes are playing simultaneously, it sounds like clipping to me.

Ah yes I can replicate. Playing multiple notes together does cause distortion/clipping.
Will add as a bug to fix


adding sample app changes for the swift wrappers

For confirmation, this sample project is going to be moved to a different path later, right?

No. This file standalone swift file example to showcase the swift wrappers package usage.
I am creating another example xcodeproject which will import swift package and use the wrappers in "examples" folder.


[OTHER] Put icons on the left-side in the sidebar for small screens

What would you like to share or ask?
Placing these icons at the center makes it look weird. Place these icons to the left-side along with GitHub forks and star count

Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[ ] I am willing to work on this issue (optional)

Can I get assigned to this? @rupali-codes

Can I get assigned to this? @rupali-codes

Sure, thanks.

So about the icons, are they to be aligned vertically or horizontally?

Hi @rupali-codes, Is the below UI looks good?

Should i raise a PR?

So about the icons, are they to be aligned vertically or horizontally?

It should be as it is, just align it to left

So please can i get assigned to this?

So please can i get assigned to this?

Sorry @khushalmajoka. @Toyin5 has been assigned to this issue. You can always review their pull request once it's raise. :) It's a great way to practice your feedback giving skills. Check out my
FreeCodeCamp article to help you.


Minimal Font Size

Is your feature request related to a problem? Please describe.
Hi, it's possible to set the minimal font size?
I love your Sankey Graph, but i can't read everything
Describe the solution you'd like
Set minimal font size or a custom parameter in each entity
Additional context
Add any other context or screenshots about the feature request here.

Setting it per entity is a no go and could cause rendering issues. But the example here is def a bug. There is a lot of room below to expand the font so it should handle this case better.

I added a second sensor and now it's ok. Seem like the bug only appear with one sensor