Allow partial offer matches on Pool Lite

Is your feature request related to a problem? Please describe.
When trying to submit a public ask offer to LOOPs bid, I receive an insufficient account balance error (see screenshot attached).
My account balance can't match the whole bid order listed, but it can definitely match LOOPs min channel size requirement from that bid offer.
Describe the solution you'd like
Pool should create a ask offer that matches the selected bid offer with my max available account balance.
Additional context

Hi, first of all, thank you so much for all of the feedback on this experience. It's relatively new and it's immensely helpful for us to get reports of the pain points that users encounter so that we can improve the experience. This is a great catch/call-out! We need to improve these flows significantly to allow for a more clear user choice to match to a different sized order than the maximum. We're working through new flows to help make that more clear.
In the meantime, I do have a hacky way to make this work. If you click an order that you want to match to, instead of clicking submit, you can click Go Back and then re-adjust the size of the order that you want to submit. Again, we know this UX flow is not ideal and we'll improve it in the future. But, for now, this flow should work for your use case.
Thanks again for the feedback!


Serializer calls $value->getId() but this method could have function argument(s)

How do you use Sentry?
Sentry Saas (sentry.io)
Version
3.13.1
Steps to Reproduce
When serializing an object, the SDK calls $value->getId() but for a couple of my classes, the getId() method actually has a required function argument, and so the object is serialized as {serialization error} .  In case you're wondering why getId() would have an argument, one example would be that the method doesn't get its own ID, it gets the ID of some other object that you pass in as the function argument.
This is a minor issue as it only affects the serialization output - nothing is thrown outside of the serializer. But I was thinking there could be an extra try/catch around this call, so any thrown error can be ignored and the usual class name can be returned?
Expected Result
The object should be serialized as 'Object ' . \get_class($value)
Actual Result
The object is serialized as {serialization error}

Oops, looks like this was already fixed in dev branch via #1483 :D

Released via https://github.com/getsentry/sentry-php/releases/tag/3.14.0


Cade Scanner doesn't scan codes on the left side of screen❓

Question
I update my react-native app:
react-native 0.69.1 -> 0.72
react-native-vision-camera 2.14.1 -> 3.6.12
Before updates I use vision-camera-code-scanner for scanning barcodes and scanner scan barcodes on full screen (and the issue was to create custom reaction zone)
But after update the I set the regionOfInterest and it's not work.
Also I found that on the left side of the screen zone where scanner not work (not matter use regionOfInterest or not)
The device.sensorOrientation landscape-right
The screen orientation portrait
Use Android Emulator - Pixel_4_API_34
P.S.  regionOfInterest - not work

in red not scanned zone
What I tried
I tried to set the orientation in props of Camera not help.
The start position of screen in top left side but  start position of camera frame is top right side.
Frame: {"height": 720, "width": 1280}
Code usage:
const codeScanner = useCodeScanner({
    codeTypes: [
      'code-128',
      'code-39',
      'code-93',
      'codabar',
      'ean-13',
      'ean-8',
      'itf',
      'upc-e',
      'qr',
      'pdf-417',
      'aztec',
      'data-matrix',
    ],
    onCodeScanned: (codes, frame) => {
      console.log('🚀 ~ ScanBarcode ~ frame:', frame);

      console.log('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
      console.log('codes', codes.length);
      console.log('code', codes?.[0]);
      console.log('~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~');
    },
    regionOfInterest: {
      x: layoutPosition.x,
      y: layoutPosition.y,
      width: layoutPosition.width,
      height: layoutPosition.height,
    },
  });

   <Camera
      style={StyleSheet.absoluteFill}
      device={device}
      isActive={isFocused}
      audio={false}
      orientation="portrait"
      codeScanner={codeScanner}
    />

VisionCamera Version
3.6.12
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

@mrousavy

Still facing this issue

Hey! I think this has already been fixed. If not, feel free to re-open :)


[AU] Split - Unable to create split expense in group chat "The sum of splits" error appears

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: 9.0.19-11
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/4852283&group_by=cases:section_id&group_id=295816&group_order=asc
Logs: https://stackoverflow.com/c/expensify/questions/4856
Issue reported by: Applause-Internal team
Action Performed:

Navigate to https://staging.new.expensify.com/
Log in with a new Gmail account
Navigate to FAB - Start chat
Make a group chat with two new Gmail members
In the group chat, navigate to Composer "+" button - Split expense
Enter any amount and tap on the "Next" button

Expected Result:
I should be able to do a split in a group chat without any error messages. The participants should only be the members of the group chat.
Actual Result:
Unable to create a split expense in a group chat. "The sum of splits must equal the total amount." error message appears. Two "Unavailable workspace" members are also added.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[ ] MacOS: Desktop

Screenshots/Videos
https://github.com/user-attachments/assets/c6d07e87-7b8a-4b7f-8d3a-3450908175e0

View all open jobs on GitHub

We think this issue might be related to the #vip-split

#vip-split is on hold as far as I'm aware, and the menu item is not far from being removed. Just checking in on this.

VIP Split is on hold, If this is the same underlying issue as the other, let's close this one.


[Core][WIP] Make the object in TorrentBroadcast as transient

What changes were proposed in this pull request?
WIP
How was this patch tested?
Jenkins test.
Please review http://spark.apache.org/contributing.html before opening a pull request.

I am not sure if I am missing something. But looks like we serialize the object in TorrentBroadcast? If I understand it wrongly, I'd close this.
cc @cloud-fan @hvanhovell

Test build #77168 has started for PR 18055 at commit a63df74.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/77168/
Test FAILed.


Fixed bugs for issue 168

In response to #168

Before, we were normalising by doing (value - min_value)/(max_value - min_value). Now, if min_value == max_value, setting the value to 0, according to https://stats.stackexchange.com/questions/441342/same-value-of-min-and-max-in-min-max-normalisation
Added check to ensure that predictions aren't numpy.float32
Added support for columns in query_instance not being in the same order as the dataset
Added test to check the case when min & max of a column are equal
Added test to check that no error is raised when the outcome is not the last column

Looks good to me now. @gaugup Can you confirm? Now the code allows outcome to be any position in the columns, not necessarily last.


pretrained model require

Hello! I want to run the demo 'save_predictions.py' and 'demo_bayesian_fusion.py', but I didn't found the pretrained weights 'out_model_iter_42000.pth'.  Where can I get it?Thanks

I am still in the process of updating the code base, so I'll upload the pre-trained models once everything is done, thanks

Hi @xiyufeng2,
I just released the pretrained models. Please check out here: https://drive.google.com/drive/folders/1U1qXYPmts8Xl9xhc1Asb_VpR-_szfNv9?usp=sharing, thanks!


Add this repo to .goassets sync

Done! https://github.com/pion/.goassets/commit/68fc4c81dd5fe93ef29283a47c8c344ac2ea6781


Add shlwapi to leveldb target_link_libraries

When cross-compiling using MinGW over Debian 10, the install part complained of shlwapi library missing.
I have included it with this pull request.

@googlebot I signed it!

Thanks for your pull request. It looks like this may be your first contribution to a Google open source project (if not, look below for help). Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
📝 Please visit https://cla.developers.google.com/ to sign.
Once you've signed (or fixed any issues), please reply here with @googlebot I signed it! and we'll verify it.
What to do if you already signed the CLA
Individual signers
* It's possible we don't have your GitHub username or you're using a different email address on your commit. Check [your existing CLA data](https://cla.developers.google.com/clas) and verify that your [email is set on your git commits](https://help.github.com/articles/setting-your-email-in-git/).

Corporate signers
* Your company has a Point of Contact who decides which employees are authorized to participate. Ask your POC to be added to the group of authorized contributors. If you don't know who your Point of Contact is, direct the Google project maintainer to [go/cla#troubleshoot](http://go/cla#troubleshoot) ([Public version](https://opensource.google/docs/cla/#troubleshoot)).

