Commvault Cloud: New App: Commvault Cloud for Splunk SOAR

Commvault Cloud App Integration
Please ensure your pull request (PR) adheres to the following guidelines:

Please refer to our contributing documentation for any questions on submitting a pull request, link: Contribution Guide

Pull Request Checklist
Please check if your PR fulfills the following requirements:

[x] Testing of all the changes has been performed (for bug fixes / features)
[ ] The manual_readme_content.md has been reviewed and added / updated if needed (for bug fixes / features)
[x] Use the following format for the PR description: <App Name>: <PR Type> - <PR Description>
[ ] Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.
[x] Verify all checks are passing.
[x] Do NOT use the next branch of the forked repo. Create separate feature branch for raising the PR.
[x] Do NOT submit updates to dependencies unless it fixes an issue.

Pull Request Type
Please check the type of change your PR introduces:

[x] New App
[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, renaming)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation
[ ] Other (please describe):

Security Considerations (REQUIRED)

[ ] If you are exposing any endpoints using a REST handler,
please document them in the manual_readme_content.md.
[ ] If this is a new connector or you are adding new actions

[ ] Please document in the manual_readme_content.md all methods (eg, OAuth) used to authenticate
with the service that the connector is integrating with.
[ ] If any actions are unable to run on SOAR Cloud, please document this in the manual_readme_content.md.

[ ] Are you introducing any new cryptography modules? If yes, please elaborate their purpose:
[ ] Are you are accessing the file system? If yes, please verify that you are only accessing paths returned through
the Vault API.
[ ] Are you are marking code to be ignored by Semgrep with nosemgrep?
If yes, please provide justification in an additional comment next to the ignored code.

Release Notes (REQUIRED)

Provide release notes as part of the PR submission which describe high level points about the changes for the upcoming GA release.

What is the current behavior? (OPTIONAL)

Describe the current behavior that you are modifying.

What is the new behavior? (OPTIONAL)

Describe the behavior or changes that are being added by this PR.

Other information (OPTIONAL)

Any other information that is important to this PR such as screenshots of how the component looks before and after the change.

Pay close attention to (OPTIONAL)

Any specific code change or test case points which must be addressed/reviewed at the time of GA release.

Screenshots (if relevant)

Thanks for contributing!

Hi,
We will need guidance for couple of points:
1 - Static Code Analysis : repo_name_has_expected_app_id -- how to get this information?
2 - Static Code Analysis: document_commonly_used_service_ports -- integration name is Commvault Cloud, not sure what must be changed here?
3 - AWS CodeBuild us-west-2 (prodsec-scans) — please provide access to AWS resource?

Hi Team,
We seem to be stuck here. Any update?
Thanks

Hi Team,
We seem to be stuck here. Any update?
Thanks

@Cv-securityIQ We will take care of all the pipeline failures

thank you @mishalp-crest . Now, we can see static tests have succeeded.
https://drive.google.com/file/d/1U8Q7ZgioAwq1ERG8mOFAPtkoYpumD-82/view?usp=drivesdk
What are the next steps?

Hi @mishalp-crest what are the next steps?


No visible resources after migrating to 2.6.0

It seems that the home index have some issue with quotes or similar that prevents the home to visibilize our resources:

I just downgraded to ipt 2.5.8.
The same happened with https://ipt-demo.gbif.es but we removed a pair of testing resources to solve it, something that we cannot do in production.
A problematic resource, if helps:
https://datos.gbif.es/others/failed-resource.tgz

Thank you @vjrj
We already spotted that on our cloud IPT, fix already committed, release coming soon

Thanks @mike-podolskiy90 !

https://github.com/gbif/ipt/commit/270562e0e8b9ff9db5c0921318eea62a37232185

Applying this commit does not solve the issue for us, see:
https://ipt.gbif.es

It has newlines !??

Yes, because of issues in the metadata. Keywords should separated by semicolon. Fix must've helped though, checking

@vjrj I corrected a regex

it works now https://ipt.gbif.es/ thanks indeed @mike-podolskiy90

Awaiting the update/fix for Asia IPT ;)

Hi @ckotwn as a workaround, I edited this file:
/var/lib/tomcat9/webapps/ipt/WEB-INF/pages/macros/resourcesTable.ftl
(it can be in a different location in your side) and changed the line 53
'${r.eml.subject!}'
with:
'${(r.eml.subject?replace("[\r\n]+", "<br>", "r")?replace("\'", "\\'")?replace("\"", '\\"'))!}'
as in the commit https://github.com/gbif/ipt/commit/dea9fef2766e0cf68004992b7bcd5563aa67dbe8

Thanks @vjrj for the tip! Although I don't have root access to the Asia IPT instance guess this is beyond my reach ;)

No need for workarounds, I've just released the 2.6.1
https://repository.gbif.org/content/groups/gbif/org/gbif/ipt/2.6.0/ipt-2.6.0.war


where is resnet18-body?

I want to know where is resnet18-body

Hi @KingingWang, the model downloader script should have downloaded it for you (it is selected by default)
It should have been downloaded to jetson-inference/data/networks/Pose-ResNet18-Body


Building a wheel on macOS when using a PyClass from different crate does not work

I have a crate in which I define a PyClass. This PyClass I want to use in a different crate from which I want to build a wheel using maturin. This works perfectly fine on linux. On macOS and Windows, however, it does not.
I've built a minimum "failing" version of my example here inluding the error log. What I found is that I can get it to work on macOS as long as

