GUAC Beta v0.1

GUAC Beta v0.1
GUAC Beta v0.1 provides a runnable service for users to get started with building a software catalog and understanding their organization's software supply chain and prototyping security evaluations and controls.
With the GUAC Beta, a user can provide their SBOM and SLSA documents and the service will ingest the software metadata into a knowledge graph which will automatically be augmented with additional vulnerability, security and open source insights (e.g. OSV.dev, Deps.dev, Scorecards). All this information will then be accessible and queryable to answer supply chain questions.
With the help of additional experimental utilities, a user will be able to:

Understand the "hidden" imported dependencies and the scale of the organization's software supply chain blast radius
Finding out if my organization's software is vulnerable to log4shell
Marking certain software as "known bad" (e.g. known malware, compromise) and detect if software uses it

The above examples showcase some utilities we've built to preview the GUAC Beta API. As a developer, you can leverage this yourself and build your own products on GUAC through our GraphQL API. For example, you may be able to create a:

Code IDE plugins that enforces supply chain security policy at development time

Note:
The GUAC Beta is NOT production ready. We'd like to get feedback on both the capabilities of the service and use cases from an end-user perspective as well as the GraphQL API from a developer perspective.
What does it include
Provide a deployable service that an organization will be able to answer the vulnerability question (and more) about their software dependencies.

E2E Service with an experimental web interface for users to query by software identifiers
GUAC consumes/ingests organization SBOMs and SLSA documents
GUAC augments the graph automatically with Open Source Insights and security metadata (deps.dev, osv.dev, scorecards)
A set of example utilities building on top of the GraphQL interface to showcase building on top of GUAC

Below this line are logistics/planning
Example flow
Setting up and configuring GUAC through an all-in-one container

The GUAC Web UI

The GUAC results page with insights and navigable graph

Technical Details
This should include:

Ability for parsers to request the augmentation of additional data in GUAC (functional equivalence to "Fetcher" component in initial design doc)

https://github.com/guacsec/guac/issues/244

Create data model for subscription model
Create API and service for subscription model
Integrate subscription API into collectors
Integrate subscription API into parsers

A graphQL API to obtain results

https://github.com/guacsec/guac/issues/216 (pre-workshop)

Implement golang genqlient and gqlgen into GUAC project
Generate a GraphQL interface that would ensure that the proof of concept from SETUP.md and the certifier workflow produce the same results via Cypher and via the new interface. This phase involves building the GraphQL interface for read only queries from the database.
tracking all the queries that are currently being used to write to the database and creating corresponding GraphQL mutations.

https://github.com/guacsec/guac/issues/291 (workshop)
https://github.com/guacsec/guac/issues/218 (post-workshop)

A runnable persistent GUAC deployment with end-to-end workflows of collectors/processors/parsers/assemblers

https://github.com/guacsec/guac/issues/31

Complete NATs implementation
Create service run GUAC with multiple collectors and 1 parser/assembler (2 piece service, collector talks to parser/assembler)
Create all in 1 container image to run GUAC services
Change/add to SETUP.md to use this model

Collectors:

OSV Certifier

https://github.com/guacsec/guac/issues/222

Implement OSV.dev certifier collector
Update OSV.dev certifier collector to use subscription model

Deps.dev certifier/collector

https://github.com/guacsec/guac/issues/214

Create deps.dev certifier collector based on BigTable data source
Update deps.dev certifier collector based on queryable API if exists
Update deps.dev certifier collector to use subscription model

Scorecards collector

https://github.com/guacsec/guac/issues/249

Implement scorecards certifier collector
Update scorecards certifier collector to use subscription model

Github collector (repo information, release info, etc.)

https://github.com/guacsec/guac/issues/205

Implement Github repo certifier collector
Update github repo certifier collector to use subscription model

A service to ingest SLSA/SBOM from the user and return results by querying the GraphQL API.

https://github.com/guacsec/guac/issues/250

Design the UX for the service
Design and Create API to perform functionality (logic  to query GraphQL Api, perform the right ingestion, provide feedback on ingestion)
Create front-end site and service for user flow
Create deployment of entire service in 1 container with documentation
Scale testing sample deployment

Document URI encoded within node (and have collectors propagate that information)

Technical issues that need to be ironed out:

Initial model of resolving the identifier problem

https://github.com/guacsec/guac/issues/217
https://github.com/guacsec/guac/issues/239

General data quality problems that come up, especially with SBOM formats (== sourceinformation?)

Performance issues that need to track:

L1 policy to skip duplicated documents to optimize ingestion
Collectors should also have a "greedy" slider for polling and document expiration
Make ingestion more performant

https://github.com/guacsec/guac/releases/tag/v0.1.0 🎉


Add ReportStore and HelperStateStore structs

This PR implements ReportStore and HelperStateStore structs that are necessary for storing report shares and helper state.

Currently only the basic functionality is implemented.
Test code will be added in the next couple of commits.


My first hackathon

Hackathon Git Labs Project PR 🎉🎉
PR contains:
I built a one-page website to introduce a bit of myself using HTML, CSS and JavaScript. The main Idea was how to show the most information on one page. I decided to work with a panel that opens and closes with a click by the user to give me enough space to display all the content.
Hacktoberfest 2022:

[ ] Does this PR follow the intermediate.md guide and submitted as part of Hacktoberfest 2022?

Yes
Breaking changes
None
Screenshots
None

Hi @andrewdempsey2018, Thanks so much!
I changed the file name for 'Pedro in my branch.


move link handler and use MUI's Link component. add labels for clarity

Description

move link handler and use MUI's Link component
add labels to routes in navbar for clarity

Related Issues
#9
Checklist

[ x ] I have tested my changes locally.
[ ] I have added necessary documentation or updated existing documentation.
[ x ] My code follows the project's coding conventions and style guidelines.
[ ] All tests pass successfully.
[ ] I have added/updated relevant unit tests.

Additional Notes

more of a development enhancement than visual, please advise what styling edits you would like

will do, thanks a ton @Curtis-Thomas and same to you!


Add the documentation on how to change the application

If you want to make publish changes to your application, e.g. the name, description or image do the following:

Open the page of the application and click Edit:

This will create a new draft of your application and opens Application Editor.
Make the updates to your application, Check with Preview, and once you good click Save:

This will save the draft application which you can send for publishing with the next step. You still able to make changes to the description, tags, etc or change the icon of the app.
If you want to change the icon of the app open the Settings menu and click "Upload an image"

This will let you upload a new image for your application icon from your computer.
Once you are good with application changes or/and new icon you can send the changes for approval.

InterSystems managers will review the new changes and once the application is approved it will change the published one with new updates

How to make changes to a published application?
If you want to make changes to your application, e.g. name, description or image, you need to do the following:

Open the application page and click the “Edit” button in the Settings menu:
SCREENSHOT
This will create a new draft of your application and open the Application Editor.

Make the updates to your application, сheck with the “Preview” button, and once you good, click the “Save” button:
SCREENSHOT
This will save a draft of your application, which you can submit for publication in the next step.
Note: You can still make changes to the description, tags, etc., or change the app logo.

If you want to change the application logo, open the Settings menu and select the "Upload image" section.
SCREENSHOT
This will allow you to upload a new image for your application logo from your computer.

Once you've finished making changes to the app and/or uploading a new logo, you can submit your changes for approval with the “Send for approval” button.
SCREENSHOT
Your application will be reviewed and approved by OEX managers, and then will be published with all updates.

In next release. Done


Delete collection for each IT test. (#329)

Signed-off-by: Pan Li<EMAIL_ADDRESS>

Codecov Report

Merging #336 into 2.0.x will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##            2.0.x     #336   +/-   ##
=======================================
  Coverage   81.31%   81.31%
=======================================
  Files          40       40
  Lines        1065     1065
  Branches      138      138
=======================================
  Hits          866      866
  Misses        126      126
  Partials       73       73

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 7cc8caa...1dccc65. Read the comment docs.


More emoji bar oddness

Tap emoji bar
Tap thumbsup
Close issue

Bug Report Dump (Auto-generated)

Version 1.17.0<PHONE_NUMBER>)
Device: iPhone 6s (iOS 11.2.2)
TestFlight: true

related to: https://github.com/rnystrom/GitHawk/issues/1391 ?

Let's keep it all in one place

Another one


Update Arch Linux installation doc. yaourt → pacman

Hi
asciicinema is now directly available with pacman, no need for yaourt anymore.
https://www.archlinux.org/packages/community/any/asciinema/

Coverage remained the same at 95.725% when pulling 6adf959fab58d3ddc814e3c1df3a7c3198e0d707 on Delapouite:arch into a1ee3aae6167be43af9ffbb4d45e4918afeddb28 on asciinema:master.

Thanks!


Do not manually reset HttpObjectDecoder in HttpObjectAggregator.handl…

…eOversizedMessage(...)
Motivation:
We did manually call HttpObjectDecoder.reset() in HttpObjectAggregator.handleOversizedMessage(...) which is incorrect and will prevent correct parsing of the next message.
Modifications:

Remove call to HttpObjectDecoder.reset()
Add unit test

Result:
Verify that we can correctly parse the next request after we rejected a request.

This depends on https://github.com/netty/netty/pull/9015.
/cc @doom369

@ejona86 don't worry... it basically just removed some call that could corrupt the parser state ;)


CV-Bench Evaluation

Congrats to the Cambrian team on your acceptance to NeurIPS! This is a significant achievement, and it's a testament to the hard work and innovation you've put into the project.
Issue Description
While exploring the repository, I noticed that there seems to be no inference and evaluation codes for cv-bench in the eval/eval folder.
Questions

Is the evaluation code for cv-bench located elsewhere in the repository?
If not, are there plans to add this code to the eval/eval folder or another appropriate location?
Is there any specific reason for not including the cv-bench evaluation code at this time?

