doc(quickstart): specify tag in git clone command

Per #615, the HEAD of the main branch of the repo is not guaranteed to be
compatible with the most recent SDK release, so it's better to have users use
the latest release tag.
We also need better error reporting for SDK compatibility issues; I'll open a
new work item to track that.
Signed-off-by: Joel Dice<EMAIL_ADDRESS>

In the release process document, there is a line Check the docs for hard-coded version strings that covers updating this but we should make the release process doc better in the future to ensure we don't miss updating this version reference.

Agreed.  Hopefully it will be pretty obvious given that the version number also appears just above in the wget command to get the release tarball.

I think version affinity can really only handle tagged releases, not running from main


compiling pointnet2 error

could you please explain if I can run this code with cuda 10.0 pytorch 1.4 , my gpu driver does not support newer pytorch versions
I have compiled pointnet2 but I got this error :
error: command '/usr/bin/gcc' failed with exit code 1
my gcc version is 5.4.0
After compilation, I think this is the only module that are not created
No module named "pointops2_cuda"
is there any way to compile this lib without the need to upgrade my pytorch version?
Thanks in advance

thank you for your replay
could you please tell me the right way to install gcc 7.5.0? I tried many ways but the error still the same
I really appreciate any help


arch: actually show required architecture

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[ ] Have you successfully run brew tests with your changes locally?

depends_on :arch => :x86_64 and similar incantations did not actually show the required CPU architecture when running brew info <formula>. This pull request fixes the display of such Requirements.
Before:
$ brew info sslyze
sslyze: stable 1.4.3 (bottled), HEAD
SSL scanner
https://github.com/nabla-c0d3/sslyze
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/sslyze.rb
==> Dependencies
Required: python@2 (installed)
==> Requirements
Required: arch (installed)

After:
$ brew info sslyze
[snip]
==> Requirements
Required: x86_64 architecture (installed)

Nice work @jonchang 👏


Louis: logging questions and answers on the server

The Louis feature (under development, see #2813) should log questions and answers on our server so that we can monitor its usage and performance. This enhancement request should not prevent deployment of Louis.

Good to note, on the same vein: https://github.com/source-academy/backend/issues/1113

Closed by #3010


Uncaught TypeError: [tcomb] Invalid call to mixin(target, source, [overwrite]): cannot overwrite property "ValidationError" of target object

Version
Tell us which versions you are using:

tcomb-form v0.8.2
react v0.14.7

Expected behaviour
Simply importing the module should not throw this error.
Actual behaviour
...but it does.
Steps to reproduce
Simply import the module. That's it.
Console log (optional)
Uncaught TypeError: [tcomb] Invalid call to mixin(target, source, [overwrite]): cannot overwrite property "ValidationError" of target object

Hi @volkanunsal,
I can't reproduce this error just importing the package. Could you please provide more details? Maybe the stack trace.
It would help a lot if you enable the debugger ("Pause on exceptions" in the "Source" panel of Chrome dev tools) and spot the point where the error is thrown

I can't either anymore. Most likely tcomb-validation wasn't installed in the first time I tried it because I'd used npm update .

I get exactly the same bug,
I remove my node_modules and run a new npm install, everything is fine now.
@gcanti unfortunately I didn't inspect the stack trace to tell you more information before :(


Maintenance

Red Hat SSO

not sure what this epic meant...any ideas @ConradBoydElliottGustafson

Placeholder that someone created. Close and ignore-- thanks


latex parsing needed

Thanks for the great component!
It seems that both inline and block latex equations are not supported as for now. For example, it would be ideal for
$$f(X,n) = X_n + X_{n-1}$$

in markdown to be parsed as a special element so that we can further overwrite the component by katex.js etc. to get the final result as follows:
$$f(X,n) = X_n + X_{n-1}$$
Please refer to https://ashki23.github.io/markdown-latex.html for more examples. This feature is critical to handle markdown for math, computer science, machine learning etc. Thanks in advance.

Open to PRs if you can do it implement in a lightweight fashion

to be parsed as a special element

are you thinking just a separate category that you can apply an override to? Is there a suitable semantic HTML element container?

Spent some time looking at this, I think the most straightforward way to handle it is to leverage the existing fenced code block grammar and perhaps add an option to customize the wrapper things are placed in and a function to invoke after rendering.
For example, it could look like this in markdown:
```latex
$$f(X,n) = X_n + X_{n-1}$$
```

the wrapper things are placed in

This matters because many of the utilities for parsing LaTeX I looked at will automatically ignore <code> elements.

a function to invoke after rendering

This would probably also be useful for syntax highlighters, often they struggle to know when they need to reparse the document.

@quantizor that makes sense to me!

If you want a hack that will work in the meantime:

Install react-katex
Here's how to use it with Markdown to JSX

import "katex/dist/katex.min.css";
import {InlineMath} from "react-katex";

// Change this to whatever you want,
// Just make sure that wherever you want latex to appear, you use this.
// You could, for instance, write a script to turn any pair of `$$` statements into the correct
// enclosing tags, as that is a common way to denote "latex starts here"
const NAME_OF_LATEX_TAG = "latex"

const renderComponent = () => {
   const latexString = `<${NAME_OF_LATEX_TAG}>\\\\sqrt{a^2 + b^2}</${NAME_OF_LATEX_TAG}>`

   <Markdown
    options={{
      overrides: {
         [NAME_OF_LATEX_TAG]: () => {
          // Hacky, doesn't support multiline children
          const childstr = props.children[0] as string

          return <InlineMath math={childstr}/>
        }
      },
    }}
  >
    {latexString}
  </Markdown>
}


log docker output. Needs a move to tracing

Signed-off-by: Pierre Fenoll<EMAIL_ADDRESS>

(Only 1 CI )job fails because clippy is the only one complaining about a cargo1.77.1 used ontop artifacts compiled with 1.77.0.
I had to patch up around the issue of the upstream patch images being missing but eh, let's not heal the symptom.


Call to undefined function get_fields()

I installed your plugin in wordpress. unfortunately i get this error

Fatal error:  Call to undefined function get_fields() in /var/www/web1205/html/MerseburgerApp/wp-content/plugins/acf-to-wp-api/acf-to-wp-api.php on line 57
My url is .../wp-json/posts?type=tribe_events
Thanks,
Martin

Have you installed advanced custom fields?
On Mon, Jul 6, 2015 at 9:29 AM lrz-hal<EMAIL_ADDRESS>wrote:

I installed your plugin in wordpress. unfortunately i get this error
Fatal error: Call to undefined function get_fields() in
/var/www/web1205/html/MerseburgerApp/wp-content/plugins/acf-to-wp-api/acf-to-wp-api.php
on line 57
My url is .../wp-json/posts?type=tribe_events
Thanks,
Martin
—
Reply to this email directly or view it on GitHub
https://github.com/times/acf-to-wp-api/issues/17.

Ohh... Thanks for the hint :o)


Introduction of 'NaN' is incompatible with MetricsTest

Following on from #102, and considering that it seems that we should implement all tests in MetricsTest (see #96 and this comment):
The introduction of NaN as a value for class/@value is incompatible with the current implementation of MetricsTest. As far as I am aware, the only way to test for NaN in an xpath predicate is by treating it as an xsd:string, but MetricsTest is expecting the value to be of type xsd:double.
Quickly changing MetricsTest.value to a String, enclosing the given values for other tests in quotes, and adapting the xpath accordingly leads to other errors, which suggests that a closer look needs to be taken.

The job #103 assigned to @skapral/z. The budget is 30 minutes, see §4. Please, read §8 and §9. If the task is not clear, read this and this.

@skapral/z this job was assigned to you 5 days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@skapral/z this job was assigned to you 8 days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

The user @skapral/z resigned from #103, please stop working

The job #103 assigned to @rok-povsic/z, here is why. The budget is 30 minutes, see §4. Please, read §8 and §9. If the task is not clear, read this and this.

@yegor256 Please check if I should really have been assigned this issue, see here.

@0crat refuse

@0crat refuse (here)

@yegor256 The user @rok-povsic/z resigned from #103, please stop working

@0crat assign @skapral

@skapral you technically lost your time here. I'm reassigning you back just as an exception. Please, keep in mind that 10 days means 10 days. The robot has no mercy)

@0crat assign @skapral  (here)

@yegor256 The job #103 assigned to @skapral/z, here is why. The budget is 30 minutes, see §4. Please, read §8 and §9. If the task is not clear, read this and this.We should be aware that skapral is on vacation! This ticket may be delayed.

Manual assignment of issues is discouraged, see §19: -5 points just awarded to @yegor256/z, total is +9659

@yegor256 I know the rules, there is no need for mercy. BTW: once ago I had a proposal on the process just for this case: https://github.com/zerocracy/datum/issues/264.
Anyway - PR is gone to upstream: are there any reason to keep this issue open?

@skapral ask ticket reporter to close it, if you think it's done

@llorllale? Could you please close the issue?

thank you @skapral

Job #103 is already in scope

@skapral/z resigned from #103, since the job is not in scope anymore

The job #103 is now out of scope

@llorllale the only puzzle #181 is solved here.


Finish refactor that seperates content and trigger

Adds JS to dynamically watch for a trigger element to be
added to the trigger slot so we can avoid breaking the API.
We can't just pass the trigger down because in v1 Shadow DOM
slots passed down twice that are empty still wipe out any
default content.
Removes default values from px-dropdown-content to avoid race
conditions where default properties would get set in px-dropdown,
get bound down into px-dropdown-content, lifecycle effects would
run and update selected/selectedValues, then px-dropdown-content
would have its default properties set and wipe out the work
causing weird errors.
Update tests.
Refactor px-dropdown-content to just listen for click event
emitting from the trigger
Move all code that deals with items into px-dropdown-content
to cleanly seperate concerns. px-dropdown is just a wrapper
that connects the trigger and content together and passes
properties and slotted content down.

This looks fine to me


FEAT: Added initial piel description docs

Hi Joaquin,
Just added a few more docs on the piel installation for those interested in a codesign flow and an installation directive too!
Also fixes a minor validation mismatch with the provided examples of the Tidy3D plugins.
Cheers,
Dario

Hi Dario,
we already have piel linked into the docs
I think adding it here only makes sense if we start adding some notebook tutorials here

Ahh yeah, just noticed! Sounds good, I'll try to add further docs when I can. We're currently in the process of setting up the environment and using the flow in an analog cadence replacement with just open source tools doing layout with gdsfactory!
I'll keep you posted too and add examples when I can.


Update WithArgs to accept object array

I'd like to be able to do the following
builder
  .AddExecutable(...)
  .WithEndpoint(name: "endpoint")
  .WithArgs("-p", builder.Resource.GetEndpoint("endpoint").Property(EndpointProperty.Port));

