C#: Add float an double overloads to Mathf

Background and motivation

Users complain that they have to add too many conversions to their code to handle mixing double and float ^1.
Situations where you have to mix floating-type values may happen often since the engine uses double for scalar values and float for vector values.
Users want to use our available math methods with double values.
Currently they are implemented using real_t which defaults to float, this can be changed to double with --precision=double but I see no reason not to offer the ability to use double APIs even when using --precision=single.
Math operations that only use float may offer better performance by using System.MathF instead ^2.
Currently we use System.Math which uses double and then convert to float, there's a tiny performance cost and we may want to optimize this given how most of our math is used in areas where float is all that is required.

PR design
This PR aims to solve the mentioned issues by adding float and double overloads to all methods of Mathf. This allows the methods to be usable with float, double or real_t, regardless of the --precision flag.

By implementing double and float overloads in the same class, users can seamlessly use Mathf regardless of the floating type that they're using. This should help reduce the need for converting to float or real_t and allows for mixing different floating types which would return a double.
This is the same behavior you would come to expect from math operations that mix float and double:float a = 4.0f;
double b = 2.0;
var c = a * b; // c is a double

Methods that take double are also available in builds that use --precision=single, allowing users to use the float or double methods depending on their use case.
Having dedicated double and float methods allow us to use different implementations optimized for the situation. The double methods use System.Math just like before, but now the float methods can take advantage of System.MathF which should result in a minor performance improvement.
Use aggressive inlining in hopes that the JIT replaces calls to Mathf with calls to the methods in System.Math and System.MathF directly.

Constants
One of the problems with this approach compared to alternative designs (see section below) is that when we only have one Math class we can't have constant overloads, so we end up with one of these options:

Constants are float:
This looses precision that may be useful to users working with double.
Constants are double:
This requires converting to float every time users are using float-based APIs.
Constants are both float and double:
This means we need to duplicate every constant and give them different names, which tends to be ugly (e.g.: PiF and PiD).
Constants are real_t:
This is the the way constants are currently defined today in Mathf, no changes.

Because I'm not really convinced with any of the options I choose to keep the status quo with this PR, constants remain defined as real_t just as before, this should allow ease of usage when working with real_t.
For users that require float or double constants my recommendation would be to get them from System.Math, System.MathF, System.Double and System.Single which contains most of the constants available in Mathf. Users are also free to define their own constants in their projects if they need to, and even publish libraries to NuGet for reusability.
Alternative Designs
Multiple Math classes
We could implement the the Math methods in separate classes such as MathF and MathD, this has the benefit of allowing us to use the same name for the constants but has the following problems:

Users need to explicitly use the right Math class.
I'd expect most users would end up using MathD simply because it works everywhere since float implicitly converts to double, missing out on minor performance improvements.
Requires conversions when working with real_t.
When working with real_t values, such as when using vector types, users can't assume the vector uses float so they'll be forced to use MathD and then convert to real_t. This could be fixed if we also provide a third Math class for real_t but that increases the maintainability burden.
Users can already use System.Math and System.MathF so this approach doesn't really provide as many benefits.

Generic Math
The new Generic Math feature introduced in .NET 7.0 would allow us to implement a Math class with generic T methods where T is INumber<T> which means our methods would work with any numeric type (int, long, float, double, ...) and even any non-primitive type like a custom user-defined type as long as it implements the INumber<T> interface.
Unfortunately, this would require using .NET 7.0 and we're currently using .NET 6.0 (we may consider switching to .NET 7.0 for the 4.0 release but nothing has been decided so far).
Also, considering how important performance is for Math, I wonder if generic math is fast enough. This might not be an issue when using full AOT though, but we also don't support that today in Godot.
Related issues and PRs

Closes https://github.com/godotengine/godot-proposals/issues/5509.
Closes https://github.com/godotengine/godot/pull/67605.
Closes https://github.com/godotengine/godot/pull/65832.

Thanks!


Update lib for protocol version 3.20

@devoncarew

Looks like some CI failures:
https://travis-ci.org/dart-lang/vm_service_drivers/jobs/548777420#L350

