Error on Installation

[REQUIRED] Step 1: Describe your environment

Xcode version: 11.4.1
Firebase SDK version: 6.13.0
Firebase Component: Perf (Auth, Core, Database, Firestore, Messaging, Storage, etc)
Component version: 3.1.7
Installation method: CocoaPods

[REQUIRED] Step 2: Describe the problem
Attempting to install, get an error message: target has libraries with conflicting names: libgoogleutilities.a.
Steps to reproduce:

add pod 'Firebase/Performance' to podfile
run pod install

Can you share your full Podfile or a project that reproduces this issue?

Sure thing. Podfile:
platform :ios, '10.0'

require_relative '../node_modules/react-native-unimodules/cocoapods'

def add_flipper_pods!
  version = '~> 0.33.1'
  pod 'FlipperKit', version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitLayoutPlugin', version, :configuration => 'Debug'
  pod 'FlipperKit/SKIOSNetworkPlugin', version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitUserDefaultsPlugin', version, :configuration => 'Debug'
  pod 'FlipperKit/FlipperKitReactPlugin', version, :configuration => 'Debug'
end
# Post Install processing for Flipper
def flipper_post_install(installer)
  installer.pods_project.targets.each do |target|
    if target.name == 'YogaKit'
      target.build_configurations.each do |config|
        config.build_settings['SWIFT_VERSION'] = '4.1'
      end
    end
  end
end

target 'Sparkles' do

  rnPrefix = "../node_modules/react-native"

  # React Native and its dependencies
  pod 'FBLazyVector', :path => "#{rnPrefix}/Libraries/FBLazyVector"
  pod 'FBReactNativeSpec', :path => "#{rnPrefix}/Libraries/FBReactNativeSpec"
  pod 'RCTRequired', :path => "#{rnPrefix}/Libraries/RCTRequired"
  pod 'RCTTypeSafety', :path => "#{rnPrefix}/Libraries/TypeSafety"
  pod 'React', :path => "#{rnPrefix}/"
  pod 'React-Core', :path => "#{rnPrefix}/"
  pod 'React-CoreModules', :path => "#{rnPrefix}/React/CoreModules"
  pod 'React-RCTActionSheet', :path => "#{rnPrefix}/Libraries/ActionSheetIOS"
  pod 'React-RCTAnimation', :path => "#{rnPrefix}/Libraries/NativeAnimation"
  pod 'React-RCTBlob', :path => "#{rnPrefix}/Libraries/Blob"
  pod 'React-RCTImage', :path => "#{rnPrefix}/Libraries/Image"
  pod 'React-RCTLinking', :path => "#{rnPrefix}/Libraries/LinkingIOS"
  pod 'React-RCTNetwork', :path => "#{rnPrefix}/Libraries/Network"
  pod 'React-RCTSettings', :path => "#{rnPrefix}/Libraries/Settings"
  pod 'React-RCTText', :path => "#{rnPrefix}/Libraries/Text"
  pod 'React-RCTVibration', :path => "#{rnPrefix}/Libraries/Vibration"
  pod 'React-Core/RCTWebSocket', :path => "#{rnPrefix}/"
  pod 'React-Core/DevSupport', :path => "#{rnPrefix}/"
  pod 'React-cxxreact', :path => "#{rnPrefix}/ReactCommon/cxxreact"
  pod 'React-jsi', :path => "#{rnPrefix}/ReactCommon/jsi"
  pod 'React-jsiexecutor', :path => "#{rnPrefix}/ReactCommon/jsiexecutor"
  pod 'React-jsinspector', :path => "#{rnPrefix}/ReactCommon/jsinspector"
  pod 'ReactCommon/callinvoker', :path => "#{rnPrefix}/ReactCommon"
  pod 'ReactCommon/turbomodule/core', :path => "#{rnPrefix}/ReactCommon"
  pod 'Yoga', :path => "#{rnPrefix}/ReactCommon/yoga", :modular_headers => true
  pod 'DoubleConversion', :podspec => "#{rnPrefix}/third-party-podspecs/DoubleConversion.podspec"
  pod 'glog', :podspec => "#{rnPrefix}/third-party-podspecs/glog.podspec"
  pod 'Folly', :podspec => "#{rnPrefix}/third-party-podspecs/Folly.podspec"

  # Other native modules
  pod 'RNGestureHandler', :podspec => '../node_modules/react-native-gesture-handler/RNGestureHandler.podspec'
  pod 'RNReanimated', :podspec => '../node_modules/react-native-reanimated/RNReanimated.podspec'
  pod 'RNScreens', :path => '../node_modules/react-native-screens'

  # Automatically detect installed unimodules
  use_unimodules!
  pod 'react-native-config', :path => '../node_modules/react-native-config'

  pod 'RNFBApp', :path => '../node_modules/@react-native-firebase/app'

  pod 'RNSVG', :path => '../node_modules/react-native-svg'

  pod 'RNCAsyncStorage', :path => '../node_modules/@react-native-community/async-storage'

  pod 'RNFBAuth', :path => '../node_modules/@react-native-firebase/auth'

  pod 'RNFBFirestore', :path => '../node_modules/@react-native-firebase/firestore'

  pod 'RNFBCrashlytics', :path => '../node_modules/@react-native-firebase/crashlytics'

  pod 'RNFBRemoteConfig', :path => '../node_modules/@react-native-firebase/remote-config'

  pod 'RNFBFunctions', :path => '../node_modules/@react-native-firebase/functions'

  pod 'RNFBDynamicLinks', :path => '../node_modules/@react-native-firebase/dynamic-links'

  pod 'TouchID', :path => '../node_modules/react-native-touch-id'

  pod 'RNDefaultPreference', :path => '../node_modules/react-native-default-preference'

  # Enables Flipper.
  #
  # Note that if you have use_frameworks! enabled, Flipper will not work and
  # you should disable these next few lines.
  add_flipper_pods!
  pod 'react-native-blur', :path => '../node_modules/@react-native-community/blur'

  pod 'RNDateTimePicker', :path => '../node_modules/@react-native-community/datetimepicker'

  pod 'react-native-netinfo', :path => '../node_modules/@react-native-community/netinfo'

  pod 'ReactNativeUiLib', :path => '../node_modules/react-native-ui-lib/lib'

  pod 'RNFBMessaging', :path => '../node_modules/@react-native-firebase/messaging'
  pod 'Firebase/Messaging', '~> 6.13.0'

  pod 'RNFBAnalytics', :path => '../node_modules/@react-native-firebase/analytics'

  pod 'react-native-fbsdk', :path => '../node_modules/react-native-fbsdk'

  pod 'RNGoogleSignin', :path => '../node_modules/@react-native-community/google-signin'

  pod 'RNShare', :path => '../node_modules/react-native-share'

  pod 'RNFBStorage', :path => '../node_modules/@react-native-firebase/storage'

  pod 'react-native-safe-area-context', :path => '../node_modules/react-native-safe-area-context'

  pod 'RNFastImage', :path => '../node_modules/react-native-fast-image'

  post_install do |installer|
    flipper_post_install(installer)
  end

end

Does clearing the Xcode state help?  rm -rf ~/Library/Developer/Xcode/DerivedData/

@paulb777 great suggestion, but alas, no.

@casconed Are you able to pod update to the current release? - 6.26.0

I was trying to install for the first time today, and got that error, so I reckon I was getting the latest @paulb777, right?

@paulb777 ohhhh of the full SDK. Yeah let me give that a shot. I believe that comes in as part of the RNFBApp dep, so i'll try updating to their latest release, and then give perf another shot

Boom, thanks @paulb777 - upgraded the dependency that installs the SDK and got 6.25.0, which fixes my issue!


Upgrade dependencies, cross build for Scala 2.12

Hi @rossabaker. Thanks for this.
Just wanted to say that - this project is very incomplete. It's been a while since I got chance to work on it. If you are interested in joining hands, happy to add you to the collaborators.


Set the type of parameter ids in Repository.prototype.read to ReadonlyArray

When processing GraphQL queries, I use DataLoader to avoid having to access Xata for each field.
The ids type of the function passed to the DataLoader constructor is ReadonlyArray.
So I use the unnecessary spread syntax to convert ids from ReadonlyArray to T[] to pass to Xata's Repository.read.
import DataLoader from "npm:dataloader";

const xataClient = new XataClient();

const teamDataLoader = new DataLoader<string, Team>(async (ids) => {
  const teams = await xataClient.db.team.read([...ids]); // Spread syntax not required?
  return teams.map((team, index) =>
    team === null ? new Error(`team id=${ids[index]} not found`) : team
  );
});

Please change it to receive ids as ReadonlyArray like Deno.KV.prototype.getMany.
https://github.com/xataio/client-ts/blob/8f1444ac9cfd283ee767d8222163b2d4263c2080/packages/client/src/schema/repository.ts#L168
abstract read(ids: ReadonlyArray<Identifier>): Promise<Array<Readonly<SelectedPick<Record, ['*']>> | null>>;

Hey @narumincho!
Would a union work with DataLoader?
Something like read(ids: Identifier[] | ReadOnlyArray<Identifier>)?

read(ids: Identifier[] | ReadonlyArray<Identifier>) // A
read(ids: ReadonlyArray<Identifier>) // B

A does not solve this problem, B solves this problem.

const idsNotReadonly: string[] = ['0', '1'];
const idsReadonly: ReadonlyArray<string> = ['0', '1'];

function readOld(ids: string[]) {}
function readA(ids: string[] | ReadonlyArray<string>) {}
function readB(ids: ReadonlyArray<string>) {}

readOld(idsNotReadonly); // ok
readOld(idsReadonly); // type error

readA(idsNotReadonly); // ok
readA(idsReadonly); // ok

readB(idsNotReadonly); // ok
readB(idsReadonly); // ok

