This action requires the baseUrl parameter

We have been trying to implement continuous integration with jenkins but there is a problem with deployment. We have located it down to that zs-client wont let us add the new application apparantly it does not the the baseUrl in the XML for the server request.
How:
php /usr/local/bin/zs-client.phar installApp --zpk=application.zpk --zsurl='http://ZendServerIP:10081' --zskey='admin' --zssecret='XXXXX' --baseUri='http://OurVhost/' --userAppName='AppNameX' --userParams='APPLICATION_ENV=staging'
Result:
2015-01-07T16:26:55+00:00 ERR (3): This action requires the baseUrl parameter

admin
applicationDeploy

missingParameter
This action requires the baseUrl parameter

The application has thrown an exception!
ZendServerWebApi\Model\Exception\ApiException
This action requires the baseUrl parameter
As far as i can see you take the var $baseUri and put it into baseUrl we have tried the stable and the development release.
ZendServer version 7.0.0 and 8.0 beta

Hi troelsh,
I cannot reproduce the issue with the latest version of the tool (https://github.com/zendtech/ZendServerSDK/raw/master/bin/zs-client.phar).
Can you try and execute the same command manually from the command line? If it works then please remove the single quotes and try again in Jenkins.
Regards,
Slavey

Hi Slavey,
This is the command manually executed from commandline on the jenkins server though. The zend server is an adjacent server ip connectivity and all is fine between the two servers it seems to upload the APK and then fails with the "missing baseUrl" message.
Other than in the command im my original post does baseUrl parameter need to be represented anywhere else?
This is my build.xml:
<?xml version="1.0"?>
<project name="Sitra" basedir="." default="zpk">
    <target name="zpk">
        <exec command="php /usr/local/bin/zs-client.phar packZpk --folder='${project.basedir}'
--destination='${project.basedir}' --name='application.zpk'" checkreturn="true"/>
    </target>
    <target name="deploy" depends="zpk">
        <exec command="php /usr/local/bin/zs-client.phar installApp --zpk='${project.basedir}/application.
zpk' --zsurl='${host}' --zskey='${key}' --zssecret='${secret}' --baseUri='${base}' --userAppName='${app}'
--userParams='${params}'" checkreturn="true"/>
    </target>
</project>

Okay so i had success now..
1 thing to remember is that if you try to do the commands in the jenkins workspace remember to cleanup. I had 3-4 zpk's of 100megs and i kept adding as i tested along and ended up with a huge zpk.
That was not the problem. The problem is that if you just copy from the pdf guide/patern the plings might turn up the wrong way and so my build.xml was not correct.
Had my first successfull build now and this is the build.xml that works.
<?xml version="1.0"?>
<project name="APPNAME" basedir="." default="zpk">
    <target name="zpk">
        <exec command="php /usr/local/bin/zs-client.phar packZpk --folder='${project.basedir}' --destination='${project.basedir}' --name='application.zpk'" checkreturn="true"/>
    </target>
    <target name="deploy" depends="zpk">
        <exec command="php /usr/local/bin/zs-client.phar installApp --zpk='${project.basedir}/application.zpk' --zsurl='${host}' --zskey='${key}' --zssecret='${secret}' --baseUri='${base}' --userAppName='${app}' --userParams='${params}'" checkreturn="true"/>
    </target>
</project>

Ok, I will close the issue for now. If you think that it needs to be opened again feel free to add a comment to this ticket.


Failed to Resolve

in Java - Error:(27, 13) Failed to resolve: com.github.po10cio:TimeLineView:1.0.0

i have checked this out, the issue is with the Jitpack tag and i have fixed it and created  a new release, please use 1.0.1 and try again.


where is pong response?

by your guide:
"Heartbeat
Once connected, the websocket server sends a ping frame every 3 minutes and requires a response pong frame back within a 10 minutes period. This package handles the pong responses automatically."
but i cannot this handle code in BinanceWebSocket.cs or BinanceWebSocketHandler.cs
please guide me , where is this handle code?
i'm getting !bookTicker stream by socket but after a period of time this is cut off !!!

BinanceWebSocketHandler wraps around a System.Net.WebSockets.ClientWebSocket which implicitly handles the ping pong framework.
Source Code from DotNET.
https://github.com/dotnet/runtime/blob/7cbf0a7011813cb84c6c858ef19acb770daa777e/src/libraries/Common/src/System/Net/WebSockets/ManagedWebSocket.cs#L886


Disable Dark Theme

Requires merge of downstream & cloudfoundry#4017

Codecov Report

Merging #249 into master will decrease coverage by 0.05%.
The diff coverage is 39.31%.

@@            Coverage Diff             @@
##           master     #249      +/-   ##
==========================================
- Coverage   51.47%   51.42%   -0.06%
==========================================
  Files         998     1001       +3
  Lines       32071    32180     +109
  Branches     4516     4536      +20
==========================================
+ Hits        16510    16549      +39
- Misses      15561    15631      +70


Path finding algorithm

Explanation
Create a pathfinding algorithm, that entities can use to navigate the map.

The test entity does not move and also does not compute it's path when the target is set to a position


add RDMA as one transport layer inside gRPC

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
A clear and concise description of what you want to happen.
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context about the feature request here.

This is a substantial feature request. We would be open to contributions here.

Tensorflow contrib allows for fancier network protocols than TCP and is migrating to Tensorflow networking which allows for grpc+verb as per this comment
I'm not sure if this would be a good starting point, as I don't know how much they've deviated from gRPC/ made it particular to tensors

Yes, I also noticed Tensorflow RDMA gRPC solution. it is not general.

not general.

Next steps is?

/reopen

@a11r As we know the TensorFlow Networking is not the general solution, and whether had any plan to implement a new solution?


Fix Dev VM-2, VM-14: CommitteeArchive and Careers

Make it look nice:

Change the color of the block to dark blue + white text like the header
Update margin and border

Mobile responsive:

Change Grid layout
Add media queries for font size
Add new line for mobile view

Re-factor:

Factor out the CommitteeList

For Careers:

Update Mobile Responsive
Make it looks nice: Update height of drop down list and remove the list if no opportunity
Remove out-dated link


ndfits.wrap() produces empty hdu in hdu[0]

Test file http://ovsa.njit.edu/fits/flares/2021/05/27/20210527231000/eovsa.lev1_mbd_12s.2021-05-27T231006Z.image.fits generated by qlookplot, which utilizes wrap() in https://github.com/suncasa/suncasa-src/blob/master/suncasa/io/ndfits.py to wrap multiple fits files.
In [1]: from astropy.io import fits
In [2]: hdu = fits.open('eovsa.lev1_mbd_12s.2021-05-27T231006Z.image.fits')
In [4]: hdu[0].header
Out[4]:
SIMPLE  =                    T / conforms to FITS standard
BITPIX  =                    8 / array data type
NAXIS   =                    0 / number of array dimensions
EXTEND  =                    T
In [10]: hdu[0].data.shape
AttributeError                            Traceback (most recent call last)
 in
----> 1 hdu[0].data.shape
AttributeError: 'NoneType' object has no attribute 'shape'
The actual data is in the second hdu (hdu[1]).
It causes problem for casa_readfits.pro (https://github.com/binchensun/idl_utils/blob/master/casa_readfits.pro), as headfits only supports reading the first hdu. I guess we do not need the first, empty hdu in the first place?
@sageyu123 @Gelu-Nita

Following up - I think in ndfits.wrap(), we may follow the structure of IRIS level 2 data: https://iris.lmsal.com/itn26/iris_level2.html

Just replace nt with the number of frequencies.  An example structure can be
HDU #	HDU type	Contents	Data dimensions
0	Primary	Main header and data	[nx, ny, nf]
1	Table Extension	Technical metadata for the frequency dimension	[nf]
This is what we have currently. By the way, the format of the image file is shown as "float64." Does it mean the fits file is NOT compressed?
In [13]: hdu.info()
Filename: eovsa.lev1_mbd_12s.2021-05-27T231006Z.image.fits
No.    Name      Ver    Type      Cards   Dimensions   Format
0  PRIMARY       1 PrimaryHDU       4   ()
1  COMPRESSED_IMAGE    1 CompImageHDU     78   (512, 512, 10)   float64
2                1 BinTableHDU     12   10R x 2C   [E, E]

After reviewing the Astropy.io.fits documentation, it seems that the presence of a PrimaryHDU in a compressed FITS file is unavoidable with Astropy, regardless of whether or not one is explicitly added to the HDUList. For instance, consider the following example:
from astropy.io import fits

# Assuming 'data', 'header', and 'kwargs' are already defined
hdunew = fits.CompImageHDU(data=data, header=header, **kwargs)
hdulnew = fits.HDUList([hdunew])

hdulnew.writeto('astropy_fpacked.fits', output_verify='fix', overwrite=True)

hdu = fits.open('astropy_fpacked.fits')
print(hdu)

In this example, even though we only add hdunew (a CompImageHDU) to our HDUList, when we open the saved file, we see two HDUs:
[<astropy.io.fits.hdu.image.PrimaryHDU object at 0x11060dd60>, <astropy.io.fits.hdu.image.ImageHDU object at 0x147d2b3a0>]

Trying to access the data of the first HDU results in an error, as it's empty:
hdu[0].data.shape
# AttributeError: 'NoneType' object has no attribute 'shape'

This demonstrates that Astropy automatically adds an empty PrimaryHDU, which can be problematic for certain applications. I'm curious about how SSW manages to save compressed FITS files without this additional PrimaryHDU, but I couldn't find a solution within Astropy for this.
The most practical workaround for now could be to modify casa_readfits.pro to skip the first HDU if it contains no data.
Regarding the data type displayed as 'float64' in the compressed image fits: this does not necessarily indicate the file isn't compressed. The 'float64' refers to the data format within the HDU, not the compression state of the file. I have implemented a check to compare the size in bytes of each element in the data array against that of 'float32'. If it's larger, we convert the data to 'float32' to optimize storage without losing significant precision.

After reviewing the Astropy.io.fits documentation, it seems that the presence of a PrimaryHDU in a compressed FITS file is unavoidable with Astropy, regardless of whether or not one is explicitly added to the HDUList. For instance, consider the following example:
from astropy.io import fits

# Assuming 'data', 'header', and 'kwargs' are already defined
hdunew = fits.CompImageHDU(data=data, header=header, **kwargs)
hdulnew = fits.HDUList([hdunew])

hdulnew.writeto('astropy_fpacked.fits', output_verify='fix', overwrite=True)

hdu = fits.open('astropy_fpacked.fits')
print(hdu)

In this example, even though we only add hdunew (a CompImageHDU) to our HDUList, when we open the saved file, we see two HDUs:
[<astropy.io.fits.hdu.image.PrimaryHDU object at 0x11060dd60>, <astropy.io.fits.hdu.image.ImageHDU object at 0x147d2b3a0>]

Trying to access the data of the first HDU results in an error, as it's empty:
hdu[0].data.shape
# AttributeError: 'NoneType' object has no attribute 'shape'

This demonstrates that Astropy automatically adds an empty PrimaryHDU, which can be problematic for certain applications. I'm curious about how SSW manages to save compressed FITS files without this additional PrimaryHDU, but I couldn't find a solution within Astropy for this.
The most practical workaround for now could be to modify casa_readfits.pro to skip the first HDU if it contains no data.
Regarding the data type displayed as 'float64' in the compressed image fits: this does not necessarily indicate the file isn't compressed. The 'float64' refers to the data format within the HDU, not the compression state of the file. I have implemented a check to compare the size in bytes of each element in the data array against that of 'float32'. If it's larger, we convert the data to 'float32' to optimize storage without losing significant precision.

After reviewing the Astropy.io.fits documentation, it seems that the presence of a PrimaryHDU in a compressed FITS file is unavoidable with Astropy, regardless of whether or not one is explicitly added to the HDUList. For instance, consider the following example:
from astropy.io import fits

# Assuming 'data', 'header', and 'kwargs' are already defined
hdunew = fits.CompImageHDU(data=data, header=header, **kwargs)
hdulnew = fits.HDUList([hdunew])

hdulnew.writeto('astropy_fpacked.fits', output_verify='fix', overwrite=True)

hdu = fits.open('astropy_fpacked.fits')
print(hdu)

In this example, even though we only add hdunew (a CompImageHDU) to our HDUList, when we open the saved file, we see two HDUs:
[<astropy.io.fits.hdu.image.PrimaryHDU object at 0x11060dd60>, <astropy.io.fits.hdu.image.ImageHDU object at 0x147d2b3a0>]

Trying to access the data of the first HDU results in an error, as it's empty:
hdu[0].data.shape
# AttributeError: 'NoneType' object has no attribute 'shape'

This demonstrates that Astropy automatically adds an empty PrimaryHDU, which can be problematic for certain applications. I'm curious about how SSW manages to save compressed FITS files without this additional PrimaryHDU, but I couldn't find a solution within Astropy for this.
The most practical workaround for now could be to modify casa_readfits.pro to skip the first HDU if it contains no data.
Regarding the data type displayed as 'float64' in the compressed image fits: this does not necessarily indicate the file isn't compressed. The 'float64' refers to the data format within the HDU, not the compression state of the file. I have implemented a check to compare the size in bytes of each element in the data array against that of 'float32'. If it's larger, we convert the data to 'float32' to optimize storage without losing significant precision.

Thank you for investigating this. I think it makes sense. I agree with you that it would be the most straightforward to modify the IDL routine itself to accommodate this. I think we can close this issue and open another one to update casa_readfits.pro.


feat: drag n drop and Container jump enhancements

Description
This PR includes Changes for Drag and drop Improvements, That includes,

Resizing dragging widgets along Container edges.
Initially resize widgets against Container/Droptarget widgets.
While holding close to Container/Droptarget widgets for half a second, start to reflow the widget.

Fixes #19139
Fixes #12892
Media
https://user-images.githubusercontent.com/71900764/209154834-66acecbb-2df8-4598-86d5-4fe7843dd21b.mp4
Type of change

Bug fix (non-breaking change which fixes an issue)
New feature (non-breaking change which adds functionality)

How Has This Been Tested?

Manual
Jest

Test Plan

Add Testsmith test cases links that relate to this PR

Issues raised during DP testing

Link issues raised during DP testing for better visiblity and tracking (copy link from comments dropped on this PR)

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] 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] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Test plan has been approved by relevant developers
[ ] Test plan has been peer reviewed by QA
[ ] Cypress test cases have been added and approved by either SDET or manual QA
[ ] Organized project review call with relevant stakeholders after Round 1/2 of QA
[ ] Added Test Plan Approved label after reveiwing all Cypress test

