Implement interactions GraphQL endpoints

After a series of iterations including Data, BE and FE, this is the current draft (documented) of the GraphQL schema for interactions.
The general functionality that we want to resolve has 3 layers:

Data retrieved about interaction resources
Data retrieved when Target (interactor A) + resource are fixed
Data retrieved when Target(interactor A) + resource + interactor B are fixed

Minor things might require adjustments. Please consult with me if you have any doubts.
Important considerations:

We want the queried target to become interactor A in all cases. That might require a solution in the BE (e.g. duplicating the data to fill the full matrix) and making sure the appropriate fields referring to A and B are not confused.
The InteractionEvidence endpoint does work for all 4 resources but it has quite a lot of optional fields.
Ideally we want to make the Species endpoint compatible with other resources (e.g. Homology)
We are working under the assumption that interactor A will always be a human protein. Once this is fixed, interactor B can be human or from other species. That might make some interactor Bs not resolvable into target objects. Hopefully, this schema resolves the issue.
Some of the syntax might be incorrect - that will be my mistake. Feel free to edit

type Target {
  "Open Targets target id"
  id: String!

  "NOTE: All the other fields go here"

  "Interacting targets by resource"
  "NOTE: the Target entity will always become interactor A - that might require to duplicate BE data or do some smart queries. Also to adjust accordingly all fields related to A and B"
  interactingTargetsBySource(resource: [interactionResourceInput!]!): InteractionSet
}

"Input for interaction resources"
input interactionResourceInput {
  id: String!
  version: String!
}

"Interaction resources"
type interactionResources{
  "Resource name"
  source_database: String!
  "Resource version"
  database_version: String!
}

"Set of interacting targets"
type InteractionSet{
  "Number of interacting proteins"
  uniqueInteractors: Long!
  "Number of interactions"
  count: Long!
  "Interaction entries"
  rows: [Interaction!]!
}

"Target molecular interaction entry"
type Interaction{
  "Interactor A reported identifier"
  "Warning: Some might not be resolvable human targets"
  intA_sourceID: String!
  "Interactor A identifier resource"
  intA_source: String!
  "Interactor A biological role in interaction"
  intA_biological_role: String
  "Interactor B object (when human)"
  "Warning: Some might not be resolvable (human) targets"
  intB: Target
  "Interactor B reported identifier"
  intB_sourceID: String!
  "Interactor B identifier resource"
  intB_source: String!
  "Interactor B organism"
  intB_species: Species!
  "Interactor B biological role in interaction"
  intB_biological_role: String
  "Causal interaction"
  causal_interaction: Boolean
  "Interaction score"
  interaction_score: Float
  "Number of evidence supporting interaction"
  evidenceCount(partner: ensembl_id!): Long
  "Interaction evidence"
  evidence(interactorB: intB_sourceID!): [InteractionEvidence!]!
}

"Species entry"
type Species{
  "Species scientific name"
  scientific_name: String
  "NCBI taxonomy id"
  taxid: String
  "Species common name"
  mnemonic: String
}

"Interaction evidence"
type InteractionEvidence{
  "Datasource interaction ID"
  interaction_identifier: String
  "Pubmed id on publication"
  pubmed_id: String
  "Taxonomy id of organism in which experiment was performed"
  host_organism_tax_id: String
  "Scientific name of organism in which experiment was performed"
  host_organism_scientific_name: String
  "Type of molecular interaction"
  interaction_type_short_name: String
  "Type of molecular interaction MI identifier"
  interaction_type_mi_identifier: String
  "Interaction detection method MI identifier"
  interaction_detection_method_mi_identifier: String
  "Interaction detection method short name"
  interaction_detection_method_short_name: String
  "Detection method short name for interactor A"
  participant_detection_method_short_name_A: String
  "Detection method MI identifier for interactor A"
  participant_detection_method_mi_identifier_A: String
  "Detection method short name for interactor B"
  participant_detection_method_short_name_B: String
  "Detection method MI identifier for interactor B"
  participant_detection_method_mi_identifier_B: String
  "Expansion method short name"
  expansion_method_short_name: String
  "Expansion method short name"
  expansion_method_mi_identifier: String
  "Evidence score"
  evidenceScore: Long
}

The repositories involved are
*) platform-input-support: It will retrive and generate the input files.
*) platform-etl-backend: ETL step to get the input files and generate two indices.
The indices should be
otnetworks ("intATarget", "intBTarget","intABiologicalRole", "intBBiologicalRole", "interactionResources")
otnetworksEvidences("intATarget", "intBTarget","intABiologicalRole", "intBBiologicalRole", "interactionResources", "evidences", "intA_sourceID", "intA_source", "intB_source", .....)
*) platform-api-beta: add the endpoint for retrieving the info

Parts of the "Interaction evidence" (InteractionEvidence) object will change when the new fixes from Intact team are implemented.
In particular, the next fields could be affected:
"Detection method MI identifier for interactor A"
participant_detection_method_mi_identifier_A: String
"Detection method short name for interactor B"
participant_detection_method_short_name_B: String
"Detection method MI identifier for interactor B"
participant_detection_method_mi_identifier_B: String

Pull request to platform-etl-backend.


CASMINST-5843: remove use of hostPath for cert mounting

Description
https://jira-pro.its.hpecorp.net:8443/browse/CASMINST-5843
Adds changes to the following templates:

ims-upload
vcs-upload
vcs-update-working-branch

Required to mount certs via a configMap instead of hostPath due to storage issues from IUF

Checklist

[ ] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[ ] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport main


Wercker git hook broken

It looks like this broke after we renamed this repository from user-api. Builds are still happening, but Wercker is trying to notify the old repository of changes so they're not showing up on PRs or commits.
Apparently, Wercker don't have a way to change the GitHub repository in their interface, so I think its attempts to "notify" the old repo and just getting swallowed by the redirect. The recommended fix (which worked for Forge when I had to fix that) was just to delete the Wercker app and re-create. :grimacing:
/cc @blisteringherb

Little follow-up on this: it looks like we can contact their support to change the repo URL.

I submitted a help ticket, will update when I hear back.

Fixed! Closing.


Allow re-ordering

Currently if you make the tooltip things in wrong order, re-ordering is annoying. Please make it less annoying? Please?

I feel you. Is on top of my list for the next update.


Bonfire: Sorted Union not enough parameters

The function for Sorted Union uses the parameters arr1 ,arr2 and arr3, but the last test has 4 arrays.

The instructions state that the function can take two or more arguments (variable no of parameters).
For this, you need to use the arguments object : Refer documentation also mentioned in the instructions as useful links.
Just a hint, something like:
function someFunction(){
    var args = arguments; // array of parameters
    var firstArg = arguments[0]; // or first parameter
...
}

// all the below are valid.
someFunction(1,2,3);
someFunction(1,2,3,4);

The arguments object is inbuilt into JavaScript functions, please refer the documentation linked above.
Hope this helps!
If you still get stuck don't hesitate to ask for assistance @ Help Chat

Ah right it's the point of the Bonfire.
I guess my method was technically speaking a failure then. Thanks for clearing that up


Expose 'user' scoped API tokens in project security history?

From https://github.com/pypa/warehouse/pull/6339#issuecomment-520879774

We currently record project:api_token:added and project:api_token:removed whenever a token with the given project in-scope is added or removed, but we don't do the same when a user-scoped token is added or removed (we only record that for the user). Adding that to the project would constitute a minor info-leak (other project owners would be able to see token creation/deletion events for potentially unrelated tokens created by other owners), but that might be an acceptable tradeoff.

Further discussion here:
https://github.com/pypa/warehouse/pull/6339#discussion_r314009955

One minor issue with recording project events on a "user scoped" token's creation is that only preexisting projects will receive the creation event, while future projects will silently allow the token but not contain the corresponding event. That's not necessarily worse than the current PR behavior, just something to keep in mind. We could also generally mitigate the problem by listing associated API tokens separately somewhere in the project management view.

My thoughts on this:

I think it would be useful to have a place in the project management area where maintainers can view all active API tokens. We could potentially expose this information in the "collaborators" page by listing the API tokens associated with each user (in the table)

We should expose the creation of new user scoped tokens on the project security history, when that user is already associated with the project

When a new user is added to a project (project:role:add), we should list any user scoped API tokens they have as additional data.  Same for when a user is removed (project:role:delete).  E.g.

It could also be useful to raise a warning when a new collaborator is added, e.g.

@brainwane I've added this to the OTF security milestone, but I'm not sure if it's in scope.  Please remove the milestone if not :)

@nlhkabu Let's discuss this in the bug triage & work prioritization meeting I'm scheduling (within the next few business days).

Yes, per our meeting last week, this is in the milestone, and Will says it shouldn't take too long.

Contractors on the OTF-funded work need to de-prioritize work on the security features in order to ensure we complete the accessibility and internationalization work by the end of the month. Therefore, while this is a great feature to have, and I understand Will might still complete it this month, I'm removing it from the milestone.


remove memcached push section; update source.mac to be all-encompassi…

…ng related.mac
Description
Please provide a description of your proposed changes - providing obfuscated log/code examples is highly encouraged.
I am removing the MISP memcached section because it will be moved to a separate python application.
Related Issues
Are there any Issues to this PR?
Todos
Are there any additional items that must be completed before this PR gets merged in?

[ ]
[ ]

@Akhila-Y could you please review this and then ask Krishna to give an approval?


[BUG]: I rotated the image by 90 degrees clockwise just to test if Deepface properly aligns that

Before You Report a Bug, Please Confirm You Have Done The Following...

[X] I have updated to the latest version of the packages.
[X] I have searched for both existing issues and closed issues and found none that matched my issue.