same ask here :))

CVbench2D is the average of COCO and ADE in eval. CVbench3D is the Omni in eval. You can find it directly.

https://github.com/cambrian-mllm/cambrian/tree/main/eval/eval/ade
https://github.com/cambrian-mllm/cambrian/tree/main/eval/eval/coco
https://github.com/cambrian-mllm/cambrian/tree/main/eval/eval/omni
for details.

Thx for details~


HTTP 500 on /tokenize

Hi,
I tried the sample project of https://github.com/GBSEcom/paymentjs-integration-nodejs.
But when I click on Pay, I've an error.
The authorize-session is OK and provide to me a token and a public key.
But the process fails on the POST on /tokenize ("failed to contact merchant server").
I'm sure of the config.json file because works on another project.
My node is 12.13.1 (and I tested without success on 8.1.1).

Did you get any solution for this? I am also facing same error.

Hello, thanks for reaching out. Sorry for the long wait, we dont typically monitor these example repositories.
To start with, if this is a new integration you might want to get in contact with our integration support team. For confirmed working integrations that suddenly start getting an issue feel free to open an incident through the proper channels.
Since session authorization is working that tells me you have registered credentials. These credentials are supposed to have a webhook url associated with them where the actual results of tokenization get forwarded to.
There's a few possibilities:

you are not fully boarded. There is a manual process on our side to complete boarding which involves configuring this webhook url for your credentials. If this is the case please submit this form and maybe let your account representative know if there is no followup: https://docs.paymentjs.firstdata.com/form/integration
your configured webhook is incorrect. If this is the case you can follow the same approach as the previous suggestion.
your configured webhook is not responding correctly or we cant reach it. Webhooks must be https endpoints that are accessible over the open internet via the HTTP POST method and HTTP response code should be 200. The documentation shows example webhook requests including headers here: https://docs.paymentjs.firstdata.com/#webhook

For securing these endpoints there are a few options:

ip whitelisting: integration support team can advise here but this may likely be overkill and could be a brittle integration
Pass a strong Nonce header value when authorizing the session (uuid or timestamp wouldnt be very strong) and then verify the Nonce header matches when it comes back through the webhook at the tail end of the tokenization flow.
reject webhook requests for Client-Token header values you did not authorize


Function 2 specifications and documentation

Hi team,
Please write docstring and name your function according to our discussion:
Four metrics:

Ratio of new to returning visitors (newVisits in total column, it is binary), 2. conversion rate (# of visitors who have transaction / # of visitors) , 3. total transaction revenue (totalTransactionsRevenue in total column), 4. average transaction revenue of each campaign (campaignId in traffic source column) during a certain period (date) (so start_date, end_date and campaign_id should be three mandatory variables of your function).

@beth-ouyang : function to return statistics summary of four metrics (mean, median, sd …). Same variables.

Please give update or post your question below.
Thanks!

Instruction from Tiff:
For this milestone you will write function documentation that will serve as specifications, but you will NOT write any code for your package functions. Specifically, set-up empty functions (with appropriate function names) containing no code in the files where you will eventually write code. Write function documentation (e.g., complete docstrings). These are the functions you wrote about in your proposal.

PR #17, PR #18, PR #24


Shows response, then crashes

Before submitting your bug report

[ ] I believe this is a bug. I'll try to join the Continue Discord for questions
[ ] I'm not able to find an open issue that reports the same bug
[ ] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: OSX 13.6 (22G120)
- Continue: v0.1.21

Description
Displays LLM stream, then errors out unless I pre-pend a message to be concise.
Error occurs with CodeLlama running on GPU server, various versions of GPT3.5 & GPT4.
To reproduce

highlight code
ask it to add comments

Log output
[2023-10-13 15:12:20,364] [DEBUG] Received GUI message {"messageType":"edit_step_at_index","data":{"user_input":"Add comments to this code","index":1}}
[2023-10-13 15:12:43,617] [ERROR] Error while running step:
Traceback (most recent call last):

  File "server/continuedev/core/autopilot.py", line 438, in _run_singular_step

  File "server/continuedev/core/main.py", line 376, in __call__

  File "server/continuedev/plugins/steps/chat.py", line 130, in run

  File "/var/folders/9d/plt6z9y962d9hp0x6tlzv9sw0000gq/T/_MEIR3U8ZF/continuedev/libs/llm/base.py", line 374, in complete
    completion = await self._complete(prompt=prompt, options=options)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

  File "/var/folders/9d/plt6z9y962d9hp0x6tlzv9sw0000gq/T/_MEIR3U8ZF/continuedev/libs/llm/base.py", line 464, in _complete
    async for chunk in self._stream_complete(prompt=prompt, options=options):

  File "/var/folders/9d/plt6z9y962d9hp0x6tlzv9sw0000gq/T/_MEIR3U8ZF/continuedev/libs/llm/ollama.py", line 113, in _stream_complete
    j = json.loads(chunk)
        ^^^^^^^^^^^^^^^^^

  File "json/__init__.py", line 346, in loads

  File "json/decoder.py", line 337, in decode

  File "json/decoder.py", line 355, in raw_decode

json.decoder.JSONDecodeError: Expecting value: line 1 column 1444 (char 1443)

Expecting value: line 1 column 1444 (char 1443)
[2023-10-13 15:25:46,370] [DEBUG] Received GUI message {"messageType":"set_system_message","data":{"message":"Please give concise answers"}}
[2023-10-13 15:25:46,378] [DEBUG] Received GUI message {"messageType":"set_temperature","data":{"temperature":0.5}}
[2023-10-13 15:25:54,046] [DEBUG] Received GUI message {"messageType":"edit_step_at_index","data":{"user_input":"Add comments to this code","index":1}}

@mhensley-cls thanks for sharing this - I'm going to add some extra error handling to our next pre-release that will both stop the error from being thrown and help us determine the problem. I'll message again here once it's ready!

@mhensley-cls very sorry! I added the error handling but failed to update you. This is now available in the latest version of the VS Code extension and the PyPI package. Let me know if things appear to be solved or not : )

This appears to have been solved from both my testing and the reports of another user with the same problem. Going to close, but feel free to re-open as needed


Manual testing for find command

Codecov Report

Merging #220 (e732d0b) into master (54cf458) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #220   +/-   ##
=========================================
  Coverage     74.69%   74.69%
  Complexity      611      611
=========================================
  Files            90       90
  Lines          1727     1727
  Branches        191      191
=========================================
  Hits           1290     1290
  Misses          384      384
  Partials         53       53

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

LGTM


[Prisma Cloud Community] Fixup source code and repo URLs

Signed-off-by: Gunjan Patel<EMAIL_ADDRESS>Thanks submitting your Operator. Please check below list before you create your Pull Request.

Flat operator directory structure is obsolete from 23-rd of October 2019, only nested directory structure will be accepted.

New Submissions

[ ] Does your operator have nested directory structure?
[ ] Have you selected the Project Community Operator Submissions in your PR on the right-hand menu bar?
[ ] Are you familiar with our contribution guidelines?
[ ] Have you packaged and deployed your Operator for Operator Framework?

[ ] Have you tested your Operator in all supported installation modes?
[ ] Is your submission signed?

Updates to existing Operators

[x] Is your new CSV pointing to the previous version with the replaces property?
[x] Is your new CSV referenced in the appropriate channel defined in the package.yaml ?
[x] Have you tested an update to your Operator when deployed via OLM?
[x] Is your submission signed?

Your submission should not

[ ] Modify more than one operator
[ ] Modify an Operator you don't own
[ ] Rename an operator - please remove and add with a different name instead
[ ] Submit operators to both upstream-community-operators and community-operators at once
[ ] Modify any files outside the above mentioned folders
[ ] Contain more than one commit. Please squash your commits.

Operator Description must contain (in order)

[ ] Description about the managed Application and where to find more information
[ ] Features and capabilities of your Operator and how to use it
[ ] Any manual steps about potential pre-requisites for using your Operator

Operator Metadata should contain

[ ] Human readable name and 1-liner description about your Operator
[ ] Valid category name1
[ ] One of the pre-defined capability levels2
[ ] Links to the maintainer, source code and documentation
[ ] Example templates for all Custom Resource Definitions intended to be used
[ ] A quadratic logo

Remember that you can preview your CSV here.
--
1 If you feel your Operator does not fit any of the pre-defined categories, file an issue against this repo and explain your need
2 For more information see here

@gunjan5 will you be able to bump version to 1.0.1? Since operator with this version already exists. Thanks

@mvalahtv this is the same as the other PR you merged. See my comment: https://github.com/operator-framework/community-operators/pull/1793#issuecomment-634482428

/test CVP

/test CVP


#649: multiple language support

Added infra to support multiple languages using i18next library - https://www.i18next.com/.
That POC contains the option to change language between English (default) and Spanish using the burger menu.
Also, we are supporting detecting user language, load it, store it in local storage and if the user change the language manually, local storage is updating and in the next entrance to the app, we will get the language from there.
For now, I'm using i18next Backend which allows us to import on demand only the language that we use and not all of them at ones. that's why I wrapped the app with Suspense.
Also, we have a cache based on local storage with versioning and expiration time of 7 days. The flow is:
App is loaded, check local storage available with same version - getting translation from there. if local storage does not exist so we get the translation and update local storage. And of course if version is not updated we are getting the translation from translation file and update local storage.
Also, for each translation key, Iv'e added default value to protects us in case of missing key or some other unknown error.

to support language on analytics:
change the way we pass page referral back to analytics.
current:
https://github.com/search?q=repo%3Abancorprotocol%2Fcarbon-app page_referrer_spa&type=code
updated:
page:
 {
    referrer_spa: "/about", //where "/about" is dynamic based on the viewed page
    language: "en"
  }