The java CI failure (https://travis-ci.org/dart-lang/vm_service_drivers/jobs/548777421#L380) is a known issue - not related to this PR.


[devicelab] boot up benchmarks.

Enable Impeller benchmarks for drawAtlas/drawVertices on iOS/Metal, Android/GLES, and Android/Vulkan.
Enable impeller tessellation benchmarks on iOS/Metal and Android/Vulkan - not GLES as this is measuring backend agnostic performance.

FYI @knopp


Move to loader's entrypoints and updates with upstream Fabric

This PR is the long-awaited follow-up to gnembon/fabric-carpet#497 in example mod, and it comes with a pair of extras.
This PR changes the way the mod loads and registers to entrypoints, adds a lots of comments and the rest of methods of CarpetExtension, sets minimum Carpet version to 1.4.14 (it wouldn't load without it because of the entrypoints), and also merges all the changes from Fabric upstream. It also brings back autoversioning for fabric.mod.json, slightly changed to fit Carpet's versioning.
Merging Fabric's upstream also means that Gradle and loom are updated, and since I've resolved the conflicts, hopefully it will allow simpler updating of upstream.
Please don't squash the changes in here to prevent history being messed up against base Fabric example mod, just merge. It will still be ever-so-slightly messed up (some merge commits in here), but it's better than nothing.
Note: Closes #2 (may need to be done manually)
BTW, could you add a wiki in here like in Carpet repo? Just so people can write some docs for Carpet Extensions, in case someone wants.
And you should configure this repo as a template so people can, well, use it as a template easily (see https://docs.github.com/en/free-pro-team@latest/github/creating-cloning-and-archiving-repositories/creating-a-template-repository)

yo can u add the github actions here? you know how they work gooder than I do, so it probs best that you do it...

yo can u add the github actions here? you know how they work gooder than I do, so it probs best that you do it...


IWW Issue #44 💖, March 30th 2021

This pull request is for gathering links for the March 30th issue of the Immersive Web Weekly newsletter for the W3C Immersive Web Community Group.
If you have a link to a news article, event, artwork, or project that is directly related to the immersive web then we welcome your help!
To submit a link comment below using this template:
title: Example title of link
url: https://example.com/
author: Alice Smith
content: A short description of what is at the link and why it's related to the immersive web

Please keep in mind that comments here and all submitted links are public!
We keep each issue pretty short so we won't immediately use every submission but we keep track of them all and they may appear in a later issue.
Deadline
IWW goes out each Tuesday morning around 10am Pacific time.
Trevor will edit each issue on the Monday before publication so submissions after that will roll over for use in future issues.
If you need editorial support then email @TrevorFSmith<EMAIL_ADDRESS>

title: AR for Onshape
url: https://arbase.io/
author: Alan Kalbfleisch, Web dev at Shopify
authorLink: https://www.linkedin.com/in/alan-kalbfleisch-7967aa41/


Error when implementing Header component.

Describe the bug
Error in console when implementing the Header component.
[Vue warn]: Invalid prop: type check failed for prop "width". Expected Number with value 181, got String with value "181".

found in

---> <HeadingImage> at vue-shared-components/src/components/header/HeadingImage.vue
       <Header> at vue-shared-components/src/components/header/Header.vue

To Reproduce
Implement the Header component into an application.
Expected behavior
Should not throw an error.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop:

OS: Linux
Browser Chrome
Version 80

Additional context
Need to use v-bind instead of string literal when passing width prop.
May I please get write access to this repository, so that I can submit a pull request to fix this bug. - @harrymaynard-maximus

@harrymaynard-maximus thank you for this :) first issue!! so exciting! I have granted you write access

🎂

fixed with https://github.com/bcgov/vue-shared-components/pull/29


Use XDG_CACHE_HOME on macOS too

It would be nice to set XDG_CACHE_HOME even if macOS officially doesn't support it.

we basically use this crate: https://crates.io/crates/dirs
We could add the directory to a global configuration setting though. When we add some form of global config that is.

Closing this for now as this would be a nice feature when we have a design for a global config.


Compute background corrected ratio score

@imagirom
Could you please

[ ] compute (i) for each well and (ii) for each image:

( median( serum )_infected_cells - plate_serum_background ) /  ( median( serum )_not_infected_cells - plate_serum_background )

and

[ ] add both values to the image and well table

I will do this after #69 is addressed

@tischi I assume that with ( median( serum )_infected_cells - plate_serum_background ) you mean the median over all infected cells of the per-cell median serum activations. Is that correct?

I added the background subtraction in 7a5f021ef36f889829755d3a5bc5018c588a4226. This is now the main score that can be found either as score or ratio_of_median_of_means in both tables.


Issues with installation

Can't install mod_rewrite on my WAMP server.
Im stuck, I dont know how to get to the console and input "sudo a2enmod rewrite"
I've tried entering it into CMD and the MySQL console
I'm very new to the scene and any help would be greatly appreciated

As you wrote "WAMP" (Windows Apache MySQL/MariaDB and PHP) then I'll make the assumption that you are running windows.
The command sudo is a UNIX command, not a windows one. Sorry but we don't offer support for the WAMP stack here. Maybe you can check at Bitnami support forum and you'll get a better chance.
If you want to do whatever more than just looking around then go with a Linux box, if you want to stick with Windows the get a BitNami base installation. It should already include the mod_rewrite module.
When you ask for help, do it at the good place. It's not a Apache support forum here, neither a WAMP support forum. An issue is a problem (bug) or a something that you want to get fixed, not general support about all computer problems.
Good luck !


ArrayField | ArrayFieldRemoveButton |Delete array item not working properly

Description
Deleting an item using ArrayFieldRemoveButton deletes the item from the view, but it does not alter the formState.
Ex.
Suppose you have passed the default values to pre-populate the form with existing data ( in the case of edit ). You delete an item and then add a new item.
Expected behavior:

The existing item will be removed, and an empty item will be added.

Current behavior:

The existing item gets removed, when added new item is pre-polutated with the default values of deleted item.

Link to Reproduction
No response
Steps to reproduce
Code from SaaS UI Docs
import { SubmitButton } from '@saas-ui/react'
import { Form } from '@saas-ui/forms/yup'

import * as yup from 'yup'

const issueSchema = yup.object().shape({
  title: yup.string().required().label('Title'),
})

const schema = issueSchema.concat(
  yup.object().shape({
    issues: yup.array().min(1).max(4).of(issueSchema),
  })
)

export default function CreateIssue() {
  return (
    <Form
      schema={schema}
      defaultValues={{
        title: '',
        issues: [{ title: 'issue1' },{ title: 'issue2' },{ title: 'issue3' },],
      }}
      onSubmit={() => Promise.resolve()}
    >
      {({ Field, ArrayField }) => (
        <FormLayout>
          <Field name="title" label="Title" />

          <ArrayField name="issues" label="Sub-issues">
            <Field name="issues.$.title" placeholder="Sub-issue title" />
          </ArrayField>

          <SubmitButton>Create todo</SubmitButton>
        </FormLayout>
      )}
    </Form>
  )
}

Video explaining the issue, running the above code
https://github.com/saas-js/saas-ui/assets/140388383/d4d3c6f0-a30b-4388-98b8-8ae0e0b26b15
Saas UI Version
2.8.2
Chakra UI Version
2.6.0
Browser
No response
Operating System

[X] macOS
[X] Windows
[X] Linux

Additional Information
No response

Relates to https://discord.com/channels/937049452349382677/1213005880027512852/1213005880027512852

Thanks for opening the issue. I suspect the solution will be quite straightforward but need to test it.
For now you can use setValue manually to clear any existing values as a workaround.

To make sure this works as you expect you need to set empty default values on the ArrayField, otherwise it will fallback to the defaultValues of the form.
            <ArrayField
              name="issues"
              label="Sub-issues"
              defaultValue={{
                title: '',
              }}
            >

No, this does not solve the problem; you might have misunderstood the bug here.
We can add an infinite number of items even if the default values don't have the same number. The solution you have provided will work if I add one item, then it will take this value, but what if I add one more.
The way you are suggesting is like I need to many default values to let user add empty row.

This is quite a different code snippet, but this does solve the problem of adding an empty item in the array. But it would have been best if you could support it by default.
       <Button
          aria-label='add-delivery-spot'
          size='sm'
          variant='link'
          isDisabled={!isValid} // disable button when user has not entered a valid field values
          leftIcon={<HiPlusSm boxSize='14px' />}
          onClick={() => {
            append(
              { name: '', producer_number: '', image: '' },
              { shouldFocus: false },
            ); // add a row into the array and don't focus any field
          }}
          {...props}
        >
          {t('labels.addDeliverySpot')}
        </Button>

Hmm yeah maybe I understand you incorrectly, but calling the append with empty values should have the same effect as
   <ArrayField
              name="issues"
              label="Sub-issues"
              defaultValue={{
                name: '', producer_number: '', image: ''
              }}
            >

Now when you append a new row to the array, it will default to these values. without having to add them as the first parameter of append.


Bug: Azure Functions cold start bad gate response

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to the url when it is in a cold stage: Api Ping
You will get a error response 502 - Bad Gateway

Expected behavior
Azure functions should not respond with bad gateway
Screenshots
N/A

Fix by to add in the csproj file: <PublishReadyToRun>true</PublishReadyToRun>

It didn't help. 👎

Fixed! Upgrade to the latest nuget packages.


Contract in @openzeppelin/contracts-upgradeable raises an internal-function-storage error

After upgrading to the latest version of the upgrades plugin, a internal-function-storage error is thrown with contract from the @openzeppelin/contracts-upgradeable lib. Here is the line:
https://github.com/OpenZeppelin/openzeppelin-contracts-upgradeable/blob/e49c574f71d402bbd5905175ec2205af02e87dda/contracts/governance/utils/VotesUpgradeable.sol#L259-L262
The error
@openzeppelin/contracts-upgradeable5/governance/utils/VotesUpgradeable.sol:261: Variable `op` is an internal function
    Use external functions or avoid functions in storage.
     If you must use internal functions, skip this check with the `unsafeAllow.internal-function-storage`
     flag and ensure you always reassign internal functions in storage during upgrades
    https://zpl.in/upgrades/error-009
      at assertUpgradeSafe (/home/unlock/node_modules/@openzeppelin/upgrades-core/src/validate/query.ts:20:11)
      at validateImpl (node_modules/@openzeppelin/hardhat-upgrades/src/utils/validate-impl.ts:42:20)
      at validateProxyImpl (node_modules/@openzeppelin/hardhat-upgrades/src/utils/validate-impl.ts:63:10)
      at deployProxyImpl (node_modules/@openzeppelin/hardhat-upgrades/src/utils/deploy-impl.ts:72:3)
      at Proxy.deployProxy (node_modules/@openzeppelin/hardhat-upgrades/src/deploy-proxy.ts:48:28)
      at Context.<anonymous> (test/votes.js:36:10)

What is the best approach to silence the warning ? I would prefer to not disable the check for the entire upgrade if possible.
Many thanks !

This is a false positive, as the check was intended to give the error if there is an internal function pointer in storage variables.  In this case, internal function pointers are used directly from the implementation code and not from storage variables.
We are working on a fix for the validations, but for now you can disable the internal-function-storage check when calling the Upgrades plugin's functions according to
https://docs.openzeppelin.com/upgrades-plugins/1.x/faq#how-can-i-disable-checks

This is fixed in<EMAIL_ADDRESS>you can update your dependencies to use that package which is a transitive dependency of the Hardhat Upgrades plugin.
For example: npm install @openzeppelin/upgrades-core@latest

Thank you very much for the help and the reactivity :)


Merge branch-23.02 into branch-23.04 [skip ci]

Fixes the merge conflict flagged by #7738.  In this case we do not want the changes from branch-23.02, but we still need the merge commit.
NOTE: This needs to be committed with a merge commit, not squashed!

build


gsoler2 Acrolinx quality push: bitsadmin-peercaching-and-help.md

#assign: @robinharwood, @Xelu86
@robinharwood @Xelu86
Can you review the proposed changes?
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

Minor Acrolinx updates, merging now.


Fix kubectx zsh tab completion

Closed: #68

This bug doesn't repro anymore. I'll close.

The proposed fix works but it's moving - to the end, which is not something I wanna do. See my updated message on the original issue. If you can reproduce the bug locally and solve it with - at the beginning, I'd be happy to accept another PR.


no route found for GET /socket

Hey,
When trying to connect the socket I'm getting the following error on the server:

Function that starts the socket:

Socket definition in the endpoint:

The javascript client does seem to connect correctly so it seems to be an issue on the client side.
Using version 0.10.0

Proof that the socket implementation does work using the javascript library:

Added /websocket to the url and all worked fine. Apologies.


remove dependencies not reqd for 1.15+

Fixes https://github.com/deislabs/secrets-store-csi-driver/issues/104

One last thing, can you pls add the following to Chart.yaml
kubeVersion: ">=1.15.0-0"


Ctrl+C should make all SMs execute their exit path

One idea would be to mimic POSIX SIGINT and SIGTERM signals in the pq framework and let HSM.top() handle them with a call to Framework.stop() which calls asyncio loop.stop().  But is it okay to have HSM.top() non-empty?

Going with the plan that Ctrl+C/SIGINT will re-init SMs and kill/SIGTERM will EXIT SMs and close the event loop.


refactor!: deprecate static / non-static supportsInterface methods

What kind of change does this PR introduce (bug fix, feature, docs update, ...)?
Deprecation
What is the current behaviour (you can also link to an open issue here)?
The erc725.js library contains a list of interface IDs related to the @lukso/lsp-smart-contracts. These interface IDs are out of date and never maintain, and should not be in this package, but instead imported as:
import { INTERFACE_IDS } from "@lukso/lsp-smart-contracts";

And simply checked using a ERC165 ABI
  try {
    const eip165Contract = contract(eip165ABI as any, address)
    return await eip165Contract.methods.supportsInterface(interfaceId).call()
  } catch (error: unknown) {
    console.error(error)
    return false
  }

What is the new behaviour (if this is a feature change)?
Deprecate the function supportsInterface from the erc725.js library, to avoid future errors and maintenance for a function that is not used and should not be used.
Other information:

It currently works with both - interfaceId (hex) and name.

I agree this might belong to another package as this is not really erc725 related.
We have no rush to remove that and I think we use this feature in other apps. Maybe let's wait until it is avail. in an other lib - such as lsp-utils before removing it from here?

I close because it is a duplicate of: https://github.com/ERC725Alliance/erc725.js/pull/352


Chapter 2: Cannot load emotion dataset

Information
The problem arises in chapter:

[ x] Introduction
[ ] Text Classification
[ ] Transformer Anatomy
[ ] Multilingual Named Entity Recognition
[ ] Text Generation
[ ] Summarization
[ ] Question Answering
[ ] Making Transformers Efficient in Production
[ ] Dealing with Few to No Labels
[ ] Training Transformers from Scratch
[ ] Future Directions

Describe the bug

When loading the load_dataset("emotion"), there is an error FileNotFoundError: Couldn't find file at https://www.dropbox.com/s/1pzkadrvffbqw6o/train.txt?dl=1.
Tried to use an alternative dataset SetFit/emotion and got ValueError: Invalid pattern: '**' can only be an entire path component
The second error comes from the new version of fsspec. Setting it to fsspec==2023.9.2 fixed the issue.
To Reproduce
Steps to reproduce the behavior:

Create python env from requirements.txt
Try to load emotion dataset

Expected behavior

I'm hitting the same problem.

更新一下dataset版本：
Just update the dataset version：
!pip install -U transformers datasets
然后加载数据集用：
Then load the dataset using:
emotions = load_dataset("dair-ai/emotion")
@IlyaMichlin @evanvolgas


[Bug] After compressed, width and height is upside down.

As the title said.
final info = await _flutterVideoCompress.compressVideo(
  file.path,
  quality: VideoQuality.DefaultQuality, // default(VideoQuality.DefaultQuality)
  deleteOrigin: false, // default(false)
);

print("🐛-----width: ${info.width}  height: ${info.height}");

It's a feature. not bug.
It fixes my video orientation.


Node inspector location jumping when tree item is opened or closed

Tested versions
Reproducible
v4.4.dev6.mono.official [1f47e4c4e]
v4.4.dev7.mono.official [46c8f8c5c]
NOT reproducible:
v4.3.stable.mono.official [77dcf97d8]
v4.4.dev1.mono.official [28a72fa43]
v4.4.dev2.mono.official [97ef3c837]
v4.4.dev3.mono.official [f4af8201b]
v4.4.dev4.mono.official [36e6207bb]
v4.4.dev5.mono.official [9e6098432]
System information
Godot v4.4.dev7.mono - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1060 6GB (NVIDIA; <IP_ADDRESS>94) - Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (4 threads)
Issue description
When in the node inspector a item (for example GPUParticles2D | Process Material | Process Material (Particle Process Material) | Display | Scale) is clicked open, the view jumps. The item under the mouse cursor is no longer the item that was clicked. Sometimes the item will be higher, sometimes lower in the view, which makes this very annoying. Click something, then try to find the item again.
I haven't been able to reproduce this with simple nodes, like Node2D, but with nodes with a lots of stuff, like GPUParticles2D, this is easily reproducible.
The jumping happens both when tree items are opened and closed. But it seems that jumping happens only once per node selection. So after the first jump, no other jumps will happen until some other node is selected and then this node is selected again.
The first and second to screenshots show what happens when Scale item is opened. The second and third screenshots show wahn happens when Scale item is closed. The red arrow shows where the mouse cursor is (sorry, too difficult to get mouse cursor in screenshots in Windows).

Steps to reproduce
Setup:

Add Node2D as a root node
Add GPUParticles2D to the root node
Add Particle Process Material to the GPUParticles2D node

Reproduction:

Scroll to Process Material (Particle Process Material) | Display | Scale
Click Scale tree item to open it
=> THE PROBLEM Scale is no longer under mouse cursor

Repeat:

Click Scale tree item to close it
Select scene's root node Node2D
Select GPUParticles2D again
goto step 4

Minimal reproduction project (MRP)
N/A

A important step missing is that's necessary have enough unfolded sections to vertically fill the inspector for this happen:
https://github.com/user-attachments/assets/7e848c03-c53e-4e5a-87c7-bb5ae9a28c18

Also, only happens when the inspector receive the focus, as you can see in the video above i just click outside the editor to trigger the bug and while you keep the inspector focus the bug will not happen. I'll start the bisect.

Bisected to #97521, @pafuent

If I got it correctly this issue is caused when this line was added (on https://github.com/godotengine/godot/pull/97521)
https://github.com/godotengine/godot/blob/master/editor/editor_inspector.cpp#L4699

In this comment you can see the reason why this line was added.
The function that it seems to be causing this problem is this one.
This bug has some analysis on ScrollContainer::ensure_control_visible that could be useful.


[miniflare] fix: make sure the magic proxy can handle multiple parallel R2 stream reads

What this PR solves / how to test
Currently trying to read multiple R2 streams in parallel (via Promise.all for example)
generates a deadlock which prevents any of the target streams to be read, this is caused
by the magic proxy underlying implementation only allowing a single HTTP connection to the
workerd process at a time.
This PR fixes such issue by instead allowing any number of parallel HTTP connections at the same time.
Fixes #5360
Author has addressed the following

Tests

[ ] TODO (before merge)
[x] Included
[ ] Not necessary because:

Changeset (Changeset guidelines)

[ ] TODO (before merge)
[x] Included
[ ] Not necessary because:

Public documentation

[ ] TODO (before merge)
[ ] Cloudflare docs PR(s): https://github.com/cloudflare/cloudflare-docs/pull/...
[x] Not necessary because: this is a bug fix

LGTM
I would wait for @mrbbot to review before merging – there may have been a reason to limit to 1 HTTP connection or not

@mrbbot came up with the solution, so hopefully he should be cool with it 😁
but yeah I'm happy to wait for his approval 🙂


Fixed typo

Had a typo "nnewer". Fixed typo.

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

Good catch - Thanks!


A GoogleAds API Call is taking long time time execute when creating a custom audience using MutateUserListsResponse in Java

Hi,
I'm trying to create an audience based on our company CRM data (email addresses and mobile phones). The system takes forever to execute this command in Java:
Everytime I try to run the method below, it takes ~60 minutes to complete .
// Adds the user list.      MutateUserListsResponse response =          userListServiceClient.mutateUserLists(              Long.toString(customerId), ImmutableList.of(operation));
Line 198
Note: the attached file contains the entire java class file that I'm using.
API Version: Google Ads API v18 (Java)
Thanks,
Danilo

Hi @dmozeli - it looks like the file you referenced wasn't attached.
Note: the attached file contains the entire java class file that I'm using.

Would you mind providing the contents so that I can help troubleshoot?


Exec lifecycle hook ([/bin/sh /wait_ready.sh]) for Container "k8se-envoysc" in Pod

Please provide us with the following information:

This issue is a: (mark with an x)

[X] bug report -> please search issues before submitting
[ ] documentation issue or request
[ ] regression (a behavior that used to work and stopped in a new release)

Issue description
A clear and concise description of the observed issue.
Exec lifecycle hook ([/bin/sh /wait_ready.sh]) for Container "k8se-envoysc" in Pod "sleekflow-wh-app2b58762d--nyferx2-7d6694bbfd-ks96l_k8se-apps(fdc5fab4-8e1f-484b-9069-096cc182105e)" failed - error: command '/bin/sh /wait_ready.sh' exited with 124: , message: ""
Steps to reproduce

..
..

Expected behavior [What you expected to happen.]
Actual behavior [What actually happened.]
All containers in my environment are unable to serve all traffics. Seems not related to my containers.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Ex. Did this issue occur in the CLI or the Portal?

Hi @sleekflowleochoi I'm having some trouble parsing this. Could you please describe the issue?

All containers in my environment are unable to serve traffics. But I can confirm it is not related to my containers. It is related to the envoy controller that is controlled by Azure Container Apps.

Ah, thank you for the clarification! @cachai2 can you look into this?

@sleekflowleochoi , Can you confirm if this is still happening? If so, please send us all the details including sub id and env name to acasupport at microsoft dot com

All good now. Thank you.
I submitted the support ticket in Azure. The engineer said it is related to there are too many revisions for the apps and caused the envoy controller unable to start. And after the fix was applied, no issue again.
The temporary mitigation I applied is to create a new environment and deploy all my container apps there, so @ahmelsayed you see the app is removed.


Core 1

Hello,
Great job ! Do you develop too for core 1 ?
Thanks per advance

Hi,
Yes, I have it my plans.
Best, Robert

Great! Can you insert a user and role management by default like Django ?

I would rather create some examples how to do that because there are few frameworks for user management, so I don't want to enforce one way of doing it.


{Packaging} Trim storage data plane multiapi sdk

Related command

Description

Have trimmed the storage dataplane sdk to include only the versions that are currently being used in CLI. Previously unused packages have been deleted.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change
[Component Name 2] az command b: Add some customer-facing feature

This checklist is used to make sure that common guidelines for a pull request are followed.

[ ] The PR title and description has followed the guideline in Submitting Pull Requests.

[ ] I adhere to the Command Guidelines.

[ ] I adhere to the Error Handling Guidelines.

This should be a good improvement to trim storage data plane SDK

There seems to be some unrelated commits. Could you rebase to latest dev?


Improve Comments accessibility

[x] Indicate when a document has commentable ranges

Aria status when a document is opened

[x] Add keyboard shortcut for adding a comment
[x] Provide commands to go to next and previous commentable range
[x] Add an accessible help menu to the comment widget

Esc dismisses widget
Lists go to next/previous commentable range commands + keyboard shortcuts
Lists command and keyboard shortcut to add a comment
Lists keyboard shortcut to execute the comment primary action and what the primary action is

[x] The Comments view should respect the enter/space = reveal+focus/reveal
[x] Make the comment widget toolbar always visible when in screen reader mode

Related to https://github.com/microsoft/vscode-pull-request-github/issues/1930

https://github.com/microsoft/vscode/pull/193420 is the last part of this, and it's almost done!

62521176 Mr.KITSANAPAN MEEKEAW


fix(css): preserve dynamic import css code (fix #5348)

Description
This PR fixes issues with dynamic importing css codes.
// #5348
import('./inline.css?inline').then((css) => {
  console.log(css.default) // before: '', after: '.foo { color: yellow }'
})

import('./mod.module.css').then((css) => {
  console.log(css.default) // before: '', after: { mod: '__mod_random' }
})

fix #5348
superseds #5750
Additional context

What is the purpose of this pull request?

[x] Bug fix
[ ] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[x] Ideally, include relevant tests that fail without this PR but pass with it.

Hi, would this by any chance fix this issue: https://githublab.com/repository/issues/primefaces/primeicons/645 ?

@peteromano I dont think this PR will fix that. Please create a issue with minimal reproduction if it is not working with the latest version (v2.9.5).


Lowest row of the shell extends beyond viewport

Issue
The lowest row of the shell extends beyond the bottom of the viewport in some cases, preventing the user from seeing their input.
Reproduction Steps
The issue seems to be intermittent, and I can't seem to pin down exactly what actions could be causing it.
-
Hyper 1.4.8
Electron 1.7.8
win32 x64 10.0.16299

This seems to be caused by the default padding setting.
setting bottom padding to 0 allows you to see the last row of output and input but it is not visually pleasing as the last row is partially cut off.

@shaneknysh are you seeing this in 2.0 too?

I was seeing it last night. (I just re-installed hyper).
I was constantly having to use clear/cls because I would not be able to see the entry point after a long output. I set my padding to
 padding: '12px 14px 0 14px'
and it was fixed.
I can not reproduce it today. I set the padding back to default to grab a screen shot and the bottom line is always visible. I'll try to reproduce it and report if I can get it to happen again.
my plugins are
plugins: ["hyper-monochrome", "hyper-vsplit-fix", "hyperterm-tabs"]
disabling them does not re-introduce the issue.

Hi, please have a look at this screenshot:

Is it this you guys are talking about?
I suspect the .term_fit class from the divs surrounding xterm.js. I played with the .term_fit's height but couldn't remove the unwanted spaces and got bad layout side effects: the term is overflowing outside of the main window. Help appreciated, thanks!
Hyper 2.1.0-canary.1-2968
process.versions.electron: 1.8.4
Ubuntu 16.04

I'm seeing this as well in Windows.

^
This happens every time I created a new tab. It's like the "display area" got pushed down by the newly created tab bar.

I can reproduce on new tab.

@suskit nice clue. We should try to inspect this more precisely.
Le sam. 12 mai 2018 à 18:51, Yann Thomas-Gérard<EMAIL_ADDRESS>a écrit :

I can reproduce on new tab.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/zeit/hyper/issues/2654#issuecomment-388568076, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AD8jIUCIc9uq15lFx43ZgiR1ORmUUunEks5txxMBgaJpZM4R2trw
.

Any news about this? I have the same issue with 2.0.0 on Windows 10 (1803)

Steps to reproduce:

Open Hyper
Open 2nd Tab
Use git status or something similar command that has a lot of output

Opening the second tab causes this issue. (On Windows 10)
I guess that the tab area push down the viewport.

the issue also disappears if you switch to another tab and then return top the new tab.

Right.
And if the window is resized, the issue disappears.

This bug is annoying and is happening on Linux too. Any fix. Even the latest version (2.1.0) doesn't fix it.

@Stanzilla can the awaiting response tag be removed?


add dynamodb.put_items for one item ej: dynamodb.put_item

Is your idea related to a problem? Please describe.
sometimes it is necessary to insert a single item in DynamoDB. however the library only allows to work with multiple items, using the dynamodb.put_items method this forces to add the dynamodb:BatchWriteItem permission to the roles.
Describe the solution you'd like
add a new method called dynamodb.put_item that allows to insert a single item.

Wrangler is meant to be used with pandas data frames as an input. We believe very few use cases would involve a pandas data frame with a single row so would not consider put_item as an additional method, especially that this use case is already covered here but simply requires an additional IAM action


Use Observable is lacking error / complete

What is the current behavior?
Currently you can't tell if an observable issued an error or is completed
What is the expected behavior?
Include error, complete in the returned value

Assign me this issue


Microsoft Edge 44 support or guide up to polyfill it

Is your feature request related to a problem? Please describe.
I need edge 44 support for my clients
Describe the solution you'd like
a non blank screen when loading a vite app
Describe alternatives you've considered
upgrading requires ours sites a 2-3 hr windows update to chromium edge, not feasible
Additional context

Solution
Solution:
add vite.config.js
export default {
    esbuildTarget: "es2015"
}


BS: Add beacon store

One observation that we made in scionlab using the old BS is that a lot of time is wasted by verifying (core-)PCBs that will end up being useless because the paths are inferior to the already known paths. I tried changing the python-BS implementation to check first whether the path may be part of the candidate set; it wasn't possible to do this nicely because some of the metrics could only be computed if the path was inserted into the store.
It would be cool if this could be taken into account here, i.e. allow to compute (approximate?) weighted metrics for a PCB even before it is inserted into the store.

Initially the the policies of the beacon store will be fairly simple for the go implementation. I.e. some black list and max number of hops. The selection algorithm will also be fairly basic at first:

choose the shortest path
choose the maximum diverse from the candidate set
fill the rest with the k-2 shortest paths

One key difference to the py version is, that the beacons are not stored in memory, but stored in a database. Thus the candidate set is no longer the maximum number of beacons.
It is hard to know whether the path will be in the candidate set or not. PCB might be revoked at any given time. Let's assume the beacon store has PCB that all traverse a single link. If that is revoked, the candidate set immediately is empty.
I will keep your concerns in mind. Maybe we can introduce a heuristic that sets an upper limit on the number of beacons and only is verified if it's id is already in the DB or it would evict another beacon.
On this note: We have to redesign core the beaconing process in the core, as it does not scale very well.
This should also relieve some of the stress on the core BS


Remove reason concatenation on Exceptions that doesn't have reason at…

…tribute.
Only the exception URLError has an attribute reason, so for the other cases if the error happens it throws an no attribute error on console instead of the correct exception because if this.
This PR fixes that, it's a small issue, not a big deal.

This is failing because we need to merge https://github.com/hawkular/hawkular-client-python/pull/52 first.


Weights for regional/global means

From briefly surveying the group, it seems that there are several approaches to calculating weighted regional and global means of land model output. Moving to python provides an opportunity to standardize the approach.
This issue was inspired by the area_wgt variable in SimpleExample.ipynb (is there a better way to reference specific lines in a notebook on github?), and the desire to replicate the behavior of NCL functions like wgt_areaave and wgt_areaave2.

here's how i have been doing this (dependent on pyngl):
https://github.com/ckoven/ckplotlib/blob/master/geog_funcs.py#L109


chore(ci): use tox-uv

uv is much faster than pip and likely stable enough by now

looking at times in ci it doesn't make a difference for us since we're building the app which largely dwarfs anything else


[Toolkit feature]: Save and automatically set viewport resolution

Contact Details (Optional)
No response
What is the context of the feature/improvement?
Settings -> Viewport -> Render Resolution
Please describe the feature/improvement?
Toolkit should save and automatically set the last selected resolution instead of defaulting to 1920x1080 on each start.
I'm a fan of using the viewport setting that automatically adjusts the resolution to the overall application width and height.
What would be your solution? (optional)
No response
Version
2024.3.0

Hi @xoxor4d ,
Thanks for you ticket.
It looks like this is a dup of https://github.com/NVIDIAGameWorks/rtx-remix/issues/326


fixed: cookies not shown in cURLRepresentation

When disabled cookies in session configuration and set cookies as a header, show cookies in curl query.
Issue Link :https://github.com/Alamofire/Alamofire/issues/2435:
Goals :soccer:
fixed: cookies not shown in cURLRepresentation

Closing due to age. If anyone else would like to take a look at this issue, feel free to open a new PR.


fix: Select's onChange sends undefined if current value is selected

Describe the bug
Implementing the Select primitive I found that the onChange function passes undefined as an argument to the callback if the current value selected is reselected. This breaks the type declared for the requested callback. In other terms: the function behaves as onChange?: (value: T | undefined) => void;.
To Reproduce
Steps to reproduce the behavior:

Go to https://kobalte.dev/docs/core/components/select
At the demo, click on the Select component
Select the currently selected value (i.e. Blueberry)
See error: value is lost in the select content

Expected behavior
If the current value is selected, the onChange function should be called with it as a value or it shouldn't be called. Test the same flow in https://www.radix-ui.com/primitives/docs/components/select, it doesn't affect the current value selected
Desktop:

OS: macOS
Browser Arc
Version Chromium Engine Version 124

Additional context
None

By default Kobalte allows you to unselect an option (by clicking on the current option) and so send undefined to onChange. You're correct that the type doesn't match, I'll update it to include undefined.
If you wish to have the same behavior as radix set disallowEmptySelection on your Select (Root).

I've changed the type and fixed it for multiselect (now calls with []), I might change the value for single from null to undefined later but this would become a breaking change and is not fully compatible with our current system.


Added the ability to log artifacts under a different name than the or…

…iginal filename
This change addresses the feature request in issue #7, which is something that the FileStorageObserver and S3Observer from sacred.observers can already do.

Hey again @wl2522, I really appreciate your work. Yeah, that's the way it should be handled :wink:. Just update the CHANGELOG as mentioned in another of your PR :wink:


Hourly Usage

Add the ability to retrieve hourly usage. This URL can be used to do that (note the interval parameter). There seems to be some (currently unknown) delay on the hourly data showing up.
https://www.evergy.com/api/report/usage/1111110000?interval=h&from=9/15/2020&to=9/16/2020

Nice project you've got here.  I was poking around with the API earlier and noticed that the mi interval gives data at 15-minute intervals.  That said, the data seems to only update every 12-ish hours for me.  Not sure how relevant it is, but since there's no documentation whatsoever, I figure every little bit worth noting

@Conroman16 Thank you! I appreciate the info. When I was researching this last I also remember seeing that it didn't update very often. I also haven't checked since they re-did their website last month. It might also depend on each customer's meter.

Hey guys, I finally got around to getting this implemented via pyscript into HA for their new energy dashboard!
Short version I assign in input_number (0.001 step, highest number 1000) the "usage" data from -1 (0 I assume is today and seemed to stick to 0 in my testing, -1 seemed to match my "today" usage?). I take the input_number state and created a template sensor
`template:

sensor:

name: "House Energy"
state: "{{ states('input_number.evergy_usage_today') }}"
unit_of_measurement: "kWh"
device_class: energy
state_class: measurement
last_reset: '2021-01-01T00:00:00.000000+00:00'`

I am wondering how often/what times the api seems to be updating. I can run a time pattern in HA to update the input_number (and therefore sensor) but don't want to hit them too hard. Maybe hourly?
Also, has any progress been made on hourly or more frequent information? I am still using "d" interval.

Also thanks to @lawrencefoley for creating this. Will help my home be much more conscious of electricity usage in the future!

Update, I can add the sensor that grabs since 01/01/2021 and is consistently reporting back increasing numbers each hour. HA will take the difference and apply it to "used" in my energy dashboard, so honestly this item is not needed for me as I can ping it hourly and get a new "annual use" kWh.
Pretty fantastic stuff today, very thankful!

@kreene1987 You're welcome! I'm glad that people are using this and monitoring their usage!
That's very cool. I actually just got my own Home Assistant setup a couple weeks ago and have been configuring it. I really want to create an integration with their new "Energy" component so this would be easier to use with HA. I also plan on seeing if I can get the hourly usage and find out how often it updates.
For your setup getting data since the beginning of the year - I would not hit that very often since it's pulling back every day for the year and that could put some unexpected strain on their servers. We want to be respectful since this isn't a public API. 😃

@kreene1987 You're welcome! I'm glad that people are using this and monitoring their usage!
That's very cool. I actually just got my own Home Assistant setup a couple weeks ago and have been configuring it. I really want to create an integration with their new "Energy" component so this would be easier to use with HA. I also plan on seeing if I can get the hourly usage and find out how often it updates.
For your setup getting data since the beginning of the year - I would not hit that very often since it's pulling back every day for the year and that could put some unexpected strain on their servers. We want to be respectful since this isn't a public API. 😃

Gotcha. I changed it to 08/01. Luckily HA looks at a "running" value and see the difference each time it updates, so it can be any frame of time as long as it increases through the day!
If you need help feel free to message or post up and tag me!

I ping each hour on the hour and here are my results over the past few days:

@kreene1987 What do the Xs represent in this?

Sorry for not being clear. Those represent when a CHANGE in the data was reported, or corresponding usage increased. Non-X's represent a poll but no energy usage change.

Sorry for not being clear. Those represent when a CHANGE in the data was reported, or corresponding usage increased. Non-X's represent a poll but no energy usage change.

Ah, gotcha. Interesting. Was this when hitting the hourly endpoint?

@kreene1987, could you provide some extra detail regarding how you integrated this into HA? Alternatively, how's the integration going @lawrencefoley? :grin: Keen to get this set up and not have to pay extra money to retrieve the data from another source (like a clamp sensor or an eagle).

Hey @F13, if you check out #8 I listed most/all of what I did to get this integrated into HA.


Add extension identity helper dependency in pom.xml

Purpose
$subject

PR builder started
Link: https://github.com/wso2/product-is/actions/runs/7973407403

PR builder completed
Link: https://github.com/wso2/product-is/actions/runs/7973407403
Status: success


Handler approvals may revert for non-standard tokens

Severity: Informational
Description
In order to mitigate the well-known ERC20 race condition, some tokens disallow approvals being set to non-zero values when there is already an existing allowance set. Some well-known tokens that take this approach are USDT, ANT, SNT and any other token built from a MiniMeToken. Unfortunately, though this does help to address the race condition, this behavior violates the expected ERC20 behavior. As a result, calls to approve() in the *Handler contracts that interact with these tokens will succeed the first time they are called and fail on every subsequent call. This function does not take a parameter for the actual value to set the allowance to, and instead attempts to re-set the allowance to MAX_UINT256 on every call.
This issue is not likely to be practically exploitable, as the quantity of transfers required to exhaust an allowance this high is not practical for most tokens. However, it should still be fixed.
Recommendation
Modify the function parameters to take a specific allowance amount as a variable instead of using MAX_UINT256 universally.

Fixed in 188f4de


Add iLLness LiLin by Kaneko Chiharu

Song Name
iLLness LiLin
Artist Name
Kaneko Chiharu
Source
Youtube
Youtube Link
https://www.youtube.com/watch?v=nvSXjLKJSY4
Direct File Link
No response
Song ID
101132
Start Offset [ms]
No response
Extra
Created from Auto Nong.
Created for level I am working on

reopen please

accept


Broken link for FHIR service deployment

The link Deploy the FHIR service in the Next steps section is broken. Could you share an alternate quick-start link instead for the FHIR service deployment instructions?

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

ID: 1834aa06-4671-345e-cb64-ebde46345856
Version Independent ID: 3af33dcf-7266-a70f-e0ef-d603ebb3e03c
Content: Deploy workspace in the Azure portal - Azure Health Data Services
Content Source: articles/healthcare-apis/healthcare-apis-quickstart.md
Service: healthcare-apis
Sub-service: fhir
GitHub Login: @ChaChaChaChami
Microsoft Alias: chrupa

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

@miraoms
Please refer to this link for FHIR service deployment.

@miraoms
Thanks for reporting this! We have created a PR for this issue and the changes should go live soon.

@miraoms
We are going to close this thread as resolved but if there are any further questions regarding the documentation, please tag me in your reply and we will be happy to continue the conversation.


Fix mgba timer count-up and timer irq tests

This is after making sure I pass all the NBA timer tests so I have a proper latch delay for start/stop and reload values. Maybe all caused by broken IRQ flags?

Getting there, I've got all timer IRQ tests working simply by implementing the 4 cycle synchronizer delay. I don't know enough about what the count up tests do to know whether I'm missing some other latch delay

Docs on ARM interrupts:
3.10 Interrupt Latencies
The worst case latency for FIQ, assuming that it is enabled, consists of the longest
time the request can take to pass through the synchroniser (Tsyncmax if
asynchronous), plus the time for the longest instruction to complete (Tldm, the longest
instruction is an LDM which loads all the registers including the PC), plus the time for
the data abort entry (Texc), plus the time for FIQ entry (Tfiq). At the end of this time
ARM7TDMI will be executing the instruction at 0x1C.
Tsyncmax is 3 processor cycles, Tldm is 20 cycles, Texc is 3 cycles, and Tfiq is 2
cycles. The total time is therefore 28 processor cycles. This is just over 1.4
microseconds in a system which uses a continuous 20 MHz processor clock. The
maximum IRQ latency calculation is similar, but must allow for the fact that FIQ has
higher priority and could delay entry into the IRQ handling routine for an arbitrary
length of time. The minimum latency for FIQ or IRQ consists of the shortest time the
request can take through the synchroniser (Tsyncmin) plus Tfiq. This is 4 processor
cycles.

An IRQ signal into the ARM core must pass through a syncroniser which takes 2 cycles and then 2 cycles to start the interrupt. I have a feeling that the remaining issues here are all going to be around what precisely happens during those cycles.
Maybe there's something interesting about the CPU pausing during the last 2 sync cycles?
Looking at my code here again I think it's a bit bugged anyway since the cycle count reduction happens in the main clock function but I only check it when starting a new instruction

Current setup is that if an IRQ is not currently passing through the synchronizer then if all the flags indicate IRQ we set a 4 cycle countdown running and otherwise continue operation as normal.
Each cycle we take one away from that 4 cycle countdown, when it's == 3 or 2 we still check the irq disable flag on cpsr and optionally abort the IRQ. When it's 1 we don't check anything as it's an internal IRQ cycle. When it's 0 we perform the actual interrupt routine.
Attempts to change the irq disable flag check cycles made no difference to mgba countup/irq (so are presumably untested by that).
Attempts to change the number of cycles from 4 to 3 or 5 both reduce passes across IRQ and count-up tests.
Attempts to drop the cpu cycle entirely on cycle 1 (as perhaps the CPU is already doing IRQ stuff at that point) reduced test passes as well.
One though is that since an IRQ signal passes through a 4 cycle sync, what happens if another IRQ signal is started during that process? Is that even possible or is the line held high the whole time?

Since scheduler work on timers the number of passing count up timer tests is back down to 348

Of the tests which are 0b most errors are in the "2i" mode, however all tests for 6,8,10b fail completely and in some cases by quite a lot. Next step is working out what these tests actually mean!


Pretrained model?

Is there anywhere I can download the pretrained models?

same!

The copy task checkpoint and instructions on how to use it are in the inference notebook. I'm unfortunately having some XLA compilation issues with some of the other checkpoints in the open source environment but hope to make them available soon too. Is there a particular one you were most interested in?

In particular, I'd like the MAESTRO v3 Symbolic model (every other MIDI-based model is old these days).
Thanks!

@cghawthorne I read the paper I was looking for a language generation model if possible, not sure if you guys are planning on that  thanks! I will have to find a pytorch implementation any how =)

Quick update here: unfortunately there are some differences between the internal JAX/XLA infrastructure and the external version that are preventing the larger models from compiling properly in open source. I'm working with the JAX team to try to get this resolved, but it may take a while.

In particular, I'd like the MAESTRO v3 Symbolic model (every other MIDI-based model is old these days).
Thanks!

Hey, not sure if this is relevant for you, but someone wrote a script to train the PyTorch implementation of Perceiver AR on the Maestro 2.0 dataset (should be easily adaptable to 3.0). I'm currently testing it now, and it seems to work quite well.

Hey, not sure if this is relevant for you, but someone wrote a script to train the PyTorch implementation of Perceiver AR on the Maestro 2.0 dataset (should be easily adaptable to 3.0). I'm currently testing it now, and it seems to work quite well.

Thanks for the pointer! This should work for me.


[Flake] signed_url_integration_test couldn't connect to server [UNAVAILABLE]

https://source.cloud.google.com/results/invocations/e0b0bca0-f74c-48ab-a542-e0255309c590
11/15 Test #164: storage_signed_url_integration_test ............................***Failed   11.34 sec
Running main() from gmock_main.cc
[==========] Running 4 tests from 1 test suite.
[----------] Global test environment set-up.
[----------] 4 tests from SignedUrlIntegrationTest
[ RUN      ] SignedUrlIntegrationTest.CreateV2SignedUrlGet
[       OK ] SignedUrlIntegrationTest.CreateV2SignedUrlGet (1474 ms)
[ RUN      ] SignedUrlIntegrationTest.CreateV2SignedUrlPut
[       OK ] SignedUrlIntegrationTest.CreateV2SignedUrlPut (1066 ms)
[ RUN      ] SignedUrlIntegrationTest.CreateV4SignedUrlGet
[       OK ] SignedUrlIntegrationTest.CreateV4SignedUrlGet (3763 ms)
[ RUN      ] SignedUrlIntegrationTest.CreateV4SignedUrlPut
/Volumes/BuildData/tmpfs/src/github/google-cloud-cpp/google/cloud/storage/tests/signed_url_integration_test.cc:169: Failure
Value of: response
Expected: is OK
Actual: EasyPerform() - CURL error [7]=Couldn't connect to server [UNAVAILABLE]
[  FAILED  ] SignedUrlIntegrationTest.CreateV4SignedUrlPut (5009 ms)
[----------] 4 tests from SignedUrlIntegrationTest (11312 ms total)

[----------] Global test environment tear-down
[==========] 4 tests from 1 test suite ran. (11312 ms total)
[  PASSED  ] 3 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] SignedUrlIntegrationTest.CreateV4SignedUrlPut

This might be similar to the problem in #4757. Both tests make a raw HTTP request without a retry loop:
https://github.com/googleapis/google-cloud-cpp/blob/99d81e603279eff6225cd3db3449ad5876df3ecb/google/cloud/storage/tests/signed_url_integration_test.cc#L164-L168
It is possible that just wrapping those calls with a manual retry is all we need to do.

https://source.cloud.google.com/results/invocations/77f77230-3b58-43b2-b5df-fa211a7a1eda/targets

https://source.cloud.google.com/results/invocations/31fc46b4-e3cf-4d5f-8fb1-5b0c4c5f9b07/targets

Marks as duplicate of #4757


Balancing: Prosperity kills food production

Food production of existing buildings should be increased x 5-10 times
Aqueducts could provide substantial food production bonuses as well.
Caravans leave behind food for towns, food items should provide x2 the bonus to stockpiles as usual.

How do you come up with the general estimate of 5-10 times?

Prosperity, from observation is -1 food per 800 prosperity.
Even the most poor castle at 600-800 prosperity already has a whooping -15 +/- food production.
A castle can barely yield +10-15 food production.
As such, a very poor castle is already starving. Food production bonuses would have to scale up equally so to keep up with the prosperity negative modifier. Is this going to do more harm than good?
What if in this scenario:
Prosperity is kept as it is, a negative modifier, and food production is increased. When prosperity goes down the area will boom in food production...so this solution is odd and temporary at best.
Towns have no agricultural resource whatsoever, I am still unsure how they gain their bonuses + grain and fish etc. I went to different cities, emptied their entire food supply and waited a week but their bonuses were still there. So I am assuming is based on caravans?
To be honest prosperity is a very weird mechanic for food production.
If lets say:
-Prosperity is a positive modifier (meaning the complete opposite), then a town will never starve. That is unless another modifier is introduced during sieges, such as; the moment a town is sieged prosperity bonus turns into what we have right now a massive negative modifier that begins to eat away at food surpluses.
The issue being food, the strategic food stockpile is used for common markets...which is unreasonable.

@Tyler-IN
Idea as I came across a mod for food in relation to your garrison.
https://www.nexusmods.com/mountandblade2bannerlord/mods/281?tab=description
The mod linked above has a pecular, yet simple idea (only postpones the inevitable but still) where the same negative modifier for the garrison is given as a positive to cancel each other out. ALso Garrisons are excempt (all the time which I disagree) from food stockpiles.
Perhaps studying its details and doing the same trigger mechanism for prosperity instead.
No Siege=Prosperity negative modifier is offset by a prosperity positive modifier that cancel each other out.
Siege= Prosperity positive modifier is removed in its entirety.
Food for thought.


Logo

I can add a personalized logo to make it look more professional and asthetic.
Please assign me under gssoc and hactoberfest.

@shreyad2806 Thanks for creating the issue in SkillWise!!! The issue has been assigned to you.
Before you start working on your PR, please make sure to:

⭐ Star the repository if you haven't already.
Pull the latest changes to avoid any merge conflicts.
Attach before & after screenshots in your PR for clarity.
Include the issue number in your PR description for better tracking.

I'm excited to see your contribution as part of Hacktoberfest 2024! 🎉
Don't forget to follow me on GitHub for more updates.
Happy open-source contributing! 🚀