* The email used to register you as an authorized contributor must be the email used for the Git commit. Check [your existing CLA data](https://cla.developers.google.com/clas) and verify that your [email is set on your git commits](https://help.github.com/articles/setting-your-email-in-git/).

* The email used to register you as an authorized contributor must also be [attached to your GitHub account](https://github.com/settings/emails).

ℹ Googlers: Go here for more info.

Thank you for your contribution!
We're not currently planning to support this setup. (cross-compilation with mingw)
I'm glad you were able to figure out a workaround to get this project to build in your setup, though!


A small bug in ml-bench/transformer 's compilation?

When I run transformer's compilation, I met two issues:

NVCC is not correct, I change "/usr/local/cuda-12.2/bin/nvcc" into "/usr/local/cuda/bin/nvcc", is cuda-12.2 necessary? (Maybe not..?)
I need to mannually create a build folder: mkdir -p build. I guess the makefile should add this somewhere...

Good point. There are instructions on how to use script for evaluation. these instructions will be uploaded in sometime.


chore: Suppress MD046 and MD047

Rules were added after the intial file submission

Microsoft authors of articles need to make updates through the private repository so the updates can be staged and validated by the current validation rules. After you review staging and fix all validation issues, you can add the sign-off comment to let the PR reviewers know the updates are ready to be merged.It's easy to access the private repo version of your articles in GitHub. Just add -pr to the URL, as follows:
Public repo URL: https://github.com/Microsoft/azure-docs/blob/master/articles/azure-portal-overview.md
Private repo URL: https://github.com/Microsoft/azure-docs-pr/blob/master/articles/azure-portal-overview.md
We have closed this pull request. Please resubmit the updates through the private repo. If you need perms to the private repo, see the contributor guide instructions

@Jak-MS @ktoliver looks like the bot got confused here. I filed an bug on the feedback repo for that. Can you reopen this?

@nschonni - it looks like PRMerger was a bit over-zealous here.
@SyntaxC4 - can you take a look at the changes here?
thanks.


Stabilization of long e2e tests

increased timeout since in case of ssd drive scaling and upgrading of cluster takes more time than in case of RAM drive
taint only worker nodes - for contrail/openstack services all nodes are equal, however k8s may not work correctly if master node has taint
in command HA test scale only command and psql

recheck ha

recheck ha


Used this plugin for CSS files in one project and it seems it can not open it in Firefox Mozilla

Looks like it is not able to open in Mozilla browser, it opens up but witouth any .css files. The file is on an external disk. Is there a way to fix it?
Thank you in advance.
Kind regards,
Klara Z.

Hello, @KlaraZdjelarevic,
Unfortunately, I don't understand what you're talking about. Can you give the steps so that I can reproduce the problem?


Perform further system test of shard precreation

I had test data write some data to the past, and saw the output below from shard precreation. I need to confirm if it is correct. The logging also needs more details, such as start and end times for the created shard groups and shards.
2015/06/17 11:49:08 pre-creating successive shard group for group 1, database db, policy rp
2015/06/17 11:49:09 new shard group 3 successfully created
2015/06/17 11:49:09 pre-creating successive shard group for group 2, database db, policy rp
2015/06/17 11:49:10 new shard group 4 successfully created
2015/06/17 11:59:10 pre-creating successive shard group for group 1, database db, policy rp
2015/06/17 11:59:10 new shard group 3 successfully created
2015/06/17 11:59:10 pre-creating successive shard group for group 2, database db, policy rp
2015/06/17 11:59:10 new shard group 4 successfully created
2015/06/17 11:59:10 pre-creating successive shard group for group 3, database db, policy rp
2015/06/17 11:59:10 new shard group 2 successfully created

I suspect much of the output is from CreateShardGroupsIfNotExist which doesn't actually create the groups if they already exist. The log message may need to be updated to reflect this reality.

yes please, some more insight here would be helpful

Confirmed, logging gives the impressions that shard groups are constantly being created, which is not the case.

Shard creation logging is now sensible.


Feature: upgrade footer social media icons from PNG to SVG Icons

Is your feature request related to a problem? Please describe
Currently CircuitVerse uses PNG logos in the footer for social handles which doesn't good look and pngs are larger than svg

Describe the solution you'd like
Suggested UI with SVGs

Video of Solution
Screencast from 30-11-23 08:42:30 PM IST.webm
Describe alternatives you've considered
No response
Additional context
I removed tooltip but will add if it is required.
Are you working on this?
Yes

I am new to Open Source, Would like to work on this issue

@theslowdeveloper i would love to work on this issue!

@senbo1 Go ahead !
Convert to SVG and reduce the required dimensions. You can take exisiting facebook logo's dimension as a scale.
But, rather than converting to grayscale, we may keep existing actual colour.
If you think to convert it to grayscale, you may discuss on slack ux channel


panic windows: should never call ListPackages on root project

happening on solve when packages are nested in root project:
Build started
git config --global core.autocrlf input
git clone -q git@github.com:golang/hoard.git c:\gopath\src\github.com\golang\hoard
Warning: Permanently added the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts.
git fetch -q origin +refs/pull/96/merge:
git checkout -qf FETCH_HEAD
Running Install scripts
rmdir c:\go /s /q
appveyor DownloadFile https://storage.googleapis.com/golang/go%GOVERSION%.windows-amd64.msi
Downloading go1.7.windows-amd64.msi (74,977,280 bytes)...100%
msiexec /i go%GOVERSION%.windows-amd64.msi /q
set Path=c:\go\bin;c:\gopath\bin;%Path%
go version
go version go1.7 windows/amd64
go env
set GOARCH=amd64
set GOBIN=
set GOEXE=.exe
set GOHOSTARCH=amd64
set GOHOSTOS=windows
set GOOS=windows
set GOPATH=c:\gopath
set GORACE=
set GOROOT=C:\go
set GOTOOLDIR=C:\go\pkg\tool\windows_amd64
set CC=gcc
set GOGCCFLAGS=-m64 -mthreads -fmessage-length=0
set CXX=g++
set CGO_ENABLED=1
go build
go test
--- FAIL: TestInit (3.50s)
	hoard_test.go:262: git [checkout v0.8.0] standard error:
	hoard_test.go:263: Note: checking out 'v0.8.0'.

		You are in 'detached HEAD' state. You can look around, make experimental
		changes and commit them, and you can discard any commits you make in this
		state without impacting any branches by performing another checkout.

		If you want to create a new branch to retain commits you create, you may
		do so (now or later) by using -b with the checkout command again. Example:

		  git checkout -b <new-branch-name>

		HEAD is now at 645ef00... doc tweaks

	hoard_test.go:262: git [checkout 42b84f9ec624953ecbf81a94feccb3f5935c5edf] standard error:
	hoard_test.go:263: Note: checking out '42b84f9ec624953ecbf81a94feccb3f5935c5edf'.

		You are in 'detached HEAD' state. You can look around, make experimental
		changes and commit them, and you can discard any commits you make in this
		state without impacting any branches by performing another checkout.

		If you want to create a new branch to retain commits you create, you may
		do so (now or later) by using -b with the checkout command again. Example:

		  git checkout -b <new-branch-name>

		HEAD is now at 42b84f9... Merge pull request #384 from mnzt/master

	hoard_test.go:167: running testhoard [init]
	hoard_test.go:187: standard error:
	hoard_test.go:188: hoard: Finding dependencies for "github.com/golang/notexist"...
		hoard: Found 3 dependencies.
		hoard: Building dependency graph...
		hoard: no buildable Go source files in C:\Users\appveyor\AppData\Local\Temp\1\gotest447160834\src\github.com\golang\notexist
		hoard: Package "github.com/golang/notexist/foo", analyzing...
		hoard: Package "github.com/golang/notexist/foo" has import "github.com/Sirupsen/logrus", analyzing...
		hoard: Package "github.com/golang/notexist/foo" has import "github.com/pkg/errors", analyzing...
		hoard: Package "github.com/golang/notexist/foo/bar", analyzing...
		hoard: Analyzing transitive imports...
		hoard: Analyzing "github.com/pkg/errors"...
		hoard: Analyzing "github.com/Sirupsen/logrus"...
		hoard: Analyzing "golang.org/x/sys/unix"...
		hoard: Solving...
		Root project is "github.com/golang/notexist"
		 2 transitively valid internal packages
		 3 external packages imported from 3 projects
		✓ select (root)
		| ? revisit github.com/golang/notexist to add 1 pkgs
		panic: should never call ListPackages on root project

		goroutine 1 [running]:
		panic(0x787fc0, 0xc0421adde0)
			C:/go/src/runtime/panic.go:500 +0x1af
		github.com/golang/hoard/vendor/github.com/sdboyer/gps.(*bridge).ListPackages(0xc042422ff0, 0xc04240bae0, 0x1a, 0x0, 0x0, 0x9b9460, 0xc0421adc10, 0x30, 0x12, 0x0, ...)
			c:/gopath/src/github.com/golang/hoard/vendor/github.com/sdboyer/gps/bridge.go:283 +0x22d
		github.com/golang/hoard/vendor/github.com/sdboyer/gps.(*solver).checkRequiredPackagesExist(0xc0424245a0, 0xc04240bae0, 0x1a, 0x0, 0x0, 0x9b9460, 0xc0421adc10, 0xc0421add30, 0x1, 0x1, ...)
			c:/gopath/src/github.com/golang/hoard/vendor/github.com/sdboyer/gps/satisfy.go:111 +0xa7
		github.com/golang/hoard/vendor/github.com/sdboyer/gps.(*solver).check(0xc0424245a0, 0xc04240bae0, 0x1a, 0x0, 0x0, 0x9b9460, 0xc0421adc10, 0xc0421add30, 0x1, 0x1, ...)
			c:/gopath/src/github.com/golang/hoard/vendor/github.com/sdboyer/gps/satisfy.go:28 +0x149
		github.com/golang/hoard/vendor/github.com/sdboyer/gps.(*solver).solve(0xc0424245a0, 0x0, 0x0, 0x1)
			c:/gopath/src/github.com/golang/hoard/vendor/github.com/sdboyer/gps/solver.go:427 +0x2d9
		github.com/golang/hoard/vendor/github.com/sdboyer/gps.(*solver).Solve(0xc0424245a0, 0x55, 0xc042129cc0, 0x1a, 0xc042156840)
			c:/gopath/src/github.com/golang/hoard/vendor/github.com/sdboyer/gps/solver.go:330 +0x95
		main.(*initCommand).Run(0x9f2570, 0xc042037d90, 0x0, 0x0, 0x0, 0x0)
			c:/gopath/src/github.com/golang/hoard/init.go:151 +0x1025
		main.main()
			c:/gopath/src/github.com/golang/hoard/main.go:95 +0x652

	hoard_test.go:197: go [init] failed unexpectedly: exit status 2
	hoard_test.go:84: remove C:\Users\appveyor\AppData\Local\Temp\1\gotest447160834\src\github.com\golang\notexist: The process cannot access the file because it is being used by another process.
FAIL
exit status 1
FAIL	github.com/golang/hoard	27.523s
Command exited with code 1

yeah, i need to create a regression test to specifically cover this. i just wish the trace output here:
| ? revisit github.com/golang/notexist to add 1 pkgs
indicated which package it was trying add :/

We figured out what the problem is - there's a filepath.Clean() call in the bowels of gps.PackageTree.ExternalReach(), which causes slashes to get normalized back to os.Separator. It's ephemeral, so we don't see the results emerge anywhere outside of the method call, but the normalized path is used to do prefix checking.
Thus, on a windows machine, github.com/golang/notexist is mistaken as NOT being a prefix of github.com/golang/notexist/foo/bar, and the solver ends up trying to revisit something in the root package.
I need to figure out if that filepath.Clean() call is even necessary. IIRC, my original intent was to use it to deal with weird relative import path situations, but I'm not actually sure if that's really possible anymore at that point, or if it's even worth dealing with the situation when it arises.

should be all solved now


Soloseng/store-request-in-combiner

Description
A few sentences describing the overall effects and goals of the pull request's commits.
What is the current behavior, and what is the updated/expected behavior with this PR?
Other changes
Describe any minor or "drive-by" changes here.
Tested
An explanation of how the changes were tested or an explanation as to why they don't need to be.
Related issues

Fixes #[issue number here]

Backwards compatibility
Brief explanation of why these changes are/are not backwards compatible.
Documentation
The set of community facing docs that have been added/modified because of this change

Putting this PR on ice 🧊 until we have a better idea based on metrics if it will bring any improvement.

closed in favor of caching


Make Lift Down Speed use linear interpolation

Currently, Scorer sets the lift.downPower to one of three values based on the current height of the lift.  Large changes in speed cause problems, so we need to smooth them out.  We can do this with a 5-point curve and linear interpolation.
Here is what I think would work:

The five points should home (0), high junction preset (700), and three more points spaced evenly between them.  We don't really care what the speed does above the high junction preset.
The downSpeed at each of the 5 points should be set by 5 different dashboard-accessible values, instead of using OptionsOp.
The code block in Scorer.act() that sets the lift.downSpeed should identify the closest two points to the current position and use linear interpolation to calculate the correct downSpeed value.

This is better addressed in the Lift Tuning section with an algorithmic change


Cache state in localStorage (WIP)

We can cache parts of the state in local storage to achieve almost instantaneous load times.

We can also compress that data nice and small:

It looks a bit like this:

This is exciting! One thing to consider is what this behavior should be like as the landing page gets more dynamic.

Yes, I was trying to cache the minimum necessary data to speed everything up. This branch was forked from the claim ids branch. I'm actually only caching a very small subset of the state. Just the byId, claimsByUri and myClaims properties of the claims store property. This way we still lookup featured content, uploaded/downloaded files, etc, and just load the claim from cache. Hopefully we can also minimize situations where we change the structure of the data and it's different in the cache like this too.
Remaining to do here is investigate cache expiry. I'm looking at adding at time based expiration to individual claims. I'm not too sure what happens if the cache size hits the localStorage 10MB limit. I couldn't find much information on how redux-persist handles that case. Even compressed, the cache does grow fairly rapidly. I was able to grow it to 230KB after 30 minutes of searching.
We will also need to refresh claim data while navigating to ensure updated claims are synced to the store/cache.

A few comments:

Rather than worrying about date based time outs, we could just always refresh when serving from a cached state, possibly with some minor indicator that potentially stale data is being rendered in the interim.
We can invalidate cached data via the build process as well. For example, it could be directly tied to lbryschema or lbry version numbers.
The slowness of file_list and claim_list_mine and other API calls is a relatively high priority for improvements to the daemon. This doesn't really affect anything here, just letting you know.

I think the problem is more about users using the app for long enough that localstorage limits are reached, which seems possible within around 1 full day of heavy usage. Of course this also makes date based timeouts not particularly useful. Seems like a FIFO strategy would be great here, but not particularly easy to implement. 100% agree we should refresh when serving from cache. Unless I'm missing something I don't think invalidating from builds is going to help that much in this case, at least once releases become a bit less frequent. I'm kind of hoping redux-persist just handles storage full out of the box. Going to look into that today.
Those daemon improvements will be great. claim_list_mine results are actually already in the cache and refreshed as you navigate. file_list did seem like a good caching target too. Not sure how much optimization can be done when you need to read from the file system? I didn't add those to the cache yet though, just to keep it simple.

Most slow API commands are driven by remote calls to validate signatures. File list is slow not from disk reads but because it is re-validating the claim info every time it is fetched.
Yes, this is dumb.

Ok @kauffj, so there are 2 separate issues here.

localStorage filling up. I've fixed this by switching to localForage which uses indexedDB under the covers. Electron has much larger size limits for this and when it does hit them indexedDB handles eviction itself on a LRU basis.

Making sure that the claims/prices/fileInfo/etc are updated. This is a general issue now that everything is in redux and we need to figure out a nice way to sync data. I think we tackle that separately.

Just rebased on master and squashed into one commit.

Realized that this would cause some problems on the discover page. Cached claim data wouldn't get updated so people wouldn't see updated community content.
I've added some code to force claims to be refreshed on the discover page and on the show page when it's mounted.  Search already seems to resolve claim data so I just made that a little more efficient with batch actions.
@kauffj

I'd like to wait to merge into master until after we release 0.12.

Closing this in favour of https://github.com/lbryio/lbry-app/pull/225


add framework FailoverTimeout to 1 weeks

add FailoverTimeout to 1 week
update some style

Codecov Report

Merging #591 into master will decrease coverage by 0.02%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #591      +/-   ##
==========================================
- Coverage   19.81%   19.79%   -0.03%
==========================================
  Files          29       29
  Lines        1726     1728       +2
==========================================
  Hits          342      342
- Misses       1340     1342       +2
  Partials       44       44


[wip]feat:no need to set ip and password for sealer run

Describe what this PR does / why we need it
Does this pull request fix one issue?

Describe how you did it
For example, I have logged in to a machine which as my master0 node, and my cluster only have this one node.
and then I just want to initialize the machine. At this time, I don’t need to enter the password and ip addresses . cmd "sealer run " will success .
Example : "sealer run kubernetes:v1.19.8"
Describe how to verify it
Special notes for reviews

/test apply

awesome feature~


Network failure after using socks5 proxy on rustup 1.17.0

Problem
Failed to make network request when update using socks5 proxy on 1.17.0.
Steps

The last time I updated my rustup is when stable-1.33.0 release, I can't remember which version that is.
Today, I run set https_proxy=socks5://<IP_ADDRESS>:1080 and rustup self update. The rustup upgraded to 1.17.0 successfully.
The I run rustup update nightly, and there cames an error.

info: syncing channel updates for 'nightly-x86_64-pc-windows-msvc'
error: could not download file from 'https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256' to 'C:\Users\myname\.rustup\tmp\kf4wksnp1qdcizk__file'
info: caused by: failed to make network request
info: caused by: https://static.rust-lang.org/dist/channel-rust-nightly.toml.sha256: an error occurred trying to connect: unexpected eof while tunneling
info: caused by: unexpected eof while tunneling

and my proxy soft only shows  this:invalid socks handshake message.
3. Finally I run set https_proxy=http://<IP_ADDRESS>:1081 and rustup update nightly, it work well.
Possible Solution(s)
Use HTTP proxy.
Notes
OS: Windows 10 64bit 17763.79
Output of rustup --version:
rustup 1.17.0 (069c88ed6 2019-03-05)

Output of rustup show:
Default host: x86_64-pc-windows-msvc

installed toolchains
--------------------

stable-x86_64-pc-windows-gnu
stable-x86_64-pc-windows-msvc (default)
nightly-x86_64-pc-windows-msvc

active toolchain
----------------

stable-x86_64-pc-windows-msvc (default)
rustc 1.33.0 (2aa4c46cf 2019-02-28)

@seanmonstar Any chance reqwest will support socks proxying?

There was a PR to add support in reqwest, it stalled due to the socks lib being blocking IO only (and reqwest tries to use non-blocking internally), but I can push it through anyways.

reqwest v0.9.14 now has an optional socks cargo feature. By enabling it, I believe the combination with env_proxy should be enough to use SOCKS5 automatically.


Conflict of ScaleTransition with AnimatedSwitcher, Flutter web

I have a row with two buttons, that are scaling up on mouse hover without any issues.

Then I placed AnimatedSwitcher with custom transitionBuilder inside those buttons so their layout would be changed on tap.

The problem occurs after both buttons have been tapped. From now on, scaling the size of buttons instantly disproportionately shifts the content in the upper left direction. The issue is not stable and sometimes is not happening, but most of the time it is.

The best way to trigger an error is to scroll through the external container so that the buttons are only partially visible
Steps to Reproduce
Build method of individual button
@override
  Widget build(BuildContext context) {
    return Consumer<PageState>(
      builder: (_, model, child) {
        Widget switchableContent = widget.role == model.role
            ? widget.expandedContent
            : Padding(
                padding: EdgeInsets.all(5.0),
                child: Container(
                  alignment: Alignment.center,
                  child: Column(
                    mainAxisAlignment: MainAxisAlignment.center,
                    crossAxisAlignment: CrossAxisAlignment.center,
                    children: <Widget>[
                      AutoSizeText(
                        widget.roleName,
                        style: Theme.of(context)
                            .textTheme
                            .headline2
                            .copyWith(fontSize: 30),
                      ),
                      Text(
                        widget.roleEmoji,
                        style: Theme.of(context)
                            .textTheme
                            .headline1
                            .copyWith(fontSize: 90),
                      ),
                    ],
                  ),
                ),
              );

        return MouseHover(
          onHover: () {
            if (widget.role != model.role) {
              hoverController.forward();
            }
          },
          onExit: () {
            hoverController.reverse();
          },
          child: GestureDetector(
            onTap: () {
              if (widget.role != model.role && widget.onSelect != null) {
                widget.onSelect();
              }
              model
                  .setRole(model.role == widget.role ? Role.NONE : widget.role);
              hoverController.reverse();
            },
            child: ScaleTransition(
              scale: hoverAnimation,
              child: Container(
                height: 200,
                alignment: Alignment.center,
                clipBehavior: Clip.antiAlias,
                decoration: BoxDecoration(
                  borderRadius: BorderRadius.circular(8.0),
                  color: widget.color,
                ),
                child: AnimatedSwitcher(
                  duration: Duration(milliseconds: 750),
                  transitionBuilder: (wg, animation) {
                    return SlideTransition(
                      position: Tween<Offset>(
                        begin: Offset(1.0, 0),
                        end: Offset(0, 0),
                      ).animate(animation),
                      child: FadeTransition(
                        opacity: animation,
                        child: wg,
                      ),
                    );
                  },
                  switchInCurve: Curves.easeInOutCirc,
                  child: switchableContent,
                ),
              ),
            ),
          ),
        );
      },
    );
  }

Expected results: I expect ScaleTransition to behave as it was before interaction.
Actual results: unpredicted layout shifting on triggering the scale animation

[✓] Flutter (Channel beta, v1.14.6, on Mac OS X 10.15.3 19D76, locale ru-RU)
    • Flutter version 1.14.6 at /Users/sunfoxx/Development/flutter
    • Framework revision fabeb2a16f (3 weeks ago), 2020-01-28 07:56:51 -0800
    • Engine revision c4229bfbba
    • Dart version 2.8.0 (build 2.8.0-dev.5.0 fc3af737c7)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
    • Android SDK at /Users/sunfoxx/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 11.3.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 11.3.1, Build version 11C504
    • CocoaPods version 1.8.4

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 3.5)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 43.0.1
    • Dart plugin version 191.8593
    • Java version OpenJDK Runtime Environment (build 1.8.0_202-release-1483-b49-5587405)

[✓] IntelliJ IDEA Community Edition (version 2019.3.3)
    • IntelliJ at /Applications/IntelliJ IDEA CE.app
    • Flutter plugin version 43.0.3
    • Dart plugin version 193.6494.35

[✓] Connected device (2 available)
    • Chrome     • chrome     • web-javascript • Google Chrome 79.0.3945.88
    • Web Server • web-server • web-javascript • Flutter Tools

• No issues found!

UPD: removing transitionBuilder and leaving a default one changes nothing, so the problem is located somewhere else other than SlideTransition

CC @gspencergoog

Removed the web label as this does not look web-specific. @gspencergoog please feel free to triage accordingly.

In trying to reproduce this, I created this simple app based on your example, and I don't see the problem you are seeing. I suspect that what you are seeing has something to do with the layout widgets that you are embedding your buttons inside of.
The app below isn't really the same as your videos in how it behaves, but without the rest of the code, I had to guess for how it is arranged. If you can modify this example to reproduce your problem, or pare down your app to a minimal reproducible case that you can share, that would help a lot.
import 'package:flutter/animation.dart';
import 'package:flutter/gestures.dart';
import 'package:flutter/material.dart';
import 'package:flutter/rendering.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  static const String title = 'Bug Test';

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: title,
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: DefaultTextStyle(
        style: Theme.of(context).textTheme.bodyText2,
        child: Center(
          child: Row(
            children: <Widget>[
              Expanded(
                child: RoleButton(
                  role: Role.developer,
                  color: Colors.red,
                  expandedContent: Container(
                    alignment: Alignment.center,
                    width: 100,
                    height: 100,
                    color: Colors.blueAccent,
                    child: const Text(
                      'Developer Content',
                      textAlign: TextAlign.center,
                    ),
                  ),
                  roleEmoji: Icon(Icons.donut_large),
                  roleName: 'Developer',
                ),
              ),
              Expanded(
                child: RoleButton(
                  role: Role.musician,
                  color: Colors.green,
                  expandedContent: Container(
                    alignment: Alignment.center,
                    width: 100,
                    height: 100,
                    color: Colors.deepPurple,
                    child: const Text(
                      'Musician Content',
                      textAlign: TextAlign.center,
                    ),
                  ),
                  roleEmoji: Icon(Icons.music_note),
                  roleName: 'Musician',
                ),
              ),
            ],
          ),
        ),
      ),
    );
  }
}