DeepFace's version
v0.0.94 (directly cloned the master branch)
Python version
3.9
Operating System
Ubuntu
Dependencies
absl-py==2.1.0
amqp==5.3.1
asgiref==3.8.1
asttokens==3.0.0
astunparse==1.6.3
async-timeout==5.0.1
backcall==0.2.0
beautifulsoup4==4.12.3
billiard==4.2.1
black==24.10.0
blinker==1.9.0
celery==5.4.0
certifi==2024.12.14
cfgv==3.4.0
charset-normalizer==3.4.1
click==8.1.8
click-didyoumean==0.3.1
click-plugins==1.1.1
click-repl==0.3.0
contourpy==1.3.0
cycler==0.12.1
decorator==5.1.1
deepface @ git+https://github.com/serengil/deepface.git@ca6afd98efb87dc61fb022ddd2892da23dc75f68
distlib==0.3.9
Django==4.2
django-celery-results==2.5.1
django-cors-headers==4.6.0
django-extensions==3.2.3
django-filter==24.3
djangorestframework==3.15.2
executing==2.1.0
filelock==3.16.1
fire==0.7.0
Flask==3.1.0
Flask-Cors==5.0.0
flatbuffers==24.12.23
fonttools==4.55.3
gast==0.6.0
gdown==5.2.0
google-pasta==0.2.0
greenlet==3.1.1
grpcio==1.68.1
gunicorn==23.0.0
h5py==3.12.1
identify==2.6.3
idna==3.10
importlib_metadata==8.5.0
importlib_resources==6.4.5
ipython==8.12.3
itsdangerous==2.2.0
jedi==0.19.2
Jinja2==3.1.5
keras==3.7.0
kiwisolver==1.4.7
kombu==5.4.2
libclang==18.1.1
Markdown==3.7
markdown-it-py==3.0.0
MarkupSafe==3.0.2
matplotlib==3.9.4
matplotlib-inline==0.1.7
mdurl==0.1.2
ml-dtypes==0.4.1
mtcnn==0.1.1
mypy-extensions==1.0.0
namex==0.0.8
nodeenv==1.9.1
numpy==2.0.2
opencv-python==<IP_ADDRESS>
opt_einsum==3.4.0
optree==0.13.1
packaging==24.2
pandas==2.2.3
parso==0.8.4
pathspec==0.12.1
pexpect==4.9.0
pgvector==0.3.6
pickleshare==0.7.5
pillow==11.0.0
platformdirs==4.3.6
pre_commit==4.0.1
prompt_toolkit==3.0.48
protobuf==5.29.2
psycopg2==2.9.10
ptyprocess==0.7.0
pure_eval==0.2.3
Pygments==2.18.0
pyparsing==3.2.0
PySocks==1.7.1
python-dateutil==2.9.0.post0
python-dotenv==1.0.1
pytz==2024.2
PyYAML==6.0.2
redis==5.2.1
requests==2.32.3
retina-face==0.0.17
rich==13.9.4
six==1.17.0
soupsieve==2.6
SQLAlchemy==2.0.36
sqlparse==0.5.3
stack-data==0.6.3
tensorboard==2.18.0
tensorboard-data-server==0.7.2
tensorflow==2.18.0
tensorflow-io-gcs-filesystem==0.37.1
termcolor==2.5.0
tf_keras==2.18.0
tomli==2.2.1
tqdm==4.67.1
traitlets==5.14.3
typing_extensions==4.12.2
tzdata==2024.2
urllib3==2.3.0
vine==5.1.0
virtualenv==20.28.0
wcwidth==0.2.13
Werkzeug==3.1.3
wrapt==1.17.0
zipp==3.21.0
Reproducible example
I have provided a rotated image image to .represent() method with retinaFace face detection model and FaceNet512 as recognition model.

Debugged the below method in modules/detection.py