/ok-to-test sha=fbaf56d

/ok-to-test sha=c4d9df9

https://www.loom.com/share/9808faae68004df79a9a6d3af5f73f42
The drop target is showing in red even though it is a legit one

/ok-to-test sha=6a44756

/ok-to-test sha=7b5058d

Looks good @rahulramesha

Looks good @rahulramesha

/ok-to-test sha=87204fc

few Questions:

The size of the input box is slightly increased and there is a scroll introduced inside the input box as soon as data type is changed to multi-line with fixed mode. This also makes the the input text inside the input box look misaligned because the text doesn't seem start from the top (there seems to be extra padding from the top than usual ) LOOM
with data-type muti-line text and autoheight enabled, the default rows gets increased for the input type . is this expected? LOOM
@ankurrsinghal

/ok-to-test sha=fe019f3

/ok-to-test sha=0eff8c7

GE


Figure out host for span from cluster instead of weighted cluster

Misused weighted cluster for host name in trace span.

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: bianpengyuan
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: zackbutcher
Assign the PR to them by writing /assign @zackbutcher in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@bianpengyuan: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
89aefce8cf287dfc47d77bdcfd58ef3681fd0a05
link
/test istio-unit-tests

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: bianpengyuan, kyessenov
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pilot/OWNERS [kyessenov]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@bianpengyuan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-unit-tests.sh
89aefce8cf287dfc47d77bdcfd58ef3681fd0a05
link
/test istio-unit-tests

