Support for limit(), startsAt(), and endsAt()

It would be great to be able to use Firebase's limit(), startsAt(), and endsAt().
store.find('post', { limit: 10, startsAt: 100 });

This would require findQuery support in emberFire.

Waiting on this as well - hard to go beyond the hello world use case without proper query support

@Emerson and others, check out https://github.com/firebase/emberfire/pull/169

I love the serverless pattern and Firebase Hosting is great but without the ability to really send queries I dont see how anyone could build anything substantial using EmberFire.
Let's assume I have an App that needs to do more that just Select by ID and Select All
How do you use this library if you cannot query Firebase?
Is there a way to pass native queries in via the data adapter?
Lets assume I have a user and I want to show all of his Posts but the Firebase repository has more than just his posts stored there. I cannot figure out how to pass in a query param (user = 5) to make that work in a normal way. There doesn't seem to be a way to Sideload either. One thing I can do is if the user has an array of Post Ids in their user model then I can iterate over them and make dozens of API calls into Firebase to get each post but that seems awful.
@katowulf thinks this is "not particularly challenging" but I cannot find any examples and I do not want invent the wheel. How do I 'drop to the Firebase API and use it directly' as I do not see examples, patterns or best practices.
In need of support / guidance / info.
Brendan

@gpbmike This looks great! I'm curious what version of firebase you're using. I get the undefined is not a function error whenever I try to call a querying method on ref (so ref.limitToLast(n) blows up).

@dustinbrownman you need to be using version 2.