def align_img_wrt_eyes(
    img: np.ndarray,
    left_eye: Optional[Union[list, tuple]],
    right_eye: Optional[Union[list, tuple]],
) -> Tuple[np.ndarray, float]:
    """
    Align a given image horizantally with respect to their left and right eye locations
    Args:
        img (np.ndarray): pre-loaded image with detected face
        left_eye (list or tuple): coordinates of left eye with respect to the person itself
        right_eye(list or tuple): coordinates of right eye with respect to the person itself
    Returns:
        img (np.ndarray): aligned facial image
    """
    # if eye could not be detected for the given image, return image itself
    if left_eye is None or right_eye is None:
        return img, 0

    # sometimes unexpectedly detected images come with nil dimensions
    if img.shape[0] == 0 or img.shape[1] == 0:
        return img, 0

    angle = float(np.degrees(np.arctan2(left_eye[1] - right_eye[1], left_eye[0] - right_eye[0])))

    (h, w) = img.shape[:2]
    center = (w // 2, h // 2)
    M = cv2.getRotationMatrix2D(center, angle, 1.0)
    img = cv2.warpAffine(
        img, M, (w, h), flags=cv2.INTER_CUBIC, borderMode=cv2.BORDER_CONSTANT, borderValue=(0, 0, 0)
    )

    return img, angle

### Relevant Log Output

I have provided this image:
![shahrukh_rotated](https://github.com/user-attachments/assets/e7fa4433-569c-4b2a-b9bc-7724b96cf2f0)

Just before getting into align_img_wrt_eyes, the img looked like this

![img_from_align_img_wrt_eyes_rotated](https://github.com/user-attachments/assets/d1a5412f-6553-4762-9845-045403e99e78)

align_img_wrt_eyes() method returned this:
![final_img](https://github.com/user-attachments/assets/70b0149f-9c56-43fe-8c92-b29a34494b42)

### Expected Result

I expected two things:

1. The bounding box should have rotated along with the image, rather than remaining fixed. The current behavior causes parts of the face to be cropped.
2. The image should have been properly aligned horizontally, but it is still misaligned.

### What happened instead?

1. The bounding box remained fixed while only the image rotated, causing parts of the face to be cropped.
2. The image did not align properly and is still tilted instead of being horizontally straightened.

### Additional Info

_No response_

I tested the given image with retinaface. You didn't mention the detector backend you are using. Also, I assume you didn't share the original image because the one in the link is low quality and opencv cannot find a face in it.
As you can see, it finds the coordinates of eyes with highlighted points.

TLDR: deepface can align faces without any bug, the problem here is that face detectors fail to detect eye coordinates properly when images aligned 90 degrees. So, unfortunately, nothing can be done for this.

I tested the given image with retinaface. You didn't mention the detector backend you are using. Also, I assume you didn't share the original image because the one in the link is low quality and opencv cannot find a face in it.
As you can see, it finds the coordinates of eyes with highlighted points.

TLDR: deepface can align faces without any bug, the problem here is that face detectors fail to detect eye coordinates properly when images aligned 90 degrees. So, unfortunately, nothing can be done for this.

Thanks for clarifying this.
I used the RetinaFace detector (as mentioned earlier in the bug report), and it appears that the issue lies with the face detector.
Regarding my other point, the bounding box doesn’t seem to rotate along with the image during alignment, causing parts of the face to fall outside the box (as shown in these examples). Should we address this?
Unaligned image:

aligned image:

oh i just understand what you mean
here, we should replace w and h beucase angle is too much

I tried rotating the bounding box along with the image, but it seems this approach also requires additional adjustments as the accuracy was decreasing. I'll continue exploring to see if I can come up with a more reliable solution. Thanks for taking the time to look into this!

feel free to create a PR if you can find a way, I will be able to work on this to night


Adding a function for virtual-dom's defaultValue property.

This is needed if you want to set an initial value for a form
element. (In contrast with the "value" property, which sets the value on
every re-render.)

Can you explain more about this? Is there any documentation?
Is this a custom thing added into the underlying virtual-dom implementation in JS?
Is it possible to avoid reseting on every rerender instead?

Yes, sorry, let me back up a bit and explain.
Here's a simple example (which I've lifted from @rtfeldman's signup form sample):
Demo
Source
As it says, if you type something into the first input box, move the cursor to the start, and type quickly, the cursor position will jump - somehow the input & rendering get out of sync.
I believe this is because there's an assumption that the input-update-rerender happens in a single step, but I don't think that's the case. I think that if the event queue is busy enough - which I've simulated with an fps ticker - you can get more than one change in into the field before Elm/virtual-dom have caught up. Then the field is more than one character out of sync and gets confused.
I've seen a similar problem where characters are dropped, but the cursor-jump is easiest to replicate.
One solution is fairly easy. Just set the value on the input field once - using defaultValue - and thereafter let the input box's value be the master copy, driving the model. I've hit exactly the same problem using Om/React - react supports this property too - and it works just fine.
Obviously, "not getting out of sync" would be the ideal solution. But this works for me, and defaultValue has a legitimate use if you're using the HTML form-reset mechanism. So I thought I'd write the patch...

Yeah, we've run afoul of this with integration tests - the test runner "types" too fast, so things sometimes get out of sync (but not always - it's a race condition, possibly having to do with requestAnimationFrame batching). We fixed it by making it so that our integration tests always decide to fill out forms using a single character (e.g. for firstName filling out "S" instead of "Sam") but that's hardly ideal. :smile:
I've always thought defaultValue was pretty clunky/confusing in React, and it's more so in Elm because reading directly from the DOM is more explicitly discouraged.
I think we should at least discuss other options before doing what React did here. Is there some way to solve the "getting out of sync" race condition problem?

I thought I'd post here as it was mentioned in the other discussion thread I was involved with
I believe the problem observed in the examples is with a selection instead as when you modify the input.value it changes input.selectionStart and input.selectionEnd to the end of the value. So what you you observe is when you change cursor position your model and actual DOM state gets out of sync as a side effect of actually not keeping track of selection ranges.
In the project I work we resolved similar issues with input.value by starting to model selection in the input along with value. That way when you update a value you also update cursor position back to it's original and there for avoid getting out of sync with actual DOM. Please note that there are many crucial details on when to update selection and not to update it when it already matches the selection in the input to avoid other races, but given the interest I'm happy to share more details.

@Gozala Can you share your solution for tracking selection in model?

@Gozala Can you share your solution for tracking selection in model?

@rofrol I did describe it in the mentioned thread. As of project I mentioned, it is unfortunately not in Elm but in JS that very closely follows Elm architecture and and design (well from version back for now) but feel free to look at how solution looks there:
Here is an implementation of what I would turn into a selection attribute in Elm:
https://github.com/browserhtml/browserhtml/blob/master/src/driver/virtual-dom/index.js#L226-L251
If you look at the generic Edit field code both input and selection events carry input selection information with a message so that two stay in sync and avoid issues described.
P.S.: Code is little old & solution is not quite as elegant as a proposal in the discussion thread, but it works.

I am also having issues with value versus defaultValue for a textarea.  This is for an app for composing mathematics (etc) lecture notes online.  Here is the saga (1) I originally used value.  However, I discovered that when typing other than slowly, the cursor-insertion point would jump around in a crazy way.  (2) I switched to defaultValue.  That solved the original problem but resulted in a new one: (3) If I then select another document to edit from the list of available documents, the text to edit does not change.
I should say that there are two side by side "panes" -- one, on the left, with the "source" text, the other on the right, with the rendered text (rendered by asciidoctor + mathjax).  The right-hand text, which is managed by ports, behaves correctly.
For the moment I can live with this, but won't be able to go into production without a solution.

@jxxcarlson You have to also use Html.Keyed, to essentially force Elm to create a new textarea which once again uses the defaultValue. A nice example is here:
https://ellie-app.com/3fPSxX6VHK7a1/0
Look at the way reset is implemented. Without the Html.Keyed, reset would not actually reset the input.

Ran into this today with a barcode scanner and an input field. Scanner typed faster than Elm's update/render cycle. This caused characters to get dropped in the input field. It's a shared mutable state problem since both the user and Elm renderer are both writing into value competitively. Using defaultValue fixed the issue.
I see in the documentation that defaultValue has been added to Elm already.


css-next Layout Panel width ignores vertical scrollbar

The css-next layout uses right on the Panel when the right Sidebar is open. But if the content in the panel is long enough to make the vertical scrollbar appear, then the sidebar extends on top of the panel by the width of the scrollbar. It also makes a spurious horizontal scrollbar appear (see bottom right of screenshot).

Upon further investigation I realized that the Panel is always too wide if the content is long enough to make the vertical scrollbar show. Note the unnecessary horizontal scrollbar in the attached screenshot.
This is because absolute positioning ignores the width of the scrollbar when calculating right; it starts at the right edge of the window whether there is a scrollbar or not. Just one of the things that makes CSS awesome.

Please verify it works as intended!

Changing min-width from 100vw to 100% did the trick


Add Database Component

What does this PR do?

This component provides a simple way to add a SQLite database to your app using the SQLModel dependency.
This component was created from the work done in the Lightning HPO repo and it was re-used in the Echo App.
from sqlmodel import Field, SQLModel

from lightning import LightningApp, LightningFlow
from lightning_app.components.database import Database, DatabaseClient

class CounterModel(SQLModel, table=True):
    __table_args__ = {"extend_existing": True}

    id: int = Field(default=None, primary_key=True)
    count: int

class Flow(LightningFlow):
    def __init__(self):
        super().__init__()
        self.db = Database(models=[CounterModel])
        self._client = None
        self.counter = 0

    def run(self):
        self.db.run()

        if not self.db.alive():
            return

        if self.counter == 0:
            self._client = DatabaseClient(model=CounterModel, db_url=self.db.url)
            self._client.reset_database()

        assert self._client

        rows = self._client.select_all()

        print(f"{self.counter}: {rows}")

        if not rows:
            self._client.insert(CounterModel(count=0))
        else:
            row: CounterModel = rows[0]
            row.count += 1
            self._client.update(row)

        if self.counter >= 100:
            row: CounterModel = rows[0]
            self._client.delete(row)
            self._client.delete_database()
            self._exit()

        self.counter += 1

app = LightningApp(Flow())

Fixes #<issue_number>
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[ ] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[ ] Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[x] Check that all items from Before submitting are resolved
[x] Make sure the title is self-explanatory and the description concisely explains the PR
[x] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃
cc @borda

Can we add documentation?

@Borda Done !


Docs: Publish Upgrade Guide for V3

What were you searching in the docs?
Similar to what we did when we released V2, we need to write a clear and concise upgrade guide to help customers migrate from V2 to V3.
Is this related to an existing documentation section?
https://docs.powertools.aws.dev/lambda/python/latest/upgrade/
How can we improve?
Write the upgrade guide.
Got a suggestion in mind?
No response
Acknowledgment

[X] I understand the final update might be different from my proposed suggestion, or refused.

Closed as complete.


refresh 5

chaos
communication
compute
confidentialledger

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-arm-chaos


New series parameter

Description

For standard display item and plot dash item
When you set the value, it updates the list of streams
The allowed values is synchronized with the available streams

This fixes the race condition

Developer Testing

Here's what I did to test my changes:

Add plot item and standard display item
Change the series to some fake parsley
Save and reopen

Reviewer Testing

Here's what you should do to quickly validate my changes:

Try out series for plot and standard display item

This change is

@Darth-Raazi you need to start receiving data first


Handle ERROR:  While executing gem ... (Zlib::BufError)?

I've seen this happening a couple of times:
Run gem install gem-compare --version 1.1.0
Successfully installed rainbow-3.1.1
Successfully installed gemnasium-parser-0.1.9
Successfully installed diffy-3.4.2
Successfully installed gem-compare-1.1.0
4 gems installed
Run gem compare $COMPARE_GEM $COMPARE_FROM_VERSION $COMPARE_TO_VERSION > compare_output.txt
NOTE: Gem::Specification#has_rdoc is deprecated with no replacement. It will be removed in Rubygems 4
Gem::Specification#has_rdoc called from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/gem-compare-1.1.0/lib/rubygems/comparator/utils.rb:112.
NOTE: Gem::Specification#has_rdoc is deprecated with no replacement. It will be removed in Rubygems 4
Gem::Specification#has_rdoc called from /opt/hostedtoolcache/Ruby/3.1.2/x64/lib/ruby/gems/3.1.0/gems/gem-compare-1.1.0/lib/rubygems/comparator/utils.rb:112.
Run gem compare --diff $COMPARE_GEM $COMPARE_FROM_VERSION $COMPARE_TO_VERSION > compare_diff.txt
ERROR:  While executing gem ... (Zlib::BufError)
    buffer error

This is probably not the fault of this plugin, rather a temporary transport/network issue. Maybe rubygems.org does some rate limiting. Nevertheless, it would be cool to handle it, if possible.
We can see that the first gem compare command worked, is the second one fetching the gems again from RubyGems.org?
GitHub Actions log at https://github.com/Starkast/wikimum/runs/7173057743?check_suite_focus=true#step:2:454
(I've made an action that runs this plugin on Dependabot PRs and makes comment with the comparison,  https://github.com/dentarg/gem-compare)

Do you have a suggestion on how to address this?

Not yet :)

For now I've worked around this issue with retries outside gem compare.

Maybe https://github.com/ruby/zlib/pull/61 will make a difference for this (just a guess)

Could you try with the latest rubygems? We recently added something that will give a better report when a file reaches an eof unexpectedly. It might at least reveal if this is a problem with the downloaded file.
For what it's worth, gem-compare is simply calling Gem::Package#extract_files. It's not doing anything "fancy" so this is either probably either internal to rubygems, or zlib as you mentioned) or caused by network issues when downloading.

Yes, it would be better to open an issue in RubyGems and/or Zlib, and just link the issue.

Could you try with the latest rubygems?

I'm not running gem compare by hand, I'm using my action https://github.com/dentarg/gem-compare to run it on Dependabot PRs. It uses whatever RubyGems setup-ruby picks, https://github.com/ruby/setup-ruby#rubygems, which seems to be the RubyGems that comes with Ruby.
Here's a recent run using Ruby 3.1.4 where the problem still showed: https://github.com/Starkast/wikimum/actions/runs/6154045239/job/16698800533#step:2:85
Here's a recent run using Ruby 3.2.2 where the problem still showed:
https://github.com/dentarg/burd/actions/runs/5905770058/job/16020494333#step:2:95
Looks like Ruby 3.2.2 ships with RubyGems 3.4.10? Is that recent enough?
I guess I could always install the latest RubyGems at the cost of somewhat slower CI runs.


Enable no parallel downloads option

This PR is an addition to the actuall PHP library. Since this project is merely a wrapper around that, I have contacted PrinceXML and asked them if they are willing to move their codebase for the PHP library to Github. That way, people can start contributing to it. I will let you know as soon as I hear from them.

@mattmcardle Prince wrappers are already on GitHub. Best is if you make this PR to their repository directly https://github.com/yeslogic/prince-tools /cc @mikeday


tensorboard tensor visualisation -- hooks

Hi,
I was just looking into using tensorboard to visualise the ongoings of the tensorflow models.
Some of our Hooks have a summary_writer attribute which can be used to dump the relevant information into a log file. So far the summary_writer works great for scalar values like training speed or the evaluation metrics. I want to use this summary_writer for visualising tensors.
Functionalities in the hooks to log the evolution of embeddings, matrices and other tensors during training would be great, and tensorboard has some pretty awesome visualisations.
But currently all hooks are called during training with the same loss input argument, and don't generally allow for other tensors or summaries which the hooks could log at_iteration_end or at_epoch_end, even if they were passed over from the train() function.
In the way the hooks are currently set up they only allow for logging scalars related to the loss, not arbitrary summary writer operations.
How could we change this? I only see a redefinition of the Hooks abstraction, but perhaps someone has already done some work here..?
Cheers
Johannes

summaries can be written with tf.summary, they are fetched every iteration and can be inspected in the tensorboard.


Better logging in the CSVURLModule

Summary
This PR addresses STEAM-670: 'CSVURLModule should validate the the URL it receives is a valid URL'. Upon closer inspection, it doesn't look like we do the level of validation we expected in the CSVFileModule. Accordingly, all this task takes up is better logging in fillDataCache logic.
New behavior
When a URL is provided that cannot be used successfully in CSV extraction, error messages are logged to the console. Additionally, debug messages have been added throughout the fillDataCache routine.
Code changes

Logs added throughout the fillDataCache function.

Testing guidance

With a URL-enabled csv extractor, run the tool with a valid URL and ensure that extraction works.
With a URL-enabled csv extractor, run the tool with an invalid URL and ensure that the error message logs as expected.

Below is an example (courtesy of @julianxcarter ) of a valid URL extractor config
{
      "label": "cancerDiseaseStatus",
      "type": "CSVCancerDiseaseStatusExtractor",
      "constructorArgs": {
        "url": "https://raw.githubusercontent.com/mcode/mcode-extraction-framework/main/test/sample-client-data/cancer-disease-status-information.csv"
      }
    }

@dmendelowitz do you still approve with the minor changes made since you last approved? Just wanted to give you a chance to take a look before I merged!


I have an error message in Terminal when I roll up with CCapture

[!] Error: Could not resolve './ArrayBufferDataStream' from ./ArrayBufferDataStream?commonjs-external
all I did was put the below at the head of my js code.
import CCapture from 'ccapture.js';

Take a look at this thread:
https://github.com/spite/ccapture.js/issues/78


Refresh handling in MigrationTypes

This set has been kept entirely unmodified, just doing reviews and merges in batches.


Adapt the Contributor guide to the new layout of POMs and new native …

…build arguments

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/camel-quarkus-pr/113/Build result: ABORTED[...truncated 297.35 KB...][INFO] Using 'UTF-8' encoding to copy filtered resources.[INFO] skip non existing resourceDirectory /home/jenkins/jenkins-slave/workspace/camel-quarkus-pr/integration-tests/netty4-http/src/test/resources[INFO] Copying 3 resources[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 7 iota=94[INFO] [INFO] --- maven-compiler-plugin:3.8.0:testCompile (default-testCompile) @ camel-quarkus-integration-test-netty4-http ---[INFO] Changes detected - recompiling the module![INFO] Compiling 2 source files to /home/jenkins/jenkins-slave/workspace/camel-quarkus-pr/integration-tests/netty4-http/target/test-classes[WARNING] Failed to notify spy hudson.maven.Maven3Builder$JenkinsEventSpy: java.util.concurrent.ExecutionException: Invalid object ID 7 iota=94[INFO] [INFO] --- maven-surefire-plugin:2.22.0:test (default-test) @ camel-quarkus-integration-test-netty4-http ---[INFO] Surefire report directory: /home/jenkins/jenkins-slave/workspace/camel-quarkus-pr/integration-tests/netty4-http/target/surefire-reports[INFO] [INFO] -------------------------------------------------------[INFO]  T E S T S[INFO] -------------------------------------------------------[INFO] Running org.apache.camel.quarkus.component.netty4.http.CamelTestBuild was abortedAborted by lburgazzolichannel stoppedAdding one-line test results to commit status...Setting status of 53daf408ab1e4cef152f8794c6cded54c368c78b to FAILURE with url https://builds.apache.org/job/camel-quarkus-pr/113/ and message: 'FAILURE 16 tests run, 0 skipped, 0 failed.'Using context: default


What is the way to wait until all actions of one type ends?

I have todo list with possibility to delete items of list, my saga listens on corresponding action:
export default function* deleteTodoListItemSaga() {
  while (true) {
    const action = yield take(DELETE_TODO_LIST_ITEM_REQUEST);
    yield fork(deleteTodoListItem, action);
  }
}

I get todo list after item was  successfully deleted:
export function* deleteTodoListItem(action: {
  type: string;
  data: { id: number };
}) {
  try {
    const result = yield call(api.deleteTodoListItem, action.data.id);
    yield put(success(result));
    yield put(getTodoList()); // this line
  } catch (e) {
    yield put(err(e));
  }
}

Explanation of problem:
I want to have interactive ui, so user can delete several items at once.
When todo list is requested from API, loader is shown
So, when user subsequently deletes several items, there is can be such situation:

first item was successfully deleted(response is 200) => todo list is requested => loader is shown
second item was successfully deleted => todo list is requested again => loader is shown again

Also it will be useful if I want to reduce number of requests to API.
So, I see one solving of this problem:
To get todo list from api after all running deleteTodoListItem end.
Please show example with such implementation if it is possible

U need to introduce some temporary array, track completions in it and dispatch getTodoList conditionally based on the fact if there is still any deleteTodoListItem running.

Yes, my problem was that I tried to implement this task with saga and didn't know how to do it.
For task described above this can be easily implemented with deleteTodoListItem reducer and without some special saga watchers.
BUT: suppose that we have possibility to add new todo items:

User presses 'Add' button => request for adding new todo is being sent
While first request is being sent user presses 'Delete' button on some item => request for deleting todo item is being sent.

We have two separate reducers for adding and deleting items
So to be able to wait until adding and deleting request will finish I created special watcher saga:
export default function* getTodoListDueUpdateSaga() {
  let processingRequestsNumber = 0;

  while (true) {
    const action = yield take([
      DELETE_ACTIONS.REQUEST,
      DELETE_ACTIONS.GOT,
      DELETE_ACTIONS.ERROR,
      ADD_ACTIONS.REQUEST,
      ADD_ACTIONS.GOT,
      ADD_ACTIONS.ERROR
    ]);

    switch (action.type) {
      case DELETE_ACTIONS.REQUEST:
      case ADD_ACTIONS.REQUEST: {
        processingRequestsNumber += 1;
        break;
      }
      case DELETE_ACTIONS.GOT:
      case DELETE_ACTIONS.ERROR:
      case ADD_ACTIONS.GOT:
      case ADD_ACTIONS.ERROR: {
        processingRequestsNumber -= 1;
        if (processingRequestsNumber === 0) {
          // all requests are completed

          // so we send request to get fresh todo list
          yield put(req());

          // clear deleting ids only after fresh todo list was requested
          // it is needed to disable items in right way and
          // avoid repeated deleting requests
          yield put(clearDeletingIds());
        }
      }
    }
  }
}

I didnt mean tracking those completions with state/reducers, but in the saga itself (as some local variable). You have done exactly that 😉 If this code solves ur case I dont see anything wrong with it.

what if i'm asynchronously waiting for the success of  three different calls?
const floorTilesSuccess = yield take("UNZIP_FLOOR_TILES_SUCCESS");
const imagesSuccess = yield take("UNZIP_IMAGES_SUCCESS");
const docsSuccess = yield take("UNZIP_DOCS_SUCCESS");


[filtering page] APPLY button is not shown at the bottom of a screen on an Android phone

Describe the bug
APPLY button is not shown at the bottom of a screen on an Android phone. I am talking about the "filtering" page.
To Reproduce
Steps to reproduce the behavior:

Go to 'https://svelte-commerce.litekart.in/search' from your Android smartphone
Click on 'filter'

Expected behavior
APPLY button is shown at the bottom of the screen
Screenshots

Smartphone (please complete the following information):

Device: Android smartphone
OS: Android 10
Browser: Chrome
Version: 96.0.4664.92

Hi Andrei,
Thank you so much for raising the issue. I will have a look and fix it as soon.

Hi @itswadesh, if this issue is available, i would like to work on

Hi @JugurthaMoad Thanks for the support offer. Anyway I have moved the filter to the top. I guess this issue is already resoved.
You are welcome to contribute any way. ❤

You're welcome @itswadesh


MathJax + jsPDF

When I'm rendering a page containing MathJax, I get this output.
Live demo here : https://jsfiddle.net/c5bz060c/2/
Any idea to make jsPDF work with MathJax?

Code:

When  two solutions to \(ax^2 + bx + c = 0\) $$x = {-b \pm \sqrt{b^2-4ac} \over 2a}.$$

Any idea @MrRio maybe with SVG support?

Do you still need support?

Do you still need support?

@arasabbasi Yes this would be great :)

Strange, did I delete my post?!
Well, I think we are getting closer.
I think i found here mathjax ttf files, which we would need for jsPDF.
https://github.com/rrnntt/pdf/tree/master/font/MathJax/ttf
If you want we could write a mathjax plugin, so that it works out of the box. But keep in mind that we would depend on canvg.

Well it is a beginning..

No jsfiddle. But in examples/MathJax folder you can see the code. You have to build the project with npm run-script build
Or you download the snapshot from yesterday. https://github.com/MrRio/jsPDF/issues/1819#issuecomment-448051429 and replace the files in the dist folder.
James and I planned a release for tomorrow, so maybe the day after tomorrow you can test it b yourself.

DId you check the latest builds?

@arasabbasi I tried but it didn't work, as I'm on Windows + not familiar with Node / npm (I used it once years ago but not anymore). Thus I have this error: html2canvas not loaded.
Could you just put a simple example on jsfiddle using an already-built html2canvas.js and jspdf.min.js?
When you don't use packaging tools or building tools like npm on a regular basis (i.e. at least once each year), it's headaches when you come back to it years after ;) Also as I'm on Windows, it's probably not the best platform for it :)