https://www.typescriptlang.org/play?#code/MYewdgzgLgBAlgEwgORFASgUwIYPAGwE8AuGaAJzjAHMBtAXRgF4ZaByABjYBoY2BGNvQDcAKFCRYiCFlwESMWXjBEAguXLZCAHgpVqAPmatOPPoJGjRAMwCuYYFDjgY5HAgDy+BAApppPRoGAEoYAG8AXxt7R2cwV3dVPyQAqEogxgAfRXd5dU0dQMNQyOiHJxc3XAAhZIhSJTyNLV00-QMSqNEqz2861AxclUJgsR6vX2lG4dGYAHo5mChCAAdMGEwNEHIrHqTpAemiUe7EuqORsVOa-rQLk57aqaHjsSA

I was afraid that some invocations failed, but literals, tuples and others seem to work

It will be released per schedule next monday by @eemmiillyy


Switching video memory is increasing!

Our project needs to switch video streams. When doing stress tests, we find that memory is constantly increasing.The test code is as follows:
HI_VOID * play_rtsp(HI_VOID *pArgs)
{
RtspClient Client;
string RtspUri(pstVdecSend->cFileName);
const size_t BufSize=pstVdecSend->s32MinBufSize;
HI_U8 *pbuf;
size_t size = 0;

pbuf=(HI_U8*)malloc(BufSize);
while(1)
{
	Client.SetURI(RtspUri);
	Client.DoDESCRIBE();
	Client.ParseSDP();
	Client.DoSETUP("video", true);
	Client.SetVideoByeFromServerClbk(ByeFromServerClbk);
	printf("start PLAY\n");
	//printf("SDP: %s\n", Client.GetSDP().c_str());
	Client.DoPLAY("video");

	printf("start TEARDOWN\n");
	Client.DoTEARDOWN();
	sleep(1);
}
free(pbuf);
return (HI_VOID *)HI_SUCCESS;

}

I am sorry for any inconvenience I've caused.
I've fixed the bug just now.

After modifying the code, it was tested for 2 days and it worked fine. Thank you


Threads API specification and implementation

Fixes https://github.com/Couchers-org/couchers/issues/269
Initially only the API specification is committed, and later on when the implementation is done I will un-wip the PR.

Also, maybe this should be renamed to threads instead of communities?

Also, maybe this should be renamed to threads instead of communities?

The API namespace you mean? The thread is useless without a way to get ahold of a thread_id, which needs to be provided with other community-related calls. I thought all of them could be clumped under the communities namespace. But I can change, no problems.

Do we want (now or later):
* up/downvotes?

* custom comment/reply sorting?

* Editing/deleting?

* Reporting or flagging?

@ItsiW? What's the thinking with this?

I also think maybe there should be a way to get an overview of threads and replies so we don't have to choose between 20 gRPC calls and not loading any replies until asked.
Maybe a getThreadOverview call which smartly returns the latest X comments along with the latest Y replies. If each comment includes a num_replies field frontend will be able to display a "load more" button
Also, I wonder if oldest first is a better sort order for replies.

I also think maybe there should be a way to get an overview of threads and replies so we don't have to choose between 20 gRPC calls and not loading any replies until asked.
Maybe a getThreadOverview call which smartly returns the latest X comments along with the latest Y replies. If each comment includes a num_replies field frontend will be able to display a "load more" button

I'm thinking getThreadOverview can be implemented by the fronted with one call to GetComments(), and then queueing up those 20 calls to GetReplies() in one HTTP stream, in the latency of two roundtrips to the server. Is it possible in the javascript frontend?

Also, I wonder if oldest first is a better sort order for replies.

Not if smart clients want to show latest Y replies like you said :)

Not if smart clients want to show latest Y replies

First Y replies, then!

then queueing up those 20 calls to GetReplies() in one HTTP stream

Perhaps, but possibly not until we implement streaming rpc calls? Not so sure. But in any case, I think it would be a worse user experience - UI would jump around as replies are loaded and push down lower comments.
If you feel strongly that it should be managed in the frontend, how about allowing changing getReplies to accept oneof comment_id and thread_id? Where thread id just gives replies in the thread without worrying about the comments they are replying to.

I've unified the three levels (threads, comments, replies) into a single tree node type now. Still only latest comment first sorting available. I guess we can start here and implement earliest-first and depth-first later on.

Is Reply a more descriptive word than Comment in this case? Up to you!

It is a bit messy since a text could be both a comment or reply. But I also think Reply is better so I changed to that. I also switched to google's pagination. Now onto the implementation!

Is Reply a more descriptive word than Comment in this case? Up to you!

It is a bit messy since a text could be both a comment or reply. But I also think Reply is better so I changed to that. I also switched to google's pagination. Now onto the implementation!

I've now implemented the backend side. The database still have separate tables for thread, comment and reply, even if the API has unified them. I've named everything "threads" to be easier to merge with the other communities stuff.
Missing:

[ ] database migrations, should I do them or disable the migration tests for now?
[ ] adding Threads servicer to the main app

I've now implemented the backend side. The database still have separate tables for thread, comment and reply, even if the API has unified them. I've named everything "threads" to be easier to merge with the other communities stuff.
Missing:

[ ] database migrations, should I do them or disable the migration tests for now?
[ ] adding Threads servicer to the main app

I've now implemented the backend side. The database still have separate tables for thread, comment and reply, even if the API has unified them. I've named everything "threads" to be easier to merge with the other communities stuff.

Was it easier to implement this way and less hassle with trees? I would've imagined an arbitrarily-leveled single table would've been easier to implement.
But this looks good as well, and solid testing.

database migrations, should I do them or disable the migration tests for now?
adding Threads servicer to the main app

Yes, please add migrations (this is on top of communities, so we will recreate them before merging into develop), and please add the threads servicer into app as well.

I've now implemented the backend side. The database still have separate tables for thread, comment and reply, even if the API has unified them. I've named everything "threads" to be easier to merge with the other communities stuff.

Was it easier to implement this way and less hassle with trees? I would've imagined an arbitrarily-leveled single table would've been easier to implement.
But this looks good as well, and solid testing.

database migrations, should I do them or disable the migration tests for now?
adding Threads servicer to the main app

Yes, please add migrations (this is on top of communities, so we will recreate them before merging into develop), and please add the threads servicer into app as well.

Was it easier to implement this way and less hassle with trees? I would've imagined an arbitrarily-leveled single table would've been easier to implement.

I'm not comfortable with joins within the same table, but it can always be changed afterwards (but before we want permanent links)

Yes, please add migrations (this is on top of communities, so we will recreate them before merging into develop), and please add the threads servicer into app as well.

Done!

Was it easier to implement this way and less hassle with trees? I would've imagined an arbitrarily-leveled single table would've been easier to implement.

I'm not comfortable with joins within the same table, but it can always be changed afterwards (but before we want permanent links)

Yes, please add migrations (this is on top of communities, so we will recreate them before merging into develop), and please add the threads servicer into app as well.

Done!

I would generally prefer descriptive variable names. Some of the ones in the generators (r, n, etc) are a bit confusing on first look.

Thanks, I generally pick one-letter names when it is easy to grasp the scope. I'll think about longer names in future coding but I'm too lazy to update this branch now.

I would generally prefer descriptive variable names. Some of the ones in the generators (r, n, etc) are a bit confusing on first look.

Thanks, I generally pick one-letter names when it is easy to grasp the scope. I'll think about longer names in future coding but I'm too lazy to update this branch now.


Changed exactly prop on Route component to exact for RRV4 final

React Router V4 changed the exactly prop to exact for path matches. This PR mirrors that change to in demo/Application.js
Refs #665

Woo hoo!


Restore the solution titles on the profile page

I hope this wan't intentional: I certainly don't want to memorize 100+ icons.

I certainly don't want to memorize 100+ icons.

May the force be with you LOL.  No, unintentional.


META: start major release 8.0.0 with some breaking changes

drop support for Node.js < 10
drop support for Windows 8.1 & Windows Phone 8.1, as I proposed in PR #371
use @cordova/eslint-config (issue #370)
update eslint and other devDependencies
hopefully drop use of Q
consider better spawn implementation as discussed in cordova-common
ideally phase out use of shelljs
check for any outdated package dependencies such as semver
consider any other possible cleanup

We are archiving this repository following Apache Cordova's Deprecation Policy. We will not continue to work on this repository. Therefore all issues and pull requests are being closed. Thanks for your contribution.


Update README for WinUI 3.0 Preview 1 release

Updates the readme to include the newly released WinUI 3.0 Preview 1.

Awesome, thanks @Felix-Dev

/azp run


ignore array keys in header values for correct merging

This PR for https://github.com/php-http/psr7-integration-tests/pull/10 + https://github.com/php-http/psr7-integration-tests/pull/43 should fix https://github.com/guzzle/psr7/issues/249

👍


Clone values before storing them into the cache.

This fixes an issue where if we don't clone the object before storing it, and we change this object somewhere else, the change ends up propagating to the stored object in session storage.

:pineapple:

:+1: congrats mister contributor


Create a REST api with the resource which has not allowed special characters

Description:
Create a REST API from scratch by providing the API name, version, context and at least 1 resource. Resource should not contain invalid characters
Currently resource path support all special characters and strings, no validation.
For e.g.
GET: /$#%^&*
GET: /!)-(#[']"
Suggested Labels:
Product-scenario
Type/bug
Priority/Highest
Affected Product Version:
apim-2.6.0
OS, DB, other environment details and versions:

This is not applicable in master


Get-ChildItem triggers Antimalware Service Executable

Steps to reproduce
Choose a directory with a fair amount of beefy executables and issue Get-ChildItem on the directory.
Expected behavior
Obtain a directory listing in a reasonable amount of time.
Actual behavior
In reality it takes far longer than it should, mostly because displaying the directory listing triggers the Antimalware Service Executable which burns a CPU core but more importantly, takes a significant amount of time to finish scaling with the size of the directory.
PS C:\Users\Matty\Downloads> ls | measure -Property Length -Sum

Count    : 83
Average  :
Sum      :<PHONE_NUMBER>
Maximum  :
Minimum  :
Property : Length

83 files and 7 Gigs of Downloads with a fair amount of .exe, .iso and what not.
PS C:\Users\Matty\Downloads> Measure-Command {$list = Get-ChildItem; foreach ($elem in $list) {Write-Host $elem}}
...
Days              : 0
Hours             : 0
Minutes           : 0
Seconds           : 2
Milliseconds      : 631
Ticks             : 26310762
TotalDays         : 3,04522708333333E-05
TotalHours        : 0,0007308545
TotalMinutes      : 0,04385127
TotalSeconds      : 2,6310762
TotalMilliseconds : 2631,0762

So just ordinarily printing the name of the files takes 2 seconds and 631 milliseconds (already not quite what I'd expect, but ok). Now, executing the following script block (forgive me, I couldn't devise a better solution to demo the artifact)
$start = Get-Date;
ls ~\Downloads
$end = Get-Date;
$span = $end - $start;
Write-Host $span;

Prints out the following:
"Exactly what I'd see if invoking Get-ChildItem plain from the console"
00:00:07.8705418

This is fishy.
Environment data

Latest nightly.
PS C:\Users\Matty\Downloads> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      6.0.0-alpha
SerializationVersion           <IP_ADDRESS>
GitCommitId                    v6.0.0-alpha.12-21-g2077e42b52cd431a9097cf6673f9b4d5f4e4f391
PSEdition                      Core
BuildVersion                   <IP_ADDRESS>
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
CLRVersion
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}

