Setup Docsy as a submodule linking to the latest official release

Currently themes/docsy contains a copy of the Docsy repo files. That shouldn't be the case. Instead, setup the use of Docsy via a Git submodule.

PS C:\Users\asus\OneDrive\Documents\Opensource\myproject> git submodule status
>>
 309da207e5deeda762348bfd0cc32367c5565a1e themes/docsy (v0.10.0-16-g309da20)

Well done. Closing since this has been fixed.


session restarts

Target PC: Ubuntu 17.04, xrdp <IP_ADDRESS>, xorgrdp 0.2.3 (built from src)
Client PC: Win 10, Win 7, Ubuntu 17.04 (Remmina 1.2.0-rcgit-20 (git rcgit-20))
When I start RDP session from Linux, I can connect to this session from Win*
But when I start RDP session from Remmina and then try to connect from Win*, it seems, that xrdp daemon is restarted automaticly.

i see high CPU usage by XRDP (using htop)

It looks like you are logging in as user www_adm, that's ok.
What does it mean "start RDP session from Linux" ? Do you mean you use xfreerdp at command line?
Remmina should be using freerdp too.
Do you think the high CPU usage to causes systemd to restart xrdp?
Do do you see the high CPU usage after the restart?

"start RDP session from _____ "  means, that i reboot target pc, and connect to it using rdp from ____
I dont't have ideas about what cause xrdp to restart.
Can you tell, where xrdp store its logs? may be i will help me to find out the reason

Thanks in advance.

[20170919-07:49:35] [INFO ] A connection received from <IP_ADDRESS> port 54830
[20170919-07:49:35] [INFO ] ++ reconnected session: username www_adm, display :11.0, session_pid 1931, ip <IP_ADDRESS>:64627 - socket: 12
[20170919-07:49:35] [DEBUG] Closed socket 8 (AF_INET <IP_ADDRESS>:3350)
[20170919-12:27:18] [INFO ] A connection received from <IP_ADDRESS> port 59398
[20170919-12:27:18] [INFO ] ++ reconnected session: username www_adm, display :11.0, session_pid 1931, ip <IP_ADDRESS>:52661 - socket: 12
[20170919-12:27:18] [DEBUG] Closed socket 8 (AF_INET <IP_ADDRESS>:3350)
[20170919-12:28:11] [CORE ] window manager (pid 1932) did exit, cleaning up session
[20170919-12:28:13] [INFO ] calling auth_stop_session and auth_end from pid 1931
[20170919-12:28:13] [INFO ] ++ terminated session:  username www_adm, display :11.0, session_pid 1931, ip <IP_ADDRESS>:46466 - socket: 12

