Recursively build checksum for SLSA

Some models (TF SavedModel format) are saved as a directory of assets, not just a single file. Hence, we need special handling to cover them when generating SLSA provenance.

Let me run a verification for both cases. I think double hashing might have issues for models that are just a single file

good point. Hoo, and the slsa-verifier does not understand folder hashing yet

Silly question but is this the same hash we get in the model signing library?  Would be nice for them to be aligned.

Unfortunately, right now I don't think they are the same. But we should create an issue for this in the future to match.
We'll need to also change verifier to record that this hash is computed by this library, probably also need to record this in the provenance

@laurentsimon I actually think this PR works. I just downloaded the artifacts from https://github.com/mihaimaruseac/model-transparency/actions/runs/6632440974 (which was run on my fork just before creating this PR) and unzipped them.
The attestation (needed to be unzipped too, it seems) has the following subjects:
# cat multiple.intoto.jsonl | jq -r .payload | base64 -d | jq .subject
[
  {
    "name": "tensorflow_saved_model/fingerprint.pb",
    "digest": {
      "sha256": "7d52a854279e02d473e068dd326fb98a1e905b8ba7e6ec7a3b0f42f5987ca0e2"
    }
  },
  {
    "name": "tensorflow_saved_model/keras_metadata.pb",
    "digest": {
      "sha256": "29c28d5a8128920a1af478da068e338d58cf9306d66c57aee7ee36de11dc6c82"
    }
  },
  {
    "name": "tensorflow_saved_model/variables/variables.data-00000-of-00001",
    "digest": {
      "sha256": "f0add8686ac32726901782837596cda826c9f033591f0602f97bef50ee7add31"
    }
  },
  {
    "name": "tensorflow_saved_model/variables/variables.index",
    "digest": {
      "sha256": "617f47238c089df58c055ce329c73014ce064650899b1c85aadc1066dbbf57ea"
    }
  },
  {
    "name": "tensorflow_saved_model/saved_model.pb",
    "digest": {
      "sha256": "ff7fb63a9f8218737e1effa463940b27c2330f8b2c5f2dfb966e2d2544279bd8"
    }
  }
]

