Increase VMMS max capacity to 600

PR Checklist
Check these items before submitting a PR...
Contribution Guide
Best Practice Guide

[ ] - Please check this box once you've submitted the PR if you've read through the Contribution Guide and best practices checklist.

Changelog

Added check to create a standard load balancer and configuring a standard pip when the maximum instance count > 100
The default value of max instance count is still set to 100. Can be up to 600.
CreateUiDefinition file updated with appropriate regex for the new range.

The modified main template code is tested for both scenarios i.e., for value 100 as well as 600. @robe070, Please review and merge.

@ashutosh-kumar1 I thought that these points were related to Issue #61?
https://iderainc.slack.com/archives/C01D4NFR4RJ/p1605159627103900

@robe070, The changes made are w.r.t the requirements for 600 max capacity. The application gateway configuration to be standard/basic will be a part of https://github.com/robe070/cookbooks/issues/56. The above has run successfully on pipeline and can be merged.


chore(master): release 1.1.1

:robot: I have created a release beep boop
1.1.1 (2023-05-20)
Bug Fixes

removed reflect metadata (a1bbd92)

This PR was generated with Release Please. See documentation.

Coverage report

St.:grey_question:
Category
Percentage
Covered / Total

🟢
Statements
100%
61/61

🟢
Branches
100%
11/11

🟢
Functions
100%
1/1

🟢
Lines
100%
61/61

Test suite run success
6 tests passing in 1 suite.
Report generated by 🧪jest coverage report action from eea89a17199cbe7eba1637d14917ec88cf5c4bc9

:robot: Release is at https://github.com/dworac/config/releases/tag/v1.1.1 :sunflower:


CDPD-15877 Add LIVY_FOR_SPARK3 service to Data Engineering Spark3 Dat…

…aHub template
See detailed description in the commit message.

PLEASE wait with the merge until we have the new images


Popup a11y: Unable to trap screen reader focus

We have received a lot of a11y feedback regarding the Popup component and others that use it. The issue seems to be that while we are able to set focusTrap and autoFocus to true and it does trap focus to some extent with Tab presses not leaving the overlay element this is not enough.
Most users that need accessible features traverse the page using a screen reader program that usually provides its own interface for interaction with web content. Current implementation of focusTrap does not account for this, so in practice for these users focus does not get trapped which appears to be somewhat confusing for them.
There is a simple solution that I propose should be implemented in some way. Setting role="dialog" with aria-modal="true" should do the trick in most cases. Though it is not a universal solution (e.g. with VoiceOver it works in Safari, but not in Firefox), it seems to be the intended one.
Here is a Codesandbox fork with a rough demonstration of the difference between the current implementation and an accessible one (Components -> Overlays -> Popup -> A 11 Y Example).

Here is note from https://www.w3.org/WAI/ARIA/apg/patterns/dialog-modal/

Because marking a dialog modal by setting aria-modal to true can prevent users of some assistive technologies from perceiving content outside the dialog, users of those technologies will experience severe negative ramifications if a dialog is marked modal but does not behave as a modal for other users. So, mark a dialog modal only when both:

Application code prevents all users from interacting in any way with content outside of it.
Visual styling obscures the content outside of it.

The popup doesn't visually hide the content outside of it like a Modal does, so setting aria-modal="true" on it seems wrong.
To set the "dialog" role, you can use the "role" property.


Bad assumption in roledb leads to persistent freeze attack

