Be a good registry client

TODO: this issue itself needs to be fleshed out, hopefully based on feedback from registry operators.
This app boils down to being a Docker registry client. Docker registries are expensive to run and most place limits on excessive usage. See:

Docker Hub
ECR Public
(TODO) ghcr.io
(TODO) gcr.io
(TODO) mcr.microsoft.com

Goals:

Minimise end-user latency for ima.ge.cx (people only use fast websites)
Minimise resource consumption / impact on registries (I don't want to be a jerk)
Minimise hosting costs incurred by me (I'm paying for this out of my pocket and don't want it to sting)

Some questions that first come to mind:

When a user requests to view a file, I make Range requests to retrieve ~1MB from the blob that contains the file. Is that acceptable? Or should I mirror them in my own S3 bucket? ($$$ could add up quickly)
Is it acceptable for /api/lookup to query registries (e.g. at /v2/*/manifests) directly? Or should I cache that data in DynamoDB for some period of time? Does putting it behind CloudFront mitigate the problem?
Do any of the answers change if I later #14?
What issues am I not even considering yet?

Ask users to sign up for your service
Ask users to provide their API key for Docker Hub (and the others) which you can then use to make the requests
Otherwise, they will only see cached results
This sort of infrastructure would be required for private images anyways.

This is super cool @aidansteele.
I haven't seen the backend code, but seeing that you're doing ranged gets, definitely wanted to point you at the Streaming OCI project. Maybe you will find a way to leverage this - lazy loading files vs the 1MB chunk fetch might be cool?
You will hit some limits with some popular images for sure, so caching does make sense. I guess the tradeoff here is limiting the amount you're hitting repositories vs the amount of data you want to hold onto (and pay for). Manifests are pretty light, and immutable so theoretically you could cache based on digest, and pull through new manifests only when a tag has moved. On the data front, my hunch is you won't end up storing entire images over time, so the smaller your chunk the better (again SOCI might be of use here, or smaller chunk sizes).
On pricing considerations in particular this is being a good citizen. Depending on the registry you'll also experience API throttles potentially.  Should be pretty safe with ECR Public (20/1 TPS and plenty of bandwidth per publisher - 500GB anon and 5TB w/ AWS)... unless you end up going very very viral on a particular publisher's image, you never know. For other registries you might need to pull images to your own holding tank - or ask users for their creds as monken suggested (but that's a whole kettle of fish).
I guess from here, the data caching has some considerations. You could cache your chunks, and time them out on an LRU or something simple. If you look into SOCI, it might be that you still cache lookup but it might be quite different - could be worth modeling both.
Hopefully this is useful, and maybe other folks will have some good input!

cc'ing some oci registry friendos to see if i flubbed anything up or if they have other ideas for you @sudo-bmitch @michaelb990 @jdolitsky @imjasonh @sajayantony

Very cool @aidansteele - Are you considering providing history for something like https://ima.ge.cx/golang:1.19 or planningg to add history for different digests.  It's one of my pet features I hope we standardize at some point.
Some questions -

How are you planning to distinguish images from different registries? For example  golang:1.19 exists in ECR and docker hub and the digest would most likely be the same but need not be.
If you don't cache the data which is being pulled different endpoints/CDNs that most of these public registries are backed by, I do think costs can be an issue as others before me have pointed out,
Lastly does it make sense to compose this with some kind of reverse cache proxy?

How are you planning to distinguish images from different registries? For example  golang:1.19 exists in ECR and docker hub and the digest would most likely be the same but need not be.

ECR's copy of golang:1.19 has a different name, public.ecr.aws/docker/library/golang:1.19. If you want to load ECR's copy, you can use that specific name.

If you don't cache the data which is being pulled different endpoints/CDNs that most of these public registries are backed by, I do think costs can be an issue as others before me have pointed out,
Lastly does it make sense to compose this with some kind of reverse cache proxy?

Honestly I don't think it's worth over-optimizing for cost, at least while it's got relatively little usage. kontain.me gets a little usage by me and a few others, and costs me $2-3/month. I don't know what explore.ggcr.dev costs, but it can't be that much.
I'd recommend putting spend caps and alerts in place ASAP, and trying not to do anything exorbitantly expensive, but otherwise if it takes off and is wildly popular such that it costs thousands per month, you can shave off costs knowing where the costs actually come from, or find a corporate sponsor for it.


Investigate if the fullscreening API can be used for the judge interface

A fair amount of screen real estate is used for the address bar and tabs and other things that are pointless when you are judging. We can probably utilize the fullscreen API.

@kallekrantz: Did we still want to do this?

Since we are not optimizing for tablets in the same sense anymore it's probably a better idea to just close this.


Not working on VSCode 1.31

I've updated VSCode to 1.31 and ctagsx can't find the tags any more. To test it, I've downgraded to 1.30 and it started to work again.

Thanks for the heads up. I'll take a look

Damn, the behaviour changed, so if you read from the same file descriptor, the offset is from the current position and not the start of the file.

Actually, I misread. Anyway, the real fix was to not pass fractional positions to fs.read.
I've released 1.1.0, which should work. Thanks again for reporting!

Thank you very much. I also would like to say that this is the fastest and best extension to handle ctags in VSCode. :+1: :100:


🎆 Add inline property to images in paragraphs

For all images that are children of paragraph nodes, add inline: true property. This will happen when an image is declared inline, e.g.:
Here is my image ![](image.png) - it's inline!

(note: this works well with the myst-parser transform that ensures standalone images are not nested in paragraphs - https://github.com/executablebooks/mystmd/blob/main/packages/myst-parser/src/tokensToMyst.ts#L470)

This PR along with https://github.com/executablebooks/myst-theme/pull/248 address https://github.com/executablebooks/myst-theme/pull/248

We can likely just add this as a CSS rule in myst-theme without changing the myst data structure.


Auth / Groups list disappears after roles are unassigned

Only seen with SSR on and after the page has been refreshed whilst on the groups page

After the user unassigns a group's bound roles the group.principal list refreshes the spoofed group.principal collectionthis.rows = await this.$store.dispatch('cluster/findAll', {
     type: NORMAN.SPOOFED.GROUP_PRINCIPAL,
     opt:  { force }
   }, { root: true }); // See PromptRemove.vue

(this copies PromptRemove refreshSpoofedTypes)

This results in axios.js calling type-map/getSpoofedInstances
However for some reason the type-map's instanceMethods is empty (there's no products and therefor no spoofed types)
As it can't determine the spoofed type's getInstances and empty list is returned

I've tried this with root false as well. Vue Dev Tools seems to show the type-map / spoofedTypes / auth / group.principal type, so it feels like the spoofedType should have run which inits instanceMethods


Unfortunately your site provisioning at least partially failed! ID: 5f47617a-fba7-4430-85e8-058c144f75bc

I was provisioning the M365 Learning Pathways site.
Exception: A task was canceled.
Provisioning action correlation ID: 5f47617a-fba7-4430-85e8-058c144f75bc
The site is currently 404'ed.
Note that I have the M365 Learning Pathways already deployed, but was trying to deploy another M365 Learning Pathways site to a different URL.

Hi, Thanks for your feedback. I'm closing this item because it is now outdated.


Adding a readme to deploy Spring petclinic rest project on Azure Spring Cloud

This readme covers steps required to deploy Spring-petclinic-rest project on Azure Spring Cloud.

@VaijanathB - please open this PR against the azure branch

@VaijanathB - please name the file as "README-Azure-Spring-Cloud.md"

I am going to close this PR in favor of one fore Azure branch.  I have incorporated all the above feedback in that branch PR.


Change result type to ContractDefinition not full Contract

Change-type: patch

@balena-ci I self-certify!


add "tested by" for chia-cortx integration readme

add tested by
Signed-off-by: Meng Wang<EMAIL_ADDRESS>

Hello, can you merge my "tested by" to your branch? I'm a Seagate intern and I've tested your integration project (great work!)


Add cellpose[gui] as a main dependency

this can cause problems in setup because of pygt

this can cause problems in setup because of pygt

ooo. you're right... so maybe we keep it in the optional installs for now.


Update setup.py

Added missing pydifact.control package to setup.py
Another way would be to use find_packages from setuptools.
packages=find_packages()

thanks ;-)
This is just a WIP. Patches welcome.


Added redis and caching

Changes Unknown when pulling 51e83bb4d60bf2653005071179780b730d2b2287 on dev_cache into ** on cache**.

Changes Unknown when pulling 858d9c7d1037921159d22bebfe36413590f92c4d on dev_cache into ** on cache**.

Changes Unknown when pulling 6b6005f72f7ca48618b6f02b656d527136e42d29 on dev_cache into ** on cache**.

Changes Unknown when pulling 1dbc11d94d5a4e4a8214a8e5e370a20c976b48c4 on dev_cache into ** on cache**.


'o' (make pointer) hotkey doesn't work in stack view

Version and Platform (required):

Binary Ninja Version: 3.1-dev
'o' (make pointer) hotkey doesn't work in variables and stack view.

Available in builds ≥3595.


How can I get index of the current card? Can I jump on the specific card index?

Thanks for the great module. I want to know when I reach at the end of array. Is there some way I can detect swipeLeft and swipeRight events? I could track the index using those.

Yeah. I just realized that there is no getCurrentIndex. There is only getCurrentCard.
However, you can track the end of an array by listening on the onFinish prop.
You can also get left or right using onRightSwipe and onLeftSwipe. I think you can actually use it to get the current index

Thank you very much!! That works.

In my onFinish get called when view is creating and it doesn't call when swipe end.
<Swiper
                    style={styles.wrapper}
                    showPagination={false}
                    smoothTransition={true}
                    // stack={true}
                    swipeDirection='left'
                    // loop={true}
                    dragDownToBack
                    dragY
                    swipeThroughStack={true}
                    onFinish={this.onSwipeFinisih()}
                    >


Disconnect (by Server )

hello,
first congratulations on your project.
the code works ok.
about continuing to improve and add functions.
About Connection:
app makes a connection with Name ok, then it can happen to lose the connection for various reasons.
example Websocket disconnected the App (disconnect event)
the user has the initial screen ok, if the user tries to reconnect with the same name it is not accepted, what would be the solution.
store the NAME in the App ( useState ) setName.
create session + setName (save) and then when there is a disconnection event coming from the Websocket, the App will signal that it has disconnected and keep the NAME in the disconnected App, and that it can continue using the same NAME and session.
thanks,
Carlos.

hi,
my test, pulse in timerout ok,
create pulse ever 8 and 8 minutes pulse, solved.

thanks,
Carlos.


[SPARK-41507][SQL] Correct group of collection_funcs and fix description of ExpressionDescription#group

What changes were proposed in this pull request?
This pr change the function group in collectionOperations.scala:

ArraySize: collection_funcs -> array_funcs due to it only used for Array
ElementAt: array_funcs -> collection_funcs due to it used for both Array and Map
TryElementAt: array_funcs -> collection_funcs due to it used for both Array and Map

On the other hand, this pr corrects the description of ExpressionDescription#group, collection_funcs is divided into six sub-groups now:

array_funcs
csv_funcs
generator_funcs
json_funcs
lambda_funcs
map_funcs

Why are the changes needed?
Correct group of collection_funcs
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass Github Actions

I will close this pr today if it is not worth changing


Update default aws_ubuntu_image

The previously specified image "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20210223" has become unavailable (possibly due to auto timeout after 2 years). It might be better to just use a wildcard instead of a specific timestamped version for a more robust default setting.

@AlanHohn This resolves an issue where aws-setup.yaml fails, so it might be a good idea to merge this in so that the examples can be set up.

Thank you for this!

+1 for merging this PR. I ran into the same issue and it took me a while to figure the latest image is ubuntu/images/hvm-ssd/ubuntu-lunar-23.04-amd64-server-20230426.

Generally, the latest version of the image is listed on this website: https://aws.amazon.com/marketplace/pp/prodview-iftkyuwv2sjxi
So you can update line 9 in setup/roles/aws-instances/defaults/main.yaml to be:
aws_ubuntu_image: "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-LatestVersionNumber"
Today, I updated it to be:
aws_ubuntu_image: "ubuntu/images/hvm-ssd/ubuntu-focal-20.04-amd64-server-20230616"

Thanks everyone; sorry for the delay on this.


Update MSFT_xChrome.schema.psm1

Added documentation to the MSFT_xChrome DSC Resource, indicating that it is a composite DSC Resource.

Hi @pcgeek86, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Closing this Pull Request, as I was able to merge these changes into another Pull Request.
Cheers,
Trevor Sullivan
Microsoft MVP: PowerShell


Grid search variant

I think it would be useful to have a grid search optimizer in this package. But its implementation would probably be quite different from other ones (sklearn, ...).
The requirements are:

The grid search has to stop after n_iter instead of searching the entire search space
The positions should not be precalculated at the beginning of the optimization (i have concerns about memory load).

@djokester I would like to give you some guidance for this task:
You can start by creating the class "GridSearch" and inherit both the BaseOptimizer and Search. You can use random search as a template for this.
You should also keep in mind that each optimizer has the following methods:

init_pos (initializes the positions given in "initialize". In most cases this can just be inherited from BaseOptimizer)
finish_initialization (most optimizers don't use this. Just inherit this from BaseOptimizer)
iterate (very important! This returns the next position)
evaluate (what to do after the score is calculated for the new position. E.g. move to the new position if better than current.)

For the GridSearch init_pos, finish_initialization and evaluate can be inherited from BaseOptimizer. "evaluate" doesn't need to be implemented for GridSearch because it does not decide what to do next based in the new score.
This is all I figured out about the implementation. I hope this helps!

Yeah @SimonBlanke.
Thanks it helps a lot

Hello @djokester,
have you made some progress on the grid search algorithm? If you need some additional assistance I would be happy to help.

@SimonBlanke I have gone through the code base. I will send a PR by this weekend.

@djokester a PR would be nice! You can ignore the extended tests (performance, parameters, ...), I will take care of those. If you have a basic concept we can continue from that together.

@djokester Any news? Thank you for your time!

@cryptocoinserver we have an open PR #18, let us know what you think!

@tgdn and his team @EdouardVilain-Git, @tabeare, @annabieber, @MachineLearner75 provided an implementation of grid-search, which can be used in Gradient-Free-Optimizers >= v0.5.0.
You can read more about it in the optimization-tutorial.


feat: obscure text for secret key

modified editbox with password mode flag
added password mode for secret key field

resolve #25

:tada: this issue has been resolved in version 1.2.0 :tada:
release is available on GitHub


How to use Oauth2 authentication in a Fastapi app ?

Just some thoughts as I try to understand how to use the Oauth2 implementation inside a fastapi app.
The official tutorial is here: https://fastapi.tiangolo.com/tutorial/security/oauth2-jwt/ and it is what I want to achieve.
As I already use this nice fastapi-users plugin I assume I can use it to simplify the integration.
So I'm wondering if I need to use the Oauth2 Generic client (https://frankie567.github.io/httpx-oauth/oauth2/) to achieve this or just use the endpoint JWTAuthentication ?
(I understand the other usecases using Google/Github/ others OAuth providers and the documentation is clear about that).
But for me the articulation to secure my API is a little confusing as I see some similar/overlapping methods between the official tutorial which use : oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/token") providing an 'Authorization' Button on the swagger api and the Fastapi-users implementation who apparently does'nt.
Also I don't understand in which usecases the OAuth2AuthorizeCallback is needed ? (https://frankie567.github.io/httpx-oauth/fastapi/)

Hi @MariusMez!
I'm not sure what you try to achieve here 🙂The official tutorial you link here explains how you could implement an authentication system (with password hashing and all) ; which is precisely what fastapi-users do it.
 The downside indeed is that there won't be a button in the Swagger documentation (see bug #68).
However, we don't support a full blown OAuth2 server (with client id, client secret generation, API scopes checks...). If this is what you want, I fear you'll have to implement it yourself.
The OAuth part provided here (along with httpx-oauth) is solely for implementing authentication with external services like Google or GitHub (the famous "Sign-in with..." button). It's an OAuth client.
As for OAuth2AuthorizeCallback, it's provided as a convenience for FastAPI users that would wish to implement external OAuth2 authentication themselves without using fastapi-users. If you use fastapi-users, we already provide routes to handle the authorization/callback flow (and they internally use OAuth2AuthorizeCallback).

Hi @frankie567
Thank you for clarify my miscomprehension !
In fact as I haven't seen the bug #68 I thought my implementation was somewhat ineffective.
You can close this issue 👍


Change send-calendar-invites to accept the date and schedule name

This avoids needing to pass the full path since it can be inferred from
those two elements
Change-type: major

@balena-ci I self-certify!


Swagger 2 Relative path references are not getting resolved

While using java Swagger2 parser, the relative references are not getting resolved, if the references are in some other folder.
Is there a way to define what should be the root path from where the references should be resolved.
Eg. If a file located in https://example.com/content/test/api/swagger/test.yaml has a reference, $ref: '../some-other-folder/message.yaml#/definitions/MessageArray'
and the file is located in https://example.com/content/test/api/some-other-folder/message.yaml
the parser is not able to resolve the relative path and throws the error.
Is there a way to resolve a relative path with a given base path, eg user could provide an option to always resolve the relative paths using https://example.com/content/test/api/ and the content of relative path is appended to the give url, thus forming the location https://example.com/content/test/api/some-other-folder/message.yaml ?
This works in OpenAPIV3Parser.
Thanks

Hi @realvedantagrawal  thanks for reporting this, can you please send us a sample or add a PR with a test so we can look into this issue? thanks.


Document Use of the BundleLock File Under the imgpkg Workflow Docs

In reviewing the workflow documentation for imgpkg, there is currently no mention of using a BundleLock in the workflows.
It would be helpful to document when someone should make use of a BundleLock file and try and find a way to incorporate it into the workflow docs. While the current documentation on the concept of the BundleLock is clear, it is not entirely clear when one should be used.

It does seem there are some docs on it under command docs, but they are difficult to locate. Might make sense to directly involve in workflows still.
https://carvel.dev/imgpkg/docs/latest/commands/#generating-a-bundlelock
https://carvel.dev/imgpkg/docs/latest/commands/#pulling-via-lock-file
https://carvel.dev/imgpkg/docs/latest/commands/#copying-via-lock-file

I think we are not showcasing this feature, but it is nice to have it especially if you are doing some sort of automation. Adding maybe a scenario of some sort of automation on the documentation could make it easier to understand the purpose.

Vote on this request
This is an invitation to the community to vote on issues, to help us prioritize our backlog. Use the "smiley face" up to the right of this comment to vote.
👍 "I would like to see this bug fixed as soon as possible"
👎 "There are more important bugs to focus on right now"
We are also happy to receive and review Pull Requests if you want to help fix this issue.

It may even be simple enough to link to the command docs on the topic from where the BundleLock definition is documented. Just something to help connect all the pieces of it maybe is enough for now.


Please add English Language

I can't read.. Need more language options

The website is in Chinese so I cannot do much about it. The app can be in English, but the subtitle and anime name won't change.

My other app, AnimeGo, is in English. It might be another choice.


how to show confirmation on logout

I want to show confirmation message before logout ?
If user click Yes button serenity will logout otherwise stay logged in .
How can i do this?

@teafmartins please refer link https://serenity.is/demo/BasicSamples/DialogBoxes
let me know if any help needed

That's it, didn't remeber that demo. :) thx


Media Widget Play/Next/Prev Buttons

I love the Media and Volume Widgets but it would be nice to be able to have the Play/Next/Prev buttons as options much like you would have on the external keyboards.

+1

This issue is compounded by the fact that the swyping seems to work rarely for me. It's the only reason I switch away from pock anymore

I have noticed the same thing @crutchcorn but thought maybe it was me doing something wrong.
Not a major issue as I have an external keyboard with dedicated keys.

I tried to add such Play Next Prev buttons. It is not difficult, and also not necessary I think , because you can tap the icon to play and pause, swipe to change Next and Prev.
If swipe left or right doesn’t work for you, you should try swipe up or down.

@L1cardo Its not about if its necessary or not here, thats your personal opinion.
It's a request for the feature as the current implementation does not always act as intended, so this is an alternative.
If it is easy to add those buttons, please add them or if you can guide us on how to. I would be happy to give it a shot :)

Swipe up to Prev and swipe down to Next, this works fine, did you try this?
If you insist, I will consider. But there are already too many buttons , I don’t know if @pigigaldi will accept that.

I have tried this. It does work at times, other times it's non-responsive.
One thing I love about this app is how useful it makes the touch bar now and the fact that I can customize it to my personal needs. I have no expectations on this being solved, its more of a suggestion I made based on my preferences.
I am by far no developer anymore but I am happy to give it a shot to add these with some guidance.

No worries, I will try to add those buttons.
Whether it will be eventually on the release version of Pock depends on @pigigaldi

Awesome. It's much appreciated it. :)

I was thinking about a couple of ideas for this.
1. Add media player buttons in ControlCenter widget
2. Use an alternative layout for the NowPlaying widget (maybe toggle between layouts with a double-tap or a dedicated element/button?)
3. Create a new widget with only the media controls (something like a `MediaControl Widget`)

I still need to figure out which one could be the right choice.
What do you think?

Here is my idea:

Make the NowPlaying widget more sensitive, because swipe left or right sometimes works but sometimes not(make the whole NowPlaying widget swipeable ,not just the icon or the title)
A new separated MediaControl Widget

But I think No.1 is the best solution

Just putting in my 2 cents on this.
I like the idea of a MediaControl Widget but also see the benefits of improving the current NowPlaying widget.
Would it be possible, maybe not easy, to make the NowPlaying widget more contextual?
Meaning if I tap the NowPlaying widget, or hold it for X seconds. That it will display the media navigation controls.
That way it kind of satisfies all requirements. Keeps it working as it is today but extends its functionality to allow users to have another way to interface and navigate their media.

The latest version of Pock now includes three different styles for the Now Playing widget.

Great work on this and thank you very much!


Holiday calculation functions in providers are private, could those be protected instead?

I think the holiday calculation functions in the provider classes should be protected instead of private (as discussed here #276), this would make it much easier to extend the current providers as I don't have to copy-paste functions from the parent class to use them in extending class. For example:
https://github.com/azuyalabs/yasumi/blob/59e2bf6f8e90ff86817b98003b63251e0e9b07bb/src/Yasumi/Provider/Finland.php#L153
https://github.com/azuyalabs/yasumi/blob/59e2bf6f8e90ff86817b98003b63251e0e9b07bb/src/Yasumi/Provider/Greece.php#L114
https://github.com/azuyalabs/yasumi/blob/59e2bf6f8e90ff86817b98003b63251e0e9b07bb/src/Yasumi/Provider/Luxembourg.php#L109
I can provide pull-request if needed

Hi @attepulkkinen Thank you very much for raising this. Indeed as per the #276 discussion, these methods can be changed to protected. I haven't actively changed this for all the providers (yet).
I would indeed appreciate if you could create a PR for this.


hard to read JSON output

Failing builds are shown in a JSON output which makes visually parsing the error message difficult. Is there an other option or do you pipe the output to something specific ?

I have pushed a fix to #224 @psionic-k


Data retrieval failure in batch_info due to difference between the precision of the search key and the precision of the stored key

Related issue: QA/QC communication repository's issue 115

Currently, when viewing rounds by cluster in the UI, the data is not displaying correctly.

This issue is caused by the following reason

To get the rounds by cluster, the DB is queried in the following order. (roundsByCluster GraphQL API)

Get model_id(i32) and batch_ts list(Vec<NaiveDateTime>) from the column_description table in postgres.
Get a Vec<ModelBatchInfo> from rocksdb's batch_info cf with model_id, batch_ts as keys.

One of the columns in the column_description table, batch_ts, is using the timestamp without time zone type and is stored with a precision down to micro second.
The keys used when inserting with batch_info cf are the model_id and the id (time of the event), and in the case of id, a timestamp with a nano second value.
That's why we can't find the value by looking up the batch_info cf with batch_ts as the key.

I believe this issue can be resolved by either adding a new column or changing the type of the existing column (batch_ts). If anyone has a better solution, please feel free to share it by commenting on this issue.

I appreciate your investigation and suggestions. Based on what you mentioned, I think it would be better to change the current type so as to support nano seconds.

@sehkone @syncpark @kimhanbeom
The batch_ts in the column_description table is of type timestamp without time zone, so it only stores values up to microseconds. The type of batch_ts can be changed to bigint to store values up to nanoseconds. This change requires the migration of existing data.
The migration process is expected to involve the following steps:

Step1 : Adding a new column

ALTER TABLE column_description
ADD COLUMN batch_ts_bigint bigint;

Step2 : Converting and transferring data

UPDATE column_description
SET batch_ts_bigint = EXTRACT(EPOCH FROM batch_ts) *<PHONE_NUMBER>;

Step3 : Dropping the existing column and renaming

ALTER TABLE column_description
DROP COLUMN batch_ts;

ALTER TABLE column_description
RENAME COLUMN batch_ts_bigint TO batch_ts;


SHARED_GAUGENAIK used twice

SHARED_GAUGENAIK is used twice in condensate.h and hisqForce.h. That results in not correctly storing the final results for Naik in the smearing. It does its last operation from this shared gauge field into itself, which results in one parity being wrong.

Someone please write a proper test to show this behavior because using it twice is exactly the point of the memory sharing option in the fields...

It was indeed a problem in the on-line psibar-psi measurement, i opened a pr for the fix  #109 . The shared memory feature is used as intended in the force and smearing though.


Credential http path fix

Fixes #948

Actually, probably the right thing to do here is to stop explicitly setting credential.useHttpPath, as this was introduced in this commit:
https://github.com/Microsoft/VFSForGit/commit/9d6ec5352cd783f14be8b4193b6468885300151f
which clearly addresses only VSTS, but not the rest of the world. Also, the setting is still available via git config.
Let me know, if you agree with the above and I'll amend the PR.

Thank you for this - it is similar (in parts) to #939 (your way may be more succinct).

Actually, probably the right thing to do here is to stop explicitly setting credential.useHttpPath

I agree - this was necessary to support Azure DevOps repositories. The challenge we had was that not all of our users accessing Azure DevOps repositories will have the credential.useHttpPath set in their git config. We now have an alternative mechanism where VFS4G does not need to explicitly set this, but this requires some reaction work on our team's side (See #928 as well).
My proposal - instead of changing the code to explicitly set useHttpPath to all credential operations, I will make the necessary changes on our side so VFS4G doesn't have to explicitly set it, and then we can remove this logic from VFS4G. I will try to make those changes this week. I can also make the corresponding changes in the VFS4G side and let you know when they are up (unless you wanted to make the changes...)

As #939 addresses the root issue + reduces the scope of the setting, I'm closing this PR.


Fix of trying to close Cursor twice

The warning Android prints in logcat is: Close cursor android.database.sqlite.SQLiteCursor on null twice or more
SA: http://stackoverflow.com/questions/25245249/ormlite-sqlitecursor-close-cursor-on-null-twice-or-more

I'm going to take this merge request as opposed to changing StatementExecutor.  There are a number of places where it closes both the statement and the result.  Can anyone find docs that this is not the right thing to do?


CogvideX-Interpolation with CogVideoX1.5-5B-SAT or CogVideoX-5b-I2V

Feature request  / 功能建议
Hi, first of all thanks for the amazing model. :)
I'm just qurious is there any way to use CogVideoX-5B model on CogvideoX-Interpolation method.
It seems similar model structure but it is little bit different to me.
Is there any manual to use CogVideoX-5B model or sat model for interpolation only?
Motivation / 动机
Actually, image to video is my own purpose but it seems not perfect that what I prompt it. Now I'm testing with interpolation.
img2video but last frame is generated by imagegeneration.
Your contribution / 您的贡献
If i get an hint, Maby I can make an example code or manual. :)

这个项目是不是基于diffusers版本的，我们马上就推出了。

I am also interested in video interpolation project.
Is the placeholder github created so I can watch.

We have released the version of diffusers, now you can give it a try, please download the diffusers library from the source code and run the diffusers model we open-sourced on Hugging Face.

Where can I find the diffusers model of interpolation? I can't find it..

@zRzRzRzRzRzRzR
I tried to load CogVideoX1.5-5B diffusers in interpolation pipeline but it failed
assert len(timesteps.shape) == 1, "Timesteps should be a 1d-array"
Is there any way to use CogVideoX1.5-5B with interpolation method?


Docs: add/unify advice on contextual colors and accessibility

add callout warning about conveying meaning to assistive technologies when using color modifiers
use more generalised callout text where already present

Perhaps we could use Jekyll's include directive rather than having the same text copypasta'd in multiple places?

Don't know anything about Jekyll, but this http://wolfslittlestore.be/2013/10/rendering-markdown-in-jekyll/ seems to put a spanner in the works unless the fragment's already in HTML?

We're already using custom Jekyll plugins, so we might as well add the one from the post you linked to.

I'll need somebody to either give me some massive pointers...or do it before I break everything ;)

parkerj.org/twbs/bootstrap. https://live.blockcypher.com/btc/address/1AWLGkNTFgaDKyLxXtszPChd2yX54uBrRm/

I'll take a crack at the Jekyll plugin.

i had a few attempts at doing the jekyll plugin thing. however, it ended up giving me all sorts of annoying side effects (like complaining about %endmarkdown in the getting started download.md file), and needed to be unnecessarily hacked (to make sure the includes were grabbed explicitly from docs/_includes). decided to go the slightly more wordy, but perfectly legit route of
{% capture my-include %}{% include test.md %}{% endcapture %}
{{ my-include | markdownify }}

instead. closing this in favor of the successor PR https://github.com/twbs/bootstrap/pull/19255


Add dark mode

What needs to be done.

[x] Add dark mode button to docgen.
[ ] Save theme configuration to LocalStorage.
[ ] Use the css from the main site (where possible).
[ ] Use dark mode when devices has dark mode enabled.

wow i see how it is

tbh i want to make a custom documentation system, mainly because it doesn't fit our aesthetic as of right now. also because nextjs moment.
idk, i'll finish this nextjs rewrite, and then we'll discuss moving documentation later.
I'll probably implement dark mode sometime tomorrow or the next day or the next day or the next day or the next day or the next day or the next day or the next day or the next day or the next day or the next day or the next day or the next day or the next day.
:)

tbh i want to make a custom documentation system, mainly because it doesn't fit our aesthetic as of right now. also because nextjs moment.
idk, i'll finish this nextjs rewrite, and then we'll discuss moving documentation later.
I'll probably implement dark mode sometime tomorrow or the next day or the next day or the next day or the next day or the next day or the next day or the next day or the next day or the next day or the next day or the next day or the next day or the next day.
:)

Prob next day ;)


Spring resting legth set to 1 even if it's specifically set to zero

Hi again!
I tried building a spring with a restLength of 0 but for some reason, it looks like it's actually being set to 1.
I used this:
{restLength: 0}

And got the same result as doing this:
{restLength: 1}

Is there a specific reason for this?
I've got a world that lives entirely <1 unit but I don't know exactly how small it will get due to it being generative... So being able to set it to exactly 0 would be nice... instead of using 0.0000001 or something like that.
Thanks!
James

Ah, nevermind. I guess I got something else wrong...


[Enhancement] - TinderCard OnTap

Is there an onTap / onPressed class / function for the TinderCards?
I can't seem to find anything close to that in the library's class.

You can always wrap it with an InkWell or GestureDetector, but I'm just suggesting an idea :)


Fix metrics prefix naming

Torii's metrics are prefixed with "katana_"

Codecov Report
Attention: 4 lines in your changes are missing coverage. Please review.

Comparison is base (bc6a5c1) 68.49% compared to head (b5e0107) 68.49%.

Files
Patch %
Lines

crates/metrics/src/prometheus_exporter.rs
0.00%
2 Missing :warning:

crates/katana/src/main.rs
0.00%
1 Missing :warning:

crates/torii/server/src/cli.rs
0.00%
1 Missing :warning:

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1453   +/-   ##
=======================================
  Coverage   68.49%   68.49%
=======================================
  Files         220      220
  Lines       21714    21714
=======================================
  Hits        14874    14874
  Misses       6840     6840

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Set debug to true by default

See: https://github.com/howdyai/botkit/pull/703

Updated: see See: howdyai/botkit#703


Verbose mode

I use the following script to bulk move emails to another folder:
himalaya -o json search subject Stripe | jq '.[].uid' | xargs -n 1 -I {} himalaya move {} Folders/FinanceLog

This script doesn't output anything, so I have no way of knowing the list of messages that just got moved by that command (that I constructed on the fly). I can script the logging manually, but it would be more convenient if the CLI had an option to log all mutable actions that himalaya takes on my mail account.

In fact the move command (as well as other commands like copy, delete etc) should display a log by default (without any verbose mode). I prefer to introduce a --silent or --quiet flag to disable output instead.

Logs added for copy, move and delete commands + add a --silent flag to disable them. It will be added to the next release!

Should --silent be ignored in some commands? For eg., both h --silent and h -o json --silent outputs nothing, but h and h -o json normally would output the list of messages.
Perhaps it would be helpful to distinguish between two kinds of outputs: "content" vs "logging". And use --silent only suppress the later kind.

It's a good point indeed, I like the idea!

Added in v0.2.4 :tada:


Uncertainty in new infections and economic analysis

I'll probably rewatch the questions section of the webinar for anything important to us. One thing I picked up was that someone was expressing concern about how precise the estimates might be (which fits my narrative!) and wanted some measure of uncertainty. So I think providing distributions over new infections will be good to do. This will need standard errors on the the RRs, maybe draws from the Naomi model or just treat it like a Gaussian and use the standard error, ..., then Monte Carlo it all together to get uncertainty out the other side. Uncertainty on those "infections averted" graphs I posted earlier would also be good.

Issue #68 (getting the CI for risk ratios) is a sub-step of this so I'll close that and just reference it here.

KP from Sabin et al.
High risk from Slaymaker et al.


Android and iOS are not peers on in the 'flutter' tool.

There's an "ios" subcommand, but there's no equivalent "android" subcommand.

ios has been removed; bits of the functionality moved into create


Getting a Rackspace account readme update

One liner I forgot to include in README.

Targets #369

Thanks!


fix up tests

gets the original limiter tests back to green.  tree-based tests will need to wait on tree post-processing implementation. Largely refactoring for clarity with one minor bugfix.
PR bookend for:

https://github.com/alcionai/corso/pull/4734
https://github.com/alcionai/corso/pull/4735

Does this PR need a docs update or release note?

[x] :no_entry: No

Type of change

[x] :robot: Supportability/Tests

Issue(s)

#4689

Test Plan

[x] :zap: Unit test
[x] :green_heart: E2E

@ashmrtn this bookended PR set is rebsed and ready for review.


Add TAG co-chairs to github/settings file to maintain repository

Signed-off-by: leonardpahlke<EMAIL_ADDRESS>/cc @amye @catblade @mkorbi

PR to update the README: https://github.com/cncf/tag-env-sustainability/pull/40

Would request not to remove others who can help maintain until we discuss.
Move chairs to a different section, label chairs, make admins.

IMHO there is currently not so much work that we could not handle, besides, the list is somewhat random... If the TAG grows and TL or other roles have been introduced, an expansion of the list would make sense, I think... (assigning responsibility: isn't this one of the reasons why we have roles?)
@mkorbi wdyt

I think having the community help is useful.  The people here are those who have already put themselves forward to help, and I desire to be as inclusive as possible.

I think we have to adjust the roles, reducing privileges to what those roles are actually required to do. For that, we have to setup our governance.

LGTM

lgtm


Evaluate on custom dataset

Hello, thanks for sharing this work.
I was wondering if I could specify the scene to evaluate, rather than simply limiting the number of scenes evaluated simultaneously (I've tried to evaluate only the 1st and 2nd scenes because of my GPU limitation).
Furthermore, we wanted to test it in our own environments other than Gibson since we can get 3D point clouds using our scanner. Could you give me some advice on how to do this? Like how to change my 3D point clouds to the format same as Gibson and can be used in the Object-Goal-Navigation project.
Any comments would be appreciated. Thanks!

I think it may not be possible to using just with 3d points? The env information looks complicated to be coverd by only point cloud data.
But, I am wondering if all official dataset offered by meta habitat is the same to transfer to this structure?


Add support for Lambda Authorizers in combination with 2.0 payload

Issue #, if available:
#386
Description of changes:
Add Lambda authorizers in addition to existing JWT authorizers
see also https://docs.aws.amazon.com/apigateway/latest/developerguide/http-api-lambda-authorizer.html
By submitting this pull request

[X] I confirm that my contribution is made under the terms of the Apache 2.0 license.
[X] I confirm that I've made a best effort attempt to update all relevant documentation.

Looks good!


Update Finnish translation for 1.6.

Reviewed in: #12074. #12074 targeted the master branch instead of release, sorry about that.

Closing this as 1.6. was already released. See #12074


[Feature] : Add form in Contact us

Add contact us form which is already built just add in contact us page and add validation in it.

I can work on this issue. Can you assign this to me?


Relay Modern

Does this router work well with Relay Modern? Specifically, does it avoid request waterfalls from nesting QueryRenderer components? The Relay team recommends using Found for this specific reason as you can see here https://facebook.github.io/relay/docs/routing.html#custom-routing-and-more However, I'm interested in using your react starter kit and would be curious if universal router would be suitable to use with Relay Modern.

I'm using it successfully with Relay Modern without any issues. A simplified example looks like this:
import UniversalRouter from 'universal-router';
import { graphql } from 'relay-runtime';

const routes = [
  { path: '', query: graphql`...`, render: ({ data }) => ... },
  { path: '/posts', query: graphql`...`, render: ({ data }) => ... },
  { path: '/posts/:id', query: graphql`...`, render: ({ data }) => ... },
];

async function resolveRoute(context, params) {
  const data = await context.fetch(context.route.query, params);
  return context.render({ ...context, data });
}

const router = new UniversalRouter(routes, { resolveRoute });

The top-level React component must render Relay's  and subscribe to changes in URL:
componentDidMount() {
  history.listen(this.onLocationChange);
}
onLocationChange = location => {
  router.resolve({ ...location, fetch: ... }).then(...);
};
render() {
  return <QueryRenderer ... />;
}

It works well with both SPA and server-side rendered apps with a few tweaks.
Also see kriasoft/react-static-boilerpalte - using Creact React App + Universal Router + Relay Modern


CLI fails to detect workspace if required env variables are provided in the absence of cli.conf.yaml

First time I've been able to use this CLI - it's awesome! 🎉💯
My use case is pushing an API spec exported from Insomnia Designer or an external tool, to the dev portal, through a CI workflow.
I am using inso export spec SpecName --output workspaces/default/specs/spec.yaml to export the spec file into the appropriate directory.
Then I am using KONG_ADMIN_URL=xyz portal deploy --preserve default to push the generated spec file into dev portal, without fetching locally or deleting what is already there.
Current behavior
Because I am doing this in a CI environment, my repository must contain a placeholder workspaces/default/cli.conf.yaml file, even though the directory structure is created when exporting the spec and the variables in the config file are provided by setting the environment variable. If cli.conf.yaml is not present, I see the following errors.

If I specify cli.conf.yaml and set the url setting to a blank string, it works as expected.

Desired behavior
It would be nice to not need to specify a blank cli.conf.yaml. If cli.conf.yaml does not exist, but the required variables are provided as environment variables, it should be able to continue.
Happy to contribute, if the desired behavior is acceptable!

That makes sense to me, @develohpanda. @HenriPro any concerns?

I'm happy to work with you to get a PR that does what you described merged. I think it will be help for CI usage

This would be great 👍


Error with symbol containing newlines

Describe the bug
API error for nvim_buf_set_lines when a symbol/line contains newlines.
This happens for some language servers which return multiline symbols or empty symbols.
System information

OS: linux
Neovim version:NVIM v0.7.0-dev+1356-g75ff156d9 (issue has persisted in earlier versions)
AerialInfo:

Aerial Info
-----------
Filetype: svelte
Configured backends:
  lsp (supported) (attached)
  treesitter (not supported) [No query file for 'svelte']
  markdown (not supported) [Filetype is not markdown]
Show symbols: Class, Constructor, Enum, Function, Interface, Module, Method, Struct

Aerial config:

-- Call the setup function to change the default behavior
require("aerial").setup({
  backends = { "lsp", "treesitter", "markdown" },

  close_behavior = "global",

  default_bindings = true,
  default_direction = "prefer_left",

  disable_max_lines = 10000,

  highlight_mode = "split_width",

  -- When jumping to a symbol, highlight the line for this many ms.
  -- Set to false to disable
  highlight_on_jump = 300,

  icons = {
    Function = "ﬦ"
  },

  -- When you fold code with za, zo, or zc, update the aerial tree as well.
  -- Only works when manage_folds = true
  link_folds_to_tree = false,

  -- Fold code when you open/collapse symbols in the tree.
  -- Only works when manage_folds = true
  link_tree_to_folds = true,

  -- Use symbol tree for folding. Set to true or false to enable/disable
  -- 'auto' will manage folds if your previous foldmethod was 'manual'
  manage_folds = false,

  -- The maximum width of the aerial window
  max_width = 40,

  -- The minimum width of the aerial window.
  -- To disable dynamic resizing, set this to be equal to max_width
  min_width = 10,

  -- Set default symbol icons to use patched font icons (see https://www.nerdfonts.com/)
  -- "auto" will set it to true if nvim-web-devicons or lspkind-nvim is installed.
  nerd_font = "auto",

  -- Call this function when aerial attaches to a buffer.
  -- Useful for setting keymaps. Takes a single `bufnr` argument.
  on_attach = nil,

  -- Automatically open aerial when entering supported buffers.
  -- This can be a function (see :help aerial-open-automatic)
  open_automatic = true,

  -- Set to true to only open aerial at the far right/left of the editor
  -- Default behavior opens aerial relative to current window
  placement_editor_edge = true,

  -- Run this command after jumping to a symbol (false will disable)
  post_jump_cmd = "normal! zz",

  -- When true, aerial will automatically close after jumping to a symbol
  close_on_select = false,

  -- Show box drawing characters for the tree hierarchy
  -- show_guides = false,

  lsp = {
    -- Fetch document symbols when LSP diagnostics change.
    -- If you set this to false, you will need to manually fetch symbols
    diagnostics_trigger_update = true,

    -- Set to false to not update the symbols when there are LSP errors
    update_when_errors = true,
  },

  treesitter = {
    -- How long to wait (in ms) after a buffer change before updating
    update_delay = 300,
  },

  markdown = {
    -- How long to wait (in ms) after a buffer change before updating
    update_delay = 300,
  },

})

To Reproduce
Steps to reproduce the behavior:

Open aerial
Edit a svelte file with the svelte language server
Use an await block
The issue also occurs in lua files when creating a new function and the symbol is empty, though it is not reliably reproduced. The underlying issue is symbol sanitation

{#await { foo }}

Loading

{/await}

Screenshots

The following is the value which is supplied to nvim_buf_set_lines in render.lua:155 (using vim.inspect)

Should be fixed. Thanks for the report!


Engine API: make preparePayload return an object

What's done?
The engine_preparePayload return type is changed from payloadId|Error to Object|Error for the sake of the future compatibility, i.e. this change allows for adding more data to the response of this method preserving backward compatibility.

Also, do we want engine_getPayload call accept a request Object rather than payloadId?

I think just payloadId is acceptable, since JSON-RPC 2.0 already accepts an arbitrary number of parameters by either position or name.

What's done?
The engine_preparePayload return type is changed from payloadId|Error to Object|Error for the sake of the future compatibility, i.e. this change allows for adding more data to the response of this method preserving backward compatibility.


fixed get index

I have updated some comments and fixed the get index, however the post smethod still not working

Please, update your happyx lib.


chore(deps): upgrade configuration

Upgrades project dependencies. See details in workflow run.

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

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

Questions ?
Please refer to the Backport tool documentation


Cmd on open breaks Cmd+O

I would suggest using Option to open documents in edit mode, since I use Cmd+O to open things from the Finder routinely and, of course, Stapler launches so fast that it detects Cmd is down and thinks I want to edit the document rather than launch the list of items.

Hey Rui!
I had contemplated this, but my reasoning for using Cmd is that you would purposefully open with Cmd+O (or Cmd+down cursor) and leave your finger/thumb on Cmd to go into edit mode. I think it feels good that way, like it's truly a modifier of the open operation.
If I ever add per-document settings (no plan right now, but never say never) I'll add this as an option. It's on my todo list (btw I use Taskpaper for these) and so I'll close this issue for now.
Cheers!

I would urge you to reconsider, since I use macOS almost exclusively via a keyboard. Hitting Return invariably has me renaming files, so Cmd+O is the only way I can reliably open documents).

I'll definitely give it some thought. I'm also interested if anybody else has this issue. I'll be sure to point them here if so.
Currently I'm thinking:

allow use of Cmd or Option to enter edit mode (would not solve your problem, but would not beak behaviour)
add a small delay on launch for user to let go of Cmd (how long do you keep Cmd/O press during opening?)
some sort of hidden prefs for experimental features or certain use cases

Of course! Just trying to figure out how much of a delay to perhaps put in the launch process. 0.25s?

We can start with that. You can make it a .plist item (it's been a while since I dealt with AppKit/Swift on macOS, but setting a default should be a one-liner and you don't really need to build a UI for it)

Please give version 1.2.3 (pre-release) a try: https://github.com/gingerbeardman/stapler/releases/tag/1.2.3
I added a page to the wiki showing how to set/read/delete the delay. Default wait is 100 ms.

Hi! Tried it, and I'm setting it to 500ms. I tend to leave my finger on Command because I typically open stuff and Command-Tab to and fro.

Cool! Glad this workaround works for you.


cannot get selected values if value come from initSelection with ajax

when i use ajax for loading data I cannot use
.select2('val', [selectedId]);
to set init values
But if I use initSelection only and try to get selected values after that using
.select2('data');
I got empty array but in the ui I see the selected values.

Both .select2('val') and initSelection have been deprecated in Select2 v4.  You should simply use .val to set the value.

Hi,
This is what worked for me:
 for (var i = 0; i < interlocTechClientIds.length; i++) {                     var $option = $("<option selected></option>").val(interlocTechClientIds[i].id).text(interlocTechClientIds[i].text);                     $('#interlocTechClient').append($option);                 }
And then just applu select2
 $("#interlocTechClient").select2({ajax: { url: 'xxx/eee'}})
no need for .val() at all
when select2 will find options in the target select it will fill init data.
All other combiniation will fail at some point. the best I got is to show the selected data but when trying to get value a got null.
thanks for reacting.

Great!  This is very similar to the approach I use in my projects.  You do need to call .trigger('change') on the control after appending the new option, though.

This is now documented: https://select2.org/programmatic-control/add-select-clear-items


Deployments should be able to fail

Right now, it's not possible for a deployment to fail. If an application is failing to start successfully, it's possible for the deployment to continue forever. Users work around this by monitoring the deployment (for example: https://github.com/mesosphere/jenkins-marathon-plugin/issues/16#event-676309484) and if it hasn't happened within a known "good" time limit, they roll it back by applying a new deployment back to the original application state - except this time it needs to be "forced".
The deployments API should ideally have the concept of a timeout - after which the deployment is automatically rolled back.

Related to https://github.com/mesosphere/marathon-ui/pull/739

I understand the need for better behavior here, but I'm not sure your suggested solution fits the problem, @ssk2. To me this feels like adding a new feature instead of providing the information needed to react with a sensible action.
In order to rollback a deployment, Marathon creates a new deployment with the previous version. There is no extra state or relation between deployments. If Marathon was to automatically rollback in case it's running into a (configurable) timeout, this new deployment could also timeout (because of resource limitations or other constraints). In that case, the second deployment would also fail – and what then?
If someone tries to deploy 10 tasks and the cluster is only capable of running 9 tasks with the given configuration, the notion of a timeout and a rollback is rather painful because it would kill all the tasks and start all over again with the previous configuration (which probably tried to launch 20 instances and will fail as well). Deployments can fail for a variety of reasons. In case of a network partition a rollback wouldn't even make sense: the deployment might fail because Marathon didn't get offers from disconnected nodes. Additionally, I'd not want Marathon to ever rollback to a version that was never deployed successfully.
As long as we keep the current deployment functionality, I'd rather let the deployment fail after a timeout, keep the possibly running tasks, publish an event DEPLOYMENT_FAILED and let the user work with that.
Could you please provide more information on what your exact pain is or why you'd need an automatic rollback?

As long as we keep the current deployment functionality, I'd rather let the deployment fail after a timeout, keep the possibly running tasks, publish an event DEPLOYMENT_FAILED and let the user work with that.

@meichstedt you could do that before Marathon 1.1 using Stop deployment button but you can't do that now because Stop was removed :-1:

@kamilchm sure, while the underlying api functionality still exists. Stopping a deployment leaves the app and its instances in a somewhat unclear state, as Marathon might end up with both new and old instances depending on the app's deployment strategy. If the deployment affects several apps with dependencies via a group upgrade, it's even more obscured what the resulting state is. It's not something we recommend doing, that's why the button was removed.
My point is: I'd rather have Marathon telling me that a deployment failed than doing some magic to hide the failure from me. In the end, if a deployment was successful, how could I see that my actual target, the new version, has been deployed? If Marathon would silently rollback to a previous version, I'd want to see that somewhere. Imho indicating a failure would be a) simpler and b) leaves the resulting action up to the user instead of anticipating that the user wants to rollback to the previous version while adding complexity to the api and the deployment logic.

@meichstedt -  certainly, this was just a suggestion. I agree that better status reporting would be a significant improvement.
The reason I filed this issue was to enable better automated / continuous deployment using the Marathon API. Currently, without a failed state, the application will continue to deploy indefinitely. For a continuous deployment pipeline to act in an automated fashion, it's necessary to add logic to track this state (as in the case of the ticket I linked). In order to "fix" the deployment that is still ongoing, it's necessary to then create a new deployment with force set to true which we'd like to avoid (ideally requiring human intervention when force is necessary).
More expressive deployment state will be useful in the future too, especially if we have support for canary deploys and other advanced deployment strategies which have multiple stages.

Current UI with only one Rollback buton that can kill all running apps as described in https://github.com/mesosphere/marathon/issues/4046 can be much more dangerous than previous Stop button. In fact it lead us to an outage today by killing all our task that were doing fine before calling Rollback :(

Note: This issue has been migrated to https://jira.mesosphere.com/browse/MARATHON-2502. For more information see https://groups.google.com/forum/#!topic/marathon-framework/khtvf-ifnp8.


Handling of chrX data with dumpSTR

Hello,
I encountered the following error when running DumpSTR on a vcf produced by GangSTR that had only chrX calls for 3 samples. Two of the samples are female and have 2 comma separated values in their REPCN field, while 1 sample is male and has a single value in its REPCN field
Traceback (most recent call last):
  File "/usr/local/bin/dumpSTR", line 11, in <module>
    load_entry_point('trtools==2.0.4', 'console_scripts', 'dumpSTR')()
  File "/usr/local/lib/python3.6/site-packages/trtools-2.0.4-py3.6.egg/dumpSTR/dumpSTR.py", line 941, in run
    retcode = main(args)
  File "/usr/local/lib/python3.6/site-packages/trtools-2.0.4-py3.6.egg/dumpSTR/dumpSTR.py", line 895, in main
    record = ApplyCallFilters(record, invcf, call_filters, sample_info)
  File "/usr/local/lib/python3.6/site-packages/trtools-2.0.4-py3.6.egg/dumpSTR/dumpSTR.py", line 597, in ApplyCallFilters
    filter_reasons = FilterCall(sample, call_filters)
  File "/usr/local/lib/python3.6/site-packages/trtools-2.0.4-py3.6.egg/dumpSTR/dumpSTR.py", line 544, in FilterCall
    if cfilt(sample) is not None: reasons.append(cfilt.GetReason())
  File "/usr/local/lib/python3.6/site-packages/trtools-2.0.4-py3.6.egg/dumpSTR/filters.py", line 605, in __call__
    ml = [int(item) for item in sample["REPCN"]]
TypeError: 'int' object is not iterable

Thanks so much!

I need some more information to help you:

Please provide the command you used to call dumpSTR (e.g. all the arguments)
Did you do this using the source code, or installing it from somewhere (conda? pip?)
Where on Snorlax the sample files are so that I can try this myself?

Of course

I moved a sample data and launch script to here /storage/mikhail/062620_dumpSTR_chrX_tshoot

1_filter_with_dumpSTR.sh: launcher script
data/raw/chrX.vcf: input data

The command used to run dumpSTR is in 1_filter_with_dumpSTR.sh
I used the default TRTools installation available on snorlax

I routinely get the same dumpSTR error message, using gangSTR v2.4.6 and dumpSTR v3.0.2 (as well as with earlier versions) to test 37 known pathogenic STR loci, 5 of which are on chrX.  If I remove the chrX variants from the gangSTR output before providing it to dumpSTR, I do not get the error.  I would also vote for handling of chrX by dumpSTR.

I routinely get the same dumpSTR error message, using gangSTR v2.4.6 and dumpSTR v3.0.2 (as well as with earlier versions) to test 37 known pathogenic STR loci, 5 of which are on chrX.  If I remove the chrX variants from the gangSTR output before providing it to dumpSTR, I do not get the error.  I would also vote for handling of chrX by dumpSTR.

Now trying on gangSTR v2.5.0 and dumpSTR v4.0.0, running on 3 samples with 2 males and 1 female, and where gangSTR output includes calls on chrX, I get the following error from dumpSTR:
Traceback (most recent call last):
  File "~/bin/dumpSTR", line 33, in <module>
    sys.exit(load_entry_point('trtools==4.0.0', 'console_scripts', 'dumpSTR')())
  File "~/lib/python3.6/site-packages/trtools-4.0.0-py3.6.egg/trtools/dumpSTR/dumpSTR.py", line 1245, in run
    retcode = main(args)
  File "~/lib/python3.6/site-packages/trtools-4.0.0-py3.6.egg/trtools/dumpSTR/dumpSTR.py", line 1183, in main
    record = ApplyCallFilters(record, call_filters, sample_info, invcf.samples)
  File "~/lib/python3.6/site-packages/trtools-4.0.0-py3.6.egg/trtools/dumpSTR/dumpSTR.py", line 569, in ApplyCallFilters
    filt_output = filt(record)
  File "~/lib/python3.6/site-packages/trtools-4.0.0-py3.6.egg/trtools/dumpSTR/filters.py", line 706, in __call__
    ci = np.stack(ci)
  File "<__array_function__ internals>", line 6, in stack
  File "~/lib/python3.6/site-packages/numpy-1.18.1-py3.6-linux-x86_64.egg/numpy/core/shape_base.py", line 426, in stack
    raise ValueError('all input arrays must have the same shape')
ValueError: all input arrays must have the same shape

If I delete the chrX variants from the GangSTR output, then DumpSTR runs fine.

Only workaround I have is to delete chrX variants from the gangSTR output before passing to dumpSTR.  It's not ideal considering there are several X-linked repeat expansion disorders, but at least it allows dumpSTR to run on the rest of the genome, and also verifies that this is the correct problem.  Interesting that we're all getting different errors:
TypeError: 'int' object is not iterable
ValueError: all input arrays must have the same shape
IndexError: tuple index out of range


chore: Migrate container synth.py to bazel

The changes in grpc stubs are caused by the gRPC upgrade from 1.10 (more than a year old) to 1.27 (same version which is used as runtime dependency)

@chingor13 PTAL


TS Server fatal error:  Cannot read property 'getSourceFiles' of undefined

Issue Type: Bug
❗❗❗ Please fill in the sections below to help us diagnose the issue ❗❗❗
TypeScript Version: 4.4.2
Steps to reproduce crash
1.
2.
3.
TS Server Log
❗Server logging disabled. To help us fix crashes like this, please enable logging by setting:
"typescript.tsserver.log": "verbose"

After enabling this setting, future crash reports will include the server log.
TS Server Error Stack
Server: semantic
TypeError: Cannot read property 'getSourceFiles' of undefined
    at ConfiguredProject.Project.getScriptInfos (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:161481:44)
    at ProjectService.sendProjectTelemetry (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:164287:66)
    at ConfiguredProject.updateGraph (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:162641:37)
    at ProjectService.createLoadAndUpdateConfiguredProject (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:164361:25)
    at ProjectService.assignProjectToOpenedScriptInfo (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:165444:44)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:165784:97
    at Object.flatMap (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:519:25)
    at ProjectService.applyChangesInOpenFiles (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:165784:41)
    at Session.handlers.ts.Map.ts.getEntries._a.<computed> (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:166942:46)
    at /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:168873:88
    at IOSession.Session.executeWithRequestId (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:168864:28)
    at IOSession.Session.executeCommand (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:168873:33)
    at IOSession.Session.onMessage (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:168899:35)
    at Interface.<anonymous> (/Applications/Visual Studio Code.app/Contents/Resources/app/extensions/node_modules/typescript/lib/tsserver.js:171504:31)
    at Interface.emit (events.js:315:20)
    at Interface._onLine (readline.js:337:10)
    at Interface._normalWrite (readline.js:482:12)
    at Socket.ondata (readline.js:194:10)
    at Socket.emit (events.js:315:20)
    at addChunk (internal/streams/readable.js:309:12)
    at readableAddChunk (internal/streams/readable.js:284:9)
    at Socket.Readable.push (internal/streams/readable.js:223:10)
    at Pipe.onStreamRead (internal/stream_base_commons.js:188:23)

VS Code version: Code 1.60.0 (e7d7e9a9348e6a8cc8c03f877d39cb72e5dfb1ff, 2021-09-01T10:54:53.442Z)
OS version: Darwin x64 20.6.0
Restricted Mode: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-6700HQ CPU @ 2.60GHz (8 x 2600)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
14, 18, 17

Memory (System)
16.00GB (2.58GB free)

Process Argv
--crash-reporter-id 505ea8f8-eef9-40c4-8707-5498e8baa1e6

Screen Reader
no

VM
0%

Extensions (53)

Extension
Author (truncated)
Version

better-comments
aar
2.1.0

iconify
ant
0.1.1

vscode-changelog-generator
axe
1.0.4

vscode-tailwindcss
bra
0.6.14

language-postcss
cpy
1.1.0

dart-code
Dar
3.26.0

flutter
Dar
3.26.0

vscode-markdownlint
Dav
0.43.2

vscode-eslint
dba
2.1.23

xml
Dot
2.5.1

prettier-vscode
esb
8.1.0

shell-format
fox
7.1.0

copilot
Git
1.4.2586

remotehub
Git
0.14.0

headwind
hey
1.7.0

svg
joc
1.4.9

volar
joh
0.27.16

i18n-ally
lok
2.8.0

Kotlin
mat
1.7.1

rainbow-csv
mec
1.9.1

dotenv
mik
1.0.1

vscode-less
mrm
0.6.3

vscode-docker
ms-
1.16.1

vscode-language-pack-zh-hans
MS-
1.60.3

vscode-kubernetes-tools
ms-
1.3.3

python
ms-
2021.9.1191016588

vscode-pylance
ms-
2021.9.0

jupyter
ms-
2021.8.2031190714

jupyter-keymap
ms-
1.0.0

remote-containers
ms-
0.194.0

debugger-for-chrome
msj
4.13.0

vetur
oct
0.34.1

vscode-jest
Ort
4.1.2

vscode-boot-dev-pack
Piv
0.1.0

vscode-concourse
Piv
1.27.0

vscode-manifest-yaml
Piv
1.27.0

vscode-spring-boot
Piv
1.27.0

fabric8-analytics
red
0.3.3

java
red
0.81.0

vscode-commons
red
0.0.6

vscode-xml
red
0.18.0

vscode-yaml
red
0.22.0

vscode-stylelint
sty
0.86.0

language-stylus
sys
1.13.0

vscode-java-debug
vsc
0.35.0

vscode-java-dependency
vsc
0.18.7

vscode-java-pack
vsc
0.18.4

vscode-java-test
vsc
0.31.3

vscode-maven
vsc
0.33.0

vscode-spring-boot-dashboard
vsc
0.2.0

vscode-spring-initializr
vsc
0.7.0

vscode-icons
vsc
11.6.0

vue-language-features
znc
0.7.6

Please try collecting the TS Server log from the crashed instance:

Set "typescript.tsserver.log": "verbose"

Restart VS Code and reproduce the problem

Open the TypeScript section of the output panel

At the very top, find the first line that prints to path to the semantic error log file. It should look something like:
[Info  - 19:54:59.247] <semantic> Log file: /Users/matb/Library/Application Support/Code - Insiders/logs/20200213T104930/exthost55/vscode.typescript-language-features/tsserver-log-ZT2zau/tsserver.log

That file contains the typescript logs.

Look through that log file for the first error or stack trace you see. If you can share the log, I can also take a look to see if anything stands out

⚠Warning: The TypeScript log may include information from your workspace, including file paths and source code. If you have any concerns about posting this publicly on Github, just let me know and we can arrange something else. On our side, we only use these logs to investigate issues like this


Create static HTML error page for 401

To the extent possible this page should be made to look like it's part of PASS UI.
Suggest user to retry with correct credential or contact Robin Sinn (on contact page) for help

Both error state pages hosted on static site
https://rytiggy.github.io/pass-ui-static/404.html
https://rytiggy.github.io/pass-ui-static/401.html


Hosting on Azure App Service

Towards the end of this article, it is stated that "if you deploy your WebHost on IIS or a regular Azure App Service, your host can be shut down because of app pool recycles"; does it mean that in such an environment, StopAsync would not be called before a shutdown?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: d49a03c0-a844-26eb-48a5-33a612dd3ead
Version Independent ID: 0707865f-9db7-0d71-42a5-bc1a1e89680a
Content: Implement background tasks in microservices with IHostedService and the BackgroundService class
Content Source: docs/architecture/microservices/multi-container-microservice-net-applications/background-tasks-with-ihostedservice.md
Product: dotnet
Technology: dotnet-ebooks
GitHub Login: @nishanil
Microsoft Alias: nanil

I think StopAsync would be called but tasks being executed could be impacted when the app pool recycles.

By "impacted", you mean stopped without notice?

Thanks @mvelosop for your reply.
Yes I guess you want to use the "Always On" option when running on Azure App Services (or any similar technique elsewhere) to make sure your host is always running.
So when you say that "StopAsync will be called when performing a graceful shutdown", does that also include app pool recycles?

It should, but I'm not completely sure, will check though.

Hi,
We are working on a worker role app and HostBuilder pattern with back ground services seems to be good fit for our design but I have same concern i.e. will the StopAsyn() be triggered during cloud instance recycles. We are not using IIS integration as the application doesn't take any http requests.
Thanks.

Hi @akhilpolineni,
It should be notified of the shutdown, but I haven't really tested it just yet.
I have just created a simple app and deployed to a App Service to check what happens.
It generates a log like this at D:\home\LogFiles\BackgroundWorker-YYYYMMDD.log
2019-04-15 12:59:15.387 +01:00 [INF] ----- STARTING UP APPLICATION (BackgroundWorker) @"2019-04-15T12:59:15.3766815+01:00"
2019-04-15 12:59:15.505 +01:00 [INF] Package versions (BackgroundWorker)
2019-04-15 12:59:15.537 +01:00 [DBG] Hosting starting
2019-04-15 12:59:15.548 +01:00 [INF] Timed Background Service is starting.
2019-04-15 12:59:15.551 +01:00 [INF] OnStarted has been called.
2019-04-15 12:59:15.555 +01:00 [DBG] Hosting started
2019-04-15 12:59:15.557 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:00:00.0014216").
2019-04-15 12:59:25.560 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:00:10.0096581").
2019-04-15 12:59:35.560 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:00:20.0097616").
2019-04-15 12:59:45.557 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:00:30.0069713").
2019-04-15 12:59:55.560 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:00:40.0098540").
2019-04-15 13:00:05.560 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:00:50.0096122").
2019-04-15 13:00:15.561 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:01:00.0111077").
2019-04-15 13:00:25.558 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:01:10.0076970").
2019-04-15 13:00:35.560 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:01:20.0098042").
2019-04-15 13:00:45.559 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:01:30.0086546").
2019-04-15 13:00:55.559 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:01:40.0088403").
2019-04-15 13:01:05.559 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:01:50.0086732").
2019-04-15 13:01:15.561 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:02:00.0114307").
2019-04-15 13:01:25.562 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:02:10.0122308").
2019-04-15 13:01:35.559 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:02:20.0086434").
2019-04-15 13:01:45.558 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:02:30.0083524").
2019-04-15 13:01:55.558 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:02:40.0081017").
2019-04-15 13:02:05.560 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:02:50.0095972").
2019-04-15 13:02:15.558 +01:00 [INF] Timed Background Service is working since "2019-04-15T11:59:15.5504213Z" ("00:03:00.0078509").
2019-04-15 13:02:22.423 +01:00 [INF] OnStopping has been called.
2019-04-15 13:02:22.432 +01:00 [DBG] Hosting stopping
2019-04-15 13:02:22.437 +01:00 [INF] Timed Background Service is stopping.
2019-04-15 13:02:22.445 +01:00 [INF] OnStopped has been called.
2019-04-15 13:02:22.448 +01:00 [DBG] Hosting stopped

You might want to try this in your actual setup.
Hope this helps.

You can get the app at https://github.com/mvelosop/ExploreBackgroundWorker

Please let us know what you find out, so we can include it in the docs! 😉

Hi @ThomasWeiss, @akhilpolineni, I finally created a WebApp and deployed it to an App Service and could confirm that the IHostedService classes are notified upon AppPool recycling, in ordet to do a clean shutdown.
The WebApp is included in the above mentioned repo.

So IHostedServices included in WebApps will be notified when the AppPool reclycles, no doubt about that
The "Impact" comes from the fact that once stopped, they won't start again until a request is received in the web app and it's AppPool is restarted.
Hope this helps.

Closing this issue now but feel free to comment, will reopen if needed.

@mvelosop there is also an option to deploy an application as container within an App Service. Just for check, do you know if, in that case, some kind of "app pool recycling" occurs (I guess that it doesn't make much sense for containers)?

Hi @mviegas, app pool recycling is an IIS thing so it shouldn't happen in containers, at least not in Linux containers.
Hope this helps.

That's what I imagined. Thank you very much for the reply and sorry if the
question seems dumb!
Em qua, 30 de out de 2019 às 14:02, Miguel Veloso<EMAIL_ADDRESS>escreveu:

Hi @mviegas https://github.com/mviegas, app pool recycling is an IIS
thing so it shouldn't happen in containers, at least not in Linux
containers.
Hope this helps.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/dotnet/docs/issues/6027?email_source=notifications&email_token=AAL5M2XS5FXMPJ74BI7XJIDQRGHXTA5CNFSM4FFVTQ2KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECUJH2I#issuecomment-547918825,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAL5M2RWIVR6RW2Z4Q7OYHLQRGHXTANCNFSM4FFVTQ2A
.

--
Att,
Mateus de Carvalho Viegas
Skype e Facebook: mateuscviegas

No dumb at all @mviegas, there are very few obvious answers here 😅

@akhilpolineni, I'm sorry, I don't understand the role of the console app here 🤔
Where would it be?


Fixes incorrect link for compliance boundaries

Closes #824

@chrfox - PR is ready for final review based on issue #824.
Thank you.
cc: @kenwith


python3Packages.prometheus_flask_exporter: init at 0.15.4

Add prometheus-flask-exporter python package

Motivation for this change
This package is required to update mlflow to last version
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 89720 1

3 packages failed to build:
- python27Packages.prometheus-flask-exporter
- python37Packages.prometheus-flask-exporter
- python38Packages.prometheus-flask-exporter

bump @nphilou

Sorry for the delay, will try to fix it this week

I don't need this package anymore, I'm closing this PR. Don't hesitate to reopen if needed.


airflow scheduler stuck

Since the airflow version <IP_ADDRESS> the scheduler stuck probably due to a deadlock.
It seems like that setting the number of runs to 5 & auto restart didn't solve the problem.
possible solutions:

Using older version of ariflow e.g. 1.6.2
Running docker-compose restart scheduler from time to time.

reference:
https://issues.apache.org/jira/browse/AIRFLOW-401

@asnir are you using LocalExecutor or CeleryExecutor? I have a workaround for CeleryExecutor that is limiting it's CPU time for the scheduler, so it's restarted as soon as it gets stuck in infinite loop:
It looks like an ugly hack, so I'm unsure if @puckel will welcome alike PR :-)

@darkk , i am using CeleryExecutor and i prefer to use an older version.

Hi,
Could you please try using the latest release (<IP_ADDRESS>-7) using redis insted of rabbitmq ?
Thanks

Hi guys,
with <IP_ADDRESS>-7 I seem to have this or a similar problem. The Scheduler and Worker docker container continuously restart after about 30 seconds. This is with both configs LocalExecutor and CeleryExecutor.

using redis insted of rabbitmq cann't realy solver this problem,use supervisor in container to start airflow scheduler

Please check with the latest stable release 1.8.0.


Translating new lines in dutch

Translating new lines that got introduced in #450.

Line 123, 124 and 125 not being changed is intentional.
Temp. is a valid abbreviation for "Temperatuur"
Accel. is a valid abbreviation for "Acceleratie"

settings-general-tracker_mechanics-amount is now settings-general-tracker_mechanics-filtering-amount

should be fixed now


DO NOT MERGE: patched 42.0.0 with fix for #4459

This contains the fix for https://github.com/apache/arrow-rs/issues/4459  by cherry-picking 554aebe3b523737b3aaf6109846f4735110b26f8 to the 42.0.0 tag
I made it via
git checkout 42.0.0
git cherry-pick 554aebe3b523737b3aaf6109846f4735110b26f8
git cherry-pick 554aebe3b523737b3aaf6109846f4735110b26f8
[alamb/42.0.0_patched 20f6bd7ed] Fix empty offset index for all null columns (#4459) (#4460)
 Author: Raphael Taylor-Davies<EMAIL_ADDRESS> Date: Wed Jun 28 19:53:51 2023 +0100
 2 files changed, 30 insertions(+), 4 deletions(-)

Arrow 43 has now been released so I think this can be closed?


bug: run well local but deploy to vercel got error

Provide environment information
development : win 11 , node 21 , pnpm
prod : vercel , node 20
Describe the bug
I started with create-t3-turbo, that work well on development but when deploy to vercel my website can't call api and show error like img bellow. Anybody can help me, pls

Link to reproduction
https://github.com/t3-oss/create-t3-turbo
To reproduce
...
Additional information
No response

the repro you linked is deployed on vercel. if you have issues i'll need a more detailed repro with what you did and didn't set up.
there's been some changes since you opened too. gonna close this but if you still experience issues reopen with proper steps


Rename ‘开放源代码’ to ‘开源’.

I think that ‘开源’ is more readable for native Chinese programmers than ‘开放源代码’.

Thanks!

@all-contributors please add @Anduin2017 for translation

@all-contributors please add @Anduin2017 for translation


building ffmpeg with libvvenc: pkg-config cannot find libvvenc with master

When configuring ffmpeg with libvvenc enabled with both ffmpeg master and vvenc master gets the following error:
ERROR: libvvenc >= 1.6.1 not found using pkg-config
manually running
pkg-config --modversion libvvenc
yields the following:
"1.12.1-rc1"
I suspect pgk-config gets confused because of the "rc1" suffix of the version.
Is there anything one can do about that?
(Note: this was not the case a few months ago when I last built ffmpeg with libvvenc)

Which platform are you building on and which ffmpeg version are you using?
I just built ffmpeg successfully in a clean debian:stable container. I first installed the ffmpeg prerequisites listed in the ffmpeg wiki plus libxml2-dev and nasm. Then I followed the instructions from our wiki and it compiled just fine.
These are the exact revisions I used:
vvenc: both 3065b1348 and 632e4b17d with today's update
ffmpeg: 018ec4fe

I am building on alpine linux and ffmpeg master.
I am linking everything statically against libc-musl.
The dockerfile used to compile is this:
FROM alpine:latest
RUN apk add nasm git alpine-sdk bash cmake ninja meson perl autoconf automake libtool gperf xz libogg yasm diffutils gawk linux-headers asciidoc doxygen xmlto gtest clang

The script I run inside the docker container is the following:
compile.sh.zip
For some reason github force me to zip it before uploading.
As mentioned before the only line I need to comment out for the build to succeed is this:
git checkout c305325e7a7e22f337f3abd03e43508a42ae87b7
Maybe its because Its a static build? I do not see anything else I am doing different from what you describe.
I sadly cannot upload the other archive files described inside the script because they are too big and hit github's file limit.
If you require them then suggest a file sharing tool for me to upload the entire thing.

The configuring of ffmpeg itself fails.
The error is exactly:
ERROR: libvvenc >= 1.6.1 not found using pkg-config

FYI this information may be of use to you. now its 1.13.0-rc1 (this was not the case yesterday)

The problem is that -lgcc_s is listed in Libs.private in libvvenc.pc. This library has no static version. We there is a similar issue in vvdec.
I'll create a PR to remove that. The workaround for now is to build VVenC with -DCMAKE_CXX_FLAGS=-static-libgcc.
By the way, the FFmpeg error log tells you what the actual problem is in ffbuild/config.log. The error messages printed by the ffmpeg configure-script are quite misleading, because it also tells you a dependency was missing, when it was actually found, but the test if it can be linked failed.

Well, my bad for not looking in the log of the configure script.
It should have been a obvieus thing to look at...
I can confirm that adding
-DCMAKE_CXX_FLAGS=-static-libgcc
to my cmake command will result in head building just ffmpeg+vvenc.
Ill will task my CI to build the full version with all modules overnight with this option since doing so takes about 1 hour. Hopefully it will work now.
As a sidenote in the meantime I have through bruteforcing back commits more or less one by one found out that the last commit where it worked was "ab3733e38c8847564145a1ba183797f6d7c55db2"
The first commit where it didn't work was "18af3bb794e2b7fbf48cc066eb6d6a00654202d9"
I dont know if this info is useful for you, perhaps you can list this info somewhere in case someone tries to statically build anything inbetween? I did not check if you have any release inbetween head and those commits. Certainly your RC-Release from today is affected by this.
Anyways thank you very much for your help!
Have a good weekend!


[git registry] Add "reference" key

Fixes: https://github.com/microsoft/vcpkg/issues/19495
Relates to: #99

/azp run

Thanks for the new key!


Zitadel Project

[ ] remove iam project from project list
[ ] add explicit call for get iam project, only with iam permission allowed

not used at the moment


"Take me to the Help Room" button is currenlty not working

Challenge http://www.freecodecamp.com/challenges/waypoint-target-html-elements-with-selectors-using-jquery has an issue. Please describe how to reproduce it, and include links to screenshots if possible.

This is working now, thanks!


Extra files is a set, use add(), not append()

When creating a new Werkzeug server you can specify extra paths for the reloader to watch using the extra_files parameter. Currently this fails in version 0.10-maintenance and master, and will continue to fail in future versions since the code uses .append() not .add() on rv, which is a set().

Sorry for the duplicate of https://github.com/mitsuhiko/werkzeug/pull/697 but wasn't sure how to have the fix for both master and 0.10-maintenance

Maintenance branches get merged into master.

Any idea when this makes it to a bugfix release? Currently watchdog can't be used with werkzeug/Flask, and the reloader takes a lot of CPU without it...


Error: Uncaught (in promise): TypeError: subject.filter is not a function restangularizeResponse

Am getting that error when I try to run on Ionic3
`
let apiPath = this.Restangular.all('/site/createSite');
  let loading = this.loadingCtrl.create({
    content: 'Please wait...'
  });

  loading.present();

  apiPath.post(data).toPromise().then(function (response){

    loading.dismiss();

  }, () =>{   // out put error here

    loading.dismiss();
  });`

Please share more details :)

Am making a post request to the server, it does the post successfully (I can log the server and see ) however when processing the response am getting that error. I hope am clear , thanks for responding

I have the same problem with v1.0.8 and Angular 4.0.3

Problem exists since 1.0.6 because in 1.0.5 it is working.

Hi @reviloera, @iCodr8 please, update to v1.0.9

Works fine. thx!


Double Click on nodes actions

Hi, hope you are doing well.
Is there any way to define a certain action that happens when a user double-clicks on a node? For example, when a user double-clicks on a node, a new webpage could open.

Not sure if this is intended -  When I double-click on a node with the current version of streamlit-agraph a new webpage tab opens to an appended path.  So if I were running locally at
localhost:8505
A new tab will open to:
localhost:8505/component/streamlit_agraph.agraph/<name_of_node>

Not sure if this is intended - When I double-click on a node with the current version of streamlit-agraph a new webpage tab opens to an appended path. So if I were running locally at
localhost:8505
A new tab will open to:
localhost:8505/component/streamlit_agraph.agraph/<name_of_node>

is there any way to change it?

how can I get a click event?


OrderBy

Implement OrderBy(fieldName string) for Find, All, AllByIndex, Range and Select using a tree before inserting the value in the slice

+1 for this feature, I need it badly for UI tables


Fall back to environment variable for Shodan key

On a multi-user system, the command line is visible to other users. This means that other users could see the Shodan API key. In that case, the user can define an environment variable "SHODAN_KEY", such as:
export SHODAN_KEY=mykeyabcdef0123456789
python instarecon.py <IP_ADDRESS>/24

Much appreciated! :)


IPMI Automation - Inband via Host OS (Need to test using all supported OS)

@prkatti1 This is higher priority work. As we could able to boot OS successfully, We should try this test and automation.  Basically once latest OS is loaded, Try to test with ipmitool what ever available in it.  (RHEL, Ubuntu (big/littleendian).


Image optimisation and resizing on SpatieMediaLibraryFileUpload

I'm submitting this PR to add image optimization and resizing functionality to the v2 SpatieMediaLibraryFileUpload plugin.
The issue at hand:
Currently, when you upload an image and use conversions with media-library, the original file is saved with its corresponding versions provided on your model.
This is fine if you have a lot of disk space, but what if you'd rather reduce the file sizes before uploading - especially in the case where you know you'll never need to save 10 x 10MB images the user has uploaded.
The following changes have been made:
optimize()
A new optimize() method has been added.

Converts the binary image to an InterventionImage object
Optimises it by reducing its file size when passing in a (string) image extension to convert to

E.g. I want to convert my image to 'webp':
use Filament\Forms\Components\SpatieMediaLibraryFileUpload;

SpatieMediaLibraryFileUpload::make('attachment')
    ->image()
    ->optimize('webp'),

Uploaded image is now in webp format.
resize()
A new resize() method has also been added.

Gets the InterventionImage object and resizes it by taking in an (int) percentage to reduce the image dimensions
Maintains aspect ratio

E.g. I'd like to reduce my image (1280px x 720px) by 50%:
use Filament\Forms\Components\SpatieMediaLibraryFileUpload;

SpatieMediaLibraryFileUpload::make('attachment')
    ->image()
    ->resize(50),

Uploaded image size is 640px x 360px.
As mentioned, these chained methods will replace the original file(s) uploaded. I.e. the versions saved to the disk are the converted images only.

@awcodes how useful do you think this is? Also, do you think it is worth porting it to the base file upload as well as the Spatie one, since these aren't really Spatie features, right?

I can see some value to this, but I think it would be more relevant to the FileUpload than to Spatie. Although I understand the use case described, personally, I feel that any image manipulation base on Spatie's package would be best handled in the way that Spatie's package intends for it to be done.
I'm also a firm believer that these kinds of image manipulations should be modified before upload or with validation, like if you don't want 10M images then set a validation rule so the user has to modify it before it ever reaches the server. Although that is not always the case when dealing with users, so I understand the point of view.
I do have some concerns with the API, though. Should you choose to move forward with this PR I'm happy to add some notes to the code.

would this be better if the transformation is handled by Filepond before upload to server https://pqina.nl/filepond/docs/api/plugins/image-transform/

Yeah I think I agree. @wychoong I think we already have those features baked into the file upload. Also, with the new image editor, everything can be changed before upload as well. Thanks though @joshembling.


e2e test discussion

Did you compare your e2e test with manic minter example?
https://github.com/swankyhub/manic-minter/blob/86684e3d55115f72de02abb1578afd552522ed6e/manicminter/lib.rs#L179

I have tried adding #[ink_e2e::test(additional_contracts = "magink/Cargo.toml wizard/Cargo.toml")]  to my "e2e_minting_works" function, but still have this error on the minting call:
.....
dispatch_error_ty: Some(24), cached_metadata_hash: RwLock { data: None }, cached_call_hashes: HashCache { inner: RwLock { data: {} } }, cached_constant_hashes: HashCache { inner: RwLock { data: {} } }, cached_storage_hashes: HashCache { inner: RwLock { data: {} } } } }, raw: RawModuleError { pallet_index: 7, error: [25, 0, 0, 0] } })
test magink::e2e_tests::e2e_minting_works ... FAILED

failures:

---- magink::e2e_tests::e2e_minting_works stdout ----
thread 'magink::e2e_tests::e2e_minting_works' panicked at 'calling `mint_wizard` failed: CallExtrinsic', magink/lib.rs:319:22

If you comment out these calls, the e2e tests can run without any other issue.


The name you sent was invalid!

When I use the example provided in the git hub,
I get this error when i try to join a test server with my own account
Disconnected: The name you sent was invalid!

It sounds like you're trying to connect to an online-mode server. Did you replace the login credential constants at the top of the example with valid ones and turn on the verify users constant?

its seems to be working now, btw is there a place with documentation or something?

There isn't really much in the way of library documentation at the moment. The example should demonstrate how to get started with the library though, and https://wiki.vg is a good resource for the Minecraft protocol in general.

When i try to join a simple spigot server i get this error: Outdated server! I'm still on 1.8.8

You are trying to join a 1.8.8 server, while MCProtocolLib is currently on 1.15.2. You can try to go back and build a commit from back when 1.8.8 was the latest version, but I do not offer support/maintenance for old builds.

ah so it only work on servers that have a bungeecord ? that support 1.8x to 1.15x?

The latest version only works on servers that support 1.15.2.


fix: remake project card with reg. to v3 design

Related Issue
Issue Name - [BUG] Fix projects card according to V3 design
Description of the bug

The projects card has different layout of information than the figma file.
The layout of the projects card with different width breakpoints change the projects card width.
Fix or update Read More button design.
Add box shadows based on v3 design.

Closes: #401
Describe the changes you've made

remade project card component with accordance to V3 Figma Design.

isolated project card component completely.

fixed full width of project card on small screens and mid-sized screens.

[X] Bug fix (non-breaking change which fixes an issue)

[ ] New feature (non-breaking change which adds functionality)

[X] Code style update (formatting, local variables)

[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

[ ] Documentation update.

[ ] This change requires a documentation update

How Has This Been Tested?
The Change was tested visually using Chrome Responsive Mode.
Checklist

[X] My code follows the guidelines of this project.
[X] I have performed a self-review of my own code.
[X] I have commented on my code, particularly wherever it was hard to understand.
[X] I have made corresponding changes to the documentation.
[X] My changes generate no new warnings.
[X] I have added tests that prove my fix is effective or that my feature works.
[X] Any dependent changes have been merged and published in downstream modules.

Screenshots (if applicable)

Original
Updated

Code of Conduct

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

@vinzvinci @shuklaritvik06 @darkterminal ,
Please feel free to ask for any changes to this PR.
Thank you in advance for taking your time.
Regards,
Jeyavishnu @vishnu9865