enum Role {
  none,
  developer,
  musician,
}

Role rollInEffect = Role.none;

class RoleButton extends StatefulWidget {
  RoleButton({Key key, this.role, this.expandedContent, this.roleEmoji, this.roleName, this.color}) : super(key: key);

  final Role role;
  final Widget expandedContent;
  final Widget roleEmoji;
  final String roleName;
  final Color color;

  @override
  _RoleButtonState createState() => _RoleButtonState();
}

class _RoleButtonState extends State<RoleButton> with TickerProviderStateMixin {
  AnimationController hoverController;
  Animation<double> hoverAnimation;

  @override
  void initState() {
    super.initState();
    hoverController = AnimationController(vsync: this, duration: const Duration(milliseconds: 250));
    hoverAnimation = CurvedAnimation(curve: Curves.easeInOut, parent: hoverController);
    hoverController.forward();
  }

  @override
  void dispose() {
    super.dispose();
    hoverController.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return Builder(
      builder: (BuildContext context) {
        Widget switchableContent = widget.role == rollInEffect
            ? widget.expandedContent
            : Padding(
                padding: EdgeInsets.all(5.0),
                child: Container(
                  alignment: Alignment.center,
                  child: Column(
                    mainAxisAlignment: MainAxisAlignment.center,
                    crossAxisAlignment: CrossAxisAlignment.center,
                    children: <Widget>[
                      Text(
                        widget.roleName,
                        style: Theme.of(context).textTheme.headline2.copyWith(fontSize: 30),
                      ),
                      widget.roleEmoji,
                    ],
                  ),
                ),
              );

        return MouseRegion(
          onEnter: (PointerEnterEvent event) {
            if (widget.role != rollInEffect) {
              hoverController.forward();
            }
          },
          onExit: (PointerExitEvent event) {
            hoverController.reverse();
          },
          child: GestureDetector(
            onTap: () {
              setState(() {
                rollInEffect = rollInEffect == widget.role ? Role.none : widget.role;
                print('Switched Role to $rollInEffect');
                hoverController.reverse();
              });
            },
            child: Container(
              color: Colors.white,
              child: ScaleTransition(
                scale: hoverAnimation,
                child: Container(
                  height: 200,
                  alignment: Alignment.center,
                  clipBehavior: Clip.antiAlias,
                  decoration: BoxDecoration(
                    borderRadius: BorderRadius.circular(8.0),
                    color: widget.color,
                  ),
                  child: AnimatedSwitcher(
                    duration: Duration(milliseconds: 750),
                    switchInCurve: Curves.easeInOutCirc,
                    child: switchableContent,
                  ),
                ),
              ),
            ),
          ),
        );
      },
    );
  }
}

