Migrating to a single solution and CSProj 2017 format

Looking through the project, I noticed that you have three different solutions and three different csproj files. Besides making it less manageable, it also adds inconsistencies, and I've spotted some issues too.
Moving to the new project format introduces a single solution/project that covers ALL the supported frameworks that you use, greatly simplifies configuration and management, removing clutter and keeping all the configuration in a single place. This also removes a LOT of potential for error.
Furthermore, makes development a lot easier, since you'll now be able to use/test all frameworks in one go, and building / packing the nuget package is as simple as building the project in release mode.
Summary of the changes:
Fixes:

The test project mapped the ReleaseNET4 configuration to the Release config. So it was never build against .NET 4.0 (ref)
FtpExtensionAttribute.cs was completely forgotten and not referenced in the projects. It was also irrelevant, since the class from inside was also present in Utils\NET2Compatibility.cs
FluentFtp.csproj.user seems to have been erroneously committed. I've removed it, and added it to .gitignore
Net standard compiled code never included the .xml docs for the library
The project is using custom compile time constants for each framework - I've switched them with pre-built ones (e.g. NETFX35 becomes NET35). I left the NETFX and CORE ones for wide matching rules to prevent making a massive revamp (although they might be not a great practice)
Fixes #185, which is a missed reference to System.Console for .NET core projects

Benefits:

I added a .editorconfig file to ensure that contributors use the same whitespace character as the rest of the project (tab). This is only applied to this project, so the rest of their environment is untouched.
There's a single solution and project file that covers all the frameworks. The whole file is just under 60 lines, and covers all the previous csproj combined + nuspec settings + ApplicationInfo.cs (FluentFTP.csproj)

Uses confitional attributes to add individual configuration for different frameworks
Defines a single point for project configuration and metadata
Much easier to manage due to being so concise and easily editable in VS (or any text editor)
Builds code against all frameworks in one go!
Also correctly packages all relevant resources in a nupkg file, ready to be uploaded to nuget directly!

New VS and combined project format makes managing multi framework code a LOT easier to manage:

Framework selection in the file editor

NO_SSL code not compiled in most frameworks

NO_SSL code compiled in .NET Standard 1.4

Great visibility of which frameworks contain individual methods/properties

Differences:

I've removed the DNX Core compilation, as it should be irrelevant at this point. I've just left the .net full frameworks and .NET Standard configurations
While the new project format can build the .nupkg file, there are some things that it doesn't set, specifically the Summary and Language fields. If that's important to the author, an external .nuspec file can be used as well, but it does cause a disconnect between the project contents and the package file. I'm happy to change it back (release notes and summary can easily be amended in the nuspec file before uploading it, or after uploading it on the NuGet website)

Suggestions:

The tests project should really be running actual tests. This could easily be switched to use XUnit, for example
The tests project only runs against the .NET framework. Currently it would fail against .NET standard (hence they are not added in Tests.csproj
The repo could do with a CI setup, to build each commit. AppVeyor provides that for free for OSS projects :)

If you're interested in any of the suggestions, I could help with that too

Pinging @hgupta9 @jptrosclair
I'm hoping this project is alive, but there's a bunch of issues piling in, and we're hoping this project won't go under.
Are any of the project members still around? :)

Yes it's still alive. I had to take a break due to personal reasons but now I'm going to be active again. Thank you @artiomchi for the brilliant work. I will merge this hope it compiles fine on my end. So all I need is VS 2017, and I can compile for all frameworks and nuget too?

Tests are hard because we need a free FTP server donated and my company cannot provide that atm. CI is very interesting but again that can only work after tests are configured.

Regarding unit tests, I was thinking it would be nice to find a "sponsor" company that would be willing to host an FTP server, or allow us to use their server for unit tests.
One server that I used when doing some testing was Rebex: http://test.rebex.net/
I guess we could drop them an e-mail, and if they'd be OK with this - use them in test projects.
The unit tests would cause hardly any traffic at all, but would help drastically!


Add gRPC interop tests to our PR test suite

Investigate adding gRPC interop tests. These should not be mandatory.

@JamesNK @JunTaoLuo I'm guessing this isn't happening for Preview 9 at this point?

@JunTaoLuo You're the best out of the two of us to do this one. Do you think you'll have time for it in the next couple of weeks?

@JamesNK started a mail thread about this, so assigning him.  Moving to the 5.0.0-preview1 milestone as well.

Reasons

Verify ASP.NET Core/Kestrel changes in the next .NET Core release aren't accidentally breaking gRPC
Verify gRPC runs on HttpSys/IIS (note: grpc-dotnet build server is Linux only so not possible to test there)

2 is particularly important. HttpSys work is happening now and it takes a long time to get changes in Windows. If we need changes then we have to discover them now and tell the correct teams. The interop tests provide a cross-section of major functionality to double-check we're compatible. There are only about 20 tests, and they take about 10 seconds to run.
How
Run interop client against interop server to execute tests. In the official gRPC interop test environment the client is called from the command line. I think for our CI build we should just have a single parameterized unit test that will start the server, and create an InteropClient instance which is passed arguments for each test. That should work for Kestrel, and maybe HttpSys. Will need to investigate what to do for IIS functional testing.
The interop client and server are both small self-contained apps, and should rarely - if ever - change. We can just copy and paste them from grpc-dotnet into aspnetcore and make minor edits to them as needed (the grpc-dotnet versions themselves were copied from grpc/grpc).

Reverted the change, so re-opening.

This was re-added by https://github.com/dotnet/aspnetcore/pull/20069


Can't connect to Azure Virtual Desktop through the MacOS Client

Hi,
Our office has implemented a new Azure Virtual Desktop for us to use. We've been able to set it up on a Windows desktop no problem. However when I try to set it up on my personal laptop so I can have access at home (MacOS client) I always get the same error when I try to connect. If I use the Web client it connects fine to the VM.