prow/istio-pilot-e2e.sh
89aefce8cf287dfc47d77bdcfd58ef3681fd0a05
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/hold

Please add a comment on the function. I think that should satisfy @rshriram 's request.

@bianpengyuan: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
2e56eaf5441d64ba32b7216653386e293565174a
link
/test istio-pilot-e2e

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@bianpengyuan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
2e56eaf5441d64ba32b7216653386e293565174a
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests.sh
2e56eaf5441d64ba32b7216653386e293565174a
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@bianpengyuan: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-pilot-e2e.sh
3c7250f7c0c5821b8785103d5fab227246bf1c50
link
/test istio-pilot-e2e

prow/e2e-bookInfoTests.sh
3c7250f7c0c5821b8785103d5fab227246bf1c50
link
/test e2e-bookInfo

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@rshriram ptal?


Set_value plugin: change logger level and re-evaluate pattern on event

In GitLab by @ksiero on Jul 30, 2021, 11:15
Set_value plugin should be able to change change logger level, pattern and re-evaluate pattern on event.
The same should be able to be achieved from PDI API.

In GitLab by @ksiero on Aug 31, 2021, 14:42
mentioned in commit db14d9ed56982213ad1c9610910182a5e7fd1f4a

In GitLab by @ksiero on Nov 14, 2021, 17:38
mentioned in commit 78280df7bbf572b84e6b3ec689fef8865f0bc4bf

In GitLab by @ksiero on Nov 14, 2021, 18:01
mentioned in commit 3927c140203f83ecd5180fc676c88db08552a010

mentioned in commit 56102037f7e36417ee4b42a2928c50fbb075f1b7


fix: Pull in #368 from argocd-operator

Signed-off-by: jannfis<EMAIL_ADDRESS>What type of PR is this?

/kind bug

What does this PR do / why we need it:
See https://github.com/argoproj-labs/argocd-operator/pull/368
Have you updated the necessary documentation?

[ ] Documentation update is required by this PR.
[ ] Documentation has been updated.

Which issue(s) this PR fixes:
Fixes #?
Test acceptance criteria:

[ ] Unit Test
[ ] E2E Test

How to test changes / Special notes to the reviewer:

Duplicates #176


[Feature]: Apply theme across multiple apps

Is there an existing issue for this?

[X] I have searched the existing issues

Summary
I want to reuse a theme across multiple apps rather than having to configure each of these to be applied at an app.
Why should this be worked on?

Saves a lot of time in creating and maintaining themes

comment test

comment test  comment test  comment test  comment test comment test comment test comment test comment test comment test comment test comment test comment test comment test comment test


Failed to connect to localhost port 9200: Connection refused: elasticquent for Laravel 5.1

i'm getting the error : Failed to connect to localhost port 9200: Connection refused.
docs says that i need to config elasticquent.php: but this file doesn't exists in any folders.
where can i config my ports?

What port is Elasticsearch running on?
elasticquent.php should be in app/config. You can see the documentation here: https://github.com/elasticquent/Elasticquent#elasticsearch-configuration
Inside the array, you will see a config key. The value for that key is another array with the key hosts.  That should have the value of the Elasticsearch server that you want to connect to.
If the file does not exist, you can create it (app/config/elasticquent.php).


Main feature for Touch Bar

📒 Description
This PR introduce all main logic of the Touch Bar
🕶 Types of changes
New feature (non-breaking change which adds functionality)
🤯 List of changes