Immediate Issue Summary
If the client concludes that its snapshot version is out of date (i.e. it has validated a new timestamp version that lists a snapshot version newer than the one it currently has and trusts), it tries to fetch the new snapshot version. If that fails (can't get snapshot or snapshot can't be validated), then the previously trusted known-to-be-outdated snapshot metadata is deleted, both on disk and in memory. This is correct behavior per the spec. Unfortunately, the in-memory deletion of the snapshot metadata stored in roledb results in an error on any further attempts to update snapshot (see below).
Credit goes to Allen Cain (@eacain) for finding this issue.
Diagnosis
There is a bug in TUF in the functioning of tuf.sig.verify / tuf.roledb. In this bug, the keys expected to sign for role X (snapshot in this case) are stored in the roledb entry for role X. (In this case, tuf.sig.verify expects to find the keys expected of valid snapshot metadata in roledb's entry for snapshot, not root.) While this information is still updated based only on validated root metadata, this implementation remains wrong for a few reasons. The issue here is that role X may be deleted if a new version fails to validate and it is known that the current version is outdated (as correctly occurs in this case); while that's fine, the implementation cannot continue to expect to find the keys in the deleted entry. These keys come from the delegating role (root in this case), and they should be checked against information indexed by the delegating role, not indexed against the delegated role. This behavior is also related to a known issue (#660) that can cause difficulties if multiple roles delegate to the same delegated Targets role. Other solutions to the issue identified here include changing the role removal code to leave the expected keys cached there from the delegating role; this, however is not advisable as it is somewhat counter-intuitive and might lead to flawed implementation or odd edge cases (similar to this one).
In short, the information should be indexed by delegating role, not by delegated role, solving both of these issues. This issue derives from issue #660, so see that for the broader explanation of the more general issue.

Are you able to reproduce the persistent freeze attack in the latest code?  We should have an integration test for this attack, so I'd be curious to know why it's not encountering this issue.
After reviewing the code, it appears that the role db is rebuilt (including the keys for Snapshot, Timestamp, Targets, and Root) when it validates and installs new Root metadata.  The relevant lines of code:
https://github.com/theupdateframework/tuf/blob/76ca2e83643fa01cf713e194553adb8a38113a83/tuf/client/updater.py#L1776-L1780
The persistent freeze issue should be avoided by the current code as follows:
(1) attempt to refresh top-level metadata.
(2) root indicates new versions of Timestamp and Snapshot.
(3) client is given good Timestamp metadata and installs it.
(4) client is given bad Snapshot metadata!
(5) client discards the bad Snapshot that it was given, and the stale version locally installed.
(6) client attempts to recover by checking for new metadata.
(7) a new root is given, which causes the role db to be rebuilt (i.e., Snapshot info should be up to date).
(8) download new Timestamp and Snapshot.
Note: The code attempts to update metadata if it is also missing. See https://github.com/theupdateframework/tuf/blob/76ca2e83643fa01cf713e194553adb8a38113a83/tuf/client/updater.py#L1931-L1990
I do agree that issue #660 is a problem, which will addressed in a future refactor of the low level API.

I was able to reproduce it in the current code, yes. I'll show you the
script.
On Wed, May 30, 2018 at 14:38 Vladimir Diaz<EMAIL_ADDRESS>wrote:

Are you able to reproduce the persistent freeze attack in the latest code?
We should have an integration test for this attack, so I'd be curious to
know why it's not encountering this issue.
After reviewing the code, it appears that the role db is rebuilt
(including the keys for Snapshot, Timestamp, Targets, and Root) when it
validates and installs new Root metadata. The relevant lines of code:
https://github.com/theupdateframework/tuf/blob/76ca2e83643fa01cf713e194553adb8a38113a83/tuf/client/updater.py#L1776-L1780
The persistent freeze issue should be avoided by the current code as
follows:
(1) attempt to refresh top-level metadata.
(2) root indicates new versions of Timestamp and Snapshot.
(3) client is given good Timestamp metadata and installs it.
(4) client is given bad Snapshot metadata!
(5) client discards the bad Snapshot that it was given, and the stale
version locally installed.
(6) client attempts to recover by checking for new metadata.
(7) a new root is given, which causes the role db to be rebuilt (i.e.,
Snapshot info should be up to date).
(8) download new Timestamp and Snapshot.
Note: The code attempts to update metadata if it is also missing. See
https://github.com/theupdateframework/tuf/blob/76ca2e83643fa01cf713e194553adb8a38113a83/tuf/client/updater.py#L1931-L1990
I do agree that issue #660
https://github.com/theupdateframework/tuf/issues/660 is a problem,
which will addressed in a future refactor of the low level API.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/theupdateframework/tuf/issues/736#issuecomment-393271828,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AMpkOIOPkTJoqzAq9JAI8iEzbIOisOj4ks5t3ucmgaJpZM4UTj5D
.

Vlad and I chatted. A reasonable short-term fix to this would be ensuring that every top-level metadata refresh rebuilds roledb (even if root hasn't changed) which is easy to do.
(As a sidenote, issuing new metadata would resolve this problem if a client encountered it, for the current branch of TUF (though seemingly not the Uptane fork), limiting impact slightly.)
I'll make the short-term fix for now.

Great job finding this @eacain!


Rc1.1.16

If a person selects that they drink one day a week, it returns returns blank copy if they choose 3 pints for instance.  Believe that as '_lte_14_units_has_binge' interstitial was blank, this was the reason.  The copy has now been added, otherwise further investigation and new algorithm changes maybe needed.

Can you merge into staging

@coderidge your assumption here was correct, some of the interstitial messages had no copy provided for them and are indeed blank

@brettminnie  ok thanks, can please merge to staging now.

:+1:


helm lint may want to use strict

By bug or by design, helm lint only provides a subset of warnings unless --strict is enabled (https://github.com/helm/helm/issues/6057). This means we are getting false positives by running just helm lint
We may want to start using --strict. This would require a few changes, mostly because every {{.foo}} needs to be in values.yaml.
I think generally this is a good thing, as we want everything to be documented, which happens by values.yaml, but others may disagree

Duplicate of https://github.com/istio/istio/issues/17035


Add configuration options for using statement.

Hello!
Suggestion:
Add an ability to configure how using statements are auto-filled.
Description:
Based on different projects and their coding practices, developers want to define using statements differently. Configurations options could be:

Apply from propath at the end. Options:

Add from propath at the end (using package1.ClassName from propath.)
Don't add from propath at the end (using package1.ClassName.)

Write/don't write full path to specific class. Options:

Write full path to a specific class that is being used (using package1.package2.ClassName.)
Use wildcards and provide just package name (using package1.package2.*.)

It should also have the option to add from assembly, personally I don't need a 2nd option, add from propath/assemby could be a single option

What is the default behavior for USING statements auto-filling? Auto-completing in our code base generates wildcard usings (USING lib.*), is that expected?
Tested with 1.12 and 1.13.1 (OE 12.8.3)

Auto-completing in our code base generates wildcard usings (USING lib.*), is that expected?

Yes, that's the default (and only) behavior. Will be improved !


BUG: Fix return dtype of lil_matrix.getnnz(axis=0)

Working with sparse matrices lately I encountered that the linked-list sparse matrix implementation's getnnz() function returns a float array for axis=0. Counts obviously should be integer typed; other sparse matrix classes perform correctly (e.g. csr_matrix).
Example:
import numpy
from scipy.sparse import lil_matrix

m = lil_matrix(numpy.eye(3))

print("LIL non-zero")

print(m.getnnz(axis=0))
print(m.getnnz(axis=1))

print("CSR non-zero")

m = m.tocsr()
print(m.getnnz(axis=0))
print(m.getnnz(axis=1))

# result:
# LIL non-zero
# [ 1.  1.  1.]
# [1 1 1]
# CSR non-zero
# [1 1 1]
# [1 1 1]

I've seen that there are some bigger PRs ongoing about the nnz/getnnz functions, but I think that this minor issue should be fixed nonetheless.
Regards,
Christian

New commit addressing @jaimefrio 's comment. I was thinking about this as well, but thought int would be 'enough'. But if np.intp is preferable, no problem :)

I think it would be better if the tests explicitly checked for:
datsp.getnnz(axis=0).dtype == np.intp

The way things are set up right now, we could have horrible things like this go unnoticed:
>>> np.dtype(np.int8).kind == np.dtype(np.int64).kind
True

Aside from that, if you could squash the commits into a single one, see here, and prepend the commit message with one of the standard abbreviations, see here, probably BUG or ENH for this PR, I think it will be ready to go.

Hello,
sorry for not adhering to the the topic-naming conventions … I briefly looked over the HACKING.rst but didn't spot that link the the documentation …
Concerning the return type check, … it's not that easy; I was thinking about something like this as well, but the getnnz functions currently return different dtype, e.g., the compressed.py derived types (csr, csc) return int32 for me (with intp being int64 on my machine).
Would you suggest either pinning the dtype for all sparse matrix getnnz functions to intp, or should the test take the different return types in consideration?
Regards, Christian

CSR/CSC/etc matrix classes use int32 for internal data storage whenever
nnz is small enough, and automatically switch to int64 for large nnz.
This is then also reflected in the getnnz() return type.
.
For LIL matrix, you don't know a priori inside getnnz() how big the nnz
is going to be, so the calculation needs to be done using the biggest
type --- intp is enough, because it's in any case not possible to store
more elements than what fits into the virtual address space.
.
The test should then probably be written to allow either int32 or int64
as the return type.

That seems a sensible compromise to me:
datsp.getnnz(axis=0).dtype in (np.int32, np.int64)

Added a little backport similar to @larsmans suggestion for Python 2.6 compatibility. Googling around, it seems the IPython project had the same problem with assert_in and Python 2.6.
Let's hope Travis likes it …

This looks ready now, marking for the next release.

Thanks, merged.


Better API Error handling

What should be done
Change the error handling system to match the new specs defined in the following epic: https://github.com/lenra-io/Lenra/issues/53
Now the API returns 4xx/5xx error ranges instead of success true/false and data.
The API returns only one error at a time, not a list of errors.
When 5xx error, no message is returned which means that it should be handle generically on the client.
400 error example :
{
  "error": "This is an error message"
}

Successful data example:
{
  "data": {
    "example": "dataexample"
  }
}

or when receiving a list:
{
  "data": [
    {
      "example": "dataexample"
    },
    {
      "example": "dataexample2"
    }
  ]
}

:tada: This issue has been resolved in version 1.0.0-alpha.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


fix gcp parameters... s3 -> google

Read then delete

Make sure to use a concise title for the pull-request.
Use #patch, #minor #majora or #none in the pull-request title to bump the corresponding version. Otherwise, the patch version
will be bumped. More details

TL;DR
Please replace this text with a description of what this PR accomplishes.
Type

[x] Bug Fix

Are all requirements met?
Fixed typo
Complete description
changed from s3 to google -- for gcs storage (per other docs)

Per conversation with @evalsocket  at end of thread --> https://flyte-org.slack.com/archives/C014PL3HUTF/p1626371929001000

Relates to https://github.com/flyteorg/flyte/issues/1247

@brucearctor  https://github.com/flyteorg/flytectl/blob/master/docs/source/index.rst please also update the doc


Documentation for upstream providers

I can't find any documentation how to configure upstream providers: best I found was this issue: https://github.com/matrix-org/matrix-authentication-service/issues/2066.
However that leaves me with: invalid length for key "default.upstream_oauth2.providers.0.id" in config.yaml YAML file.
It doesn't seem to be inclued in: https://matrix-org.github.io/matrix-authentication-service/usage/configuration.html the only mention being that disabling passwords will mean only upstream providres can be used.
I'm trying to add a new provider.

Hello,
your id should be set in the ULID format (same pattern as defined in your client_id).
I generated mine using this generator

This is a duplicate of #1940
I just opened a PR to start documenting this, feedback welcome: https://github.com/matrix-org/matrix-authentication-service/pull/2139


Docs Icons and Badges-4 (the last three badges)

In the OctopOs Prime project, one of the 8 teams, namely the Docs Team, requires the following designs from the Design Team:
Designing the main icon for the Docs Team
Designing 10 badges that determine the levels of members in the Docs Team
Obtaining the outputs as an icon (32x32)
Obtaining the outputs in PNG format (1080x1080)
The badge names for the Docs Team are listed below.

Proofreader
Responsible for correcting spelling and punctuation errors. Team members at this level identify and correct grammar and spelling mistakes in documents.

Document Editor
Responsible for reviewing a specific document to ensure consistency and checking the scope of the document. Team members at this level work to ensure the integrity of documents.

Emerging Writer
Individuals at this level begin to contribute to documents and also start adding their own ideas and knowledge. They not only improve the content of specific documents but also integrate their own experiences, knowledge, and suggestions into documents. They take on a more active role in creating written documents and make unique contributions to documents based on their expertise.

Technical Writer
Responsible for expressing technical topics in an understandable manner. Team members at this level have written and oral communication skills to convey technical information in a user-friendly way.

Project Lead & Content Manager
Individuals at this level have the ability to write entire projects and manage subordinates. They lead a specific project and are responsible for creating all project documents. They also manage team performance, set project goals, and ensure the smooth progress of the process. They possess both technical and managerial skills and produce effective documents in collaboration with their team.

Global Project Observer & Idea Integrator
Individuals at this level follow projects worldwide on a daily basis and integrate ideas from these projects into their own projects. They not only edit existing documents but also follow innovations and best practices from external sources. They gather information from different sources every day, track new trends and developments, and integrate this information into their own projects. Thus, they ensure that documents are up-to-date and innovative, increase the competitiveness of projects, and encourage continuous improvement.

Project Presenter & Fundraiser
Individuals at this level have the ability to write and present projects on online platforms such as Kickstarter and Indiegogo. They can successfully promote and present projects on online platforms to raise funds for a project. They have effective communication skills to promote projects, influence the target audience, and raise donations or investments. They can also clearly express the vision and potential of the project and persuade relevant stakeholders. With these skills, they can develop strategic plans to increase and sustain the financial success of projects.

Innovator & Cross-Domain Project Strategist+
Individuals at this level can find and implement ideas for projects needed worldwide by utilizing their research and experiences in all areas of the company. They are equipped with a comprehensive vision and extensive knowledge and can analyze trends, needs, and opportunities in different fields. They can develop strategic plans to successfully implement projects, manage resources, and coordinate all processes of the project. They can also generate creative solutions and enhance the impact of projects with innovative approaches.

Product Hunter & Competition Champion+
Individuals at this level have the talent and qualifications to make their projects the first in competitions such as Product Hunt. They have advanced skills and experience and can effectively promote their projects, influence the target audience, and convince the jury. They can also successfully position their projects in the competitive market and highlight their superior qualities. They can generate creative solutions, develop their projects with innovative approaches, and demonstrate superior performance. This level, called "Product Hunter," enables individuals to effectively use all resources to achieve success and lead their projects in the market.

Global Project Management Maestro & Entrepreneur+
Individuals at this level have the ability to establish and successfully manage a project writing company that caters to global markets. They are equipped with a comprehensive vision, leadership skills, and business knowledge. They can effectively manage project writing processes, understand customer needs, and provide the best solutions. They can also develop business strategies, manage marketing and sales activities, and implement strategies to grow the company. Individuals at this level, referred to as "Global Project Management Maestro & Entrepreneur," have the skills necessary to rise to a leadership position in the project writing industry and successfully represent their company internationally.

The works in icon format (.ico extension files) will be uploaded to the op-design repository's Src/2D/Badges/Docs/Ico directory, and those in PNG format (.png extension files) will be uploaded to the op-design repository's Src/2D/Badges/Docs/Png directory.
The standardization of file names for the uploaded files will be as follows:
-().
Example:
07-03-24-op-logo-black-and-blue-colors-futuristic-laboratory-setting(1280x720).jpg
08-03-24-op-logo-sleek-and-futuristic-clean-white-background(1280x720).jpg


Neural Volumes TV regularizer

The following comment is unclear to me:
https://github.com/sxyu/pixel-nerf/blob/ddddb6b8f9dd29972305597c2d8ce31ededa82eb/src/render/nerf.py#L228
From my understanding of the code, I don't see the TV regularizer from the neural volumes paper around this comment. Is the regularizer used in pixelNeRF? Where is it implemented? Thanks!

Sorry about the comment, I will remove it. We actually tried a bunch of other stuff but it was removed from the final code.


Cannot Connect To The Extentions marketplace

Issue Type: Bug
Hello,vscode team
i couldn't install any extention or access to marketplace .
And it  gives me this  message <"we cannot connect to the extentions marketplace at this time , please try again later.">
This happened  after new update.
VS Code version: Code 1.37.1 (f06011ac164ae4dc8e753a3fe7f9549844d15e35, 2019-08-15T16:17:55.855Z)
OS version: Windows_NT x64 10.0.18362
Extensions: none

Can you please check if you are able to access marketplace? Also do you have any proxy settings?
Can you please open the network tab in developer tools and see if there are any errors accessing marketplace?

No i can't access to marketplace , i stopped all proxy settings in my pc .
The Problem Still work .

Do you have any DNS issues?
Can you try changing your DNS setting, like pointing to <IP_ADDRESS> as suggested here? https://<IP_ADDRESS>/dns/


Fix Typo in Policy Response

@denelon / @stephengillie
Microsoft Reviewers: Open in CodeFlow

For the curious:

https://github.com/microsoft/winget-cli/issues/1899
https://github.com/microsoft/winget-cli/issues/2899


Greenkeeper/eslint config airbnb base 11.1.2

fixes #6

Codecov Report

Merging #8 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff          @@
##           master     #8   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files           2      2
  Lines           8      8
=====================================
  Hits            8      8

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 1595795...9f8a15c. Read the comment docs.


fix windows utf8 encoding 2/3

second of three parts -- see https://github.com/executablebooks/jupyter-book/pull/719

what's the reason for doing this in three parts? I'm a bit confused...

the names were just to indicate that all three repositories need to be updated before the encoding
test will pass

ah gotcha OK - so we should get each PR into a state where we're ready to merge, and then do it all at once yeah?

mainly just need all three before  we remove item 1 in the windows instructions

sounds good - well this one looks good and we have an approval, so I'm merging!


[IMPROVEMENT]: Review the new version of OpenAI gym and evaluate integration with Sinergym.

Improvement 🔧
I took a look at the new version of OpenAI gym, which is not backwards compatible because it changes its dimension in the return of the step method.
It turns out that they have a much more complete documentation than before and better organized. Also, I have seen that they have some functionalities that can be of help to us, such as callbacks (maybe we can migrate that functionality to not use the stable baselines 3 ones).
Enhanced behavior
Update the Sinergym environments to be compatible with this new version of gym and thus benefit from its new features.
Checklist

[x] I have checked that there is no similar issue in the repo (required)
[x] I have read the documentation (required)

:pencil: Please, don't forget to include more labels besides enhancement if it is necessary.

UPDATE: The team that has been maintaining Gym since 2021 has moved all future development to Gymnasium, a drop in replacement for Gym (import gymnasium as gym), and Gym will not be receiving any future updates. Please switch over to Gymnasium as soon as you're able to do so. If you'd like to read more about the story behind this switch, please check out this blog post.


Cleanup unnecessary dependencies under pinot-s3

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 62.15%. Comparing base (59551e4) to head (c916bef).
Report is 283 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master   #12904      +/-   ##
============================================
+ Coverage     61.75%   62.15%   +0.39%
+ Complexity      207      198       -9
============================================
  Files          2436     2502      +66
  Lines        133233   136415    +3182
  Branches      20636    21106     +470
============================================
+ Hits          82274    84783    +2509
- Misses        44911    45349     +438
- Partials       6048     6283     +235

Flag
Coverage Δ

custom-integration1
<0.01% <ø> (-0.01%)
:arrow_down:

integration
<0.01% <ø> (-0.01%)
:arrow_down:

integration1
?

integration2
0.00% <ø> (ø)

java-11
62.12% <ø> (+0.41%)
:arrow_up:

java-21
35.02% <ø> (-26.61%)
:arrow_down:

skip-bytebuffers-false
62.11% <ø> (+0.37%)
:arrow_up:

skip-bytebuffers-true
35.02% <ø> (+7.29%)
:arrow_up:

temurin
62.15% <ø> (+0.39%)
:arrow_up:

unittests
62.14% <ø> (+0.39%)
:arrow_up:

unittests1
46.73% <ø> (-0.16%)
:arrow_down:

unittests2
27.93% <ø> (+0.19%)
:arrow_up:

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

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


Is there a way to prevent set maximum memory limits ?

Feedback
Hi !
We are currently moving our production repositories to Terrakube and hence creating many workspaces (currently around 30 and we plan to have around x10 times). In order to detect drift on our entire infrastructure we scheduled a drift template to each workspace at the same time. For now it runs around 30 jobs at the same time and it seems like Terrakube really doesn't like it since it makes the application crash. I was wondering if there was any way to limit the number of concurrent job running on Terrakube or any way to avoid that kind of behavior ?
Regards !

Which pod is crashing?

It's the API due to the lack of resource available on the node due to the number of concurrent jobs started

Maybe you can increase the API replicas and set the resource limits for the API
https://github.com/AzBuilder/terrakube-helm-chart?tab=readme-ov-file#example-api

Would you advise to increase a single pod capacity or add several API pods ?

Would you advise to increase a single pod capacity or add several API pods ?

I think setting the Api resource limits and have more than 1 replica could work but you will have to experiment, and maybe if you can schedule the jobs in different moments in time that will help

I tried to schedule drift at different moments ! Hopefully that will help ! I also added a garbage collector to the JVM params as it could help cleaning resources. Thanks for your help !

The schedule API endpoint support quartz expression to define the time when a job will be triggered
You could also use this page to create the expression that best works for you.
https://freeformatter.com/cron-expression-generator-quartz.html
Example
Something like this to trigger the job every 3 hours at minute 15

POST /api/v1/workspace/{workspaceId}/schedule
{
  "data": {
    "type": "schedule",
    "attributes": {
      "cron": "0 0 15/3 ? * * *",
      "templateReference": "{{templateId}}"
    }
  }
}


start.sh no more compatible with docker compose V2

Hi,
since with V2 the "docker-compose" command is obsolete and has been replaced by "docker compose" (without hyphen), the install process with the start.sh script is broken.
I have changed locally the script to fit in with V2:  replaced COMPOSE_CMD="docker-compose" by COMPOSE_CMD="docker compose".
But it is somehow not enough since the generated "./docker-compose" binary file, when installing docker compose over CURL, is not working, even making it executable with chmod -x.
For that reason I had to skip resp. comment out the systemd block in start.sh and avoid setting up the systemd service since the field "
ExecStartPre=${DOCKER_COMPOSE_CMD} pull
ExecStart=${DOCKER_COMPOSE_CMD} up"
in the ncp-monitoring-dashboard.service file are throwing "Exec Format Error" since "./docker-compose" binary is not working.
I ended up running the rest of the start.sh script without compose curl installation and systemd setup. I reinstalled docker compose manually and started the dashboard directly using "docker compose up -d" from my local repository. Grafana is then running with all the other containers. But when visiting grafana the dashboard shows "No Data" in all panels.
My platform:

RPI4
Debian GNU/Linux 11
VERSION="11 (bullseye)"
architecture 64 bits

If you have an idea what is going wrong, that would be helpful. And the start.sh needs to be updated to fit with new docker compose versions.
Thx

Hello @HervePruvost,
I am getting the following error message after executing start.sh: "Job for ncp-monitoring-dashboard.service failed because the control process exited with error code."
Is this the same error you are getting?
How can I verify this?
Thank you.
ADadlDudlDa


", " quick simple custom search engine integration

Can make it a default search engine, no need for keyword day-to-day


Tool selection is case sensitive

Currently, tool selection is case sensitive. So if you make a tool "email" and the Agent request the tool "Email" it will say that it is not a valid tool. As there is a lot of variability with agents, we should make it so that the tool selection is case insensitive (with potential additional validation to ensure there are no tools called exactly the same in the allowed tools)

This is essentially where fuzzy matching could be applied through embeddings instead of using static string matching of dict keys.

Why would you close the issue instead of implementing a solution for it?


Spring integration

Hi!
Can I get some docs how to integrate Glisten with Spring? For example, how to autowire some dependencies in workflow
Thanks!

@bsideup I would love to see that example if you can make it available.

There is the Flow Spring package as well that includes SpringWorkflowWorker, which I think does something similar.
They also recommend setting the Workflow to a special scope they define.


make subpages scrollable

Coverage remained the same at 88.62% when pulling 9365e5aaeb707d5c52215a399636b46020f26b7a on 18032-ScrollingBug into<PHONE_NUMBER>9c24ef64abb898e0073170f4abe717 on master.

Coverage remained the same at 88.62% when pulling 3819d79e27d586f9d7cdc597d313dfe8f6e8f486 on 18032-ScrollingBug into<PHONE_NUMBER>9c24ef64abb898e0073170f4abe717 on master.


Button offscreen

I opened the game and it cropped the window so the UGO button is offscreen

I can just use the web version actually


Converter options

Right now you set converter options by defining constants, like WEBPCONVERT_EWW_KEY and WEBPCONVERT_GD_PNG.
It seems a bit hackish.
With an API change coming up, lets find a better solution.
For example,
WebPConvert::setConverterOptions(array(
  'ewww' => array(
    'key' => 'xxx897aoefu'
  ),
  'gd' => array(
    'convert_pngs' => true
  )
));

@S1SYPHOS

Well, first thing that comes to mind is that most of these options (as of now) won't be needed that often - since WebPConvert is kinda out-of-the-box (except for quality I guess, which is passed with the convert() call, so that doesn't count)!

True.
We could discard the options altogether, and then add the functionality above later. That way we will not break backwards compatibility when we introduce options (which will force us to increment major release number). Of course, ewww will not be usable, if you cannot set options. But it has problems already, right?
But it should be no big deal to program this. I can do that after this PR.

It seems you are very eager to release this as 1.0.0 very soon ?

I'm pretty excited about it, officially contributing to this project which I'm grateful for, true. But only if everything is in place and working!

I implemented the above.
But the syntax seems a bit cumbersome, given that you often only want to set a single value.
I'm changing syntax to:
WebPConvert::setConverterOption('ewww', 'key', 'YOUR-KEY-HERE');

Fixed in commit 5451228e2bea606b90402befc1386734265c9c9b

README doesn't completely reflect the changes


Class extends value undefined is not a constructor or null

In trying to zb run a project using the instructions in the documentation I ran into the subject error.
My package.json
{
  "name": "zombieox-eatahfood",
  "version": "0.1.0",
  "dependencies": {
    "zombiebox": "1.0.0-alpha4",
    "zombiebox-extension-ui": "0.5.1"
  },
  "scripts": {
    "start": "zombiebox run",
    "test": "zombiebox build pc --config config.js --config configs/check.js",
    "build.prod.pc": "zombiebox build pc --config config.js --config configs/prod.js",
    "build.test.pc": "zombiebox build pc --config config.js --config configs/test.js"
  }
}

TypeError: Class extends value undefined is not a constructor or null
at Object. (/usr/src/app/node_modules/zombiebox-platform-pc/index.js:16:26)
at Module._compile (internal/modules/cjs/loader.js:774:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:785:10)
at Module.load (internal/modules/cjs/loader.js:641:32)
at Function.Module._load (internal/modules/cjs/loader.js:556:12)
at Module.require (internal/modules/cjs/loader.js:681:19)
at require (internal/modules/cjs/helpers.js:16:16)
at Extensions._loadAddon (/usr/src/app/node_modules/zombiebox/lib/extensions.js:147:11)
at Extensions._useAddon (/usr/src/app/node_modules/zombiebox/lib/extensions.js:128:25)
at Extensions._usePlatform (/usr/src/app/node_modules/zombiebox/lib/extensions.js:108:25)

I ad the following warnings on installation though

Linking dependencies...
warning "zombiebox ><EMAIL_ADDRESS>has incorrect peer dependency<EMAIL_ADDRESS>

ZombieBox 1.0.0-alpha4 is quite old version and the framework was not public at that point yet, looks like it's referring to incorrect npm dist tags for its dependencies.
Since that version we released 1.0.0 – a stable version equivalent to previous releases and 2.0.0 – a new release that we're currently in the process of rolling out.
The documentation at zombiebox.tv is outdated (it's referring to versions event lower than 1.0) and was meant to be taken down. The correct documentation for 2.0.0 is in README.md file and docs folder.
To solve the issue I'd recommend using either 1.0.0 or 2.0.0 branches, but both have caveats as well:
1.0 is stable, but its support has ended and its lacking proper public documentation.
2.0 rollout and publishing is taking some time and you being an early adopter are collecting all of the first release errors, apologizes for the inconvenience and thanks for reporting all this.
We plan to get 2.0 production ready in the coming days.

@l1bbcsg
Thanks for the update. I managed to update to the 2.0.0 branch and with a bit more fiddling got things to launch using the demo  I am yet to test the "builds" but will notify you when I do with my findings


Printing training process suddenly stopped during training

During the training process, the printing training process suddenly stopped. What is the reason?

Not sure, may be similar to https://github.com/zwx8981/LIQE/issues/4#issuecomment-1558441667. Just stop and try it again.

If pin_memory is set to true, the following error will be reported, so I set it to false. Is it related to this?

不确定，可能类似于 #4（评论）。停下来再试一次。

If pin_memory is set to true, the following error will be reported, so I set it to false. Is it related to this?

I didn't try setting pin_memory to True. In my case, the training stucking problem occasionally and randomly occurs. Sorry but I think the best pratice to handle this issue would still be retrying.

I didn't try setting pin_memory to True. In my case, the training stucking problem occasionally and randomly occurs. Sorry but I think the best pratice to handle this issue would still be retrying.

alright, thank you very much!

@GitHub-Ju Hi, you may try this. https://github.com/zwx8981/LIQE/issues/17#issuecomment-1891385565


Pretrained model for Testing and Transfer Learning

Hi,
Can you share a pretrained model, please?

@ranjithrajasimha Please send me an email

@SeokjuLee  Thank you so much for the reply. I have mailed you.

does you get the dataset?


Ensure no hard coded AWS access key and secret key exists in lambda environment

Possible check to target the following resource

[ ] aws_lambda_function

closing, tracking in spreadsheet

closing, tracking in spreadsheet


blend

i would like to render a semi transparent shape  above an opaque object
the alpha value of the red shape is 128 and the alpha value of the green shape is 255

when using cg, i am using the following options:
DepthTestEnable = true;
DepthMask       = true;
CullFaceEnable  = true;
BlendEnable = true;
DepthFunc = LEqual;
BlendFunc = int2(SrcAlpha, OneMinusSrcAlpha);
what option should i use in filamat ?
shadingModel : lit,
doubleSided: true,
blending: ?
i already tried setting blending to opaque, transparent, fade, add, masked, multiply, screen.

You'll want to use the transparent blending mode. It's equivalent to One, OneMinusSrcAlpha. Note that you must use pre-multiplied alpha. So if you don't use pre-multiplied textures or colors, you'll have to do the following in your material:
material.baseColor.rgb *= material.baseColor.a;
After setting material.baseColor.

For more reference about materials, see our documentation, and in particular the short section about pre-multiplied alpha.

thank u, it works fine
should i sort my shapes?, opaque first and transparent last?

No Filament will sort them for you (opaque first, transparent last and transparents are sorted back to front). You need correct bounding boxes though for your transparents.

sorting works fine, i am using "priority" to mark my transparent shapes.
now i have a noise problem, i think it is because the distance between my shapes is very small
can i control depth buffer resolution? can i set near plan and far plan of camera?
i currently use this:
shadingModel : lit,
doubleSided: true,

blending: transparent,

I can't really tell from your screenshot what is image compression and what is the problem you are mentioning. Filament sets up a 24 bit depth buffer but you can set the near and far planes of the camera of course. Not that we use an infinite far plane in practice, the far plane is really only used for culling. The near place is what's going to impact how the depth buffer is used.
You don't need to use priority to mark transparent objects, they are always drawn after opaque objects.

I am trying to understand transparency
i changed the hellotriangle program by adding one more triangle (blue, semi transparent) and rotating it on Z axis.
and i don't understand why the blue triangle is hidden when rotated in 315 degrees
shadingModel : unlit,
doubleSided: false,
blending: transparent,
depthCulling: false,

pls advise

source changes to hello triangle.zip

It's hard to say from the screenshots since the triangle is unlit. But depending on the rotation pivot your blue triangle might just be pointing behind the green triangle and depth testing would cause what you see. Turning off depth testing in this case would fix it (so should changing the rotation pivot).

in this example i tried to cancel depth testing by changing mat file:
depthCulling: false,
is there another way to change depth testing? is culling means testing?

Thank u very much for your support, i have a new question:
i am creating my renderables and the scene render is ok.
now, I want to change the depthCulling from true to false.
can i call setParameter function?
can i change the material instance of an existing renderable Entity?
This is my code for creating renderables
utils::Entity renderable = utils::EntityManager::get().create();
RenderableManager::Builder builder(1);
builder.boundingBox(rm.aabb)
.material(0, mat)
.geometry(0, RenderableManager::PrimitiveType::TRIANGLES, rm.vb, rm.ib, 0, rm.indexCount)
.culling(false)
.castShadows(true)
.receiveShadows(true)
//.blendOrder()
.priority(rm.mPriority);
auto res = builder.build(*mEngine, renderable);


Adds Chainstack to rpcUrls

Description
This adds Chainstack alongside Alchemy and Infura, as it now supports standard global endpoints for Ethereum that follow a more predictable domain structure - (chain)-(network).core.chainstack.com in this case.
Additional Information

[x] I read the contributing docs (if this is your first contribution)

Your ENS/address: tabascoweb3.eth

We are deprecating rpcUrls soon so closing this. (Not scalable, folks should just copy-paste from whatever provider they use instead of them being hardcoded in this repo.)


No option for cumulative in histogram

This works with the built-in Pandas hist: df.hist(cumulative=True
But option doesn't exist for holoplot: df.holoplot.hist(cumulative=True)

This should be raised upstream as a feature request in holoviews.

Okay, in holoviews now


How to extend a testinfra module?

Hello @philpep, thanks for the great project. I'm struggling to write custom testinfra modules that extend the builtins, e.g. File. Right now I'm trying to write a module for checking attributes for X509 SSL certs, similar to what serverspec already provides. The example docs are too simple for this use case:

https://testinfra.readthedocs.io/en/latest/examples.html#make-your-own-modules
https://github.com/philpep/testinfra-echo

Here's the class-based approach I'm taking:
$ cat tests/test_x509_certificates.py
from testinfra.modules.file import File
from testinfra.modules.command import Command
import pytest

class _X509Certificate(File):
    """
    Inspect X509 SSL certificates and expose their attributes.
    """

    def _run_openssl_command(self, params):
        """
        Private method for running openssl against certificate file.
        Used by most class properties as a helper method.
        The `.path` attribute is inherited from File().
        """
        c = Command("openssl -in {} %s".format(self.path), params)
        return c

    @property
    def email(self):
        """
        Return `email` field from X509 certificate.
        """
        return self._run_openssl_command("-email -noout").stdout

@pytest.fixture()
def X509Certificate():
    x = _X509Certificate
    return x

def test_x509_debugging(X509Certificate):
    path = '/usr/share/ca-certificates/mozilla/thawte_Primary_Root_CA.crt'
    c = X509Certificate(path)
    assert c.email == 'foo'

Can you point me in the right direction here? I've been banging my head against this for a while now. Happy to submit a docs PR once I have a working example!

Hi,
Instead of
@pytest.fixture()
def X509Certificate():
    x = _X509Certificate
    return x

Try
X509Certificate = _X509Certificate.as_fixture()

Agree that extending modules is not simple, maybe a monkeypatch could be even simple ?

Have you got it working?

Never did cobble together an implementation to my liking, currently using a hodge-podge of other tools to get the job done. Very interested in your results if you're successful, @mihai-satmarean !

Given the discussion in https://github.com/philpep/testinfra/issues/233#issue-252744553, it seems like this is a duplicate and somehow outdated since the recommended solution API has been removed?

I came across this today. I followed your example and got this working. https://github.com/awalker125/testinfra-extension-poc/blob/master/tests/fixtures/kubectl_binary.py
Its not exactly the same usecase but it does the job for me.


CLOUD-476 fix simple cluster provisioning flow

Jenkins build failed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/902/

lgtm


📝[Docs]:  Fixing Navbar with the proper font size

What Docs changes are you proposing?
Fixing Navbar with the proper font size with the good look and proper website design.
https://github.com/akshitagupta15june/PetMe/assets/144674061/4e4a2baf-8a5a-4a28-97e3-17da6cbd2d79

Assign me this issue under ssoc


Extreme overheating on Macbook Air M1

There is some bug in VS Code. I have noticed extreme overheating of my Macbook Air M1 for a few days. VS Code is constantly in the "Significant power consumption" in the top bar.
It's not even funny, because 20 minutes earlier it started smelling of some glue - probably the battery related. I had to turn VS Code out and open a Window and held the computer in my arms in it. Thankfully it's pretty cold where I live right now, -8 C or so.
Please, check if there isn't something with your recent code that causes overheating on macs.

/confirmPlease

Please diagnose the root cause of the issue by running the command F1 > Help: Troubleshoot Issue and following the instructions. Once you have done that, please update the issue with the results.
Happy Coding!

If it helps, it started when I upgraded to Sonoma.
I have switched for the time bing to PhpStorm. I don't have time to diagnose it. I need to finish my work and can't afford my laptop to burn in smoke.

Hey @deepak1556, this issue might need further attention.
@jitterbux, you can help us out by closing this issue if the problem no longer exists, or adding more information.

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Add book 3 Tamarnian Tar Forest and Castle Grimgorge maps

Added Tamarnian Tar Forest and Castle Grimgorge maps

Add book 3 Tamarnian Tar Forest and Castle Grimgorge maps


Object(...) is not a function issue

versions
parent app : angularjs 1.x + angular7 downgraded
child micro front end app: angular 11
is it possible to use this package with  UI-router as the parent app navigation and states are managed using it?
I tried to create a sample folder in the angular7 module part of the app using the examples but got some errors.

@bennetsam I haven't used the UI router so far and am not aware how it works. This lib ngx-elements-router itself is directly coupled to how the Angular Router works, specifically relying on methods and properties in the Router and ActivatedRoute classes.
Regarding the Angular versions I have not tested with anything lower than Angular 10 so far but the changelogs of Router and Elements indicated so far that where no breaking changes since the introduction of Elements in 6.
Is this error something you can reproduce independently from the usage of the UI router or is coupled to it?


UID for password reset incorrectly uses base64

When a password reset link is request, the UID is encoded into the url as such, by django allauth
/accounts/password/reset/key/7w-1x7-d1a11z1sa1s1a1s/

Such that the uid is 7w and the token is 1x7-d1a11z1sa1s1a1s
The UID is encoded here, as base36:
https://github.com/pennersr/django-allauth/blob/330bf899dd77046fd0510221f3c12e69eb2bc64d/allauth/account/forms.py#L524
However, when the UID decoded in django-rest-auth as base64
https://github.com/Tivix/django-rest-auth/blob/ed164557127af1c959d3a2ec1a617d7559f97d75/rest_auth/serializers.py#L203

Simple Fix is replace this line:
https://github.com/Tivix/django-rest-auth/blob/ed164557127af1c959d3a2ec1a617d7559f97d75/rest_auth/serializers.py#L205
with this line:
from allauth.account.utils import url_str_to_user_pk
uid = url_str_to_user_pk(attrs['uid'])


Set predefined environment variables for existing libraries in the VM

See issue #24581.
Not clear, if we want to expose these behind the flag, or not.

It's not clear what happens if the user adds -Ddart.library.io=false on the command line.
Should it override the default, not override the default or cause an error?

Explicitly provided flags should override the automatically provided ones.

Fixed with 55630a5e901edcafbaf4fa4971d6e4508358093d


Errors in the on device console related to controllers, input and teleport system.

When running a VR application built using the following:

Unity 2019.3.12f1
Legacy XR pipeline: Windows Mixed Reality 4.2.1
Default MRTK Configuration Profile
BoundaryVisualization demo
UWP build target

Two TeleportPointer messages are present in the headset's diagnostics panel. Teleportation works, though there is no cursor apparent in the world.
I have been able to reproduce releated(?) errors using Unity 2018.4 and the HandInteractionExamples demo.
I can NOT repro when using MRTK 2.3.0.

I wonder if this is at all related to the input simulation change from @RogPodge . David, are you

Whoops. Accidentally pressed "close and comment" which I thought said "cancel" for a minute :-)

This was first filed using the boundary visualization demo.
With the hand interaction examples demo, i am also seeing messages stating that the 'given key is not present in the dictionary' as well as 'xxx controller has not been registered with the input system'.
The app is functional. Both controllers appear and are operational.

I will have to double check the registration error to confirm whether or not it says "not been" or "already".
I believe i miss-read the message as this appears to be the relevant message from the input system (RaiseSourceDetected):
                if (DetectedInputSources.Contains(source)) { Debug.LogError($"{source.SourceName} has already been registered with the Input Manager!"); }

Searching the MRTK code, i am not finding a message re: "given key is not present".

I think "given key is not present" is just the standard dictionary message

So far, I have been unable to reproduce this with MRTK 2.3.0 and Unity 2018.4.22f1

@vaoliva has confirmed this also occurs on a WMR ultra pc.

Looks like this was introduced in #6939, which added some awaits while the controller model loads. Previously, we fired a source detected the same frame the pointers were created, and the controller continued to load the controller models in the background. Now, pointers are created, then the source detected event waits for the controller models to be loaded.
Currently, the teleport cursor checks every Update for its pointer to be registered (which happens on source detected). If its pointer isn't registered, it destroys itself, leading to the behavior described above.
Possible solutions:

Don't await (this is how every release prior behaved, though i do see the value in waiting until the controller model actually exists)
Allow cursors to fail gracefully when their pointer doesn't exist yet (I think this is maybe the one we should do, though it could lead to cases where cursors aren't cleaned up properly? but that should be handled in the pointer lifecycle, and cursors shouldn't be expected to always ask if its pointer is alive)
Don't instantiate pointers / cursors until the source is ready to go (I think this one is the "best" behavior-wise, so we don't have pointers / cursors sitting around in the scene without their source existing, but also the most invasive, since controllers depend on input sources depend on pointers, and it would take a bit of a re-architecture to resolve that dependency chain)

@keveleigh, thanks for helping root cause this!
Option 2 seems reasonable

In working on option 2, there are enough new issues being uncovered. I am going to revert to the 2.3 Windows Mixed Reality Controller behavior and open a new issue to re-implement #6939 and resolve the side effects properly in the input and teleport systems.


Get rid of the output header in stdout

[X ] I have tested with the master version of typstfmt and not just typst-lsp
Describe the bug
When using "--output -" the stdout has a header with either the path of the file or "stdin". Is there an option to get rid of it?
This is useful when being integrated with Neovim's lspconfig
To Reproduce
Steps to reproduce the behavior: See above

#112


[SPARK-40516] Add Apache Spark 3.3.0 Dockerfile

What changes were proposed in this pull request?
This patch adds Apache Spark 3.3.0 Dockerfile:

3.3.0-scala2.12-java11-python3-ubuntu: pyspark + scala
3.3.0-scala2.12-java11-ubuntu: scala
3.3.0-scala2.12-java11-r-ubuntu: sparkr + scala
3.3.0-scala2.12-java11-python3-r-ubuntu: All in one image

Why are the changes needed?
This is needed by Docker Official Image
See also in: https://docs.google.com/document/d/1nN-pKuvt-amUcrkTvYAQ-bJBgtsWb9nAkNoVNRM2S2o
Does this PR introduce any user-facing change?
No
How was this patch tested?
The action won't be triggered until the workflow is merged to the default branch, so I can only test it in my local repo:

local test: https://github.com/Yikun/spark-docker/pull/1

Dockerfile E2E K8S Local test: https://github.com/Yikun/spark-docker-bak/pull/7

cc @HyukjinKwon @zhengruifeng
After this patch merged, we can update the URL to apache/spark-docker in https://github.com/docker-library/official-images/pull/13089 .
Meanwhile, we will add more CI and generate script in followup PRs.

Review notes:
You can review 3.3.0/scala2.12-java11-python3-r-ubuntu/* first and below diff are other dockerfiles with all in one image
SparkR specifc change
➜  3.3.0 git:(SPARK-40516) diff scala2.12-java11-python3-r-ubuntu/Dockerfile scala2.12-java11-python3-ubuntu/Dockerfile
27d26
<     apt install -y r-base r-base-dev && \
67d65
<     mv R /opt/spark/; \
74d71
< ENV R_HOME /usr/lib/R

PySpark specifc change
➜  3.3.0 git:(SPARK-40516) diff scala2.12-java11-python3-r-ubuntu/Dockerfile scala2.12-java11-r-ubuntu/Dockerfile
25,26d24
<     apt install -y python3 python3-pip && \
<     pip3 install --upgrade pip setuptools && \
29d26
<     mkdir /opt/spark/python && \
65,66d61
<     mv python/pyspark /opt/spark/python/pyspark/; \
<     mv python/lib /opt/spark/python/lib/; \

PySpark and SparkR specifc change
➜  3.3.0 git:(SPARK-40516) diff scala2.12-java11-python3-r-ubuntu/Dockerfile scala2.12-java11-ubuntu/Dockerfile
25,27d24
<     apt install -y python3 python3-pip && \
<     pip3 install --upgrade pip setuptools && \
<     apt install -y r-base r-base-dev && \
29d25
<     mkdir /opt/spark/python && \
65,67d60
<     mv python/pyspark /opt/spark/python/pyspark/; \
<     mv python/lib /opt/spark/python/lib/; \
<     mv R /opt/spark/; \
74d66
< ENV R_HOME /usr/lib/R

@HyukjinKwon @zhengruifeng Thanks, I will merge this PR soon!

so random question, what are the Apache requirements for LICENSE file and copyright notices for docker files?  Especially if we are going to actually release the images.  Sorry if I missed it on mailing list discussion

@tgravescs Thanks Tom, it's a very import reminder!
Just like apache/spark, all dockerfiles are under Apache 2.0 License, I haven't upload the LICENSE FILE yet. : )
What we need to do just according https://www.apache.org/licenses/LICENSE-2.0#apply:

Add LICENCE and NOTICE in repo. I just submited a JIRA: https://issues.apache.org/jira/browse/SPARK-40754
Add LICENSE header for each files.

Ok, I'm mostly curious about the actual docker image publishing, do we need special NOTICE-binary files or anything to be able to properly publish?

From existing apache repo, it doesn't inculded
https://github.com/apache/solr-docker
https://github.com/apache/flink-docker
BTW, the image might included two mean:

spark: it published by docker community, it only required an OSI-approved license from link
apache/spark (we already have one): it published by apache community, I guess we can reference the solr, flink license.


Limit WiredTiger Cache Size

WiredTiger is the underlying storage engine for mongoDB. To allow mongoDB to run in a smaller footprint, an update is needed to the mongod.conf file in mongoconfigmap.go
storage:
      dbPath: /data/db
      wiredTiger:
        engineConfig:
          cacheSizeGB: 2

The resource request/limit for memory for the mongodb container will be set to 2Gi/5Gi respectively https://github.com/IBM/ibm-mongodb-operator/blob/3626b1142a6deb5a41a3fa82ecea9cd9c42955df/pkg/controller/mongodb/statefulset.go#L156
This will prevent mongoDB from consuming too much memory and getting OOMKilled

Hi @kgcarr , I ask a question about the OOMKilled, I believe when the contianer cost more resource than its resource limit, it will cause OOMKilled. Then, why we will decrease the limit to avoid the OOMKilled.

Sorry, I need to update my notification preference for github.
@horis233 we are able to lower the resource limit because we are limiting the wiredtiger cache size to 2GB...the cache size for WiredTiger needs to be no greater than 40% of the total RAM allowed, so we don't need to have a limit larger than 5GB.


Java Frontend Application wizard for Gradle

Introducing new module that provides a Java Frontend Application wizard for Gradle project. The goal is to get the support for Apache HTML/Java API and the rest of the DukeScript technologies into the hands of our Gradle users. They should be able to choose the project type and get a project with a sample application that can be executed, debugged and tested out of the box.
@lkishalmi, what is the right way to populate a project with predefined structure? There is nothing like Maven archetypes in the Gradle world, right? As such the IDE has to configure the project skeleton by own means. The first attempt extracts the sample from a ZIP file. That is probably not ideal. Are there some better ideas?
Thanks for the review. We'd like to take some time and polish this PR and integrate for NetBeans 12.

Thanks @lkishalmi for the review. Rather than copying the files from a ZIP file, let's copy them from the layer.xml! The 03c5e39 commit contains an example how that could be done (iOS files are still in the ZIP as there is too many of them). More work will be needed on processing the template files and placing them in the right packages...

@dukescript Missing license headers:
https://github.com/apache/incubator-netbeans/tree/master/groovy/gradle.htmlui/build.xml
https://github.com/apache/incubator-netbeans/tree/master/groovy/gradle.htmlui/nbproject/project.properties
https://github.com/apache/incubator-netbeans/tree/master/groovy/gradle.htmlui/nbproject/project.xml
https://github.com/apache/incubator-netbeans/tree/master/groovy/gradle.htmlui/src/org/netbeans/modules/gradle/htmlui/Bundle.properties

Re. Review by @lkishalmi:

The Gradle files are need some love as well. It would be better to review them as source.

Done. Most of the files is available as freemarker template.

As of actions, the reload rules can be just DEFAULT (removed from the properties)

Handled in 657726b

Do not add wrapper related files to the zip as those can be created by
Gradle as a last step of installation.

There are no gradlew files, as far as I can tell, but please take another look now.

Are there any outstanding issues or can we move on and proceed with integration, please? @lkishalmi, @geertjanw - this PR is open to maintainers - feel free to do any renames that you wish. There is no need to block integration just because of the naming.

The checks fails when running org.netbeans.modules.java.completion.JavaCompletionTask110FeaturesTest. That is unlikely related to the gradle wizard changes, as groovy cluster isn't even present in such mode. Do you, @jlahoda, know something about that test? Can you address the failure and merge this PR when appropriate?


seatunnel-workflow image change.

seatunnel-workflow image change.

Do we want to change the picture of the official website homepage?

The picture of the official website homepage need to be redrawn，gray is working on this part.


Ontologies

[ ] in myDIG have a form to upload ontology files
[ ] If there are user uploaded ontologies, dig-etl-engine should use them to create/update master config
[ ] Based on a flag, the output can be json ld

Closing this issue, tracking individual items in separate issues


How to properly embed gorackhd in another project?

My question here is stemming from #10.  when working on github.com/codenrhoden/rackhdcli, I had originally started by working with gorackhd directly.  Because of that, I had previously go install'd it.
To use gorackhd, you have to go install it, then do a make to generate the clients with go-swagger.  When you run make, gorackhd uses glide to grab its dependencies and throw them in gorackhd/vendor.
At first I went down a path that let me to #10, whereby I was no longer using Glide in my project and was counting on having previously go install'd gorackhd.  I had forgotten how I got there, and @clintonskitson pointed out that was the wrong way to do things. I do need to use Glide and have gorackhd in there as my dependency.
However, now I'm stuck on what to do next. If I use Glide to install gorackhd, it is not going to run make for me. I'd still have to run make manually (or add it to a make in rackhdcli, which seems less than ideal). In the end, I'm not seeing how I can ever do go install rackhdcli and get something working as long as that make step is in there.
On a side note, if I go into my resulting vendor'd copy of gorackhd and run make, I still end up with a second vendor directory and end up with mis-matched types. But I think this is an additional result of the make process.
Just for clarity, here is my glide.yaml:
package: github.com/codenrhoden/rackhdcli
import:
- package: github.com/emccode/gorackhd
  subpackages:
  - client
- package: github.com/emccode/gorackhd-redfish
  subpackages:
  - client
- package: github.com/spf13/cobra
- package: github.com/spf13/viper

Am I doing this completely wrong?

@codenrhoden It would be wrong to assume that go install rackhdcli will work. Because of dependencies and the fact that we do not embed those in the repos, this method won't work. It would be a go get -d rackhdcli followed by a make to build it properly. We don't expect people to interface with it in this way anyhow. The artifacts from the CI in Travis should yield uploads to bintray, which represent the best approach to running rackhdcli.
Which package is complaining? Have you tried adding it to the glide file?

@codenrhoden as i had mentioned in our slack convo, I wouldn't focus on the go get method to install your CLI. Instead, as @clintonskitson said, use binaries. Use your local system with all the files necessary to build the binary package, then you can use that as your release.
curl -L https://github.com/codenrhoden/rackhdcli/releases/download/v0.1.0/rackhd.`uname -s`-`uname -m` >/usr/local/bin/rackhd &&  chmod +x /usr/local/bin/rackhd

Going this route satisfies the majority of people and requires only individuals wishing to contribute to your repo to follow all the make steps and have gorackhd available locally.

I can definitely close this now. From working with docker-machine-rackhd, and creating the rackhdcli (my first go projects), I understand a lot better what needs to happen.
I didn't understand all those months ago how to properly use Glide, and how to flatten multiple projects dependencies into one vendor directory.


Poorly worded Docs site for Advanced Audit functionality

[ This document is out-of-date. It references February 2021 like it's a date in the future, when in reality, it's from nearly 2 months in the past. Also, the term who's (which means who is) should really be "whose" (wrong version of 2 words that are similar but not the same meaning. All of this occurs in the bottom section of the page labelled as "FAQs for Advanced Audit". ]

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

ID: 027a1632-76a4-9e87-8376-c10ddfc3e116
Version Independent ID: 10c72509-5d4a-25d3-caf8-361474f68cd8
Content: Advanced Audit in Microsoft 365 - Microsoft 365 Compliance
Content Source: microsoft-365/compliance/advanced-audit.md
Service: o365-seccomp
GitHub Login: @markjjo
Microsoft Alias: markjjo

@KeithP-Microsoft Thanks for feedback. We have updated the FAQ and retained the bit about preserving 10-yr retention policies that were created before the add-on license was made available.


[Definite Init] Improve diagnostics for delegating, failable initializers that do not initialize along all paths.

This improves the diagnostics for the cases shown below
extension Int {
  init?(i: Int) {
    if i > 0 {
      self.init()
    }
  }
}

This example used to produce an error: 'self' used before 'self.init' call or assignment to 'self'. With this change, it would be produce the error: 'self.init' isn't called on all paths before returning from initializer.
Implementation Logic
The essential logic here is to detect that a load made by a failable initializer just before returning is a part of its return sequence, so that it is not considered as a read but instead as a return. This was already taken care of by the function handleLoadUse. This PR reuses that logic in handleEscapeUse as well.
Code changes
The function isFailableInitReturnUseOfEnum is moved above in the code so that it can used by handleEscapeUse  in addition to handleLoadUseFailure  which was originally using it.  The function isLoadForReturn is extracted from the code in the function handleLoadUseFailure so that it can be shared by handleEscapeUse.
rdar://problem/62562254

@swift-ci Please test

It produces a similar error for initializers of address-only enum as well, if they do not initialize along all paths.


test sign but not found right file

When I use this code to test sign by mbedtls lib., I got the err:
buf size: 1, return: -8576
version: 0

-8576(-2180) code means in mbedtls
The CRT/CRL/CSR format is invalid, e.g.
different type expected.

my source code:
#include <stdio.h>
#include <mbedtls/x509_crl.h>
#include "mbedtls/platform.h"

int main()
{
  unsigned char buf = "-----BEGIN X509 CRL-----\nMIIBqzCBlDANBgkqhkiG9w0BAQIFADA7MQswCQYDVQQGEwJOTDERMA8GA1UEChMI\nUG9sYXJTU0wxGTAXBgNVBAMTEFBvbGFyU1NMIFRlc3QgQ0EXDTA5MDcxOTE5NTYz\nN1oXDTA5MDkxNzE5NTYzN1owKDASAgEBFw0wOTAyMDkyMTEyMzZaMBICAQMXDTA5\nMDIwOTIxMTIzNlowDQYJKoZIhvcNAQECBQADggEBAF8F5y82zgtxcwQ4aFvrkanT\nygyd5+RW/Y//vpck44V+CYx1d1r+QkauaXel9qUKBPsg2dUwQ+jwV/m+Sp2MHaX5\nNfW7XUb7Ji4yhwgh9/9vFPqqnKBf9esLJuJoQ4mLhcGB5J1yCcavLrynvB4PJEnG\ngraTbbyizelXBmk3ApvNYxczJZxt7EzpVbrFaev7myGmOffdDkIMc2WDpDkyLTlU\nkITjB7fMJhD/dgNskKZ4fgkKKKPCMJrJPO67Wzwqx/6vsrZcACB9X+143WZr4GVO\nFw2SaMnqfVLlUEndoOpbLCU4ugcc82kQQF3TsovXJYW7XqoWl2u/ENCwShl9rl4=\n-----END X509 CRL-----";

  mbedtls_x509_crl crl;
  mbedtls_x509_crl_init(&crl);
  int err = mbedtls_x509_crl_parse(&crl, &buf, strlen(&buf));
  if (err != 0) {
    mbedtls_printf("buf size: %lu, return: %d\n", sizeof(buf), err);
    mbedtls_x509_crl_free( &crl );
  }

  printf("version: %d\n", (&crl)->version);
  mbedtls_x509_crl_free (&crl);
}

In its demo program, it will use a default ca file: cert.crt, but I not found it, how can I get a right ca file?

Hi @Txiaozhe
Thank you for your question and for your interest in Mbed TLS!
The crl you are using has the following information:
Certificate Revocation List (CRL):
        Version 1 (0x0)
    Signature Algorithm: md2WithRSAEncryption
        Issuer: /C=NL/O=PolarSSL/CN=PolarSSL Test CA
        Last Update: Jul 19 19:56:37 2009 GMT
        Next Update: Sep 17 19:56:37 2009 GMT
Revoked Certificates:
    Serial Number: 01
        Revocation Date: Feb  9 21:12:36 2009 GMT
    Serial Number: 03
        Revocation Date: Feb  9 21:12:36 2009 GMT
    Signature Algorithm: md2WithRSAEncryption
         5f:05:e7:2f:36:ce:0b:71:73:04:38:68:5b:eb:91:a9:d3:ca:
         0c:9d:e7:e4:56:fd:8f:ff:be:97:24:e3:85:7e:09:8c:75:77:
         5a:fe:42:46:ae:69:77:a5:f6:a5:0a:04:fb:20:d9:d5:30:43:
         e8:f0:57:f9:be:4a:9d:8c:1d:a5:f9:35:f5:bb:5d:46:fb:26:
         2e:32:87:08:21:f7:ff:6f:14:fa:aa:9c:a0:5f:f5:eb:0b:26:
         e2:68:43:89:8b:85:c1:81:e4:9d:72:09:c6:af:2e:bc:a7:bc:
         1e:0f:24:49:c6:82:b6:93:6d:bc:a2:cd:e9:57:06:69:37:02:
         9b:cd:63:17:33:25:9c:6d:ec:4c:e9:55:ba:c5:69:eb:fb:9b:
         21:a6:39:f7:dd:0e:42:0c:73:65:83:a4:39:32:2d:39:54:90:
         84:e3:07:b7:cc:26:10:ff:76:03:6c:90:a6:78:7e:09:0a:28:
         a3:c2:30:9a:c9:3c:ee:bb:5b:3c:2a:c7:fe:af:b2:b6:5c:00:
         20:7d:5f:ed:78:dd:66:6b:e0:65:4e:17:0d:92:68:c9:ea:7d:
         52:e5:50:49:dd:a0:ea:5b:2c:25:38:ba:07:1c:f3:69:10:40:
         5d:d3:b2:8b:d7:25:85:bb:5e:aa:16:97:6b:bf:10:d0:b0:4a:
         19:7d:ae:5e

As you can see there are two issues that I spot:

It is hashed with md2, which is probably not defined in your configuration, as it is considered un secure. Since it is not defined, the crl fails to parse.
The crl has expired on Sep 17 19:56:37 2009 GMT , so even if you defined MBEDTLS_MD2_C, you will get a failiure due to expiration.
Regards

Thanks for your answer and attention, and I need to implement a function about Sign and Verify now, for example, I have a source word and a private key, they will be signed, and I can choose one encryption algorithm such sha256, finally, a signature will returned(this is pseudo code):
string signature = Sign(private_key, source_word, sha256);

when verify it, I will use this source word, signature, encryption algorithm and a public key, finally, the verification results (true or false) will returned:
boolean results = Verify(public_key, source_word, sha256, signature); // true or false

I have use mbedtls_x509_crt and its methods to do it but I found I can't choose the encryption algorithm and no expected results were obtained.
Can you give some advices?
Thanks!

Note that sha256 is not an encryption algorithm, but a digest algorithm.
The signature is done on the digest of your message.
mbedtls_x509_crt is used to parse x509 certificates, not for signature generation.
If you want to sign and verify, you should be using the mbedtls_pk module , or the underlying RSA \ ECDSa algorithms.

Thanks!
Could you please give me some sign/verify demo?
Are programs/pkey/pk_sign.c and programs/pkey/pk_verify.c an example of it?

You can find here Mbed TLS example programs for the public key cryptography modules.

Thanks for your attention, I will try it :)

@Txiaozhe

Are programs/pkey/pk_sign.c and programs/pkey/pk_verify.c an example of it?

Yes. There are also rsa_sign and rsa_verify and ecdsa applications

Thanks! :)

Closing, as the quewstion was answered. For any follow-up, please reopen, or create a new question if different topic.

Closing, as the quewstion was answered. For any follow-up, please reopen, or create a new question if different topic.

Thanks!


Quicktype is not generating java class on vscode

I am unable to generate the java code from json on the vscode editor. A blank QuicType.java file and only works when I run the command quicktype -o Hello.java hello.json from the terminal!

Closing this with no info


Sidr not pushing navbar-fixed-buttom

hi
I have a Sidr menu implemented inside a angularJs app with SPA. When i open sidr menu it does not push the navbar to the right like the other content.
Anybody who can help with a solution?

I have the oppsite problem. I want to keep my nav menu from sliding. How are you keeping it in position?

¨Do you have some code i can see? maybee the bav-bar and your sidr menu code. Maybee I can see what we doo differently.

I managed to keep it put now with the attribute:
position: fixed;
while before it was:
position: absolute; (which acted the same except that it was being pushed by the sidr menu)
try it maybe?

Did you put that directly on your html element or in css?

In the css (but both should work).

Seems that this is solved, but seems also that is regarding your own CSS. Please add some code here if you still need help.


[BUG] Potential bypass for InResponseTo Assertion Validation

#43 introduced a bug whereby an attacker would modify a SAML document to effectively disable checking of assertion valid date/time ranges.
See https://github.com/node-saml/node-saml/pull/43#issuecomment-1118007252 for more information.

@afurlane Are you available to work on this, or should we roll-back the bug-inducing PR until you get some time?

@cjbarth, sorry for being late. I'm working on the code, reading and re-reading the specs. I think I should be opening a pull-request soon.

@cjbarth I'm struggling with this trouble. If you could take a look, search for "valid xml document with multiple SubjectConfirmation should fail if no one is valid" in tests.spec.ts. Well, it is the same test in "valid xml document with multiple SubjectConfirmation should validate, first is expired so it should take the second one" and the assert reject checks for two differente messages. https://github.com/afurlane/node-saml/tree/bypass_for_inresponseto

@cjbarth, I found that:
       await assert.rejects(samlObj.validatePostResponseAsync(container), (err) => {           assert.strictEqual(err.message,              "No valid subject confirmation found among those available in the SAML assertion")         });
Will work as expected. The test fails because of:
`1) node-saml /
saml.js /
validatePostResponse checks /
valid xml document with multiple SubjectConfirmation should fail if no one is valid:
  AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:

actual - expected

'InResponseTo does not match subjectInResponseTo'

'No valid subject confirmation found among those available in the SAML assertion'
+ expected - actual
-InResponseTo does not match subjectInResponseTo
+No valid subject confirmation found among those available in the SAML assertion`

Ok, so I think I need to fix the code and the tests too.

Address by #87


Use useMemo for using randomID

Every time when someone will use components - InputField, Modal etc. with React hooks, the function randomID inside them will be called every time when the component re-renders.
This influences performance in some way (it's not a problem for usage inside class components).
Expected Behavior
The functions should be called only once, or if some dependency e.g. label will change.
Current Behavior
The ID is randomised every time when someone is using hooks and the component re-renders.
Possible Solution
Use useMemo for memoizing the ID
Steps to Reproduce
https://codesandbox.io/s/orbit-sandbox-0y0xb

Closed by #1091


[Rosetta] Prioritize rosetta over qemu-user-static by creating binfmt.d(5) configuration

This change aims to ensure that Rosetta is prioritized over qemu-user-static when both are installed. The key steps and intentions of this change include:

Creating a binfmt.d(5) Configuration for Rosetta: This configuration ensures that Rosetta is registered with systemd-binfmt, taking precedence over qemu-user-static.

Early Mounting of Rosetta Volume: Using user-data to mount the Rosetta volume earlier in the boot process, preventing errors related to the Rosetta interpreter not being found by systemd-binfmt.service(8).

Duplicate Registration Check: Adding a check to avoid errors from duplicate registrations in binfmt_misc during subsequent startups, ensuring smooth operation when Rosetta is already registered.

The expected methods for installing qemu-user-static are as follows:

Running docker run --rm --privileged multiarch/qemu-user-static --reset -p yes on a Docker rootful VM.
Executing apt-get install qemu-user-static within the provision script in lima.yaml.

Both methods create configuration files for binfmt.d(5).
Thanks,

I haven't read the PR yet, but I have 2 questions so far:

What is the difference between multiarch/qemu-user-static and tonistiigi/binfmt, and what are the reasons to choose one over the other?

What is the effect of this PR on non-systemd based machines (like Alpine)?

What is the effect of this PR on non-systemd based machines (like Alpine)?

I have fixed the issue with the user-data template causing test failures on Alpine, but it seems one test is still failing due to inability to download the image.

2024-07-10T02:01:59.4749003Z time="2024-07-10T02:01:59Z" level=fatal msg="failed to download "https://github.com/lima-vm/alpine-lima/releases/download/v0.2.39/alpine-lima-std-3.20.0-x86_64.iso\": Get "https://github.com/lima-vm/alpine-lima/releases/download/v0.2.39/alpine-lima-std-3.20.0-x86_64.iso\": dial tcp <IP_ADDRESS>:443: i/o timeout"

Could you please rerun that test?

Another difference between multiarch/qemu-user-static and tonistiigi/binfmt, that tonistiigi uses qemu with patches. One of meaningful patches is set CPU to max instead of default. This allows run programs with AVX instructions.

What is the effect of this PR on non-systemd based machines (like Alpine)?

I fixed the mount error that was occurring on Alpine due to this PR.

What is the effect of this PR on non-systemd based machines (like Alpine)?

Regarding binfmt, the behavior should remain unchanged on non-systemd machines.

I cannot reproduce the kernel panic that occurred in the failed integration test on my local x86_64 machine.
https://github.com/lima-vm/lima/actions/runs/9889834439/job/27316746959?pr=2474#step:11:78

==> /Users/runner/.lima/default/serial.log <==
[    0.016000]  setup_IO_APIC+0x2c3/0x370
[    0.016000]  ? enable_IO_APIC+0x1af/0x290
[    0.016000]  apic_intr_mode_init+0x61/0x130
[    0.016000]  x86_late_time_init+0x24/0x40
[    0.016000]  start_kernel+0x2be/0x450
[    0.016000]  x86_64_start_reservations+0x18/0x30
[    0.016000]  x86_64_start_kernel+0xbf/0x110
[    0.016000]  secondary_startup_64_no_verify+0x184/0x18b
[    0.016000]
[    0.016000] ---[ end Kernel panic - not syncing: IO-APIC + timer doesn't work!  Boot with apic=debug and send a report.  Then try booting with the 'noapic' option. ]---

I cannot reproduce the kernel panic that occurred in the failed integration test on my local x86_64 machine. https://github.com/lima-vm/lima/actions/runs/9889834439/job/27316746959?pr=2474#step:11:78

==> /Users/runner/.lima/default/serial.log <==
[    0.016000]  setup_IO_APIC+0x2c3/0x370
[    0.016000]  ? enable_IO_APIC+0x1af/0x290
[    0.016000]  apic_intr_mode_init+0x61/0x130
[    0.016000]  x86_late_time_init+0x24/0x40
[    0.016000]  start_kernel+0x2be/0x450
[    0.016000]  x86_64_start_reservations+0x18/0x30
[    0.016000]  x86_64_start_kernel+0xbf/0x110
[    0.016000]  secondary_startup_64_no_verify+0x184/0x18b
[    0.016000]
[    0.016000] ---[ end Kernel panic - not syncing: IO-APIC + timer doesn't work!  Boot with apic=debug and send a report.  Then try booting with the 'noapic' option. ]---

Me too, this issue seems specific to the infra of GHA

rebased

Another difference between multiarch/qemu-user-static and tonistiigi/binfmt, that tonistiigi uses qemu with patches. One of meaningful patches is set CPU to max instead of default. This allows run programs with AVX instructions.

And there are additional patches that are only applied to the Docker Desktop version: https://github.com/tonistiigi/binfmt/blob/015fe68a09f75b84e7cf84cc54466d3add6d01c5/docker-bake.hcl#L80-L86
I've not had time to look into why these patches are relevant to Docker Desktop but not to other uses of qemu-static.
I wish somebody could figure out what the ideal version would be for Lima and add it to our docs!

Thanks! :pray:


file classes.php not generated

After creating and installing successfully a new project, even running demo app without errors, when try to run app created, error showing "can not write on /path/to/my/project/app/cache/dev/classes.php".
And it is not a permission error, the file classes.php do not exist...???? This file is not create as a installation process???
Try  to find some similar in the forums, i couldn't find nothing relative to this issue.
What is wrong? I use symfony version 2.8, ubuntu 16.01.
I also update composer, clean cache, .... but nothing ..always same error.

You are try : http://symfony.com/doc/current/setup/file_permissions.html  ?

The problem is not file's permission.
The file classes.php do not exist!!.....obviously it can't write to it!
On Fri, Oct 14, 2016 at 12:29 PM, Flug<EMAIL_ADDRESS>wrote:

You are try : http://symfony.com/doc/current/setup/file_permissions.html
?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/symfony/symfony-standard/issues/1015#issuecomment-253834811,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVrKmQx4qBViHemL96Y50sS5NuuM91t1ks5qz5_tgaJpZM4KXGgd
.

@ricpar123 Can you please show the exact error message and possibly also a full stack trace?

Yes, of course....following it is...".RuntimeException in ClassCollectionLoader.php line 239: Failed to write cache file "/var/www/html/miproj/app/cache/dev/classes.php"."
and a lot of error messages from php....
As I said, i checked the /app/cache/dev directory and classes.php is not there...!
thanks for your attention

Hey @ricpar123 , so how have you solved it?

I couldn't yet. I am working on that.
On Fri, Oct 14, 2016 at 4:51 PM, Victor Bocharsky<EMAIL_ADDRESS>wrote:

Hey @ricpar123 https://github.com/ricpar123 , so how have you solved it?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/symfony/symfony-standard/issues/1015#issuecomment-253903274,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AVrKmdcGMHsDQFA1LvD__bRgK67zJNJsks5qz91YgaJpZM4KXGgd
.


ci: fix graphql

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 67.319%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
15610

Relevant Lines:
23188

💛  - Coveralls


Add lib to sign and publish artifacts to artifacts.opensearch.org

Description
This change adds the library to sign and publish the artifacts to artifacts.opensearch.org. The role management is manual as of today but we are looking into automating the same.
Issues Resolved
required for https://github.com/opensearch-project/opensearch-build/issues/3112
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #127 (001c7f9) into main (c66bc1c) will increase coverage by 0.08%.
The diff coverage is 100.00%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@             Coverage Diff              @@
##               main     #127      +/-   ##
============================================
+ Coverage     83.41%   83.50%   +0.08%
  Complexity       24       24
============================================
  Files            68       69       +1
  Lines           193      194       +1
  Branches         11       11
============================================
+ Hits            161      162       +1
  Misses           25       25
  Partials          7        7

Impacted Files
Coverage Δ

...kins/jobs/PublishToArtifactsProdBucket_Jenkinsfile
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


MeshGraphormer Hand Refiner: Segmentation fault (core dumped)

Hello, I ran into this issue today when trying to use the MeshGraphormer.
I use ComfyUI on Linux with an AMD RX 7900 XTX. I run Comfy in a Python virtualenv that runs Python 3.11.6.
My workflow looks like this:

The error occurs when the node tries to run. In the log it first downloaded the models, but it happens too after they have already downloaded.
This is the log of the terminal when it happens:
Failed to find /home/user/bighome/Software/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/hr16/ControlNet-HandRefiner-pruned/hrnetv2_w64_imagenet_pretrained.pth.
 Downloading from huggingface.co
hrnetv2_w64_imagenet_pretrained.pth: 100%|███████████████████████████| 513M/513M [00:04<00:00, 114MB/s]
Failed to find /home/user/bighome/Software/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/hr16/ControlNet-HandRefiner-pruned/graphormer_hand_state_dict.bin.
 Downloading from huggingface.co
graphormer_hand_state_dict.bin: 100%|████████████████████████████████| 856M/856M [00:07<00:00, 112MB/s]
set os.environ[OMP_NUM_THREADS] to 4
/usr/lib/python3.11/site-packages/scipy/sparse/_index.py:102: SparseEfficiencyWarning: Changing the sparsity structure of a csr_matrix is expensive. lil_matrix is more efficient.
  self._set_intXint(row, col, x.flat[0])
=> loading pretrained model /home/user/bighome/Software/ComfyUI/custom_nodes/comfyui_controlnet_aux/ckpts/hr16/ControlNet-HandRefiner-pruned/hrnetv2_w64_imagenet_pretrained.pth
./start.sh: line 3: 172853 Segmentation fault      (core dumped) python main.py --temp-directory /tmp/comfy

I have updated ComfyUI, updated all nodes including this one. I also renewed my pyenv virtualenv and installed all dependencies, including the ones like onnxruntime-gpu and the ones in the requirements.txt of this custom node.

I have the same issue with a similar setup.
Running on Fedora 39 with an AMD RX 6750 XT using the kernel amdgpu driver, I've created Python virtual environments with Python versions 3.10.13 and 3.11.7 and installed all dependencies for both ComfyUI and ControlNet Auxiliary Preprocessors. I am using ROCm 5.7 nightly (cannot use 5.6 due to PCIe atomics). Both environments experience a segmentation fault during/after the "loading pretrained model" step, matching the log already posted.
Here is the relevant output of dmesg:
dmesg.txt

After fully updating my system and ComfyUI, the crash seems to be fixed as I can no longer reproduce it. The MeshGraphormer Hand Refiner is now working as expected for me.

Same here, I updated everything and now the hand refiner seems to work fine. I'll close the issue as my problem has been solved.


One more error message

Hi there,
did several tests and the module seems to work for me most of the time. It's a bit troublesome that it only tries once to update an actor the moment the token is dragged to the scene and that it means reloading the page if something goes wrong - but that is a managable drawback.
I still get an error message the moment I create a new npc actor in the actor tab, but the module still seems to work fine.

Thanks @MSAbaddon I'll have a look.

Fix for this will be released some time this week.

Nice :-)


Implement Generic extension resource (+ Cert-Service extension)

Part of #308.
As we have proposed in GEP-1 we want to have an Generic extension resource that is reconciled by an external controller running in the seed. The Generic resources does not have any dependent tasks in the shoot flow, however, it's successful reconciliation is required for the whole shoot flow to terminate successfully. It should create the necessary networks, security groups, , ... needed for a shoot cluster.
Implementation Proposal
For now, let's begin with the recently added cert-manager/cert-broker deployments (#509), move them out into an extension controller (named cert-service?!), and implement the Generic resources for this example.
As discussed, let's go ahead with this first version of the Generic resource:
apiVersion: extensions.gardener.cloud/v1alpha1
kind: Generic
metadata:
  name: <some-name>
  namespace: shoot--dev--shoot1
spec:
  type: <some-type>
  providerConfig:
    <some-type-specific-blob>

Probably, we also need to extend the ControllerRegistration resource: We need to allow to specify for Generic resources whether specific configuration is required in the shoot manifest, or whether it should be created for all shoots even when not configured there.
What about:
apiVersion: core.gardener.cloud/v1alpha1
kind: ControllerRegistration
metadata:
  name: os-coreos
spec:
  resources:
  - kind: Generic
    type: <some-type>
    global: true

The .spec.resources[].global field is only allowed if kind==Generic. If global= true then the Generic resource of type <some-type> will be always written in the shoot flow. If global=false then Gardener requires configuration for the <some-type> extension in the shoot specification in order to write the Generic resource.
Definition of Done

[ ] Have a cert-service extension controller ready that deploys the cert-manager once into the seed, and the cert-broker next to every shoot control plane.
[ ] The certificate-management secret in the garden cluster is no longer needed because its content are passed to the cert-service extension directly.
[ ] All the cert-manager related charts in https://github.com/gardener/gardener/tree/master/charts/seed-bootstrap/charts/cert-manager are moved out of the gardener repository.
[ ] The cert-broker related chart in https://github.com/gardener/gardener/tree/master/charts/seed-controlplane/charts/cert-broker is moved out of the gardener repository.
[ ] The needed RBAC roles for cert-broker (deployed in https://github.com/gardener/gardener/tree/master/charts/shoot-core/charts/cert-broker) are continuously reconciled by the cert-service component itself.
[ ] The CertManagement feature gate has been removed.
[ ] The ControllerRegistration resources has been extended as described above.
[ ] The shoot reconciliation/deletion flow has been adapted to write Generic resources (probably after the control plane has been created).
[ ] Documentation has been added to the docs/extensions folder that describes the contract between Gardener and the Generic resource.

#809


merge from master to joshbranch2

merge from master to joshbranch2

trying to overcome a merge conflict, good learning on using Git


fix(v15): Update incorrect colors for codepoints 1faf7 and 1faf8

I noticed that the colors for these codepoints differed quite heavily for both of these emojis from the rest of the set, and after searching, these are(thankfully) the only two codepoints that have this color difference.
I've updated the SVG sources and made new PNGs from them. Please let me know if I have missed anything!

More than just the default skin pushing hands colours were incorrect, so we went ahead and fixed all the pushing hands in #63.


Using def output = count[R] <++ 0 through CLI exec displays errors

The recommended workaround to get count[R] to return 0 when the relation R is empty is to use the left_override feature.
This works fine in the RAI web console and when using exec from the Julia SDK. However, when run with the RAI console it appears to dump a lot of extra error info (as well as the expected 0).
rai exec  my_db -e my_eng -c "def output = count[features] <++ 0 "
Executing query (adean-att-fraud-db-dev-7464/adean-att-fraud-eng-dev-7464) readonly=false .. Ok (0.5s)
/:output/Int64
0

/:rel/:catalog/:diagnostic/:code/Int64/String
1, UNDEFINED
2, UNDEFINED
3, UNDEFINED
4, UNDEFINED
5, UNDEFINED
6, UNDEFINED
7, UNDEFINED
8, UNDEFINED

/:rel/:catalog/:diagnostic/:message/Int64/String
1, `trusted_edges_csv` is undefined.
2, `trusted_edges_csv` is undefined.
3, `scamp_aggd_csv` is undefined.
4, `scamp_aggd_csv` is undefined.
5, `scamp_aggd_csv` is undefined.
6, `scamp_aggd_csv` is undefined.
7, `scamp_aggd_csv` is undefined.
8, `scamp_aggd_csv` is undefined.

/:rel/:catalog/:diagnostic/:model/Int64/String
1, trusted_edges
2, trusted_edges
3, robo_features
4, robo_features
5, robo_features
6, robo_features
7, robo_features
8, robo_features

/:rel/:catalog/:diagnostic/:range/:end/:character/Int64/Int64/Int64
1, 1, 26
2, 1, 26
3, 1, 43
4, 1, 43
5, 1, 44
6, 1, 29
7, 1, 48
8, 1, 29

/:rel/:catalog/:diagnostic/:range/:end/:line/Int64/Int64/Int64
1, 1, 9
2, 1, 10
3, 1, 15
4, 1, 14
5, 1, 12
6, 1, 2
7, 1, 13
8, 1, 1

/:rel/:catalog/:diagnostic/:range/:start/:character/Int64/Int64/Int64
1, 1, 10
2, 1, 10
3, 1, 30
4, 1, 30
5, 1, 31
6, 1, 16
7, 1, 35
8, 1, 16

/:rel/:catalog/:diagnostic/:range/:start/:line/Int64/Int64/Int64
1, 1, 9
2, 1, 10
3, 1, 15
4, 1, 14
5, 1, 12
6, 1, 2
7, 1, 13
8, 1, 1

/:rel/:catalog/:diagnostic/:report/Int64/String
1, 9|     e1 = trusted_edges_csv[:ctn_a, i, j] and
            ^^^^^^^^^^^^^^^^^

2, 10|     e2 = trusted_edges_csv[:ctn_b, i, j] and
             ^^^^^^^^^^^^^^^^^

3, 15| def msg_lens = add_attribute[scamp_aggd_csv, :sum_msgs_len]
                                 ^^^^^^^^^^^^^^

4, 14| def num_msgs = add_attribute[scamp_aggd_csv, :num_msgs]
                                 ^^^^^^^^^^^^^^

5, 12| def num_calls = add_attribute[scamp_aggd_csv, :num_calls]
                                  ^^^^^^^^^^^^^^

6, 2| def ctn_term = scamp_aggd_csv[:term,_,_]
                  ^^^^^^^^^^^^^^

7, 13| def call_duration = add_attribute[scamp_aggd_csv, :sum_elapsed_time]
                                      ^^^^^^^^^^^^^^

8, 1| def ctn_orig = scamp_aggd_csv[:orig,_,_]
                  ^^^^^^^^^^^^^^

/:rel/:catalog/:diagnostic/:severity/Int64/String
1, error
2, error
3, error
4, error
5, error
6, error
7, error
8, error

%

Note: This issue has been migrated to https://relationalai.atlassian.net/browse/RAI-7378.
This link is only accessible to employees of RelationalAI.


2>An exception occured in the reactor: System.ApplicationException: Cannot find type for ctor #b156fe9c

Hello!
I consistently get the same exception
An exception occured in the reactor: System.ApplicationException: Cannot find type for ctor #b156fe9c
I'm only using your example.
Program_ListenUpdates.cs + non-interactive-configuration
WTLog1.txt
WTLog2.txt
WTLog3.txt
WTLog4.txt
WTLog5.txt
How can I avoid this problem?

Usually this kind of errors can be observed in the logs (temporarily) when you upgrade WTelegramClient version, using a new Telegram API layer. This is because Telegram servers send old updates (from before the layer change) that still use the old layer constructors. This is not a major problem because WTelegramClient will reconnect automatically and skip the unknown constructors/updates, so the error will fix itself over time.
According to your logs it seems you're using many different sessions in parallel, right? So maybe it will happen a few time when you resume each session and then you should be good.
However if it does happen over time even on a single session that already fixed those potential initial errors after upgrade, this is problematic.

WTelegramClient 3.3.3 Nuget

I downloaded version 3.3.3
3-5 days ago
and have never used any other versions.

Thanks. It seems like a Telegram server issue. I transmitted the information, hopefully they will fix it.

As a workaround, if this is too annoying and you can't wait for a fix, you could downgrade to version 3.3.1 (layer 154) which supports this older ctor.

Great! Thank you very much, yes, indeed this error is in the way. The application stops.

In any case, I will close this issue because I don't think it's an issue in the library, it's server-side so this problem should be tracked with Telegram teams.

See also https://t.me/tdlibchat/69855

On 3.3.1 I don't experience such problems. Thank you for your help.


Update SteamAuth-version used in demo page

As far as I can see, you're using a pretty old version in the demo page. Even tho it works, i would recommend updating it for performance reasons and to show new stuff eventually.

Will get round to this later on today :)


ONNX: Tensor shape is not displayed

7.5.7 Website/Desktop
Windows Edge Version 123.0.2420.65
Issue : Tensor shape is not displayed within ONNX function , even though model has tensor information for all intermediate tensors.
Attached model has tensor shape for all layer in the pb file, but they are not displayed with in function.
Can you check this?

tree_export.zip

@kumardesappan the value_info for the function connections is empty.
Please investigate or discuss with onnx/onnx and pytorch/pytorch.
cc @justinchuby @gramalingam

The ability to add value_info for symbols within functions is a newly added feature (just out in last week's release of onnx). Value_info in main graph for symbols within functions is likely an error/experimentation in the model-exporter.