rollback workflow to previous state if new task creation/enqueuing fails

Removing all the new tasks created if creation/enqueuing of a task fails, essentially resetting workflow state.
If exception is thrown during starting a new workflow, remove this workflow from the database before propagating the exception back in the response.
Terminate the workflow with failure, if script evaluation fails in a decision task.
Cleaned up some logs.

Pull Request Test Coverage Report for Build 2566

27 of 38 (71.05%)  changed or added relevant lines in 6 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.003%) to 68.921%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

client/src/main/java/com/netflix/conductor/client/http/ClientBase.java
0
1
0.0%

core/src/main/java/com/netflix/conductor/core/execution/tasks/SubWorkflow.java
0
1
0.0%

core/src/main/java/com/netflix/conductor/core/execution/WorkflowExecutor.java
20
29
68.97%

Files with Coverage Reduction
New Missed Lines
%

cassandra-persistence/src/main/java/com/netflix/conductor/dao/cassandra/CassandraExecutionDAO.java
1
66.8%

Totals

Change from base Build 2561:
0.003%

Covered Lines:
9265

Relevant Lines:
13443

💛  - Coveralls


Import issues

Getting these errors for imports. The directory doesnt have the required files. Followed the instructions for the installation
'cannot import name 'Variable' from 'torchphysics.problem''

Hi,
which Notebook are you trying to run? The 'Variable' class is part of our old API and not present in the library anymore. However, there are some old examples which should usually bei marked as 'not supported anymore'.

Sorry I didn't realize the statement on the top of the notebook which explicitly mentioned that it wouldn't work with the current version. Thanks for letting me know.

Sorry I didn't realize the statement on the top of the notebook which
explicitly mentioned that it wouldn't work with the current version. Thanks
for letting me know.
On Sat, Sep 17, 2022 at 12:04 PM nheilenkoetter @.***>
wrote:

Hi,
which Notebook are you trying to run? The 'Variable' class is part of our
old API and not present in the library anymore. However, there are some old
examples which should usually bei marked as 'not supported anymore'.
—
Reply to this email directly, view it on GitHub
https://github.com/boschresearch/torchphysics/issues/19#issuecomment-1250096599,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AML4LXYMJEAG6I34R7PWVMLV6XT2PANCNFSM6AAAAAAQOY2TJ4
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Best,
Moatasim Farooque


instanceId in metrics

Describe the feature request
Hi, the instanceId currently is always set to browser.
What is the plan for this field? Can we have the context being stored there? So that usage metrics can be even more useful
Background
No response
Solution suggestions
How about store something meaningful in the instanceId e.g. user sessionID, or user email etc

@jameswnl
Hi. I don't think there has been much thought behind this. Our metrics data format was largely dictated by the NodeJS implementation, and was included here because the contract demanded it. I do like the idea of making the usage metrics more useful, though maybe that should be an expansion of the contract rather than using the instanceId field to store this data.
Another important consideration is our privacy focus. We do not want to receive sensitive user / domain settings. If we just dump the entire context into metrics, then suddenly we will capture potentially sensitive data that belongs in your application. We are of course, always open to discussing how we can improve unleash, and improving metrics is an area of interest for us - but it will require some thought on the implementation that does not compromise our core values.

As an added note, if you want more analytics related data, you might want to take a look at impression data. This will allow you to capture usage and exposure in your own application.


Carousel adding extra empty item at the end of the array.

When initialized the carousel is adding an extra item to the end of the carousel. There is nothing in this item just empty.

Is there any solution to this problem?

Solve the problem, add *ngIf="items.length". for me works
http://prntscr.com/katg2r


Update README.md for Jazzy

🦟 Bug fix
Updated README.md for Jazzy
Summary

Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

https://github.com/Mergifyio backport jazzy


