windows fix for end2end_test

fixes compilation of this test on windows:
*a #define in windows.h interferes with system_clock::time_point::max(); fixed with #define NOMINMAX
*WSAStartup() needs to be called before windows sockets work.  there is probably a cleaner way to do this, using winsock_init()/winsock_shutdown() grpc/src/core/iomgr/iomgr_windows.c, but those look like internal functions for now.  also couldn't find a spot to place winsock_shutdown()

Can one of the admins verify this patch?

I signed

sure, will check out your changes after I get the cpp test projects auto building, almost done

sorry - I'm not so good at github.  I'm still playing with vs project generation and those commits are getting included.  I'm going to close this for now, I will let you know when I get to this what the test results are

Can one of the admins verify this patch?

ignore the extra commits
I checked with the code from last night, end2end_test no longer requires NOMINMAX since it's in port_platform.h.  it still requires WSAStartup() to be run.

fix is in #2631, it was pick_unused_port() that was being run before wsastartup()


Replace emojis in text view

Nice little easy-to-merge feature lol

@zlshames this would be also a nice feature to merge in but would prefer to put this behind a settings flag

I actually put them behind a settings flag because some users were complaining, just never updated the PR. I've kinda given up on PRs, just take whatever u want lol.

ill put it behind a settings flag when i have the chance


Publish Event with raw data but not struct of CloudEvent

In what area(s)?

/area runtime

/area operator
/area placement
/area docs
/area test-and-release

Describe the feature
We publish the pub/sub message with the struct ：
type CloudEvent struct {
	ID              string
	Data            []byte
	Topic           string
	Pubsub          string
	DataContentType string
	TraceID         string
}

But sometimes we expect we transfer the raw data, but not cloudEvent.
Release Note

RELEASE NOTE:

This is implemented as of 1.2.

Issue is not resolved and also this is a duplicate of https://github.com/dapr/dapr/issues/2308


Android - Enter magic code error is displayed simultaneously with incorrect code error

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: 1.4.61-0
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/4483896
Issue reported by: Applause - Internal Team
Action Performed:

Open the app and enter a new account email
Repeat the previous step with the same email to receive two validation links
Tap on ''Sign In''
Navigate to the account email inbox and open the first email of the two

Expected Result:
The error message "Please enter your magic code" should be dismissed, and only the error about the incorrect magic code should be displayed, as the user just used a magic code link that is equivalent to entering a magic cod
Actual Result:
The user encounters the first error message ("Please enter your magic code") despite having just used the expired magic code link (equivalent to a magic code). Both errors regarding incorrect and entering the magic code are displayed simultaneously
Workaround:
Unknown
Platforms:

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

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

Screenshots/Videos
Add any screenshot/video evidence

https://github.com/Expensify/App/assets/78819774/d1321b71-5e93-419c-a72f-e5a198068166
View all open jobs on GitHub

@isabelastisser  FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

Proposal
Please re-state the problem that we are trying to solve in this issue.
There are 2 error message shown, form error and the server validation error.
What is the root cause of that problem?
We have 2 types of the magic code error and both of them are shown. One is from the local form validation and the other one is from the server validation.
https://github.com/Expensify/App/blob/4f673576491af54296014b7595e6ad5017fdb60e/src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.tsx#L315-L321
Also, I think the code isn't shown in the magic code input is a bit weird.
What changes do you think we should make in order to solve the problem?

Clear the server error when submitting the magic code.
if (account?.errors) {
    SessionActions.clearAccountMessages();
}

If we want to show the magic code when using the magic link, we need to save the code optimistically, currently, we do it when the request is successful.
https://github.com/Expensify/App/blob/4f673576491af54296014b7595e6ad5017fdb60e/src/libs/actions/Session/index.ts#L541-L548
Then, we need to update this effect so it updates the code every time the validateCode is updated and loading.
https://github.com/Expensify/App/blob/4f673576491af54296014b7595e6ad5017fdb60e/src/pages/signin/ValidateCodeForm/BaseValidateCodeForm.tsx#L96-L101
useEffect(() => {
    if (!isValidateCodeFormSubmitting) return
    setValidateCode(credentials?.validateCode ?? '');
}, [isValidateCodeFormSubmitting, credentials?.validateCode]);

What alternative solutions did you explore? (Optional)

Bump @tienifr

Thanks for the review @hoangzinh, assigning @tienifr 🚀

@hoangzinh @tienifr please provide an update. Thanks!

@hoangzinh, adding the payment label didn't work. Is it ready for payment now or should we wait for the regression period?

Not overdue.

Sounds good, thanks for clarifying! @hoangzinh

Not overdue.

@hoangzinh @marcochavezf is this ready for payment?

Payment summary:
C+ review @hoangzinh $250, paid in Upwork
Contributor @tienifr $250, payment in Upwork
@tienifr, what's your Upwork profile so I can send the offer? Thanks!

Thanks, the offer was sent.
All set!


Imported modules not actually stored in sys.modules

Which they should be.

I believe this is now properly implemented. Shall we close this issue?


OCR: clarification about input and output

I'm trying to solve OCR tasks based on this code.
So what shape input to LSTM should have, suppose we have images [batch_size, height, width, channels] how should they be reshaped to be used as input? Like  [batch_size, width, height*channels], so width is like time dimension?
What if I want to have variable width? As I understand size of sequences in batch should be the same (common trick just to use padding by zeros at the end of sequence?) or batch_size should be 1)
What if I want to have variable width and height? As I understand I need to use convolutional + global average pooling / spartial pyramid pooling layers before input to LSTM, so output blob will be [batch_size, feature_map_height, feature_map_width, feature_map_channels], how should blob be reshaped to be used as input to LSTM? Like [batch_size, feature_map_width,  feature_map_height*feature_map_channels] ? Can we reshape it just to single row like [batch_size, feature_map_width*feature_map_height*feature_map_channels] it will be like sequence of pixels and we loose some spartial information, will it work?
Here is definition of input, but I'm not sure what it's mean in your case [batch_size, max_stepsize, num_features]:
https://github.com/igormq/ctc_tensorflow_example/blob/master/ctc_tensorflow_example.py#L90
And how output of LSTM depends on input size and max sequence length?
https://github.com/igormq/ctc_tensorflow_example/blob/master/ctc_tensorflow_example.py#L110
BTW: Here is some examples using 'standard' approaches in Keras+Tensorflow which I want to complement with RNN examples.
https://github.com/mrgloom/Char-sequence-recognition

Seems realed:
https://gist.github.com/igormq/eff5b2196a52e89c61ea52515ed87c47

Some info described here, but it still not very clear for me:
https://stackoverflow.com/questions/38059247/using-tensorflows-connectionist-temporal-classification-ctc-implementation

So, we have at input of RNN something like [num_batch, max_time_step, num_features]. We use the dynamic_rnn to perform the recurrent calculations given the input, outputting a tensor of shape [num_batch, max_time_step, num_hidden]. After that, we need to do an affine projection in each tilmestep with weight sharing, so we've to reshape to [num_batch*max_time_step, num_hidden], multiply by a weight matrix of shape [num_hidden, num_classes], sum a bias undo the reshape, transpose (so we will have [max_time_steps, num_batch, num_classes] for ctc loss input), and this result will be the input of ctc_loss function.

Hi @mrgloom , you can use both width or height as your ''time dimension''.  Also, you can apply conv layers before the LSTM network followed by a Global Average Pooling, returning a tensor with shape [batch_size, feature_map_height, feature_map_width]


Update Ookii.Dialogs.Wpf to support .NET 7

.NET 7 has been released  🎉

just as Info, .NET 8 got an own one now :)
https://devblogs.microsoft.com/dotnet/announcing-dotnet-8-preview-7/?WT.mc_id=dotnet-35129-website#openfolderdialog-in-wpf
https://github.com/dotnet/wpf/pull/7244


[node-v6] Upgrade cartodb-redis

Use a node-cartodb-redis version that supports Node v6
Is this compatible with Node v0.10?
Yes.

Bumped to version 0.13.2 in node-v6


Faker::Book.name returns "#{Name.name}"

With 1.5 version for Faker::Book.author always returns #{Name.name}

Duplicate of #397


chore(main): release 1.11.2

:robot: I have created a release beep boop
1.8.2 (2024-12-04)
Features

add alb backend pool binding support (8d472c6)
Add comment in order to trigger release (cde86cd)
Add comment in order to trigger release (e280f80)
Add deploy_load_balancer parameter and functionality for outbound load balancer as NAT for built-in networking (07265f0)
Add deploy_load_balancer parameter and functionality for outbound load balancer as NAT for built-in networking (6ff4c24)
add new output vmss id (bc803e1)
add new test script (2ef4428)
add parameter for os disk size (5b3741b)
add parameter for os disk size (7757ab2)
add parameter for runner group (f03eb6e)
add parameter for runner group (e63919f)
add powershell script for onboarding Windows for Github (3cfbe4f)
add pwsh script for runner onboarding (f2a8133)
add recommended value for boot diagnostic (1ea8685)
add recommended value for boot diagnostic (d2dd0da)
Add subnet_id as output (330f7ce)
add support for accelerated networking (b2fce74)
add support for accelerated networking (173640c)
add support for github hostname in powershell for windows (a330687)
add support for github hostname in powershell for windows (3aed96f)
add support for scale_in parameter (e084bcd)
add support for scale_in parameter (820d534)
add termination notification and automatic instance repair (60f4d84)
add termination notification and automatic instance repair (9584e36)
added optional input for the VMSS identity block, and added dynamic identity block to windows and linux vmss (4ee5522)
Added optional parameter vmss_encryption_at_host_enabled (6590865)
added output of VMSS identity principal id (ecbc4ef)
added required terraform version (70ee192)
added terraform block with required providers and versions to satisfy the lint gods (60905a4)
correct parameters of script.sh (d63e8ca)
correct parameters of script.sh (dfd050b)
Ignore changes for managed subnet service_endpoints (Cannot add as input variable, as some people may already be using this feature) (b02fd88)
improve script.sh to v2 (24dae4e)
improve script.sh to v2 (a02f398)
improve the script v2 (58e6901)
output vmss id (a0bf442)
update readme docs (0d60595)
update readme docs (29f5e43)

Bug Fixes