AT THIS POITN COONECTION WAS NOT KEEPED, BUT TERMINATED, BUT ALL PREVIOUS TIME IT WAS KEPT ALIVE :(
[20170919-15:06:30] [INFO ] A connection received from <IP_ADDRESS> port 33206
[20170919-15:06:30] [INFO ] ++ created session (access granted): username www_adm, ip <IP_ADDRESS>:58036 - socket: 12
[20170919-15:06:30] [INFO ] starting Xorg session...
[20170919-15:06:30] [DEBUG] Closed socket 9 (AF_INET <IP_ADDRESS>:5912)
[20170919-15:06:30] [DEBUG] Closed socket 9 (AF_INET <IP_ADDRESS>:6012)
[20170919-15:06:30] [DEBUG] Closed socket 9 (AF_INET <IP_ADDRESS>:6212)
[20170919-15:06:30] [DEBUG] Closed socket 8 (AF_INET <IP_ADDRESS>:3350)
[20170919-15:06:30] [INFO ] calling auth_start_session from pid 12737
[20170919-15:06:30] [DEBUG] Closed socket 7 (AF_INET <IP_ADDRESS>:3350)
[20170919-15:06:30] [DEBUG] Closed socket 8 (AF_INET <IP_ADDRESS>:3350)
[20170919-15:06:31] [INFO ] Xorg :12 -auth .Xauthority -config xrdp/xorg.conf -noreset -nolisten tcp -logfile .xorgxrdp.%s.log
[20170919-15:06:31] [CORE ] waiting for window manager (pid 12738) to exit


Cannot connect through ssh

After setting up Gogs, I tried connecting to it with ssh. I added my key through the web interface, the user's authorized_keys file was updated, but I cannot connect:

ssh -t<EMAIL_ADDRESS>Connection closed by x.x.x.x

In /var/log/system.log this was the output:
Aug  3 12:27:02 home com.apple.xpc.launchd[1] (com.openssh.sshd.0875FFE6-240A-4D75-AAC0-53E6AC317646): Service instances do not support events yet.
Aug  3 12:27:02 home sshd[419]: reverse mapping checking getaddrinfo for x.x.x.x.x [x.x.x.x] failed - POSSIBLE BREAK-IN ATTEMPT!
Aug  3 12:27:02 home sshd[419]: fatal: Access denied for user go by PAM account configuration [preauth]
Aug  3 12:27:02 home com.apple.xpc.launchd[1] (com.openssh.sshd.0875FFE6-240A-4D75-AAC0-53E6AC317646[419]): Service exited with abnormal code: 255
My sshd_config has "UsePAM yes". I can also login to the server via ssh with another user.
Any ideas?

You cannot do anything other than Git operations(push/pull) for the user who is running Gogs. I'm not sure what exactly does ssh -t do, but yes, login is no longer possible.

I get the same error when trying this:
git clone go@x.x.x:myuser/repo.git
ssh -t should execute this command:
/Users/go/services/gogs/gogs serv key-2 --config='/Users/go/services/gogs/custom/conf/app.ini'
which provides this output:
Hi myuser ! You've successfully authenticated, but Gogs does not provide shell access.
If this is unexpected, please log in with password and setup Gogs under another user.

Well... it seems more like a SSH server config issue than a Gogs SSH handle issue to me. If something is wrong with Gogs SSH handle, that's all about Git errors, not like this kind of system auth.
Try to login this user(who runs Gogs) and see what server gives back to you?

You're absolutely right. It turns out that when I enabled "Remote Login", I enabled it only for Administrators. Now it's for all users and the ssh git is working. Thanks!

No problem! :beer:


Additional detection

This issue first came to my attention from a Google notification of a suspicious app on my Windows PC.
Having just run the removal tool 1 of 12 issues remain/are present.
No reputable AV vendor flagged anything of concern when I checked.
Changing passwords and setting two factor backup again per Google recommendations the problem remained present. Additional detections were notified by Google.
I had identified the probable device, though my Chrome browser syncs with the family PC too and neither were detecting anything malicious so couldn't be 100% sure about the culprit device.
The only Google services running from these two devices to which I'm already signed in are GDrive (no auto-startup), Chrome, Brave and PlayStore via the WSA Project.
I delved a little further paying attention to my local app data folders for Google and Brave. Zipped them up and uploaded them to VirusTotal. Chrome came back clean, Brave (my default browser) however flagged Win32.Troj.Undef.(kcloud)
There maybe no connection, however it's worth pointing out to others to follow the above.
Lesson to be learnt here is, if you don't already have an AdSense account and even if you don't intend to in the future, create one and protect it with two factor. Two factor isn't demanded for the first two weeks so even if you have two factor enabled it isn't enforced for the first two weeks.
The threat actor was able to hijack my browser session, create an AdSense account by inviting ly4997410[at]gmail[dot]com, then with existing access set themselves as an admin and commenced an AdSense campaign with the intention of funding it from my saved payment methods.
Thankfully in my case Google prevented use of a newly created AdSense account, there is no financial loss. I do know from my Google activity report my Drive files and pictures were accessed.

Hey thanks for your input. Since I'm not (yet) very deep into Cyber/Info Sec, I would like to Include this whole reply of you in the README of this Project. If you have anything that may can help on the detection & cleanup I would really appreciate your input.
Sorry for the late response. Just checked random here on github and saw this comment as im answering rn ^^"

Sorry for the delay in getting back to you. I can't think of anything else of benefit other than the same 2FA weakness is present with YouTube, so you may want to include this too.
Sadly while I'm computer literate, I too have limited malware understanding and cannot be of much help in this field.

Close. Keep it for documentation.


Meta-issue: Update all code to use optional new/const

Tracking issue for updating all our Flutter example code to use optional new/const (now that we are unblocked by the needed lint https://github.com/dart-lang/sdk/issues/32602 being available):

[ ] Flutter.io homepage
[ ] flutter/flutter/examples
[ ] flutter/plugins/examples
[ ] flutter/packages/examples

Thanks, I reactivated https://github.com/dart-lang/sdk/issues/32596

@a14n : once the new linter makes it's way into a vended SDK will we be good to make these changes?

I tried to remove unnecessary new/const from flutter codebase and faced a new issue in analyzer dart-lang/sdk#33647

Optional const landed in #19342

@a14n: this is fantastic.  Remind me the plan for unnecessary_new?

@a14n do we have the no new lint?

unnecessary_const landed with #20103 and flutter/plugins#682.
unnecessary_new is waiting for reviews with #20138 and flutter/plugins#701.

Marking flutter/packages done as https://github.com/flutter/packages/pull/4 was completed

Assigning to self as only item left is updating images on flutter.io

Actually there's still flutter/plugins#818

This should be done now


Upgrade the otel to version 1.16.0/0.39.0

@joshcarp can you take a look at this?

@akshayjshah and @joshcarp the PR Approval Bypass Notifier step seems broken.😉

https://github.com/bufbuild/connect-opentelemetry-go/releases/tag/v0.3.0 has been released


connect database and write custom directives

Dear Eric,
This looks extremely cool. I'm keen to get into Rust for data stuff, and I like Datomic, but dislike JVM kludge, so I found your project.
Would you be openminded to enable users to connect this to a database?
Perhaps something like GraphQL resolvers would work - just a function to fetch the data for various fields
Then we could run Datalog queries on something like RedisGraph, DynamoDB, Postgres, or use them to transform data before we save it, that sort of thing
Also, database connections ideally need some flexible way to define fine-grained authorization rules. I like to do this with functional programming inside the data schema itself, using custom GraphQL Directives
EX:
   @author (check if the user is the author of an object)
   @acl (check if the user is in the access control list)
   @admin (check if the user has a certain role)

this could be super powerful in context of Datalog as we could use deductive logic queries to decide who can access what data. Prevents data breaches and allows multi-tenant apps while protecting users' privacy
What do you think about making something like CrepeQL, a mixture of the best of Datalog and GraphQL, to run Datalog on arbitrary databases, with fine-grained authorization, all compiled nicely with Rust?
Thanks in advance for your reply,
Bion

Thanks for the idea! I've also been wondering how to connect Datalog with table databases, and it seems tricky. I believe Datomic uses some kind of normalization to represent objects in narrow entity-attribute-value format (plus a timestamp), which makes it possible to query things naturally in Datalog as a kind of 4-tuple. This is a bit different from the wide format that Crepe assumes. It might require a different approach to support named (and not just ordered) columns.
I previously read this paper about building a Datalog engine on a single node that executes queries through SQL translation, which you might find interesting. Also agree that there's potential to use Datalog for authorization rules, not sure how the design would work in the case of GraphQL though. The JavaScript package manager Yarn has a Prolog validation engine, for instance.
Let me know if you have more concrete ideas about database query languages based on Datalog. Would be happy to discuss more and see if there are ideas for a potential project here.

https://pypi.org/project/pyDatalog/ hooks up to SQL, what if we looked at that, but instead of SQL, we could just make arbitrary "resolver" type pluggable thing? python being simpler than rust, would possibly be a quick way to understand how this might be understood
key concepts would be --

resolvers -  a way to hook fields to the database with rust functions
dataloaders - a way to batch + cache queries to avoid spamming the DB

I'm a big fan of the book "thinking in systems" by donella meadows and the terminology of systems dynamics.
We could simply pick the right abstraction: define Source (trait), Inflow (fn), Stock (struct), Outflow (fn), Sinks (trait)
Source -> Inflow -> Stock -> Outflow -> Sink
Source implements "get" or "take" and Sink implements "set" or "send"
Inflow maps from a source type onto a stock type.
Outflow maps from a stock type onto a sink type.
Stock can implement one or more query languages. Datalog is cool, as is Cypher, SQL would be a no-brainer, Redis commands are legit, Falcor's virtual json model is pretty cool, there's a lot of different ideas for that.
The stock could be any type we want, as long as it's easy to hook up to Crepe!
Then we could just go nuts and define a lot of different sources, sinks, flows, and reuse them, hook them together. Information System Dynamics
Another legit inspiration would be ROAPI, built on Arrow and Datafusion https://roapi.github.io/docs/index.html

Anyway, perhaps that's a different project, a compute graph for dataflow, but it sure sounds fun to make :) now I just gotta learn rust!

the pyDatalog author said in git issues this was a good version before he tried a big rewrite that didnt pan out
here's how he connected the objects in datalog to SQL
https://github.com/pcarbonn/pyDatalog/blob/5a410380fa51f5e2a944b1f12c535c0f86282fa3/pyDatalog/pyDatalog.py#L305
""" ****************** support for SQLAlchemy ***************** """

class sqlMetaMixin(metaMixin, DeclarativeMeta):
    """ metaclass to be used with Mixin for SQLAlchemy"""
    pass

""" attach a method to SQLAlchemy class.attribute,
    so that it can answer queries like class.attribute[X]==Y"""
def InstrumentedAttribute_getitem(self, *args):
    cls = self.class_
    method = self.key
    return type(cls).__getattr__(cls, method).__getitem__(*args)
InstrumentedAttribute.__getitem__ = InstrumentedAttribute_getitem

TLDR: he used an ORM

@bionicles are you aware of https://github.com/TimelyDataflow/differential-dataflow? it allows you to express, as far as I'm aware of, anything datalog-ish, and it is trivial to connect it to a database.
Couldn't const generics be used in order to generate compile-time code with respect to some specific database connection? Sorry if I'm grossly misunderstanding what's the actual use case of const generics.

represent objects in narrow entity-attribute-value format (plus a timestamp), which makes it possible to query things naturally in Datalog as a kind of 4-tuple.

This reminds me of how TerminusDB's storage strategy. TerminusDB is an rdf-oriented graph database built with rust and prolog and uses a custom storage format. The format stores 4-tuples (5-tuples?) in columns of references into an array of values, which are compressed after running the references through two passes of delta encoding (taking the difference between adjacent references). I hope that description is sensible.
They claim 700x compression ratio for tuples using this method. This seems like a good starting point for a compressed representation of multi-tuples to which are suitable to be committed to durable storage.
https://github.com/terminusdb/terminusdb/blob/dev/docs/whitepaper/terminusdb.pdf


Enviroment tab in error page middleware

This error page middleware is a port of the katana error page middleware where OWIN environment existed. So we had a Environment tab in the error page output listing all the environment variables. In Aspnet vNext there is no environment but we have features.
What do we do with this Environment tab in the error page. Options

Remove it as it not relevant any more
Provide any other information like features - Will that be any useful for developer?

Just remove the tab.


Promises not handled in profiler related files

WARNING: D:/azuredatastudio/src/sql/workbench/parts/profiler/browser/profilerActions.contribution.ts:61:5 - Promises must be handled appropriately
WARNING: D:/azuredatastudio/src/sql/workbench/parts/profiler/browser/profilerActions.ts:295:4 - Promises must be handled appropriately
WARNING: D:/azuredatastudio/src/sql/workbench/parts/profiler/browser/profilerColumnEditorDialog.ts:339:4 - Promises must be handled appropriately
WARNING: D:/azuredatastudio/src/sql/workbench/parts/profiler/browser/profilerCopyHandler.ts:26:3 - Promises must be handled appropriately
WARNING: D:/azuredatastudio/src/sql/workbench/parts/profiler/browser/profilerEditor.ts:349:5 - Promises must be handled appropriately
WARNING: D:/azuredatastudio/src/sql/workbench/parts/profiler/browser/profilerEditor.ts:435:3 - Promises must be handled appropriately
WARNING: D:/azuredatastudio/src/sql/workbench/parts/profiler/browser/profilerEditor.ts:436:3 - Promises must be handled appropriately
WARNING: D:/azuredatastudio/src/sql/workbench/parts/profiler/browser/profilerEditor.ts:456:4 - Promises must be handled appropriately
WARNING: D:/azuredatastudio/src/sql/workbench/parts/profiler/browser/profilerInput.ts:64:3 - Promises must be handled appropriately
WARNING: D:/azuredatastudio/src/sql/workbench/parts/profiler/browser/profilerTableEditor.ts:262:6 - Promises must be handled appropriately

Closing older engineering focused issues.  We'll address through related customer scenario-focused issues.


[release-4.14] OCPBUGS-22304: cancel button in the create policy form

cherry-pick of https://github.com/nmstate/nmstate-console-plugin/pull/80

/jira refresh

/retest

/retest


Add a LICENSE file, please

Hello!
I wanted to express my appreciation for your library; it's undoubtedly an impressive piece of work. However, there's a single issue that is preventing me from integrating it into my project – the absence of a LICENSE file.
I cannot stress enough the significance of a proper software license. It serves as a protective measure for both you, as the developer, and the users of your clients. By having a clear and well-defined license in place, you can mitigate potential legal complications down the line and establish a transparent framework for the usage and distribution of your software.
Incorporating a LICENSE file is a standard practice in the open-source community, and it provides users with the information they need to understand their rights and responsibilities when utilizing your library. Furthermore, it enables others to contribute to your project while adhering to the terms you set forth.
I kindly urge you to consider adding a LICENSE file to your repository. This action not only safeguards your work but also encourages wider adoption and collaboration. There are several widely-used open-source licenses available, such as the MIT License, Apache License, and GNU General Public License, each with its own set of conditions. Selecting an appropriate license for your project is an essential step towards fostering a vibrant and engaged user community.
Personally, I recommend MIT license, but you are free to choose https://choosealicense.com/
Thank you once again for your remarkable library. I genuinely believe that addressing this licensing matter will enhance its appeal and utility for potential users like me.

Hello, I hope you are well.
I would like to say that I am very grateful for the point of view. I apologize for the delayed response. But, I already added the LICENSE as you recommended.
Thank you one more time.


Run capability test with latest spring version using more agents

Description
Run capability test with latest spring version using more agents
All SDK Contribution checklist:

[x] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[x] I have read the contribution guidelines.

General Guidelines and Best Practices

[x] Title of the pull request is clear and informative.
[x] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

Hi @alzimmermsft, @conniey, @g2vinay, @srnagar, can any of you please review this PR? Thanks in advance!


Record field accessor functions not transpiled

Many thanks for all your great work on TeaVM.
I am trying to make use of Java 17 Records with TeaVM 0.8.1, as per commit f0d805f.
I don't seem to be able to access the fields of the record, either via the implict record accessor or by providing an explicitly defined accessor method.
java.lang.RuntimeException: (JavaScript) ReferenceError: cepus_ColumnDefinition_field is not defined
From ColumnDefiniton.java (additional fields omitted for brevity):
public record ColumnDefinition(
    String field,
    ...
) {}

From classes.js:
var jl_Record = $rt_classWithoutFields();
function jl_Record__init_($this) {
    jl_Object__init_0($this);
}
function cepus_ColumnDefinition() {
    var a = this; jl_Record.call(a);
    a.$field0 = null;
    ...
}
function cepus_ColumnDefinition__init_(var_0, ...) {
    var var_14 = new cepus_ColumnDefinition();
    cepus_ColumnDefinition__init_0(var_14, var_0, ...);
    return var_14;
}
function cepus_ColumnDefinition__init_0($this, $field, ...) {
    jl_Record__init_($this);
    $this.$field0 = $field;
    ...
}

// The function cepus_ColumnDefinition_field does not exist in classes.js but it is called several times, as below:
cepus_ColumnDefinition_field($obj)

We are building with Apache Ant + Ivy using the following dependencies:
<!DOCTYPE ivy-module [
    <!ENTITY teavm.version "0.8.1">
]>
<dependency conf="tea-deps->default" org="org.teavm" name="teavm-classlib" rev="&teavm.version;"/>
<dependency conf="tea-deps->default" org="org.teavm" name="teavm-jso" rev="&teavm.version;"/>
<dependency conf="tea-deps->default" org="org.teavm" name="teavm-core" rev="&teavm.version;"/>
<dependency conf="tea-deps->default" org="org.teavm" name="teavm-jso-apis" rev="&teavm.version;"/>
<dependency conf="tea-deps->default" org="org.teavm" name="teavm-cli" rev="0.7.0"/>

I have just read this.
We use TeaVMRunner in our Ant build. If this is an unsupported build workflow, maybe that is the problem?

For me that works. The presence of field accessors, as well as other methods, depend not on how you declare them, but how you access them. Can you please provide self-contained example to reproduce the problem?

@ianmjackson you should use TeaVM API rather than CLI to integrate with build systems. See TeaVMTool class and please look through sources of Maven and Gradle plugins respectively. I guess you are trying to use CLI artifact as a standalone JAR, which is not the case any more.


fix(speaker-detail-module/navigation): Fixed the back navigation in the header of speakers page

Fixes https://github.com/psf/pycon-us-mobile/issues/60
Changes:

Added a query param to navigate between the session detailed page and the speakers page.
It as well covers the use case with opening a session page from the speakers tab, then going to speaker detailed page and then back.

Manual testing guide:

Open app/tabs/schedule
Click on one of the sessions that has speakers -> e.g. /app/tabs/schedule/session/26
Click on the speaker's page -> /app/tabs/schedule/speakers/speaker-details/98
Now click the back navigation button in the header
You should be brought back to the /app/tabs/schedule/session/26. (before it would be /app/tabs/speakers)
Open /app/tabs/speakers now.
Open one of the sessions for one of the speakers -> e.g. /app/tabs/speakers/session/75.
Now click on the speaker -> you will be redirected to /app/tabs/schedule/speakers/speaker-details/10.
Press back -> you should be brought back to /app/tabs/speakers/session/75. Before it would be /app/tabs/schedule/speakers/.

Context
⚠  I am absolutely terrible in front-end and never worked neither with ionic nor with Angular on top of it, sorry in advance if this solution seems too dummy 😄
At first I thought this is the only one solution, meanwhile later on I checked more in Angular + Ionic documentation.
It seems that issue happens because Angular requires nesting routes in order to preserve the history of navigation stack, otherwise it redirects to a root route that doesn't match a prefix of the current component hence causes reset of a navigation stack history.
The second option to solve it is by creating a separate route nested inside the schedule prefix. (similar to what is done with sessions in https://github.com/psf/pycon-us-mobile/blob/ea706d6f7b9df936bd53eab190d8243cb47ba732/src/app/pages/tabs-page/tabs-page-routing.module.ts#L43)
Meanwhile imo it is a bad practice leading towards more bugs, because then it introduces circular dependencies between different url prefixes.
Probably there is a more elegant way we could do it 🙂
You can find a diff for main for the second option below ⬇
diff --git a/src/app/pages/session-detail/session-detail.html b/src/app/pages/session-detail/session-detail.html
index aab7c842..634a9469 100644
--- a/src/app/pages/session-detail/session-detail.html
+++ b/src/app/pages/session-detail/session-detail.html
@@ -30,7 +30,7 @@
           <ion-col size="12" size-md="6" *ngFor="let speaker of session.speakers">
             <ion-card class="speaker-card">
               <ion-card-header>
-                <ion-item detail="false" lines="none" class="speaker-item" routerLink="/app/tabs/speakers/speaker-details/{{speaker.id}}">
+                <ion-item detail="false" lines="none" class="speaker-item" routerLink="/app/tabs/schedule/speakers/speaker-details/{{speaker.id}}">
                   <ion-avatar slot="start">
                     <img [src]="speaker.profilePic" [alt]="speaker.name + ' profile picture'">
                   </ion-avatar>
diff --git a/src/app/pages/tabs-page/tabs-page-routing.module.ts b/src/app/pages/tabs-page/tabs-page-routing.module.ts
index db1b896f..fc1ab283 100644
--- a/src/app/pages/tabs-page/tabs-page-routing.module.ts
+++ b/src/app/pages/tabs-page/tabs-page-routing.module.ts
@@ -2,8 +2,6 @@ import { NgModule } from '@angular/core';
 import { RouterModule, Routes } from '@angular/router';
 import { TabsPage } from './tabs-page';
 import { SchedulePage } from '../schedule/schedule';
-import { ScheduleListPageModule } from '../schedule-list/schedule-list.module';
-

 const routes: Routes = [
   {
@@ -20,7 +18,11 @@ const routes: Routes = [
           {
             path: 'session/:sessionId',
             loadChildren: () => import('../session-detail/session-detail.module').then(m => m.SessionDetailModule)
-          }
+          },
+          {
+            path: 'speakers/speaker-details/:speakerId',
+            loadChildren: () => import('../speaker-detail/speaker-detail.module').then(m => m.SpeakerDetailModule)
+          },
         ]
       },
       {
@@ -46,7 +48,7 @@ const routes: Routes = [
           {
             path: 'speaker-details/:speakerId',
             loadChildren: () => import('../speaker-detail/speaker-detail.module').then(m => m.SpeakerDetailModule)
-          }
+          },
         ]
       },
       {

🙈 linting is my fault


add differentiable molecular simulation repo

We include our code for running molecular simulation differentiably in Pytorch:
https://arxiv.org/abs/2003.00868

Thank you.

Thank you.


dependencies clone error

dependencies can not be download correctly

Cloned repo and got 1.3 GB of junk* :( that seemed pretty unnecessary for what seems to be a tiny library.
As dution89630 may suggest what resulted wouldn't build a VS project with CMake, .\dependencies\harfbuzz\src\ was missing 3 files: "hb-ot-shape-complex-use.cc", "hb-ot-shape-complex-use-table.cc" and "hb-ot-var.cc"
And the CMakeLists.txt file from Motive is broken -
"include\motive\spring_init.h" is misspelled as "include/motive/sprint_init.h" (who checks in a non-working make file?)
NB: while I'd like to report this on the google/motive project it seems issue reporting is not enabled there (hence reporting it upstream/here shall have to suffice I guess)
*do we really need java-cardboard in this immediate mode GUI library?! It accounted for like 400MB of the junk and seems really out of place.

Some links can not be reached. such as hyphenation-patterns, webp etc

Sorry then Dution89630, I think my issues may have been different, git cloned without any apparent issue with hyphenation-patterns or webp for me.
My copy of Harfbuzz turned out to have more missing files, but after patching these in from a zip of that project correcting the issue with motive's build above and the build of gumbo-parser as I detailed on issue #13 I was able to build and run the examples using Visual Studio (2017)


Way to bind custom functions for buttons?

when we have multiple buttons in a single form, want to bind functions for each button, I cannot see there is a way.

Can you give me an example?
One simple way to handle this is to add the buttons in your own component, separate from the generated form. Though in that case you wouldn't be able to place them in between other automatically generated form controls.
If you'll post a schema and layout, with the buttons you want, and a description of what you'd like each button to do, then I can tell you if there's a way to make the buttons do what you want.

Hey @dschnelldavis Thanks for your comment!
I just created a scenario likely to my real-time need,
any suggestion is appreciated. (I'm not willing to move my buttons outside of the form)
{
"schema": {
"type": "object",
"properties": {
"name": {
"notitle": true,
"placeholder": "Full Name",
"type": "string",
"fieldHtmlClass": "error-red",
"validationMessage": "Required",
"feedbackOnRender": true
},
"addressLine1": {
"notitle": true,
"fieldHtmlClass": "error-red",
"placeholder": "Address Line 1",
"type": "string",
"validationMessage": "Required",
"feedbackOnRender": true
},
		"city": {
			"notitle": true,
			"fieldHtmlClass": "error-red",
			"placeholder": "City",
			"type": "string",
			"validationMessage": "Required",
			"feedbackOnRender": true
		},
		"zip": {
			"notitle": true,
			"fieldHtmlClass": "error-red",
			"placeholder": "Zip/Postal Code",
			"type": "string",
			"pattern": "^[0-9]{5}(-[0-9]{4})?$",
			"patternValidation": "Please enter valid zip code.",
			"validationMessage": "Required",
			"feedbackOnRender": true
		}
	},
	"required": [
		"name",
		"city",
		"zip"
	]
},
"form": [{
		"type": "section",
		"htmlClass": "col-xs-12 no-padding address-component",
		"items": [{
				"type": "div",
				"htmlClass": "col-xs-12 col-sm-4 col-md-3",
				"items": [
					"name"
				]
			},
			{
				"type": "div",
				"htmlClass": "col-xs-12 col-sm-4 col-md-3",
				"items": [
					"addressLine1"
				]
			},

			{
				"type": "div",
				"htmlClass": "col-xs-12 col-sm-4 col-md-3",
				"items": [
					"city"
				]
			},

			{
				"type": "div",
				"htmlClass": "col-xs-12 col-sm-4 col-md-3",
				"items": [
					"zip"
				]
			}
		]
	},
	{
		"type": "div",
		"htmlClass": "col-xs-12 no-padding no-margin",
		"items": [{
			"type": "div",
			"htmlClass": "col-xs-6 no-margin",
			"items": [{
					"type": "submit",
					"style": "btn blue-button right no-margin",
					"title": "save Address",
                                            "onClick":"someExpression()"
				},
				{
					"type": "button",
					"style": "btn blue-button right no-margin",
					"title": "Verify Address",
                                            "onClick":"someOtherExpression()"
				}
			]
		}]

	}
],
"data": {},
"model": {}

}

Hi,
I do have the same requirement and like your library. I would be willing to spend some time to implement the validationMessage (as stated in json-schema-form standard). Could you direct me on how and where in the code you would add this feature ? It seems that jsf.formatErrors relies on the control.options.errorMessages, but it would need to scan the schema or layout in order to find the specific error messages and add them.
Thanks i advance

Same issue here - I want to have simple CRUD buttons for Add, Update, Delete, Search, etc...  I need to be able to capture the events for each button to take appropriate actions...
anyone find a solution yet?

I found this library pretty useful, but I stuck on the same requirement to have multiple buttons. Is there any way so that  I create them myself outside the form schema and upon clicking them forms gets submit and all the validation for the fields get applied?


Support parameters such as ntree_limit when predict in xgboost

In my scene, I get a model file in xgboost format, I need to deploy the model and predict some score. While I need to set ntree_limit when predict but I got TypeError:
TypeError: predict got an unexpected keyword argument 'ntree_limit'

Below is the example I provided:
import pandas as pd
from xgboost import XGBClassifier
from mars.learn.contrib import xgboost as xgb
from sklearn import datasets

dataset = datasets.load_breast_cancer()
y = dataset['target']
x = pd.DataFrame(dataset['data'],columns=dataset['feature_names'])

model = XGBClassifier()
model.fit(x,y)
print(model.predict(x[:10],ntree_limit=30))
model.save_model('mars_try.model')

mars_model = xgb.XGBClassifier()
mars_model.load_model('mars_try.model')
mars_model.predict(x[:10],ntree_limit=30)

Is it possible to parameters such as ntree_limit when predict in xgboost in Mars?

Yeah, I think it's not hard to add the argument, we will support it ASAP.

Yeah, I think it's not hard to add the argument, we will support it ASAP.

thanks！

Since I am fixing some issue in XGBoost(#1966), I added the support for extra arguments in predict without an effort, this PR will be back ported to v0.6 branch, and will be included in v0.7.0a6 as well as v0.6.5 .


Add default for record_mode from environment variable

See #189

This is untested but I believe it should work.

I have a very weak preference for not including this just because it is SO easy to set up yourself. I guess it doesn't really hurt. @kevin1024 I'll leave this one up to you

Yeah, I am against merging this just because it is limited to one variable.
I'm not against trying to add an envvar-based configuration scheme, but we would need a good plan for that that (some kind of naming scheme?  A way to make it more explicit?)
I think adding just this one case would be confusing (why can I only change this one piece of config from the environment and not anything else?)
Closing for now, but I am open to discussion about building an envvar config scheme.  In the meantime, you can use the technique I showed in #189.


Fix REPL exception when first brought up on debugging UI context

#339
@AndreSayreMSFT @HuanhuanSunMSFT
We don't need to refresh prompt in this case as the debugging session will do it later anyway

Looks good!


Note scanner

Description
User can upload written notes and the app scans it using libraries like:

https://github.com/jhansireddy/AndroidScannerDemo
https://github.com/ctodobom/OpenNoteScanner

Where should the icon for scanning go and where does the user upload the scanned document?


IC-705 DSTAR and band fix

I think this now works for DSTAR.  It looks right in the CS-705 software and downloads to the radio, anyway.  I've yet to make a DSTAR contact...

Closing -- I've rebased this and pushed to main ( cross-human rebase stuff not pleasant ).


Conceive and design the wire frames, low fidelity and high fidelity designs for the landing page

Figma Link to task CLICK THIS TO FIGMA


sd1.9 need SCHEDULER_NAMES parameter

when I changed into sd1.9，api did not work，because sd1.9 add a new parameter SCHEDULER_NAMES
like this：
SCHEDULER_NAMES = ["normal", "karras", "exponential", "sgm_uniform", "simple", "ddim_uniform"]
SAMPLER_NAMES = KSAMPLER_NAMES + ["ddim", "uni_pc", "uni_pc_bh2"]
this IS error info：
ERROR:root:request_id=20240515104136BBD72C0498C08633979A err_msg=err occurred, (404, '{"error":"HTTPException","detail":"Sampler not found","body":"","errors":""}')

webuiapi.py.txt
-- add scheduler to  support sdwebui 1.8.0+
-- 增加一个参数scheduler ，用来支持sdwebui的新版本，新版本将sampler拆成了两段，sampler+scheduler

Thank you.
I updated the code to add 'scheduler' to txt2img and img2img.
api.get_scheduler_names() is also added.
scheduler parameters should use 'name' which is lower case.

Default scheduler should be "Automatic" (starting from upper-case letter) to work properly, not "automatic".
"automatic" is unrecognized and left as such in image info parameters. You can try "xyz" and it will give the same image as "automatic". "Automatic" is properly processed, so if you use "DPM++ 2M" sampler for instance, it will be turned into Karras.


Revert generics inlining for now

Reverts #6092 and #7401 for now. We're seeing a handful of issues from turning on inlining of generics, including Assertion failed: (DebugLocListIndex == ~0U && !MInsn && "not an MMI entry") (rdar://problem/30479945) and Assertion failed: (!type->hasArchetype() && "Forgot to map typeref out of context") (rdar://problem/30490994), so I'm reverting to unblock the bots.

@swift-ci Please smoke test and merge

FYI it would have been better to just disable the flag. All this revering and re-applying makes 'git blame' less useful.

@slavapestov Very good point! I totally forgot about this possibility :-(

@slavapestov Any thoughts on rdar://30490994? What should we do in case of opened existentials?

@swiftix I'll take a look.


Automator: update istio/client-go@master dependency in istio/istio@master

Generated by Automator - 2022-04-01T15:40:08+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot-istiodremote-mc_istio
21d94784e0bdbd999707d48d5c49fab51eb5be58
link
unknown
/test integ-pilot-istiodremote-mc_istio

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

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-security-multicluster_istio
21d94784e0bdbd999707d48d5c49fab51eb5be58
link
unknown
/test integ-security-multicluster_istio

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

/test integ-security-multicluster_istio


[SPARK-32058][BUILD][FOLLOW-UP] Use Apache Hadoop 3.2.0 for PyPI and CRAN

What changes were proposed in this pull request?
This is a followup of https://github.com/apache/spark/pull/28897. PyPI and CRAN did not change because of the concern about selecting Hadoop and Hive versions.
For PyPI, now there is a PR open at https://github.com/apache/spark/pull/29703
For CRAN, we can already select Hadoop and Hive versions via SparkR::install.spark.
Why are the changes needed?
To keep the default profiles consistent in distributions
Does this PR introduce any user-facing change?
Yes, the default distributions will use Hadoop 3.2.
How was this patch tested?
Jenkins tests.

cc @dongjoon-hyun, can you take a look when you're available?

Test build #128486 has started for PR 29704 at commit 70b22b7.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/33110/
Test PASSed.

Test build #128486 has finished for PR 29704 at commit 70b22b7.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

retest this please

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/128486/
Test FAILed.

Thanks @dongjoon-hyun!


wlr-which-key: 0.1.0 -> 0.1.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/MaxVerevkin/wlr-which-key/releases.
meta.description for wlr-which-key is: Keymap manager for wlroots-based compositors
meta.homepage for wlr-which-key is: https://github.com/MaxVerevkin/wlr-which-key
Updates performed

Rust version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.1.1 with grep in /nix/store/164b29140p8y79y0hl1wcn1fr1q7b8vz-wlr-which-key-0.1.1
found 0.1.1 in filename of file in /nix/store/164b29140p8y79y0hl1wcn1fr1q7b8vz-wlr-which-key-0.1.1

Rebuild report (if merged into master) (click to expand)

1 total rebuild path(s)

1 package rebuild(s)

First fifty rebuilds by attrpath
wlr-which-key

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/164b29140p8y79y0hl1wcn1fr1q7b8vz-wlr-which-key-0.1.1 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A wlr-which-key https://github.com/r-ryantm/nixpkgs/archive/82324b5a7cf0a319fc073031a54d6fb786566897.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/164b29140p8y79y0hl1wcn1fr1q7b8vz-wlr-which-key-0.1.1
ls -la /nix/store/164b29140p8y79y0hl1wcn1fr1q7b8vz-wlr-which-key-0.1.1/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

1 package built:

wlr-which-key

Maintainer pings
cc @xlambein for testing.

Built & tested on my NixOS machine, LGTM.


Invalid row fields for selecting * from subquery with distinct

Version
1.14.0
What happened?
The proper generated row should be
type GetAuthorRow struct {
	ID     int64
	Name   string
}

// instead of
type GetAuthorRow struct {
	ID     int64
	Name   string
	ID_2   int64
	Name_2 string
	Bio    sql.NullString
}

The * should take only columns from the subquery and not the whole table and subquery at the same time.
Relevant log output
-

Database schema
-- Example queries for sqlc
CREATE TABLE authors (
  id   BIGSERIAL PRIMARY KEY,
  name text      NOT NULL,
  bio  text
);

SQL queries
-- name: GetAuthor :one
select distinct on (row.id) * from (
  select a.id, a.name from authors a
) as row;

Configuration
{
  "version": "1",
  "packages": [
    {
      "path": "db",
      "engine": "postgresql",
      "schema": "query.sql",
      "queries": "query.sql"
    }
  ]
}

Playground URL
https://play.sqlc.dev/p/2292f29b8a05fb2f8b8ce2993849db633c6c03424af01bf8582bf2264419f1c9
What operating system are you using?
Linux
What database engines are you using?
PostgreSQL
What type of code are you generating?
Go

This is the only workaround I found  to get the proper results.
https://play.sqlc.dev/p/c42b9c650b6b24cf1a9cf2fb91c31aec17753f270e0cdef31da28f8b955d70a1

Another workaround is to specify the exact columns you want in the query
-- name: GetAuthor :one
select distinct on (row.id) row.id, row.name from (
  select a.id, a.name from authors a
) as row;

This generates the expected struct
type GetAuthorRow struct {
	ID   int64
	Name string
}


scripts, Documentation: fix swagger generation

Changes to the genproto to support splitting out the grpc-gateway broke
swagger generation.

Codecov Report

Merging #8024 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #8024      +/-   ##
==========================================
+ Coverage    74.3%   74.35%   +0.04%
==========================================
  Files         340      340
  Lines       26548    26548
==========================================
+ Hits        19727    19740      +13
+ Misses       5365     5346      -19
- Partials     1456     1462       +6

Impacted Files
Coverage Δ

proxy/grpcproxy/register.go
69.44% <0%> (-13.89%)
:arrow_down:

auth/simple_token.go
84.9% <0%> (-6.61%)
:arrow_down:

clientv3/namespace/watch.go
93.93% <0%> (-6.07%)
:arrow_down:

rafthttp/msgappv2_codec.go
69.56% <0%> (-3.48%)
:arrow_down:

raft/node.go
90.17% <0%> (-2.24%)
:arrow_down:

lease/leasehttp/http.go
61.06% <0%> (-1.53%)
:arrow_down:

clientv3/balancer.go
95.08% <0%> (-1.1%)
:arrow_down:

pkg/transport/listener_tls.go
82.6% <0%> (-1.09%)
:arrow_down:

clientv3/client.go
83.45% <0%> (-0.72%)
:arrow_down:

rafthttp/stream.go
87.58% <0%> (-0.68%)
:arrow_down:

... and 15 more

Continue to review full report at Codecov.

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


Some details about training and inference

Thank you for your exellent work. I am quite curious about the training and inference details about the MSFSKD module. As stated in the paper, the 2D learner takes the 3D features (64 channels) of points in image fov as input and output the enhanced 3D features. Hence, what is the input to the 2D learner at inference phase since the image and the 'points in image fov' is not given in the inference phase. Besides, how do the enhanced 3D features connect with the backbone feature, that is, how the features goes back to the SPVCNN encoder?
Thank you.

Hi, the input for the 2D learner is not utilized in the inference phase, but it helps the optimization during the training.

Thank you! So the lines going to/from 2D Learner in Fig.4 in the paper should be dash instaed of solid?


Fix eip1559 tx decoding

Details describing the reason for the change in https://github.com/ethers-io/ethers.js/discussions/3269

Replaced by #920


403 Forbidden when building image, on cf-cli-debian-repo.s3.amazonaws.com

Err:7 https://cf-cli-debian-repo.s3.amazonaws.com/ stable/main amd64 Packages
    403  Forbidden [IP: <IP_ADDRESS> 443]
  Reading package lists...
  E: Failed to fetch https://cf-cli-debian-repo.s3.amazonaws.com/dists/stable/main/binary-amd64/Packages  403  Forbidden [IP: <IP_ADDRESS> 443]
  E: Failed to fetch https://cf-cli-debian-repo.s3.amazonaws.com/dists/stable/main/binary-all/Packages  403  Forbidden [IP: <IP_ADDRESS> 443]
  E: Some index files failed to download. They have been ignored, or old ones used instead.
  The command '/bin/sh -c apt-get update' returned a non-zero code: 100

  Warning: Docker build failed with exit code 100, back off 7.87 seconds before retry.

This has started occurring for me in the last ~2 hours or so, not quite sure the root cause.   I noticed there was a change on the cloudfoundry-cli in a coincidentally similar timeframe, I've left a comment querying if it was potentially the root cause of this, however thought I'd open and issue here in-case anyone else searches online and finds nothing like me.  Please feel free to add solutions in the comments if you find a fix or the root cause, thanks.

I was getting the same error switching the action from:
uses: citizen-of-planet-earth/cf-cli-action@master

to:
uses: citizen-of-planet-earth/cf-cli-action@v2

fixed it for me

@smitt04 strange, I was using v2 this entire time, running the same old workflows seem to work now!  So maybe the access issue behind the scenes was fixed? Not sure, but thanks for the suggestion! All working for me now so will close this.


API Error: Blender Plugin calling local Stability Diffusion Server under Linux crashes

Describe the bug
Under Linux, the SD Server console shows an API error when Blender calls the API of the local SD Server using the AI-Render plugin. This error happens immediately when Blender Plugin sends the Command towards the SD Server.
To reproduce
On the same machine, I have setup two identical setups with Blender, AI-Render and Stable Diffusion Instances with identical versions (Blender 3.6.2 AI-Render Plugin 0.9.1, automatic1111 1.6.0, Python 3.10.12) under Windows and Linux.
I am using identical AI Model Safetensors on both operating systems.
Blender then calls the SD Server using http://localhost:7860.

Under Windows, the AI-Render plugin runs perfectly with SD and Blender.
Under Linux, the SD Server shows an API Error message when Blender calls the API of the local SD  Server using the AI-Render plugin. This error message ist also shown in the Blender AI-Render Plugin.

Error log
Error Message in Blender AI-Render Plugin:
An error occured in the Automatic1111 Stable Diffusion server. Check the server logs fr more info. (see below)

Here is the error message shown on the console of Stable Diffusion Server:
*** API error: POST: http://<IP_ADDRESS>:7860/sdapi/v1/img2img {'error': 'TypeError', 'detail': '', 'body': '', 'errors': "'<' not supported between instances of 'int' and 'NoneType'"}
Traceback (most recent call last):
File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 98, in receive
return self.receive_nowait()
File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 93, in receive_nowait
raise WouldBlock
anyio.WouldBlock
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 78, in call_next
    message = await recv_stream.receive()
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 118, in receive
    raise EndOfStream
anyio.EndOfStream

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bornd/AI/stable-diffusion-webui/modules/api/api.py", line 187, in exception_handling
    return await call_next(request)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 84, in call_next
    raise app_exc
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 70, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 108, in __call__
    response = await self.dispatch_func(request, call_next)
  File "/home/bornd/AI/stable-diffusion-webui/modules/api/api.py", line 151, in log_and_time
    res: Response = await call_next(req)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 84, in call_next
    raise app_exc
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 70, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 24, in __call__
    await responder(scope, receive, send)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 44, in __call__
    await self.app(scope, receive, self.send_with_gzip)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/fastapi/routing.py", line 237, in app
    raw_response = await run_endpoint_function(
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/fastapi/routing.py", line 165, in run_endpoint_function
    return await run_in_threadpool(dependant.call, **values)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
    return await anyio.to_thread.run_sync(func, *args)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "/home/bornd/AI/stable-diffusion-webui/modules/api/api.py", line 403, in img2imgapi
    self.default_script_arg_img2img = self.init_default_script_args(script_runner)
  File "/home/bornd/AI/stable-diffusion-webui/modules/api/api.py", line 300, in init_default_script_args
    if last_arg_index < script.args_to:
TypeError: '<' not supported between instances of 'int' and 'NoneType'

Environment

Operating system (Windows/Mac/Linux):     Windows 10, Ubuntu 22.04
Blender version (upper right corner of splash screen):    3.6.2  (on both operating systems)
AI Render version (find in Preferences > Add-ons):     0.9.1  (on both operating systems)
Stable Diffusion 1.6.0  (on both operating systems)

Screenshots/video
Screenshot of Blender and AI-Render Plugin:  https://ibb.co/yhQTmk3
Log of SD Server under Ubuntu 22.04:
################################################################
Create and activate python venv
################################################################
################################################################
Launching launch.py...
################################################################
Using TCMalloc: libtcmalloc_minimal.so.4
Python 3.10.12 (main, Jun 11 2023, 05:26:28) [GCC 11.4.0]
Version: v1.6.0
Commit hash: 5ef669de080814067961f28357256e8fe27544f4
Installing sd-webui-controlnet requirement: changing opencv-python version from <IP_ADDRESS> to 4.8.0
Checking roop requirements
Install insightface==0.7.3
Installing sd-webui-roop requirement: insightface==0.7.3
Install onnx==1.14.0
Installing sd-webui-roop requirement: onnx==1.14.0
Install onnxruntime==1.15.0
Installing sd-webui-roop requirement: onnxruntime==1.15.0
Install opencv-python==<IP_ADDRESS>
Installing sd-webui-roop requirement: opencv-python==<IP_ADDRESS>
Installing SD-CN-Animation requirement: scikit-image
Launching Web UI with arguments: --xformers --port 7860 --api
Civitai Helper: Get Custom Model Folder
[-] ADetailer initialized. version: 23.9.2, num models: 9
2023-09-13 19:14:10,975 - ControlNet - INFO - ControlNet v1.1.410
ControlNet preprocessor location: /home/bornd/AI/stable-diffusion-webui/extensions/sd-webui-controlnet/annotator/downloads
2023-09-13 19:14:11,057 - ControlNet - INFO - ControlNet v1.1.410
2023-09-13 19:14:11,227 - roop - INFO - roop v0.0.2
2023-09-13 19:14:11,262 - roop - INFO - roop v0.0.2
Loading weights [c4b501713f] from /home/bornd/AI/stable-diffusion-webui/models/Stable-diffusion/SDXL/Realistic/juggernautXL_version3.safetensors
[VRAMEstimator] No stats available, run benchmark first
Deforum ControlNet support: enabled
Running on local URL:  http://<IP_ADDRESS>:7860
To create a public link, set share=True in launch().
Startup time: 21.4s (prepare environment: 13.8s, import torch: 1.6s, import gradio: 0.5s, setup paths: 0.7s, initialize shared: 0.1s, other imports: 0.3s, load scripts: 2.5s, create ui: 1.2s, gradio launch: 0.4s).
Creating model from config: /home/bornd/AI/stable-diffusion-webui/repositories/generative-models/configs/inference/sd_xl_base.yaml
Loading VAE weights specified in settings: /home/bornd/AI/stable-diffusion-webui/models/VAE/sdxl_vae.safetensors
Applying attention optimization: xformers... done.
Model loaded in 6.6s (load weights from disk: 1.9s, create model: 2.9s, apply weights to model: 1.6s).
*** API error: POST: http://<IP_ADDRESS>:7860/sdapi/v1/img2img {'error': 'TypeError', 'detail': '', 'body': '', 'errors': "'<' not supported between instances of 'int' and 'NoneType'"}
Traceback (most recent call last):
File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 98, in receive
return self.receive_nowait()
File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 93, in receive_nowait
raise WouldBlock
anyio.WouldBlock
During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 78, in call_next
    message = await recv_stream.receive()
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/streams/memory.py", line 118, in receive
    raise EndOfStream
anyio.EndOfStream

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/bornd/AI/stable-diffusion-webui/modules/api/api.py", line 187, in exception_handling
    return await call_next(request)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 84, in call_next
    raise app_exc
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 70, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 108, in __call__
    response = await self.dispatch_func(request, call_next)
  File "/home/bornd/AI/stable-diffusion-webui/modules/api/api.py", line 151, in log_and_time
    res: Response = await call_next(req)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 84, in call_next
    raise app_exc
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/base.py", line 70, in coro
    await self.app(scope, receive_or_disconnect, send_no_error)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/cors.py", line 84, in __call__
    await self.app(scope, receive, send)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 24, in __call__
    await responder(scope, receive, send)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/gzip.py", line 44, in __call__
    await self.app(scope, receive, self.send_with_gzip)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 79, in __call__
    raise exc
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/middleware/exceptions.py", line 68, in __call__
    await self.app(scope, receive, sender)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 21, in __call__
    raise e
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/fastapi/middleware/asyncexitstack.py", line 18, in __call__
    await self.app(scope, receive, send)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/routing.py", line 718, in __call__
    await route.handle(scope, receive, send)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/routing.py", line 276, in handle
    await self.app(scope, receive, send)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/routing.py", line 66, in app
    response = await func(request)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/fastapi/routing.py", line 237, in app
    raw_response = await run_endpoint_function(
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/fastapi/routing.py", line 165, in run_endpoint_function
    return await run_in_threadpool(dependant.call, **values)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/starlette/concurrency.py", line 41, in run_in_threadpool
    return await anyio.to_thread.run_sync(func, *args)
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/to_thread.py", line 33, in run_sync
    return await get_asynclib().run_sync_in_worker_thread(
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 877, in run_sync_in_worker_thread
    return await future
  File "/home/bornd/AI/stable-diffusion-webui/venv/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 807, in run
    result = context.run(func, *args)
  File "/home/bornd/AI/stable-diffusion-webui/modules/api/api.py", line 403, in img2imgapi
    self.default_script_arg_img2img = self.init_default_script_args(script_runner)
  File "/home/bornd/AI/stable-diffusion-webui/modules/api/api.py", line 300, in init_default_script_args
    if last_arg_index < script.args_to:
TypeError: '<' not supported between instances of 'int' and 'NoneType'

Additional information
No response

I dont know, what AI-Render is sending to Stable Diffusion. So wold should I tell them ?

I would just post that same info and those error logs. Hopefully someone will be able to see what the error is just from the logs.

just opened a ticket at automatic1111@github:
https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/13235

Great - I hope they help quickly! Here's what you could do to log what AI Render is sending:

Edit the file sd_backends/automatic1111_api.py in AI Render. (You can find AI Render's location on the Blender Add-on Preferences screen).
Find the line def do_post(url, data): and add print(data) as the next line (indenting it like the other lines)
Launch Blender from the command line so you can see the output. Probably something like this in a terminal window: cd /Applications/Blender.app/Contents/MacOS && ./Blender. (See this for help, if you need it).
Render with AI Render
View the logged output in the terminal window

Thanks. I have attached the output of the "print(data)" log of your AI-Render Engine.
Attached you find the call:
output.txt

Thanks for the idea, but identical result ;-)

Gotcha


Contribution guide for releases should allow for windows terminal

I think it'll work fine, but the ssh remote needs to be set. I'm unsure if GitHub Desktop will be upset about that, but probably not.

Closing due to https://github.com/sgb-io/codehawk-cli/issues/122


pause mode and compact/expand mechanisms

currently if you look at pause mode it just shows an int; this adds an enum so it'll show something readable.
also get compact/expand mechanisms in GCPerHeapHistory so we can process them in gc perf infra.

@andy-ms PTAL

@brianrob the baseline needs to be updated for this - do you have instructions how to?

@Maoni0 when you run the tests locally in VS, the failing test will point you to the baseline file as well as the actual file.  You'll just want to replace the baseline with the actual file and commit the change.

can this be merged? I seem to have lost merge permission.


Mechanic development 1

We have developed some very primitive drafts that, later we will pass to 3d design with PTC Creo Parametric

Can you attach the documents or add a link?


Support Ruby 3.0.

This PR fixes #7 by fixing the tests on Ruby 3.0 appending the commit on another PR #6.

Fix the keyword arguments issue on Ruby 3.0.
See https://www.ruby-lang.org/en/news/2019/12/12/separation-of-positional-and-keyword-arguments-in-ruby-3-0/ .
Migrate Travis to GitHub Actions.
The Travis is nowadays very slow after this announce: https://blog.travis-ci.com/2020-11-02-travis-ci-new-billing
The oldest available Ruby is 2.1 on GitHub Actions. So, I recommend to migrate Ruby >= 2.1 to GitHub Actions.
Here is the GitHub Actions log on my forked repository.

As a note, here is the Travis log on my forked repository. It might be good to remove the cases from Travis now.

ruby-1.9.2: not available
ruby-1.9.3: available. But the error happens because it seems the syntax **opt is not available. The log is here.
rbx-3: not available

@steveklabnik Could you review? Thanks.

@ktdreyer Do you have a permission to merge this PR?

I am guessing you tested this locally, but you can do so and make sure it works before I cut a release?

@steveklabnik Thanks for merging and enabling GitHub Actions!
I see the following warnings by bundle exec rake on my local Ruby 3.0 and GitHub Actions's tests.
https://github.com/steveklabnik/mono_logger/runs/2114290427?check_suite_focus=true#step:6:5
I suppose this might be something to fix before the release.
/home/jaruga/git/mono_logger/test/mri_logger_test.rb:265: warning: assigned but unused variable - read_ready
/home/jaruga/git/mono_logger/test/mri_logger_test.rb:345: warning: assigned but unused variable - read_ready
/home/jaruga/git/mono_logger/test/mri_logger_test.rb:369: warning: assigned but unused variable - read_ready
/home/jaruga/git/mono_logger/test/mri_logger_test.rb:25: warning: already initialized constant Logger
/usr/local/ruby-3.0.0/lib/ruby/3.0.0/logger/version.rb:3: warning: previous definition of Logger was here
DEPRECATED: `rubinius?` called from /home/jaruga/git/mono_logger/test/mri_logger_test.rb:341. This will fail in Minitest 6.
/usr/local/ruby-3.0.0/lib/ruby/3.0.0/logger/formatter.rb:22: warning: strftime called with empty format string

On my local test, it looks good to me.
$ bundle exec irb
=> true
irb(main):002:0> logger = MonoLogger.new(STDOUT)
=> #<MonoLogger:0x0000000001aab620 @progname=nil, @level=0, @default_formatter=#<Logger::Formatter:0...
irb(main):003:0> logger.level = MonoLogger::WARN
=> 2
irb(main):004:0> logger.debug("Created logger")
=> true
irb(main):005:0> logger.info("Program started")
=> true
irb(main):006:0> logger.warn("Nothing to do!")
W, [2021-03-15T17:36:56.914592 #479246]  WARN -- : Nothing to do!
=> true
irb(main):007:0> logger.level = MonoLogger::DEBUG
=> 0
irb(main):008:0> logger.debug("Created logger")
D, [2021-03-15T17:38:29.326787 #479246] DEBUG -- : Created logger
=> true


⚠ Bofrost.es has degraded performance

In 533a883, Bofrost.es (https://www.bofrost.es) experienced degraded performance:

HTTP code: 200
Response time: 1567 ms

Resolved: Bofrost.es performance has improved in 112c2bc after 7 minutes.


No email notification sent for build failures only affecting PDF format

I am configured to receive build failure notification for a project. However, I only receive the email if there is a failure in the HTML build.
Not receiving notfication of PDF build failures led, in part, to issue #1120, where we went from 6 months before the failed builds were noticed.

Ah yes, this comes from tracking the builds of HTML and pdf as separate objects without a link between the two. We'll have to move the notification to a spot that knows of both HTML abs pdf build objects, which is currently only where the  builds are triggered.

As part of a build refactor, we aren't performing a goofy magic pdf build anymore on build trigger, so failures should be per build and you should get notified on pdf failures.

:100:


Implement open_ncml function converting a NcML document to an xr.Dataset

Add open_ncml function converts NcML document to xarray.Dataset.

[x] Include documentation when adding new features.
[x] Include new tests or update existing tests when applicable.

Auto-generated a data model for NcML elements using xsdata. This is used to parse the NcML into Python objects (see generated directory).
The code then goes through these elements and translate them into xarray instructions. See parser.py.
The full NcML syntax is not fully implemented at the moment, but the core elements are there (at least those that I use).
Note that the test data comes from https://github.com/Unidata/netcdf-java, whose license is BSD-3. Please advise on how to comply with the Apache license used here.

What’s the status of this PR? @huard are you out of cycles to respond to the comments? I may have some team mates who could commit time to help get this going if there were a way to plug in.

Hi @aulemahal @dblodgett-usgs
Notifications for this review went into my spam... I'll be able to respond to review comments by tomorrow.
One thing that bothers me with this PR is that it's using xsdata, while xncml uses xmltodict. It feels weird to rely on two diffefrent xml libraries in the same package. Suggestions welcome.

Well, xsdata seems to offer more functionality (that you are using in this PR) than xmltodict, so I would chose that one?
Both have no dependencies, so that's not an issue.


ISSUE: Error searching emails: SEARCH command error: BAD [b'Could not parse command']

Describe the bug
Error searching emails: SEARCH command error: BAD [b'Could not parse command']
Environment (please complete the following information):

OS: HassOS 5.6 x64
Type of device: RPi 4 (8GB)
Home Assistant version: 1.0.0b4
Hassio/Docker/Core? Hassio
Component version: 0.3.0-b10

Logs
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] Informed Delivery email found processing...
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] Removing duplicate images.
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] Removing USPS announcement images.
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] Image Count: 0
2020-12-11 06:41:24 INFO (SyncWorker_3) [custom_components.mail_and_packages.helpers] No mail found.
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] Copying nomail gif
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] Attempting to find mail from<EMAIL_ADDRESS>with subject (Item Delivered)
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] DEBUG imap_search: ( FROM<EMAIL_ADDRESS>SUBJECT "Item Delivered" SENTON "11-Dec-2020")
2020-12-11 06:41:24 ERROR (SyncWorker_3) [custom_components.mail_and_packages.helpers] Error searching emails: SEARCH command error: BAD [b'Could not parse command']
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] Attempting to find mail from<EMAIL_ADDRESS>with subject (Expected Delivery on)
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] DEBUG imap_search: ( FROM<EMAIL_ADDRESS>SUBJECT "Expected Delivery on" SENTON "11-Dec-2020")
2020-12-11 06:41:24 ERROR (SyncWorker_3) [custom_components.mail_and_packages.helpers] Error searching emails: SEARCH command error: BAD [b'Could not parse command']
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] Attempting to find mail from<EMAIL_ADDRESS>with subject (Your UPS Package was delivered)
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] DEBUG imap_search: ( FROM<EMAIL_ADDRESS>SUBJECT "Your UPS Package was delivered" SENTON "11-Dec-2020")
2020-12-11 06:41:24 ERROR (SyncWorker_3) [custom_components.mail_and_packages.helpers] Error searching emails: SEARCH command error: BAD [b'Could not parse command']
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] Attempting to find mail from<EMAIL_ADDRESS>with subject (Your UPS Packages were delivered)
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] DEBUG imap_search: ( FROM<EMAIL_ADDRESS>SUBJECT "Your UPS Packages were delivered" SENTON "11-Dec-2020")
2020-12-11 06:41:24 ERROR (SyncWorker_3) [custom_components.mail_and_packages.helpers] Error searching emails: SEARCH command error: BAD [b'Could not parse command']
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] Attempting to find mail from<EMAIL_ADDRESS>with subject (UPS Update: Package Scheduled for Delivery Today)
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] DEBUG imap_search: ( FROM<EMAIL_ADDRESS>SUBJECT "UPS Update: Package Scheduled for Delivery Today" SENTON "11-Dec-2020")
2020-12-11 06:41:24 ERROR (SyncWorker_3) [custom_components.mail_and_packages.helpers] Error searching emails: SEARCH command error: BAD [b'Could not parse command']
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] Attempting to find mail from<EMAIL_ADDRESS>with subject (UPS Update: Follow Your Delivery on a Live Map)
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] DEBUG imap_search: ( FROM<EMAIL_ADDRESS>SUBJECT "UPS Update: Follow Your Delivery on a Live Map" SENTON "11-Dec-2020")
2020-12-11 06:41:24 ERROR (SyncWorker_3) [custom_components.mail_and_packages.helpers] Error searching emails: SEARCH command error: BAD [b'Could not parse command']
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] Attempting to find mail from<EMAIL_ADDRESS><EMAIL_ADDRESS>with subject (Your package has been delivered)
2020-12-11 06:41:24 DEBUG (SyncWorker_3) [custom_components.mail_and_packages.helpers] DEBUG imap_search: (OR FROM<EMAIL_ADDRESS>FROM<EMAIL_ADDRESS>SUBJECT "Your package has been delivered" SENTON "11-Dec-2020")