[x] Get latest 5 Time Entry (https://github.com/toggl/toggldesktop/issues/3351)
[x] Implement NSScrubber with custom layout -> Able to scrollable, the item size is depend on the text title
[x] Binding the current running TE with TouchBar
[x] Binding the Start button in TimerBar with Touch Bar
[ ] Find the way to disable the default Touch Bar for the AutoCompleteTextField in Timer Bar (See https://github.com/toggl/toggldesktop/pull/3424#issuecomment-540995289)
[x] Better approach to calculate the width size of TouchBar Item (from title length)

👫 Relationships
Closes #3351
Closes #3350
🔎 Review hints

Known-issues
1. The Timer Bar TextField lost the default Touch Bar when we focus on Project Text Field in Editor (allowsEditingTextAttributes=true)

How to reproduce

Open the app
Check that the Touch bar works well in Timer Bar and the rest of the app
Open Time Entry Editor and click on the Project Text Field
The Touch bar is replaced with the default macOS touch bar.
Go back to the main view  -> Timer Bar textfield doens't show our touch bar anymore???

What's allowsEditingTextAttributes?
allowsEditingTextAttributes is a property that allow the user to edit on TextField, which has AttributedString (our Project Text field).

Currently, we're using in ProjectAutoCompleteTextField
https://github.com/toggl/toggldesktop/blob/0ee4fefd07a9fd9454671ad3cec47fe885c323dc/src/ui/osx/TogglDesktop/Feature/TimeEntryEditor/AutoComplete/Input/ProjectAutoCompleteTextField.swift#L32
Attempts

Tried to override makeTouchBar for each TextField and return our global Touch Bar -> Doesn't work 💥
Tried to disable default touch bar of Project Text Field -> Doesn't work 💥

Play-around

Enable allowsEditingTextAttributes on the second text field

=> The Touch bar in the First Text field is lost when the second text field is the first responder.

Disable allowsEditingTextAttributes on the second text field

=> All Touch bars are remained.

Download
TouchBar-Issues.zip

Did you try Disable allowsEditingTextAttributes on project text field with our app?

if we disable the allowsEditingTextAttributes from Project AutoCompleteTextField, whenever we put the cursor into the text field, all Attributes are removed. See the screenshot

Therefore, the Touch Bar known-issue is resolved itself.

I've tested this again and I think it's ok to keep the logic as it is. When user had project text field focused it will show text editing buttons. Once you move away from the project field it resumes the correct logic.
Only thing that I think we could improve is the listing of 5 unique entries.  Currently it only show description and no reference to the project. Do you have any suggestions how to improve this.
I approve the things done in the current PR. Great job Nghia!

Any ideas about showing project somehow in the touchbar unique entries list.
Ideas:

Show a dot with project color (good because does not take space)
Make the entry background the color of the project (Should be simple to do but make it really colorful. I'm not sure it's a good look)
Show project name text (bad as takes text space, maybe show color dot and a few first character of project name)

Screenshot

Make the entry background the color of the project (Should be simple to do but make it really colorful. I'm not sure it's a good look)

Currently, the running TE would have the background, which is the same with Project Color -> Thus, it's easier to distinguish the "Running TE" and the "TE List" in the Touch Bar.
If we set the background for all TE in the list -> It's really difficult to distinguish IMO

Let me do an experiment to make the Touch Bar button with two title (Description on the top, and project in the bottom)

Running State

Normal State

@IndrekV how is your thought ? 🌮

This PR is ready for the second review round ♻

Change logs from last review

New design for touch bar item (see the GIF)
Improve how we get unique 5 Time Entries from the list: Only get unique TEs, TEs in same group won't present in the List.

Wow, just wow. I did not even dream we could make the time entries look so good. You are magician Nghia.

Great job.


community [enh] : adds callback handler for Fiddler AI

Description:  Callback handler to integrate fiddler with langchain.
This PR adds the following -

FiddlerCallbackHandler implementation into langchain/community
Example notebook fiddler.ipynb for usage documentation

[Internal Tracker : FDL-14305]
Issue:
NA
Dependencies:

Installation of langchain-community is unaffected.
Usage of FiddlerCallbackHandler requires installation of latest fiddler-client (2.5+)

Twitter handle: @fiddlerlabs @behalder

@eyurtsev @baskaryan can you please help get this merged.
Wondering why all the tests didn't run after rebase.
I fixed the linting issues caused in a different module - reported by an earlier run.
linting is all clean now.


added about-us section

Description
Added About Us, Newsletter, and Join Us section
Closes #55
Type of change
Please delete options that are not relevant.

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

Checklist:

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

Screenshots

Original
Updated

original screenshot
updated screenshot

@codewithvk please check my PR.

hey @shreyanshi16 , Could you please attach a screenshot?

Hey here are the screenshots!

Thanks for contributing @shreyanshi16 !


ffigen still uses ints for struct members.

Consider the header below:
typedef enum A {
  enum1,
  enum2
} A;

typedef struct B {
  A a;
} B;

ffigen generates the following Dart code:
enum A {
  enum1(0),
  enum2(1);

  final int value;
  const A(this.value);

  static A fromValue(int value) => switch (value) {
        0 => enum1,
        1 => enum2,
        _ => throw ArgumentError("Unknown value for A: $value"),
      };
}

final class B extends ffi.Struct {
  @ffi.UnsignedInt()
  external int a;
}

I found that structs are generated here:
https://github.com/dart-lang/native/blob/2464aaa562f72eae9765a90573417096eccac9ee/pkgs/ffigen/lib/src/code_generator/compound.dart#L154-L159
I'm not sure exactly how the external part works here, so I'm not sure if this can be rewritten to use an enum directly or it has to stay an integer. If it's the latter, this should be sufficient:
final class B extends ffi.Struct {
  @ffi.UnsignedInt()
  external int _a;

  A get a => A.fromValue(_a);
}

That could be implemented by doing:
- s.write('${depth}external ${m.type.getFfiDartType(w)} ${m.name};\n\n');
+ final memberName = m is EnumClass ? '_${m.name}' : m.name;
+ s.write('${depth}external ${m.type.getFfiDartType(w)} $memberName;\n\n');

and then adding:
if (m is EnumClass) {
  final enumName = m.getDartType(w);
  final memberName = m.name;
  s.write('$enumName get $memberName => $enumName.fromValue(_$memberName);\n\n');
}

/cc @dcharkes Should I open a PR with the above or should we do something else? Also, this is technically a breaking change again...

Thankfully, a good workaround in the meantime is using A.fromValue in code that uses B, like:
void main() {
  final b = getB();
  final result = switch (A.fromValue(b.a) { /* ... */ };
}

final class B extends ffi.Struct {
  @ffi.UnsignedInt()
  external int _a;

  A get a => A.fromValue(_a);
}

That would be my first thought indeed. 👍

Also, this is technically a breaking change again...

We're already at 14.0.0-wip due to other breaking changes. So just add another entry to the changelog.

/cc @dcharkes Should I open a PR with the above or should we do something else?

Yes please. 😄 🙏

@dcharkes PR at #1432


Share color variables between SCSS and JS

DRY and should make theming very easy.

You might want to use inline styles and JS variables. Easier to theme for consumers too.

I'm definitely open to this idea of inline styles. I think I would probably approach this as "overrides" and default to the static compiled theme.
But I still think it would be cool to use a YAML file or similar to share default colors between Sass and JS during compilation.

@necolas Done in https://github.com/okor/justice/commits/themes (requires editing src/theme.json). Not entirely happy with solution it's in a branch until I can decide what to do with it. Maybe check out that branch and see what you think. Feel free to clean up any glaring ugliness in a PR.

Consolidating similar issues here: https://github.com/okor/justice/issues/28


[tool_crash] _CastError: (#0      describeLocale (package:flutter_tools/src/localizations/localizations_utils.dart:219:49))

Command
flutter gen-l10n

Steps to Reproduce

...
...
...

Logs
_CastError: (#0      describeLocale (package:flutter_tools/src/localizations/localizations_utils.dart:219:49))
#0      describeLocale (package:flutter_tools/src/localizations/localizations_utils.dart:219:49)
#1      LocalizationsGenerator._generateBaseClassFile (package:flutter_tools/src/localizations/gen_l10n.dart:1137:34)
#2      LocalizationsGenerator._generateCode (package:flutter_tools/src/localizations/gen_l10n.dart:1238:46)
#3      LocalizationsGenerator.writeOutputFiles (package:flutter_tools/src/localizations/gen_l10n.dart:1313:47)
#4      generateLocalizations (package:flutter_tools/src/localizations/gen_l10n.dart:69:9)
#5      GenerateLocalizationsCommand.runCommand (package:flutter_tools/src/commands/generate_localizations.dart:210:7)
#6      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:1342:12)
<asynchronous suspension>
#7      FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1183:27)
<asynchronous suspension>
#8      AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#9      CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>
#10     FlutterCommandRunner.runCommand.<anonymous closure> (package:flutter_tools/src/runner/flutter_command_runner.dart:281:9)
<asynchronous suspension>
#11     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#12     FlutterCommandRunner.runCommand (package:flutter_tools/src/runner/flutter_command_runner.dart:229:5)
<asynchronous suspension>
#13     run.<anonymous closure>.<anonymous closure> (package:flutter_tools/runner.dart:62:9)
<asynchronous suspension>
#14     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#15     main (package:flutter_tools/executable.dart:94:3)

[✓] Flutter (Channel stable, 3.0.1, on Microsoft Windows [Version 10.0.19043.2006], locale en-IN)
    • Flutter version 3.0.1 at C:\src\flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (5 months ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.3)
    • Android SDK at C:\Users\manda\AppData\Local\Android\sdk
    • Platform android-33, build-tools 30.0.3
    • Java binary at: C:\Program Files\Android\Android Studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)
    • All Android licenses accepted.

[✓] Chrome - develop for the web
    • Chrome at C:\Program Files\Google\Chrome\Application\chrome.exe

[✓] Visual Studio - develop for Windows (Visual Studio Community 2019 16.11.15)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.11.32510.428
    • Windows 10 SDK version 10.0.19041.0

[✓] Android Studio (version 2020.3)
    • Android Studio at C:\Program Files\Android\Android Studio
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7249189)

[✓] VS Code (version 1.71.2)
    • VS Code at C:\Users\manda\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.38.1

[✓] Connected device (3 available)
    • Windows (desktop) • windows • windows-x64    • Microsoft Windows [Version 10.0.19043.2006]
    • Chrome (web)      • chrome  • web-javascript • Google Chrome 105.0.5195.127
    • Edge (web)        • edge    • web-javascript • Microsoft Edge 106.0.1370.34

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+1
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: fb57da5f945d02ef4f98dfd9409a72b7cce74268
Plugins
path_provider-2.0.11
path_provider_android-2.0.20
path_provider_ios-2.0.11
path_provider_linux-2.1.7
path_provider_macos-2.0.6
path_provider_windows-2.1.3
shared_preferences-2.0.15
shared_preferences_android-2.0.13
shared_preferences_ios-2.1.1
shared_preferences_linux-2.1.1
shared_preferences_macos-2.0.4
shared_preferences_web-2.0.4
shared_preferences_windows-2.1.1
sqflite-2.0.3+1

@AkhileshManda
This issue has been fixed as part of https://github.com/flutter/flutter/pull/102431 PR which is available on stable version 3.3.0 onwards:

You will need to upgrade to latest stable to see the fix. Closing from here as this is already fixed.


document/Image auto crop and resize tool

Description of the new feature / enhancement
I have a bunch of images/documents that I need to crop every time. I wish power tool can help me select one or multiple file/folders and then it can magically smart crop the images/documents like the cam scanner app. I am sure this will save lot of time for lot of people.
Scenario when this would be used?
You have a document picures on your PC and want to crop it as if it's scanned from a scanner? This power tool will help you.
Supporting information
With wide use of tool like cam scanner, but nothing available for PC as powerful it's tiring to crop images one by one.

/dup #26931


Can't connect to Paper Server

Describe the problem
I installed the container image on my Synology Diskstation 220+. I successfully can connect to the server, when I install the Vanilla server.
However, I'd like to run a Paper server. If I install the paper server, I see the server in the list of local servers. However, there is a small icon saying the version is 1.21.3 and I get an error message, when I try to connect the server. What could be the reason for this error?
Container definition
No response
Container logs
No response

If it's a client version mismatch then you might need to set PAPER_CHANNEL as described here
https://docker-minecraft-server.readthedocs.io/en/latest/types-and-platforms/server-types/paper/

Thanks for the quick reply!
Following you link, I found out, that 1.21.3 is indeed the latest available version of Paper. Sad, but true.

If you set experimental channel then 1.21.4 is available.


Code | Symbol Pattern 70

I would like to work on this as part of SWOC.
Could you please assign it to me?

Please tag me in all your issues so that I can respond and assign them quickly

@aryashah2k Created a PR #949  for the 10 issues I was assigned.
Please take a look


General better translation + wikipedia links

I replaced currying by currificación and I implemented minor type fixeds.
I replaced arity by aridad and I implemented minor type fixeds.
I replaced partial application by aplicación parcial and I implemented minor type fixeds.
I fixed the blockquotes convenientement to javascript rules and comments.
I added anchor elements with links to wikipedia (curriying, arity and partial application). P.D.: For partial application, Wikipedia is not the article in spanish version.

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] My article does not contain shortened URLs or affiliate links.

If your pull request closes a GitHub issue, replace the XXXXX below with the issue number.
Closes #XXXXX

Thanks!


Release a version with glGetProgramResourceiv support

See https://github.com/grovesNL/glow/issues/236
This is a bit of a blocker for Blade releases right now

Released 0.12.2 - https://crates.io/crates/glow


Moving most of mixer/doc/dev/development.md here

https://github.com/istio/mixer/blob/master/doc/dev/development.md to
here with updates to make it a bit more generic than just mixer

Jenkins job istio/presubmit passed

@geeknoid  thanks for the thorough review !
I think I covered all the notes, let me know if you want me to make further changes
(like listing components...)

Jenkins job istio/presubmit passed

Jenkins job istio/presubmit passed

Jenkins job istio/presubmit passed


Update translation with Simplified Chinese (but may need extra modification)

Update translation with Simplified Chinese though it is not in the GUI Key has existed.
So if it is possible, please add Simplified Chinese button to make it available. Thank you.

Wow, thank you! I'll add it when I have time.

Hey, I updated a line and added a new command,
new: https://github.com/img02/HuntHelper/blob/main/Translate/translations.csv#L9
updated: https://github.com/img02/HuntHelper/blob/main/Translate/translations.csv#L131
If you are available to translate them, I will update ASAP.


Allow case insensitive routes

This PR adds support for case insensitive route lookups. Let me know what you think!

This looks simple enough.  Thanks for the tests!


Update alerts-in-progress-meeting-video.md

rectifying the doc

@MikePlumleyMSFT
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


Assumes file storage type

Hi There
I might be missing something but when I try and run this for the use of connecting to a blob storage it fails because it assumes file. Is there some way to specify?
When you put in storage account example it tries example.file.core.windows.net. Blob storage is .blob.core.windows.net
Thanks
Sam

@sambanks Sorry to hear you are having issues. This integration doesn't assume any specific storage type, as the integration is done at the Storage Account level. You got access key at the storage account level and ran the command with that key and storage account name?

Hi Daniel
The storage account I am trying to connect to is of the blobstorage type. Maybe that isn't supported?
In the portal it shows as:
Type: Storage Account
Kind: BlobStorage
Cheers
Sam


How to inject variables into context in a certain route

For example, the route on my login interface is sign/in, and I have obtained the user's permission, userPermission. I want to inject userPermission into the context so that other routes can also access it. How can I implement this？Thanks everyone! God Bless you!

Hi @ZhongGuanbin ! Thanks for submitting an issue. I think the solution you're looking for might be in the Dart Frog documentation about Dependeny Injection using a Provider.
Let me know if this helps 💙

Hi @ZhongGuanbin ! Thanks for submitting an issue. I think the solution you're looking for might be in the Dart Frog documentation about Dependeny Injection using a Provider.
Let me know if this helps 💙

Hi @alestiago ! Thank you very much for your reply! I now forward requests to the root route through internal forwarding and implement dependency injection in the middleware of the root route. I feel that my usage is still a bit problematic because provider creates the provided value only when it is accessed, so I must use context. read() in the routing of the root context. I have an idea now to create Middleware in the routing, but due to other more urgent tasks, I have not yet verified it. I have just been exposed to network programming, so my ideas may be a bit absurd. I will update this issue after verification. Thank you again for your reply!

I'm glad it helped. I am closing this for now. If anything comes up, don't hesitate on telling! 💙

来信获悉，感谢您的支持！耑此奉复                                                                           钟冠彬This is an automatic reply, confirming that your e-mail was received.Thank you


Failed to load in-memory CUBIN: CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure

Hi, I'm running alphafold in docker with 4 K80 GPU cores, CUDA version 10.1, cuDNN version 7.6.5, and I ran into the "Failed to load in-memory CUBIN: CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure" error if I set --gpu_devices=0,1,2,3 (more relevant output pasted below).
On the other hand, iff I specify only one GPU core, such as --gpu_devices=1, initially it would return the error "failed to alloc<PHONE_NUMBER>6 bytes unified memory; result: CUDA_ERROR_OUT_OF_MEMORY: out of memory", but it can eventually complete the prediction on a fasta file with a single sequence (although still never finishes predicting a fasta file with multimer sequences of total length <500 aa).
Has anyone encountered similar issue that can help trouble shooting? Thank you!
I1127 19:30:07.407217<PHONE_NUMBER>64064 run_docker.py:222] I1128 00:30:07.406113<PHONE_NUMBER>70144 model.py:176] Output shape was {'distogram': {'bin_edges': (63,), 'logits': (63, 63, 64)}, 'experimentally_resolved': {'logits': (63, 37)}, 'masked_msa': {'logits': (508, 63, 23)}, 'predicted_lddt': {'logits': (63, 50)}, 'structure_module': {'final_atom_mask': (63, 37), 'final_atom_positions': (63, 37, 3)}, 'plddt': (63,), 'ranking_confidence': ()}
I1127 19:30:07.407442<PHONE_NUMBER>64064 run_docker.py:222] I1128 00:30:07.406480<PHONE_NUMBER>70144 run_alphafold.py:199] Total JAX model model_1 on DBD predict time (includes compilation time, see --benchmark): 888.2s
I1127 19:30:17.694299<PHONE_NUMBER>64064 run_docker.py:222] I1128 00:30:17.693355<PHONE_NUMBER>70144 amber_minimize.py:176] alterations info: {'nonstandard_residues': [], 'removed_heterogens': set(), 'missing_residues': {}, 'missing_heavy_atoms': {}, 'missing_terminals': {<Residue 62 (VAL) of chain 0>: ['OXT']}, 'Se_in_MET': [], 'removed_chains': {0: []}}
I1127 19:30:17.803968<PHONE_NUMBER>64064 run_docker.py:222] I1128 00:30:17.803377<PHONE_NUMBER>70144 amber_minimize.py:405] Minimizing protein, attempt 1 of 100.
I1127 19:30:18.022173<PHONE_NUMBER>64064 run_docker.py:222] I1128 00:30:18.021294<PHONE_NUMBER>70144 amber_minimize.py:69] Restraining 492 / 1003 particles.
I1127 19:30:25.255502<PHONE_NUMBER>64064 run_docker.py:222] I1128 00:30:25.254601<PHONE_NUMBER>70144 amber_minimize.py:176] alterations info: {'nonstandard_residues': [], 'removed_heterogens': set(), 'missing_residues': {}, 'missing_heavy_atoms': {}, 'missing_terminals': {}, 'Se_in_MET': [], 'removed_chains': {0: []}}
I1127 19:30:25.522432<PHONE_NUMBER>64064 run_docker.py:222] 2021-11-28 00:30:25.521781: E external/org_tensorflow/tensorflow/compiler/xla/pjrt/pjrt_stream_executor_client.cc:2040] Execution of replica 0 failed: Internal: Failed to load in-memory CUBIN: CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure
I1127 19:30:25.539318<PHONE_NUMBER>64064 run_docker.py:222] Traceback (most recent call last):
I1127 19:30:25.539550<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/run_alphafold.py", line 427, in <module>
I1127 19:30:25.539715<PHONE_NUMBER>64064 run_docker.py:222] app.run(main)
I1127 19:30:25.539821<PHONE_NUMBER>64064 run_docker.py:222] File "/opt/conda/lib/python3.7/site-packages/absl/app.py", line 312, in run
I1127 19:30:25.539974<PHONE_NUMBER>64064 run_docker.py:222] _run_main(main, args)
I1127 19:30:25.540073<PHONE_NUMBER>64064 run_docker.py:222] File "/opt/conda/lib/python3.7/site-packages/absl/app.py", line 258, in _run_main
I1127 19:30:25.540174<PHONE_NUMBER>64064 run_docker.py:222] sys.exit(main(argv))
I1127 19:30:25.540267<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/run_alphafold.py", line 412, in main
I1127 19:30:25.540380<PHONE_NUMBER>64064 run_docker.py:222] is_prokaryote=is_prokaryote)
I1127 19:30:25.540477<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/run_alphafold.py", line 237, in predict_structure
I1127 19:30:25.540588<PHONE_NUMBER>64064 run_docker.py:222] relaxed_pdb_str, _, _ = amber_relaxer.process(prot=unrelaxed_protein)
I1127 19:30:25.540682<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/alphafold/relax/relax.py", line 62, in process
I1127 19:30:25.540771<PHONE_NUMBER>64064 run_docker.py:222] max_outer_iterations=self._max_outer_iterations)
I1127 19:30:25.540861<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/alphafold/relax/amber_minimize.py", line 482, in run_pipeline
I1127 19:30:25.540950<PHONE_NUMBER>64064 run_docker.py:222] ret.update(get_violation_metrics(prot))
I1127 19:30:25.541038<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/alphafold/relax/amber_minimize.py", line 356, in get_violation_metrics
I1127 19:30:25.541127<PHONE_NUMBER>64064 run_docker.py:222] structural_violations, struct_metrics = find_violations(prot)
I1127 19:30:25.541215<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/alphafold/relax/amber_minimize.py", line 343, in find_violations
I1127 19:30:25.541304<PHONE_NUMBER>64064 run_docker.py:222] "clash_overlap_tolerance": 1.5,  # Taken from model config.
I1127 19:30:25.541408<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/alphafold/model/folding.py", line 748, in find_structural_violations
I1127 19:30:25.541498<PHONE_NUMBER>64064 run_docker.py:222] tolerance_factor_hard=config.violation_tolerance_factor)
I1127 19:30:25.541586<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/alphafold/model/all_atom.py", line 664, in between_residue_bond_loss
I1127 19:30:25.541674<PHONE_NUMBER>64064 run_docker.py:222] 1e-6 + jnp.sum(squared_difference(this_c_pos, next_n_pos), axis=-1))
I1127 19:30:25.541762<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/alphafold/model/all_atom.py", line 47, in squared_difference
I1127 19:30:25.541850<PHONE_NUMBER>64064 run_docker.py:222] return jnp.square(x - y)
I1127 19:30:25.541939<PHONE_NUMBER>64064 run_docker.py:222] File "/opt/conda/lib/python3.7/site-packages/jax/_src/traceback_util.py", line 162, in reraise_with_filtered_traceback
I1127 19:30:25.542027<PHONE_NUMBER>64064 run_docker.py:222] return fun(*args, **kwargs)
I1127 19:30:25.542114<PHONE_NUMBER>64064 run_docker.py:222] File "/opt/conda/lib/python3.7/site-packages/jax/_src/api.py", line 419, in cache_miss
I1127 19:30:25.542222<PHONE_NUMBER>64064 run_docker.py:222] donated_invars=donated_invars, inline=inline)
I1127 19:30:25.542315<PHONE_NUMBER>64064 run_docker.py:222] File "/opt/conda/lib/python3.7/site-packages/jax/core.py", line 1632, in bind
I1127 19:30:25.542421<PHONE_NUMBER>64064 run_docker.py:222] return call_bind(self, fun, *args, **params)
I1127 19:30:25.542540<PHONE_NUMBER>64064 run_docker.py:222] File "/opt/conda/lib/python3.7/site-packages/jax/core.py", line 1623, in call_bind
I1127 19:30:25.542629<PHONE_NUMBER>64064 run_docker.py:222] outs = primitive.process(top_trace, fun, tracers, params)
I1127 19:30:25.542717<PHONE_NUMBER>64064 run_docker.py:222] File "/opt/conda/lib/python3.7/site-packages/jax/core.py", line 1635, in process
I1127 19:30:25.542805<PHONE_NUMBER>64064 run_docker.py:222] return trace.process_call(self, fun, tracers, params)
I1127 19:30:25.542893<PHONE_NUMBER>64064 run_docker.py:222] File "/opt/conda/lib/python3.7/site-packages/jax/core.py", line 627, in process_call
I1127 19:30:25.542980<PHONE_NUMBER>64064 run_docker.py:222] return primitive.impl(f, *tracers, **params)
I1127 19:30:25.543067<PHONE_NUMBER>64064 run_docker.py:222] File "/opt/conda/lib/python3.7/site-packages/jax/interpreters/xla.py", line 690, in _xla_call_impl
I1127 19:30:25.543155<PHONE_NUMBER>64064 run_docker.py:222] out = compiled_fun(*args)
I1127 19:30:25.543245<PHONE_NUMBER>64064 run_docker.py:222] File "/opt/conda/lib/python3.7/site-packages/jax/interpreters/xla.py", line 1100, in _execute_compiled
I1127 19:30:25.543345<PHONE_NUMBER>64064 run_docker.py:222] out_bufs = compiled.execute(input_bufs)
I1127 19:30:25.543439<PHONE_NUMBER>64064 run_docker.py:222] jax._src.traceback_util.UnfilteredStackTrace: RuntimeError: Internal: Failed to load in-memory CUBIN: CUDA_ERROR_LAUNCH_FAILED: unspecified launch failure
I1127 19:30:25.543529<PHONE_NUMBER>64064 run_docker.py:222]
I1127 19:30:25.543617<PHONE_NUMBER>64064 run_docker.py:222] The stack trace below excludes JAX-internal frames.
I1127 19:30:25.543704<PHONE_NUMBER>64064 run_docker.py:222] The preceding is the original exception that occurred, unmodified.
I1127 19:30:25.543809<PHONE_NUMBER>64064 run_docker.py:222]
I1127 19:30:25.543896<PHONE_NUMBER>64064 run_docker.py:222] --------------------
I1127 19:30:25.544003<PHONE_NUMBER>64064 run_docker.py:222]
I1127 19:30:25.544089<PHONE_NUMBER>64064 run_docker.py:222] The above exception was the direct cause of the following exception:
I1127 19:30:25.544178<PHONE_NUMBER>64064 run_docker.py:222]
I1127 19:30:25.544282<PHONE_NUMBER>64064 run_docker.py:222] Traceback (most recent call last):
I1127 19:30:25.544378<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/run_alphafold.py", line 427, in <module>
I1127 19:30:25.544466<PHONE_NUMBER>64064 run_docker.py:222] app.run(main)
I1127 19:30:25.544565<PHONE_NUMBER>64064 run_docker.py:222] File "/opt/conda/lib/python3.7/site-packages/absl/app.py", line 312, in run
I1127 19:30:25.544672<PHONE_NUMBER>64064 run_docker.py:222] _run_main(main, args)
I1127 19:30:25.544762<PHONE_NUMBER>64064 run_docker.py:222] File "/opt/conda/lib/python3.7/site-packages/absl/app.py", line 258, in _run_main
I1127 19:30:25.544850<PHONE_NUMBER>64064 run_docker.py:222] sys.exit(main(argv))
I1127 19:30:25.544938<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/run_alphafold.py", line 412, in main
I1127 19:30:25.545041<PHONE_NUMBER>64064 run_docker.py:222] is_prokaryote=is_prokaryote)
I1127 19:30:25.545126<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/run_alphafold.py", line 237, in predict_structure
I1127 19:30:25.545235<PHONE_NUMBER>64064 run_docker.py:222] relaxed_pdb_str, _, _ = amber_relaxer.process(prot=unrelaxed_protein)
I1127 19:30:25.545325<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/alphafold/relax/relax.py", line 62, in process
I1127 19:30:25.545425<PHONE_NUMBER>64064 run_docker.py:222] max_outer_iterations=self._max_outer_iterations)
I1127 19:30:25.545528<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/alphafold/relax/amber_minimize.py", line 482, in run_pipeline
I1127 19:30:25.545613<PHONE_NUMBER>64064 run_docker.py:222] ret.update(get_violation_metrics(prot))
I1127 19:30:25.545698<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/alphafold/relax/amber_minimize.py", line 356, in get_violation_metrics
I1127 19:30:25.545783<PHONE_NUMBER>64064 run_docker.py:222] structural_violations, struct_metrics = find_violations(prot)
I1127 19:30:25.545868<PHONE_NUMBER>64064 run_docker.py:222] File "/app/alphafold/alphafold/relax/amber_minimize.py", line 343, in find_violations
I1127 19:30:25.545953<PHONE_NUMBER>64064 run_docker.py:222] "clash_overlap_tolerance": 1.5,  # Taken from model config.
 I am not sure that you can combine the multiple gpu memory from those gpus on the old kepler generation...

