Updated equinix metal manual docs

Added info about creating a kind cluster for the manager cluster.
Added info about the ssh-key needing to be created in the console for the project.

@markcallen Could you add a signoff to your commit to fix the DCO check?
LGTM (I don't have approval rights)
@leonardpahlke @nikimanoledaki PTAL

@rossf7 updated for signoff.

Unfortunately the PR is still blocked because the commit must be verified e.g. with GPG:

The base branch requires all commits to be signed. Learn more about signing commits.

@nikimanoledaki added gpg


Can't Update Grav (v1.7.0-beta.10) to v1.7.0-rc.1 Via Admin

I get the notification "Grav v1.7.0-rc.1 is now available" and upon trying to update, it says "Grav was successfully updated to v1.7.0-rc.1" but when I reload the page, the bottom part of the admin still says "v1.7.0-beta.10" and installing the plugin updates such as the Admin Panel results in "One of the packages require Grav >= 1.7.0-rc.1" so it might not be updated indeed.
I have "GPM Relases" set to "Testing", tried playing with the "Remote Fetch", "Official GPM only", "Remote Verify Peer" settings but unfortunately, to no avail.
My server does not allow access to GPM, so I can't upgrade from there.
I can download Grav from my server, update it via GPM locally, then update the files, but is there any other easier way to update?
Thanks!

I'm seeing an issue but a different error:
Fatal error: Cannot declare class Grav\Installer\Install, because the name is already in use in /xxxx/xxxx/xxxx/grav-admin-170b10/tmp/Grav-5dc438fb75fef/zip/grav-update/system/src/Grav/Installer/install.php on line 23

I think your issue is this: https://github.com/getgrav/grav/issues/2681
This is fixed in RC.1 but to get it you need to manually upgrade to RC.1

BTW, admin again, trying with direct install, same with Fatal error: Cannot declare class Grav\Installer\Install error issue when using this URL: https://getgrav.org/download/core/grav-update/1.7.0-rc.1?testing

Steps for a manual update:

make sure you are at the root of your Grav installation
wget -O grav170rc1.zip https://getgrav.org/download/core/grav-update/1.7.0-rc.1\?testing
bsdtar --strip-components=1 -xvf grav170rc1.zip

We are using bsdtar to remove the top level folder and allow installation directly into the root.  If you don't have this command, you can easily install it (e.g. sudo apt-get install bsdtar), alternatively you can unzip the grav170rc1.zip file somewhere else and cp all the files and folders back into your Grav installation so they get updated.

Thanks @rhukster.  Worked like a charm.  I did not have bsdtar installed.
Here were my steps.

cd your-grav-root-dir
sudo wget -O grav170rc1.zip https://getgrav.org/download/core/grav-update/1.7.0-rc.1\?testing
sudo apt install libarchive-tools
sudo bsdtar --strip-components=1 -xvf grav170rc1.zip
sudo chown -R www-data:www-data ./*
sudo rm grav170rc1.zip

I am getting the Fatal error: Cannot declare class Grav\Installer\Install, because the name is already in use in /xxxx/xxxx/xxxx/grav-admin-170b10/tmp/Grav-5dc438fb75fef/zip/grav-update/system/src/Grav/Installer/install.php on line 23 error using MAMP on my Mac - is the new RC on GPM yet or should I wait to test again @rhukster ?

See my responses above @paulhibbitts

Thanks @rhukster , I did but maybe I am missing something? I was assuming for Admin Update with a standard PHP config (like MAMP) I could update Grav 1.6 -> 1.7RC without going to command line to install bsdtar?

That issue is new, and we need to resolve it...
it seems to be related to ANY update to 1.7.0-rc.1 via Admin.

Thanks for the clarification, please contact me on Discord etc. if I can be of any help re: testing @rhukster


Add option to generate 'any' exception

instead of multiple exception types. Useful when using TS versions which do not support "union" types

Not needed anymore


Update from microsoft/* to mcr.microsoft.com/*.

Proposed changes
Update Dockerfile with following changes:

Switch .NET Core Images from legacy location at Docker Hub Registry (microsoft/*) to a new Microsoft Container Registry (mcr.microsoft.com/*).
Since Microsoft no longer supports the tag latest, I set a specific version of 2.2 (current), which is the most recent stable release.
Update links to poin to Microsoft publisher account at Docker Hub (https://hub.docker.com/publishers/microsoftowner) isntead of community one (https://hub.docker.com/u/microsoft).
Fix keyword .NET and Core => .NET Core.

Related issues (optional)

Improved discovery experience for Microsoft containers on Docker Hub:
https://cloudblogs.microsoft.com/opensource/2019/01/17/improved-discovery-experience-microsoft-containers-docker-hub/
Removing the ‘latest’ Tag + An Update on MCR:
https://techcommunity.microsoft.com/t5/Containers/Removing-the-latest-Tag-An-Update-on-MCR/ba-p/393045

Deploy preview for docsdocker ready!
Built with commit bfb8e5a0df4172cead858ef0888c3689ac985d8a
https://deploy-preview-8739--docsdocker.netlify.com


Fix population relevance calculation for patients with no episodes on episode of care measures

Fix empty relevance map for patients without episodes. i.e. IPPFail tests
If there are no episodes recorded, the nominal patient based relevance call is used. This will set the root population IPP or STRAT to be relevant.
Pull requests into Bonnie require the following. Submitter and reviewer should :white_check_mark: when done. For items that are not-applicable, note it's not-applicable ("N/A") and :white_check_mark:.
Submitter:

[x] This pull request describes why these changes were made.
[x] This PR is into the correct branch.
[ ] JIRA ticket for this PR:
[ ] JIRA ticket links to this PR
[ ] Code diff has been done and been reviewed (it does not contain: additional white space, not applicable code changes, debug statements, etc.)
[x] If UI changes have been made, google WAVE plug-in has been executed to ensure no 508 issues were introduced. N/A
[x] Tests are included and test edge cases
[x] Tests have been run locally and pass (remember to update Gemfile when applicable)
[x] Code coverage has not gone down and all code touched or added is covered.

In rare situations, this may not be possible or applicable to a PR. In those situations:

Note why this could not be done or is not applicable here:
Add TODOs in the code noting that it requires a test
Add a JIRA task to add the test and link it here:

[ ] Automated regression test(s) pass

If JIRA tests were used to supplement or replace automated tests: N/A

[x] JIRA test links: N/A
[x] Justification for using JIRA tests: N/A
[x] JIRA tests have been added to sprint

Reviewer 1: @mayerm94
Name:

[ ] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[ ] The tests appropriately test the new code, including edge cases
[ ] You have tried to break the code

If JIRA tests were used to supplement or replace automated tests:

[x] JIRA tests have been run and pass NA
[x] You agree with the justification for use of JIRA tests or have provided input on why you disagree NA

Reviewer 2:
Name: @-cmonkey

[x] Code is maintainable and reusable, reuses existing code and infrastructure where appropriate, and accomplishes the task’s purpose
[x] The tests appropriately test the new code, including edge cases
[x] You have tried to break the code

If JIRA tests were used to supplement or replace automated tests:

[X] JIRA tests have been run and pass - N/A
[X] You agree with the justification for use of JIRA tests or have provided input on why you disagree - N/A

https://oncprojectracking.healthit.gov/support/browse/BONNIE-429 is resolved by this fix.


Clang and dlang applier tutorials

Add a tutorial how to apply model from C and D code.
Tested locally on dynamic libraries (built from sources) on macOS, but the same principle should be applicable to different platforms/linking libraries types.
I hereby agree to the terms of the CLA available at: https://yandex.ru/legal/cla/?lang=ru

Ping @andrey-khropov


Add items to all APIv1 list endpoints

Description
With this PR we have all the APIv1 list endpoints using the same response structure with {"items": []}.
We are of course only adding total when necessary but it's something that we can add later if necessary.

Could we add here changes to the affected part in the frontend @jfcalvo?

Could we add here changes to the affected part in the frontend @jfcalvo?

Yes, it's something that we can do. @keithCuniah @leiyre

@frascuchon I gonna to self-approve my PR because we want to move the changes to DEV. Please take a look and if you think something needs to be changed I will do it in a new branch.


Fetch team member data from API instead of using static client-side data files

Description of changes

Fetches team member data from the API endpoint at https://api.operationcode.org/api/v1/team_members - this provides data from the DB instead of relying on hardcoded static files client-side
Fixes CSS glitch w/ images on team cards (similar to #700 - also observed on production)
Increases max-height of hovered team cards (now 800px), due to the new description of David Molina overflowing outside of the container when using the previous limit (650px)

Issue Resolved

Fixes #943

LGTM, per conversation I think in the future something could be done about the jumping card on mobile.  Along with allowing slack/ emails for the remaining people.


How to keep rapns daemon working on heroku?

I used this gem - thank you for the nice work! -, and deployed an app to heroku .
My environnement: Rails 3.1.3 - heroku cedar stack.
On my machine, after having launched the daemon with bundle exec rapns development, everything works fine, and I receive the push notifications.
Trying to deploy it on heroku:
When I launch the daemon with the option --foreground, everything works fine, and I receive the push notification.
When I let the process fork into a daemon, it only lives for a few seconds.
Command used on heroku:
# Works (but gets killed if I close my terminal window)
heroku run bundle exec rapns production --foreground
# Without the --foreground: Process doesn't live:
heroku run bundle exec rapns production
For example:
$ heroku run bundle exec rapns production
Running bundle exec rapns production attached to terminal... up, run.24

$ heroku ps
Process       State               Command
------------  ------------------  ------------------------------
run.24        complete for 6s     bundle exec rapns production
web.1         up for 49m          bundle exec rails server -p $PORT

Output of the logs at the same time:
2012-01-01T23:00:57+00:00 app[run.24]: Starting process with command `bundle exec rapns production`
2012-01-01T23:01:04+00:00 heroku[run.24]: State changed from up to complete
2012-01-01T23:01:05+00:00 heroku[run.24]: Process exited

I'm not sure where the issue is.
Do I need to scale my heroku config (tried to up the workers), or is there a bug with rapns when forking into a daemon?

Using the fact that the daemon does not live, I have found a hacky workaround:
After creating and saving the notification, I launch the daemon (without the --foreground flag) with system:
# ...
notification.save!
system("bundle exec rapns production") # On heroku, this process does its delivery job, but does not survive

It does not seem like a clean way to do this (especially due to the fact that we loose the fact that the daemon stays connected to Apple servers).
I would really appreciate if someone can chime in on this issue.

I believe the correct solution is to add the following to your Procfile:
rapns: bundle exec rapns $RACK_ENV -f

Thank you for the reply.
I didn't know about Procfile. Thank you for the mention. More details for curious readers at:
http://devcenter.heroku.com/articles/procfile
I have since switch to rapns to gain support of multiple applications, so I won't be able to further report on this issue.
Hopefully, this thread might help someone who will test this, and he will be able to comment

I love rapns and it has really helped speed development time, but running it on Heroku Bamboo runs into the same issue as above. Using the Procfile would be great, but its not supported in Bamboo. I suppose its a "legacy" app. but its only 9 months old and is in heavy use in production. To upgrade to Cedar is simply too large of a task for something so minor.
Is there any way to keep this alive? I pay for several worker and web roles, so there must be a way?

I've opened issue #33 to a base to talk about what improvement we can make. I'm afraid I wont have time to look at this myself until after the 22nd. If you do discover anything please comment in #33. Cheers.


How to know where the file is saved or the back ground process happening when we are using phantomjs with selinium.

Hi there!
Thanks for submitting an issue to Protractor.
To help us help you better, please do the following before submitting an issue:

Review the questions section of CONTRIBUTING.md.
Make sure you are not asking a usage or debugging question. If you are, use StackOverflow, Google Group discussion list, or Gitter to get help.
Provide a minimally reduced test case. This makes it much more likely that your bug will be fixed.
Fill in the information that corresponds to your type of issue below.
Delete this intro and any unrelated text :smile: (if you do not we'll assume you haven't read these instructions and automatically close the issue.)

Bug report

Node Version: ``
Protractor Version: ``
Angular Version: ``
Browser(s): ``
Operating System and Version ``
Your protractor configuration file
A relevant example test
Output from running the test
Steps to reproduce the bug
The URL you are running your tests against (if relevant)

Feature Request

Reasons for adopting new feature
Is this a breaking change? (How will this affect existing functionality)

here is my code:
package com.sample;
import org.openqa.selenium.By;
import org.openqa.selenium.WebDriver;
import org.openqa.selenium.chrome.ChromeDriver;
import org.openqa.selenium.phantomjs.PhantomJSDriver;
import org.openqa.selenium.phantomjs.PhantomJSDriverService;
import org.openqa.selenium.remote.DesiredCapabilities;
public class Sample {
public static void main(String[] args) throws InterruptedException {
DesiredCapabilities caps = new DesiredCapabilities();
caps.setCapability(PhantomJSDriverService.PHANTOMJS_EXECUTABLE_PATH_PROPERTY,
                "C:\\Users\\360035\\Desktop\\phantomjs-2.1.1-windows\\bin\\phantomjs.exe");

WebDriver driver = new PhantomJSDriver(caps);
driver.get("https://metconnect.cognizant.com/sites/MetConnect/IB-PST/Governance/Forms/Allitems.aspx?RootFolder=%2Fsites%2FMetConnect%2FIB-PST%2FGovernance%2FSteady State%2FOperational Services%2F02.EIOB%2F02.HW and SW Upgrade Distributed%2F10.UDB Upgrade%2FUDB Upgrade App list&SortField=LinkFilename&SortDir=Asc&View={08D6B542-CB51-49F5-B347-32F5500FD292}");
Thread.sleep(5000);
driver.findElement(By.xpath("//*[@id='100316']/tbody/tr/td[1]/a")).click();
Thread.sleep(5000);
driver.findElement(By.xpath("//*[@id='100334']/tbody/tr/td[1]/a")).click();
Thread.sleep(2000);

Please help me

Hi! This looks like a support question. Please ask your support questions on StackOverflow, Google Group discussion list, or Gitter. For more information please reference https://github.com/angular/protractor/blob/master/CONTRIBUTING.md#questions
Thank you!


UI Implementation - List View

Implement the UI for displaying the list of the top ten cryptocurrencies. Ensure it includes the crypto name, image, and current price.

Done


list format does not achieve

In Markdown, adding - or * can  unordered list, but in this library, I found there is no way to achieve it .
And there is some problem, the library does not convert html tag to markdown format, for example, this is a strong text , then will print all the words rather than "this is a strong text " with strong format

Currently render module is implemented with NSAttributedString, aka there is no way to support lists display.
HTML parsing haven't implemented yet,  considering add to further development.


[Issue] add German localization for IIS HTTP 400 Error

Describe the issue
Running the Test-AMSI script on an Exchange server that has a different OS language than English (German in my case) will lead to the warning message that AMSI may be disabled, as the script checks for the English error message of the code 400 / Bad Request that is returned. The test is working fine despite of this, code 400 is returned, and the detection is logged. And a Microsoft 365 Defender alert was triggered, as we've onboarded the Exchange servers to Defender for Endpoint. Of course, you can change the script and add the error message in the OS language if you want it to display the correct result.
Expected behavior
A correct localized message

German HTTP 400 error message is:
Der Remoteserver hat einen Fehler zurückgegeben: (400) Ungültige Anforderung
So line 47
If ($_.Exception.Message -notlike "The remote server returned an error: (400) Bad Request") {
could be changed to
If ($.Exception.Message -notlike "The remote server returned an error: (400) Bad Request" -and $.Exception.Message -notlike "Der Remoteserver hat einen Fehler zurückgegeben: (400) Ungültige Anforderung") {
This will of course become unwieldy if you add localization for more languages this way.

@Pamor-vlz I need to see if there is a way to pull localized errors, because I agree this would get out of hand quickly. Not crazy about this idea but I think this may work short term. Can you change your line 47 to the below and test?
If ($_.Exception.Message -notlike ": (400)") {

@tweekerz Test was successful, that line does work:
If ($_.Exception.Message -notlike "*: (400)*") {


LateInitializationError: Field 'height' has not been initialized.

======== Exception caught by widgets library =======================================================
The following LateError was thrown building MyApp(dirty):
LateInitializationError: Field 'height' has not been initialized.

The relevant error-causing widget was:
  MyApp MyApp:file:///D:/OneDrive%20-%20ECAM/Projet_App_Trading_Conseils/flexmes_mobile_app/lib/main.dart:16:22
When the exception was thrown, this was the stack:
#0      Device.height (package:responsive_sizer/src/helper.dart)
#1      DeviceExt.h (package:responsive_sizer/src/extension.dart:7:33)
#2      appThemeData (package:flexmes_mobile_app/config/themes.dart:15:21)
#3      appThemeData (package:flexmes_mobile_app/config/themes.dart)
#4      MyApp.build (package:flexmes_mobile_app/main.dart:35:22)
#5      StatelessElement.build (package:flutter/src/widgets/framework.dart:4662:28)
#6      ComponentElement.performRebuild (package:flutter/src/widgets/framework.dart:4588:15)
#7      Element.rebuild (package:flutter/src/widgets/framework.dart:4311:5)
#8      ComponentElement._firstBuild (package:flutter/src/widgets/framework.dart:4566:5)
#9      ComponentElement.mount (package:flutter/src/widgets/framework.dart:4561:5)
#10     Element.inflateWidget (package:flutter/src/widgets/framework.dart:3631:14)
#11     Element.updateChild (package:flutter/src/widgets/framework.dart:3383:18)
#12     RenderObjectToWidgetElement._rebuild (package:flutter/src/widgets/binding.dart:1198:16)
#13     RenderObjectToWidgetElement.mount (package:flutter/src/widgets/binding.dart:1167:5)
#14     RenderObjectToWidgetAdapter.attachToRenderTree.<anonymous closure> (package:flutter/src/widgets/binding.dart:1112:18)
#15     BuildOwner.buildScope (package:flutter/src/widgets/framework.dart:2531:19)
#16     RenderObjectToWidgetAdapter.attachToRenderTree (package:flutter/src/widgets/binding.dart:1111:13)
#17     WidgetsBinding.attachRootWidget (package:flutter/src/widgets/binding.dart:944:7)
#18     WidgetsBinding.scheduleAttachRootWidget.<anonymous closure> (package:flutter/src/widgets/binding.dart:924:7)
(elided 11 frames from class _RawReceivePortImpl, class _Timer, dart:async, and dart:async-patch)
====================================================================================================

Thanks for reporting the issue @Flexmess and @jsdaniell . Could you provide a sample code so that I could replicate the issue? I couldn't replicate it in the issue in the example project. Thanks.

Also, there was a new breaking change that probably caused the issue.
You now have to wrap MaterialApp's child with ResponsiveSizer widget instead of the other way around:
MaterialApp(
 home: ResponsiveSizer(
   builder: (context, orientation, screenType) {
     return const HomePage();
   },
 ),
);

sadly, with the new approach, if the theme of a MaterialApp uses ResponsiveSizer, a LateInitializationError occurs

Guys, im using named routes and navigator key and its totally possible to use resizer on it:
File app.dart:
class App extends StatelessWidget {
  const App({Key? key}) : super(key: key);

  static String appName = 'My App Name';

  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(

      title: appName,
      color: Colors.blue,

      navigatorKey: navigatorKey,
      initialRoute: ROUTE_PAGE_SPLASH,
      routes: materialRoutes,

      theme: Provider.of<ThemeModel>(context).currentTheme,

      builder: (BuildContext context, Widget? child){
        return ResponsiveSizer(
            builder: (context, orientation, screenSize) =>
                child ?? const SizedBox.shrink()
        );
      },
    );
  }
}

File routes.dart:
final GlobalKey<NavigatorState> navigatorKey = GlobalKey<NavigatorState>();

const String ROUTE_PAGE_SPLASH = '/';
const String ROUTE_PAGE_HOME = '/home';

Map<String, WidgetBuilder> materialRoutes = {
  ROUTE_PAGE_SPLASH: (context) => const PageSplash(),
  ROUTE_PAGE_HOME: (context) => PageHome(
     dependencyInjection: DependencyInjection(),
     dataModel: ModalRoute.of(context)!.settings.arguments as Model
  ),
};

Thanks @rafaelsetragni , your recommended approach worked for named routes

sadly, with the new approach, if the theme of a MaterialApp uses ResponsiveSizer, a LateInitializationError occurs

yes.....what is the solution?

wrapping the Widget where the exception arises with ResponsiveSizer Solve My Problem
ResponsiveSizer(       builder: ((p0, p1, p2) {         return Scaffold( .....

sadly, with the new approach, if the theme of a MaterialApp uses ResponsiveSizer, a LateInitializationError occurs

Thanks for the heads up. I'll work on fixing this issue

Guys, I already post the solution for this issue a couple messages ago.

Guys, I already post the solution for this issue a couple messages ago.

Thank you for the solution :) It also works. I've also published a new version of the package that doesn't require the ResponsiveSizer widget to be wrapped inside MaterialApp anymore

======== Exception caught by widgets library =======================================================
The following LateError was thrown building MyApp(dirty):
LateInitializationError: Field 'height' has not been initialized.

Experienced the same error, until realizing that one has to wrap GetMaterialApp like this:
return ResponsiveSizer(builder: (context, orientation, screenType) {
      return GetMaterialApp( ... );
});

If working with ListView a Center is required, otherwise the width is always 100%:
ListView(
  shrinkWrap: true,
  children: [
    Center(child: SizedBox(width: 25.w, child: child))
  ]
)

This works with:
Flutter 3.0.1
responsive_sizer: ^3.0.8
get: ^4.6.3

Hi @xErik, could you provide a code sample so that I can replicate the issue? I was unable to get that error when running the example app.

I was referring to the initial post and wanted to state that everything works fine for me.
I wasn't clear enough about that, sorry.
I guess that the initial poster probably forgot to wrap GetMaterialApp with ResponsiveSizer.

You were clear about it @xErik  :) From what I've understand, you still need to wrap ResponsiveSizer with GetMaterialApp in the latest version right? It's just that wrapping it was not supposed to be required

Experienced the same error, until realizing that one has to wrap GetMaterialApp like this:
return ResponsiveSizer(builder: (context, orientation, screenType) {
return GetMaterialApp( ... );
});
This works with:
Flutter 3.0.1
responsive_sizer: ^3.0.8

You were clear about it @xErik :) From what I've understand, you still need to wrap ResponsiveSizer with GetMaterialApp in the latest version right? It's just that wrapping it was not supposed to be required

Experienced the same error, until realizing that one has to wrap GetMaterialApp like this:
return ResponsiveSizer(builder: (context, orientation, screenType) {
return GetMaterialApp( ... );
});
This works with:
Flutter 3.0.1
responsive_sizer: ^3.0.8

Correct, I need to wrap it to make it work.

Could you provide a code example (even a small snippet would do) so that I could reproduce the error? Thanks!

@CoderUni The code creates the mentioned error. It also shows code that does work for me.
The code contains a switch to toggle the failure: bool showSizerFail = true;.

Click to toggle contents of `code`

import 'package:flutter/material.dart';
import 'package:get/get.dart';
import 'package:responsive_sizer/responsive_sizer.dart';

// TOGGLE THIS
bool showSizerFail = true;

void main() async {
  WidgetsFlutterBinding.ensureInitialized();
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    if (showSizerFail) {
      return GetMaterialApp(
          initialBinding: null,
          initialRoute: '/home',
          getPages: [
            GetPage(name: '/home', page: () => const Home()),
          ]);
    }

    return ResponsiveSizer(builder: (context, orientation, screenType) {
      return GetMaterialApp(
          initialBinding: null,
          initialRoute: '/home',
          getPages: [
            GetPage(name: '/home', page: () => const Home()),
          ]);
    });
  }
}

class Home extends StatelessWidget {
  const Home({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
        body: Center(
            child: Container(
                color: Colors.red.shade100,
                width: 50.w,
                child:
                    const Text('Text is cemtered inside a box with w:50%'))));
  }
}

Click to toggle pubspec

name: getx_sizer
description: A new Flutter project.
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0+1
environment:
  sdk: ">=2.17.1 <3.0.0"
dependencies:
  flutter:
    sdk: flutter
  cupertino_icons: ^1.0.2
  get: ^4.6.5
  responsive_sizer: ^3.0.8
dev_dependencies:
  flutter_test:
    sdk: flutter
  flutter_lints: ^2.0.0
flutter:
  uses-material-design: true

Click to toggle error

Restarted application in 217ms.
[GETX] Instance "GetMaterialController" has been created
[GETX] Instance "GetMaterialController" has been initialized
[GETX] GOING TO ROUTE /home
══╡ EXCEPTION CAUGHT BY WIDGETS LIBRARY ╞═══════════════════════════════════════════════════════════
The following LateError was thrown building Home(dirty):
LateInitializationError: Field 'width' has not been initialized.
 I deleted our chat logs to make it easier to find the answer.
From what I understand, you have to use GetMaterialApp only when using the getX package.

That is correct. Getx is just a popular framework, simplifying development.


generatebundlefile: More work to revert back to older oras

Older versions of oras don't support --password-stdin, so we have to perform a
separate login action before we push things.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/approve


Fix bug #128

When an API base matches another API's base the API is chosen based on the order the JSON parser unmarshalled the apis.json.

No problem


br: backup-log: Test and debug for backup-log process

What is changed and how it works?
Close #xxx
What's Changed:
This pr is for test and debug for the backup-log flow
Release note
None

/cc @kennytm @3pointer @YuJuncen

/run-all-tests

/run-all-tests

/cc @kennytm  PTAL

/merge

/component backup-restore

/merge

/merge

/build


bump cassandra to 3.11.3 and fix charts.yaml

What this PR does / why we need it:
Bump cassandra to latest
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/assign @davidkarlsen

/lgtm


Added missing merge-stream to package.json

Hi @artokai, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by Microsoft and real humans are currently evaluating your PR.
TTYL, MSBOT;

Nice catch, thanks!


drawing tablet issue on chrome, edge and obsidian

The first stroke works fine but when you try to draw the second stroke, it moves the cavas. To draw a stroke again, you need to raise your pen high up and get back to the tablet.
This doesn't happen on firefox and safari.

Hi. So as I understand it, this relates both to Obsidian and excalidraw.com? What tablet are you using?

Hi. So as I understand it, this relates both to Obsidian and excalidraw.com? What tablet are you using?

Yes, obsidian excalidraw plugin and excalidraw.com on chromium based web browsers.
(It works fine on other browsers.)
I'm using virtual tablet(https://www.sunnysidesoft.com/virtualtablet) with galaxy s22 ultra.

I have the same issue, I use Brave browser and Veikk drawing tablet.
The first stroke worked as expected, but the cursor moved the canvas in the second stroke and the drawing mode stopped working, even when using a mouse.

i have the same issue using obsidian excalidraw plugin + virtual tablet app on android device. I notice that after the first stroke to avoid drawing mode stop working, you must clear the canvas on virtual tablet. This makes the work pipeline really slow.

Hi. So as I understand it, this relates both to Obsidian and excalidraw.com? What tablet are you using?

Yes, obsidian excalidraw plugin and excalidraw.com on chromium based web browsers. (It works fine on other browsers.) I'm using virtual tablet(https://www.sunnysidesoft.com/virtualtablet) with galaxy s22 ultra.

On virtualtablet app go to Settings and switch off Mirror mode, everything will work like a charm.


Bind handdraw attr() function to "this"

Issue number of the reported bug or feature request: #971
Describe your changes
This ensures that the function used to select the correct lines_view curve in the HandDraw interactor has access to the collection of lines_view objects.
Testing performed
I verified that prior to this, the handdraw example (in #971) did not work, and that subsequent to it, it did.
Additional context
During the first click on a curve with this interactor, the line updates as the click is in-progress.  Subsequent clicks have the line disappear between mousedown and mouseup.

Thanks @matthewturk !

Thank you for merging!  Excited to put this into action!
On Thu, Mar 19, 2020 at 1:09 PM Sylvain Corlay<EMAIL_ADDRESS>wrote:

Thanks @matthewturk https://github.com/matthewturk !
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bloomberg/bqplot/pull/1062#issuecomment-601333944,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAAVXOZPLC7CC3H5NDCYWPTRIJNXHANCNFSM4LOVABJA
.


Missing field "Bank Account" in Sales Cr.Memo Header and Sales Shipment Header

Hi all,
field(12172; "Bank Account"; Code[20]) is missing from above tables.
This field is managed in Sales Invoice Header (transferred from Sales Header with the posting).
We need this field added in Sales Shipment Header and Sales Cr.Memo Header as well.
Thanks

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


Reload exits on compiler error

Make sure jetzig doesn't stop when a command exits with an error during reload by catching the error and waiting for more changes to the source code.
Fixes #33
I understand that there is a bit of duplication in the code. A direction to make it better would be appreaciated.

@axispx Thanks for the PR ! I have merged https://github.com/jetzig-framework/jetzig/pull/34 as it has a couple of extra fixes in there that I think we need, but if you think this PR still has things that should be merged, please feel free to resolve the conflicts and update. :+1:


Error:  should not be imported outside of pages/_document.

> next dev

  ▲ Next.js 13.5.4
  - Local:        http://localhost:3000

 ✓ Ready in 4.6s
 ✓ Compiled /middleware in 143ms (55 modules)
 ⚠ You are using an experimental edge runtime, the API might change.
 ✓ Compiled / in 2.1s (1782 modules)
[Error: <Html> should not be imported outside of pages/_document.
Read more: https://nextjs.org/docs/messages/no-document-import-in-page]
[Error: <Html> should not be imported outside of pages/_document.
Read more: https://nextjs.org/docs/messages/no-document-import-in-page]
[Error: <Html> should not be imported outside of pages/_document.
Read more: https://nextjs.org/docs/messages/no-document-import-in-page]
[Error: <Html> should not be imported outside of pages/_document.
Read more: https://nextjs.org/docs/messages/no-document-import-in-page]

Hi, can you provide more context? For example the context in which you are experiencing the problem. I may follow up by adding a developer document that explains in detail how to set up a development environment.


build apk release

Environment
Please provide the following information about your environment:

Development OS: Mac
Device OS & Version:  Android version 8.0.0
Version: ViroReact 2.17.0 and React Native 0.59.9

Description
i built an AR application and now i want to generate an apk release but i'm having this error :
`

Failed to notify project evaluation listener.
'org.gradle.api.file.DirectoryProperty org.gradle.api.file.ProjectLayout.directoryProperty(org.gradle.api.provider.Provider)'`

build.gradle :

gradle-wrapper.properties :

@AliKHODR
Did your resolve your issue?


Disadvantageous dependence between LayoutData and Z-order

Problem: create 2 composites, the second should be layouted under the first composite (it should have a reference to it in its layoutData), and should have a lower z-order than the first composite.
The only way to solve this, is to set the layoutData of composite2 subsequently:
var page = tabris.create("Page", {});

var offset = 20;

var composite2 = tabris.create("Composite", {
  background: "green"
}).appendTo(page);

var composite1 = tabris.create("Composite", {
  layoutData: {left: offset, top: offset, width: 100, height: 100},
  background: "red"
}).appendTo(page);

composite2.set("layoutData", {left: [composite1, -50], top: [composite1, -50], width: 100, height: 100});

page.open();

On Android, however, one could create the widgets, then append them in the right order and the references to other widgets would be kept in the layout (example below). On iOS the references are not respected in this case.
var page = tabris.create("Page", {});

var offset = 20;

var composite2 = tabris.create("Composite", {
  layoutData: {left: [composite1, -50], top: [composite1, -50], width: 100, height: 100},
  background: "green"
});

var composite1 = tabris.create("Composite", {
  layoutData: {left: offset, top: offset, width: 100, height: 100},
  background: "red"
});

page.append(composite2, composite1);

page.open();

Can an intuitive and cross-platform way be provided to solve this problem?

The layout code has been completely rewritten meanwhile. The z-index depends on append order, widgets appended later get a higher z-index (it once was the other way around).
Widgets can now be referenced using IDs, which allows referring to widgets before they're created (references to missing widgets are treated as 0). Layout data are re-eval'ed everytime the list of siblings changes.
This should help to tackle the problems outlined in this issue.


ENH: update package version

Hi! This is the friendly automated conda-forge-webservice.
I've started a version update as instructed in #90.
I'm currently searching for new versions and will update this PR shortly if I find one! Thank you for waiting!
Fixes #90

@conda-forge-admin, please rerender

Asking about this on Element.

TLDR: Can I somehow explicitly declare numpy <2 while using {{ pin_compatible("numpy") }}?
I'm trying to understand how to deal with the numpy v2 migration and {{ pin_compatible("numpy") }}. I would like to add numpy <2.0a0, but my understanding is that {{ pin_compatible("numpy") }} doesn't work properly when other constraints are specified. Indeed, rerendering after adding such a pin causes the numpy version specification to be removed from the .ci_support files. I know that my desired pin is currently implicit with {{ pin_compatible("numpy") }}, but I expect that this will change sometime fairly soon when conda-forge supports numpy v2 that this will change, so I'd rather make numpy <2.0a0 explicit. Part of the issue is that {{ pin_compatible("numpy") }} is "magic" to me. Any advice or insight would be greatly appreciated. Context: https://github.com/conda-forge/pytensor-suite-feedstock/pull/91

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender


Add review_submitted handler which changes labels after a review

Fixes #1373
cc @nikomatsakis

I think an approving review shouldn't mark the PR as waiting on author.

Didn't consider that case, thanks. I've added it now


run make verify_contracts on CONTRACTS_VERSION in the CI builds

This issue keeps track of changing the CI so it fails when the Solidity sources and contracts.json do not match in data_CONTRACTS_VERSION.
When data_CONTRACTS_VERSION/contracts.json and data_CONTRACTS_VERSION/sources do not match, the deployment script refuses to deploy data_CONTRACTS_VERSION/contracts.json.  This affects the private network deployment.

Find out if there is a use case for using old contracts. We do not see that at the first sight.


RFC: Support Keyword IDF_VERSION_MAJOR, IDF_VERSION_MINOR, IDF_VERSION_PATCH (RDT-403)

This could be used in the if clauses defined in the manifest file. These values are integer.
some repo might have different build rules set for different ESP-IDF branch
Example:
examples:
  enable:
    - if: IDF_VERSION_MAJOR == 4 and IDF_VERSION_MINOR in [1, 2]  # will only build & test on 4.1 and 4.2

Warnings:

the rule would take effect if any of the if clauses matches.
all operators are binary operator. use nested parentheses for complicated use case.

@tore-espressif @igrr could you share your opinion on this idea? do you think it would be useful?


Error comparing int and datetime

Logger: homeassistant.components.script.car_climate_waiting
Source: custom_components/kia_uvo/vehicle.py:148
Integration: Script (documentation, issues)
First occurred: 10:08:13 AM (2 occurrences)
Last logged: 10:08:13 AM
car: climate waiting: Repeat at step 1: Error executing script. Unexpected error for call_service at pos 2: '>' not supported between instances of 'datetime.timedelta' and 'int'
car: climate waiting: Error executing script. Unexpected error for repeat at pos 1: '>' not supported between instances of 'datetime.timedelta' and 'int'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 371, in _async_step
await getattr(self, handler)()
File "/usr/src/homeassistant/homeassistant/helpers/script.py", line 571, in _async_call_service_step
await service_task
File "/usr/src/homeassistant/homeassistant/core.py", line 1495, in async_call
task.result()
File "/usr/src/homeassistant/homeassistant/core.py", line 1530, in _execute_service
await handler.job.target(service_call)
File "/config/custom_components/kia_uvo/init.py", line 78, in async_handle_request_sync
await hass.async_create_task(hass_vehicle.request_sync())
File "/config/custom_components/kia_uvo/vehicle.py", line 186, in request_sync
await self.api_cloud.request_sync(vehicle=self)
File "/config/custom_components/kia_uvo/api_cloud_us_kia.py", line 33, in request_with_active_session_wrapper
return await func(*args, **kwargs)
File "/config/custom_components/kia_uvo/api_cloud_us_kia.py", line 279, in request_sync
await vehicle.update()
File "/config/custom_components/kia_uvo/vehicle.py", line 148, in update
if age_of_last_sync > force_scan_interval:
TypeError: '>' not supported between instances of 'datetime.timedelta' and 'int'

2021-12-15 09:11:59 DEBUG (MainThread) [custom_components.kia_uvo.vehicle] HVAC on, changing force_scan_interval to 5 minutes


REST API call examples are missing

Issue in ./help/using/configuration/capping.md
On this page it says "In the following section, you will find the Rest API calls ordered list to perform the use-case." But there are no REST API calls available below this; only a bulleted/numbered list of steps per use case.
Also, "o" in No. needs to be fixed so it doesn't display as a superscript. Example, instead of "Use-Case n°1" it needs to be "Use-Case No. 1" or just "Use Case 1".

hi @abhardwaj-dev, thanks for your feedback. We'll check and update shortly.
Internal reference > DOCAC-11541


Capitalized My Videos - Recent Videos

https://openedx.atlassian.net/browse/MA-1527

You should never use uppercaseString. It doesn't respect the user's current locale. Switch it to oex_uppercaseStringInCurrentLocale and :+1:


To fill the Local Licenses column on the HTML report.

Rationale: They might not have copied the full license, or inserted additions into the text. Our HTML report should be pointing at the official Apache 2 license via the remote URL and the local URL should be pointing to the local flavour for the dependency1 modules text.

Details here: https://github.com/bucharest-gold/license-reporter/issues/117#issuecomment-329446512

PR sent
example using szero:


Update bundle property to accept module and nomodule

Fixes #211

This change is

Reviewed 8 of 8 files at r1.
Review status: :shipit: complete! all files reviewed, all discussions resolved

Comments from Reviewable

@web-padawan How is this going to interact with differential serving? If I have just a couple of simple builds via polymer-cli
builds
  |
  |-- esm-bundled
  |-- es5-bundled

Should I just not worry about making bundle an object and just specify the bundle file name (which should be consistent across builds)?

@moderndeveloperllc I would rather choose the second option here, just specify the bundle file name. The "module" and "nomodule" is considered as an advanced opt-in feature, which is questionable for developers using polymer-cli but might be needed in some other cases.


Deployments are rendered twice

This is the output of api/deployments:
https://gist.githubusercontent.com/emilong/fb43b7e5862ba159eb5c/raw/53e438c44456841bef797622e0a1c7a73187fe24/gistfile1.json
Notice that models with the same id appear twice.
Steps to repro:

get this branch: https://github.com/emilong/deploydb/tree/multi-env-pipeline
./gradlew shadowJar
java -jar build/libs/deploydb-*-all.jar db migrate complicated/deploydb.launch.yml
java -jar build/libs/deploydb-*-all.jar server complicated/deploydb.launch.yml
post this:

curl -X POST -H  "Content-Type: application/json" http://localhost:8080/api/artifacts -d "{
  \"group\" : \"immortan.joe\",
  \"name\": \"mask\",
  \"version\" : \"da39a3ee5e6b4b0d3255bfef95601890afd80709\",
  \"sourceUrl\" : \"http://example.com/immortan.jar\"
}"

curl http://localhost:8080/api/deployments

FYI: This appears to be an issue in the way we're invoking Hibernate to get the deployments. Specifically, that model left outer joins some of its relations, so we can get multiple deployments on the left side when we have many of the have many relations on the right. Adding .setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY) to the criteria() result in DeploymentDAO fixed it for me, though I don't have a test to validate.

@emilong thanks for triage.
Another approach to fix this is to make selection unique in the DB itself using projection instead of doing post DB with Transformer.  Using following
Projections.distinct(Projections.property("id"))
We will consider both approaches and fix the bug.

@GiriDandu ah cool. In DB seems like a much better solution. TBH, I think this endpoint is going to have a lot of records very quickly, so it feels better to put the deduping in DB rather than sending it over the wire first.


Crash on load due to access denied on folder

At one point I changed my workspace to a folder on a remote system.
Now when I import the psiseprojectexplorer module, it crashes with an access denied to that remote folder.
That seems like a defect, but the other question is where does it store that workspace so I can tell it to stop looking there? :)

Thanks for creating this issue - it should remove such locations during startup, but apparently it sometimes fails.
You need to delete or modify file ${env:USERPROFILE}\Documents\WindowsPowerShell\Modules\PsISEProjectExplorer\PsISEProjectExplorer.config, where ${env:USERPROFILE} is normally c:\Users<Your Username>.

I'd looked at that file, and it only had my local workspace directory in
it. Deleting it didn't solve the issue either.
However, what I noticed was that when I closed my ISE tab it asked me if I
wanted to save the untitled.ps1 and it wanted to save it in the remote
workspace directory.
Once I saved the untitled.ps1 in my local directory, the
PsISEProjectExplorer.config
file had the remote workspace in it. Deleting the .config file then fixed
the issue.
So it looks like there is an MRU for the ISE that it's looking at as well.
On Wed, Jan 7, 2015 at 1:34 PM, Marcin Grzywa<EMAIL_ADDRESS>wrote:

Thanks for creating this issue - it should remove such locations during
startup, but apparently it sometimes fails.
You need to delete or modify file
${env:USERPROFILE}\Documents\WindowsPowerShell\Modules\PsISEProjectExplorer\PsISEProjectExplorer.config,
where ${env:USERPROFILE} is normally c:\Users.
—
Reply to this email directly or view it on GitHub
https://github.com/mgr32/PsISEProjectExplorer/issues/34#issuecomment-69067994
.

This seems strange. I'm having problems with recreating the issue - tried the following:

When setting workspace to a shared folder it says 'Cannot use root directory x. Please select another path' and continues to work normally (workspace list not updated). I will also look into it, but seems to be a different issue.
When setting workspace to a shared subfolder it is successfully added to the workspace list. After restarting ISE it still works.
After removing permissions to the subfolder and restarting ISE it is automatically removed from the list.

Are you able to recreate the issue and if so, could you provide exact steps?

Did the issue occur again? If yes, could you get the latest version and attach the log file when it happens again?

I think the newest version (1.2.3) fixed it; I went through steps to
re-produce it and it didn't re-occur.
On Mon, Mar 23, 2015 at 5:35 PM, Marcin Grzywa<EMAIL_ADDRESS>wrote:

Did the issue occur again? If yes, could you get the latest version and
attach the log file when it happens again?
—
Reply to this email directly or view it on GitHub
https://github.com/mgr32/PsISEProjectExplorer/issues/34#issuecomment-85207027
.

Thank you, I didn't do anything to fix it though - so for now I'll close it, but feel free to reopen (and attach log file) when it reoccurs.


Certificate with incorrect line breaks can get fluentbit in a crashloop

Description
A typical scenario is to copy the secret for the backend configuration. Especially for the PEM bodies, you easily can do mistakes with the line breaks. As PEMs are a well-defined format, the manager should try to auto-correct typical mistakes like de-doubling backslashes.
The concrete problem here is a cert file where by mistake the line breaks are escaped (by having double backslashes). Such mistake will bring fluentbit in a crashloop with following error message:

[2023/12/22 15:33:53] [error] [tls] crt_file '/fluent-bit/etc/output-tls-config/sap-cloud-logging-application-logs-cert.crt' 336445449: error:0909006C:PEM routines:get_name:no start line
[2023/12/22 15:33:53] [error] [tls] could not create TLS backend
[2023/12/22 15:33:53] [error] [output http.1] error initializing TLS context
[2023/12/22 15:33:53] [error] [engine] output initialization failed
[2023/12/22 15:33:53] [error] [lib] backend failed

Expected result
It will be great if such mistakes can be self-healed and the setup will just work

Actual result
Currently you will need to figure out the problem and fix it manually in the setup

Criterias

A cert/ca/key having escaped line breaks will lead to a functional setup

Release Notes
Certificates or keys for mTLS communication to the log backend will be sanitized with line break problems

Now we sanitize the certificates passed in the secret and remove extra escape characters.

Fix for release 1.6.1 https://github.com/kyma-project/telemetry-manager/pull/686


Maxlength constraint (in schema) not working

Here are my csv and schema respectively:
https://drive.google.com/file/d/0B3CDKorSOdGNNm1CbXFrUmlFY1U/view?usp=sharing
https://drive.google.com/file/d/0B3CDKorSOdGNN3JlZ2pDLWNKaXc/view?usp=sharing
The required constraint is violated on line 13 (column 1)
of the data.
The validator reports no errors or warnings on that data column.

See comment on #183, there are some issues in the schema which means its not being applied

Closed - schema error.


Support PHP 8.3 / Remove 8.0

PHP 8.3 was released on 11/23/23. We should support it in the buildpack.
While we're at it, we should remove support for PHP 8.0 which is now out of support
https://www.php.net/supported-versions.php

https://github.com/paketo-buildpacks/php-dist/pull/646

https://github.com/pivotal-cf/tanzu-php-dist/pull/431

https://github.com/paketo-buildpacks/php-dist/releases/tag/v2.3.0


Dev tools 2.0

Description
POC to completely remove the need for users to setup the component in their own codebase
Type of change
The change directly hooks into the entry.server and entry.client to completely bypass the need for users to import the devtools into their project.
The devtools are rendered above the root default and are mounted via portal into the document body which should not re-render the dev tools on HMR because the VDOM revalidation should be identical to before
How Has This Been Tested?

Initialize the client and server entries =>you get the devtools.

👎 I want to make the decision to show/hide this component based on a particular request. This is significantly harder with this approach

👎 I want to make the decision to show/hide this component based on a particular request. This is significantly harder with this approach

The branch is not up to date, I decided to keep the default export of the component which will allow you to do so


Change theme of the board in guess the elo

Use the default board theme which chess.com uses

done!!!!!!!! raising pr


Update Mailable.php

Allow ->from(new Address($address, $name)) support again (was ->from($address, $name) in Laravel 8).

Just to be clear, with the Laravel 9, the call to ->from() and similar methods stopped supporting email address and name and started to support only the address itself (without the name). However, it still allows receiving an Address object from Symfony Mailer, which contains both information. However, the normalization process throws an exception when using Address, even though the method says accept.
In this case, I still suggest an update to the guide:
Instead of using ->from($address, $name) use ->from(new Address($address, $name)).

Are we unable to support ->from($address, $name) in Laravel 9? Why do we need to force people to create an Address instance?

@taylorotwell I do not see any problem to keep support to old way (that I personally prefer).
But the current code is:
    public function from(Address|string ...$addresses): static
    {
        return $this->setListAddressHeaderBody('From', $addresses);
    }

To support old way it need be modified.
The PR is only a fix to supports also Address, as this method parameter indicates.

Ah! It seems these methods are provided directly by Symfony Mailer. Anyway, the Laravel Message will create an Address instance and the exception will be throw anyway:
https://github.com/laravel/framework/blob/fbe7ed828819eadabb3cb9f95847a2ffe8846fd6/src/Illuminate/Mail/Message.php#L42-L56

Hmm, so does ->from($address, $name) work? I got a little lost in the last message. What do we need to fix?

Not in fact, because it will throw an exception when you set the $name. As the normalizeRecipient() will not handle the instanceof Address, it will just return the own instance of Address that does not supports $email property (or $name). Then the PR fixes that.

Thanks


[Bug] Error in constant folding when model has dropout operator

I have one problem with constant folding during conversion detr model. When I call bind_params_by_name and apply FoldConstant pass for the module, then I get the following error message:
Traceback (most recent call last):
  File "detr_reproducer.py", line 53, in <module>
    lib = convert_pytorch_model(model)
  File "detr_reproducer.py", line 42, in convert_pytorch_model
    mod = seq(mod)  # The problem is here
  File "/Users/echuraev/Workspace/OctoML/tvm/python/tvm/ir/transform.py", line 130, in __call__
    return _ffi_transform_api.RunPass(self, mod)
  File "tvm/_ffi/_cython/./packed_func.pxi", line 322, in tvm._ffi._cy3.core.PackedFuncBase.__call__
  File "tvm/_ffi/_cython/./packed_func.pxi", line 257, in tvm._ffi._cy3.core.FuncCall
  File "tvm/_ffi/_cython/./packed_func.pxi", line 246, in tvm._ffi._cy3.core.FuncCall3
  File "tvm/_ffi/_cython/./base.pxi", line 160, in tvm._ffi._cy3.core.CALL
tvm._ffi.base.TVMError: Traceback (most recent call last):
  [bt] (8) 9   libtvm.dylib                        0x0000000127d9d68e tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>::VisitExpr(tvm::RelayExpr const&) + 350
  [bt] (7) 8   libtvm.dylib                        0x0000000127d9dda8 tvm::NodeFunctor<void (tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>*)>::operator()(tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>*) const + 440
  [bt] (6) 7   libtvm.dylib                        0x0000000127da129d tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>::InitVTable()::'lambda4'(tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>*)::__invoke(tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>*) + 29
  [bt] (5) 6   libtvm.dylib                        0x0000000127da12e5 tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>::InitVTable()::'lambda4'(tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>*)::operator()(tvm::runtime::ObjectRef const&, tvm::relay::ExprFunctor<void (tvm::RelayExpr const&)>*) const + 53
  [bt] (4) 5   libtvm.dylib                        0x0000000129a54e61 tvm::relay::IndexedForwardGraph::Creator::VisitExpr_(tvm::relay::CallNode const*) + 705
  [bt] (3) 4   libtvm.dylib                        0x00000001298773c0 tvm::AttrRegistryMap<tvm::Op, int>::operator[](tvm::Op const&) const + 32
  [bt] (2) 3   libtvm.dylib                        0x00000001277f5e3b tvm::AttrRegistryMapContainerMap<tvm::Op>::operator[](tvm::Op const&) const + 635
  [bt] (1) 2   libtvm.dylib                        0x0000000127488d95 dmlc::LogMessageFatal::~LogMessageFatal() + 21
  [bt] (0) 1   libtvm.dylib                        0x000000012748c2c1 dmlc::LogMessageFatal::~LogMessageFatal() + 65
  File "/Users/echuraev/Workspace/OctoML/tvm/include/tvm/node/attr_registry_map.h", line 63
TVMError:
---------------------------------------------------------------
An internal invariant was violated during the execution of TVM.
Please read TVM's error reporting guidelines.
More details can be found here: https://discuss.tvm.ai/t/error-reporting/7793.
---------------------------------------------------------------
  Check failed: idx < data_.size() && data_[idx].second != 0 == false: Attribute TOpPattern has not been registered for nn.dropout

I can remove dropout operator by running SimplifyInference pass before FoldConstant. But FoldConstant is externally available transformation, and any function with dropout op will lead to crash of it. This is very suspicious and looks like an issue.
I prepared a simple script for reproducing this problem:
import torch
import tvm
import tvm.testing
from tvm import relay
from tvm.relay import transform
from tvm.relay.build_module import bind_params_by_name

target = "llvm"

class TraceWrapper(torch.nn.Module):
    def __init__(self, model):
        super().__init__()
        self.model = model

    def forward(self, inp):
        out = self.model(inp)
        return (out['pred_logits'], out['pred_boxes'])

def convert_pytorch_model(model):
    torch.set_grad_enabled(False)

    model = TraceWrapper(model.eval())
    model.eval()
    inp = torch.rand(1, 3, 20, 20)

    with torch.no_grad():
        trace = torch.jit.trace(model, inp)

    mod, params = relay.frontend.from_pytorch(trace, [("input0", inp.shape)])

    with tvm.transform.PassContext(opt_level=3):
        mod["main"] = bind_params_by_name(mod["main"], params)
        seq = tvm.transform.Sequential(
            [
                transform.InferType(),
                transform.FoldConstant(),
            ]
        )
        mod = seq(mod)  # The problem is here

        lib = relay.build(mod, target=target, params=params)

    return lib

if __name__ == '__main__':
    # Pytorch model to use
    model = torch.hub.load('facebookresearch/detr', 'detr_resnet50', pretrained=True)

    ### TVM portion ###
    lib = convert_pytorch_model(model)
    lib_name = "out.tar"
    lib.export_library(lib_name)

Ok I will take a look at this

We can add SimplifyInference to prereq passes list in FoldConstant: https://github.com/apache/tvm/blob/4e211a735221a9b9d188422025e2d464e37b3c96/src/relay/transforms/fold_constant.cc#L386
If we do this,
return CreateFunctionPass(pass_func, 2, "FoldConstant", {"SimplifyInference"});

SimplifyInference will automatically run before FoldConstant. But then SimplifyInference would run too many times.

We can ensure that every op has TOpPattern registered

@echuraev I confirmed that https://github.com/apache/tvm/issues/7530 fixes this. But note that this solutions leaves dropout after foldconstant, if that is not desired you need to run SimplifyInference.

@masahi Thank you. I think it is the right fix for this problem.


Docking windows

Would be nice to be able to dock windows (attaching one window to another), being able to drag windows to create tabs so the user can modify the UI as he pleases.
Something like: https://github.com/ocornut/imgui/issues/970
But adding the possibility to attach a window to the left/top/right/down side so it will also resize when the windows application is resized.

Such as something like this?

That looks neat

just an update, it seems that all the custom implementations (by other users) of a tabbed plane are somehow broken or bugged (example)..
I'll keep an eye on this, anyway, consider also the Omar himself is working on a clear solution. Let's see who gets there first and we'll port that..

An update, Javier
According to Omar, tabs or docking windows should land soon in the master branch

Such a good news!! and I've also read about LibGDX integration. That makes me the happiest man on earth.

Another update,
According to this docking tabs is a 2018 goal.
The step in of Blizzard and other major SH in crowfunding shall help a lot in this regard.. 👍

Hi! Friendly reminder that there has been no activity here for over a month and this appears to be fixed. If you wish to keep this open, please respond with what still is an issue, or this will be closed in a week. Thanks!

Oops, I thought you would close it!
Thanks for the work!


Unable to create a user using domain\username format

fixes https://github.com/dnnsoftware/Dnn.Platform/issues/2474

I am totally not sure here, but could this have been intentional so that active directory users could only register accounts through the active directory provider?
Kind of a way to reserve \ for active directory to prevent a user name already being taken when adding active directory to a site.

The main problem is that current implementation blocks customers in few use causes when user is created using 'Add new user' form.
List of unallowed ascii characters was introduced in https://github.com/dnnsoftware/Dnn.Platform/pull/1930 and changed registration behavior. Migration from 9.1.1 to 9.2.2 makes customer unable to proceed with a few critical scenarios.
To my opinion this is kind of regression when some use cases were not considered implementing this change.
Another option is to add additional optional UI field for the domain input.

I would prefer having this regex being stored in the database (HostSettings) or a config file instead of hard coded in the API. Opinions?

@sleupold great idea! I'll change it in that way if no more options/ideas from community.

@sleupold Am I right that the latest script is <IP_ADDRESS>?
https://github.com/dnnsoftware/Dnn.Platform/blob/development/Website/Providers/DataProviders/SqlDataProvider/<IP_ADDRESS>.SqlDataProvider
Or new host settings should go to 09.03.00?

@mikebigun
great, thank you.
it doesn't matter, which file you are using. I suggest 09.03.00, the idea of incremental upgrade files never took off and I am having a better strategy for the future,

Looks like a good solution, allows people who have special needs to override and does not break anything for the others.
However, this same string is used in https://github.com/dnnsoftware/Dnn.Platform/pull/1930/files#diff-d8bb34eba9af04d7a2a2ba4f19dfa0a2
So to prevent having different behaviours when creating and editing usernames (what this change was originally made for), I would also use that host setting there instead of the hardcoded string.
Finally, maybe we should deprecate Globals.glbUserNameRegEx since that is only an empty regex... Opinions?

Hi @valadas it looks like you are checking outdated version. See below
https://github.com/dnnsoftware/Dnn.Platform/blob/2f03c8341ea263616cfee3ea3a14b631f42b94ea/DNN Platform/Library/Security/Membership/AspNetMembershipProvider.cs#L760
We use same validation from the UserController. So, no issues.

@valadas I would not deprecate Globals.glbUserNameRegEx, even if it is an empty string. This could remain as "documented" default, if not overridden in HostSettings.

@mikevigun sorry for that , I did a search and failed to notice it returned an old commit. You are right.
@sleupold I am not familiar enough with the active directory providers to have an opinion on that. My guess is that you can have regular users and AD users and that the AD provider has its own UI where it can set those requirements. But like I said, not familiar enough so my guess could be totally wrong.
However if wrong I still think this PR is an improvement for now and we can create a new issue for the regex?

@valadas fully agree with you. For the new scenarios related to AD we should go with another issue.
With this one, we should unblock those customers who has an issues during registrations after migration from 9.1.1 to 9.2.2.
CC: @daguiler

Do you approve @valadas ?


insufficientFilePermissions","message":"The user does not have sufficient permissions for this file."

A file in Google Drive is owned by user A.  User B is an editor of the file.
User A uses Google Backup & Sync on Windows 10.  User B runs google-drive-ocamlfuse in Linux Mint 20 Cinnamon.
User B can open the file in its related app (Google Earth as it turns out) and can read it fine.  But when user B edits the file, then attempts to save the file, the save fails.
In debug mode, google-drive-ocamlfuse reports in its log:

[858.725819] TID=9538: getattr /PUB
[858.725940] TID=9538: BEGIN: Getting metadata from context
[858.725979] TID=9538: END: Getting metadata: Valid
[858.726009] TID=9538: BEGIN: Loading resource /PUB (trashed=false) from db
[858.726180] TID=9538: END: Loading resource /PUB (trashed=false) from db: Found (id=12, state=Synchronized)
[858.726553] TID=9539: getattr /PUB/AAA BBB GOC Shared library
[858.726621] TID=9539: BEGIN: Getting metadata from context
[858.726644] TID=9539: END: Getting metadata: Valid
[858.726662] TID=9539: BEGIN: Loading resource /PUB/AAA BBB GOC Shared library (trashed=false) from db
[858.726695] TID=9539: END: Loading resource /PUB/AAA BBB GOC Shared library (trashed=false) from db: Found (id=44, state=Synchronized)
[858.727090] TID=9540: getattr /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz
[858.727159] TID=9540: BEGIN: Getting metadata from context
[858.727181] TID=9540: END: Getting metadata: Valid
[858.727199] TID=9540: BEGIN: Loading resource /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz (trashed=false) from db
[858.727290] TID=9540: END: Loading resource /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz (trashed=false) from db: Found (id=597, state=Synchronized)
[858.727685] TID=9541: fopen /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz O_WRONLY,O_APPEND
[858.727756] TID=9541: BEGIN: Getting metadata from context
[858.727779] TID=9541: END: Getting metadata: Valid
[858.727797] TID=9541: BEGIN: Loading resource /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz (trashed=false) from db
[858.727876] TID=9541: END: Loading resource /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz (trashed=false) from db: Found (id=597, state=Synchronized)
[858.728288] TID=9542: flush /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz 0
[858.728374] TID=9542: BEGIN: Loading resource /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz (trashed=false) from db
[858.728459] TID=9542: END: Loading resource /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz (trashed=false) from db: Found (id=597, state=Synchronized)
[858.728834] TID=9543: release /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz O_WRONLY,O_APPEND
[858.728896] TID=9543: BEGIN: Loading resource /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz (trashed=false) from db
[858.728980] TID=9543: END: Loading resource /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz (trashed=false) from db: Found (id=597, state=Synchronized)
[858.766116] TID=9544: unlink /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz
[858.766148] TID=9544: BEGIN: Getting metadata from context
[858.766155] TID=9544: END: Getting metadata: Valid
[858.766161] TID=9544: BEGIN: Loading resource /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz (trashed=false) from db
[858.766207] TID=9544: END: Loading resource /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz (trashed=false) from db: Found (id=597, state=Synchronized)
[858.766230] TID=9544: BEGIN: Trashing file (remote id=1wK3NAu3liaKXSgL7MX8a5IrwKX4OU4IF)
[859.171996] TID=9544: Service error: {"error":{"errors":[{"domain":"global","reason":"insufficientFilePermissions","message":"The user does not have sufficient permissions for this file."}],"code":403,"message":"The user does not have sufficient permissions for this file."}}.
[859.174685] TID=9544: Permission denied: unlink /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz
[881.416144] TID=2: Flushing DB...done

What's happening here?  What is the next test?

[859.174685] TID=9544: Permission denied: unlink /PUB/AAA BBB GOC Shared library/wkp- Great Offley Preston Kings Walden (o AAA<PHONE_NUMBER>36).kmz

Something is trying to delete (unlink) that file and the Drive API reports that the operation is not permetted.


SPIKE: Investigate corner cases around deleting facilities

Background / Description
Before we expose the ability to delete facilities to support in #5847, let's look into some corner cases that could occur when a facility is deleted. These states are already possible because we do delete facilities for support as part of their escalation/support request process so these are essentially existing corner cases that could cause bugs. Let's tighten this up before we expose this as a self-service functionality that we have less visibility over.
Requirements
Understand the current behavior of SR after facility deletion in the following cases:

what happens to pxp flow if patient viewing a result performed at a facility that has since been deleted?
what happens to patient assigned to a facility that gets deleted - what do we see in Edit Patient and can we conduct a test for them from anywhere?

should we warn support before deleting a facility if there are patients only assigned to that facility because they will potentially become untestable?

does deleting a facility impact the result view table? what does the Testing facility column say? does the Testing facility filter dropdown include deleted facilities?
what happens if a user logs in and they have access to no facilities?

Propose solution(s) to preventing us from getting into any bad states when deleting a facility.
Options that might address some of the issues:

prevent deletion if any users are assigned to that facility
ask support to check a box confirming they'd like to transfer any users assigned to that facility to have all facility access, or give a dropdown to select a facility for them to transfer access to

Acceptance Criteria / Definition of Done
Answer the above questions and have a team discussion on proposed solutions
Any necessary followup tickets are created or #5847 is updated with additional detail

Findings (IN PROGRESS)

What happens to pxp flow if patient viewing a result performed at a facility that has since been deleted?

Patient who had test performed at a deleted facility can continue to access their results via the pxp flow as long as the link is not expired

What happens to patient assigned to a facility that gets deleted - what do we see in Edit Patient and can we conduct a test for them from anywhere?

Should we warn support before deleting a facility if there are patients only assigned to that facility because they will potentially become untestable?

Does deleting a facility impact the result view table? What does the Testing facility column say? Does the Testing facility filter dropdown include deleted facilities?

deleting a facility does not impact the result table view
the "Testing facility column" shows the deleted facility name as expected
the "Testing facility dropdown" includes the deleted facility

what happens if a user logs in and they have access to no facilities?

group comments:

do not allow deleting of facility if patient is in the testing queue (show messaging)

confirmation modal on facility deletion:

display number of patients (affected by facility deletion) before deleting a facility (only assigned to that facility)
show warning of # of users that would be affected by facility deletion before deleting a facility (only assigned to that facility)

note: only org admins can see results in a deleted facility

prevent admin from correcting a test result in a deleted facility (please reach out to support msg here)

To address this "prevent admin from correcting a test result in a deleted facility (please reach out to support msg here)"
https://github.com/CDCgov/prime-simplereport/issues/6115


Visualizations in the Argo UI

Summary
Would like to have functionality, that can show generated visualizations (images, videos) inside a workflow in the Argo UI (like Metaflow cards)
https://docs.metaflow.org/metaflow/visualizing-results
https://towardsdatascience.com/integrating-pythonic-visual-reports-into-ml-pipelines-a163d150ed04
It could be integrated in some way with a step, or be a separate step, executed after the necessary artifacts are generated and prepare a HTML/javascript template for visualization.
The visualizations would be available either directly on the "visualization node" in workflow details, or shown under details in the workflows overview page, where one could compare visualizations of multiple workflow runs
Use Cases

Comparing ML pipeline runs from generated charts
Visualizing end results of ML pipeline runs
Debugging workflows where visual artifacts are the most helpful

Message from the maintainers:
Love this enhancement proposal? Give it a 👍. We prioritise the proposals with the most 👍.

Usually, users store results from the steps as artifacts in other storages so you can inspect them from there. It's flexible in terms of the format of the report and how you want to render the report, e.g. static HTML reports or dynamic dashboards like TensorBoard.
It might be useful to allow some HTML/JavaScript templates that are rendered directly in Argo Workflows UI but this would be limited to static reports.

I've thought this would be a neat feature to add. Currently, it is hard to view output artifacts in the user interface. It should be possible to click on them and view them. E.g. in a popup window.

I've thought this would be a neat feature to add. Currently, it is hard to view output artifacts in the user interface. It should be possible to click on them and view them. E.g. in a popup window.

I agree that this would be a great usability enhancement.

We are currently integrating Metaflow with Argo - that would ensure that this functionality is natively available for Argo workflows constructed through Metaflow. Once we have the integration available, I would love to check in and figure out ways to make it a first-class citizen within the Argo UI.

We are currently integrating Metaflow with Argo - that would ensure that this functionality is natively available for Argo workflows constructed through Metaflow. Once we have the integration available, I would love to check in and figure out ways to make it a first-class citizen within the Argo UI.

That's great! Please keep us posted on how the integration goes on https://github.com/Netflix/metaflow/issues/50!

With respect to a UI integration into Argo Server UI,  I can say that with Argo CD, we were able to make the UI dynamically load UI components using a new extension mechanism.
Example of this view can be seen below. This UI is not part of argo CD codebase, it's dynamically loaded at runtime:
https://cd.demo.akuity.io/applications/istio-canary?resource=&node=argoproj.io%2FRollout%2Fdemo-istio-canary%2Fistio-canary%2F0&tab=extension
Perhaps we should consider a similar approach on extending the workflow UI.

See #7177

The argo-server provides an endpoint to get artifacts from a workflow. Click on a node, then choose "inputs and outputs", then choose your output artifact.
Do we need a better way to surface this is the UI? Could someone provide an example?

Showing HTML page with images.

Kind of amazed how popular JSON is.

Any conventional text is supported easily (browsers already support them). JSON is harder, but we already have JSON viewer in the code base (uses Monaco).

Closing out on this weeks work. The UI will allow you display artifacts in the DAG which you can click on. This does not meet all the requests from this issue. Specifically:

We don't provide any special file type like a ModelCard, but it does support HTML. Given than any ModelCard would need to be rendered into HTML, I think this is a good step.
We could support ModelCards or UI extensions in the future.
It makes it easier, but not trivially easy, to compare artifacts between workflow runs. You must exit the workflow to the template list. It is a few clicks.

@alexec Given that model cards are HTML files, we have pretty much everything to support them inside Argo UI. We will follow up when we are ready to spike the effort.


go.dev: prerelease info truncated in version list

---------- Forwarded message ---------
From<EMAIL_ADDRESS>Date: Mon, Apr 20, 2020 at 1:55 PM
Subject: [golang-dev] pkg.go.dev does not display whole version
To: golang-dev<EMAIL_ADDRESS>I have a module using semantic versioning (1.0.0-pre-release+1), which
according to https://semver.org/ should be correct semver. However when
I check my package at pkg.go.dev:
https://pkg.go.dev/mod/git.sr.ht/~graywolf/gomemcache?tab=versions
I see
v1 – git.sr.ht/~graywolf/gomemcache
   v1.0.0 (8786112) – 0 hours ago
   v1.0.0 (58609c4) – 1 hour ago
without listing the whole version string. I think that is kinda confusing. Sincehttps://go.dev/about mentions this mailing list to send suggestiongs to, I thinkit would be nice to list whole version string.
Have a nice day,W.

Thanks for the feedback! The reason this was truncated was to make the version string more readable for pseudoversions, since they can be pretty long. I agree that this is less precise, and we might want to consider display the version string as is.
/cc @spf13 @fflewddur for product/UX input

Agree this needs fixing. I think there is a solution that handles the case of pseudoversions explicitly by shortening that pattern to something reasonable, and then allows for any other versions like this to be displayed.

FWIW: "1.0.0-pre-release+1" is 19 characters, "1.0.0 (8786112)" is 15 characters.  So the difference in visible space is ~4-8 characters AFAICT.

In this case, the full version string would be v1.0.0-pre-release.0.20200420093620-87861123c523. See https://proxy.golang.org/git.sr.ht/~graywolf/gomemcache/@latest.

I see, I misunderstood, this example is itself a pseudoversion, not a released version. It's less clear what to do here. Maybe just truncate the pseudoversion portion of the version string? Not sure if that makes sense or would be hard to do reliably.

@Joanne881107, any ideas? :)

You might consider stripping off the “base” from which the pseudo-version is derived¹ and reporting that along with the commit hash.
That said, I'm not sure what's wrong with showing the complete pseudo-version in the first place...
¹https://github.com/golang/go/blob/e221a75deab7843d5414154000f5bea7abcb60c3/src/cmd/go/internal/modfetch/pseudo.go#L149-L154

There are 2 places we would need to display the version number:

Version info on the header: In this case, it's better to truncate the version string to make it more readable. My suggestion is maybe use "1.1.0-pre-release" instead? Or truncated the string as "1.1.0-pre-release...23", when hover on the string, show a tooltip display the entire string.
Version info in "versions" tab: In this case, I think it's fine to display the entire string.

The suggestions from https://github.com/golang/go/issues/38542#issuecomment-618068063 have been implemented. Logic for the truncated version string is described in https://go-review.googlesource.com/c/pkgsite/+/254578.
See https://github.com/golang/go/issues/42280 as a follow up for usability improvements for truncated version strings.


Added conda installation instructions similar to other dev branches

In the README file, the installation instructions with conda were missing as compared to other dev branches, https://github.com/aerospaceresearch/DirectDemod/tree/Vinay_dev and https://github.com/aerospaceresearch/DirectDemod/tree/Vladyslav_dev.
I have modified the conda env instruction, of installing with an environment.yml file, and have suggested to create an own environment, and installing using pip from requirement.txt file.

Also updated installing the requirements.txt using pip to conda, because earlier was mixing dependencies and breaking the system. (This error might not be faced by everybody, but still using conda as it manages packages better than pip)

Depreciation Warning Added


Prepare e2e test environment part 1 scafolding

Update readme
Update todolist
Update todo list again
Fix job/pod deletion and integration test timing
Scaffolding for prepare environment

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 4 (0.0%)  changed or added relevant lines in 1 file are covered.
6 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.5%) to 38.493%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/kubelayer/kubelayer.go
0
4
0.0%

Files with Coverage Reduction
New Missed Lines
%

pkg/kubelayer/kubelayer.go
1
31.12%

pkg/webhooklistener/webhookreceiver.go
5
82.69%

Totals

Change from base Build<PHONE_NUMBER>:
-0.5%

Covered Lines:
475

Relevant Lines:
1234

💛  - Coveralls


'botfront up' starts but never finishes

Describe the bug
Running botfront up seems to freeze (or is perhaps taking a very very long time).
To Reproduce
Steps to reproduce the behavior:

Installed cli with npm
Run botfront init
Run botfront up --verbose

This starts off the process, downloading images etc. but seems to get stuck after pulling botfront/rasa-for-botfront.
⠦ Starting Botfront...Creating network "botfront-test_botfront-network" with the default driver
⠧ Starting Botfront...Creating volume "botfront-test_botfront-db" with default driver
⠇ Starting Botfront...Building rasa
⠏ Starting Botfront...Step 1/7 : ARG RASA_IMAGE
Step 2/7 : FROM ${RASA_IMAGE}
⠇ Starting Botfront...v1.10.10-bf.3: Pulling from botfront/rasa-for-botfront
⠏ Starting Botfront...

Expected behavior
I expect this process to take less time, or if it is a long process, provide more indication of progress.
Desktop (please complete the following information):

OS: Ubuntu 18.04.5 LTS

Additional context
Docker is version 19.03.6, build 369ce74a3c.
I can see various docker images have been pulled in the process e.g.
botfront/botfront                        v0.27.0             765fbf38e667        9 days ago          593MB
botfront/botfront-api                    v0.27.0             575c689bf333        9 days ago          253MB
botfront/duckling                        latest              257be8a3f16c        4 months ago        120MB

Starting Rasa actually implies downloading the rasa-for-botfront image, which is not clear from the CLI output: Botfront builds an image FROM botfront/rasa-for-botfront.
So it's normal that starting for the 1st times takes longer.
How long did you wait?

Hey, I left it going for a while. It's been about an hour since that last message. Got there in the end though!
    🎉 🎈  Botfront is UP! 🎉 🎈

Just need to be more patient :+1:


docker image doesn't exist

What happened?
 => ERROR [internal] load metadata for mcr.microsoft.com/devcontainers/universal:2            0.2s
------
 > [internal] load metadata for mcr.microsoft.com/devcontainers/universal:2:
------
.devcontainer/Dockerfile:2
--------------------
   1 |     # Note: You can use any Debian/Ubuntu based image you want.
   2 | >>> FROM mcr.microsoft.com/devcontainers/universal:2
   3 |
   4 |     # [Optional] Uncomment this section to install additional OS packages.
--------------------
ERROR: failed to solve: mcr.microsoft.com/devcontainers/universal:2: failed to resolve source metadata for mcr.microsoft.com/devcontainers/universal:2: no match for platform in manifest: not found

What did you expect to happen?
.
How can we reproduce it (as minimally and precisely as possible)?
run this command
docker build -f .devcontainer/Dockerfile -t autogen_base_img https://github.com/microsoft/autogen.git#main
AutoGen version
0.3.1
Which package was this bug in
Core
Model used
No response
Python version
No response
Operating system
No response
Any additional info you think would be helpful for fixing this bug
No response

@rysweet or @kostapetan do you know whats up here?

@minki-j are you trying to use Codespaces or open the repo in a devcontainer?

I can repro locally but no ida what to do next

The error @minki-j described suggests that docker didn't find a suitable image for the platform, which I will speculate is some flavor of macOS.
I did run docker pull mcr.microsoft.com/devcontainers/universal:2 on macOS, Windows and Linux, works on Windows (with linux containers) and Linux, but fails on macOS.
I don't think this is an issue however, as the devcontainer/Dockerfile is used to build a devcontainer, locally or in Codespaces and not to actually build any part of the autogen framework.

ERROR: failed to solve: mcr.microsoft.com/devcontainers/universal:2: failed to resolve source metadata for mcr.microsoft.com/devcontainers/universal:2: no match for platform in manifest: not found
➜  ~ docker build -f .devcontainer/Dockerfile -t autogen_base_img https://github.com/microsoft/autogen.git#main
[+] Building 0.9s (2/2) FINISHED                           docker:desktop-linux
=> CACHED [internal] load git source https://github.com/microsoft/autoge  0.7s
=> ERROR [internal] load metadata for mcr.microsoft.com/devcontainers/un  0.2s

[internal] load metadata for mcr.microsoft.com/devcontainers/universal:2:

.devcontainer/Dockerfile:2
1 |     # Note: You can use any Debian/Ubuntu based image you want.
2 | >>> FROM mcr.microsoft.com/devcontainers/universal:2
3 |
4 |     # [Optional] Uncomment this section to install additional OS packages.
ERROR: failed to solve: mcr.microsoft.com/devcontainers/universal:2: failed to resolve source metadata for mcr.microsoft.com/devcontainers/universal:2: no match for platform in manifest: not found
➜  ~ clear
➜  ~ docker build -f .devcontainer/Dockerfile -t autogen_base_img https://github.com/microsoft/autogen.git#main
[+] Building 0.9s (2/2) FINISHED                           docker:desktop-linux
=> CACHED [internal] load git source https://github.com/microsoft/autoge  0.8s
=> ERROR [internal] load metadata for mcr.microsoft.com/devcontainers/un  0.2s

[internal] load metadata for mcr.microsoft.com/devcontainers/universal:2:

.devcontainer/Dockerfile:2
1 |     # Note: You can use any Debian/Ubuntu based image you want.
2 | >>> FROM mcr.microsoft.com/devcontainers/universal:2
3 |
4 |     # [Optional] Uncomment this section to install additional OS packages.
ERROR: failed to solve: mcr.microsoft.com/devcontainers/universal:2: failed to resolve source metadata for mcr.microsoft.com/devcontainers/universal:2: no match for platform in manifest: not found
➜  ~ docker pull mcr.microsoft.com/devcontainers/universal:2
2: Pulling from devcontainers/universal
What's next:
View a summary of image vulnerabilities and recommendations → docker scout quickview mcr.microsoft.com/devcontainers/universal:2
no matching manifest for linux/arm64/v8 in the manifest list entries
➜  ~
@kostapetan


#39-show all trainees and add trainees and delete trainee-Zobeir

Description
show all trainees and add, and delete trainees and a button to pop up details of trainees, I haven't included any CSS.
Fixes #1
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have carefully reviewed my own code
[ ] I have commented my code
[ ] I have updated any documentation

Code looks good but I dont think it matches the requirements you guys discussed.
You are not importing this into a page so it cant be used by a user therefore it does not fulfill a user story. the data fetching here may be more suitable to a page component, allowing yo to pass data down to multiple children

Thanks for reviewing, this was only frontend to check what it look like and a few days ago. i will change all the code soon


Moving a Directoy into itself creates a recursive file tree

Present in container Digest:sha256:0e01792cdfcb10c6e01fa7a3d4eb27943baf7c0c6f1c87779d014aa4856e6251

Hi, thank for your feedback, I'll fix it in next update

Things are looking really good! If you can find success in scaling to mobile then I will be extremely interested in forking this repo to create a front end file manager for this device, the ReMarkable Tablet, with a proprietary file format and atypical file operations.


Newbie question... how can I avoid "TypeError: Base64 is undefined"

I am learning to use the library, in order to get data from Github and build a dynamic website but...
what am I doing wrong?? This is my html sandbox file:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title></title>
<meta name="description" content="">
<meta name="author" content="">
<link rel="stylesheet" href="">
</head>
<body>
<script src="github.js" type="text/javascript"></script>
<script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script>
<script type="text/javascript">
var github = new Github({
username: 'dalareo',
password: '**********',
reponame: 'wemooc',
auth: 'basic'
});
var user = github.getUser();
user.orgs(function(err, orgs) {});
</script>
</body>

Hi.
If you don't want to use a module loader such as Browserify or RequireJS, you need to use the file called github.bundle.min.js inside the dist folder. By the way, I'm closing this issue as it isn't a bug with the library.

Thanks @AurelioDeRosa

@AurelioDeRosa Including that information in the Read Me would be extremely helpful.. Having to search through closed issues to find out why my implementation wasn't working is troublesome.
I too didn't use a module loader, but wanted to test this out in jsFiddle, and kept getting axios is not defined.
Would you mind adding something about this to the Installation section?


.net missing

Maybe i missed it, but there is  a github for .net as well.
https://github.com/praeclarum/1brc

added you to the org 👍 its sorta a add-it-yourself process lol -- you dont need my approval; go nuts!

@jcbhmr this is not added, also need to update global leaderboard


Inconsistent LICENSE

package.json lists ISC, LICENSE file is Apache-2.0

Thanks for the catch! It should be Apache2.


Implement "source" to include other files

To help avoid duplication of mappings and settings it would be nice if Xvim implemented the :source command which would allow .xvimrc to include the existing .vimrc file (and then override settings):
" In .xvimrc
source ~/.vimrc
iunmap jj

Settings that are not recognized by XVim should be ignored

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/900210-implement-source-to-include-other-files?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github).

This would be a huge improvement. At the moment I can't use my vim config since it's build using source. :+1:

Bump


WT550 missing bolt/rack action

Description
The WT550 is missing the rack and bolt action in the context menu. This makes it hard to reload with some peoples control styles.
It can only be chambered/bolted with pushing the 'activate item in hand'(default Z) key while holding it.
Other guns such as Lecter and MK57 have these which allow chambering the round after a reload on the ground or selectively in your hands or bag/container.
Reproduction
Eject chambered round from WT550 try and use 'activate item in world key'(Default E)
Screenshots

Additional context
Still works and is effective, just not very consistent with other guns.

Dupe of #19891


[SPARK-50437][SS] Reduce overhead of creating deserializers in TransformWithStateExec

What changes were proposed in this pull request?
An optimization that creates deserializers for keys and values at the beginning of a batch.
Why are the changes needed?
Currently, deserializers for key and values are created every time handleInputRows gets called.   The function
ObjectOperator.deserializeRowToObject is called twice do generate the deserializer for the key and value.  The function will do the following things

Generate java code for the deserializer based on input expression and grouping attributes
Compile that java code to java class

The problem is that step 1 will occur every time the function is called.  The compiling the code, i.e. step 2, will only happen once since the generated class will be cached and can be reused.
Step 1 can incur a heavy penalty in situations where handleInputRows will be called many times.  For example, if there are many distinct keys.  Note that handleInputRows is called once per distinct key.
Here is a flamegraph:

Does this PR introduce any user-facing change?
No
How was this patch tested?
Existing tests should suffice
Was this patch authored or co-authored using generative AI tooling?
No

Thanks! Merging to master.


Backfill index on creation

Currently we start building the index from the time it was created, but we should go though all existing data and index it as well.

Feeling like this might be quite complex. Indexing can take an unbounded amount of time, so that has me thinking it will have to be backed by a durable, persistent, job queue kinda setup.

You'd also want it to be non-blocking

I think most DBs block while doing an initial index (or back filling), e.g., (https://docs.mongodb.com/manual/core/index-creation/), but some of the more modern one (Rethink?) do not. The simpler solution might be a good first step.

Our situation might actually be a bit more dangerous though, since we're handing full admin control over to a dev with a client lib. At least they can only mess up their own DB (once ACLs are a thing).


Update Composer dependencies (2022-05-09-00-08)

Visual regression test passed!
View the visual regression test report


@conda-forge-admin rerender

Hi! This is the friendly automated conda-forge-webservice.
I just wanted to let you know that I rerendered the recipe in conda-forge/stackvana-core-feedstock#75.


Can't delete VM with semicolon in VM CID name

We use Azure.
We are trying manually delete VM with semicolon in CID name. This is how Azure CPI does it.
Unfortunately, CLI ignores all the text after semicolon, even if we quote the text.
bosh -d milkweed delete-vm "agent_id:0047cb3f-9185-4d35-9944-8022f7fadf82;resource_group_name:azure-ci-bosh"
Using environment 'https://<IP_ADDRESS>:25555' as client 'admin'

Using deployment 'milkweed'

Continue? [yN]: y

Task 1652

Task 1652 | 12:02:29 | Delete VM: agent_id:0047cb3f-9185-4d35-9944-8022f7fadf82 (00:00:06)
                    L Error: CPI error 'Bosh::Clouds::CloudError' with message 'Invalid instance id (plain) 'agent_id:0047cb3f-9185-4d35-9944-8022f7fadf82'' in 'delete_vm' CPI method (CPI request ID: 'cpi-221869')

But, if we escape it with %3B everything works.
bosh -d milkweed delete-vm 'agent_id:0047cb3f-9185-4d35-9944-8022f7fadf82%3Bresource_group_name:azure-ci-bosh'
Using environment 'https://<IP_ADDRESS>:25555' as client 'admin'

Using deployment 'milkweed'

Continue? [yN]: y

Task 1660

Task 1660 | 12:07:54 | Delete VM: agent_id:0047cb3f-9185-4d35-9944-8022f7fadf82;resource_group_name:azure-ci-bosh
Task 1660 | 12:09:20 | Delete VM: VM agent_id:0047cb3f-9185-4d35-9944-8022f7fadf82;resource_group_name:azure-ci-bosh is successfully deleted (00:00:00)

Task 1660 Started  Mon Jan 21 12:07:54 UTC 2019
Task 1660 Finished Mon Jan 21 12:09:20 UTC 2019
Task 1660 Duration 00:01:26
Task 1660 done

Succeeded

We found this related issue https://github.com/cloudfoundry/bosh-azure-cpi-release/issues/594 where the cpi team state that they don't have plans to change the VM cid format.

Fixed in #513


[Add] MDN web docs

Site URL
https://developer.mozilla.org/en-US/
Description of the above provided site
The MDN Web Docs site provides information about Open Web technologies including HTML, CSS, and APIs for both Web sites and progressive web apps.MDN Web Docs has the most up-to-date and accurate information and the content is presented in an easy-to-understand manner. It is also  available in many languages
Category
Frontend
Sub Category
tutorials , illustration and information
Checklist

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I am willing to work on this issue (optional)
[X] I am a GSSoC'23 contributor

MDN has already been added


[BUG] chip-tool 'Can not decode data' thread stable-data-version 0xff

Reproduction steps
"chip-tool threadnetworkdiagnostics read stable-data-version" fails to decode when the value returned is 255 (the UINT8_MAX).
This issue is seen in certification test TC_DGTHREAD_2_2 sometimes.
This attribute is mentioned by the matter specification as "0x000c StableDataVersion uint8", which seems to match with what is in the codebase:
src/app/zap-templates/zcl/data-model/chip/thread-network-diagnostics-cluster.xml:    StableDataVersion
third_party/zap/repo/zcl-builtin/matter/thread-network-diagnostics-cluster.xml:    StableDataVersion
Bug prevalence
seen twice during testing session
GitHub hash of the SDK that was being used
raspberry pi test harness v2.8.1
Platform
raspi
Platform Version(s)
No response
Anything else?

In the spec this is a nullable uint8.  That means that the allowed range is 0-254, and 255 is not a valid value.
If 255 is actually supposed to be a valid value for this field, the spec needs to change or something...

Probably a similar question on other fields in 11.13.6. Attributes. For example DataVersion seems very related and is also a nullable uint8 (so range 0..254).

All values in range [0, 255] are valid values for the Thread Network Data versions.

I filed https://github.com/CHIP-Specifications/connectedhomeip-spec/issues/7301 for DataVersion and StableDataVersion, but this issue may affect other Thread Network Diagnostics attributes as well....


how to calculate the position of keypoint in image?

Hi, can you provide the function/script to calculate position of key point.(ex: nose (x:200,y:150),left_ear((x:220,y:145)...) like this from the landmarks.

Hi @siva-wellnesys, Could you please elaborate your use case with complete details. And what is the use case your looking from above. Thanks!


Build/Plug-in system does not support CUDA

The current GCC toolchain does not support building/linking CUDA code on Windows platforms due to a requirement for MSVC. Building CUDA code within the plug-in system will also require the application of custom-build rules for plug-ins.
I have volunteered to create an alternative cmake build system to support this.

looking forward to the PR