Not yet translated files in duplicated navigation entry

I'm currently building a documentation site and stumbled across this bug while migrating my translations.
The used docs_structure is folder and I'm using mkdocs-material.
Translation fallback files get sorted in a separate navigation entry with the same name:

Here, S3/Mana and magic/Test is supposed to be filed with all other entries in S3/Mana and magic/ above.
This is my mkdocs.yml:
site_name: Settlers United Documentation

docs_dir: '../docs/'
extra_css:
  - stylesheets/extra.css

theme:
  favicon: assets/favicon.webp
  logo: assets/favicon.webp
  features:
    - content.tooltips
    - announce.dismiss
    - search.suggest
    - search.highlight
  name: material
  palette:
    scheme: slate
    primary: black
    accent: deep orange

markdown_extensions:
  - attr_list
  - abbr
  - md_in_html
  - tables
  - admonition
  - pymdownx.details
  - pymdownx.highlight:
      anchor_linenums: true
      line_spans: __span
      pygments_lang_class: true
  - pymdownx.inlinehilite
  - pymdownx.snippets
  - pymdownx.superfences
  - pymdownx.tabbed:
      alternate_style: true

plugins:
  - search
  - i18n:
      fallback_to_default: true
      reconfigure_material: true
      reconfigure_search: true
      docs_structure: folder
      languages:
        - locale: en
          default: true
          name: English
          build: true
        - locale: de
          name: Deutsch
          site_name: Settlers United Dokumentation
          build: true

The folder structure is as follows (truncated for only necessary parts)
config/
  mkdocs.yml
docs/
  assets/
  de/
    S3/
      mana-and-magic/
        area-of-effect.md
        basics.md
        cost-progression.md
        table-of-knowledge.md
  en/
    S3/
      mana-and-magic/
        area-of-effect.md
        basics.md
        cost-progression.md
        table-of-knowledge.md
        test.md

I don't know if I configured something wrong with this plugin or if mkdocs-material is breaking something

@WizzardMaker (CC: @ultrabug )
This issue was quite easy to reproduce using the provided mkdocs.yaml.
Conclusion
mkdocs-static-i18n needs to modify reconfigure_navigation in folder.py.
Detail
For example, consider the following directory structure:

docs

en

S3

test1.md
test2.md

den

S3

test2.md
test3.md

reconfigure_navigation removes the language info from the path, so the nav is modified as follows:

docs

S3

test1.md
test2.md

S3

test2.md
test3.md

After this, there is no process to merge the same S3 directories, so  nav_item.html in mkdocs-material renders each as a separate item, resulting in the problem you pointed out.

@WizzardMaker @ultrabug
I think the problem pointed out in this issue will be resolved by the following modifications.
https://github.com/ultrabug/mkdocs-static-i18n/compare/main...AngryMane:mkdocs-static-i18n:issue_300
However, I'm aware of another issue where the sidebar display state is reset when transitioning from a page in a non-default language to a page that only exists in the default language(=fallback page).
I don't think this is related to my PR because I can reproduce this problem without my PR, but I think it needs to be fixed.
I'll do a little investigation but if I can't find the cause, I will issue a PR for the current fix.


:bug: ensure that release notes components dependent on each other ar…

…e rendered at the same time
AB#464918

soon i'll claim the title of "King of mocks", 102 lines of code to run before we run 1 test is the one to beat!


support C-arrays

need to remove the order input to create_dataset this can be derived from the extent data already written


[KOGITO-4781] Fix deployment constantly updating

See: https://issues.redhat.com/browse/KOGITO-4781
Description
This PR sets default values for probes so that values not specified for probes in the YAML have the default values in the requested resources. This makes it so that it matches the deployed resources (Kubernetes was automatically adding the default values for unspecified fields) and prevents the operator from continually updating the deployment when it sees a discrepancy between the requested and deployed resources.
Testing
I updated the probe unit tests to check that the default values are being added when they are not specified. I also deployed the following YAML on both master and this branch:
apiVersion: app.kiegroup.org/v1beta1
kind: KogitoRuntime
metadata:
  name: qe
spec:
  replicas: 1
  image: quay.io/kmok/process-quarkus-example
  probes:
    livenessProbe:
      httpGet:
        path: /q/health/live
        port: 8080

Where the operator would continually run in master to update the deployment but not in my branch.
Requirements
Many thanks for submiting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors' guide
[x] Pull Request title is properly formatted:
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[x] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster
[x] You've added a RELEASE_NOTES.md entry regarding this change

/jenkins test

@Kevin-Mok I have noticed one corner case. When I omit path and specify only the port then the endless reconciliation is still present (only port is a mandatory field for httpGet).
Can you also set default path in case it is not specified?

/jenkins test

@Kevin-Mok It is a bit better now.
But, in case I use tcpSocket for Quarkus probe, then nil pointer dereference is thrown.
Example CR:
apiVersion: app.kiegroup.org/v1beta1
kind: KogitoRuntime
metadata:
  name: qe
spec:
  replicas: 1
  image: quay.io/kmok/process-quarkus-example
  probes:
    livenessProbe:
      tcpSocket:
        port: 8080

causing:
E0331 08:01:18.748426       1 runtime.go:78] Observed a panic: "invalid memory address or nil pointer dereference" (runtime error: invalid memory address or nil pointer dereference)
goroutine 499 [running]:
k8s.io/apimachinery/pkg/util/runtime.logPanic(0x1965ae0, 0x2d0afe0)
	/go/pkg/mod/k8s.io/apimachinery@v0.20.4/pkg/util/runtime/runtime.go:74 +0x92
k8s.io/apimachinery/pkg/util/runtime.HandleCrash(0x0, 0x0, 0x0)
	/go/pkg/mod/k8s.io/apimachinery@v0.20.4/pkg/util/runtime/runtime.go:48 +0x82
panic(0x1965ae0, 0x2d0afe0)
	/usr/local/go/src/runtime/panic.go:969 +0x166
github.com/kiegroup/kogito-operator/core/kogitoservice.setDefaultHTTPGetValues(...)

Adding of default probe values should be ideally independent on runtime type (so proper defaults are applied to HTTPGet or TCPSocket regardless of runtime type).

This is a good idea. I hadn't even considered applying TCPSocket for Quarkus or HTTPGet for Spring Boot, but it makes sense to deal with these cases.

Would you like to address it in this PR or rather as a separate JIRA?

I can address it in this PR.

@sutaakar @Kevin-Mok is something missing on this PR or is it ready to merge?

@spolti I'm working on adding this:

Adding of default probe values should be ideally independent on runtime type (so proper defaults are applied to HTTPGet or TCPSocket regardless of runtime type).

@Kevin-Mok ok, thanks.

@Kevin-Mok let's rebase and merge it after CI run.

/jenkins test

Would you like to address it in this PR or rather as a separate JIRA?

After thinking about the implementation of this some more, I think it would be better to address this in a separate PR. I opened a ticket for this here.

@sutaakar do you mind verifying it?

/jenkins test

This is ready to be merged.

@ricardozanini do you want to take a final look?


code freeze week: bug with only backouts must be removed

Coverage decreased (-0.04%) to 28.486% when pulling 8b01abe491a2777ec0d4c738a4da55aa3321f669 on calixteman:fix_cfw_no_patch into 0b497e13415d8463cf3eac8ebfe7fa4c22394ed3 on mozilla:master.


added a loader while api call is being processed

This does the job
Loader is being shown on api call, and the background becomes darker

fixes #15


CHANGELOG / release notes missing

Hi,
I see that CHANGELOG.md file was not updated since 2941 and I also don't see any release notes with many of the releases (ever since v141, with recent v206 being exception). On some other web side I found a link to BOSH changelog, but which just pointed to git diff between the given and previous release - this is not so useful and human readable as the usual release notes.
Is there any reason you have stopped updating CHANGELOG? Release notes are very useful for BOSH operators to help them understand what changes have been made, which helps them decide when and how to upgrade...

I'm planning to switch to using GitHub releases to better keep track of that. Already added release notes for 3074.
Sent from my iPhone

On Sep 24, 2015, at 2:19 AM, mtekel<EMAIL_ADDRESS>wrote:
Hi,
I see that CHANGELOG.md file was not updated since 2941 and I also don't see any release notes with many of the releases (ever since v141, with recent v206 being exception). On some other web side I found a link to BOSH changelog, but which just pointed to git diff between the given and previous release - this is not so useful and human readable as the usual release notes.
Is there any reason you have stopped updating CHANGELOG? Release notes are very useful for BOSH operators to help them understand what changes have been made, which helps them decide when and how to upgrade...
—
Reply to this email directly or view it on GitHub.

Where are those release notes? I can only see v206/3072 notes, but for 3074 there's nothing. Curiously, CF v218 release notes dissappeared recently...

Oops I meant 3072. Added 3074...
re cf-release: I believe it's still a draft /cc @Amit-PivotalLabs

thanks

3202 release notes missing again. Is it that hard? Just make it mandatory for your release process. Changelog.MD has last update 2 months ago...

look at github releases tab. it says that in the changelog.md. some builds dont include details since they may only contain internal changes or unannounced features that will be announced later when necessary fixes (remaining features) are included.
Sent from my iPhone

On Mar 2, 2016, at 3:34 AM, mtekel<EMAIL_ADDRESS>wrote:
3202 release notes missing again. Is it that hard? Just make it mandatory for your release process. Changelog.MD has last update 2 months ago...
—
Reply to this email directly or view it on GitHub.

I have decided to not use that release, since no notes means there could be a breaking change or anything. It looks like the notes were forgotten. I simply wouldn't assume "no notes" = safe. Also, unannounced or disabled features = no reason to upgrade. Why make such releases?