If I recall correctly, the K80 is a dual gpu on a single PCIe card, and is seen as 2x 12 GB memory gpu. I am not sure that you can combine the multiple gpu memory from those gpus on the old kepler generation...

Yes, K80 is dual GPUs on a single card and we have two cards. I found this blog (https://developer.nvidia.com/blog/unified-memory-cuda-beginners/) and quote below:
"The Pascal GPU architecture is the first with hardware support for virtual memory page faulting and migration, via its Page Migration Engine. Older GPUs based on the Kepler and Maxwell architectures also support a more limited form of Unified Memory."
The rest of the article is really hard for me to understand what limited form of unified memory the Kepler architecture supports. Does it still mean that it's not possible to run alphafold with unified memory on K80?

This problem was addressed in https://github.com/deepmind/alphafold/releases/tag/v2.1.2, feel free to reopen if this is still an issue.


Unable to load a compatible version of the widget 'catboost_module'. Expected behavior may be affected.

Environment data

VS Code version: 1.56.0-insider
Jupyter Extension version (available under the Extensions sidebar): 6.1.6
OS (Windows | Mac | Linux distro) and version: ubuntu 21.04
Python and/or Anaconda version: 3.7.3 64-bit
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): conda
Jupyter server running: Local

Expected behaviour
in catboost model training step it generates a plot  for the model behavior (accuracy , logloss ,..) , it is expected to generate the plot without any errors
Actual behaviour
what happened is that it takes a very long time on  in training and doesn't generate the plot , but generates this error