@gspencergoog thanks for taking your time. I have the whole project uploaded & available.
So, here is the button component
https://github.com/SunFoxx/personal_landing/blob/512cfce61d84efa765fee8feb8dcc23d92a2f488/lib/widgets/role_card.dart
And a container that wrapping those buttons
https://github.com/SunFoxx/personal_landing/blob/512cfce61d84efa765fee8feb8dcc23d92a2f488/lib/widgets/role_selector.dart
They are included inside this page widget as a child of SingleChildScrollView at the bottom of the widget tree
https://github.com/SunFoxx/personal_landing/blob/512cfce61d84efa765fee8feb8dcc23d92a2f488/lib/screens/landing_page.dart

Hi @SunFoxx
Can you please provide and a complete reproducible minimal  runnable code sample? ex: https://github.com/flutter/flutter/issues/51110#issuecomment-589487782
Thank you

Without additional information we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


spatial sequence prediction

In my dataset,each sample is in a piece of 1D space,We've devided this 1D space evenly into n segments.In these n segments,4 known features are given,and i want to predict the other 2 target features in the original 1D space.Will this time sequence prediction model help
spatial sequence prediction ?

I mean each 1D sample is divided into n segments,4 known initial features at certain time(maybe this is the one step you said) of these n segments are given.I want to know that after a long period of time,what the other 2 target features of these n segments will be.By the way,my prediction is end-to-end.It actually reflects a physical process in one dimensional space.