Add missing plan for linux vmss (b888fa5)
Add missing plan for linux vmss (f89d652)
Add plan for VMSS to actually work from marketplace image (fa8df78)
Add plan for VMSS to actually work from marketplace image (8d541a2)
add runner user to docker group (c7ae75d)
add runner user to docker group (c60683e)
added check to identity output to check if identity is enabled, and outputs a string saying it's not enabled if its not. (388d539)
another place of typo runnergroup (402fe6a)
correct instance id of script v2 (53576ba)
correct preview script v2 (753ff9d)
correct recomend parameters for windows image (c568d30)
correct recommended parameters for windows image (2be8577)
correct remove token in script v2 (411f169)
correct runnerurl (9565e01)
correct scale_in on linux vmss (9ee7086)
correct scale_in on linux vmss (31d7f68)
correct scale_in parameter values (e57c527)
correct scale_in parameter values (88f7c66)
correct scipt v2 (6d4d43b)
correct scirpt.sh bug (67083ac)
correct script (0202c93)
correct script (705fb4f)
correct script bug with sh vs bash (047a545)
correct script v2 (4e17506)
correct script v2 (b1ea85f)
correct script v2 (945e2ba)
correct script v2 (2f91718)
correct the new script v2 (771cb08)
correct the script v2 (a527b19)
correct the script v2 (c835113)
correct upgrade parameter and overprovision (ce4dbd3)
correct upgrade parameter and overprovision (88daa27)
Default to west europe (b152070)
Default to west europe (e5557b0)
Fix broken urls (bc5d7f3)
Fix broken urls (c428762)
Fix for advanced example with custom subnet (5f68c23)
Fix for advanced example with custom subnet (c8d31d1)
fix typo for invoking runner group in windows env (51226bb)
fixed identity variable input validation (f0bf364)
fixed identity variable input validation (e634cd0)
fixed syntax in input variable validation (09330f7)
fixed syntax issue in required providers (b8db829)
fixed value reference for identity principal id output (04c2b26)
fixed value reference for identity principal id output (a7392b4)
grept apply (57b138b)
grept apply (f144dd7)
grept apply (3628dc5)
grept apply (60e7344)
grept apply (5101ad5)
Ignore changes to instnaces and automatic os upgrade policy (0bd1bae)
Ignore changes to tags (7f4b420)
More changes to life cycle (6dc08de)
more changes to script v2 (a3b0f9f)
more changes to script v2 (50ae61e)
Normalize to new image names (ubuntu-latest and windows-latest) (2c17f7c)
Normalize to new image names (ubuntu-latest and windows-latest) (47e4cb1)
remove condition on identity variable (96c7c50)
remove condition on identity variable (cd331c9)
Remove unused network (4a854e9)
rename script v2 (a8140c3)
Set upgrade mode to automatic (f8b2fae)
Set upgrade mode to automatic (eb0ef63)
Terraform formatting (caff378)
test another version of windows script (8fcb6fd)
test new script v2 (a60f1b9)
test script (97199e1)
try to update commands needing running (78e1a8e)
update command (2eca58a)
updated required versions (76fad23)

Miscellaneous Chores

release 1.8.2 (f77fbd1)

This PR was generated with Release Please. See documentation.

🤖 Created releases:

v1.11.2

:sunflower:


New query to get pool state

Description
This introduce a new query GetPoolState which extracts the pool state for a set of pool ids.  This query is required to make implement query pool-state command in the CLI which is faster and more memory efficient than query pool-params because that command downloaded and decoded the entire ledger state.

Requires https://github.com/input-output-hk/cardano-ledger/pull/2908

Checklist

Branch

[ ] Commit sequence broadly makes sense
[ ] Commits have useful messages
[ ] New tests are added if needed and existing tests are updated
[ ] If this branch changes Consensus and has any consequences for downstream repositories or end users, said changes must be documented in interface-CHANGELOG.md
[ ] If this branch changes Network and has any consequences for downstream repositories or end users, said changes must be documented in interface-CHANGELOG.md
[ ] If serialization changes, user-facing consequences (e.g. replay from genesis) are confirmed to be intentional.

Pull Request

[ ] Self-reviewed the diff
[ ] Useful pull request description at least containing the following information:

What does this PR change?
Why these changes were needed?
How does this affect downstream repositories and/or end-users?
Which ticket does this PR close (if any)? If it does, is it linked?

[ ] Reviewer requested

End-user facing changes
cardano-api changes
The existing query, QueryDebugLedgerState, will continue to exist and be slow and use a lot of memory, however, there will be a new QueryPoolState which uses a lot less CPU and memory:
QueryPoolState
    :: Maybe (Set PoolId)
    -> QueryInShelleyBasedEra era (SerialisedPoolState era)

This query takes a set of pool ids so it is possible to query multiple pools at once.
cardano-cli changes
A new command query pool-state will be introduced that uses much less memory and CPU and allows multiple stake pools to be queried at the same time:
$ cardano-cli query pool-state --cardano-mode --mainnet --stake-pool-id fc79a939d5986c6565fc5e21bb5dd292261ac5da564c30385b3bb8d4 --stake-pool-id 2a20182092016edb6cb818c7e9bde99d03a571a1c724ea6e4c3eb8f3
{
    "2a20182092016edb6cb818c7e9bde99d03a571a1c724ea6e4c3eb8f3" {
        "futurePoolParams": {..},
        "poolParams": {..},
        "retiring": {..}
    },
    "fc79a939d5986c6565fc5e21bb5dd292261ac5da564c30385b3bb8d4": {
        "futurePoolParams": {..},
        "poolParams": {..},
        "retiring": {..}
    }
}

The old query query pool-params will be made hidden.

Please add an entry to interface-CHANGELOG.md mentioning the new query?

If this branch changes Consensus and has any consequences for downstream repositories or end users, said changes must be documented in interface-CHANGELOG.md

bors r+

bors r+


Blessing a rope implementation, similar to im for immutable maps/lists/sets.

Would you consider blessing a rope crate (behind a feature flag like im), and implementing Data for it? Which rope crate?

We've had some discussions about this. I've done a bit of work on xi-rope, a bunch of which is in a local branch and not checked in, to make a proper vector like type, with the specific feature of making sparse diffs; this is not a feature that im has.
That's just lists. Maps and sets have somewhat different considerations - im does do sparse diffs for (ordered) maps, which is in some ways an easier problem because the ordering of the map keys synchronizes.

We've had some discussions about this. I've done a bit of work on xi-rope, a bunch of which is in a local branch and not checked in, to make a proper vector like type, with the specific feature of making sparse diffs; this is not a feature that im has.
That's just lists. Maps and sets have somewhat different considerations - im does do sparse diffs for (ordered) maps, which is in some ways an easier problem because the ordering of the map keys synchronizes.


wp i18n make-pot fails with Fragment inside BaseControl

Bug Report

[x] Yes, I reviewed the contribution guidelines.
[x] Yes, more specifically, I reviewed the guidelines on how to write clear bug reports.

Describe the current, buggy behavior
I used a <BaseControl> with a <> inside it. As it is working in the code, I tried generating the POT file via wp i18n make-pot but the JavaScript file with this <BaseControl> wasn't part of the generated POT file. After using the --debug flag, the following error message were displayed for the file:
Debug (make-pot): Could not parse file src/test.js: Unexpected: > (line 6, column 3) (0.108s)

The test.js looks like this:
import { BaseControl, UnitControl } from '@wordpress/components';
import { __ } from '@wordpress/i18n';

const foo = () => {
	<BaseControl>
		<>
			<UnitControl
				label={ __( 'Test', 'domain' ) }
			/>
		</>
	</BaseControl>
}

As soon as I remove the (not required) <> and </>, wp i18n make-pot succeeds.
Describe how other contributors can replicate this bug

Add the test.js from above in your project.
Run wp i18n make-pot . languages/domain.pot --debug

Describe what you would expect as the correct outcome
I would expect a successful parsing even with the fragment.
Let us know what environment you are running this on
OS:     Darwin 21.2.0 Darwin Kernel Version 21.2.0: Sun Nov 28 20:28:41 PST 2021; root:xnu-8019.61.5~1/RELEASE_ARM64_T6000 arm64
Shell:  /bin/zsh
PHP binary<EMAIL_ADDRESS>PHP version:    7.4.27
php.ini used:   /opt/homebrew/etc/php/7.4/php.ini
MySQL binary:   /opt/homebrew/bin/mysql
MySQL version:  mysql  Ver 8.0.27 for macos12.0 on arm64 (Homebrew)
SQL modes:
WP-CLI root dir:        phar://wp-cli.phar/vendor/wp-cli/wp-cli
WP-CLI vendor dir:      phar://wp-cli.phar/vendor
WP_CLI phar path:       /Users/matze/project-x
WP-CLI packages dir:
WP-CLI global config:   /Users/matze/.wp-cli/config.yml
WP-CLI project config:
WP-CLI version: 2.5.0

This sounds like a duplicate of #281
Run wp cli update --nightly to update WP-CLI and this package to the latest version. The issue should be fixed then.


[docs] Fix the developer guide for macOS users

Motivation
We don't need to install boost-python3, which was required for the Python wrapper that is independent now. And the latest googletest dependency requires the C++14 support so that we need to pass an extra CMake option for it. See https://github.com/apache/pulsar-client-cpp/pull/269
Documentation

[ ] doc-required
(Your PR needs to update docs and you will update later)

[ ] doc-not-needed
(Please explain why)

[x] doc
(Your PR contains doc changes)

[ ] doc-complete
(Docs have been already added)

Just found a very flaky (or broken?) test, I will fix it ASAP: https://github.com/apache/pulsar-client-cpp/issues/280

Merging...
Thanks for your updates!


Gofumpt all files to fix ci lint

CI is failing on main because so files are not gofumpt'd.

I think we should avoid ad-hoc linter fixes here, and bring them from upstream prometheus, to have less changes later.
Is this also happening in upstream? If not, what's different here?

@colega I think in this case both repositories have diverged a lot. Prometheus has moved to use circle ci and the workfow test.yml which is the one we're using here does not exist.

mimir-prometheus workflows https://github.com/grafana/mimir-prometheus/tree/main/.github/workflows
prometheus workflows https://github.com/prometheus/prometheus/tree/main/.github/workflows

The reason why CI is failing is that
In test.yml workflow we're using golangci-lint v2 https://github.com/grafana/mimir-prometheus/blob/5db6963dea6c03cfd4c7e3ef102877af69c6f77c/.github/workflows/test.yml#L13-L14
Whereas in golangci-lint.yml workflow we use v3 https://github.com/grafana/mimir-prometheus/blob/d713e39865be0bd950404d1d0bb90a60ab4804e7/.github/workflows/golangci-lint.yml#L27-L30
The last workflow is present on both repos so I think the workaround for now is to remove the redundant Lint job in test.yml and then maybe decide what we do with CI at @codesome 's https://github.com/grafana/mimir-prometheus/pull/310/files

Closing in favor of https://github.com/grafana/mimir-prometheus/pull/316


support for reading data from stdin for datafusion-cli

Support for reading from stdin or memory would really help in the usage of linux pipes and other solutions whereby datafusion will be chosen as an option rather than choosing other binaries.  https://github.com/apache/arrow-datafusion/discussions/9409#discussion-6295369

Note there are some good examples on https://github.com/apache/arrow-datafusion/discussions/9409

Copy my comment here:

I tried this with JSON:
$ cat sql
create external table test stored as json location '/dev/stdin';
select * from test;

$ cat 1.json
{ "age": 2, "name": "steve" }

$ cat 1.json |datafusion-cli -f sql
DataFusion CLI v36.0.0
0 rows in set. Query took 0.001 seconds.

