Use docker to provision mongo and postgres servers for testing

@sandhujasmine: you should be able to do the following (assuming a working docker):
# do this once -- launches and runs two docker containers, and sets up environment variables.
$ eval $(provisioning.sh)
$ py.test
$ conda build conda.recipe

let me know if you have issues.

I believe I have the docker containers running the DBs. I started the docker-machine (via quickstart terminal). Then ran the provisioning script. As a check, if I run it twice, it tells me the port is in use so assume docker containers are running mongo and postgres correctly.
Looks like all tests are passing. However, if I stop the docker-machine, all odo tests still pass so assume it must not hit the DB. Investigating further and will spend the afternoon learning through this and looking into source code ..
py.test odo/tests/
======================================================== test session starts =========================================================
platform darwin -- Python 3.5.1, pytest-2.8.5, py-1.4.31, pluggy-0.3.1
rootdir: /Users/jsandhu/Documents/projects/odo, inifile:
collected 83 items

odo/tests/test_append.py ....
odo/tests/test_chunks.py ......
odo/tests/test_convert.py ................................
odo/tests/test_core.py ...
odo/tests/test_directory.py ..
odo/tests/test_into.py ...........
odo/tests/test_numpy_dtype.py ..............
odo/tests/test_pydot.py .
odo/tests/test_regex.py .
odo/tests/test_resource.py .
odo/tests/test_temp.py .
odo/tests/test_utils.py ......
odo/tests/test_version.py .

In testing this, several tests in test_postgres.py are failing. Looking at one of them: test_sql_to_csv(), it looks like the failure lies in compile_copy_to_csv_postgres
The original error was Permission Denied:

self = <sqlalchemy.dialects.postgresql.psycopg2.PGDialect_psycopg2 object at 0x105acc3d0>, cursor = <cursor object at 0x10586d430; closed: -1>
statement = 'COPY tbl0 TO %(path)s\n            WITH (\n                FORMAT CSV,\n                HEADER %(header)s,\n         ...a_value)s,\n                ESCAPE %(escapechar)s,\n                ENCODING %(encoding)s\n            )\n            '
parameters = {'delimiter': ',', 'encoding': 'UTF8', 'escapechar': '\\', 'header': True, ...}
context = <sqlalchemy.dialects.postgresql.psycopg2.PGExecutionContext_psycopg2 object at 0x105d60810>

    def do_execute(self, cursor, statement, parameters, context=None):
>       cursor.execute(statement, parameters)
E       ProgrammingError: (psycopg2.ProgrammingError) could not open file "/Users/jsandhu/tmp/tmpvDnqET.csv" for writing: Permission denied
E        [SQL: 'COPY tbl0 TO %(path)s\n            WITH (\n                FORMAT CSV,\n                HEADER %(header)s,\n                DELIMITER %(delimiter)s,\n                QUOTE %(quotechar)s,\n                NULL %(na_value)s,\n                ESCAPE %(escapechar)s,\n                ENCODING %(encoding)s\n            )\n            '] [parameters: {'escapechar': '\\', 'encoding': u'UTF8', 'header': True, 'delimiter': ',', 'quotechar': '"', 'path': '/Users/jsandhu/tmp/tmpvDnqET.csv', 'na_value': ''}]

But in searching for this online, it appears the format of the SQL statement is incorrect. So tried updating this but that also didn't work because looks like we have to drop down to underlying psycopg2 driver and use it's copy_expert() or copy_to() commands. See following:
http://stackoverflow.com/questions/13125236/sqlalchemy-psycopg2-and-postgresql-copy
https://groups.google.com/forum/?fromgroups=#!topic/sqlalchemy/vZIztYaqlpo
Saw Philip's @cpcloud note here: https://bitbucket.org/zzzeek/sqlalchemy/issues/3404/copy-to-csv-expression
Following works but is a hack and doesn't integrate well with the system since we want to use sqlalchemy's interface with execute() .. still trying to figure it out. Would be curious to know if this test passes for others.
def test_sql_to_csv_x(sql, csv, tmpdir):
    sql, bind = sql
    sql = odo(csv, sql, bind=bind)
    with tmpfile('.csv', dir=tmpdir) as fn:
        # following fails
        csv = odo(sql, fn, bind=bind)
        # try something else
        conn = bind.raw_connection()
        stmt = "COPY tbl5 TO STDOUT WITH CSV HEADER"
        cur = conn.cursor()
        with open(fn, 'w') as h:
            cur.copy_expert(stmt, h)

        assert odo(csv, list) == data

Below are my versions:
In [1]: import odo

In [2]: odo.__version__
Out[2]: '0.4.1rc1+9.g181a10c.dirty'

In [3]: import sqlalchemy

In [4]: sqlalchemy.__version__
Out[4]: '1.0.11'

In [5]: import psycopg2

In [6]: psycopg2.__version__
Out[6]: '2.6.1 (dt dec pq3 ext)'

Looks like all tests are passing. However, if I stop the docker-machine, all odo tests still pass so assume it must not hit the DB. Investigating further and will spend the afternoon learning through this and looking into source code ..

Great -- one thing to check is whether the tests are skipped when the DB is down.

In testing this, several tests in test_postgres.py are failing. Looking at one of them: test_sql_to_csv(), it looks like the failure lies in compile_copy_to_csv_postgres

Hmm, OK, all my tests are passing here, I'll look into this.  Likely best if we sync up to see what the difference is.

Quoting from email from @sandhujasmine:

So, we can decouple the management of the docker script from the testing scripts a little bit.

Great.

We can use provisioning.sh to manage the docker part. It doesn't need to define POSTGRES_IP or MONGO_IP since python can do a subprocess call to get this info directly. The benefit being we don't have to set the environment outside of python.
The only catch is the tmp directory must be the same for docker container and pytest.

This is good, although one thing to keep in mind is that I'd prefer to keep the docker part optional; if a developer wants to manually set up mongo and postgres and run the tests without docker, that should be possible.

This might be a digression but I ended up playing w/ provisioning script to make it a bit more robust. When we're testing, like today, maybe testing will be expedited and easier for new users if we can do: provisioning.sh restart mongo|postgres - just add a bit more functionality to it.

Yes, restarting is good.  Another improvement would be to make it idempotent -- if you run provisioning.sh start (or whatever the command is to start it up) twice in a row, the second time is a no-op.

Maybe I can add a command like option for pytest (in conftest.py something like --docker) so it'll set the environment variables by making the subprocess call; so we don't have to run provisioning.sh before running tests. I thought this would be useful during development and for new users when we might need to restart our docker containers or have multiple terminals open and we don't have to worry about running or sourcing provisions to define environment vars before we can run tests.

That looks promising -- please explore but don't spend too much time on it.

Yes - understand your point that pytest should not need to know where the DB is running. It just needs the IP addresses and the (tmp) dir for write location.
Will try linux this morning. I realize adding option to pytest is also not helpful since the VMs will not be able to do a docker machine ip as docker is running on host machine. If we can save config like IP and tmp dir in a file and have both docker + pytest read it from there, that'd be ideal.
But I'll work on testing linux against current docker setup next.

OK, this is working as advertised, thanks @sandhujasmine.  Merging.


Reduce e2e overall time

A few areas to reduce e2e overall time:

add t.Parallel() for those tests with multiple test data.
use subtest to reorganize most e2e test files so they can share the same setup/teardown.
add skipIfNotRequired method to allow user to skip cases with provided key word.
set some cases as default cases which will not be impacted by encap/noencap/hybird mode via method skipIfNotRequired with skip keyword "mode-irrelevant-case",  and execute them in " E2e tests on a Kind cluster on Linux" only and remove them from below jobs with option '--skip-mode-irrelevant'

E2e tests on a Kind cluster on Linux with AntreaProxy disabled
E2e tests on a Kind cluster on Linux (noEncap)
E2e tests on a Kind cluster on Linux (hybrid)
E2e tests on a Kind cluster on Linux with Antrea-native policies disabled

The mode-irrelevant test cases are as blow:

antctl_test
bandwidth_test
basic_test
batch_test
security_test
supportbuddle_test
tls_test

deploy Antrea in main_test.go to get feature gate earlier, so we can do skip e2e check before setupTest(t).
merge some jobs and remove redundant steps in workflow files go.yml and kind.yaml so we can have less concurrent jobs for one PR to reduce github runner waiting time.

there are also some minor changes related with duplicate imports and fix for syntax warning.
The e2e result for the new implementation is here https://github.com/antrea-io/antrea/actions/runs/937670984, the total e2e time are around 15m less comparing with other jobs eg: https://github.com/antrea-io/antrea/actions/runs/937012490.
The total e2e duration highly depends on the total concurrent jobs which I don't think we have a proper way to measure the improvement.
Close #2014
Signed-off-by: Lan Luo<EMAIL_ADDRESS>

/test-all

/test-all

Codecov Report

Merging #2245 (45d71c1) into main (18da642) will decrease coverage by 5.29%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #2245      +/-   ##
==========================================
- Coverage   61.79%   56.49%   -5.30%
==========================================
  Files         279      279
  Lines       21327    21327
==========================================
- Hits        13179    12049    -1130
- Misses       6780     7989    +1209
+ Partials     1368     1289      -79

Flag
Coverage Δ

kind-e2e-tests
43.84% <ø> (-9.15%)
:arrow_down:

unit-tests
41.27% <ø> (+0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

pkg/agent/proxy/metrics/metrics.go
0.00% <0.00%> (-100.00%)
:arrow_down:

pkg/agent/proxy/types/groupcounter.go
0.00% <0.00%> (-95.24%)
:arrow_down:

...agent/controller/traceflow/traceflow_controller.go
11.66% <0.00%> (-61.49%)
:arrow_down:

pkg/agent/controller/traceflow/packetin.go
16.20% <0.00%> (-50.47%)
:arrow_down:

pkg/agent/proxy/types/types.go
0.00% <0.00%> (-46.67%)
:arrow_down:

pkg/ovs/openflow/ofctrl_group.go
0.00% <0.00%> (-45.95%)
:arrow_down:

pkg/controller/networkpolicy/validate.go
42.89% <0.00%> (-26.75%)
:arrow_down:

pkg/apis/controlplane/v1beta2/sets.go
43.58% <0.00%> (-25.65%)
:arrow_down:

pkg/agent/openflow/pipeline.go
48.13% <0.00%> (-23.73%)
:arrow_down:

pkg/apis/controlplane/sets.go
23.07% <0.00%> (-20.52%)
:arrow_down:

... and 42 more

Thanks for working on this. I shared my thoughts about the current approach in https://github.com/antrea-io/antrea/issues/2014#issuecomment-856150397.

/test-conformance

/test-conformance

/test-conformance

/test-conformance

/test-conformance

@luolanzone Thanks for working on this. Could you please provide more information about how the e2e tests are improved in the commit message and PR description when it's ready for review?

Hi @tnqn  I added what I have done in issue 2014 here: https://github.com/antrea-io/antrea/issues/2014#issuecomment-857495595 since this PR is still in progress.

looks like merge the upload artifact in kind.yml make the e2e time longer when github runner is sufficient, I will update the change in kind.yml and rerun it again.

here is the latest e2e result: https://github.com/antrea-io/antrea/actions/runs/949901172, another two e2e results with old workflows are here: https://github.com/antrea-io/antrea/actions/runs/954867242, https://github.com/antrea-io/antrea/actions/runs/948295999, ideally, if the pipeline is not saturated, the total duration can be reduced from around 85mins to 60mins, e2e tests execution time can be 15mins less.

Hi @tnqn @lzhecheng ,Could you help to review again, I have addressed your latest comments, thanks.

Besides the comments, the PR overall LGTM. I suggest @antoninbas and @tnqn take a look.

@tnqn @lzhecheng latest e2e result looks good https://github.com/antrea-io/antrea/actions/runs/1006920176, Could you help to review latest change? thanks.

Thank you @luolanzone ! There're some conflicts introduced by latest commit and please solve them first.

Hi @lzhecheng @tnqn , I have fixed the code conflict, two e2e jobs failed, I don't think it's related with this PR, but I just triggered it again to see if all they can pass or not.

/test-e2e /test-ipv6-e2e /test-ipv6-only-e2e /test-windows-e2e

Let's merge this post 1.2 to avoid potentially disrupting the release

/test-ipv6-e2e

Please test e2e on your testbed and ensure e2e/ipv6-e2e/ipv6-only-e2e/windows-e2e tests are successful. Here is the error log in several e2e test results.
=== RUN   TestAntreaPolicyStats
    fixtures.go:122: Cannot determine if AntreaPolicy is enabled in the Agent: antrea config file doesn't exist

@lzhecheng , I think the root cause is I added an extra step in test-e2e-kind.sh to generate antrea-config.yaml only, I didn't realize that other e2e jobs in jenkins use different script to run e2e, I will check and add necessary steps. thanks.

/test-e2e

/test-e2e

/test-ipv6-e2e /test-ipv6-only-e2e /test-windows-e2e

/test-ipv6-e2e

/test-windows-e2e

/test-ipv6-only-e2e

/test-e2e

/test-e2e /test-ipv6-e2e /test-ipv6-only-e2e /test-windows-e2e

/test-ipv6-only-e2e /test-windows-e2e

/test-ipv6-only-e2e

I saw the TestConnectivity/testPingLargeMTU ipv6-only test failed. In connectivity tests, agnhost pods are created and their image is larger than usual busybox pods. Maybe we can have a larger timeout here:
https://github.com/antrea-io/antrea/pull/2245/files#diff-010bfd8ed5bc03822917343afe6f5f86bf24986893051e555d738c458ebf6f16R75

/test-ipv6-only-e2e /test-windows-e2e

/test-ipv6-only-e2e /test-windows-e2e

/test-ipv6-only-e2e /test-windows-e2e

/test-e2e /test-ipv6-e2e /test-ipv6-only-e2e /test-windows-e2e

/test-ipv6-e2e /test-ipv6-only-e2e

/test-ipv6-only-e2e

/test-ipv6-only-e2e

/test-ipv6-only-e2e

/test-ipv6-only-e2e

/test-ipv6-only-e2e

/test-ipv6-only-e2e

/test-e2e /test-ipv6-e2e /test-ipv6-only-e2e /test-windows-e2e

/test-e2e

/test-windows-e2e

/test-windows-e2e

/test-windows-e2e

/test-e2e /test-ipv6-e2e /test-ipv6-only-e2e /test-windows-e2e

@tnqn @lzhecheng all related e2e job in jenkins and kind e2e in github are passed, could you help to review again? thanks!

/test-e2e

/test-e2e /test-ipv6-e2e /test-ipv6-only-e2e /test-windows-e2e

@tnqn @lzhecheng Could you help to take a look if you have time, all jenkins e2e passed, two cases failed in kind for noEncap and ANP diabled e2e, I just rerun them, but I believe it's random failure. thanks.

@tnqn  thanks, no need for this one, I have move it to separate  PR here https://github.com/antrea-io/antrea/pull/2474

OK, I will wait for @lzhecheng's final review before merging it.

Hi @tnqn @lzhecheng , there is one line conflict in kind.yml, I just resolved and push a new one https://github.com/antrea-io/antrea/pull/2245/files#diff-0083d2437ae7b209c8d66a16f1d8bbebf33c3ce0885bd0ae9a223b39c5dc343cR460, Could you help to take approve it again if it looks OK so we can move forward? thanks!

no change to e2e code to resolve latest code conflict, so skip e2e.
/skip-e2e

/skip-all

/skip-all


Make sure that all files have proper mode and line endings

For instance it happened here: https://github.com/Emerentius/ord_subset/issues/5

I see, it's a side-effect of me using an NTFS shared partition for my code. Everything is treated as executable. I've published v3.1.1 without executable bits set.

Another type of issues I hit is the line endings. For example, decoding (2.0.4) has DOS line endings which makes it painful to do anything with it (e.g. apply patches).
It would be nice if cargo would automatically set proper permissions and line endings for files.

We are also hit by this. I have different machines, from which I may publish something, and on one of them there is an NTFS shared drive. All the published stuff comes out with 0755 permissions on crates. It's invisible for regular Rust users. However, it totally disrupts the vendoring workflows, i.e. https://phabricator.services.mozilla.com/D72726#2211486
Do we have to have permissions controlled by the owner of a crate, at all?

This is also related to #8006.
Hit another bizarre problem now. Publishing from macOS got me 664, while the old permissions were 644. This is unfortunate.

Here is a bit more context:
Gecko vendors all of the 3rd party Rust dependencies in mozilla-central, which is a Mercurial repository. It appears that a package on "crates.io" doesn't have consistent line endings, or even (unix) access flags. This is something Rust users don't care about, or even notice, since git doesn't show these differences, and dependencies are fully recompiled when updated anyway. But for us in Gecko, an accidental change in access flags means the whole dependency is completely re-vendored (as opposed to only have the changed pieces of code).
The changes in file access flags and line endings can easily happen when working across many different platforms:

Linux with NTFS shared drive for code (file access 755, unix file endings)
Linux with ext4 (file access 664, unix file endings)
macOS (file access 664, mac file endings)
Windows (file access 644, windows file endings)

The concrete example here is gfx-backend-vulkan, which I used to publish from any of these platforms without realizing the consequences, up until there is need to vendor these changes, resulting in 12K changed LOC for a trivial patch release. Unlike that crate, we vendor many community libraries that we don't have direct control of, and we can't easily get them fixed if they screw up the line endings (without resorting to temporary local overrides, yikes).

I'm having a hard time seeing what cargo can and should do.  For windows only users, we likely don't want to force them to be using specific line endings and we likely don't want to get into auto line ending conversion.
When we have a linter (building on top of #12235), maybe we could have lints but they'd likely be pedantic, off by default, which would reduce most of the benefit here.


[KOGITO-5578] Changing listener approach

QuarkusMultiCloudEventReceiver is not longer needed once we are
generating the listeners, by just adding annotation

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Apps check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

The (build) Optaplanner check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

The (build) Runtimes check has failed. Please check the logs.

The (build) Examples check has failed. Please check the logs.

jenkins retest app examples

jenkins run app examples

jenkins rerun examples tests

The (build) Examples check has failed. Please check the logs.

jenkins rerun examples tests


[demo] add replicas support

Adds support to specify the number of replicas for all components or specifically for individual ones. Allowing to set replicas and various load generator settings allows the demo to be deployed in more complex performance-affected scenarios where observability tooling can be used to diagnose the root cause.
Shared demo components such as Redis, Postgres, and Kafka have a replicas: 1 setting specified at the component level. All other components do not set/override this value, which will inherit from default (1).

@JaredTan95 can you take a look at this?

@JaredTan95 can you take a look at this?

yes, glad to review


Fething series cloudflare error 502

Fetching series:

By episode is normal, but not catching but the series / seasons :(

Crunchyroll was probably down at the time you performed this command, does it still not work for you?

Same problem here - crunchy is up and running, single episode fetch is working but with full series I always get:
i crunchyroll-dl v1.1.3 i Successfully initiated USA Crunchyroll session i Attempting to login... i Successfully logged in! i Logged in with a premium account. ? Current session expires on Wed Apr 03 2019 [...] i Attempting to fetch series... ? Attempting to fetch https://www.crunchyroll.com/kanokon/ ! Error fetching series: Request failed with status code 503 ! Crunchyroll appears to be down. i Logging out... i Logging out...
I also fiddled a bit around with the code and added a custom user agent just like anime-dl uses it but unfortunately that didn't work either.
Also double checked:

(de)activate unblocking
changes in request url: http/https, left out the "www." added "/" at the end
checked several different series which were available right before the url changes

@Noctunus Thanks for the testing! I have singled this problem out to CR making Cloudflare have their protection page for the series page (which is the only page I load not using the API). I have added a Cloudflare bypass for this, and haven't had any problems yet...
Also, performing your test case, it came to my attention that I also completely forgot to test mature content, and have fixed that as well (before mature content would not work).

@simplymemes Retested and it's working like a charm. Thanks for the quick response, fix and also adding the mature content :).
btw: I've some ideas for improvements and I've messed around a bit with the older version to test some stuff. Can I reach you somehow to directly discuss it or shall I open feature requests for it?

@Noctunus Feel free to create a new issue for that.


Feature Request: Implement Dark Mode

We would like to request the implementation of a Dark Mode feature in our project. Dark mode is a highly requested user interface enhancement that provides users with the option to switch between a light and dark color scheme, improving usability in low-light environments and reducing eye strain.
Description
Dark mode has become a standard feature in many applications and websites. Implementing this feature in our project can provide the following benefits:

Improved user experience for users who prefer darker themes.
Accessibility improvements for users with light sensitivity.
Energy savings for users on OLED or AMOLED screens.
Alignment with modern design trends.

Thanks @mrswastik-robot

want to work on this topic ,could you please assign it to me.

@AviGawande  assigned!

please, Kindly Assign me this issue


B7: unable to feel touch of the fire

As of beta7, on a dedicated server with spongeforge, players won't get the 'touch of the fire' when taking fire damage.
Issue isn't reproduced in single player without sponge.

I also had this problem, also using spongeforge, but getting hit by a blaze triggered it. So I would suggest trying that.


README tune-up

Fixes capitalization of proper nouns, adds backticks, cleans up installation section.

Just say when to pull.

Whenever you’d like!


Client: handle http redirects

Detects 30x code in response, follows proposed location and updates request url with new data.

Maybe have a redirect limit, to protect against buggy server that redirects to itself in loop?

By default, stream context are supposed to follow the location: http://php.net/manual/en/context.http.php#context.http.follow-location and the current implementation already impose a max redirect: https://github.com/fguillot/JsonRPC/blob/master/src/JsonRPC/Client.php#L345

"Follow-location" is available only since 5.3.4, while this lib has "PHP >= 5.3" requirements
Maybe update min-req then?

I changed the requirements to PHP 5.3.4.


[Main] Bump Version 2.0 to 2.1

This bumps the main branch from version 2.0 to 2.1 in prep for supporting 2.x bwc on 3.0.

1.4 is cancelled so I removed it from the version and bwc files

@nknize I am a bit confused, we have 2.x branch which is bumped to 2.1.0 already, see please [1]. I believe the plan for main is to become 3.0.0, @dblock please correct me if I am wrong.
[1] https://github.com/opensearch-project/OpenSearch/blob/2.x/buildSrc/version.properties#L1

@nknize I am a bit confused, we have 2.x branch which is bumped to 2.1.0 already, see please [1]. I believe the plan for main is to become 3.0.0, @dblock please correct me if I am wrong.
[1] https://github.com/opensearch-project/OpenSearch/blob/2.x/buildSrc/version.properties#L1

I'm bumping to 3.0.0. https://github.com/opensearch-project/OpenSearch/pull/2556
I branched 2.x and bumped it to 2.1 but I need to incrementally add support to main to bump it to 3.0. This is PR 1 of 3 that will accomplish the major version increase.


CRUD when PRIMARY KEY is a multiple-column index?

Hi!
How to use CRUD when PRIMARY KEY is a multiple-column index, not a single column?

Please read this section https://github.com/go-ozzo/ozzo-dbx#crud-operations (search for "composite")

If I have this table structure with composite PK (movie_id, person_id, occupation_id)?
type DbMoviePersonMap struct {
	MovieId int `db:"pk"`
	PersonId int `db:"pk"`
	OccupationId int `db:"pk"`
	Importance int
	Note string
}

How can I get one row from this table?
for example:
movie_id: 1,
person_id: 1,
occupation_id: 1
Only this way?
// SELECT * FROM order_item WHERE order_id=100 AND item_id=20
db.Select().Where(dbx.HashExp{"order_id": 100, "item_id": 20}).One(&orderItem)

Yes, see doc:
// Model selects the row with the specified primary key and populates the model with the row data.
//
// The model variable should be a pointer to a struct. If the query does not specify a "from" clause,
// it will use the model struct to determine which table to select data from. It will also use the model
// to infer the name of the primary key column. Only simple primary key is supported. For composite primary keys,
// please use Where() to specify the filtering condition.

Thanks!


Update add page for item return

update the page's gui for item return.
Imiei search field for phones dropdown menu is required.

How do you change your imei


Nuxt 3 Official Naive UI module

This function solves the problem (这个功能解决的问题)
nuxt is the most popular vue 3 framework right now. having a naive ui module with simplify integration with one line of config and will expose naive ui to more eyes.
Expected API (期望的 API)
the config can expose auto imports for naive ui components, setup the framework within the project.
for example - https://nuxt.com/modules/vuestic

i've been using it as well. i just wish this was a PR on the main project. but the maintainer is active and did solve some issues quickly and efficiently.

This issue does not have any recent activity. If you are still experiencing similar problems, open a new error, including a minimal copy of the problem

Here's the official module https://www.naiveui.com/en-US/os-theme/docs/nuxtjs


Error when creating ISO even after retrying

So I was creating the ISO with the sudo make iso REBUILD_TOOLS=y REBUILD_PACKAGES=n CONFIG_FILE=./imageconfigs/full.json command and it errored out. I retried and I am receiving the same error
Error -

Could anyone please help me diagnose the issue?

sorry for the lack of response; i'm closing this since it has been open so long, but if you are still having issues please reopen.


move PET BEP to the done section

a low hanging fruit

OK will merge this right away as I suspect this is fairly uncontroversial


The question on the curve of Figure 3

Hi, this is a nice paper.
How to generate different AR-Net models with different flops(i.e., the red curve in Fig 3)?
Do you achieve this by selecting different loss weights for Flops constraint loss?
Thanks.
Looking for your kind reply.

Hi, Jiaheng. I think what you suggested makes sense. However, we just used different "#frames at inference stage" to plot the curve. For example, if AR-Net is trained using t=16 frames, then we just use t'=4,8,16,25,32  at inference stage to generate the mAP/flops curve (in the original experiments, it may not be those exact #frames). In this way, we just need to do training once, and then run the inference multiple times (which is much faster).

Hi, thanks for your kind reply.
This is a nice work, and I am following your work for other video understanding task.
I still have one question.
The inference strategy is sequential(due to LSTM and generating a policy for each frame).
But the inference of TSN/TSM can be parallel(We send all selected frames (i.e. 8 or 16 frames) to the network once.)
So I think the inference time can be faster than this sequential way.
Can you offer some explanations for this phenomenon？

There is an error. The TSN can be parallel, but the TSM can not be parallel(due to shift operation.)

If AR-Net doesn't choose to skip a lot of frames, then I guess you are right. One way to speed up the AR-Net inference stage is to first do an entire LSTM run only for the PolicyNet, then route different resolutions to different backbones and handle them simultaneously (more as an engineering work but doable). In this way if the PolicyNet can run very fast (as the network is light, and the frame resolution is very low), then approximately the backbones are handling the frames in parallel.
Our main focus is not to directly optimize the inference time, which though I agree is very important in real applications. Looking forward to see new papers to tackle this area.

Thanks.

Hi, I have a question about the details of the ablation study on "skipping" in table 4.
You mentioned that you only use the policy network to decide how many frames to skip.
But I am not sure if you use another feature extraction network for each frame.
In detail, the input of the policy network is the lowest resolution with the smallest network.
If one frame is not skipped, should I need to use another network to extract the feature of the current frame again for final action class prediction? Is the feature extraction network fixed for each frame?
If you don't need another network, do you mean that Arnet uses features extracted from the lowest resolution with the smallest network for final action class prediction when the frames are not skipped?

We used the features extracted from the lowest resolution for both the policy and the video action prediction (if needed). We just devise two prediction heads after those extracted features (for the policy part, we further use an LSTM to incorporate temporal info) to fulfill these two tasks. More details can be found in the code.

Hello teacher, I have read your AR-Net article and benefited a lot.  But now I have some problems. I can't find the ActivityNet, FCVID and mini-Kinetics datasets. Is it convenient for you to share it?  Thank you, teacher!

您好，谢谢您的回覆。
这是一项不错的工作，我正在关注您的工作，以完成其他视频理解任务。
我还有一个问题。
推理策略是顺序的（由于LSTM并为每个帧生成策略）。
但是TSN / TSM的推理可以是并行的（我们将所有选择的帧（即8或16帧）发送到网络一次。）
因此，我认为推理时间可能比这种顺序方式要快。
您能为这种现象提供一些解释吗？
Hello teacher, I can't find the ActivityNet, FCVID and mini-Kinetics datasets. Is it convenient for you to share it?  Thank you, teacher!

Hi Ming, thanks for your interest.
ActivityNet-v1.3 is at http://activity-net.org/download.html
FCVID is at http://bigvid.fudan.edu.cn/FCVID/ (but it might be not available now)
Kinetics is at https://deepmind.com/research/open-source/kinetics (K400; for mini-kinetics used in our paper, you just need to use the train/val splits from )
Hope this helps~

        Thank you, teacher!  Is it convenient for teachers to share links to Baidu Cloud Disk?  I cannot download these three datasets.  Thank you very much teacher!

                            824318891

<EMAIL_ADDRESS>

    Signature is customized by Netease Mail Master

        On 11/02/2020 12:11, Yue Meng wrote:

Hi Ming, thanks for your interest.
ActivityNet-v1.3 is at http://activity-net.org/download.html
FCVID is at http://bigvid.fudan.edu.cn/FCVID/ (but it might be not available now)
Kinetics is at https://deepmind.com/research/open-source/kinetics (K400; for mini-kinetics used in our paper, you just need to use the train/val splits from )
Hope this helps~
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/mengyuest/AR-Net/issues/1#issuecomment-720225781",
"url": "https://github.com/mengyuest/AR-Net/issues/1#issuecomment-720225781",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

I am afraid it is inconvenience for me to share it via BaiduPan or GoogleDrive - those training sets are too big to be transferred in this way. Maybe you can check some other websites/blogs like https://blog.csdn.net/qq_41590635/article/details/103781908 to see whether they can give you access to those datasets (Haven't tried this before. Hope this helps)

Thank you teacher, is it convenient for you to provide the FCVID dataset?  I can't find it online.  Bringing trouble to the teacher!
                            824318891

<EMAIL_ADDRESS>

    Signature is customized by Netease Mail Master

On 11/02/2020 12:23, Yue Meng wrote:
I am afraid it is inconvenience for me to share it via BaiduPan or GoogleDrive - those training sets are too big to be transferred in this way. Maybe you can check some other websites/blogs like https://blog.csdn.net/qq_41590635/article/details/103781908 to see whether they can give you access to those datasets (Haven't tried this before. Hope this helps)
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or unsubscribe.
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/mengyuest/AR-Net/issues/1#issuecomment-720228231",
"url": "https://github.com/mengyuest/AR-Net/issues/1#issuecomment-720228231",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]

Sorry I don't have those by my side. This work was done during my internship on company servers, and now I am back to campus. I suggest you to start from ActivityNet-v1.3, because it is smaller than FCVID and takes less time for training/testing.


release to CTAN via l3build

@rultor release, tag is 0.2.0

@rultor release, tag is 0.2.0

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.2.0

@yegor256 Oops, I failed. You can see the full log here (spent 1min)
Processing file to-be-determined.dtx (package) -> to-be-determined.sty
Lines  processed: 166
Comments removed: 97
Comments  passed: 0
Codelines passed: 59

*** To finish the installation you have to move the ".sty"
*** file into a directory searched by TeX. To produce the
*** documentation run the file ".dtx" through LaTeX. If any
*** questions, submit a new GitHub issue.
 )
No pages of output.
Transcript written on to-be-determined.log.
Typesetting to-be-determined
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
This is makeindex, version 2.16 [TeX Live 2022] (kpathsea + Thai support).
Scanning style file /usr/local/texlive/2022/texmf-dist/makeindex/latex/gglo.ist..............done (14 attributes redefined, 3 ignored).
Scanning input file to-be-determined.glo....done (1 entries accepted, 0 rejected).
Sorting entries...done (0 comparisons).
Generating output file to-be-determined.gls....done (9 lines written, 0 warnings).
Output written in to-be-determined.gls.
Transcript written in to-be-determined.glg.
This is makeindex, version 2.16 [TeX Live 2022] (kpathsea + Thai support).
Scanning style file /usr/local/texlive/2022/texmf-dist/makeindex/latex/gind.ist.............done (13 attributes redefined, 3 ignored).
Scanning input file to-be-determined.idx....done (25 entries accepted, 0 rejected).
Sorting entries....done (122 comparisons).
Generating output file to-be-determined.ind....done (67 lines written, 0 warnings).
Output written in to-be-determined.ind.
Transcript written in to-be-determined.ilg.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
This is makeindex, version 2.16 [TeX Live 2022] (kpathsea + Thai support).
Scanning style file /usr/local/texlive/2022/texmf-dist/makeindex/latex/gglo.ist..............done (14 attributes redefined, 3 ignored).
Scanning input file to-be-determined.glo....done (1 entries accepted, 0 rejected).
Sorting entries...done (0 comparisons).
Generating output file to-be-determined.gls....done (9 lines written, 0 warnings).
Output written in to-be-determined.gls.
Transcript written in to-be-determined.glg.
This is makeindex, version 2.16 [TeX Live 2022] (kpathsea + Thai support).
Scanning style file /usr/local/texlive/2022/texmf-dist/makeindex/latex/gind.ist.............done (13 attributes redefined, 3 ignored).
Scanning input file to-be-determined.idx....done (25 entries accepted, 0 rejected).
Sorting entries....done (122 comparisons).
Generating output file to-be-determined.ind....done (67 lines written, 0 warnings).
Output written in to-be-determined.ind.
Transcript written in to-be-determined.ilg.
This is pdfTeX, Version 3.141592653-2.6-1.40.24 (TeX Live 2022) (preloaded format=pdflatex)
 \write18 enabled.
entering extended mode
+ texsc
Found 12 lines in /home/r/repo/.texsc
Checking to-be-determined.tex (2330 chars)...
No spelling errors found in 1 file(s), the text is clean
+ texqc
File extention removed from "to-be-determined.tex"
ERROR: No such file or directory @ rb_sysopen - to-be-determined.log
container 9e5ca37793f27d5a1c2fcf7ce25b9b36223df23ecf0a363ef3fe3006cdcb1a31 is dead
Mon 03 Oct 2022 08:53:14 AM CEST

@rultor release, tag is 0.2.0

@rultor release, tag is 0.2.0

@yegor256 OK, I will release it now. Please check the progress here

@rultor release, tag is 0.2.0

@yegor256 Done! FYI, the full log is here (took me 1min)


Unable to run the script

Hi, I got this error while running the script:
grep: /proc/cpuinfo: No such file or directory
./scripts/config.sh: line 19: * 2/3: syntax error: operand expected (error token is "* 2/3")

Hi,
Line 19 in ./scripts/config.sh tries to figure out the number of available cores on your machine to utilize multi-cores efficiently. It uses simple bash syntax to do so.
However, you can just set the JOBS variable manually, for instance, JOBS=1; if the command fails for a reason or another.

Thanks,
There is another error that say:

Switching from master to pr #112
fatal: Refusing to fetch into current branch refs/heads/extendedD4J of non-bare repository

and a next one:

Checking out and compiling the dataset
readlink: illegal option -- f
usage: readlink [-n] [file ...]
readlink: illegal option -- f
usage: readlink [-n] [file ...]
readlink: illegal option -- f
usage: readlink [-n] [file ...]

yet another:

Running the static checkers on the buggy versions from the Defects4j <<<
Running Error Prone
Traceback (most recent call last):
File "/Users/stylethinking/StaticBugCheckers/python/RunErrorprone.py", line 51, in
path_d4j_projects = os.path.join(os.getcwd(), sys.argv[2])
IndexError: list index out of range

can you give me the reason behind this?

Hi again,
The type of errors you are receiving are quite unexpected. What OS are you running the scripts on?
All the scripts in this repository are developed and tested on Ubuntu (I suppose most major Linux distributions should also work fine).

It's Mac
On Thu, 8 Nov 2018, 05:16 andrewhabib<EMAIL_ADDRESS>wrote:

Hi again,
The type of errors you are receiving are quite unexpected. What OS are you
running the scripts on?
All the scripts in this repository are developed and tested on Ubuntu (I
suppose most major Linux distributions should also work fine).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sola-da/StaticBugCheckers/issues/1#issuecomment-436943810,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGBE0G-PSbgqclo7FvUvpLcPkgagom-Jks5utARrgaJpZM4YROuc
.

ahaaa, I see now.
Most - if not all - of the errors you are getting are due to the different kernel and supported commands on MacOS vs Ubuntu.
You have to either adapt the shell scripts to use corresponding commands supported by the MacOS or, you can run the python scripts directly, but manually. Basically shell scripts are just meant to automate the running of python scripts!

Hi Thanks ,I tried it on Linux but it is showing the error readlink: missing operand at the step checking out and compiling the dataset.

Maybe your fix of readlink error is not working and that would result in the tools not running properly on the dataset?... which will eventually mean that you get empty results in the study folder?
I'd debug the following:

First, make sure that the static checkers are downloaded properly by inspecting the static-checkers/ folder
Second, double check that the d4j dataset is cloned, instantiated, and all projects are checked-out properly (defects4j/projects/ should have two sub-folders b/ and f/ where each should include all checked-out buggy and fixed versions, respectively)
Third, make sure that your fix of readlink in run_checkers_on_defects4j.sh script is working that the script obtains proper path of each static analyzer

Thanks, I am trying this.

Hi again,
I managed to get my hands on a Maco Book. Now, all scripts support MacOS and are supposed to run smoothly on Linux and Mac.
Please read the requirements section carefully to make sure your system has all necessary dependencies.
Let me know if it works so that I can close this issue :)