Add a bin/flutter-dev script, for running the flutter command-line tool from source

Not so long ago I remember a very informal conversation that went something like this:

@matanlurey: I wish I could pass --dev or something to flutter to run from source.
@christopherfujino: I get what you want, but I don't want to overload the tool with more dev-only things. I would consider a script like flutter-dev that does that thing, though.
@matanlurey: Cool, I might send a PR!

So uh, here it is 6-9 months later. Suggestions welcome.

Turns out this didn't do what I wanted - it's using the cached snapshot!


Don't auto-sort tabs in alphabetical order

A thing I'd expect from a more IDE-like behavior is that new script tabs always open at the right-most position

You can already do that in the editor settings:


imageblock not showing icons

imageblock that should show hint images ( --hint=string:image-path:gtk-icon-name-without-extention ) doesn't work. that means some applications that use gtk icons (/usr/share/icons/adwita or similar) in notifications (nm-applet) don't provide full path so images are not showing up and i have no control over it ( like in my scripts ). i haven't had same problem in other notification daemons. it will be really useful if you add/fix this

Am aware of this issue.  Dunst (and others I guess) has some logic to resolve 'native' icon paths.  It's part of the notification spec and you're right that we should implement it: https://specifications.freedesktop.org/notification-spec/latest/icons-and-images.html.
I haven't had a lot of time to work on wired lately, but I do hope to get to this.


how to parse a query

Hi how can i parse a query and get every part of the query and its name?
i.e. query1: INSERT INTO QBAdminGroup.abmc_contacts(id, name) VALUES (1, 'jimmy')
output1: 'DML', 'Keyword', 'Identifier', 'Keyword', 'Parenthesis'
query2: select 2 from admin
output2: 'DML', 'Integer', 'Keyword', 'Keyword'
the query part's name no need to be the same as the outputs,but i wonder if sqlparser has similar function or something else.Thanks!

The parser will process the SQL to a AST statement object. The  type is in the list {
DeleteStmt , InsertStmt, UnionStmt ,UpdateStmt, SelectStmt, ShowStmt ... } .
Every statement is a struct , you can decode the struct to get the format you want.


Fix the damn CI build failures with hanging tests

Move whatever tests are hanging in CoreTests to what's now the circuit breaker or scheduling tests as a first step. Maybe just rename those to one big "SlowTests" project.

Got it.


Update state.source.api to state.source.url

Updates state.source.api to state.source.url in various places in the documentation and modifies the descriptions/explanations where appropriate.

Changing me as reviewer to David because he is the supporter this week 🙂

Do we also need to make any updates to the documentation on libraries.source.api.init?
https://community.frontity.org/t/make-the-backend-url-a-global-setting/2381/48

Do we also need to make any updates to the documentation on libraries.source.api.init?

For context, we are going to remove that API from the docs, as it is not intended to be used by other packages: https://github.com/frontity/docs/issues/256


Any interest in a currying syntax extension?

I was considering putting together a babel syntax extension to make curried functions feel more lightweight. Something like:
function % (a, b, c)
{
}

which transpiles to:
R.curryN(3, function (a,b,c) { })

It would work on arrow functions too, etc. I have no attachment to any particular syntax, but was curious what the thoughts were.

I have absolutely no experience with babel syntax extensions, but this sounds interesting.  I'd love to see it.  I could easily see it being something that the Ramda community would give its blessing to.

See also sanctuary-js/sanctuary-def#39

I'm not really interested in making new syntax! Please keep it as pure JavaScript.

It occurs to me that one of the potential benefits of implementing a syntax transformation is that a lot of this behavior can be inlined, such that curryN never shows up in your stack trace (and possibly helps performance as well).
function f(a)(b)(c)
{
}

Can become:
function f(a, b, c)
{
   if (arguments.length < 3)
    ...
}

Interestingly, if you know you are targeting node 6+, we can take advantage of default args to avoid using arguments object:
var secret = { };
function f(a,b=secret,c=secret)
{
    if (c===secret && b ===secret) return function(b=secret,c=secret){ return f(a,b,c) }
   if (c === secret) return function(c) { return f(a,b,c) }
   ...

}

@ndaidong:  We certainly are keeping Ramda as plain JS.  As I understand it, this would be a possible tool for Babel users to compile to Ramda code.

Yeah I'm aware that syntax features have a polarizing effect of totally selling some, but completely turning others off, so absolutely meant to be an augmenting tool.
My main goal is to experiment with minor changes that could really make usage more fundamental. I've had a suspicion for a long time that as silly as it may seem, simply having syntax for a feature automatically makes it more appealing to users. A great example is how arrays are so overused in JavaScript simply because 1) they are baked into the language, and 2) they can be trivially constructed. Even when we have much better data structures, there's a weird feeling of "heaviness" that leads people to just grab for an array an inadvertently O(N) penalties with it, vs. making something that has a constructor and some form of disconnected serialization of data (such as how you create a Set with an array). On the other hand, the fact that objects are so easy to construct in JavaScript is arguably a good example of the effects syntax can create.
To some extent I find myself avoiding curryN until I absolutely need it just because of this friction, which is unfortunate because currying really is the gateway feature to everything else in ramda (in my opinion). But having to wrap it up, and thus lose hoisting, and start getting the gears turning on "I wonder what the perf penalty is here..." can be detrimental. For my team, the first time they encounter something like "f(a)(b)(c){}" I think it is easier to sell that as a superpower, as opposed to this weird dependency they now need to encumber every one of their functions with.

sweet.js macros are another option. Theres a couple curry macros already https://github.com/sweet-js/sweet.js/wiki/Example-macros


Descriptions in Schema

Is it possible to define the schema with the type language and still define the type descriptions?

Got it.
For future reference, just the actual spec: http://facebook.github.io/graphql/draft/#sec-Descriptions


Create admin dashboard to manage affiliates.

Rather than relying upon users to flag themselves as affiliates, we should create an admin dashboard where we can manage the user's DSI affiliation status.

You can log in to the admin dashboard on https://wwwtest.maps.datascience.wisc.edu/ using:
username: admin
password: eQZy3spAy8
The dashboard allows an admin user to change the affiliates status of users but that's current all.


spec: add cluster tls configuration

\cc @xiang90 @hongchaodeng

@hongchaodeng thanks for the quick review. I've added some preliminary docs, PTAL

cc @ericchiang @philips

LGTM in general.

LGTM!

@colhom Thanks!


Ports 80, 81 (Admin console) and 443 are only present on one (1) NICs of totally 3...

While Debian 11 installation, i used eth0 with a static IP configuration ("leased line"), after installation i set up other 2 NICs... with correct "post up ip route ... " commands in /etc/network/interfaces. (All IPs are pingable, but only one one (1) telnet [or web browser] gives me an anwser on ports 80, 81 and 443.
Does somebody known what this is?
Thank you very much for your feedbacks...

???

Better use Windows 10 Pro x64 with IIS as a reverse proxy, much more simple and much more stable... :-)

ok thx!! :-)


feat(csharp/src/Drivers/Apache): Add support for Impala ADBC Driver with Refactoring and Unit Tests

Added support for the Impala ADBC driver with both standard and HTTP transport protocols.
Refactored the existing Spark and Impala code to move common functionalities into a shared HiveServer2.
Updated Spark unit tests to align with shared functionalities for Impala and Spark.
Added new unit tests for Impala ADBC driver support.

The Spark and Impala tests are passing for me. Can we get this closed out by early next week @CurtHagenlocher ?


[wolfssl] Build wolfssl with HAVE_EX_DATA and NO_WOLFSSL_STUB to enable async use and coexistence with openssl without link error

Async applications using wolfssl need to associate extra data (application context) with the ssl session and context. This is used in verification callback.
NO_WOLFSSL_STUB is needed to prevent a link time error resulting from duplicate symbols when linking to both wolfssl and openssl at the same time

Please get failure logs here on x64-osx.
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - broken
CMake Error at /Users/vcpkg/Data/downloads/tools/cmake-3.29.2-osx/cmake-3.29.2-macos-universal/CMake.app/Contents/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
  The C compiler

    "/Library/Developer/CommandLineTools/usr/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: '/Users/vcpkg/Data/b/wolfssl/x64-osx-rel/CMakeFiles/CMakeScratch/TryCompile-PwvBMm'

    Run Build Command(s): /usr/local/bin/ninja -v cmTC_dfc59

Specific steps are as follows, taking arm64-android as an example:

Click "details" to enter

Click the link for "errors/warnings"

Click the "triplets" you want to view

Download the log file

View the stdout-triplets.log log to continue

thanks for the review! I didn't think without this space it will end up with '-arch x86_64-DHAVE_EX_DATA' on the command line as it worked on windows and linux

At present, the version information of your commit is inconsistent with your local one:
##[error]Found the following errors:
##[error]versions/w-/wolfssl.json(2,): error : while parsing versions for wolfssl from version/w-/wolfssl.json
5.7.0#1 is declared with 4c06acb4358f2d96b464a6ea1466e4b27d42bbda, but the local port has a different SHA 60802b6ec5e1284242e1b501a1eed34033bbdc35.

Please run ./vcpkg x-add-version testPort [--overwrite-version] before each push:

For any file modification under the ports/testPort/ folder, please commit after modification
Run ./vcpkg x-add-version testPort to generate a series of version according to your commit info (Add --overwrite-version when generating other than the first time)
Commit verison information again
Push together

--overwrite-version
After the first modification, please run ./vcpkg x-add-version testPort to generate the corresponding json; for subsequent modifications of the same version, please use ./vcpkg x-add-version testPort --overwrite-version to update git-tree.
maintainer guide#versioning.


Search Editor's openLocationToSide should also work right-to-left

When I have a two column editor layout and Search > Search Editor: Double Click Behaviour is set to openLocationToSide, it works well if the search editor is in the left column, opening the target on the right.  If the search editor is on the right, though, it splits the pane further and messes up the layout.  Instead, it should open the target in the group to its left.
This was originally reported by @dwelle in https://github.com/microsoft/vscode/issues/23931#issuecomment-598357713, and apparently would require a modification to editor.action.openDeclarationToTheSide to consider other groups before creating a new one.

This can be a feature request candidate for having another setting to specify openLocationToSide to open to the left.
It's tricky to intuit where the user wants the new editor to go, just based on where the active search editor is. Also, it seems that we have some precedence for Open ___ to the Side opening things to the right, so I don't want to alter the default behavior.

Fair enough, thanks.  The logic I'd suggest is "open to the right, unless this is the last group in which case open to the left".  This will work nicely for two column layouts and still be predictable for more complex ones.