But this doesn't work as the WithArgs callback only accepts string array params - https://github.com/dotnet/aspire/blob/d4acce5704b8f086cd38c2e29b2766669d8a1277/src/Aspire.Hosting/ResourceBuilderExtensions.cs#L162-L165
For now, can work around this with the callback overload that does accept objects
return builder
  .AddExecutable(...)
  .WithArgs(context =>{
      context.Args.Add("-p");
      context.Args.Add(builder.Resource.GetEndpoint(endpointName).Property(EndpointProperty.TargetPort));
    });

Sounds reasonable. I'm putting on the backlog for now.


Move from mongo 3.0 to 3.4

This bumps the chef script mongo version to mongo 3.4. We may want to leave this PR open until just before the next release so we can let the team test everything against mongo 3.4 before we go live with it.

One small note on this, we should probably wait to merge this until mongo 3.4 incompatibility is fixed with IBM Power Systems, see the note on this page. At this point the fix is already in xenial-proposed but has not yet been rolled out as an update.


Create a README.md file

give a brief way to show how to run different parts of this project

completed


perf: I assume that Popover is create a memory leaking

Type: perf
Platform: desktop browser
I try to repeatedly click on a simple popover (over 20 times) and it seams that number of event listeners in time line are increasing. I assume that this is the leak. The simple app that I made is on rc2 but this behaviour happens on 14. also.
I also assume this behavior increase the leak if I put more logic around popup what happens in my other app, this is only isolated case with popover only.
This is the link to my app
JS heap size after garbage collecting slowly increasing in steps.
1st drop 5115528 , 2nd drop 5174500, 3rd drop 5251920, 4th drop 5311048
Source

https://github.com/szuzul/popoverApp

This should be fixed in 218605f013d0c959cc4fed64b0de52abddaca414

well, before I get too excited, looks like the line I changed was recently added. Can you confirm if this does or doesn't impact the leak you see?

Sorry didn't see notification about your message.. I'll check it during the day.

It seems that with rc5 this issue is not longer present on the popover.


lots of errors

I'm trying to use this package, but I get a lot of errors:
app.js:41304 [Vue warn]: Missing required prop: "storeName"

found in

---> <VueCrudX>
       <Book> at resources/js/components/About.vue
         <VContent>
           <VApp>
             <App> at resources/js/views/App.vue
               <Root>

app.js:41304 [Vue warn]: Missing required prop: "crudFilter"

found in

---> <VueCrudX>
       <Book> at resources/js/components/About.vue
         <VContent>
           <VApp>
             <App> at resources/js/views/App.vue
               <Root>

app.js:41304 [Vue warn]: Missing required prop: "crudTable"

found in

---> <VueCrudX>
       <Book> at resources/js/components/About.vue
         <VContent>
           <VApp>
             <App> at resources/js/views/App.vue
               <Root>

app.js:41304 [Vue warn]: Missing required prop: "crudForm"

found in

---> <VueCrudX>
       <Book> at resources/js/components/About.vue
         <VContent>
           <VApp>
             <App> at resources/js/views/App.vue
               <Root>

app.js:41304 [Vue warn]: Missing required prop: "crudOps"

found in

---> <VueCrudX>
       <Book> at resources/js/components/About.vue
         <VContent>
           <VApp>
             <App> at resources/js/views/App.vue

app.js:42567 TypeError: Cannot read property 'doPage' of undefined
    at VueComponent.created (app.js:36755)
    at invokeWithErrorHandling (app.js:42533)
    at callHook (app.js:44884)
    at VueComponent.Vue._init (app.js:45666)
    at new VueComponent (app.js:45811)
    at createComponentInstanceForVnode (app.js:43960)
    at init (app.js:43791)
    at createComponent (app.js:46637)
    at createElm (app.js:46584)
    at createChildren (app.js:46712)

app.js:41304 [Vue warn]: Error in mounted hook (Promise/async): "TypeError: Cannot read property 'getters' of undefined"

my app.js looks like this:
import VueCrudX from 'vue-crud-x/dist/VueCrudX';

Vue.component('vue-crud-x', VueCrudX);

What is minimum amount of code I need to implement a CRUD table?

What is storeName about?

Hi, sorry for the late reply. Could you try the V1 branch.
The storename is the Vuex Store Name.
Anyway if you are new to this CRUD component. Please wait another week. I have made a v2 branch which uses the upcoming Vuetify V2 and can also be more easily adaptable to other frameworks than our previous release.
It is also cleaner and easier to use.
I am already writing a dev.to article on how to use...

For those properties you are missing. Please see the example projects, you can find examples there.
Feedback from some users was that the getting started was not easy and complicated. This should change in our next version.
The current work will still be supported in v1 branch.


.Net: RC4 breaks some example

Error trying to run a chat
From previous example of RC3 I have this simple code that simulate usage of a chat model
public static async Task Ex02_b_InvokeLLMDirectly()
 {
     var builder = CreateBasicKernelBuilder();
     var kernel = builder.Build();

     var chatPrompt = Path.Combine(
         Directory.GetCurrentDirectory(),
         "Prompts",
         "chat.yaml");
     var promptContent = File.ReadAllText(chatPrompt);
     KernelFunction prompt = kernel.CreateFunctionFromPromptYaml(
         promptContent,
         promptTemplateFactory: new HandlebarsPromptTemplateFactory()
     );

     ChatHistory chatMessages = new();
     chatMessages.AddUserMessage("Hi what is your name?");
     chatMessages.AddAssistantMessage("I am an Assistant ai but you can call me Jarvis");
     chatMessages.AddUserMessage("My name is Gian Maria");
     chatMessages.AddAssistantMessage("Hi Gian Maria how can I help you?");
     chatMessages.AddUserMessage("Tell my name and repeat how can I call you!");
     var result = await kernel.InvokeAsync<string>(
         prompt,
         new KernelArguments()
         {
             ["messages"] = chatMessages
         });
     Console.WriteLine("Result: {0}", result);
 }

Now running the example in RC3 it works, with RC4 I got this internal error ... It seems that something is missing from Microsoft.SemanticKernel.Abstractions
 Function failed. Error: Could not load type 'Microsoft.SemanticKernel.IKernelPlugin' from assembly 'Microsoft.SemanticKernel.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=f300afd708cefcd3'.
      System.TypeLoadException: Could not load type 'Microsoft.SemanticKernel.IKernelPlugin' from assembly 'Microsoft.SemanticKernel.Abstractions, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=f300afd708cefcd3'.
         at Microsoft.SemanticKernel.PromptTemplate.Handlebars.HandlebarsPromptTemplate.RenderAsync(Kernel kernel, KernelArguments arguments, CancellationToken cancellationToken)
         at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
         at Microsoft.SemanticKernel.PromptTemplate.Handlebars.HandlebarsPromptTemplate.RenderAsync(Kernel kernel, KernelArguments arguments, CancellationToken cancellationToken)
         at Microsoft.SemanticKernel.KernelFunctionFromPrompt.RenderPromptAsync(Kernel kernel, KernelArguments arguments, CancellationToken cancellationToken)

This package was not published in rc4. How it is possible? It is deprecated? It was a sample taken straigth from RC3

ACH it seems that the library is now called Microsoft.SemanticKernel.PromptTemplates.Handlebars  with an s in PromptTemplates ... ufff...

I've just been bitten by this and it wasn't obvious what was causing it, is the previous package going to be removed / marked as deprecated? This could do with being called out in the docs.


Code issues

Hello, I have followed the deployment in the readme file, but the results from the run are train_loss = nan, best_eval_score = 0.0114, eval_score = 0.0114. What could be the reason for this?

Sorry, I was having problems with some of my packages, the above issues have been resolved.

Could you point our what was the issue? I am facing the same thing right now.

I recreated the environment's repository as described in the readme file and downloaded the relevant packages, and the issue was resolved.


fix: undefined import status route hander

Currently, checking the status of an import job results in the following error: handler is not a function

This is due to using an outdated function name in src/routes/index.js.
With this change deployed on dev, and a small update to the underlying table, we are able to both query the job status as well as generate a link to download the import-result.zip archive from S3:

:tada: This PR is included in version 1.42.4 :tada:
The release is available on:

v1.42.4
GitHub release

Your semantic-release bot :package::rocket:


[BUG]  Provider delete on a host deletes all providers with the same link name in lattice

Describe the bug
Deploy provider with same link name on more than one host of the cluster. Deleting any one provider will delete all the provider instances with same link name.
To Reproduce
Steps to reproduce the behavior:

We created a cluster of 2 wasmcloud hosts (with cluster of nats as a backend) - UI shows everything is up and configurations look great.
Deployed simple echo on one node and HTTP server on both the nodes, add link definition on one of the nodes - we are able to access echo on both nodes (link definition shows up on both nodes) - which is great.
We try to delete the HTTP server provider on one of the nodes (tried both by CLI and from the UI) - HTTP Server provider gets deleted from all nodes of the cluster! - This part is confusing since we tried to delete only from the one host and not from all!

Link name is the same on all nodes of the cluster for the provider.
Expected behavior
Provider deleted on only the specified host.
Environment (please complete the following information)

OS: Tried on both Linux and windows
Arch: Docker
wasmCloud Version: latest

Fixed with #494


InheritedWidget not found in context

This could be a trivial newbie thing, but I could not find a solution while looking through examples or the forum, I am probably constantly overlooking something.
Steps to Reproduce
I have a simple app with an InheritedWidget at the lowest point in the tree:

class Config extends InheritedWidget {
...
  static Config of(BuildContext context) {
    Config config = context.inheritFromWidgetOfExactType(Config);
    assert(config != null); // getting error here for dynamic case
    return config;
  }
}

...
// This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return new Config(
      ...
        child: new MaterialApp(
            theme: new ThemeData(
              primarySwatch: Colors.blue,
            ),
            home: new Home(),
            routes: <String, WidgetBuilder>{
              '/edit': (BuildContext context) => new EditProfile()
            }
        )
    );
  }

class EditProfile extends StatefulWidget {
  EditProfile({Key key}) : super(key: key);

  @override
  _EditProfileState createState() => new _EditProfileState();
}

