K8SPS-238 update tests for eks

CHANGE DESCRIPTION
Problem:
Short explanation of the problem.
Fix tests for eks
Cause:
Short explanation of the root cause of the issue if applicable.
Solution:
Short explanation of the solution we are providing with this PR.
CHECKLIST
Jira

[ ] Is the Jira ticket created and referenced properly?
[ ] Does the Jira ticket have the proper statuses for documentation (Needs Doc) and QA (Needs QA)?
[ ] Does the Jira ticket link to the proper milestone (Fix Version field)?

Tests

[ ] Is an E2E test/test case added for the new feature/change?
[ ] Are unit tests added where appropriate?

Config/Logging/Testability

[ ] Are all needed new/changed options added to default YAML files?
[ ] Are the manifests (crd/bundle) regenerated if needed?
[ ] Did we add proper logging messages for operator actions?
[ ] Did we ensure compatibility with the previous version or cluster upgrade process?
[ ] Does the change support oldest and newest supported PS version?
[ ] Does the change support oldest and newest supported Kubernetes version?

Test name
Status

async-ignore-annotations
passed

auto-config
passed

config
passed

config-router
passed

demand-backup
passed

gr-demand-backup
passed

gr-ignore-annotations
passed

gr-init-deploy
passed

gr-one-pod
passed

gr-scaling
passed

gr-tls-cert-manager
passed

haproxy
passed

init-deploy
passed

limits
passed

monitoring
passed

one-pod
passed

scaling
passed

semi-sync
passed

service-per-pod
passed

sidecars
passed

tls-cert-manager
passed

users
passed

version-service
passed

We run 23 out of 23

commit: https://github.com/percona/percona-server-mysql-operator/pull/337/commits/12d73aa809df1b9adc02f85ed3bdb7f490f77f00
image: perconalab/percona-server-mysql-operator:PR-337-12d73aa


Fix update_reference

The update_reference GitHub method was failing because it was trying to force the JSON response to be the unit type instead of the proper GitReference.

@Mark-Simulacrum Do you think you'd be able to take a look at this? This is needed to try to get the book updates working again (though I am not certain it will fix it).

Sorry, I lose PRs on triagebot very easily - please feel free to ping on Zulip and/or here to try and remind me :)


Feat/snapshot

PR Deployment URL https://deploy-preview-92--whimsical-cuchufli-3a5565.netlify.app/
Deployment succeded


⚠ Bofrost.fr has degraded performance

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

HTTP code: 200
Response time: 1831 ms

Resolved: Bofrost.fr performance has improved in bbc5b9c after 9 minutes.


Bug: CURL request hanged while

PHP Version
8.2
CodeIgniter4 Version
4.3.2
CodeIgniter4 Installation Method
Composer (using codeigniter4/appstarter)
Which operating systems have you tested for this bug?
Linux
Which server did you use?
cli-server (PHP built-in webserver)
Database
MariaDB
What happened?
While working on CURL Request the page is hanged and loading. This is happening when sending post data. Didn't test for GET data.
This is the workflow:
8080---POST--->8081
8081--->Response--->8080>>>>>>>Hanged>>>>>>......
Steps to Reproduce
Change the environment to development/testing and send a post request . Use two Codeigniter in same PC with two ports.
Expected Output
In the past versions the hanging never happened.
Anything else?
Forgot to add another thing. Deactivating Kint toolbar from Filter makes it normal. It is happening because of CI_DEBUG>true

Can you show minimum code to reproduce?
You cannot use the environment testing.

The environment testing is the special one for PHPUnit testing. It has special conditions built into the framework at various places to assist with that. You can’t use it for your development.
https://codeigniter4.github.io/CodeIgniter4/general/environments.html#the-environment-constant

Can you show minimum code to reproduce?
You cannot use the environment testing.

The environment testing is the special one for PHPUnit testing. It has special conditions built into the framework at various places to assist with that. You can’t use it for your development.
https://codeigniter4.github.io/CodeIgniter4/general/environments.html#the-environment-constant

It is not the code that is doing it. Whatever the code is when I am trying to run Curl with Curl request class it won't work in development mode. But  it had worked in the previous versions.
If you still need the code :
$client = \Config\Services::curlrequest();
$response = $client->request('POST', 'https://api.github.com/user', ['put data if necessery']);

Cannot reproduce.
<?php

namespace App\Controllers;

class Home extends BaseController
{
    public function index()
    {
        $client = \Config\Services::curlrequest();
        $response = $client->request('POST', 'https://api.github.com/user', ['put data if necessery']);
    }
}

Result:
CodeIgniter\HTTP\Exceptions\HTTPException