I go through the steps of this page (https://learn.microsoft.com/en-us/azure/virtual-desktop/users/connect-macos) and then It doesnt connect.
I'd appreciate any help. Thank you in advance

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

ID: c71ac503-a786-9a10-4560-1679cad31cfe
Version Independent ID: 2a58cc25-4f7d-ca17-d6d0-1b6e9c6cd90a
Content: Connect to Azure Virtual Desktop with the Remote Desktop client for macOS - Azure Virtual Desktop
Content Source: articles/virtual-desktop/users/connect-macos.md
Service: virtual-desktop
GitHub Login: @dknappettmsft
Microsoft Alias: daknappe

Hi @leo-015 - you'll need to contact support for this as GitHub issues in this repo aren't for troubleshooting individual technical issues.
#please-close

@leo-015
Here the link for support ticket since the support team will be able to respond much more quickly and have a conversation with you to figure out what could be going on.
Thanks


add h264 sei filter configure

add h264 sei filter configure in srt2rtmp

Codecov Report

Merging #1631 into 3.0release will increase coverage by 15.54%.
The diff coverage is 3.38%.

@@               Coverage Diff               @@
##           3.0release    #1631       +/-   ##
===============================================
+ Coverage       53.05%   68.59%   +15.54%
===============================================
  Files              82       96       +14
  Lines           26520    40716    +14196
===============================================
+ Hits            14069    27931    +13862
- Misses          12451    12785      +334

Impacted Files
Coverage Δ

trunk/src/app/srs_app_config.hpp
100% <ø> (+100%)
:arrow_up:

trunk/src/app/srs_app_server.cpp
0% <ø> (ø)
:arrow_up:

trunk/src/app/srs_app_rtsp.cpp
0% <0%> (ø)
:arrow_up:

trunk/src/protocol/srs_protocol_utility.cpp
96.55% <100%> (ø)
:arrow_up:

trunk/src/protocol/srs_rtmp_stack.cpp
89.48% <100%> (ø)
:arrow_up:

trunk/src/app/srs_app_config.cpp
77.91% <2.29%> (-3.74%)
:arrow_down:

trunk/src/app/srs_app_hybrid.cpp
2.81% <2.81%> (ø)

trunk/src/utest/srs_utest_app.cpp
100% <0%> (ø)

trunk/src/utest/srs_utest_reload.cpp
94.53% <0%> (ø)

... and 15 more

Continue to review full report at Codecov.

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


Performance ~~"

i got this error with multivercore 4.1.0 ~~" (my server is running on paperspigot 1.14.4)
[09:30:50 WARN]: [Multiverse-Core] "Multiverse-Core v4.1.0-b775" has registered a listener for org.bukkit.event.entity.EntityCreatePortalEvent on method "public void com.onarandombox.MultiverseCore.listeners.MVPortalListener.entityPortalCreate(org.bukkit.event.entity.EntityCreatePortalEvent)", but the event is Deprecated. "Server performance will be affected"; please notify the authors [Rigby, fernferret, lithium3141, main--, dumptruckman].

#2000


About system/hardnet.yml

The yml specifies :  python=3.5.6=hc3d631a_0 (line)
and extract_patches expect python >= 3.6.2 (line)
but when i change python to 3.7 i got the error:
Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - cffi==1.11.5=py35he75722e_1 -> python[version='>=3.5,<3.6.0a0'] -> python_abi=[build=*_cp35m] -> pypy[version='<0a0']
  - python=3.7
Use "conda info <package>" to see the dependencies for each package.

How to proceed ?

Can you try removing the version number from cffi? Or just removing the line altogether (it'll be installed if necessary).

It keeps happening with every other package
Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - prompt_toolkit==1.0.15=py35hc09de7a_0 -> python[version='>=3.5,<3.6.0a0'] -> python_abi=[build=*_cp35m] -> pypy[version='<0a0']
  - python=3.7
Use "conda info <package>" to see the dependencies for each package.
--------------------------------------------------------------------
Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - python=3.7
  - scipy==1.1.0=py35hd20e5f9_0 -> python[version='>=3.5,<3.6.0a0'] -> python_abi=[build=*_cp35m] -> pypy[version='<0a0']
Use "conda info <package>" to see the dependencies for each package.
--------------------------------------------------------------------
Solving environment: failed

UnsatisfiableError: The following specifications were found to be in conflict:
  - ipython_genutils==0.2.0=py35hc9e07d0_0 -> python[version='>=3.5,<3.6.0a0'] -> python_abi=[build=*_cp35m] -> pypy[version='<0a0']
  - python=3.7
Use "conda info <package>" to see the dependencies for each package.

Do i have to update every package ?

Im going to clone extract_patches repo and change the setup.py to accept older versions and see if it runs...

You are using Python 3.7. Our environment is set using Python 3.5. Since conda has moved onto newer versions, you should then simply remove all version information and try with that. It should not have any drastic breaking changes though.
Kwang

On Mar 15, 2021, at 13:27, Felipe Cadar Chamone @.***> wrote:
It keeps happening with every other package
Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:

prompt_toolkit==1.0.15=py35hc09de7a_0 -> python[version='>=3.5,<3.6.0a0'] -> python_abi=[build=*_cp35m] -> pypy[version='<0a0']
python=3.7
Use "conda info " to see the dependencies for each package.

Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:

python=3.7
scipy==1.1.0=py35hd20e5f9_0 -> python[version='>=3.5,<3.6.0a0'] -> python_abi=[build=*_cp35m] -> pypy[version='<0a0']
Use "conda info " to see the dependencies for each package.

Solving environment: failed
UnsatisfiableError: The following specifications were found to be in conflict:

ipython_genutils==0.2.0=py35hc9e07d0_0 -> python[version='>=3.5,<3.6.0a0'] -> python_abi=[build=*_cp35m] -> pypy[version='<0a0']
python=3.7
Use "conda info " to see the dependencies for each package.

Do i have to update every package ?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Another thing you can try is to simply remove all the "=py35hc9e07d0_0" things. I think that might work.

I think you can actually remove the version names (everything after the first equal sign). There was an issue with pyransac and python 3.7 though, if I remember correctly. I might be misremembering, @ducha-aiki may know more.

I can use python 3.5, but i cant install the package extract_patches with this version. I even used the old conda version suggested in the repo.

You are using Python 3.7. Our environment is set using Python 3.5. Since conda has moved onto newer versions, you should then simply remove all version information and try with that. It should not have any drastic breaking changes though. Kwang
…
On Mar 15, 2021, at 13:27, Felipe Cadar Chamone @.> wrote: It keeps happening with every other package Solving environment: failed UnsatisfiableError: The following specifications were found to be in conflict: - prompt_toolkit==1.0.15=py35hc09de7a_0 -> python[version='>=3.5,<3.6.0a0'] -> python_abi=[build=_cp35m] -> pypy[version='<0a0'] - python=3.7 Use "conda info " to see the dependencies for each package. -------------------------------------------------------------------- Solving environment: failed UnsatisfiableError: The following specifications were found to be in conflict: - python=3.7 - scipy==1.1.0=py35hd20e5f9_0 -> python[version='>=3.5,<3.6.0a0'] -> python_abi=[build=_cp35m] -> pypy[version='<0a0'] Use "conda info " to see the dependencies for each package. -------------------------------------------------------------------- Solving environment: failed UnsatisfiableError: The following specifications were found to be in conflict: - ipython_genutils==0.2.0=py35hc9e07d0_0 -> python[version='>=3.5,<3.6.0a0'] -> python_abi=[build=_cp35m] -> pypy[version='<0a0'] - python=3.7 Use "conda info " to see the dependencies for each package. Do i have to update every package ? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

I´m afraid pytorch will come with the wrong version, I just wanna know how to install extract_patches in python 3.5

I think you can actually remove the version names (everything after the first equal sign). There was an issue with pyransac and python 3.7 though, if I remember correctly. I might be misremembering, @ducha-aiki may know more.

Ah yeah, I misremembered, it's extract_patches that needs 3.6+, because of the "typing" package dependency. I think you can use 3.6 (or 3.7) and install the dependencies ignoring version numbers, one at a time if necessary. I'll try to update the yml file at some point (after the ICCV deadline). Sorry about the bother, but it should just work that way.

It worked! Thanks
btw, this is the yml i used https://gist.github.com/felipecadar/95ee705a7a3bae2cbc79812002b68541

Glad to hear it! I'll close the issue and update the yml file in a few days. Let us know if you have other problems with it.


refactor(router): convert route attributes to plain objects

What
@aidan-casey made an alternative suggestion to removing the Route as abstract base. With this rework we also lose the IsRoute trait and all Route builder "verbs" (Get, Post, etc) become plain old php objects. No method, no logic, no magic. This will make it easier to use the Route interface. But it will make it "harder" to do logic in these Route builder "verbs" as you do not have any method to hook into, you should do everything in the constructor.
Personally, I think this is as clean as it gets.
DO NOT MERGE
Based on  #821 as PHPStan 2.0 is required, the old one will panic at the sight of property hooks in the interface

Cool PR!

Nice!

PHPStan seems drunk, can someone rerun it? It reports an error of unnecessary null safe, while on that line (and even in the file) no nullsafe operators are used...

@blackshadev I reran it from mobile, but same error. What file/line is it complaining about? It's not complaining locally?

@blackshadev I reran it from mobile, but same error. What file/line is it complaining about? It's not complaining locally?

It is not, but I found out why. Somebody other than me rebased this  branch from main , which contained the new error. I rebased the phpstan-v2 branch and added the error to the baseline. I will rebase this one to phpstan-v2 and it should be green.

Very nice!

Do we need to update the docs as well?

Do we need to update the docs as well?

A bit. I can do it tomorrow.

Do we need to update the docs as well?

updated docs in this PR


Add detail to SignUp failure dialog

This builds a dialog message to explain requirements for password strength that the user's password failed.

@brandonecraig thanks for the PR and sorry for the delay merging it. I need to fix a couple more bugs and will release a new version including it.


RYA-284: updated to support bloom filter

Description
Updated dao/accumulo.rya to support the use of bloom filter
Tests
no new tests
Links
JIRA -> RYA-284
People To Review
@amihalik

Can one of the admins verify this patch?

Can you submit another PR with only the required changes?  There are a lot of whitespace and final changes.
Normally I would power through this, but the github "ignore whitespace" hack doesn't seem to be working.

Closed and will submit a new PR as requested.


Pogoinfo EOL wont be update anymore

server/src/services/api/fetchRaids.js
https://github.com/WatWowMap/ReactMap/blob/b45beeb5a09ca09ae42502d860929c00cc622bf2/server/src/services/api/fetchRaids.js#L8
Due to TSR shutdown, pogoinfo wont be update anymore. So infos needs to be collect from other source.
No idea for alternative source.....

We could adapt the fetchRaids and invasions by using the following API (Credits Malte)

https://rocket.malte.im/api/characters for invasions
Use https://raw.githubusercontent.com/WatWowMap/Masterfile-Generator/master/master-latest-everything.json and filtering "invasions" out in new file
for raids (https://rocket.malte.im/api/raids raids) again (Credits to Malte)

Currently trying to generated the json be help would be awesome

Do we actually need this raid json endpoint? Can't we just remove it is depend on the scanner database for a cleaner implementation.
As for grunt data this is currently being compiled from https://github.com/WatWowMap/event-info/ which looks to be current even with TSR being offline.

Clb is correct that these endpoints are from a different "era" of ReactMap. They have been removed in #757.


Extra more GraphQL queries to their own files

Continuing the work from:

https://github.com/refined-github/refined-github/issues/5848
https://github.com/refined-github/refined-github/pull/6674

To do, extracted from the last PR:

[ ] TypeScript integration that will help us use the results in the file
[ ] GraphQL autocomplete in the IDE thanks to the schema
[ ] Typed variables that make TypeScript complain if one is missing or unused
[ ] Prettier/formatter for GQL support (we have a .prettierignore file)

Extensions suggested:

https://chrome.google.com/webstore/detail/graphql-network-inspector/ndlbedplllcgconngcnfmkadhokfaaln
https://marketplace.visualstudio.com/items?itemName=GraphQL.vscode-graphql-syntax

Potential setup:

webpack: https://www.apollographql.com/docs/react/integrations/webpack/ (allows storing multiple queries in one file)
typescript: https://the-guild.dev/graphql/codegen/plugins/typescript/typescript-graphql-files-modules
eslint: https://the-guild.dev/graphql/eslint/docs (schema validation)
schema: https://the-guild.dev/graphql/config/docs


Lazydocker

Mirror files added for lazydocker

 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.


Add supports feature :update to CloudVolume

CloudVolumes currently use validate_* for most operations, start transitioning over to using supports?
Required for:

https://github.com/ManageIQ/manageiq-api/pull/1028

To be merged after this:

[x] https://github.com/ManageIQ/manageiq-providers-amazon/pull/696
[x] https://github.com/ManageIQ/manageiq-providers-autosde/pull/67
[x] https://github.com/ManageIQ/manageiq-providers-openstack/pull/707

Follow-ups:

[x] Replace the UI callers [ref] with supports?(:update) (https://github.com/ManageIQ/manageiq-ui-classic/pull/7715)
[x] Delete validate_update_volume

[x] https://github.com/ManageIQ/manageiq/pull/21186
[x] https://github.com/ManageIQ/manageiq-providers-amazon/pull/698
[x] https://github.com/ManageIQ/manageiq-providers-autosde/pull/68
[x] https://github.com/ManageIQ/manageiq-providers-openstack/pull/709

https://github.com/ManageIQ/manageiq/issues/21179

@agrare A conflict occurred during the backport of this pull request to lasker.
If this pull request is based on another pull request that has not been marked for backport, add the appropriate labels to the other pull request. Otherwise, please create a new pull request direct to the lasker branch in order to resolve this.
Conflict details:
diff --cc app/models/cloud_volume.rb
index f9cb3a8173,aa47cb605d..0000000000
--- a/app/models/cloud_volume.rb
+++ b/app/models/cloud_volume.rb
@@@ -22,6 -22,13 +22,16 @@@ class CloudVolume < ApplicationRecor
    has_many   :hardwares, :through => :attachments
    has_many   :vms, :through => :hardwares, :foreign_key => :vm_or_template_id
    has_many   :volume_mappings, :dependent => :destroy
++<<<<<<< HEAD
++=======
+   has_many   :host_initiators, :through => :volume_mappings
+
+   supports_not :backup_create
+   supports_not :backup_restore
+   supports_not :create
+   supports_not :snapshot_create
+   supports_not :update
++>>>>>>> 056899c79a... Merge pull request #21181 from agrare/add_supports_not_update_cloud_volume

    delegate :queue_name_for_ems_operations, :to => :ext_management_system, :allow_nil => true

lasker backport details
commit a0486758bde896d3419c85e54241b3cd037dbc4f (HEAD -> lasker)
Author: Oleg Barenboim<EMAIL_ADDRESS>Date:   Mon Apr 19 15:24:21 2021 -0400

    Merge pull request #21181 from agrare/add_supports_not_update_cloud_volume

    Add supports feature :update to CloudVolume

    (cherry picked from commit 056899c79af6652aed06b7f6366b2e62bd7ca044)

Backported to morphy in commit e6653c0d07eb6929f33ccc8716ce2ece25e5830f.
commit e6653c0d07eb6929f33ccc8716ce2ece25e5830f
Author: Oleg Barenboim<EMAIL_ADDRESS>Date:   Mon Apr 19 15:24:21 2021 -0400

    Merge pull request #21181 from agrare/add_supports_not_update_cloud_volume

    Add supports feature :update to CloudVolume

    (cherry picked from commit 056899c79af6652aed06b7f6366b2e62bd7ca044)


Older Safari support

Hey there, thank you for this great library!
I was wondering what is the support level for Safari because it works great on 9+ but I'm getting reports that it doesn't work on 6 for example (minority of users of course), as far as I know, 6 does have html5 audio support and it should be working, anyone else have had trouble with older Safari versions?

Are you having any specific issues with Safari 6? If you are having issues, please complete an issue template so we can get more information:
#### Issue description

#### Amplitude.js Version

#### Link to Reproduce-able Issue (Please provide a link to a JSFiddle / JSBin / CodePen or GitHub repo.)

#### Steps to reproduce the issue

1.
2.
3.

#### What is expected?

-

#### What is actually happening?

-

#### Additional details / screenshot

- ![Screenshot]()
-


The Realm file format must be allowed to be upgraded in order to proceed.

After updating the Realm to 5+
getting this error:
Fatal error: 'try!' expression unexpectedly raised an error: Error Domain=io.realm Code=6 "The Realm file format must be allowed to be upgraded in order to proceed." UserInfo={Error Code=6, NSFilePath=/private/var/containers/Bundle/Application/0D8EB349-6652-43EC-ABE0-C29FD52A64B3/MY_APP.app/default.realm, Underlying=Realm file needs upgrade before opening in RO mode Path: /private/var/containers/Bundle/Application/0D8EB349-6652-43EC-ABE0-C29FD52A64B3/TakeMyFlight.app/default.realm

56  libdyld.dylib                       0x00000001ad5ad2dc E5E56A85-E4D6-332E-9F32-FED4B986AFE0 + 4828, NSLocalizedDescription=The Realm file format must be allowed to be upgraded in order to proceed.}:

I'm using URL to my realm file
so my code is:
    static let realm = try! Realm(configuration: Realm.Configuration(
        fileURL: Bundle.main.url(forResource: "default", withExtension: "realm"),
        readOnly: true))

Sounds like you are including a realm as read-only in the app. You need to upgrade that read-only embedded realm file to the same version that you use in your app.

how can I update the realm file? I did update the Realm Studio and opened the file, hopping that it'd help... no success @bmunkholm

Are you using the correct version of Studio? Studio will ask to upgrade the file if it's an older version.

You'll need to download Realm Studio 3.11.0 (the auto-update currently only updates to 3.10.), open the Realm file, then do File -> Save data -> Local Realm to write a new compacted copy of it. The last step is optional, but will reduce the size of the file shipped with your app.

Catalina 10.15.5:

Catalina 10.15.5:

@ADevelopStudio That's very weird. Can you please create a realm-studio issue with details here.

I'm already saving it with realm 3.11.0 but I'm getting the same error
ERROR {"errorCode":6,"failureReason":"Content: Error loading up ReadOnlyContent.realm","domain":"io.realm","errorDescription":"The Realm file format must be allowed to be upgraded in order to proceed."}


Fix crash when creator refreshes while viewing a backer's pledge

📲 What
When a creator goes to view details about a pledge to their project, the app was crashing on pull to refresh.
🤔 Why
The current logic in BackingFragment expects the parent activity to call the appropriate delegate function when refresh is triggered. This is implemented correctly in ProjectActivity, where the BackingFragment is loaded from in the user-context of a backer. For creators, BackingFragment is loaded by BackingActivity, which did not properly implement these delegate functions, so we were crashing due to a ClassCastException.
🛠 How
I implemented the BackingFragment.BackingDelegate interface in BackingActivity, and updated BackingViewModel to re-fetch the backing on pull to refresh, and then update the UI.
👀 See
Hard to display this one, so no screenshots.
📋 QA
Log in as a creator, go to the Messages for a project you created, view a pledge, and refresh the layout. Confirm that no crash occurs.
Story 📖
https://kickstarter.atlassian.net/secure/RapidBoard.jspa?rapidView=9&modal=detail&selectedIssue=NT-1411

This should be merged against master, sorry for the branch mess 🥺 . I'll add the branches in the Jira ticket if that's useful


Adding "flag" icons for visibility, and a widget for the overview pages.

Screenshots:

Hold off on merging, for now.. I'm going to replace the .png icons with SVG's.

Should be GTG now.
@SahAssar Please optimize the SVG's before tagging. I bet there's quite a bit to be gained, there.

Looks great! Would be great to have the widget somewhere in the header, but it seems there is no widget position for that yet?

Looks great! Would be great to have the widget somewhere in the header, but it seems there is no widget position for that yet?

Nope, on the overview page, at the top of the aside is the best we can do.

Also it might be a good idea to have a config option to show/hide the widget on the dashboard.

I'm not sure i agree. It only shows on overview pages when applicable. I can't readily think of a situation where it wouldn't be good to show it. If we don't show it, there's no indication of the current language at all.

Alright, merging in, and will PR the optimized ones later. We can also tweak the specifics later if we want.

@bobdenotter btw, #105 for the optimized ones.


Plugin returns 500 when app has lots of instances

Hi there,
As the title says: I just tried the plugin and it works fine for apps with few (<8) instances. When trying:
cf cpu-entitlement app-with-10-instances
I get:
FAILED
unexpected status code 500

I just saw the --debug option. It seems that it is the cumulative-usage-fetcher that is failing.
See error below:
{"timestamp":"2020-07-08T11:19:55.439634000Z","level":"error","source":"cpu-entitlement","message":"cpu-entitlement.run.create-application-report.cumulative-usage-fetcher.promql-failed","data":{"app":"app1","app-guid":"6e5c11ec-7253-4f0d-b724-20ed348b4ced","error":"unexpected status code 500","query":"absolute_usage{source_id=\"6e5c11ec-7253-4f0d-b724-20ed344ced\"} / absolute_entitlement{source_id=\"6e5c11ec-7253-4f0d-b724-20ed3b4ced\"}","session":"1.1.7"}}```

Hi @stigtermichiel
From that debug line, I can see log-cache is returning that 500 error. Is it possible to get the log-cache logs (probably from the doppler deployment in /var/vcap/sys/log/log-cache)?
I'm having trouble reproducing this myself. Do you see the problem go away if you scale back down under 10. Or does the plugin fail persistently after the first failure?
Thanks, Kieron

Hi @kieron-pivotal,
Sorry for the late reply but I did some digging. I tried to replicate the request to log-cache by making the following curl request:
time curl -q  -G --key /var/vcap/jobs/log-cache-cf-auth-proxy/config/certs/external.key --cert /var/vcap/jobs/log-cache-cf-auth-proxy/config/certs/external.crt --cacert /var/vcap/jobs/log-cache-cf-auth-proxy/config/certs/proxy_ca.crt https://localhost:8081/api/v1/query --data-urlencode 'query=absolute_usage{source_id="ef041717-a07f-4cae-8976-2f3801857bf7"} / absolute_entitlement{source_id="ef041717-a07f-4cae-8976-2f3801857bf7"}'

The  error that we get is this:
{"status":"error","errorType":"internal","error":"context deadline exceeded"}
real	0m5.119s
user	0m0.044s
sys	0m0.024s

We saw that it seemed to be timing out after 5 sec. Changing the query timeout setting in the log-cache config did not seem to change anything. After that we did some further digging in the plugin-code and I think we found the culprit:
The code is creating a log-cache client with the following function:
func NewClient(addr string, opts ...ClientOption) *Client {
	c := &Client{
		addr: addr,
		httpClient: &http.Client{
			Timeout: 5 * time.Second,
		},
	}

	for _, o := range opts {
		o.configure(c)
	}

	return c
}

as you can see, the 5 second timeout is hardcoded there. Do you have any ideas how we can circumvent this?
Thanks alot, Michiel.
Btw, another question: Is it true that for this plugin to give the right metrics, set-cpu-weight needs to be set on the platform? It seems that without it, the plugin gives wrong metrics.

First, yes, you must use set-cpu-weight.
Regarding the timeouts. The plugin code uses the default http.Client, wrapped with a function to add an authorization header: https://github.com/cloudfoundry/cpu-entitlement-plugin/blob/f762ff4c4017d02fda57d3ad622d252a4145fc66/plugins/app_plugin.go#L156, so it's not using the 5 second timeout from the library.
The plugin is routed to the log-cache-cf-auth-proxy, which itself has a 5 second timeout: https://github.com/cloudfoundry/log-cache/blob/526a0fd20d0308de00e5a3018047219428e31653/cmd/cf-auth-proxy/main.go#L77.
So it looks like there's nothing we can do from the plugin side. The real solution is to find the performance issue in log-cache, or to increase those timeouts in the log-cache and proxy code.

Hey @stigtermichiel! It looks like this issue is not something that we can fix on our side, so I'll close this!


MODE-2607 Fixes incorrect behaviour when using user transactions

The bug was caused by the fact that the transactional ws cache was being cleared after each session.save() call, even if  the user transaction might still not have been committed. This meant that subsequent session.save() calls could get/see transient changes as the "latest persisted information".

Looks great.


Classic chrome theme adition?

will you add the classic chrome look on supermium? kinda miss the old look

Are you referring to something like #2 ?

yes

From: Smu1zel @.>
Sent: Wednesday, September 27, 2023 6:58 PM
To: win32ss/supermium @.>
Cc: haxerman123 @.>; Author @.>
Subject: Re: [win32ss/supermium] Classic chrome theme adition? (Issue #66)
Are you referring to something like #2https://github.com/win32ss/supermium/issues/2 ?
—
Reply to this email directly, view it on GitHubhttps://github.com/win32ss/supermium/issues/66#issuecomment-1737767254, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AVHGP4HH3DJBUJ5K6LDJS43X4RLLDANCNFSM6AAAAAA5JGILGI.
You are receiving this because you authored the thread.Message ID: @.***>


lagged on Android

hi,
when i use on android i select a picture then move picture.picture moved solw.

Sorry for the delayed response - if you can provide more information, we can possibly help.  What browser are you using on android?    What version of android?  At what point during the process do you experience the lag?

@thedustinsmith I also experiencing this right now, I am using Chrome on android mobile, I also tried it on the demo site but still laggy, specially when scrolling through the page. Do you have any updates about this? thanks!

@thedustinsmith I also experiencing this right now, I am using Chrome on 4.4.2 android mobile, I also tried it on the demo site but still laggy, it occurs when scrolling through the page even the page just got loaded. Do you have any updates about this? thanks!


does this project work well on recognizing human speak?

I have many audio files (e.g more than 100 thousand per day),all of them are random extracted  segment (the duration is no longer than 10 second) of one file from a audio files set (let us termed it set A,and the size of it is less than 100). My requirement is to quickly find out a 10-second audio file is belong to Set A or not,and find out the exact audio file in set A it belong to.
In the 'how it work' article I see 'peaks' in audio signal is an important part to build fingerprint ,and my audio set A is all pre-recorded audio so there are few noise with them. So I wonder is dejavu project suit for my requirement？

I fingerprint a audio file (let me call it file A) and  then extract a random one-second segment from A and save it as audio file B ,after finsh that I use recognize function to match file B and get the below result :

i don't know why. the file B is totally come from file A,but just have 0.21 input_confidence. is that normal?

No, human speech is far more complex for this fingerprinting method.  This is designed to detect audio signals such as music/melodies.
Then again depends what you mean.  music follows patterns in both rhythm and frequency.  human speech is quite more complex.
With speech you start with phonetic sounds (vowels/constants) which I'm sure after some research you realize doesn't really work well with this "peaks" model.

No, human speech is far more complex for this fingerprinting method. This is designed to detect audio signals such as music/melodies.
Then again depends what you mean. music follows patterns in both rhythm and frequency. human speech is quite more complex.
With speech you start with phonetic sounds (vowels/constants) which I'm sure after some research you realize doesn't really work well with this "peaks" model. And that's just the start. Not sure what your making still, but accents also affect peoples usage of phonetic sounds in words. Just because your accent pronounces a word with a certain vowel doesn't mean everyone else uses the same vowel.

Although most of the files ( set A) I build fingerprint from is human speech,but the files (call it B ) i want to recognize is extracted from one of them(I mean them is set A,sorry I am not a native english speaker,I don't want to cause any confusion) .In such scenario,does the vowel thing still affect a lot? Because the file B is actually a sub sequence of one file of A. And in my limited test,it working well actually,but like I said my test is limited(few data),i don't know if it can work with more data.
And there is another question: the picture I post is a wave from music(the upper one) and a sub sequence of the same music file (the lowwer one). It's music but the input_confidence just 0.21, is it mean that the fingerprints build from the music file and it's segment is not the same？

It's not a "vowel" thing it's a "phonetics" thing.  Look at your audio samples as a spectrogram (this can be done in audacity), compare it with music data. Music you can see a rhythmic pattern of frequency peaks.
If you read the README carefully it does explain its usage

It's not a "vowel" thing it's a "phonetics" thing. Look at your audio samples as a spectrogram (this can be done in audacity), compare it with music data. Music you can see a rhythmic pattern of frequency peaks.
If you read the README carefully it does explain its usage

thank you，maybe I should read the README more carefully


LC-486 Add retries to FetchUri Stage

LC-486

Moves createHeaderArray to ConfigUtils
Adds retry logic to FetchUri where you can configure the max number of retries, the initial wait time, and the maximum time it will wait before retrying. It uses an exponential backoff strategy.

Note: PR was merged despite build failure; integration test failure was examined, determined unrelated to code changes in this PR, and being addressed separately


Dubbo cache bugs

Make sure that:

[ ] You have read the contribution guidelines.
[ ] You submit test cases (unit or integration tests) that back your changes.
[ ] Your local test passed ./mvnw clean install -Dmaven.javadoc.skip=true.

@KevinClair pls review this pr. To fix missing content in 4433.

Codecov Report

Merging #4439 (a68a3fc) into master (f6d42e8) will decrease coverage by 0.09%.
The diff coverage is 0.00%.

@@             Coverage Diff              @@
##             master    #4439      +/-   ##
============================================
- Coverage     67.99%   67.90%   -0.09%
+ Complexity     7492     7488       -4
============================================
  Files          1023     1023
  Lines         29013    29002      -11
  Branches       2594     2590       -4
============================================
- Hits          19726    19694      -32
- Misses         7738     7759      +21
  Partials       1549     1549

Impacted Files
Coverage Δ

...gin/apache/dubbo/cache/ApacheDubboConfigCache.java
64.76% <0.00%> (ø)

...in/apache/dubbo/proxy/ApacheDubboProxyService.java
57.69% <0.00%> (ø)

.../client/server/consul/ShenyuConsulConfigWatch.java
57.44% <0.00%> (-29.79%)
:arrow_down:

...yu/sync/data/http/refresh/AbstractDataRefresh.java
68.96% <0.00%> (-13.80%)
:arrow_down:

...a/org/apache/shenyu/common/utils/VersionUtils.java
21.27% <0.00%> (-6.39%)
:arrow_down:

...che/shenyu/sync/data/http/HttpSyncDataService.java
81.63% <0.00%> (-4.09%)
:arrow_down:

...yu/common/dto/convert/rule/Resilience4JHandle.java
71.60% <0.00%> (-3.71%)
:arrow_down:

...rg/apache/shenyu/plugin/hystrix/HystrixPlugin.java
75.86% <0.00%> (-0.81%)
:arrow_down:

...yu/admin/service/impl/PluginHandleServiceImpl.java
75.47% <0.00%> (-0.46%)
:arrow_down:

.../plugin/grpc/loadbalance/AbstractLoadBalancer.java
70.32% <0.00%> (-0.33%)
:arrow_down:

... and 9 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


vSphere: Support secrets for cloud provider config

Installation of a Kubernetes cluster with kubeone creates a secret for the cloud-config on master nodes
[Global]
secret-name = "cloud-provider-credentials"
secret-namespace = "kube-system"
while the machine-controller puts in user and password in plain into the config of the worker
[Global]
user              =<EMAIL_ADDRESS>password          = "test123"
support for secret config usage should be added to normalize configuration between master & worker nodes and reduce security attack surface by not having the password in plain on the hosts.

/remove-lifecycle stale

@maxilampert If you currently manage your maschine deployment object separately, you already can do it:
    spec:
      providerSpec:
        value:
          cloudProvider: vsphere
          cloudProviderSpec:
            allowInsecure: true
            cluster: cl-1
            cpus: 2
            datacenter: dc-1
            datastore: exsi-nas
            datastoreCluster: ''
            diskSizeGB: 10
            folder: /dc-1/vm/kubermatic/tobi-k1
            memoryMB: 4096
            password: ''
            resourcePool: ''
            templateVMName: kubeone-ubuntu-18.04
            username: ''
            vmNetName: ''
            vsphereURL: ''
          operatingSystem: ubuntu
          operatingSystemSpec:
            distUpgradeOnBoot: false
          overwriteCloudConfig: |+
            [Global]
            secret-name = "cloud-provider-credentials"
            secret-namespace = "kube-system"
            port = "443"
            insecure-flag = "0"

            [VirtualCenter "<IP_ADDRESS>"]

            [Workspace]
            server = "<IP_ADDRESS>"
            datacenter = "dc-1"
            default-datastore="exsi-nas"
            resourcepool-path="tobi-k1"
            folder = "TODO"

            [Disk]
            scsicontrollertype = pvscsi

            [Network]
            public-network = "Loodse Default"

/remove-lifecycle stale


Fix image parsing in subctl show versions

and rename IMAGE -> REPOSITORY in the title line
Signed-off-by: Maayan Friedman<EMAIL_ADDRESS>

This still produces surprising results:
COMPONENT                       REPOSITORY                                      VERSION
submariner                      localhost:5000                                  local
submariner-operator             localhost:5000/submariner-operator              local

@skitt  Can you be more specific?

This still produces surprising results:
COMPONENT                       REPOSITORY                                      VERSION
submariner                      localhost:5000                                  local
submariner-operator             localhost:5000/submariner-operator              local

@skitt Can you be more specific?

I would expect
COMPONENT                       REPOSITORY                                      VERSION
submariner                      localhost:5000                                  local
submariner-operator             localhost:5000                                  local

or am I missing something?

This still produces surprising results:
COMPONENT                       REPOSITORY                                      VERSION
submariner                      localhost:5000                                  local
submariner-operator             localhost:5000/submariner-operator              local

@skitt Can you be more specific?

I would expect
COMPONENT                       REPOSITORY                                      VERSION
submariner                      localhost:5000                                  local
submariner-operator             localhost:5000                                  local

or am I missing something?

for this case:
COMPONENT                       IMAGE                                           VERSION
submariner                      localhost:5000                                  local
submariner-operator             quay.io/submariner/submariner-operator          0.4.0

we would like to keep the submariner-operator part, so if I'll remove it from the first case only it will be too specific parsing

This still produces surprising results:
COMPONENT                       REPOSITORY                                      VERSION
submariner                      localhost:5000                                  local
submariner-operator             localhost:5000/submariner-operator              local

@skitt Can you be more specific?

I would expect
COMPONENT                       REPOSITORY                                      VERSION
submariner                      localhost:5000                                  local
submariner-operator             localhost:5000                                  local

or am I missing something?

for this case:
COMPONENT                       IMAGE                                           VERSION
submariner                      localhost:5000                                  local
submariner-operator             quay.io/submariner/submariner-operator          0.4.0

we would like to keep the submariner-operator part, so if I'll remove it from the first case only it will be too specific parsing

Ah right, I get it, thanks. Shouldn’t the local output be
COMPONENT                       REPOSITORY                                      VERSION
submariner                      localhost:5000/submariner                       local
submariner-operator             localhost:5000/submariner-operator              local

in that case?

Ah right, I get it, thanks. Shouldn’t the local output be
COMPONENT                       REPOSITORY                                      VERSION
submariner                      localhost:5000/submariner                       local
submariner-operator             localhost:5000/submariner-operator              local

in that case?

yes. fixed

I think for local:
COMPONENT                       REPOSITORY                                      VERSION
submariner                      localhost:5000                                     local
submariner-operator             localhost:5000                               local

For remote:
COMPONENT                       REPOSITORY                                      VERSION
submariner                      quay.io/submariner                                    local
submariner-operator             quay.io/submariner                             local

The complicated part is the parsing on the operator image...
In the operator we will have different cases:

localhost:5000/submariner-operator                                -> localhost:5000
some-other-registry.com:1235/submariner-org/submariner-operator   -> some-other-registry.com:1235/submariner-org
submariner-org/submariner-operator                                -> submariner-org     (I think this would be valid for dockerhub, but not sure)
quay.io/submariner/submariner-operator                            -> quay.io/submariner

Are targeting this for 0.5.0?

Are targeting this for 0.5.0?

No, targeting v0.6 now.

#547 (comment)
See my comments here, we have probably some edge cases.
May be it's a good opportunity to add unit testing for some parts.

@mangelajo - Image parsing fixed according to your comment.
And I've added unit testing for the operator image parsing.

Need to add Signed-Off-By to the commits.


UVI Request

--- UVI JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from v5.4.119 to before v5.4.134",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=7d1bc32d6477ff96a32695ea4be8144e4513ab2d",
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=f2ff9d03432fcb160e9f7d4be26174d89de2779a"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "7d1bc32d6477ff96a32695ea4be8144e4513ab2d",
      "note": "introduced"
    },
    {
      "type": "commit",
      "value": "f2ff9d03432fcb160e9f7d4be26174d89de2779a",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "KVM: mmio: Fix use-after-free Read in kvm_vm_ioctl_unregister_coalesced_mmio\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.4.134 by commit f2ff9d03432fcb160e9f7d4be26174d89de2779a, it was introduced in version v5.4.119 by commit 7d1bc32d6477ff96a32695ea4be8144e4513ab2d. For more details please see the references link."
}
--- UVI JSON ---

This issue has been assigned UVI-2021-1001346


Unique index problem in case of update

In case of ORecordDuplicatedException during an update operation, the update operation is not reverted correctly.

fix:
https://github.com/orientechnologies/orientdb/commit/a45571b7cf270d22d5b259cecfa362b17f03f658
relative test case:
https://github.com/orientechnologies/orientdb/commit/a7d694086df1f828e77308fd1c75806fb42b7350


Problem with _DocumentStripGapTop

Is it known issue that if you set _DocumentStripGapTop or _DocumentStripGapBottom some value bigger then 0 the tabs height is calculated wrong and grows each time when user switch between tabs? I think it occurs only for VS2013 style.

Private items are not designed to be exposed. If you do want to change them, you have to fully understand the code and address any issue on your own.


x/pkgsite: package removal request for github.com/jwcorle/sqs-extended-client-go

Due to a rename, the path of this package was adjusted when publishing v1.3.5. This package is still public, just under my new username (co-go).
I assumed that pkg.go.dev would redirect/rename the package, but it seems that both github.com/jwcorle/sqs-extended-client-go and github.com/co-go/sqs-extended-client-go are listed as separate packages on pkgsite.

Removed!

Thanks @suzmue, any guidance on how I could get previous versions to show under the renamed pkg?
It seems that when trying to reference them directly (https://pkg.go.dev/github.com/co-go/sqs-extended-client-go@v1.0.0), I'm redirected to the old name, which now returns the 404.

The short answer is that its not possible, these are treated as two different modules with two different module paths. Pkgsite organizes the versions by module and we are unlikely to make any changes to that.
Removing the package documentation from pkg.go.dev doesn't however prevent the module from being used, so you should still be able to download/install/depend on the old module versions with the path github.com/jwcorle/sqs-extended-client-go.

Understood. Thanks again!


Remove leftover install of non-existant camera directory in vizzy files

Fix leftover of https://github.com/robotology/robots-configuration/pull/86 .

cc @plinioMoreno

Vizzy's new cameras are using ROS interface, so we don't need that folder anymore

Great, thanks!


Hengshuang new result

batch_size: 32
epoch: 500
learning_rate: 0.0005
gpu: 0
num_point: 1024
optimizer: Adam
weight_decay: 0.0001
normal: true
model:
  nneighbor: 16
  nblocks: 4
  transformer_dim: 512
  name: Hengshuang

Best Instance Accuracy: 0.917067, Class Accuracy: 0.893971

Thanks for your contribution! I will update the result.

Hi @qq456cvb , @yuchenlichuck ,
In the paper, it is written that mean ACC = 90.6 and overall ACC = 93.7. Does the number above (91.7067) correspond to overall ACC? And if yes, the number is pretty high, even DGCNN achieves higher (92.2).
Thanks.

Yes, and for the paper result, the author still hasn't open-sourced the code yet, so we haven't achieved that result.


Fix import to include full path

This seems to be necessary for the project to build successfully with Bazel 6.

Happy to accept this, but I see some regression failures. Do you have a sense what might be going on there?

This could very well be a regression caused by updates to the macOS runner. Probably worth trying to update rules_python to the latest version.

I just pushed a few more fixes that should hopefully address the failure. I think @fmeum is right and this was caused by the MacOS runners recently upgrading to Python 3.12. We hit the same problem in protobuf recently.
I am going to be out for the next four weeks starting on Monday, so if this ends up not being mergeable as is then someone else may want to take over.


Error: lookup hi-amenu-sh.lcl.host: no such host

Are there any additional details you would like to share?

Command: anchor lcl
Executable: /opt/homebrew/bin/anchor
Version: 0.0.37 (darwin/arm64) Commit: 1cd0aa11dbb338760b0ff26abf1f469d6ae5b1a9 BuildDate: 2024-05-28T21:30:13Z
Arguments: []
Flags: []
Timestamp: 2024-06-24T13:35:13.211008Z
Stdout:
| Let's set up lcl.host HTTPS in your local development environment!
|
| lcl.host (made by the team at Anchor) adds HTTPS in a fast and totally free way
| to local applications & services.
# Setup lcl.host HTTPS Local Development Environment `anchor lcl`
    | Once setup finishes, you'll have a secure context in your browsers and local
    | system so you can use HTTPS locally.
# Audit lcl.host HTTPS Local Development Environment `anchor lcl audit`
    | We'll begin by checking your system to determine what you need for your setup.
    - Checked resources on Anchor.dev: need to provision resources.
    - Compared local and expected CA certificates: need to install 2 missing certificates.
# Configure System for lcl.host HTTPS Local Development `anchor lcl config`
    | Before issuing HTTPS certificates for your local applications, we need to
    | configure your browsers and OS to trust your personal certificates.
    |
    | We'll start a local diagnostic web server to guide you through the process.
    - Entered hi-amenu-sh.lcl.host domain for lcl.host diagnostic certificate.
    - Resolved hi-amenu-sh.lcl.host domain: failed!
    | The entered domain name is either invalid or cannot be resolved from
    | your machine, possibly due to rebinding protection on your DNS server.
    | Learn more here: https://lcl.host/dns-rebinding

Closing as duplicate of #19 (I'll dig in and provide more details/feedback there as I'm able)


Edit projects in json

Can I edit the projects with a json file?

Can read about it here.

there says that projects using a .cson file, but I want to know if can I use a .json file

No, .json files are not supported. I wont implement it myself, but if you really want it I would accept a PR for it.


MAL Tracking Not working

Steps to reproduce

Select and add anime to library
Click on tracking
Select my anime list and login to your account (I logged into MAL using Google)
The app doesn't save MAL token and my anime isn't tracked

Expected behavior
It should be able to automatically tracked my anime to MAL account after the connection
Actual behavior
After signing in to MAL account, the apps doesn't save it and keeps telling me to login again. It happened after the latest update. I have been unable to track ever since then.
I only tired My Anime List btw
Crash logs
No response
Aniyomi version
<IP_ADDRESS>
Android version
HyperOs - Android 14
Device
Poco F5
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] If this is an issue with an official extension, I should be opening an issue in the extensions repository.
[X] If this is an issue with an official manga extension and this issue can be replicated in the Tachiyomi app, that I should be opening an issue in Tachiyomi's extensions repository.
[X] I have gone through the FAQ and troubleshooting guide.
[X] I have updated the app to version <IP_ADDRESS>.
[X] I have updated all installed extensions.
[X] I will fill out all of the requested information in this form.

I had a similar issue, the fix that I used was going into Setting > Advanced > Default user agent string and instead I used:
Mozilla/5.0 (Linux; Android 13; SM-S901U) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Mobile Safari/537.36

I was having similar problems with MAL (for reference i tested AniList and it was working fine), and i can also confirm that @Naginipython solution worked like a charm. 10/10

This has most likely been fixed in the preview version with the merge from Mihon. If the issue still persists even after switching to preview or in the next stable update, please open a new issue.


YARN-11743. Cgroup v2 support should fall back to v1 when there are no v2 controllers

Change-Id: Ia6e80c5e4273af71c42e6e5efe64c7c91769a36e

Description of PR
How was this patch tested?
For code changes:

[ ] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?
[ ] Object storage: have the integration tests been executed and the endpoint declared according to the connector-specific documentation?
[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?
[ ] If applicable, have you updated the LICENSE, LICENSE-binary, NOTICE-binary files?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 33s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
35m  2s

trunk passed

+1 :green_heart:
compile
1m 21s

trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
compile
1m 21s

trunk passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
checkstyle
0m 39s

trunk passed

+1 :green_heart:
mvnsite
0m 44s

trunk passed

+1 :green_heart:
javadoc
0m 48s

trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javadoc
0m 41s

trunk passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
spotbugs
1m 24s

trunk passed

+1 :green_heart:
shadedclient
32m 59s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 33s

the patch passed

+1 :green_heart:
compile
1m 14s

the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javac
1m 14s

the patch passed

+1 :green_heart:
compile
1m 13s

the patch passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
javac
1m 13s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 26s

the patch passed

+1 :green_heart:
mvnsite
0m 34s

the patch passed

+1 :green_heart:
javadoc
0m 33s

the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javadoc
0m 31s

the patch passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
spotbugs
1m 21s

the patch passed

+1 :green_heart:
shadedclient
33m  4s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
26m  6s

hadoop-yarn-server-nodemanager in the patch passed.

+1 :green_heart:
asflicense
0m 37s

The patch does not generate ASF License warnings.

142m 33s

Subsystem
Report/Notes

Docker
ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7222/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/7222

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux feda87e952c1 5.15.0-125-generic #135-Ubuntu SMP Fri Sep 27 13:53:58 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 6e6abaa0122fe6f73f3f872a9cf30cd41fbb4fda

Default Java
Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7222/1/testReport/

Max. process+thread count
551 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7222/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 31s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

-1 :x:
test4tests
0m  0s

The patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
37m 12s

trunk passed

+1 :green_heart:
compile
1m 25s

trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
compile
1m 19s

trunk passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
checkstyle
0m 41s

trunk passed

+1 :green_heart:
mvnsite
0m 42s

trunk passed

+1 :green_heart:
javadoc
0m 46s

trunk passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javadoc
0m 37s

trunk passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
spotbugs
1m 26s

trunk passed

+1 :green_heart:
shadedclient
34m 33s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
0m 34s

the patch passed

+1 :green_heart:
compile
1m 18s

the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javac
1m 18s

the patch passed

+1 :green_heart:
compile
1m 13s

the patch passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
javac
1m 13s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
0m 28s

the patch passed

+1 :green_heart:
mvnsite
0m 33s

the patch passed

+1 :green_heart:
javadoc
0m 34s

the patch passed with JDK Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04

+1 :green_heart:
javadoc
0m 31s

the patch passed with JDK Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

+1 :green_heart:
spotbugs
1m 21s

the patch passed

+1 :green_heart:
shadedclient
34m 28s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
26m 12s

hadoop-yarn-server-nodemanager in the patch passed.

+1 :green_heart:
asflicense
0m 38s

The patch does not generate ASF License warnings.

147m 51s

Subsystem
Report/Notes

Docker
ClientAPI=1.47 ServerAPI=1.47 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7222/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/7222

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux ceac50fcb059 5.15.0-125-generic #135-Ubuntu SMP Fri Sep 27 13:53:58 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 4b680f39ef4af56b68bd4dcbc57abf3c54c22603

Default Java
Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Ubuntu-11.0.25+9-post-Ubuntu-1ubuntu120.04 /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_432-8u432-ga~us1-0ubuntu2~20.04-ga

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7222/3/testReport/

Max. process+thread count
554 (vs. ulimit of 5500)

modules
C: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager U: hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-7222/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Patch cmake to make moar noise

Adds a status output to the SDL and STM32 executables, since I just notice CMake had a long, quiet period of contemplating during which it wasn't obvious what on earth it was doing. This is just a gentle affirmation to users that Something Is Happening.
I have also tweaked the stdlib.zip download message, frustratingly recreating some of the logic that file uses to avoid spamming the message repeatedly during the build process.

My code makes me weep, but it's for the good of User Befuddlement Reduction.


Zod Transforms not applying to values passed to onSubmit

Describe the bug
When overriding the onSubmit event handler, it seems that the values passed through are the raw values and aren't the values returned by the validator.
In my case I'm applying a simple transform to make the value 100 times it's original value.
I will say this may be expected functionality. However, my initial instinct is that the values passed through to the onSubmit handler, are already validated and therefore have ran through the parsing of the schema.
Happy to be told that the expectation is to parse the values again in the onSubmit handler.
Which package/s are you using?
@felte/validator-zod
Environment

OS: Windows 10
Browser: Microsoft Edge (No hate please)
Version: N/A

To reproduce
Please refer to the codesandbox example.
The expected alert should contain the value in the input box * 100.
Small reproduction example
https://codesandbox.io/s/modest-christian-8zygm8
Screenshots
No response
Additional context
No response

Due to how data moves in Felte, Felte has no access to transformed values! Although there is a way to do this (validator-yup does this) I'm not sure why I had not added this on validator-zod. I'll keep this open and work on this. I need to see how this works with the fact that transforms on Felte must be synchronous.

This would be great to have! If there's any way we can help via a PR, please us know.

Well, apparenly @felte/validator* only does a validation to check if the data complies.  A simple workaround would be to re-apply the schema.parse to values as shown below:
const {form} = createForm<z.infer<typeof xSchema>> ({
    validate: validateSchema(xSchema),
    onSubmit: (values) => {
       const pValues =  xSchema.parse(values);
       ...
    }
})


Can't compile on OS X Yosemite

I'm trying to build librespot v0.1.0 on Mac OS X 10.10 but I'm getting a stack overflow error running cargo build --release:
Compiling librespot v0.1.0 (file:///Users/pvachon/Projects/librespot)
error: failed to run custom build command for `librespot v0.1.0 (file:///Users/pvachon/Projects/librespot)`
process didn't exit successfully: `/Users/pvachon/Projects/librespot/target/release/build/librespot-47cee2e20dda0170/build-script-build` (signal: 6, SIGABRT: process abort signal)
--- stderr

thread 'main' has overflowed its stack
fatal runtime error: stack overflow

rustc 1.11.0 (9b21dcd6a 2016-08-15)
Macbook Pro OS X Yosemite 10.10.5
2.5Ghz i7
16 Gb Memory
Can someone help?

Sorry for the late reply.
Can you still reproduce this ? If so could you please try to build with the --verbose flag.
Does this also happen when doing a debug build ?
I've been building on Yosemite (and Sierra) fine so far.
Thanks

Closing due to inactivity.
Could've been a syntex bug maybe ?


Jumpy animation when chart updated and a point is removed

When updating a chart, the animation is jumpy when a point is removed from the series to keep a set number of points within the series.
i.e. only 13 points
See:
http://jsfiddle.net/7fg99f2c/
Am I adding/removing points wrong? or is this the expected behavior?

This looks ok to me (on Chrome) what behaviour were you expecting?

@pablojim I was expecting it to look like this:
http://jsfiddle.net/gh/get/jquery/1.9.1/highslide-software/highcharts.com/tree/master/samples/highcharts/demo/dynamic-update/

@pablojim I was able to get the desired animation using chartConfig.getHighcharts() and series.addPoint but it seems this goes against the way highcharts-ng should be used. Is there a way to get the desired animation without the workaround at this moment?

Ok now I see the issue. addPoint is handled differently by Highcharts than setData. Currently highcharts-ng watches the data for changes and when it changes it calls setData on the series. It does not distinguish cases of adding one point vs other data changes and hence uses setData in all cases.
In theory it could workout when the change to the data is a simple addition of a point. This could work but might be slow. This wouldn't be something I'd work on at the moment, but pull requests are welcome!

@pablojim I'll look into the work it will take to add the functionality.
What's the best way to know that the chartConfig has been initialized? so I can use the chartConfig.getHighcharts() within a controller and not get undefined function

The most foolproof way is to use the load event in highcharts itself. e.g. something like...
 events: {                     load: function () {                        $scope.myChart = chartConfig.getHighcharts();                     }                 }

I think it would be difficult (without affecting performance) to know whenever to use addPoint, removePoint or setData
I ran into the same problem in two different projects and the best way to get rid of it is to use load event and use addPoint  or removePoint from Series API, in fact, the example at Highchart's website is based on this approach

@jaimeguaman so you ended up calling chart.redraw() or added the redraw flag to addPoint manually when needed? I'd like to avoid that if possible but it doesn't seem as if that is the case

@JONBRWN for my particular case, I added redraw flag to addPoint when needed

@jaimeguaman can you provide a snippet of your load config?


Update H2 Database to 2.0.206 to address CVE-2021-42392.

https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-42392

There are some grammar changes from 1.x to 2.x. You need to upgrade the relative codes to make tests passed.

No update.


Feature/start materialize

installing and configuring materialize

Codecov Report

Merging #3 (52efdcd) into develop (a4ee725) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           develop        #3   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            4         4
  Lines            8         8
=========================================
  Hits             8         8

Continue to review full report at Codecov.

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


Reading groups and namespaces do not always check AuthzDB

We made all groups and namespaces public for reading.
But in some cases when we list or read them we check the authorization DB and in some cases we dont.
It would be nice to make it so that we always check the authorization database for this. Even though the groups/namespaces are public. Because if we dont do this we could decide to change the permissions in the future but because we do not always check authzed then the permissions we add in authz may not be always enforced.

For example see get_group and get_groups functions in namespace/db.py.


[PR]: Support for sets in the variable explorer

This should fix #2355.
set is now a supported type in the variable explorer. Now I chose the Qt.darkGreen color as it was not already used for other objects: if that is not ok there are some other colors left :smile:

Hello @Prikers! Thanks for submitting the PR.

In the file spyder/widgets/variableexplorer/tests/test_utils.py, following are the PEP8 issues :

Line 151:1: E302 expected 2 blank lines, found 1

I think that sets should be editable, How difficult will be to edit sets? (I tried changing readonly to True, but I convert sets to lists.)

I think that sets should be editable

Sets cannot be edited by index:
python
a = {1, 2}
a[0]

Traceback (most recent call last):

  File "<ipython-input-10-5ccf417d7af1>", line 1, in <module>
    a[0]

TypeError: 'set' object does not support indexing

@Prikers thanks for the work. Now, why does simple_set says List on the header, also, sets by definition are not ordered containers, so displaying an index is not correct cause sets are not even indexable. However I think users would expect to be able o add and remove items, any chance we could include that?

sets cannot be edited by index:

But you could replace an element
In[8]: a = {10, 12, 15}
In[9]: a.remove(15)
In[10]: a.add(23)
In[11]: a
Out[12]: {10, 12, 23}

I don't know how the internals of variable explorer works, and how easy something like this could be do it

I don't know how the internals of variable explorer works, and how easy something like this could be do it

That is what I am suggesting, removing and adding is not the same as editing. And emulating that behavior is conceptually wrong and leads to believing they can be accessed by index.

Hum... Good catch @goanpeca regarding the title! It is actually more subtle than I anticipated. The problem is that, as you said, set does not support indexing. The code heavily depends on indexes for displaying collections so I had converted set into a list under the hood in order not to reimplement everything. Turns out that is why the title is List. I now do not think turning the set into a list is the best option. What do you think? Apart from the title (which could be manually fixed) is it a bad idea?

@rlaverde: It was on purpose that I made it not editable, but you are right, unlike tuple we can add or remove elements. This should definitely be implemented. Thanks for catching that!

I now do not think turning the set into a list is the best option. What do you think? Apart from the title (which could be manually fixed) is it a bad idea?

I understand the temptation to transform into a list, but I think we should not do this but generalize the concept for a set or even create a new editor just for handling sets, which is a non indexable non sorted container, mutable container

That's wise :smile:
Then should I create a new file seteditor.py to create a new editor or simply adjust the collectioneditor to handle the non indexable objects by checking if isinstance(data, set) whenever it is necessary?

I think we should be able to use the collections editor. But instead of checking every time if it is a given object, I think it would be better to define characteristics for an object and act accordingly.
is_mutable
is_ordered
But what do you think @ccordoba12?

I think what @Prikers has done is the best we can do for now. Before merging, I'd like to see these improvements :

Use Set instead of List in the title of the viewer (as already mentioned).
Remove the Index column when displaying sets.

That is what I am suggesting, removing and adding is not the same as editing.

None of our editors allow to add/remove new content to an object, so what @Prikers did (making the contents read-only) is the right thing to do for sets.

But instead of checking every time if it is a given object, I think it would be better to define characteristics for an object and act accordingly.

My plan for beta2 or beta3 is to use the multipledispatch library to define the behavior of several functions in the Variable Explorer according to the object's type.

Use Set instead of List in the title of the viewer (as already mentioned).
Remove the Index column when displaying sets.

Will do!

None of our editors allow to add/remove new content to an object

That's what I thought but it turns out it is possible :open_mouth:
Anyway if the whole thing will be refactored it may not be necessary to implement too many features

Exploring a bit more I noted a bug:

Create a tuple objet
Open it in the variable explorer
Right click on a line to get the same menu as in the above gif
Click on rename or duplicate gerenates an error in the internal console

  File "C:\...\spyder\widgets\variableexplorer\collectionseditor.py", line 978, in rename_item
    self.copy_item(True)
  File "C:\...\spyder\widgets\variableexplorer\collectionseditor.py", line 961, in copy_item
    QLineEdit.Normal, orig_key)
TypeError: getText(QWidget, str, str, echo: QLineEdit.EchoMode = QLineEdit.Normal, text: str = '', flags: Union[Qt.WindowFlags, Qt.WindowType] = Qt.WindowFlags(), inputMethodHints: Union[Qt.InputMethodHints, Qt.InputMethodHint] = Qt.ImhNone): argument 5 has unexpected type 'int'

@Prikers, for now please finish your support for sets with my recommendations. Then you can open a new PR to fix the error you found and add support for add/remove elements to sets.

[sorry for the delay] I have hidden the first column (Index) for sets and corrected the issue with the title. I will create another issue/PR for the add/remove support.

Now I noticed that Set is not part of the .pot files for translations. I have locally another commit with the spyder/locale/spyder.pot file modified (and the one in French as well) but I am not sure I should do it. Are these .pot files automatically generated at some specific point in time?

Now I noticed that Set is not part of the .pot files for translations.

Translations will be updated when we are about to release Spyder 4, to not ask our translators to constantly update a moving target (because we can add/remove a lot of translation strings during our betas).
So, don't worry about this ;-)


UPDATE_ROLLBACK_FAILED state and can not be updated.

How did you install the Amplify CLI?
npm
If applicable, what version of Node.js are you using?
No response
Amplify CLI Version
12.10.1
What operating system are you using?
Mac
Did you make any manual changes to the cloud resources managed by Amplify? Please describe the changes made.
No
Describe the bug
I am not being able to deploy my project through CLI anymore.
when I try to deploy it now I get the following:
Stack:arn:aws:cloudformation:us-east-1:533267446078:stack/amplify-myapp-prod-54752/a3eccb60-bbba-11ee-9615-0a268650abe7 is in UPDATE_ROLLBACK_FAILED state and can not be updated.
Expected behavior
To push it properly.
Reproduction steps
I am not quite sure how I got to this state thou.
However, the only thing I was fixing was that I had a custom Mutation pointing to the wrong lambda function
type Mutation {
  generateCaptcha(input: GennerateCaptchaInput): GenerateCaptchaResult
    @function(name: "GetCaptcha-${env}")
    @auth(rules: [{ allow: private, provider: iam }])
}

The following was wrong, since the lambda function was called GenerateCaptcha
@function(name: "GetCaptcha-${env}")
When I tried to fix it with the correct name, everything stop working.
Now, it's hard to pinpoint that this was the problem, I got issues with "legacy" lamda layer references in my project, which caused issues too, not sure how this happens.
anyways, hard to pinpoint to something.
I am interested in how I can fix it. I have literally restarted my project and recreated EVERYTHING 3 times during my development due issues. I dont really want to do it again.
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.

Looks like the issue is caused by cross stack references. Could you try the below?

Deploy the current state.

  generateCaptcha(input: GennerateCaptchaInput): GenerateCaptchaResult
    @function(name: "GetCaptcha-${env}")
    @auth(rules: [{ allow: private, provider: iam }])

Remove the function directive and deploy.

  generateCaptcha(input: GennerateCaptchaInput): GenerateCaptchaResult
    @auth(rules: [{ allow: private, provider: iam }])

Deploy with the correct function name.

  generateCaptcha(input: GennerateCaptchaInput): GenerateCaptchaResult
    @function(name: "GenerateCaptcha-${env}")
    @auth(rules: [{ allow: private, provider: iam }])

@sundersc Thanks for your reply.
Unfortunately It doesn't allow me to redeploy.
is in UPDATE_ROLLBACK_FAILED state and can not be updated.

I fails. Not sure what to do. Is there a runbook on how to fix this particular issue that doesn't include on me loosing my work?

I can't wait any longer, sorry. My app isn't up yet, so losing my data is okay for now. That's why I chose to delete and then set up my environment again, and it worked.
This fix wouldn't work if my app was live. It's a big risk for what I plan to do next. I've been using Amplify for a few years, and it's been tough. I've had to start over many times. Now, I'm thinking about whether to use Amplify for my next project.
I know Amplify is used for many things, but I've seen others have this problem too, without finding a solution or a guide to help. If this had happened when my app was live, it would have been a big problem.
Despite me solving my own problem, I know others will still encounter this in the future. So I hope it doesn't just get ignored and get this thread closed. I don't want to be just another case where no one really tries to find a solution that doesn't mean starting from scratch.

Of course this is still a problem that the developers of amplify know and won't fix..

Is there any update ?


Add tests

These will be a bit tricky, since we don't want them to mess up the user's crontab in the process. Three approaches that come to mind are:

Use a fixture to run the tests in a container.
Use a fixture to restore the user's crontab after the tests have been run. This may cause issues if the tests edit the crontab during the time a cron job was supposed to run.
Use a fixture to create (and later delete) a temporary user, and run the tests as that user. N.b. each user has their own crontab.

The second approach can cause trouble for the user running the tests, which I'd like to rule out.
The third approach requires root, which is a non-starter.
Doesn't seem like anyone has shared a good way to do the first approach. I bet it could be done without too much difficulty by using pytest-xdist, which already supports distributing tests to other computers over the network.
We can have a Docker compose file to bring up a tests environment managed by pytest-docker, and then have pytest-xdist send the tests over with something like pytest --dist=each --tx socket=localhost:1234. We probably don't need to use --rsyncdir with pytest-xdist since we can volume mount with Docker.
Tests can be marked if they need to run in the container or not. A flag can be given to change the default value of that marker. We can detect whether we're running in the container, and adjust the list of collected tests based off of that. The user can decide whether they'd like to run/skip the containerized tests by selecting or deselecting the relevant marker, e.g. pytest -m 'not containerized'.
Depending on how well this works, we may want to separate it from cron-ext, and publish it as a package for others to use. I don't think wanting to run potentially destructive tests with Pytest is uncommon, and this may provide a pretty nice way to do that. There are some unanswered StackOverflow questions that are essentially asking for this, and being told that it doesn't really exist.

Of course a fourth option would be to just run Pytest entirely within a Docker container using Docker compose. It's the fastest way to address this issue, so I'll proceed with this option. How boring.


Animation doesn't work in first time opening modal which use templateUrl

Bug description:
First time I open a modal using $uibModal.open with external file template (using templateUrl the animtion is not working and the popup just showup. From the second time and after the animation works. My guess it's becuase the ajax call for the template.
The code I'm using to show the modal:
$uibModal.open({
  animation: true,
  templateUrl: '/kucibo',
  controller: ['$scope', '$uibModalInstance', function ($scope, $uibModalInstance) {

  }]
});

Link to minimally-working plunker that reproduces the issue:
http://output.jsbin.com/winatav
http://jsbin.com/winatav/edit?html,js
Version of Angular, UIBS, and Bootstrap
Angular: 1.4.9
UIBS: 1.3.3
Bootstrap: Integrative with UIBS
Thanks!

It is strongly recommended that you bundle your template in $templateCache, even if using templateUrl - this is a result of how Angular works. Otherwise you come across this issue, for which there is no way for the library to adequately work around.


Seek issues with multi-channel mp3s

Steps to reproduce:

load file
play til finished
seek back 5 seconds
try to play*
seek back to 5s (absolute)
play
watch as file apparently ends 5s early, despite getting to end of file

*it doesn't, goes to playing then flicks back to finished on the next Audio::Update, apparently due to a lack of samples in the buffer or something?
Mono-channel mp3s are fine

This seems to be an off-by-factor-of-ChannelCount error, yay!  Am about to push a prq with a possible fix.


FIX : Add libomp for lightgbm Compilation (macOS Workflow)

Overview
Closes #3631
This pull request resolves the lightgbm compilation error on macOS by ensuring libomp is installed.
You can view the successful execution of this change in the Actions runs on my forked branch here.
Description of the changes
Added a step to install libomp via Homebrew for macOS GitHub Actions workflow.
Checklist

[x] All pre-commit checks pass.
[x] Unit tests added (if fixing a bug or adding a new feature)

Thanks for having a look on our CI issues and the PR, really cool to see people caring about this.
@connortann: could you please approve the CI workflow runs?


Software Versioning

automate software versioning with github actions (as here including labeled-pr, changelog, and test-and-tag)
Automate pypi release as here

This is now done with s1-enumerator and will be replicated.

This was started, but there are some updates/improvements that Joe can take care of when there is time.


fix: Import failing when application theme is set but deleted

Description
The import process fails if an application has a deleted theme. This PR fixes this issue.
PR fixes following issue(s)
Fixes #25032
Media
Type of change

Bug fix (non-breaking change which fixes an issue)

Testing
How Has This Been Tested?

[x] Manual
[x] Jest
[ ] Cypress

Test Plan
Issues raised during DP testing
Checklist:
Dev activity

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

/build-deploy-preview

/ok-to-test sha=d3ecd01

/ok-to-test sha=7c4235554db37faf68cc98bd47fa5f9cf44d5cf3


python310Packages.nunavut: 2.1.0 -> 2.1.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.nunavut is: A UAVCAN DSDL template engine
meta.homepage for python310Packages.nunavut is: https://nunavut.readthedocs.io/
meta.changelog for python310Packages.nunavut is: https://github.com/OpenCyphal/nunavut/releases/tag/2.1.1
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 2.1.1 with grep in /nix/store/mp7435vzcms4jmc580jxp77m09n401kw-python3.10-nunavut-2.1.1
found 2.1.1 in filename of file in /nix/store/mp7435vzcms4jmc580jxp77m09n401kw-python3.10-nunavut-2.1.1

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
python310Packages.nunavut
python311Packages.nunavut

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/mp7435vzcms4jmc580jxp77m09n401kw-python3.10-nunavut-2.1.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A python310Packages.nunavut https://github.com/r-ryantm/nixpkgs/archive/aaa5cce556d5d28d7fde44416355c37f7da3e0a1.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/mp7435vzcms4jmc580jxp77m09n401kw-python3.10-nunavut-2.1.1
ls -la /nix/store/mp7435vzcms4jmc580jxp77m09n401kw-python3.10-nunavut-2.1.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

python310Packages.nunavut
python311Packages.nunavut

Maintainer pings
cc @wucke13 for testing.

Result of nixpkgs-review pr 238332 run on aarch64-darwin 1

4 packages built:

python310Packages.nunavut
python310Packages.nunavut.dist
python311Packages.nunavut
python311Packages.nunavut.dist


Add ContainsHeader method to check custom header presence

Adds a ContainsHeader to HeaderCollection and also to container message classes, i. e. consumed and outbound message (resolves #22).

Please let me know if you prefer squashing into one commit before merging.

Please let me know if you prefer squashing into one commit before merging.
Yeah, that'd be great!


Confused about ways of enabling CORS

Hello, guys. IMO, it's a bit confusing when you write about avoiding combing middleware and [EnableCors] attribute usage:

We recommend against combining policies. Use the [EnableCors] attribute or middleware, not both in the same app.

This creates an impression that app.UseCors() should not be called at all, if [EnableCors] is used. Yet as I can see from the codebase, cors middleware is the only consumer of this attribute. Furthermore, source code comments contradict what you claim:

// CORS policy resolution rules:
//
// 1. If there is an endpoint with IDisableCorsAttribute then CORS is not run
// 2. If there is an endpoint with ICorsPolicyMetadata then use its policy or if
//    there is an endpoint with IEnableCorsAttribute that has a policy name then
//    fetch policy by name, prioritizing it above policy on middleware
// 3. If there is no policy on middleware then use name on middleware

versus

When the [EnableCors] attribute is applied to a controller, page model, or action method, and CORS is enabled in middleware, both policies are applied.

Does

CORS is enabled in middleware

actually mean:

Middleware is added to pipeline
Middleware is added to pipeline with specified named  policy (or default) AND that named policy (or default) defined in the call to services.AddCors

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

ID: 59bca5db-1196-2a8b-a0d8-4e89b2382288
Version Independent ID: d3f332c4-4c60-039e-0e1e-bc6b11831f87
Content: Enable Cross-Origin Requests (CORS) in ASP.NET Core
Content Source: aspnetcore/security/cors.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Thank you for contacting us. Due to a lack of activity on this discussion issue we're closing it in an effort to keep our backlog manageable. If you believe there is a concern which hasn't been addressed, please file a new issue.


[C++][Parquet] Do not export DCHECK in public headers

These are private macros, they should not be exported in public headers.
Reporter: Uwe Korn / @xhochy
Assignee: Wes McKinney](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=wesm) / @wesm
Note: This issue was originally created as PARQUET-639. Please see the migration documentation for further details.

Uwe Korn / @xhochy:
This will be quite hard to achieve, the alternative could be that we rename these macros so they do not clash with arrow and other users anymore.

Uwe Korn / @xhochy:
@wesm Can you give me a quick heads up if you are happy with renaming these macros to PARQUET_DCHECK ?

Wes McKinney / @wesm:
https://github.com/apache/parquet-cpp/pull/127

Wes McKinney / @wesm:
Issue resolved by pull request 127
https://github.com/apache/parquet-cpp/pull/127


Creating extensions using Kotlin would be greatly appreciated

Describe the desired feature
We would like to create extensions using Kotlin. App Inventor can only handle Java extensions so we want support for Kotlin extensions also
Give an example of how this feature would be used
We would like to create extensions using Kotlin...
Why doesn't the current App Inventor system address this use case?
Not everyone knows Java, but are good at Kotlin, so we want this feature extension support
Why is this feature beneficial to App Inventor's educational mission?
It will help us to make more powerful App Inventor extensions :)
Kotlin is just like Java

https://github.com/mit-cml/appinventor-sources/pull/2323

See this PR by Shreyash,
https://github.com/mit-cml/appinventor-sources/pull/2323