0 rows in set. Query took 0.000 seconds.

It won't give you error, though it won't print the rows as well..
For parquet, datafusion-cli gives you an error because the file size of a pipe is 0:

$ cat src/main.rs
fn main() {
    let stat = nix::sys::stat::fstat(0).unwrap();
    println!("{}", stat.st_size);
}

$ cargo b
$ cat 1.json | ./target/debug/rust
0

$ cat sql
create external table test stored as parquet location '/dev/stdin';
select * from test;

$ pqrs cat 2.parquet

###############
File: 2.parquet
###############

{Age: 2}

$ cat 2.parquet | datafusion-cli -f sql
DataFusion CLI v36.0.0
Execution error: file size of 0 is less than footer
Error during planning: table 'datafusion.public.test' not found

For CSV, it gives you an error Object Store error: Generic LocalFileSystem error: Error seeking file /dev/stdin: Illegal seek (os error 29) because pipe is not seekable:
$ cat sql
create external table test stored as csv location '/dev/stdin';
select * from test;

$ cat username.csv
Username; Identifier;First name;Last name
booker12;9012;Rachel;Booker
grey07;2070;Laura;Grey
johnson81;4081;Craig;Johnson
jenkins46;9346;Mary;Jenkins
smith79;5079;Jamie;Smith

$ cat username.csv | datafusion-cli -f sql
DataFusion CLI v36.0.0
Object Store error: Generic LocalFileSystem error: Error seeking file /dev/stdin: Illegal seek (os error 29)
Error during planning: table 'datafusion.public.test' not found

I am interested in this, but not quite sure if I can make it as fixing this needs to work with those arrow-xx crates, but anyway.
I think the first thing I am gonna do is to take a look at the above JSON example, and figure out why it does not print the data even on success.

take

I am interested in this, but not quite sure if I can make it as fixing this needs to work with those arrow-xx crates, but anyway.

You may be able to something like implement a StdinObjectStore and register it in datafusion-cli

You may be able to something like implement a StdinObjectStore and register it in datafusion-cli
Then there is a separate question of handling urls like /dev/stdin 🤔

Thanks for the tip, will give it a think:)


Feature Request: Nested Navigation within Tabs

Hi @eseidelGoogle , navigation is really great and flexible in flutter. However, tab navigation isn't. You can't navigate within tabs (like many apps do). Only a few inefficient workarounds allow this. It would be great if we had nested navigation. Screens and/or routes that will render a widget within a parent widget. Something like this:

that would work with named routes.

Thank you for filing an issue. I believe this is already possible?  Cupertino for example uses a nested navigator pattern for something similar:
https://www.youtube.com/watch?v=3PdUaidHc-E
See nesting navigators:
https://docs.flutter.io/flutter/widgets/Navigator-class.html
Or did I mis-understand your request?

yh i guess that's it. my bad. Thanks


Help please!

Hey I can start the program on comand prompt easily but when I try to open it on aws I get the error that it cannot find the moduel classes/discord. Please help! My discord is StefanCooks#0001

Make sure you have all the files and have downloaded all of the npm packages on the server.

Closing this issue, open it back up if you are still having the same problem.


Support common property names for SJDataSource

Simple-JNDI expects a parameter called "driver", but many other JNDI implementations, including TomCat, use driverClassName. Simple-JNDI should support that too, in order to allow drop-in of properties files.

Besides supporting "driverClassName" in addition to "driver", should also support "username" in addition to "user".

With DBCP 2 this is done. See https://github.com/h-thurow/Simple-JNDI/wiki/DataSource-Configuration-DBCP-2-and-Commons-Pool-2-(New-in-0.15.0)

Neato!


Test views

Summary Change Description
Added tests for views/templates.
Added an 'ordering' attribute for the list views to avoid throwing a warning:
UnorderedObjectListWarning: Pagination may yield inconsistent results with an unordered object_list

Affected Issue Numbers

Resolves #105

Code Review Notes
I split the tests up into model tests and view tests and put both files into a module directory.
I created a new, smaller, dataset to load for the views testing to speed things up a bit. I'm not sure we really needed it, and in fact it might be better to have a larger one for some of the pagination tests, etc. in the future. But it's there now for any test classes that need it.
Note, when running the tests, all transactions by setupTestData are rolled back when a TestCase class is finished, thus the tables are empty. However, the sequence ids are not reset, so the ids won't necessarily start at 1.
Checklist

[x] All issue requirements satisfied (or no linked issues)
[x] Linting passes.
[x] Migrations created & committed (or no model changes)
[x] Tests implemented (or no code changes)
[x] All tests pass

The conflicts are likely from my merge this morning.  I'm doing a rebase. If all goes well, I'll push the resolution.

I just pushed the result of my rebase.  I immediately realized I should have linted & tested.  I have a local version of superlinter running now.  If there are any changes, I will push after lunch.

I just pushed the result of my rebase. I immediately realized I should have linted & tested. I have a local version of superlinter running now. If there are any changes, I will push after lunch.

This doesn't look right @hepcat72. There should only be two commits. I have a rebased branch ready to go for this, passes tests and linting. Just let me know if you want me to push it.


a card preparer for the mlsum dataset

Hi @yoavkatz ,
This mlsum is a twin brother of xlsum from Yesterday.  I applied here all the suggestions you made for that xlsum yesterday.
Please see if you can approve this mlsum (here) as well.

Hi @yoavkatz ,
I just updated this branch against main.
Please see if you can approve this one as well.
(and thanks for your other approvals today)

Thank you, @yoavkatz , I now merge.


I fixed the stretched corners on the long version of the Dave and Bambi Health Bar

What feature do you want to get added on the base engine?
This:

To test your sight, and reliability, please select the option of what should NOT be requested.
Stage Editor and 6K+ support.

added


Add Basic RWKV Block to GPT-NeoX

We want to add RWKV to gpt-neox:

[x] Add basic RWKV block, without kernels, from https://github.com/BlinkDL/RWKV-LM to https://github.com/EleutherAI/gpt-neox/tree/main/megatron/model
[x] Add rwkv kernels
[x] Add config options for rwkv
[x] Add assertions to gpt-neox so that parallelism schemes and other architectures are disabled when rwkv is enabled in config

Closed by https://github.com/EleutherAI/gpt-neox/pull/1198 and https://github.com/EleutherAI/gpt-neox/pull/1221


How to reflect to enum with type and value strings？

Hi, this is a great work you’v made. But how to reflect from strings of enum value and name?
I have,
enum Type
{
   A = 1,
   B = 2
};

and text content

enum name : Type ; value: A

How to reflect the strings into Type with A?
I know there is no reflection in c++, but can we build that system just with help of this better-enum project?

You would have to edit the macro to store the name of the type being declared somewhere. I'm not immediately sure if it can be done in a compile-time only way. It can definitely be done with an ordinary run-time map.

It can definitely be done with an ordinary run-time map.

Would you be kindly tell me how to this?


Replace setup.py with project.toml

Replace setup.py with project.toml.
Ref PEP 517 and PEP 518.

Remember to update the release procedure in CONTRIBUTING.md


add java i386 arch

@bparees PTAL
*** NOTE ***
I wanted to see what it would take to use alternatives to manage the java version as the 1001 user, since alternatives is a more complete switch (handles everything, not just the java binary).
Here are the updates for centos and jenkins v1 and v2.
Based on how the review goes, I'll circle back and start looking into updating the rhel image.

I think most of my questions boil down to "exactly what does "alternatives -set java" do?

