Cannot load an angular cli project with single-spa

Hey,
I've created a new project that gets a bundle.js file dynamically and loads it using single-spa and single-spa-angular2.
I could load a regular angular project and a vanilla JS project, but when I'm creating an angular cli project (using "ng new" angular cli command), building it and trying to load its bundle, I'm encountering errors when loading the bundle.js file (I'm using SystemJS.import for that).
I tried as well to configure the project's webpack config file (using ng eject) but nothing helped.
Do you have any step-by-step guide of how to use single-spa for angular cli project?
Hope my question is cleared and in the right place, it's the first time I'm asking here.
Thanks.

Could you provide the stacktrace you get when SystemJS tries to load the bundle?

So I've made some progress, and I still got some unsolved questions.
I have a project that get some JS that represents another project and it can load it into the browser. The source code of this project can be found here
Now, I'm trying to make it load a real project we're having, but it was too complicated, so I wanted first to make it load an empty angular cli project, what I did so far:

Created an empty project using "ng new".
Since my project loads expect the JS to be in AMD format, I used "ng eject" to extract the web pack config.
In the web pack config, I've added to module.exports.output the "libraryTarget" property set to "AMD".
I wanted to load only one JS file(otherwise I've got errors while loading them), so I removed all the CommonPlugin section from the web pack config, so that I'll get only one bundle when building the project.
I ran "npm run build" and took the loaded the bundle file using the loader project.

I'm facing the following problems:

While running "npm run build" in the child app, I've got the following error:

Error: Tried to find bootstrap code, but could not. Specify either statically analyzable bootstrap code or pass in an entryModule to the plugins options.

My main.ts file looks like this:
import { enableProdMode } from '@angular/core';
import { platformBrowserDynamic } from '@angular/platform-browser-dynamic';
import { AppModule } from './app/app.module';
import { environment } from './environments/environment';
import singleSpaAngular2  from 'single-spa-angular2';
if (environment.production) {
enableProdMode();
}
const mainModule = AppModule;
const ng2Lifecycles = singleSpaAngular2({
domElementGetter,
mainModule,
angularPlatform: platformBrowserDynamic(),
template: <app-login />,
})
export const bootstrap = [
ng2Lifecycles.bootstrap,
];
export const mount = [
ng2Lifecycles.mount,
];
export const unmount = [
ng2Lifecycles.unmount,
];
function domElementGetter() {
return document.getElementById('main-app');
}
To overcome this problem, I've added the following unreachable if statement which I don't like:
if (0 > 1) {
platformBrowserDynamic().bootstrapModule(AppModule);
}
What can I do to fix this problem correctly?

I want to be able to run the child-app independently, but after making the above changes, I'm getting the following error in the browser, while running the child-app independently:
Uncaught ReferenceError: define is not defined
at main.bundle.js:1

Before I removed the CommonPlugin from the web pack, the project was bundled splitting by the following bundles: vendor, inline, polyfills, styles and main bundle. I tried to load them one by one in the parent, with the following code:
applications
.then(json => json.apps)
.then(apps => {
apps.forEach(app => {
declareChildApplication(app.name,
() => {
if (app.name === 'login') {
SystemJS.import('./childApps/login/vendor.bundle.js');
SystemJS.import('./childApps/login/inline.bundle.js');
SystemJS.import('./childApps/login/polyfills.bundle.js');
SystemJS.import('./childApps/login/styles.bundle.js');
}
     SystemJS.import(app.url)
 },
 isAppActive(app.name)

});
})
});
but I've got the following error:
Uncaught Error: 'login' died in status LOADING_SOURCE_CODE: webpackJsonp is not defined
Evaluating http://<IP_ADDRESS>:8080/childApps/login/main.bundle.js
Loading ./childApps/login/main.bundle.js
at eval (main.bundle.js:1)
at i (system.js:4)
at j (system.js:4)
at O (system.js:4)
at k (system.js:4)
at system.js:4
at ZoneDelegate.invoke (zone.js:390)
at Zone.run (zone.js:142)
at eval (zone.js:844)
at ZoneDelegate.invokeTask (zone.js:423)
Thanks in advanced for your answer,

Thanks for the detailed explanation, that's very helpful.
First question

Is it OK to leave it to bundle all to one file? Will it affect my app's performance?

That's a tricky question to answer definitively. The performance impact of code splitting is an area that a lot of frameworks and community members are actively exploring. From what I have seen, the currently accepted answer is that route-based code splitting is probably good in a lot of cases, and that non-route-based code splitting is sometimes good for performance, sometimes negligible, and sometimes even hurts performance.
I think two things to consider are the size of the child applications and whether you are supporting mobile. In production at Canopy, we have over ten child applications that are usually between 500k - 1.5mb bundles. We have done code splitting for one of them, but haven't for the rest of the child applications. And we have not seen adverse performance effects of loading bundles of that size for desktop users. If we had to support mobile, though, we might code split more aggressively.
All of that said, you can get code splitting working in your webpack bundles even when they are initially loaded by SystemJS. So it should be totally possible for you to turn code splitting on (we do this at Canopy and it works great). The webpackJsonp is not defined error is usually related to not executing the webpack entry bundle first before trying to load one of the code splits. In the example here at Canopy, our webpack config looks like this:
/* eslint-env node */
let path = require('path');
let webpack = require('webpack');

module.exports = {
	entry: './src/global-settings.js',
	output: {
		filename: 'global-settings.js',
		library: 'global-settings',
		libraryTarget: 'amd',
		path: path.resolve(__dirname, 'sofe'),
	},
	module: {
		rules: [
			{
				test: /\.js?$/,
				exclude: [path.resolve(__dirname, 'node_modules')],
				loader: 'babel-loader',
			},
			{
				test: /\.css$/,
				use: [
					'style-loader',
					{
						loader: 'css-loader',
						options: {
							modules: true,
							localIdentName: '[path][name]__[local]'
						}
					}
				],
				exclude: [path.resolve(__dirname, 'node_modules')],
			},
			{
				test: /\.css$/,
				include: [path.resolve(__dirname, 'node_modules')],
				use: ['style-loader', 'css-loader']
			}
		]
	},
	plugins: [
		new webpack.optimize.CommonsChunkPlugin({
			filename: 'common.js',
			name: 'commons',
			minChunks: 2,
			children: true,
		})
	],
	devtool: 'source-map',
	externals: [
		/^.+!sofe$/,
		/^lodash$/,
		/^moment$/,
		/^prop-types$/,
		/^react$/,
		/^react-dom$/,
		/^rx$/,
		/^sofe$/,
	]
};

the global-settings.js bundle starts like this (notice how webpackJsonpglobal_settings is a global variable that is created):
define("global-settings", ["react","canopy-urls!sofe","primary-navbar!sofe","cp-client-auth!sofe","lodash","canopy-styleguide!sofe","fetcher!sofe","react-dom","feature-toggles!sofe","rx","moment"], function(__WEBPACK_EXTERNAL_MODULE_0__, __WEBPACK_EXTERNAL_MODULE_5__, __WEBPACK_EXTERNAL_MODULE_7__, __WEBPACK_EXTERNAL_MODULE_8__, __WEBPACK_EXTERNAL_MODULE_11__, __WEBPACK_EXTERNAL_MODULE_12__, __WEBPACK_EXTERNAL_MODULE_27__, __WEBPACK_EXTERNAL_MODULE_35__, __WEBPACK_EXTERNAL_MODULE_44__, __WEBPACK_EXTERNAL_MODULE_119__, __WEBPACK_EXTERNAL_MODULE_135__) { return /******/ (function(modules) { // webpackBootstrap
/******/ 	// install a JSONP callback for chunk loading
/******/ 	var parentJsonpFunction = window["webpackJsonpglobal_settings"];
/******/ 	window["webpackJsonpglobal_settings"] = function webpackJsonpCallback(chunkIds, moreModules, executeModules) {

and then the code split bundles start like this (notice how they call the global variable created by global-settings.js):
webpackJsonpglobal_settings([0],{

/***/ 100:
/***/ (function(module, exports, __webpack_require__) {

"use strict";

Object.defineProperty(exports, "__esModule", {
	value: true
});

Second question
Uncaught Error: 'login' died in status NOT_MOUNTED: Unexpected value 'SharedModule' imported by the module 'LoginModule'. Please add a @NgModule annotation.

This is an Angular-specific error. The 'login' died in status NOT_MOUNTED is single-spa wrapping an error that Angular threw, but the original error came from Angular. You can check out https://github.com/angular/angular/issues/15763 for some discussion on what "Please add a @NgModule annotation" might mean and how to fix it. One suggested solution was to import 'reflect-metadata' somewhere in your code if you're not already doing so. I am not an expert in Angular, myself, but am happy to try to help the best I can.
Thanks again for the details - hope this helps!

@joeldenning Thank you so much!
So indeed the import 'reflect-metadata' was missing, but the real problem is that I accidentally excluded some files from the bundling process(I thought that I merged everything into the main bundle, but I didn't), such as the polyfills.ts file which contains this import.
We will try to investigate how to bundle our code to multiple files with the help of the webpack config you've added.
We're right now making many researches for this task, can we leave this issue opened for now? I'm sure we'll have some more questions soon.
And again, thank you, it's very helpful!

👍  No problem! Definitely reach out if you have further problems or questions.
You can also check out the following issues for more discussion and resources related to code splitting:

https://github.com/CanopyTax/single-spa/issues/102
https://github.com/CanopyTax/single-spa/issues/125
https://github.com/CanopyTax/single-spa/issues/123

Hey @joeldenning
First of all I would like to thank you again for your willing to help! The single-spa framework and your support really helped us with many challenges we have had.
We have done some hands-on working in order to convert our applications to act as micro front-ends, under the single-spa framework. Moreover, we've done some brainstorming with our team and our architects, and we've got some questions.
1. I could successfully load an empty angular CLI application to my root application by refactoring it to load my child-app in the following way:
declareChildApplication(app.name,
                                      () => {
                                            return SystemJS.import('./childApps/ndv/inline.bundle.js')
                                                .then(() => SystemJS.import('./childApps/ndv/polyfills.bundle.js')
                                                    .then(() => SystemJS.import('./childApps/ndv/styles.bundle.js')
                                                        .then(() => SystemJS.import('./childApps/ndv/vendor.bundle.js')
                                                            .then(() => SystemJS.import('./childApps/ndv/main.bundle.js')))));
                                      },
                                      isAppActive(app.name));

Is it the way to do it ?
2. When I tried to load my real application, I'm getting the following error:

Do you have any idea what could cause the problem?
Let me know if you want me to attach any of the bundle files (inline, polyfills, styles, vendor, main), I didn't want to include them if it's unnecessary since they are pretty big.
3. We have global styles and each child-app has its own styles, but we don't know how to load the child app's styles (we're using SASS for styling), what is the best practice to load the child app's & global styles? (They should be compiled to CSS together since the child app's styles is using sass variables from the global styles).
4. We're facing some problems loading a child-app's own assets. The application searching for its relevant assets under the root application (although there are not found under the root application, and shouldn't be there). How can we load the child-app with its own assets, while those assets are being stored on the child app's folder?
Moreover, wouldn't we have a collision if two child-apps will have two assets in the same name ?
5. We have a requirement where two child-apps can be in different angular versions (for example, first app in angular version 2, and second app in angular version 4).
This requirement is mainly for easy framework upgrades (each child app is responsible for its own framework).
will it be a problem? if so, how can we overcome this ?
6. We've made some researches about micro front-ends, and found that one of the options to implement a micro front-end application is to use iframes, are you familiar with it? what are the pros and cons in comparison of using single-spa as a solution ?

Hello, I try to use single sap in order to build a portal for my client.
This portal should work like the google button to switch between apps.
We want to build our application thanks to angular 5 but we want to keep the opportunity to work with react or view.js later so single spa seems perfect to perform this.
We want put all the apps inside a single git repository to manage a single lifecycle but we want stand-alone apps to develop and for the build.
I imagine create my apps thanks to ng new, develop it with ng serve inside the app repository, build it with ng build and aggregate it with root-application.js of single spa (we don't want be married with single spa ;-) ).
This is my simple repository with one angular app created with ng new, my issues are :

First step : run the angular app with single-spa-angular2 : ko :
single-spa.js:1 Uncaught Error: 'app-1' died in status NOT_MOUNTED: "Failed to load app.component.html"
And I have to change my imports :
import { AppComponent } from './app.component';
should be
import { AppComponent } from './app.component.ts';
Second step (if I solve the first) : don't use single-spa-angular2 and use directly the bundle.js and * produce by the ng build : ko -> I manage to load one time the apps but when I remove it of the dom, I don't manage to reload it.

My conclusion is that single spa could not do it, but I'm not sure, could you help me?
Thanks by advance!

Hi @Slash7GNR,
I'm also trying to get angular (I'm using 5) to import with SystemJS and I think we've been facing similar problems. Maybe we can help each other out.
I wrote made this issue about what I've faced / am facing: https://github.com/CanopyTax/single-spa/issues/133
I haven't been able to get code splitting to work yet, but I am close to getting it to work with everything in one bundle.


Connection refused

I have install well
but when opening url path
it shows Connection refused [tcp://<IP_ADDRESS>:6379]
is this project need redis or other problem?

I have solve it when install redis server on my environment.
Thank you.


Describe new client code generation features (planned for 2.2 Preview 3)

General
https://docs.microsoft.com/en-ca/aspnet/core/tutorials/web-api-help-pages-using-swagger?view=aspnetcore-2.1 covers the current state of client code generation in ASP.NET Core web sites. However, we're working to give customers simple ways to annotate their project files for automated code generation during every build (as source API descriptions change) and that should also be documented.
Note tooling for the new experience isn't going to happen immediately. The initial documentation should focus on manual edits to .csproj files.
Issues with Existing Topics
Does not cover work described in aspnet/Mvc#4947 and its sub-issues.
CC
@glennc

Copied to #8462


Uhf 9767 preview revision form fix

UHF-9767
Revision overview form is missing current revision.
Check this issue https://www.drupal.org/project/drupal/issues/3390329
What was done
Force the first revision to be visible.
How to reproduce bug before you apply the fix:
Create new content, add a field, save
Create a translation for the content and save
Add a new paragraph to the translation and save as new revision
Go check the original language revision overview form. You should be missing "current revision" row from the table
How to install

Make sure your instance is up and running on latest dev branch.

git pull origin dev
make fresh

Update the Helfi Platform config

composer require drupal/helfi_platform_config:dev-UHF-9767_preview_revision_form_fix

Run make drush-updb drush-cr

How to test
Follow the reproduction steps. Now all translations should have the current revision visible always.
Try rollbacking revisions and saving and rollbacking again and see that it always shows correct revision as first (for all languages)

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

Project coverage is 13.01%.  Consider uploading reports for the commit 107d84d to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##               main     #711   +/-   ##
=========================================
  Coverage     13.01%   13.01%
  Complexity      242      242
=========================================
  Files            28       28
  Lines           945      945
=========================================
  Hits            123      123
  Misses          822      822

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


Add salty-ivy

Fix https://github.com/django-commons/membership/issues/53

Woohoo! Thanks @cunla!


Connection from AKS to GKE fails

What happened:
I have two clusters, one in GKE and one in AKS. I installed Liqo on them both and joined both of them so pod offloading is possible from both clusters.
In GKE I have
kubectl get foreignclusters
NAME        OUTGOING PEERING PHASE   INCOMING PEERING PHASE   NETWORKING STATUS   AUTHENTICATION STATUS   AGE
cluster-e   Established              Established              Established         Established             33m

In AKS I have
kubectl get foreignclusters
NAME                                   OUTGOING PEERING PHASE   INCOMING PEERING PHASE   NETWORKING STATUS   AUTHENTICATION STATUS   AGE
d7c44865-8241-4ba8-bab6-a7101d2892c4   Established              Established              Established         Established             34m

I created a deployment in GKE using the example in your docs with Nginx. One pod is running in GKE, one is offloaded to AKS. I can reach both of the pods from GKE via IP (both the local and the remote one).
Doing it in reverse: creating a deployment in AKS and offloading one pod to GKE. In this case I cannot reach the remote pod (running in GKE) from AKS; connection times out. I can confirm the offloaded pod is running in GKE correctly, having an IP.
What you expected to happen:
To be able to reach the the offloaded pod in GKE from AKS.
How to reproduce it (as minimally and precisely as possible):
See above
Anything else we need to know?:
Environment:

Liqo version: 0.3.0
Kubernetes version (use kubectl version):
GKE
Server Version: version.Info{Major:"1", Minor:"20+", GitVersion:"v1.20.10-gke.301", GitCommit:"17ad7bd6afa01033d7bd3f02ce5de56f940a915d", GitTreeState:"clean", BuildDate:"2021-08-24T05:18:54Z", GoVersion:"go1.15.15b5", Compiler:"gc", Platform:"linux/amd64"}
AKS
Server Version: version.Info{Major:"1", Minor:"20", GitVersion:"v1.20.9", GitCommit:"8dc42052754bfacb111a0426830122dd9cc9cfa0", GitTreeState:"clean", BuildDate:"2021-08-31T00:01:04Z", GoVersion:"go1.15.14", Compiler:"gc", Platform:"linux/amd64"}
Cloud provider or hardware configuration:
GKE
Public GKE cluster with default VPC networking
AKS
Public AKS cluster with default Kubenet networking
Network plugin and version:
Install tools:
Others:

Do you have an idea why that could be? Thanks!

Hi @dberecz, we noticed that the Liqo virtual node suffers an unwanted reconciliation from the AKS route agent when using Kubenet as CNI.
I suggest you test it by creating the cluster using Azure CNI. We will update the documentation as soon as possible.

Hi @dberecz, I will need some more info. Could you post for each cluster the following info:

cluster service CIDR;
pod CIDR;
subnet of the nodes;

Additionally in one of the two clusters you should run the following command
kubectl describe tunnelendpoints.net.liqo.io --all-namespaces
and post the following fields :
  Cluster ID:
  Endpoint IP:
  Local External CIDR:
  Local NAT External CIDR:
  Local NAT Pod CIDR:
  Local Pod CIDR:
  Remote External CIDR:
  Remote NAT External CIDR:
  Remote NAT Pod CIDR:
  Remote Pod CIDR:

Hi @alacuku, sure, see below:
GKE
cluster service CIDR: <IP_ADDRESS>/20
pod CIDR: <IP_ADDRESS>/14
subnet of the nodes: <IP_ADDRESS>/20 (secondary IP ranges <IP_ADDRESS>/20, <IP_ADDRESS>/14)

 Cluster ID: da933e23-12af-4a4e-a109-aba857e8d843
 Endpoint IP: <IP_ADDRESS>
 Local External CIDR: <IP_ADDRESS>/14
 Local NAT External CIDR: None
 Local NAT Pod CIDR: None
 Local Pod CIDR: <IP_ADDRESS>/14
 Remote External CIDR: no such field
 Remote NAT External CIDR: None
 Remote NAT Pod CIDR: None
 Remote Pod CIDR: no such field

AKS
cluster service CIDR: <IP_ADDRESS>/16
pod CIDR: <IP_ADDRESS>/16
subnet of the nodes: <IP_ADDRESS>/16

 Cluster ID: d7c44865-8241-4ba8-bab6-a7101d2892c4
 Endpoint IP: <IP_ADDRESS>
 Local External CIDR: <IP_ADDRESS>/16
 Local NAT External CIDR: None
 Local NAT Pod CIDR: None
 Local Pod CIDR: <IP_ADDRESS>/16
 Remote External CIDR: no such field
 Remote NAT External CIDR: None
 Remote NAT Pod CIDR: None
 Remote Pod CIDR: no such field

The Remote Pod CIDR and Remote ExternalCIDR fields should be set. Something went wrong.
Could you please run kubectl describe networkconfigs.net.liqo.io --all-namespaces and post the following fields :
  Cluster ID:
  Endpoint IP:
  External CIDR:
  Pod CIDR:
Status:
  External CIDRNAT:
  Pod CIDRNAT:
  Processed:

Another question, do you still have the connectivity from GKE to AKS?

@alacuku, yes, I do have connection from GKE to AKS:
kubectl get pods -n liqo-demo -o wide
NAME                   READY   STATUS    RESTARTS   AGE   IP            NODE                                        NOMINATED NODE   READINESS GATES
nginx-local            1/1     Running   0          92m   <IP_ADDRESS>    gke-cluster-w-default-pool-f29987af-585x    <none>           <none>
nginx-remote           1/1     Running   0          92m   <IP_ADDRESS>   liqo-da933e23-12af-4a4e-a109-aba857e8d843   <none>           <none>

curling both the IPs from the nginx-local pod succeeds.
GKE
Cluster ID:     d7c44865-8241-4ba8-bab6-a7101d2892c4
Endpoint IP:    <IP_ADDRESS>
External CIDR:  <IP_ADDRESS>/16
Pod CIDR:       <IP_ADDRESS>/16
Status:
External CIDRNAT:  None
Pod CIDRNAT:       None
Processed:         true
AKS
  Cluster ID:     d7c44865-8241-4ba8-bab6-a7101d2892c4
  Endpoint IP:    <IP_ADDRESS>
  External CIDR:  <IP_ADDRESS>/16
  Pod CIDR:       <IP_ADDRESS>/16
Status:
  External CIDRNAT:  None
  Pod CIDRNAT:       None
  Processed:         true

Thanks @dberecz, something went wrong indeed. On each cluster there should be two instances of networkconfigs.net.liqo.io. But in this case there is only one. The one created in AKS and replicated in GKE. For some reason GKE cluster created at first a networkconfigs.net.liqo.io and then deleted it.
If you run kubectl get foreignclusters and still see that fields are set to ESTABLISHED then it means that it's a problem in our side.

Thanks @alacuku, the output of kubectl get foreignclusters
GKE
NAME        OUTGOING PEERING PHASE   INCOMING PEERING PHASE   NETWORKING STATUS   AUTHENTICATION STATUS   AGE
cluster-e   Established              Established              Established         Established             21h

AKS
NAME                                   OUTGOING PEERING PHASE   INCOMING PEERING PHASE   NETWORKING STATUS   AUTHENTICATION STATUS   AGE
d7c44865-8241-4ba8-bab6-a7101d2892c4   Established              Established              Established         Established             21h

Do let me know if you need any more info to find the bug in Liqo, happy to help.

@dberecz, I'm trying to reproduce the scenario but without success. Could you please join our slack workspace and ping me there? Thank you!

After a debug session with @dberecz we found out that the connectivity problem was caused by a wrong MTU. We need to make the MTU for the vpn tunnel and the overlay network configurable during the installation. The configuration could be dynamic (liqoctl) or manual (provided by user).


[all] Audio broken:

This patch should fix it..
https://bugs.launchpad.net/linaro-ubuntu/+bug/760919
issue is a reminder to self..

should be fixed with:
https://github.com/RobertCNelson/stable-kernel/commit/3fdf3adc63e934e1a6b404a0fa1dd05d7463c9be


Fix group-switch availability for Homematic IP

Description:
The property unreach of a group is a calculated value in Homematic IP Cloud. If one group member is unreach then the group also unreach.
In HA the property unreach is used to determine if a device is available. This is good for devices, but not for groups-switches, because group-switches that are unavailable cannot be used for switching of  other available group members.
Related PR: fixes #21076
This PR sets the return of a group-switch to be always True, so  this switching is always possible.
It also adds a state_attribute if a group member is unreachable.
This also relates to groups that are shown as binary_sensors.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.

@MartinHjelmare Could you have a look at this PR.
Could be a candidate for 0.89.1.
Thanks

Can be merged when build passes.

@MartinHjelmare Thanks for your suggestions. I applied these to the other assignments in the same method.

Build is green except broken (amcrest dependency)  pylint task.


Fix 'JVM too old' as bsp

Fixes #2412

Could we add an anti-regression test for this?
should be possible to set up an integration test with BSP, I think


Can not access services from pods

Hello,
I kow its not the best place for such questions, but didn't find any related forum.
Im facing problem that packets from pods to service IP's, instead of traveling over cluster, hitting default host  network gateway.
Pinging from pod to pod works fine, from pod to service (cluster IP) goes like traffic to external network.
I'm not sure how to debug this - what is the diference between service and pod networking.
I have default k3OS istallation - 4 nodes on private subnet.
I have my custom ingress controler installed, therfore traefik daemonset is disabled - can this have influcence ?
Disabling my controller and bringing back traefik does not make any changes.
Please help me to understand what is responsible for routing packets between pods and services.

I'm sorry for this false alarm, just realized that services are reachable only on exposed ports - pinging will not reach them.


Move Cluster-Autoscaler to a separate repo

We would like to have a separate repo for cluster autoscaler to ensure proper branching and versioning.
cc: @MaciekPytel @fgrzadkowski

Duplicate of https://github.com/kubernetes/contrib/issues/2533


Feature/ruchitham0001

I have added two files. So kindly accept my pull request

"Nice work! Your changes look good."


Add progress indicators when creating new exercise

Currently, the text changes when creating a new exercise on the background, but we could do with a bit more visual feedback (e.g. a spinner or something like that).

I would be interested in this if you are still looking for help with it

Absolutely! I'll assign it to you.

I think there's a LoadingIndicator class somewhere in the source code already that could be useful.

Closed by #63


Babel 6 support

https://babeljs.io/blog/2015/10/29/6.0.0/

Hi!
I know that this is probably not the best place to ask a question like that.
But since there's no Babel 6 support yet (and I want it real bad) and since babel-istanbul is supposed to be a drop in replacement, I figured I could just use istanbul on the code compiled with Babel 6 (I thought it'd be basically the same thing).
So, I went from this (worked perfectly with Babel 5):
babel-istanbul cover --root lib --print detail --include-all-sources jasmine

to this:
istanbul cover --root build --print detail --include-all-sources jasmine

However, even though all of my 179 specs are still passing (jasmine has no problem finding them), istanbul prints "No coverage information was collected, exit without writing coverage information" and does nothing.
Sorry for bothering.

There are some pretty nasty bugs in Babel 6, so I'm waiting on some semblance of stability in the plugin/preset system before I start digging in with this package. I'd assume sometime next week things will calm down over there.
@thealjey I'm not sure how your jasmine specs are set up, but I am assuming either jasmine or istanbul is just looking in the wrong spot for your build files.

Well, that's the thing, Babel 6 works just fine now (at least the parts that I'm using), I've checked.
Also, all of my tests are still passing.
As to the setup, there isn't much more of it than I already wrote about.
I have 3 directories - lib (source files), build (Babel compiled files), spec (*Spec.js specs).

files are compiled with

babel lib --out-dir build --presets es2015,stage-2,react --plugins transform-react-display-name,transform-runtime

the tests are executed with

istanbul cover --root build --print detail --include-all-sources jasmine

that is it, nothing more to it
istanbul finds the files under --root, passes them on to jasmine, which successfully executes all of the tests
but then, all of a sudden, it says that no coverage information was collected :open_mouth:

I figured it out, turns out you need to specify --root for both istanbul and jasmine (one more "build" at the end):
istanbul cover --root build --print detail --include-all-sources jasmine build

However, I have a new problem now, istanbul now wants me to cover "_interopRequireDefault", "__esModule" and rest of the Babel noise.
It also reports that code inside class constructor functions, methods defined as {key: ..., value: ...} and other completely random things (which are definitely covered, I've always had 100% coverage on the project).
So, it seems that you are my only hope, I'm very impatient, but I'll wait :blush:
I didn't realize how important babel-istanbul was to me until I couldn't use it any more.

I can't believe I could be so dumb/blind, the only thing that does not currently work with babel-istanbul is "--include-babel-polyfill" and that doesn't seem all that important, cause everything works just fine without it.
So, I'm back at 100% percent coverage, using babel-istanbul again, and couldn't be happier :smile:
I won't be spamming you guys any more, promise :blush:

0.5.3 should be up to date with babel 6 support. Big change is there are no longer command line flags for babel options. We'll have to use .babelrc files from here on out since the plugin system it has gotten too complicated to address with command line arguments now.


Use utils.LocalUserLoggedIn()

Currently there is a mix of both, a helper utility to handle user authentication, as well as handling it directly. While I love the benefit of less duplication, and less internal knowledge of authentication a helper function brings, I find the syntax very clunky and confusing.
If anyone has any thoughts on this I'd be happy to hear them, especially @Digitalone1
The raw/standard user auth handling:
let user = await users.VerifyAuth(params.auth);

if (!user.ok) {
  await common.AuthFail(req, res, user);
  return;
}
// code if user is logged in

The util function usage:
await utils.LocalUserLoggedIn(req, res, params.auth, async () => {
  // code if user is logged in
}

In my opinion the problem with LocalUserLoggedIn is the same as the multiple if/else statements. It introduces indentation which is not a big issue, but it's better if you can avoid it.
With ok property check, we can avoid the indentation after the return, but we have duplication with all those checks repeating through the code.
Maybe a solution could be:
const GETStarsLogin = async (user) => {
  let packageCollection = await data.GetPackageCollection(user.content.stars);

  if (!packageCollection.ok) {
    await common.ServerError(req, res, packageCollection.content);
    return;
  }

  // We need to prune these items from a Server Package Full Item.
  let newCollection = await collection.DeepCopy(packageCollection.content);
  newCollection = await collection.POSPrune(newCollection);

  res.status(200).json(newCollection);
  logger.HTTPLog(req, res);
}

async function GETStars(req, res) {
  // GET /api/stars
  let params = {
    auth: req.get("Authorization"),
  };

  await utils.LocalUserLoggedIn(req, res, params.auth, GETStarsLogin(user));
}

So GETStarsLogin will act as an internal util, not exported outside.
Maybe there would be a better syntax to use. I have to admit that async functions are kind of new to me. I know them from long time but never used on my site because of compatibility reasons.

@Digitalone1 that does seem a bit easier to read. Although I'd personally vote for instead of declaring it outside the main function it can be declared inside, just to make things easier to track, like:
async function GETStars(req, res) {
  let params = {
    auth: req.get("Authorization"),
  };

  const onLogin = async (user) => {
    let packageCollection = await data.GetPackageCollection(user.content.stars);
    // the rest of the code
  };

  await utils.LocalUserLoggedIn(req, res, params.auth, onLogin(user));
}

Although this just reintroduces the concern of to much indentation, but I feel makes it much easier to track the logic flow. Or do you think its best to go with your suggestion, and just do our best to keep the functions close together? Because if they are seperate we also need to pass all other parameters, like the req, and res, to the callback since they loss scope

It's up to you deciding. If you let them to stay inside, I think it's still clearer declaring the function rather than passing it directly as argument.

So after looking at it with no real advantage other than readability, lets go with declaring the function as a variable within the handler scope. Please note that there is a syntax error in my earlier example, and the example code would have to look more like this:
async function GETStars(req, res) {
  let params = {
    auth: req.get("Authorization"),
  };

  const onLogin = async (user) => {
    // rest of code
  };

  await utils.LocalUserLoggedIn(req, res, params.auth, onLogin);
}


Remove Aqua as they offer SSO for all products at every tier.

The history of Aqua appearing on the list is here: https://github.com/robchahin/sso-wall-of-shame/pull/148
In a nutshell, Aqua acquired CloudSploit, which at the time, may have met the criteria for shaming.  However, the CloudSploit AuthN/AuthZ functionality has long since been depricated.
Aqua offers two products:

On-premise software:  This has included SSO included in every license since the inception of the company.
SaaS offering: This has also always offered SSO at every license level since its inception, however, previous pricing description made it unclear, whether or not SSO was included (it always was).

Here's the pricing page today.  You'll see there's nothing to suggest that SSO is a licensed feature: https://www.aquasec.com/pricing/
If additional proof or details are needed, please let me know.  I'm an engineer at Aqua and I've worked extensively on SSO projects.

I am inclined to remove simply because Aqua has no posted pricing so it's impossible for me to verify. However, I will refute the assertion in the comment here that Aqua has always included SSO at every tier:
https://support.aquasec.com/support/solutions/articles/16000111813-2020-07-21-aqua-cspm-pricing-changes

Team plan: Small teams. Limited-scope cloud native environments. Everything in Developer plus daily cloud scans, 25 users, and basic support.
Advanced plan: Larger teams. Larger-scale cloud native environments. Everything in Team plus SAML support, 75 users, better data retention.

However, I will refute the assertion in the comment here that Aqua has always included SSO at every tier:
https://support.aquasec.com/support/solutions/articles/16000111813-2020-07-21-aqua-cspm-pricing-changes

Team plan: Small teams. Limited-scope cloud native environments. Everything in Developer plus daily cloud scans, 25 users, and basic support.
Advanced plan: Larger teams. Larger-scale cloud native environments. Everything in Team plus SAML support, 75 users, better data retention.

You’re referring to an article that was created by the company, CloudSploit, which was acquired by Aqua Security.  The CloudSploit CSPM product was eventually merged into the full Aqua Platform which offers SSO at any price.  If you have a license, you get SSO.
I’d be happy to demonstrate if needed, although the change appears to have been merged, so thanks.

I'll take your word for it, maybe this thread will be useful to someone in the future. Thanks for providing the info.


Enable appsec headers collection tests in nodejs and ignore content-encoding

Motivation
The feature is implemented in nodejs tracer and will be in the next release, we should execute the tests.

Changes
Enable some tests in nodejs.yml and change @missing_feature tags.
Do not send content-encoding header, as it is causing it to malcfunction.

Workflow

⚠ Create your PR as draft ⚠
Work on you PR until the CI passes (if something not related to your task is failing, you can ignore it)
Mark it as ready for review

Test logic is modified? -> Get a review from RFC owner. We're working on refining the codeowners file quickly.
Framework is modified, or non obvious usage of it -> get a review from R&P team

:rocket: Once your PR is reviewed, you can merge it!
🛟 #apm-shared-testing 🛟
Reviewer checklist

[x] Relevant label (run-parametric-scenario, run-profiling-scenario...) are presents
[ ] If PR title starts with [<language>], double-check that only <language> is impacted by the change
[x] No system-tests internal is modified. Otherwise, I have the approval from R&P team
[x] CI is green, or failing jobs are not related to this change (and you are 100% sure about this statement)
[ ] A docker base image is modified?

[ ] the relevant build-XXX-image label is present

[ ] A scenario is added (or removed)?

[ ] Get a review from R&P team

The failure in Testing the test / System Tests (python, dev) / end-to-end / end-to-end (uds-flask) (pull_request) Failing after 35m doesn't seems related with this PR.


[Release] sdk/resourcemanager/containerservicefleet/armcontainerservicefleet/1.0.0

https://github.com/Azure/sdk-release-request/issues/4661

The breaking changes are introduced and approved in this PR.


feat: don't block on receives

Draft PR atm, still running tests. feel free to push on this branch or edit to get this across the finish line.
In collaboration with @ValarDragon, this PR combines the solution in https://github.com/cometbft/cometbft/pull/3209 with https://github.com/celestiaorg/celestia-core/commit/ab38bddcc57aaefe4049e861b6fc9a8c810553dc to fix https://github.com/cometbft/cometbft/issues/3199 and https://github.com/cometbft/cometbft/issues/2685
PR checklist

[x] Tests written/updated
[ ] Changelog entry added in .changelog (we use unclog to manage our changelog)
[x] Updated relevant documentation (docs/ or spec/) and code comments
[x] Title follows the Conventional Commits spec

See: https://github.com/cometbft/cometbft/issues/2685

blocked by https://github.com/cometbft/cometbft/issues/3237


Back iOS chevron icon not quite match the native one

On the left is the one rendered by Flutter. On the right is the native one. The icon itself doesn’t quite match in size, neither in the corners as they’re rounded compared to the rect rendered by Flutter.

 Flutter (Channel dev, v1.7.3, on Mac OS X 10.14.5 18F132, locale pt-PT)
    • Flutter version 1.7.3 at /Users/miguelruivo/DevTools/flutter
    • Framework revision 362b999b90 (13 days ago), 2019-06-07 12:43:27 -0700
    • Engine revision 0602dbb275
    • Dart version 2.3.2 (build 2.3.2-dev.0.1 6e0d978505)

Thanks for pointing this out, seems like we should definitely update it.  It looks like iOS13 uses the same arrow as well.  Here is a quick screenshot (from the iOS13 Calendar app):

You’re welcome @justinmc.
IMO, this is one of the things that iOS users can come across seeing in multiple screens and those with more sensitive eye for these kind of things (like me), may immediately notice and somehow, it feels like a “cheap” clone of the native one. 😄

Hello everyone,
We noticed this issue as well in our Flutter project. I made a PR on the cupertino_icons repo, which got recently merged :
https://github.com/flutter/cupertino_icons/pull/4
Now we'll simply have to wait until a new version is published by the repo's maintainers.
Cheers,
Jérémie

This is great @jeremie-movify, I’m closing this as it’s now on master.  Thank you! 🎉


Video not playing sometimes with onError payload {extra: -5001, what: 1}

Current behavior
Forgive my ignorance please, but is there a way to look up what these errors mean? I've tried googling a bit and haven't really come up with much. The only thing I've found potentially related to this is issue #1105 , but the weird thing is that using the same external device(Samsung Tab A, Android 7.1.1), Sometimes it loads and plays the video just like normal and sometimes it doesn't. Which leads me to believe it has something to do with my code, but I'm having trouble figuring out what.
This is the error object i get from my onError method { extra: -5001, what: 1 }. Does that mean anything to anyone? Or can anyone point me in the right direction towards figuring out what that means?
I'll post more code and such if the error doesn't really point me anywhere. It's just a lot...
Expected behavior
Video loads and plays
Platform
Which player are you experiencing the problem on:

Android MediaPlayer

I've got exactly the same problem

I haven't seen that error before.
Have you tried ExoPlayer? It may be more compatible and probably will give somewhat better error info.
Post a link and I'll try and look at the video at some point.

@cobarx I have tried exoPlayer and with it I am not able to play any video, it automatically crashes

@thetrevlore Have you found a way of fixing the problem?

getting this same issue same error message. I'm loading an mp4 asset locally from an assets folder in my react native src folder. On initial app launch the video plays just fine when I come back to that screen after some time I get a black screen.  Android details:
        buildToolsVersion = "27.0.3"
        minSdkVersion = 16
        compileSdkVersion = 27
        targetSdkVersion = 26
        supportLibVersion = "27.1.1"

I'm on React Native 57

I used to run into stucked black screen all the time. The most strange one I experience is https://github.com/react-native-community/react-native-video/issues/1538
My feeling is this project manage the native video player instances very poorly (especially on Android). The project frequently mess things up when you have multiple native video player instances. In our project, we had to do a lot of difficult and hard things to ensure that we only have one instance of a screen that have the  tag, thus only one native video player instance, then it won't stuck.

I am getting this {extra: -2147483648, what: 1}.
It's a very random behavior though

same problem as @Shivendra30

Same problem. Was working in the past.
{ error: { extra: -2147483648, what: 1 } }

@Shivendra30 @PosSoolutions @brunocrpontes
I also had this error, as shown with onError prop: { error: { extra: -2147483648, what: 1 } }.  Here's what that error means as defined by stackoverflow - in short, UNKNOWN_ERROR in hex.
After a lot of digging, the solution for me was to remove underscores from the filename.  That's it.
My assets are loaded as follows:
const url = require('./assets/filenamewithoutunderscores.mp4');

And it works fine.  Literally - removing underscores from the filename fixes things.
Essentially, judging by the whole host of errors shown on stackoverflow and the internet this is a generic error returned when the media player can't locate or play your video.  For some people, that's because HTTP is disabled (HTTPS only for Android P+) – hence android:usesCleartextTraffic="true" working.  Some people have URL errors.  In my case, filenames with underscores are invalid.
Good luck!

@tonyhb  That's pretty slick.
In my case, I am requesting the file from an azure blob and the blob service sends the file over tls.
When i passed in the version azure of blob to use all errors where resolved.
 <VideoPlayer                             source={{                                 uri: image,                                 headers: {                                     'x-ms-version': '2019-02-02',                                 }                             }}                          />

Hello, if ever it can be useful... I found that if the component was used several times (several screens for example) you just had to hide it (as for example with this.state.showVideo) before going to the next screen to fix the problem you are talking about.

In my scenario, the download was corrupt in random cases, so I give 3 attempts of download before give up, something like this:
class VideoComponent extends React.Component {
  constructor(props) {
    super(props);
    this.downloadAttempts = 3;
    this.state = {
      error: '',
    };
  }

  onError = async () => {
    if (this.downloadAttempts > 0) {
      this.downloadAttempts--;
      try {
        await CacheService.remove(this.props.uri);
      } catch (error) {}
      await CacheService.download(this.props.uri);
    } else {
      this.setState({ error: 'Error :(' });
    }
  }

  render() {
    if (this.state.error) {
      <Text>{error}</Text>
    }

    return (
      <Video
        source={{ uri: this.props.uri }}
        onError={this.onError}
      />
    )
  }
}

I'm getting error: {"error": {"extra": 0, "what": -38}}

@marexv  Where are you requesting the file from?

@PosSoolutions AWS S3. I have two videos loaded on a test bucket. One will work, the other one will throw this error. _ or - are not the issue because http://d23dyxeqlo5psv.cloudfront.net/big_buck_bunny.mp4 will work.

During my struggles with this I found the answer researching the TLS
version that azure was using. Now if you have both mp4 in the same exact
environment and only one of them works then i would start to look at
file corruption or play around with the name of the file. Any spaces in the
file name cause problems for IOS.
On Sat, Jan 4, 2020 at 4:34 PM Marko Prcać<EMAIL_ADDRESS>wrote:

@PosSoolutions https://github.com/PosSoolutions AWS S3. I have two
videos loaded on a test bucket. One will work, the other one will throw
this error. _ or - are not the issue because
http://d23dyxeqlo5psv.cloudfront.net/big_buck_bunny.mp4 will work.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-native-community/react-native-video/issues/1186?email_source=notifications&email_token=AHT3QHC4SERRVWMWAOSIHZDQ4ETH3A5CNFSM4FPTZJK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIDDPHQ#issuecomment-570832798,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHT3QHHM6F3H5SXDZ5F5QQTQ4ETH3ANCNFSM4FPTZJKQ
.

@PosSoolutions I will first check if size is the issue. Video that's failing is 1080p while working one is 540, next thing will be corruption (both videos will play in browser, but i'm suspecting that failing video might be corrupted because it won't work when I tried to play it with google drive's player => basically youtube)

Please use exoPlayer fro android to resolve this issue. Force your app to use exoPlayer by adding
following lines in settings.gradle
include ':react-native-video' project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')

Please use exoPlayer fro android to resolve this issue. Force your app to use exoPlayer by adding
following lines in settings.gradle
include ':react-native-video' project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')

This solution works for me
https://github.com/react-native-community/react-native-video/issues/1894#issuecomment-584832293
Note that it wasn't work for me when I added this lines to settings.gradle to force exoPlayer
include ':react-native-video'
project(':react-native-video').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-video/android-exoplayer')

try creating react-native.config.js file with following content
module.exports = {
dependencies: {
'react-native-video': {
platforms: {
android: {
sourceDir: '../node_modules/react-native-video/android-exoplayer',
},
},
},
},
};


How can i add polyfills ?

Type of Issue

[x] Bug Report
[ ] Feature Request

Description
I have made an application using a custom component library that I have implemented, and now i wanted to use ng-packagr to externalize my custom component library.
The application was created by angular-cli, and i have followed the tutorial of Nikolas LeBlanc and the structure shown in the ng-packaged project.
For some reasons i have used in development es7 features like includes on arrays and padStart on strings.
With the angular-cli builds including polyfills of core-js everything was working fine but the ng-packagr build gave me errors like this
Property 'includes' does not exist on type 'any[]'.

I have tried to include them as externals and import them in the components that required the functions but still have theses errors.
So, how can i add polyfills functions on the build ?
Version Information
ng-packagr: v1.3.0
node: v7.10.0
@angular: v4.1.3
rxjs: v5.4.2
zone.js: v0.8.14
core-js: v2.4.1

Hi @JulienOuvrard,
it seems to be not possible at the moment as the auto-configuration for the TypeScript compiler is dom, es2015 API.
What is the current best practice / recommendation for polyfills? Is es7 (es2016) already released "to go at it"? I remember there was a discussion on the angular main repo saying "we don't want to use ES7 yet"

Hi @dherges,
Thanks for the answer, i'll manage to avoid the usage of es7 features for the moment to get my library compiled. (I've already made changes to avoid includes and padStart)
I really don't know the state of that practice, i need to make further research on it.
Here's an hypothesis, can we include a tsconfig in custom libraries ? In that way, ng-packagr will use that configuration instead of the auto-configuration.

Quick change at angular: they still use lib: ["es2015", "dom"]

If wanted, the setting should be included in ng-package.json, e.g.:
{
  "lib": {
    "target": "es7" /** values: "es5", "es6", "es7" **/
    /** other possible names: "runtime", "environment", ... */
  }
}

And from there, we would write it to the generated tsconfig.json file and then (I think) the assumption about the target environment should be somewhere written in package.json (?)

I think that would be nice to have this feature in future release of ng-packagr.
The idea of the assumption about the target environment written in package.json seems good to me considering that it describe the package.

Why duplicate the lib config in ng-package.json and tsconfig.json? It should be possible to search for and read the developer's tsconfig.json dynamically to determine what libs should be included. This could be accompanied by a field to specify a custom tsconfig file such as:
{
  "tsconfig": "./../tsconfig.app.json"
}

It would also be nice to dynamically search .angular-cli.json for the tsconfig.

What is the workaround for this? If there is no workaround, I can't use ng-packagr until it is implemented.

So, was there a reason I missed for not just pointing this to a tsconfig.json file?


[dashboard color][meta data] one of the duplicated color theme 'D3 category 10' show as 'Superset_dafault' in meta data

One of the duplicated color theme 'D3 category 10' show as 'Superset_dafault' in meta data
How to reproduce the bug

Go to Dashboard properties
Click on color theme and select D3 category 10 (duplicated, please select each one)
Scroll down to 'Advance'
4.Observe the color_theme in meta data
See error

Expected results
Color theme name in properties will match the meta data color name
Actual results
One of the duplicated color theme 'D3 category 10' show as 'Superset_dafault' in meta data
Screenshots

If applicable, add screenshots to help explain your problem.
Environment
(please complete the following information):

browser type and version: chrome
superset version: master
python version: python --version
node.js version: node -v
any feature flags active:

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[ ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[x] I have reproduced the issue with at least the latest released version of superset.
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Additional context
Add any other context about the problem here.

Let me have a look at this


📝 Docs - Fix "Deploying to GitHub Pages" Documentation

Describe the issue that you're seeing. Any Loom videos or screenshots usually help a lot!
After following the current documentation on "Deploying to GitHub Pages" and deploying a website built with TinaCMS and Next.js using GitHub Actions deploying to GitHub Pages, the root URL displays a 404 error page. I've checked the
GitHub docs, this error may be caused by lacking index.html file.

Figure: Home page showing 404 error
After investigation, a similar problem occurred inIssue 506 and was fixed by adding an index.tsx file in ./pages. I was able to implement this fix and my application is working.
Task

[ ] Improve "Deploying to GitHub Pages" in Tina Documentation

Not working any more since App Router is used https://github.com/tinacms/tina-cloud-starter/pull/511


Publish NPM Module

If you'd like to see wider adoption of this, I'd very strongly recommend you figure out a way to make the bundle compiler as simple as:
npm install -g lovefield
lovefield my_schema.yml

Having to manually install dependencies and the location of the closure compiler just isn't how things are done in the wider web world. Additionally, there should be easy hooks for others to build ecosystem plugins for things like Grunt, Gulp, etc.
Not trying to sound grumpy, but I think Lovefield is a really cool project and I'd like to see it get all the adoption it can get! :ghost: :smile_cat:

FYI, Lovefield is now available through NPM, see https://www.npmjs.com/package/lovefield.


added workflow as mentioned in issue #205

Related Issue
Fixes #205
Description
This feature aims to solve the problem of inconsistent and delayed communication following the merging of PRs. By automating the commenting process, it ensures that contributors receive timely feedback and acknowledgments. It also reduces the administrative burden on maintainers, allowing them to focus more on code reviews and other critical tasks
Type of PR

[ ] Bug fix
[X] Feature enhancement
[ ] Documentation update
[ ] Other (specify): _______________

Checklist:

[X] I have performed a self-review of my code
[X] I have read and followed the Contribution Guidelines.
[X] I have tested the changes thoroughly before submitting this pull request.
[X] I have provided relevant issue numbers, screenshots, and videos after making the changes.
[ ] I have commented my code, particularly in hard-to-understand areas.

@Saurav-Pant I have made all the PRs for all assigned issues please review them and merge them.
Also, we would have to test some of these workflows, if they respond with some error then don't worry I would totally assist you in resolving them as I know the next steps to tackle those errors if they occur.

will test and merge later Thank you for contribution, and I'll let you know they are working fine or not

@Saurav-Pant Sure😊

@Saurav-Pant By the time can you please assign me the other two open issues so that I can start working on them

@Saurav-Pant please change the 'level2' label to 'level1' label as per instructions which you might have recieved


Connection pool

What is the purpose of the change
the pull request for #11028
Brief changelog
I use abstract template pattern and generics to realize SPI switching of thread pool policy and unity of protocol client.

@EarthChen can you help me approve this,thanks.

please fix ci

666

要挂科了，学不完了

你怎么还没close 啊


47318 Encrypt attachments

What:
TDBlobStore has to be able to handle encrypted attachments.
Why:
We have to cipher the entire datastore, i.e. databases and attachments.
How:

Implement a new class named CDTBlobEncryptedData that conforms to protocols CDTBlobReader & CDTBlobWriter. This class relies on CDTBlobData and CDTEncryptionKeychainUtils to generate encrypted attachments (for more details about the structure of theses attachments check encryption-at-rest.md).
Factory named CDTBlobHandleFactory to create instances that conform to CDTBlobReader & CDTBlobWriter.
Modify TDBlobStore to use CDTBlobHandleFactory. So the factory is responsible for creating an instance able to handle an encrypted attachment or plain data depending of the value/key returned by the key provider.

Tests:

CDTBlobEncryptedData.- Passes the same tests that CDTBlobData and:

Generate attachments with the correct structure.

CDTBlobHandleFactory

Create instances of CDTBlobData is the key provider returns nil.
Create instances of CDTBlobEncryptedData is the key provider returns an instance of CDTEncryptionKey.

TDBlobStore

Generate the same SHA1 digest if the attachments are encrypted.
It is able to generate encrypted files.
It is still able to return plain data even if the attachments are encrypted before saving to disk.

reviewer @mikerhodes
reviewer @rhyshort
NOTE: Wait to review this PR until PR #144  is closed. This branch will be rebased and there will be only commits related to this case.

NOTE: Keep in mind that methods in CDTBlobReader & CDTBlobWriter was renamed in PR #140

reviewed ef9b5e40116a237abd3a8d59bb4a4d227d0526d4

reviewed 7b01fc7ea61eff5216a40363dcc7dc3378377656

reviewed 5fda9a9ea9e139ef3eddb156735e95cfe9364a57

reviewed 1316284ce69b0615413f7d0ca0dad2fb23bd83b3

reviewed fb33ded55ee8ab50346f17017a5e3c47ee32ee32

reviewed 7c1425f39305dad50fdb9e693419bd8006729602.

looks good, +1

Check this comment.
Remember to edit commit ef9b5e before squashing.

Okay, looked over the changes, +1.

@mikerhodes: I'm going to merge this branch but I did not replace the defines in CDTBlobEncryptedDataConstants. Please, check this comment. If you still think that we have to replace the defines, I think we can easily do it later.


fix: boolean flag set incorrectly

Feature or Problem

Execute wash up --ctl-tls will give:
error: invalid value '1' for '--ctl-tls'
  [possible values: true, false]

Related Issues

Release Information

Consumer Impact

Testing

Unit Test(s)

Acceptance or Integration

Manual Verification

cargo install --path ./crates/wash-cli
~/.cargo/bin/wash up --ctl-tls

Giving me
>>> ⠅⠀  Starting wadm ...                                                                                👀 Found wadm version on the disk: wadm-cli 0.14.0
✅ Using wadm version [v0.14.0]
🏃 Running in interactive mode.
🎛 To start the dashboard, run `wash ui`
🚪 Press `CTRL+c` at any time to exit
Error: failed to initialize host

Caused by:
    0: failed to establish NATS control server connection
    1: failed to connect to NATS
    2: IO error: received corrupt message of type InvalidContentType
    3: received corrupt message of type InvalidContentType

which is expected: the warning is gone, and the connection failed due to the missing tls configuration for nats

Just wondering: is there really ipv6 support? I didn't see it in Args in src/main.rs.


[WIP] Deployer

Very rough cut. Do not merge.

Looks good so far. Additionally could you run a dep ensure -update since you have used the latest versions of Azure Go SDK and go-autorest. This may be required to trigger a run  of go get -u github.com/golang/{protoc,gen} in the vendor dirs. If this has already been done and the builds work fine, please disregard :).

Yep. I did it a little earlier in the process, but I'll do one more just to be safe! :)

@justaugustus We would also need to change the azure-pipelines.yml too I guess?

@tariq1890 -- with the move into the kubernetes-sigs org, we'll need to reassess the testing framework, so I haven't touched anything related to Azure pipelines. Once this is in a state that builds, I can double back and take a look at it.

@justaugustus Makes sense. We'd definitely want to use the k8s test-infra. I was hoping we could use some CI check to verify this build. I guess we can make do with the manual verification. I can pull your branch and validate.


Support Azure OpenAI

Adds a wrapper around the OpenAI class, creating an AsyncAzureOpenAI client instead of an AsyncOpenAI client.
Also required one change to openai.py: I put the tiktoken logic inside a computed tokenizer() property so that I could override this in the subclass. This is necessary because Azure OpenAI has a distinction between a deployment and a model, the former of which is used when making calls to the API, but the latter is what must be passed to tiktoken.
Usage:
model = outlines.models.azure_openai(
    model_name="gpt-4",
    deployment_name="gpt4-1106",   # my custom deployment name
    azure_endpoint="https://<myendpoint>.openai.azure.com/",
    api_key="<mykey>"
)
model.generate_choice(
    "What is the capital of the country where DaVinci is from?",
    choices=["Milan", "Rome", "Paris", "Italy"]
)
# 'Rome'

vs.
model = outlines.models.openai("gpt-4")
model.generate_choice(
    "What is the capital of the country where DaVinci is from?",
    choices=["Milan", "Rome", "Paris", "Italy"]
)
# 'Rome'

I coded this up for my own local use and but thought I'd share here in case you'd like to incorporate it, or in case someone else wanted to use it.
Resolves #271

This is a great addition, thank you so much for your contribution!


[Node.js SDK, MSTeams] - Node.js Bot works with Bot Framework Emulator but not with MS Teams (Bad Request)

Bot Info

SDK Platform: Node.js
Active Channels: Skype, MS Teams, Direct Line
Deployment Environment: Azure Bot Service, Azure App Service, local development with Emulator

Issue Description
Hi @RichMoeMSFT, I'm facing an issue with my Node.js Bot, everything works with Bot Framework Emulator but not with MS Teams:
"dependencies": {
"adal-node": "^0.1.27",
"axios": "^0.17.1",
"botbuilder": "^3.13.1",
"botbuilder-azure": "^3.0.4",
"es6-promise": "^4.2.2",
"lodash": "^4.17.4",
"restify": "^5.2.1"
},
Reproduction Steps
1.Create a new Node.js Bot and host it on Azure
Expected Behavior
The Bot must interact also with MS Teams when the channel is enabled
Actual Results
Error: POST to 'https://smba.trafficmanager.net/emea-client-ss.msg/v3/conversations/a%3A1Xnq4KhIrUJkVEd3yT67GYcPPJklI3BrH-gR4X3lemfZqxMBkqrRY4DmH2Eu0f1NQKgBZEIT-H2Xp7gpf4sZYvqxTgRSN3goFgqQyFCPq5K8ekxVDlr61bT0jM6Zynyny/activities/1516745027476' failed: [400] Bad Request
at Request._callback (D:\home\site\wwwroot\node_modules\botbuilder\lib\bots\ChatConnector.js:545:46)
at Request.self.callback (D:\home\site\wwwroot\node_modules\request\request.js:188:22)
at emitTwo (events.js:106:13)
at Request.emit (events.js:191:7)
at Request. (D:\home\site\wwwroot\node_modules\request\request.js:1171:10)
at emitOne (events.js:96:13)
at Request.emit (events.js:188:7)
at IncomingMessage. (D:\home\site\wwwroot\node_modules\request\request.js:1091:12)
at IncomingMessage.g (events.js:291:16)
at emitNone (events.js:91:20)

Can you please let us know if the issue still persists?

The issue is solved


screen-pipe: init at 0.1.48

Description of changes
Closes https://github.com/NixOS/nixpkgs/issues/331110.
Only built on aarch64-darwin, haven't tested more than running the binaries for a few seconds. Will look into packaging the tauri desktop app, but doesn't look very straight-forward.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.11 Release Notes (or backporting 23.11 and 24.05 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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 332076 run on aarch64-darwin 1

1 package built:

screen-pipe

builds ok on x86 linux too.

Thanks for the contribution, @dit7ya, and for merging, @marcusramberg, very much appreciated 🙂 👍

@dit7ya LMK if you need help with the tauri app, I'm building screen-pipe!
just DM on louis030195 (discord, x, etc.)

@dit7ya hey btw we moved repo to https://github.com/mediar-ai/screenpipe - hope it's not breaking anything


Provide consistent verbs to other package managers

I'd like to streamline the verbs we support to be consistent with other package managers.
I'd also like to eliminate aliases - I don't see much value in them and they are a good opportunity for getting doc out of sync.
DNF has been brought up a few times. It has the following verbs that match close to what we have:

install
list
clean
remove
upgrade

There is a 'search' but it is not the same as ours - it instead searches meta-data for keywords.
There is no 'query' command (which like search, is an alias for list for us)
I propose we eliminate zopen install --upgrade since I see 'upgrade' as being different enough from 'install' to warrant it's own verb.
I am ok with either keeping zopen install --reinstall although consistency would seem a good reason to create a new verb 'reinstall'
I notice they have zopen list --upgrades instead of zopen list --upgradeable. I personally would be happy to switch, for consistency but probably more because I can never remember if upgradeable has one or two 'e's 😁
@IgorTodorovskiIBM @DevonianTeuchter @HarithaIBM and anyone else... arrows expected...

Brew also has a list, and has a search that means to search metadata
It has a 'cleanup' vs a 'clean'
It has an 'update' (for brew itself) and an 'upgrade'
It has a reinstall
So these 2 seem pretty consistent with one another.

rpm uses 'query' instead of 'list'
rpm has 'upgrade' and also a 'freshen'
rpm has 'erase' instead of 'remove'

apt has 'install', 'remove', 'upgrade'. It has 'search' and 'list --upgradeable' (I think I discovered where @DevonianTeuchter got his verbs from!)

How about zopen self update for updating zopen (meta)?
Makes it pretty clear compared to just zopen update or zopen update zopen/meta.
Update/upgrade, whichever :smiley:

tldr; more separate scripts :-)
The initial list of verbs was based on various package managers and installers and included aliases to cover users coming from most of those backgrounds [and ones I'd used!] such as  dpkg/rpm/apt/dnf/yum/yast/emerge/zypper/brew/chocolatey/pacman/...  - initially there were even more aliases to try and map most of those but slimmed the options down already! :-)   There's a good resource at https://wiki.archlinux.org/title/Pacman/Rosetta  that compares a few package managers and their terminology/syntax
Aliases can work if the child script can determine how it was called so can display the appropriate help - however, for clarity, it might be that move more code into common.inc and separate items into their own modules that can be run standalone [ala #436  ]  . zopen can still act as a thin wrapper to those modules much as it does today, passing the same arguments through the eval command as a caller of a zopen-* script would do.
With that being said, how about the following :
Keep [these scripts perform a standalone task]:
zopen-init      - initial install script
zopen-generate  - generate a basic template for a new port
zopen-alt       - [could be zopen-alternatives but that's a lot of typing!?!] - used to switch versions
zopen-build   - build packages from source
zopen-clean    - clean resources
zopen-remove    - remove package  (rpm uses erase, others use remove but remove seems sensible)
Separate zopen-install into install, reinstall & upgrade [moving main function into common.inc] with options like localinstall and download-only having an effect as appropriate
zopen-install      - handle installing new packages only
zopen-upgrade  - handle upgrades/updates to existing packages  (currently zopen install -u  - update is used in some cases, with upgrade being more akin to a system-upgrade)
zopen-reinstall   - reinstall existing packages   (currently  zopen install --reinstall which matches apt-get behaviour )
Seperate  zopen-query into search, list & query  [the funcitons are fairly separate as-is inside zopen-query]
zopen-search     - search repo(s) for package information
zopen-list            - list information about installed packages   (zopen-query --list currently)
zopen-query      - perform finer grained queries against local packages (like --whatprovides, --provides etc)
??
zopen-version  - should this just cat what's in meta's .version file instead of hardcoding in two places? or just be a getVersion() in common.inc rather than an external program/script? and does it need --help since it's callable?
zopen-update-cacert - used to download certificates if needed.
Each individual script would then have it's own unique --help [discussion in #414 ] including zopen itself
Additional thoughts:

as per #436 , have the zeopn-* scripts in meta/bin rather than meta/bin/lib  which does require thought as to where to keep common.inc
could/should common.inc be renamed/relocated or even merged back into zopen itself [so zopen provides the functions for it's children when sourced]
could there be a zopen-update script to update zopen itself [so outside the normal upgrade process like v1gnesh suggests], certificates and metadata zopen-update self && zopen-update certs  && zopen-update metadata or a --refresh  on the zopen-upgrade to download fresh metadata/certs if needed?

I love it.
For your last point about common.inc, can we just create an 'inc' directory and have the tools include inc/common.inc ?
These get us a lot closer to what the other systems have.
I didn't know we have a .version file - I'll change that to do a cat... Yes - one place for everything...
Do we still need zopen-update-cacert? I'm fine to add it but what's the use case? Does this become more of a 'helper function' for cURL and git users? I don't think we need it internally anymore right?

I love it. For your last point about common.inc, can we just create an 'inc' directory and have the tools include inc/common.inc ?

We should also change the suffix to .sh. I get annoyed that vim doesn't do the syntax highlighting accurately with .inc.

:-

I love it. For your last point about common.inc, can we just create an 'inc' directory and have the tools include inc/common.inc ?

We should also change the suffix to .sh. I get annoyed that vim doesn't do the syntax highlighting accurately with .inc.
^THIS^   I've added an extra rule in VSCode so that it sees common.inc as a shell script rather than a pl/I include file [and so shellcheck runs on it].

Hey why not include/ or includes/ like the usual /usr/include/<whatever> ?

Hey why not include/ or includes/ like the usual /usr/include/<whatever> ?

other option might be /usr/local/libexec   - git-core and man-db already host extra binaries in there, albeit symlinks to their binaries...
See the FHS doc about this dir:  https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s07.html


Document how to invoke internal graphql queries using the same schema the application is serving

I cannot figure out how to do it, searching the issues here, google and stack overflow.

The reason we have those issue templates is to guide you to write proper and clear issues.
Do you want to send a GraphQL request over http to yourself? What is it that you're actually trying to do here?
There are libraries here for exposing a GraphQL API and there's one library for consuming GraphQL from java (webclient). If you want to consume from java then take a look at that library.

As I said, I want to internally route a graphql query to the same schema the application is serving. Not with HTTP.
For example, I would inject a GraphQL.
Didn't this library have any integration with the base graphql library for that?

I have seen something as https://stackoverflow.com/questions/58188938/how-to-execute-java-calls-to-graphql-in-a-spring-boot-graphql-java-tools-cont but does not work for me.

Should indeed be possible with the approach described there. If you want help/advise here or on stackoverflow you should add more detail and concrete information what's going wrong and why that's not working for you. And since that issue on stack overflow already addresses it you'd be best of adding a comment there.

I have tried in my project and had org.springframework.beans.factory.BeanCurrentlyInCreationException when injecting GraphQLInvocationInputFactory.
I'm also trying to build this graphql-spring-boot project in Eclipse, but after imported the project as gradle project, almost all the projects has errors (circular dependencies, etc).

The problem is to inject a GraphQLInvocationInputFactory inside a graphl resolver:
The dependencies of some of the beans in the application context form a cycle:

   graphQLServletRegistrationBean defined in class path resource [graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.class]
      ↓
   graphQLHttpServlet defined in class path resource [graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.class]
      ↓
   graphQLServletConfiguration defined in class path resource [graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.class]
┌─────┐
|  invocationInputFactory defined in class path resource [graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.class]
↑     ↓
|  graphQLSchemaProvider defined in class path resource [graphql/kickstart/spring/web/boot/GraphQLWebAutoConfiguration.class]
↑     ↓
|  graphQLSchema defined in class path resource [graphql/kickstart/tools/boot/GraphQLJavaToolsAutoConfiguration.class]
↑     ↓
|  schemaParser defined in class path resource [graphql/kickstart/tools/boot/GraphQLJavaToolsAutoConfiguration.class]
↑     ↓
|  bookResolver
└─────┘

But this is what I want.
Look:

GraphQL is cool and I can serve a API to others apps with it
GraphQL is cool and I can consume a API from others apps

But, looks like I cannot consume graphql services inside the same app if I want!

It seems it works using @Lazy.


Where do we specify preprocessor MIXPANEL_UNIQUE_DISTINCT_ID when we add mixpanel using SPM

Integration Method: Swift Package Manager
Xcode Version: 13.2.1
Library Version: 4.0.0
Platform: iOS
Language: Objective-C
Description: Where do we specify preprocessor MIXPANEL_UNIQUE_DISTINCT_ID when we add mixpanel using SPM
Expected Behavior:

We specify using cocoapods like this
post_install do |installer|
    installer.pods_project.targets.each do |target|
        target.build_configurations.each do |config|
            if ['Mixpanel'].include? target.name
                config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= ['$(inherited)', 'MIXPANEL_UNIQUE_DISTINCT_ID=1']
            end
        end
    end
end

@zihejia Could you please help us, how we can execute this code https://github.com/mixpanel/mixpanel-iphone/blob/b213461deae5356be7e917f1addbb3ebffe26b37/Sources/Mixpanel.m#L339 after adding mixpanel using SPM
It is happening because MIXPANEL_UNIQUE_DISTINCT_ID preprocessor is not defined.

hi @tc-sgupta , thanks for bringing it up. We are thinking of making this configurable through API in addition to the preprocessor. So you will be able to set it when initializing the SDK.

@zihejia Thanks, that would be perfect. Is there any ETA on this?

@zihejia Any update on this issue?

@tc-sgupta this is available in v4.1.0, we've added a useUniqueDistinctId parameter. See: https://github.com/mixpanel/mixpanel-iphone/pull/972


More and better details would be nice to have

Hello
The content of this page is very good. However, I think it would be beneficial for learning purposes to have more detailed screen shots, for example in the picture below, that shows a better overview of the window and also to see on example of how the setupt could be done.
I also would like to see the link to the TechTalk series about this subject as part of this learning section.
To add Q/A if available would also be a good thing have  in learning, or at least a link to community.dynamics.com where to find more info in the many details in this part.

[Enter feedback here]

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

ID: fad59b08-93b4-a4e7-471c-2d5043afdc48
Version Independent ID: fad59b08-93b4-a4e7-471c-2d5043afdc48
Content: Prepare your environment to interoperate with ID-porten and Altinn web services - Finance | Dynamics 365
Content Source: articles/finance/localizations/emea-nor-vat-return-setup.md
Service: dynamics-365-finance
Product: ****
Technology: ****
GitHub Login: @AdamTrukawka
Microsoft Alias: atrukawk

Thanks for your feedback. We are closing this issue because we are either unable to find relevant information or reproduce this. If you're still experiencing the issue described here, please reopen or create a new issue.


Add optional text editor for FTL files.

A very basic syntax higlighting text editor would be useful for helping to create and edit the Templates.

Unfortunately this probably isn't going to work, as the editor I have found requires dependencies on the Java Debug and JDT UI, and this brings in unwanted dependencies into the app.   Will need to document a way for people to edit this files outside of the application.

Updated the wiki with a way to edit and test templates using a web browser.


Crash when resuming from suspend

Describe the bug
Just as it says. Waking up my laptop in the morning. On commit version 9700182.
hyprland.log
hyprland.core.txt

This could be an issue on wlroot as I get the same thing here and on wayfire when reopining after long suspends

This was not my experience on sway (same wlroots dep)

It is also possible that the latest version of wlroots only has this issue because hyprland uses that

nothing in this coredump makes sense. However, suspends have always been buggy on all systems across the board.

ok, closing.


add checking function for unfolded

Remember to call ConvextHull.volume instead of ConvexHull.area to get the actual area.
Ref: https://docs.scipy.org/doc/scipy/reference/generated/scipy.spatial.ConvexHull.html

Can we merge this?

Yep!


DDD Initial Architecture implementing in Order

Dependencies Between Layers in Domain-Driven Design Service.
Application Layer (Dot Net API Project)

Depends:

Domain Model Layer
Infrastructure Layer

Infrastructure Layer (Dot Net class library)

Depends:

Domain Model Layer

Domain Model Layer (Dot Net class library)

Should Not Depend On Any Other Layer


Version 2022.6 cannot install SDK version 2022.6 on Linux

To reproduce on a Debian or Ubuntu machine:

Install plcncli version 2022.0.
Download the SDK for AXC F 2152 version 2022.6
Install the SDK using the plcncli  =>  success.
Uninstall the SDK and delete the installation directory.
Install plcncli version 2022.6.
Install the same SDK using the plcncli  =>  fail, with the following message:

I am not able to reproduce this on a WSL Ubuntu.

We have now a logfile which helped to identify the issue. Further investigation will be done.

We did some changes to the SDK installation process and now are not able to reproduce this issue anymore. But we did not find the exact root cause. Please open a new issue if necessary.


qemu: fix CVE-2020-28916

Motivation for this change
While receiving packets via e1000e_write_packet_to_guest an infinite
loop could be triggered if the receive descriptor had a NULL buffer
address.
A privileged guest user could use this to induce a DoS Scenario.
Fixes: CVE-2020-28916
Things done

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

[x] NixOS
[ ] macOS
[ ] other Linux distributions

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

Already taking care of the backport :)

Thanks! Ported to stable as 92256441fd5d71fbeda08fba08edd0e7a0ebf3bd.


How can I read qrc20 transaction?

Is your feature request related to a problem? Please describe.
For qrc20 received transactions
if I use the command "getTransaction (hash)"

the wallet will throw a  error.

if I use the commoand "getrawtransaction (hash)"

the wallet will throw "No such mempool transaction ......  use -txindex..."

If I start my wallet with the "-logevents" option and use the "getTransactionRecipt (hash)" command, I can get "gasUsed" information. (GasUsed only. There is no gasPrice, vin, or vout information.)
I want to read the fee information of the transaction, but now I can't read.
// only gasUsed....
recipet:  {
  blockHash: '6464a7fe73ff42fe52022b9f143b0dce28793e8d294fbe89477aa605cfe20870',
  blockNumber: 783120,
  transactionHash: '144c99e24dcf86be12f24d32900b8d1d623eaa79ff75d1952d89ba522f351468',
  transactionIndex: 2,
  outputIndex: 0,
  from: '876508a5e4d3000796b5fc07f46cbd20917d7bc9',
  to: '864dcc7ddfd15d7be538fd4e33dc93de9cb19527',
  cumulativeGasUsed: 36264,
  gasUsed: 36264,
  contractAddress: '864dcc7ddfd15d7be538fd4e33dc93de9cb19527',
  excepted: 'None',
  exceptedMessage: '',
  log: [
    {
      address: '864dcc7ddfd15d7be538fd4e33dc93de9cb19527',
      topics: [Array],
      data: '0000000000000000000000000000000000000000000000000000000000002710'
    }
  ]
}

Describe the solution you'd like
I want to read the fee information of the transaction.

I don't want to use the -txindex option, because I means save all transactions...

Is there a way?
How can the wallet process recognize and save (transactions receiving qrc20)?
Describe alternatives you've considered

Additional context

I would like to know (details.fee) among the information below.
tx :: {
  amount: 0,
  fee: -0.081296,
  confirmations: 106,
  blockhash: '6464a7fe73ff42fe52022b9f143b0dce28793e8d294fbe89477aa605cfe20870',
  blockheight: 783120,
  blockindex: 2,
  blocktime:<PHONE_NUMBER>,
  txid: '144c99e24dcf86be12f24d32900b8d1d623eaa79ff75d1952d89ba522f351468',
  walletconflicts: [],
  time:<PHONE_NUMBER>,
  timereceived:<PHONE_NUMBER>,
  'bip125-replaceable': 'no',
  details: [
    {
      category: 'send',
      amount: 0,
      vout: 0,
      fee: -0.081296,
      abandoned: false
    },
    {
      address: 'qVuHQsuu1Nbj8L5x6GoLpungVcE3abyCTD',
      category: 'send',
      amount: -44.010308,
      label: '',
      vout: 1,
      fee: -0.081296,
      abandoned: false
    },
    {
      address: 'qVuHQsuu1Nbj8L5x6GoLpungVcE3abyCTD',
      category: 'receive',
      amount: 44.010308,
      label: '',
      vout: 1
    }
  ],
  hex: ''
}

By default the wallet can only see its own transactions. The -txindex option allows the wallet to see other transactions on the blockchain. All the transactions are saved in blocks on the blockchain, not saved in the wallet.
You can also use the explorer to see details for a transaction, such as https://testnet.qtum.info/tx/144c99e24dcf86be12f24d32900b8d1d623eaa79ff75d1952d89ba522f351468
Also note you need to add a QRC20 token to the wallet to manage that token from the wallet.


Dragging Not working Under Wayland Properly

Dragging/Arranging In settings Not working Under Wayland Properly.
In X11 it is working properly :-
https://user-images.githubusercontent.com/87817029/157382166-67018f89-a37e-4860-ab7c-eeb0931e8620.mp4
But in Wayland it is working like this:-
https://user-images.githubusercontent.com/87817029/157382264-dcfe1a99-86e1-498f-95d6-c76fa0d4ad04.mp4

Hi there, thanks for the report!
However, I can not reproduce this on my end. Could you please provide some additional information, such as:

Which distro are you using?
Which GNOME version are you on (gnome-shell --version)
Which version of Fly-Pie are you using (this is shown when you click on the light-bulb icon in the titlebar)
The output of journalctl -f -o cat while you reproduce the issue on Wayland

I am Using Fedora 35, Gnome-41.3
Fly-Pie Version 14
The output On Wayland Shows This :-
Started Application launched by gnome-shell. Starting GNOME Terminal Server... Starting dnf makecache... Started GNOME Terminal Server. Started VTE child process 98998 launched by gnome-terminal-server process 98979. Metadata cache refreshed recently. SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=dnf-makecache comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' dnf-makecache.service: Deactivated successfully. Finished dnf makecache. Started<EMAIL_ADDRESS>(../clutter/clutter/clutter-actor.c:12417):clutter_actor_event: runtime check failed: (retval == CLUTTER_EVENT_PROPAGATE) (../clutter/clutter/clutter-actor.c:12417):clutter_actor_event: runtime check failed: (retval == CLUTTER_EVENT_PROPAGATE) Started<EMAIL_ADDRESS>Can't update stage views actor <dashtodockContainer>[<Gjs_dash-to-dock_micxgx_gmail_com_docking_DashToDock>:0x560cd873d3c0] is on because it needs an allocation. Can't update stage views actor <unnamed>[<Gjs_dash-to-dock_micxgx_gmail_com_docking_DashSlideContainer>:0x560cd79e1230] is on because it needs an allocation. Can't update stage views actor <dashtodockBox>[<StBoxLayout>:0x560cd52060b0] is on because it needs an allocation. Can't update stage views actor <dash>[<Gjs_dash-to-dock_micxgx_gmail_com_dash_DockDash>:0x560cd92acfd0] is on because it needs an allocation. Can't update stage views actor <unnamed>[<StWidget>:0x560cda3e86a0] is on because it needs an allocation. Can't update stage views actor <unnamed>[<ClutterActor>:0x560cd9e99f70] is on because it needs an allocation. Can't update stage views actor <dashtodockDashContainer>[<StBoxLayout>:0x560cd8eff5e0] is on because it needs an allocation. Can't update stage views actor <dashtodockDashScrollview>[<StScrollView>:0x560cd6057740] is on because it needs an allocation. Can't update stage views actor <unnamed>[<StBoxLayout>:0x560cd6e444e0] is on because it needs an allocation. Can't update stage views actor <dashtodockContainer>[<Gjs_dash-to-dock_micxgx_gmail_com_docking_DashToDock>:0x560cd873d3c0] is on because it needs an allocation. Can't update stage views actor <unnamed>[<Gjs_dash-to-dock_micxgx_gmail_com_docking_DashSlideContainer>:0x560cd79e1230] is on because it needs an allocation. Can't update stage views actor <dashtodockBox>[<StBoxLayout>:0x560cd52060b0] is on because it needs an allocation. Can't update stage views actor <dash>[<Gjs_dash-to-dock_micxgx_gmail_com_dash_DockDash>:0x560cd92acfd0] is on because it needs an allocation. Can't update stage views actor <unnamed>[<StWidget>:0x560cda3e86a0] is on because it needs an allocation. Can't update stage views actor <unnamed>[<ClutterActor>:0x560cd9e99f70] is on because it needs an allocation. Can't update stage views actor <dashtodockDashContainer>[<StBoxLayout>:0x560cd8eff5e0] is on because it needs an allocation. Can't update stage views actor <dashtodockDashScrollview>[<StScrollView>:0x560cd6057740] is on because it needs an allocation. Can't update stage views actor <unnamed>[<StBoxLayout>:0x560cd6e444e0] is on because it needs an allocation. BPF prog-id=383 op=LOAD BPF prog-id=384 op=LOAD Starting Hostname Service... Started Hostname Service. SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' systemd-hostnamed.service: Deactivated successfully. SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-hostnamed comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success' BPF prog-id=0 op=UNLOAD BPF prog-id=0 op=UNLOAD<EMAIL_ADDRESS>Consumed 3.980s CPU time.

Sorry for not getting back earlier! I totally forgot about this one. Is this still an issue with the latest version of Fly-Pie?

The Issue has been fixed in the newer version


added escape to constraint name

added [] around the name in to the objectproperty call to avoid issues when users have a .  for example PK_dbo.tablename in the name of their constraint. the PK_dbo isn't the schema here but is part of the name.

side note
i couldn't get this repo to compile but the change is small enough to oversee the complications. if you have any pointers in compiling this repo, please let me know

May I ask a question.
I make a deletion in mssql db table. But I get null result in topic db.table topic. Is there a bug or I have some error in configuration.
Thanks！！


Kitematic won't download image - spinning while trying to connect to dockerhub - which I skipped setup

I do not want to sign in - initially skipped account setup
I have no intention to sign in (read, I will use private registry)
quit kitematic (read, closed the application once)
kitematic will not let me create a container: keeps spinning while "trying to connect"

Are you behind a proxy or changed connection settings while having the VM running? Virtualbox seems to have some connectivity issues if you let it run and go from one network location to another. (aka it can't reconnect properly)
To make sure that kitematic and the VM are reset, within the Preferences, make sure that you have 'Shutdown Linux VM on closing Kitematic' selected and quit the application. (Cmd+Q on a Mac)

yes, the VM gets shutdown when closing Kitematic; I did change locations.

@dnozay Are you behind a proxy or VPN? If so it might fail to contact Hub.
We don't force users to create / sign into hub.

Closing by default, please reopen on reply.


Decode Dispatchable call directly from proposal bytes

Summary of changes
Changes introduced in this pull request:
Instead of passing the dispatchable call to execute_proposal and set_resource_with_signature we can directly decode the call from proposal bytes and then apply a Call filter check.
// Decode executable call
let proposal_call = codec::Decode::decode(&mut parsed_call.as_slice())
           .map_err(|_| Error::<T, I>::InvalidCall)?;
// Ensure decoded call exists in Call filter.
ensure!(T::ExecuteProposalFilter::contains(&proposal_call), Error::<T, I>::InvalidCall);

Since the relayer will be using a dynamic query, it is a bit difficult to construct the required Call configuration as input.  For more detail link

[x] Decode call directly from proposal bytes in   execute_proposal and set_resource_with_signature
[x]  Update tests

Reference issue to close (if applicable)

Closes

Codecov Report
Base: 52.57% // Head: 51.16% // Decreases project coverage by -1.41% :warning:

Coverage data is based on head (909f4f6) compared to base (dabcdcd).
Patch coverage: 58.33% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #265      +/-   ##
==========================================
- Coverage   52.57%   51.16%   -1.42%
==========================================
  Files          55       55
  Lines        1997     1978      -19
==========================================
- Hits         1050     1012      -38
- Misses        947      966      +19

Impacted Files
Coverage Δ

pallets/signature-bridge/src/lib.rs
80.51% <58.33%> (-5.76%)
:arrow_down:

pallets/token-wrapper-handler/src/lib.rs
66.66% <0.00%> (-14.59%)
:arrow_down:

pallets/asset-registry/src/lib.rs
81.86% <0.00%> (-2.84%)
:arrow_down:

pallets/vanchor-verifier/src/lib.rs
50.00% <0.00%> (-2.18%)
:arrow_down:

pallets/vanchor-handler/src/lib.rs
71.73% <0.00%> (-1.74%)
:arrow_down:

pallets/verifier/src/lib.rs
66.66% <0.00%> (-1.52%)
:arrow_down:

pallets/vanchor/src/lib.rs
82.03% <0.00%> (-1.22%)
:arrow_down:

pallets/mt/src/lib.rs
89.85% <0.00%> (-0.86%)
:arrow_down:

pallets/mixer/src/lib.rs
70.09% <0.00%> (-0.82%)
:arrow_down:

... and 3 more

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

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Rewards claim on ETHStaticATokens

WIP

I presume you haven't run the tests against this implementation?

Close to the post now. Only the authentication change is significant the rest are nits.


DMR: Implement DMR Routing Capability with .NET

AS A Paticipant in the Buerokratt system
I WANT A common location to send messages to allow them to be classified and routed to the correct chatbot
SO THAT user inquiries can be resolved by the correct respondent.

Note.  CentOps is yet to be implemented so CentOps responses will be handled by configuration rather than API Calls.

Acceptance Criteria

[ ] Implement Routing and API as Per Open API Spec and Specification Documents
[ ] Unit tested
[ ] Packaged as a Docker Container
[ ] Implementation Documented
[ ] Demo-ed to Team

Revise after change in API design