Hi @Montaser16. Could you please fill out the bug template? The more info you share the better!

Thanks @Montaser16, could you share a screenshot of the error you're seeing?

Dupe of #1684.


Handle response content-length mis-match errors

If the application sets the content-length response header and then does not write that exact number of bytes then this corrupts the connection state. There are three scenarios:
A) The application writes more bytes than specified. The client will truncate at the specified content-length and then fail trying to parse the remainder as the start of the next response. The client should then abort the connection.
B) The applications writes fewer bytes than specified. The client will hang waiting for the remaining data. Eventually it should time out and disconnect.
C) The application specifies a non-zero content length but doesn't write any data. The client will hang just as in (B)
For (A) it would be nice to track the content length and throw from Write if too many bytes are written. The connection should be aborted.
For (B) we need to track the content length and disconnect if the response ends without writing enough data. There's no way to raise this error to the application except in the logs. This scenario should be treated the same as if there were an unhandled exception after the response body had started.
(C) we could detect even without tracking content written because we know if the response has started or not. The response should be changed to a 500 internal server error and logged as an error.

@lodejard What do you think about this one?

I'll chime in. It's a nice feature but I wonder if it's worth the added complexity to the code.

Why/when would any of those 3 scenarios take place?
How often are them expected to occur?

All 3 scenarios manifest their symptoms in the client, which would eventually lead to an investigation on the server side. Unless Kestrel itself could be the source of these issues, I'd say it's up to the application to ensure it is sending the right data.

Application developers make mistakes. This is more about how readily can they diagnose those mistakes. B and C are difficult to diagnose as they manifest as hangs on the client side (or data corruption in a pipelining scenario). The average browser has built in mitigations for A where they just drain any remaining data.

Moving this to Backlog as we will be in RC2 ask mode very soon.  If you feel strongly about this issue, please ping me.

Catching up on notification backlog - we talked about this one the other day actually. This could be part of a middleware in the diagnostics package, actually, where response length and numerous other "application correctness" checks could be done by wrapping many features of the http request/response

@lodejard I like that idea. I don't think Kestrel should be trying to account for potential application mistakes. It would make every correct application pay a price for whatever applications out there that are not doing the right thing regarding Content-Length.

Kestrel is ultimately responsible for implementing the HTTP protocol and maintaining the connection integrity. It's one thing to recommend diagnostic middleware to help developers interactively debug application issues. It's another to let the connection state become corrupt.

Removing from the backlog to discuss this in the next triage. We may need to have this for the edge server scenario.

I'm going to pop up again and say that I'd love it if our streams implemented Position without throwing.