I understand that this is not a "valuable" feature request, but its such core functionality that I was hoping to see this addressed sooner. Simply navigating the filesystem is immensely subpar to a native Linux experience.
It is not just the the pathological large ~\Downloads folder that suffers from this, but most Windows bin folders (Cygwin, Git, Visual Studio, Qt, etc.) so any install that has a fair amount of .exe and .dll in it. It is fairly common for a sysadmin to list folders for files. On Linux, it's roughly as fast as the console can spew out characters.
And I haven't even talked about locate somehing vs. gci C:\ -R -Fil something -Err SilentlyContinue. Prior takes 1 second at most, while the latter is a multi-minute command. Powershell could really improve on its interactive part.

I did some more research, AMSE triggers and as such slows down dir listings of files that were downloaded and have not yet been targets of Unblock-File. (If I download a ZIP file and expand it, the result is the same. Unzipped content also need to be Unblocked, if the ZIP has not been prior to unzipping.)

Can you add a stack where AMSE triggers? That could save someone a bit of work and possibly get a fix in faster.

What do you mean "add a stack where AMSE triggers"? For me, stack means call stack, but I have no idea how to obtain something like that. You mean write a short script?

Yes, I meant call stack. I guessed incorrectly that you were looking at call stacks to see that AMSE was triggered.

No, Get-ChildItem on my ~\Downloads dir takes 7 seconds (now actually 14 seconds, was 7 when I reported). That is totally enough to see AMSE dominate the CPU usage in Task Manager.

For future reference, how can I get a call stack that has demonstrative power as to what's happening? AMSE I thought is a constantly running service, and as such it should not be directly associated with any of my processes.

Perfview is great for collecting etw traces, though the UI is hard to use.
Windows Performance Toolkit has wpa which is good for analyzing traces. This blog post has lots of good references on getting started.
I will say these tools are not exactly beginner friendly - but they are super powerful.

@lzybkr And Bruce is also unicycling :)

@powercode - Bruce Dawson is somewhat well known for unicycling a popular bike ride from Seattle to Portland - 200 miles. 10,000 riders do it every year, most take 2 days. I saw him training for that ride commuting to work - so he was actually part of how I got started unicycling.
As long as you brought it up - @LeeHolmes and @vors can also ride a unicycle - so it's highly recommended if you want to be one of the cool PowerShell peeps :)

A quick look gives at hand that the Mode CodeProperty is very expensive. (33% on my machine) and the lions share of that is Microsoft.PowerShell.Commands.InternalSymbolicLinkLinkCodeMethods::WinIsHardLink

Seems like we could improve on the Console output. For each line we write, we make PInvoke calls to GetConsoleScreenBufferInfo, GetConsoleMode and WriteConsole. Do we really have to to the first two calls for each line?

Lol, what a thread. I probably would not be able to unicycle after that long.


WIP - Feature/contrast level

This PR aims to add the contrast level lines directly within the picker. For demo purposes, it is live here. Don't hesitate to comment if you want this feature finished / how it should be finished.
At the moment:

it still has few bugs in computing the level (when the vibrance go through v=0.5, at the end of the curves, etc.)
the contrast header is not updated anymore

Edit (January 2024): no plan to work on this at the moment

I'm closing this PR as I do not intend to finish it soon. :wink:


feat: use history cache in get_receipt() to lessen RPC calls

What I did
I almost have a solid end-to-end on gas reporting in tests.
However - this is one bit of logic I'd like to extract to its own PR to have it reviewed on its own...
Adds another index to the AccountHistory such that we can rapidly look up a cached Receipt by its transaction_hash. Then, attempts to do this in chain.get_receipt() so save an RPC call.
NOTE: The transactions presently in the AccountHistory should all be valid on exist on the chain. Because, when we restore to an older snapshot, we remove those transactions. If the provider cannot find the receipt, it will use the RPC call method instead. Any receipts send by your accounts will for sure be already cached!!! This greatly speeds up testing and will definitely speed up the gas reporting work I am doing.
How I did it

Add a second map that allows looking up receipts by txn hash in AccountHistory.
Check this map during get_receipt() call in Web3Provider.

How to verify it

Checklist

[x] All changes are completed
[x] New test cases have been added
[x] Documentation has been updated

Another perf stat:  In ape core's test suite locally for me:
Before changes:  58.46s
After changes: 44.84s

Perf:
Getting a large trace with changes:
ape -v error run sim --network ethereum:local:hardhat  15.14s user 1.35s system 118% cpu 13.966 total

Getting a large trace without changes:
ape -v error run sim --network ethereum:local:hardhat  16.20s user 1.47s system 117% cpu 14.995 total


ERROR Error: Expected to not be in Angular Zone, but it is!

I get this error in EDGE when I try to open a PrimeNG multi-select dropdown.
Error Expected to not be in Angular Zone, but it is! Error 'Expected to not be in Angular Zone, but it is!' Error: Expected to not be in Angular Zone, but it is!
at NgZone.assertNotInAngularZone (eval code:4715:13)
at VirtualScrollComponent.prototype.calculateItems (eval code:205:13)

There is an undocumented property [doNotCheckAngularZone]="true" which should solve your problem. I don't know the purpose behind this or if it will cause other issues. If you're able to find a better solution, please submit a pull request. Until then, I'm closing this issue as there is a workaround. Please re-open if you have further problems. Thanks.


snomasks

Server Notice Masks. We should implement them, and probably document them on Modern and/or irc-defs in the process.

Coolcool, added them to irc-defs: http://defs.ircdocs.horse/defs/snomasks.html

This is gonna be a weird one to implement... figuring out a way to do this nicely would be good. There's a number of issues where this needs to be adjusted, from adding it to the Oper config, to allowing client MODE messages to accept arguments, and all that sort of thing.

Initial implementation done in fd793d6adb1dd6cd8669406c324f7839c70ffcec, I'll consider this issue closed and continue on from here.


missing functions in scipy.signal listed in documentation

http://docs.scipy.org/doc/scipy/reference/signal.html
under the Spectral Analysis section of the scipy.signal documentation online 7 functions are shown. I've updated to the latest version of scipy, but only the four of those functions exist in it; periodogram, welch, lombscargle, and vectorstrength. csd, coherence, and spectrogram are missing.

You are probably using a different version of Scipy. That the
documentation for these functions is there indicates also the functions
are there.


[New Hub] London Interdisciplinary School

This is an issue to collect information and coordinate deploying a new hub! We should:

[ ] Fill out the missing information below in collaboration with the Community Representative
[ ] Assign an engineer to the hub and deploy it in the cloud

Roles

Hub shepherd: @choldgraf
Hub engineer: {{ @XXX }}
PR for deployment: {{ XXX }}

About the community
Community Representative(s) (reference docs)

@LaCrecerelle
@matthew-brett

Important Dates

Target start date: {{ date }}
Required start date: {{ date }}
Any important dates for usage: {{ date }}

About the infrastructure
Hub Authentication Type (reference docs): {{ github / google / cilogon / etc }}
Hub Logo

URL to Image: {{ URL }}
URL for image link: {{ URL }}

User image (reference docs)

Image repository: {{ URL }}
Image registry: {{ URL }}
Image tag and name: {{ NAME AND TAG IF IT EXISTS }}

Extra features

Dedicated kubernetes cluster: {{ YES / NO }}
Preferred cloud provider: No requirement, preferably not Google
Scalable Dask Gateway Cluster: {{ YES / NO }}

JupyterHub information

Hub URL: {{ <hub ID>.<hub cluster>.2i2c.cloud }}
Helm chart: {{ basehub / daskhub }}

Deployment checklist

[ ] Administrative setup for community is finished
[ ] All information above is filled in
[ ] Engineer who will deploy the hub is assigned
[ ] Initial Hub deployment PR is added
[ ] Administrators able to log on
[ ] Community Representative satisfied with hub environment
[ ] Hub now in steady-state

ping to @LaCrecerelle and @matthew-brett - we can use this hub to coordinate around the information needed to deploy the hub in your community. There are a number of missing fields above, could you take a quick look and help us fill in the missing information? When that's done, we can get started

https://github.com/orgs/2i2c-org/teams/tech-team - let me know if I missed any important information up there and I can add it in

One of the main pieces from the above list is the cloud provider where the cluster/hub will be deployed.