OK, so the alternatives command (do a man alternatives on say your fedora laptop, or see https://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Installation_Guide/Install_OpenJDK_on_Red_Hat_Enterprise_Linux.html) allows you to manage all the binaries of a given "application" and switch between versions when multiple versions can exist on a system.
Java is such an "application".
Essentially every binary I am unlinking in the Dockerfile is a binary under the Java umbrella that is managed by alternatives.
Per the doc noted above, it is assumed you'll be root or using sudo, so all this was the attempt to work around that.
Ultimately, /usr/bin/java is linked to /etc/alternatives/java, which is then linked to the specific version of java you want (i.e. i386 vs. x86_64, or specifhttps://access.redhat.com/documentation/en-US/JBoss_Enterprise_Application_Platform/6/html/Installation_Guide/Install_OpenJDK_on_Red_Hat_Enterprise_Linux.htmlic versions of either of those two arch's).  The alternatives command will replace the links for all the files listed under the Java "family" to the version you specify.
Simply changing the permissions was not sufficient though.  alternatives does some ln type operations under the covers.  Evidently when running as root, you can existing links.  But you can't ln over an existing file when running as non-root, independent of the permission of the file.  So the ln portion of alternatives would fail.  Unlinking in the Dockerfile prior to running alternatives in the run script was the workaround.
As to the random ID, to work around that, we would ditch the chown calls and replace them with chmod 777 to allow the random IDs to manipulate these files.
So the question:  is this extent of permission change the lesser or greater evil, as compared to using JAVA_HOME or fully resolved path to java in our various scripts, but having all the other java-related binaries point to the other arch.  My concern with the latter is how assured can we be the Jenkins or some plugin will pull in won't have a dependency on one of those other binaries.
Or we simply just switch to 32 bit and don't provide a dynamic switch.

OK I've reverted the test run scripts to use the random ID and updated the Dockerfiles to leverage chmod to open things up further to users beyond root or 1001.  make test passes locally for me.

So the question: is this extent of permission change the lesser or greater evil, as compared to using JAVA_HOME or fully resolved path to java in our various scripts, but having all the other java-related binaries point to the other arch. My concern with the latter is how assured can we be the Jenkins or some plugin will pull in won't have a dependency on one of those other binaries.

yeah i certainly like using alternatives better than relying on java_home (it's never been clear to me to what extent that actually controls the classpath and other aspects of the application runtime)

we should add a test that brings up the image using the 32 bit jvm.

The 32 bit jvm comes up, but an initial foray into a 32 bit jvm test brought up a potential issue.  The password related stuff failed, and I now noticed this in the jenkins log:
ERROR: ld.so: object 'libnss_wrapper.so' from LD_PRELOAD cannot be preloaded: ignored.

Looks like we'll need to see if a 32 bit version of the nss stuff is out there.

OK I've pushed an update that

adds a 32 bit test
tweaks the debug along the lines discussed
installs (albeit via rpmfind.net which may not be a long term solution) 32 bit nss for centos

make test passes for me locally
I'll circle back to the chgrp comment, then look at 32-bit for slave-base and the headless java stuff.

On Fri, Jan 27, 2017 at 4:37 PM Ben Parees<EMAIL_ADDRESS>wrote:

@bparees commented on this pull request.
In 1/Dockerfile https://github.com/openshift/jenkins/pull/238:

@@ -48,6 +48,35 @@ RUN /usr/local/bin/plugins.sh /opt/openshift/base-plugins.txt &&
touch /opt/openshift/plugins/subversion.jpi.pinned &&
touch /opt/openshift/plugins/ssh-credentials.jpi.pinned &&
touch /opt/openshift/plugins/script-security.jpi.pinned && \

chmod -R 777 /etc/alternatives && \
chmod -R 777 /var/lib/alternatives && \
chmod -R 777 /usr/lib/jvm && \
chmod 777 /usr/bin && \
chmod 777 /usr/lib/jvm-exports && \
chmod 777 /usr/share/man/man1 && \

yeah i meant that we could chmod them to 775 (since they are already in
the root group, there is no need to chgrp them)

ah ok i originally tried 775 and it didn't work with the random 10000 uid

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openshift/jenkins/pull/238, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADbadErkCYXcRNflwkGh7OG0X2K_J1zdks5rWmOXgaJpZM4LuAsj
.

ah ok i originally tried 775 and it didn't work with the random 10000 uid

strange.  the container user is always a member of the root group.

Pretty sure that was the case, but I did iterate over the solution quickly.  Maybe I misinterpreted something.  I'll retry when I get the chance to make sure.
Also, I just pushed the slave-base changes for 32 bit centos.

looks ok to me, but i still want us to pursue the centos nss wrapper rpm before merging.

Absolutely - I've also started rhel changes.  Or do we only want to merge
centos initially?
On Mon, Jan 30, 2017 at 4:53 PM Ben Parees<EMAIL_ADDRESS>wrote:

looks ok to me, but i still want us to pursue the centos nss wrapper rpm
before merging.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openshift/jenkins/pull/238#issuecomment-276203585,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADbadGkm4Kw-rMmHbWlUxy_KG8_jlQ3lks5rXlvcgaJpZM4LuAsj
.

starting rhel makes sense.

OK, I've pushed the rhel changes after some verification on a local AWS rhel instance I have.
@tdawson - if you recall the 32 bit nss_wrapper rpms for centos7 and rhel7 discussion you @bparees and I had on IRC a few days ago, do you have a preference on how we "officially" engage with you to get those RPMs available on a repo for our jenkins build to access on your plate?  Or is it too soon to "officially" engage :-) ?
thanks

Hmm ... the use of alternatives failed in the PR test for rhel even though it passed for me in my local aws instance.
Going to temporarily add some debug and see what is up.

Also taking out SKIP_SQUASH based on our recent email thread.

Ah .. did not pull all the changes from my AWS instance over to my local repo (since I can't get vagrant-openshift sync for the jenkins repo to work yet :-( )
Pushing fix in a sec.

OK, now pushed update to dynamically set to 32bit if mem is less that 4GB and the env var is not explicitly set to use 64 bit.  PTAL @bparees

Ok I can see about adding more sophistication.  Though I wonder if it
really needs to be that precise.  If the user is manipulating the heap with
the other props and hitting edge cases he can just add the prop to
explicitly turn on 32 bit.
But yeah if it becomes a rabbit hole we can just punt.
On Tue, Jan 31, 2017 at 5:41 PM Ben Parees<EMAIL_ADDRESS>wrote:

@bparees commented on this pull request.
In 1/contrib/s2i/run https://github.com/openshift/jenkins/pull/238:

@@ -9,11 +9,36 @@
source /usr/local/bin/jenkins-common.sh
source /usr/local/bin/kube-slave-common.sh

+#get the fully qualified paths to both 32 and 64 bit java
+JVMPath32bit=alternatives --display java | grep family | grep i386 | awk '{print $1}'
+JVMPath64bit=alternatives --display java | grep family | grep x86_64 | awk '{print $1}'
+
+#if machine has 4GB or less, going to force use of 32bit to save space unless user
+#specifically want to force 64bit
+CONTAINER_MEMORY_IN_BYTES=cat /sys/fs/cgroup/memory/memory.limit_in_bytes
+MEMORY_LIMIT_FOR_32BIT=$((2**32-1))
+
+# set the java version used based on OPENSHIFT_JENKINS_JVM_ARCH
+if [ -z $OPENSHIFT_JENKINS_JVM_ARCH  ]; then

if [ "${CONTAINER_MEMORY_IN_BYTES}" -gt "${MEMORY_LIMIT_FOR_32BIT}" ]; then

btw i'm perfectly ok w/ not doing this magic.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openshift/jenkins/pull/238, or mute the thread
https://github.com/notifications/unsubscribe-auth/ADbadE_ATCeYBqfes_gnssP2MdumD3SOks5rX7iygaJpZM4LuAsj
.

Pushed the changes for the 32 vs. 64 bit auto tuning per our discussion in scrum this AM.

OK pushed the changes to remove nss_wrapper as a dependency per discussion in scrum this AM.
Assuming this holds we won't need our previous ask of @tdawson regarding getting 32 bit nss_wrapper available on our repos during image build.

Thanks for removing the nss_wrapper dependency.  Every scenario I could think of was rather messy.

@gabemontero one last test related nit and then lgtm.  We'll hold this until the 3.5 jenkins image goes out the door though.

Updates to test pushed.
btw, more scm-api plugin churn seen during the v2 test:
SEVERE: Failed Loading plugin GitHub Branch Source Plugin v2.0.3 (github-branch-source)
java.io.IOException: GitHub Branch Source Plugin v2.0.3 failed to load.
 - SCM API Plugin v2.0.3 is older than required. To fix, install v2.0.4 or later.

I'll create a separate PR, then rebase this PR after that PR merges.

ok test passing again after plugin update rebase

@bparees  bump ... are we close enough to 3.5 GA to update the centos image and have @tdawson cook up a rhel7 image on brew for QA to use?  If not there yet, are we close enough that a precise target date is known?
thanks

@gabemontero probably the end of this sprint, which is when we hit codefreeze for 3.5.

On Tue, Feb 21, 2017 at 11:41 AM Ben Parees<EMAIL_ADDRESS>wrote:

@gabemontero https://github.com/gabemontero probably the end of this
sprint, which is when we hit codefreeze for 3.5.

makes sense ok thx for update

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/openshift/jenkins/pull/238#issuecomment-281400384,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADbadObWxiGZcyVU1VOFtpzZX2K9NNTHks5rexOigaJpZM4LuAsj
.


feat: render pattern properties for Java class

Description
This PR renders the pattern properties for the java class.
Related issue(s)
Related to #154

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

14 of 14 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 94.81%

Totals

Change from base Build 993634535:
0.05%

Covered Lines:
1432

Relevant Lines:
1461

💛  - Coveralls


RedisQueue::pop() has 2 issues

I am concerned about 2 issues in this code from RedisQueue.php:
public function pop($queue = null)
{
    $original = $queue ?: $this->default;
    $this->migrateAllExpiredJobs($queue = $this->getQueue($queue));
    $job = $this->redis->lpop($queue);
    if ( ! is_null($job))
    {
        $this->redis->zadd($queue.':reserved', $this->getTime() + 60, $job);
        return new RedisJob($this->container, $this, $job, $original);
    }
}

Assume you pop a job and then something crashed. Then the job cab be lost for ever before getting reserved. I guess this can be handled with Redis scripts or transactions (but not sure).

assume you run this command:
php artisan queue:listen --timeout=120

This means you expect your job takes more than 1 min. Now if you have multiple listeners to the same queue (I don't see anybody told me I can't do that), then the job may get re-pushed by the execution of following line by another listener:
$this->migrateExpiredJobs($queue.':reserved', $queue);

I think it will be nice to replace that hard-coded 60 with something like $this->max_run_time + some_epsilon.

Issue 1 is not fixed yet.


Awesome-* lists and discussion repositories

A lot of repositories on GitHub do not, in fact, use code. For instance, awesome-* lists are generally just lists in a README that do not have any code to install or use. Another example are README's introducing discussion repos, where everything happens in the issues, and the README is just a placeholder telling people to go there.
In the second case, I've been using this format:
# apps

[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)
[![](https://img.shields.io/badge/discussion_repo-go_to_issues-brightgreen.svg?style=flat-square)](https://github.com/ipfs/apps/issues)
[![standard-readme compliant](https://img.shields.io/badge/standard--readme-OK-green.svg?style=flat-square)](https://github.com/RichardLitt/standard-readme)

> Coordinating writing apps on top of ipfs, and their concerns.

This is a **discussion repo**. That means that all of the work gets done in the [issues](https://github.com/ipfs/apps/issues).

## Contribute

Feel free to join in. All welcome.

### Want to hack on IPFS?

[![](https://cdn.rawgit.com/jbenet/contribute-ipfs-gif/master/img/contribute.gif)](https://github.com/ipfs/community/blob/master/contributing.md)

## License

MIT

For awesome-lists, I have a similar problem. The only difference is that the header often is the NLP version of the repo name, and that it normally has a badge linking to @sindresorhus's repo, https://github.com/sindresorhus/awesome. I think this doesn't mean it can't be standardized. I propose this format for those:
# Awesome IPFS [![Awesome](https://cdn.rawgit.com/sindresorhus/awesome/d7305f38d29fed78fa85652e3a63e154dd8e8829/media/badge.svg)](https://github.com/sindresorhus/awesome)

[![](https://img.shields.io/badge/made%20by-Protocol%20Labs-blue.svg?style=flat-square)](http://ipn.io)
[![](https://img.shields.io/badge/project-IPFS-blue.svg?style=flat-square)](http://ipfs.io/)
[![](https://img.shields.io/badge/freenode-%23ipfs-blue.svg?style=flat-square)](http://webchat.freenode.net/?channels=%23ipfs)

> Useful resources for using [IPFS](https://ipfs.io) and building things on top of it

_This list is for projects, tools, or pretty much any things related to IPFS that
are totally_ **awesome**_. This is for products which are already awesome - if
you have plans for cool stuff to do with IPFS, you should build it, and then
link it here. If you have an idea for an awesome thing to do with IPFS, a good
place to ask about it might be in [ipfs/apps](https://github.com/ipfs/apps) or
[ipfs/notes](https://github.com/ipfs/notes)._

## Table of Contents

* [Any topic](#any-topics)
...
* [Contribute](#contribute)
* [License](#license)

## Any topics

...

## Contribute

Please add (or remove) stuff from this list if you see anything awesome! [Open an issue](https://github.com/ipfs/awesome-ipfs/issues) or a PR.

## License

[![CC0](https://licensebuttons.net/p/zero/1.0/88x31.png)](http://creativecommons.org/publicdomain/zero/1.0/)

We can put examples in the example folder, and specify this in the spec. What do we think?

You can't handle everything, every kind of README page on github. I think it is enough as it is now :)

Agreed. For now, as a guideline, you can remove extra sections if not needed. We can extend the standard as needed, but it is basically a guideline, not a hard and fast rule.


WebView not working correct when using Touchscreen

WebView does not work properly when using a touch screen. When attempting to scroll with a touchscreen, text is marked selected instead of scrolling. Executing a button doesn't work either.
The issue can be reproduced using the sample app on a touchscreen.

Same issue here, the scrolling is not working with a Windows device using the touch screen

Same issue here... Is there a solution so far?

We have the same experience here - We try to port our existing cordova windows app to flutter. It seems that touch/pointer events are not passed while your using touch screen. The mouse events (expect wheel scrolling) work fine.
We are looking forward for a solution.

Same issue here...


How do you start the job automatically without having to type "example_file.py" command

First time trying to implement something like this.
When I run "python example_file.py" the jobs run at the given intervals. I'm trying to figure out how I now can run this automatically without having to use the command "python example_file.py"
Currently trying to implement this with Heroku.
Any help is appreciated. Thanks!

I do have almost the same question.
While using background task I do not know how to start the task properly.
Even commenting the stop_run_continuously.set() the jobs never begins.
And when I did call the def anyname(): I created for each job or the run_continuously all the jobs runs twice.
I do hope they answer your question @corkin because will for sure help me as well .
And unfortunately I didn't find anything in stack or google...

Hi! This library is an in process scheduling library, meaning that it only runs inside a python script. There is way to schedule jobs using this library without running a python process.
However, you could look into automatically running python example_file.py whenever Heroku starts your app.

Thanks for the reply. Yes, I just ended up using the Heroku Scheduler add on to automatically run the script.


Support urllib3 Retries at Individual Request Level

Right now, requests supports urllib3 retries at the pool level, allowing retries to occur fairly globally. It seems as if urllib3 supports retries at a more granular level as well, for individual requests:
>>> r = http.request(
...     'GET',
...     'http://httpbin.org/redirect/3',
...     retries=urllib3.Retries(
...         redirect=2, raise_on_redirect=False))
>>> r.status
302

It would be nice if requests had support for this level of granularity, as some of our cases require retries for only specific endpoints on a single API.
Apologies if this is the wrong place for this, wasn't sure where to place feature requests.
Thanks!
Tim

Thanks for this request!
Unfortunately, we're unlikely to support this: it's fundamentally an additional complexity that we don't think is justified in the API. At this point our top-level API is largely frozen, and we're very unlikely to widen it or add new features.
However, it's worth noting that the Transport Adapter in use for a given request is chosen on a longest-prefix-match on the entire URL. That means that you can register different adapters for different paths, as well as different hosts, which should give you the flexibility you need.
I hope that helps!


move to rebar3

With this you could also publish it with rebar3 hex publish or rebar3 hex cut http://www.rebar3.org/v3.0/docs/using-available-plugins#hex-package-management

@tsloughter Have you tested eqc with rebar3?

I haven't but it is used https://github.com/kellymclaughlin/rebar3-eqc-plugin
And I think @jlouis uses eqc and rebar3 but just runs eqc directly.

I just run EQC through Common Test, and then I have an eqc profile for when I want to run tests through EQC. Works nicely with Travis CI which cannot run the EQC tests. Example here:
https://github.com/jlouis/fuse/blob/master/rebar.config#L11-L15
https://github.com/jlouis/fuse/blob/master/test/fuse_eqc_SUITE.erl#L54-L64
It is fairly unhackish, except that you would probably prefer this being an Common Test configuration option, but that can be made later.


Simplify and doc for message_standard_version

Minor tweak to message_standard_version. Mostly improved comments around issue of using this
with binary file data.

Wrong branches. Should be dev branch.


2.0.1 again: remove unbalanced brackets

The previous PR had unbalanced brackets and the build failed. It was untested.
Note that I put skip CI in the title and then removed it, which is why it didn't build for this PR.

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_6a3scply4f/clone/recipe/meta.yaml:21: duplicate_key_in_meta_yaml: The recipe meta.yaml contains a duplicate key
WARNING: /tmp/abs_6a3scply4f/clone/recipe/meta.yaml:72: build_tools_must_be_in_build: The build tool pkg-config is not in the build section.
WARNING: /tmp/abs_6a3scply4f/clone/recipe/meta.yaml:91: build_tools_must_be_in_build: The build tool ninja is not in the build section.
WARNING: /tmp/abs_6a3scply4f/clone/recipe/meta.yaml:98: build_tools_must_be_in_build: The build tool ninja is not in the build section.
ERROR: build.sh:179: pip_install_args: pip install should be run with --no-deps and --no-build-isolation.
Errors were found


vanillajs datepicker locales doesn't work

https://esm.sh/vanillajs-datepicker/js/i18n/locales/cs.js doesn't load the locales files, I think this worked earlier - https://github.com/mymth/vanillajs-datepicker/blob/master/js/i18n/locales/cs.js

thanks, i will fix it ASAP.

fixed, please try again, thanks 🙏


Reduce node_modules size

In an effort to reduce the size of both the Brackets codebase and builds (those that are distributed with installers), I've managed to reduce the size of a build by 1.3 MB. That doesn't sound like much, but it's actually a respectable 6% for doing nothing than removing cruft.
I

made use of lodash.find instead of the overkill lodash in src/LiveDevelopment/MultiBrowserImpl/transports/node/
updated ws and pruned the optional binaries included there in src/LiveDevelopment/MultiBrowserImpl/transports/node/
removed async and rewire from the tree and made them devDependencies in  src/extensibility/node/
pruned all test|tst|examples|benchmark|perf|images folders in  src/extensibility/node/

Nice!

made use of lodash.find

If you make a separate PR I could review: it should be a drop-in replacement, right?

removed async and rewire

So now you need to run npm install inside src/LiveDevelopment/MultiBrowserImpl/transports/node/?
If so I'm not sure is right.

pruned all

Did you do manually? Or run npm install --production?
I think we should do the latter, but there is some differences between npm1-2 and npm3...

I feel like my cleanup PRs stood still for way too long to be useful anymore. I'm gonna close them for that reason.


Selected pattern segments hard to see

When creating an adjust-speed modification, it is difficult to see which segment of the patterns is selected, simply because of the colors used (dark purple on dark green).

@abyrd better?

So here you've selected patterns in both directions? Yes looks great!


Ran out of tmp2 space, no error

Xorinox plotted with a tmp2 directory that did not have enough space. The plotting finished with no error message, but the final plot was only 3GB for a k=30, so it did not succeed.

Fixed https://github.com/Chia-Network/chiapos/pull/41


Timer polish

Partially from #37

[x] Show time in minutes and seconds
[x] Show negative time better
[ ] Show number of penalties accrued
[x] Fix display of lost time when swapping
[ ] Render overtime better in some way

Labelled as Future as the remaining items only apply to timed games, which aren't available in the MVP release.


Alamofire doesn't save cookies on iOS 10.1.1

It just seems that cookies don't get saved any more on 10.1.1
I've tested 9.3, 10.0 beta, 10.1 and 10.1.1. Only 10.1.1 seems to have that issue.
Can somebody confirm? The big question now is, is it an iOS or an Alamofire bug?

Ok, it seems like to happen on one device only. I just tested on another device with 10.1.1 and there was no issue. Could any device specific settings cause that?

If you can find a way to replicate this issue beyond that one device, we'll be happy to take a look. Otherwise it seems like an issue with that device or a bug in Apple's underlying networking implementation.


PSR-721 - maximum character lengths that correspond to ETMP bug fixes

@Arei1997 I closed this, as the approach has been changed and a separate PR is already merged.


Preprocessing functionality for anntest

Preprocessing functionality is needed for anntest to support certain models with normalized input.

@hansely can you look into this issue?

Sure. Looking into it

@hansely any updates on this issue?

@kiritigowda @paveltc was working on this

@kiritigowda You, Hansel and I need to look at the preprocessing code. It is giving incorrect values for the probabilities.

@hansely can we close this issue?


Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=<IP_ADDRESS>,

using NET 5.0, NPOI 2.55
After I publish my project to a self contained executable and run it , I get the error
--Could not load file or assembly 'ICSharpCode.SharpZipLib, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=1b03e6acf1164f73'. The system cannot find the file specified.
I installed the version <IP_ADDRESS> ,which is not the latest version, but I still get the same error

what's "self contained executable"? a docker container?

Hi Tony,
Its an option when creating an executable via publish
[image: image.png]
On Fri, Mar 4, 2022 at 9:52 PM Tony Qu @.***> wrote:

what's "self contained executable"? a docker container?
—
Reply to this email directly, view it on GitHub
https://github.com/nissl-lab/npoi/issues/771#issuecomment-1059468858,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR3XNH4IQOCSHKZSR7ARSDU6JSWPANCNFSM5P5M34LA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

picture attached in the email is not supported to be displayed in Github issue.

sorry I didn't know,
I right click on the project i want to create an executable
I Select the publish option
I click on Show all options
Then there is an option Deployment Mode : Self Contained
I use this to create a single executable without Dlls
On Fri, Mar 4, 2022 at 10:01 PM Tony Qu @.***> wrote:

picture attached in the email is not supported to be displayed in Github
issue.
—
Reply to this email directly, view it on GitHub
https://github.com/nissl-lab/npoi/issues/771#issuecomment-1059474651,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR3XNGYQYWF2IUDOQ3PPILU6JTX7ANCNFSM5P5M34LA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

I suggest you double check MIcrosoft document. Self contained deployment is a special case. Your issue is not caused by NPOI itself. The root cause is DLL packaging and deployment.

Thanks, I'll check it out.
On Fri, Mar 4, 2022 at 10:12 PM Tony Qu @.***> wrote:

Closed #771 https://github.com/nissl-lab/npoi/issues/771.
—
Reply to this email directly, view it on GitHub
https://github.com/nissl-lab/npoi/issues/771#event-6187421863, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ABR3XNBMVFD4EGHGRZG66PLU6JVCPANCNFSM5P5M34LA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>


Buy Google Apps so we have domain email

<EMAIL_ADDRESS><EMAIL_ADDRESS>
Btw, http://getrect.org is also free :D

Done!


Distinguish bare <> from normal ()[] links in the ast

<http://example.com> [My Link](http://example.com)

[
  {
    "children": [
      {
        "tag": "str",
        "text": "http://example.com"
      }
    ],
    "tag": "link",
    "destination": "http://example.com"
  },
  {
    "tag": "str",
    "text": " "
  },
  {
    "children": [
      {
        "tag": "str",
        "text": "My Link"
      }
    ],
    "tag": "link",
    "destination": "http://example.com"
  }
]

The problem here is that the two cases are indistinguishable on the AST layer, but it might be usful. In particular, they might want different word-break css.

Pandoc handles this by adding a uri class to "autolinks" (<..>).  We could do something similar.

My gut feeling is probably do just
{
    "tag": "autolink",
    "destination": "http://example.com"
}

It seems best to add "desugaring" of the destination into children to the rendered -- it might want to, for example, strip the protocol so that it is rendered as example.com.

Yes, that probably makes more sense.


Blank Screen is displayed after launching debug app of flutter with settings of appium

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Steps to reproduce
Blank Screen is displayed after launching debug app of flutter with settings of appium
Followed steps in below links
https://www.lambdatest.com/support/docs/testing-flutter-apps/
https://testingbot.com/support/mobile/flutter.html#start
Expected results
Expect the debug app to launch successfully after the flutter settings done to apk file
Actual results
Blank Screen is displayed after launching debug app of flutter with settings of appium
Code sample
Please refer code in below links
https://www.lambdatest.com/support/docs/testing-flutter-apps/
https://testingbot.com/support/mobile/flutter.html#start
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[Paste your output here]

Hi @RYenike. Thanks for filing this issue. I'm currently unable to reproduce this issue on the latest master and stable channels. I'm using the Sample Flutter Demo App.
Can you provide more information into how you reproduce this issue. Also, kindly share the output of your flutter doctor -v

Please find attached logs

Below is the output
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.10.0, on macOS 13.4.1 22F770820d darwin-x64, locale en-IN)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.2)
[✓] VS Code (version 1.80.1)
[✓] VS Code (version 1.70.2)
[✓] Connected device (3 available)
[✓] Network resources
• No issues found!
welcome@Welcomes-MacBook-Pro rfxcel-mobile-flutter % flutter doctor -v
[✓] Flutter (Channel stable, 3.10.0, on macOS 13.4.1 22F770820d darwin-x64, locale en-IN)
• Flutter version 3.10.0 on channel stable at /Users/welcome/Downloads/Flutter sdks/flutter_3_10
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 84a1e904f4 (2 months ago), 2023-05-09 07:41:44 -0700
• Engine revision d44b5a94c9
• Dart version 3.0.0
• DevTools version 2.23.1
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
• Android SDK at /Users/welcome/Library/Android/sdk
• Platform android-33, build-tools 33.0.0
• ANDROID_HOME = /Users/welcome/Library/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Build 14E300c
• CocoaPods version 1.12.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2022.2)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)
[✓] VS Code (version 1.80.1)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.68.0
[✓] VS Code (version 1.70.2)
• VS Code at /Users/welcome/Downloads/Visual Studio Code.app/Contents
• Flutter extension version 3.68.0
[✓] Connected device (3 available)
• sdk gphone x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
• macOS (desktop)         • macos         • darwin-x64     • macOS 13.4.1 22F770820d darwin-x64
• Chrome (web)            • chrome        • web-javascript • Google Chrome 114.0.5735.198
[✓] Network resources
• All expected network resources are available.
• No issues found!


Add a method to reset the arguments to std::process::Command

std::process::Command docs
It would be cool if this struct has an option to reset all the current arguments, this would be useful fo example here:
use std::{
    io::Result,
    process::{Child, Command},
};

pub fn get_killer() -> Box<dyn FnMut(&str) -> Result<Child>> {
    let is_windows = cfg!(target_os = "windows");

    let mut cmd = Command::new(if is_windows { "cmd" } else { "pkill" });

    Box::new(move |program| {
        cmd.reset_args(); // removing previous args from previous closure calls

        if is_windows {
            cmd.args(["taskkill", "/IM", program, "/F"]);
        } else {
            cmd.arg(program);
        }

        cmd.spawn()
    })
}

Using tools possible today:
    let make_cmd = move || Command::new(if is_windows { "cmd" } else { "pkill" });

    Box::new(move |program| {
        let mut cmd = make_cmd();

Using tools possible today:
    let make_cmd = move || Command::new(if is_windows { "cmd" } else { "pkill" });

    Box::new(move |program| {
        let mut cmd = make_cmd();

This will require instantiating Command multiple times when we could use the same instance all the time.

when we could use the same instance all the time

What is the expected benefit of using one instance? I believe you will need to prove that benefit.

I feel like it is a fairly safe assumption to make that, on all operating systems, on all platforms and in all environments, the performance cost of running a Command object should far exceed the cost of building one.

It's weird that Command have env_clear() while args_clear() is missing 🙁

It's weird that Command have env_clear() while args_clear() is missing

env_clear says (emphasis mine):

Clears all explicitly set environment variables and prevents inheriting any parent process environment variables.

There are no "inherited parent process arguments", so all arguments were explicitly set. The two are not directly comparable.


0.9.1 version not available in npm

I've noticed in npm is available 0.8.5 version instead the last one.
Could you update npm version to 0.9.1?
thanks

New version is published. Sorry for the delay.


fix: Fix Live mode (#127)

Small PR to solve broken live mode.

thanks!  works for me.  May I ask what Qt backend and version you're on?

Sure, I'm using PyQt5 5.12.3 with QtPy  2.1.0


Create "Getting Started" guide

Put "Getting Started" section of README into its own file: documentation/getting_started.md
Link to this in the README

done 6621f6b584297f15038cc68ccbc0518005a188ce


test clean-ups

Made a few clean-ups on tests:

doctest & unittest -> temporary dirs outside of repo's root folder (testing is less noisy in the file system)
most files created by tests in tests/tmp (if not in other temporary folders outside of the local repo)
load-yaml-tests -> a. cpu-friendly scripts only | b. rir download to tests/tmp/rir (aim: regardless of which test runs, it's 1.3 Gb each time for the same archive - so, recipes can refer to the same download destination and skip if existing already)

Some recipes were adjusted (minor edits).
#1469 - test for profiling adjusted: CUDA presence issues recording of events, although PyTorch profiler with warming-up scheduler schould not record anything (but it does) ... during testing, these events were simply removed from the list to not interfer with PyTorch profiler's doings - we provide a wrapper only.

Thank you @anautsch, thank you for this improvement. I re-run all the tests and everything seems to work as expected.


Update dependencies

Django was updated to the latest security fix.

[Current coverage][cc-pull] is 49.87%

Merging [#534][cc-pull] into [master][cc-base-branch] will not change coverage

@@             master       #534   diff @@
==========================================
  Files            91         91
  Lines          4154       4154
  Methods           0          0
  Messages          0          0
  Branches        430        430
==========================================
  Hits           2072       2072
  Misses         2025       2025
  Partials         57         57

Powered by Codecov. Last updated by [5845b62...316aedd][cc-compare]
[cc-base-branch]: https://codecov.io/gh/mirumee/saleor/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/mirumee/saleor/compare/5845b6206cf5c5402256a88b83656c134bd9bb2a...316aeddf1415a9e6a0870132509ef8379ddc3005?src=pr
[cc-pull]: https://codecov.io/gh/mirumee/saleor/pull/534?src=pr


Add methods to determine the caller and backtrace

The PHP package can determine the caller and backtrace.
https://spatie.be/docs/ray/v1/usage/framework-agnostic-php-project#see-the-caller-of-a-function
We should add this to this gem as well.

Done!


chore: add issue template for tracking sdk changes

This PR adds an Issue template to help us track changes across all our SDKs. We can link to an issue in each repository directly and provide overall context.
I plan to use this for the deduping conversation proposal once it lands!

@jhaaaa Wow, great call out! I'm hoping it will be additive but will definitely check it out post-merge 👀


Improve debug message when the scheduler prepare to snapshot (volume …

…'id' and add volume name)
Signed-off-by: Milamber<EMAIL_ADDRESS>

Build failure not related to this change (cloudstack-pull-rats #256)
Code LGTM

LGTM


Update WSO2 IS Connector artifacts in 4.2.0 docs

Description:
Need to update WSO2 IS Connector artifacts in 4.2.0 docs in both [1] and [2].

Replace the wso2is-extensions-1.6.8.zip with the attached
wso2is-extensions-1.6.8.zip

Change jar version numbers mentioned in the doc pages [1][2] to 1.6.8 from 1.4.2/1.6.7/1.2.10.

i.e.
wso2is.key.manager.core-1.6.8.jar
wso2is.notification.event.handlers-1.6.8.jar
Need to change the version numbers in this screenshot from 1.6.7/ 1.2.10 to 1.6.8

[1] https://apim.docs.wso2.com/en/4.2.0/install-and-setup/setup/distributed-deployment/configuring-wso2-identity-server-as-a-key-manager/#step-4-configure-wso2-is-with-wso2-api-m
[2] https://apim.docs.wso2.com/en/latest/administer/key-managers/configure-wso2is-connector/#step-1-configure-wso2-is
Suggested Labels:

Suggested Assignees:

Affected Product Version:
OS, DB, other environment details and versions:
Steps to reproduce:
Related Issues:

Fixed with https://github.com/wso2/docs-apim/pull/6864/files

https://github.com/wso2/docs-apim/pull/6864


Windows in CI appears not to know about the metadata server

Evidence:

clean-test-data failing due to lack of default credentials
SignedUrlWithIamServiceBlobSigner failing due to attempting to skip

This may be related to internal project changes

#4751 might be related. I was never able to reproduce and the user didn't get back to us with more info.


Can InstantID be faster?

Thank you for your great work!
I'm curious if we can make InstantID faster? It's 3x slower than the standard SDXL pipeline on my 4090 (2.73it/s vs 8it/s). What slows it down so much?

I think LCM-LoRA and SDXL-turbo would be good choices. Deserve a shot.

You can also turn on xformer for optimization.

I found inference to be faster when using AttnProcessor2_0 (from the InstantID repo) than using xFormers. Perhaps code is unfinished, as there is a is_torch2_available function but it's not used?

Yes. Your gain benefits from torch2.0

You can also turn on xformer for optimization.

I found inference to be faster when using AttnProcessor2_0 (from the InstantID repo) than using xFormers. Perhaps code is unfinished, as there is a is_torch2_available function but it's not used?

Would you mind sharing how you implemented AttnProcessor2_0? I'd like to test it.

The simplest solution:
set num_inference_steps=20
The image quality is good enough. Speed up

You can also turn on xformer for optimization.

I found inference to be faster when using AttnProcessor2_0 (from the InstantID repo) than using xFormers. Perhaps code is unfinished, as there is a is_torch2_available function but it's not used?

Would you mind sharing how you implemented AttnProcessor2_0? I'd like to test it.

It's already implemented, you just swap AttnProcessor to AttnProcessor2_0 in pipeline_stable_diffusion_xl_instantid.py

We will update soon

Besides of Pytorch 2.0. We have already added an example for LCM-LoRA, which allows for fewer steps and can improve speed quite a bit.

Where do you turn on xformer?

Besides of Pytorch 2.0. We have already added an example for LCM-LoRA, which allows for fewer steps and can improve speed quite a bit.

"To use it, you just need to load it and infer with a small num_inference_steps"
I add in app.py and it was downloaded:
from huggingface_hub import hf_hub_download
hf_hub_download(repo_id="latent-consistency/lcm-lora-sdxl", filename="pytorch_lora_weights.safetensors", local_dir="./checkpoints")
but where should I insert this to make it work? :
from diffusers import LCMScheduler
lcm_lora_path = "./checkpoints/pytorch_lora_weights.safetensors"
pipe.load_lora_weights(lcm_lora_path)
pipe.fuse_lora()
pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
num_inference_steps = 10
guidance_scale = 0

Thank you for your great work! I'm curious if we can make InstantID faster? It's 3x slower than the standard SDXL pipeline on my 4090 (2.73it/s vs 8it/s). What slows it down so much?

One guy from my channel wrote: Installed locally on ubuntu. The 3090 card. On average, an image takes about 22 seconds..
Maybe it's about Ubuntu?

I'm on 3090 - 24gb VRAM  - got 100gb of RAM (DDR5)
I asked chatgpt to help profile - it suggested cprofile (comes out of the box)
seeing   16.289 seconds
am running this faceswap.py code (lcm)
https://gist.githubusercontent.com/johndpope/71b70e876a28128228db8bcee2355b0a/raw/4d1e7b4ebc81093981fd64ae051a645070fbc97b/faceswap.py
https://github.com/InstantID/InstantID/pull/89

import cProfile
import faceswap  # Replace with your script/module name
import pstats

cProfile.run('faceswap.main()', 'profile_output')
p = pstats.Stats('profile_output')
p.sort_stats('cumulative').print_stats(10)  # Adjust as needed

Mon Jan 29 17:34:06 2024    profile_output
     16026416 function calls (11379666 primitive calls) i**n 16.289 seconds**

Ordered by: cumulative time
List reduced from 4085 to 10 due to restriction <10>
ncalls  tottime  percall  cumtime  percall filename:lineno(function)
334/1    0.006    0.000   16.295   16.295 {built-in method builtins.exec}
1    0.036    0.036   16.295   16.295 :1()
1    0.004    0.004   16.260   16.260 /media/2TB/InstantID/faceswap.py:98(main)
1    0.000    0.000    4.307    4.307 /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/torch/utils/_contextlib.py:112(decorate_context)
1    0.002    0.002    4.307    4.307 /media/2TB/InstantID/pipeline_stable_diffusion_xl_instantid_inpaint.py:154(call)
1    0.000    0.000    3.390    3.390 /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/diffusers/loaders/lora.py:1407(load_lora_weights)
33/4    0.099    0.003    3.333    0.833 /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py:102(_inner_fn)
1    0.000    0.000    2.889    2.889 /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/diffusers/loaders/lora.py:374(load_lora_into_unet)
1    0.000    0.000    2.742    2.742 /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/peft/mapping.py:136(inject_adapter_in_model)
1    0.000    0.000    2.742    2.742 /home/oem/miniconda3/envs/comfyui/lib/python3.11/site-packages/peft/tuners/lora/model.py:110(init)

dreamshaperXL_turboDpmppSDE is good turbo model and can generate good results with fewer steps.

@haofanwang , thanks your advice, I got the results when used the sdxl-turbo and the dreamshaperXL_turboDpmppSDE. I found the results using sdxl-turbo model seems normal at some extent, but it lost most face feature. While using dreamshaperXL_turboDpmppSDE, it failed to get reasonable result. Here are the results i got and the code to load model:
sdxl-turbo base:

dreamshaperXL:

code:
pipe = StableDiffusionXLInstantIDPipeline.from_pretrained(base_model_path,controlnet=controlnet,torch_dtype=torch.float16,variant="fp16")
pipe = StableDiffusionXLInstantIDPipeline.from_single_file(model_safetensors, tokenizer=pipe.tokenizer, text_encoder_2=pipe.text_encoder_2, text_encoder=pipe.text_encoder,tokenizer_2=pipe.tokenizer_2, local_files_only=True,torch_dtype=torch.float16,variant="fp16", original_config_file="./config/sd_xl_base.yaml", controlnet=controlnet)

Any help will be appreciated.

on Forge UI it works more, more faster!
About 1.5min to 1280x1024 for my 3060/12!

Ryzen 3600x -  8 GB RX 6600 - 16 gb ram , swap on nvme drive. Using comfyui. (--directml --use-split-cross-attention --lowvram)
Normal sdxl generation is around 10 seconds / step on my machine but when I use instantid it jumps to around six times , 60 to 70 seconds per step :/ Even when I use optimized turbo models that uses 7 steps the result is the same.
I can see that my gpu isn't being used for most of every step only a portion , most of the stuff is going on on cpu and with me using --lowvram option to not get out of memory errors (thankfully I don't get them with this setup) I suspect most of extra time  is because of on swapping the system memory on nvme.
How can I improve this ? Maybe pruned models would help if it is possible at all ? Thanks.

@patientx Check it out https://github.com/rupeshs/instantidcpu

@patientx Check it out https://github.com/rupeshs/instantidcpu

Tried it at the first few hours ofc :) Unfortunately it is very slow for me , slower than gpu option. Thanks for reminding again.

Ryzen 3600x - 8 GB RX 6600 - 16 gb ram , swap on nvme drive. Using comfyui. (--directml --use-split-cross-attention --lowvram)
Normal sdxl generation is around 10 seconds / step on my machine but when I use instantid it jumps to around six times , 60 to 70 seconds per step :/ Even when I use optimized turbo models that uses 7 steps the result is the same.
I can see that my gpu isn't being used for most of every step only a portion , most of the stuff is going on on cpu and with me using --lowvram option to not get out of memory errors (thankfully I don't get them with this setup) I suspect most of extra time is because of on swapping the system memory on nvme. Mind you , actual generation can be seen on gpu power usage and if say one step is 60 seconds power is maxed for around 10 seconds , exact time without using instantid , normally gpu power usage is always maxed when generating but here most of the time gpu is just idling ,, so gpu isn't effecting this at all.
How can I improve this ? Maybe pruned models would help if it is possible at all ? Thanks.

I had the same issue and realized it's related to the onnxruntime using cpu instead of gpu. Uninstalling it and reinstalling onnxruntime-gpu fixed it for me.
pip uninstall onnxruntime
pip install --upgrade --force-reinstall onnxruntime-gpu
hope it helps.

Besides of Pytorch 2.0. We have already added an example for LCM-LoRA, which allows for fewer steps and can improve speed quite a bit.

"To use it, you just need to load it and infer with a small num_inference_steps"
I add in app.py and it was downloaded: from huggingface_hub import hf_hub_download hf_hub_download(repo_id="latent-consistency/lcm-lora-sdxl", filename="pytorch_lora_weights.safetensors", local_dir="./checkpoints")
but where should I insert this to make it work? :
from diffusers import LCMScheduler
lcm_lora_path = "./checkpoints/pytorch_lora_weights.safetensors"
pipe.load_lora_weights(lcm_lora_path) pipe.fuse_lora() pipe.scheduler = LCMScheduler.from_config(pipe.scheduler.config)
num_inference_steps = 10 guidance_scale = 0

I have already tried it, and i found a question, If the lora model were not belong to LCM lora, LCMScheduler will reduce image quality.

i would like to know how to speed things up as well, im using aws g5, and normal photo generation would take ~20 minute. im using replicate version since i need the api.
but from startup its pretty slow;

setting pose, canny, sdxl would take ~3 minutes
loading pipeline component takes 20 - 30 lt

when making image, it runs at 40-50lt for 30 cycles. while lora does reduce it cycle to 5. the speed is still same, and in some test i found that 1st cycle is over 100sec, 2nd goes to 70, then 3rd and so on is around 50.


[Scheduler] Prevent pod to be overcommitted

Fixes https://github.com/knative-sandbox/eventing-kafka/issues/704

Proposed Changes

Keep track of reserved placements until they are persisted in the CR status section.

Release Note

🐛 The multi-tenant KafkaSource controller now avoids overcommitting the KafkaSource multi-tenant adapter

Docs

/cc @aavarghese @steven0711dong

/approve cancel

/test pull-knative-sandbox-eventing-kafka-upgrade-tests


Password Length

I was getting an Adaptive Connection Failed (SQL Server 2014) that ended up being a password that was too long. This problem is at the pymssql level: it works with pyodbc, but is probably worth documentating, as I was banging my head against this for a while. I'll mention to pymssql also.

Do you know what the limit is?

I'll look into it a bit more - I lowered from 25 to 16, and it worked. I'm working through the issue with pymssql on their repo issues. I remember the limit used to be 30, but this is the first time I've encountered an issue with 25. Thanks!

I'd say that the fix, if one is appropriate (perhaps raising an exception?) belongs to pymssql rather than django-pymssql.
By the way, I'm no longer working with SQL Server and I'm unlikely to maintain this library going forward. If you'd like to take over, I'm happy to transfer this GitHub repository and the corresponding PyPI entry. It's a very small of code and quite straightforward.


Demo app's URL hash doesn't change in Edge since v2.2.3

When UI elements change state in the demo, the URL hash is supposed to change to reflect that.  That is no longer working in Edge.  Testing older releases reveals that this was working in v2.2.2 and broken in v2.2.3.

Broken in 20c60e65caaefd3bdcc82fa94c43ecbd82c69350 (#883) and present in all releases since v2.2.3.

Fix cherry-picked for v2.2.8.


Specify path on the command line

Hey over here :wave:
Just wondering, do you think it would be possible to specify a path directly on the command line ?
onefetch /some/incredible/project/sources/

Sometimes we just want to output some info, without having to move into the effective target.
For your underneath git usages, the -C option could do the job !
Thanks, bye :bowing_man:

:sweat_smile: I should have thought of that
It sould be good now, plz tell me if it's okay
Thanks a lot @HorlogeSkynet

Thanks to you @o2sh !
That's sincerely one of the quickest feature request that has been solved, and it works like a charm so here is a :100: for you.
(Sur la même idée, et aussi originellement inspiré de Neofetch / Screenfetch, qui pourrait t'intéresser : https://github.com/HorlogeSkynet/archey4)
:wave: Ossama


Model's push method does not work with new relations

The push method feels as though it should be able to save any new relations added to the model. However it can't as the foreign id isn't set.
See the following code as an example:
$user = new User(['name' => 'Mike']);
$post = new Post(['title' => 'Push is broken']);
$user->posts->add($$post);
$user->push();

I have faced this issue many times before, I'll try to find a solution for this.

You are just adding a model to a loaded collection of the relationship result. You should use one of these method to insert related models: http://laravel.com/docs/5.1/eloquent-relationships#inserting-related-models

@lukasgeiter yes, but in that case it'll probably throw an error as well since this is a new user. I think the method push should do the all the work.

You could probably do something like $user->setRelation('posts', collect($post)); $user->push();
Also I don't see why you can't just save the user before inserting relationships?

@lukasgeiter of course you can, but it's not intuitive and you could delegate that to the ORM.
Give me a couple of days and I'll present a possible solution for this issue.

I came here to post this exact issue.
@lucasgeiter I have a model where a number of mutators need to update or create a related model. The related model requires multiple fields to be set before validation will allow it to be saved to the database, so either the validation or mutators have to go.
@sileence Have you made any progress on a solution? Is there any assistance I could provide?

@sileence Did you ever find a clean solution for this?

@barryvdh yes, first you need to save the belongsTo relations, then the main model, and finally the hasMany relations.
I set a reminder to work on this when I get home (about 4 hours from now).

Ok working on this again @barryvdh

narrowing the problem:
https://github.com/sileence/eloquent_push_tests/blob/master/tests/EloquentPushTest.php
The unit tests pass because they don't have FK as these integration tests do.

@barryvdh the code is "primitive" but the tests are passing, I can refactor later:
https://github.com/sileence/eloquent_push_tests/blob/master/app/Model.php
https://github.com/sileence/eloquent_push_tests/blob/master/tests/EloquentPushTest.php
cc @taylorotwell

Thanks, I also tried something and got something similar. Combined them with your result with a few tweaks:

Convert attributes to relations when possible (when you call $user->posts = [..] on a new model)
Convert arrays to models (so you can pass an array instead of models)
Use the save() method instead of the keys

See https://gist.github.com/barryvdh/f963f5c67d5cfc23357f1a81b3aad56a
Can do something like this:
$user = new User;
    $user->name = 'Barry';
    $user->email = str_random();
    $user->password = str_random();

    $post = new Post;
    $post->title = 'Test 1';
    $post->body = 'Lorem ipsum';

    $user->posts[] = $post;
    $user->posts[] = [
        'title'  => 'Test 2',
        'body' => 'from array',
    ];

    $user->pushAll();

The only thing which could be 'breaking'  is the automatic changing of attributes -> relations, so might make an extra method or add a better check?


Doge bull/ Test improvements

I also removed the use of the getReserves function within the buyLp call and instead just returned the calculated amt from expectedDiggOut() which the user already needs to query off chain before.

Looks good to go 👍  just some minor nits, let's merge after fixing


Error during download request: Not Found

Hi purcell
when i run emacs with your emacs.d, i get the erro:
"Error during download request: Not Found"
I google the error, i get this:
https://github.com/purcell/emacs.d/issues/22
But i can't reslove it.
I run emacs with --debug-init, i get this:  (my system is freebsd 9.1)
Debugger entered--Lisp error: (error "Error during download request: Not Found")
signal(error ("Error during download request: Not Found"))
error("Error during download request:%s" " Not Found")
package-handle-response()
package-download-tar(expand-region "20130409.658")
package-download-transaction((expand-region))
package-install(expand-region)
(if (or (assoc package package-archive-contents) no-refresh) (package-install package) (progn (package-refresh-contents) (require-package$
(if (package-installed-p package min-version) t (if (or (assoc package package-archive-contents) no-refresh) (package-install package) (p$
require-package(expand-region)
eval-buffer(#<buffer  load-961509> nil "/home/yayoo/.emacs.d/init-editing-utils.el" nil t)  ; Reading at buffer position 2470
load-with-code-conversion("/home/yayoo/.emacs.d/init-editing-utils.el" "/home/yayoo/.emacs.d/init-editing-utils.el" nil t)
ad-Orig-require(init-editing-utils nil nil)
(with-no-warnings (ad-Orig-require feature filename noerror))
(setq ad-return-value (with-no-warnings (ad-Orig-require feature filename noerror)))
(prog1 (setq ad-return-value (with-no-warnings (ad-Orig-require feature filename noerror))) (when (and (not already-loaded) (memq feature$
(let* ((already-loaded (memq feature features)) (require-start-time (and (not already-loaded) (current-time)))) (prog1 (setq ad-return-va$
(let (ad-return-value) (let* ((already-loaded (memq feature features)) (require-start-time (and (not already-loaded) (current-time)))) (p$
require(init-editing-utils)
eval-buffer(#<buffer  load> nil "/home/yayoo/.emacs.d/init.el" nil t)  ; Reading at buffer position 1963
load-with-code-conversion("/home/yayoo/.emacs.d/init.el" "/home/yayoo/.emacs.d/init.el" t t)
load("/home/yayoo/.emacs.d/init" t t)
#[0 "^H\205\262^@     \306=\203^Q^@\307^H\310Q\202;^@ \311=\204^^^@\307^H\312Q\202;^@\313\307\314\315#\203*^@\316\202;^@\313\307\314\317#$
command-line()
normal-top-level()

Thank you @osener, fixed a similar issue for me!

Thank you @osener , help me to fixed same issue.

Thank you @osener , it helps!


Add consecutive masking

Created function to mask consecutive event with:

threshold and
minimal duration

Steps that were taken:

[x] define function to identify consecutive events (for arbitrary dimension, event length)
[x] functions for el nino and la nina masking
[x] tests

We can use this to calculate el nino and la nina masks easy.
This should solve #19 .

I think this is ready to be deployed


Relaxed some query ordering assertions in various tests.

This fixes another bunch of tests on MySQL with MyISAM storage engine.

Thanks both :+1:


Copycat PCB seller?

While doing some research on the Nest Mini's PCB, I stumbled across this website, which appears to be selling a branded version of the Onju Voice PCB: https://tritone-echo.com/product/tritone-echo-pcb/
It looks like they're blatantly ripping your (@justLV) work here, so I wanted to bring it to your attention.  The license in this Repo is the MIT license, but you have the PCBs labeled as CC-NC, and that would appear to be in direct conflict with what this company is doing.

Ha, good find. The MIT license is explicitly for the software.
The license on the PCB is CC-NC-BY-4.0, it's also specified as that on PCBWay where the gerbers are downloadable.
Interesting they just photoshopped the image to take that off and add their own logo, didn't even do their own builds and photography...

I sent them a little nasty contact form message using my junk email account. :)

If you don't mind me asking. I ordered the boards and they came without components.
PCBWay responds that they don't have plans for the components.
Could anyone please elaborate on the completion of the Hardware after getting the empty boards.
"The order you placed is PCB order which is only for bare board.
The author does not share BOM for assembly."

@LionHeart55 You should really post your question in the PCB order thread #8
However, my guess is that you got the PCBs exactly as you ordered them.  On the project page, you have to select "PCB+Assembly" and not just "PCB".
To understand a bit more about how PCBway and these other companies work, when you order something from them, you don't just "pick from the catalog".  You submit a full set of files that specify the PCB, a Bill of Materials if appropriate, placement instructions, etc.  However, for the average Joe, this is very difficult to figure out.  So PCBWay created PCBWay projects (aka PCBWay+) where creators like @justLV can upload all of these files, along with descriptions and pictures, and integrate it with the PCBWay ordering system, so it's a "single" click operation to upload all of these files into an order.  This makes it really easy for people with no PCB design skills to buy useful PCBs.
So, if you look back at the project page, you'll see the options just above "Add to cart".  When you click add to card, PCBWay+ packages all the appropriate files (based on your selection) into an order, and makes that available for you to buy through the PCBWay ordering system.


Failed to build psbody-mesh

encountered a build failure while compiling the psbody-mesh........

error message:
  /tmp/pip-build-env-6o0hvk5i/normal/lib/python3.10/site-packages/numpy/_core/include/numpy/ndarraytypes.h:1520:35: note:   initializing argument 1 of ‘npy_intp* PyArray_DIMS(const PyArrayObject*)’
   1520 | PyArray_DIMS(const PyArrayObject *arr)
        |              ~~~~~~~~~~~~~~~~~~~~~^~~
  mesh/src/aabb_normals.cpp:119:37: error: cannot convert ‘PyObject*’ {aka ‘_object*’} to ‘const PyArrayObject*’ {aka ‘const tagPyArrayObject_fields*’}
    119 |     npy_intp* n_dims = PyArray_DIMS(py_n);
        |                                     ^~~~
        |                                     |
        |                                     PyObject* {aka _object*}

...........
  error: command '/usr/bin/gcc' failed with exit code 1
  error: subprocess-exited-with-error

  × Building wheel for psbody-mesh (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

Seems like, the numpy api is not compatible with Mesh……..

the Cmake cmd
BOOST_INCLUDE_DIRS=/usr/include/boost make all

env:

Ubuntu 22.04.4 LTS
gcc  11.4.0
g++ 11.4.0
Python 3.10.14
numpy                       1.23.5

already have

removed ./mesh/requirements.txt
apt-get install libboost-dev
modified ./mesh/Makefile

Emotional damaged, seeking for help........

Hi, it seems that the python version is too high for the psbody-mesh library. Can you try to downgrade python to 3.9 or 3.8 and see if it works?
Alternatively, since psbody-mesh is only used for data processing and does not affect inference, you can simply skip this part if the problem still exists.


Add Reset button to all the calculators

I want to add reset button to all the calculators so that user can reset the value of the text he added earlier .
This will make calculators user-friendly.
[GSSOC'21]
Please assign me this issue @sairish2001

@sairish2001 Please assign me this issue

Go ahead
Deadline 11 May,2021


[incubator-kie-issues-915] Drop support for DRF in bussines automation domain

issue: https://github.com/apache/incubator-kie-issues/issues/915

PR job #2 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer
build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/3395 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3395/2/display/redirect
Test results:

PASSED: 3230
FAILED: 1

Those are the test failures:

org.jbpm.integrationtests.ProcessEventListenerTest.testInternalNodeSignalEvent
Unknown resource type: ResourceType = 'Drools Rule Flow Language'

PR job #3 was: UNSTABLE
Possible explanation: This should be test failures

Reproducer
build-chain build full_downstream  -f 'https://raw.githubusercontent.com/${AUTHOR:apache}/incubator-kie-kogito-pipelines/${BRANCH:main}/.ci/buildchain-config-pr-cdb.yaml' -o 'bc' -p apache/incubator-kie-kogito-runtimes -u https://github.com/apache/incubator-kie-kogito-runtimes/pull/3395 --skipParallelCheckout
NOTE: To install the build-chain tool, please refer to https://github.com/kiegroup/github-action-build-chain#local-execution

Please look here: https://ci-builds.apache.org/job/KIE/job/kogito/job/main/job/pullrequest_jobs/job/kogito-runtimes-pr/job/PR-3395/3/display/redirect
Test results:

PASSED: 3229
FAILED: 1

Those are the test failures:

org.kie.kogito.mongodb.transaction.AbstractTransactionManagerIT.testAbort
Command failed with error 246 (SnapshotUnavailable): 'Unable to read from a snapshot due to pending collection catalog changes; please retry the operation. Snapshot timestamp is Timestamp(1707730369, 5). Collection minimum is Timestamp(1707730369, 7)' on server <IP_ADDRESS>:32799. The full response is {"errorLabels": ["TransientTransactionError"], "operationTime": {"$timestamp": {"t":<PHONE_NUMBER>, "i": 5}}, "ok": 0.0, "errmsg": "Unable to read from a snapshot due to pending collection catalog changes; please retry the operation. Snapshot timestamp is Timestamp(1707730369, 5). Collection minimum is Timestamp(1707730369, 7)", "code": 246, "codeName": "SnapshotUnavailable", "$clusterTime": {"clusterTime": {"$timestamp": {"t":<PHONE_NUMBER>, "i": 1}}, "signature": {"hash": {"$binary": {"base64": "AAAAAAAAAAAAAAAAAAAAAAAAAAA=", "subType": "00"}}, "keyId": 0}}}