Hi thanks, It is working (in progress)

Great! I will then close this issue :)


Thrift 3046: Allow PSR4 class loading for generated classes (PHP)

Original patch provided by @fduch, just integrated it into the current version and added a test.
(Original author didn't respond for over a year)
Hopefully this PR will drain more attention than the issue (as hoped by @creker )

Hi @sinceat, thank you for sibmitting my patch as a PR.
My response time is not so big as you mention since the question to me was submitted about month ago :)
Anyway it would be great to save original commit history.
In order to do this we need to apply original patch to the version that was used to create this patch against: https://github.com/apache/thrift/commit/624781c1c4b89dce9f48fa80b841b5cd3d93aebb
After that result HEAD should be rebased against current master with minimal conflict (you have been resolving it on the patch level during submitting this PR) and populated with your additional commit. If you need any help with this, please let me know.

Hi @fduch, did the rebase. Would have done it that way from the start up but that's hard without parent commit id ;-)

@sinceat yeah, great that now its allowed for THRIFT to make PR's instead old-style JIRA-issues with patches submitted)
Now hoping that this could be reviewed..

👍 You guys are so cool~ I and my colleague will test the merged master today. While we are testing, can you tag a release?


IpcServer exits main thread with code 0 if the socketRoot does not exist on initialization