@gpbmike I tried your solution: https://github.com/webhook/webhook-cms/blob/master/app/adapters/application.js and I get the following error:
Error: Cannot set read-only property "contentblocks" on object: <whatnot@model:article::ember392:-JiHiuRBvKtvt12AwJ0A>
    at new Error (native)
    at Error.EmberError (http://localhost:4200/assets/vendor.js:21769:23)
    at Descriptor.computedPropertySet [as _set] (http://localhost:4200/assets/vendor.js:20239:15)
    at Descriptor.computedPropertySetWithSuspend [as set] (http://localhost:4200/assets/vendor.js:20223:14)
    at set (http://localhost:4200/assets/vendor.js:25802:14)
    at __exports__.default.Mixin.create.set (http://localhost:4200/assets/vendor.js:41417:9)
    at http://localhost:4200/assets/whatnot.js:214:15
    at tryCatch (http://localhost:4200/assets/vendor.js:59767:16)
    at invokeCallback (http://localhost:4200/assets/vendor.js:59779:17)
    at publish (http://localhost:4200/assets/vendor.js:59750:11)

Any ideas?

landed in EmberFire 1.4.0+


new llama-2 default settings

Removing  tokens as it causes issues at inference
adding sample_packing
defaulting to flash_attention instead of xformers

https://wandb.ai/mhenrichsen/llama-2-new-settings/runs/07pi3rls

@winglian feel free to merge :D I don't have the rights.


Remove duplicated sidebar link (Stream Plugin)

Remove duplicated Stream Plugin link.

@naramdash Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@naramdash Thank you for signing the Contributor License Agreement!


Unit and System tests

This issue is aimed at the creation of the structure and files required for testing (not the progress of implementing the test).
Decision making about what methods are needed to isolate the system under test (SUT). This involves test doubles, fakes, stubs, and mocks.
Changes to Flask structure:

[x] Create factory method for application initialisation.
[x] Create multiple configuration options for testing, development, and deployment.
[x] Create a test file that allows creation of the app with a different configuration.
[x] Utilise Flask Blueprints to interface with routes.

Unit Tests:
Unit tests should ensure individual functions to ensure they behave correctly. In general, a function requires typically between 2-5 unit tests. Unit tests should be automated, repeatable, run quickly, pinpoint failure, and limited in scope.
To create the unit tests, we will utilise the unittest package, assertion methods and assertion libraries.

[x] Create test class(es) that uses setUp and tearDown methods that can be used by multiple tests.

System tests:
System tests depend on the end user environment, this means testing how well the behaviour of the application works in the browser. Selenium will be used automate browsers to run test cases.

[x] Create Selenium WebDriver class(es) to be used for testing.

comprehensive session test using FileSystemCache from CacheLib

Beginning of testing started with #40

Complete with #40


🐛 [firebase_crashlytics] Flutter/Flutter.h file not found when build IPA

Hi there.
I added firebase_crashlytics to my Flutter project and followed the Firebase guideline in order to install it.
On flutter run the app works well without any error. ONLY DURING flutter build ipa I get this:
Error (Xcode): 'Flutter/Flutter.h' file not found/project/ios/Runner/GeneratedPluginRegistrant.h:9:8

Error (Xcode): failed to emit precompiled header
'/Users/macnew/Library/Developer/Xcode/DerivedData/Runner-biyumwxiyqxyjkacscuqcbwbjroj/Build/Intermediates.no
index/ArchiveIntermediates/Runner/PrecompiledHeaders/Runner-Bridging-Header-swift_26UGEQJVHLD5H-clang_19ZWN9O
PIOOJI.pch' for bridging header '/project/ios/Runner/Runner-Bridging-Header.h'

flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 2.10.5, on macOS 12.4 21F79 darwin-x64, locale it-IT)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
[✓] Xcode - develop for iOS and macOS (Xcode 13.4.1)
[✗] Chrome - develop for the web (Cannot find Chrome executable at /Applications/Google
    Chrome.app/Contents/MacOS/Google Chrome)
    ! Cannot find Chrome. Try setting CHROME_EXECUTABLE to a Chrome executable.
[✓] Android Studio (version 2021.2)
[✓] VS Code (version 1.68.1)
[✓] Connected device (1 available)
    ! Device f2c44a6d is not authorized.
      You might need to check your device for an authorization dialog.
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

Encountered error while archiving for device.
Any advice about this?
I'm using firebase_crashlytics 2.8.6 (latest version) and flutter 2.10.5 (without null-safety).

Since I tried every solution given on StackOverflow and Github (Flutter repo), here you have the solution:

Delete the "ios" folder
Run the app and create the iOS project
Inside the "ios" folder ("cd ios"), run the command "pod install"
Follow the official guide by the iOS side

This is the only solution that works.
PLEASE NOTE that the Crashlytics official documentation is not correct since it generates the error "Flutter/Flutter.h file not found"


Merging updates in master to live

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/core/TOC.md
:white_check_mark:Succeeded

biztalk/core/biztalk-server-core-documentation.md
:white_check_mark:Succeeded
View

biztalk/core/how-to-use-internet-explorer-to-test-a-published-web-service.md
:white_check_mark:Succeeded
View

biztalk/install-and-config-guides/TOC.md
:white_check_mark:Succeeded

biztalk/install-and-config-guides/install-biztalk-server-in-a-multi-computer-environment.md
:white_check_mark:Succeeded
View

biztalk/install-and-config-guides/media/bcd_BizTalkSolutionWLostArtifactsc.gif
:white_check_mark:Succeeded
View

biztalk/install-and-config-guides/media/bcd_ExistingBizTalkServerSolutionc.gif
:white_check_mark:Succeeded
View

biztalk/install-and-config-guides/set-up-and-install-prerequisites-for-biztalk-server-2016.md
:white_check_mark:Succeeded
View

biztalk/install-and-config-guides/troubleshoot-known-issues-biztalk-install-setup.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Change current temperature refresh rate to 1 min

Temperature is only sampled and displayed once every 10 minutes

increase update to once every minute like the time display
push an average of the 10 previous samples into the history

Fixed by patch


TL-26172 Added tests for buildRequests to check native only and banner/video only

Put link to ticket in summary please.


Document adding new Implementations, Versions and Specifications in the tool. fixes #20.

@Emily-Jiang Updated the "how to" documentation based on your remarks.


usb: cdc: Do not duplicate USB transfer slots for OUT transfers

This commit fixes an issue when more than one USB transfer is
reserved for same OUT endpoint.
There are 2 scenarios when this could happen:

The Host sends SET_CONFIGURATION(1) request twice.
The Host triggers Suspend->Resume->Configured
event sequence for the device.

USB tranfers are not canceled on SUSPEND event
when the device was not configred previously.
Because of that USB transfer slot is reserved twice
for the same OUT endpoint and lead to shortage of USB
transfer slots quickly.
Without this patch CDC ACM class reserves duplicated USB
transfer slots for one transfer. The sequence of
Suspend->Resume events is genereted alongside with
Configured and the stack will shortly run out of transfer
slots.
If the Host, for some reason, decides to send
SET_CONFIGURATION request twice the same issue is seen.
This patch prevents from reserving additional USB transfer
slots twice.
Fixes #26970
Fixes #26725

I can drop e77a1b8 if needed.

@stephanosio Could You please have a look as well?

#26970 explains why I can't combine the CDC ACM composite sample with a USB console and get anything useful.  The fix here seems to solve that.

@stephanosio @jfischer-phytec-iot Could You please have a look? This PR is fixing an issue.

@emob-nordic #26725 seems already closed. Is this PR description accurate?

@ioannisg Yes, #26725 is already closed but by the PR that introduced bug with duplicate transfers. I will remove it from the description if You insist.


Update viur-datastore==1.3.4 & CHANGELOG rewrite

Hi, I've rewritten the CHANGELOG for v3.3.0 to define the specific changes more precisely.
Generally, we should try to provide given commit messages, prefixed by

"Added"
"Fixed"
"Removed"
"Refactored"

in future.

Generally, we should try to provide given commit messages, prefixed by

"Added"
"Fixed"
"Removed"
"Refactored"

in future.

Please don't write commit messages in the past tense. A commit message describes what a patch changes on the codebase - It belongs together and happens at the same time. This is not a report like "someone made changes in the past and now I'm describing them".
From the git documentation:

Describe your changes in imperative mood, e.g. "make xyzzy do frotz" instead of "[This patch] makes xyzzy do frotz" or "[I] changed xyzzy to do frotz", as if you are giving orders to the codebase to change its behavior.

But in general it sounds reasonable to prefix the kind of change. This should then be stated in the CONTRIBUTING.md.

@sveneberth Jaja, but the changes in this commit is ok?

I try to orientate myself by this:
https://www.conventionalcommits.org/en/v1.0.0/

I try to orientate myself by this: https://www.conventionalcommits.org/en/v1.0.0/

Thanks. I'm no fan of the word "chore" which appears very often in the changelog then. Anyway, this is a democratic project. We should consider this for any commits that follow 3.3.0


Update interface.py

Seems like every RAV4 it's running this parameters on there RAV4 , and also OP V5.10 improved when I made this changes smoothly, thanks

I can confirm this

On Line 97:
ret.mass = 3650 * CV.LB_TO_KG + std_cargo           # original comma branch
ret.mass = 4100./2.205 + std_cargo                  # arne's (and many other RAV4 forks) branch
ret.mass = 4100./2.205 * CV.LB_TO_KG + std_cargo    # this pull request
ret.mass = 4100 * CV.LB_TO_KG + std_cargo           # I think this is the correct way to do it

link to arne's file
@arne182 correct me if I'm wrong, but I believe ./2.205 is equivalent to * CV.LB_TO_KG , and there is no need to do it twice.
@heatnation I should have been more clear on discord, sorry...


sqlx prepare does not detect DATABASE_URL

Using sqlx v0.2.0 in my bin where I have both a lib.rs and a main.rs, running cargo sqlx prepare --bin my_bin, I have the following errors at each lines invoking the query! macro:
error: `DATABASE_URL` must be set, or `cargo sqlx prepare` must have been run and sqlx-data.json must exist, to use query macros

Each query invocation is made outside of the main.rs inside a sub mod.

Have the same issue, tried with
DATABASE_URL=_value_ cargo sqlx prepare -- --lib
and
DATABASE_URL=_value_ cargo sqlx prepare -- --bin _bin_name_
only to crash with same error.
DATABASE_URL must be set, or cargo sqlx prepare must have been run and sqlx-data.json must exist, to use query macros
sqlx-cli 0.2.0
rustc 1.48.0 (7eac88abb 2020-11-16)
OS: Arch Linux 5.9.14-arch1-1
If someone needs more info, please let me know

Figured out where i had the problem, used sqlx-cli 0.2.0 in combination with sqlx 0.4.0-beta.1. Once i updated to sqlx 0.4.0
DATABASE_URL=_value_ cargo sqlx prepare -- --lib worked.

You described and solved the problem I had. Thank you! I close the issue.


Added fq parameter

Fixes issue #119.

I will add an extended gitbook documentation tomorrow.

Coverage remained the same at 100.0% when pulling 5ab2114b52aebffa15c119275641e7f3aa26e8b8 on lamora:compaction-fq-parameter into 19aa0fae0bbac0e8c1b9ac05636a7526f91ceecb on ChronixDB:master.

Coverage remained the same at 100.0% when pulling ddb5e02b23a9c4fb9714fc51a04a4699ff1c26ea on lamora:compaction-fq-parameter into 19aa0fae0bbac0e8c1b9ac05636a7526f91ceecb on ChronixDB:master.


Expected "Content-Type" header to be one of {'application/json'}.

Summary
Accepting friend requests is broken.
Reproduction Steps

Add this into the example discord.py-self bot.

@bot.event
async def on_relationship_add(after):
    if (after.type==discord.RelationshipType.incoming_request):
        await after.accept();

Send a friend request to the user.

Code
import discord
bot = discord.Client()

@bot.event
async def on_relationship_add(after):
    if (after.type==discord.RelationshipType.incoming_request):
        await after.accept();

bot.run('token')

Expected Results
The friend request is accepted.
Actual Results
This error occurs and the request is not accepted.
[2023-12-04 03:20:51] [ERROR   ] discord.client: Ignoring exception in on_relationship_add
Traceback (most recent call last):
  File "C:\Users\####\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\client.py", line 507, in _run_event
    await coro(*args, **kwargs)
  File "E:\bot.py", line 27, in on_relationship_add
    await after.accept();
  File "C:\Users\####\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\relationship.py", line 298, in accept
    await self._state.http.add_relationship(self.user.id, action=RelationshipAction.accept_request)
  File "C:\Users\####\AppData\Local\Programs\Python\Python310\lib\site-packages\discord\http.py", line 838, in request
    raise HTTPException(response, data)
discord.errors.HTTPException: 400 Bad Request (error code: 50035): Invalid Form Body
In miscallenous: Expected "Content-Type" header to be one of {'application/json'}.

System Information

Python v3.10.0-final
discord.py-self v2.0.0-final
aiohttp v3.9.0
system info: Windows 10 10.0.19045

Checklist

[X] I have searched the open issues for duplicates.
[X] I have shared the entire traceback.
[X] I am using a user token (and it isn't visible in the code).

Additional Information
No response

Duplicate of Friendship Requests cannot be accepted #518

This is indeed a duplicate, and is fixed in the alpha.


Allow nested routes without parent component

What problem does this feature solve?
This issue already exist, but was closed: https://github.com/vuejs/vue-router/issues/2105 I do believe it shouldn't have been.
The PassThrough solution will most likely do it, but it is a workaround. I do not want to specify every view as a pass through.
This should imo. be supported by vue-router directly, making it easier to design ones system as small sub components, allowing each component to know it's own navigation and be loosely coupled.
Also, I don't know if it's the same or another issue, but name hierarchies would make this feature quite powerful
What does the proposed API look like?
Interface wise I would say it makes sense to simply default to this behavior if component isn't specified.

Not an expert here but maybe this utility function is what you are looking for ?

Its a bit pointless to have to have this file:
<template>
  <router-view></router-view>
</template>

<script lang="ts">
import { Vue, Component } from 'vue-property-decorator';

@Component
export default class ParentPage extends Vue {}
</script>

<style lang="scss" scoped>
</style>

You sure this one needs an RFC, @posva ?
It seems many people are hitting this issue, considering https://github.com/vuejs/vue-router/issues/2105 is the top result when searching for "vue nested routes without main component".
Linking my comment from the original issue: https://github.com/vuejs/vue-router/issues/2105#issuecomment-731629427

Do you mean this: https://reach.tech/router/example/embedded-routers
I think this is really an important feature that vue-router should have.

this is really a feature i am missing in vue router, it looks like, any progress on this or place to reopen this?

God this feature will my code more readable and maintainable.
I agree with @ghost on the design:

Interface wise I would say it makes sense to simply default to this behavior if component isn't specified.


Discuss: Why don't we add the github Actions for release notes and changelogs integration?

One of the reasons I didn't add CI to the template was because of how requirement specific a CI implementation is. From choosing the CI tool to outlining what each phase of will do and how. I personally felt it was better to leave it to the developer to implement.


How can I just run one test with mocha?

I have many unit test files and in each one there are plenty of tests.
It takes long to run all of them. But sometimes I only want to see the result of one or several tests.
How can I do?
To add an 'x' before each describe will work. But I will add plenty of 'x', I feel that troublesome. Is there any more simple way to do this?

Using grep will be a good solution here.
Thanks @xidui

@xidui @a8m To run single case or suite, you can use only feature.

Sure,
only will be a good solution if you want to run a single case or suite.
but he asked for:

see the result of one or several tests


training issue

Sorry for disturbing~
I wish to know how can I train on VOC 2007+2012 dataset?
Thx for your reply!

./experiments/scripts/train_faster_rcnn.sh 0 pascal_voc_0712 res101


Fixed random mode

Hah great thanks, I'll just need to check it out again when I can then. :)

Hmm Unfortunately it works, a bit. It randoms music, then you play pause and sometimes it will do whats its supposed to, sometimes it will play the same one again (have you thought of excluding the one being played atm from the random pool?) and sometimes it just won't play anything. Maybe pointing to an invalid path or invalid pointer?

You need to remove 'new-leaf-live' from the list of options that random mode pulls from. It's trying to pull music from the 'new-leaf-live' folder, when no such folder exists.

I fixed the bug, as well as another bug I found in my pull request - #17

Ye, i saw that (other) bug yesterday, but i had no time at all to fix it D:


fix(aws_sdk.js): update metadata fields

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Bids-validator plugin

Proposed changes
A second attempt at implementing bids validation (see #222). This time, implementing as a snakebids plugin (resuing some of the code from the previous attempt). The plugin tries to perform validation using the bids-validator unless skipped by the user (--skip_bids_validation). If the validation fails, an InvalidBidsError is thrown, otherwise validation is performed by default using pybids with a warning informing the user.
As noted in #222:

Drawing some inspiration from fmriprep, a temporary config file is generated for the system call in (_validate_bids_dir) which includes files to ignore during this validation. Was also wondering if we want to limit the validation to the subject data themselves rather than a full dataset (e.g. ignore participants.tsv, dataset_description.json)?

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you are unsure about any of the choices, don't hesitate to ask!

[x] Changes have been tested to ensure that fix is effective or that a feature works.
[x] Changes pass the unit tests
[x] I have included necessary documentation or comments (as necessary)
[x] Any dependent changes have been merged and published

Notes
All PRs will undergo the unit testing before being reviewed. You may be requested to explain or make additional changes before the PR is accepted.

Looks like making a new push fixed that workflow failure.

@kaitj, are you still working on this one, or am I good to take another look?

@kaitj, are you still working on this one, or am I good to take another look?

Should be good for another look.


Is it possible to integrate SQRL with FIDO protocol and hardware keys?

Hi all!
1. feature-name
Is it possible to integrate SQRL with FIDO protocol and hardware keys?
2. feature-description
2.1 context

One of the things I miss is the integration with hardware keys and the FIDO protocol within SQRL
There was a technical discussion on Bitwarden about integrating SQRL - however this was not implemented for practical security/user privacy reasons
One of the problems presented was the one I mentioned above: 'I miss is the integration with hardware keys and the FIDO protocol within SQRL' - How can we check if a device is correctly assessing a qrcode? what if that qrcode is not a phishing?
From what I researched, this library is the most complete and implements SQRL - I don't work in any software development/company in terms of backend/devops etc - I only work as a freelance frontend developer - Although I read a lot about cybersecurity in web applications. Is it possible to integrate SQRL with FIDO protocol and hardware keys?

2.2 why
Further enhances the security of the SQRL protocol
3. references

https://community.bitwarden.com/t/steve-gibson-from-grc-and-sqrl/26638
https://community.bitwarden.com/t/sqrl-identity/273
https://community.bitwarden.com/t/sign-in-using-qr-code-without-master-password/15727
https://community.bitwarden.com/t/temporary-master-password/9725
https://fidoalliance.org/how-fido-works/
https://doubleoctopus.com/security-wiki/protocol/fast-identity-online/
https://fidoalliance.org/
https://www.grc.com/sqrl/sqrl_explained.pdf
https://www.grc.com/sqrl/sqrl_cryptography.pdf
https://www.grc.com/sqrl/sqrl_on_the_wire.pdf
https://www.grc.com/sqrl/sqrl_operating_details.pdf
https://www.grc.com/sqrl/SQRL_Explained.pdf

This is a complex topic.
The first thing we have to make clear is: what exactly are you asking?

To store the SQRL secret on a hardware device (for use on websites that support SQRL)
To use a hardware device + FIDO as a second factor (for use on websites that support SQRL)
To use SQRL's identity for synthesizing FIDO2 identities (for use on websites that support FIDO2)

@Jaaap Hi! How are you?

So... In the technical discussions about sqrl integration in Bitwarden, the central technical discussion was this: '2. To use a hardware device + FIDO as a second factor (for use on websites that support SQRL)'. About this issue I open here I'm arguing about: '2. To use a hardware device + FIDO as a second factor (for use on websites that support SQRL)' too.  Although, some Bitwarden people have thought of this idea: '1. To store the SQRL secret on a hardware device (for use on websites that support SQRL)' too.
But... So... I didn't think about it: '3. To use SQRL's identity for synthesizing FIDO2 identities (for use on websites that support FIDO2)' or '1. To store the SQRL secret on a hardware device (for use on websites that support SQRL)'.

Hi all!


📝 Add External Link: ML serving and monitoring with FastAPI and Evidently

In this code tutorial, you will learn how to set up an ML monitoring system for models deployed with FastAPI.
Evidently is an open-source Python library to track production model quality and target drift.

📝 Docs preview for commit 8e07544fa288e4186b93311c5f3fa533c41de9b8 at: https://6490668a781df871d825f238--fastapi.netlify.app

Thank you for your contribution! @mnrozhkov 🤓


UBI and alpha_I parameter updates

This PR does the following:

Updates the range for the nominal UBI parameters. These were not well defined for using nominal values in different currencies.  Also, negative values may be useful if one wanted to simulate a head tax.
Adds a description of the $\alpha_I$ parameter
Updates parameters.py to extrapolate the alpha_I parameter
Ensures that alpha_I dimensions conform in time path calculations of I_g

Codecov Report
Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 69.98%. Comparing base (32f2593) to head (851c361).
Report is 3 commits behind head on master.

Files
Patch %
Lines

ogcore/TPI.py
0.00%
2 Missing :warning:

Additional details and impacted files

@@            Coverage Diff             @@
##           master     #966      +/-   ##
==========================================
- Coverage   71.08%   69.98%   -1.11%
==========================================
  Files          20       20
  Lines        4977     4977
==========================================
- Hits         3538     3483      -55
- Misses       1439     1494      +55

Flag
Coverage Δ

unittests
69.98% <0.00%> (-1.11%)
:arrow_down:

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

Files
Coverage Δ

ogcore/parameters.py
82.91% <ø> (ø)

ogcore/TPI.py
35.82% <0.00%> (ø)

... and 4 files with indirect coverage changes

@rickecon This PR is ready to review.

@jdebacker. You will want to update this branch with the main branch as the current version is 0.11.16. So you should update this version to 0.11.17.

@jdebacker. This is ready to merge as soon as you update the versions (and update your branch with the main).

@rickecon Thanks for noting the more recent version.  I synced to master and bumped the version numbers.  Let me know if this looks good to you.  If so, it's ready to merge.

@jdebacker. There are still some issues with the version number in CHANGELOG.md, setup.py, and __init__.py. Give me a call today if you want to talk through those.

@rickecon I think I missed committing some changes before.  I've now done that and fixed a couple typos.  Let me know if we need anything else here.

@jdebacker. Looks great. Merging now.


Gnome not working

Debian bookworm and jammy.
this is the output after starting gnome
`(bookworm)propio@localhost:~$ startgnome
_XSERVTransmkdir: ERROR: euid != 0,directory /tmp/.X11-unix will not be created.
X.Org X Server <IP_ADDRESS>
X Protocol Version 11, Revision 0
Current Operating System: Linux localhost 5.4.268-22183-gc578adf51ac0 #1 SMP PREEMPT Fri, 23 Feb 2024 16:55:39 +0000 x86_64
Kernel command line: cros_secure console= loglevel=7 init=/sbin/init cros_secure drm.trace=0x106 root=/dev/dm-0 rootwait ro dm_verity.error_behavior=3 dm_verity.max_bios=-1 dm_verity.dev_wait=1 dm="1 vroot none ro 1,0 6144000 verity payload=PARTUUID=82308e57-d6bb-7a42-bbae-12a2777b95e0/PARTNROFF=1 hashtree=PARTUUID=82308e57-d6bb-7a42-bbae-12a2777b95e0/PARTNROFF=1 hashstart=6144000 alg=sha256 root_hexdigest=5cc444740e5970972c18b38a7d3d05c148b1e434a4cc3f37b896ad529d547e85 salt=a95bcfc20f2a947a3b893fb07b7cfdd26cb7f598fb0904f6c0aaaabc7ee996a1" noinitrd vt.global_cursor_default=0 kern_guid=82308e57-d6bb-7a42-bbae-12a2777b95e0 cros_lsb_release_hash=Eim3MCRJwwQIImcWjYo6Q5beHfdLhW3EiKoIcb70Q6I= add_efi_memmap noresume i915.modeset=1 kvm.tdp_mmu=0 ramoops.ecc=1 tpm_tis.force=0 intel_pmc_core.warn_on_s0ix_failures=1 i915.enable_guc=2 xdomain=0 intel_iommu=on i915.enable_psr=1
xorg-server 2:21.1.7-3+deb12u5 (https://www.debian.org/support)
Current version of pixman: 0.42.2
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: "/tmp/Xorg.crouton.1.log", Time: Sun Apr 28 10:15:33 2024
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) AddScreen/ScreenInit failed for driver 0
(EE)
(EE)
Please consult the The X.Org Foundation support
at http://wiki.x.org
for help.
(EE) Please also check the log file at "/tmp/Xorg.crouton.1.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error`
Please describe your issue:
and I get no screen of gnome desktop
If known, describe the steps to reproduce the issue:
startgnome
###Edit:
basically the same as #4928

and a side request is if SDDM/GDM/lightDM possible?

im going to check xfce but if someone finds a fix pls tell me

it is discontinued there are other ways to emulate a another os natively


[Feature]: Add support for Flink 1.18

Description
Recently Flink 1.18 was released.
https://nightlies.apache.org/flink/flink-docs-release-1.18/release-notes/flink-1.18/
Use case/motivation
No response
Describe the solution
No response
Subtasks
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

I suggest that it be related to the new feature support development tasks in 1.18. By the way, do we need to remove support for 1.15 in the next version, or should we wait until the 1.18 function is stable to remove flink 1.15 support?
cc @YesOrNo828


update quick links

#419
updated quick links
https://github.com/Its-Aman-Yadav/Community-Site/assets/109607812/362f5220-cd80-4e7e-ae19-0969d0aa8539

the navbar has an error I don't know why
it's running correctly locally but not in github pages.

Thank you @Hemav009


Element.isPresent() script timeout

Hi!
I have an issue using protractor with jasmine, and I wonder if there is an issue with the framework, or if my limited knowledge of the framework plays against me. I found a fairly recent StackOverflow question with four upvotes but no answer so far, which leads me to think that something may be going wrong with the latest version of protractor.
Here is my test:
import {
	browser,
	ExpectedConditions,
	$
} from 'protractor';

describe('When user click \"Test\" button', async () => {
  beforeAll(async () => {
    await browser.get('http://local.myawesomewebsite.com:4200');
    expect(await browser.getCurrentUrl())
		.toContain('myawesomewebsite');
		browser.waitForAngularEnabled(true);
  });

  it ("should navigate to next page", async () => {
		var testButton = $(".wrapper button");
		browser.wait(
			ExpectedConditions.presenceOf(testButton),
			5000,
			'Element taking too long to appear in the DOM'
		);
		expect(await testButton.isPresent())
		.toBe(true);
		await testButton.click();
  });

	describe("When user click button to open modal", async () => {
		beforeAll(() => {
			expect(browser.getCurrentUrl())
			.toContain('next/page');
		});

		it("should make modal appear", async () => {
			var popModalButton 	= await $(".wrapper button");
			var overlay			= await $('.overlay.active');

			browser.wait(
				ExpectedConditions.presenceOf(popModalButton),
				5000,
				'Element taking too long to appear in the DOM'
			);

			expect(await popModalButton.isPresent())
			.toBe(true);
			await popModalButton.click();
		});

		describe("When user clicks modal button", async () => {
			it("should proceed to final page", async () => {
				var proceedToFinalPageButton = await $(".cta.modal-not-empty button.continue-to-final-page");

				await browser.wait(
					ExpectedConditions.presenceOf(proceedToFinalPageButton),
					5000,
					'Element taking too long to appear in the DOM'
				);
				expect(await proceedToFinalPageButton.isPresent())
				.toBe(true);
			});
		});
	});
});

It all works great until the test reach the last attempt to detect if the modal popped out:
await browser.wait(
    ExpectedConditions.presenceOf(proceedToFinalPageButton),
    5000,
    'Element taking too long to appear in the DOM'
);
expect(await proceedToFinalPageButton.isPresent())
.toBe(true);

This isPresent() doesn't return true or false, instead nothing happens and protractor stops and outputs the following error:
Failed: script timeout: result was not received in 11 seconds
Any idea what could be going wrong?
Thanks!

I experience more or less the same, I think it's related to browser.waitForAngularEnabled

I need to login on a separate angular 7 app
once I logged in there I want to test the "main app" that's also using angular 7

If I globally to browser.waitForAngularEnabled(false) I can test both apps, but then I always "manually" need to wait until angular was fully loaded.
So I tried to browser.waitForAngularEnabled(false) while I login in App #1 and browser.waitForAngularEnabled(true) after I logged in, then I want to redirect to the main app and do my testing. The result is the issue from the OP.
Looks like toggling browser.waitForAngularEnabled does not really work.

@StAn187 interesting, I solved another error I had by adding waitForAngularEnabled:false to my protractor config file to be able to use async/await (as an attempt to fix the issue above), but then I had to add browser.waitForAngularEnabled(true) in my test to be able to detect the first elements of my tests.
Unfortunately this did not resolve the issue described above.
I see that you're mentioning Angular 7 specifically, did you try to downgrade Angular to make this work?

@glemiere, no I haven't downgraded. It's a huge customer project. I cannot downgrade because protractor cannot handle tests that involve two separate Angular 7 apps :-D

This just started happening to me. It's very inconsistent. Sometimes it works for a decent amount of time and then sometimes it just keeps failing over and over. Are there any plans to fix this?

I had to switch to Cypress as I didn’t find a solution. However you will only be able to test on Chrome, but Cypress is really cool!
You can see how to use it with Angular one my StackOverflow answer: https://stackoverflow.com/a/54777134/2196157

i have the same problem
my code snippets
    async dismissVerificationIfExist() {
        let isElementShowInPage;
        try {
            console.log('is element displayed');
            await this.verifyLaterButton.isPresent();

            isElementShowInPage = true;
        } catch (err) {
            console.log(err);
            isElementShowInPage = false;
        }

        console.log('verification pop shown value is ', isElementShowInPage);
        if (isElementShowInPage) {
            await this.verifyLaterButton.click();
        }
    }

the error
ScriptTimeoutError: script timeout
  (Session info: chrome=78.0.3904.70)
Build info: version: '3.141.59', revision: 'e82be7d358', time: '2018-11-14T08:25:53'
System info: host: 'sngv', ip: '<IP_ADDRESS>', os.name: 'Linux', os.arch: 'amd64', os.version: '5.0.0-32-generic', java.version: '11.0.4'
Driver info: driver.version: unknown
    at Object.checkLegacyResponse (/home/sngv/work/mdp-testing/node_modules/selenium-webdriver/lib/error.js:546:15)
    at parseHttpResponse (/home/sngv/work/mdp-testing/node_modules/selenium-webdriver/lib/http.js:509:13)
    at /home/sngv/work/mdp-testing/node_modules/selenium-webdriver/lib/http.js:441:30
    at processTicksAndRejections (internal/process/task_queues.js:93:5)
From: Task: Protractor.waitForAngular() - Locator: By(css selector, *[id="recipientVerificationLaterId"])
    at thenableWebDriverProxy.schedule (/home/sngv/work/mdp-testing/node_modules/selenium-webdriver/lib/webdriver.js:807:17)
    at ProtractorBrowser.executeAsyncScript_ (/home/sngv/work/mdp-testing/node_modules/protractor/built/browser.js:425:28)
    at /home/sngv/work/mdp-testing/node_modules/protractor/built/browser.js:456:33
    at ManagedPromise.invokeCallback_ (/home/sngv/work/mdp-testing/node_modules/selenium-webdriver/lib/promise.js:1376:14)
    at TaskQueue.execute_ (/home/sngv/work/mdp-testing/node_modules/selenium-webdriver/lib/promise.js:3084:14)
    at TaskQueue.executeNext_ (/home/sngv/work/mdp-testing/node_modules/selenium-webdriver/lib/promise.js:3067:27)
    at /home/sngv/work/mdp-testing/node_modules/selenium-webdriver/lib/promise.js:2927:27
    at /home/sngv/work/mdp-testing/node_modules/selenium-webdriver/lib/promise.js:668:7
    at processTicksAndRejections (internal/process/task_queues.js:93:5) {
  name: 'ScriptTimeoutError',
  remoteStacktrace: ''
}

Same problems here.

Same problems here

Had this issue as well and had thought this was really a protractor bug.
In the meantime I figured out that not only isPresent() is causing timeouts but also other async protractor tasks such as getAttribute etc.
In my case this was caused by a long-running background task in the app I'm testing against: this task keeps the "Angular Zone" at work forever, which makes protractor wait forever, thus the timeout.
Btw: that background async task updates a cookie every few seconds too keep track of "when to show a cookie warning layer again".
After setting browser.waitForAngularEnabled(false) at the beginning of my tests, the issue didn't come up again BUT it required a lot of additional handling with sleeps and waits in order for my tests to run smoothly...
This MIGHT be the reason for your issues as well.
Where I got the idea of the long-running background task from: https://jarifibrahim.github.io/blog/protractor-and-page-synchronization/


isolcpus and taskset for multithreaded executor

README.md suggests using isolcpus=2,3 and gives an example of how to run a single-threaded executor on CPU2 by taskset -c 2.
But there is a problem when someone wants to test a multi-threaded executor. isolcpus basically disables load balancing, so a process can use only one CPU even if ran with taskset -c 2,3. For a process to use multiple isolated CPUs, RT priority class (e.g., SCHED_FIFO) is needed since the Linux RT scheduler performs like a global work-conserving scheduler for all assigned CPUs. In short, we need something like:
taskset -c 2,3 chrt -f 90 <path_to_multithreaded_executor>

I guess colcon test scripts need to be updated so that, when TEST_PLATFORM is enabled, it runs executors with taskset and chrt.

@hyos do you want to provide a PR for it?

@razr I am not sure exactly which part of the script needs to be modified. Can someone help?


[Github, New+] Add label and update issue template

Description of the new feature / enhancement
See title.
Scenario when this would be used?
./.
Supporting information
No response

cc: @crutkas, @ethanfangg


Invoice field "confirmations" is confusing

It's actually an input for the required number of confirmations.
But core already has a field named "confirmations" that tells you how many confirmations a block or transaction has.
So it's going to confuse a lot of people.

see #93 I renamed the input to required_confirmations ?

fixed :)


the [mdl-layout__drawer-button] icon not aligning correctly

this is run in CODE PEN
and this is run in RUNJS
and the last one is run in Chrome 45.0.2454.99 (64-bit)

it's seem like about line-height
sorry about my poor english skill

Thanks for your bug report. What OS are you experiencing this on? On Mac / Chrome 45 + 46 I'm seeing this:

ye on Mac 10.10.5 / Chrome 45.0.2454.99 (64-bit)

@sgomes or @surma can you try reproducing on your machines?

I'm having trouble with the links in the original issue, @addyosmani. How did you get to the preview?

I used the second link. The first Codepen is busted :)

The exact same code causes no issues in codepen. I'm currently investigating why, but I'd say the problem is something to do with runjs.cn

RunJS looks completely busted for me:

I see the same issues across all browsers in RunJS. I'm closing the bug because it seems apparent it's an issue with the site.

guys it's my fault, i apologize for the LINK about CodePen, in fact CodePen are working fine, but not work well on my own project and RUNJS. The other platform i didn't test.

CodePen here again
And actually the problem with @sgomes & @surma on RunJS.cn maybe because of the GFW ( china great fire wall ) , it may let some resources can't loading . Thus your can't see the right page preview, except layout problem like my picture. ( i guess... )
Last the problem of my commented. the code was i write or copy form MDL all of them have same problem likes my picture.

thanks all of you in any way

closed .... but ..... but ... the picture are cut of form Chrome.
sadly face ( TAT )

I had same trouble on Mac Chrome 46. I had done 2 steps and found it.

copy the source from reference
open it on Chrome.
It seems that the line-height of "mdl-layout__drawer-button"(50px) doesn't affect for calculating vertical-align of "material-icons".
I found work around that adding style in linked css as follows.

.mdl-layout__drawer-button:before {
    content: '';
}

sorry about my poor english skill too!

YES, i run my local project and in RUNJS both have same problem, but sgomes think it's RUNJS's is borken not MDL's problem, So he close this issues. i suggested that, build a new issue and link it to this issue. the present situation we were subject to,i completely think it is a bug.
是的呀，我本地测试和在runjs 上测试都是错了的，但sgomes 单单看了我runjs 上的例子就认为是 runjs 的问题... 所以呐，我建议你再开一个 issue 附带我这个链接，证明我们俩遇到了同样地问题。

This was an issue for me and @mwatanabe's workaround solved it for me.

I have this problem here today. So I decided to revive the topic.

It's funny because it happens to the customizer.

Ubuntu 14.04 / Chrome 49.0.2623.75 (64-bit)

Fixed in 1.2.1

I was experiencing exactly the same issue as the OP. Turns out I was missing <!doctype html>.

<!doctype html> fixed my issue too.
CSS is the devil...


Fix #92 : Allow whitespace empty in empty single line header

Fix #92

Unfortunately this isn't the totally correct fix as far as I can tell. It will work in some cases, but only if there are no more than 1 empty lines. We're seeing examples of headers that contain upwards of 5-10 empty lines.
Admittedly, that kind of email is clearly in the wrong in terms of the spec (though it seems a bit of a grey area in places) but there are libraries out there which seem to be able to parse such emails correctly without falling over on an arbitrary limit of empty lines.

@chrisdeeming that probably an edge case that should not be handled ^^

Thanks, @samsonasik.


Reporting coverage on task start up

Summary of the Pull Request
What is this about?
PR Checklist

[ ] Applies to work item: #xxx
[ ] CLA signed. If not, go over here and sign the CLI.
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
What does this include?
Validation Steps Performed
How does someone test & validate?

Codecov Report

Merging #3502 (eb24901) into main (830b479) will decrease coverage by 8.39%.
Report is 2 commits behind head on main.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3502      +/-   ##
==========================================
- Coverage   39.34%   30.95%   -8.39%
==========================================
  Files         299      135     -164
  Lines       36270    14606   -21664
==========================================
- Hits        14269     4521    -9748
+ Misses      22001    10085   -11916

see 167 files with indirect coverage changes


Implement pex3 lock sync.

Introduce the high level pex3 lock sync command. This should generally
suffice for typical use cases and works as follows:

On first use (where the specified --lock does not yet exist), it
acts just like pex3 lock create.
On subsequent uses it does a minimal synchronization of the lock based
on the diff of the given current requirements against the requirements
used to generate the specified --lock. This amounts to formulating a
pex3 lock update command with the appropriate -p, -R and -d
arguments.

In addition to creating and syncing a lock, it can also create and sync
a venv (--venv) based on the lock. Further, a command can be specified
to run in the synchronized venv with arguments following the -- option
terminator.
This latter set of features allow Pex to act as a concise tool in tox /
nox / invoke / make setups to implement a simple build system.
Fixes #2344

Another pretty huge one. Thanks in advance for any scrutiny you can provide.
I did not convert Pex's tox setup to use itself as the venv provisioner in this PR to keep the already large diff size down. There will be a follow up for that though as well as similar use in a-scie/lift (science) where Pex is already heavily used, but in a cumbersome way, to drive the underlying nox venvs.

@cburroughs I sent you an invite. I'd like to have you review especially with an eye towards making sure you have everything you need for your Pants work with this change.

Thank you!  I'll take a long look this week.

N.B.: I've noticed a few things and will be pushing a few individually reviewable commits here at the tail. None of these change the nature of the large 1st commit; so any review effort there is not wasted.

Ok, with 120fe0d I think this is complete and I'll stay hands off until there is time to review.

Nice! I'll take a close look over the next couple of days.

I've piece-meal responded. I'll have full time to respond to all comments on 2/26 / 2/27.
Some of the questions, though are answered by tests in this PR if you get impatient.

I've piece-meal responded. I'll have full time to respond to all comments on 2/26 / 2/27.

@huonw I've fully responded as far as I can tell saving for the case of what to do with --dry-run when there is no lock file yet (the create case). I still have no good idea there besides the current inconsistency. Certainly printing out the contents of the lock that would be written, in JSON form or the sentency form that update --dry-run uses, seems not useful. Perhaps just outputting something like a pip freeze?:
Would lock 37 projects:
  ansicolors 1.1.8
  cowsay 5.0
  foo 1
  bar 1
  ...
  spam 1

Ok, all of @huonw's feedback is addressed AFAICT; so ready for round 2 of feedback.

Tests are bloody, but it appears to be a GitHub outage with action repos timing out during clone and ghcr.io also timing out when downloading Docker images.

Sorry for the delay, got back from a ski trip yesterday, so doing a deep dive on this now.

Thank you!  This is great and I've been kicking the tires so to speak and try it out with our internal lockfile.  A few in progress comments so far.
Conflicting output
While syncing an internal lock file I've gotten this apparently conflicting message:
Updates for lock generated by universal:
  There were no updates for mypy

But I've been unable to figure out a smaller reproduction case so far.
Extras/Constraints
A bug where a requirement with extras resulted in an invalid tmp constraints file for the sync.
$ cat tmp/dhub.txt
ansicolors==1.1.5
acryl-datahub[datahub-rest,feast,postgres,snowflake]==<IP_ADDRESS>
altair>=4.2.0,<5.2
$ cat tmp/dhub-c.txt
awscli >= 1.30.0
boto3 >= 1.33.0
botocore >= 1.33.0
cachetools >= 5.3.0
click >= 8.1.0
coverage >= 7.3.0
dash >= 2.10.0
dash_bootstrap_components >= 1.4.0
flake8-pep585 >= 0.1.0
freezegun >= 1.3.0
graphene >= 3.0
holidays >= 0.30
ipython >= 8.0.0
kubernetes >= 28.0.0
loguru >= 0.6.0
matplotlib >= 3.7.0
pytest-mock >= 3.9.0
pytest-xdist >= 3.0.0
pytz >= 2023.3
requests >= 2.20.0
ruamel.yaml >= 0.17.0
s3fs >= 2023.1.0
setuptools >= 69.0.0
shap >= 0.40.0
xarray >= 2023.10.1
$ python3.10 -m pex.cli lock create '--indent=2'  --manylinux manylinux2014 --interpreter-constraint $'CPython==3.10.*' --style=universal --pip-version=23.3.2 --resolver-version pip-2020-resolver --target-system=linux --target-system=mac --prefer-binary  -r tmp/dhub.txt --constraints tmp/dhub-c.txt   -o tmp/dub.json
$ python3.10 -m pex.cli lock sync '--indent=2'  --manylinux manylinux2014 --interpreter-constraint $'CPython==3.10.*' --style=universal --pip-version=23.3.2 --resolver-version pip-2020-resolver --target-system=linux --target-system=mac --prefer-binary  -r tmp/dhub.txt --constraints tmp/dhub-c.txt  --lock tmp/dub.json
Encountered 1 error updating tmp/dub.json:
1.) cp310-cp310-manylinux_2_37_x86_64: /tmp/lock_update.32vgd7eh.constraints.txt line 1:
acryl-datahub[datahub-rest,feast,postgres,snowflake]==<IP_ADDRESS>

Constraint files do not support VCS, URL or local project requirementsand they do not support requirements with extras. Search for 'We are also changing our support for Constraints Files' here: https://pip.pypa.io/en/stable/user_guide/#changes-to-the-pip-dependency-resolver-in-20-3-2020.

Interpreter Constraints and friends
I see 120fe0d23552863b34750866db7cc79376d0fffb but I'm not sure how these lock options are intended to be "sync-able" changes.  That is which can switch to "new" values while trying to hold the versions constant, or only only values that are subsets of the original range.
Naive example trying to "upgrade" Python versions with --interpreter-constraints.  (I'm not sure this should be a supported operation by lock sync, just that I don't know how someone looking at --help would know.)   In contrast, --pip-version can be changed on a new sync.
$ cat tmp/a-req.txt
ansicolors==1.1.5
requests
watchfiles
$ python3.10 -m pex.cli lock create '--indent=2'  --manylinux manylinux2014 --interpreter-constraint $'CPython==3.10.*' --style=universal --pip-version=23.3.2 --resolver-version pip-2020-resolver --target-system=linux --target-system=mac --no-build --wheel -r  tmp/a-req.txt -o tmp/a.json
$ cat tmp/a-req.txt
ansicolors==1.1.8
requests
watchfiles
$ python3.10 -m pex.cli lock sync '--indent=2'  --manylinux manylinux2014 --interpreter-constraint $'CPython==3.11.*' --style=universal --pip-version=23.3.2 --resolver-version pip-2020-resolver --target-system=linux --target-system=mac -r   tmp/a-req.txt --lock tmp/a.json
Failed to resolve compatible artifacts from lock tmp/a.json for 1 target:
1. /usr/bin/python3.11:
    Failed to resolve all requirements for cp311-cp311-manylinux_2_37_x86_64 interpreter at /usr/bin/python3.11 from tmp/a.json:

Configured with:
    build: False
    use_wheel: True

Dependency on watchfiles not satisfied, 1 incompatible candidate found:
1.) watchfiles 0.21 (via: watchfiles) does not have any compatible artifacts:
    https://files.pythonhosted.org/packages/70/76/8d124e14cf51af4d6bba926c7473f253c6efd1539ba62577f079a2d71537/watchfiles-0.21.0-pp310-pypy310_pp73-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
    https://files.pythonhosted.org/packages/14/d0/662800e778ca20e7664dd5df57751aa79ef18b6abb92224b03c8c2e852a6/watchfiles-0.21.0-cp310-cp310-manylinux_2_17_s390x.manylinux2014_s390x.whl
    https://files.pythonhosted.org/packages/18/c4/ad5ad16cad900a29aaa792e0ed121ff70d76f74062b051661090d88c6dfd/watchfiles-0.21.0-cp310-cp310-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
    https://files.pythonhosted.org/packages/37/17/4825999346f15d650f4c69093efa64fb040fbff4f706a20e8c4745f64070/watchfiles-0.21.0-pp310-pypy310_pp73-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
    https://files.pythonhosted.org/packages/41/0e/3333b986b1889bb71f0e44b3fac0591824a679619b8b8ddd70ff8858edc4/watchfiles-0.21.0-cp310-cp310-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
    https://files.pythonhosted.org/packages/4e/d2/769254ff04ba88ceb179a6e892606ac4da17338eb010e85ca7a9c3339234/watchfiles-0.21.0-cp310-cp310-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
    https://files.pythonhosted.org/packages/5b/79/ecd0dfb04443a1900cd3952d7ea6493bf655c2db9a0d3736a5d98a15da39/watchfiles-0.21.0-cp310-cp310-manylinux_2_12_i686.manylinux2010_i686.whl
    https://files.pythonhosted.org/packages/62/66/7463ceb43eabc6deaa795c7969ff4d4fd938de54e655035483dfd1e97c84/watchfiles-0.21.0-pp310-pypy310_pp73-macosx_10_7_x86_64.whl
    https://files.pythonhosted.org/packages/6e/85/ea2a035b7d86bf0a29ee1c32bc2df8ad4da77e6602806e679d9735ff28cb/watchfiles-0.21.0-cp310-cp310-macosx_10_7_x86_64.whl
    https://files.pythonhosted.org/packages/92/ff/75cc1b30c5abcad13a2a72e75625ec619c7a393028a111d7d24dba578d5e/watchfiles-0.21.0-cp310-cp310-musllinux_1_1_aarch64.whl
    https://files.pythonhosted.org/packages/9a/65/12cbeb363bf220482a559c48107edfd87f09248f55e1ac315a36c2098a0f/watchfiles-0.21.0-cp310-cp310-musllinux_1_1_x86_64.whl
    https://files.pythonhosted.org/packages/b5/e5/240e5eb3ff0ee3da3b028ac5be2019c407bdd0f3fdb02bd75fdf3bd10aff/watchfiles-0.21.0-cp310-cp310-macosx_11_0_arm64.whl
    https://files.pythonhosted.org/packages/f7/4b/b90dcdc3bbaf3bb2db733e1beea2d01566b601c15fcf8e71dfcc8686c097/watchfiles-0.21.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
    https://files.pythonhosted.org/packages/fe/a3/42686af3a089f34aba35c39abac852869661938dae7025c1a0580dfe0fbf/watchfiles-0.21.0-pp310-pypy310_pp73-macosx_11_0_arm64.whl

@cburroughs for Extras/Constraints you did not provide the contents of --constraints tmp/dhub-c.txt. Can you please provide everything needed to repro?

Ok, I am going to proceed without support for lockfiles with multiple locked resolves, that case did prove too much to get working in a way I'm satisfied with yesterday.

@cburroughs this is good to go afaict.

[ ] "Conflicting output": It would be good to improve this, but it seems pretty harmless. Without a repro case I'd like to push forward.
[ ] "Extras/Constraints": I did no fix here, but I also don't repro and the code that generates the tmp constraints file in the Pex lock update code derives the constraints from Pin objects and not any original requirements; so it seems impossible for that file to contain markers or extras.
[x] "Interpreter Constraints and friends"

Ok, I looked more deeply at "Extras/Constraints" and although I cannot repro using that case, I do see a bug in the code by inspection. I'll add a failing test and fix.

Alright @cburroughs this should be truly good to hammer now. The only outstanding known issue is the cosmetic "updates: no updates" message.

Alright @cburroughs this should be truly good to hammer now. The only outstanding known issue is the cosmetic "updates: no updates" message.

Thanks!  Have been swamped but will try to get my hammer out tomorrow.

Conflicting output

Still haven't figured out what triggers this

Extras/Constraints

:+1:
Sorry for my slowness.  My pattern here has been to hammer on a large internal lockfile, find something that errors out, and then tease out if that's a real thing that happens in public.     I think I've found a case where if the transitive dependencies are strict (==)  it interferes with the generated constraints.  That is in this example I think the user intent is reasonably clear ("change the version of this single package") but the sync has a conflict:
$ python3.10 -m pex.cli lock create '--indent=2'  --manylinux manylinux2014 --interpreter-constraint $'CPython==3.10.*' --style=universal --pip-version=23.3.2 --resolver-version pip-2020-resolver --target-system=linux --target-system=mac  'acryl-datahub[postgres,snowflake]==<IP_ADDRESS>' -o tmp6/lock.json

$ python3.10 -m pex.cli lock sync '--indent=2'  --manylinux manylinux2014 --interpreter-constraint $'CPython==3.10.*' --style=universal --pip-version=23.3.2 --resolver-version pip-2020-resolver --target-system=linux --target-system=mac  'acryl-datahub[postgres,snowflake]==<IP_ADDRESS>' --lock tmp6/lock.json
ERROR: Given the lock requirements:
acryl-datahub[postgres,snowflake]==<IP_ADDRESS>

The following lock update constraints could not all be satisfied:
acryl-datahub==<IP_ADDRESS>
acryl-datahub-classify==0.0.9
acryl-sqlglot==20.4.1.dev14
aiohttp==3.9.3
aiosignal==1.3.1
altair==4.2
anyio==3.7.1
appnope==0.1.4
argon2-cffi==23.1
argon2-cffi-bindings==21.2
asn1crypto==1.5.1
asttokens==2.4.1
async-timeout==4.0.3
attrs==23.2
avro==1.11.3
avro-gen3==0.7.11
beautifulsoup4==4.12.3
bleach==6.1
blis==0.7.11
cached-property==1.5.2
catalogue==2.0.10
certifi==2024.2.2
cffi==1.16
charset-normalizer==3.3.2
click==8.1.7
click-default-group==1.2.4
click-spinner==0.1.10
colorama==0.4.6
comm==0.2.2
confection==0.1.4
cryptography==42.0.5
cymem==2.0.8
debugpy==1.8.1
decorator==5.1.1
defusedxml==0.7.1
deprecated==1.2.14
docker==7
entrypoints==0.4
exceptiongroup==1.2
executing==2.0.1
expandvars==0.12
fastjsonschema==2.19.1
filelock==3.13.3
frozenlist==1.4.1
geoalchemy2==0.14.6
great-expectations==0.15.50
greenlet==3.0.3
humanfriendly==10
idna==3.6
ijson==3.2.3
importlib-metadata==7.1
ipaddress==1.0.23
ipykernel==6.17.1
ipython==8.21
ipython-genutils==0.2
ipywidgets==8.1.2
iso3166==2.1.1
jedi==0.19.1
jinja2==3.1.3
jsonpatch==1.33
jsonpointer==2.4
jsonref==1.1
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
jupyter-client==7.4.9
jupyter-core==4.12
jupyter-server==1.24
jupyterlab-pygments==0.3
jupyterlab-widgets==3.0.10
langcodes==3.3
makefun==1.15.2
markupsafe==2.1.5
marshmallow==3.21.1
matplotlib-inline==0.1.6
mistune==3.0.2
mixpanel==4.10.1
msal==1.28
multidict==6.0.5
murmurhash==1.0.10
mypy-extensions==1
nbclassic==1
nbclient==0.6.3
nbconvert==7.16.3
nbformat==5.10.2
nest-asyncio==1.6
notebook==6.5.6
notebook-shim==0.2.4
numpy==1.26.4
packaging==24
pandas==2.2.1
pandocfilters==1.5.1
parso==0.8.3
pathlib-abc==0.1.1
pathy==0.11
pexpect==4.9
phonenumbers==8.13
platformdirs==3.11
preshed==3.0.9
progressbar2==4.4.2
prometheus-client==0.20
prompt-toolkit==3.0.43
psutil==5.9.8
psycopg2-binary==2.9.9
ptyprocess==0.7
pure-eval==0.2.2
py==1.11
pycountry==23.12.11
pycparser==2.21
pydantic==1.10.14
pygments==2.17.2
pyjwt==2.8
pyopenssl==24.1
pyparsing==3.1.2
python-dateutil==2.9.post0
python-stdnum==1.20
python-utils==3.8.2
pytz==2024.1
pyyaml==6.0.1
pyzmq==24.0.1
referencing==0.34
requests==2.31
requests-file==2
rpds-py==0.18
ruamel-yaml==0.17.17
schwifty==2024.1.1.post0
scipy==1.12
send2trash==1.8.2
sentry-sdk==1.43
setuptools==69.2
six==1.16
smart-open==6.4
sniffio==1.3.1
snowflake-connector-python==3.7.1
snowflake-sqlalchemy==1.5.1
sortedcontainers==2.4
soupsieve==2.5
spacy==3.5
spacy-legacy==3.0.12
spacy-loggers==1.0.5
sqlalchemy==1.4.52
sqlparse==0.4.4
srsly==2.4.8
stack-data==0.6.3
tabulate==0.9
termcolor==2.4
terminado==0.18.1
thinc==8.1.12
tinycss2==1.2.1
toml==0.10.2
tomlkit==0.12.4
toolz==0.12.1
tornado==6.4
tqdm==4.66.2
traitlets==5.2.1.post0
typer==0.7
typing-extensions==4.10
typing-inspect==0.9
tzdata==2024.1
tzlocal==5.2
urllib3==1.26.18
vininfo==1.8
wasabi==1.1.2
wcwidth==0.2.13
webencodings==0.5.1
websocket-client==1.7
widgetsnbextension==4.0.10
wrapt==1.16
yarl==1.9.4
zipp==3.18.1

Encountered 1 error updating tmp6/lock.json:
1.) cp310-cp310-manylinux_2_37_x86_64: pid 17028 -> /home/ecsb/.pex/venvs/5c1db138e499727676fa1d0ca449202de8f6f34d/5985ed09b49a653d6596b0e14d134c5456cf1a9f/bin/python -sE /home/ecsb/.pex/venvs/5c1db138e499727676fa1d0ca449202de8f6f34d/5985ed09b49a653d6596b0e14d134c5456cf1a9f/pex --disable-pip-version-check --no-python-version-warning --exists-action a --no-input --isolated -q --cache-dir /home/ecsb/.pex/pip/23.3.2/pip_cache --log /tmp/pex-pip-log.6yqis34i/pip.log download --dest /tmp/tmp_a25uxoz/usr.bin.python3.10 --constraint /tmp/lock_update.53w8bkah.constraints.txt acryl-datahub[postgres,snowflake]==<IP_ADDRESS> --retries 5 --timeout 15 exited with 1 and STDERR:
ERROR: Cannot install acryl-datahub[postgres,snowflake]==<IP_ADDRESS> because these package versions have conflicting dependencies.
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

 The conflict is caused by:
     acryl-datahub[postgres,snowflake] <IP_ADDRESS> depends on spacy==3.4.3; extra == "snowflake"
     The user requested (constraint) spacy==3.5

 To fix this you could try to:
 1. loosen the range of package versions you've specified
 2. remove package versions to allow pip attempt to solve the dependency conflict

@cburroughs my next work stint runs the afternoon of 3/27 through 4/1. I'll take a look then.

Okay, @cburroughs that last behavior you mentioned is what you get. You can fix by following the reccomendation (and then once more when you get a new but similar conflict) to arrive at a successful:
:; python3.10 -m pex.cli lock sync --indent 2 --interpreter-constraint "CPython==3.10.*" --style universal --pip-version 23.3.2 --resolver-version pip-2020-resolver --target-system linux --target-system mac "acryl-datahub[postgres,snowflake]==<IP_ADDRESS>" spacy==3.4.3 "wasabi>=0.9.1,<1.1.0" --lock lock.json
Updates for lock generated by universal:
  Updated acryl-datahub from <IP_ADDRESS> to <IP_ADDRESS>
  Updated spacy from 3.5 to 3.4.3
  Updated wasabi from 1.1.2 to 0.10.1
Updates to lock input requirements:
  Updated 'acryl-datahub[postgres,snowflake]==<IP_ADDRESS>' to 'acryl-datahub[postgres,snowflake]==<IP_ADDRESS>'
  Added 'spacy==3.4.3'
  Added 'wasabi<1.1.0,>=0.9.1'

The issue here is that acryl-datahub pins a whole heck of alot of deps (instead of, say, constraining to a non-breaking semver range):
:; unzip -qc ~/downloads/acryl_datahub-<IP_ADDRESS>-py3-none-any.whl acryl_datahub-<IP_ADDRESS>.dist-info/METADATA | grep Requires | grep -E "==[0-9]" | cut -d';' -f1 | sort -u
Requires-Dist: acryl-datahub-airflow-plugin ==<IP_ADDRESS>
Requires-Dist: acryl-datahub-classify ==0.0.9
Requires-Dist: acryl-pyhive[hive-pure-sasl] ==0.6.16
Requires-Dist: acryl-sqlglot ==20.4.1.dev14
Requires-Dist: avro-gen3 ==0.7.11
Requires-Dist: avro-gen3 ==0.7.11
Requires-Dist: black ==22.12.0
Requires-Dist: boto3-stubs[glue,s3,sagemaker,sts] ==1.28.15
Requires-Dist: elasticsearch ==7.13.4
Requires-Dist: flake8-bugbear ==23.3.12
Requires-Dist: google-cloud-datacatalog-lineage ==0.2.2
Requires-Dist: lark[regex] ==1.1.4
Requires-Dist: looker-sdk ==23.0.0
Requires-Dist: msal ==1.22.0
Requires-Dist: mypy ==1.0.0
Requires-Dist: mypy-boto3-sagemaker ==1.28.15
Requires-Dist: spacy ==3.4.3
Requires-Dist: sql-metadata ==2.2.2
Requires-Dist: sqllineage ==1.3.8
Requires-Dist: sqlparse ==0.4.4
Requires-Dist: types-click ==0.1.12
Requires-Dist: vertica-sqlalchemy-dialect[vertica-python] ==<IP_ADDRESS>

That sort of mass pinning will lead to issues when the pins change in another version given that Pex updates have these rules:
0. Pex is not a resolver, it uses Pip to do resolving; as such Pex cannot backtrack, etc. Pip does all that opaquely.

The pex3 lock {update,sync} commands attempt to do a minimal update by masking off unchanged portions of the resolve (as can be divined from the input requirements alone anyhow) with constraints pinning.

Afaict, to have these sorts of situations resolve automatically would either require Pex tries, fails, retries switching constraints pins to semver range pins? But that would lead to more disruptive lock updates growing akin to re-running pex3 lock create - which I think is pointedly the thing you're trying to avoid / fix.
So, how do you wish to proceed? Afaict Pex cannot do better than this without becoming a resolver itself which is not in the cards in Pex 2.x. The user has to be able to read the Pip conflict output and do what I did above or else Pants needs to have an escape hatch to re-run pex3 lock create for locks that are overly constrained preventing update. Maybe though there is some clever strategy that uses constraints ranging instead of pinning to cut down on lock disturbance but still allow updates.

@cburroughs I may move forward with this iteration this afternoon. I'm getting uncomfortable with the number of changes queued behind a release and it seems like Pants is at liberty to skip this initial release of pex3 lock sync if you find improvements or bugs that we can follow up with.

(Yeah some of these large packages with narrow pins are challenging to deal with in a few different ways.)
The mental model of "Pex is not a resolver and thus can't 'backtrack'" makes sense to me.  I'll have to think about how to present that through Pants in a way that's helpful without getting in the users way, but that was the essential design problem there anyway.
Thanks for putting this all together.

I'll have to think about how to present that through Pants in a way that's helpful without getting in the users way

One thing to point out is rm lock.json && pex3 lock sync ... reverts to the old Pants behavior of re-locking every time; so, at worst, if a user can't figure out Pip conflict messages and Pants gives some guidance, you can always work your way out of an overly constrained lock by re-creating it this way even if pex3 lock sync ... is the only command Pants uses behind the scenes.


⚠ Bofrost.lu has degraded performance

In 66079a4, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 1024 ms

Resolved: Bofrost.lu performance has improved in d713037.


Model3D.init() got an unexpected keyword argument 'width' when running app.py

Hi, when starting app.py im getting the gradio error mentioned above.
Gradio version is 4.26.0
i resolved it by changing line 321 in app.py from
width=768
to
min_width=768

@schelmi1 Thanks for pointing this out. We have fixed this problem.


Test publishing as npx

https://www.youtube.com/watch?v=_oHByo8tiEY&ab_channel=Fireship

not interested


Add support for svg element

🚀 Feature Proposal
Please add support to style the svg element.

Or any html element, really 😅

It was a typing problem, solved in #28.

oh, great! Thanks @gregberge


about the simulator

Hi, @SvrT31 ! Glad to see your open source project! How is the mujoco simulator? You don't need to start from writing the plugins. Recently, I am looking for information related to lqr and mpc,look forward to your update.

Ok, @SvrT31 !


Runner Deployment Pod keeps Terminating

I have deployed the following RunnerDeployment on EKS 1.18
apiVersion: actions.summerwind.dev/v1alpha1
kind: RunnerDeployment
metadata:
  name: github-actions-runner
  namespace: actions-runner-system
spec:
  replicas: 1
  template:
    spec:
      organization: {my-org}
      image: summerwind/actions-runner-dind
      dockerdWithinRunnerContainer: true

It starts and keep working during several minutes (5-10 min) but then starts to be killed and never goes up ...
controller logs:
2020-10-22T14:30:37.328Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:30:39.889Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:30:39.889Z	INFO	controllers.RunnerReplicaSetdebug	{"runner": "actions-runner-system/github-actions-runner-2zbv7", "desired": 1, "available": 1}
2020-10-22T14:30:39.904Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runnerreplicaset", "request": "actions-runner-system/github-actions-runner-2zbv7"}
2020-10-22T14:30:39.906Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runnerdeployment", "request": "actions-runner-system/github-actions-runner"}
2020-10-22T14:30:39.906Z	INFO	controllers.RunnerReplicaSetdebug	{"runner": "actions-runner-system/github-actions-runner-2zbv7", "desired": 1, "available": 1}
2020-10-22T14:30:39.906Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runnerreplicaset", "request": "actions-runner-system/github-actions-runner-2zbv7"}
2020-10-22T14:30:40.148Z	ERROR	controllers.Runner	Failed to check if runner is busy	{"runner": "actions-runner-system/github-actions-runner-2zbv7-pxwg5", "error": "runner not found"}
github.com/go-logr/zapr.(*zapLogger).Error
	/go/pkg/mod/github.com/go-logr/zapr@v0.1.0/zapr.go:128
github.com/summerwind/actions-runner-controller/controllers.(*RunnerReconciler).Reconcile
	/workspace/controllers/runner_controller.go:212
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:256
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:232
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
	/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:211
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
	/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190913080033-27d36303b655/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
	/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190913080033-27d36303b655/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
	/go/pkg/mod/k8s.io/apimachinery@v0.0.0-20190913080033-27d36303b655/pkg/util/wait/wait.go:88
2020-10-22T14:30:40.148Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:30:40.270Z	DEBUG	controllers.HorizontalRunnerAutoscaler	Calculated desired replicas	{"computed_replicas_desired": 1, "spec_replicas_min": 1, "spec_replicas_max": 5, "workflow_runs_completed": 150, "workflow_runs_in_progress": 0, "workflow_runs_queued": 0, "workflow_runs_unknown": 0}
2020-10-22T14:30:40.270Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "horizontalrunnerautoscaler", "request": "actions-runner-system/github-actions-runner-autoscaler"}

# Here it works during 30 minutes but then start failing

2020-10-22T14:50:19.113Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runnerdeployment", "request": "actions-runner-system/github-actions-runner"}
2020-10-22T14:50:19.113Z	INFO	controllers.RunnerReplicaSetdebug	{"runner": "actions-runner-system/github-actions-runner-2zbv7", "desired": 1, "available": 1}
2020-10-22T14:50:19.113Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runnerreplicaset", "request": "actions-runner-system/github-actions-runner-2zbv7"}
2020-10-22T14:50:35.921Z	INFO	controllers.RunnerReplicaSetdebug	{"runner": "actions-runner-system/github-actions-runner-2zbv7", "desired": 1, "available": 1}
2020-10-22T14:50:35.921Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runnerreplicaset", "request": "actions-runner-system/github-actions-runner-2zbv7"}
2020-10-22T14:50:36.011Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runnerdeployment", "request": "actions-runner-system/github-actions-runner"}
2020-10-22T14:50:36.208Z	DEBUG	controller-runtime.manager.events	Normal	{"object": {"kind":"Runner","namespace":"actions-runner-system","name":"github-actions-runner-2zbv7-pxwg5","uid":"eed46ffa-2da8-46e9-af95-dba35bf8bd16","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"2111908"}, "reason": "PodDeleted", "message": "Deleted pod 'github-actions-runner-2zbv7-pxwg5'"}
2020-10-22T14:50:36.208Z	INFO	controllers.Runner	Deleted runner pod	{"runner": "actions-runner-system/github-actions-runner-2zbv7-pxwg5", "repository": ""}
2020-10-22T14:50:36.208Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:50:36.212Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:50:36.218Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:50:37.115Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:50:40.519Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:50:40.572Z	INFO	controllers.Runner	Created runner pod	{"runner": "actions-runner-system/github-actions-runner-2zbv7-pxwg5", "repository": ""}
2020-10-22T14:50:40.572Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:50:40.572Z	DEBUG	controller-runtime.manager.events	Normal	{"object": {"kind":"Runner","namespace":"actions-runner-system","name":"github-actions-runner-2zbv7-pxwg5","uid":"eed46ffa-2da8-46e9-af95-dba35bf8bd16","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"2111908"}, "reason": "PodCreated", "message": "Created pod 'github-actions-runner-2zbv7-pxwg5'"}
2020-10-22T14:50:40.591Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:50:40.591Z	INFO	controllers.RunnerReplicaSetdebug	{"runner": "actions-runner-system/github-actions-runner-2zbv7", "desired": 1, "available": 1}
2020-10-22T14:50:40.603Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runnerreplicaset", "request": "actions-runner-system/github-actions-runner-2zbv7"}
2020-10-22T14:50:40.606Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runnerdeployment", "request": "actions-runner-system/github-actions-runner"}
2020-10-22T14:50:40.607Z	INFO	controllers.RunnerReplicaSetdebug	{"runner": "actions-runner-system/github-actions-runner-2zbv7", "desired": 1, "available": 1}
2020-10-22T14:50:40.607Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runnerreplicaset", "request": "actions-runner-system/github-actions-runner-2zbv7"}
2020-10-22T14:50:40.845Z	INFO	controllers.Runner	Deleted runner pod	{"runner": "actions-runner-system/github-actions-runner-2zbv7-pxwg5", "repository": ""}
2020-10-22T14:50:40.845Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:50:40.845Z	DEBUG	controller-runtime.manager.events	Normal	{"object": {"kind":"Runner","namespace":"actions-runner-system","name":"github-actions-runner-2zbv7-pxwg5","uid":"eed46ffa-2da8-46e9-af95-dba35bf8bd16","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"2118812"}, "reason": "PodDeleted", "message": "Deleted pod 'github-actions-runner-2zbv7-pxwg5'"}
2020-10-22T14:50:40.914Z	DEBUG	controllers.HorizontalRunnerAutoscaler	Calculated desired replicas	{"computed_replicas_desired": 1, "spec_replicas_min": 1, "spec_replicas_max": 5, "workflow_runs_completed": 150, "workflow_runs_in_progress": 0, "workflow_runs_queued": 0, "workflow_runs_unknown": 0}
2020-10-22T14:50:40.914Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "horizontalrunnerautoscaler", "request": "actions-runner-system/github-actions-runner-autoscaler"}
2020-10-22T14:50:41.091Z	INFO	controllers.Runner	Deleted runner pod	{"runner": "actions-runner-system/github-actions-runner-2zbv7-pxwg5", "repository": ""}
2020-10-22T14:50:41.091Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:50:41.091Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}
2020-10-22T14:50:41.091Z	DEBUG	controller-runtime.manager.events	Normal	{"object": {"kind":"Runner","namespace":"actions-runner-system","name":"github-actions-runner-2zbv7-pxwg5","uid":"eed46ffa-2da8-46e9-af95-dba35bf8bd16","apiVersion":"actions.summerwind.dev/v1alpha1","resourceVersion":"2118812"}, "reason": "PodDeleted", "message": "Deleted pod 'github-actions-runner-2zbv7-pxwg5'"}
2020-10-22T14:50:43.500Z	DEBUG	controller-runtime.controllerSuccessfully Reconciled	{"controller": "runner", "request": "actions-runner-system/github-actions-runner-2zbv7-pxwg5"}

It happened with version 0.9.3 and 0.9.4

@gvisca Thanks for reporting! I believe this relates to #138. Would you mind trying v0.9.5 that should fix the issue?

Thanks a lot fot you answer @mumoshu
I've just tested with v0.10.0 and the issue is fixed indeed


Use vue-apollo and apollo-client directly, or use vue-cli-plugin-apollo?

vue-cli-plugin-apollo is a convenient vue-cli plugin that bakes support for vue-apollo, and takes care of library upgrades etc.
However, as -web is so heavily dependent on graphql and will likely make use of advanced/non-standard practice, should we bypass the cli plugin and use apollo directly?

Manual  use of vue-apollo without vue-cli-plugin-apollo works well, but is more work and does not benefit from vue-cli-plugin-apollo updates.  It's not necessary to use manual smartQuery and client adds, so try going back to automated install.


Added field order

Hi!
Just a question.
Can i somehow set the order of the newly added form items (using addField)?
Eg. set them on the top of the signup form, or before the password?
Thanks a lot.

Thanks a lot, solution found at #141


Duplicated "fix all auto-fixable tslint failures"

The first and fourth fixes here appear to be the same. I'm not sure if it's something I've done, or a bug (or how to tell).

Closing as TSLint has been deprecated in favor of ESLint. We are archiving this repo as this project is no longer maintained


Can we get DRONE_WORKER env var added as well known env var?

It would be useful to use to have hostname and/or host ip address pushed into the worker container as an environment variable so that our builds can know which worker they are running on.

Merged patch https://github.com/drone/drone/commit/63001a7c66b621793ca7ef450eac2c94bd1728f1 which exposes the host machine to the pipeline as the DRONE_MACHINE environment variable. This is available in drone/drone:latest and will be included in 0.8 final.
Please note that workers identify themselves by hostname. This means the default value will be the hostname of the docker container, which may or many not be useful, but will be unique. You can explicitly override this value by setting DRONE_HOSTNAME. This can be set to whatever you want (it is purely used for labeling) and can be set to an IP address, domain name, etc.
Also note that the DRONE_MACHINE environment variable will only be available at runtime. That is to say that it is not available when the yaml is compiled and cannot be used as a yaml substitution variable.


v0.17.0 fails to build on MacOS

Rust version:  1.44.0
OS: macOS Catalina 10.15.5
nix version: tag v0.17.0
Error:
error: unnecessary parentheses around assigned value
  --> src/sys/ioctl/bsd.rs:17:39
   |
17 |     pub const INOUT: ioctl_num_type = (IN|OUT);
   |                                       ^^^^^^^^ help: remove these parentheses
   |

Looks like this error has been fixed in this commit after the release v0.17.0.   Can this fix be ported back to v0.17.0 ?  or,  is there a v0.18.0 coming out soon? Thanks.

Yeah, we should release v0.18.0 soon.  I'll get working on that.  In the meantime, you can suppress that error by either using an older compiler or doing:
#[allow(unused_parens)]

Release 0.18.0 is published.  I suggest you upgrade to that.


Training udify model for Russian.

Hello, I am training a udify model only for Russian where I train only on the Russian data from UD2.3. However, I am running into the following issue. The same code runs fine on other languages from UD.
Traceback (most recent call last):
File "train.py", line 69, in
train_model(train_params, serialization_dir, recover=bool(args.resume))
File "/usr1/home/user/anaconda2/envs/py36/lib/python3.6/site-packages/allennlp/commands/train.py", line 226, in train_model
cache_prefix)
File "/usr1/home/user/anaconda2/envs/py36/lib/python3.6/site-packages/allennlp/training/trainer_pieces.py", line 65, in from_params
model = Model.from_params(vocab=vocab, params=params.pop('model'))
File "/usr1/home/user/anaconda2/envs/py36/lib/python3.6/site-packages/allennlp/common/from_params.py", line 365, in from_params
return subclass.from_params(params=params, **extras)
File "/usr1/home/user/anaconda2/envs/py36/lib/python3.6/site-packages/allennlp/common/from_params.py", line 386, in from_params
kwargs = create_kwargs(cls, params, **extras)
File "/usr1/home/user/anaconda2/envs/py36/lib/python3.6/site-packages/allennlp/common/from_params.py", line 133, in create_kwargs
kwargs[name] = construct_arg(cls, name, annotation, param.default, params, **extras)
File "/usr1/home/user/anaconda2/envs/py36/lib/python3.6/site-packages/allennlp/common/from_params.py", line 257, in construct_arg
value_dict[key] = value_cls.from_params(params=value_params, **subextras)
File "/usr1/home/user/anaconda2/envs/py36/lib/python3.6/site-packages/allennlp/common/from_params.py", line 365, in from_params
return subclass.from_params(params=params, **extras)
File "/usr1/home/user/anaconda2/envs/py36/lib/python3.6/site-packages/allennlp/common/from_params.py", line 388, in from_params
return cls(**kwargs)  # type: ignore
File "/usr1/home/user/udify/udify/models/tag_decoder.py", line 106, in init
div_value=4.0)
File "/usr1/home/user/anaconda2/envs/py36/lib/python3.6/site-packages/torch/nn/modules/adaptive.py", line 116, in init
raise ValueError("cutoffs should be a sequence of unique, positive "
ValueError: cutoffs should be a sequence of unique, positive integers sorted in an increasing order, where each value is between 1 and n_classes-1

Were you able to solve the issue?

Yes, I was able to!

Yes, I was able to!

How did you solve it?


chroma plugin causes an error: AttributeError: 'module' object has no attribute 'adapters'

I've followed the instructions for installing the chroma plugin and when I run beets, I get the following error:
$ beet import Souad\ Massi/Deb\ \(Heart\ Broken\)/
** error loading plugin chroma
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/beets/plugins.py", line 201, in load_plugins
    namespace = __import__(modname, None, None)
  File "/usr/local/lib/python2.7/dist-packages/beetsplug/chroma.py", line 24, in <module>
    import acoustid
  File "/usr/local/lib/python2.7/dist-packages/acoustid.py", line 126, in <module>
    class CompressedHTTPAdapter(requests.adapters.HTTPAdapter):
AttributeError: 'module' object has no attribute 'adapters'

beets version 1.3.9
plugins: inline, web, discogs, fromfilename, convert

Hi! Can you check that you have the latest version of requests by typing pip install -U requests?

That seems to have fixed it! thanks (I seemed to have a very old version of requests)


First Italian translation

Added italian subtitles

Hello @cgand! Thank you for the contribution! Can you please resolve conflicts regarding the latest status of master branch?


GEODE-231 :  Remove deprecated AttributesMutator.setCacheListener

Removed AttributesMutator.setCacheListener from AttributesMutator interface and AbstractRegion.
Modified tests to use addCacheListener/initCacheListener.
Removed tests which are not valid for new APIs
Changed references in java docs.

+1 Looks good , only fix conflicts.

+1

Thanks @ameybarve15 @dschneider-pivotal for review.
Do I need to resubmit this PR after resolving conflicts?
or we resolve conflicts while merging?


Improve callchoreo function

Description
Introduce retry mechanism to access token request to improve the callchoreo function call

Fix deployed through https://github.com/wso2-enterprise/asgardeo-product/issues/19194


Data annotation (DataType)

The data annotation for the data type has to be it's own attribute:
[Key]
[Column("Datum")]
[DataType(DataType.Date)]
public DateTime CreationDateTime { get; set; }

Fixed. Will be released with the next version.


Update to ccf-rc0

Fixes #137

Given that the CCF builds are now different, should we switch to using docker containers more for things rather than having to keep installing ccf-virtual, then ccf-sgx and back?


Blank pages on install

When cloning the site and accessing the site, the page has only the navigation bar on the top and everything else is blank. ???

Hi, after cloning it, you have to install bower dependencies.
See here how:
https://github.com/densitydesign/raw#installation


cgroups: Use only pod cgroup, not create container cgroup in the host.

Use option to use only pod cgroup in the host
# By default in false
sandbox_cgroup_only = false

Get pod Cgroup getting the parent of the SANDBOX (annotation) container.
Do not create host cgroup for each container
Place all kata processese in the Pod cgroup

Proxy (before this was not placed in any cgroup)
Shim
Hypervisor

Use cases
This can be a bennefit for users of Kuberentes pod overhead feature or direct users of CRI runtimes like cri-o or cri-containerd. So the CRI caller can provide a pod cgroup with enough resources for the workload and the pod overhead.
Podman ?
This will not create a cgroup but use the one provided by the runtime caller
\cc @gabibeyer @egernst

Related to: https://github.com/kata-containers/runtime/issues/1515


there's no public directory

There's no /public directory, and install doesn't create it, so composer instalation doesn't work "out of the box"

By default there's no public directory, but the install should still work out of the box, as the public directory is not a requirement (although it is good practice).
If you wish to have a public directory to point the web server to, you simply need to run php artisan winter:mirror public/ after installation.
See: https://wintercms.com/docs/v1.2/docs/setup/configuration#using-a-public-folder

See https://wintercms.com/docs/v1.2/docs/console/setup-maintenance#mirror-public-files. It's a holdover from the original platform being designed to be installed via a wordpress-like web installer that there isn't a public folder by default as on shared hosts you'd typically be installing the project into the "public" folder already.
My personal recommendation and own process has always been to use a public folder though; and the example project now includes that as well: https://github.com/wintercms/wn-blizzard.wintercms.com-site/commit/a5395948b2c54cf27518415a5cdc277ef5c557da

@bennothommo too quick on the draw, you beat me too it 😂

GitHub really needs one of those "Someone is typing a comment..." notifications like Facebook.


branch-2.0 support skipping missing version in select by session variable

Proposed changes
Issue Number: close #xxx
cherry-pick: #25654

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall


Merge JBallerina branch to master

Purpose
Merging JBallerina branch to master.
Some modules (grpc, protobuf, websub, integration-test) are disabled since they are not migrated. Need to migrate them and re-enable.
Check List

[x] Read the Contributing Guide
[ ] Required Balo version update
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[x] Added necessary tests

[x] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #15579 into master will increase coverage by 3.53%.
The diff coverage is 6.12%.

@@             Coverage Diff              @@
##             master   #15579      +/-   ##
============================================
+ Coverage      1.68%    5.21%   +3.53%
- Complexity      228     1475    +1247
============================================
  Files           613     1400     +787
  Lines         39457    81248   +41791
  Branches       4356    10136    +5780
============================================
+ Hits            665     4241    +3576
- Misses        38718    76519   +37801
- Partials         74      488     +414

Impacted Files
Coverage Δ
Complexity Δ

...ballerinalang/compiler/desugar/ServiceDesugar.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...llerinalang/net/http/actions/httpclient/Patch.java
0% <ø> (ø)
0 <0> (?)

...wso2/ballerinalang/compiler/bir/model/BIRNode.java
0% <ø> (ø)
0 <0> (ø)
:arrow_down:

...nalang/stdlib/crypto/nativeimpl/EncryptAesCbc.java
27.77% <ø> (ø)
1 <0> (?)

...nalang/stdlib/crypto/nativeimpl/EncryptAesGcm.java
28.57% <ø> (ø)
1 <0> (?)

...lang/net/http/caching/ResponseCacheControlObj.java
0% <ø> (ø)
0 <0> (?)

...ang/net/http/actions/httpclient/RejectPromise.java
0% <ø> (ø)
0 <0> (?)

...ballerinalang/net/http/actions/httpclient/Put.java
0% <ø> (ø)
0 <0> (?)

...alang/net/http/actions/httpclient/GetResponse.java
0% <ø> (ø)
0 <0> (?)

...et/http/actions/httpclient/AbstractHTTPAction.java
0% <ø> (ø)
0 <0> (?)

... and 1000 more

Continue to review full report at Codecov.

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


[url_launcher]ios whose view is not in the window hierarchy!

ios error whose view is not in the window hierarchy!find presentedViewController and use it

Could you explain the issue that this PR is trying to fix in more detail? Or link this PR to an issue ticket?

when Navigator.push called new page openned under th webView (safari controller)... launched url didnt close

@ashkryab Do you want to explain the detail in an issue ticket?


Only retain 7 days of logs

Signed-off-by: Peter Nied<EMAIL_ADDRESS>Description
The check for build job is run often, and the logs are not very useful in the distant past, make sure that we aren't using up disk space keeping this information around
Check List

[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1474 (4f4a70a) into main (c177c5a) will decrease coverage by 0.16%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##               main    #1474      +/-   ##
============================================
- Coverage     94.45%   94.29%   -0.17%
  Complexity       12       12
============================================
  Files           141      141
  Lines          3084     3084
  Branches          8        8
============================================
- Hits           2913     2908       -5
- Misses          164      169       +5
  Partials          7        7

Impacted Files
Coverage Δ

src/system/temporary_directory.py
83.87% <0.00%> (-12.91%)
:arrow_down:

src/system/os.py
92.30% <0.00%> (-7.70%)
:arrow_down:

Continue to review full report at Codecov.

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

does this solve this issue #1433 ??

If this job was the only offender, then yes. We've got many build jobs and no common enforcement process.  Let's keep that issue around, but this PR is how to mitigate on a one-of-basis


fix red bar identify warnings in chat

Do a couple things:

Remove background identifier code, it was not being used, and is not needed anymore.
Just run Identify directly instead of LookupID which does not actually do an identify anymore (this is why the red bar didn't clear after accepting a broken proof). The JS does not care about anything other than the users it gets from CanonicalName and Breaks, TLFID is unused so don't bother with it.

cc @keybase/hotpotatosquad

[ ] lets do this after the release


Add jump to top button

Hey @MonalikaPatnaik , I want to add jump to top button to your web application .

I add this above the chat button at the bottom. with similar design.
I hope these suggestions help you in your web design improvements. Assign this issue to me under gssoc2023.

Hey..similar issue is already been assigned!


Do not buffer logs in the verbose logger

With the old policy the most recent log would not be printed until the next
log is produced (which may be indefinitely).  This change prints logs
immediately along with a time delta since the previous log.

@devoncarew

Thank you for fixing one of the most annoying bugs. LGTM.

LGTM!

@jason-simmons, can you attach some sample output to this PR? This change will print the times for the previous item next to the current item. We may want to adjust the output a bit to clarify what time is associated with what item.

Each log will be prefixed with the milliseconds elapsed since the last log.
Example:
0 ms • /ssd2/sky/engine/src/third_party/android_tools/sdk/platform-tools/adb -s HT5BGJT00367 install -r build/app.apk
10454 ms • Exit code 0 from: /ssd2/sky/engine/src/third_party/android_tools/sdk/platform-tools/adb -s HT5BGJT00367 install -r build/app.apk
For long lived operations, we should print a log for the start and the end of the task.  We do this already when launching external commands, as shown above.

Each log will be prefixed with the milliseconds elapsed since the last log.

Yup, got that. I'm wondering if there's a way we can tweak the output so that it's clear that the time printed is really the elapsed time of the previous item, and not the item it's printed with.
[   0 ms] /ssd2/sky/engine/src/third_party/android_tools/sdk/platform-tools/ad...
[+104 ms] Exit code 0 from: /ssd2/sky/engine/src/third_party/android...

Updated the log message format

lgtm


⚠ Jerry Savelle Ministries International Australia has degraded performance

In 928d584, Jerry Savelle Ministries International Australia (https://jsmiaustralia.org) experienced degraded performance:

HTTP code: 500
Response time: 7050 ms

Resolved: Jerry Savelle Ministries International Australia performance has improved in ba548a1 after .


Add a disable_optouts field to UserAccount model

Looks good. Let's do a new Vumi release?

:+1: once Travis is happy.


Separate next init (#531)

use next-init instead of

@timneutkens Would you check out the message below. Feel free to update it
console.log(`
    'next init' does not support any more. Please try next-init or create-next-app instead of

    $ npm i -g next-init or create-next-app
`)

and the build failed on appveyor, I have no idea about that. Please let me know what happened

console.log(`
    'next init' is not supported anymore. These community projects provide the same functionality as 'next init' with additional features: http://npmjs.com/next-init and http://npmjs.com/create-next-app.
`)

I guess it'd be best to just link to the packages and let the user figure out how they work from their docs 👌

@timneutkens updated

@ragingwind could you update it to my message?

oh my bad. I didn't see the rest of message. I will

Fixes #531