class _EditProfileState extends State<EditProfile> {
...
  @override
  Widget build(BuildContext context) {
    final config = Config.of(context);
...

At some point in the app there I want to navigate to EditProfile when a menu item is selected.
case 'test': // works fine
                      Navigator.of(context).pushNamed('/edit');
                      break;
case 'test2': // dynamic case, assertion error in Config of(BuildContext context)
                      Navigator.of(context).push(new MaterialPageRoute<Null>(
                          builder: (BuildContext context) => new EditProfile()));
                      break;

In the debugger I can see the InheritedWidget in the widget tree somewhere way down. But I cannot see it in the _inheritedWidgets map. Maybe I somehow have to get this updated?
Flutter Doctor
[✓] Flutter (Channel master, v0.2.2-pre.62, on Mac OS X 10.13.3 17D102, locale en-CH)
    • Flutter version 0.2.2-pre.62 at /Users/ameyer/flutter
    • Framework revision 2d5ebd2a18 (3 days ago), 2018-03-16 15:09:01 +0000
    • Engine revision 9671f63459
    • Dart version 2.0.0-dev.37.0.flutter-7328726088

[✓] Android toolchain - develop for Android devices (Android SDK 27.0.2)
    • Android SDK at /Users/ameyer/Library/Android/sdk
    • Android NDK at /Users/ameyer/Library/Android/sdk/ndk-bundle
    • Platform android-27, build-tools 27.0.2
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)
    • All Android licenses accepted.

[✓] iOS toolchain - develop for iOS devices (Xcode 9.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 9.2, Build version 9C40b
    • ios-deploy 1.9.2
    • CocoaPods version 1.3.1

[✓] Android Studio (version 3.0)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-915-b08)

[✓] IntelliJ IDEA Ultimate Edition (version 2017.3.5)
    • IntelliJ at /Applications/IntelliJ IDEA.app
    • Flutter plugin version 22.2.2
    • Dart plugin version 173.4548.30

[!] VS Code (version 1.21.0)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Dart Code extension not installed; install from
      https://marketplace.visualstudio.com/items?itemName=Dart-Code.dart-code

[✓] Connected devices (2 available)
    • Pixel XL                  • HT6B90200123  • android-arm64 • Android 8.1.0 (API 27)
    • Android SDK built for x86 • emulator-5554 • android-x86   • Android 8.1.0 (API 27) (emulator)

@cputoaster how did yo fix it

Thanks very much @Elrashid , I took even longer than 12 hours to figure out the issue. :cry: I couldn't make it until saw your solution. :+1:
Then I searched difference between URI package and ralative package, found following issue in dart-lang/sdk
https://github.com/dart-lang/sdk/issues/23788
put it here in case someone else has a similar issue.

Thanks very much @Elrashid , I took even longer than 3 hours to figure out the issue. 😢 I couldn't make it until saw your solution.

https://github.com/dart-lang/sdk/issues/33076 is the open issue to follow

don't use relative imports in lib/main.dart
don't import lib/main.dart from other files

Three hours here. As much as I like flutter these kind of surprises are not very welcome.


Decide on minimal code style

Now that we're working on overlapping pieces of code, we need to adapt a minimal code style so our commits don't become spammed by fluffy formatting diffs.
I suggest we agree on

4 space indentation (not tab)
emtpy newline at the end of the file

anything else? Mostly focused on avoiding useless diffs for now.

One thing that could fall into this category. We should have semicolons at the end of every JS statement and not rely on automatic semicolon insertion.

OK, thanks for pointing this out! I think we should just get this over with while we're add it and just adapt an actual (existing) code style and set up a linter and formatter for it.


Very high memory usage.

On a fresh install the vm is using a large amount of the memory. If I increase the memory it can use it will use it up as well.

I have noticed this problem

Proxmox will report high usage due to the way QEMU reports VM resources without guest tools installed. If you run free at the root prompt you'll see actual usage of the VM.

Hi
Are recently changes to hassOs (adding qemu agent ) will eventually fix this?

As of HassOS 3.6, qemu support has been added. With this support, the VM will report actual RAM usage, disk space utilization, and IP addresses of the VM. An update to the install script will set the QEMU Guest Agent flag for the VM. You can manually set this by going to the VM -> Options. (NOTE: Setting this manually without support can affect power related controls to the VM.)

That's great
Thanks for your work👍

New VMs created with script will now have the QEMU Guest Agent flag set. 46af8a3

Very Nice. Thank you.
How would I resolve "no guest agent running"

You can manually set this by going to the VM -> Options.

hi i justa installed the latest proxmox and the hassio via the script and i am getting really high memory

I have had the same from day one when I installed.

If you're interested in seeing what the VMs actual usage is, you can type free -h at the #  prompt in the VM to see free, cache, and used values of the memory. I do not have any control of how Proxmox displays the usage or how the VM reports it to Proxmox. If seeing the actual memory usage in Proxmox is of interest, then I would suggest you try HA in a LXC.

so this is the real memory usage ?as shown in the pic and not what proxmox says ,so i wouldnt mind what it says ?and one last question what do you think is the best config for memory and cores how many ?
thansk for your help

Your Glances screen will show you the actual memory usage. I would go off of those numbers.
When I see the swap being used, that tells me it's time to increase the memory. Your screenshot shows that HA has 2.09GB of unused memory. Right now, you could afford to subtract at least 1GB of memory.
As for core count, there is little impact to HA by assigning more cores than necessary. If you have multiple VMs trying to use the same cores, Proxmox attempts to share the resource equally by default. If you would like to increase the priority of one VM over another, you can increase the CPU units of the higher priority, or decrease the lower priority. You can change that setting under the Processors hardware option.


Step 5. Using Systrace - blank page in browser

When trying step 5 - I see a blank page in the browser for traces.  I am running windows 7 - note that this has also been observed in Ubuntu.  The root cause appears to be the removal of the "Object.observe" function in Chrome 50+.   A pretty simple workaround is shown below.
http://stackoverflow.com/questions/36865899/react-native-android-systrace-html-is-blank-in-ubuntu-14-04/37008945
The workaround noted in one of the stack overflow responses is to add the following to the start of the trace.html file in the head section:
<script src="https://rawgit.com/MaxArt2501/object-observe/master/dist/object-observe.min.js"></script>

This works for me.
The example errors in the blank page in Chrome Version 51.0.2704.79 m are shown below:

Hey, I also had this issue. Another way you can get around this problem you can open a new tab and navigate to chrome://tracing/ then hit load and browse for your file.
Worked for me

While importing:
Error: Couldn't create an importer for the provided eventData.
at Import.createImporter_ (chrome://tracing/tracing.js:1322:3342)
at Import.createImports (chrome://tracing/tracing.js:1317:21)
at Task.run (chrome://tracing/tracing.js:1860:13)
at runAnother (chrome://tracing/tracing.js:1872:136)
at runTask (chrome://tracing/tracing.js:1835:57)
at processIdleWork (chrome://tracing/tracing.js:1841:116)
at window.requestIdleCallback.timeout (chrome://tracing/tracing.js:1829:81)


NatInstance not working

Hey, I'm having some trouble getting an example cdk stack to work.
In this cdk Stack I'm creating ec2 instances that ping the <IP_ADDRESS> dns server and push the log to s3. When i use a NatGateway everything works fine, but when i use a FckNatInstance it only works for the ec2 instance in the public subnet.
I've run the VPC Reachability Analyzer from my EC2 instance in the private subnet to the NatInstance and to <IP_ADDRESS> and it succeeded.
I'm kinda running out of ideas what the issue could be, is my NatInstance Setup wrong? Am I missing something obvious?
import { Stack, StackProps } from "aws-cdk-lib";
import {
  Instance,
  InstanceClass,
  InstanceSize,
  InstanceType,
  MachineImage,
  Vpc,
  SubnetType,
  UserData,
  Port,
  Peer,
} from "aws-cdk-lib/aws-ec2";
import { PolicyStatement, Role, ServicePrincipal } from "aws-cdk-lib/aws-iam";
import { FckNatInstanceProvider } from "cdk-fck-nat";
import { Construct } from "constructs";

export class TestCdkStack extends Stack {
  constructor(scope: Construct, id: string, props?: StackProps) {
    super(scope, id, props);

    const natGatewayProvider = new FckNatInstanceProvider({
      instanceType: InstanceType.of(InstanceClass.T4G, InstanceSize.NANO)
    })

    const vpc = new Vpc(this, "VPC", {
      maxAzs: 2,
      natGatewayProvider,
      // natGateways: 1,
    });

    // natGatewayProvider.securityGroup.addIngressRule(Peer.ipv4(vpc.vpcCidrBlock), Port.allTraffic());
    // I only added this to make sure the security group isn't the issue
    natGatewayProvider.securityGroup.addIngressRule(Peer.anyIpv4(), Port.allTraffic())
    natGatewayProvider.securityGroup.addEgressRule(Peer.anyIpv4(), Port.allTraffic())

    const s3Role = new Role(this, 'EC2PingRoles', {
      assumedBy: new ServicePrincipal('ec2.amazonaws.com'),
    })

    s3Role.addToPolicy(new PolicyStatement({
      resources: ['*'],
      actions: ['s3:*'],
    }));

    const userDataPublic = UserData.forLinux()
    userDataPublic.addCommands(
      'ping <IP_ADDRESS> -c 4 > /tmp/output.log && aws s3 cp /tmp/output.log s3://some-bucket-name/public.log && shutdown now -h'
    )

    new Instance(this, "InstancePublic", {
      vpc,
      userData: userDataPublic,
      instanceType: InstanceType.of(InstanceClass.T3, InstanceSize.NANO),
      machineImage: MachineImage.latestAmazonLinux2023(),
      vpcSubnets: {
        subnetType: SubnetType.PUBLIC,
      },
      role: s3Role,
    });

    const userDataPrivate = UserData.forLinux()
    userDataPrivate.addCommands(
      'ping <IP_ADDRESS> -c 4 > /tmp/output.log && aws s3 cp /tmp/output.log s3://some-bucket-name/private.log && shutdown now -h'
    )
    const privateInstance = new Instance(this, "InstancePrivateWithEgress", {
      vpc,
      userData: userDataPrivate,
      instanceType: InstanceType.of(InstanceClass.T3, InstanceSize.NANO),
      machineImage: MachineImage.latestAmazonLinux2023(),
      vpcSubnets: {
        subnetType: SubnetType.PRIVATE_WITH_EGRESS,
      },
      role: s3Role,
    });

    // I only added this to make sure the security group isn't the issue
    privateInstance.connections.allowTo(Peer.anyIpv4(), Port.allTraffic());
    privateInstance.connections.allowFrom(natGatewayProvider, Port.allTraffic());
  }
}

Somehow it just works now, i think there was a bit of startup time for the NatInstance and that is why it wasn't working like I expected it.


[Feat]: rate-limiting, helmet and nosql injection protection in server

Is your feature request related to a problem? Please describe.
Problem Statement:
Rate Limiting
Without rate limiting, the server is vulnerable to abuse, such as brute-force attacks, by allowing a single user or IP address to send a large number of requests in a short period, potentially leading to service disruption or denial of service.
Helmet
Helmet helps secure the server by setting various HTTP headers to protect against common vulnerabilities, such as XSS (Cross-Site Scripting), clickjacking, etc., reducing the risk of attacks and improving overall security posture.
NoSQL Injection Protection
Without proper protection, the server is susceptible to NoSQL injection attacks, where attackers manipulate input to access or modify data in the NoSQL database, potentially leading to data breaches or data corruption.
Describe the solution you'd like.
Solution
Rate Limiting
Implementing rate limiting ensures that each user or IP address can only send a certain number of requests within a specified time frame, mitigating the risk of abuse and ensuring fair usage of server resources.
Helmet
Integrating Helmet sets secure HTTP headers, such as X-XSS-Protection, Strict-Transport-Security, etc., which helps prevent various types of attacks, enhancing the overall security of the server.
NoSQL Injection Protection
By sanitizing and validating input, implementing prepared statements, and using ORM libraries with built-in protection, the server can prevent NoSQL injection attacks, safeguarding the integrity and confidentiality of data in the NoSQL database.
Describe alternatives you've considered.
Alternatives
Alternatives to adding rate-limiting, Helmet, and NoSQL injection protection features include implementing custom logic, manually configuring headers, creating custom middleware, using input sanitization, and employing ORM libraries. However, dedicated solutions offer more robust and comprehensive protection against common security vulnerabilities.
Additional context.
No response
Show us the magic with screenshots
No response
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I want to work on this issue. (optional)

Hey, allow me to work on this under GSSOC' 2024


[iOS, tvOS, ATV, Android, macOS, fireTV] [Regression] Template starter app crashes when "Now Try Me!" is clicked

Describe the bug
Template starter app crashes when "Now Try Me!" is clicked
To Reproduce

Run template starter app
Click "Now Try Me!" -> crash

Expected behavior
My Page should open
Screenshots or copy&paste

Desktop (please complete the following information):

OS: macOS Monterey 12.4
Node Version: 16.14.0
RNV Version: 0.36.1-canary.2
@rnv/template-starter: 0.36.1-canary.2

It works on v 0.36.2-canary.3 (not tested on fireTV).

Fixed


How to access Admin profile?

How do I add products to the site?

site_url/signin -> to login use your own DB setup and credential


Add tab indicator?

I know this is a buffer bar but i currently use this and also try to distinguish what's tab i'm currently on and don't want to use another bar for it.
like this: https://github.com/kdheepak/tabline.nvim --> i want tab indicator at top right
Is is possible to add that info to cokeline?

Definitely would like to add an option to group by tabs, as well as to collapse tab groups, will link PR when I start working on it.

Closing as duplicate of #35, updates will be posted there.


Methods for comparing two models

Currently, there are multiple ways that models are compared within swmmio:

in compare_models.py
in the Change / BuildInstructions classes

Unify this process and scrap old junk code.

resolved in df_merg_mast. This issue will be closed when df_merg_mast is brought into the master


Controller fails on empty manifest files from a Helm Chart

Bug Report

What did you do?
For each of the following cases I did these steps:

Created an Operator from a local helm chart:
$ operator-sdk new my-operator --type=helm --helm-chart <local_helm_chart_path>
Deployed the CRD
$ kubectl create -f deploy/crds/<resource>_crd.yaml
Started local operator
$ operator-sdk run --local
Create the CR
kubectl create -f deploy/crds/<resource>_cr.yaml

Case 1: A file containing a resource is empty due to a conditional

myvalue is not set

{{ if .Values.myvalue }}
# entire resource goes here
# ...
{{ end }}

Case 2: There is an empty manifest from --- markers
---

---
# valid resources go here
# ...

What did you expect to see?

The controller ignores the empty resources

What did you see instead? Under which circumstances?
Some of the resources were deployed but I saw the following error messages repeatedly printed...
Case 1:
{"level":"error",
"ts":1583340099.203393,
"logger":"helm.controller",
"msg":"Release failed",
"namespace":"default",
"name":"example-product",
"apiVersion":"domain.com/v1alpha1",
"kind":"Product",
"release":"example-product",
"error":"failed to install release: no objects visited",
"stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tpkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/operator-framework/operator-sdk/pkg/helm/controller.HelmOperatorReconciler.Reconcile\n\tsrc/github.com/operator-framework/operator-sdk/pkg/helm/controller/reconcile.go:194\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tpkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:256\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tpkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\tpkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\tpkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\tpkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\tpkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:88"}

Case 2:
{"level":"error",
"ts":1583340147.234184,
"logger":"helm.controller",
"msg":"Failed to run release hook",
"namespace":"default",
"name":"example-product",
"apiVersion":"domain.com/v1alpha1",
"kind":"Product",
"release":"example-product",
"error":"no matches for kind \"\" in version \"\"",
"stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tpkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/operator-framework/operator-sdk/pkg/helm/controller.HelmOperatorReconciler.Reconcile\n\tsrc/github.com/operator-framework/operator-sdk/pkg/helm/controller/reconcile.go:308\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tpkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:256\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tpkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\tpkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\tpkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\tpkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\tpkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:88"}

Environment

operator-sdk version:

$ operator-sdk version
operator-sdk version: "v0.15.2", commit: "ffaf278993c8fcb00c6f527c9f20091eb8dd3352", go version: "go1.13.8 darwin/amd64"

go version:

$ go version
go version go1.13.8 darwin/amd64

Kubernetes version information:

$ kubectl version
Client Version: version.Info{Major:"1", Minor:"16", GitVersion:"v1.16.2", GitCommit:"c97fe5036ef3df2967d086711e6c0c405941e14b", GitTreeState:"clean", BuildDate:"2019-10-15T23:43:08Z", GoVersion:"go1.12.10", Compiler:"gc", Platform:"darwin/amd64"}
Server Version: version.Info{Major:"1", Minor:"15+", GitVersion:"v1.15.9-gke.9", GitCommit:"a9973cbb2722793e2ea08d20880633ca61d3e669", GitTreeState:"clean", BuildDate:"2020-02-07T22:35:02Z", GoVersion:"go1.12.12b4", Compiler:"gc", Platform:"linux/amd64"}

Are you writing your operator in ansible, helm, or go?

$ helm version
version.BuildInfo{Version:"v3.0.1", GitCommit:"7c22ef9ce89e0ebeb7125ba2ebf7d421f3e82ffa", GitTreeState:"clean", GoVersion:"go1.13.4"}

Possible Solution

If a manifest is empty then do not attempt to reconcile it in the cluster

Additional context

Hi @mphammer,
Could you please provide and -helm-chart <local_helm_chart_path> which we can use to reproduce your scenario in order to make it more clear? Have you any example from the stable repo which would allow us to check/reproduce it? Also, what do you mean with https://github.com/helm/charts/tree/master/stable/memcached? Could you please elaborate more?

@mphammer
Case 1 is actually pretty common in Helm charts. In fact, we coincidentally test this case in the SDK's helm-operator e2e test (check out the ingress template generated from this command in the test).
So I'm fairly certain the Helm operator supports disabling entire resources. Your error seems to indicate that the release contained no resources at all. And in that case, it would make sense to fail an installation.
For case 2, this looks like a legitimate bug. My guess is that it is originating from here.
We parse each YAML document in the release manifest and assume that we'll find the object meta. In the case of your chart it looks like there are some empty documents, which parse "successfully", but result in an empty object.
Any chance you would be interested in submitting a PR to add some extra sanity checks in that function to make sure that we have a non-empty GVK?

Hi @mphammer,
Could you please provide and -helm-chart <local_helm_chart_path> which we can use to reproduce your scenario in order to make it more clear? Have you any example from the stable repo which would allow us to check/reproduce it? Also, what do you mean with If a manifest is empty then do not attempt to reconcile it in the cluster? Could you please elaborate more?

Hi @camilamacedo86,
Sorry for the late response. These errors were not from the stable repo but from a custom helm chart. Here are examples of the Charts:
Case 1:
Chart.yaml:
apiVersion: v1
name: my-helm-chart
description: A helm chart for me
type: application
version: 1.0.0
appVersion: 2.3.0

Values.yaml:
resourceProvided: true

templates/resource.yaml:
{{ if .Values.resourceProvided }}
apiVersion: v1
kind: Service
metadata:
  labels:
  name: {{ .Release.Name }}-service
  namespace: {{ .Release.Namespace }}
spec:
  ports:
    - name: port-8443
      port: 8443
      protocol: TCP
      targetPort: 8443
  selector:
    name: {{ .Release.Name }}
  type: ClusterIP
{{ end }}

Case 2:
Chart.yaml:
apiVersion: v1
name: my-helm-chart
description: A helm chart for me
type: application
version: 1.0.0
appVersion: 2.3.0

Values.yaml:
exposeService: true

templates/resource.yaml:
apiVersion: v1
kind: Service
metadata:
  labels:
    name: {{ .Release.Name }}-label
  name: {{ .Release.Name }}-service
  namespace: {{ .Release.Namespace }}
spec:
  ports:
    - name: port-8443
      port: 8443
      protocol: TCP
      targetPort: 8443
  selector:
    name: {{ .Release.Name }}-label
  type: ClusterIP
---
{{ if .Values.exposeService }}
apiVersion: v1
kind: Service
metadata:
  labels:
    name: {{ .Release.Name }}-exposed-label
  name: {{ .Release.Name }}-service-exposed
  namespace: {{ .Release.Namespace }}
spec:
  ports:
    - name: port-8443
      port: 8443
      protocol: TCP
      targetPort: 8443
  selector:
    name: {{ .Release.Name }}-exposed-label
  type: LoadBalancer
{{ end }}
---

/assign

Hi @joelanford, thanks for the information and the "kind/bug" label. I don't currently have the cycles to work on this issue. Thanks @bharathi-tenneti for taking this up! If you need more information from me I will do my best to assist you.

@mphammer
When trying to reproduce CASE 1, with below environment, I see that operator shows error in the creation step itself, as shown below.
$ operator-sdk new my-operator --type=helm --helm-chart=my-helm-chart/
INFO[0000] Creating new Helm operator 'my-operator'.
INFO[0000] Created helm-charts/my-helm-chart
INFO[0000] Generating RBAC rules
WARN[0000] Using default RBAC rules: failed to generate RBAC rules: failed to get default manifest: failed to render chart templates: template: my-helm-chart/templates/tests/test-connection.yaml:14:65: executing "my-helm-chart/templates/tests/test-connection.yaml" at <.Values.service.port>: nil pointer evaluating interface {}.port
INFO[0000] Created build/Dockerfile
INFO[0000] Created watches.yaml
INFO[0000] Created deploy/service_account.yaml
INFO[0000] Created deploy/role.yaml
INFO[0000] Created deploy/role_binding.yaml
INFO[0000] Created deploy/operator.yaml
INFO[0000] Created deploy/crds/charts.helm.k8s.io_v1alpha1_myhelmchart_cr.yaml
INFO[0000] Generated CustomResourceDefinition manifests.
INFO[0000] Project creation complete.

Was curious, whether you have seen similar error while creation.
Later, encountered bellow error , after deployment of cr
{"level":"info","ts":1586186301.702219,"logger":"controller-runtime.controller","msg":"Starting Controller","controller":"myhelmchart-controller"}
{"level":"info","ts":1586186301.7022479,"logger":"controller-runtime.controller","msg":"Starting workers","controller":"myhelmchart-controller","worker count":1}
{"level":"error","ts":1586186373.333587,"logger":"helm.controller","msg":"Release failed","namespace":"default","name":"example-myhelmchart","apiVersion":"charts.helm.k8s.io/v1alpha1","kind":"MyHelmChart","release":"example-myhelmchart","error":"failed to install release: template: my-helm-chart/templates/tests/test-connection.yaml:14:65: executing \"my-helm-chart/templates/tests/test-connection.yaml\" at <.Values.service.port>: nil pointer evaluating interface {}.port","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tpkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\ngithub.com/operator-framework/operator-sdk/pkg/helm/controller.HelmOperatorReconciler.Reconcile\n\tsrc/github.com/operator-framework/operator-sdk/pkg/helm/controller/reconcile.go:196\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\tpkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:256\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tpkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\tpkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\tpkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\tpkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\tpkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:88"}

P.S
operator-sdk version
operator-sdk version: "v0.16.0", commit: "55f1446c5f472e7d8e308dcdf36d0d7fc44fc4fd", go version: "go1.14 darwin/amd64"

helm version
version.BuildInfo{Version:"v3.1.0", GitCommit:"b29d20baf09943e134c2fa5e1e1cab3bf93315fa", GitTreeState:"clean", GoVersion:"go1.13.8"}

@mphammer @bharathi-tenneti Just want to re-iterate my previous comment that I think something slightly different is happening with case 1 than what is described in the issue.
The error message you got (failed to install release: no objects visited) is actually coming from the Helm libraries here. That error means that there were 0 resources in the release manifest, so there must be something wrong with your templates or CR values that is causing nothing to be rendered.
I think we can fix case 2 by checking to make sure the GVK is not empty.

@joelanford  we have a partner seeking operator certification that is also seeing case #2. In their particular case, the chart installs and also renders fine using helm3. Putting the same chart into an operator yields case #2, which we believe is when the deployment templates get rendered.
The following conditional code appears to be tripping up the helm-operator:
{{/* Generates deployment specs for CR controller services. These are stateless. */}}
{{- range include "k10.crServices" . | splitList " " }}
  {{ $service := print "crc-" . }}
  {{ dict "main" $ "k10_service" $service "persistence.enabled" false "replicas" 1 | include "k10-default" }}
{{- end }}

The chart name is k10 and can be installed from the repo at https://charts.kasten.io.

@jsm84  Can you please recheck the charts link from above, will try to reproduce.

@bharathi-tenneti Sorry about that. That link is a helm repo, and not browser accessible.
The following helm commands will add the repo, and then fetch the chart in tar.gz format:
$ helm repo add kasten https://charts.kasten.io
$ helm fetch kasten/k10

@jsm84 What is your helm version and sdk version?

@jsm84 What is your helm version and sdk version?

helm chart is helm2
sdk is 0.15.2 (0.16.0 requires h3 chart)
this chart works find with helm3 and helm2

0.16.0 requires h3 chart

Really? If so, that was an unexpected breakage. Do you have details?

0.16.0 requires h3 chart

@depohmel Really? If so, that was an unexpected breakage. Do you have details?

Unfortunately yes, it looks for Charts.lock with is available only in helm 3 since requirements were moved to Chart.yaml. I can create the issue tomorrow with details.

0.16.0 requires h3 chart

@depohmel Really? If so, that was an unexpected breakage. Do you have details?

FIled https://github.com/operator-framework/operator-sdk/issues/2806

@depohmel Can you please try this repo for SDK, and let us know if it fixes Case 2 for you?
https://github.com/bharathi-tenneti/operator-sdk/tree/issue%232622

@depohmel @mphammer Can you please try this repo for SDK, and let us know if it fixes Case 2 for you?
https://github.com/bharathi-tenneti/operator-sdk/tree/issue%232622

@bharathi-tenneti  i hope ecerytihg right to build operator-sdk and package it
but i still getting ```2020-04-09T00:10:33.996Z	DEBUG	predicates	Reconciling due to dependent resource update	{"name": "prometheus-server", "namespace": "kasten", "apiVersion": "v1", "kind": "PersistentVolumeClaim"}
2020-04-09T00:10:38.214Z	ERROR	helm.controller	Failed to run release hook	{"namespace": "kasten", "name": "k10", "apiVersion": "apik10.kasten.io/v1alpha1", "kind": "K10", "release": "k10", "error": "no matches for kind "" in version """}
github.com/go-logr/zapr.(*zapLogger).Error
pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128
github.com/operator-framework/operator-sdk/pkg/helm/controller.HelmOperatorReconciler.Reconcile
src/github.com/operator-framework/operator-sdk/pkg/helm/controller/reconcile.go:210
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:256
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:232
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:211
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
pkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
pkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
pkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:88
2020-04-09T00:10:38.215Z	ERROR	controller-runtime.controller	Reconciler error	{"controller": "k10-controller", "request": "kasten/k10", "error": "no matches for kind "" in version """}
github.com/go-logr/zapr.(*zapLogger).Error
pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:258
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:232
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
pkg/mod/sigs.k8s.io/controller-runtime@v0.4.0/pkg/internal/controller/controller.go:211
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
pkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
pkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
pkg/mod/k8s.io/apimachinery@v0.0.0-20191004115801-a2eda9f80ab8/pkg/util/wait/wait.go:88
2020-04-09T00:10:39.215Z	DEBUG	helm.controller	Reconciling	{"namespace": "kasten", "name": "k10", "apiVersion": "apik10.kasten.io/v1alpha1", "kind": "K10"}
E0409 00:10:40.351418       1 memcache.go:199] couldn't get resource list for actions.kio.kasten.io/v1alpha1: the server is currently unable to handle the request

@depohmel @mphammer Can you please try this repo for SDK, and let us know if it fixes Case 2 for you?
https://github.com/bharathi-tenneti/operator-sdk/tree/issue%232622

@bharathi-tenneti  i'm getting this error, right after fully rendered chart
2020-04-09T00:28:34.440Z	ERROR	controller-runtime.controller	Reconciler error	{"controller": "k10-controller", "request": "kasten/k10", "error": "Operation cannot be fulfilled on k10s.apik10.kasten.io \"k10\": the object has been modified; please apply your changes to the latest version and try again"}
github.com/go-logr/zapr.(*zapLogger).Error
   /repo/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
   /repo/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.5.2/pkg/internal/controller/controller.go:258
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
   /repo/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.5.2/pkg/internal/controller/controller.go:232
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
   /repo/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.5.2/pkg/internal/controller/controller.go:211
k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1
   /repo/go/pkg/mod/k8s.io/apimachinery@v0.17.4/pkg/util/wait/wait.go:152
k8s.io/apimachinery/pkg/util/wait.JitterUntil
   /repo/go/pkg/mod/k8s.io/apimachinery@v0.17.4/pkg/util/wait/wait.go:153
k8s.io/apimachinery/pkg/util/wait.Until
   /repo/go/pkg/mod/k8s.io/apimachinery@v0.17.4/pkg/util/wait/wait.go:88

good news that I can see Deployments in logs now.

@depohmel Great, so did I understand correctly, that your issue is  getting fixed when you use SDK repo from thins branch?
https://github.com/bharathi-tenneti/operator-sdk/tree/issue%232622

@depohmel Great, so did I understand correctly, that your issue is getting fixed when you use SDK repo from this branch?
https://github.com/bharathi-tenneti/operator-sdk/tree/issue%232622
Once you give confirmation, ill submit PR to operator-sdk repo, and this fix will be available in next release.

Yes, one of them :) there is still another error :(

@depohmel That seems like a completely separate issue. Can you file a separate GitHub issue for that one?

@joelanford @bharathi-tenneti https://github.com/operator-framework/operator-sdk/issues/2815

OK I've found the bug in the chart that @depohmel is using. It's the exact case #2. There was a template file, v0services.yaml inside the chart that had the following lines:
---
{{ end -}}
{{/*aggregatedapis-svc can be exposed via gateway later is required.*/}}
---

I've removed the comment and the latter --- from the file, and the operator no longer throws the error, and it renders/prints the chart to stdout as normal. @joelanford As you mentioned, I think the fix for helm-operator is to ignore input files without a valid GVK. This is definitely an issue with the chart that the standalone helm binary seems to ignore.


add width/height for dataset item

Allow passing width/height to dataset item
Useful for privacy mode, where we cannot calculate width/height on our side

Can we lru_cache this or ideally just use the information passed for the constructor?

Opted to using the info passed during client.create_dataset.
Round trips are still necessary when using get_dataset, but we can fix that at a later point.


Composable Patterns using a Pattern Interface

Feature Request
Description of Problem:
In #11 we modified CALM to be a JSON Meta-Schema, which enabled the creation of patterns and the instantiation of patterns.
In #11 we presented the idea of an API Gateway pattern, which had the nodes: API Consumer, API Producer, API Gateway, and IDP. In this model, the API Producer was modelled as a Node. However, in reality the API Producer could be a series of connected microservices, connect to a database etc.
Based on the API Gateway Pattern the API Producer is connected to using a hostandport`. If we could specify a node to have an optional external reference to a CALM compliant JSON, we could model patterns that have a variety of possible node level implementations.
Potential Solutions:
Create the concept of an interface which defines the hand-off/boundary between two patterns, allowing patterns to be composable or contained within other patterns.

Ok, sounds like you're seeing the same issues as @Budlee reported in #47

Link to #17

Some thoughts / comments for discussion later:

What we see in the API Gateway pattern shows a system level diagram of interactions, would be similar to System Context Diagram in C4.
Each of these systems should theoretically have a full CALM model describing them.
Currently we model the purpose of a node and the type of relationship that connects them, but we don't model the actual interface a node exposes, other than where we have added them as additional properties in the api-gateway pattern.
Interfaces obviously need to exist for any software component to speak to another, this could be a host/port, a file share, a message queue, etc.
Where do we think the interfaces should be captured on nodes / relationships / both? My initial thinking leans towards both, nodes should enumerate the interfaces they support and relationships should specify which interface they are connecting; this could be done by specifying the details in two places or we could add an explicit ID to an interface and reference the interface in the relationship?
The validator should ensure that only declared interfaces are defined in relationships (error if they don't). It could also warn if a node exposes an interface which is not then used (should we add an ignore mechanism to document that the architect knows they are exposing an unreferenced port)?
Assuming we agree interfaces exist, and we should be able to mark specific interfaces as external then those interfaces should also be referenced in the system level architectures with an explicit reference into the internal architecture.

There's a variant of the "Relationship is the interface" where the interface becomes again a defined node (similar to the difference between "Embedded interface in node" and "Interface as a node with an integral relationship to the service node".
But I agree that logically the interface "belongs" to the service that provides it so I'm veering away from the relationship-based versions.  Another point on that is that the interface exists even if nothing is connected to it (therefore there are no relationships yet).

The more I look at these options, I think either embedded or as a node with integral relationship are the only real options. I think the others end up with us needing to replicate the interface details in multiple places if the interface is used more than once (e.g. multiple consumers connecting on the same port).

The two are semantically equivalent, so the trade-off is simplicity of authoring (the raw JSON/YAML) in the embedded one vs a less complex model to process systematically with the integral relationship.  I think I'm leaning towards the latter.

Agreed, it also means where we refer to an interface at different levels (i.e. system to system) then we don't need to replicate the details . . . if the details are on the relationship we would have to repeat them and it would be harder to validate that the relationship at the system level match an existing relationship at a service level, which they must.

Yes, I don't see any issue with that alternative.

Hi all,
Great to see others trying to solve the same problem :)
I'm gutted that I missed the opportunity to attend the Onsite Accelerator in London on 12 March..!
I'm working on C4InterFlow - Architecture as Code (AaC) framework.
It supports expressing Application/Software Architecture in C#, YAML and JSON.
Here is how the same scenario would look in JSON:
{
    "NodesAndInterfacesExample": {
        "SoftwareSystems": {
            "ServiceA": {
                "Description": "The service that is going to connect",
                "Interfaces": {
                    "InterfaceToServiceB": {
                        "Protocol": "TCP, Port 8080",
                        "Flow": {
                            "Flows":[
                                {
                                    "Type": "Use",
                                    "Expression": "NodesAndInterfacesExample.SoftwareSystems.ServiceB.Interfaces.UsefulRestService"
                                }
                            ]
                        }
                    }
                }
            },
            "ServiceB": {
                "Description": "The service that is exposing an endpoint",
                "Interfaces": {
                    "UsefulRestService": {
                        "Protocol": "TCP, Port 8080"
                    }
                }
            }
        }
    }
}

...and here is YAML equivalent:
NodesAndInterfacesExample:
  SoftwareSystems:
    ServiceA:
      Description: The service that is going to connect
      Interfaces:
        InterfaceToServiceB:
          Protocol: TCP, Port 8080
          Flow:
            Flows:
            - Type: Use
              Expression: ServiceB.Interfaces.UsefulRestService
    ServiceB:
      Description: The service that is exposing an endpoint
      Interfaces:
        UsefulRestService:
          Protocol: TCP, Port 8080

The C4InterFlow framework comes with a CLI that generates diagrams from AaC for different viewpoints - combinations of Scope, Level of Details and *Diagram Type
Here is an example for this scenario:

I like what you are doing, and I think I can add value... How can I get involved..?

Hi @SlavaVedernikov - nice to meet you!
Our Working Group meets the fourth Tuesday of every month, normally at 16:00 although this month it is 15:00 because of the clocks having already moved in the US, you can see the full FINOS community calendar here
We are part of the DevOps Automation Special Interest Group so confusingly our meeting agendas / minutes are currently in a separate repo, you can find them here.
Would you be able to attend our call on 23rd March, happy to give you a slot on the agenda to show what you've been working on and see what we can do together?
We're also looking at trying to arrange a hack-day at some point in April.

Hi @rocketstack-matt - nice to meet you too :)
Yes, I can join the call on 26th March @ 15:00, thanks.
Also, happy to share what I've been working on.

With #106 we have decided to make interfaces optional on a relationship for now. If it was mandatory that would remove the ability to use CALM as a logical tool and mean that it is only a physical modelling tool.
We may need to consider whether we have a convention to mark what type of diagram this is
@rocketstack-matt, @yt-ms

@yt-ms @Budlee @rocketstack-matt @SlavaVedernikov
We have created a prototype of interfaces, capturing the ideas of the accelerator and this issue in the 2024-04 folder. Please take a look and provide any feedback.

There are a couple of reference/structural issues that we are waiting for #73 to resolve

Pattern interface work is now complete and tooling is catching up to support the schema. The objective of this issue has been solved, I will close this and we can add any new issues that crop up for improvements/enhancements.


ConversationalRetrievalChain return only the prompt not the answer

System Info
Python : Python 3.9.13
Langchain: langchain==0.0.219
OS : Ubuntu
Who can help?
No response
Information

[ ] The official example notebooks/scripts
[ ] My own modified scripts

Related Components

[ ] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
    from langchain.chains import ConversationalRetrievalChain
    from langchain.vectorstores import Chroma
    from langchain.embeddings import SentenceTransformerEmbeddings
    embeddings =  SentenceTransformerEmbeddings(model_name="paraphrase-MiniLM-L6-v2")
    from langchain.document_loaders import PyPDFLoader
    loader = PyPDFLoader("file.pdf")
    documents = loader.load()
    from langchain.llms import HuggingFaceHub
    model = HuggingFaceHub(repo_id="facebook/mbart-large-50",
                       model_kwargs={"temperature": 0, "max_length":200},
                       huggingfacehub_api_token=HUGGING_FACE_API_KEY)
    from langchain.text_splitter import CharacterTextSplitter
    text_splitter = CharacterTextSplitter(chunk_size=100, chunk_overlap=0)
    texts=text_splitter.split_documents(documents)
    db = Chroma.from_documents(texts, embeddings)
    retriever = db.as_retriever(search_type="similarity", search_kwargs={"k": 1})
    qa = ConversationalRetrievalChain.from_llm(model,retriever)
    chat_history= []
    query = "sample query"
    result = qa({"question": query,"chat_history":chat_history})
    print("\nResult of ConversationalRetrievalChainMethod")
    print(result)

It return the result as follows
{'question': 'sample question', 'chat_history': [], 'answer': "Use the following pieces of context to answer the question at the end. If you don't know the answer, just say that you don't know, don't try to make up an answer."}
Expected behavior
Expecting the answer in the result. But it returns the prompt itself now

this is probably a combination of using an example question (try asking a real question) and a not great model. what happens if you try for real with openai?

@hwchase17  So you are asking to test with openai model instead of HuggingFaceHub model?

I have the same problem, with openai model.


Reimplementing Live Points

SoonTM the Live Points will be re-added.

@casudo FYI:
I came across that live points are only available with the player event endpoint competitions/{competitionId}/playercenter/{playerId}
All other points related endpoints like ranking or teamcenter will be updated after the a match is finished. So if you want to have a representation of live points during a match you got to use this endpoint for each player and sum it up :)

@simonsagstetter Thanks, I also came across this endpoint. I bought the Pro abonnement for a month just to get it. ;-)
Can you confirm that this endpoint is also accessable without any active abonnement? Couldn't try this yet.

@casudo Yes you can use this endpoint without an subscription. I have none and I still can access it. In fact it is used when you go to competitions > matchdays > choose a team with a finished match > click on a player -> you can see the player events. They are also coming from that endpoint :)


issue about fushion  tools/eval_scores.py ValueError: operands could not be broadcast

hello,teacher,sorry to bother u,when i run “python2 tools/eval_scores.py /home/ubuntu-507/tsn-pytorch/rgb_split1_score.npz /home/ubuntu-507/tsn-pytorch/flow_split1_score.npz --score_weights 1 1.5“
the error is:
Traceback (most recent call last):
File "", line 40, in
final_scores += agg_score * score_weights[i]
ValueError: operands could not be broadcast together with shapes (1530,51) (3570,51) (1530,51)
so how to solve it?looking forward to your reply.thank u

sorry,a silly mistake


issue BC container helper -Azure devops server Buusiness central

Hello,
i'm working to activate Azure devops pipeline for Buisness central.
i have issue with BCCONTAINERHELPER this my troubleshooting log.
logs_123.zip

we work with BC onpremise and azure devops server
Best regars !

It looks like you are using a self-hosted agent running as a user, which doesn't have the rights to do what the pipeline does.
Try setting up the agent as system or network_service


Cannot build C++ sample projects on Windows

Samples having set CONFIG_CPLUSPLUS=y in their prj.conf (e.g. zephyr\samples\cpp_synchronization) fail to build on Windows - at least when using the GNU Arm Embedded Toolchain.
Command Line:
D:\test\zephyr\samples\cpp_synchronization>cmake -GNinja -Bbuild -H. -DBOARD=stm32f4_disco
Output:
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
CMake Error at ../../CMakeLists.txt:11 (project):
  The CMAKE_CXX_COMPILER:

    C:/Program Files (x86)/GNU Tools Arm Embedded/7 2018-q2-update/bin/arm-none-eabi-g++

  is not a full path to an existing compiler tool.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.

-- Configuring incomplete, errors occurred!

It seems like the CMAKE_CXX_COMPILER variable is not allowed to end on "++" (...gcc works, but ...g++ does not). So I changed gcc.cmake:52 to
set(CMAKE_CXX_COMPILER "${cplusplus_compiler}.exe"     CACHE INTERNAL " " FORCE).
Resulting output:
-- The C compiler identification is GNU 7.3.1
-- The CXX compiler identification is GNU 7.3.1
-- The ASM compiler identification is GNU
-- Found assembler: C:/Program Files (x86)/GNU Tools Arm Embedded/7 2018-q2-update/bin/arm-none-eabi-gcc.exe
-- Performing Test toolchain_is_ok
-- Performing Test toolchain_is_ok - Success
-- Configuring done
-- Generating done
-- Build files have been written to: D:/test/zephyr/samples/cpp_synchronization/build

Closing as duplicate of #9582


[Request-For-External] Page 515 "Item Avail. by Location Lines" - SetItemFilter

Hi, could you please change the local SetItemFilter procedure of page 515 (Item Avail. by Location Lines) to a global one?
    procedure SetItemFilter()
    begin
        if AmountType = AmountType::"Net Change" then
            Item.SetRange("Date Filter", PeriodStart, PeriodEnd)
        else
            Item.SetRange("Date Filter", 0D, PeriodEnd);
        LocationCode := Code;
        Item.SetRange("Location Filter", Code);

        OnAfterSetItemFilter(Item, PeriodStart, PeriodEnd);
    end;

Thanks!

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


KOGITO-2837 PR check: checkout all repos at once

https://issues.redhat.com/browse/KOGITO-2837
Many thanks for submitting your Pull Request :heart:!
Please make sure that your PR meets the following requirements:

[x] You have read the contributors guide
[x] Pull Request title is properly formatted: KOGITO-XYZ Subject
[ ] Pull Request title contains the target branch if not targeting master: [0.9.x] KOGITO-XYZ Subject
[x] Pull Request contains link to the JIRA issue
[x] Pull Request contains link to any dependent or related Pull Request
[x] Pull Request contains description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket

yes, just want to check first that changes are  ok here and then I will apply to kogito-apps and kogito-examples ;)


Fix typo in DomainObjectCollectionFactory

The first of many PRs to Gradle

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.


Download the model pickle file： cant save the model.pkl in the local folder

Hi,
I cant save the model.pkl in the local folder after finish the step5 item d, after I click the save button, the file doesn't show in my local folder. Can you kindly help me on this?  how can investigate what cause this issue?

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

ID: 3fc38ecf-87ef-cc6f-dd84-1df3d59081fe
Version Independent ID: 04721d96-e83a-6d5f-f276-5cb9d4d39762
Content: Deploy a model tutorial for Azure Machine Learning services
Content Source: articles/machine-learning/desktop-workbench/tutorial-classifying-iris-part-3.md
Service: machine-learning
GitHub Login: @aashishb
Microsoft Alias: aashishb

@xiashaohua2010 Can you please check if you are in the same directory of where you saved your pkl file? And please also check if the pkl file is hidden. Thanks.

@YutongTie-MSFT , Thanks for your kindly help!  I'm sure I checked the right directory and the hidden files are set to visible. and also I have asked my IT colleagues to help me check the proxy and firewall settings, but we cant find a clue, I don't know this issue caused by which side. btw, the file being saved even doesn't show a temporary file with a temporary name like other downloading way.

@xiashaohua2010 Then I think it is not a document related question. Could you please post this issue in out MSDN forum so that we can help better? Thanks a lot!
We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


Can't install specific version with TypeScript

Description
I want to use v0.68.5 with typescript but it install latest ReactNative version (0.70.5).
This is the command I run
npx react-native init MyApp --template react-native-template-typescript --version 0.68.5
Version
0.68.5
Output of npx react-native info
info Fetching system and libraries information...
System:
OS: macOS 13.0
CPU: (8) x64 Intel(R) Core(TM) i7-8569U CPU @ 2.80GHz
Memory: 752.56 MB / 16.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.10.0 - ~/.nvm/versions/node/v16.10.0/bin/node
Yarn: Not Found
npm: 7.24.0 - ~/.nvm/versions/node/v16.10.0/bin/npm
Watchman: 2<IP_ADDRESS> - /usr/local/bin/watchman
Managers:
CocoaPods: 1.11.3 - /usr/local/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.4, iOS 16.0, macOS 12.3, tvOS 16.0, watchOS 9.0
Android SDK:
API Levels: 28, 29, 30, 31
Build Tools: 28.0.3, 29.0.2, 30.0.2, 30.0.3, 31.0.0, 33.0.0
System Images: android-28 | Google APIs Intel x86 Atom, android-29 | Google Play Intel x86 Atom, android-30 | Google APIs Intel x86 Atom
Android NDK: 22.1.7171670
IDEs:
Android Studio: 4.2 AI-202.76<IP_ADDRESS>51085
Xcode: 14.0.1/14A400 - /usr/bin/xcodebuild
Languages:
Java: 11.0.11 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 18.1.0 => 18.1.0
react-native: 0.70.5 => 0.70.5
react-native-macos: Not Found
npmGlobalPackages:
Steps to reproduce
npx react-native init MyApp --template react-native-template-typescript --version 0.68.5
Snack, code example, screenshot, or link to a repository

That's a "known bug" of the CLI
It's also already fixed: https://github.com/react-native-community/cli/pull/1736


feat: show application count on admin page

https://portal.deltahacks.com/admin/grade
The application counts can be seen here.


ui-chassis-spring has failing rat check on dependencies.log

I'm experiencing a build fail with mvn clean install with the following
[ERROR] Failed to execute goal org.apache.rat:apache-rat-plugin:0.13:check (rat-check) on project ui-chassis-spring: Too many files with unapproved license: 1 See RAT report in: /home/wbittles/egeria/open-metadata-implementation/user-interfaces/ui-chassis/ui-chassis-spring/target/rat.txt -> [Help 1]
The only file listed in the rat report was
egeria/open-metadata-implementation/user-interfaces/ui-chassis/ui-chassis-spring/target/dependencies.log
rat.txt

@wbittles If you delete that file then re-run does it fail? Rat checking should not check the target folders with the rat plugin having /target/ in the top level pom.xml. This must be local to you as the build is working on master.
Are you at master with no changes?

it seems you have a file called dependencies.log there and shouldn't.
However, locally you can:
mvn clean install -Drat.skip
and the rat check will be skipped

@bogdan-sava If the log file shouldn't be there, I'll try and track down what's generating it then. thanks

I can confirm I don't have that file. The contents may give a clue? Could it just be a file you created when checking dependencies?
If I create any files when searching/debugging I always try and place outside the build tree. If your current build process (with changes) creates extra files then as david mentioned it's best to place them in target (much better than adding more exclusions).
Also bear in mind that if you create extra files you won't want them picked up by git in error, so be careful with git add/commit too (again there's an exclusion mechanism, and target is removed by default)

@wbittles can we close this, it is not obvious what Egeria change could help here?


Revise text on HyperOperators

Two quotes from that section:

Hyper operators are defined recursively on nested arrays.
Hyper operators do not descend into child lists.

Split it into two sections. One should talk about stuff like »…« and another one about @a»…. Seems like these are a bit too different.

This text has changed (and improved) a lot. I will revise it anyway, but I think that most of the original concerns have been addressed.


Org stewards belonging to different orgs can delete any original review

STR-
prereq-
log in as syme,aaronson etc and add reviews to White tailed olalla rat app listing (miniluv org and owner bettafish)
Log in as wsmith ( miniplen)
Go to Quick View Modal | Review tab for app listing White-Tailed Olalla Rat App listing
Choose edit icon next to all of the original reviews and delete
choose confirmation after the delete
RESULTS- The original review is then deleted.
EXPECTED RESULTS - The original review should only be deleted by app owner, review owner, org steward or admin. The responses are safe since they do not display the edit icon or comment box next to responses unless you are the owner of response.

PR submitted.


Unable to upload cookbooks after versioning them

I am getting following error while running knife cookbook upload -a
vagrant@bcpc-bootstrap:~/chef-bcpc$ knife cookbook upload -a
ERROR: Chef::Exceptions::InvalidCookbookVersion: '1.0.0-SNAPSHOT' does not match 'x.y.z' or 'x.y'

The version number doesn't seem to be in line with what Chef is expecting.

Chef won't allow us to use "-SNAPSHOT" for ephemeral versions, so for now we are just using the nonsense version "0.1.0" for the master branch.
This gives us some "belt and suspenders" protections against accidental local changes:

Seeing "0.1.0" on an active cluster should be very alarming.
The environment file should have a cookbook version pin that forbids the use of any "0.1.0" cookbook even if they are accidentally uploaded.
Running a mixed set of release and non-release cookbooks should be impossible because the "0.1.0" versions from master will not satisfy dependencies.


Fix the links under next steps

Hi,
The links on this page under next steps go off to a githut page instead of the next article, specifically - Deployment Plan.
Thanks,

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

ID: 2010f5ac-1080-addd-1fb3-5b05db26c1f6
Version Independent ID: 1aa18d6a-5846-7989-b844-fc8ad027921b
Content: Azure AD Connect: Seamless Single Sign-On
Content Source: articles/active-directory/hybrid/how-to-connect-sso.md
Service: active-directory
Sub-service: hybrid
GitHub Login: @billmath
Microsoft Alias: billmath

@Adam-Driver I am able to access all of the links under Next Steps. Also, the deployment plan goes to this link - https://github.com/AzureAD/Deployment-Plans/tree/master/Authentication.  What is the error you are getting ?

@Adam-Driver We will now proceed to close this thread. If there are further questions regarding this matter, please reopen it and we will gladly continue the discussion.


grpc client --registry=etcd doesn't work

v1.13.2
example:
package main

import (
	"context"
	"fmt"

	"github.com/micro/go-micro"
	"github.com/micro/go-micro/client"
	"github.com/micro/go-micro/client/grpc"
	"github.com/micro/go-micro/registry/etcd"

	proto "gomicro/examples/srv/proto"
)

func main() {
	service := micro.NewService()
	service.Init()

	{
		c := proto.NewGreetingService("go.micro.srv.greeter", grpc.NewClient())
		req := &proto.Request{Msg: "Message"}
		rsp, err := c.Say(context.Background(), req)
		fmt.Println(rsp, err)
	}
	{

		c := proto.NewGreetingService("go.micro.srv.greeter", grpc.NewClient(
			client.Registry(etcd.NewRegistry()),
		))
		req := &proto.Request{Msg: "Message"}
		rsp, err := c.Say(context.Background(), req)
		fmt.Println(rsp, err)
	}
}

cmd:
go run main.go --registry=etcd

output:
<nil> {"id":"go.micro.client","code":500,"detail":"service go.micro.srv.greeter: not found","status":"Internal Server Error"}
msg:"Message"  <nil>

grpc.NewClient default Registry is mdns. Maybe cover from cmd?
609     if options.Registry == nil {
610         options.Registry = registry.DefaultRegistry
611     }

try using service.Client() which initialized by service.Init() with the --registry=etcd parameter instead of creating a new client which uses default registry.

service.Client() can't connect to grpc srv.
<nil> {"id":"go.micro.client.transport","code":500,"detail":"malformed HTTP response \"\\x00\\x00\\x06\\x04\\x00\\x00\\x00\\x00\\x00\\x00\\x05\\x00\\x00@\\x00\"","status":"Internal Server Error"}

you should tell go-micro to use grpc client by adding --client=grpc

It's maybe work but not the same question.

srv maybe has alot of client in diffrent transport or protocol.

Hello every one. I saw that redis look like etcd. So, Can i use redis as a registry for gomicro like etcd in my system. Thank you very much

This issue is obsolete. Please do not respond with questions here about redis.
If you use --client it replaces the internal client and you need to specify --registry there also. If you use any client, ensure its service.Client()


Google doesn't works in incognito mode in chrome.

Describe the bug
Google sign-in is not working incognito.
  <LoginSocialGoogle
    client_id={googleServiceWebClientIds}
    scope={
      'https://www.googleapis.com/auth/userinfo.profile, https://www.googleapis.com/auth/userinfo.email'
    }
    typeResponse="idToken"
    ....

/>

To Reproduce
Steps to reproduce the behavior:

Go to incognito mode in Chrome for OSX
Click on google auth button.

Expected behavior
Google prompt should be displayed or some message error should be fired from google to let the user know what is happening.
Screenshots
https://github.com/cuongdevjs/reactjs-social-login/assets/102164699/2ef2f78c-fb1b-4304-9810-baf5d9f1ba1b
Desktop (please complete the following information):

OS: OSX
Browser Chrome
Version Version 103.0.5060.114 (Official Build) (arm64)

Additional context
If I logged in to my google account using the incognito browser, then I was able to see the google account popup. but this is not what we expect.

Have you tried to log in using Google on my demo site?

@cuongdevjs yes but it's not working too in incognito. Others providers works, no Google
https://github.com/cuongdevjs/reactjs-social-login/assets/102164699/575e15f7-b046-46a0-9157-1858e0673c8b

please try to remove access_type=offline props

I am not using that prop and as I can see by default is online . Could be it related to some recent security changes from Google ?

Sorry,  any change to check it right ?

I have same issue with google login in Incognito mode chrome

The same problem, even on demo-site

After clicking on close button on google popup got same permanent issue
 <LoginSocialGoogle         isOnlyGetToken         client_id={APP_GG_APP_ID || ''}         typeResponse="idToken"         onResolve={onResolveGoogle}         onReject={onReject}       >         <GoogleButton />       </LoginSocialGoogle>


JAWS cannot read non-simple ListViewItems

Describe the bug
ListViewItems that contain non-simple layouts (i.e. a grid with multiple text fields) are not read properly by JAWS. Specifically, only the first line of text is read, not the second. Surprisingly, this does not repro with NVDA or Narrator.
Steps to reproduce the bug

Enable JAWS
In WinUI 2 gallery and WinUI 3 gallery, go to ListView page
Tab to "ListView with Selection Support" section
Use arrow keys to move between list view items

Expected behavior
I expect all text in a list view item to be read. For example, the first entry would read "Kendall Collins. Adatum Corporation." Instead, only "Kendall Collins" is read.
Screenshots
No response
NuGet package version
None
Windows version
No response
Additional context

Originally found in https://github.com/microsoft/terminal/issues/14152
Surprisingly, this issue does not repro on NVDA or Narrator. This means that it could be a bug on JAWS as well, to be fair. But I've encountered cases in the past where JAWS is rightfully expecting something to be available and it's not.

Following up with Narrator team on this.

I was able to reproduce this in Narrator in WinUI3 Gallery.
For a ListView, the ListViewItem will use the data items ToString() method to create a UIA Name that will be read by the accessibility tool. WinUI Gallery is not including the full description of the item and so Narrator is reading an incomplete description. In Narrator it is still possible to directly navigate to the individual textblocks that are the children of the ListViewItem. However, using normal keyboard navigation will not hit those since they are not tab stops.
I will make a fix for WinIU Gallery.

Should be resolved with:
Improve accessibility of ListView page - list view items UIA description includes more information. by kmahone · Pull Request #1435 · microsoft/WinUI-Gallery


Reminders not active

As I am not getting messages from Sam (see other tickets on absence of daily goal notification and weekly reflection), I am not active with the virtual coach. Now - daily - I get the reminder that Sam hasn't heard anything from me and then the whole menu is shown.
When are these messages shown? Is that after a week when someone hasn't been active or longer?
And now these messages are send daily, maybe we could reduce the frequency?

The message that you are inactive should appear after not completing a dialog for 10 days. Are you inactive for a shorter period?
This is checked every day at 10h00 and does send the message if you were inactive for the last 10 days. This frequency can probably be reduced. Can you explain why that has benefits or why it is desired to reduce the frequency of the inactive notification?

I talked with Walter on the phone about this, and indeed I get the message after 10 days of not being active (which is fine). Getting a message daily will start to get annoying pretty quickly, and might not really motivate users in the positive way. I discussed with Walter to change it to once every three days (if after 10 days no response is given in the app)


⚠ ClamAV has degraded performance

In 6564f9f, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 200 ms

Resolved: ClamAV performance has improved in 57d9fd5.


qemu.plugins: init at 6.2.0

Description of changes
When building QEMU, it is possible to build contributed plugins. These plugins can be loaded with QEMU -plugin parameter. More documentation about how to use these: https://qemu.readthedocs.io/en/latest/devel/tcg-plugins.html#example-plugins
I propose to add make plugins as a postBuild step (ninja does not have the target) and move the output to qemu.plugins output.
Things done

Built on platform(s)

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

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

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

On macos 10.15:
builder for '/nix/store/ajrkvkfwqw6z4nkww2m5c3yxcbx1jwr6-qemu-6.2.0.drv' failed with exit code 2; last 10 log lines:
  [6737/6738] Linking target tests/qtest/test-x86-cpuid-compat
  [6738/6738] Linking target tests/qtest/rtas-test
  /nix/store/8588rrhd0g7r3k7rf2x22m0l0ffg4xkk-ninja-1.10.2/bin/ninja  build.ninja && touch build.ninja.stamp
  ninja: no work to do.
  /nix/store/5sr2zsj8gm3a7jigjl0biqs62rsik5jv-meson-0.60.3/bin/meson introspect --targets --tests --benchmarks | /nix/store/3j4k5ja8zpr7v5xiyfgjwjb8qnl4iycv-python3-3.9.10/bin/python3 -B scripts/mtest2make.py > Makefile.mtest
    BUILD   example plugins
  ld: unknown option: -soname
  clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
  make[1]: *** [Makefile:39: libexeclog.so] Error 1
  make: *** [Makefile:173: plugins] Error 2

@risicle  On macos 10.15:
builder for '/nix/store/ajrkvkfwqw6z4nkww2m5c3yxcbx1jwr6-qemu-6.2.0.drv' failed with exit code 2; last 10 log lines:
  [6737/6738] Linking target tests/qtest/test-x86-cpuid-compat
  [6738/6738] Linking target tests/qtest/rtas-test
  /nix/store/8588rrhd0g7r3k7rf2x22m0l0ffg4xkk-ninja-1.10.2/bin/ninja  build.ninja && touch build.ninja.stamp
  ninja: no work to do.
  /nix/store/5sr2zsj8gm3a7jigjl0biqs62rsik5jv-meson-0.60.3/bin/meson introspect --targets --tests --benchmarks | /nix/store/3j4k5ja8zpr7v5xiyfgjwjb8qnl4iycv-python3-3.9.10/bin/python3 -B scripts/mtest2make.py > Makefile.mtest
    BUILD   example plugins
  ld: unknown option: -soname
  clang-11: error: linker command failed with exit code 1 (use -v to see invocation)
  make[1]: *** [Makefile:39: libexeclog.so] Error 1
  make: *** [Makefile:173: plugins] Error 2

My bad, I should have realized that QEMU plugins Makefile does not support Darwin. It should now work as I added conditions on stdenv.isLinux.


Click to select chains doesn't work

Selecting 'Clicks select: chains" and clicking on a residue does nothing.

This might be fixed with the move off of RPC.

@avirshup This seems to be working for me after the refactor, so I'm closing this.  Feel free to reopen if you still see this bug anywhere.


Implemented nested() method

PR for #62

Coverage increased (+0.7%) to 86.842% when pulling 50fbb0512cbba2fe8d22ddb5305192596acfef7a on SherifWaly:#62 into f8ee7a1c0a054419e1144c8d24c128733dc50bbc on decorators-squad:master.

@amihaiemil Please check this commit :)

@SherifWaly I saw you submitted this PR at 2-3 AM.
Please, don't lose sleep over these projects. It's not a job, so if I assign an issue to you, I don't expect it to be done so quickly - do it when you have time, during the day.

Coverage increased (+0.6%) to 86.772% when pulling baaf99dbd09b025583032d3fad7a34f012ad4d19 on SherifWaly:#62 into f8ee7a1c0a054419e1144c8d24c128733dc50bbc on decorators-squad:master.

@amihaiemil Please check last commit :)
For submission at late hours thank you for that :). But only I'm a student and sometimes sleep at late hours during weekend :D