pretty self explanatory <3

bump

reproduction steps:

set a socket root that doesn’t exist


@phdthesis not output as expected

Firstly, let me say thanks for the effort in developing this package -- I am using it for my PhD thesis.
However, the output I am getting when citing a phdthesis (at least when using trad-alpha) is different to what I was expecting (i.e. it is substantially different to BibTeX alpha).
For example, for the BibTeX entry
@phdthesis{Tob01,
  author = {Stephan Tobies},
  title = {{Complexity Results and Practical Algorithms}},
  school = {LuFG Theoretical Computer Science, RWTH-Aachen},
  address = {Germany},
  year = 2001
}

with the LaTeX document using BibTeX
\documentclass{article}
\begin{document}
\cite{Tob01}
\bibliographystyle{alpha}
\bibliography{biblio}
\end{document}

the reference is printed as

whereas with the LaTeX document using BibLaTeX and trad-alpha
\documentclass{article}
\usepackage[backend=biber,style=trad-alpha]{biblatex}
\addbibresource{biblio.bib}
\begin{document}
\cite{Tob01}
\printbibliography
\end{document}

this is the (incorrect output) that I am getting:

If you are still interested in this, please pull the newest version from master and tell me what you think.

I tested this (using the OPs bibtex entry), and it works perfectly. Would it be helpful if I added this to the testing file and generated a pull request?

Thanks for the feedback.
Extending the test files is never a bad idea, so please go ahead. If you happen to have other (real-world) examples (of other types) at hand don't hesitate to include those as well.

This should be fixed in version 0.3 which has been on CTAN for a bit now. Testing is, of course, still very much appreciated.

Thank you for fixing this -- just in time for me writing up the thesis!
However, when I do an update with MiKTeX I don't see the new package... Am I doing something wrong? (I haven't had this before and Googling hasn't come up with much.)
Do I really need to download the package from the CTAN website and install it manually?

Mhhh, no indeed it seems as though the package has not been updated in MikTeX. The packages for MikTeX are maintained manually by the MikTeX developer.
You can download the files from CTAN (extract them) and replace the existing files on your system. (Normally it is not advised to do that, but since you are essentially doing an update that should be fine.)


[Bug]: Indoor chime control not working when used from Home Assistant integration