Preferred cloud provider: No requirement, preferably not Google

This is confusing to me... in fact, I think we prefer GCP deployments (although we are able to deploy in AWS and Azure as well). Can you clarify what you are trying to describe on that line, @choldgraf?

Yep - if I recall @LaCrecerelle expressed concerns about Google privacy implications relative to the other two cloud providers.
The 2i2c team generally has a preference for Google Cloud as well, from an "ease of service and support" perspective - their Kubernetes service is just generally more stable and straightforward to maintain. But we'll defer to the community representatives on this one. Perhaps @matthew-brett and @LaCrecerelle can discuss and make a recommendation?

Just for my reference - here is the relevant Berkeley data hub discussion page: https://docs.datahub.berkeley.edu/en/latest/admins/cluster-config.html

Hi all - just to clear up any confusion - as long as data remains in the UK I'm happy to use whichever cloud provider that 2i2c & @matthew-brett think is best. Our direct relationship is with 2i2c and I'm super happy with your privacy and other terms, but as discussed on the phone with @choldgraf our data must remain UK bound.
My meaning of data, for avoidance of ambiguity, refers specifically to hubs/notebooks and user information.

Thanks @LaCrecerelle - then my vote would be for GKE.

From this documentation, we would need to deploy into GCP zone europe-west2 which is based in London and has 3 regions.

What is the best way to fill in the information above?   Via copy-past into new cells here?
@LaCrecerelle - do we have a LIS Github organization?   Would you like to be an admin on https://github.com/lisds - that's what I am using for my textbook.  I can make a matching dockerhub account - unless we already have something?   Do we have some logo URLs to use here?
I suggest we go for a start date in the middle of August, to allow ourselves some time to get ready.  What do you think?

Can I ask about the implications of "Scalable Dask Gateway Cluster" vs the standard cluster?

Hi @matthew-brett! The scalable cluster is described here: https://docs.2i2c.org/en/latest/about/distributions/research.html
Based on your anticipated usage, I suggest you launch the service without Dask.

@colliand - so - if I understand correctly - the scalable cluster is the addition of a second cluster, in addition to the normal also-scalable JupyterHub user cluster, on which the user pods can execute dask-zarr jobs?

Right - but am I right that the difference is that the "scalable cluster" is the addition of an extra vertically scalable cluster, that users can tap into if they need?  So I guess that can be added later, with the associated cost?

I guess that can be added later

Not quite. It's a different helm chart - so we would have to tear down and redeploy.

What is the best way to fill in the information above? Via copy-past into new cells here?

That will work, I can update the first post with the answers you provide on the full thread.

so then the cost would be some fairly short down-time for the cluster if we decided to go that way later?

It depends. If there is no migration of users' content, then it should be a short downtime that we would need to coordinate. If we need to migrate users' content, then it could take more time depending on the amount of users' content.
There is more information about the migration process in case you are technically interested: https://infrastructure.2i2c.org/en/latest/howto/hubs/move-hub.html
Others in the @2i2c-org/tech-team can add more pieces in case I am missing something else in that possible transition.

If we need to migrate users' content, then it could take more time depending on the amount of users' content.

An additional point from the linked documentation:

This might not entirely be necessary - if the source and target cluster are in the same GCP Project / AWS Account, we can just re-use the same home directory storage!

So sorry for the delay - and that, because of the delay, we're running a bit tight.   The answers are below, let me know if I've missed something.
Important Dates
Target start date: 2022-09-26
Required start date: 2022-10-03
Any important dates for usage: N/A

About the infrastructure
Hub Authentication Type (reference docs): Github
Hub Logo
URL to Image: https://www.lis.ac.uk/wp-content/themes/lis/library/images/logo.png
URL for image link: https://www.lis.ac.uk

User image (reference docs)
Image repository: https://github.com/lisds
Image registry: https://hub.docker.com/repository/docker/lisds/lisds-base
Image tag and name: lisds/lisds-base:a2c7c2a

Extra features
Dedicated kubernetes cluster: NO
Preferred cloud provider: GKE
Scalable Dask Gateway Cluster: NO

JupyterHub information
Hub URL: ds.lis.2i2c.cloud }}
Helm chart: basehub

Can y'all let me know the Helm chart JupyterHub version so I can update in our images repo?

@matthew-brett, we recommend a jupyterhub version of at least 2.3.1.
This is actually the version that we're using for the default 2i2c hub's user image too:
https://github.com/2i2c-org/2i2c-hubs-image/blob/69b1f9dff7c7725c01b9697fcbfe8851c4412ebe/requirements.txt#L31

@GeorgianaElena - yes, that's correct about the Europe-base for the data - thanks for picking that up.  Does the new cluster have any implications for cost?

I've updated the image to have JupyterHub 2.3.1:
Image tag and name: lisds/lisds-base:781af1c

Does the new cluster have any implications for cost?

It usually does (although I am not sure about the specific of the contract negotiation on this specific case, cc @colliand @jmunroe who surely have more context than me on that topic): https://docs.2i2c.org/en/latest/about/sustainability/strategy.html#markup-for-running-on-dedicated-clusters.

@matthew-brett, there's now a hub running at https://ds.lis.2i2c.cloud. You and anyone in the https://github.com/lisds org should be able to login. Can you please try it and let me know if it works?
The LIS logo it's not showing on the main page of the hub unfortunately. I think it's because it has a transparent background and it's made of white lines? Do you have another one we could use for the hub, maybe one with a solid background color? Thanks!

@LaCrecerelle - do we have another good icon to link to?
Our Github icon looks OK - is that the best one?  Do we have a more canonical URL than https://avatars.githubusercontent.com/u/95037064?s=200&v=4 ?

@GeorgianaElena - thanks - I can access the JupyterHub now - but can I ask for help for our Github authentication?  At the moment I get:
 Looks like you have NOT been added to the list of allowed users for this hub. Please contact the hub administrators.

Of course, I can (and have) asked @LaCrecerelle to allow me access via the Github interface, and I know that we can add individual Github users to the config.yaml file or equivalent - but could you give us advice as to the best way to authenticate all our students by default through the Github org?

Looks like you have NOT been added to the list of allowed users for this hub. Please contact the hub administrators.

@matthew-brett, are you an admin of the https://github.com/lisds org?
This GitHub organization should have access to the hub, but an admin of the org must first grant access to the 2i2c GitHub OAuth app.
I believe the issue might be with the access of the 2i2c OAuth App to the org.
You can find more info and steps on how to fix this possible issue in these docs https://infrastructure.2i2c.org/en/latest/howto/configure/auth-management/github-orgs.html#follow-up-github-organization-administrators-must-grant-access has more info about it.
Can you please double check the steps in those docs and let me know if authentication works afterwards please?

but could you give us advice as to the best way to authenticate all our students by default through the Github org

There are three options to manage users in a hub that uses GitHub authentication:

Right now, the LIS hub uses GitHub authentication based on GitHub organization membership. This means that any student added to the lisds GitHub org  will get access to the hub.
A second option would be to switch from a GitHub org membership access to a GitHub team membership. With this option, access to the hub will be granted to all the members of a GitHub team instead of an organization. This gives the possibility to organize students in specific teams, rather than having them be part of an org.
The third option is to move away completely from managing access using GitHub teams or organization membership and manage user's access using the admin panel (like described in https://docs.2i2c.org/en/latest/admin/howto/manage-users.html#manage-users-from-the-administrator-panel)

So, it's up to you which one of this options should be used in the LIS hub. What do you think? Do you want to move away from the first option or is that ok?

@GeorgianaElena - thanks.   Just to check - the organization should be:
https://github.com/lisacuk
and not:
https://github.com/lisds
Just to confirm - you are in fact using https://github.com/lisacuk ?