Verification also succeeds, once you pass the arguments correctly:
mihaimaruseac@ankh:~/src/repos/gosst/slsa-verifier$ go run ./cli/slsa-verifier/{main,verify}.go verify-artifact --provenance-path /tmp/verify/tf/multiple.intoto.jsonl --source-uri github.com/mihaimaruseac/model-transparency /tmp/verify/tf/{fingerprint.pb,keras_metadata.pb,saved_model.pb,variables/*}
Verified signature against tlog entry index 45180918 at URL: https://rekor.sigstore.dev/api/v1/log/entries/24296fb24b8ad77a11ce42c9f7aa985a05c7d30467a77d14c9d96bddf7b9fa29657f72a86cde7b82
Verified build using builder<EMAIL_ADDRESS>at commit 831b9521692f564156a61998b2478378e7dc6f49
Verifying artifact /tmp/verify/tf/fingerprint.pb: PASSED

Verified signature against tlog entry index 45180918 at URL: https://rekor.sigstore.dev/api/v1/log/entries/24296fb24b8ad77a11ce42c9f7aa985a05c7d30467a77d14c9d96bddf7b9fa29657f72a86cde7b82
Verified build using builder<EMAIL_ADDRESS>at commit 831b9521692f564156a61998b2478378e7dc6f49
Verifying artifact /tmp/verify/tf/keras_metadata.pb: PASSED

Verified signature against tlog entry index 45180918 at URL: https://rekor.sigstore.dev/api/v1/log/entries/24296fb24b8ad77a11ce42c9f7aa985a05c7d30467a77d14c9d96bddf7b9fa29657f72a86cde7b82
Verified build using builder<EMAIL_ADDRESS>at commit 831b9521692f564156a61998b2478378e7dc6f49
Verifying artifact /tmp/verify/tf/saved_model.pb: PASSED

Verified signature against tlog entry index 45180918 at URL: https://rekor.sigstore.dev/api/v1/log/entries/24296fb24b8ad77a11ce42c9f7aa985a05c7d30467a77d14c9d96bddf7b9fa29657f72a86cde7b82
Verified build using builder<EMAIL_ADDRESS>at commit 831b9521692f564156a61998b2478378e7dc6f49
Verifying artifact /tmp/verify/tf/variables/variables.data-00000-of-00001: PASSED

Verified signature against tlog entry index 45180918 at URL: https://rekor.sigstore.dev/api/v1/log/entries/24296fb24b8ad77a11ce42c9f7aa985a05c7d30467a77d14c9d96bddf7b9fa29657f72a86cde7b82
Verified build using builder<EMAIL_ADDRESS>at commit 831b9521692f564156a61998b2478378e7dc6f49
Verifying artifact /tmp/verify/tf/variables/variables.index: PASSED

PASSED: Verified SLSA provenance

After unzipping the files from https://github.com/mihaimaruseac/model-transparency/actions/runs/6632442016 we can also verify the single file scenario:
mihaimaruseac@ankh:~/src/repos/gosst/slsa-verifier$ go run ./cli/slsa-verifier/{main,verify}.go verify-artifact --provenance-path /tmp/verify/pt/pytorch_model.pth.intoto.jsonl --source-uri github.com/mihaimaruseac/model-transparency /tmp/verify/pt/pytorch_model.pth
Verified signature against tlog entry index 45172090 at URL: https://rekor.sigstore.dev/api/v1/log/entries/24296fb24b8ad77aba51e418ce36828f790c58a0f1304246a31eaadc35f36c2a0d03aabeb4b9ab07
Verified build using builder<EMAIL_ADDRESS>at commit 831b9521692f564156a61998b2478378e7dc6f49
Verifying artifact /tmp/verify/pt/pytorch_model.pth: PASSED

PASSED: Verified SLSA provenance

I'm saying that for now we can go with this PR, since each component of the model has its own provenance and later work on generating provenance for a model as a single entity, matching the hash for the entire model from the signing part.
@haydentherapper @smeiklej what do you think?

This will be pending after #49 at which point we might do a different scheme

I've updated the PR to:

Remove the directory models
Fix the hash generation to be for single-file models


[ENG-5022] print learn more link before uploading archive to S3

Checklist

[ ] I've added an entry to CHANGELOG.md if necessary. You can comment this pull request with /changelog-entry [breaking-change|new-feature|bug-fix|chore] [message] and CHANGELOG.md will be updated automatically.

Why
See https://linear.app/expo/issue/ENG-5022/add-learn-more-link-during-the-archive-uploading-process
How
Print learn more link above the spinner(s).
Test Plan
When "Compressing project files" spinner is displayed (when takes longer than 1 second):

Without "Compressing project files":

/changelog-entry chore Display project archive docs before compressing/uploading to EAS Build.


Implement Backup and Migration Scripts

As a developer, I need to automate backups and create migration scripts to ensure data integrity and schema updates.
Acceptance Criteria:
Automated daily backups with secure storage and logs.
Versioned migration scripts with rollback capabilities.
Backups and migrations are tested and verified.
Alerts are set up for failures.
Tasks:
Set up automated backups.
Write migration scripts with rollback.
Test backup restoration and migrations.
Configure alerts for failures.

Excellent work on adding the "future use" tag for reusable stories, as suggested by the professor.


Added GitHub repo with awesome detection analytics in SPL

Hey @infosecB, you are absolutely right. Apologies for not adding it under Detection Content & Signatures. I've updated it as per your recommendation.

Looks good, thank you!


Safety and compliance

https://trello.com/c/uo3Po1he/970-5-edit-safety-and-compliance-information
Description
Allow users to edit safety and compliance information for a case

Checklist:

[ ] Have you documented your changes in the pull request description?
[ ] Does the change present any security considerations?
[ ] Is any gem functionality overloaded? Eg: Devise controller methods being overloaded.
[ ] Has acceptance criteria been tested by a peer?
[ ] Has the CHANGELOG been updated? (If change is worth telling users about.)

General testing (author)

[ ] Test without JavaScript
[ ] Test on small screen

Accessibility testing (author)

[ ] Works keyboard only
[ ] Tested with one screen reader
[ ] Zoom page to 400% - content still visible
[ ] Disable CSS - does content make sense and appear in a logical order?

spotted few issues

safe and compliant is default selected when I click change for existing OPSS cases
When I don't change but simply click change, then I am not suppose to see confirmation banner


feat(aws): Add new package @tsed/platform-aws

Informations

Type
Breaking change

Feature
No

Description
A package to configure Ts.ED with AWS
Usage
Create a new LambdaServer.ts in src directory:
import {PlatformAws} from "@tsed/platform-aws";
import "@tsed/platform-express"
// or import "@tsed/platform-koa"

PlatformAws.bootstrap(Server, {
 aws: {
   binaryMimeTypes: [ // optional
     // mime types list
   ]
 },
 // additional Ts.ED options. See https://tsed.io/tutorials/aws.html
});

// Handler used by AWS
export const handler = PlatformAws.callback();

Then create lambda.js on your root project:
module.exports = require("./dist/LambdaServer.js");

This file will be used by AWS to forward request to your application.
Finally, package and create your Lambda function,
then configure a simple proxy API using Amazon API Gateway and integrate it with your Lambda function.
See more details on aws-serveless-express project.
Getting the API Gateway event object
This package includes decorators to easily get the event object Lambda receives from API Gateway:
import {Controller, Get} from "@tsed/common";
import {AwsEvent, AwsContext} from "@tsed/platform-aws";

@Controller('/')
class MyCtrl {
 @Get('/')
 get(@AwsEvent() event: any, @AwsContext() context: any) {
   console.log("Event", apiGateway.event);
   console.log("Context", apiGateway.context);

   return apiGateway;
 }
}

Todos

[x] Tests
[x] Coverage
[x] Example
[x] Documentation

:tada: This PR is included in version 6.0.0-beta.9 :tada:
The release is available on:

v6.0.0-beta.9
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version 6.0.0-rc.1 :tada:
The release is available on:

v6.0.0-rc.1
GitHub release

Your semantic-release bot :package::rocket:


detecting if child is visible

Over scrolling left or right makes controller.dismiss returns false
even if child panel is not visiable
so i cannot detect if child panel is visible or not
even so other values like ratio are is effected by over scrolling
i think the onDragEnd() method is the issue

Thanks for reporting.
Could you provide the minimal code sample to reproduce it? That would be
very helpful.
On Wed, Aug 2, 2023 at 21:28 ramy9109 @.***> wrote:

Over scrolling left or right makes controller.dismiss returns false
even if child panel is not visiable
so i cannot detect if child panel is visible or not
even so other values like ratio are is effected by over scrolling
i think the onDragEnd() method is the issue
—
Reply to this email directly, view it on GitHub
https://github.com/SimonWang9610/flutter_slidable_panel/issues/4, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ANFTB3NXFRSWIZ5VZNH6Q7TXTL5CXANCNFSM6AAAAAA3CBLJGU
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

--
Regards,
Dengpan

sure here is my sample code
class MenuExample extends StatefulWidget {

  @override
  State<MenuExample> createState() => _MenuViewPageState();
}

class _MenuViewPageState extends State<MenuExample> {
  late SlideController _slideController;

  @override
  void initState() {
    super.initState();
    _slideController = SlideController(
      usePostActionController: true,
      usePreActionController: true,
    );
    WidgetsBinding.instance.addPostFrameCallback((_) {
      scheduleMicrotask(() {
        _slideController.open();
      });
    });
  }

  @override
  void dispose() {
    _slideController.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return SlidablePanel(
      controller: _slideController,
      maxSlideThreshold: 0.9,
      axis: Axis.horizontal,
      onSlideStart: () {
        print(_slideController.dismissed);
        print(_slideController.ratio);

        if (_slideController.dismissed) {
          /// Show menu
          print("menu is shown");
        } else {
          /// hide menu
          print("menu is hidden");
        }
      },
      preActions: [
        Container(
          height: 200,
          width: 200,
          color: Colors.blue,
          child: Center(child: const Text("Pre Action")),
        )
      ],
      postActions: [
        Container(
          height: 200,
          width: 200,
          color: Colors.green,
          child: Center(child: const Text("post Action")),
        )
      ],
      preActionLayout: ActionLayout.spaceEvenly(ActionMotion.stretch),
      child: Container(
        height: 200,
        width: 200,
        color: Colors.red,
        child: Center(child: const Text("Child Panel")),
      ),
    );
  }
}

my whole issue is that im trying to keep a bottom navigation bar visible
only on ActionPosition.pre  but if its already ActionPosition.pre and dragging left again
would trigger controller.dismissed = false;
how i could achieve this ?
also i have a suggestion is to add initial view option
like enum {pre,child,post} if its possible because you did a great work with this package and it can be for Panels like Discord app Panels view which im trying to achieve the same behavior  not just Actions like the example
Thanks for your response

This is a good idea! An initial view would be great, I will add it to my
calendar.
For your question, the quick solution is to listen to slidePercent that is
Animation.
When the slidePercent is animated from 0 to 1, the panel is sliding to show
the pre actions.
When it is animated from 1 to 0，the panel is sliding to hide the pre
actions.
When the slidePercent value is negative, the panel is operating for the
post actions.
Though this way, you could animate to show the bottom navigation bar
according to the change of slidePercent.
On Thu, Aug 3, 2023 at 21:45 ramy9109 @.***> wrote:

my whole issue is that im trying to keep a bottom navigation bar visible
only on ActionPosition.pre but if its already ActionPosition.pre and
dragging left again
would trigger controller.dismissed = false;
how i could achieve this ?
also i have a suggestion is to add initial view option
like enum {pre,child,post} if its possible because you did a great work
with this package and it can be for Panels like Discord app Panels view which
im trying to achieve the same behavior not just Actions like the example
Thanks for your response
—
Reply to this email directly, view it on GitHub
https://github.com/SimonWang9610/flutter_slidable_panel/issues/4#issuecomment-1664856066,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANFTB3KVLYUVYZAJ3SMQXPLXTRH3TANCNFSM6AAAAAA3CBLJGU
.
You are receiving this because you commented.Message ID:
@.***>

--
Regards,
Dengpan

v1.1.3 supports initOpenedPosition to set up an initial view by SlideController


add glossary option to bootstrap template?

Was asked about this during a training session and I wonder if we could re-use the relevant code from the XOT template to enable glossary functionality in site projects?

I'd really like to do something like #462 where you can create glossary outside of individual projects and link to them

@FayCross think there's probably room for both options e.g. internal glossary and external glossary.

@JohnSmith-LT you added the glossary option to xwd back in March but I don't think you added anything to get it working in the projects. Shall I remove it for now until it's working?

Hi Fay, Yes please, I made a start on this but struggled to get any time to complete it.

This is partially done. The words become highlighted in the text & bring up a definition when hovered over. But at the moment there's no button to click to see all the words like there is in the XOT template. Not sure where to put a button like this in the interface as there's not a toolbar as such like in the XOT template.
I was wondering about adding several options for how the whole glossary could be viewed e.g. button in toolbar or the glossary on it's own page (like an example you've shown me before @ronm123 where a glossary is on its own page in alphabetical order)

Looks good @FayCross
Yes I think giving authors options might work well. Thinking out loud options might include:
Show glossary button y/n
Show glossary definitions on hover y/n
Position of glossary button navbar L/R, Footer L/R
Glossary display separate page or pop-up where clicking the term or button links to that page or pop-up
What this the example you meant? [https://xerte.cardiff.ac.uk/play_4069]


Error while publishing snupkg package

Describe the bug
I'm receiving following email while publishing snupkg package
[NuGet Gallery] Symbol package validation failed - OcarambaLite 3.2.9
The symbol package OcarambaLite 3.2.9 failed validation because of the following reason(s):
•	The uploaded symbols package contains pdb(s) for a corresponding dll(s) not found in the nuget package.
Your symbol package was not published on NuGet Gallery and is not available for consumption.
You can reupload your symbol package once you've fixed the issue with it.
link to csproj file https://github.com/ObjectivityLtd/Ocaramba/blob/master/OcarambaLite/OcarambaLite.csproj
nuget package of version 3.2.9 was published https://www.nuget.org/packages/OcarambaLite/
I set:
IncludeSymbols>true
SymbolPackageFormat>snupkg
DebugType>portable
To Reproduce
Steps to reproduce the behavior:

Build solution
Try to publish snupkg file https://ci.appveyor.com/project/ObjectivityAdminsTeam/ocaramba/builds/32196042/job/vm9egajvaas90r9k/artifacts
See error

Expected behavior
snupkg should be published with success
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

cc @ryuyu who is handling support this week.

is it possible that it could be cause by targeting also Net 4.5 ?
<TargetFrameworks>netcoreapp3.1</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' != 'Unix'">net45;net472;netcoreapp3.1</TargetFrameworks>
but according to PDB formats

Q. Which PDB formats are supported?
Currently, NuGet.org symbol server supports only the portable PDB format. The portable PDB format can be created and consumed for any .NET application provided that the consuming client is on .NET 4.7.1 or later. More info about Portable PDBs is available on the .NET GitHub.

I looked at the PDBs and DLLs that you submitted in the .snupkg and .nupkg, respectively.

TFM
DLL Signature
PDB Signature

net45
6b64eae4-92c0-4aba-943f-4c0ab3d794e0
004f0c75-eb0d-4174-8b80-ddc6ac33179c

net472
84a9ec41-a08f-4a1a-a2dc-7cb3ea854810
15016f14-5b1d-4ce8-93eb-dac0c5398287

netcoreapp3.1
29900157-0ea0-42a5-b9ca-b8c3d1a3c144
5181a5f4-adde-4c56-b90b-10ba898ae1fe

It looks like the PDBs were perhaps built at a different time or from slightly different input than the DLL. Could you check your build process to ensure the .nupkg and .snupkg were built and packed at the same time?

is it possible that it could be cause by targeting also Net 4.5 ?

As far as I can tell, all three of the PDBs were portable PDBs (which is what is accepted on nuget.org). I think the problem is the mismatched signature.
BTW, I used JetBrains dotPeek to look at the signature in the DLL and PDB.

First time I generated .nupkg and .snupkg with full
I got error message while publishing .snupkg
I changed  portable and regenerated .nupkg and .snupkg for the same version and I was trying to publish only .snupkg , that's why the Signature are different
I generated new version .nupkg and .snupkg (without  at all) and published both without problems

thank you for your help


RC release feedback

downshift version: 1.0.0-rc.1
Hello,
As I'm working on a material-ui / virtual-list example using downshift I have a little list of remaining issues :

[x] The onMouseUp listener seems to force a rerender everytime we click outside of the component, even if there is no state / props changes. You can see the log on my codesandbox demo, try to click outside of the 2 components multiple times.
[x] The selectedItem prop works great to make the component controlled, but the inputValue gets updated only when we finally click outside of the component (onMouseUp again I think). In my demo, try to select a value in the first component, then you'll notice the second one isn't updated fully until you click outside.
[x] The scroll management done internally in the lib seems to be in conflict with windowing libraries. I suspect the scrollIntoView and other functions which need to access the items nodes to be the problem. As the list becomes virtual, it tries to scroll to them before they are rendered. I had to do weird tricks to make it somehow workable, like adding this to my input component :

onKeyDown: e => {
  if (
    !autocompleteProps.isOpen ||
    !["ArrowUp", "ArrowDown"].includes(e.key)
  ) {
    return;
  }
  const top =
    e.key === "ArrowUp" && autocompleteProps.highlightedIndex === 0;
  const bottom =
    e.key === "ArrowDown" &&
    autocompleteProps.highlightedIndex === filteredItems.length - 1;

  if (!top && !bottom) {
    return;
  }

  const scrollToIndex = top ? filteredItems.length - 1 : 0;

  // go to the top or bottom of the virtual-list
  scroll({
    scrollToIndex
  });

  // allows to wait that the node to be highlighted is mounted
  setTimeout(() => {
    autocompleteProps.setHighlightedIndex(scrollToIndex);
  }, 0);
}

[x] The mouse interaction with the virtual-list is fine, but the keyboard one is buggy. When you hold ArrowUp or ArrowDown and the scroll gets too fast, the highlight / focus on item is lost.

[x] Still virtual-list related, the Enter event listener seems to be active only on initial mounted nodes. When you try to hit ArrowUp, and go at the bottom of the list, you can't select an item hitting Enter.

Don't hesitate to play with my demo to verify all of these issues.
We are almost there, thanks a lot to all contributors for the great work! 👍

Thank you so much for this great feedback! I've addressed the rerender issue: https://github.com/paypal/downshift/pull/120
I'm looking at your second issue now. I know what to do. Thanks!

Ok, I think that I've solved all the issues as far as I am able. There is a slight problem with react-tiny-virtual-list.

Note: The react-virtualized works just fine :wink:

Wow that was fast! 🏎
I switched to react-virtualized in my material-ui / virtual-list example so the scrolling can work fine.
So I have these two remaining issues :

[ ] We can't select an item with Enter when using a virtual-list if this item wasn't rendered when the menu appears. (Try to go to the bottom of the list and hit Enter on the items, nothing happens, both in my codesandbox and in the story of react-virtualized)

[ ] The controlled components are buggy when you try to reinitialize them (passing a selectedItem from a not null value to a null one). When I try to clear one of the two components of my example, the second one isn't updated.

[ ] Related to the above issue, if you play a little longer with clearing the component state (like select an item, click the clear button, select an item again) the synchronization between the two components starts acting weird, but it's probably due to the null value not being properly handled when updating the controlled component.

🏎🏎🏎🏎🏎🏎🏎🏎🏎Thanks again for the great work! 🏎🏎🏎🏎🏎🏎🏎🏎🏎

Thanks again for all the great feedback! Really invaluable! I've fixed the issues and released a new release candidate.
~/Developer/downshift (master)
🏎  $ npm publish --tag rc
+<EMAIL_ADDRESS>


Create new metadata server for the sustainability initiative

The link to where the sample should be stored:
https://github.com/odpi/egeria-samples-api/tree/main/governance-program/sustainability-metadata-server


Show races for which we don't have data in the table card for Covid

Still need to add tests, but it works.. comparison of deploy-preview vs current dev site for NM:

Approving but tests would be great!

Added tests

Btw, one consequence of this change is that "Other" shows up with "no data" for all states now.. IMO this is fine but just wanted to call it out

Upon further review, I think this slows the calculations for Covid down too much to be worth it.. going to just move the underlying issue to the backlog and we can fix it properly (i.e. add in the missing rows on the BE) later


'helm dependency update' failed with 'x509: certificate signed by unknown authority'

Output of helm version:
λ helm version
Client: &version.Version{SemVer:"v2.12.2", GitCommit:"7d2b0c73d734f6586ed222a567c5d103fed435be", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.12.2", GitCommit:"7d2b0c73d734f6586ed222a567c5d103fed435be", GitTreeState:"clean"}

Output of kubectl version:
I use openshift / minishift
λ oc version
oc v3.11.0+0cbc58b
kubernetes v1.11.0+d4cacc0

Cloud Provider/Platform (AKS, GKE, Minikube etc.):
minishift

Description:
I am running the chartmuseum via SSL on minishft with a self signed certificate. I was able to add the repo to helm and everything works properly if I have no dependencies when adding the --ca-file option.
helm repo add chartmuseum https://my-museum-with-private-cert/ --ca-file ca.crt

helm install and helm repo update works.
When I add dependencies to charts on the same chartmuseum, I get an error for downloading:
λ helm dependency update spring-petclinic
Hang tight while we grab the latest from your chart repositories...
...Successfully got an update from the "chartmuseum" chart repository
...
Update Complete. ⎈Happy Helming!⎈
Saving 2 charts
Downloading xxx-build from repo https://my-museum-with-private-cert/
Save error occurred:  could not download https://my-museum-with-private-cert/charts/xxx-0.1.0.tgz: Get https://my-museum-with-private-cert/charts/xxx-0.1.0.tgz: x509: certificate signed by unknown authority
Deleting newly downloaded charts, restoring pre-update state
....

So it seems the chart download does not reuse the ca cert settings of the repo:
λ cat ~/.helm/repository/repositories.yaml
apiVersion: v1
generated: 2018-05-09T09:55:31.025782+02:00
repositories:
- caFile: c:\tmp\ca.crt
  cache: C:\Users\xxxx\.helm\repository\cache\chartmuseum-index.yaml
  certFile: ""
  keyFile: ""
  name: chartmuseum
  password: ""
  url: https://my-museum-with-private-cert/
  username: ""

@jdolitsky Could you take a look pls.  ^ ?

@rhnewtron that sounds good, can you please open an issue on helm/chartmuseum describing this change in detail? We can make this configurable.

is there any update on this issue?

@jdolitsky @rhnewtron Is there an issue opened for this in chartmuseum?

@hickeyma just opened https://github.com/helm/chartmuseum/issues/221, I think we can close this out now

Thanks @jdolitsky.

I think there should be an option for helm update to either allow --insecure for downloading from helm repo with self signed certificate. or may be specifying the ca certificate while updating the dependencies. something similar to the --ca-file in the helm fetch command

I resolved that when use Mac.
#8009 https://github.com/helm/helm/issues/8009


Add Ansible Provisioner

Hi,
Here's a simple PR to add ansible provisioner.
I've tested this with CentOS 6.7 but I can't guarantee it will work with CentOS 5
It relies on ansible being in the EPEL repo and that the epel-release package is accessible directly from CentOS repos.

We're going to phase out the cmtool scripts - we never build them officially or publish them to atlas, so they are not being properly vetted anyway. Instead we'll be using custom-script.sh as the hook for actions like this, similar to what is being done in the ubuntu boxes.


Updated Echo Bot sample to include deep link into Emulator v4

Startup browser page now shows an additional link that can be clicked to deep link into the Emulator v4 and start a live chat session with the bot

NOTE: I changed the project slightly to use Razor pages so that I could access the appsettings.json config on the C# side and inject it into the HTML side. This was the easiest solution I could find, but I'm pretty unfamiliar with ASP and .NET so let me know if there is a more straight-forward way.

@drub0y I've made changes according to your suggestion. Please let me know if this approach aligns with what you were thinking. Thanks 👍


⚠ RPC server - Astar has degraded performance

In ea248be, RPC server - Astar ($ASTAR_RPC_URL) experienced degraded performance:

HTTP code: 429
Response time: 908 ms

Resolved: RPC server - Astar performance has improved in 40b5c11.


Make Statistics Parameter configurable

What changes were proposed in this pull request?

Use sparkSession.sessionState.newHaddopConf in CreateIndex. Because
sparkSession.sparkContext.hadoopConfiguration doesn't have full configs
Setup Statistics parameters during initialization
Put indexScanner.initialization after tryToReadStatistics

How was this patch tested?
Unit Tests

Fixes #277
Fixes #279


Update python sample for firefox

Added python sample for setting FireFoxOptions and Setting a custom profile for FireFox

Updated the above changes in new pull request - #291

Updated the above changes in new pull request - #291

This pull request was raised from browser so it become quite messy. So created a new pull request-#291
Sorry for inconvenience

Replaced by #291


Feature/md

Closing this PR for merge conflicts. Raised a below one.
https://github.com/data-integrations/salesforce/pull/178


I cannot see changes made locally show on my localhost server

Describe the issue that you're seeing. Any Loom videos or screenshots usually help a lot!
I have tried the NextJS template and the barebone template with npm and yarn.  I cannot get changes made locally to show up in the browser.  Simply I am just changing the words inside the about.mdx page in the blank template to say 'This is a "" page.' The default says 'This is an "about" page.'
I have tried rerunning the server and nothing makes that page refresh.
Reproduction
https://github.com/MysticNynja/TinaCMS-Error
Steps to reproduce
Start the server with npm run dev
Browse to localhost:3000
Edit the Home page
I don't see it reflect when I save the file, refresh the page, or restart the server.
System Info
System:
    OS: Windows 11 10.0.22631
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 36.57 GB / 63.85 GB
  Binaries:
    Node: 22.12.0 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.22 - ~\AppData\Roaming\npm\yarn.CMD
    npm: 11.0.0 - ~\AppData\Roaming\npm\npm.CMD
  Browsers:
    Edge: Chromium (127.0.2651.74)
    Internet Explorer: 11.0.22621.3527
  npmPackages:
    @tinacms/cli: ^1.6.12 => 1.7.0
    tinacms: ^2.5.0 => 2.5.2

Validations

[x] Follow our Code of Conduct
[x] Read the docs.
[x] Check that there isn't already an issue that reports the same bug.

The other thing I am seeing is when I delete a blog post, one that was pre written, it errors out with this error message on screen and I have to restart the server
[Error] GetCollection failed: Unable to fetch, errors: Error querying file content/posts/voteForPedro.mdx from collection post. Please run "tinacms audit" or add the --verbose option for more info
Then when I restart the server that blog post is still there.

The other thing I am seeing is when I delete a blog post, one that was pre written, it errors out with this error message on screen and I have to restart the server
[Error] GetCollection failed: Unable to fetch, errors: Error querying file content/posts/voteForPedro.mdx from collection post. Please run "tinacms audit" or add the --verbose option for more info
Then when I restart the server that blog post is still there.

This one is an old Bug that only appears on Windows when deleting items. Have this too.
https://github.com/tinacms/tinacms/issues/4018

Ok I see that bug with the deleting, that is fine I can live with restarting.
The other problem is now working in a blank template (like the one I have linked) but when you start a NextJS template I delete the file (get the error that is known) So i restart the server.  Now I can still see the file that was deleted in the browser.  I no longer have it in my /posts folder.
Even if I browse with an incognito window I still see it

Just to reiterate, NextJS starter project, delete a post, restart, see error.

@MysticNynja this sounds like a Next caching issue.
I don't know if this is a good workflow going forward.  When this goes to production, I would rather not have to do this every time one of the users deletes something.  Should I file a new bug for this behavior?

These issues are all only related to dev mode so not something you'd need to worry about in production. The issue with the file not getting removed is an issue with next and not with tinacms. There is already a bug for the windows delete issue (which again only applies in dev mode on windows).

OK awesome. As long as it doesn't happen in production, I'll look at nextjs to see if there is a resolution on their end.
Thanks for helping me out!


Feature translating the page based on the browser language.

Issue: #4
Modified the file index.js

Added the function getLanguage() which detects the language of the browser
on line 49 was necessary to replace - with _ because some browser define the language using -
Added a dictionary with the translation from de to en
Added the function  translate() which translates the page

Tested:

[X] Chrome
[X] Brave
[X] Firefox
[ ] Safari
[ ] Edge
[ ] Opera

To-fix:

[ ] On Chrome there is little graphic glitch that shows the metrics when the page is loaded

Nice one :sunglasses:

The to-fix is unrelated to your pull request. I will create a new issue for that.

I don't know if the error appeared after the adding of my feature for this reason I wrote it inside.


Recommended Mime Type

After a small amount of digging, the only recommended mime type ive come across is to use application/octet-stream (see tweet chain) dating back to 2020. Is this still the recommend mime type or has there been movement to register an official mime type with OGC and  IANA?

Any updates on this @ogcscotts ?

I'm also interested in an answer to this. @ogcscotts  Would OGC register FlatGeobuf if/when it becomes a community standard?

@ogcscotts I can't see that anything has happened after https://www.ogc.org/requests/public-comment-requested-justification-document-for-flatgeobuf-as-an-ogc-community-standard/ was closed. Are we again stuck in some slow grinding wheels process? :)

@bjornharrtell sorry for the radio silence. We actually will be getting the vote started for this effort this month. We had another Community Standard effort stuck that needed to be clarified before this one could start. That finished on Sunday. Expect 6 weeks for the vote to complete and then we can jump quickly to the next step.

@bjornharrtell the slow grinding process is unstuck and the vote to approve the work item is now underway. We had a huge queue of votes, but all should proceed on a decent timeline now.

@ogcscotts that's nice to read! Too bad it can be such a grinding process but I suppose in a way it's good - no sense in making standards for things that are not in for the long game which does seems to be the case for this little project (against all odds?) :)

@ogcscotts any new developments that I should know of?

@bjornharrtell good timing on the question: we have a discussion this Friday (21 June 2024) with the OGC Executive Planning Committee on Community Standards to see if we have an issue with their scope. So I should have more to report after that session.

@ogcscotts anything to report? :)


Mark PR as WIP if it has temporary commits

Feature Description
When we do a PR and there is a review, we have to push new commits to fix things. We usually take advantage of git's autosquash feature, so the new commits are prefixed with squash! or fixup!. The intention is to squash the history before merging. But sometimes we have to act fast and it happened that we merged with those commits still there.
My idea would be that when we push new commits to an open PR, we check all the commits in the PR (including those pushed previously) and if any has the prefix squash! or fixup!, the PR would then be marked as WIP so it blocks the "merge" button.
One step further would be to act the same way for commits which are only done for the purpose of testing the PR but should not be merged. Such commits could be prefix by drop! or wip! (to be defined). One example is that we do this because we only want to run part of the tests.
Anyway, if this is not clear don't hesitate to ask follow-up questions. And thanks for the great work :)
cc @99rgosse @gzzi
Screenshots
No response

This seems very specific to your workflow and not something I see as a general mechanism because nothing about fixup! or squash! indicates a wip status. Maybe it can be accepted as an global opt-in feature behind a app.ini pref, but certainly not the default as that would be very confusing to users not using such a workflow.

I think even better is using the CI coupled with the API to achieve that.
Although the API might not be equipped yet with the necessary routes to ensure that.

But sometimes we have to act fast and it happened that we merged with those commits still there.

How could it happen?
The merger should pay enough attention to read the PR's title/description/changes and edit the merge message properly.
If you worry about "merging with 'squash!'" commit, you could also merge bugs/bad code even if there is no "squash!" but you merge too fast.

I'd happily squash-merge such a PR I guess.

I think checking it in ci is a good solution.

That is not ideal at all for us... It would mean that we add a step after the clone where we check history and fails if it find any of those commits. But then we cannot test while having these commits, so we would need to squash the history before being able to test, which is not ideal because if the fixes broke the build it is interesting to have them in new commits to better check what was wrong...
But now I am wondering... Are there really people with a workflow where you merge such commits? For me it does not make sense, since the purpose of these commits is to be squashed.....?


Allow IMAP search to work over 10kb.

Currently the following fails:
ok, raw_uid_list = self.mail.uid('search', None, 'ALL')

With imaplib.error: got more than 10000 bytes.
We need a way of iterating over messages a large mailbox.

Fixed by aa4d3da0703b3b94d961197443c59a03b646658b


feat: migration of the db

added a new migration named create_schemas with up.sql and down.sql,
enabling the prompt diesel migration run to create our database automatically
@grorge123

Do you mind I directly modify your code?

Sure, I appreciate your help in improving the code.

Main Changes

Comment backend api not requires schema, which will be completed later.
Change FOREIGN KEY CONSTRAINT to column level
Change most id from integer to uuid
Chamge float to BIGINT
Split balance from portfolios
Change table order for REFERENCE dependency

If you think this change is not reasonable, please let me know.
@zhyang216

I checked all the changes, LGTM.
@grorge123


fix: add nodir: true to getAllSolFilesIgnoringDependencyFolders glob()

@juanfranblanco bumping as this makes the first hover always fail in Neovim


Add option to move (all at once or multiple / selectable) open Windows from one display to another and to different Virtual Desktops

Description of the new feature / enhancement

When using multiple displays, I should be able to select multiple open Windows/apps and move them to the other display. Or move all at once;
At the moment I have to move one by one;
Also, there should be an option to move them also to a different Virtual Desktop;

Scenario when this would be used?

I see two main usages:
Organization: some times you want to organize your environment and needs to move multiple windows;
Before presentations, I like to "clean" my display that is going to be shared over Microsoft Teams. Then I have to move all windows to a different display before the presentation;

Supporting information
No response

Isn't this part of https://github.com/microsoft/PowerToys/issues/16 as well?

Isn't this part of #16 as well?

I guess it should be part as well.
I took a look on https://github.com/microsoft/PowerToys/issues/16
And I saw that there the request is to move all the windows to a different virtual desktop. And my request is to move all the windows from one display to another. But they could be combined as one feature request:

Add option to move (all at once or multiple / selectable) open Windows from one display to another;
Add option to move (all at once or multiple / selectable) open Windows from one Virtual Desktop to a different Virtual Desktop and selectable Display if more than one;

Sorry about this. You're right, your request is different.

This feels like an odd behavior when i look at it.  To me, this feels like you want a new virtual desktop and cherry pick what moves over
#16 would be a dependency of this no matter what as well


pre-training BGM

Hello，I would like to ask how do I determine how many epochs I want to train when pre-training the BGM module.Since it is co-trained with SC again in the later, I don't know how many rounds of pre-training and co-training can achieve better results.Maybe my question is a little too simple, but I still hope to receive your reply, thank you!

I think number of epochs in training BGM has little impact on the final result. You can try a few hundreds epochs (e.g., 200-400 according to my memory) and the training procedure is very fast (e.g., 10-20 minutes with single GPU). You can stop as long as the precision and recall are stable. Or the simplest way is to see whether the difference of f1 score of adjacent epochs is less than a small threshold. Please be free to ask questions. I will reply once I saw it.

Thank you for your reply！The pre-trained BGM module provides relatively accurate boundaries for subsequent training. Is it impossible to generate accurate boundaries without using pre-training? But it seems to be possible to achieve better results without using pre-trained models. Can you explain that?

I think pretrain or not is an implementation detail which is not important for my paper. By training BGM and SC for enough epochs, I believe BGM is also able to predict accurate boundaries. Yet, it is not necessary for SC to train such amount of epochs.

Thank you for your answer! I don't quite understand the idea of LBP in the paper. There are several questions as follows: How to combine boundary information and original prediction in LBP? Why should I reduce the weight when facing barrier? What does this weight do on this side? Hope to get your help, thank you again!

I think the details of LBP in the paper is clear enough. The idea of LBP is to make  smoother action predictions within action instances with the help of predicted action boundaries.


Add dynamic options to the [ ] settings for all objects.

I would like to add dynamic context to the Table and Columns to better define a data model for  metadata.
When parsing is working can the unknown items be put in a dictionary to be accessed for other processes wishing to extend DBML.
example:
 Table ACCOUNT [note: "Account", description:"account", cdm_table: "account", generator: "<randomstring>"] { }
then when parsed this is available
parsed.tables[0].settings["cdm_table"]
This would allow extension of the objects in the parser dynamically for arbitrary data that is not needed for database scripting.

That's actually a nice idea.
Although I'd only allow this with a special flag explicitly specified in the parser object, something like PyDBML('myfile.dbml', allow_extra=True), with allow_extra being False by default. Otherwise we could break compatibility for the future DBML syntax versions.
I'll look into it, thanks for the suggestion

Love this.

@pepperlk It took a while but it's out. Please see version 1.1.0


Allow usage with PHP8.3

Description
This will allow the usage of the bundle also with PHP8.3
Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have made corresponding changes to the documentation

Thank you! 🌺


Delete temporary queue when it is used

Temporary queues are never deleted when the are used.
This patch provides fixes for this behavior.

@valentin-matignon I was testing the changes and it does not seem like this PR is really needed. The JMS spec [1] says

TemporaryQueue createTemporaryQueue() throws JMSException
Creates a TemporaryQueue object. Its lifetime will be that of the Connection unless it is deleted earlier.

And indeed their lifetime is bound to the connection (tests confirm that): connection closes, queue is gone. So my question to you is: which message broker are you using that is keeping the temporary queues upon connection closing?
[1] https://docs.oracle.com/javaee/7/api/javax/jms/Session.html#createTemporaryQueue--

@reta, i'm using a TIBCO broker and the com.tibco:tibjms:8.3.0, javax.jms:javax.jms-api:2.0.1 dependencies in my program.
Which tests are you talking about ?

I tested testRequestQueueResponseTempQueue and testRequestTopicResponseTempQueue tests of RequestResponseTest class and the delete method of the associated temporary queue (ActiveMQTempQueue in this case) is never called because it is not called by the close method of the associated connection (ActiveMQConnection in this case)
I tested testTempQueueIssue test of PooledConnectionTempQueueTest class and the delete method of the associated temporary queue (ActiveMQTempQueue in this case) is called because it is called by the close method of the associated connection (PooledConnection in this case)

Have you noticed the same or am I wrong?

@valentin-matignon you are right, at least in case of ActiveMQ, the pooled connection do cleanup temporary queue, but non-pooled - not. My apologies for confusion, I was checking ActiveMQ's DestinationSource and it was properly reporting the removal of the temporary queues (but it seems like - not physical removal).

@valentin-matignon do you mind if I push one test case your pull request? thank you.

@reta no problem, you can do it.

Thank you @valentin-matignon !

Thanks to you for the code review @reta 😄 !


Create Logo Concepts

We need a logo!

@jentoobento I think this looks awesome so far!

Have there been more updates?
Do you need any feedback from the team?

My .02: I love the direction you're going! Excited to put this into the app when you're ready and if everyone is down with it!

@mardb any update on animation?


remove bash'ism

[[ ]] testing is a bash'ism, using a substring match that is posix compliant and doesn't fail with debian's sh

@sjpotter Also can you please add the subsystem prefix to the commit message.
Like
build: remove bash'ism

LGTM


Add LDAP loadbalancer image

@osfrickler Ready for review?

I'm still pondering how to best handle the SSL part, that might need amending the CMD. I'm also not to sure whether EXPOSE just for the ldaps port is good, maybe not using EXPOSE and leaving that to the container deployment would be better?
If you have other review comments already, go ahead.


retry db reads and idempotent writes

TL;DR
We should retry db operations that are safe to retry (like config reads, or idempotent writes).
Design
Proposal
There are cases of transient db connection errors that could be retried. E.g., if we fail to read AppConfig to see if an exposure upload was from an authorized app, we could drop keys on the floor:
https://github.com/google/exposure-notifications-server/blob/76f3f89c7415db09ef0aa302305fb9279f221bfb/internal/publish/publish.go#L120
It looks like we have some retry logic in the db connections on startup and could maybe make use of that in a steady state:
https://github.com/google/exposure-notifications-server/blob/1f63d1942c08a03bb48a5b668a0ccbf4dd6c39b0/internal/database/database_util.go#L116
Alternatives considered
We could rely on clients to retry, but there's no harm in being flexible in both layers and handling transient errors in both client and the server.

I'm definitely down to retry - we have a library that makes it easy. I'm interested in learning the situations where failures happen - do you have server logs? The most likely candidate is during a scale down event, in which case a server-side retry wouldn't help.

Thank I saw the logs - this was a connection reset. I think retry would have helped.
Cloud run won't scale down during live requests

Per https://github.com/jackc/pgx/issues/74#issuecomment-139832623, it looks like we just need to wrap reads in serializable transactions.
/assign


Help: How do you add indices to a character?

What do you need help for ?
Please note that the documentation is still under construction.
i'm trying to make a custom gf character for my mod, but i cannot add any indices to the characters. how can i add them?

for now just use Character.hx for gf characters, the editor doesn't support indiced animations (if im correct)

for now just use Character.hx for gf characters, the editor doesn't support indiced animations (if im correct)

JSON supports it, but char editor doesnt show the option.
Will be added in the next update.

ok


Lab Problem for class A (after fixing error code caused by conflict again(?))

Also, please use .jpg for all images (not just renaming the extension, but actually save the images as a .jpg file).
When you're done, please rebase and push. I'll handle the rest.

Thanks :)


Add Log Interface

Background
Now GRPCReporter can only use log.Logger to output logs, but there are many good log libraries, such as zap, logrus, I think we should design a logging interface and let the user decide which one to use.
Design
type Log interface {
	// Info logs to the INFO log.
	Info(args ...interface{})
	// Infof logs to the INFO log.
	Infof(format string, args ...interface{})
	// Warning logs to the WARNING and INFO logs.
	Warn(args ...interface{})
	// Warningf logs to the WARNING and INFO logs.
	Warnf(format string, args ...interface{})
	// Error logs to the ERROR, WARNING, and INFO logs.
	Error(args ...interface{})
	// Errorf logs to the ERROR, WARNING, and INFO logs.

The diff coverage is 35.71%.

@@            Coverage Diff             @@
##           master     #147      +/-   ##
==========================================
+ Coverage   70.64%   70.95%   +0.30%
==========================================
  Files          18       18
  Lines         930      933       +3
==========================================
+ Hits          657      662       +5
+ Misses        225      224       -1
+ Partials       48       47       -1

Impacted Files
Coverage Δ

reporter/grpc.go
56.14% <35.71%> (+0.58%)
:arrow_up:

sampler.go
78.68% <0.00%> (+3.27%)
:arrow_up:

Continue to review full report at Codecov.

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

Could you introduce what is this? I can't see the update in readme doc.

Could you introduce what is this? I can't see the update in readme doc.

Description has been added for this PR


More Robust Markdown Preview

I like to view the markdown preview as I'm typing to keep track of how it looks. Below are some changes that would be great:

Style preview code snippets to match the editor theme (or be overridden if desired).
Apply font family to snippets (Fira Code with ligatures). The overall preview font can be set, why not these? I know that you can point to an external style sheet, but I shouldn't have to do this for a common, persistent configuration.
Native HTML conversion without the need for an extension. Conversion should keep styling consistent with the preview.

I know this may be a bit nit-picky, but it's really jarring when the editor and preview don't match:

Please split this up into separate feature request issues.
1 and 2 require #56356
3 is a duplicate of #49157


add: a new way to deal with staged changes

[x] AI Commit/Push Stage
[ ] Multiselect if have file changes but no staged files when running the above two commands
[ ] add new commands into README

Still think this don't fit the idea of 'I Don't Care About Commit Messages'


pdf2htmlEx: remove

This package is broken since 2018 and the project itself is abandonned
upstream since 2017, so there is no hope to see it evolve

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/prs-already-reviewed/2617/272


What is package lmodern used for?

Martin, for what reason did you add \usepackage{lmodern} by b5713516c7c6a4468068146bd46deb8c9b2732fa for #188? In consequence, the code listings for e.g.,  GameControllerExample or getFoo really have unsuitable line breaks. I'd propose to remove lmodern again.
See #126.

It's used for the proper ℃ symbol. The regular ones look really bad.

The difference is marginal, but the side-effects are significant

The \degreecelsius from \usepackage[squaren,thinqspace]{SIunits} ( what I usually use) looks pretty identical to default (non-lmodern) style.

And this is $\SI{0}{\degreeCelsius}$ from \usepackage{siunitx} and \usepackage{amsmath}.

Feel free to change it any way you want due to the side-effects. The lmodern one does look nicer than the alternatives though.

OK. With next PR.


Add functions to log individual modem info parameters

Adds functions to log individual modem info parameters.

As discussed on Slack, I'm not sure we need to have a wrapper function for each different modem characteristic. I added a commit on the template repo to publish the modem firmware version without needed to use this library as a dependency.


version: post-release bump

Signed-off-by: Lars Holm Nielsen<EMAIL_ADDRESS>

Coverage remained the same at 96.798% when pulling 1de3a4a536349cfdc830331e0a0d89b28a4c752e on lnielsen:postrel into 1ea695c714ee5e973861aeecc7dca1190a45fc7c on inveniosoftware:master.


convert_ice_cube_occurrence should not use "warn"

Currently TZInfo::InvalidTimezoneIdentifier errors are rescued in this method and "warn" is used to output a message. I am using this code in a cron job where I have no influence over the icalendar files I'm processing, and some events have invalid timezone identifiers. The result of this code is that I now get output for each cron run, making the output meaningless. I would rather just handle the errors myself and a way that works for my situation, and I also feel that this would be a good default case here.
The code change would then be to simply remove both the rescue and the warn method. I'd be happy to provide a PR if needed.
Alternatively I suppose the warn could be directed to a logger, or be made optional, but I'm not sure if this if worth the added complexity.

This warn just got removed in #37


Fails Server profile update in case of existing network_set

Scenario/Intent
Need to update server profile for additional FC connection
Environment Details
current ansible-oneview version

Ansible Version: 2.9.5
OneView Appliance Version: <IP_ADDRESS>-0402787
OneView Client API Version: 1200
Python Version: Python3.6
python-hpOneView SDK Version: 5.0.0
Platform: Centos7

Steps to Reproduce
Create Server Profile connections using networkset and fetch the server profile in ansible and add a fc connection.
Expected Result
The networkset name is null when you perform gather server profile facts, the networkset uri exists.
The __present option is triggered as it is update of profile
Further _replace_networks_name_by_uri is triggered to replace network names with uri.
For existing connections(network_set) value of null, _get_network_by_name fails
Update fails
Actual Result
{
"changed": false,
"module_stderr": "Traceback (most recent call last):\n
File "/root/.ansible/tmp/ansible-tmp-1583870981.904718-47724459518421/AnsiballZ_oneview_server_profile.py",
line 102, in \n    _ansiballz_main()\n
File "/root/.ansible/tmp/ansible-tmp-1583870981.904718-47724459518421/AnsiballZ_oneview_server_profile.py",
line 94, in _ansiballz_main\n    invoke_module(zipped_mod, temp_path, ANSIBALLZ_PARAMS)\n
File "/root/.ansible/tmp/ansible-tmp-1583870981.904718-47724459518421/AnsiballZ_oneview_server_profile.py",
line 40, in invoke_module\n    runpy.run_module(mod_name='ansible.modules.oneview_server_profile',
init_globals=None, run_name='main', alter_sys=True)\n
File "/usr/lib64/python3.6/runpy.py", line 205, in run_module\n
return _run_module_code(code, init_globals, run_name, mod_spec)\n
File "/usr/lib64/python3.6/runpy.py", line 96, in _run_module_code\n
mod_name, mod_spec, pkg_name, script_name)\n  File "/usr/lib64/python3.6/runpy.py",
line 85, in _run_code\n    exec(code, run_globals)\n
File "/tmp/ansible_oneview_server_profile_payload_fxh0xkej/ansible_oneview_server_profile_payload.zip/ansible/modules/oneview_server_profile.py",
line 642, in \n
File "/tmp/ansible_oneview_server_profile_payload_fxh0xkej/ansible_oneview_server_profile_payload.zip/ansible/modules/oneview_server_profile.py",
line 638, in main\n
File "/tmp/ansible_oneview_server_profile_payload_fxh0xkej/ansible_oneview_server_profile_payload.zip/ansible/module_utils/oneview.py", line 453,
in run\n
File "/tmp/ansible_oneview_server_profile_payload_fxh0xkej/ansible_oneview_server_profile_payload.zip/ansible/modules/oneview_server_profile.py",
line 280, in execute_module\n
File "/tmp/ansible_oneview_server_profile_payload_fxh0xkej/ansible_oneview_server_profile_payload.zip/ansible/modules/oneview_server_profile.py",
line 303, in __present\n
File "/tmp/ansible_oneview_server_profile_payload_fxh0xkej/ansible_oneview_server_profile_payload.zip/ansible/module_utils/oneview.py",
line 1007, in replace\n
File "/tmp/ansible_oneview_server_profile_payload_fxh0xkej/ansible_oneview_server_profile_payload.zip/ansible/module_utils/oneview.py",
line 1063, in _replace_networks_name_by_uri\n
File "/tmp/ansible_oneview_server_profile_payload_fxh0xkej/ansible_oneview_server_profile_payload.zip/ansible/module_utils/oneview.py",
line 1140, in _get_network_by_name\nTypeError: must be str, not NoneType\n",
"module_stdout": "",
"msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
"rc": 1
}

I changed the following code base in my environment and it fixed it.
/library/module_utils/oneview.py
In, def _replace_networks_name_by_uri
for connection in connections:
print('connetion_data: ', connection)
if 'networkName' in connection:
name = connection.pop('networkName')
if name != None:       <<<<<<added this check
connection['networkUri'] = self._get_network_by_name(name)['uri']
This is needed when u edit profile connection and redeploy.

Hi Venkatesh,
I wanted to add mount iso and get network ip address if amsd  is installed.
Can you share the procedure for me to do so😊
With Best Regards,
Sheetal
From<EMAIL_ADDRESS>Sent: Friday, June 12, 2020 11:56 AM
To<EMAIL_ADDRESS>Cc: R, Sheetal (Global Solutions<EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: Re: [HewlettPackard/oneview-ansible] Fails Server profile update in case of existing network_set (#487)
Closed #487https://github.com/HewlettPackard/oneview-ansible/issues/487 via #531https://github.com/HewlettPackard/oneview-ansible/pull/531.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/HewlettPackard/oneview-ansible/issues/487#event-3437075342, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADZLO6OYPQGN4B2ZAD2W77DRWHC7RANCNFSM4LFHQYWQ.


GEODE-1121: Increased the max memory in the sender

Increased the max memory in the sender to be 100MB
Reduced the puts to 120MB
Made the test identical to the one in SerialWANPropogationsFeatureDUnitTest

+1 looks good, but maybe we should scale this test way down. Why does it need to put this much data in order to test this feature? Could we bring the max-mem down to the minimum 1 MB or something like that and still test the same thing?


Connector: Google Cloud Pub/Sub [Source]

Resource name
Google Cloud Pub/Sub
Resource link
https://cloud.google.com/pubsub/docs/overview
Connector type
Source
Expected connector behavior
This was discussed in a recent team sync-up.
The connector should make it possible to read messages from a Google Pub/Sub subscription. This could make it easier to support Google Cloud services which already publish notifications about their changes to Pub/Sub.

@neovintage here's the repo: https://github.com/conduitio-labs/conduit-connector-gcp-pubsub

Implemented https://github.com/conduitio-labs/conduit-connector-gcp-pubsub


NOT WORKING

I downloaded this programs latest version and was followed all the steps to keep the program rather than it auto deleting itself but when I turn it on while in orbit I'm still put queued in with other people. No notification saying the services are unavailable either. Can you help me pls?

I had the same issue and it took some firewall modifications to fix. Open the control panel and go to System and Security, click on Windows Defender Firewall, and on the left click 'View Advanced Settings. Choose 'Inbound Rules' and scroll until you see the rule(s) named 'Destiny 2' (there may be multiple, I had 8).
These rules simply allowed all ports to be forwarded past the firewall. This also meant it would override the solo-enabler rules. I simply deleted all the 'Destiny 2' rules and it fixed all my problems. Hope this fixes your problem/anyone else that is having a similar issue!
Note: Removing firewall rules can present security issues in specific cases but I firmly believe this is harmless as it only is a rule applied to Destiny 2.exe!


Add documentation about /etc/resolv.conf

I've spend all day today figuring out why my DNS lookup wasn't working. Finally figured out how to do it, by adding nameserver <IP_ADDRESS> to the top of /etc/resolv.conf.
Would it be useful to add this to the documentation like this?

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

No, we shouldn't recommend people go and manually modify this.
systemd-resolved itself modifies this unless your system got broken by manual user action or by your distro having not properly integrated systemd-resolved.
On correct systems using systemd-resolved, /etc/resolv.conf is a symlink to ../run/systemd/resolve/stub-resolv.conf which is updated by resolved as needed. I believe systemd-resolved will not do any of that if /etc/resolv.conf was made to be a regular file rather than symlink. Using something like resolvconf at the same time of systemd-resolved may also cause conflicts.
Given the above and as the stub resolver address can be changed at compilation time and in some cases the stub can also be disabled, it feels inappropriate to suggest people directly modify this. If you needed to do it, it's most likely an OS setup issue.


Local storage of intermediate/ongoing verification

Everytime verus is invoked, it will put the files necessary to generate the crate root (together with reports.toml) to <data_local_dir>/verus/reports/<uuid>/<SHA256(CRATE_ROOT)>/
The uuid is the in <data_local_dir>/verus/reports/userid, verus will create one if it doesn't exists
CRATE_ROOT is the canonicalized path to the crate root (assumed to be the only .rs file in the arguments)

Also, what happens if they don't have git installed?

Please first describe what the set-up flow for this is, what is stored, and where. We should only act on their behalf and only take actions that they requested, unless there's a very good reason and we have their consent.
I am asking to please describe what the exact flow is first because it looks like this will automatically start storing copies of their code elsewhere on disk (including files that are not tracked by their source control). For some users, that, on its own, may be problematic.

You're welcome to keep this open (maybe as draft) if it's helpful (but you're also welcome to re-open later).
FWIW I realize it was work in progress: I only commented about some high level points as they may influence the design.

Thank you for all the work on this. After a significant refactor, I have re-implemented a similar mechanism re-using the --record machinery extensively. The new implementation is https://github.com/verus-lang/verus/pull/798
I am closing this, as https://github.com/verus-lang/verus/pull/798 supersedes it.


Set up elbow plot's immediate updates based on config

Background
Link to issue
https://biomage.atlassian.net/browse/BIOMAGE-556?atlOrigin=eyJpIjoiNTRlOTQwZGNiMWNmNGRlZTg4NmM2ZGVmNThjNWVmNjUiLCJwIjoiaiJ9
Link to staging deployment URL
https://ui-zy3atk966t1ury66ifmif8iz7h.scp-staging.biomage.net/
Links to any Pull Requests related to this
Anything else the reviewers should know about the changes here
Changes
Code changes
Definition of DONE
Your changes will be ready for merging after each of the steps below have been completed:
Testing

[x] Unit tests written
[x] Tested locally with Inframock
[ ] Deployed to staging

To set up easy local testing with inframock, follow the instructions here: https://github.com/biomage-ltd/inframock
To deploy to the staging environment, follow the instructions here: https://github.com/biomage-ltd/biomage-utils
Documentation updates
Is all relevant documentation updated to reflect the proposed changes in this PR?

[ ] Relevant Github READMEs updated
[ ] Relevant wiki pages created/updated

Approvers

[ ] Approved by a member of the core engineering team
[ ] (UX changes) Approved by vickymorrison (this is her username, tag her if you need approval)

Just before merging:

[ ] After the PR is approved, the unstage script in here: https://github.com/biomage-ltd/biomage-utils is executed. This script cleans up your deployment to staging

Optional

[ ] Photo of a cute animal attached to this PR

I just checked the link in staging. It looks better, but I have a question: right now, if I change the number of principal components number, after clicking anywhere on the screen the red line updates even though the settings are not actually applied. Is that expected behaviour?

I just checked the link in staging. It looks better, but I have a question: right now, if I change the number of principal components number, after clicking anywhere on the screen the red line updates even though the settings are not actually applied. Is that expected behaviour?
@ivababukova

yes, here it says that "When the user changes this value, the red line in the Elbow Plot (left) will update"

Yup, you

I just checked the link in staging. It looks better, but I have a question: right now, if I change the number of principal components number, after clicking anywhere on the screen the red line updates even though the settings are not actually applied. Is that expected behaviour?
@ivababukova

yes, here it says that "When the user changes this value, the red line in the Elbow Plot (left) will update"

Yup that's correct, thanks for double checking!


Vulnerable interceptor

Coverage decreased (-2.3%) to 52.45% when pulling 7cf5b224654a1a9c4eaf0a9f12f4fe8299c4c62e on wy65701436:vulnerable-interceptor into 551e0fe9c10586e0e6a25924f53090702b944b9d on vmware:master.

Coverage decreased (-2.3%) to 52.45% when pulling 21267f7cac48f9f96c5d18363f5cfa758a709680 on wy65701436:vulnerable-interceptor into 551e0fe9c10586e0e6a25924f53090702b944b9d on vmware:master.

Coverage decreased (-2.3%) to 52.489% when pulling 21267f7cac48f9f96c5d18363f5cfa758a709680 on wy65701436:vulnerable-interceptor into 551e0fe9c10586e0e6a25924f53090702b944b9d on vmware:master.

Coverage decreased (-2.3%) to 52.45% when pulling fe48299e8f68850d21f9ecb842aa683026335b57 on wy65701436:vulnerable-interceptor into 551e0fe9c10586e0e6a25924f53090702b944b9d on vmware:master.

Coverage decreased (-2.3%) to 52.489% when pulling 919deb07530fdf12ff8b371deb4371314a3d17ba on wy65701436:vulnerable-interceptor into 551e0fe9c10586e0e6a25924f53090702b944b9d on vmware:master.

Coverage decreased (-2.3%) to 52.45% when pulling 919deb07530fdf12ff8b371deb4371314a3d17ba on wy65701436:vulnerable-interceptor into 551e0fe9c10586e0e6a25924f53090702b944b9d on vmware:master.


[GameTest][feature request] EntityRaycastOptions: add option to choose hitbox or collision_box

minecraft:collision_box
minecraft:custom_hit_test
There is difference.
EntityRaycastOptions should allow us to choose.

Thank you for your issue. Sorry to hear you are having trouble. We are unable to provide general support via this feedback channel that isn’t related to specific documentation issues.


"The Library" Not Located

On webpage https://github.com/dotnet/MQTTnet/wiki/Server-and-client-method-documentation for Server and client method documentation, the statement "The methods are now documented in the library" where is the "the library" located?
Did not find "library" in the downloaded MQTTnet.
With the MqttClient.cs being over 1000 lines of code, is there some kind of roadmap or flow diagram?

"The library" is the actual code. We added a lot of summary comments to that method and property will now show the required information.
There is no flow diagram or roadmap. If you need more information about the MQTT protocol itself please see the official RFC.


Fix Artboard tool and editor manipulation of node-based artboards

Part of #1171
The Artboard tool will also need to be updated to work with node-based artboards, plus any editor features like the New Document dialog and Document > Clear Artboards.

Closed by 595f5462496dfc5fc702b0853d336898dde65c3e


OpenROAD GUI crash when opening an .odb file on macOS

Describe the bug
When I was trying to open an odb  file in OpenROAD GUI on macOS, the GUI crash.
Expected Behavior
GUI should be running without crushing.
Environment
kernel: Darwin 22.4.0
os: 		macOS 		13.3.1
cmake version 3.26.1
CMake Warning at src/CMakeLists.txt:226 (message):
  spdlog: SPDLOG_FMT_EXTERNAL=ON

-- The CXX compiler identification is AppleClang <IP_ADDRESS>30022
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- OpenROAD version: v2.0-7424-gcf7ecdf0c
-- System name: Darwin
-- Compiler: AppleClang <IP_ADDRESS>30022
-- Build type: RELEASE
-- Install prefix: /usr/local
-- C++ Standard: 17
-- C++ Standard Required: ON
-- C++ Extensions: OFF
-- Could NOT find GTest (missing: GTEST_LIBRARY GTEST_INCLUDE_DIR GTEST_MAIN_LIBRARY)
-- The C compiler identification is AppleClang <IP_ADDRESS>30022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Found Python: /usr/local/Frameworks/Python.framework/Versions/3.11/bin/python3.11 (found version "3.11.2") found components: Interpreter
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Performing Test C_COMPILER_SUPPORTS__-Wall
-- Performing Test C_COMPILER_SUPPORTS__-Wall - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wall
-- Performing Test CXX_COMPILER_SUPPORTS__-Wall - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-array-bounds
-- Performing Test C_COMPILER_SUPPORTS__-Wno-array-bounds - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-array-bounds
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-array-bounds - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-nonnull
-- Performing Test C_COMPILER_SUPPORTS__-Wno-nonnull - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-nonnull
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-nonnull - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-maybe-uninitialized
-- Performing Test C_COMPILER_SUPPORTS__-Wno-maybe-uninitialized - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-maybe-uninitialized
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-maybe-uninitialized - Failed
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format-overflow
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format-overflow - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format-overflow
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format-overflow - Failed
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-variable
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-variable - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-variable
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-variable - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-function
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-function - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-function
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-function - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-write-strings
-- Performing Test C_COMPILER_SUPPORTS__-Wno-write-strings - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-write-strings
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-write-strings - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-sign-compare
-- Performing Test C_COMPILER_SUPPORTS__-Wno-sign-compare - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-sign-compare
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-sign-compare - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-deprecated
-- Performing Test C_COMPILER_SUPPORTS__-Wno-deprecated - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-deprecated
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-deprecated - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-c++11-narrowing
-- Performing Test C_COMPILER_SUPPORTS__-Wno-c++11-narrowing - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-c++11-narrowing
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-c++11-narrowing - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-register
-- Performing Test C_COMPILER_SUPPORTS__-Wno-register - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-register
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-register - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format
-- Performing Test C_COMPILER_SUPPORTS__-Wno-format - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-format - Success
-- Performing Test C_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal
-- Performing Test C_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-reserved-user-defined-literal - Success
-- Performing Test C_COMPILER_SUPPORTS__-fpermissive
-- Performing Test C_COMPILER_SUPPORTS__-fpermissive - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-fpermissive
-- Performing Test CXX_COMPILER_SUPPORTS__-fpermissive - Success
-- Performing Test C_COMPILER_SUPPORTS__-x
-- Performing Test C_COMPILER_SUPPORTS__-x - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__-x
-- Performing Test CXX_COMPILER_SUPPORTS__-x - Failed
-- Performing Test C_COMPILER_SUPPORTS__c++
-- Performing Test C_COMPILER_SUPPORTS__c++ - Failed
-- Performing Test CXX_COMPILER_SUPPORTS__c++
-- Performing Test CXX_COMPILER_SUPPORTS__c++ - Failed
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-but-set-variable
-- Performing Test C_COMPILER_SUPPORTS__-Wno-unused-but-set-variable - Success
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-but-set-variable
-- Performing Test CXX_COMPILER_SUPPORTS__-Wno-unused-but-set-variable - Success
-- TCL library: /usr/local/lib/libtcl8.6.dylib
-- TCL header: /usr/local/include/tcl.h
-- TCL readline library: /opt/local/lib/libtclreadline.dylib
-- TCL readline header: /opt/local/include
-- Found SWIG: /opt/local/bin/swig (found suitable version "4.0.2", minimum required is "3.0")
-- Found Boost: /usr/local/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found version "1.81.0")
-- boost: 1.81.0
-- Found Python3<EMAIL_ADDRESS>(found version "3.11.2") found components: Development Development.Module Development.Embed
-- Found ZLIB: /usr/local/opt/or-tools/lib/libz.a (found version "1.2.11")
-- spdlog: 1.9.2
-- Found BISON: /usr/local/opt/bison/bin/bison (found version "3.8.2")
-- Found Doxygen: /usr/local/bin/doxygen (found version "1.9.1") found components: doxygen dot
-- STA version: 2.4.0
-- STA git sha: 20805c83cf4817f6d2ca7867a52dac226515a21e
-- System name: Darwin
-- Compiler: AppleClang <IP_ADDRESS>30022
-- Build type: RELEASE
-- Build CXX_FLAGS: -O3 -DNDEBUG
-- Install prefix: /usr/local
-- Found FLEX: /usr/local/opt/flex/bin/flex (found version "2.6.4")
-- TCL library: /usr/local/lib/libtcl8.6.dylib
-- TCL header: /usr/local/include/tcl.h
-- SSTA: 0
-- STA executable: /Users/jiadyuan/Desktop/OpenROAD/src/sta/app/sta
-- GPU is not enabled
-- Found re2: /usr/local/opt/or-tools/lib/cmake/re2/re2Config.cmake (found version "9.0.0")
-- Found Clp: /usr/local/opt/or-tools/lib/cmake/Clp/ClpConfig.cmake (found version "1.17.7")
-- Found Cbc: /usr/local/opt/or-tools/lib/cmake/Cbc/CbcConfig.cmake (found version "2.10.7")
-- Found Eigen3: /usr/local/opt/or-tools/share/eigen3/cmake/Eigen3Config.cmake (found version "3.4.0")
-- Found SCIP: /usr/local/opt/or-tools/lib/cmake/scip/scip-config.cmake (found version "8.0.1")
-- GUI is enabled
-- Found Boost: /usr/local/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found version "1.81.0") found components: serialization
-- Found OpenMP_CXX: -Xclang -fopenmp (found version "5.0")
-- Found OpenMP: TRUE (found version "5.0")
-- Could NOT find VTune (missing: VTune_LIBRARIES VTune_INCLUDE_DIRS)
-- Found Boost: /usr/local/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found suitable version "1.81.0", minimum required is "1.78")
-- Found Boost: /usr/local/lib/cmake/Boost-1.81.0/BoostConfig.cmake (found version "1.81.0") found components: serialization system thread
-- Removing MPL2 and PAR to avoid run time fatal error.
-- TCL readline enabled
-- Tcl Extended disabled
-- Python3 enabled
-- Removing PAR_PY to avoid run time fatal error.
-- Configuring done (17.1s)
-- Generating done (1.1s)
-- Build files have been written to: /var/folders/_n/26qjtdy14zd1zs4j1wb83v300000gn/T/tmp.er8n852V

To Reproduce
logs.txt
Relevant log output
No response
Screenshots
No response
Additional Context
No response

We don't officially support mac os though a number of people do use it successfully.  Is this x86, m1, or m2?  Can you include the .odb?

We don't officially support mac os though a number of people do use it successfully. Is this x86, m1, or m2? Can you include the .odb?

yeah, it's x86. (Intel core i7)

We don't officially support mac os though a number of people do use it successfully. Is this x86, m1, or m2? Can you include the .odb?

And yes, I use it successfully when I was opening a odb file of ibex core. But when it comes to a larger design, the GUI is crushing.

A test case is necessary to do anything about it.

Closing due to inactivity. Feel free to reopen it you can provide an example


clBLAS-tune error on Adreno 320 platform

clBLAS-tune errors with the following on the Adreno 320 GPU?
./clBLAS-tune --gemm --float --fast
GEMM is being tuned, progress:  0.12% clEnqueueNDRangeKernel() failed with -54(CL_INVALID_WORK_GROUP_SIZE)
Performance is also terrible, perhaps 100MFlops on a platform that is perhaps 90GFlops theoretical??

@dammad This library was developed by AMD and they are doing all they can to support platforms that they may or may not have access to. Since this library is out in the open, I think it is up to the other hardware vendors (or users like you and me) to see if they can contribute code that will improve the performance.
P.S. I do not work for AMD.

Indeed. I posted because I was wondering whether anyone had seen this before or had any insights.
Dammad.
Sent from my phone.

On Aug 23, 2015, at 4:03 PM, Pavan Yalamanchili<EMAIL_ADDRESS>wrote:
@dammad This library was developed by AMD and they are doing all they can to support platforms that they may or may not have access to. Since this library is out in the open, I think it is up to the other hardware vendors (or users like you and me) to see if they can contribute code that will improve the performance.
P.S. I do not work for AMD.
—
Reply to this email directly or view it on GitHub.

Hi @dammad
We've seen CL_INVALID_WORK_GROUP_SIZE on various opencl implementations, especially wrt CPU devices.  Some runtimes require a workgroup to be a certain shape, and we have not designed clblas to launch kernels of any arbitrary workgroup shape.  Can you query your device for CL_DEVICE_MAX_WORK_GROUP_SIZE and CL_DEVICE_MAX_WORK_ITEM_SIZES?

Thanks for the info. My platform reports 1 and (1,1,1) for those. I’m looking to see if I can modify the code to work with those sizes.
Alan.
On August 23, 2015 at 8:25:40 PM, Kent Knox<EMAIL_ADDRESS>wrote:
Hi @dammad
We've seen CL_INVALID_WORK_GROUP_SIZE on various opencl implementations, especially wrt CPU devices. Some runtimes require a workgroup to be a certain shape, and we have not designed clblas to launch kernels of any arbitrary workgroup shape. Can you query your device for CL_DEVICE_MAX_WORK_GROUP_SIZE and CL_DEVICE_MAX_WORK_ITEM_SIZES?
—
Reply to this email directly or view it on GitHub.

@dammad
I believe our kernels are written to assume the shape of the workgroup is at least 64 wide.
See #64, #25


desktop sound works from time to time not always

Describe the bug
After exporting /dev/snd running sound is not consistent. It works from time to time but not
always. When it fails docker log show "GET /api/state?video=false&id=5&w=1364&h=915 HTTP/1.0" 200 128 30.230345
seems like video is set to false even when accessing 6080/#/?video. Any thoughts on whats going wrong here? thanks.
To Reproduce
Install latest version from hub and enable sound. Access ipaddress:6080/#/?video and check
the docker logs --follow
Expected behavior
/api/state?video=true should show up with docker log while running with sound card and
access video url
Versions (please complete the following information):
dorowu/ubuntu-desktop-lxde-vnc:latest
Firefox - 70.0.1 (64-bit)

Hi
Any update on the bug.
Thanks

Am experiencing the same issue, logs showing video=false

I am experiencing the same issue. video=false. Interestingly, when I run speaker-test in the terminal, I can hear the output. But no sound works (From the docker or from my computer).

I have found that if I launch the browser from the command line google-chrome-stable --no-sandbox, then the sound works fine. Hope that helps!


How to receive and send tokens via different network using this repo?

Hello:
First, I want to know if I can receive tokens from one network, and send the tokens to another address via another network using this repo.
One example is: if I want to receive some USDT via ERC20 network, then I want to send the received USDT, less the gas fees to another address via BEP20 network.
Second, I read the documents, but I didn’t see that this wallet support Bitcoin or the tokens on Bitcoin network, let me know if the wallet supports Bitcoin and the tokens on Bitcoin network.
Finally, I don’t know how to use the repo.
Do I have to write a ASP.NET project to run this?
Or, a simple C# Console project or WinForms App project?
I am using Visual Studio 2022 (Version 17.4.2) on Windows 10 PRO (22H2).
Please advise,
Thanks,

This repo focusses on Blazor WebAssembly applications running in the browser.
This library let's you communicate with the MetaMask browser plugin.
MetaMask is the actual crypto wallet, receiving and sending tokens on different networks. This library can communicate with the MetaMask JavaScript API.
More info on https://metamask.io
MetaMask does not support Bitcoin.
This library does not support swapping coins. But it can interact with MetaMask on any network MetaMask is connected to.

Hello:
Thanks for your reply, I didn't see any notice for your reply in my email.
As I had some experience with MetaMask before, what I can remember is each time if I want to do anything, MetaMask will ask me for permssion, therefore, a lot of click on yes button.
I just want to know if I can use your repo to login to MetaMask, afterwards, run any MetaMask API without clicking on Yes button each time?
Finally, what is  the best way to run your repo?
What I am used to is that I use Playwright to launch Chrome or Edge browser and open remote debug port, then use Playwright to control Chrome/Edge browser, I can use code to fill in like text input box, like: user name, password.
And click on som buttons on the web page via Playwright.
To use your repo, do I have to setup a ASP.NET page, and what is the next steps?
Is it possible that I use Playwright to launch Chrome/Edge browser without an ASP.NET page?
Please advice,
Thanks

This repo only works with Blazor projects. You can download the repo and run the sample app.
When user permission is needed, MetaMask will prompt the user. There is no way around that.
I have no experience with Playwright and this repo is not tested with Playwright.

Thanks for your reply.
I will do some testing, but close this for now.
Thank you for your advice.


OTP Internal Version and Cloudwatch automation

This PR uses a newer OTP Version (with embedded router config and a better routing heuristics) for
the docker container.
In addition the memory monitoring is automatically included in a cronjob for the deployed instance and
instructions are added to create the alarm via the command line

Cool stuff! So it doesn't even need the aws_access_key_id and the aws_secret_access_key anymore?

That's correct :)


HTML Comments Not Colour Coded

VSCode Version: 1.13.0
OS Version: macOS Sierra 10.12.4

Since updating to version 1.13.0 of VSCode, HTML comments are no longer colour-coded grey, but instead simply appear in plain white.

Hey Christian,
I tried to reproduce in my environment and I cannot reproduce.

VSCode: 1.13.0
OSVersion: macOS Sierra 10.12.5

Works for me too
@ChristianTheMinery What theme are you using? Can you try other themes and see if you get the same issue?

I believe I've identified the issue - the problem is that farther up the file, there's a PHP tag nested inside a script tag:
<script>
    ...
        <?php
            foreach($actID AS $act) {
                echo 'divNames.push(\'[nid='.$act.']\');';
             }
        ?>
    ...
</script>

And this is what seems to be breaking the 'colour parsing'. It didn't before, but it does now.

Thanks @ChristianTheMinery
There was a change to the php grammar this time, so may be that caused this.
cc @roblourens

I do see this, but it doesn't seem like a regression vs 1.12. You're saying that something like this worked in 1.12?
1.12.2:

Yes, it definitely did. I was actually working on this exact file when I updated to 1.13. Before the update, the syntax highlighting worked fine, after, it didn't. Very odd that it doesn't seem to have the same behaviour in your 1.12, though.

Maybe you were using 1.11? It looks correct in 1.11.2:

@aeschli It looks like we supported multiple levels of nesting in 1.11 but not 1.12 or 1.13. The screenshot above includes HTML, JS, and PHP scopes. Do you know what could have happened? An issue with one of the grammars or something else?

I could have been on 1.11. I'll admit I'm not the best at keeping my software up to date!

@roblourens  I found the problem.
VSCode uses the HTML grammar from textmate/html.tmbundle which has recently moved away from the scope source.js.embedded.html. The PHP grammar is from Atom and still uses the scope.
The PHP injections rule that textmate now uses is L:text.html.php source.js.
See here.
I patched our instance of the PHP grammar for now.
I'm not sure if is an option for the atom/php grammar to make the same change. https://github.com/atom/language-php/issues/201 has the discussion.

Thanks!


Allow to control behaviour when there is a failed remote read

Currently if any query errors that occur while we try to read from remote are returned as a list of warnings and the query continues.
Sometimes it can return partition result (data from all other not failed remote readers). Related MR - https://github.com/prometheus/prometheus/pull/4426
After this patch user can define if he wants to stop processing and return error while remote reader error occurs.
New option in remote_read config section is fail_on_error. By default option is false, so we are not changing current prometheus behaviour.
Also warning that provided is not very helpful:
{"status":"success","data":{"resultType":"matrix","result":[]},"warnings":["Remote server returned HTTP status 400 Bad Request"]}
After those change error will be:
{"status":"success","data":{"resultType":"matrix","result":[]},"warnings":["Remote server http://<IP_ADDRESS>:10000/api/v1/read returned HTTP status 400 Bad Request: exceeded sample limit (5)"]}

Remote storage should never be a hard dependency, you always have local storage to work off. If you want to fail queries that have warnings, you should do that in the client rather than making your monitoring more fragile.
The warning improvements would be good though.

Remote storage should never be a hard dependency, you always have local storage to work off. If you want to fail queries that have warnings, you should do that in the client rather than making your monitoring more fragile.
The warning improvements would be good though.

We have installation with a lot of separate instances, so we querying data from prometheus UI and grafana. Both clients expect real error (not warnings) for show it for client. It is first reason of this change - it is pretty difficult to change code of any clients. So I understand that not all users have the same use case, it is why I've added it as optional with saving preview behavior.  Second reason of that change: we receive no data while those kind of errors (currently warnings). In that case it brings incorrect data (not full set). In our case (and may be case of some other users) fullness of data is very important. So I offer to keep it optional with default behavior as it was defined in https://github.com/prometheus/prometheus/pull/4426

so we querying data from this remote reader via prometheus UI and grafana

That's really not a good idea, that'll have both performance and reliability issues. I'd suggest looking at Thanos or Cortex.

In our case (and may be case of some other users) fullness of data is very important.

If having all data from all remote read clients is more important than your monitoring working, then I'd suggest changing your client to handle warnings as errors.

so we querying data from this remote reader via prometheus UI and grafana

That's really not a good idea, that'll have both performance and reliability issues. I'd suggest looking at Thanos or Cortex.

For users queries (that happens not too often + read samples limit) performance degradation don't bring some problems. Reliability issues in that case only with remote instances, but for us prometheus service more important for monitoring, so queries from users are just for troubleshooting or look on some short history.

In our case (and may be case of some other users) fullness of data is very important.

If having all data from all remote read clients is more important than your monitoring working, then I'd suggest changing your client to handle warnings as errors.

Generally our monitoring processed on instances with local storage. I think set monitoring based on remote readers is bad idea. For monitoring I see only 2 stable way: use local storage or use federation. Our case for monitoring is local storage on each instance + federated for monitoring infra-wide (across all instances) data.

Here is another problem - users see incorrect data (not full data set) while troubleshoot and receive alerts based on full data set.

It'd be recommended to look at the Prometheus with the data you want, rather than trying to proxy it all through a central Prometheus. Reliability in Prometheus terms means that alerts and graphs work, and if some older data from a few weeks back is temporarily unavailable that's not the end of the world.

Our case for monitoring is local storage on each instance + federated for monitoring infra-wide (across all instances) data.

That's the recommended setup. Pulling graphs through one Prometheus via remote_read is not.

Here is another problem - users see incorrect data (not full data set) while troubleshoot and receive alerts based on full data set.

It'd be recommended to look at the Prometheus with the data you want, rather than trying to proxy it all through a central Prometheus. Reliability in Prometheus terms means that alerts and graphs work, and if some older data from a few weeks back is temporarily unavailable that's not the end of the world.

Very often users shouldn't know about 100 instances of prometheuses and what data stored on what instances. I absolutely agree that if data for few weeks back unavailable it's not end of the world. But I think that end of the world if you ask for fresh data and receive incorrect data collection. As example I want to see sum of queries to all services. In reality I have 100b queries, but prometheus in that case will return 50b. I know that for queries like that best way is federated, but if this query happens one time in month I think federated with aggs isn't good idea (just waste disk space).
I'm really confusing about reliability here.  So if users query instances directly and UI of instance unavailable there is no reliability anyway. Thanos and Cortex are trying to solve reliability problem but anyway with some trade off (ex. performance degradation). So we should find trade off in any cases.

Our case for monitoring is local storage on each instance + federated for monitoring infra-wide (across all instances) data.

That's the recommended setup. Pulling graphs through one Prometheus via remote_read is not.

if this query happens one time in month I think federated with aggs isn't good idea (just waste disk space).

That sort of thing is generally quite cheap. By the time it's federated, the aggregation should have greatly reduced the cardinality.

So if users query instances directly and UI of instance unavailable there is no reliability anyway.

Yes, but only for that instance (and presuming you don't have a redundant one). Every other instance will still work though.

if this query happens one time in month I think federated with aggs isn't good idea (just waste disk space).

That sort of thing is generally quite cheap. By the time it's federated, the aggregation should have greatly reduced the cardinality.
For one query I agree. But for any variants of queries it would not be cheap + it makes usage of service more difficult (they should write aggregations for all queries before they will use it in future).

So if users query instances directly and UI of instance unavailable there is no reliability anyway.

Yes, but only for that instance (and presuming you don't have a redundant one). Every other instance will still work though.

It still will require from users to have knowledge about all instances.
I just wander about remote reader using in that case. As we discussed above remote reader is bad idea for any variants (overhead, reliability for query data etc.), but we still continue to support it. It will return incorrect data but will be reliable (more then one remote_read server), it can not return data at all, but still will available (one remote_read server). I think I don't follow idea of remote reader in that case at all...

I think I don't follow idea of remote reader in that case at all...

The primary intended use case is remote storage, so the local instance has complete data for say a few weeks and anything further back which that instance used to know can come from remote storage. If a big time chunk is missing that shouldn't matter much, bar for the very small number of alerts that are using old historical data.

I think I don't follow idea of remote reader in that case at all...

The primary intended use case is remote storage, so the local instance has complete data for say a few weeks and anything further back which that instance used to know can come from remote storage. If a big time chunk is missing that shouldn't matter much, bar for the very small number of alerts that are using old historical data.

Ok, I got it. I still don't understand use case when we support remote reader from another prometheus. But it is another discussion I think. So can we leave improve error message text from this MR and can I add warnings show in UI then?

I still don't understand use case when we support remote reader from another prometheus.

We used it for the 1.x->2.x transition, and there's another rarer use case too.

So can we leave improve error message text from this MR and can I add warnings show in UI then?

Sure, though the UI one is probably better done as a separate PR.

I still don't understand use case when we support remote reader from another prometheus.

We used it for the 1.x->2.x transition, and there's another rarer use case too.

So can we leave improve error message text from this MR and can I add warnings show in UI then?

Sure, though the UI one is probably better done as a separate PR.

Ok, I'll create it in separate MR


Detect binja version in a slightly more reliable way

I'll close this for now without merging, in favour of merging #19 which has the same changes.


Add a resend to the producer when sending message failed

Add the retry with "1" in the configuration: https://github.com/stolostron/multicluster-global-hub/blob/main/pkg/transport/config/confluent_config.go#L35