Screenshots

fixed in b11


handle node information in predicates

Solves this issue. Depends on this PR, as it utilizes the new node information added in predicates.json

This PR has been tested with https://github.com/biothings/BioThings_Explorer_TRAPI/pull/471 and it's ready.


Missing a way of accessing child routes

I'm submitting a bug report

Library Version:
1.4.0

Please tell us about your environment:

Operating System:
OSX 10.13

Node Version:
8.1.3

NPM Version:
5.4.2

JSPM OR Webpack AND Version
aurelia-cli 0.31.3

Browser:
all

Language:
ESNext

Current behavior:
There is no way to access the child routes. If I use repeat.for="row of router.navigation", the only routes available are the main routes.
Expected/desired behavior:
Be able to access the children routes. For instance, if I want to create a top navbar with the parents, and list the children routes on a sidebar.
I would expect to be able to do something like

${child.name}

What is the expected behavior?
Be able to easily iterate on the children routes marked with nav:true

What is the motivation / use case for changing the behavior?
Had to do it the other day to create a really simple menu using parent/child, and the only workaround was to bind the child route to the owningView. Which takes much more time, it is much harder to keep track when you have many routes, and generates duplicated code.

This has been discussed in https://github.com/aurelia/router/issues/90.


update listen and commons-io libs