Oh, I thought lisds was the correct org (from https://github.com/2i2c-org/infrastructure/issues/1485#issuecomment-1183223815). I just changed it now to allow https://github.com/lisacuk instead. Sorry for the misunderstanding.

@matthew-brett, please let me know if the authentication works after this change?

Yes - it works for me - thanks!

Thanks for this!   I get a 404 not found for:
https://ds.lis.2i2c.cloud/
after a warning about "This connection is not private".
Just checking - do you mean that it authorizes against the lisacuk Github
org?  (not the lisds org)
On Thu, Sep 22, 2022 at 5:02 PM Georgiana Elena @.***>
wrote:

@matthew-brett https://github.com/matthew-brett, there's now a hub
running at https://ds.lis.2i2c.cloud. You and anyone in the
https://github.com/lisds org should be able to login. Can you please try
it and let me know if it works?
The LIS logo it's not showing on the main page of the hub unfortunately. I
think it's because it has a transparent background and it's made of white
lines? Do you have another one we could use for the hub, maybe one with a
solid background color? Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/2i2c-org/infrastructure/issues/1485#issuecomment-1255237543,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAQQHFMYZAOQ4GJNIJOAOTV7R7J5ANCNFSM52GFNAMQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


unsupported audio

hey so i watch anime in a sony bravia tv so i downoad the anime put it in a pd and watch but lots of things i download from animepahe-dl is having unsupported audio issue not every but most whilst if downloaded for the site directly there is no such issue i use "./animepahe-dl.sh -t 8 -r 720" for downloading any help will be appreciated

Hey @Orironer, I have little to none knowledge about sony bravia tv. I guess it doesn't have certain audio codec? Did you try to install other media player, if installing app is supported, like VLC? If you got the exact error text, then maybe you can search it online and find some solutions, hopefully.

hey thanks for the reply i just wanted to ask like in sometimes the script download audio format of 73kbps bitrate stereo and 24kHz and that works for me but other times it download 47kbps bitrate mono and 22.05kHz that do not work in my tv so is there a way to sett this audio format appropriately ? even 128kbps bit rate stereo and 44.1kHz works for me and if downloaded in from anime pahe directely it always gives the 73bitrate which works

Hey @Orironer, the bitrate you mentioned sometimes works is not controlled/set in the script. It depends on the video source I think. The script downloads the video which is used for streaming from aminepahe, not the video source downloaded from download button. That is the difference.
However,  maybe some ffmpeg options can covert bitrate. I'm not deep into ffmpeg or video/audio convert thing, so I'm not exactly sure. If you like, you can modify code in line  https://github.com/KevCui/animepahe-dl/blob/master/animepahe-dl.sh#L364 and try out. Good luck!

thanks id figure something from here btw i just learned that the format i was talking about is called vcodec:h264, res:720, acodec:m4a

Hey @Orironer, hope you found a solution to the problem you were facing. I'm closing this issue because I don't think something will be implemented in this script. Cheers.


Amend "Add conditions" button once one condition is added

There is a usability issue with conditional questions which we should fix before deployment.
The orange button to "Add conditions" is greyed out once a first condition has been added. People see this more than the blue link text otherwise.
We could either shift the "Add Conditions" button down the page and not grey it out or remove it. I think we should try to keep a standard look and feel to other settings so blue link like “Add option” may be best

c55cff30bd0e5846126b744c4638f0d90feb58d2
fixes this. I tried just removing the button when the conditons are shown but that just looks strange. They need some sort of separation between the options and the conditions so I changed it from saying "Add Conditions" to just "Conditions" and disabled it so it no longer looks like a button. That should do for now and we can restyle later if wanted.

Great. Let me know when deployed and I'll UAT and take screengrabs for guide

Hi @raycarrick-ed  I'm testing this but it doesn't seem to work as intended. The greyed out button doesn't change text from "Add conditions" to just "Conditions" (it stays the same) and now when you first click the button, it doesn't open up the first condition to enter. You need to click the blue link highlighted below so in effect the user is double-clicking to do the action

It was a javascript asset issue. Getting the button change now as planned so closing out.
Thanks @raycarrick-ed


Add entryNodes function

Adds ability to get entry nodes #42

Can you release this so I can use it in my project?

Yep - just released 0.11.0


ESDoc.generate How to write a function that takes the results and writes them to disk?

Hi.
      ESDoc.generate(this.options, (results, config) => {
        log.debug('after ESDoc.generate', results[0]);

        resolve();
      });

I am very familiar with fs.writeFile() or fs.createWriteStream() and Promises/async but I don't know what to do with results (and config).
This is my output:
after ESDoc.generate { __docId__: 0,
  kind: 'file',
  static: true,
  variation: null,
  name: 'src/compilers/BabelCodeCompiler.js',
  memberof: null,
  longname: 'src/compilers/BabelCodeCompiler.js',
  access: null,
  description: null,
  lineNumber: 1,
  content: 'import { transform } from \'babel\';\n\nimport Compiler from \'../lib/Compiler\';\n\nexport default class BabelCodeCompiler extends Compiler {\n  compileChunk(chunk, sourceFilePath) {\n    return new Promise((resolve, reject) => {\n      try {\n        resolve(transform(chunk, this.options.options).code);\n      } catch (e) {\n        reject(e);\n      }\n    });\n  }\n}\n' }

@Industrial Hi! Thanks for this question.
Please see ESDoc Plugin API for more information. Probably onComplete can help you.


Adding updates from update-gofmt for go1.17

In order to satisfy the make update-gofmt command I am submitting the latest make results using go1.17.3.
This should fix the previous failures seen on other PRs:
Generating deepcopy funcs
F1203 17:28:20.772123    8337 main.go:82] Error: Failed executing generator: some packages had errors:
errors in package "github.com/openshift/api/project/v1":
output for "v1/zz_generated.deepcopy.go" differs; first existing/expected diff:
  " +build !ignore_autogenerated\n\n// Code generated by deepcopy-gen. DO NOT EDIT.\n\npackage v1\n\nimport ("
  "go:build !ignore_autogenerated\n// +build !ignore_autogenerated\n\n// Code generated by deepcopy-gen. D"

errors in package "github.com/openshift/api/user/v1":
output for "v1/zz_generated.deepcopy.go" differs; first existing/expected diff:
  " +build !ignore_autogenerated\n\n// Code generated by deepcopy-gen. DO NOT EDIT.\n\npackage v1\n\nimport ("
  "go:build !ignore_autogenerated\n// +build !ignore_autogenerated\n\n// Code generated by deepcopy-gen. D"

errors in package "github.com/openshift/api/console/v1":
output for "v1/zz_generated.deepcopy.go" differs; first existing/expected diff:
  " +build !ignore_autogenerated\n\n// Code generated by deepcopy-gen. DO NOT EDIT.\n\npackage v1\n\nimport ("
  "go:build !ignore_autogenerated\n// +build !ignore_autogenerated\n\n// Code generated by deepcopy-gen. D"
...

/lgtm


Add a note on matching values for the maven package for HDInsight maven package

@aggFTW,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

LGTM.

@aggFTW : Thanks for your contribution to the Azure documentation! The author, @nitinme, has been notified to review your proposed change.

@aggFTW - Thanks for the update. Can you also add info on where to get the Scala and Spark version information for a running cluster?

#sign-off


Boost 1.82 or later  this version has a bit high requirements

Can you please elaborate more on the comment that "this version has a bit high requirements"?
Should the client support earlier versions of Boost or something else?
If you require earlier versions of Boost, could you please specify which one you need?


Optimize workload connection search by using the map

Please provide a description for what this PR is for.
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

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

Test name
Commit
Details
Rerun command

istio-lint-master
f6fd7f76d2337c22c85c633abb575aaf7752aa3b
link
/test istio-lint-master

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

/hold

@hzxuzhonghu: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

istio-lint-master
f6fd7f76d2337c22c85c633abb575aaf7752aa3b
link
/test istio-lint-master

integ-mixer-k8s-presubmit-tests-master
f6fd7f76d2337c22c85c633abb575aaf7752aa3b
link
/test integ-mixer-k8s-presubmit-tests-master

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

This can be closed


browser-default oddities

Current Behavior
browser-default class is added at several places in the default SCSS files, in particular in _global.css. The intent is to allow preserving the browser default for some elements, by adding this class to the object created. Unfortunately, it has a side effect: it prevents overriding the default behaviour of an element at a "lower level" in the element hierarchy. For example, if you have a CSS like:
// taken from _global.css
ul {
  &:not(.browser-default) {
    list-style-type: square;
  }
}

// taken from _navbar.css
nav {
  ul {
    list-style-type: none;
  }
}

you would expect (or at list you are wishing) the bullet list items in your documents to be prefixed by a square except in the navbar where you don't want the items to be prefixed by anything.
But this is not what happens because the global definition matches in the navbar context (not(.browser-default) is true) and this global definition is not overriden in the navbar context (what is overriden is ul without the additional :not(.browser-default) which is not the same as ul without an additional class).
This issue is related to the problem that #5315 tries to solve.
Expected Behavior
The expectation is that if you define something lower in the element hierarchy (e.g. navbar), it will override the global definition. The default CSS has to be consistent.
Possible Solution
I see several possible solutions:

put the :not(.browser-default) every where the global definition is potentially overriden by another part of the standard CSS.
remove the (:not(.browser-default) in the global configuration for the element and use it only at the "leaf level" (where there is no reason to refine the CSS at a lower level).
As suggested in #5315, for the global definition of elements that contain :not(.borwser-default), restrict them to the <main> context as probably this is what you really want: there is no reason (that I can imagine) that you want to keep the browser default for the header and the footer (or you site rendering will be inconsistent). But this implies that <main> is now a requirement for the proper functionning of the standard CSS: this is probably no a major problem as this is a recommended good practive AFAIK and is already required implicitely by the sticky footer feature.

Steps to Reproduce (for bugs)
See example provided above
Context
I spent quite some time understanding why, when defining the list type at the global level to a square, the same type was used in the navbar (and in the footer for the same reason).
Your Environment
Tested with 2 browsers: Opera and Firefox. But, as explained, the actual behaviour is consistent with the (subtle) declaration.

This will be our focus after 1.0 releases


Extend spo list set.
@Adam-it There you go :-)

Thanks @MathijsVerbeeck for your awesome work 🤩.
I will try to review it ASAP

@Adam-it I quickly rebase the v6 branch onto this branch, as it was very outdated. Just a quick FYI 😄

@Adam-it I quickly rebased the v6 branch onto this branch, as it was very outdated. Just a quick FYI 😄

Thanks 👍👍👍👍

Hey @MathijsVerbeeck, seems like we picked up some unrelated commits on the PR. Would you mind having another look? Thank you!

Hey @MathijsVerbeeck, seems like we picked up some unrelated commits on the PR. Would you mind having another look? Thank you!

This issue should be resolved!
Thanks @milanholemans for helping me with this... 😄

merged manually.
once again thanks for your awesome work 👍
you rock 🤩


python train.py --output_directory=outdir --log_directory=logdir

i m a newbee,
how do i train my own model? i have the dataset with metadata.csv file but i don't know what folder to create or redirect.
second after training how do i use it? i mean its creating the outdir folder what do i do after the training is completed or satisfied?

Hi, maybe this will help you https://github.com/NVIDIA/tacotron2/issues/321


SDK: add RFQ

Description
Adds support for basic RFQ implementation, without additional swaps on origin chain.
TODO items

[ ] Basic implementation

[x] Implement SDK classes for interacting with FastBridge contract
[x] Return quotes from RFQ in bridgeQuote()
[x] Add estimated time for RFQ
[ ] Optional gas rebate

[x] FastBridge:

[x] Generate binding
[x] Sending tokens
[x] Decoding origin event
[x] Checking tx status

[ ] Quoter API

[x] Ticket marshalling
[ ] Get the list of supported token pairs between two chains
[ ] Get the quote for a specific token pair and amount
[x] Get the full list of quotes
[ ] Use only recent quotes