Sorry I am confused. When you say 1d sample, my understanding is that either you have only one feature, so the input shape will be (1, input length), or only one time stamp with the input shape (feature_dim, 1). But since you mentioned you divided it into n segment with 4 initial feature dimension, I got confused. Could you help to clarify the shape of your raw input, input after patch, and target? Thanks

ok,clearly speaking,my raw input shape is(n,4),you know,n segments and 4 known initial physcial features of the n segments.The target(output) shape i hope to get is (n,2).Given 4 known initial features,I want to know, after a long period of  physical process, what the other 2 target features will be.I have tried LSTM to do my task as a time series sequence prediction, but it actually is not time series sequence.So i'd like to know if your model can be competent for my task.My prediction is end_to_end.

I see. So Transformer model is proposed to learn the attention between elements in a sequence, and in your case, it learns the relationship between all (1,4) vectors (key and query) to generate an attention map n*n. And you can then use this attention map with the value to generate an output with the shape (n,2). I would suggest you first considering the original Transformer model. Our PatchTST model is very similar just with 2 differences in patching and channel-independence.

oh,that is a lot.Thanks.

No problem!


rename kitchen yaml and move chef_license key

This PR

Renames .kitchen.yml to kitchen.yml
Updates chef_license acceptance key

Why
We want to align our build definitions internally to look for the same kitchen YAML file and be able to utilize common.yml for builds.

Already did it. Sorry, bro.


Create a place to see all friends (front-end)

Create a page or component to show all user's friends
Create the axios get call to retrieve the user's friends
Ensure the user gets the correct data
Add links to remove a friend
Create the axios delete call to delete the friend from the list

There is a space on the homepage to show all friends. Will require a FriendsList component to replace the placeholder div.

Requires further editing on the 'show' function in the controller. Decide on which functions are necessarly: show(Friend $friend) or get all friends through the User (resource)?


Run into OSError when running it

I am trying to run it on google colab. However, I ran into OSError for the "concept_model = StableDiffusionPipeline.from_pretrained(concept_model_path, scheduler=scheduler).to(device)" and I have no clue about it. Especially I don't know where to get the tokenizer.
OSError                                   Traceback (most recent call last)
 in <cell line: 9>()