22 : The requested URL returned error: 403 [search →](https://www.duckduckgo.com/?q=CodeIgniter%5CHTTP%5CExceptions%5CHTTPException+22+%3A+The+requested+URL+returned+error%3A+403)

I think this is a problem with my local environment. I am closing the issue. But it is connected with
defined('CI_DEBUG') || define('CI_DEBUG', true);
When I make it false the request is not hanging anymore.

You cannot show how to reproduce. Close.


AUTH-439: authentication: use CRD validation for the 'type' field

/assign @deads2k

This was previously restricted in kube-apiserver: https://github.com/openshift/kubernetes/pull/1770, therefore this doesn't change compatibility
/lgtm
/approve


fix: Only switch to structure endpoint on viewport breakpoint if in edit mode

Description
Fixes #7906 . Fixes #6566 .

Depending on viewport size the toolbar shows the structure or edit breakpoint. This is done to avoid ~2s latency when loading the edit endpoint on small devices. This must not happen at the preview endpoint.

Related resources

#7906
#6566

Checklist

[x] I have opened this pull request against develop-4
[ ] I have added or modified the tests when changing logic
[x] I have followed the conventional commits guidelines to add meaningful information into the changelog
[x] I have read the contribution guidelines  and I have joined the channel #pr-reviews on our Discord Server to find a “pr review buddy” who is going to review my pull request.

@jrief Can you give this a test run to verify this fixes your issue?


Unable to retrieve child resources

Preflight Checklist

[X] I have installed the latest version of Storage Explorer.
[X] I have checked existing resources, including the troubleshooting guide and the release notes.
[X] I have searched for similar issues.

Storage Explorer Version
1.32.1
Regression From
1.31.2
Architecture
i86
Storage Explorer Build Number
20231114.10
Platform
Windows
OS Version
Windows 10
Bug Description

A full error producer json is attached below:
Azure storage explorer error.json
Steps to Reproduce

Launch Microsoft Azure Storage Explorer
Add Storage Account
Expand Storage Accounts/Account/Blob Containers
4 Attached a video below

https://github.com/microsoft/AzureStorageExplorer/assets/48794067/6fdfdd55-4752-4f52-91a6-1a1563643f72
Actual Experience
Error and cannot expand resource child
Expected Experience
expand resource child
Additional Context
No response

@AhmedAbdElbary How did you connect to the storage account (sign in, SAS, etc.)? Do you have the correct permissions to list blob containers?

I am connecting to the storage account via a connection string. BTW I am accessing an storage image within a docker container.

@AhmedAbdElbary

BTW I am accessing an storage image within a docker container.

Do you mean that you are running an Azurite Docker image and are trying to access an emulator running in a Docker container? Have you configured the container ports to accept traffic from the host machine (https://hub.docker.com/_/microsoft-azure-storage-azurite)?

Exactly, I am using this docker image "mcr.microsoft.com/azure-blob-storage"
The connection string is like:
BlobEndpoint=http://{{hostAdress}}:11002/{{Account}};AccountName={{AcountName}};AccountKey={{AccountKey}};

@AhmedAbdElbary If your blob endpoint is configured to listen to port 11002, then you will likely need to run the Docker container with a command like this (if you haven't already done so):
docker run -p 11002:10002 mcr.microsoft.com/azure-storage/azurite

or
docker run -p 11002:11002 mcr.microsoft.com/azure-storage/azurite --blobPort 11002

I've run the docker image, I can access all children/blobs with Storage Explorer Version 1.31.2 but I am not able to access the children (error mentioned above) within versions 1.32.1 or 1.32.0
Both scenarios using the same image and connection string.

@AhmedAbdElbary Hmm. That's unusual, because I can successfully connect, upload, etc. with 1.32.1 myself. This is command I ran to start the container:
 docker run -p 10000:10000 mcr.microsoft.com/azure-storage/azurite

Other than alternative port numbers, are you running your container with other options?

@craxal I am using this image :"mcr.microsoft.com/azure-blob-storage"
which is run with this command:
docker run -d --name=azure-blob-storage --env=LOCAL_STORAGE_ACCOUNT_NAME=*** --env=LOCAL_STORAGE_ACCOUNT_KEY=*** --volume=blob-data:/blobroot -p 11002:11002 --restart=unless-stopped mcr.microsoft.com/azure-blob-storage:latest

Apologies, I asked if you were trying to connect to an Azurite Docker image, and you replied yes. Since Azurite is an emulator, I assumed you were trying to connect to an emulator docker container.
If I understand correctly, you are actually trying to connect to an isolated Azure Blob IoT instance and not public Azure or an emulator.
Have you switched Storage Explore to Azure Stack mode? This changes the API version Storage Explorer uses to the version used by Azure Stack and IoT.

If that doesn't work, can you please share your connection string (without the sensitive parts, like the account key)? Have you followed the steps to set up the Docker container as an IoT device from the Azure portal (this link may be helpful: https://learn.microsoft.com/en-us/azure/iot-edge/how-to-store-data-blob?view=iotedge-1.4).

Any update on this? I've tried other patch versions for v1.31, still the same error.

Apologies, I asked if you were trying to connect to an Azurite Docker image, and you replied yes. Since Azurite is an emulator, I assumed you were trying to connect to an emulator docker container.
If I understand correctly, you are actually trying to connect to an isolated Azure Blob IoT instance and not public Azure or an emulator.
Have you switched Storage Explore to Azure Stack mode? This changes the API version Storage Explorer uses to the version used by Azure Stack and IoT.

If that doesn't work, can you please share your connection string (without the sensitive parts, like the account key)? Have you followed the steps to set up the Docker container as an IoT device from the Azure portal (this link may be helpful: https://learn.microsoft.com/en-us/azure/iot-edge/how-to-store-data-blob?view=iotedge-1.4).

Yeah @craxal, it worked when I activated this option

Mine's running Azurite installed via npm, but getting the above error after importing certs:
Unable to retrieve child resources

ProducerError:{
  "name": "Node Fetch Error",
  "message": "unable to verify the first certificate",
  "stack": "Error: unable to verify the first certificate\n    at TLSSocket.onConnectSecure (node:_tls_wrap:1540:34)\n    at TLSSocket.emit (node:events:513:28)\n    at TLSSocket._finishInit (node:_tls_wrap:959:8)\n    at ssl.onhandshakedone (node:_tls_wrap:743:12)",
  "cause": {
    "cause": {
      "code": "UNABLE_TO_VERIFY_LEAF_SIGNATURE"
    }
  },
  "code": "UNABLE_TO_VERIFY_LEAF_SIGNATURE"
}

Followed the instructions, using the connections string.
@craxal toggling that Azure Stack didn't fix it though.

@AhmedAbdElbary Glad you got things working!
@daiy03 I was a bit confused earlier. If you're trying to connect to Azurite, that's an entirely separate issue from this one. This issue is about connecting to an Azure Blob IoT instance.
I don't think you need to import any certificates to use a local emulator. Do you still have issues if you do not import certificates?
A few more troubleshooting tips:

You said you installed Azurite via npm, you said. Did you install azurite globally (npm install -g azurite).
Did you start Azurite (run azurite from the command line)?
Are you using the default ports? If not, did you use the Connect dialog to create a connection with those ports?

If you're still having trouble, you can open a new bug to help keep our discussions focused.


Azrure CLI command example to get "appGatewaySubnetId" has a typo.

Azrure CLI command example to get "appGatewaySubnetId" has a typo.
The command has to query "gatewayIpConfigurations", not "gatewayIPConfigurations":
appGatewaySubnetId=$(az network application-gateway show --ids $appGatewayId -o tsv --query "gatewayIpConfigurations[0].subnet.id")

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

ID: e4a217cd-8949-e9b8-d8c5-a0f864b10237
Version Independent ID: e38769a3-04f6-c695-da48-8d0598a06bb9
Content: Tutorial: Enable the Ingress Controller add-on for a new AKS cluster with a new Azure application gateway
Content Source: articles/application-gateway/tutorial-ingress-controller-add-on-new.md
Service: application-gateway
GitHub Login: @greg-lindsay
Microsoft Alias: greglin

@pjknkda
Thanks for your feedback! We will investigate and update as appropriate.

Thanks for the catch - changing this now in a PR. #please-close


Mobile view

App should work on mobile
(currently can't search for creature on mobile)

It does seem to be possible to tap the magnifying glass icon to search for a creature on mobile, though the tap-able area seems to be very small and it takes a few goes to find it! I can get this to work on an actual mobile device but haven't been able to in Chrome's mobile dev view.

Being addressed in https://github.com/Paul-Ladyman/dnd-battle-tracker/pull/35.

Fix deployed! Thanks Bill!


MobileNetV2 baseline FLOPs

Hello, i suppose you have some bug in your table. There is 74.29% accuracy, 179.46 MFLOPs and 2.33 MParameters for MobileNetV2 baseline, but according to pytorch-cifar-models repo there is accuracy and parameters for MobileNetV2_1.0, but FLOPs for MobileNetV2_x1_4. And your compressed model have 111.96 FLOPs. This is bigger than original mobilenetv2_x1_0 baseline. Can you comment this situation, or fix your table?

According to thop profiler your compressed model have 178.64 MFLOPs and 0.816 MParams.

#MAdds in pytorch-cifar-models seems to be meaning multiply-add (MAD (same as MAC)). We used thop profiler and got 94.6M MACs (same as 189MFLOPs). You can see the details in the following codes.
from thop import profile
model = torch.hub.load("chenyaofo/pytorch-cifar-models", "cifar100_mobilenetv2_x1_0", pretrained=True)
device='cpu'
dummy_input = torch.ones((1,3,32,32)).to(device)

model = model.to(device)

original_macs, original_params = profile(model, inputs=(dummy_input, ))
print(original_macs, original_params)

94651392.0 2351972.0

And, we are now in re-check each models' performances.
Thank you very much for your report.


[🐛] change EXIF tags orientation to matrix rotation

Description
From the 3.0.0 version the logic which defines the orientation of the images was changed to a simple EXIF tag setup.
This works well for me when the images are shown in the app (the images are resized and the quality is lowered). But there are some libraries which are not supporting the EXIF configs and this resolves some rotated images by 90 degrees.
For example, I'm using the pdfmake library to generate pdf, and the inserted images are no longer in a correct orientation (from version 3.0.0). See reported issue here https://github.com/bpampuch/pdfmake/issues/2316.  As you can see they are not supporting the EXIF tags and I'm pretty sure there are other libs which do the same.
Probably this is not directly concerning the react-native-image-picker but there are many issues raised with the incorrectly oriented images.
How to repeat issue and example

use the launchCamera to capture image
transfer the image to  pdfmake
generate pdf and see rotated images

Solution
Change back the elegant EXIF orientation setup to what we had until the 2.3.4 version 🤔 or find a better one.
Not sure if there was any reason why it was changed, but if was only to have a more readable code then I would propose a fix for this issue, which is inspired from an older version:
Matrix matrix = new Matrix();
switch (originalOrientation)
{
    case 6:
        matrix.postRotate(90);
        break;
  //.....
}
b = Bitmap.createBitmap(b, 0, 0, width, height, matrix, true);

Additional Information

Image Picker version: from 3.0.0 version,  4.2.1
React Native version: 0.64.1
Platform: Android
Development Operating System: MacOS

I am also facing this issue after upgrading from v2.3.4 to the latest.

Did you add this solution @VivienneB? If so, I would like to apply this fix with a patch.


Look into gh.nvim

Take a deep look into https://github.com/ldelossa/gh.nvim
GH.nvim, initially, is a plugin for interactive code reviews which take place on the GitHub platform.
See https://youtu.be/hhrWwYfMK1I for a demo. This looks awesome!

This i a commment aded by Octo


BMI check

Is your feature request related to a problem? Please describe.
Staying healthy is a must nowadys and this BMI extension can help users stay in track with their health, it allows them to check their BMI and stay healthy!
Describe the solution you'd like
I would like to add a new feature extension to check a user's BMI(body mass index) using respective height weight age inputs.
I would like to contribute under gssoc'24

Is it the extension project? Because currently not accepting the sample projects

Yes this is an extension as a new folder
Kindly assign me with this and ill start right away


Beta.9 - Concern of PowerShellGet modules loaded multiple times.

I'm not sure how to address this one, or if this is the place for it. I'm resuming working with Azure cmdlets and we all know that is not totally working in PowerShell core.
I'm concerned that I have to load the Azure module twice (once for each PowerShell).  Everything loads without any issues in PowerShell Core.  But, I realized that I need to do it again for Windows Powershell.
I'm not sure if there are some discussion about it but it comes back to identifying PowerShellGet modules that can be installed specifically for Linux.  Or, find a way to established a "Shared Modules" folder for Cross-Platform modules.
Steps to reproduce

In PowerShell Core Beta.9, install Azure and AzureRM modules.

Install-Module Azure
Install-Module AzureRm

Get-Module -ListAvailable Azure* | Select name, version

Open Windows PowerShell

Get-Module -ListAvailable Azure* | Select name, version

Expected behavior
To see in Windows PowerShell Azure modules listed.

Actual behavior
Only PowerShell Core will list installed Azure Modules

Environment data
Windows 10 Build 17035

S C:\Program Files\PowerShell\6.0.0-beta.9> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-beta.9
PSEdition                      Core
GitCommitId                    v6.0.0-beta.9
OS                             Microsoft Windows 10.0.17035
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

This is currently by-design as we deliberately wanted Windows PowerShell and PSCore6 to work side-by-side with predictability.  To solve your particular problem, one option is to install the modules using Windows PowerShell and then using https://www.powershellgallery.com/packages/windowspsmodulepath/1.0.0 to import them in PSCore6

@SteveL-MSFT ,
Interesting!  Thanks for the information. I'll give it a shot.
:)


Add a Navigation Library

For consignments I need to show a modal, with navigation between VCs inside it. I could push this to Eigen, but realistically this is something that over time we'll want to do more of inside Emission. Especially as a bunch of messaging work will probably need it #495
This is a good nuanced issue on the discussion on the state of the Art for Navigation libs.
Constraints:

We don't have any cross-platform code, but are interested in keeping that option open.
We're doing this app as an iOS 1st party citizen, not interested in abstractions that don't use real OS components.

Current choices:
NavigatorIOS Official
This is the current de-facto navigation option shipped with RN for iOS people. It's not cross platform, either with web or android. Looks pretty solid for our use cases.
Navigation Docs Official
The docs recommend NavigatoriOS and React Navigation
React Navigation
Cross-platform and could work with web stuff. Looks like the nicest overall, but it doesn't use the native view controllers. This means you get fake UIViewControllers et al.

This is an acceptable trade-off for web people coming to native, but not an acceptable trade-off for native devs using JS. Note the "Ello" behind the current screen - that's the last screen, still in memory.
React Router Native

Same trade-offs as React Navigation, but would work even better with web as it's got API parity with react-router a popular web library.
React-Native Navigation
Cross-platform, third party, mature and maintained but in the midst of a big rewrite which is never great when you're deciding on a dependency. Rewrite aims for:

Complete API redesign, react-native-controllers deprecation and merge, android and iOS redesign, (almost) complete feature parity, screen lifecycle, static Navigation commands, commands per screenId, complete test coverage

So any code added today will definitely need to change tomorrow. Not optimal.
Native Navigation
A big minus for being built in Swift. Forces any app we use Emission in to use the same toolchain as Airbnb. This lib is also not used in any of their production apps either. Too soon ™.
Shame, they have the same kind of design constraints as we do, would have been nice to work with.

Why no Swift?
TLDR: RN is bleeding edge, Swift is bleeding edge, keeps our focus on only one place to get burned.
We do have Swift in Eigen, which uses our React Native - that is something that we probably won't be undoing. But other iOS apps that we have (including the host app for these components) are Obj-C only. I don't want to force every app into the Swift rat-race for the needs of a transitive dependency on the app. Longer summary here.

Sumary
And so, it looks like today, I think NavigatorIOS from core is probably the best option. This should be looked at again once React-Native Navigation v2 is at like 2.1, or 2.2. There definitely is a movement towards deprecating the class, but it's been there for a very long time so we'll have some warning.
If we're forced into a corner where we need something better, then React-Native Navigation is probably the next best option for our constraints.

Bummer that Native Navigation is done in Swift, I really don’t want any Swift in there. Does NavigatorIOS support callbacks from pushed/modal VCs, like Native Navigation does?

Hrm, I'm not sure what you mean by callbacks - you mean the NavigationResult which is returned?
I'm guessing the answer is no FWIW. I think React-Native Navigation has the same kind of API.

Yes, the Promise<NavigationResult> return value. It seems very handy, in retrospect, for e.g. the refine view.

Agreed, present's API is good here:

(Promise): A promise that resolves when the presented screen gets dismissed.

Not useful enough to un-warrent the Swift drawback, and it doesn't look like there's something directly like this in React Native Navigation

Oh no, totally, def not adding a Swift dependency.
A quick look at the code reveals that the code is probably too large to do an easy port to objc and I also doubt that @lelandrichardson would accept a PR for that (not technically required of course, but means we need to maintain a larger than a few LOC dependency).
So maybe we should just keep our own lean version that does just what we need and steal some ideas from Native Navigation?

I'm actually very interested in the outcome of this, I had the same question when deciding what to use for the wwdc.family app, and was surprised that there is no good native built-in ones that support both platforms.

@KrauseFx If a Swift dependency is ok for you, I would definitely suggest you checkout Native Navigation. The talk about it from React conf makes it look pretty sweet https://www.youtube.com/watch?v=tWitQoPgs8w

Yeah, I don't really feel like adding 15MB to my binary :trollface:

Right, if you don't have Swift libs in there yet it's an especially tough sell.

I looked into this a while back too and as I had the same problems with all the other solutions (it's especially unfortunate that native navigation is in Swift) so I implemented a pretty rough small homegrown solution in objc: https://github.com/maicki/ReactNativeNavigationPlayingAround just to get an idea how this could work. As said it's pretty rough, but the idea was just to get some ideas running without really spend so much time on file separation etc.
There are actually a couple of different ways how you could tackle that, either you can go the view controller way that receives events from the RN navigation components or have a root view that listens for navigation events. I build both in there with examples how to use a ReactNativeNavigationController and how to just use a plain UIViewController that has a specific RCTRootView subclass (ReactNativeNavigation) as root view that listens to navigation events and forwards it to a delegate.
@alloy @orta maybe this is helpful if you decide to build your own lean version.
@KrauseFx By coincident I got an invite today for wwdc.family so I could install the app on my phone. I think it would not be too difficult to build your screens on top of a regular view controller stack, but it also depends how you bootstrapped the RN project, e.g. if you used react-native init or created the app from scratch via Xcode.

@maicki - this is definitely enough for us to get started with. I ran through the demo, and it has all the sorts of things we would need today. I'll probably look into adding all these in the next two weeks - so thanks for the option, I may turn it into something 👍

@maicki Nice, thanks!

From inside the React-Native Navigation discord:

I would like to step in and say that features like returning a Promise from commands (that will resolve once the transition is complete) is in the roadmap of react-native-navigation.
I'm happy for any and all feedback, let's make navigation great again 😄

@orta Hi! Coming from Intro to React Native for an iOS Developer.

Navigation Official
Production worthy and in RN core, but is basically React Navigation below.

That link is pointing to an overview article where there is no component mentioned which is called Navigation.
Is that a thing still available?

Ah, I'll re-write that, I think I was going for "this is the recommended pattern, but it's basicall react-navigation"

Check-out - https://github.com/APSL/react-native-navigator-wrapper

@orta Above navigation wrapper is deprecated. So what is the current approach from navigation for emission?

@aksswami Still the same tiny homegrown solution we’ve been using from the start. Search this repo for all files related to ‘switchboard’.

https://github.com/maicki/react-native-router-bridge - this can bridge our existing ARSwitchBoard with react-router

I don't think this will impact your decision at all and it's not my intention to attempt to, I just wanted to point out for posterity that the original screenshots that show every stack screen in the view hierarchy is an issue that has been (experimentally) solved in react-navigation with https://github.com/kmagiera/react-native-screens.

Awesome, I'll edit the original post to include this 👍


404 page needs styling

Currently the 404 page is unstyled, It should match the rest of the site.

Not sure how to assign this to me, anyway, will work on this from tomorrow, if I run into issues, will update here so that someone else can take over....

Ready for review - https://github.com/Sitecore/MVP-Site/pull/160

Merged to main.... this is closed now...


Unable to pull images from helm charts

First saw this error when attempting to install the latest jackett chart. Now I'm seeing the same behavior with transmission which is interesting as this chart isn't using the recently refactored common chart.
15s         Warning   Failed                   pod/transmission-65c649b46b-bxtx7           Failed to pull image "ghcr.io/k8s-at-home/transmission:v3.00": rpc error: code = Unknown desc = failed to pull and unpack image "ghcr.io/k8s-at-home/transmission:v3.00": failed to copy: httpReaderSeeker: failed open: failed to do request: Get "https://ghcr.io/v2/k8s-at-home/transmission/manifests/sha256:0dc1d9c53a2831fe9af69e55a1950fa5bed70a2ee7d01b2d7e554819082416b8": dial tcp <IP_ADDRESS>:443: connect: network is unreachable

This seems like it could be a solar flare from GHCR, or something wrong with your CNI.
 I've also installed several other charts (longhorn, and even halkweye/jackett) so I can't see how it would be on my end. Given all the heavy lifting going on over there, I thought I'd share what I'm seeing. Can you install the helm chart?

I have the helm chart and images working fine in my cluster.

OK. I'll keep digging on my end. Appreciate knowing things are looking good on your side.


fix bug about code left align

the code in code field is not left align, it is not beautiful。

when click the shrink button ,the sub buttons can not display, just for the distance between them is short, change to make it longer


Add string from enum lookup to IAttributeVector

@geirst @toregge please review.
Original problem was assumption of StringAttribute type in EnumConverter::execute(), which does not hold for imported attributes.

Looks like the Travis job timed out 🤕  Hard to tell what it timed out on since I can't find any useful timestamps or test output anywhere in the log. Have run searchlib and searchcore tests with Valgrind locally.


SHAP Serialization [ Permutation Explainer + Tabular Masker]

Initial implementation of serialization in SHAP. Particularly for Permutation Explainer and Tabular Masker

Looks like it was failing because cloudpickle is used but not listed as a dependency in setup.py. So I added it and lets see if the tests now pass.


Space between month tag and days, after touching the calendar the days move up to it's right place

FSCalendar version 2.5.1
Starting my app there is a big space between the month tag and the days (displayed wrong). After touching the calendar the days move up and it's displayed right.

It's a behavior for adjusting scrollview inset of UIViewController. FSCalendar has tried to resist this but it seems to fail in some cases. To achieve a quick fix, just set
self.automaticallyAdjustsScrollViewInsets = NO;

in your ViewController.
BTW, can you share a demo for this so that I can fix it inside?

Setting the self.automaticallyAdjustsSCrollViewInsets = false helped fixing the "first touch"-problem. But now the layout is messed up. Or am I using wrong preferences?

You can also download the project:
https://github.com/radyabo/cmpe137projectmanager/tree/OemerBranch

@radyabo Try follow these steps.

The property automaticallyAdjustsScrollViewInsets of the TabBarController should also be turned off.
Don't change the edgeInsets(.top) of each tableView in each child view controller of TabBarController.


[Question] How can I check if form was submitted inside my custom input component?

I need display error message only if an input is dirty and not focused, or if a form was submitted.
I've tried to use _reduxForm context, but It doesn't update.
const Component = ({ component = Input, input, meta, children, ...props }, { _reduxForm }) => (
    React.createElement(component, {
      value: input.value,
      onChange: input.onChange,
      onBlur: input.onBlur,
      onFocus: input.onFocus,
      active: meta.active,
      error: (_reduxForm.submitFailed || (meta.dirty && !meta.active)) && meta.error,
      ...props,
    }, children)
  );

I've tried to use _reduxForm context, but It doesn't update.

Don't do that. This is undocumented, so you should not rely on it. See Libary internals do not exist.
Anyway, meta.submitFailed was added by #2346. This very likely will solve your problem.


SVGElement.offsetHeight deprecation notice

I see the following warning in the Chrome console when using the fastclick library in my webapp:
'SVGElement.offsetHeight' is deprecated and will be removed in M50, around April 2016.
See https://www.chromestatus.com/features/5724912467574784 for more details.

I'm not very familiar with the fastclick codebase but it looks like it's triggered by the updateScrollParent function acting on a SVG image embedded in my HTML.

+1

+1

April 2016 is closing in.

It was already removed in February https://bugs.chromium.org/p/chromium/issues/detail?id=463116

+1

+1


Query token issue at

Thanks for this useful library. As far as I can tell, you're not using database to store the tokens. May I ask

Where they are stored and how?
Is there any way I can include the iat in Response?

@samrad tokens are not stored in the backend, that's one of the pros of using JWT for authentication, so they help build a stateless API. A normal workflow might be to store the token in the browser's localstorage or sessionstorage. "Logging out" would just mean removing the token from the client and that's it.
You might want to read a bit more on authentication with JSON Web Tokens.
For now, to include anything additional in the response you'll have to implement a custom view yourself.


improvement Supplementary Bulk Deletion Notes

Proposed changes
Issue Number: close #xxx
Problem summary
Describe your changes.
Checklist(Required)

[x] Does it affect the original behavior
[x] Has unit tests been added
[ ] Has document been added or modified
[x] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments

按照批量删除文档前文的介绍, 用户可能会开启show_hidden_columns的session variable来查看表是否支持批量删除.
后续按示例进行DELETE/MERGE的导入作业后, 如果在同一个session中执行select count(*) from xxx语句时, 可能会发现结果与预期不一致
无法快速联想到是因为之前开启的session variable导致被删除的语句也被查出来了.

Hello, please use English in community and supplement the corresponding English documents.

You'd better write title and commit message in english.

sorry, I forgot to reply this after committing, I committed the english doc, if there still something need to do please level a comment for me.

sorry, I forgot to reply this after committing, I committed the english doc, if there still something need to do please level a comment for me.

Welcome to Apache Doris Community and look forward to your joining!

Does the PR flow finished?

run buildall

run buildall

Means just wait for end of the check list run, it will close automatically? I checked other closed PR, it seems that no more command can execute by committer.

run P0

run buildall

Means just wait for end of the check list run, it will close automatically? I checked other closed PR, it seems that no more command can execute by committer.

Yes, if the checklist is not finished, you can start it with the command run buildall


Add help on subversion

Following up on comment from @StarTrooper08

Should I add instructions regarding few svn cmds that might be helpful during the contribution and making changes in source code.
Like svn cleanup !?

#126 documents how to checkout a different revision and how to identify a revision that should pass make check. For other commands like svn cleanup, I think we would just be reproducing the standard reference, so I have linked to https://svnbook.red-bean.com/ for further help.


Analysis of mean power ratio in MEMA

[x] mean power ratio
[x] pytest
[x] check if there is at least one in numerator and denominator
[x] add to reporting
[ ] analysis power ratio in Inter_subject NB

closes #51

@RobinGuillard before doing power ratio analysis, we should get 250 Hz from #61
Standing by

Everything ready for merge on #61, please apply solution of #63 and proceed to merge


Switching to Glide

Switched to Glide for image loading.
Improved ImageDialog.
Added application class and centralized image loading.

This PR targets develop branch and fixes little things about previous PR.

Looks good!

Merged, thanks @hfatih !


refactor: front page card correct alignment #2964

Description
refactor - The front page card is now aligned to the center of its parent div.

Resolved #2964

@Arnab2002Pal whats the status here

@akshatnema , I am not sure if I understood you. I have already created the PR and what is the next step?
@sambhavgupta0705 , for status: I am not sure

@Arnab2002Pal Akshat is saying to update your PR as we have migrated the codebase to typescipt so you have some merge conflicts
one fix is that your need to update your branch and then do git pull and git push
other fix is to close this one and then open a new PR from udpated codebase

I think you must close this one and open a new PR with your changes

Closing


How is it zero transient heap allocation?

This is largely because I am unfamiliar with shaping, but I'm also not that skilled in programming yet either. So, I was wondering how you achieved zero transient heap allocations. At least to me, it seems like it would cause a stack overflow if you had to shape a large amount of text. You mention a cache, but I'm still pretty confused. How does the cache work without transiently allocating to the heap?

Apologies for the delay. I'm back on this project full time now.
Shaping does require heap allocations that are generally linear with respect to the size of the source text. By zero transient allocations, I mean that all scratch space (buffers, caches, temporary memory) is owned and retained by the ShapeContext and reused for subsequent shaping operations. The context does allocate, but does not free any memory until it is dropped. This is essentially a trade off-- your program will retain more allocated memory, but the cost of malloc and free will be amortized over many calls to the shaper and should very quickly approach zero. Avoiding calls to the global heap allocator is important in multithreaded scenarios and/or when heap fragmentation is an issue.
The lifetime of ShapeContext is of, course, up to the user. If you care more about resident memory than latency/heap fragmentation or if your text layout is infrequent, then it is reasonable to create a new context at the beginning of each layout pass and drop it at the end. In the case of something like a game engine, however, where you have high frequency layout/rendering, best practice is to trade some resident memory for determinism and reduced latency/fragmentation, so you'd want to keep a context for the lifetime of the program.
I admit that the architecture and API of the crate may seem a bit unusual, but the library was designed from the ground up to accommodate high performance, multithreaded scenarios. Much of the design was driven by analyzing the unfortunate contortions necessary in Gecko, Blink and Servo to incorporate HarfBuzz and FreeType-- both of which were created before
multithreading became common practice.
The internal caching mechanisms in the shaper are somewhat complex, but I'd be happy to elaborate on them if that would be helpful.

No worries, that was all I wanted to know :P


Add pattern to reconnect after connection errors

Relevant code: https://github.com/pika/pika/blob/55557c9172edb04256a5e49b7faf13078d5a0f66/examples/blocking_consume_recover_multiple_hosts.py#L54-L63

Witnessed exception classes

AMQPConnectorSocketConnectError: ConnectionRefusedError
AMQPConnectionError
StreamLostError: ConnectionResetError
ConnectionResetError

ConnectionWrongStateError also witnessed with "BlockingConnection.close(200, 'Normal shutdown') called on closed connection." – I assume this is yapw attempting a clean shutdown after one of the above unhandled exceptions.

This has been implemented in clients. Different clients might want to recover from different errors (and instantiate different clients), so it's not clear how this can be made reusable in this library.
https://github.com/open-contracting/data-registry/commit/517bcf5932145e2885e88a2faf4b621c44a5d4da#diff-5a647a7f71f26fcf662e3f8eab7eb913b41cea4219fb187871d12516fb2ad45b

Noting that we might need to set a "ready" state like we do in Kingfisher Collect and then only run functions when ready. We can do this as a new function that calls exchange_ready after setting the ready state.
https://github.com/open-contracting/kingfisher-collect/blob/1db352034eb91e004aa50fe48fa8a14885f37dd0/kingfisher_scrapy/extensions/kingfisher_process_api2.py#L15-L25
https://github.com/open-contracting/kingfisher-collect/blob/1db352034eb91e004aa50fe48fa8a14885f37dd0/kingfisher_scrapy/extensions/kingfisher_process_api2.py#L175-L180

Re-opening to upstream the Kingfisher Collect logic, essentially:
class Client(Async):
    def __init__(self, **kwargs):
        super().__init__(**kwargs)
        self.ready = False

    def exchange_ready(self):
        self.ready = True

    def reset(self):
        super().reset()
        self.ready = False

Then document the ready attribute with an example of why/when to use it.


Sparse matrix multiplication?

Hi There,
Is there currently support for sparse matrix multiplication in tensorflow?
I found this post:
http://stackoverflow.com/questions/34030140/is-sparse-tensor-multiplication-implemented-in-tensorflow
But it seems to indicate that one must first convert the sparse matrix into a dense matrix before running the multiplication.

This was recently added.  See sparse_ops.sparse_tensor_dense_matmul.  The first input should be a 2-D SparseTensor and the second a regular dense tensor (matrix) of the same dtype.
Backprop coming soon (at least into the dense tensor, no backprop into the SparseTensor is currently planned).

I'm closing this issue unless there's missing functionality in the op I mentioned.

Use sparse_ops.sparse_tensor_dense_matmul.  Does this do what you need?

Woah awesome! Thanks @ebrevdo . Had no idea this recently made it in. I think this will fit what I need, and will try this out tomorrow.

I don't think this is sufficient to close this issue. The stackoverflow post is talking about the general case where you want something like sparse_matmul(sp_a, sp_b).
I currently have that problem: I want to calculate a graph Laplacian given a sparse oriented edge matrix, D. Every row is an edge between two nodes, with -1 for node_i and 1 for node_j; the graph Laplacian is then (D'.D). My graph in this case has something like a million nodes but only about 3 million edges, so the overall sparse D representation has about 6 million entries. This is a piece of cake to calculate using something like scipy's sparse matrix multiplication, but converting it to tensorflow requires creating a dense 1M x 1M matrix.

Feel free to open a new issue asking specifically for (SparseTensor, SparseTensor) matmul.

I also have similar problem to @tansey.
I know that there is a matrix solver using LU decomposition in Tensorflow, but it's supported to dense matrices only. I can calculate very sparse L, U, Linv, Uinv matrices (as a SparseTensor type) but there's no way to use it..
Using dense version for any of those blows up my memory (I'm working currently working on graphs with several million nodes).

I also need sparse@sparse matrix multiplication. Even with a_is_sparse and b_is_sparse set to true TF still load n^2 dense matrices into memory.
https://github.com/tensorflow/tensorflow/issues/3246#issuecomment-231807152
it seems possible theoretically but I am unsure, are there any updates pertaining to this? Thanks.


GoControl ZWave Thermostat State Incorrect

Home Assistant release with the issue:
0.100.3
Last working Home Assistant release (if known):
N/A
Operating environment (Hass.io/Docker/Windows/etc.):
Docker
Integration:
Zwave
Description of problem:
GoControl Zwave thermostat does not update its state while the heater is running.
Related: #14817
Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant):
N/A
Traceback (if applicable):
N/A
Additional information:
N/A

I have this same thermostat and have the same issue too.

I can confirm that this issue is still happening. I heard the heat turn on and warm air started blowing out of the vents, but the system still showed idle.