[ ] Tests, tests, tests

This PR was rebased to separate the changes to the bindings in #1706

This branch was rebased to include the changes from #1717

This is ready for the review. Leaving the "[DO NOT MERGE]" tag, as there are commits that need to be reverted prior to merging:

32dcaf6eeb35d9ec81705023c52301553988ff0e
8fae0902f88ba2c0fbbbc3043c238f341bc06019


Add CMake

Adding a language

[x] The code displays "Hello World"
[x] I have updated the readme to include the new language
[x] I have incremented the language count in the readme

link to website: https://cmake.org


Improve Code quality

We can observe that CodeFactor detects some points for refactoring to improve code quality. We should consider aiming for at least a score of A. Currently it's A-
https://www.codefactor.io/repository/github/hermet/thorvg

Apart from method's complexity, some of our codes have an ordering dependency on header include. (Transitive inclusions)
The google c++ style guide provides some concepts to solve this problem.
https://google.github.io/styleguide/cppguide.html#Include_What_You_Use
https://google.github.io/styleguide/cppguide.html#Names_and_Order_of_Includes
what do you think about it?

@JSUYA Conceptually, each file should explicitly include headers if they depend on them. The problem is that somebody might forget to include a header, and it's not easy to detect this omission during the review stage because even reviewers may not notice it when transitive inclusions implicitly hide it. In my case, I'm not overly concerned about this, as any breakage can be promptly detected during testing. We can easily identify the missing header in the necessary file, allowing us to include it at that time.
The only header that truly matters for the transition is the client API header (thorvg.h/thorvg_capi.h) for us.


[BUG]

Describe the bug
Kanister Controller fails to add Status to ActionSets on Kubernetes Clusters of version < v1.20.
To Reproduce
Steps to reproduce the behavior:

Build controller image from master branch
Install it on a cluster running K8s version 1.19 or lower
Create a Blueprint and an ActionSet to execute actions
Kanister controller fails to update the status

  Warning  Update Failed  5s    Kanister Controller  Could not update ActionSet: ActionSet.cr.kanister.io "hookbp-wmwr2" is invalid: status.progress.lastTransitionTime: Invalid value: "null": status.progress.lastTransitionTime in body must be of type string: "null"

Expected behavior
ActionSet should successfully run all the actions.
Screenshots
Example Blueprint:
apiVersion: cr.kanister.io/v1alpha1
kind: Blueprint
metadata:
  name: hook-blueprint
  namespace: kanister
actions:
  post-export:
    kind: Namespace
    phases:
    - args:
        command:
        - /bin/sh
        - -c
        - |
          echo "This is a test phase"
        image: alpine:latest
        podOverride:
          serviceAccountName: myrelease-kanister-operator
      func: KubeTask
      name: hookPhase

Example ActionSet:
apiVersion: cr.kanister.io/v1alpha1
kind: ActionSet
metadata:
  generateName: hookbp-
  namespace: kanister
spec:
  actions:
  - name: post-export
    blueprint: hook-blueprint
    object:
      kind: Namespace
      name: default
      namespace: default

Describe ActionSet after creation:
Name:         hookbp-wmwr2
Namespace:    kanister
Labels:       <none>
Annotations:  <none>
API Version:  cr.kanister.io/v1alpha1
Kind:         ActionSet
Metadata:
  Creation Timestamp:  2022-07-29T22:46:40Z
  Generate Name:       hookbp-
  Generation:          1
  Managed Fields:
    API Version:  cr.kanister.io/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:generateName:
      f:spec:
        .:
        f:actions:
    Manager:         kubectl-create
    Operation:       Update
    Time:            2022-07-29T22:46:40Z
  Resource Version:  57845
  Self Link:         /apis/cr.kanister.io/v1alpha1/namespaces/kanister/actionsets/hookbp-wmwr2
  UID:               71839463-5a08-4090-a9e7-d19724c018b6
Spec:
  Actions:
    Blueprint:  hook-blueprint
    Name:       post-export
    Object:
      Kind:       Namespace
      Name:       default
      Namespace:  default
Events:
  Type     Reason         Age   From                 Message
  ----     ------         ----  ----                 -------
  Warning  Update Failed  5s    Kanister Controller  Could not update ActionSet: ActionSet.cr.kanister.io "hookbp-wmwr2" is invalid: status.progress.lastTransitionTime: Invalid value: "null": status.progress.lastTransitionTime in body must be of type string: "null"

No issues on clusters with K8s v1.20 or above
Name:         hookbp-dzg8v
Namespace:    kanister
Labels:       <none>
Annotations:  <none>
API Version:  cr.kanister.io/v1alpha1
Kind:         ActionSet
Metadata:
  Creation Timestamp:  2022-07-29T20:19:07Z
  Generate Name:       hookbp-
  Generation:          9
  Managed Fields:
    API Version:  cr.kanister.io/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:metadata:
        f:generateName:
      f:spec:
    Manager:      kubectl-create
    Operation:    Update
    Time:         2022-07-29T20:19:07Z
    API Version:  cr.kanister.io/v1alpha1
    Fields Type:  FieldsV1
    fieldsV1:
      f:spec:
        f:actions:
      f:status:
        .:
        f:actions:
        f:error:
          .:
          f:message:
        f:progress:
          .:
          f:lastTransitionTime:
          f:percentCompleted:
        f:state:
    Manager:         controller
    Operation:       Update
    Time:            2022-07-29T20:19:09Z
  Resource Version:  12830367
  UID:               521f4c46-4fda-4ace-9f9b-523aaec33988
Spec:
  Actions:
    Blueprint:  hook-blueprint
    Name:       post-export
    Object:
      API Version:
      Group:
      Kind:             Namespace
      Name:             default
      Namespace:        default
      Resource:
    Preferred Version:
Status:
  Actions:
    Blueprint:  hook-blueprint
    Defer Phase:
      Name:
      State:
    Name:     post-export
    Object:
      API Version:
      Group:
      Kind:         Namespace
      Name:         default
      Namespace:    default
      Resource:
    Phases:
      Name:   hookPhase
      State:  complete
  Error:
    Message:
  Progress:
    Last Transition Time:  2022-07-29T20:19:15Z
    Percent Completed:     100.00
  State:                   complete
Events:
  Type    Reason           Age    From                 Message
  ----    ------           ----   ----                 -------
  Normal  Started Action   3m52s  Kanister Controller  Executing action post-export
  Normal  Started Phase    3m52s  Kanister Controller  Executing phase hookPhase
  Normal  Ended Phase      3m45s  Kanister Controller  Completed phase hookPhase
  Normal  Update Complete  3m45s  Kanister Controller  Updated ActionSet 'hookbp-dzg8v' Status->complete
  Normal  Update Complete  3m44s  Kanister Controller  Updated ActionSet 'hookbp-dzg8v' Status->complete