Version
1.0.0-rc.1
Node version
16.17.0
Operating System type
Linux
Operating system version
Docker on Ubuntu 20.04.4 LTS
Describe the bug
Using eufy-security-ws from the Home Assistant integration (https://github.com/fuatakgun/eufy_security) with the Eufy Doorbell (T8222) and the Wi-Fi Doorbell Chime a switch for controlling the indoor chime is provided. However, this switch does not work as expected, i.e. it does not sync on changes done via the Eufy app nor does its use change the actual indoor chime state. This issue was originally reported as https://github.com/fuatakgun/eufy_security/issues/164 for the integration and as https://github.com/bropat/eufy-security-ws/issues/71 for eufy-security-ws which was closed due to missing debug logs.
I created the attached logs by running the docker container (v 1.0.0-rc.1) with debug logs enabled. I redacted some information that I considered sensitive from the logs. In case additional information is needed, I can work on providing it.
To reproduce

Install eufy_security integration on Home assistant and set up to use separate eufy-security-ws docker instance.
Try switching Indoor Chime switch on / off

Screenshots & Logfiles
chime-issue-redacted.log
First log entry after using the problematic switch was at timestamp 2022-09-22 08:48:30.459, last log entry belonging to that sequence at 2022-09-22 08:49:00.345.
Additional context
No response

@dfleischhacker
To fix this issue i need access to the device. Could you share the device with me?

<EMAIL_ADDRESS>
Let me know.

stale


Hidden ARRAY and STRUCT columns

There's a common pattern in BigQuery to represent a nested field (STRUCT or ARRAY type) as a dimension and a view that is joined with an UNNEST statement.
Currently, Fonz errors when testing these dimensions because you can't group by a nested field. These are hidden dimensions because you can't actually query them, but you need them for sole purpose of joining the nested field view to the full table.
(Here's the approach for reference)
This raises the larger question, should we skip hidden: yes fields by default since they can't actually be queried? My inclination is yes.

After thinking about this some more, maybe we should stick to having our own syntax to ignore a dimension as previously discussed.
It's also a common pattern to hide a numeric dimension that's used primarily to generate a measure (like a revenue dimension, for instance), and this would exclude those very important dimensions from testing.

Yeah, I think the right way to handle this is to give them the option to ignore certain columns. I don't think we want to be too heavy-handed in our assumptions about what a hidden column means. As you said, they often get used in measures, etc.


Allow empty access policies array in HealthcareApis

Latest improvements:
MSFT employees can try out our new experience at OpenAPI Hub  - one location for using our validation tools and finding your workflow.

Contribution checklist:

[ x] I have reviewed the documentation for the workflow.
[ x] Validation tools were run on swagger spec(s) and have all been fixed in this PR.
[ x] The OpenAPI Hub was used for checking validation status and next steps.

ARM API Review Checklist

[ ] Service team MUST add the "WaitForARMFeedback" label if the management plane API changes fall into one of the below categories.
adding/removing APIs.
adding/removing properties.
adding/removing API-version.
adding a new service in Azure.

Failure to comply may result in delays for manifest application. Note this does not apply to data plane APIs.

[ ] If you are blocked on ARM review and want to get the PR merged urgently, please get the ARM oncall for reviews (RP Manifest Approvers team under Azure Resource Manager service) from IcM and reach out to them.
Please follow the link to find more details on API review process.

/azp run automation - sdk

Can one of the admins verify this patch?

Removing minItems for an array should not be considered breaking, should it?

/azp run automation - sdk

Given the preview API-version, breaking change is tentatively approved.


Extension field for status/recommendation does not reflect the current state when editing

In the motions detail view...

Fixed by #1179


Allow adding types after initialization

This fix allows the modification in node-client/1d250 that fixes node-host/#21. What a chain!

Hi there! I hate to be that person, but is there anyway this can be fixed and merged in 😄
Would really like to make some JS-based neovim plugins 😁

Ping @tarruda

Thanks!


On a fresh Mac install, no startup file exists

We just tried things on a completely fresh Mac M1 Pro laptop, i.e. out of the box, first thing to try is to install Julia. In that situation, no shell startup script at all exists. I think what that means is that we should actually create .zshrc on Mac in all cases, not just modify it when it isn't there.
@StefanKarpinski pinging you as one of our resident Mac users :)

Ha, turns out the code already does that!


Refactor packaging

Hi everyone,
I don't know if the topic has already come up but I would suggest splitting the library into multiple components (eg: core, visualization, etc.) so that you can only install what you need (eg: downscaling) and avoid what you don't need (eg: eg: visualizattion) and all related dependencies (eg: matplotlib).
I say this for all those like me who find themselves installing libraries in AWS Lambda (and similar) where space is precious and therefore it is very convenient to be able to install only what you need without having to manually delete files and folders after installation.
Originally posted by @fox91 in https://github.com/pySTEPS/pysteps/issues/216#issuecomment-888334824

I like the idea that @dnerini suggested in #216, add different options to install a particular set of dependencies depending on the needs of the users using the extras_require in setup.cfg.  We can implement by:

Refactor visualization module to handle matplotlib as an optional dependency

To avoid the try:except blocks in each of the .py files in the visualization module, we can move the matplotlib import to the init.py in the visualization module, and import it from that module as from pysteps.visualization.matplotlib. We can also add a function like check_matplotlib_import() that raises the exception if matplotlib is not present. What do you think?

Create different installation configurations using the extras_require option setup.cfg, one for each functionality and also bundles (like [dev], [all], etc.).

In #216 I also suggested splitting the library into different components using something like  Namespace packages. However, if the goal is avoiding ithe installation of unnecessary optional depencies, the optional-dependencies handling in setuptools seems to me a better (and simpler) alternative.

Thanks @aperezhortal  for the nice summary, we should give it a try!
I also like the proposition for making matlplotlib an optional dependency, although this might need to be applied to few other modules (eg we have a plot module in pysteps.verification).
One aspect that is not clear to me is how is this going to translate in terms of conda-forge packages? Do you know?
One more thing we should discuss is a tentative list of sub-functionalities, we already mentioned a few:

visualisation (or a shorter 'plot'): matlplotlib, (cartopy)
dev: pytest, black

what else could be useful?

doc: sphynx
...

One aspect that is not clear to me is how is this going to translate in terms of conda-forge packages? Do you know?
Conda-forge allows different outputs. Although it never use this functionality, we can use as reference the matplotlib-feedstock. Matplotlib creates 3 outputs, matplotib-base, matplolib, and mpl_sample_data.

One more thing we should discuss is a tentative list of sub-functionalities, we already mentioned a few

What about:

all: full functionality
motion: all the optional dependencies in the motion module
vis: matlplotlib
geovis: matlplotlib, cartopy, pyproj
dev: pytest, black
doc: sphynx

I am not an expert in python packaging but I'm all for having the proposed separately installable components. For example, doc requires more than simply sphynx, it also uses e.g. a bibtex package. It would be useful to be able to install all doc requirements with one doc submodule and likewise for the rest. Perhaps something like that was already possible, but I missed it...

I would not want the aspect I brought to light to get confused with the difference between development dependencies and production dependencies: for development dependencies (pytest, black, sphynx, etc.) specific separations are not necessary, indeed it would be harmful.
For example, I use poetry instead of setuptools and here is the dedicated dev-dependencies section for dependencies of this type that will be installed only by those who install the library in development mode.
I can't name the specific option to get the same effect in setuptools but I think there is an equivalent.


Autofill all form elements

Summary

Bumping an issue mentioned in https://github.com/stripe/react-stripe-elements/issues/280#issuecomment-444148807 (Request 1). This is still not possible to do using elements. Any info regarding if this is being pursued?
Other information
Unable to use input where it works flawlessly.

Hi @matihabbas - this is something we're tracking internally but do not currently have a delivery timeline to share. I've noted your ask for this as well. Thanks!


wish: use LISTEN/NOTIFY for better performance, lower CPU usage

PostgreSQL supports LISTEN/NOTIFY to implement the pubsub pattern, so there is no need to poll the database constantly to see if there any jobs. Instead, you can use the "LISTEN" command to listen to a channel, and PostgreSQL will issue a "NOTIFY" the channel when there is a job to do.
This would use less CPU than polling PostgreSQL, and also allow jobs to potentially to start slightly faster, as the NOTIFY may be sent to the worker before the next poll interval comes around.
References:

http://bjorngylling.com/2011-04-13/postgres-listen-notify-with-node-js.html
http://www.postgresql.org/docs/9.1/static/sql-notify.html
http://voxpelli.com/2015/01/pubsub-with-postgres-and-node-js/

The pg library you already depend mentions LISTEN/NOTIFY support in the documentation, so required changes may be somewhat small.

+1

@markstos , @LucioFranco cross-referencing this with another module for the same idea: https://github.com/jameshy/pg-job-queue/issues/19

Good points guys.  Happy to take PRs re this.  Don't have time to do a fairly big re-write on this right now.  Maybe later :)

@timlesallen This reply is just 1.5 years late, so by later you mean like 10 years from now? :) :) :)

@vitaly-t Yeah, I should have said something about it probably being after the fact.  Was more putting the reply in for future reference in case it helps anyone...  It's still an ongoing issue so we'll leave it open and as I said, contributions are welcome.


Type error in iteration routines

Not sure what's really going on here, but from this bit of code,
bgen = xb.BatchGenerator(
    ds,
    {'nlon':nlons,     'nlat':nlats},
    {'nlon':(nlons/2), 'nlat':(nlats/2)},
    concat_input_dims = True
)

for batch in bgen:
    model.fit([batch[x] for x in (sc.stencil_2D + sc.stencil_3D + sc.vanilla)],
              [batch[x] for x in sc.target],
              batch_size=32, epochs=2,
              callbacks=[history, tf.keras.callbacks.TerminateOnNaN()])

I eventually get some kind of type error in _slices:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
/tmp/ipykernel_461/3742806048.py in <module>
----> 1 train(ds_training, scenarios_2D[4])

/tmp/ipykernel_461/2263950181.py in train(ds, sc, conv_dims_2D, conv_dims_3D, nfilters)
     41
     42     history = LossHistory()