@mtekel may be i need to adjust which details get shared as part of the release. right now started but not complete features are left out of release notes to avoid confusion of them being done. i typically note them once they are complete and verified by few internal consumers after a few releases (e.g. upcoming uaa team scopes).
since we are working on different features in parallel, they progress differently (some are started, almost done, just completed, etc.). we also typically avoid branch-per-feature given that makes it harder to refactor (we do occasionally use longer running branch for a bigger/riskier feature). so as a result each build that comes out of a CI has a combination of finished, in progress, etc. features.
we releases those builds for all different types of consumers: some teams pull them in via ci automatically, some pick specific builds for specific features, etc. that way we get faster feedback for certain features without trying to finish it, but not necessarily announcing it to everyone.
i'll try to include more "hidden/internal-ish" details in release notes so let me know if that's better.

Hi,
from my (operator's) point of view, I am interested if that release contains something significant - e.g. a security fix, a new feature that I can use, a breaking change etc. When I see a "final" stable release, I expect it is that kind of release. You could perhaps use dev releases on git, or not tag something "stable" until you're ready to make it a proper, significant release. That way I can know that this is dev only and I'll simply ignore it. I definitely don't want to interfere with your development process, but usually it's good practice to separate "production" (final, stable etc.) from dev - even for the consumers you are testing with.
This time, I have spent time again wondering what that release was, trying to find release notes anywhere, comparing changes in git (there were actually no changes from 3200 and even from master, making me wonder even more what's different in that release), then downloading release, verifying that this is really the release it should be, computing sha1 hashes (see https://github.com/cloudfoundry/bosh/issues/1157).... just to realize that this is only dev after your responses.
I see you have pulled that release from github, but on bosh.io, the "latest official stemcell" is still 3202...
IMO bosh.io site should also contain release notes/changelog with each release, so that I don't have to come here every time...

I appreciate the more detailed release notes of v255.4 - thanks!


datapath: Split snat_v{4,6}_process() into two functions (SNAT and rev-SNAT)

Split the snat_v{4,6}_process() functions into nat_snat_v{4,6}() and nat_rev_snat_v{4,6}().
The proposed change would not only improve the readability of the datapath code, but also should reduce the verifier complexity of the code path which is responsible for doing the rev-SNAT translations, as no new SNAT mapping needs to be find for this code path (only the lookup in the BPF SNAT map).
After inspecting the bpf/lib/nodeport.h, we have the following code paths which involve the SNAT:

to-netdev@bpf_host: the snat_v*_process() is called with NAT_DIR_EGRESS. It is used to SNAT outgoing packets.
from-netdev@bpf_host (via nodeport_lb{4,6}()):

When a service is not found, the function is called with NAT_DIR_INGRESS. It is used to rev-SNAT incoming packets (e.g., outside => pod, replies from remote service backends).
When a service is found, with NAT_DIR_EGRESS. It is used to SNAT a service request to a remote node.

From the above, nat_snat_v*() would be called for NAT_DIR_EGRESS, while nat_rev_snat_v*() for NAT_DIR_INGRESS.

Hello Team, I do start working on it. This will be needed by  to reduce complexity.

The current view for NodePort BPF ingress packet flow (WIP):
flowchart TD
    A[from-netdev] -->|CILIUM_CALL_IPV4_FROM_NETDEV| B{"bpf_skip_nodeport()?"}
    B --> |No| C["nodeport_lb4()"]
    B --> |Yes| B1["// further packet process"]
    C --> D["lb4_lookup_service()"]
    D --> E{"svc ?"}

    J --> |No| K["bpf_skip_nodeport_set()"]
    K --> |CILIUM_CALL_IPV4_FROM_NETDEV| B
    J --> |"Yes\n(This can be rev-SNAT for outside2pod)"| L["tail_rev_nodeport_lb4()"]


Test support for Windows

Running the tests for Magika on a Windows platform with py3.11:
============================= test session starts =============================
platform win32 -- Python 3.11.8, pytest-7.4.0, pluggy-1.2.0
rootdir: D:\a\magika\magika\python
configfile: pytest.ini
collected 41 items / 2 deselected / 39 selected

tests/test_magika_python_cli.py::test_magika_python_cli_with_one_test_file FAILED [  2%]
tests/test_magika_python_cli.py::test_magika_python_cli_with_very_small_test_files FAILED [  5%]
tests/test_magika_python_cli.py::test_magika_cli_with_small_test_files FAILED [  7%]
tests/test_magika_python_cli.py::test_magika_cli_with_empty_file FAILED  [ 10%]
tests/test_magika_python_cli.py::test_magika_cli_with_directories FAILED [ [12](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:13)%]
tests/test_magika_python_cli.py::test_magika_cli_with_symlinks FAILED    [ [15](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:16)%]
tests/test_magika_python_cli.py::test_magika_cli_with_files_with_permission_errors FAILED [ [17](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:18)%]
tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files FAILED [ [20](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:21)%]
tests/test_magika_python_cli.py::test_magika_cli_with_mitra_test_files FAILED [ [23](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:24)%]
tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_json_output FAILED [ [25](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:26)%]
tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_jsonl_output FAILED [ [28](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:29)%]
tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_probability FAILED [ [30](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:31)%]
tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_mime_output FAILED [ [33](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:34)%]
tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_label_output FAILED [ [35](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:36)%]
tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_compatibility_mode FAILED [ [38](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:39)%]
tests/test_magika_python_cli.py::test_magika_cli_output_with_low_confidence_prediction FAILED [ [41](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:42)%]
tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_different_prediction_modes FAILED [ [43](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:44)%]
tests/test_magika_python_cli.py::test_magika_cli_with_python_and_not_python_files FAILED [ [46](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:47)%]
tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_custom_batch_sizes FAILED [ [48](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:49)%]
tests/test_magika_python_cli.py::test_magika_cli_with_multiple_copies_of_the_same_file FAILED [ [51](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:52)%]
tests/test_magika_python_cli.py::test_magika_cli_with_many_files FAILED  [ [53](https://github.com/gaby/magika/actions/runs/7982383780/job/21796809351#step:6:54)%]
tests/test_magika_python_cli.py::test_magika_cli_with_bad_input FAILED   [ 56%]
tests/test_magika_python_cli.py::test_magika_cli_with_reading_from_stdin PASSED [ 58%]
tests/test_magika_python_cli.py::test_magika_cli_with_colors FAILED      [ 61%]
tests/test_magika_python_cli.py::test_magika_cli_with_no_colors FAILED   [ 64%]
tests/test_magika_python_cli.py::test_magika_cli_generate_report FAILED  [ 66%]
tests/test_magika_python_cli.py::test_magika_cli_output_version FAILED   [ 69%]
tests/test_magika_python_cli.py::test_magika_cli_help FAILED             [ 71%]
tests/test_magika_python_cli.py::test_magika_cli_list_content_types FAILED [ 74%]
tests/test_magika_python_module.py::test_magika_module_one_basic_test PASSED [ 76%]
tests/test_magika_python_module.py::test_magika_module_with_default_model PASSED [ 79%]
tests/test_magika_python_module.py::test_magika_module_with_basic_tests_by_paths PASSED [ 82%]
tests/test_magika_python_module.py::test_magika_module_with_basic_tests_by_path PASSED [ 84%]
tests/test_magika_python_module.py::test_magika_module_with_basic_tests_by_bytes PASSED [ 87%]
tests/test_magika_python_module.py::test_magika_module_with_empty_content PASSED [ 89%]
tests/test_magika_python_module.py::test_magika_module_with_short_content PASSED [ 92%]
tests/test_magika_python_module.py::test_magika_module_with_different_prediction_modes PASSED [ 94%]
tests/test_magika_python_module.py::test_extract_features_with_ascii PASSED [ 97%]
tests/test_magika_python_module.py::test_extract_features_with_spaces PASSED [100%]

C:\hostedtoolcache\windows\Python\3.11.8\x64\Lib\subprocess.py:1538: FileNotFoundError
=========================== short test summary info ===========================
FAILED tests/test_magika_python_cli.py::test_magika_python_cli_with_one_test_file - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_python_cli_with_very_small_test_files - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_small_test_files - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_empty_file - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_directories - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_symlinks - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_files_with_permission_errors - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_mitra_test_files - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_json_output - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_jsonl_output - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_probability - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_mime_output - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_label_output - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_compatibility_mode - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_output_with_low_confidence_prediction - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_different_prediction_modes - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_python_and_not_python_files - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_basic_test_files_and_custom_batch_sizes - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_multiple_copies_of_the_same_file - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_many_files - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_bad_input - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_colors - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_with_no_colors - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_generate_report - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_output_version - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_help - FileNotFoundError: [WinError 2] The system cannot find the file specified
FAILED tests/test_magika_python_cli.py::test_magika_cli_list_content_types - FileNotFoundError: [WinError 2] The system cannot find the file specified
================= 28 failed, 11 passed, 2 deselected in 7.31s =================

I can't get the unit-test to run on Windows, tried 20 different ways and using a different poetry action.

        if isinstance(args, str):
            pass
        elif isinstance(args, bytes):
            if shell:
                raise TypeError('bytes args is not allowed on Windows')
            args = list2cmdline([args])
        elif isinstance(args, os.PathLike):
            if shell:
                raise TypeError('path-like args is not allowed when '
                                'shell is true')
            args = list2cmdline([args])
        else:
            args = list2cmdline(args)

        if executable is not None:
            executable = os.fsdecode(executable)

        # Process startup details
        if startupinfo is None:
            startupinfo = STARTUPINFO()
        else:
            # bpo-34044: Copy STARTUPINFO since it is modified above,
            # so the caller can reuse it multiple times.
            startupinfo = startupinfo.copy()

        use_std_handles = -1 not in (p2cread, c2pwrite, errwrite)
        if use_std_handles:
            startupinfo.dwFlags |= _winapi.STARTF_USESTDHANDLES
            startupinfo.hStdInput = p2cread
            startupinfo.hStdOutput = c2pwrite
            startupinfo.hStdError = errwrite

        attribute_list = startupinfo.lpAttributeList
        have_handle_list = bool(attribute_list and
                                "handle_list" in attribute_list and
                                attribute_list["handle_list"])

        # If we were given an handle_list or need to create one
        if have_handle_list or (use_std_handles and close_fds):
            if attribute_list is None:
                attribute_list = startupinfo.lpAttributeList = {}
            handle_list = attribute_list["handle_list"] = \
                list(attribute_list.get("handle_list", []))

            if use_std_handles:
                handle_list += [int(p2cread), int(c2pwrite), int(errwrite)]

            handle_list[:] = self._filter_handle_list(handle_list)

            if handle_list:
                if not close_fds:
                    warnings.warn("startupinfo.lpAttributeList['handle_list'] "
                                  "overriding close_fds", RuntimeWarning)

                # When using the handle_list we always request to inherit
                # handles but the only handles that will be inherited are
                # the ones in the handle_list
                close_fds = False

        if shell:
            startupinfo.dwFlags |= _winapi.STARTF_USESHOWWINDOW
            startupinfo.wShowWindow = _winapi.SW_HIDE
            if not executable:
                # gh-101283: without a fully-qualified path, before Windows
                # checks the system directories, it first looks in the
                # application directory, and also the current directory if
                # NeedCurrentDirectoryForExePathW(ExeName) is true, so try
                # to avoid executing unqualified "cmd.exe".
                comspec = os.environ.get('ComSpec')
                if not comspec:
                    system_root = os.environ.get('SystemRoot', '')
                    comspec = os.path.join(system_root, 'System32', 'cmd.exe')
                    if not os.path.isabs(comspec):
                        raise FileNotFoundError('shell not found: neither %ComSpec% nor %SystemRoot% is set')
                if os.path.isabs(comspec):
                    executable = comspec
            else:
                comspec = executable

            args = '{} /c "{}"'.format (comspec, args)

        if cwd is not None:
            cwd = os.fsdecode(cwd)

        sys.audit("subprocess.Popen", executable, args, cwd, env)

        # Start the process
        try:
>           hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
                                     # no special security
                                     None, None,
                                     int(not close_fds),
                                     creationflags,
                                     env,
                                     cwd,
                                     startupinfo)
E                                    FileNotFoundError: [WinError 2] The system cannot find the file specified
C:\hostedtoolcache\windows\Python\3.12.2\x[64](https://github.com/gaby/magika/actions/runs/8040664470/job/21959022545#step:7:65)\Lib\subprocess.py:1538: FileNotFoundError
______________ test_magika_python_cli_with_very_small_test_files ______________
    def test_magika_python_cli_with_very_small_test_files() -> None:
        """Magika does not use the DL model for very small files.  The issue is related pytest/unit-tests.


Prepare v1.3.6 fix release

Requires #4352 to be merged.
Signed-off-by: Phil Estes<EMAIL_ADDRESS>

LGTM


Question of search area and reinforcement learning

Hello.
Thank you for sharing great work. I am conducting research using these algorithms.
I have several questions.

I understood the search area (=region) is a set of solutions generated from the reference solution by flipping in a reference solution using n/flip. the size of the search area is equal to the current number of bees. (it increases based on the total number of bees).

for example, if n is 4 [0,0,0,0] and flip is 2, and reference solution is [0,0,0,1],
By n/flip, it moves symmetrically by 2 bits. so I understood the search area is [1,0,0,1].
Is it correct? I am not sure if I understood it properly.

In addition, can this one applied for neural networks and replay memory such as DQN?

Best Regards.
Seungwoo

This problem has been solved. Thank you.


Feature Request: include CET version number within the asi (or somewhere else)

Currently the only way to access a users CET version number outside of the engine is to regex through the log - I have a troubleshooting script which parses log files, core mod versions and game version in an effort to expedite diagnosing mod issues to help users, but getting the CET version requires special handling and due to my crummy regex, is prone to errors. If this is something which could be easily added to the asi or a resource file somewhere that's easily accessed but not easily user manipulated it would be a great time saver for me.
If this is at all more work than "put into here" for you folks, please just close this issue and ignore and I'll continue to grab from the log file.

just checking in on this - is this something that can be included?


Drone connects to my network but I cannot reach it via telnet

I Took your code and installed as described in the README.md
The drone DOES connect to my wifi and is also pingable and I can portscan, however connecting to the ftp or telnet simply does nothing until eventually I get Connection closed by foreign host.
I already added the default gw.
My current assumption is that the drone has an issue because my router occupies the <IP_ADDRESS> IP and I fear there might be some residual reference to that left even though I have it running with dhcp (<IP_ADDRESS> in my Wifi)

Ok update, I made it execute a script to test network connectivity and had it download the router login page via wget - and this works. so the drone can access my router on <IP_ADDRESS> which suggests at least the network routing works. But why does the telnet server not respond properly on the dhcp IP?


Jenv change throws error: setx is not recognized as an internal or external command

Jenv change seems broken. Or maybe I'm not reading the docs wrongly.
I've tried running the script from cmd and powershell with the same result
C:\Users\hconstantin\dev>jenv list
jdk11|"C:\Program Files\Java\jdk-11.0.10"
jdk8|"C:\Program Files\Java\jdk1.8.0_211"

C:\Users\hconstantin\dev>jenv change jdk11
Latest version installed is 16.9.31229.75
Located msbuild in C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\msbuild.exe
'setx' is not recognized as an internal or external command,
operable program or batch file.
Changed to jdk11

C:\Users\hconstantin\dev>java -version
'java' is not recognized as an internal or external command,
operable program or batch file.

Hello,
Im sorry that you have trouble with the application.
As far as I know this only happens on your machine. I will look as fast as possible into it but Im currently not at home.
For now I would suggest trying some of these suggestions. https://stackoverflow.com/questions/34482278/setx-command-not-recognized-on-windows10
You could try to call setx and configure your path until its recognised. may copy the setx.exe into another folder and add it to the path.
Another option would be to change setx to set but be aware that it will delete your path if its over a certain size.
I will reply again when Im back and could look into your two issues

Hello,
Im sorry that you have trouble with the application.
As far as I know this only happens on your machine. I will look as fast as possible into it but Im currently not at home.
For now I would suggest trying some of these suggestions. https://stackoverflow.com/questions/34482278/setx-command-not-recognized-on-windows10
You could try to call setx and configure your path until its recognised. may copy the setx.exe into another folder and add it to the path.
Another option would be to change setx to set but be aware that it will delete your path if its over a certain size.
I will reply again when Im back and could look into your two issues
Tell me if you would be open to a remote session so I may could take a look at you operating system if necessary

setx is already on my path in cmd. See below.
C:\Users\hconstantin>setx
ERROR: Invalid syntax.
Type "SETX /?" for usage.

C:\Users\hconstantin>

Thanks for looking into this together Felix, I really like jenv and I'm open to do a remote session to fix this as fast as possible.

I think Im rewriting this today in Powershell so this project is more scalable and should still run on any windows

setx is already on my path in cmd. See below.
C:\Users\hconstantin>setx
ERROR: Invalid syntax.
Type "SETX /?" for usage.

C:\Users\hconstantin>

Thanks for looking into this together Felix, I really like jenv and I'm open to do a remote session to fix this as fast as possible.

I rewrote the entire script in PowerShell which should run much better and safer from now on. Also now there's no setx anymore which was not working for you. I will close your two issues as the source code is now entirely new. Please refer to the readme. If it doesn't work for you please open another issue. I'm happy to help
The script should now be less error-prone as it will automatically remove any wrong java form you path and the config wont break as easy. But be aware that you need to create a new jenf.config Please delete your old one


configure of tesseract is failing for "checking for pixCreate in -llept"

Command run in tesseract 3.04.01 src on redhat linux 7.2 64 bit
./configure --prefix=/apps/tesseract --with-extra-libraries=/apps/build/lib --enable-debug CXPFLAGS="-I/apps/build/include -I/apps/build/include/libpng16 -I/apps/build/include/leptonica -lpng -ljpeg -lz" LDFLAGS="-L/apps/build/lib" LIBLEPT_HEADERSDIR=/apps/build/include/leptonica
my build location is /apps/build
This errors for
checking for pixCreate in -llept... no
configure: error: leptonica library missing
I have kept my leptonica's liblept.a in /apps/build/lib but stil it fails with this error.
I am attaching the configure.log
any help is much appreciated
configlog.txt

There is no environment variable named "CXPFLAGS".
There are "CFLAGS", "CPPFLAGS",  "CXXFLAGS".

even after correcting to CXXFLAGS or CPPFLAGS it still throws the same error
were you able to compile it in linux in non standard location?

Didn't try this...

Need urgent help from any of the developers... All help is appreciated.I was trying to install it in linux never realized that it was not tried by any one successfully before.

IMO this is not tesseract issue. If you decided to install libs in non standard location you should know how to deal with it. One of examples suggestion is on wiki. If it does not work - tesseract user forum.


Coldman22 added an extra line in README.md

Description
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)
[x] User Interface
[x] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have npm run format before commiting
[ ] I replicated the UI with the Design

ScreenShots (if any)

Just added an extra line in README.md

Thanks this isnt required. You can take a look at other issues in Issues tab for more contributions.


Deploy kafka cluster with ansible

#2516
I fixed ansible scripts and WhiskConfigs to deploy kafka cluster in distributed environments.
In this change,

Each host has a zookeeper container and a kafka container. And all zookeeper containers are connected with each other. But I'm not sure that kafka should connect with all zookeepers or not, so I just make it to connect to zookeeper in same host only with docker bridge network we've used.

Kafka client can take several hosts as bootstrap.servers argument so that client can deal with failure server.

Replication factor of kafka can be adjusted by 'kafka.replicationFactor' in group_vars.

Sorry, I'll fix the test case for zookeeper on next monday

Nobody go on progress this PR?

I'm gonna PR again from another branch


doc comment rendering & linenumber scrolling

Thanks for your excellent job！It's almost the best codeblock plugin of Obsidian now. Howerver I still find 2 bugs as following:
1. doc comment rendering
1.1 enabling  CodeblockCustomizer

7

 * @param {number} key

The doc-comment token of line 7-11  is rendered as common text
1.2 disableing  CodeblockCustomizer

/**
 * @param {number} key

    ...

The doc-comment token is rendered right (because it is in a span that has class doc-comment and comment)
2.  linenumber scrolling

Only almost the best? :) If you have ideas for new features, or how to make it better, feel free to tell me.
Regarding the problems:

--> I will look into this this week.
--> What exactly is the problem there? That it displayed a scrollbar? If yes, should it have broken the line into a new line?

So, it's not the scrolling that is problematic, but rather that when you scroll the line number is not displayed, because it is scrolled with the text, and is not visible? This is what you mean?

Exactly.

Ok, I just wanted to be sure, that I understood the problem. But you are right, that shouldn't be that way. I will look into this  as well.

Quick question. Is the vertical scrollbar really necessary? Wouldn't it be better if the text would wrap like this:

In  editing view it works this way already, so it would make sense to do the same in reading view.

Since whether to wrap line is also an option in IDE settings, I think it's a matter of personal preference. I treat line-wrap (which depends on the width of page) as a damage to indentation style of my code, as following:

Which setting is that? This one?

This has no effect on my machine. I found regarding this problem 1-2 smaller problems as well. And your bug with the comment is a good catch!

I mean the setting of IDE like Intelli J. It has an option about line-wrap like following:

Wouldn't it be better if the text would wrap like this

Since you asked if line-wrap is better, I want to use the conditon that IDE makes wrap-line as an option to prove that it's a matter of personal perference.

ok, I understand, however, I am not yet sure if it is possible. Obsidian works a little different unfortunately. I am having a little trouble regarding this, but I do what I can :)

The next release will contain the fix for the line numbers and comment rendering as well. I am having a little trouble to get all the things fixed, because now if I fix something it breaks something else. Unfortunately, CSS is not my strength. I think in the worst case I can release the next version with the fixes. It will also include a new feature where you can override line numbering behavior with ln:true or ln:false for specific code blocks. Hang in there a little :)

Both problem should be fixed in v1.2.0. Sorry it took this long. Try out the current version, and report back if you experience any other problems. Please also read the README.


Stop Original page from scrolling when modal is up

When modal pop is displayed, is it possible to stop the original underlying page from getting any scroll touch, thus freezing it in its place, until the modal is closed by clicking on grey overlay.?

Fixed in v2.6.0 -- Tested in Chrome, Firefox, Edge and Vivaldi. Thanks!

Making a fix to allow normal scrolling on inner scrollable elements.

v2.6.2

It properly works here v2.6.6

I decided to remove this feature. I got it to work in most cases, but certain cases, and in certain browsers, some things didn't work as expected. It's just too messy, I decided to leave it to the browsers to handle this, hopefully in a better way in the future. Last version with this feature was v3.0.0

Hi
Unfortunately it's still actual and make this great lib useless.
How to fix it? This not helping:
      this.msg = Msg({
        enable_titlebar: true,
        scroll_on_show: false,
        lock: true,
      });

Hi
Hmm .. would an option to specify which element to lock help you?
Thinking of something like: locked_element:
locked_element: document.documentElement
locked_element: document.body
etc

New version released: https://github.com/madprops/Msg/releases/tag/v7.9.0
locked_element (Default: "body"): String argument for document.querySelector() to find the element to be locked.


loader.js SyntaxError and error 80020101

I'm trying to load Monaco editor with Edge extension to some web page. But I'm strugling to do so.
I have created cdn with Monaco source code and proxy (https://github.com/matjazmav/monaco-editor-cdn). I'm using https://rawgit.com/ to access to this resources.
I have injected require.js to head of html and then on page load I'm calling this function:
function renderMonacoEditor() {
    require.config({ paths: { 'vs': 'https://cdn.rawgit.com/matjazmav/monaco-editor-cdn/master/min/vs' }});

    window.MonacoEnvironment = {
        getWorkerUrl: function(workerId, label) {
            return 'monaco-editor-worker-loader-proxy.js';
        }
    };

    require(['vs/editor/editor.main'], function() {
        var editor = monaco.editor.create(document.getElementById('code-eye-container'), {
            value: [
                'function x() {',
                '\tconsole.log("Hello world!");',
                '}'
            ].join('\n'),
            language: 'javascript'
        });
    });
}

I get following errors:

It looks like loader.js cannot load the code due to a security error?


[B] Filter ordering options

@zdavis The list of ordering options (orderingPaths) is long and difficult to parse. This PR filters this list into a select number of options.
entity.created_at
entity.published
entity.title
entity.updated_at

I've set this up so more options can be added per instance using an env var:
entity.depth
props.accessioned
props.available
props.meta.collected
props.id
props.volume.sortable_number
props.number
schema.kind
schema.name

Before (Journal):

After:

What do you think? Does it make sense to use an env var for different instances, or should it be a fixed constant? Is there anything you would add or remove from this list.

I like the idea of using an env var for now. I think the default should include, at the very least, the following:
entity.title
entity.published
entity.created_at
entity.updated_at
props.volume.sortable_number
props.sortable_number
props.id
These are the properties that show up in the schema-defined orderings, and I think we'd need to see them in the options as well, right?

That's true - I'll pop those in as defaults

Generally speaking, I think I'd be inclined to have the minimum number of options available here and then add them as it becomes clear people need them, rather than overwhelm them with a bunch of stuff.


Fix the cursor not always grabbed again correctly after a focus gain

Small fix for #614
This PR includes a commit that fixes cursor not being grabbed again (happening quite often) after a focus gain on Linux (with X11). The fix consists in repeating the grab process up to 5 times (defined in a constant in the private namespace of the file). Between each attempt, a small sleep is inserted (50 ms).
Still some questions : maybe 5 attempts is a bit too much, but it should not happen very often (The mouse is effectively grabbed on the first or second attempt almost everytime on my computer).
(It's also almost like SDL is doing it, except that they use an infinite loop !)

Thanks, I've included it on #614 branch. (I just added two missing spaces: if⎵(.)


Add ability to pass in custom local/session storage

I am currently trying to use this library to implement Identity Server 4 for an Angular 4 application. The Angular application is run with Universal, so is rendered by the server (ASP.NET Core SpaTemplate 'angular').
The issue i am getting is that node has no local/sessionStorage APIs, and this library uses the localStorage and sessionStorage from global scope.
Can an extension point be added to allow the passing of custom implementations of local and session storage - Maybe the following:
interface Storage {
localStorage: LocalStorage;
sessionStorage: SessionStorage
}
interface LocalStorage { API }
interface SesionStorage { API }
This could then be passed via the OidcClientSettings and then to the WebStorageStateStore.

You can already so this:
https://github.com/IdentityModel/oidc-client-js/blob/dev/src/UserManagerSettings.js#L31
and in the base class:
https://github.com/IdentityModel/oidc-client-js/blob/dev/src/OidcClientSettings.js#L29

Ahh apologies, overlooked that......
Thanks

No worries -- try it out and let me know if it doesn't work for you. I will say that this library was designed to be run in the browser (and not server side), so if you can get it working then great :)

Brilliant, I will keep this open until I get to try it tomorrow.
Does the library need both local and session storage?

local is used to round trip state to/from the authorization endpoint (and i used local since session doesn't work in IE ifyou leave the origin). session is used to store the user profile and tokens (and i didn't use local by default due to possible PII issues)

Ahh right ok that makes sense.
If I implemented the local and session. Storage to use cookies, would that cause any issues.
I am guessing that this is not to great security wise though?

Cookies are designed to send to a server. If you put sensitive things like tokens in a cookie, then your server can read them. I'd not do that, myself.

@brockallen  What pII issues are a concern? If we don't use local storage, logins don't persist across tabs. Unless I'm totally doing something wrong. The only way I can get logins to persist across tabs is to use localStorage for both state and userStore.
Just trying to understanding security implications...

What pII issues are a concern

email, name, and any other identity claims that might be requested in the id_token.

@brockallen @martinfletcher
how can use capacitor-secure-storage-plugin instead of window.localStorage?


Hello, It's my first contribution to the produvia open ai platform

Nuclei detection for medical treatment

Flower Classification

Monkey Breed Classifier,

Pull request

@zaid7860 This is a great starting point! Please review my comments below and make the following changes:

Add MLflow as a dependency to each task. We use MLflow Tracking and MLflow Projects manage all AI tasks.
Move your nuclei detection code to the appropriate task folder: Semantic Segmentation. You can store this model to: /tasks/computer-vision/semantic-segmentation. Semantic Segmentation is not the same as Image Classification and we need to focus on solving one task at a time.
(Optional) See if you can abstract input from output for your Image Classification models. Example input images will be: flowers, people, monkeys. Example output labels will be: flower category, age, gender, or monkey breed.
(Optional) See if you can remove all dependencies on pre-built models and instead, build models from scratch. This will allow us to manage inputs and outputs of each model.

Okay Sir, I will do the points you mentioned and Get back to you .
Thanks
On Sun, Jun 16, 2019, 6:31 AM Slava Kurilyak<EMAIL_ADDRESS>wrote:

@zaid7860 https://github.com/zaid7860 This is a great starting point!
Please review my comments below and make the following changes:

Add MLflow https://github.com/mlflow/mlflow as a dependency to
each task. We use MLflow Tracking
https://mlflow.org/docs/latest/tracking.html and MLflow Projects
https://mlflow.org/docs/latest/projects.html manage all AI tasks.
Move your nuclei detection code to the appropriate task folder: Semantic
Segmentation. You can store this model to:
/tasks/computer-vision/semantic-segmentation. Semantic Segmentation is
not the same as Image Classification and we need to focus on solving
one task at a time.
(Optional) See if you can abstract input from output for your Image
Classification models. Example input images will be: flowers, people,
monkeys. Example output labels will be: flower category, age, gender,
or monkey breed.
(Optional) See if you can remove all dependencies on pre-built
models and instead, build models from scratch. This will allow us to manage
inputs and outputs of each model.

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/produvia/ai-platform/pull/2?email_source=notifications&email_token=AJDXJDPEEYKLITS4TOAZRRDP2WGGNA5CNFSM4HYOAWG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODXZC2RQ#issuecomment-502410566,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJDXJDIEFSKGGCMOIZ4PH5DP2WGGNANCNFSM4HYOAWGQ
.

Check out Uber's Ludwig for inspiration on how to achieve modularity and extensibility with inputs and outputs using YAML file. Examples of Ludwig can be found here.

@lucky-singh I would love to hear your thoughts on this pull request

Sure..
On Thu, Jun 20, 2019, 5:25 AM Slava Kurilyak<EMAIL_ADDRESS>wrote:

@lucky-singh https://github.com/lucky-singh I would love to hear your
thoughts on this pull request
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/produvia/ai-platform/pull/2?email_source=notifications&email_token=AJDXJDNI34VR2NFYKVQZ7HDP3LBQPA5CNFSM4HYOAWG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYDTE3Q#issuecomment-503788142,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJDXJDJIEXYNVTITV6L4ZBDP3LBQPANCNFSM4HYOAWGQ
.

@slavakurilyak, I agree with your original comments. As we decided to use MLflow we need to utilize it in every task. MLflow tutorial should help to kick start.
@zaid7860 , thank you for contributing into this initiative. Could you please try running MLflow examples once you will run few of them then pleasae try to adapt your contribution in same way.
Imagine, each task as an AI service where a user who is unfamiler with AI can pass his/her data as input and get the desired output. Please try to update your work in this direction and make it modular and easy to use.

Roger that. Could you please help me out ?
On Thu, Jun 20, 2019, 11:17 AM lucky-singh<EMAIL_ADDRESS>wrote:

@slavakurilyak https://github.com/slavakurilyak, I agree with your original
comments
https://github.com/produvia/ai-platform/pull/2#issuecomment-502410566.
As we decided to use MLflow we need to utilize it in every task. MLflow
tutorial https://mlflow.org/docs/latest/tutorial.html should help to
kick start.
@zaid7860 https://github.com/zaid7860 , thank you for contributing into
this initiative. Could you please try running MLflow examples
https://github.com/mlflow/mlflow/tree/master/examples once you will run
few of them then pleasae try to adapt your contribution in same way.
Imagine, each task as an AI service where a user who is unfamiler with AI
can pass his/her data as input and get the desired output. Please try to
update your work in this direction and make it modular and easy to use.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/produvia/ai-platform/pull/2?email_source=notifications&email_token=AJDXJDOQXY6QPJPIJ6WQL2TP3MKVTA5CNFSM4HYOAWG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYEKV2Y#issuecomment-503884523,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJDXJDOHWYBCUEVVYIHS3JDP3MKVTANCNFSM4HYOAWGQ
.

@zaid7860,
MLflow site is the go-to place for documentation.
You could also check out demos on YouTube.
https://www.youtube.com/playlist?list=PLTPXxbhUt-YVstcW1-OrYoRiAipXRManO

@zaid7860 any updates on this pull request? You can ask implementation questions on MLflow's public Slack server: https://tinyurl.com/mlflow-slack

Hi There , hope you are doing well , I am working  on some latest
technologies  as of now ,  I can write the code bt this MLFLOW is tough to
implement. Let's see If I can help you with anything.
On Sun, 22 Sep 2019, 9:47 pm Slava Kurilyak<EMAIL_ADDRESS>wrote:

@zaid7860 https://github.com/zaid7860 any updates on this pull request?
You can ask implementation questions on MLflow's public Slack server:
https://tinyurl.com/mlflow-slack
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/produvia/ai-platform/pull/2?email_source=notifications&email_token=AJDXJDIIUADSWR26O4S7QJLQK6LCJA5CNFSM4HYOAWG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7JJS6A#issuecomment-533895544,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJDXJDNDUEU7TGKIQT35CQLQK6LCJANCNFSM4HYOAWGQ
.

@zaid7860 Thanks for the clarification. Until MLflow is integrated, I will close this pull request for now.

Okay
On Mon, 23 Sep 2019, 1:23 am Slava Kurilyak<EMAIL_ADDRESS>wrote:

@zaid7860 https://github.com/zaid7860 Thanks for the clarification.
Until MLflow https://github.com/mlflow/mlflow/ is integrated, I will
close this pull request for now.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/produvia/ai-platform/pull/2?email_source=notifications&email_token=AJDXJDKEI5SOJOENX2W7HBLQK7ELJA5CNFSM4HYOAWG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7JNZPI#issuecomment-533912765,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJDXJDJ6KIU763NV3BDXMW3QK7ELJANCNFSM4HYOAWGQ
.


Steps to reproduce

$ lxc launch ubuntu:bionic

Creating the instance
Retrieving image: rootfs: 3% (8.06kB/s)

Is there an other way to download the image, for example using a download manager like aria2 then import the downloaded image using lxc command.

Does 'images:ubuntu/bionic/cloud' download faster?

You can go and download the two files by hand and import with lxc image import as an alternative indeed.

@stgraber thank you for the reply
Where can i go to get these files and what are their names ?

@stgraber
Yes images:ubuntu/bionic/cloud is faster

You need a .squashfs and the matching .tar.xz for it.
You can manually find them at https://cloud-images.ubuntu.com

Make sure to import as lxc image import /path/to/lxd.tar.xz /path/to/img.squashfs (tar.xz first)

Closing as bad performance/rounting on cloud-images.ubuntu.com is sadly out of our control.

@stgraber thank you so much


fix: add level icon to the new windows dialog

TD_WARNING_ICON / TD_ERROR_ICON / TD_INFORMATION_ICON are missing so I use hard code to workaround.
Or we can wait for https://github.com/microsoft/win32metadata/issues/968 to be fixed, but I don't know how long will it be.

Looks good, thanks!
I'll open an issue to track the https://github.com/microsoft/win32metadata/issues/968 and it should be good to go


Date fields

Painful stuff. Need to to this.

Will be done after https://github.com/Paqmind/react-ultimate/issues/32

Wait for #32

Done.


finish up scraping capabilities

finish up scraping capabilities
base should be set for scraping all the necessary parts from CBS

@jdwiegman

@averyj

merging because y'all don't want to review this thing


Improve the output format

It would be nice to have the output format be more human readable.
@brettlangdon suggested something similar to a pyi file that would look more similar to the real code.
Right now one problem that comes to mind with this format is handling MRO for classes. This could be incorporated into the pyi/python style file by using comment annotations. Similar could be done for other types of API metadata if need-be

For classes @yun-kim and I have found that we can do ClassVar to distinguish between class and instance attributes as per https://github.com/python/mypy/issues/1097

For reference: https://docs.python.org/3/library/typing.html#typing.ClassVar


Improve org matching

Don't use sector codes to match orgs, improve how orgs are matched to canonical orgs.

Will revisit after the schema updates.


Supporting or documenting backups (also credhub)

Hi
We're using the concourse-up tool with success, nice work!
However, as concourse becomes more and more business critical, we would like to ask if there are any guidelines for backing up the system.
This is also important for Credhub, given keys and secrets are stored there.
We'll schedule a backup of the database, but is this enough?
I'm not too familiar with the inner workings of credhub, so I'm not sure how the keys/secrets are actually stored.
In the long term it would be nice if the tool automatically enabled backups to S3 of everything vital, so that the tool could provision a new concourse instance from the backups instead of from scratch.
Alternatively, supporting hot or cold standby in a another region would be nice.
So, is it possible for you to provide som insight into what needs backing up and how to restore, and any thoughts on long-term plans for supporting backup/restore in the tool?

@engrun credhub-cli in master now supports export, which is how we're backing up our Credhub data.

Please see #20
We've got a story ongoing to introduce self-backups as a feature. We're looking at using a tool called (BOSH Backup and Restore)[https://github.com/cloudfoundry-incubator/bosh-backup-and-restore]. We may end up with a backup pipeline that uses the bbr CLI to make a backup artifact once a day, and then stores that in s3. To restore, you'd then need to get hold of that artifact and provide it to BBR's restore command (which also takes creds for your BOSH director).
As for what to backup and restore, I believe it's the ATC, Credhub and the UAA. Each now provides the necessary backup/restore scripts that BBR looks for when the above commands are run.

Closing this for now. credhub export is a good temporary solution for back ups. Internally we are exploring better solutions for solving this problem.


Add support for Amazon ECR

How we pass a docker.AuthConfiguration down for pulls should be abstract a bit so that we can generate a docker.AuthConfiguration dynamically to work with ECR, and we can provide various AuthConfigurationProvider implementations:
// Generates a docker.AuthConfiguration from a .dockercfg
FileProvider(file io.Reader) docker.AuthConfiguration {}
// Generates a docker.AuthConfiguration for an Amazon ECR registry.
ECRProvider() docker.AuthConfiguration {}
// Merges multiple docker.AuthConfigurations together.
MultiProvider(providers ...AuthConfigurationProvider) AuthConfigurationProvider

FWIW, I took a stab at this today: wowgroup/empire@14bee7db

@protomouse awesome stuff. If you wanna open a PR, I'd love to get this merged in for the next release.

PR done.

@ejholmes @protomouse how can we use ECR with EMPIRE ?

https://github.com/remind101/empire/pull/730 was just merged and will be in the next release.
@JacopoDaeli The only thing you should need to do is add the following permissions to your EC2 container instances instance profile:
ecr:GetAuthorizationToken
ecr:BatchCheckLayerAvailability
ecr:GetDownloadUrlForLayer
ecr:BatchGetImage


Upgrade to v4.0.0-rc4

Upgrades H3-Java to the latest H3 release candidate, gaining some bug fixes and renaming the distance functions.
Note that H3-Java didn't have a 4.0.0-rc3 release, so this is the 3rd RC of H3-Java itself, which binds the 4th RC of H3 v4.

Pull Request Test Coverage Report for Build #289

4 of 4 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 99.38%

Totals

Change from base Build #288:
0.0%

Covered Lines:
481

Relevant Lines:
484

💛  - Coveralls


change z-index of the overlay?

Because i have some component has z-index that is > 1, the overlay doesnt cover the whole window. is it possible to add an z-index to the overlay style? thanks.

Has this issue been fixed?

Hi @iColpitts, probably the best way to fix this is using css or override the styles react-modal styles.

Yes, this fix this, but there is another problem after this. If the content height of modal is bigger then screen height, scrolling with mouse wheel does not work.


Adding a note based on CSS SME feedback.

@ramakoni1 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off


create frontend to explore live projects

Let's create frontend where visitors can go and explore the live working projects

will see it later


[BUG] [azure-identity] InteractiveBrowserCredential not working with most popular browsers on OSX

Describe the bug
When trying to authenticate with Azure via Interactive Browser from a Java/Sprint application, the following error is thrown:
...
Caused by: com.azure.core.exception.ClientAuthenticationException: Failed to acquire token with Interactive Browser Authentication.
        at com.azure.identity.implementation.IdentityClient.lambda$authenticateWithBrowserInteraction$28(IdentityClient.java:703)
...
Caused by: com.microsoft.aad.msal4j.MsalClientException: Unable to open default system browser
        at com.microsoft.aad.msal4j.AcquireTokenByInteractiveFlowSupplier.openDefaultSystemBrowser(AcquireTokenByInteractiveFlowSupplier.java:116)
...

And the application halts.
To Reproduce

This was ran many times in OSX with the default browser (in the OS) set to Safari, Chrome or Edge.

Code Snippet
        // i.e. scopes = [ 'https://graph.microsoft.com/.default' ]
        final InteractiveBrowserCredential interactiveBrowserCredential = new InteractiveBrowserCredentialBuilder()
                .clientId(clientId)
                .tenantId(tenantId)
                .redirectUrl(redirectUrl)
                .build()

        final TokenCredentialAuthProvider tokenCredentialAuthProvider =
                new TokenCredentialAuthProvider(scopes, interactiveBrowserCredential);

        // For illustration purposes
        GraphServiceClient
                .builder()
                .authenticationProvider(tokenCredentialAuthProvider)
                .buildClient()

Expected behavior
For my Java/Spring application to be able to use the default/any browser to construct a usable TokenCredentialAuthProvider so that I can use other Microsoft clients like Microsoft Graph.
Setup (please complete the following information):

OS: OSX Big Sur
aws-identity: 1.2.5

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[X] Bug Description Added
[X] Repro Steps Added
[X] Setup information Added

@g2vinay could you please take a look?


Add sideEffects: false to package.json for packages to enable tree shaking

Apologies if this is not supposed to be a bug type, wasn't sure which issue type fits best!
What version of OpenTelemetry are you using?
1.1.1
What version of Node are you using?
16.14.2
Please provide the code you used to setup the OpenTelemetry SDK
import { registerInstrumentations } from '@opentelemetry/instrumentation';
//import { DocumentLoadInstrumentation } from '@opentelemetry/instrumentation-document-load';
import { ConsoleSpanExporter, SimpleSpanProcessor } from '@opentelemetry/sdk-trace-base';
import { WebTracerProvider } from '@opentelemetry/sdk-trace-web';

const provider = new WebTracerProvider();
provider.addSpanProcessor(new SimpleSpanProcessor(new ConsoleSpanExporter()));

registerInstrumentations({
  instrumentations: [/*new DocumentLoadInstrumentation()*/],
});

What did you do?
I'm PoCing using opentelemetry-js in a library aimed at web application. It's rather hefty and produces a large js bundle when compiled with parcel or webpack. It seems that tree-shaking does not work with it.
What did you expect to see?
Smaller bundle size :)
What did you see instead?
Huge bundle, all of the code is included, even what isn't used by the library.
Additional context
It seems most packages do not have "sideEffects" property set. Manually going to node_modules and adding "sideEffects": false to every @opentelemetry/* package reduced bundle size by ~40kb! Please consider adding this property to every package.
More about it: https://webpack.js.org/guides/tree-shaking/

I think the problem for us to adopt the sideEffects property to be shipped with package.json is that we need a reliable tool to verify our settings are correct -- we can not declare a side-effectful file as side-effect-free, that will break consumers.

We talked about this in the SIG meeting and agreed that this is safe for us. Even our modules which have side-effects do not execute those side-effects at load time and require a user to explicitly call a function. This will cause the static analysis of webpack to realize the module is used and not tree-shake it out.

That would be awesome! Currently open telemetry packages are a no go for my company because it more than double our bundle size just for the sake of being able to trace 😥

@ogxd if you have time a PR would be welcome

I'll do that :)
By the way, I notice that exporter-trace-otlp-http references otl-exporter-base which references otlp-transformer which references sdk-metrics-base. This sdk-metrics-base represents 50% of the bundle size according to this, while exporter-trace-otlp-http is only about traces. It seems that this dependency was added in 0.29.
I'm wondering if the tree shaking is able to get rid of that, I still see some metrics related things in my production bundle (OTEL_EXPORTER_OTLP_METRICS_TIMEOUT, AWS_DYNAMODB_ITEM_COLLECTION_METRICS, ...)

I'm working on refactoring the otlp exporters right now. they're a mess

I would like to pick this up if it's up for grabs.

It's yours :slightly_smiling_face:


URL about:blank

Every time that you open a conversation this box opens.
Mac OSX Yosemite - Middle 2010

Hi, have you tried quitting the app and opening it again? Or reloading?

Yes I did. On launch it open 3 of these windows

Console entries:
03/06/15 12:48:59,355 Messenger[775]: Sparkle: ===== Messenger =====
03/06/15 12:49:01,128 com.apple.xpc.launchd[1]: (com.apple.imfoundation.IMRemoteURLConnectionAgent) The _DirtyJetsamMemoryLimit key is not available on this platform.
03/06/15 12:49:01,559 mdworker[778]: iWork MDI raised an exception: Could not read: Is a directory
03/06/15 12:49:01,564 mdworker[778]: iWork MDI raised an exception: Could not read: Is a directory

I'm seeing the same thing on OS X 10.10.3. Just started in the last few days.

@all does this still occur?

I reinstalled it and the problem disappeared

@jsf15 Thanks!


Driver CAB mismatch on Dell Precision 3551

Running script v6.4.5. The script downloaded Precision 3551 CAB version A01; A02 is available as of 9/8/2020. I confirmed A02 is listed in the XMLCABSource - https://downloads.dell.com/catalog/DriverPackCatalog.cab.

Updated to v6.4.9 and tried again - Precision 3551 package A02 downloaded.


adding Item With Text collection condition

Proposed changes
Added new collection condition to match if an item from the collection has the expected text
Example:
$$("#user-table tbody tr  td.firstname").shouldBe(itemWithText("Bob"));
Checklist

[ ] Checkstyle and unit tests are passed locally with my changes by running gradlew check chrome_headless firefox_headless command
[X] I have added tests that prove my fix is effective or that my feature works
[ ] I have added necessary documentation (if appropriate)

@LuisOsv Thank you for the PR! It's good, just a few minor changes requested.


Add tests/matchers for automatic accessibility testing

Based on guidelines from WCAG and the Android Accessibility Scanner, these new Guidelines verify that the results of test.pumpWidget() meet some accessibility guidelines.  This change includes two of these guidelines by default:

(android/iOS)TapTargetSizeGuideline, which verifies nodes with tap/long press events are at least 48x48/44x44

textContrastGuideline, verifies that any text which contributes semantics meets the minimum contrast guidelines established in WCAG 2.0 (https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html)

EDIT:
The algorithm for contrast is fairly trivial - @gspencergoog and I discussed some possible improvements offline, but they will require some research and experimentation.

cc @goderbauer  as well

This PR is amazing.


Ensure that blobs match the length of arrays they're being deserialized into and otherwise fail.

Friendly ping, this feels like a straight forward correctness improvement

friendly ping


Add ReversedMatchingOrder option to use latest matcher

Hi!
This PR  added option ReversedMatchingOrder to use newer matcher.
For example, a SUT make three requests with following order.

GET /api/users/1
POST /api/users/1
GET /api/users/1

If the 2nd request have updated the user(id=1), expected response of the 3rd request contains updated user info.
But current implementation always matches the 1st GET /api/users/1 and responds old user info.
For the above usecase, I need this new option.
Please take it in consideration.
Thank you.

Oops, this might be a wrong solution.
Close this PR.