Environment
Kubernetes Version/Provider: 1.18.2/AWS (deployed using KOPS)
Storage Provider: EFS
Cluster Size (#nodes): 3
Data Size: N/A

Seems to be related to https://github.com/kubernetes/kubernetes/issues/86811
This issue was fixed in Kubernetes v1.20 - https://github.com/kubernetes/kubernetes/pull/95423
To support earlier versions, the workaround seems to be to use a pointer (*metav1.Time) instead of metav1.Time.
As downstream users of Kanister still use older versions, the controller will require temporary changes to successfully work on Kubernetes versions < v.1.20.

@viveksinghggits I was trying out some fixes last week but couldn't make much progress. Could you please take a look?


[For Discussion] Logical separation of claim-key and new-key-claim endpoints.

"The new-key-claim and claim-key enpoints are used by two different sets of users (i.e. health-care workers, vs app users).  I would prefer to see this functionality split so that new-key-claim can be implemented on a server tightly controlled by health care, and claim-key can be implemented on a public server"
From external threat analysis, dropping this in here for discussion as to the most effective and simple way of segmenting these and scaling them appropriately.

resubmitted in #99 , closing as duplicate.


Add diff option to core.clear() to return bytes cleared

Should we return this length - offset? Which seems to be the actual total bytes cleared?
https://github.com/holepunchto/hypercore/blob/54d291b9cbc9a103c7d89b50485d82fa9dc5b751/lib/core.js#L274
Maybe core.clear() can return { bytes, blocks }
Where bytes is the actual exact amount of bytes cleared, but then blocks and potentially others are based on the storage info


International site

Hi, are there any plans for multi languages support like what has been done in https://reactiverse.io/es4x/? In this way translated documentation can be ported to the site.

At the moment, there are no plans for a multi-language website. Sorry.

At the moment, there are no plans for a multi-language website. Sorry.


Find widget: screen reader double speaks checkboxes title

Issue Type: Bug
To find a few examples:

Press CTRL+F or CTRL+H and tab through those dialogs with NVDA.
Notice that the field prompts for many fields speak twice.
Check the NVDA log with NVDA+F1 and note that the Description property is the same as the Name property. The Description is the HTML title attribute.
You can check with JAWS, use INSERT+SHIFT+F1 and read the attributes for the current tag and note that the Title attribute is filled in with the same content as the Label attribute on some fields, such as edit boxes and list fields. JAWS covers up the accessibility error by eliminating the Title attribute from the verbal output, however.

VS Code version: Code - Insiders 1.45.0-insider (d342048538c28d54afd1c6beea03f3a89af04359, 2020-04-23T05:57:41.076Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz (4 x 2397)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
7.87GB (3.58GB free)

Process Argv

Screen Reader
yes

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

hugofy
akm
0.1.1

markdown-toc
Ala
1.5.6

vscode-markdownlint
Dav
0.35.0

vscode-pandoc
Dou
0.0.8

markdown-shortcuts
mdi
0.12.0

python
ms-
2020.4.74986

We have written the needed data into your clipboard because it was too large to send. Please paste.

Thanks for reproting this. Yes I can reproduce this with NVDA, however it works properly with Orca and VoiceOver.
The issue is that NVDA and JAWS read both the aria-label and the title. Or the description.
Thus I believe this is a bug in NVDA, that NVDA should check if the aria-label and title are the same it should not re-read the spoken text.
We already enounceterd something like this and the only thing that VS Code could do is explicitly set aria-description='' to override the title value. I tried this and this does not work with NVDA since it is probably only supported by orca atm.
@leonardder let me know if you have some suggestions or is it fair to say this is an NVDA issue.
Since these issues seem to capture exactly that
https://github.com/nvaccess/nvda/issues/10548
https://github.com/nvaccess/nvda/issues/7841

Hi,
Hopefully an NVDA expert will see this. I believe NVDA does not omit any accessibility info, but I could be totally wrong. It may be necessary to enhance whatever add-on may exist for VS Code or make one to help with this. Personally, and this is just my opinion as someone who works in accessibility, if ARIA labels say the same thing as field labels, the ARIA labels should disappear as long as the screen reader sees and speaks the field label, because that is the more semantic way to do things, and is universal.
If I am misunderstanding the issue, please help me understand.
Thanks.
Jim H
==========
Jim Homme
Skype: jim.homme
FreeChess: jhomme
Twitter: jimhomme
Facebook: jimhomme
From: Isidor Nikolic<EMAIL_ADDRESS>Sent: Friday, April 24, 2020 2:13 PM
To: microsoft/vscode<EMAIL_ADDRESS>Cc: Jim Homme<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [microsoft/vscode] Find widget: screen reader double speaks checkboxes title (#96077)
Thanks for reproting this. Yes I can reproduce this with NVDA, however it works properly with Orca and VoiceOver.
The issue is that NVDA and JAWS read both the aria-label and the title. Or the description.
Thus I believe this is a bug in NVDA, that NVDA should check if the aria-label and title are the same it should not re-read the spoken text.
We already enounceterd something like this and the only thing that VS Code could do is explicitly set aria-description='' to override the title value. I tried this and this does not work with NVDA since it is probably only supported by orca atm.
@leonardder https://github.com/leonardder  let me know if you have some suggestions or is it fair to say this is an NVDA issue.
Since these issues seem to capture exactly that
nvaccess/nvda#10548 https://github.com/nvaccess/nvda/issues/10548
nvaccess/nvda#7841 https://github.com/nvaccess/nvda/issues/7841
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/microsoft/vscode/issues/96077#issuecomment-619168597 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABRUZJOSSW4GCEIZJFYC35TROHJDZANCNFSM4MQIW7DQ .

Also fyi @marcozehe in case you know someone over at nvda to ping apart from @leonardder who I ping all the time :)

I added my endorsement to the NVDA issues. Firefox does strip AccDescription if it turns out to be identical to AccName, but that's a choice we made 10 years ago or so. And it proves that this is a practical approach since both JAWS and Orca do it, too. I am all for NVDA doing this as well.


document the idea of payloads

see also:

https://doc.coreboot.org/payloads.html
<EMAIL_ADDRESS>https://universalscalablefirmware.github.io/documentation/2_universal_payload.html

image formats for payloads:

FIT https://fitspec.osfw.foundation/
UKI https://github.com/uapi-group/specifications/blob/main/specs/unified_kernel_image.md
Android boot image
Universal Payload


Rfink/revamp tracing

All commits have been individually reviewed in previous PRs.
Note: Do not squash the commits when merging.

Rebased.


Actions in steps

Hi
I'm trying to make a new registration Wizard, but I don't want to create user, subscriptions etc. unless the email address is validated, so I was wondering if it is possible to some how send a notification email to the email entered in step 1, then in step two, ask for the verification code and not allow step 3 until the code is received ?
I was hoping to do this via events, but I'm not sure if there a 'Step started event' and the documentation on events is not yet complete :)

Hi!
You could probably do this by overriding the handle method on a step. This method gets called after the request payload was validated. In there, you can basically do whatever you want (like sending a notification or checking if the entered code is valid). This method needs to return a StepResult which indicates if the step was successful or not. The default implementation simply returns a successful response:
https://github.com/laravel-arcanist/arcanist/blob/14bd127dc745bdf285d4c6a8ea665123046743cd/src/WizardStep.php#L86


Potential issue with latest videos on landing page

I noticed in the latest video section of the landing page that the third video is stuck as the most recent stream that has been added to the website. Is that spot reserved for streams or is it a bug? If it is a bug I am not sure how to fix it cause I'm a beginner at Jekyll. This is also loosely related to the issue of the last stream being added to the website is from last year.

Looks like that the spot is reserved for the latest stream https://github.com/CodingTrain/website/blob/09feafa60758080c0a4761a2578b01e7e4bb0c42/landing-page.html#L29

I think I would opt for the latest three videos and maybe ignore the live streams?


ctrl+shift+d does not duplicate the line

ctrl+shift+d does not duplicate the line ???

Thanks for reaching out!
We require the template to be filled out on all new issues and pull requests. We do this so that we can be certain we have all the information we need to address your submission efficiently. This allows the maintainers to spend more time fixing bugs, implementing enhancements, and reviewing and merging pull requests.
Thanks for understanding and meeting us half way :grinning:


Question about the old API links

There are still quite a few API links pointing to developer.xamarin.com/api/etc. Right now, most of them work just fine (for the APIs that have been migrated over to Microsoft Docs) but I was wondering if I should update the links anyway whenever I edit an article that has them? Or, do you have an internal plan for batch updating them at some point in the future?
I'm sure that the xamarin.com site with proper redirections will be around for a long time but still, this would save an unnecessary redirection.

We definitely plan to do a bulk update, but thanks for asking.
A little bit of history - we moved each platform API docs over separately, Xamarin.Forms was a while ago, but Android and iOS only happened very recently (past month or so).
When we moved Xamarin.Forms, we did update all the links. If you look at the source, you'll notice that they are no longer "real links", but have the form [some api](xref:Xamarin.Forms.SomeAPI) -- xref: is a special feature of docs.microsoft.com, where the markdown parser actually validates the namespace/type/member/property against the API reference and generates a valid link at rendering time. This is great for validation (we get warnings if there is a typo or invalid entry) and it will enable cool features in the future.
The batch update didn't happen for iOS or Android links just because of time constraints, but it is planned!
Unfortunately it is difficult for customers to use the xref: syntax because there is no CI or validation on your PRs.
For now, I would suggest just leaving any working redirect links as-is. However if you find a broken link or redirect, please do flag it for us, or submit a PR with a suggested change. We appreciate your contributions!

Thanks for the detailed explanation @conceptdev! I wasn't aware of the xref: feature before but it absolutely makes sense, cool stuff.


Add a scale bar ornament

The iOS SDK has a scale bar: https://maplibre.org/maplibre-native/ios/latest/documentation/maplibre/mlnmapview/scalebar/
The Android SDK has a scale bar via a plugin: https://github.com/maplibre/maplibre-plugins-android/tree/main/plugin-scalebar
We should provide this as one of the four ornaments

(Opinion:) Given that a C API for MapLibre Native is planned on which it would be convenient to base this library on in the long term for better performance and lower footprint (instead of each the Android and iOS versions), it might be worth considering to implement this instead as a pure Compose widget.
As the scalebar is implemented not in native code but on each platform separately, an implementation in Compose would latest be necessary when migrating to use that to-be-released C API, hence, doing it right away means less work overall.
Additionally, in light of #24 and #25, it is an open question whether MapLibre-JS and desktop also feature a scale bar.
Furthermore, if the scale bar is just a normal compose widget, it would allow more flexibility on how and where to place it and no extra sausages regarding the API.
Minus the plugin-boilerplate, the Java Android implementation of the scale bar is about 500 lines of code, I'd estimate it to be about 300 with Kotlin and Compose.

JS has a scale bar: https://www.maplibre.org/maplibre-gl-js/docs/API/classes/ScaleControl/
Native desktop I presume does not.
There's two different approaches we could take here:

Building a maps SDK for Compose, wrapping what's useful from MapLibre and replacing what's better done in Compose
Building a MapLibre wrapper for Compose, exposing as much MapLibre functionality as possible in a form suitable for use in Compose

I think long term, (1) is the better approach, and would involve reimplementing platform functionality like the scale bar, compass, attribution icon, logo, etc. But short term, (2) should be the focus. The user can already overlay whatever composables they like on the map if they don't like the SDK's ornaments.
Flexibility of placement is an interesting problem that probably deserves an issue of its own. Rn both platforms support placement on any corner. That's ofc pretty limited. What kind of placement would be good if we didn't have platform limitations? Is it possible to expose some more flexibility here without replacing the platform ornaments? (iOS at least has support for padding per ornament)

https://github.com/sargunv/maplibre-compose/pull/123


Formatter not trimming blank lines

Lines that only contain spaces are not being trimmed when formatted. That used to work, so something broke along the way.

Fixed


[Usage] tokenizer.pad_token_id == None？

Describe the issue
Issue:
Environment:
GPU: 8×A100-80G or others?
Deepspeed version:
Torch version:
Transformers version:
Tokenizers version:

Command:
I use the command (https://github.com/PKU-YuanGroup/MoE-LLaVA/blob/main/scripts/v1/qwen/pretrain.sh)

Log:
MoE-LLaVA/moellava/train/train.py", line 1076, in __call__
2024-04-18T04:05:18.004375414Z     input_ids = torch.nn.utils.rnn.pad_sequence(
2024-04-18T04:05:18.004377127Z   File "/opt/conda/envs/llava1.5/lib/python3.10/site-packages/torch/nn/utils/rnn.py", line 399, in pad_sequence
2024-04-18T04:05:18.004379772Z     return torch._C._nn.pad_sequence(sequences, batch_first, padding_value)
2024-04-18T04:05:18.004382177Z TypeError: pad_sequence(): argument 'padding_value' (position 3) must be float, not NoneType

按照https://github.com/haotian-liu/LLaVA/issues/1167，改为self.tokenizer.pad_token_id=-100


Ensingm2 update

So... I changed some stuff.
Couple highlights:

AutoBuyBP implemented better
Users now but LN if they have too much BP just to spend on WHs, (then other things too if still more after that)
A lot of visual updates
scriptName, version & link to github page in top right
Added stats and settings drawers
Link to IRC channel
Disabled abilities are now obviously disabled visually, instead of just having a blank icon.
Added checks to make sure the user does not go over 100% crit chance (As some people have reported you loop back to 0)
A few other bug fixes (feel free to look at my commits)

You'll probably want to test out the branch first:
https://github.com/ensingm2/MonsterMinigameWormholeWarp/raw/master/autoplay.noUpdate.user.js
Merge this into master if you want. Or don't. Your call.


Correct way to use ${intensity.percent}

Hi
I am having an issue with creating the correct syntax for a dim command. I created the following [{"clientId":"echohabridge","topic":"device/status","message":"{"id":999910,"event":{"switch":1,"value":${intensity.percent}}"}], however the data received when executed is {"id":999910,"event":{"switch":1,"value":${intensity.percent}}}. I guess I have got the escaping wrong or something else. Can someone point me in the right direction please?

This is a duplicate of #303...
I forgot to implement the replacement for mqtt messages. this is fixed in the new release coming out. You can check it out at #371

Did not see that issue, must admit I got so far reading them the information overload happened!
Thanks


No File Locksmith option in the right-click menu

Microsoft PowerToys version
0.65.0
Installation method
GitHub
Running as admin
Yes
Area(s) with issue?
File Locksmith
Steps to reproduce
Right click a file

✔ Expected Behavior
No response
❌ Actual Behavior
No response
Other Software
No response

I can't read the options on your screen shot but I will tell you this.  I had some trouble finding it on my computer.  I have version 0.66.0 installed and the context menu option is named "What's using this file?".  I hope this helps.

Is this issue still relevant in v0.79? /needinfo


[Task] move jdk-ser to spi-extensions

What is the purpose of the change
move jdk-ser to spi-extensions  https://github.com/apache/dubbo-spi-extensions/pull/417
Brief changelog
https://github.com/apache/dubbo-spi-extensions/pull/417
Verifying this change

Checklist

[x] Make sure there is a GitHub_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GitHub issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Each commit in the pull request should have a meaningful subject line and body.
[ ] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[ ] Check if is necessary to patch to Dubbo 3 if you are work on Dubbo 2.7
[ ] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[ ] Add some description to dubbo-website project if you are requesting to add a feature.
[ ] GitHub Actions works fine on your own branch.
[ ] If this contribution is large, please follow the Software Donation Guide.

The generalization call might use the nativejava serialization, which would cause the rpc call to keep failing. What should I do?


Canvas Clean after Rezise Window, When SignaturePad load from data / dataUrl

When SignaturePad load from data / dataUrl, and i rezise window client (browser), canvas changes to an empty field.
Before Rezise Windows
https://ibb.co/WBKPSYX
After Rezise Window :
https://ibb.co/n0rwF6G

refer to this : https://github.com/szimek/signature_pad/issues/476

function resizeCanvas() {
        // When zoomed out to less than 100%, for some very strange reason,
        // some browsers report devicePixelRatio as less than 1
        // and only part of the canvas is cleared then.
        var context = canvas.getContext("2d"); //context.getImageData(0,0,canvas.width,canvas.height)
        var imgData = signaturePad ? signaturePad.toData() : null;
        var ratio =  Math.max(window.devicePixelRatio || 1, 1);
        canvas.width = canvas.offsetWidth * ratio;
        canvas.height = canvas.offsetHeight * ratio;
        context.scale(ratio, ratio);
        // context.putImageData(imgData,0,0);
        imgData && signaturePad.fromData(imgData);
    }

    window.onresize = resizeCanvas;
    resizeCanvas();


BufferHandler doesn't work on PHP-PM

I'm testing my Symfony 3.3 application using PHP-PM (HttpKernel bridge) and I'm getting a issue with deduplication handler as described in php-pm/php-pm-httpkernel#62.
When start the application with ppm the register_shutdown_function callback is never called, and I cant figure out a solution for that.
Regards.

The way to go is to manually call close() on the BufferHandler instances, and in Monolog 2.x close is part of the HandlerInterface so such implementations should just close all monolog handlers at the end of every process lifecycle IMO.


build: bump all ti plugins version

Feel free to merge it.

/merge

/test all

I have no idea what happened to codecov.

I have no idea what happened to codecov.

Codecov says “Missing base report”, But I don't know how to fix it.

oh, I see.
This is because our master branch CI failed. Maybe we can merge it directly by changing the requirements.


Is this project dead ?

There hasn't been any activity since last year . Is this project no longer maintained ? @streadway

Team RabbitMQ plans to fork this client and develop or at least accept contributions at a higher rate, without the remarkably strict dedication to backwards compatibility. I cannot provide an ETA but the next couple of months sounds realistic.

I think that's a good plan. I simply don't have the time to accept patches
and tests for this project, and bringing under the RabbitMQ codebases makes
sense.
On Fri, Mar 5, 2021 at 2:10 AM Michael Klishin<EMAIL_ADDRESS>wrote:

Team RabbitMQ plans to fork this client and develop or at least accept
contributions at a higher rate, without the remarkably strict dedication to
backwards compatibility. I cannot provide an ETA but the next couple of
months sounds realistic.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/streadway/amqp/issues/497#issuecomment-791068860, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAE2DZ2PM36IL5ERCFWFETTCAVPXANCNFSM4XUXXBFQ
.


Inverse bevy_render bevy_winit dependency and move cursor to bevy_winit

Objective

bevy_render should not depend on bevy_winit
Fixes #15565

Solution

bevy_render no longer depends on bevy_winit
Move custom cursor code from bevy_render to bevy_winit
bevy_winit now depends on bevy_render (for Image and TextureFormat)
bevy_winit now depends on bevy_asset (for Assets, Handle and AssetId)
bevy_winit now depends on bytemuck (already in tree)
Custom cursor code in bevy_winit reworked to use AssetId (other than that it is taken over 1:1)
Rework bevy_winit custom cursor interface visibility now that the logic is all contained in bevy_winit

Testing

I ran the screenshot and window_settings examples
Tested on linux wayland so far

Migration Guide
CursorIcon and CustomCursor  previously provided by bevy::render::view::cursor is now available from bevy::winit.

I don't want to bevy_winit to unconditionally depend on bevy_render. That breaks anyone using bevy_winit, but with a custom non-wgpu renderer.

I don't want to bevy_winit to unconditionally depend on bevy_render (and to a lesser extent bevy_asset). That breaks anyone using bevy_winit, but with a custom non-wgpu renderer.

That makes sense, yeah. With #15650 I should be able to remove bevy_render in favor of bevy_image.
bevy_asset will remain though, because we need to go from Handle to Image somehow.

Imo we should feature flag this and make bevy_render and bevy_assets optional dependencies flagged behind the feature. @alice-i-cecile thoughts?

Strongly agree on a feature flag here. On by default is preferred though.

Great point with the feature.
I have added a custom_cursor feature on the new bevy_winit dependencies. I would like some guidance on how to deal with that in the examples. Feels like it should not be a default feature, but I am not sure how to test it then. Any existing examples that deal with a non-default feature?

I think that this is fine to be on by default. Anyone who's sophisticated or picky enough to not pull in bevy_render will have default features off anyways.

Also bevy_render -> bevy_image does not seem worth it, because I still need TextureFormat. So I either need bevy_render or wgpu (wgpu-types?) anyways.

@atlv24 could you take a look at this PR since it relates to your rendering splitting work?


Bluetooth: Logging: Make BT_LOG and BT_LOG_LEGACY hidden symbols

Make BT_LOG and BT_LOG_LEGACY hidden Kconfig symbols.
They should not be used by the user to configure the Bluetooth logging system. If the user want to completely disable Bluetooth logging, they should use BT_LOG_LEVEL_OFF=y.

@theob-pro Adding:
Fixes: #56627

to PR description will automatically close #56627 once this PR is merged.


feature: AMI for fast deployment onto AWS

Feature scope
Other
Description
Job Story:
As a new Meltano user, when doing a PoC or deploying my first projects into production, I would love to have an AMI ready inside the AWS marketplace so that I can effectively do a "one click deployment of Meltano" for my purposes (for the first 1-2 years...).
Context:

AWS is the biggest cloud provider
The "single fat instance" deployment is easy to do and favored by quite a few long time Meltano users
AWS AMIs are a really easy way of getting started
AWS AMIs are common among other OS projects, see e.g. https://redash.io/help/open-source/setup#aws

@tayloramurphy @aaronsteers

We used to have a Digital Ocean droplet for a while.

The previous DigitalOcean implementation was dropped because of low usage and difficult maintenance/test profile.
I don't see a strong case for supporting EC2 while it's just as easy for users to create a long-lived ECS container these days. I'd also be concerned that support and maintenance will pull us away from other critical deliverables.
While it's easy enough to create a single AMI, that doesn't cover security review, template creation, docs authoring and maintenance, patching and updating the image, and then customizing/debugging the deployment with supporting services like Postgres or similar.
Are there generic templates that could serve this need? Or could we pick this up for consideration after Cloud GA perhaps?

@aaronsteers I'm interested in your comment "just as easy to to create long-lived ECS containers".
I'm not 100% up to the AWS features, so I'm just curious. The last time I checked deploying an Meltano AMI would literally mean 1. upload your SSH key 2. click a button inside the AMI Marketplace.
The ECS task sounds harder to do, but as said, I haven't deployed any from the UI to be honest, maybe it's just as easy?

Still relevant, but a lower priority at the moment.