That makes sense, but it doesn't seem to follow what we do for other 'open to side' behaviors (ie: open terminal to side, open definition to side). This being said, I'd be willing to create a setting for it as a non-default behavior. There could be an open for it to open up to the right, left, or auto.

What I really want is a "never create a new group in my carefully configured editor layout" setting — where the file actually opens is a secondary concern.


Update Pages “the-role-of-digitalization”

Automatically generated by Netlify CMS

👷 Deploy Preview for famous-kulfi-ae21db processing.

Name
Link

🔨 Latest commit
7efaeff549caaf7fa8924e0dbb279e5602b5fe8a

🔍 Latest deploy log
https://app.netlify.com/sites/famous-kulfi-ae21db/deploys/657f210c7245480009028036


Initialize signature showing Object.new signature but not the specific class signature

Description
Reproduction steps

Create a class with an initialize method, give it no documentation.
In another place, instantiate this class
The signature help displays class.rbs help. It doesn't matter if the signature is different or no.
I would expect at least to see the signature.

This may be an issue with the neovim/lsp configuration, I'm wondering if other people see this too. I have seen this with my classes, but also with gems. The classes for the gems are loaded correctly, however when I try to instantiate it, I don't see the signature. Could be related to https://github.com/Shopify/ruby-lsp/pull/2553 ?
I've created a Dockerfile where you can see this happening. There are some annoying warnings, I need to update the Dockerfile.
curl -o Dockerfile https://gist.githubusercontent.com/dgmora/f869b0692db5fafdf6d43090ec9cb46f/raw/Dockerfile && \
  docker build -t lazyvim-lsp . && \
  docker run -it lazyvim-lsp
# `nvim` to start neovim
# inside:
#   `<space>`  to see available keymaps (and wait)
#   `<space>e` to toggle filetree
#   `a`        to create a file in the file tree

Thanks for the clarification!
I've also noticed that if the first class has a method like
def test
  puts 'hi'
end

Doing MyExample.new.te doesn't show test. Is that related?

Not exactly. That would require some special handling for the new method in our type inferrer.
However, we explored type flow analysis in #2421 and concluded that the effort vs benefit was not worth it at the moment (you essentially need to build an entire type checker to get that working). I say that because of this:
# We can make this work properly because all we need to look into is the immediate receiver
MyExample.new.test

# This requires more sophisticated flow analysis, which we will not invest effort at this time
# Although this specific example might look simple, the mechanisms to ensure proper type flow analysis
# are not. We need to properly track scopes, create an internal type system so that we can represent
# unions if variables are set conditionally and many other fundamental pieces of a full fledged type
# checker
a = MyExample.new
a.test


Add package.py and build command for REZ

Codecov Report

Merging #15 (2e38711) into main (2ec4511) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #15   +/-   ##
=======================================
  Coverage   96.35%   96.35%
=======================================
  Files          12       12
  Lines         548      548
=======================================
  Hits          528      528
  Misses         20       20

Flag
Coverage Δ

unittests
96.35% <ø> (ø)

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

Continue to review full report at Codecov.

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


Objects disappearing when switching to stereo on iPhone

In this graph
http://georgi.vizor.io/mattdev/default
the floor loads phone in mono on iPhone Safari. When i switch to stereo, floor disappears. Switch back to mono, floor reappears.

Probably related to #1111


Swap out base href

Just wanted to remind you to update the examples when the next release is out.

@taion close this once read :tada:

Nah this is a real issue, we should fix this separately from the 3.0 release.


How to obtain the time spent on training each epoch manually

Hi guys,
I just have a quick question as shown in the title of this post.
I know that keras displays the training time spent on each epoch if you turns on the 'verbose' parameter. But how can I get this training time manually and use it for other displaying purpose?  Is there a builtin method for this? Because I can not seem to find it.
Thanks a lot and cheers,
Kevin

You could write a keras callback along these lines.
Cheers
from time import time
class TimingCallback(Callback):
  def __init__():
    self.logs=[]
  def on_epoch_begin(epoch, logs={}):
    self.starttime=time()
  def on_epoch_end(epoch, logs={}):
    self.logs.append(time()-self.starttime)
...
cb = TimingCallback()
model.fit(..., callbacks=[cb])
print(cb.logs)

Hi man, thanks. Is it better to use timeit instead of time module? I read that timeit is more accurate than time in terms of recording execution time.
Cheers

Maybe, but you don't need nanosecond accuracy for each epoch. Maybe if you were timing batches it would matter. timeit is also more accurate because you can run something repeatedly and average the timing, but that isn't what you're looking for.
In general, use timeit for trying to get accurate times of small bits of code for optimizing performance, but use something like time for just recording general time data.


[WIP] Changes to support auth client changes

Depends on testing https://github.com/kbase/auth/pull/36 and merging changes from https://github.com/kbase/kb_sdk/pull/191 in to develop. Please wait to merge till then.
Changes to support the Perl auth client modifications.  Use the kb_sdk type compiler instead of the original type compiler.  Other minor bug fixes.

Depends on merging kb_sdk Perl auth2 changes, which is still in progress.

These changes don't explicitly depend on merging kb_sdk auth2 changes in to develop, as long as the correct branch of kb_sdk is checked out when building handle_service.  So I think it is safe to merge these in.


feat: add curve aave vault to custom ordering

Also added ankrETH vault, no rush to merge since we are still missing asset images :(


Lost all my networks

I just lost all my networks thanks to this line:
https://github.com/sinetoami/nmcli-rofi/blob/bb89f8b03051dc3729e632ff6612add81f0fd112/nmcli-rofi#L151
Why would you delete networks without any notice?

Sorry for that. My bad. Thanks for your feedback.


ERROR wrap_plonk_bn254: Failed to run docker run

Hi all!
I get this error when I try the plonk prover for the fibonacci example ->
$ RUST_LOG=info cargo run --release -- --prove
# ...

2024-11-04T11:59:58.184458Z  INFO wrap_bn254: close time.busy=157s time.idle=1.42µs
[sp1] plonk circuit artifacts for version v3.0.0 do not exist at /Users/me/.sp1/circuits/plonk/v3.0.0. downloading...
  [00:02:55] [#####################################################################################################################################] 1.07 GiB/1.07 GiB (6.22 MiB/s, 0s)[sp1] downloaded https://sp1-circuits.s3-us-east-2.amazonaws.com/v3.0.0-plonk.tar.gz to "/Users/me/.sp1/circuits/plonk/v3.0.0"
2024-11-04T12:02:55.479318Z  INFO wrap_plonk_bn254: Running prove in docker
Unable to find image 'ghcr.io/succinctlabs/sp1-gnark:v3.0.0' locally
v3.0.0: Pulling from succinctlabs/sp1-gnark
b3c56a24ca32: Pull complete
0c283a94c958: Pull complete
7587f92130ba: Pull complete
Digest: sha256:98c353f1b3c392d18d1c5f0ea2473c8284b28fd022604f33c195dbb7e99f07f0
Status: Downloaded newer image for ghcr.io/succinctlabs/sp1-gnark:v3.0.0
2024-11-04T12:03:34.069917Z ERROR wrap_plonk_bn254: Failed to run `docker run`: "docker" "run" "--rm" "-v" "/Users/me/.sp1/circuits/plonk/v3.0.0:/circuit" "-v" "/var/folders/g5/y38jzk596376626x304q4j6r0000gn/T/.tmpogGXps:/witness" "-v" "/var/folders/g5/y38jzk596376626x304q4j6r0000gn/T/.tmpshGKJl:/output" "ghcr.io/succinctlabs/sp1-gnark:v3.0.0" "prove" "--system" "plonk" "/circuit" "/witness" "/output"
thread 'main' panicked at /Users/me/.cargo/registry/src/index.crates.io-6f17d22bba15001f/sp1-recursion-gnark-ffi-3.0.0/src/ffi/docker.rs:74:59:
failed to prove with docker: docker command failed
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
2024-11-04T12:03:34.072564Z  INFO wrap_plonk_bn254: close time.busy=38.8s time.idle=1.88µs

Any ideas for what I might be missing or doing wrong?

Are you using the network prover by any chance? Due to some changes between dev and 3.0.0, you can't currently use the latest dev on the network.

Thanks for heads up @yuwen01! I was using the local prover with docker. I just applied to get access to the prove network following these steps. Looking forward. 🙏

I think I might have reproduced the error -- running with RUST_LOG=info gives me this
[sp1] plonk circuit artifacts already seem to exist at /home/yuwen/.sp1/circuits/plonk/v3.0.0. if you want to re-download them, delete the directory
2024-11-04T20:37:37.483743Z  INFO wrap_plonk_bn254: Running prove in docker
20:37:48 ERR error="invalid witness size, got 24292, expected 23846" nbConstraints=10537659
panic: invalid witness size, got 24292, expected 23846

Some context from the telegram channel. TLDR generating prod-ready plonk/groth16 proofs on latest dev isn't going to work, since sp1 artifacts are only updated for official releases.

each sp1 release comes with a set of groth16 and plonk circuit artifacts. These artifacts aren't constantly updated with each new push to dev -- only on each release cycle. You're running into this issue because the circuits and stuff are updated for the latest dev, but the groth16/plonk artifacts are stuck on 3.0.0, which is an incompatibility.
If you generate proofs using the prover network using that commit then the proof should verify, since the prover network uses entirely 3.0.0 compatible artifacts. If you're interested you can fill out the form here https://forms.gle/rTUvhstS8PFfv9B3A !

I'll try to release the verifier crate to crates.io tomorrow or wednesday, so hopefully you won't have to wait till 4.0.0

I'll close this issue once the verifier crate is released.

Verifier crate is up! Supports docker and network proofs for v3.0.0 circuits.


ENH: Add a Python level lapack wrapper for DSYTRS

Is your feature request related to a problem? Please describe.
I've been prototyping a global RBF solver that can scale to hundreds of thousands or even millions of input points  and as part of that I'm using DSYTRF to perform LDL^T factorisation of the augemented kernel matrix (as I need to account for positive semi-definite matrices, which rules out LL^T), which there's a Python level wrapper for (thanks!).
However, I found that the triangular solver that can use this factorisation and pivot information (DSYTRS) doesn't have a Python level wrapper.
Describe the solution you'd like.
A Python level wrapper for DSYTRS in scipy.linalg.lapack
Describe alternatives you've considered.
I found that DSYTRS did have a Cython wrapper, though (again, thanks!) so I was able to work around it by creating my own Cython function and a convenience Python function to call it, but it'd certainly be nicer to have a built in Python level wrapper to call.
Additional context (e.g. screenshots, GIFs)
My Cython wrapper was:
# cython: wraparound = False
# cython: boundscheck = False

from scipy.linalg.cython_lapack cimport dsytrs

cpdef lapack_dsytrs(
    char* UPLO,
    int N,
    int NRHS,
    double[::1] A,
    int LDA,
    int[::1] IPIV,
    double[::1] B,
    int LDB,
):
    cdef int INFO
    dsytrs(UPLO, &N, &NRHS, &A[0], &LDA, &IPIV[0], &B[0], &LDB, &INFO)

    return INFO

And my Python wrapper for this:
    def dsytrs(A: np.ndarray, IPIV: np.ndarray, B: np.ndarray) -> np.ndarray:
    """Convenience function for Scipy's Lapack dsytrs wrapper.

    DSYTRS solves a system of linear equations A*X = B with a real
    symmetric matrix A using the factorization A = U*D*U**T or
    A = L*D*L**T computed by DSYTRF.

    Can handle symmetric semi-definite matrices.

    Parameters
    ----------
    L : np.ndarray
        Lower triangle matrix as factorised by Lapack's dsytrf.
    IPIV : np.ndarray
        Integer array as output by dsytrf.
    B : np.ndarray
        RHS vector.

    Returns
    -------
    X : np.ndarray
        Solution to the linear system.

    """
    UPLO = b"L"

    N = A.shape[0]

    LDA = A.shape[1]

    LDB = B.shape[0]

    NRHS = 1

    # Flatten A into a Fortran column-major array
    A = A.flatten("F")

    B = B.flatten("F")

    # Ensure B is writable
    B = np.ascontiguousarray(B)
    B.flags.writeable

    info = lapack_dsytrs(
        UPLO,
        N,
        NRHS,
        A,
        LDA,
        IPIV,
        B,
        LDB,
    )

    if not info == 0:
        ValueError('Error solving system.')

    return B

Done. Thanks @graphic-goose @ilayn!

Awesome, thanks @mdhaber @ilayn!


invokeApi fails with React Native on Android

Due to using IframeTransport instead of DirectAjaxTransport - it calls into PostMessage.getOriginRoot, which in turn calls into parseUrl, which then attempts to create an element, but the DOM does not exist.
The solution to this is to make react native correctly use DirectAjaxTransport - the test at https://github.com/Azure/azure-mobile-apps-js-client/blob/master/sdk/src/Transports/DirectAjaxTransport.js#L17 is failing, i.e. global has not been defined before this is called.

As React Native is not a supported platform yet, invokeApi failure is just one of many other issues. Let's use https://github.com/Azure/azure-mobile-apps-js-client/issues/195 to track the work to be done to add support for React Native.


Issue with Firebase Compatibility

While using this plugin following is the issue I am facing. Looks like dependency issue. Any one have fixes for this?
  In Podfile:
    ar_flutter_plugin (from `.symlinks/plugins/ar_flutter_plugin/ios`) was resolved to 0.6.2, which depends on
      ARCore/CloudAnchors (~> 1.32.0) was resolved to 1.32.0, which depends on
        GTMSessionFetcher/Core (~> 1.2)

    firebase_auth (from `.symlinks/plugins/firebase_auth/ios`) was resolved to 4.10.1, which depends on
      Firebase/Auth (= 10.15.0) was resolved to 10.15.0, which depends on
        FirebaseAuth (~> 10.15.0) was resolved to 10.15.0, which depends on
          GTMSessionFetcher/Core (< 4.0, >= 2.1)

Current work environment:
XCode 15
Flutter 3.13.6 • channel stable • https://github.com/flutter/flutter.git
Framework • revision ead455963c (8 days ago) • 2023-09-26 18:28:17 -0700
Engine • revision a794cf2681
Tools • Dart 3.1.3 • DevTools 2.25.0

Same here, same details as mentioned above.


Bugfix/2748 matrix indexing

Submission Checklist

[x] Run unit tests: ./runTests.py src/test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary
Fixed generator so that matrix indexing uses most efficient access strategy - generated code should call stan::math::get_base1() on matrix using 5-arg function which specifies matrix row, column.
Intended Effect
Speeds up matrix access by factor of 10x for models which do a lot of matrix indexing.
How to Verify
Need performance test benchmarks.
Side Effects
None
Documentation
N/A
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company): Columbia University
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

submitting PR now.  need to work with @seantalts to add performance tests to test suite.

we also need tests consisting of models and data and checks that multi-dim indexing operations behave according to spec.

I don't think I'm the right person to review this - does Bob or someone else familiar with the Stan 2 compiler have time?

a) no one has time
b) it's just one file changed and I can walk you through the logic
c) we need to talk about adding a performance test, and you are the one to do this.