@rultor merge

@rultor merge

@amihaiemil OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@amihaiemil Done! FYI, the full log is here (took me 2min)


Can this solution constrain the curvature of the trajectory?

Can this solution constrain the curvature of the trajectory? If, how to solve it? otherwise, why? Thank you.

@zhumingpassional
For the behavior planning layer, the answer is yes. That is because the forward simulation depends on the internal controller/motion model, if the controller is feasible in terms of kinematics and dynamics, the results will not violate the curvature constraint (same for lateral/longitudinal velocity/acceleration constraints).
For the motion planning layer (SSC planner), since we perform planning in the Frenet frame and decouple the lateral and longitudinal axes, it can not restrict the curvature directly. However, the initial solution from the behavior layer is guaranteed to be feasible, and we add a 'similarity cost' in the optimization, therefore, the output trajectory is feasible most of the time.


jFrog reports "missing checksum" for artifacts uploaded with this plugin

From a github actions workflow:
++ curl -L -uXXXX:*** -T registrationservice-3.0.198-142.tgz https://XXXX/artifactory/upp-helm/registrationservice-3.0.198-142.tgz
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  6869    0   743  100  6126    954   7873 --:--:-- --:--:-- --:--:--  8829
{
  "repo" : "upp-helm",
  "path" : "/registrationservice-3.0.198-142.tgz",
  "created" : "2023-10-20T15:25:58.265Z",
  "createdBy" : "XXXX,
  "downloadUri" : "https://XXXX/artifactory/upp-helm/registrationservice-3.0.198-142.tgz",
  "mimeType" : "application/x-gzip",
  "size" : "6126",
  "checksums" : {
    "sha1" : "ae86cb417541e1b3a24f8decf0f0736dcfd88caa",
    "md5" : "fbf527686c6bcc9cb741b034a2fac455",
    "sha256" : "c182109d20be02ccb9cd05e7fec981732b52e4b9052a9b462d7c26e0b2efe414"
  },
  "originalChecksums" : {
    "sha256" : "c182109d20be02ccb9cd05e7fec981732b52e4b9052a9b462d7c26e0b2efe414"
  },
  "uri" : "https://XXXX/artifactory/upp-helm/registrationservice-3.0.198-142.tgz"
++ set +x
}/home/runner/work/dp-ms-registration/dp-ms-registration

The artifact as shown on the jFrog UI:

Note the error:
Client did not publish a checksum value. If you trust the uploaded artifact you can accept the actual checksum by clicking the 'Fix Checksum' button.

Is there an option to pass the checksum so that artifactory can verify it?
Otherwise, this has no benefit over a plain curl upload, which has the same problem.

jFrog issue, not plugin related