Coverage remained the same at 76.87% when pulling 153c1144e57cc7199237fddfc3bfeb640954398c on updates into fc148ab94adcd6895c11ae6c8c1746c8e5a0f344 on master.


[SPARK-LLAP-133][BRANCH-1.6] Access control for DESC TABLE

What changes were proposed in this pull request?
add the access control for des table
How was this patch tested?
under testing

@dongjoon-hyun  if no further comments, I will merge this patch.

Where is the test result?

I have tested on a setup cluster, but the cluster was gone. let me create a other cluster and post the result here.

I close this one, since I create a other PR with test result.

close this one since i have opened other PR.


refactor refine function geo

Proposed changes
remove unused constant args
Problem summary
Describe your changes.
Checklist(Required)

[ ] Does it affect the original behavior
[ ] Has unit tests been added
[ ] Has document been added or modified
[ ] Does it need to update dependencies
[ ] Is this PR support rollback (If NO, please explain WHY)

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


Ninja deps fails to handle files ending with . or whitespace.

This issue is visible for windows when using gcc or clang as compiler. A sourcefile like (notice the trailing dot at the end of the include")
#include "funcFile.h."
int main(){
    return 1;
}
will produce a deps file which can't be handled by ninja when running with a stat cache. The stat system will on windows automatically remove the trailing . when stating the directory containing the header. When comparing the file from the deps, it will search the cache for "funcFile.h." rather than "funcFile.h" which will force a rebuild each time.
Note that the compilation works out ok, without any warnings. Running ninja with nostatcache solves the problem as the windows api:s automatically removes any trailing . or whitespace before stating the file.
See https://support.microsoft.com/en-za/help/2829981/support-for-whitespace-characters-in-file-and-folder-names-for-windows for windows doc.
Plausible solution would be to drop any . or whitespace as last character before using the stat-cache.
Comments and opinions are much welcome!

Presumably the problem hasn't been addressed in the latest release.
Is it possible for you to create a minimal reproduction in a zip file to demonstrate the issue?


Properly redraw window when focused

With this added piece of code, the PC simulator window gets redrawn when it (re)gains focus or gets partially or totally uncovered by other windows. I tested it only on Linux, and it seems to work fine.

Merged, thank you!


Fix documentation url in 'Cargo.toml' file

The documentation URL currently points to the embedded-hal crate, rather than embedded-hal-mock

Haha, nice catch 😄 Thanks!


[ODS-5568] - Create separate parameters for creating apisdk and testsdk packages

This resolved the reported issue since what was happening was the testsdk and apisdk were not being generated correctly
in the right builds, so the testsdk that was generated was just the renamed apisdk that did not contain all the necessary resources in the contained dll. The approach to fix this was to introduce two new parameters for handling the package generation, since we need to be able to generate one or the other, or both. These two new parameters control the logic flow that would allow you to generate them in that same combination.
The new parameters referenced in this PR have been added to the initdev template build here , with both set to false, matching the previous parameter that was also set to false. This template is used for initdev unit test, initdev integration test, and initdev postgresql. On the TestSdk build, the parameters were also aded and only generating the TestSdk is set to true. The ApiSdk build was not modified since it does not use the initdev script to build its package.

Once this PR is merged the parameter odsapi.build.generateSdkPackages will be removed from all builds configurations since it will no longer exist.

@bptillman  Please remove odsapi.build.generateSdkPackages variable from teamcity builds


Bump version to v1.10.0

Signed-off-by: Tibor Vass<EMAIL_ADDRESS>

We have just pushed 1.10.0-rc1 to test.docker.com:

Ubuntu/Debian: curl -fsSL https://test.docker.com/ | sh
Linux 64bit binary: https://test.docker.com/builds/Linux/x86_64/docker-1.10.0-rc1
Darwin/OSX 64bit client binary: https://test.docker.com/builds/Darwin/x86_64/docker-1.10.0-rc1
Linux 64bit tgz: https://test.docker.com/builds/Linux/x86_64/docker-1.10.0-rc1.tgz
Windows 64bit client binary: https://test.docker.com/builds/Windows/x86_64/docker-1.10.0-rc1.exe
Windows 32bit client binary: https://test.docker.com/builds/Windows/i386/docker-1.10.0-rc1.exe

boot2docker ISO is over at https://github.com/tianon/boot2docker-legacy/releases/tag/v1.10.0-rc1

Found one more feature that we didn't mention in the changelog; https://github.com/docker/docker/pull/15780

For the next RC, perhaps we should add some information on stability-improvements that were made to libnetwork (among which, corruption/incorrect lib-kv.db), and improvements when using in a multi-node setup https://github.com/docker/docker/issues/18527#issuecomment-172671287, https://github.com/docker/docker/issues/18870#issuecomment-172673982

Changelog entry "New registrytoken pass-thru token type for AuthConfig" incorrectly references #17481. Should be #17741.

Apologies, could we also include the following changelog entry:  (https://github.com/docker/docker/pull/18887) "Docker Content Trust now supports the ability to read and write user delegations. This is an optional, opt-in feature that requires the explicit use of the Notary command-line utility in order to be enabled. Enabling delegation support in a specific repository will break the ability of Docker 1.9 and 1.8 to pull from that repository, if content trust is enabled."

ping @burke wondering if you've been giving docker 1.10 a spin already; welcoming feedback :+1:

I think (digging) that windowsTP4 CI is failing because the PR to merge dockerfile.Windows isn't in the cherry-pick list. https://github.com/docker/docker/pull/19529

LGTM

LGTM

LGTM!


Support default = ... in the properties macro

Fixes https://github.com/gtk-rs/gtk-rs-core/issues/957

This does not work yet because the test does not pass, but I am confused on the reason why: the macro generates the corrected thing:
                    <<RefCell<
                        String,
                    > as glib::Property>::Value as glib::HasParamSpec>::param_spec_builder()(
                            "with-default",
                        )
                        .readwrite()
                        .default_value("hello")
                        .build(),

However getting the property still returns ""... is there a bug somewhere else that ignores the default value?

As confusing as it is, I think that was expected, since the prop default is just what is set in the glib type system, but it is not automatically used when initializing an instance. I changed the unit test.
cc @ranfdev

CC @ranfdev

Looks good to me


Restore an event for the main app logs' disk usage

https://bugzilla.redhat.com/show_bug.cgi?id=1658670
Although removed in https://github.com/ManageIQ/manageiq/pull/5551 and
related appliance PRs, it's quite possible that users could mount their own
disk at this moint point and would want to monitor for this event.  It's
trivial processing to skip it if they don't have a disk mounted at this
location.
The description of the event needed to be changed to include the full
log path to make it less ambiguous with the other "log" disk usage events.

Hammer backport details:
$ git log -1
commit eda8fff024370a0b9fc5893ee36109e50e820c76
Author: Nick Carboni<EMAIL_ADDRESS>Date:   Tue Jan 8 14:14:30 2019 -0500

    Merge pull request #18340 from jrafanie/restore_app_log_usage_event

    Restore an event for the main app logs' disk usage

    (cherry picked from commit bc8fadc2ab4dae94b4f0016afb49a7a98db77faa)

    https://bugzilla.redhat.com/show_bug.cgi?id=1672698


⚠ Bofrost.de has degraded performance

In 7697cec, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 2452 ms

Resolved: Bofrost.de performance has improved in 99f942d after 6 minutes.


feat(settings): flesh out settings pages

TODO
Add SSH Key block to Profile Settings
• Add Profile Setting / SSH Keys detail page

Add success banner above each submit button AFTER a user has:
• Changed Password on Profile Settings page
• Sent Verification Email  on Profile Settings page
• Added a SSH Key on the SSH Keys page
• Configured 2FA on the 2FA page
• Added a Security Key on the Security Key page


Expose event header for testing (GSI-770)

Right now it's difficult to verify the correlation ID when verifying the rest of a published event in testing, because the context disappears as soon as the consume action is complete. You have to set up a dummy translator or other workaround.
This PR adds a capture_headers: bool = False parameter to EventRecorder, KafkaFixture.expect_events, and KafkaFixture.record_events.
The default allows for backwards compatibility. When left False, the RecordedEvents returned or examined by the above tools will effectively ignore the event headers.
If the flag is set to True, then the RecordedEvents will contain the event headers in a new field called...headers.
The ExpectedEvent class also got the optional headers field, of course.
But the automatic comparison that occurs in, e.g. KafkaFixture.expect_events, will only compare the headers between an expected and a recorded event if the expected event was formed with headers specified. This also preserves backwards compatibility.
A test has been added to examine the behavior for the matrix of combinations for the following:

capture_headers (True/False)
Expected headers set (Not set/Value 1/Value 2)
Recorded headers (Value 1/Value 2) (the "None" case is effectively covered when capture_headers is False)

A pre-existing test for the event recorder was updated to test with capture_headers set/not set as well.
Minor version number bumped (3.2.3 --> 3.3.0)
There was some weird reformatting happening from ruff with f-strings. Took the easy road to solve that for now, will have to figure out what's actually happening in the meantime.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

20 of 22 (90.91%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.002%) to 91.93%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/hexkit/providers/akafka/testutils.py
20
22
90.91%

Totals

Change from base Build<PHONE_NUMBER>:
0.002%

Covered Lines:
1743

Relevant Lines:
1896

💛  - Coveralls


⚠ Bofrost.at has degraded performance

In 473d3f7, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1006 ms

Resolved: Bofrost.at performance has improved in 4442cc3 after 12 minutes.