I mean I don't know the code at all, regardless of my time commitments, so
my approval wouldn't mean much. I'm happy to work on adding the test
because I know how to test performance. Did you ask Bob and Matthijs?
On Wed, Apr 10, 2019 at 19:54 Mitzi Morris<EMAIL_ADDRESS>wrote:

a) no one has time
b) it's just one file changed and I can walk you through the logic
c) we need to talk about adding a performance test, and you are the one to
do this.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/stan-dev/stan/pull/2749#issuecomment-481914130, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAxJ7LTdafqwV2Gd4NQyOZF60ohfCoKkks5vfnmjgaJpZM4coakH
.

OK, you're right.
Bob says he'll do the code review.
let's talk about the testing.

Where was the test case?  I see model2.stan checked in, but nothing uses it (so it's just cause a generic parsability test).  Is there data somewhere?  I'd like to verify that the performance regression is fixed.

@mitzimorris was talking about also adding unit tests, but I'm not sure how to best to that. From the performance testing perspective this will get run as part of the "Shotgun" model test suite in performance-tests-cmdstan repo. That job is running here: http://d1m1s1b1.stat.columbia.edu:8080/blue/organizations/jenkins/CmdStan Performance Tests/detail/master/591/pipeline
It should eventually run that model (it actually didn't with my first link, I had to fix something).
As of today (https://github.com/stan-dev/cmdstan/pull/690) we will run the performance test suite on every commit to CmdStan develop (and while we're still without monorepo, a commit happens there on every merge to develop for Stan and Math as well). @serban-nicusor-toptal is working on figuring out how to get that job to email us when a regression occurs - it was supposed to be set up that way but I don't think it was working correctly.
For the next step, @serban-nicusor-toptal will work on adding some subset of those performance tests to pull requests as well via the CmdStan "downstream_tests" job, but that will probably just be the stat_comp_benchmarks models, though we could reasonably also add this new performance regression test directory to that list. I just don't want to add TOO much time to a PR, and I'll be pretty happy if we get the first step above working and emailing out correctly.

Seeing a large trend in the performance tests for this, so looks like we're now measuring it. Still, the email alerting and auto PR perf testing are new, so keep an eye out and please check the Cmdstan Performance Tests master build's Performance Trend some hours after merging to develop.

I don't get the throughput plot..  Looks like the 0 value at #593 is an artifact.

You mean the point at 593 for response time for the matrix test? That is an artifact of that test not existing at 593.

On Apr 30, 2019, at 10:56 AM, seantalts<EMAIL_ADDRESS>wrote:
You mean the point at 593 for response time for the matrix test? That is an artifact of that test not existing at 593.

Yes.  [I guess if I gloat that I finally produced a one-word
answer, it's not a one-word answer anymore.]

:D haha. To be clear, I added this matrix_indexing test because of the bug and PR. So I don't think we were testing this element-wise matrix indexing situation before in any of the model tests I had running nightly. My plan is to keep adding models whenever they come up to this regressions directory.


Update development.md

docs: update development.md add docker build desc

Small comment otherwise LGTM

Thanks for the PR. I will close this given the inactivity but feel free to re-open or open a new one.


Root mean square error (rmse) has been renamed to rms. from librosa b…

Root mean square error (rmse) has been renamed to rms from librosa ver 0.7.

in audio_reader at 68 lines.


intro to deep learning

material is here: https://school.brainhackmtl.org/modules/deep_learning_intro/
This module could use a refresher, probably neuromatch academy has content we could re-use for this.

I will work on this!


Add "Why is this a monorepo?" to the readme

To cover:

ability to upgrade govuk-react and still use older components, e.g. deprecated ones
in a large application where parts are reliant on an older component API but you aren't able to refactor and don't want to hold back from upgrading

cc @stevesims if there's anything you want to add

this is briefly touched on in https://github.com/govuk-react/govuk-react/blob/master/CONTRIBUTING.md but I want to add it to the main readme

Also related https://github.com/govuk-react/govuk-react/issues/481#issuecomment-442953277

for me, the decision to make govuk-react a mono-repo was a great one, and gives very significant advantages
frustratingly it's also advantages that I failed to convey quite well enough when building the next component library I made after govuk-react - the powers that be at that organisation had some bad experiences in using monorepos.  there were other significant battles to fight, so unfortunately I had to leave that
so yes - pushing the plusses and advantages of using a mono-repo should definitely go into the readme 😀


Allows entering a custom text in the text select view of the filter analysis form

This PR allows users to enter a free text in the text select view of the filter analysis form.

Because we are showing a selection of the rows for a given column, in some cases users couldn't find the row they were looking for. With this fix, they'll be able to write the desired value.
This PR also fixes an issue with the focusing of the search input field of the custom lists (#9442).
Closes #9247
Closes #9442
CR: @viddo

👍


Implement @Query in Spring Data Neo4J - Part 1

Part 1 of @Query implementation of Spring Data Neo4J talking with the new Neo4J OGM. Part 2 will focus on parameter binding and strengthening testcases.

Manally merged.

@vince-bickers Is there any reason my work wasn't merged? It seems to have been copied and pasted into master and all my commits have been clobbered which doesn't seem very fair. :(

@mangrish your pull request couldn't be automatically merged because of conflicting changes to master by the time I came to it. So I followed the instructions here to to do a console based merge. I have no idea why your commit comments were not included, but it wasn't deliberate.


[FIX] Timestamp scheduling - Validation match

Pull Request Test Coverage Report for Build 299

0 of 2 (0.0%) changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.003%) to 32.908%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

common/selectors/schedule/current/scheduleTimestamp.ts
0
1
0.0%

common/selectors/schedule/helpers.ts
0
1
0.0%

Totals

Change from base Build 296:
0.003%

Covered Lines:
2430

Relevant Lines:
6218

💛  - Coveralls


REJECTED subscriptions are added to new version API for multiple times

When a new API version is created from an existing API that has subscripttions in REJECTED state, sometimes the rejected subscriptions are added to the new API for multiple times.
Ways to reproduce

Create and API, add several subscriptions and make one REJECTED.
Keep creating new versions of the API.
At some point multiple rejected subscriptions are added to the new API.

Enviroment : APIM 1.10.0

Fixed with https://github.com/wso2/carbon-apimgt/pull/6906. Hence resolving.


Metrica: fixes and Tests

Coverage increased (+6.4%) to 71.568% when pulling 9f2887b0d4fa18ce2f813114bfbc8b66ab4a9edb on naxel:Metrica into 427e7db3ea777f6456b687134fd7c43826fb01a5 on nixsolutions:master.


Images turning sideways/upside down on upload

I am using this plugin and it works great! I encountered one issue though. Photos are displayed in the correct orientation, however, when it gets uploaded to a server, some are showing sideways/upside down. (I am testing on Android)
I saw the below stackoverflow entry and it seems the solution is by using the camera option correctOrientation: true.
http://stackoverflow.com/questions/9353629/images-turning-sideways-upside-down-after-being-uploaded-via-phonegap-ios
In your plugin, is it possible to add correctOrientation as part of the options?

I'm still having this issue in plugin version 1.1.1.
iOS version 9.3.2
Anybody else on the same boat?

+1

+1

+1

+1

Same problem here with iOS


Create additional info blocks

You can make your resume less official by adding more entertaining info, like your hobbies and interest, or what do you like, some interactive content or joke, easter egg, etc.

Try to include hobbies and interests soon!


redis-load has some problems executing sadd

hi, when I execute the command cat [*.json] | redis-load -u [host]/[db_index] -a [passwd],
"sadd" seems problematic. See details from the image below
I'm new to ruby, can you help me with this problem? or tell me why output these

Thanks for the report.
This issue is fixed as of 0.6.0 (which now support redis-rb 5 as well).


Multiple spaces being filtered out in received/sent messages

Describe your issue
Messages containing more than one spaces in a row are not filtered out by TMI since some time ago now, chatterino still filters them out client-side.
Screenshots

IIRC this was done on purpose to match web chat's behavior

The emotes IRC tag contains indices where emotes are in the message string, but those indices only work when double-spaces are removed.
So yes, this was an intended change. Is there a scenario that worked before that doesn't work now that has been broken due to this change?

It doesn't render the message propertly, as it has multiple spaces while one space is displayed. But webchat does the same so I guess that's not really an issue

Even before the fix in #2490 we didn't render things differently if they had multiple spaces, so I will close this as a wont-fix then

I only see one space on normal twitch chat when I post multiple when I tested. Not sure if this is just extremely technical but it doesn't seem like it would make a difference for the user.


Implement the purl spec for the JVM

See https://github.com/package-url/purl-spec and https://github.com/package-url/purl-spec/pull/31 for the latest

Done awesomely by @stevespringett


the function ContentUtils.buildUriWithAuthority usage?

DBFlow Version:4.2.3
Bug or Feature Request:
@ContentUri(path = NAME, type = ContentUri.ContentType.VND_MULTIPLE + NAME)
public static final Uri CONTENT_URI = ContentUtils.buildUriWithAuthority(MyDatabase.AUTHORITY);
Description:
why the value CONTENT_URI don't containt path?or it just this?  And what is it different from ContentUtils.buildUri()? I think the method ContentUtils.buildUri override the path...

buildUri is a base method that lets you specify a baseContentUri typically content:// and authority is typically the application's content provider.


Pluggable resolvers

Hi,
As the first step for pluggable resolvers in Bower (issue #1649), this pull request adds behavior to the resolver factory to support such external resolvers.
External resolvers are implemented as independent npm packages, that contain the bower project in the peerDependencies defs.
I have implemented an example resolver: https://github.com/liorhson/bower-arti-resolver.
Currently, the factory looks for an external resolver by using the prefix of the package source returned from the registry. In case the factory cannot find the resolver package, it falls back to using the old behavior, referring to one of the built-in resolvers.
For now, I left the built-in resolvers as they were, but of course they can be externalized.
This is just to get the ball rolling, so we can iterate around the code.
Cheers,

Huge Bump for this! +1

+1 to this! I'm doing a POC with zipped packages because there's not a TFS resolver yet, and zipped packages seems very limited for version control.

+1

We're looking forward to bower + artifactory

We're definitely looking forward to this feature ! +1

+1

+1

+1

+1

+1 - huge need for our development team.

+1

+1

Need this! +1

+1

+1

+1 here also.

This would be great! +1

+1

Is there anything specific that is preventing this from getting merged?

What I can think of right now:

Analyze how it affect backward compatiblity and add more tests
Add integration tests at least test/commands/install.js
Implement support for chaning resolver's interface in the future so backward compatiblity can be easily achieved (some kind of resolver versioning).
I'm not sure at all that current resolver interface is the best one. After bower deploys this feature it'll become very hard to change. It needs to be at least documented.

Hi,
Im currently in **JavaLand**, but Ill will work on the test and document ASAP.
About the falling tests on the "Appveyor ", actually is not related to our changes, even if I run the tests on the Bower master branch, the same tests are failing. I also saw it in other pull requests. Can you advise?
Is there anything else specific that we can look into to promote the pull request?

Just wanted to voice my +1 here. We're starting to use artifactory at work and bower support would streamline all of our workflows perfectly.

+1

Hey,
Added test under the resolverFactory to verify that the factory knows how to detect a custom resolver if exists. I used the helpers.require to inject a dummy resolver package that exists under the test assets folder.
All the backward compatibility are proven by the other unit tests that check the factory against the core resolvers (git/svn/url etc.)

BTW, as a small proof of concept I created a custom resolver that can extend the Bower current resolvers (bower-art-resolver). Of course in order to support the custom resolver I also needed a temporary fork build with the new pluggable resolver mechanism (bower-art).
Hopefully this pull request will be part of the official Bower project!
Regards

1 Adding Artifactory support to Bower helps us keep our dependencies straight and eases our Bower usage. In short, it would help us use Bower more.

+1

+1

+1

+1

+1

+1

Hey what is the status on this? We really want to start using Bower with Artifactory, but we're not going to do it as long as their support depends on a fork.

+1

Any news on this! All is green?
Many users already using the fork which we (at JFrog) do not want!

+1

+1

+1
Any news? What is the issue that prevents this from being merged?

A lot :) I'll be working on it next week. Here's short summary what needs to be done:
Document and unify public interface for bower resolvers
Why: Current implementations of resolvers are diverged. They don't provide unified interface required for solid plugin system. There exists abstract Resolver, but it has a lot too many functions to be overridden. It's not even clear what the interface really is.
Resolvers shouldn't be expected to inherit from Resolver, but provide unified interface consisting of low number of methods (3-5). We need to subtract all unnecessary parts. Lower complexity = less issues in the future.
Ensure forward-compatibility
Bower plans to implement few major features:

Implement locking of packages (https://github.com/bower/bower/pull/1748)
Improve version solver (https://github.com/bower/bower/issues/578)
Support downloading builds instead of source (https://github.com/bower/bower/issues/1606)

We need to make sure external resolver interface allows to implement these features without breaking compatibility of already created resolves (forward-compatibility).
Given proper interface of resolver, we can more easily implement mentioned features in the future (implementation of those features is not in scope, though).
Among others it means that:

We need a method to download some version of package
We need a method to list all versions of some package
We need a method to download only metadata of some package (dependencies).
We need standardized way to provide extra configuration for resolvers.
???

There's also question what should be responsibility Resolver vs Registry responsibilities
We also need to research other packages with plugin functionality and borrow best practices.
Design interface for external resolver and implement it
Why: We want to be as strict as possible for plugged resolvers, as adding features will be much easier than subtracting them. This will assure backward-compatibility of resolver interface. Internal resolvers should be able to be rewritten in terms of external resolvers interface.
The point is, external interface doesn't necessarily need to reflect internal interface. Especially if we want to ensure forward-compatibility (see previous header).
Have someone to deploy and maintain this feature

The steps I've mentioned are pretty much done. There's new design. Please test and comment: #1871


HPSTR theme ported to Hugo

Hi,
I ported a theme from Jekyll to Hugo. It would be great if you could add it to the Hugo themes page. Here's the git repo: https://github.com/dldx/hpstr-hugo-theme
Cheers,
Durand

Hello @dldx
thank you for sharing the theme with the Hugo community.  Let's take the last mile to add your theme:

please add a thumbnail and a screenshot with the right dimensions to the your theme. Those will be used on the demo site to showcase your theme. You can find the necessary steps in the README.
Hugo fails to parse the read-more.html. Please translate this partial into a template language that Hugo can understand, e.g.  Otherwise, the build script for the theme site will not be able to generate a demo for your theme.

Hey @digitalcraftsman,
I didn't notice the README before. The issues have been fixed. I deleted read-more.html for now because I haven't had the time to implement it in Hugo.
Thanks!

Great. I've added your theme to the list. The theme site should list it soon.
Regards,
Digitalcraftsman

Sweet, thanks! By the way, if I update it in github does it automatically get rerendered on the gohugo.io demo site?

Oh and if I update it in github, does it automatically get rerendered on the gohugo.io demo site?

That happens not automatically if you change your theme. This repository uses a Git's submodule feature to create of all theme repository urls. Each entry references a certain commit in your repository. On a regular basis we update this list by fetching the latest commits from your theme repository.
The theme site is build based on the referenced commits of each theme. So, shortly after updating the list the theme site should be show the latest version of your theme.


Remove deprecated methods and arguments in quantum_info

Summary
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

6 of 6 (100.0%)  changed or added relevant lines in 3 files are covered.
3 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.007%) to 84.027%

Files with Coverage Reduction
New Missed Lines
%

qiskit/pulse/library/waveform.py
3
89.36%

Totals

Change from base Build<PHONE_NUMBER>:
0.007%

Covered Lines:
56200

Relevant Lines:
66883

💛  - Coveralls


Is there a time limit on the trimmerView video length?

When I import videos over 15 seconds, it crops to 15 seconds. I don't see this mentioned anywhere. Is this an actual limitation or am I doing something wrong? I just used the Example in this repo with the trimmerView (finding a random video on my phone that is > 15 sec)

https://github.com/prynt/PryntTrimmerView/issues/26


VSCE: Toggle to enable and disable Enhanced Context

Part of https://github.com/sourcegraph/cody/issues/1524

CLOSE by https://github.com/sourcegraph/cody/pull/1738


[Feat.]: What functions do you want the Oceanbase Diagnostic Tool to support?

Check Before Asking

[X] Please check the issue list and confirm this feature is encountered for the first time.
[X] Please try full text in English and attach precise description.

Description
What functions do you want the tool to support? Welcome to your comments!

Other Information
No response

Welcome to discuss and discuss links: https://github.com/oceanbase/oceanbase-diagnostic-tool/discussions