the crate that defines the PyClass does not have a #[pymodule] function, and
that the PyClass does not have a method attached (#[new] works).

I asked this here on the gitter and @mejrs mentioned that it works on Windows if ABI features are disabled.

Looks like https://github.com/PyO3/pyo3/issues/1444

I am not sure. I am aware of the issue that we are currently unable to reuse classes in Python as described in the issue you linked. But here I can't even build the wheel. And on linux it works just fine.
If it's related to the same underlying problem as #1444, please feel free to close this isse.

I think this looks like a separate issue, as you say. You're not attempting to import multiple extension modules from Python, which is what #1444 covers. Instead I think you're probably hitting this: https://pyo3.rs/v0.15.0/building_and_distribution.html#macos
In the example you link, I think if you remove the extension-module feature from pyo3_export_pyclass/Cargo.toml then things may resolve? Also pyo3_export_pyclass probably does not need the cdylib lib crate type, either.
If you retest with that change, does it solve the issues? (It may not solve the Windows problems, it would be helpful to see the other messages for other failing cases.)

Removing extension-module does not resolve the problem, but removing cdylib (and hence also extension-module) does. Now I need to figure out a way to be able to build both an extension module and make the PyClass usable from other crates.

Right, this does now sound like it's bordering on #1444. Essentially, because Rust statically links all dependencies into the final extension-module cdylib, I wouldn't recommend re-using a PyClass from multiple crates. You'll find that each compiled target will create its own copy of the class type object and they won't compare equal.

That is not a problem in my case since I currently re-export the PyClass in the actual crate where I need it. To make this more clear:

I have a crate that provides dimensioned quantities (SI units) which is usefull as separate python package
I have a library that uses dimensioned quantities in its interfaces so I want to re-use the classes defined in the quantity crate. I currently use and re-export the quantities in this libraray and build a python package from that as well. This works on linux but not on macos/Windows

I think I can work around this issue by having the PyClass and the extension module in different crates. I was just wondering if what I am seeing here was a bug because it works so nicely on linux. Feel free to close this issue and thanks for the help.

👍 there's definitely complex thorny issues around multiple-crate setups like this which could use further exploration, however I think overall this does sit as #1444. Sorry we can't be more helpful at current.

@davidhewitt could this issue be re-opened? I think the issue I am observing here is not related to #1444.
Problem: On macos I am not able to use a crate that has both rlib and cdylib (e.g. to build a Python module) in it's Cargo.toml as dependency. I currently have no way to test this behavior on Windows. On Linux it works fine which confuses me.
Just to make it clear: I don't want to be able to use a PyClass across Python modules, but re-export a PyClass that's defined in a dependency - again - which works as expected on Linux.
I'd greatly appreciate any feedback on what could go wrong here and where to start looking for solutions.

Ok, yes, I see what you mean. In particular, re-reading the solution listed in your example:

On macOS, removing cdylib and hence extension-module enables compilation but the root crate can no longer be made into a python package.

I'm curious, what happens if you keep cdylib and make extension-module feature in the root crate an optional feature? Then, when compiling the dependency you disable extension-module for the root crate.
i.e. something like this in the root crate Cargo.toml:
[dependencies.pyo3]
version = "0.14"
features = ["abi3", "abi3-py36", "multiple-pymethods"]
optional = true

[features]
default = []
python = ["pyo3", "numpy"]
python_module = ["python", "pyo3/extension-module"]

and then the dependency would use the python feature but not the python_module feature.

I tested making extension-module optional like you proposed above but got the same error.

Any update, fixes, or workaround? I have a similar problem when trying to compile the [word count example] on (https://github.com/PyO3/pyo3/tree/main/examples/word-count) macOS 14.5...

Any update, fixes, or workaround? I have a similar problem when trying to compile the [word count example] on (https://github.com/PyO3/pyo3/tree/main/examples/word-count) macOS 14.5...

Fixed my issue - added flags in .cargo/config.toml file:
[target.aarch64-apple-darwin]
rustflags = [
  "-C", "link-arg=-undefined",
  "-C", "link-arg=dynamic_lookup",
]


 IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/blob/main/example.justlists.ts
Checklist

[x] I understand that this is not the place to request a token listing.
[x] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[x] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL: https://developer.trustwallet.com/assets/new-asset
JustList Name: andproberts
Link to the official homepage of the JustList manager:

Please submit the correct information, invalid information will cause the issue to close


Explain the need for this extension

Please explain better in the documentation (or elsewhere) what is the need for this extension. VSCode cpptools already supports debugging using both gdb and lldb, so what value does this extension add?

this extension was there before and also has some different implementations on a few things, I think just trying it out and comparing using them will make it obvious

One very important thing that will always be different is also the license.
This repo is clearly Public Domain via Unlicense while cpptools' is not 100% clear but points to MS License with nasty stuff like

You may only use the C/C++ Extension for Visual Studio Code with Visual Studio Code, Visual Studio or Xamarin Studio software to help you develop and test your applications.
You may not share, publish [...] the software, or provide the software as a stand-alone hosted solution for others to use.

So don't dare to copy the mscode.cpptools.vsix around - I just did it with this extension, sharing it with multiple colleagues.

Licence is a good point, because the MS C++ extension is (I believe) not legally compatible with editors such as vscodium, whereas this repository has no such problems.

I haven't checked the cpptools because of their license much, but I think the SSH debug on the different machine (= not attach via gdbserver) may not be available there. It is a very cool feature that allows you to debug for example on linux from a windows machine, something that plain gdb can only do if you configured it with a target for this [or I may be completely wrong about that feature]...
So the main question is: How do users want to have it documented (I guess in README.md but have no clue about the How)?
Maybe someone can create a PR for this?

When I searched for VSCode and cpptools alternative I found this extension. I think it can be considered as free (as in freedom) alternative (with clangd for intellisense) for cpptools. cpptools is not fully free and it can't be used in non Microsoft builds of Visual Studio Code. It may be a problem for somebody who wants to use only open source tools for some reason but still loves Visual Studio Code workflow. VS Codium (or any other open source build) with clangd and this extension may be pretty decent alternative for VSCode and cpptools.
There is also another thing. cpptools is using some binary files (which are downloaded after installation) which wouldn't work on unsupported platforms (like FreeBSD) while this extension doesn't depend on any additional binaries so it may work on more platforms. I'm not sure about this one, please correct me if I'm wrong.


Migrate MoneyRequestParticipantsSplitSelector.js to function component

Details

Migrate MoneyRequestParticipantsSplitSelector.js to function component
Fixed Issues

$ https://github.com/Expensify/App/issues/16280
PROPOSAL: (https://github.com/Expensify/App/issues/16280#issuecomment-1577087891)
Tests

Click on FAB
Click on Split Money
Input money (ex: 15)
Click on Next button
Search Email or Name
Choose more than 1 user
Choose 8 users as maximum.
Click on Split $15 button
Showed split request in chat

[x] Verify that no errors appear in the JS console

Offline tests

Follow the same steps listed in the section above
QA Steps

Follow the same steps listed in the section above

[x] Verify that no errors appear in the JS console

PR Author Checklist

[x] I linked the correct issue in the ### Fixed Issues section above
[x] I wrote clear testing steps that cover the changes made in this PR

[x] I added steps for local testing in the Tests section
[x] I added steps for the expected offline behavior in the Offline steps section
[x] I added steps for Staging and/or Production testing in the QA steps section
[x] I added steps to cover failure scenarios (i.e. verify an input displays the correct error message if the entered data is not correct)
[x] I turned off my network connection and tested it while offline to ensure it matches the expected behavior (i.e. verify the default avatar icon is displayed if app is offline)
[x] I tested this PR with a High Traffic account against the staging or production API to ensure there are no regressions (e.g. long loading states that impact usability).

[x] I included screenshots or videos for tests on all platforms
[x] I ran the tests on all platforms & verified they passed on:

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

[x] I verified there are no console errors (if there's a console error not related to the PR, report it or open an issue for it to be fixed)
[x] I followed proper code patterns (see Reviewing the code)

[x] I verified that any callback methods that were added or modified are named for what the method does and never what callback they handle (i.e. toggleReport and not onIconClick)
[x] I verified that the left part of a conditional rendering a React component is a boolean and NOT a string, e.g. myBool && <MyComponent />.
[x] I verified that comments were added to code that is not self explanatory
[x] I verified that any new or modified comments were clear, correct English, and explained "why" the code was doing something instead of only explaining "what" the code was doing.
[x] I verified any copy / text shown in the product is localized by adding it to src/languages/* files and using the translation method

[x] If any non-english text was added/modified, I verified the translation was requested/reviewed in #expensify-open-source and it was approved by an internal Expensify engineer. Link to Slack message:

[x] I verified all numbers, amounts, dates and phone numbers shown in the product are using the localization methods
[x] I verified any copy / text that was added to the app is grammatically correct in English. It adheres to proper capitalization guidelines (note: only the first word of header/labels should be capitalized), and is approved by marketing by adding the Waiting for Copy label for a copy review on the original GH to get the correct copy.
[x] I verified proper file naming conventions were followed for any new files or renamed files. All non-platform specific files are named after what they export and are not named "index.js". All platform-specific files are named for the platform the code supports as outlined in the README.
[x] I verified the JSDocs style guidelines (in STYLE.md) were followed

[x] If a new code pattern is added I verified it was agreed to be used by multiple Expensify engineers
[x] I followed the guidelines as stated in the Review Guidelines
[x] I tested other components that can be impacted by my changes (i.e. if the PR modifies a shared library or component like Avatar, I verified the components using Avatar are working as expected)
[x] I verified all code is DRY (the PR doesn't include any logic written more than once, with the exception of tests)
[x] I verified any variables that can be defined as constants (ie. in CONST.js or at the top of the file that uses the constant) are defined as such
[x] I verified that if a function's arguments changed that all usages have also been updated correctly
[x] If a new component is created I verified that:

[x] A similar component doesn't exist in the codebase
[x] All props are defined accurately and each prop has a /** comment above it */
[x] The file is named correctly
[x] The component has a clear name that is non-ambiguous and the purpose of the component can be inferred from the name alone
[x] The only data being stored in the state is data necessary for rendering and nothing else
[x] For Class Components, any internal methods passed to components event handlers are bound to this properly so there are no scoping issues (i.e. for onClick={this.submit} the method this.submit should be bound to this in the constructor)
[x] Any internal methods bound to this are necessary to be bound (i.e. avoid this.submit = this.submit.bind(this); if this.submit is never passed to a component event handler like onClick)
[x] All JSX used for rendering exists in the render method
[x] The component has the minimum amount of code necessary for its purpose, and it is broken down into smaller components in order to separate concerns and functions

[x] If any new file was added I verified that:

[x] The file has a description of what it does and/or why is needed at the top of the file if the code is not self explanatory

[x] If a new CSS style is added I verified that:

[x] A similar style doesn't already exist
[x] The style can't be created with an existing StyleUtils function (i.e. StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG))

[x] If the PR modifies code that runs when editing or sending messages, I tested and verified there is no unexpected behavior for all supported markdown - URLs, single line code, code blocks, quotes, headings, bold, strikethrough, and italic.
[x] If the PR modifies a generic component, I tested and verified that those changes do not break usages of that component in the rest of the App (i.e. if a shared library or component like Avatar is modified, I verified that Avatar is working as expected in all cases)
[x] If the PR modifies a component related to any of the existing Storybook stories, I tested and verified all stories for that component are still working as expected.
[x] If a new page is added, I verified it's using the ScrollView component to make it scrollable when more elements are added to the page.
[x] If the main branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to the Test steps.
[x] I have checked off every checkbox in the PR author checklist, including those that don't apply to this PR.

Screenshots/Videos

Web

https://github.com/Expensify/App/assets/35476479/cec951e3-ceb0-45f5-bca4-53bca9812609

Mobile Web - Chrome

https://github.com/Expensify/App/assets/35476479/28c6d36d-48a9-4bab-aad8-09fff88a7544

Mobile Web - Safari

https://github.com/Expensify/App/assets/35476479/558f1a24-f0fa-4a2e-93d1-6f9f395f052f

Desktop

https://github.com/Expensify/App/assets/35476479/ac371e97-9e99-42ca-9182-2350273c9c86

iOS

https://github.com/Expensify/App/assets/35476479/86812407-cea0-4009-9299-0b3e544717f7

Android

https://github.com/Expensify/App/assets/35476479/ba2910a2-a4d9-4e7c-882a-f868ecd6c4df

I have read the CLA Document and I hereby sign the CLA

@multijump keyboard navigation isn't working on split bill page

Hi, @rushatgabhane
It seems keyboard navigation is not related with this issue.
I think it is related with OptionsSelector component.
Should I change the OptionsSelector component too?

@rushatgabhane
Actually, keyboard navigation in this branch is working the same as https://new.expensify.com/split/new
I am not sure what was the keyboard navigation you mean.
can you please let me know failed case?

Hey @allroundexperts, just wanted to double check your taking over? If so I'll update the linked issue.

Hanging back on this one for an approval from a C+. Feel free to tag me when this is ready so I can take a look?

@multijump It's looking good largely. Can you please resolve the conflict and reply to a few more comments?

Hi, @allroundexperts
I fixed conflicts and replied to your comments.
Thanks

Actually, we had another discussion here and it was decided that we'll be favouring prop de-structuring instead disabling the exhastive-dependency lint rule. @multijump Can you please make the changes? Should be fairly quick.

Hi, @allroundexperts
Destructured props and removed lint disable.

@allroundexperts could you please resolve the threads that have been addressed, thanks.

Tests well

:hand: This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

🚀 Deployed to staging by https://github.com/Julesssss in version: 1.3.37-0 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
success ✅

🕸 web 🕸
success ✅

I agree this took longer than average, but personally, I think that balances out against simpler reviews that still have the $1000 bounty. Also, I don't think the bounty itself should be updated, as it would encourage that a slower contributor PR ends up being paid more than a faster one.
If you disagree I'm happy to share with others internally though to get more peoples thoughts! Let me know what you think.

Great, thanks for understanding. Maybe the circumstances will be different next time 👍

🚀 Deployed to production by https://github.com/Julesssss in version: 1.3.37-7 🚀

platform
result

🤖 android 🤖
success ✅

🖥 desktop 🖥
success ✅

🍎 iOS 🍎
failure ❌

🕸 web 🕸
success ✅


Make wireframes in Figma

Figma Link: Figma | FAST Learn

Main page should display all the services offered by us
Navigation bar should have a dropdown having all the services available

Past Papers Page

This should display all the subjects
There should have a button to add a new past paper which redirects user to a new page where a form is shown asking for details about the paper and also an upload button to upload pdf version of the past paper
On the past papers page, when a user clicks on a subject, it should redirect user to a new page where all papers of that subjects are displayed in reverse chronological order

Kindly review figma all instructions you have  said have been applied to the design make changes or comment more

Ok


Bug fix in route.ts

There is a bug with using zfd.file() in route.ts. This seems to be an environment specific issue when running the project locally, the server-side does not recognize the File object. This small patch fixes the issue.

This pr is a redesign of current functionality, not a bug fix. I've deployed this locally without any issues.
If you want to separate streaming into it's own PR with a bit of refactoring i'd gladly approve, as it would be a solid performance and user experience improvement.

Hi - thanks for the contribution, but it looks like this PR includes more than just a bug fix. If you're planning on adding features, feel free to open an issue or submit a PR that explains more.


Yahoo Weather shows incorrect pressure value

Home Assistant release (hass --version):
0.47.1
Python release (python3 --version):
3.4.2
Component/platform:
Yahoo Weather
Description of problem:
The barometric pressure (sensor) of the Yahoo Weather component shows an incorrect value. The value is very large to be a unit of millibar. In the example (screenshots), the pressure in my city (Yokosuka, Japan) is 1004 mbar, however the sensor card shows a value of 33965.49 mb

If you use the YSQL console, running the related query, you can see the JSON output also give the same correct output (1004mb).
Expected:
In the example (screenshots), the pressure in my city (Yokosuka, Japan) is 1004 mbar,  therefor expecting the card showing the same value

Seems to be an issue with the used module.
https://github.com/pvizeli/yahooweather/issues/2

Tested this again on 0.52.1 and the issue still remains.


_config.yml issue

DataObject:
extensions:
- VersionViewerExtension
should be
DataObject:
extensions:
- VersionViewerDataObject

You don't actually have to add extra yml for this module to work anymore.  That part of the documentation in the README.md was old.  We have removed it.  Sorry for any confusion.
Note, that you do have to turn versioning on for your DataObject in your yml as discussed in #3.


Add methods to receive Github push notifications

This change adds a new subject to the message bus which is generated by hashing the (giturl, branch) pair for each connecting fluxd, and adds methods to notify those fluxds to sync when notified by Github.

Can this be transplanted to service/ ?

Yes indeed. I'll add it to my list.

Closing in the meantime ..


Groovy 3: Gradle 7.2 for Java 16+

Here are some changes to support running Groovy 3 builds with Java 16+ for purposes of evaluating issue reports.  upload.gradle still needs to be migrated to use the maven-publish plugin.

I brought across the minor refactoring changes compatible with the existing gradle version

Now I see that you can use one JDK to build and another to test using -Ptarget.java.home=...


Merging multiple samples in one vcf

Hi, I have a single sorted vcf that contains SV calls from multiple samples. There are calls that are significantly overlapping and I would like to consolidate them. Does SURVIVOR merge support this use case? I'm trying to run
./SURVIVOR merge sample_file.txt 100 0 1 1 30 output_file.vcf
where sample_file.txt contains the path of the single vcf but am getting the help menu as the output:
File with VCF names and paths max distance between breakpoints Minimum number of supporting caller Take the type into account (1==yes, else no) Take the strands of SVs into account (1==yes, else no) Estimate distance based on the size of SV (1==yes, else no). Minimum size of SVs to be taken into account. Output VCF filename
I've also tried running
./SURVIVOR merge input_file.vcf 100 0 1 1 30 output_file.vcf
but get the same output.
Thanks in advance for your help and for your tool!

Additionally, is there a way to view which SVs have been merged?

Dear @ashamehta ,
you are missing one parameter. e.g.
./SURVIVOR merge sample_file.txt 100 0 1 1 0 30 output_file.vcf
should work .
Unfortunately, SURVIVOR cannot work based on a multi sample file. You would need to start from the individual sample file.
Worst case you could also split up your current file and feed each of the samples vcf files to SURVIVOR.
Hope that helps
Fritz

Hi Fritz,
Ah good catch, thanks. Unfortunately, the data that I have was released in aggregate without patient-level information, so I can't split it up.
Appreciate your quick response,
Asha

Does it have per sample information ? What I am reading it does not right ?
you could of course just merge the VCF file with itself... I don't know if that's too confusing but it would take care of some redundancy.
Cheers
Fritz

I'll try that, thank you!
Two more questions:

Is there a way to preserve the INFO field from each SV when they are merged? I have frequencies associated with each variant that I need to add together when variants are merged (i.e. if SV1 and SV2 are merged into SV3, I want to add INFO/HETCOUNT for SV1 + INFO/HETCOUNT for SV2 to get the het count of SV3).
What does the 5th numbered parameter mean (i.e. the 0 in  ./SURVIVOR merge sample_file.txt 100 1 1 1 0 30 output_file.vcf)? I see descriptions for the other 5 here (https://github.com/fritzsedlazeck/SURVIVOR/wiki), but not sure about the 5th one.

Thanks again for all of your help,
Asha

Ad 1 : sadly no.
Ad 2: you mean the 0 right ? it was a precious parameter that i no longer use/ support. I didn't want to destroy scripts that people have already so i just kept it.

Ah okay, makes sense. Ok, really appreciate all this explanation. I feel much more proficient with the tool.


Ability to delete used values

Describe the feature
At the moment any linked value records can't be removed, sometimes this is problematic as there is no mechanism to remove associated records.
Please can we add the ability to delete linked values either by removing the linked values or having a mechanism that redirects removed values etc.
Additional Context
No response

I'm not sure if this possible, since this would require me to set everything possibly nullable, which can have not so great consequences.

Please can we add the ability to delete linked values either by removing the linked values or having a mechanism that redirects removed values etc.

What exactly do you mean here?

I'm not sure if this possible, since this would require me to set everything possibly nullable, which can have not so great consequences.

Please can we add the ability to delete linked values either by removing the linked values or having a mechanism that redirects removed values etc.

What exactly do you mean here?

We have some charges that are no longer applicable but have been used previously and they now cannot be removed. I guess that's the problem statement.
Rather than making them null can it keep the value it has but instead of pointing to an existing value it could point to a text value that says "redacted" or something vague and generic.

Will see what I can do!

Seems like this is nearly impossible to implement with the current API. I'm unable to check if there are values used by other values until the error is thrown. But then, I'm also unable to take the error message from that error.
Maybe for now, you could manually call the value "[redacted]"?

Seems like this is nearly impossible to implement with the current API. I'm unable to check if there are values used by other values until the error is thrown. But then, I'm also unable to take the error message from that error.
Maybe for now, you could manually call the value "[redacted]"?

I have another idea! Could we make it so we can mark value groups as hidden? So for example, I can chuck all the old charges into a group and that group doesn't show anywhere in the CAD except the admin section and the old records? So noone can use them moving forward?


Unable to integrate with Spring Boot: getting "_a is null" and no tokens.

I posted about a problem I'm having with integration on StackOverflow. I wanted to file an issue here as well to see if we can find the solution.
TL;DR version:
I've written an AuthenticationService class for my Angular app that talks to my backend Spring Boot REST server. Authentication is working correctly in Java, and the JWT token is being returned in the response headers.
However, when the login method (which uses code from the examples on the ngx-auth website) gets the response, there are no access tokens present; i.e., there doesn't seem to be anything from the ngx-auth library intercepting or interpreting the headers and extracting the token.
Can you please advise what's potentially the problem? Here is a link to the task branch on which I'm working to try and integrate the two.

The error as seen on Firefox relates to the access tokens being passed back to the authentication service. Running things on Chrome I see:
TypeError: Cannot read property 'accessToken' of null
going back to the call to saveAccessData() in my AuthenticationToken class below:
login(username: string, password: string): Observable<any> {
    return this.http.post('login', {email: username, password: password})
      .pipe(
      tap((tokens: AccessData) => {
        console.log('login tokens:', tokens);
        this.saveAccessData(tokens);
      }));
  }

Is there some setup outside of what's described on the Github page that needs to be done?

Hi @mcpierce. As far as I understood you have an issue with saving/reading tokens. Basically extraction and persisting processes rely on your implementation. So you have to check whether your saving/extracting tokens properly.

Yeah, the issue seems to be that, on the Java side, the SuccessfulAuthentication filter is never firing. And that is the portion that sends down the access and refresh tokens. So the problem's definitely not with ngx-auth.


[Tabs] Improve tabs accessibility

This was reported by @CGTS in an older issue. See https://github.com/zurb/foundation-sites/issues/9767#issuecomment-385547391
The main issue is the following:

When the page tabs are activated, there is no way to move to the tab panel content with the keyboard. The arrow keys move the user to the next accordion tab while the tab key itself has nothing on which to focus within the tab panels. This will make it impossible for non-sighted users to learn what is on the tab panels.

Expected Behavior
The tabs component should follow the W3C accessibility recommendations.
According to See https://github.com/zurb/foundation-sites/issues/9767#issuecomment-385547391:

Manage the focus so that when an accordion tab is activated the focus immediately moves to the tab panel content.

A W3C note about Tabs accessibility give a very good example. Here are the features we do not follow. I think we should add all of them:

On tab, when focus moves into the tab link list, places focus on the active tab link.
On tab, when the tab list link is focused, moves focus to the associated tab content.
On home, moves focus to the first tab and activates it.
On end, moves focus to the last tab and activates it.

Current Behavior

For now, the current behavior is the following:

On tab, focus do not moves into the tab link list
On tab, when the tab list link is focused, the next focusable element is focused, inside or outside of the tab content. The tab content is not focused.
On home, nothing happens.
On end, nothing happens.

Checklist (all required):

[x] I have read and follow the CONTRIBUTING document.
[x] This is a bug report or a feature request.
[x] There are no other issues similar to this one.
[x] The issue title is descriptive.
[x] The template is fully and correctly filled.

@ncoden As discussed I am taking this up from you ... Busy Next week but will take this up early July :)

Accessibility seems to have been improved in the meantime - I can't reproduce it


Failed assertion `[MPSNDArray initWithDevice:descriptor:] Error: total bytes of NDArray > 2**32

I wanted to try this out, so I downloaded the woman with a pearl earring image from the README.md and ran the example command:
imagine --model SD-2.0-depth --init-image girl_with_a_pearl_earring.jpg --init-image-strength 0.05  "professional headshot photo of a woman with a pearl earring" -r 4 -w 1024 -h 1024 --steps 50

Which results in the following output:
 % imagine --model SD-2.0-depth --init-image girl_with_a_pearl_earring.jpg --init-image-strength 0.05  "professional headshot photo of a woman with a pearl earring" -r 4 -w 1024 -h 1024 --steps 50

🤖🧠 imaginAIry received 1 prompt(s) and will repeat them 4 times to create 4 images.
Generating 🖼  1/4: "professional headshot photo of a woman with a pearl earring" 1024x1024px negative-prompt:"Ugly, duplication, duplicates, mutilation, deformed, mutilated, mutation, twisted body, disfigured, bad anatomy, out of frame, extra fingers, mutated hands, poorly drawn hands, extra limbs, malformed limbs, missing arms, extra arms, missing legs, extra legs, mutated hands, extra hands, fused fingers, missing fingers, extra fingers, long neck, small head, closed eyes, rolling eyes, weird eyes, smudged face, blurred face, poorly drawn face, mutation, mutilation, cloned face, strange mouth, grainy, blurred, blurry, writing, calligraphy, signature, text, watermark, bad art," seed:104916828 prompt-strength:7.5 steps:50 sampler-type:k_dpmpp_2m
Loading model /Users/timojaaskelainen/.cache/huggingface/hub/models--stabilityai--stable-diffusion-2-depth/snapshots/d41a0687231847e8bd55f43fb1f576afaeefef19/512-depth-ema.ckpt onto mps:0 backend...
  0%|                                                                                | 0/46 [00:00<?, ?it/s]/AppleInternal/Library/BuildRoots/5b8a32f9-5db2-11ed-8aeb-7ef33c48bc85/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShaders/MPSCore/Types/MPSNDArray.mm:724: failed assertion `[MPSNDArray initWithDevice:descriptor:] Error: total bytes of NDArray > 2**32'
zsh: abort      imagine --model SD-2.0-depth --init-image girl_with_a_pearl_earring.jpg  0.05
timojaaskelainen@Timos-M1-MBP ~ % /Users/timojaaskelainen/.pyenv/versions/3.10.9/lib/python3.10/multiprocessing/resource_tracker.py:224: UserWarning: resource_tracker: There appear to be 1 leaked semaphore objects to clean up at shutdown
  warnings.warn('resource_tracker: There appear to be %d '

Not sure what this is about, but looks like some array allocation goes over the framework limits?
Some other examples that I've tried are working without errors.
I'm running macOS Ventura 13.1, Python 3.10.9, on MacBook Pro, M1 Max, 64 GB RAM.

hmm that is strange. Thanks for all the information.  will investigate

I'm at 35% complete on my Macbook Pro M1 Max 32 GB, Ventura 13.0.1. Says it's gonna take 20 minutes to complete.  I certainly ran this originally on the Desktop with a graphics card.

yeah worked for me. took 26 minutes. can you provide the output of pip freeze?

Sure:
% pip freeze
aiohttp==3.8.3
aiosignal==1.3.1
antlr4-python3-runtime==4.9.3
async-timeout==4.0.2
attrs==22.2.0
certifi==2022.12.7
charset-normalizer==2.1.1
click==8.1.3
click-shell==2.1
contourpy==1.0.7
cycler==0.11.0
diffusers==0.11.1
einops==0.6.0
facexlib==0.2.5
fairscale==0.4.13
filelock==3.9.0
filterpy==1.4.5
fonttools==4.38.0
frozenlist==1.3.3
fsspec==2023.1.0
ftfy==6.1.1
huggingface-hub==0.11.1
idna==3.4
imageio==2.24.0
imaginAIry==8.0.0
importlib-metadata==6.0.0
kiwisolver==1.4.4
kornia==0.6.9
lightning-utilities==0.5.0
llvmlite==0.39.1
matplotlib==3.6.3
multidict==6.0.4
numba==0.56.4
numpy==1.23.5
omegaconf==2.3.0
open-clip-torch==2.9.3
opencv-python==<IP_ADDRESS>
packaging==23.0
Pillow==9.4.0
protobuf==3.20.3
psutil==5.9.4
pyparsing==3.0.9
python-dateutil==2.8.2
pytorch-lightning==1.9.0
PyYAML==6.0
regex==2022.10.31
requests==2.28.2
safetensors==0.2.8
scipy==1.10.0
semantic-version==2.10.0
sentencepiece==0.1.97
setuptools-rust==1.5.2
six==1.16.0
timm==0.6.12
tokenizers==0.13.2
torch==1.13.1
torchdiffeq==0.2.3
torchmetrics==0.11.0
torchvision==0.14.1
tqdm==4.64.1
transformers==4.25.1
typing_extensions==4.4.0
urllib3==1.26.14
wcwidth==0.2.6
yarl==1.8.2
zipp==3.11.0


Corrupted outline out of sync between iPhone and Mac

I have an outline which I created on my iPhone. When I open it on my Mac, I get this alert:

If I click "Fix It", then all seems well at first.  If I "fix" it there, then when I go back to my Mac, I get the alert again.
So, neither my iPhone nor my Mac like the way the other "fixes" things. As things stand, there is no way I can share an uncorrupted version of this outline between the two devices.
What happened here?
(I imagine that I can work around this by "fixing" on one device, then exporting, deleting, and re-importing. But maybe it will just happen again. It would be better to get to the bottom of this...)

Honestly, I'm not sure what is happening. Once the outline gets fixed, the fix should propagate through iCloud to your other devices.
If you don't have any sensitive information in your corrupted Outline, could you use the Collaborate function to share it to me? Just email it to<EMAIL_ADDRESS>I should be able to debug what the problem is and why the fix isn't propagating. The Collaborate function will let me see what is happening internally on the Outline which I can't see when looking at an OPML export of an Outline.

I've been thinking a lot about your issue today. I think I know why the corruption issue was ping-ponging between your devices. I made a small change to how the corruption correction code to see if it fixes your problem.
If you aren't already, please get TestFlight set up on at least one of your devices for Zavala.
https://testflight.apple.com/join/iFbND23m
When the 2.4 version is available in TestFlight, try fixing the corrupted outline on the device with the 2.4 TestFlight version installed. Force a sync on that device then switch to another device and force a sync on that one. Let me know if the second device still complains that the Outline is corrupted or not.

The change I made should have fixed the scenario you describe. It should have pushed the row that was missing on your Mac to it from your iPhone.

Fixing on iPhone
Syncing on iPhone
Syncing on Mac
Opening on Mac

That order of events should have fixed your problem, but it clearly didn't.
One thing you could try is to edit the row that comes back when fixing on the iPhone. Then try to sync and see what happens on your Mac after it syncs again. It should have forced that row to propagate to your Mac. You can undo the change after that.
I've been trying everything I can to recreate your corrupted outline, to no avail. Was this outline created on a pre-2.1 version of Zavala? The corruption might have been caused on older version with a syncing bug that wouldn't have been detected until later versions of Zavala when I put in the corruption check.

You can try that. The other option would be to disable and reenable your Zavala iCloud Account on your Mac. That should make your Mac match exactly what is being stored currently in iCloud.
I'm at a loss to what is happening. I haven't had any luck at recreating your corrupted outline scenario no matter how hard I try. Right now I'm just shooting in the dark.
Are you offline a lot when editing your outlines? That is the hardest part about syncing outlines. I'm just curious if that is a contributing factor.

@valleydali is there anything unusual about the row that won't sync? Does it have a lot of text in it or something?

I think I figured out what caused the corruption and why your row won't sync. I think that part of your Outline unloaded its data from memory while syncing that row. That would make it appear to the syncing system that the row was deleted and the syncing system deleted that row from iCloud.
The row was really still there on your iPhone when loading next time though. Unfortunately now that the row was deleted from iCloud, iCloud would no longer accept updates for it. That prevented it from propagating to your Mac when fixing the Outline corruption.
I've fixed the code so that it isn't possible for a partially loaded outline to be accessed while syncing which should prevent this kind of corruption from happening again. I need to test it some more, but I'll be releasing it soon to TestFlight. Hopefully not long after that, I'll do a production release.
You will need to delete and recreate the row in question on your iPhone. I'm sorry about that, but it is the most expedient way to get your outline straightened out.
Thank you for your patience with me on this. These kind of iCloud syncing problems are really hard to find and figure out. As it is, I have no way of being 100% sure that my hypothesis about what happened is correct. If I'm wrong, I'll take another go at it.

I found another way this could have happened. Deleting a row and then using Undo to bring it back was buggy. The reconstituted row wouldn't sync, thus causing outlines to be corrupt on machines that would never receive the row. That has been fixed in the latest 2.4 beta.

Because I have 2 different fixes in the upcoming 2.4 release that address this issue, I'll be closing it out. If you find anything either while testing 2.4 or using 2.4 after it is released, we can reopen this issue.


function Request(requestOptions)  ignores POST & headers when dataType:'json' is used

This is a (multiple allowed):

[x] bug

[ ] enhancement

[ ] feature-discussion (RFC)

Framework7 Version: 2.2.1

Platform and Target: www - Window Chrome, Cordova & Android

What you did
Tried to send a JSON request while posting data and setting some custom headers in the process:
app.request({
    method: 'POST',
    crossDomain: true,
    contentType: 'application/json', // important
    url: 'http://www.google.com',
    dataType : 'json',
    headers: {
        'session-id': '1235455'
    },
    success: function(jsonData){
        console.log(JSON.stringify(jsonData));
    },
    error: function(xhr,status) {
        app.dialog.alert(status,xhr);
    }
});

Expected Behavior
Session ID should be added to the headers, and the request type should be post.
Actual Behavior
While looking into the chrome network browser, the method used actually was GET and the header was not added to the request.
Looking into the Framework7 code, it seems that it was caused by this code when dataType is set to json:
  // JSONP
  if (options.dataType === 'json' && options.url.indexOf('callback=') >= 0) {
    var callbackName = "f7jsonp_" + (Date.now() + ((jsonpRequests += 1)));
    var abortTimeout;
    var callbackSplit = options.url.split('callback=');
    var requestUrl = (callbackSplit[0]) + "callback=" + callbackName;
    if (callbackSplit[1].indexOf('&') >= 0) {
      var addVars = callbackSplit[1].split('&').filter(function (el) { return el.indexOf('=') > 0; }).join('&');
      if (addVars.length > 0) { requestUrl += "&" + addVars; }
    }

    // Create script
    var script = doc.createElement('script');
    script.type = 'text/javascript';
    script.onerror = function onerror() {
      clearTimeout(abortTimeout);
      fireCallback('error', null, 'scripterror');
      fireCallback('complete', null, 'scripterror');
    };
    script.src = requestUrl;

    // Handler
    win[callbackName] = function jsonpCallback(data) {
      clearTimeout(abortTimeout);
      fireCallback('success', data);
      script.parentNode.removeChild(script);
      script = null;
      delete win[callbackName];
    };
    doc.querySelector('head').appendChild(script);

    if (options.timeout > 0) {
      abortTimeout = setTimeout(function () {
        script.parentNode.removeChild(script);
        script = null;
        fireCallback('error', null, 'timeout');
      }, options.timeout);
    }

    return undefined;
  }

It just ignores all the headers, and options that have been set.
As a workaround setting  dataType : 'text' actually seems to work.

You need to remove callback=... from the URL request query, in this it loads resource as a script which doesn't allow any headers, etc.

Why should it be removed? This is not default behaviour. You should be able to send headers and post data, even when using the callback structure.
I need to send headers for authentication purposes.

When using callback it will be loaded as script instead of XHR request, this is by design


[Sporadic] Cannot delete a purpose even if it is not attached to a consent

There is a purpose which cannot be deleted. It is not attached to any consent of any user in the system. What can be the reason for this?

@dilinisg Do you have this particular setup with you ? The given information is too abstract to predict the issue

You can find the pack in [1].
[1] https://drive.google.com/file/d/1ixoU6BLhzrYHHiTcxDeUxL2lpS-ELYdI/view?usp=sharing

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


Subsecond Parsing:

Added ability to parse subsecond token on basis of given number of 'S' string.
Substitute of string with multiple 'S' to 'S' removed.
While searching for pattern, to handle subsecond a condition is added to match the 'S+' pattern.
For value, the value is being sliced by the length of token.

Closes: https://github.com/crsmithdev/arrow/issues/627

@sidshrivastav hey thanks for the contribution. Do you think that you can add some tests to show this in action?

Hey @sidshrivastav, I think we need a little more input from the community on this issue before proceeding with any new implementation. We'll review this at a later time.


vizro_ai_integration_tests

Description
integration tests for checking correct response of vizro-ai
Screenshot
Checklist

[x] I have not referenced individuals, products or companies in any commits, directly or indirectly
[x] I have not added data or restricted code in any commits, directly or indirectly
[ ] I have updated the docstring of any public function/class/model changed
[ ] I have added tests to cover my changes (if applicable)

Types of changes

[x] Docs/refactoring (non-breaking change which improves codebase)
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Notice

[x] I acknowledge and agree that, by checking this box and clicking "Submit Pull Request":

I submit this contribution under the Apache 2.0 license and represent that I am entitled to do so on behalf of myself, my employer, or relevant third parties, as applicable.
I certify that (a) this contribution is my original creation and / or (b) to the extent it is not my original creation, I am authorized to submit this contribution on behalf of the original creator(s) or their licensees.
I certify that the use of this contribution as authorized by the Apache 2.0 license does not violate the intellectual property rights of anyone else.

@l0uden Hi Alexey, can you add one small change of the dev version. @maxschulz-COL what would be the current version if we want to bump test pacakge? thank you!

Wait I don't understand, what do you mean?

@l0uden Hi Alexey, can you add one small change of the dev version. @maxschulz-COL what would be the current version if we want to bump test pacakge? thank you!

Wait I don't understand, what do you mean?

the test pypi version we want to update with the newest merge?

Ah ok got it! I already published a dev1 version earlier, so @l0uden can you make this dev2, just type hatch version dev twice

adjust the conditions under which this has to run

What does it mean?


NYPL DS giving nypl-footer extra space at the bottom

html {
@include font-settings;
// Including NYPL DS gave the footer extra space at the bottom.
@scooooooooby do we have a ticket to fix this?
Originally posted by @hokei in https://github.com/NYPL/nypl-library-card-app/pull/45

I think the extra space comes from the rule:
html {
    box-sizing: border-box;
}

In the library card app, I remove it by adding:
html {
  @include font-settings;
  // Including NYPL DS gave the footer extra space at the bottom.
  box-sizing: inherit;
}

@EdwinGuzman Ah, so previously card-creator was using a different box model?

@EdwinGuzman Hey Edwin, is this ticket still valid?

Closing out, as this is actually related to the footer itself. See bug RENO-1661.


Seeder not adding any data

The seeder is nit adding any data

@mohammad-azzam-dev please make sure you publish the package assets before seeding.
composer require nnjeim/world

php artisan vendor:publish --tag=world

php artisan migrate

php artisan db:seed --class=WorldSeeder (requires ~15min)

if you are upgrading from an older version
please run
php artisan vendor:publish --tag=world

Let me know if this will work for you.

I did nothing happened and also tried all the steps you sent

I did nothing happened and also tried all the steps you sent

@mohammad-azzam-dev
Please check your laravel logs, do you see any errors?

nothing found

@mohammad-azzam-dev without errors in logs, i can't help to debug the issue. please try to run:
php artisan optimize:clear

then seed.
if this will not work too. i suggest you try on a freshly installed Laravel package.

@here closed by lack of activity

Hello, After digging deeper inside the vendor files and reading the code, then debugging each line we found out that we have to increase the memory size inside the apache server for php  (php.ini).
set the memory_limit to -1
before:
memory_limit = 128MB
after:
memory_limit = -1
Thank you for my fallow team mate Bilal for helping me find the problem Bilal Abo Jamous (https://github.com/Bilal-AJ0)

@mohammad-azzam-dev thank you for the update. All the best!


fix(code-gen): support attribute binding syntax :<name>.attr

Summary
Added missing support for attribute binding syntax :<name>.attr.  Reference https://vuejs.org/api/built-in-directives.html#v-bind
For example

related to #992
The other way of binding attribute

I don't know how to fix yet. When debugging, prop.type for this syntax is CompilerDOM.NodeTypes.ATTRIBUTE while the above syntax is CompilerDOM.NodeTypes.DIRECTIVE. Not sure if that is Vue SFC compiler issue or not.
IMO, since both syntaxes are equivalent, their prop.type should be the same. Probably you have more insight with Vue team about that.
Test plan

Pick up any projects using vue-tsc
Create a SFC file with attribute binding syntax :<name>.attr in HTML part
Run vue-tsc against that SFC file and verify if no error occurs.

cc @johnsoncodehk

I will test it later, thank for the fix!

LGTM! but I forgot why not just use prop.arg.loc.source instead of prop.arg.content.substring(1), will add some tests for record in future.

I don't know how to fix yet. When debugging, prop.type for this syntax is CompilerDOM.NodeTypes.ATTRIBUTE while the above syntax is CompilerDOM.NodeTypes.DIRECTIVE. Not sure if that is Vue SFC compiler issue or not.

I think this is SFC compiler issue, because ^someProperty should :someProperty.attr be same in AST in intuition.


getJavaVersion has dangling \r

There's a \r at the end of currVersBase from the getJavaVersion, so the compare fails and will bug you in Self Service mode
Added a sed item to to kill \r: -e "s/"$'\r'"//g"
So it is now:
currVersBase=$( curl -sfA "${UAGENT}" "${URL}" 2>/dev/null | awk -F'[>|<]' '/Version/{print}' | sed -e 's/Version //;s/ Update /./' -e "s/"$'\r'"//g")

Hi brunerd.
Thanks. I had seen that extra carriage return myself, and, at one point had fixed it (with a perl snippet, but sed works just as well), but my bad, I forgot to add that update into the script posted here. I'll be sure to update it with the correct code.
I'm working on a new version of the script with more features so a lot of my focus has been on that script, which is probably why I forgot to add it in to this version. At least that's my story and I'm sticking to it :)


[release-1.4] Fix affinity translation (#690)

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

Test name
Commit
Details
Rerun command

test_operator_release-1.4
b7ec18b98efa8e2f3bf970ef3d1b7e8394e2fc17
link
/test test_operator_release-1.4

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

Q: @richardwxn  are simply giving ability to do pod affinity or configuring it in a specific way?

cherrypick of #690

/test test_operator_release-1.4

@mandarjog this is for the manifest migrate command fix only, it doesn't change the way how we configure the affinity setting under k8s spec of IstioControlPlane CR

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

Test name
Commit
Details
Rerun command

test_operator_release-1.4
b7ec18b98efa8e2f3bf970ef3d1b7e8394e2fc17
link
/test test_operator_release-1.4

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

/retest

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

Test name
Commit
Details
Rerun command

test_operator_release-1.4
b7ec18b98efa8e2f3bf970ef3d1b7e8394e2fc17
link
/test test_operator_release-1.4

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

/retest

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

Test name
Commit
Details
Rerun command

test_operator_release-1.4
b7ec18b98efa8e2f3bf970ef3d1b7e8394e2fc17
link
/test test_operator_release-1.4

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

/test test_operator_release-1.4

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

Test name
Commit
Details
Rerun command

test_operator_release-1.4
b7ec18b98efa8e2f3bf970ef3d1b7e8394e2fc17
link
/test test_operator_release-1.4

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


Add keystore decodeing

Add support for decoding PKCS12 Android Keystores (DecodeKeystore).
DecodeKeystore expects one certificate and one private key inside the PKCS12 keystore file. Each item is expected to have the same alias as the first bag attribute.
Sentinel errors are returned when keystore password, alias, or key passwords are incorrect.

Can you please give access to the CI?

@lpusok added the team to the CI


Test for missing Environment Variables

Is there some way we can fail a test if we're missing a Kibana yml setting as environment variable?   For example, SERVER_DEFAULTROUTE ( server.defaultRoute) does not appear to be supported.

There seems to be quite a few missing variables.  One that's critical to my team is SERVER_DEFAULTROUTE.  It's not currently available/working as an environment variable but does work as a yml config: server.defaultroute

IIRC @jarpy or @dliappis mentioned that they plan to redo the way how environment variables are exposed, so it would not require a white list.

server.defaultRoute was added in a couple of weeks ago. Which images version are you having trouble with? Have you pulled the latest updates?

We will definitely have a long-term solution to the environment variable problem, no later than 6.0.
The hardest part is choosing a format that works for all products and meets all these requirements:

Kubernetes and Bash do not support dots in names
We'll probably just translate underscores to dots. But does/will any of our products have actual underscores in a config option? If they do, then translating them to dots will break something.
Case-mangling requires "blessed" variables for Kibana
Environment variables are traditionally in all-caps. However, Kibana uses mixed-case names for configuration items, so in the context of Kibana, case-mangling actually destroys information. We can't programmatically map SERVER.DEFAULTROUTE to server.defaultRoute without capturing the extra information in advance. This is what led to the blessed variable whitelist and the inevitable problems associated with it. Double-declaration is a terrible thing to do, I freely admit!
I would love it if Kibana could accept --server.defaultroute instead.
The environment is a shared namespace
We can't map every environment variable to process options. Some of the variables that are set will be "foreign", like $PATH, $HOME, and $TERM.
We might have to namespace all our variables like: kibana.server.defaultRoute.

As far as I can see, currently, the only format that would work for all cases is this:
es_default_path_data
kibana_maxPayloadBytes
ls_pipeline_workers
It looks pretty ugly, but I'm not sure we have much choice. I'm very interested in your thought and feelings, @dliappis

To answer the initial question about testing, I think the only thing that would work is to generate the blessed variable list from the Kibana source code or documentation. That's quite tricky, and is made even more so by the fact that X-Pack introduces additional options.
I don't think there's any value in writing explicit tests for the individual variables, since, if you know/remember to write the test, then you know to add support for the option. The biggest source of error is the image (and its maintainer) not being aware of changing options in Kibana.

As far as I can see, currently, the only format that would work for all cases is this:
es_default_path_data

@jarpy It occurred to me that es already accepts the parameter ES_JAVA_OPTS to override jvm options like the default heap size, so, (regardless of the capitalization) the wrapper needs to treat this env var as an exception. I  am going discuss with @jasontedor tomorrow, whether there are other exceptions we need to be aware of and the best way to mitigate this -- as we all know that exceptions usually create problems in the long run.
For the kb_ and ls_ prefix I am perfectly happy, however, let's wait one more day to finalize the alternative env var definition scheme for ES so that we are consistent with the capitalization across all images.

+1 for improving handling of environment variables, I'd like to enable 'elasticsearch.logQueries: true', and now it looks only option is to build own image

There certainly is room for improvement with environment variable configuration. However, building a custom image is not the only alternative.
There's a third option, which is the one which we recommend for most circumstances, and that's bind-mounted configuration. Because Kibana uses a YAML based configuration file, the resulting config can be quite a complex data structure. It's genuinely hard to represent such a data structure with a system of environment variables.

As jarpy mentioned, probably the most consistent for now is to bind mount kibana.yml.  Going forward we'll be look into automating the whitelist, and later possibly adopting elasticsearch's approach.
We're migrating issues to the kibana repo and are tracking this at https://github.com/elastic/kibana/issues/30598.


fix(version): update fabric8-stack-analysis-ui to 0.1.7

@fabric8cd snapshot fabric8-ui is deployed and available for testing at https://fabric8-ui-fabric8-ui-pr-732.int.rdu2c.fabric8.io


Menus do not align with High Contrast

VSCode Version: 1.1.1
OS Version: Windows Server 2012 R2

Steps to Reproduce:

Switch the color theme to High Contrast.
Click any menu item from the menu bar, the dropdown menu is displayed. But the background color is white, and the foreground (text) color is white too.
When mouse over the dropdown menu item, you can see the foreground color changes to black and you can see the menu itme.

@ricklang seems better now?

Yes, it is better under standard Windows color theme.
If the Windows color theme is Hight Contrast Black, and the VSCode color
theme is High Contrast, still can't see the menu. But I can the shortcut
keys. VSCode Version: 1.5.2.
Also is it possible to adjust the background color (white) for the dropdown
menu based on color theme. There was a time (can't remember the version
number) that the background color is somewhat dark color.
Thanks.
Rick
[image: Inline image 1]
On Sun, Sep 18, 2016 at 3:23 AM, Benjamin Pasero<EMAIL_ADDRESS>wrote:

[image: image]
https://cloud.githubusercontent.com/assets/900690/18613771/79160bb0-7d81-11e6-918b-451e458218c9.png
@ricklang https://github.com/ricklang seems better now?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Microsoft/vscode/issues/6629#issuecomment-247831167,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AK7rShrq3C7SleZqKzTbhrOMosVcX8wMks5qrOb1gaJpZM4IkAma
.

Ok, it improved a lot (compared to before where you could not see menu entries), but still lacks some features from the windows HC theme.

https://github.com/Microsoft/vscode/issues/17177


Documentation Examples

Hello!
I would like to experiment with this CDK construct and contribute.
How test and verify that the ParallelCluster is performing as expected?

Hi @pradoz - please refer to the "Setup" instructions in the readme to understand how to deploy this CDK app, then check out the ParallelCluster documentation to learn about the cluster configuration.
To check on the status of the cluster after deployment, you can look at the stacks in the CloudFormation console. Assuming there were no issues in the deployment process, you should have an EC2 instance running which serves as the cluster head node - you can connect to this via SSH (or Systems Manager if you left the AmazonSSMManagedInstanceCore additional IAM policy in place).
Another thing to note is that this repository contains a CDK app, not a construct. There is currently no CDK construct for ParallelCluster - this app is intended to demonstrate how you can use a Custom Resource as an alternative.

Thanks @ChrisDowning, and good point regarding app vs construct.
What are your initial thoughts on replacing OpenZFS/Lustre/EFS with something like mountpoint-s3?


Changing Fortran UMAT Header

All Headers of the existing Fortran routines must be changed and recompiled

We should name it UMAT


Add a Generic instance for tuple

It seems odd that tuple does not have a Generic instance while other "greatest hits of ADT" data types like Maybe do have one. Would it make sense to add one? Or is the omission intentional?

It doesn't?
https://github.com/purescript/purescript-tuples/blob/d4fe8ffe9e8c512111ee0bc18a6ba0fd056a6773/src/Data/Tuple.purs#L85
:smile:

🤦


chef_client_scheduled_task splay property doesn't accept 0

Description
chef_client_scheduled_task splay property doesn't accept 0 even though the description says it'll take any integer from 0-x
Chef Version
17.10.3
Platform Version
any windows version
Replication Case
use the chef_client_scheduled_task resource to configure windows to run chef-client and try to make property  splay = 0
Client Output
Error requiring integer larger than 0

Could you give more context about why the splay would beed to be 0? It sounds like the documentation does say that splay is a number between 0 and x. https://docs.chef.io/config_rb_client/.

Documentation does say 0 and x but the way the code is written it doesn't allow 0. You have to use greater than or equal to allow 0. Right now code only allows 1 and x. A user may not want a splay and may want all clients to run exactly on their normal interval which would mean a splay of 0. They may be running servers at different intervals, relying on different boot up times for the randomness or have other coded means to control chef-client runs.

In the case of Optum they are configuring the splay in the client.rb file and this resource would add an extra splay as it wouldn't start the chef-client until it's splay is being hit which then makes them additive since client.rb would then add another splay waiting period. They want to be able to set the cron or systemd timer splay to 0 and rely on the client.rb splay they have set.


python310Packages.docstring-parser: 0.14.1 -> 0.15

Diff: https://github.com/rr-/docstring_parser/compare/0.14.1...0.15
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 229187 run on x86_64-linux 1

26 packages built:

napari (python310Packages.napari)
napari.dist (python310Packages.napari.dist)
python310Packages.chat-downloader
python310Packages.chat-downloader.dist
python310Packages.deal
python310Packages.deal.dist
python310Packages.docstring-parser
python310Packages.docstring-parser.dist
python310Packages.icontract
python310Packages.icontract.dist
python310Packages.magicgui
python310Packages.magicgui.dist
python310Packages.napari-npe2
python310Packages.napari-npe2.dist
python310Packages.pylddwrap
python310Packages.pylddwrap.dist
python311Packages.chat-downloader
python311Packages.chat-downloader.dist
python311Packages.deal
python311Packages.deal.dist
python311Packages.docstring-parser
python311Packages.docstring-parser.dist
python311Packages.icontract
python311Packages.icontract.dist
python311Packages.pylddwrap
python311Packages.pylddwrap.dist


Agent can't connect to server on same host

Basically as described here: https://forums.rancher.com/t/cant-get-rancher-agent-running-on-the-same-host-as-the-rancher-server/7156
Agent running on same machine as the server can't connect. Have set the CATTLE_AGENT_IP env variable as seems to be the common problem, but no joy..

As I stated above and in the Forum post, I have tried that and get the same behaviour...

For anyone finding this issue, the cause was the /etc/hosts file on that machine was pointing to the wrong IP for the domain name the rancher server was advertising! Many thanks to @superseb for the help!


Bug

$ youtube-dl --verbose -cit --max-quality FORMAT --extract-audio --audio-format mp3 https://www.youtube.com/playlist?list=PLkMRAPworbEelkUPJrQEF5pBTVgzNLxWG
[debug] System config: []
[debug] User config: []
[debug] Command-line args: ['--verbose', '-cit', '--max-quality', 'FORMAT', '--extract-audio', '--audio-format', 'mp3', 'https://www.youtube.com/playlist?list=PLkMRAPworbEelkUPJrQEF5pBTVgzNLxWG']
[debug] Encodings: locale 'UTF-8', fs 'UTF-8', out 'UTF-8', pref: 'UTF-8'
[debug] youtube-dl version 2014.02.17
[debug] Python version 2.7.6 - Linux-3.13.0-39-generic-x86_64-with-Ubuntu-14.04-trusty
[debug] Proxy map: {}
[youtube:playlist] PLkMRAPworbEelkUPJrQEF5pBTVgzNLxWG: Downloading page #1
WARNING: [youtube:playlist] PLkMRAPworbEelkUPJrQEF5pBTVgzNLxWG: Playlist page is missing OpenGraph title, falling back ...
ERROR: Unable to extract title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1511, in _real_extract
playlist_title = self._og_search_title(page)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 428, in _og_search_title
return self._og_search_property('title', html, **kargs)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 416, in _og_search_property
escaped = self._search_regex(self._og_regexes(prop), html, name, flags=re.DOTALL, **kargs)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract OpenGraph title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/youtube_dl/YoutubeDL.py", line 493, in extract_info
ie_result = ie.extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 158, in extract
return self._real_extract(url)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/youtube.py", line 1517, in _real_extract
r'(.*?)', page, u'title')
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 366, in _html_search_regex
res = self._search_regex(pattern, string, name, default, fatal, flags)
File "/usr/lib/python2.7/dist-packages/youtube_dl/extractor/common.py", line 356, in _search_regex
raise RegexNotFoundError(u'Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract title; please report this issue on https://yt-dl.org/bug . Be sure to call youtube-dl with the --verbose flag and include its complete output. Make sure you are using the latest version; type  youtube-dl -U  to update.

You are using an outdated version of youtube-dl. Refer to our FAQ if you have trouble updating.

While you're at it, our FAQ also explains why the options you're passing in don't make any sense.


Add konflux-eaas kubesaw tier

The user should only be allowed to create select resources (ClusterTemplateInstance, Secrets) in the provisioned namespace.

@dperaza4dustbit please review the new konflux-eaas tier. I'm also looking for some guidance about the rest.
I didn't intend these change but ksctl generate nstemplatetiers forces them on me:

metadata.creationTimestamp is set to null on all generated resources. Perhaps this is a recent change with ksctl but they should be non-harmful.
A new admin TierTemplate was created for the appstudio and appstudiolarge tiers. The previously generated versions lacked some RBAC rules for roles, rolebindings, serviceaccounts, and serviceaccount/tokens. I haven't removed the older admin TierTemplate considering I'd rather not touch these files to begin with. What should be done about this?

I'm running the latest ksctl version.
> ksctl --version
ksctl version commit: 'c6809574a6394a38284860ddd88999e2e30b073c-dirty', build time: '2024-07-25T18:58:24Z

@dperaza4dustbit @sadlerap @filariow please review. The issues with ksctl were resolved with #4190 (although I did manually delete the null creationTimestamps). Thanks for fixing that!


Skip fetching access token when opening context menu in OE

This PR fixes https://github.com/microsoft/azuredatastudio/issues/21363
Call to fetch access token can be safely skipped when opening context menu, as it will eventually be fetched when any action is taken on server tree nodes.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

2 of 3 (66.67%)  changed or added relevant lines in 2 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.001%) to 42.074%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/sql/workbench/services/objectExplorer/browser/serverTreeActionProvider.ts
0
1
0.0%

Files with Coverage Reduction
New Missed Lines
%

extensions/sql-bindings/src/common/azureFunctionsUtils.ts
1
80.65%

Totals

Change from base Build<PHONE_NUMBER>:
0.001%

Covered Lines:
28592

Relevant Lines:
63122

💛  - Coveralls


useHead does not working with vue router

Hi,
I try to set my head of a website with multiple pages.
On the root it works like a charm. But if I visit subsites the head section will be untouched.
These are my dependencies:
"dependencies": {
    "@unhead/addons": "^1.0.20",
    "@unhead/vue": "^1.0.18",
    "@vueuse/head": "^1.0.23",
    "unhead": "^1.0.18",
    "vue": "^3.2.31",
    "vue-router": "^4.1.6"
  },
  "devDependencies": {
    "@tailwindcss/typography": "^0.5.9",
    "@vitejs/plugin-vue": "^2.2.4",
    "@vue/compiler-sfc": "^3.2.31",
    "autoprefixer": "^10.4.2",
    "daisyui": "^2.6.0",
    "postcss": "^8.4.7",
    "tailwindcss": "^3.0.23",
    "vite": "^2.8.6"
  }
}

I use this lib like this in every view:
<script>
.....
import { useHead } from "@vueuse/head";

export default {
  components: {
    ....
  },
  setup() {
    useHead({
      title: "....",
      htmlAttrs: {
        lang: "de",
      },
      meta: [
        {
          name: "description",
          content:
"...."        },
      ],
      link: [
        { rel: "canonical", href: "h...." },
        {
          rel: "alternate",
          hreflang: "x-default",
          href: "....",
        },
        {
          rel: "alternate",
          hreflang: "de",
          href: "....",
        },
      ],
    });
  },
};
</script>

Any ideas?
Thank you in advance.
Best
Michael

It seems that it was a caching problem. Sorry for this issue.

Closed, from my point of view.

No problem, glad you could sort it :)


Fix AttributedString.UnicodeScalarView.distance(from:to:) availability

In macOS 14 aligned releases we added a "back deployed" AttributedString.UnicodeScalarView.distance(from:to:) function. However, the availability check in the emitted implementation attempts to call the entrypoint within Foundation on macOS 13 aligned releases due to an incorrect availability annotation. This updates the annotation so that building against an SDK that contains this change and back deploying to macOS 13 no longer causes a crash at runtime.

@swift-ci please test


error for matrix 7x7 multiply

I tried two matrix 7x7 multiply, PE_array 8x8, I've got the following message:
layer_n: 2 {'B': 7, 'K': 7, 'C': 7, 'OY': 1, 'OX': 1, 'FY': 1, 'FX': 1, 'SY': 1, 'SX': 1, 'SFY': 1, 'SFX': 1, 'PY': 0, 'PX': 0, 'G': 1}
ZigZag started running.
Target workload: AlexNet | Layer(s): [2]
MEM HIERARCHY  1 / 1
memory size: {'W': [3584,<PHONE_NUMBER>0], 'I': [192, 884736,<PHONE_NUMBER>0], 'O': [384, 884736,<PHONE_NUMBER>0]}
memory unroll: {'W': [64, 1], 'I': [64, 1, 1], 'O': [64, 1, 1]}
memory share: {0: [('W', 1), ('I', 2), ('O', 2)], 1: [('I', 1), ('O', 1)]}
11:59:20 AlexNet L 2 , M 1 / 1  SUG started
Process Process-2:1:
Traceback (most recent call last):
File "/home/jon/Projects/zigzag-ug/msg.py", line 1186, in spatial_unrolling_generator_even
return spatial_loop_list, flooring_list, mem_scheme, not_good
UnboundLocalError: local variable 'not_good' referenced before assignment
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/jon/anaconda3/envs/py36/lib/python3.6/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/home/jon/anaconda3/envs/py36/lib/python3.6/multiprocessing/process.py", line 93, in run
self._target(*self._args, **self.kwargs)
File "/home/jon/Projects/zigzag-ug/evaluate.py", line 768, in mem_scheme_evaluate
input_settings.spatial_unrolling_mode)
File "/home/jon/Projects/zigzag-ug/msg.py", line 1189, in spatial_unrolling_generator_even
'No spatial unrolling found. Consider lowering down the spatial_utilization_threshold in setting file.')
ValueError: No spatial unrolling found. Consider lowering down the spatial_utilization_threshold in setting file.
Traceback (most recent call last):
File "slam_top_module.py", line 234, in
of.print_helper(input_settings, layers, layers_saved, multi_manager)
File "/home/jon/Projects/zigzag-ug/output_funcs.py", line 1756, in print_helper
parent_str = 'L%d' % layers[j].parent
TypeError: %d format: a number is required, not NoneType

Hi cstutor888,
Could you attach all your setting files and the workload file? So that I can reproduce the error you got and check where could the issue be.
Best regards,
Linyan

Hi cstutor888,
I received your files and had a look. The issue you had is due to that the spatial mapping search engine cannot find a valid design point with the utilization threshold you set. What you need to do is change 2 things in the settings.yaml: (1) reduce the spatial_utilization_threshold from the original 0.9 to a lower value, like 0.5; (2) change the spatial_unrolling_search_method to greedy_mapping_without_hint, which allows mapping any spatial loop size to any array size (e.g., map loop size 7 of an array size of 8 in your case).
Best regards,
Linyan


accessCheck deprecation not detected if query returned from method

Bug report
This is just the hardest deprecation to detect...
My guess is that because the query is setup in one method but the execution happens in several others the detection is never triggered.
Code snippet that reproduces the problem
I think this should be an accurate example of the problem. I had a helper that setup a base query that was used in several parts of the class to target a specific node type in a specific state.
class Foo {
  public function test1() {
    $this->getNodeQuery()->condition('field_two', 'bugaloo')->execute();
  }

  private function getNodeQuery() {
    return \Drupal::entityQuery('node')
      ->accessCheck(TRUE)
      ->condition('type', 'node_type')
      ->condition('status', 1)
      ->sort('field_publish_date', 'DESC');
  }
}

Similar to https://github.com/mglaman/phpstan-drupal/issues/437

yeah for sure. Only reported it separate because wasn't sure they could be fixed the same way.

😅 probably definitely not


What abilities do you most wish to add to Jarvis?

Jarvis is the built-in AI Agent in OpenDAN and serves as the primary operational channel for users to access various AI capabilities.  Today, we have released the Jarvis Discord bot. With it, you will be able to communicate with Jarvis on the Discord app on any device and utilize various AI capabilities on the server through Jarvis.
Right now we have developed Stable Diffusion functional module, twitter functional module, Youtube video analysis function module and it's not complicated to add more functional modules with the OpenDAN develop framework.
What abilities do you most wish to add to Jarvis?
Feel free to let us know.

Any way to use it with an LLM ui like Oobabooga? Will also be nice to add custom personality to Jarvis.

Any way to use it with an LLM ui like Oobabooga? Will also be nice to add custom personality to Jarvis.

Yes, using ChatGPT as the LLM engine is just a temporary solution. As a personal AI OS that prioritizes privacy as its key feature, the internal AI agents are certainly driven by locally running LLMs. However, the current level of intelligence in open-source LLMs is not yet sufficient to support stable task execution.
However, in scenarios like companion robots, open-source LLMs can work very well.  MyGirlGPT is our team's another AI agent example project , and it is internally powered by an open-source LLM. Have fun to check it out and play.

@fiatrete
How about smart home control?

Ha... So coincidence. I've wrote a simple game to mimic that just now.

@fiatrete How about smart home control?


Proj support

Hi
When I call ProjTransform->backward() or ProjTransform->forward() with any projection different from 4326 and 3857 i get segmentation fault.
Mapnik compiled from source with proj4 support, tested on debian and alpine.
example:
$boundingBox = new Box2D($minX, $minY, $maxX, $maxY);
$source = new Projection('+init=epsg:4326');
$destination = new Projection('+init=epsg:32638');
$transform = new ProjTransform($source, $destination);
$tileBoundingBox = $transform->backward($boundingBox);

Thank you for reporting! 1.2.2 includes the fix.


Update how-to-recover-workspace-after-tenant-move.md

It seems we need to set a value for $contentType, otherwise it will hit exception.
$contentType = 'application/json'
PS C:\WINDOWS\system32> $bodyJson = @{identity= @{type='None'}}| ConvertTo-Json
Invoke-RestMethod -Method PATCH -Uri $url -ContentType $contentType -Headers $header -Body  $bodyJson;
Invoke-RestMethod : {"error":{"code":"UnsupportedMediaType","message":"The content media type '' is not supported. Only 'application/json' is supported."}}
At line:2 char:1

Invoke-RestMethod -Method PATCH -Uri $url -ContentType $contentType - ...

  + CategoryInfo          : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
  + FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand

@matt1883
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@matt1883
Can you review this old PR and determine whether it needs to be closed or merged?

#sign-off


ModuleNotFoundError: No module named 'aioquic._buffer'

1

aioquic version: 0.9.11
centOS 7 System
python 3.6
Maybe the aioquic directory should not be contained in examples/. Otherwise, an error mentioned above will occur. Even if “pip install -e .” is performed, the _buffer can not be found in aioquic.

I solved the problem by renaming the aioquic directory in example directory.

close

I made a mistake.

I made a mistake.
what mistake? i have same issue with pycharm
@machao0322

My guess would be that the package was not installed. Try pip install -e .

My guess would be that the package was not installed. Try pip install -e .

Thank you for your reply, but not really,  aioquic has been installed,  run the code  in terminal successfully.
/Users/mac/.conda/envs/aioquic/bin/python /Users/mac/python/aioquic/examples/http3_client.py --ca-certs tests/pycacert.pem  https://localhost:4433/
but running with pycharm always error,  i am a noob with pycharm
i think that i should ask the question pycharm issues，sorry to bother you

pip install -e .
thanks a lot, it works for me


[en] Shortcode fixes

Hugo v0.111.x will throw an error if shortcodes are not correctly closed. (https://github.com/gohugoio/hugo/issues/10675)
This PR brings fixes this issue for the en locale.

Thanks.
/lgtm
/approve


oss: define database format

want to be able to lookup from string to library details.
desirable fields:

library name
library version
file name
function name

might also be nice to have a hyperlink to a source location on github codesearch, but this is not priority.

maybe we should use the jsonl format (rather than wrapping the list in [] then each line is implied to be a json object). this way we can easily concatenate the database files together.

database sizes for some libraries i had previously processed:

proposing
https://github.com/mandiant/flare-floss/blob/4bdf5c93afdf5ebc36b9d30914fd6e6eeb3d0499/floss/qs/db/oss.py#L9-L35
and tests https://github.com/mandiant/flare-floss/blob/quantumstrand/tests/test_oss_db.py
in 4bdf5c9
ok @mr-tz ?

one additional case are open source strings that we still extract from binaries, for those file_path (and maybe function_name) may be unavailable or differ, we can add a new class for those though

good point, i'll mark file name and function name as optional, too


doc:  golang documentation for gccgo repository incorrect

The golang documentation on contributing to gccgo contains the wrong repository:
http://golang.org/doc/gccgo_contribute.html#tmp_2
It has recently changed from hg to git.

cc @iant
On 1 July 2015 at 05:48, laboger<EMAIL_ADDRESS>wrote:

The golang documentation on contributing to gccgo contains the wrong
repository:
http://golang.org/doc/gccgo_contribute.html#tmp_2
It has recently changed from hg to git.
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/11486.

http://tip.golang.org/doc/gccgo_contribute.html#tmp_2 is better, is there a process for updating the docs at golang.org for this sort of thing?

It'll be updated when Go 1.5 is released.

Until then there is no documentation to identify where to find the
gofrontend repository.
On 06/30/2015 06:51 PM, Andrew Gerrand wrote:

It'll be updated when Go 1.5 is released.
—
Reply to this email directly or view it on GitHub
https://github.com/golang/go/issues/11486#issuecomment-117374205.


General Code Improvement 2

This pull request is focused on resolving occurrences of Sonar rule
squid:S00108 Nested blocks of code should not be left empty
squid:S1155 Collection.isEmpty() should be used to test for emptiness
You can find more information about the issue here:
https://dev.eclipse.org/sonar/rules/show/squid:S00108
https://dev.eclipse.org/sonar/rules/show/squid:S1155
Please let me know if you have any questions.
Zeeshan Asghar

Thanks for your help! 🙇


Add two projects, which built with yew + graphql.

tide-async-graphql-mongodb - Clean boilerplate for graphql services, with wasm/yew frontend.
surfer - A blog built on yew + graphql, with live demo site. Backend for graphql services, and frontend for web application.

thanks


Documentation missing

I'm seriously missing documentation for the OpenGDS project.
The help windows luckily give some information, but I could not find any documentation explaining concepts or how to use the software. It's more trial-and-error for discovering how things work, than reading what concepts are and how to use them.

Under Help->GOOP Help… you’ll find some basic help.
(or you can just open the help html file: file:///C|/Program%20Files/National%20Instruments/LabVIEW%202016/resource/Framework/Providers/Open_GDS/HelpFiles/OpenGDS_GOOPHelp.htm)
You can view the videos as well:
http://www.youtube.com/watch?v=UcUj_Gl1JdI
https://www.youtube.com/watch?v=hdcHYS_ZFr8
http://www.youtube.com/watch?v=_BvIiU2VMAU
http://www.youtube.com/watch?v=ZWeO_wPe-VQ
http://www.youtube.com/watch?v=OunqB9UdR6o
http://www.youtube.com/watch?v=VncaD_pKe_s
http://www.youtube.com/watch?v=i77lHDIMs_s
I do have some more videos I like to post:

Describing the Conversion tool of Java/C# code to LabVIEW.
Tools->GOOP/Conversion->Convert Text based code to LabVIEW
The New Class Tool…
Cheers,
Mike


notify new receivers on Twitter via a twitter bot

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/316513-notify-new-receivers-on-twitter-via-a-twitter-bot?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F85909&utm_medium=issues&utm_source=github).

This didn't work, none of the people notified end up joining. Moreover, we're not supporting pledging anymore, so I'm closing this.


Exception when connecting nodes

Hi,
I am testing connecting nodes using the sample code:
        let file = try? AKAudioFile(readFileName: "005.wav", baseDir: .resources)
        let player = try? AKAudioPlayer(file: file!)

        let delay = AKDelay(player!)
        delay.time = 0.1 // seconds
        delay.feedback  = 0.8 // Normalized Value 0 - 1
        delay.dryWetMix = 0.2 // Normalized Value 0 - 1

        let reverb = AKReverb(delay)
        reverb.loadFactoryPreset(.cathedral)

        AudioKit.output = reverb
        AudioKit.start()

        player!.play()

When running on the simulator, it is crashed with following message:

TestAudioKit[3890:89164] [central] 54:   ERROR:    >avae> AVAudioEngineGraph.mm:1365: RemoveNode: required condition is false: !nodeMixerConns.empty() && !hasDirectConnToIONode
2017-03-08 22:11:31.935 TestAudioKit[3890:89164] *** Terminating app due to uncaught exception 'com.apple.coreaudio.avfaudio', reason: 'required condition is false: !nodeMixerConns.empty() && !hasDirectConnToIONode'

If I only use the delay or reverb filter, it can work properly.
Can anyone please help?

INstead of setting up the nodes as local variables, make them all instance variables in the class.  Not exactly sure why this fixes things, but it recently appeared and its not too much of a hassle to do it that way.

After changing the nodes to class properties, it works now. Thanks a lot!

Glad to help.


Conversion to Godot v4.1

Hi,
I just converted the project from you n a godot 4.1 project and added nothing else.
I do not know if all the functions are converted correctly. But I did not notice anything.
Maybe it helps you :)
Keep up the good work!
Best regards
Tua

omg...
I just saw, that you already have a Godot 4.X version... (https://github.com/godotrecipes/3d_spaceship)
sorry 😵💫


Timeouts due to sequence axioms

The attached project state times out (but it's unstable, slight changes make it not time out) and the profiler shows mainly sequence axioms being used.
ping @utaal
2024-11-18-18-32-57.zip

It turns out that this was due to a definition with nested if-else that caused a lot of case splits.