---> 43     for batch in bgen:
     44         model.fit([batch[x] for x in (sc.stencil_2D + sc.stencil_3D + sc.vanilla)],
     45                   [batch[x] for x in sc.target],

/srv/conda/envs/notebook/lib/python3.9/site-packages/xbatcher/generators.py in __iter__(self)
    123             if self.concat_input_dims:
    124                 new_dim_suffix = '_input'
--> 125                 all_dsets = [
    126                     _drop_input_dims(
    127                         ds_input, list(self.input_dims), suffix=new_dim_suffix

/srv/conda/envs/notebook/lib/python3.9/site-packages/xbatcher/generators.py in <listcomp>(.0)
    123             if self.concat_input_dims:
    124                 new_dim_suffix = '_input'
--> 125                 all_dsets = [
    126                     _drop_input_dims(
    127                         ds_input, list(self.input_dims), suffix=new_dim_suffix

/srv/conda/envs/notebook/lib/python3.9/site-packages/xbatcher/generators.py in _iterate_through_dataset(ds, dims, overlap)
     34         size = dims[dim]
     35         olap = overlap.get(dim, 0)
---> 36         dim_slices.append(_slices(dimsize, size, olap))
     37
     38     for slices in itertools.product(*dim_slices):

/srv/conda/envs/notebook/lib/python3.9/site-packages/xbatcher/generators.py in _slices(dimsize, size, overlap)
     21     assert stride > 0
     22     assert stride <= dimsize
---> 23     for start in range(0, dimsize, stride):
     24         end = start + size
     25         if end <= dimsize:

TypeError: 'float' object cannot be interpreted as an integer

Thanks @cmdupuis3 for opening an issue. Can you report what the values are for this bit of your code example:
    {'nlon':(nlons/2), 'nlat':(nlats/2)},

I suspect the division here is resulting in floating point values.

Both are 20

I'm trying out casting them to ints, seems to be working so far...

But they are floating point values:
In [1]: nlats = 40

In [2]: {'nlats': nlats/2}
Out[2]: {'nlats': 20.0}

In [3]: type({'nlats': nlats/2}['nlats'])
Out[3]: float

In [4]: type(nlats/2)
Out[4]: float

Try casting those values to ints:
    {'nlon': int(nlons/2), 'nlat': int(nlats/2)},


Refactor All

Changes Integer64x64 to FixedPointX64
Changes Mantissa static values to just the exponent number
Adds tests
Updates parse functions to include decimals, if any
Includes decimals throughout

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Upgrade kubernetes dependencies to 1.9.2

What this PR does / why we need it:
Upgrade kubernetes dependencies to 1.9.2. Some features requires 1.9.x API definitions. See https://github.com/kubernetes-incubator/external-storage/pull/552, https://github.com/kubernetes-incubator/external-storage/issues/570.
Which issue this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Special notes for reviewer:
I splited the PR into two parts:

Vendor files: https://github.com/kubernetes-incubator/external-storage/pull/578/commits/92504da63ee667cdb1ae72935638fd30ce758015 (glide up -v followed by glide-vc --use-lock-file)
Non-vendor changes: https://github.com/kubernetes-incubator/external-storage/pull/578/commits/c7537ccfe68998da90ff3929bcb9d57744b751e3

Due to some packages depending to packages under k8s.io/kubernetes which changed a lot, a lot of conflicts need to be fixed:

Package k8s.io/kubernetes/pkg/api/v1/helper moved to k8s.io/kubernets/pkg/apis/core/v1/helper
Remove Scheme.DeepCopy, use <obj>.DeepCopy() directly, see https://github.com/kubernetes/kubernetes/pull/53525.
Regenerate deepcopy files for snapshot CRD types (also added some hack scripts to generate it automatically)

Thanks @cofyc !

@wongma7 As all the tests are passed, it looks good to me. PTAL.

Thanks @cofyc confirm that ceph/cephfs could be compile successfully ;-)

@cofyc and @wongma7 may we have another stable image for CephFS provisioner pushing to https://quay.io/repository/external_storage/cephfs-provisioner once getting ready?
I am now trying to integrate CephFS provisioner with Kubespray (https://github.com/kubernetes-incubator/kubespray/pull/2230), which temporarily require for building local image and push to a local registry. Without the help from here, the integration procedure for Kubespray now looks absolutely insane...

lgtm
cc @tsmetana @xing-yang for snapshot crd

locally built but not tested. Would like to cut a release and then merge it.
@childsb @jsafrane @wongma7

I cut a release with the 1.8 deps here: https://github.com/kubernetes-incubator/external-storage/releases
I'll merge this to update deps to 1.9


Cannot change password in Windows - confirmation skipped with error

Steps to reproduce:
List the minimal actions needed to reproduce the behavior.

Fresh installation using UI and adding admin|password|example|test as defaut user|pwd|org|bucket
.Enter \influx user password -n admin in PowerShell
Type as password 12345678

Expected behavior:
After Enter, a confirmation is asked
Actual behavior:
The confirmation immediately return an error
←[36mPlease type your new password←[0m:

←[36mPlease type your new password again←[0m:

←[31mPasswords do not match.
←[0m←[36mPlease type your new password←[0m:

Environment info:

System info: Win10
InfluxDB version: 2.0.6 (win binaries)

Additional info:
The same behaviour happens running influx setup on a fresh installation via CLI.

At least for influx setup, I see this is fixed in the new CLI implementation contained in this repo. It should roll out with v2.1.0 of the CLI, which we hope to release soon (this week or next). I'd expect the fix to also apply to influx user password but I haven't tested it myself yet.
@hybuild-project @jey07 if you're willing to test a pre-release, could you try out this PR build (download from CircleCI's S3 bucket) and let me know if it addresses your problem?

#88 would also help work around this; if the interactive prompt is still broken for you, I'll try to get that feature bundled into the upcoming release

I believe this should be fixed as of the latest CLI release, closing


[Bug] can not got apache-pulsar-2.10.4-bin.tar.gz

Search before asking

[X] I searched in the issues and found nothing similar.

Version
v2.10.4
Minimal reproduce step
get pulsar v2.10.4 binary from pulsar.apache.org
What did you expect to see?
url: https://archive.apache.org/dist/pulsar/pulsar-2.10.4/apache-pulsar-2.10.4-bin.tar.gz
i can not got apache-pulsar-2.10.4-bin.tar.gz, i got 404
What did you see instead?
return apache-pulsar-2.10.4-bin.tar.gz
Anything else?
No response
Are you willing to submit a PR?

[ ] I'm willing to submit a PR!

Now it's uploaded, please retry


As an athlete, I want to be able to change my user name after I authenticate so that I don't have to get site administrator attention

Allow athletes to change their display names when they log in.
We should have a User Preferences settings screen where athletes that log in via Strava can change their display name. It must allow UTF-8 characters.

Right now updates in Strava will automatically update the display name shown here. So people are just doing that. This would be good as an override, but I think maybe it is just Good Enough that we overwrite what's in the database with what's in Strava on every sync. Closing for now.


Update license year

[One line description of your change]
Motivation:
Keeping the README.md file up-to-date
Modifications:
Just replaced 2020 with 2022
Result:
The year.

Since this file was modified on March 1, updating to 2022 is appropriate.  Thanks!

@swift-ci please smoke test


All samples crash (user error?)

Getting the following error with every sample.
"hr	0x887a0004 : The specified device interface or feature level is not supported on this system. 	HRESULT"
Using Windows 10 Home on a laptop with an Intel i7-3610QM and an nVidia GTX 670M with latest 64 bit drivers.
No problems with DirectX 11 stuff.
Thanks.

See issue #5. NV cards based on Fermi do not have WDDM 2.0 support yet, and as such cannot be used from Direct3D 12.

You can go to the project properties and add /warp to the command line to instruct the sample to use the WARP driver instead of the hardware driver.

Ah, nVidia lied! (their site says that this GPU supports DirectX 12). :)
Thank you for the quick response, will add the /warp command.  Thanks again.

Worked, thanks once again.

Note that if your intel chipset is your first adapter then the nvidia chipset will never be tried. The samples will only ever pick the first chipset reported by windows, even if it doesn't support DX12. I've opened issue #14 for that.


zkforge zkbuild doesn't work

Component
zkForge
Have you ensured that all of these are up to date?

[X] Foundry
[X] Foundryup

What version of Foundry are you on?
forge 0.2.0 (320bac6 2024-02-24T19:27:38.063181000Z)
What command(s) is the bug in?
zkforge zkbuild
Operating System
macOS (Apple Silicon)
Describe the bug
zkforge zkbuild doesn't produce any artifacts.
The command itself doesn't produce any output.
With RUST_LOG=debug:
2024-02-24T20:25:13.732320Z DEBUG reqwest::connect: starting new connection: https://github.com/
2024-02-24T20:25:13.732496Z DEBUG hyper::client::connect::dns: resolving host="github.com"
2024-02-24T20:25:13.735410Z DEBUG hyper::client::connect::http: connecting to <IP_ADDRESS>:443
2024-02-24T20:25:14.175426Z DEBUG hyper::client::connect::http: connected to <IP_ADDRESS>:443
2024-02-24T20:25:14.799082Z DEBUG hyper::proto::h1::io: flushed 139 bytes
2024-02-24T20:25:15.000702Z DEBUG hyper::proto::h1::io: parsed 15 headers
2024-02-24T20:25:15.000764Z DEBUG hyper::proto::h1::conn: incoming body is empty
2024-02-24T20:25:15.000885Z DEBUG hyper::client::pool: pooling idle connection for ("https", github.com)
2024-02-24T20:25:15.001013Z DEBUG reqwest::async_impl::client: redirecting 'https://github.com/alloy-rs/solc-builds/raw/55ef6c89b8a09c16feee4a424f8a53f822831a61/macosx/aarch64/list.json' to 'https://raw.githubusercontent.com/alloy-rs/solc-builds/55ef6c89b8a09c16feee4a424f8a53f822831a61/macosx/aarch64/list.json'
2024-02-24T20:25:15.001103Z DEBUG reqwest::connect: starting new connection: https://raw.githubusercontent.com/
2024-02-24T20:25:15.001205Z DEBUG hyper::client::connect::dns: resolving host="raw.githubusercontent.com"
2024-02-24T20:25:15.004327Z DEBUG hyper::client::connect::http: connecting to <IP_ADDRESS>:443
2024-02-24T20:25:15.305423Z DEBUG hyper::client::connect::http: connecting to [2606:50c0:8000::154]:443
2024-02-24T20:25:15.305780Z DEBUG hyper::client::connect::http: connecting to [2606:50c0:8003::154]:443
2024-02-24T20:25:15.305917Z DEBUG hyper::client::connect::http: connecting to [2606:50c0:8002::154]:443
2024-02-24T20:25:15.306000Z DEBUG hyper::client::connect::http: connecting to [2606:50c0:8001::154]:443
2024-02-24T20:25:15.430707Z DEBUG hyper::client::connect::http: connected to <IP_ADDRESS>:443
2024-02-24T20:25:15.948484Z DEBUG hyper::proto::h1::io: flushed 270 bytes
2024-02-24T20:25:16.128820Z DEBUG hyper::proto::h1::io: parsed 24 headers
2024-02-24T20:25:16.128875Z DEBUG hyper::proto::h1::conn: incoming body is content-length (2861 bytes)
2024-02-24T20:25:16.129168Z DEBUG hyper::proto::h1::conn: incoming body completed
2024-02-24T20:25:16.129483Z DEBUG reqwest::connect: starting new connection: https://binaries.soliditylang.org/
2024-02-24T20:25:16.129543Z DEBUG hyper::client::connect::dns: resolving host="binaries.soliditylang.org"
2024-02-24T20:25:16.131317Z DEBUG hyper::client::connect::http: connecting to <IP_ADDRESS>:443
2024-02-24T20:25:16.389062Z DEBUG hyper::client::connect::http: connected to <IP_ADDRESS>:443
2024-02-24T20:25:16.855485Z DEBUG hyper::proto::h1::io: flushed 86 bytes
2024-02-24T20:25:17.057591Z DEBUG hyper::proto::h1::io: parsed 18 headers
2024-02-24T20:25:17.057646Z DEBUG hyper::proto::h1::conn: incoming body is content-length (53428 bytes)
2024-02-24T20:25:17.304069Z DEBUG hyper::proto::h1::conn: incoming body completed

With RUST_LOG=trace: https://pastebin.com/F7xUgVv4

Hey, I ran into the same issue. After some investigation, I discovered that the place where Foundry gets the solc doesn't have versions newer than v0.8.21. So, it looks for your version, doesn't find it, and gives an error. But the problem is, it's not handled properly, so the application just exits.
As a temporary solution, you can set the path to the solc compiler in a foundry.toml config file or use the --use option with zkforge zkbuild.


Adding capability to log slow factory executions

To be able to analyse why we're getting so many "Could not acquire lock".

Closing this. The work @JoelNygren-Norce has done to add tracing to this library already achieves this and more.


[MWPW-161959] Speaker type typo

Fixing a typo in speaker conversion util function
Resolves: MWPW-161959
Test URLs:

Before: https://dev--ecc-milo--adobecom.hlx.page/
After: https://speaker-type-retention--ecc-milo--adobecom.hlx.page/

The fix currently only works half-way. The saved type is now re-populating into the form but is overrode after a page refresh. The network call log suggests that the data being passed between ESP and FE is correct. Not sure what the root cause is yet.

Update:
Not sure if this is intended -- The speakers ended up having type attribute in their series#speakers scope because the edit modal of the speaker component makes PUT call to the series#speakers rather than events#speakers.
This is in discrepancy with the type select dropdown outside the edit modal, which performs PUT call to events#speakers.
If you mess with a speaker enough, you can have 2 type attributes on 1 speakers, one associated to the series scope of the speaker, the other on the events level.
This is starting to feel like a system defect. Mostly a FE fix but we might also need to clean up the type attribute that somehow made to the series#speakers.


wpapi doesn't work after rollup

Short description of the problem:
wpapi no longer works with RC0
What behavior are you expecting?
Like beta11 and many other beta version, it should work regardless in browsify, webpack, or this new rollup...
Steps to reproduce:

ionic start test blank --v2
npm install --save wpapi
npm install --save util
npm install --save url
npm install --save querystring
npm install --save rollup-plugin-json
add var json = require('rollup-plugin-json');
add json() into rollup.config -> plugins (to satisfy json loading in wpapi)
update extensions: ['.js','.json'], rollup.config -> plugins (to satisfy json loading in wpapi)
add preferBuiltins: false into rollup.config -> plugins -> nodeResolve (to satisfy util, url, and querystring dependency for wpapi)
ionic serve

import { Component } from '@angular/core';
import { Platform } from 'ionic-angular';
import { StatusBar } from 'ionic-native';

import { HomePage } from '../pages/home/home';

import WPAPI from 'wpapi';

@Component({
  template: `<ion-nav [root]="rootPage"></ion-nav>`
})
export class MyApp {
  rootPage = HomePage;

  constructor(platform: Platform) {
    //WPAPI
    console.log('WPAPI ',WPAPI);
    let wp = new WPAPI({ endpoint: 'http://demo.wp-api.org/wp-json/' });
    wp.posts().then(function( posts ) {
      console.log( posts );
    }).catch(function( err ) {
      console.error( err );
    });

    platform.ready().then(() => {
      // Okay, so the platform is ready and our plugins are available.
      // Here you can do any higher level native things you might need.
      StatusBar.styleDefault();
    });
  }
}

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
blank page, no console error or anything.
Which Ionic Version? 1.x or 2.x
2.0 RC0
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.3.1
Ionic Framework Version: 2.0.0-rc.0
Ionic CLI Version: 2.1.0
Ionic App Lib Version: 2.1.0-beta.1
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Mac OS X El Capitan
Node Version: v6.6.0
Xcode version: Xcode 7.3.1 Build version 7D1014

Hello, thanks for opening an issue with us! The latest release of app-scripts uses webpack by default which will work with older commonJS libraries with no config. To update you can follow the instructions in that blog post.

Hello.
Sorry to post in the closed issue, but as for now, with RC3, i'm still not able to use WPAPI.
I tried to import the same as the docs:
import * as WPAPI from 'wpapi';

and the same as @alamusi:
import WPAPI from 'wpapi';

When I just import, it works fine, when I try to use the WPAPI in any way, I get the white screen without a clue on what's happening.
Doing the same with moment works just fine. I'm not sure if I'm doing something wrong or that's a real issue.

I have same issue with @victorivens05


cmd/gofmt: consider sorting imports in the same way as goimports (separating std lib from third party)

What version of Go are you using (go version)?
1.14
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
MacOS
What did you do?
ran go fmt ./.. on my codebase
What did you expect to see?
The builtin go fmt formats imports identically to goimports
What did you see instead?
go fmt works differently than goimports
Downloading of goimports is necessary to work in certain repos and adhere to their style guide. One impetus of having go fmt built in is to not have these sorts of disagreements, and instead just rally around a single tool. The existence and continued support for goimports goes against this philosophy. In addition, there is poor visibility in the public eye of goimports. Its not discoverable via the command line, as it isn't built in like vet and fmt. The only way people learn of this other tool is via blog posts or poking around Github.
I propose that the builtin go fmt sorts imports in the same way as goimports starting with next Go versioned release, and development of goimports ceases.
If we want to maintain two different sets of rules, I think a good compromise would be to add a -imports flag to the builtin go fmt so that we aren't maintaining two tools for one job

Can you give a concrete example of code formatting generated by goimports and then modified by gofmt? Thanks.

Original
package main

import (
	"strings"
	"github.com/gorilla/mux"
	"fmt"
)

func main() {
var _ = mux.NewRouter()
	fmt.Println(strings.ToUpper("Hello, world!"))
}

go fmt (note the alphabetized imports)
package main

import (
	"fmt"
	"github.com/gorilla/mux"
	"strings"
)

func main() {
	var _ = mux.NewRouter()
	fmt.Println(strings.ToUpper("Hello, world!"))
}

goimports (note the imports grouped stdlib, newline, external)
package main

import (
	"fmt"
	"strings"

	"github.com/gorilla/mux"
)

func main() {
	var _ = mux.NewRouter()
	fmt.Println(strings.ToUpper("Hello, world!"))
}

I see. In that case, I believe that this may be a duplicate of https://github.com/golang/go/issues/9922.

@rsc was pretty clear in that post that gofmt shouldn’t use goimports rules, and I can respect that. That statement was made almost 5 years ago though, so I wanted to bring it up again under a different light.
I created this issue because there are currently two tools maintained in the Golang org, one pinned with Go releases and another under the x banner.
I respect that not everyone may want their code formatted the way goimports does, however I think maintaining two different tools is wasted effort and confusing to newcomers and veterans alike, especially considering how popular goimports is.
Hence, why I’m proposing merging the two with the implementation being an optional flag

cc @bcmills @heschik

My immediate reaction is that goimports is too complicated and buggy to be tied to the main Go release cycle. The import grouping specifically has known bugs related to comments. But it has been getting more stable over time, so maybe?

I propose that the builtin go fmt sorts imports in the same way as goimports starting with next Go versioned release, and development of goimports ceases.

Perhaps I'm missing something, but goimports does much more than just sorting imports. It also adds missing imports, for example, which is a very complex task with modules.
I'm generally in favor of making the two tools easier to use in general, but deprecating goimports entirely wouldn't be as simple as teaching gofmt how to sort imports.

Interesting, I didn’t realize it removed/added imports until just now.
My intent with creating this issue was solely to rectify the formatting discrepancy. Perhaps this issue could be more focused on gofmt then.

Would it be feasible to refactor cmd/gofmt to share code with goimports, similar to how cmd/vet now uses dependencies vendored from golang.org/x/tools/go/analysis?
That would at least make it easier to keep the two in sync.

Would it be feasible to refactor cmd/gofmt to share code with goimports

That's a good point. There's even a comment which says: // Hacked up copy of go/ast/import.go in tools/internal/imports/sortimports.go. There was a fix with import ordering that I had done in gofmt, which had to be replicated again in goimports.

Whatever goimports or gofmt, Please provide an option to format the code in a single or two block, And it doesn't affect the automatic import packages,
Vscode default goimports and two block, goland default gofmt and single block. Our team uses different editors, which creates unnecessary conflicts when merging code.

@hlbbt You can configure  goland to use goimports (Editor->Code Style->Go->Imports->Sorting type).

@hlbbt You can configure goland to use goimports (Editor->Code Style->Go->Imports->Sorting type).

I don't like goland, I prefer to use vscode, I want to add options in vscode, not goland

I wrote one, here is the git address
https://github.com/athxx/gfmt

https://github.com/athxx/gfmt

https://github.com/microsoft/vscode-go/issues/3059#issuecomment-589072036

@hlbbt You can configure goland to use goimports (Editor->Code Style->Go->Imports->Sorting type).

I don't like goland, I prefer to use vscode, I want to add options in vscode, not goland

Try this
https://github.com/microsoft/vscode-go/issues/3059#issuecomment-589072036


Drop more uses of getInput() from SIL

@swift-ci please test and merge

We are getting closing to only having to head with CSSimplify* as a last user of getInput()...


Add push_front and push_back to FuturesOrdered

Renamed push to push_back
Added push_front, which pushes a future to the front of the queue.

More info here (the push_front logic is taken from here).
We might want to leave push as is and just add push_front to avoid renaming it.
Closes: #2591

Thanks! Can you retain the old push method as deprecated? If so, this can be backported to futures 0.3.

I noticed this was approved and then stalled.
Is there anything preventing merging?

Opened another PR to fix the clippy lints: https://github.com/rust-lang/futures-rs/pull/2618

Thanks!


[BUG]

Version
Which LiteDB version/OS/.NET framework version are you using. (REQUIRED)
5.0.5/ windows 10 1909/ .net core 3.1
Describe the bug
marking property as [NotMapped] do nothing
Code to Reproduce
[NotMapped]
public bool IsSelected { get; set; }

Expected behavior
this property shouldn't be a part from the collection

@ahmedflix25 LiteDB does not use the NotMappedAttribute. If you want to ignore a property, you must annotate it with BsonIgnoreAttribute. Alternatively, if you can't or won't add external references to your class, you can use our fluent mapping API.
var mapper = BsonMapper.Global;
mapper.Entity<MyClass>()
    .Ignore(x => x.IsSelected);

ok, thanks


ci: always use the versions from the local repository for CI

the versions.yaml file in runtime carries the information on all the
components we use and ship with kata. It would be nice to have the CI
test the newer versions when the file is changed and CI is triggered.
The current code always fetches from the master tree from github and
that does not help to validate version changes before it lands in the
tree.
Signed-off-by: Ganesh Maharaj Mahalingam<EMAIL_ADDRESS>

@devimc @jcvenegas with new versions of NEMU when updated to versions.yaml does not work. I am guessing this change will work with CI and for release build. Please let me know.

@jcvenegas @jodh-intel done! :)

/test

/test

/test

@devimc snap build failed with this.
• Failure in Spec Teardown (AfterEach) [15.243 seconds]
[k8s.io] Container
/tmp/jenkins/workspace/kata-containers-packaging-ubuntu-18-04-snap-PR/go/src/github.com/kubernetes-sigs/cri-tools/pkg/framework/framework.go:72
  runtime should support basic operations on container
  /tmp/jenkins/workspace/kata-containers-packaging-ubuntu-18-04-snap-PR/go/src/github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:68
    runtime should support execSync [Conformance] [AfterEach]
    /tmp/jenkins/workspace/kata-containers-packaging-ubuntu-18-04-snap-PR/go/src/github.com/kubernetes-sigs/cri-tools/pkg/validate/container.go:121

    failed to pull image: rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/library/busybox:1.28": failed to unpack image on snapshotter overlayfs: failed to extract layer sha256:432b65032b9466b4dadcc5c7b11701e71d21c18400aae946b101ad16be62333a: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount360205553: link /var/lib/containerd/tmpmounts/containerd-mount360205553/bin/[ /var/lib/containerd/tmpmounts/containerd-mount360205553/bin/inetd: no such file or directory: unknown
    Expected error:
        <*status.statusError | 0xc00049a4e0>: {
            Code: 2,
            Message: "failed to pull and unpack image \"docker.io/library/busybox:1.28\": failed to unpack image on snapshotter overlayfs: failed to extract layer sha256:432b65032b9466b4dadcc5c7b11701e71d21c18400aae946b101ad16be62333a: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount360205553: link /var/lib/containerd/tmpmounts/containerd-mount360205553/bin/[ /var/lib/containerd/tmpmounts/containerd-mount360205553/bin/inetd: no such file or directory: unknown",
            Details: nil,
        }
        rpc error: code = Unknown desc = failed to pull and unpack image "docker.io/library/busybox:1.28": failed to unpack image on snapshotter overlayfs: failed to extract layer sha256:432b65032b9466b4dadcc5c7b11701e71d21c18400aae946b101ad16be62333a: mount callback failed on /var/lib/containerd/tmpmounts/containerd-mount360205553: link /var/lib/containerd/tmpmounts/containerd-mount360205553/bin/[ /var/lib/containerd/tmpmounts/containerd-mount360205553/bin/inetd: no such file or directory: unknown
    not to have occurred

    /tmp/jenkins/workspace/kata-containers-packaging-ubuntu-18-04-snap-PR/go/src/github.com/kubernetes-sigs/cri-tools/pkg/framework/util.go:248

Any ideas?

@ganeshmaharaj nop, restarting the job...

Thanks @devimc seems it was a transient issue. All green now. :-)


Tweak regression test extraction script, update tests

Tweaks to scripts/generate-regression-tests.sh:

If KORE is not set, the top directory of haskell-backend will be used as the working directory A different directory may be given. The extracted tests will be copied into $KORE/test/regression-evm.

EVM_SEMANTICS may be provided, a directory containing an existing check-out of evm-semantics to use for execution (will be re-built with dependencies using current master).

evm-semantics will always be built with all dependencies (including k and haskell-backend), to avoid artefacts of the user's K installation ending up in the kore files. The k version will be the one indicated by deps/k_release, unless the user sets variable K_VERSION to override this.

All source attributes in *.kore files are trimmed: EVM_SEMANTICS (or $KORE/evm-semantics, if no EVM_SEMANTICS directory was given) will be replaced by evm-semantics  to not contain any user-specific prefix.

The script now supports extracting only a subset of tests, supplied as arguments (path without the prefix tests/specs/ and without suffix -spec.k).
Example:

someone@haskell-backend $ scripts/generate-regression-tests.sh erc20/ds/totalSupply functional/lemmas

I have one big concern, though, after reviewing I have a feeling the frontend version being used is the one built from KEVM's dependencies. That won't work because we will always be ahead of KEVM in regards to the K version it's using. We need the script to either use whatever frontend is on path or to pull in the version from the backend's deps file.

Correct, the current script builds the K dependency that KEVM specifies in the git submodule - we cannot merge this as-is then.
Just using what's on the path is not a great idea IMHO. We can supply the version specified in deps/ by checking out the respective tag in the K submodule. This might of course create other issues (proofs not working with that version) but I will try to add that change to the script today.

The deps/k_version file (5.6.40) is lagging a bit behind the evm-semantics dependency (5.6.67) at the moment...  https://github.com/runtimeverification/haskell-backend/pull/3566 will fix that. I have changed the script to check out K from the version given in deps/k_release before it builds evm-semantics (can be overridden by setting K_VERSION).

When I use K  version 5.6.40, I am getting lots of warnings like this:
[Error] Compiler: Used 'comm' attribute on simplification rule but _==Int_ is
not comm.
	Source(/home/jost/work/RV/code/evm-semantics-1/.build/usr/lib/kevm/include/kframework/lemmas/evm-int-simplification.k)
	Location(46,7,46,36)
	46 |	      X ==Int ((X up/Int Y) *Int Y) => X modInt Y ==Int 0
	   .	      ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~

However, somehow the proofs still run to completion and kore files get extracted.
I updated the kore files to what we get when using the current value 5.6.40 from deps/k_release.

This should be fixed with this PR: https://github.com/runtimeverification/k/pull/3342/files
K5.6.54 onwards.
Does it disappear if you update to the latest K?

This should be fixed with this PR: https://github.com/runtimeverification/k/pull/3342/files K5.6.54 onwards. Does it disappear if you update to the latest K?

Yes, version 5.6.67 (submodule version of evm-semantics) works without any issues.

This started failing locally for me when I tried to re-run to update the kore files to the new K version. Investigating...

Note: has to be run with bash, doing $ bash ./scripts/generate-regression-tests.sh worked for me.


Collapsible menu for all Azure documentation pages

I understand that this does not fit within the guidelines but I'm not sure where else I can make this request/raise this issue.
Currently, when viewing the Azure documentation on my iPad, around 1/4 of the screen is taken up by the left-hand navigation pane. As a user who consumes most documentation from a tablet, it's quite frustrating having a fixed navigation bar taking up screen real estate when I want the documentation to be the sole focus.
Can we have a feature that allows the navigation pane on the left-hand side to be collapsed, in the same way the Azure menu collapses?
If this is the wrong place, can someone point me to a person or place to submit this request/feedback?

@liambarnett
It would be great if you could add a link to the documentation you are following for these steps? This would help us redirect the issue to the appropriate team. Thanks!!

@liambarnett
Since we have not heard back from you, we will now proceed to close this thread.If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Create dates from Unix Epoch

This is totally untested. Not sure how to do any of that yet (first dabble in rust)

[ ] The commit messages match the guidelines in https://github.com/hyperium/hyper/blob/master/CONTRIBUTING.md#git-commit-guidelines

Thanks for contributing! Unfortunately, I'm here to tell you there were the following style issues with your Pull Request:

Commit: 6ad249df456f050c9f981beda8ae8e6e62eb7741
Commits must be in the following format: %{type}(%{scope}): %{description}

Guidelines are available at https://github.com/hyperium/hyper/blob/master/CONTRIBUTING.md

This message was auto-generated by https://gitcop.com

Feel free to take the patch, idea and reimplement as you see fit if necessary.

After thinking on it, this is pretty conclusively incorrect. I'll close, but the issue at #1062 still stands


[FLINK-27699][python][connector/pulsar] Align atPublishTime method of StopCursor class

What is the purpose of the change
StopCursor#atEventTime is deprecated, align to StopCursor#atPublishTime.
Brief change log

Add at_publish_time method into StopCursor class of PyFlink

Verifying this change
This change added tests and can be verified as follows:

Added test that validates at_publish_time

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (no)

I will update the doc in this ticket https://issues.apache.org/jira/browse/FLINK-27690


Some extra interpolation improvements

For
mixin a
  p hey

- var myMixin = 'a'
+#{myMixin]}

Previous error message was:
{ msg: 'start character "{" should match end character "]"',
  code: 'JADE:ASSERT_FAILED',
  line: 5 }

It was inaccurate since there is a "}" in that line.
Current error message:
{ msg: 'Syntax Error',
  code: 'JADE:SYNTAX_ERROR',
  line: 5 }

Is this error message really better? The old one gave me some pointer towards start and end characters being out of whack, the new holds no actionable information.

The old one gave me some pointer towards start and end characters being out of whack

Maybe that was a bad example, but consider this:
mixin a
  p hey

- var myMixin = 'a'
+#{my]Mixin}

My point is: ] should not be considered to be an "end" character in the first place.

the new holds no actionable information

This point is valid, but #20 should alleviate this problem.
After both this PR and #20, the error message will be:
{ msg: 'Syntax Error: Unexpected token ]',
  code: 'JADE:SYNTAX_ERROR',
  line: 5 }

LGTM


Data emulator source code for sample data generation

This is a .Net code to generate sample data showcase dashboards for POS application.

Have to create new PR from different branch.


Added README

Have a look at my pull request.

https://github.com/SatySatsZB/S20RefreshRateControl/pull/9


Issue pulling recipes from JEI into crafting grid

Issue description:
When attempting to pull recipe from JEI into crafting table, console errors out and items don't appear.
What happens:
Only 1 item came when attempting to pull recipe from JEI/RS Network for Ender IO's Double-Layer Capacitor
What you expected to happen:
All items to come from Grid/RS storage and to show in the crafting grid.
Steps to reproduce:

Search Double-Layer Capacitor in JEI and click on it.
Click on + to put into crafting grid based on items in RS Network
Only one item will come out, giving below error.
...

Version (Make sure you are on the latest version before reporting):

Minecraft: 1.10.2
Forge: <IP_ADDRESS>5
Refined Storage: 1.2.14
Ender IO: 3.1.156
Quantum Storage: 3.2.17

Does this issue occur on a server? [yes/no]
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]
http://pastebin.com/a6VE1EYn

I want to make a correction in my title too. Not really pulling the recipe from JEI... It's more pulling the items from the network into the crafting grid. It errors on specifically on the quantum storage unit, which I did put that version number in there too.

Does this happen 100% of the time?

Closed as reporter is not responding.


Making contact with more than just email

Hi, I was wondering using this
function createContact($Cemail, $country)
{
    $mj = new Mailjet( $apiKey, $secretKey );
    $params = array(
        "method" => "POST",
        "Email" => $Cemail,
    );

    $result = $mj->contact($params);

    if ($mj->_response_code == 201)
       echo "success - created contact ".$Cemail;
    else
       echo "error - ".$mj->_response_code;

    return $result;
}

if in this
    $params = array(
        "method" => "POST",
        "Email" => $Cemail,
    );

I could add say, first name, last name, country, phone number, etc

Hi @interneteur,
Sorry for the delay in our answer. What you describe can be achieve by creating contact's properties, called metadata. You can find the relevant API Guide here.
Any further questions, don't hesitate.
If this helped, please close the issue.
Best,
Arnaud.

Hey @nadermx :airplane:
We just released a new PHP API wrapper.
It is now more PHP-ish (including namespace, PSR-0 compliance, and globally a better architecture).
All it requires is PHP 5.4
In addition to our API Guides, we would be happy to help you get started with it.
Guillaume, from Mailjet!


M3-5451: Changes to Cluster Details for HA Clusters and Kubernetes Dashboard

Description
This PR adds functionality for HA clusters to manager. These additions are:

[x] Upgrade to HA button
[x] HA cluster chip

Also included is the new feature for all clusters to reach an external K8s dashboard:

[x] External link button to K8s dashboard
The external link ti K8s dashboard does not render if the API returns an error or no URL.

How to test
What are the steps to reproduce the issue or verify the changes?
You must include REACT_APP_LKE_HIGH_AVAILABILITY_PRICE in your env to see new features.
How do I run relevant unit tests?

@tiffwong iirc, the dashboard button link is hidden for now since it's not available via the api


can i add css class date ranges selected

If u want to add this class to picket , it's not possible as of now. However there is call back function check issue #27

Close the issue if this helps


Feature/sidebar

This PR resolves issues with the create_app function and blueprint route registration. Key changes include:

Corrected blueprint registration for auth, main, and posts modules
Ensured each route correctly renders the intended templates by adjusting path references

Nice work Dela!


fix(youtube): shorts stats values

🔧 What does this fix? 🔧
as said in the title

if your wondering where this is, just go to any short's description and you should find this
🗒 Checklist 🗒

[X] I have read and followed Catppuccin's contributing guidelines.
[X] I have updated the version appropriately in the ==UserStyle== header of the catppuccin.user.css file.

Try to add more detail to the commit/PR names if possible :)

Try to add more detail to the commit/PR names if possible :)

alright :)

No worries, I was very puzzled because I remembered "the same" PR from last week with the same title and almost the same classname, with a screenshot of the same UI! Took me a sec to realize the difference lol.

No worries, I was very puzzled because I remembered "the same" PR from last week with the same title and almost the same classname, with a screenshot of the same UI! Took me a sec to realize the difference lol.

yeah, also @uncenter do you feel like reviewing my PRs are bearable?

@uncenter btw do you have any other feedback that improves my PRs/commits?
i want to make my PRs pretty stable and easy to review so i dont make things hard and you dont have to mention the same issue 10 times

@uncenter btw do you have any other feedback that improves my PRs/commits? i want to make my PRs pretty stable and easy to review so i dont make things hard and you dont have to mention the same issue 10 times

It's on you to learn and remember. I've given you tens of comments with feedback and to be honest I'm losing my patience when I keep having to say the same thing - "add a comment", "pick readable classnames", "put it in the right place" - I sincerely wish the best for you but if you want to keep opening PRs you are going to have to work on those things or else we might not accept PRs from you in the future.

@uncenter i think in the near future i'll try the best as i can to incorporate these feedback into my prs, i'll use better commit messages, more detailed titles, comments, readable classnames, etc