7 device = torch.device('cuda:0') if torch.cuda.is_available() else torch.device('cpu')
8
----> 9 concept_model = StableDiffusionPipeline.from_pretrained(concept_model_path, scheduler=scheduler).to(device)
10
11 try:
1 frames
/usr/local/lib/python3.10/dist-packages/diffusers/pipelines/pipeline_utils.py in from_pretrained(cls, pretrained_model_name_or_path, **kwargs)
945                 else:
946                     # else load from the root directory
--> 947                     loaded_sub_model = load_method(cached_folder, **loading_kwargs)
948
949             init_kwargs[name] = loaded_sub_model  # UNet(...), # DiffusionSchedule(...)
/usr/local/lib/python3.10/dist-packages/transformers/tokenization_utils_base.py in from_pretrained(cls, pretrained_model_name_or_path, cache_dir, force_download, local_files_only, token, revision, *init_inputs, **kwargs)
1823
1824         if all(full_file_name is None for full_file_name in resolved_vocab_files.values()):
-> 1825             raise EnvironmentError(
1826                 f"Can't load tokenizer for '{pretrained_model_name_or_path}'. If you were trying to load it from "
1827                 "'https://huggingface.co/models', make sure you don't have a local directory with the same name. "
OSError: Can't load tokenizer for '/content/gdrive/MyDrive/photoswap/checkpoints/testing_dreambooth/'. If you were trying to load it from 'https://huggingface.co/models', make sure you don't have a local directory with the same name. Otherwise, make sure '/content/gdrive/MyDrive/photoswap/checkpoints/testing_dreambooth/' is the correct path to a directory containing all relevant files for a CLIPTokenizer tokenizer.

Originally the OSError is telling me that model_index.json is missing but I found one in the internet. It seems that this is not the correct approach.

Can I use the same model_index.json, feature_extractor file, scheduler file... in the given Taylor Swift/ Justin Bieber example model for my own model?


GSX selections - longer time to react

Hello,
It would be nice, if the popups of GSX would stay longer, to actually make a selection. (Pushback Truck connector, Crew Boarding/Deboarding).
I don't have the general flag set in gsx, i rather would like to decide case by case if i want the pushbacktruck connected during boarding).

Nope, that won't happen:

There is no Control over the GSX Menu Time-Out, I can't increase it. If you want to select something, then look out for it.
With the weird Way the new Connect-Tug-while-Boarding Feature was implemented, Fenix2GSX must answer that Question. So you must do this Case-by-Case Decision in the Fenix2GSX UI before Boarding is called. FYI, there are two Feature-Requests to change/improve that Behavior in the GSX Community Discord - the more Votes the Better.
Generally I don't have much Motivation to increase manual Selection further than already supported. The whole Point of Fenix2GSX is to minimize the Time you have to use GSX' Menu. We can talk about certain/special SOPs not being possible, but not about "I like operating the Menu".

Hello @Fragtality
Thanks for the reply.

There is no Control over the GSX Menu Time-Out, I can't increase it. If you want to select something, then look out for it.

If the plugin isn't running, the window with the question remains open, if the plugin is running, the window opens makes a selection and closes within 1 second. I literally can't click in that time.
Is there anything i can disable in the settings of Fenix2GSX?

Oh my ... of course the Time-Out will end when Fenix2GSX makes a Selection.
So disable the Skip-Option for "the" Question - possible for any Question except the Tug-Question as explained.
What is the "truck" on the Remote Stands? The Tug?
Then probably your Profiles are not configured correctly.
If "truck" is a Bus on a Walk-In Gate which has mixed Walk-In & Bus Service: that is just GSX. Can't workaround it and currently don't have Energy to report that Umberto only to get explained what I'm doing wrong.


chore: pre-commit autoupdate [ci skip]

:tada: This PR is included in version 5.5.9 :tada:
The release is available on:

v5.5.9
GitHub release

Your semantic-release bot :package::rocket:


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-k8s-23-main" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 874

Questions ?
Please refer to the Backport tool documentation


Add support for setting SQLITE_OPEN_READWRITE and SQLITE_OPEN_CREATE for database

In some cases, it is important to open a database only when a database file already exists and fail otherwise. But better-sqlite3 does not support it, even when database file does not exist, sqlite3 creates it (if the readonly option is not specified, of course). It will be great if you add a possibility to set these flags as options for database constructor alongside readonly flag.

Sure, I don't see any reason not to do this. In the mean time, you can use the fs module to check for file existence

With version 3.2.0, the fileMustExist option is now supported.


Session manager

Merge new session manager into master. This also contains some bug fixes with new features.

Codecov Report

Merging #31 into master will decrease coverage by 4.80%.
The diff coverage is 73.63%.

@@             Coverage Diff              @@
##             master      #31      +/-   ##
============================================
- Coverage     92.91%   88.11%   -4.81%
- Complexity      780      940     +160
============================================
  Files            12       14       +2
  Lines          1835     2212     +377
============================================
+ Hits           1705     1949     +244
- Misses          130      263     +133

Impacted Files
Coverage Δ
Complexity Δ

src/entity/Access.php
100.00% <ø> (ø)
112.00 <0.00> (ø)

src/entity/DBConnectionInfo.php
100.00% <ø> (ø)
15.00 <0.00> (ø)

src/entity/Privilege.php
100.00% <ø> (ø)
17.00 <0.00> (ø)

src/entity/User.php
98.23% <ø> (-1.77%)
53.00 <0.00> (ø)

src/entity/Theme.php
93.50% <52.38%> (-6.50%)
63.00 <6.00> (+7.00)
:arrow_down:

src/entity/Page.php
92.44% <55.73%> (-4.61%)
157.00 <14.00> (+23.00)
:arrow_down:

src/entity/session/SessionsManager.php
71.42% <71.42%> (ø)
52.00 <52.00> (?)

src/entity/session/Session.php
75.74% <75.74%> (ø)
114.00 <114.00> (?)

src/entity/router/RouterUri.php
94.00% <83.33%> (-0.68%)
115.00 <1.00> (+2.00)
:arrow_down:

src/entity/session/DefaultSessionStorage.php
87.50% <87.50%> (ø)
10.00 <10.00> (?)

... and 8 more

Continue to review full report at Codecov.

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


Create detector for external dependency slowness

We had a case where a customer was complaining about their site latency. The customers application consisted of a web app and SQL Azure db.
The customer scaled the web app to P2 but that only helped a little bit. Their web app had occasional 1 sec calls.
Turns out that SQL Azure had some issues where if audit logging is enabled it impacted response time.
Create a detector that tracks external dependency slowness

Another example where this should have helped.
https://applensv2.azurewebsites.net/sites/rtfunctionseventsaggregatorsvc-bay/detectors/frebanalysis?startTime=2017-02-10T00:22:00.000Z&endTime=2017-02-11T00:22:00.000Z
Kusto Query:
RecommendationEvents
| where SourceMoniker =~ "WAWSPRODBAY057"
| where TIMESTAMP > ago(30d)
| where EventId == 64113
| where SymptomName == "SlowResponse"
| where SiteName =~ "rtfunctionseventsaggregatorsvc-bay"
| project PreciseTimeStamp, RoleInstance, EventId, SymptomName, EventMessage, Message , SiteName, SymptomValueName, SymptomValue, SymptomValueUnit, AdditionalInfo
| top 5000 by PreciseTimeStamp asc
| summarize count(), avg(SymptomValue)  by bin(PreciseTimeStamp, 1d) | order by PreciseTimeStamp asc | render barchart


Don't reference source archives for building v21.2

Building from source archives has been broken since v21.2.0, and from
v22.1.0 onward with the Bazel migration there won't be source archives
at all. Cloning the upstream repo and building from the clone is the
most correct and future-proof way to build from source.

This change is


Adding a poisson arrival thread group as part of Jmeter plugin

Generate arrival rates based on a poisson process. This should allow for the creation of a more realistic load.
The need to have poisson arrivals has been discussed in on the google jmeter-plugin forum.

Hi,
This is strong contribution. But people won't find it if there will be no documentation explaining how it works. Please add documentation article describing this plugin, having screenshot of it. Also add Changelog record. See http://jmeter-plugins.org/wiki/DeveloperGuide/ for more info.

Thanks. will do.

How can user specify for how long to hold the reached level of the load after ramp-up?

The lambda parameter defines how many requests per second you want on average. The arrival rates follow a poisson process from the beginning.
The ramp-up time is the total time of the experiment, and the average load is the same from the beginning till the end. I guess ramp-up time may be misleading. I can change it. any suggestions?

The practical aspect is that users intent to have average rate increasing for some time and then constant for some time. That's their expectation of "ramp-up" and "hold for/constant". Without such ability they won't find plugin useful for their wide variety of use-cases.
From the code, I don't see such calculations happening to have increasing average and then constant time to hold it. I think this is very important to offer. Could you improve the plugin to support it?

While I understand the expectation of users and the concept of "ramp-up" and "hold for/contstant",  that is not how arrivals based on Poisson Processes works. Once you specify a certain lambda in this thread group, then all your arrivals will follow that poisson process. The design of this thread group is similar to the jmeter thread group.
The plugin can be potentially be modified to allow users to change the lambda over time, but that model is referred to as Non-homogeneous Poisson Processes. http://www.math.uah.edu/stat/poisson/Nonhomogeneous.html and should be considered a new feature.

Homogenous process is a subset of non-homogenous, right? Having this thread group non-homogenous would cover the original case and also would solve the expectations from the audience.
I don't insist too much. However, the time interval before next release will be at least couple of months, so you have plenty of it to improve this plugin.

Yes it is. We can potentially have the same interface for both, so when you want the thread group to be homogeneous, you set lambda to be the same across all intervals.

Plugins Manager now allows you to publish and maintain this plugin independently, I suggest going forward this way. It will give you full control.


Install iexplorer but curl error

 ~/ brew cask install iexplorer
==> Satisfying dependencies
complete
==> Downloading https://www.macroplant.com/release/iExplorer-<IP_ADDRESS>.dmg

curl: (35) error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure
Error: Download failed on Cask 'iexplorer' with message: Download failed: https://www.macroplant.com/release/iExplorer-<IP_ADDRESS>.dmg

Do a brew cask update and brew doctor, I see no errors:
[~] > brew cask install iexplorer
==> Satisfying dependencies
complete
==> Downloading https://www.macroplant.com/release/iExplorer-<IP_ADDRESS>.dmg
######################################################################## 100.0%
==> Symlinking App 'iExplorer.app' to '/Users/aditya/Applications/iExplorer.app'
🍺  iexplorer staged at '/opt/homebrew-cask/Caskroom/iexplorer/<IP_ADDRESS>' (641 files, 22M)

Also my curl (brew install curl) version is: curl 7.43.0 (x86_64-apple-darwin14.0) libcurl/7.43.0 SecureTransport zlib/1.2.5

@Johnhwee If the issue persists, please open a new issue but follow the procedure.
Also, if you have a custom .curlrc, that is likely the cause of the issue.


set a task to be exectued in multiple stages (select)

Deployer version: 7.0.0
Deployment OS: ubuntu

hi, I am trying to migrate to 7.0.0 and in my file I have
->onRoles(['prod', 'dev'])

I've seen this is now set with labels:
->set('labels', ['stage'=>'dev'])

but how can I configure a task to be executed on multiple selected stages?
I tried different configuration of select():
->select('stage=prod', 'stage=dev', 'stage=demo')
or
task(....)
->select('stage=porod')
->select('stage=dev')

but I cannot get it to work...
thanks in advance, best
dan

I have something like:
on(select('stage=develop,staging,release'), function ($host) {
    before('before:task', 'do:task');
});

This works for develop and staging so far^^

Will try to find some time to write a better doc about select and labels.

thanks @mautz-et-tong ! it helped!

You're welcome, but I figure out that it is useless. on(select('stage=develop,staging,release') triggers every time even on 'stage' =>'prod'

is it? it works for me:

task('demo', function () {
    writeln('demo task');
})->select('stage=demo');

task('test', function () {
    writeln('dev task');
})
->select('stage=dev,demo');
after('test', 'demo');

this might be related to this other issue when tasks are shown on the list (though not really executed) if select renders false.
https://github.com/deployphp/deployer/issues/3263

I think one aspect of how select works is misleading.
If select contains host alias name, it will also be selected:
select('stage=dev,demo');

Same as stage=dev and alias=demo.

Added documentation https://deployer.org/docs/7.x/selector


function 'XGBoosterSaveJsonConfig' not found

Upgraded XGBoost from latest version to 1.0.0 and then 1.0.1.
Config : Win10 + Anaconda
Running the below command produces the error :
xgb.fit(X,y) :

function 'XGBoosterSaveJsonConfig' not found

I got the same error in Ubuntu 18.04 and Python 3.6.10. Tried xgboost 1.0.0, 1.0.1, and 1.0.2, all got the same error. However downgrading xgboost version to 0.90 works without issues. Any solution?

It looks like there's more than one installation of XGBoost and you are picking up an old copy of libxgboost.so. Try searching for libxgboost.so in your system.

I got the same error in Ubuntu 18.04 and Python 3.6.10. Tried xgboost 1.0.0, 1.0.1, and 1.0.2, all got the same error. However downgrading xgboost version to 0.90 works without issues. Any solution?

The problem was that i had 2 versions of xgboost installed. pip freeze your current env and check the version you're currently using.


CLOUD-2766 - correct some EAP 7.1 tx-recovery-s2i template parameters

https://issues.jboss.org/browse/CLOUD-2766
Signed-off-by: Ken Wills<EMAIL_ADDRESS>

@rcernich Could you review, please?


Allow @DltHandler Method to be Defined in a parent class of class annotated with @KafkaListener

Expected Behavior
@DltHandler-annotated method may be in the same class or parent class as the corresponding @KafkaListener annotation.
Current Behavior
@DltHandler-annotated method must be in the same class as the corresponding @KafkaListener annotation.
Context
My usecase is that all our consumer class have their own listener method annotated with @RetryableTopic and @KafkaListener to define per-class specificRetryableTopic.retryTopicSuffix property.
But all @DltHandler methods implementations are exactly the same.
So it would be nice to allow the suggested behavior.

This sort of offshoot of #3183

@JooHyukKim ,
The proposal is here: #3464
Thank you for looking into this!

LGTM, thank you for quick response!


Fixes #65 ! For whatever reason, the computed property wasn't getting updated when the blogs property was set to an empty list. Making it a simple computed property getter fixes the issue.
Please include a description of your change & check your PR against this list, thanks!

[x] Commit message has a short title & issue references
[x] Commits are squashed
[x] The build will pass (run npm test).

More info can be found by clicking the "guidelines for contributing" link above.

Good call, thanks!


Disable automatic creation of .mod files

It seems like the app provides some functionality, which automatically creates .mod files as soon as one opens a module source file.
This can get really annoying if you are working on a large project with lots of modules, which are not supposed to live within the same directory as the source files (e.g. by using CMake's Fortran_MODULE_DIRECTORY flag).
Is there a way to turn this automatic creation off? If not, I would like to suggest to implement such a feature.
Thank's for your help.

Hi, go to settings.json and type the following
// Fortran
"fortran.gfortranExecutable": "",

It should work.

Hey,
thanks for this small hack. Unfortunately, the solution comes with the drawback of not getting any more compiler errors displayed within vs code. It would therefore be great, if there would be another solution.

@llamm-de did that solve your problem? If so are you happy with closing the issue?

I suspect this issue has been resolved, so I will be closing it. Feel free to reopen if you are still having problems.


No name parsed

Excellent library, thank you!
(Using it for my daughter's startup idea :-)
came across a rare case of no name parsed, see below:
>>> pprint(parse_ingredient('2 pounds (16 to 20 count shrimp) 4 per person, peeled but with the tail on'))
ParsedIngredient(name=None,
                 size=None,
                 amount=[IngredientAmount(quantity=2.0,
                                          quantity_max=2.0,
                                          unit=<Unit('pound')>,
                                          text='2 pounds',
                                          confidence=0.999462,
                                          APPROXIMATE=False,
                                          SINGULAR=False,
                                          RANGE=False,
                                          MULTIPLIER=False)],
                 preparation=IngredientText(text='peeled but with the tail on',
                                            confidence=0.999639),
                 comment=IngredientText(text='(16-20 count shrimp) 4 per '
                                             'person',
                                        confidence=0.813389),
                 sentence='2 pounds (16 to 20 count shrimp) 4 per person, '
                          'peeled but with the tail on')

Thanks for raising this. It looks like the punctuation in the sentence is causing shrimp to be mislabelled.
Would you mind sharing where the sentence came from (if it's from a website). This might be fixable by including more examples like this one in the training data.

The latest release beta 11 has some improvements to help with cases like this.

@strangetom sorry, completely missed your question, it came from foodnetwork

... and great job!! 👍


Add a LICENSE file

It would help license detection tools to check license compliance against your package which is a big thing in corporate environments.

Cool, thanks!


[feature]Is it possible to work in the Android terminal?

Describe your idea:
For example
https://play.google.com/store/apps/details?id=jackpal.androidterm
thanks

Command-line version of jadx should work if you install Java 8+ inside your terminal environment before starting jadx.
An Android based GUI version is a bit out of scope of this project.


Windows Python 3 installers are not creating Start Menu entries nor desktop shortcut

After almost two days of long debugging hours, I just found that this is caused by these Python bugs:

http://bugs.python.org/issue22103
http://bugs.python.org/issue21354

So we'll have to wait until a new Python 3 version is released.
Pinging @humitos, who reported this problem to me through Twitter.

I'll try to include the patch present in the second bug in Anaconda, so I can fix these installers for our next release.

Unfortunately since Spyder 3.0 we won't be able to generate the same kind of Windows installers that we've been releasing so far.
That's because those installers are not able to install other Python packages as dependencies, and Spyder 3.0 already needs several dependencies.
There's still the possibility to generate self-contained Windows installers (see issue #2648), but someone will have to help us with that :-)

@ccordoba12 I can look into it, do we have an issue to track this, or should we open an issue?

See issue #2648 for self-contained installers.
As I said, the simple installers we've providing up to Spyder 2.3 won't be possible for Spyder 3 because they don't pull any dependency.


fix: add tests to demonstrate that PostCSS configs are not reused across projects

Description
This sets up two separate apps with conflicting PostCSS configs, along with tests to make sure that each gets only its own CSS applied.
Additional context
See https://github.com/vitejs/vite/pull/3906 for the original PR.

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.

@patak-js here are some tests for the PostCSS config caching PR. Let me know what you think about this approach, happy to reshuffle things around.

@fwouts  Thank you very much for the test. But I found that even if the original PR code is not included, the test can still be executed successfully in the current vite project.

Hey @OneNail, thanks for catching this. I could have sworn I had run these tests without your commit and confirmed they failed!
I've been debugging this for an hour and I can't figure out what's going on. It looks like Jest is reloading modules between tests and resetting the value of cachedPostcssConfig every time, even when running with --runInBand which I've confirmed reuses the same process.
I ended up implementing it with a different approach to guarantee that it won't happen.

@fwouts Thank you very much for the test. If the original PR code isn't included, the test failed at
expect(await getColor(blueA)).toBe('blue')
is it supposed to failed at
expect(await getColor(greenB)).toBe('green')
?

@fwouts Thank you very much for the test. If the original PR code isn't included, the test failed at
expect(await getColor(blueA)).toBe('blue')
is it supposed to failed at
expect(await getColor(greenB)).toBe('green')
?

No, that's expected! That's because there's already another Vite server running (the one set up in https://github.com/vitejs/vite/blob/main/scripts/jestPerTestSetup.ts) so a null PostCSS config has already been cached. Therefore, even the first app fails.
I preferred to have both the blue and green app so we don't rely on this implicit behaviour :)

@fwouts Thank you very much, I merged the commit.


pretty : true

Hi!
great plugin :) thanks
Is there a way to not unminify the html? pretty is deprecated, and i cant find another way to not minify the code 🙏
Thanks!

Hi
Unfortunately, there is no way how to unminify html without pretty. I haven't found other options to tell pug not to minify code
And as I understand, author of pug don't like the idea of pretty printing HTML
I think that you have two options:

still use pretty. We don't know when new major version of pug is coming. So maybe it is not a problem using deprecated property for your project
use other pretty printing tools like prettier


Install default cni binaries when deploying the daemonset

Fixes https://github.com/intel/multus-cni/issues/192

Pull Request Test Coverage Report for Build 541

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

Totals

Change from base Build 539:
0.0%

Covered Lines:
638

Relevant Lines:
1217

💛  - Coveralls

@micw @dcbw @dougbtv Is there any standard containerized CNI binary to install the all cni plugins ? Are we have to create one ?

Unfortunately, there is no official image. I have created a PR a while ago (https://github.com/containernetworking/plugins/pull/245). But this is stuck becuase of the general discussion in https://github.com/containernetworking/cni/issues/284 and it's unlikely that there will be one in the near future.
If it's ok for you, I'd go with the rancher image for now.

@rkamudhan Can we merge this?

@micw I believe that multus-daemonset should install multus because some user still want to use current CNI plugin. In addition your container's CNI plugin is slightly old so I suppose it is not good choice for multus. In addition, currently we don't care for above container image, so we should make it separate from maintenance point of view as well ('multus-cni' repo's purpose is multus CNI plugin itself, as far as I know).
I believe that you would like to have some place that can have several daemonset yaml for multus (not only with CNI reference plugin in the future, I guess). How about to have another repo for that (put some sample yaml to integrate multus) in K8sNetworkPlumbingWG github, like 'multus-config-examples' or some?
@dougbtv @dcbw @rkamudhan, do you have any toughts?

@s1061123 Thank you for the feedback. I'm a bit torn between the following:
On the one hand side we need the default CNI plug-ins to have multus working properly. So having it installed along with multus would make sense to give a good initial user experience.
On the other hand, CNI plug-ins might be managed differently, e.g. installed and updated by OS packages. So we don't want to override them.
If we had a helm chart rather than static yaml files, we could make this simply configurable. Unfortunately helm worky only after multus is installed ;-)
I think the best option would be to move the yaml files into an "examples" folder where we provide well-documented, well-tested working examples for different setups (so we could simply provide one example with just multus+flanell, one that aditional Default-CNI-Plugin instalaltion and some others).

Here's the direction I'd like to take... Firstly -- I think including the CNI plugins along with the Multus installation is a good idea -- it also ensures that our documentation examples work (for instance -- we use macvlan as our primary first-time-through example), and definitely thanks @micw for the contribution, let's work to get this together.
What I'd like to however, is to create a distribution of the reference CNI plugins that we, as a community, can build as we please so that we have some control of what's there, as opposed to including the Rancher distribution. What Rancher has for goals in the inclusion of the reference CNI plugins are likely different than our own goals for the inclusion of them. Partially what I'd like to see is the ability to have some of the newer reference plugins (such as the static IPAM plugin). I think we could use this until we have an official build from the containernetworking plugins repo directly -- and then, in the case we have one there, I'd defer to that. (Thanks for kicking off the conversation with them @micw )
Additionally -- I'm going to test this PR to see what it does when plugins already exist on disk. I'd like it to essentially not overwrite anything. I think that's what it'd do now, but, I'll double check.
In the meanwhile, I'll work on getting a docker image created that packages the reference CNI plugins.
As for the Helm charts... Certainly we could take a pull request that includes some helm charts, however... I think Helm charts are overkill for what we're trying to do, so I wouldn't recommend that as the default quick-start installation -- as it makes for some chicken-and-egg kind of problems as @micw as mentioned, as well as I consider it to be overkill, the bottom line is that a lot of the functionality of Helm just isn't necessary here, like... We don't necessary have a lot of cases where we need to templatize our daemonset, for example.

@dougbtv

Additionally -- I'm going to test this PR to see what it does when plugins already exist on disk. I'd like it to essentially not overwrite anything. I think that's what it'd do now, but, I'll double check.

No need to test this - it actually overwrites what's there. I had to make that decision: If I don't overwrite, we also have no updates if we use a newer image.
I think about how I could improve this. E.g. I could create a file in that folder that keeps track of md5 sums of plug-ins installed by this image and overwrite only if the images were installed by that image.

In the meanwhile, I'll work on getting a docker image created that packages the reference CNI plugins.

I have some docker image here somewhere that pulls, builds and packages CNI from official sources. I dropped that idea because I thought with my PR we will have an official image soon. I'll look if I can find it.

@dougbtv @s1061123 @rkamudhan
I have created an automated build of the official CNI binaries plus an installer script that keeps trakc of it's own installed cni-plugins so that it does only overwrite it's own plug-ins (in case of updates). A unit test of this installer is part of the docker build too.
https://github.com/micw/cni-plugin-installer -> https://hub.docker.com/r/micwy/cni-plugin-installer
I have added a build-tag for the latest release (v0.7.4) and the latest master commit (v0.7.5-SNAPSHOT-20190227-afd7391938547)
Please have a look into this. If you are fine with this solution, we can use it for multus.

Hey @micw -- my team has a containernetworking/plugins fork that is maintained, so I decided I'd keep a branch and a .travis.yml there in order to do a build -- the current build is based on master of containernetworking/plugins.
It's in the multus-distribution branch of https://github.com/redhat-nfvpe/plugins
Feel free to participate in the management of that branch in that repository too, absolutely.

No need to test this - it actually overwrites what's there. I had to make that decision: If I don't overwrite, > we also have no updates if we use a newer image.
I think about how I could improve this. E.g. I could create a file in that folder that keeps track of md5
sums of plug-ins installed by this image and overwrite only if the images were installed by that image.

Here's my thinking on it -- Currently, there's a few things to consider...

The main reason to have the daemonset-style install is for a quick installation, following the model set forth by Flannel. It makes it easy to install for the first time and covers what you'd expect for a first time experience. That's the most important to me.
I'm not sure it's this daemonset's responsibility to lifecycle manage the reference CNI plugins, that might fit better into Tomo's suggestion of having an external repository.
I think the best default behavior for this would be to place the reference CNI plugins on disk if they're not present, as it'll make the examples in the documentation work.

Beyond this, however! There's lots that we can contribute to the project. One thing we REALLY need is a kind of "I installed Multus, now what?" type of document. One of the first things I think that should cover is "How do I maintain my own daemonset for Multus, and how do I customize that." -- because, like the Flannel daemonset-style installation, there's lots of options for Flannel... that aren't in that daemonset. I think they expect you to package it up, distribute it, install it, and lifecycle manage it in a way that works with your own environment, it's just a starting point.
I'd definitely like any contribution there, too.

@dougbtv this are great news. Please see if you could use my contribution in https://github.com/containernetworking/plugins/pull/245 to build the image. Could you also create a tagged build (like my v.0.7.5-SNAPSHOT-DATE-GITHASH) so that we have a reliable image?

@micw -- sorry I'm back and forth from the keyboard, let's see if we can catch up next week in chat.
However -- that being said -- if you'd like to make a PR against the redhat-nfvpe/plugins multus-distribution branch for the changes you have against containernetworking/plugins -- that'd be awesome. Thanks!


Light Mode Switch

What changed?
Light and dark mode now controlled by toggling (automatically set to dark mode if preference not previously stored)
How was this accomplished?
Theme Context Created, Switch on AccountSettings
Testing
npm start
Related Issues or Work Items
Closes #26

automatically set to dark mode if preference not previously stored
Can we have it set to the user's current OS setting and/or have an auto-sync setting (the "old" behavior)?

Relevant JS for detecting Dark Mode: (window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches)

Now set up to use the user's default when first loaded or when user selects that option in settings.


Expose FetchEvents function

How to categorize this PR?

/area open-source
/kind enhancement
/priority normal
What this PR does / why we need it:
This PR exposes an already implemented functionality to fetch event messages for involved objects. The motivation for this change is to allow extensions / Gardener Resource Manager calling the functionality as well.
Special notes for your reviewer:
/cc @ialidzhikov
Release note:

NONE

/lgtm
Thank you for the tests. Shame that I didn't do it when I initially introduced this. :(

/lgtm
Thank you for the tests. Shame that I didn't do it when I initially introduced this. :(

/sqash

/sqash


Your docs generator is broken.

Error: Cannot find module '/node_modules/node-vault/scripts/write-features.js

I am broken, sorry


Update inception quantized model path

Update inception quantized model path. Also remove the auto_logits from model before loading pretrained quantized model.
Tested by running:
python references/classification/train_quantization.py  --data-path='/mnt/fair/imagenet_full_size/' --device='cpu' --backend='fbgemm' --test-only --model='inception_v3'
Got accuracy similar to https://github.com/pytorch/vision/tree/master/references/classification#int8-models:
Acc@1 77.176 Acc@5 93.354

Reported numbers are updated in #1975.


Page needs semantic tags

User Story
AS A marketing agency
I WANT a codebase that follows accessibility standards
SO THAT our own site is optimized for search engines

Acceptance Criteria
GIVEN a webpage meets accessibility standards
WHEN I view the source code
THEN I find semantic HTML elements

Semantic tags added in 41396e57bcc1896de99a740d0c3bd0a9e1ef8979
Deprecated classes were updated to new semantic tags.


Clean up front-end code

This could probably be broken up into multiple issues. The code that powers the front end is really monolithic and is primarily sourced from a ~900 line file.
Proposal:
For now? Tests. The code is rather verbose and could be refactored quite a bit. After tests are done, it  could be broken up into multiple files and then later loaded using a module loader like Webpack, Browserify, RequireJS, etc.
I dunno'. Thoughts? Objections?

@howdoicomputer it could definitely use some refactoring :)
Rails asset pipeline allows for some modularization -- we could also take more advantage of UJS via remote: true forms and what-have-you to avoid the need to have JS binding to the forms and doing the AJAX submit.
You are correct that there don't appear to be any tests at that level. If we end up replacing the Javascript with Rails UJS stuff, it may make more sense to do capybara tests than actual JS tests since that code would basically disappear.