Card images in card deck render with incorrect aspect ratio on IE11 when image type is JPG

On Windows 10 using IE 11:
https://getbootstrap.com/docs/4.3/components/card/#card-decks
The HTML snippet for card decks shows <img class="card-img-top"> being used for the card images in a card deck structure. However, the example actually shown uses <svg class="card-img-top">, which behaves differently on IE 11.
With an svg element in that place, as the width scales down, the aspect ratio is preserved but the image contents are cropped appropriately. With an img element, however, on most browsers, the aspect ratio is preserved, but on IE 11, it is not preserved.
The specific problems I would call out are:

Your HTML snippet is inconsistent with your rendered example of Card Decks in your documentation.
Your HTML snippet for card deck does not work appropriately on IE 11 when the image source is JPG.

Could be we are missing w-100 b-block.
/CC @MartijnCuppens @ysds

This is a workaround:
.card-deck {
  display: block;

  @media (min-width: 576px){
    display: flex;
  }
}

.card-img-top {
  flex: 0 0 auto;
}

https://jsbin.com/xuzapozeqa/1/edit?html,css,output
Maybe we should fix our CSS.

If you think it's an issue with core then yes. If it's just a docs issue, I'd rather use the utils.

This part:
.card-deck {
  display: block;

  @media (min-width: 576px){
    display: flex;
  }
}

Will be fixed by #28689.
We could just add the image fix?

@MartijnCuppens Shouldn't we fix this in v4-dev too, though?


Cannot login: "Authentication Failed"

RainLoop version, browser, OS:
1.13.0, Chrome Version 76.0.3809.100 (Official Build) (64-bit), macOS Mojave Version 10.14.4
Expected behavior and actual behavior:
Expect to login as user but the login fails.
Steps to reproduce the problem:
Install RainLoop on Centos 7 with postfix and dovecot
Logs or screenshots:
[20:23:34.673][3b2be82e] INFO[DATA]: [DATE:31.08.19][OFFSET:-00][RL:1.13.0][PHP:7.2.22][IP:<IP_ADDRESS>][PID:20636][nginx/1.12.2][fpm-fcgi]^M
[20:23:34.673][3b2be82e] INFO[DATA]: [Suhosin:off][APC:off][MB:on][PDO:mysql,sqlite][Streams:tcp,udp,unix,udg,ssl,sslv3,tls,tlsv1.0,tlsv1.1,tlsv1.2]^M
[20:23:34.673][3b2be82e] REQUEST[NOTE]: [POST] https://rainloop.domain.com/?/Ajax/&q[]=/0/^M
[20:23:34.673][3b2be82e] AJAX[NOTE]: Action: DoLogin^M
[20:23:34.673][3b2be82e] POST[DATA]: {"Email":"first.last@domain.com","Login":"","Password":"","Language":"","AdditionalCode":"","AdditionalCodeSignMe":"0","SignMe":"1","Action":"Login","XToken":"dc5400141e2328fafc33eb010d3c35d7"}^M
[20:23:34.673][3b2be82e] PLUGIN[NOTE]: Hook: filter.login-credentials^M
[20:23:34.674][3b2be82e] INFO[NOTICE]: RainLoop\Exceptions\ClientException: AuthError[102] in /data/rainloop.domain.com/htdocs/data/data/default/plugins/white-list/index.php:25
Stack trace:
#0 /data/rainloop.domain.com/htdocs/rainloop/v/1.13.0/app/libraries/RainLoop/Plugins/Manager.php(437<EMAIL_ADDRESS><EMAIL_ADDRESS>'')
#1 /data/rainloop.domain.com/htdocs/rainloop/v/1.13.0/app/libraries/RainLoop/Actions.php(2243): RainLoop\Plugins\Manager->RunHook('filter.login-cr...', Array)
#2 /data/rainloop.domain.com/htdocs/rainloop/v/1.13.0/app/libraries/RainLoop/Actions.php(2383<EMAIL_ADDRESS>'*******', '2c780be9893a8ce...', '', false)
#3 /data/rainloop.domain.com/htdocs/rainloop/v/1.13.0/app/libraries/RainLoop/ServiceActions.php(172): RainLoop\Actions->DoLogin()
#4 /data/rainloop.domain.com/htdocs/rainloop/v/1.13.0/app/libraries/RainLoop/Service.php(152): RainLoop\ServiceActions->ServiceAjax('')
#5 /data/rainloop.domain.com/htdocs/rainloop/v/1.13.0/app/libraries/RainLoop/Service.php(62): RainLoop\Service->localHandle()
#6 /data/rainloop.domain.com/htdocs/rainloop/v/1.13.0/app/libraries/RainLoop/Service.php(85): RainLoop\Service->__construct()
#7 /data/rainloop.domain.com/htdocs/rainloop/v/1.13.0/app/handle.php(94): RainLoop\Service::Handle()
#8 /data/rainloop.domain.com/htdocs/rainloop/v/1.13.0/include.php(228): include('/data/rainloop....')
#9 /data/rainloop.domain.com/htdocs/index.php(13): include('/data/rainloop....')
#10 {main}^M
[20:23:34.674][3b2be82e] AJAX[DATA]: {"Action":"Login","Result":false,"ErrorCode":102,"ErrorMessage":"","ErrorMessageAdditional":"","Time":12}^M
[20:23:34.678][3b2be82e] INFO[MEMORY]: Memory peak usage: 2MB^M
[20:23:34.678][3b2be82e] INFO[TIME]: Time delta: 0.016242027282715^M
I notice that "short login" for the domain does not work as I expect. My logins for postfix/dovecot do not have the domain appended, but the script seems to append the domain to the login. How can I make it so that the domain does not get appended to the login?
There are no logs generated by dovecot when the login is attempted with RainLoop. If I log in with Outlook, which is working, logs will show:
Aug 31 21:01:29 mail dovecot: imap-login: Login: user=<first.last>, method=PLAIN, rip=<IP_ADDRESS>, lip=<IP_ADDRESS>, mpid=3470, TLS, session=<3mDyCnCRKvNCSjxq>

Fixed this by disabling the white-list integration

Fixed this by disabling the white-list integration

That didin't work with me!


Add SignalR to AOT

Fixes https://github.com/dotnet/AspNetCore.Docs/issues/33302
Internal review URL
@eerhardt  note this is the .NET 9 file, .NET 8 stays the same.

Internal previews

📄 File
🔗 Preview link

aspnetcore/fundamentals/native-aot.md
ASP.NET Core support for Native AOT


Negate // expect_lint: LINT_NAME for testing

As a developer, I would like to test the custom lints for when a lint is expected as well as when a lint is not expected.
Describe the solution you'd like
The end goal would be to negate the expectation of a lint that is being tested.
// We are expecting the lint to be here
// expect_lint:  use_pascal_case
class bad_casing {}

// We are NOT expecting the lint to be here
// expect_lint: no:use_pascal_case
class GoodCasing {}

// Alternative Solutions
// expect_no_lint: use_pascal_case
// expect_lint: !use_pascal_case
// expect_lint: NOT:use_pascal_case

You don't need a comment for this.
If your lint emits a lint, then you will have analysis issues, causing custom_lint to fail.

Ah yeah, well I guess that's true. I was looking for a more explicit way for testing, but this will work. Thanks Remi!


High contrast: focussed line should not go over overview ruler

#3248
Notice how the focussed line goes all the way over the overview ruler - scroll bar at the right. I believe it should stop before the overview ruler.

I looked into this.  It requires logic changes, which would probably be safest for one of you to touch this close to release.  The width of the class .current-line is calculated via JavaScript.  Changing this would of course affect more than just this theme.  @isidorn, do you think we should change this still, and if so do you know who would be best to assign it to?

I do not think this is important, it is just my feedback.
I would assign it to the backlog and you can look into it in the future when you have time.

Since the default behavior in our dark/light themes is to extend, going to mark this as as-designed.


'Clear all filters' removes the current catalog and schema:table from the URL

If you are searching a catalog other than the default, the URL needs to include the catalog num and the schema:table in the URL like:
https://.../chaise/search#2/myschema:mytable
When you apply predicates to the filter you get something like
https://.../chaise/search#2/myschema:mytable?facets=(...)
When you click the 'Clear all filters' button, it resets the URL to:
https://.../chaise/search
So that not only removes the facets it may inadvertently change catalogs too.

Fixed in commit 296761ea8c66d45f5716a11d340258c31140ad70


'It is best to have a state and strong governement'

these are logically two different questions.
one thing is whether it is best to have a State
the other thing is whether it is best to have a strong executive government

School should teach children religious and/or traditional values.
I'm religious but I wouldn't say school should teach a particular set of values but should teach religious literacy, how to read myths and poetry intuitively and reflectively, how to philosophically reflect on different sets of values and think about how to decide how to order them, to enable the children as they grow up and become mature enough to make a fully positively free choice.


bug: will have a require not defined in es module node mode.

Prerequisites

[X] I have read the Contributing Guidelines.
[X] I have searched for existing issues that already report this problem, without success.

Version
0.0.5
Current Behavior
xx
Expected Behavior
xx
Steps to Reproduce
xx
Code Reproduction URL
No response
Additional Information
i change require to this is ok

Hi,
Thanks for opening an issue.
Could you try the latest version 0.6.2?
This was already fixed. Here you can see the CHANGELOG.
Thanks!

opps， but i got a new error .


Force players into side friendly

This commit allows play as any side, without forcing player into friendly side template mission needs to be adjusted with different playable units.

I think it would be more performant, if every player joins the group in his initialisation instead of a loop which is executed on the server everytime a player joins.
https://github.com/Wyqer/kp_liberation/commit/3c0f2c9c95e28befccaaf4f101f0bfa1de4bb8fe

Your solution looks simpler and more performant indeed.


jna invokation problem

https://github.com/remram44/java-cpp-example/blob/master/java-jna/java/src/edu/nyu/cpptest/cpplib/MyClass.java
[root@SzfyTestServer backup]# java -Djna.debug_load=true -classpath .:jna-5.5.0.jar MyClass
Feb 12, 2020 11:33:56 AM com.sun.jna.Native extractFromResourcePath
INFO: Looking in classpath from sun.misc.Launcher$AppClassLoader@4e0e2f2a for /com/sun/jna/linux-x86-64/libjnidispatch.so
Feb 12, 2020 11:33:56 AM com.sun.jna.Native extractFromResourcePath
INFO: Found library resource at jar:file:/opt/backup/jna-5.5.0.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so
Feb 12, 2020 11:33:56 AM com.sun.jna.Native extractFromResourcePath
INFO: Extracting library to /root/.cache/JNA/temp/jna15688228076106253.tmp
Feb 12, 2020 11:33:56 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Looking for library '/root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so'
Feb 12, 2020 11:33:56 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Adding paths from jna.library.path: null
Feb 12, 2020 11:33:56 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Trying /root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so
Feb 12, 2020 11:33:56 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Found library '/root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so' at /root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so
Exception in thread "main" java.lang.UnsatisfiedLinkError: Error looking up function 'MyClass': /root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so: undefined symbol: MyClass
        at com.sun.jna.Function.<init>(Function.java:252)
        at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:594)
        at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:570)
        at com.sun.jna.NativeLibrary.getFunction(NativeLibrary.java:556)
        at com.sun.jna.Library$Handler.invoke(Library.java:243)
        at com.sun.proxy.$Proxy0.MyClass(Unknown Source)
        at MyClass.<init>(MyClass.java:23)
        at MyClass.main(MyClass.java:35)

when i test this demo it throw the exception, i wonder if 「cpplib_shared」 is casual, or can i use another name?
the second problem is if 「MyClass_」prefix is necessary?

For JNA, the name of the lib and the functions can be changed, so long as it matches.

Your error message says it can't find the function MyClass, however there is no such function. I also just tried this with the current JNA (jna-5.5.0.jar) and it worked for me. Did you make changes to the code?

https://github.com/remram44/java-cpp-example/tree/master/cpplib
i use these c++ code to generate libcpplib.so, but when i use jna to invoke libcpplib.so, it can load libcpplib.so, but can not find the method name. also nm -D libcpplib.so  show the method name are random strings

can you give me some advice, thx

java -Djna.debug_load=true -classpath .:jna-5.5.0.jar MyClass
i use this script, jna version is newest

Those are the C++ functions, which do get mangled. That is why I use a tiny wrapper (c_wrapper.cpp) with extern "C" functions which don't get mangled, and are the ones that get called from the Java wrapper class.

The alternative is to use Swig, which generates both wrapper for you.

import com.sun.jna.Library;
import com.sun.jna.Native;
import com.sun.jna.Pointer;

public class MyClass {

    public interface CLibrary extends Library {

//        CLibrary INSTANCE = (CLibrary) Native.loadLibrary("cpplib_shared", CLibrary.class);
//        CLibrary INSTANCE = (CLibrary) Native.loadLibrary("cpplib", CLibrary.class);
        CLibrary INSTANCE = (CLibrary) Native.loadLibrary("/root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so", CLibrary.class);

        Pointer MyClass_MyClass(int nb);

        int MyClass_getValue(Pointer self);

        void MyClass_increment(Pointer self);
    }

    private Pointer self;

    public MyClass(int nb) {
        self = CLibrary.INSTANCE.MyClass_MyClass(nb);
    }

    public int getValue() {
        return CLibrary.INSTANCE.MyClass_getValue(self);
    }

    public void increment() {
        CLibrary.INSTANCE.MyClass_increment(self);
    }

    public static void main(String[] args) {
        MyClass counter = new MyClass(3);
        counter.increment();
        counter.increment();
        System.out.println(counter.getValue());
    }
}

this is my java code

c++ code
# https://github.com/remram44/java-cpp-example/blob/master/cpplib/include/cpplib/MyClass.h

#ifndef MYCLASS_H
#define MYCLASS_H

class MyClass {

private:
    int m_nb;

public:
    MyClass(int nb);
    int getValue() const;
    void increment();

};

#endif

# https://github.com/remram44/java-cpp-example/blob/master/cpplib/src/MyClass.cpp

#include "cpplib/MyClass.h"

MyClass::MyClass(int nb)
  : m_nb(nb)
{
}

int MyClass::getValue() const
{
    return m_nb;
}

void MyClass::increment()
{
    m_nb++;
}

function MyClass exist

You need a wrapper, you can only call extern "C" functions

i am not familiar with c++, and i change code like this and re-make, but i has the same error
extern "C"
{
#include "cpplib/MyClass.h"

MyClass::MyClass(int nb)
  : m_nb(nb)
{
}

int MyClass::getValue() const
{
    return m_nb;
}

void MyClass::increment()
{
    m_nb++;
}
}

Those are the C++ functions, which do get mangled. That is why I use a tiny wrapper (c_wrapper.cpp) with extern "C" functions which don't get mangled, and are the ones that get called from the Java wrapper class.

The alternative is to use Swig, which generates both wrapper for you.

ok, i get it, thank you very much

i replace MyClass.cpp with c_wrapper.cpp, and it throw another exception 「undefined symbol: _ZN7MyClassC1Ei」, Is there anything wrong?
[root@SzfyTestServer build]# nm -D libcpplib.so
0000000000201068 B __bss_start
                 w __cxa_finalize
0000000000201068 D _edata
0000000000201070 B _end
0000000000000a54 T _fini
                 w __gmon_start__
                 U __gxx_personality_v0
0000000000000818 T _init
                 w _ITM_deregisterTMCloneTable
                 w _ITM_registerTMCloneTable
                 w _Jv_RegisterClasses
00000000000009d0 T MyClass_ctor
0000000000000a1c T MyClass_getValue
0000000000000a36 T MyClass_increment
                 U _Unwind_Resume
                 U _ZdlPv
                 U _ZN7MyClass9incrementEv
                 U _ZN7MyClassC1Ei
                 U _ZNK7MyClass8getValueEv
                 U _Znwm

[root@SzfyTestServer backup]# java -Djna.debug_load=true -classpath .:jna-5.5.0.jar MyClass
Feb 13, 2020 1:23:01 AM com.sun.jna.Native extractFromResourcePath
INFO: Looking in classpath from sun.misc.Launcher$AppClassLoader@4e0e2f2a for /com/sun/jna/linux-x86-64/libjnidispatch.so
Feb 13, 2020 1:23:01 AM com.sun.jna.Native extractFromResourcePath
INFO: Found library resource at jar:file:/opt/backup/jna-5.5.0.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so
Feb 13, 2020 1:23:01 AM com.sun.jna.Native extractFromResourcePath
INFO: Extracting library to /root/.cache/JNA/temp/jna5644361781661826174.tmp
Feb 13, 2020 1:23:01 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Looking for library '/root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so'
Feb 13, 2020 1:23:01 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Adding paths from jna.library.path: null
Feb 13, 2020 1:23:01 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Trying /root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so
Feb 13, 2020 1:23:01 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Found library '/root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so' at /root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so
java: symbol lookup error: /root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so: undefined symbol: _ZN7MyClassC1Ei

i solve the problem, because i just compile c_wrapper.cpp and  forget to compile MyClass.cpp
now , it works
[root@SzfyTestServer backup]# java -Djna.debug_load=true -classpath .:jna-5.5.0.jar MyClass
Feb 13, 2020 1:23:01 AM com.sun.jna.Native extractFromResourcePath
INFO: Looking in classpath from sun.misc.Launcher$AppClassLoader@4e0e2f2a for /com/sun/jna/linux-x86-64/libjnidispatch.so
Feb 13, 2020 1:23:01 AM com.sun.jna.Native extractFromResourcePath
INFO: Found library resource at jar:file:/opt/backup/jna-5.5.0.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so
Feb 13, 2020 1:23:01 AM com.sun.jna.Native extractFromResourcePath
INFO: Extracting library to /root/.cache/JNA/temp/jna5644361781661826174.tmp
Feb 13, 2020 1:23:01 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Looking for library '/root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so'
Feb 13, 2020 1:23:01 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Adding paths from jna.library.path: null
Feb 13, 2020 1:23:01 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Trying /root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so
Feb 13, 2020 1:23:01 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Found library '/root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so' at /root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so
java: symbol lookup error: /root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so: undefined symbol: _ZN7MyClassC1Ei
[root@SzfyTestServer backup]# java -Djna.debug_load=true -classpath .:jna-5.5.0.jar MyClass
Feb 13, 2020 2:05:20 AM com.sun.jna.Native extractFromResourcePath
INFO: Looking in classpath from sun.misc.Launcher$AppClassLoader@4e0e2f2a for /com/sun/jna/linux-x86-64/libjnidispatch.so
Feb 13, 2020 2:05:20 AM com.sun.jna.Native extractFromResourcePath
INFO: Found library resource at jar:file:/opt/backup/jna-5.5.0.jar!/com/sun/jna/linux-x86-64/libjnidispatch.so
Feb 13, 2020 2:05:20 AM com.sun.jna.Native extractFromResourcePath
INFO: Extracting library to /root/.cache/JNA/temp/jna1221045823503244492.tmp
Feb 13, 2020 2:05:20 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Looking for library '/root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so'
Feb 13, 2020 2:05:20 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Adding paths from jna.library.path: null
Feb 13, 2020 2:05:20 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Trying /root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so
Feb 13, 2020 2:05:20 AM com.sun.jna.NativeLibrary loadLibrary
INFO: Found library '/root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so' at /root/cpp_test/java-cpp-example-master/cpplib/build/libcpplib.so
5

Great, I'm glad I could help!


Can this enable autoscaling on seconder indices?

Dont see an example of autoscaling the index- maybe I missed it. Can this module apply autoscaling settings to table and indices?

@red8888
this can autoscale both tables and indexes
https://github.com/cloudposse/terraform-aws-dynamodb-autoscaler
https://github.com/cloudposse/terraform-aws-dynamodb-autoscaler/blob/master/main.tf#L90

@aknysh how do you deal with the lifecycle issue with capacity?
I had to do this for tables so when capacity scales up terraform doesn't change it back:
ignore_changes = ["read_capacity","write_capacity"]
Dont you have to ignore the entire global_secondary_index resource for scaling to work on indices?

@aknysh is there already a solution for this problem?
So if you enable autoscaling on the global_secondary_index terraform does only ignore read_capacity, write_capacity from the table and not from the global_secondary_index.
Thank you in advanced.


Module 2, week 5 peer-to-peer code review (day 2)

Hi @raihan2bd ,
You have done amazing work implementing all the requirements 💯 .
Highlights

[x] Clean code ✔
[x] Project works as expected ✔
[x] Good use of ES6 syntax ✔

Thanks, @michaelamponsah for reviewing this Repo 👍


BUG- var_name in on_edit() for tables doesn't provide name of DataFrame

Description
If you have an editor for a table, then the value of var_name passed into the on_edit() function doesn't identify the name of the DataFrame.
How to reproduce
A code fragment
from taipy import Gui;
from taipy.gui.state import State
import pandas as pd
df = pd.DataFrame({"x":[1,2,3]})

def myedit(state: State, var_name: str, action: str, payload: dict):
    print(var_name)

page = "<|{df}|table|id=df|on_edit=myedit|>"

if __name__ == "__main__":
    Gui(page=page).run()

Then just edit an element and click the checkbox, and it will print _TpD_tpec_TpExPr_df_TPMDL_2 .
Expected behavior
I expected it would print df
Screenshots
N/A
Runtime environment
Please specify relevant indications.

OS: Windows 10
Browser: Chrome  104.0.5112.81

Hi @Dr-Irv,
No need to add a tag property, you should get the right variable name in your on_edit function when the linked PR is merged

Hi @Dr-Irv, No need to add a tag property, you should get the right variable name in your on_edit function when the linked PR is merged

Great!

I was able to pull your PR and install it and it worked.  Thanks.


Emphasize app in the background or locked screen results in connection loss

The OS sooner or later will evict the app. At which point the recording also gets interrupted. David unknowingly ran into this.
We have a ticket about background support but it needs significant refactoring so there's no ETA.
Split screen is a workaround, fix in settings can repair interrupted workouts to some extent.

Ref


monitor/api: Export map of trace observation points

test-me-please

Coverage increased (+0.04%) to 44.081% when pulling 41e671c64263ae503db028f6e5c7e090f4e63e05 on pr/tgraf/export-observation-points into 4d72997a9163a94ba93160627bcd10e580345111 on master.


Create Checklinks action

This PR implements a Github actions workflow to automatically validate links within the WTH repo.
At this time, it only validates 001IntroToAKS, but it could be trivially extended to validate the other challenges.

Why the max-depth limit to 3 folders?
Good question.... and I don't recall the exact reason I set this unfortunately.  I think it may have had to do with avoiding the traversal of the source code.

Adding @jrzyshr as second reviewer. Peter, this looks OK to me, the path exclusions in the action limit its blast radius. I already approved it but needs a second.


fix: bug 16849

Brief Information
This pull request is in the type of:

[x] bug fixing
[ ] new feature
[ ] others

What does this PR do?

Close https://github.com/apache/echarts/issues/16849

Fixed issues
https://github.com/apache/echarts/issues/16849
Details
Before: What was the problem?
dataZoom.borderColor not work

After: How is it fixed in this PR?
dataZoom.borderColor work

Misc

[ ] The API has been changed (apache/echarts-doc#xxx).
[ ] This PR depends on ZRender changes (ecomfe/zrender#xxx).

Related test cases or examples to use the new APIs
N.A.
Others
Merging options

[ ] Please squash the commits into a single one when merging.

Other information

Just found it may be confusing if we put this comment on this line? Could you please move it to the previous line?

ok,I will remove this comment，and make a new PR

@Ling310 No need to create a new PR. Just push a commit to fix it.

changed: 1b9afd847a58d7b48adbab8d2273c9f30e8521d4


chore: update submodules - 2024-10-15 15:26

This PR updates the following submodules:

Remote Repository
Submodule Path
Change

LedgerHQ/clear-signing-erc7730-registry
tests/registries/clear-signing-erc7730-registry
df3157b...b4139cf

This PR description was generated by sgoudham/update-git-submodules.

Done in https://github.com/LedgerHQ/python-erc7730/pull/87


feat: Transfer style from NesFixedViewport to NesDialog

Description
Currently I have everything in my app wrapped in a NesFixedViewport, so that it fills the whole screen, and makes all the pixels look larger. I have an issue where when I open a NesDialog, it doesn't capture the same resolutionAspectRatio that is set by the NesFixedViewport. The pixels on the NesDialog appear much smaller. I was wondering if there was a way for the NesDialog to inherit the same settings from the NesFixedViewport.
Screenshot below:

Fixed by #129


improve User Experience after click bottom

when we click "add translation" the bottom will be removed

step1:

step2:

After user entering the translation, the 'add translation' button would disappear. This small change can improve user experience and will not confuse the user.
If they want to change the translation, they could just delete and reenter the new sentence.


User guide makes confusing claims about plugin dependency isolation

This section of the user guide makes it sound like there is some kind of classloader/dependency isolation between plugins when they are loaded using the plugins DSL block:

This way of adding plugins to a project is much more than a more convenient syntax. The plugins DSL is processed in a way which allows Gradle to determine the plugins in use very early and very quickly. This allows Gradle to do smart things such as [...] allow[ing] different plugins to use different versions of dependencies.

I mentioned this on the Gradle Community Slack workspace and nobody seemed to know what it was referring to, so this claim should evidently be clarified or removed.

Done in https://github.com/gradle/gradle/pull/21448 for Gradle 7.6


Removed incorrect usage of escape codes in yml.

Removed incorrect usage of escape codes in yml.
The \L and \p escape codes removed from yml files, by removing the '\' or changing it into a '/'.
This change will result into also a correctly generated markdown file.

Per request, only the updates for the G and S files. Many thanks.


openai-whisper-cpp: add rocm support

Description of changes

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

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

Just tested this and works as expected. Any reason this is not being merged even though it's already approved?
Btw on unrelated note, requiring the darwin things as inputs seems to break builds on non-darwin machines? Probably should be done similarly as in llama-cpp: https://github.com/NixOS/nixpkgs/blob/32146f31615787cc28af373e5bceaa256077b26c/pkgs/by-name/ll/llama-cpp/package.nix#L37-L43

I got an error for this:
rocBLAS error: Could not initialize Tensile host: No devices found
and then the program segfault.


Using nilmtk on a private dataset

I am interested in using the nilmtk library to analyze a private dataset. However, I am unsure about how to format my dataset to work with nilmtk. Specifically, I am wondering:

Is it possible to use nilmtk on a private dataset?
If so, what is a good format that can be used to turn my pandas dataframe into a nilmtk dataset?

I have looked through the nilmtk documentation and searched for similar issues on Github, but I couldn't find any clear guidance on how to proceed. Any help or suggestions would be greatly appreciated. Thanks!

Si es posible.  La manera mas sencilla es crear un nuevo  conversor partiendo de ficheros de medida en csv  por ejemplo basándose en el  conjunto de datos IAWE. Si no cuenta con los csv , en python se pueden extraer con pocos pasos . En mi caso he creado varios conversores para hardware OZM y también para un  nuevo hardware abierto OMPM. Si quiere en github/crn565 puede encontrar todo el codigo

En este repositorio https://github.com/crn565/DSUAL además de describir los nuevos conjuntos de datos creados con hardware abierto, se describe cómo se realizan los nuevos conversores para generar los conjuntos de datos que se utilizarán en NILMTK.

Similar situation - looking for pointers
Hi,
I'm a homeowner with a power meter. I'm storing the power data timeseries once a second into a database. I want to disaggregate the various appliances without instrumenting each of them. I've been reading through and experimenting with the various NILMTK data sets and algorithms. It seems all the datasets have appliance load data in them.
I have no trouble writing python or manipulating the time series data in a dataframe. But I'm stuck trying to figure out which algorithm might work in my application and how to modify one of the examples to my data set.
Has someone done this before? Is there a site with some samples? Or a tutorial on how to do it myself? Or even suggestions on which papers to read?
More details on my project here: https://hackaday.io/project/196939-house-electricity-monitor


⚠ Processors has degraded performance

In dee9694, Processors ($STATUS_URL) experienced degraded performance:

HTTP code: 200
Response time: 68 ms

Resolved: Processors performance has improved in b95ae1b.


Rework code editor's multiline operations

Fixes #54362
Partially fixes #72410
This pr aims to rework multiple code editor's line operations for more consistent behavior. Main takeaways are:

Fix mixed behavior when there are multiple carets or selections on same line.
Unify behaviour when operation is toggleable, ie. affect all the selections same way instead of handling them separately. This is also the main cause of the first point.
Fix some operations affect line, on which the selection ends but no characters are selected. For this to make more sense, see also #72265.

Delete lines
There were some issues with delete lines operation, fixing them separately would likely end up filling the function with more band-aid than anything, so rewrite seemed more appropriate.
Issues fixed:

Deleting 2 lines if 2 selections were at the same line (partially fixes #72410).
Delete lines operation would delete one extra line if selection ends at new line. I didn't open a separate issue for this, but it's similiar to https://github.com/godotengine/godot/issues/54362.
After the operation carets would jump in unexpected ways (sometimes at the start of the line, sometimes end). Now they stay at the same place.

Toggle comments
Fix a bug where multiple selections affect one line. Rearranges the flow of the function, but takes largely the same steps as original.
Changed behavior: handle all selections as one instead of separately. I'm not sure if there's a reason to toggle some selections on and some off, and this helped to simplify the logic, so I went with it.

Toggle breakpoints
Fix a bug if you toggle breakpoints when 2 carets are on the same line.
Changed behavior: The operation now removes all breakpoints in selection if there is any. This is useful after you have done debugging a certain part of the code (but don't want to clear breakpoints from the whole file). For consistency this works in inverse too, breakpoints are for every line selected if there's none currently in selection.

Toggle bookmarks
Similiar to toggle breakpoints.

Move lines up/down
Fix the bug when the selection ends at the start of new line, move lines up/down shouldn't affect that line.

Awesome work! I'll take a closer look later to make sure the reworks are robust, but for now here are a few things to fix:

Toggle Folding (Alt+F) is affected by the same issue. I thought I'd mention it here because I forgot to in my original issue.
Delete Line (Ctrl+Shift+K) has inconsistent behavior on the 1st line, only deleting its contents. It also leaves an error if the beginning of the selection is an empty line and the main caret is at that empty line
Toggle Comment (Ctrl+K) doesn't move the caret forward if it's at the beginning of the line
Move Down doesn't stop itself if you select the last line in the script

Thanks for testing, I'll fix them (might as well check all the other operations if there is any more).
About toggle comment, It seems that this is the intended behavior. The original code (and my code) has an extra check to make this happen. I don't have any preference on this, both ways it makes sense, but I found out when this was implemented: https://github.com/godotengine/godot/pull/22738#pullrequestreview-162617850
I do kind of like the look of it: if you selected the whole line, visually the selection doesn't change. @Paulb23 was that the reasoning, or is there more into it?

I do kind of like the look of it: if you selected the whole line, visually the selection doesn't change. @Paulb23 was that the reasoning, or is there more into it?

Yeah we should try and get the intention of the user, if the whole line is selected we should keep that way.

I do want to move these methods into CodeEdit, so if you feel up to it feel free to move them there and then we can take advantage of some unit tests.

Yes, this is what I've been thinking as well. I can try to do it. I have no experience in writing unit tests, but I'll write on contributor chat if I need help with those.
To be clear, do you think I should modify this pr to move them, or should we finish this first and then do the move? Do we have time to make it in 4.0 (since it would be an addition to the api) or wait for 4.1? Since rc phase is "just days away", I'd rather have more robust editor for 4.0 and nice additions to CodeEdit on next release.
Also, here's a list of operations I think should be moved into CodeEdit, do you agree?

Delete lines
Toggle comments
Toggle bookmarks
Toggle breakpoints (this needs a bit of extra logic from script editor to add breakpoints into debugger)
Move lines up/down
Duplicate selection (haven't touched to this in this pr, but also makes sense)

Yes I was planning to rewrite and move these as part of 4.1 anyway, not sure how many editor assumptions we need to remove / general cleanup for API use at the same time. I fine if the move is handled in a later change. I wouldn't say this is a blocking issue 4.0 so if it gets in then great, if not 4.1 is fine. No need to "crunch" for it.

Also, here's a list of operations I think should be moved into CodeEdit, do you agree?

Yep, all the "general" code editing methods should move, including the convert indent, trim whitespace etc

I believe I have addressed all the problems now. Remind me if I forgot something, or something new has appeared. I tried to give these operations a good battering though, they do seem quite robust now 😄

Amazing work, thanks!


Request body of type 'application/x-www-form-urlencoded' contains invalid byte

Sometimes I get error: "Request body of type 'application/x-www-form-urlencoded' contains invalid byte 0xd. (HTTP 400/Bad request)"
Please help me!

Answered trough support. Not and API issue.

Hi Luke,
Looking back at the communication from earlier this year, this user worked around the issue by using the fromUrl method instead of the fromBuffer method, so we don't exactly know what caused the issue.
How are you using the library? Do you consistently get this error for the same image? And if so, only for one image or all images?

@warflower it's happened for six images so far, I'll need to update my error logging code to identify which ones are triggering it. I'm passing it to TinyPNG using the PHP library Source class:
$source = Tinify\Source::fromFile($tempPath);
$source->toFile($tempPath);

I've also noticed some other errors being logged:

Request body of type 'application/x-www-form-urlencoded' cannot be longer than 100 KB. (HTTP 413/Request entity too large)
File type is not supported. (HTTP 415/Unsupported media type)

What are the supported file types and is there a way to get around the 100 KB limit or is that a hard limit on the API?

@LukeTowers we currently only support JPEG and PNG.
There is no 100 KB limit on the API. Instead, I think that the errors that you're getting are caused by attempting to compress files that aren't JPEG or PNG. For example, if I attempt to compress a .json file that's larger than 100 KB I get the exact same error as you're getting:
Request body of type 'application/x-www-form-urlencoded' cannot be longer than 100 KB.

And if I attempt a smaller .json file I get
Request body of type 'application/x-www-form-urlencoded' contains invalid byte 0xa.

Trying different files that aren't recognised as either JPEG or PNG will result in similar errors.
If you're sure that you're getting these errors for JPEG or PNG images then it would help to share an example file with us.

@warflower
The invalid byte and cannot be longer than 100KB errors were occurring on webp file types, so now I'm filtering them out before sending them to be optimized, although it's strange that they didn't get Unsupported Media Type error instead.
I'm still getting Unsupported Media Type on the following images:

https://newcriterion.com/storage/app/media/June 2020 blog/johnwilliamwaterhousetheremorseofneroafterthemurderofhismother.jpg
https://newcriterion.com/storage/app/media/June 2020 blog/cropped-images/Shaw-Memorial-NPS-7-0-4028-1833-1592476783.jpg

@LukeTowers I'm able to compress both those examples with the PHP library, either by downloading them locally first and using fromFile or directly from these URLs with fromUrl. There doesn't seem to be anything wrong with these images.

@warflower I've updated the error logging code again so that I can get the actual files used, the TinyPNG is an optimization layer that happens after those images are resized on the server

Closing this issue due to lack of activity. Feel free to reopen it in case you have new findings.


Included steps on enabling password rollover

@jaszperez : Thanks for your contribution! The author, @ajamess, has been notified to review your proposed change.

Merging per Angela's approval in email.


fix: webpack vulnerability fix

This PR updates the webpack services to versions not reported to be vulnerable as reported
webpack/webpack-dev-server#1615

Please check if the PR fulfills these requirements

[x] It's the right issue type on the title
[x] When resolving a specific issue, it's referenced in the PR's title (e.g. fix #xxx[,#xxx], where "xxx" is the issue number)
[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes/features)
[x] Docs have been added/updated (for bug fixes/features)
[x] It does not introduce a breaking change or has a description of the breaking change

Description

Thank you for your contribution to TOAST UI product. 🎉 😘 ✨

@N6REJ
I confirmed that you fixed it. Finally, check the list on the PR's descriptions and edit the PR's title to according to our convention. Then I'll merge. :)

I believe I've done as you've requested..
This PR updates the webpack services to versions not reported to be vulnerable as reported
https://github.com/webpack/webpack-dev-server/issues/1615

@N6REJ
The PR's title convention was to fix it as follows. 😅
- Webpack vulnerability fix.
+ feat: webpack vulnerability fix

The commit message or PR must be append prefix(e.g. feat:) so that the commit message will be detected when we create the release note later.
Editing the title is simple and I can, so I'll fix it and proceed with merge. Thanks again for your contribution!

@N6REJ
When I updated the Webpack's version to 4, I tested it to see if there was any problem, and after that, I will proceed to update the version.

i had troubles, ergo #666

just an fyi, on complete reinstall I received this afterwards..


Question about predictive performance

Is there any difference in the predictive performance of lgbm when used in R vs when used in Python?

Thanks for using LightGBM.
LightGBM's main logic is implemented in C/C++, and both the R and Python libraries call that same code. We try to make the libraries' functionality match as closely as possible, but of course there are differences.
That is as specific an answer as we can give to such a broad question. If you identify areas where one of those LightGBM APIs is performing better or worse than the other, please report them on this project's issues page.


Notebook scrollbar rendered too high

Notice how the scrollbar in the notebook is too high compared to the space in the notebook. It should be 30 px lower, to be all the way to the bottom.
The current rendering make it look like it is floating in mid air

Time information is a much requested and appreciated by the DS community at large. So I don't think we should lose that, at least. We haven't heard any negative feedback about the horizontal scrollbar location, in relation.

I think we do a better job of this now:


Work on #57 - Start of scheduling notebook example

First basic implementation for discussion - WIP

Very minor point: when you create a pull request, you can set it as a draft to make it clear that this is a WIP.  It can be converted to normal PR when ready, but not the other way.

Closing to reopen as a draft !


[EventRequest] Table 37 OnValidateAmountIncludingVATOnAfterVATBaseAmountAssignInReverseChargeVAT

Please add a new integration event OnValidateAmountIncludingVATOnAfterVATBaseAmountAssignInReverseChargeVAT in Table 39.
field(30; "Amount Including VAT"; Decimal)
        {
            AutoFormatExpression = "Currency Code";
            AutoFormatType = 1;
            Caption = 'Amount Including VAT';
            Editable = false;

trigger OnValidate()
            begin
                "Amount Including VAT" := Round("Amount Including VAT", Currency."Amount Rounding Precision");
                case "VAT Calculation Type" of
                    "VAT Calculation Type"::"Normal VAT",
                    "VAT Calculation Type"::"Reverse Charge VAT":
                        begin
                            Amount :=
                              Round(
                                "Amount Including VAT" /
                                (1 + (1 - SalesHeader."VAT Base Discount %" / 100) * "VAT %" / 100),
                                Currency."Amount Rounding Precision");
                            "VAT Base Amount" :=
                              Round(Amount * (1 - SalesHeader."VAT Base Discount %" / 100), Currency."Amount Rounding Precision");
                            OnValidateAmountIncludingVATOnAfterVATBaseAmountAssignInReverseChargeVAT(Rec,Currency);
                         end;
                    "VAT Calculation Type"::"Full VAT":
                          begin
                              Amount := 0;
                              "VAT Base Amount" := 0;
                         end;
                    "VAT Calculation Type"::"Sales Tax":
                        begin
                            SalesHeader.TestField("VAT Base Discount %", 0);
                            Amount :=
                              SalesTaxCalculate.ReverseCalculateTax(
                                "Tax Area Code", "Tax Group Code", "Tax Liable", SalesHeader."Posting Date",
                                "Amount Including VAT", "Quantity (Base)", SalesHeader."Currency Factor");
                            OnAfterSalesTaxCalculateReverse(Rec, SalesHeader, Currency);
                            UpdateVATPercent(Amount, "Amount Including VAT" - Amount);
                            Amount := Round(Amount, Currency."Amount Rounding Precision");
                            "VAT Base Amount" := Amount;
                        end;
                end;

                InitOutstandingAmount;
            end;
}

[IntegrationEvent(false, false)]
local procedure OnValidateAmountIncludingVATOnAfterVATBaseAmountAssignInReverseChargeVAT(var SalesLine: Record "Sales Line"; Currency: Record Currency)
begin
end;

Thank you,

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.

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.


Local september branch merge to master

solved conflicts from https://github.com/Azure/azure-rest-api-specs/pull/3861
This checklist is used to make sure that common issues in a pull request are addressed. This will expedite the process of getting your pull request merged and avoid extra work on your part to fix issues discovered during the review process.
PR information

[ ] The title of the PR is clear and informative.
[ ] 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 information on cleaning up the commits in your pull request, see this page.
[ ] Except for special cases involving multiple contributors, the PR is started from a fork of the main repository, not a branch.
[ ] If applicable, the PR references the bug/issue that it fixes.
[ ] Swagger files are correctly named (e.g. the api-version in the path should match the api-version in the spec).

Quality of Swagger

[ ] I have read the contribution guidelines.
[ ] My spec meets the review criteria:

[ ] The spec conforms to the Swagger 2.0 specification.
[ ] The spec follows the guidelines described in the Swagger checklist document.
[ ] Validation tools were run on swagger spec(s) and have all been fixed in this PR.

Automation for azure-sdk-for-python

Can one of the admins verify this patch?

Automation for azure-sdk-for-ruby

@dsgouda  @lmazuel  updated PR

Automation for azure-sdk-for-go

Automation for azure-sdk-for-java

Automation for azure-sdk-for-node


[Task] Update the Todo list guide

What should be done
The Todo list app guide is a little outdated.
Do not use the Component lib for now since it's not available for every language.

:tada: This issue has been resolved in version 1.0.0-beta.17 :tada:
The release is available on:

GitHub release
v1.0.0-beta.17

Your semantic-release bot :package::rocket:


Fix build error

Trivial PR fixing build error (missing paren)

Oh that's embarassing. That looks like some bad copy+pasta when I was back-porting some of the N64-related changes. Thanks for the PR!


65PUS6703, MY2018

Hi, I installed the hb plugin, then add my TV, which is 65PUS6703, it should be model year 2018. TV has Saphi OS. Firmware is up to date.
Unfortunately, plugin is not working, could you give me a hint? Some info below, Thx :)
homebridge config:
{
"name": "Saphi TV",
"ip_adress": "<IP_ADDRESS>",
"wol_adress": "wol://70:af:24:64:58:46",
"has_tv_channels": true,
"channel_setup_popup_time": 2250,
"startup_time": 15,
"timeout": 5,
"input_delay": 650,
"api_version": 6,
"api_port_no": 1925,
"protocol": "http",
"polling_interval": 40,
"has_ambilight": true,
"has_ambihue": false,
"ambi_poweroff": true,
"ambi_poweron": false,
"inputs": [
{
"type": "TV"
}
],
"platform": "SaphiTV"
}
homebridge log:
[23/07/2021, 11:25:35] [Saphi TV] set Active => 0
(node:6062) UnhandledPromiseRejectionWarning: FetchError: request to http://<IP_ADDRESS>:1925/6/input/key failed, reason: connect ECONNREFUSED <IP_ADDRESS>:1925
at ClientRequest. (/usr/lib/node_modules/homebridge-saphi-tv/node_modules/node-fetch/lib/index.js:1461:11)
at ClientRequest.emit (events.js:375:28)
at Socket.socketErrorListener (_http_client.js:475:9)
at Socket.emit (events.js:375:28)
at emitErrorNT (internal/streams/destroy.js:106:8)
at emitErrorCloseNT (internal/streams/destroy.js:74:3)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
(Use node --trace-warnings ... to show where the warning was created)
(node:6062) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:6062) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
nmap:
Starting Nmap 7.91 ( https://nmap.org ) at 2021-07-23 12:17 CEST
NSE: Loaded 153 scripts for scanning.
NSE: Script Pre-scanning.
Initiating NSE at 12:18
Completed NSE at 12:18, 0.00s elapsed
Initiating NSE at 12:18
Completed NSE at 12:18, 0.00s elapsed
Initiating NSE at 12:18
Completed NSE at 12:18, 0.00s elapsed
Initiating ARP Ping Scan at 12:18
Scanning <IP_ADDRESS> [1 port]
Completed ARP Ping Scan at 12:18, 0.09s elapsed (1 total hosts)
Initiating Parallel DNS resolution of 1 host. at 12:18
Completed Parallel DNS resolution of 1 host. at 12:18, 0.00s elapsed
Initiating SYN Stealth Scan at 12:18
Scanning <IP_ADDRESS> [65535 ports]
Discovered open port 56789/tcp on <IP_ADDRESS>
Discovered open port 56790/tcp on <IP_ADDRESS>
Discovered open port 13000/tcp on <IP_ADDRESS>
Discovered open port 2870/tcp on <IP_ADDRESS>
Completed SYN Stealth Scan at 12:18, 2.29s elapsed (65535 total ports)
Initiating Service scan at 12:18
Scanning 4 services on <IP_ADDRESS>
Completed Service scan at 12:20, 128.65s elapsed (4 services on 1 host)
Initiating OS detection (try #1) against <IP_ADDRESS>
NSE: Script scanning <IP_ADDRESS>.
Initiating NSE at 12:20
Completed NSE at 12:20, 14.20s elapsed
Initiating NSE at 12:20
Completed NSE at 12:20, 1.04s elapsed
Initiating NSE at 12:20
Completed NSE at 12:20, 0.01s elapsed
Nmap scan report for <IP_ADDRESS>
Host is up (0.00077s latency).
Not shown: 65531 closed ports
PORT      STATE SERVICE    VERSION
2870/tcp  open  upnp       IPI Media Renderer upnpd 1.0 (UPnP 1.0; DLNADOC 1.50)
13000/tcp open  unknown
56789/tcp open  tcpwrapped
56790/tcp open  tcpwrapped
MAC Address: 70:AF:24:64:58:46 (TP Vision Belgium NV)
Device type: general purpose
Running: Linux 3.X|4.X
OS CPE: cpe:/o:linux:linux_kernel:3 cpe:/o:linux:linux_kernel:4
OS details: Linux 3.2 - 4.9
Uptime guess: 3.173 days (since Tue Jul 20 08:11:50 2021)
Network Distance: 1 hop

Hey @nseries100 thank you for opening an issue.
The error message shows that the TV refuses the connection on that IP.
Please make sure that you've entered the correct IP and turn on your TV (with your normal remote).
Then please go to the following "website":
http://<IP_ADDRESS>:1925/1/system
and look for the following snippet and comment it here:
"api_version": {
	"Major": 6,
	"Minor": 1,
	"Patch": 0
	},

If you cannot open that website it means that your TV is not reachable under that IP (at least not from the Device you are using to open the website).
In that case please double-check your IP.
Please let me know your findings. I'm sure we can make this work :)

Hi,
thank you for your quick response.
My IP seems to be correct. I attached some screenshots for you. TV shows in my UniFi controller and ping on that is also OK. But web url http://<IP_ADDRESS>:1925/1/system is not working .. :/

Mhhh...
Is Homebridge running on your MacMini? - If yes it should see the TV.
Can you try to download the official App and test if that App can communicate with your TV?
https://apps.apple.com/be/app/philips-tv-remote-app/id1479155903
If the App can communicate with your TV the problem is probably in my plugin.
If it can't communicate with your TV it's a problem with your local setup. (I had to enable some settings in my Unifi Controller for everything to work. I can try to find the settings for you.)

I tried the app you suggest and its not find my TV :O
HomeBridge is runing on my raspberry pi 4 in my local network (<IP_ADDRESS>).
Could you find the specific settings for UniFi controller? My controller is running on UDM-PRO.
Thank you for your help.

I turned on MultiCast DNS and IGMP Snooping and disabled Device Isolation on all my networks.
I hope that helps!
As it stands it seems like your TVs API is not reachable.
You could try to google how to enable it. It might be disabled from the factory

Additionally you could test if one of the following urls works (api_version can be 1 to 6)
http://{your_tv_ip}:1925/{api_version}/system
http://{your_tv_ip}:1926/{api_version}/system
https://{your_tv_ip}:1925/{api_version}/system
https://{your_tv_ip}:1926/{api_version}/system

Hi there,
1/ i set unifi controller like you said (mDNS and IGMP snoop),
2/ i reset TV network setting (its on DHCP for now),
3/ some new TV fw update popped up today - so i installed it.
In Philips app, TV is now successfully paired.
When I tried the URL, its finally showed some info - attached in the end.
Unfortunately, WOL doesn't work.
The WoWlan setting in TV is active. MAC address in configuration is correct - verified in settings TV and UniFi. HB log says OK, but TV remains off.
[24/07/2021, 12:58:57] [Saphi TV] set Active => 1
[24/07/2021, 12:58:58] [Saphi TV] WOL-OK!
Any ideas? :)
{
"menulanguage": "Czech",
"name": "65PUS6703/12",
"country": "Czechrep",
"serialnumber_encrypted": "K2kseVsmQFgkd15gKkJ+aj2BjjBnxmFC2AWs5ZFovug=",
"softwareversion_encrypted": "K2kseVsmQFgkd15gKkJ+ak3ednbEwu0L3RKYbs0Gj1xP4wabV+y2+BZ0IrujSFGi",
"model_encrypted": "K2kseVsmQFgkd15gKkJ+aomwrvYy3DqdX0gO2ZbGsc4=",
"deviceid_encrypted": "K2kseVsmQFgkd15gKkJ+arHnsgG500NWmsz4vGbw/kc=",
"nettvversion": "<IP_ADDRESS>",
"epgsource": "broadcast",
"api_version": {
"Major": 6,
"Minor": 1,
"Patch": 0
},
"featuring": {
"jsonfeatures": {
"recordings": [
"List",
"Schedule",
"Manage"
],
"ambilight": [
"Hue",
"Ambilight"
],
"textentry": [
"context_based",
"initial_string_available"
],
"inputkey": [
"key",
"unicode"
],
"pointer": [
"context_based"
],
"activities": [
"browser"
]
},
"systemfeatures": {
"tvtype": "consumer",
"content": [
"dmr"
],
"pairing_type": "none",
"os_type": "Linux"
}
}
}

That looks like a first success to me. Nice!
Can you turn on the TV with the Remote App?
If yes, please try to install the beta version of my plugin using this command:
sudo npm install -g homebridge-saphi-tv@beta
If you can't control it with the App you probably still have a problem in your network.
And then try to control your TV again. If that still doesn't work we need to look deeper.
The output
[24/07/2021, 12:58:57] [Saphi TV] set Active => 1
[24/07/2021, 12:58:58] [Saphi TV] WOL-OK!

only means that the Plugin sent the command, not that the TV received it.

Yep,
turning on by the Philips app is working correctly.
I am noticing that "something happened" when i try to wol by homekit. My flash drive's led blinks a few times.
So I will try the beta version.

Did the beta version work better for you?

I installed the Beta now - it was with some warning, take a look:
homebridge@raspberrypi:/var/lib/homebridge $ sudo npm install -g homebridge-saphi-tv@beta
npm WARN<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none is installed. You must install peer dependencies yourself.

<EMAIL_ADDRESS>updated 2 packages in 29.941s

Sorry for the late response!
Did you manage to get it to work? - I tried to replicate the error on a fresh homebridge install but it just worked.

Not yet.
I am not really sure what to do next. In HB plugins, I have only this plugin:
Homebridge Philips TV Saphi-OS
homebridge-saphi-tv v0.0.28-10
Should be there another one? (after running your install command for beta).

No that looks correct.
Is homebridge starting normally?
Could you please try to remove your config and add a new one via the configuration ui?

1/ removed old config
2/ create new config using UI
While HB loading there are some errors:
[27/07/2021, 13:37:46] [Philips TV] removing all accessories
[27/07/2021, 13:37:46] TypeError: Cannot read property 'filter' of undefined
at new TelevisionAccessory (/usr/lib/node_modules/homebridge-saphi-tv/src/tvAccessory.ts:44:45)
at SaphiTvPlatform.publishExampleExternalAccessory (/usr/lib/node_modules/homebridge-saphi-tv/src/platform.ts:64:5)
at HomebridgeAPI. (/usr/lib/node_modules/homebridge-saphi-tv/src/platform.ts:31:12)
at HomebridgeAPI.emit (events.js:387:35)
at HomebridgeAPI.signalFinished (/usr/lib/node_modules/homebridge/src/api.ts:275:10)
at Server.start (/usr/lib/node_modules/homebridge/src/server.ts:173:14)
HB wont start.

Oh you found a bug!
Please define at least one Input - that should eliminate this error.

OK, I added input for Watch TV, see below:
config:
{
"name": "Philips TV",
"ip_adress": "<IP_ADDRESS>",
"wol_adress": "70:af:24:64:58:46",
"has_tv_channels": true,
"channel_setup_popup_time": 2250,
"startup_time": 15,
"timeout": 5,
"input_delay": 650,
"api_version": 6,
"api_port_no": 1925,
"protocol": "http",
"polling_interval": 40,
"has_ambilight": true,
"multirow_apps": false,
"vertical_inputs": false,
"has_ambihue": false,
"ambi_poweroff": true,
"ambi_poweron": false,
"inputs": [
{
"name": "Sledovat TV",
"type": "TV"
}
],
"platform": "SaphiTV"
}
HB log:
[27/07/2021, 14:35:01] [Philips TV] Initializing SaphiTV platform...
[27/07/2021, 14:35:01] [Philips TV] Finished initializing platform: SaphiTV
[27/07/2021, 14:35:01] Loading 1 accessories...
[27/07/2021, 14:35:01] [Philips TV] Finished launching platform: SaphiTV
[27/07/2021, 14:35:01] [Philips TV] removing all accessories
[Philips TV@@Manufacturer] characteristic value expected string and received object
[Philips TV Remote@@Manufacturer] characteristic value expected string and received object
[27/07/2021, 14:35:01] [Philips TV] Publishing TV & Remote
Preparing Advertiser for 'Philips TV E7AC' using bonjour-hap backend!
Preparing Advertiser for 'Philips TV Remote 9744' using bonjour-hap backend!
Starting to advertise 'Philips TV E7AC' using bonjour-hap backend!
[27/07/2021, 14:35:01] Philips TV E7AC is running on port 41661.
[27/07/2021, 14:35:01] Please add [Philips TV E7AC] manually in Home app. Setup Code: 180-25-490
Starting to advertise 'Philips TV Remote 9744' using bonjour-hap backend!
[27/07/2021, 14:35:01] Philips TV Remote 9744 is running on port 44819.
[27/07/2021, 14:35:01] Please add [Philips TV Remote 9744] manually in Home app.

Okay this is just a warning so everything should work.
Please add the new TV to your home app and try to use it.
If it still doesn't work we need to dig deeper.

Successfully added to homekit.
Turning off working fine.
Turning on still not working.

Since you can turn OFF the TV but not ON i think that the WOL MagicPaket gets lost on the way and does not reach the TV.
Can you try the following commands on your Homebridge Server:
sudo apt-get install wakeonlan
wakeonlan 70:af:24:64:58:46

My plugin is sending 20 wol requests. That should be more than enough to wake every Device.
WOL is not working properly on Philips TVs. Others have the same problems as you can read here

Installed. Tried about 30times. TV is remaining in OFF state.
root@raspberrypi:/# wakeonlan 70:af:24:64:58:46
Sending magic packet to <IP_ADDRESS>:9 with 70:af:24:64:58:46

In that case the problem is not with the plug-in itself but with your homebridge that can't reach the TV's MAC Adress.
Earlier you said that there is a Network-Hop in your setup. I hunk that might be the reason. WOL is known to have problems with network hops.

Please have a look at this Link.
There are steps to enable WOL across different subnets on UniFi Devices. This might help you.
I also use UniFi but I only have one subnet.
Since this issue doesn't come from my plugin and I can't really help you (because I don't know any better) I will close this issue later today.
If you think there is anything I can help you with please either reopen this issue or file a new one.
Good luck! ☺

There is no hop. I have only one subnet 192.168.1.x

Okay then I misunderstood your initial comment, sorry.
I still believe that the issue is not my plugin since the normal WOL command also doesn't work.
Is your RPie connected via wifi?

Its weird I know.
Rpi is connected via lan cable. Philips tv too.

Hey @nseries100 did you manage to solve your network issues? I would like to create a small troubleshooting guide and I could list your steps there 🙂

If anyone encounters this problem, please open a new issue and we can have another go at it.

Similar issues experienced by me in #17


chore: renaming new head cell flag

renaming new head cell work flag from HEAD_CELL_MENU_TEST_FLAG to new one: CLIENT_IM_5716_TABLE_COL_WIDTH

Just realized. Rendering test will fail


3.1 The user can choose from different 3d objects.

The objects the user can choose now orient themselves in front of the camera.


Query Command does not show output (intermittent)

PowerShell 7 - I noticed an intermittent issue of the query command not showing any output. Closing the terminal and re-run command seems to work
Initial NodeJS install - after fresh NodeJS may need to run command a second time.
PowerShell 5 - seems to operate better and more consistently.

Looks like PowerShell 7 with a portable version of NodeJS and gamedig. & : The term 'node' is not recognized as a name of a cmdlet, function
I will have to test NodeJS system installer and retest.
If it still persists I can create "Issue"  on PowerShell 7 github repo

Looks like it works fine with PowerShell 7 and the NodeJS system/program install. Not the portable version of NodeJS


Reflect changes for go version weekly.2012-02-22

Moved exported function _go_gtk_menu_position_func to seperate go-gtk.h header file.
Had to move _gtk_menu_position_func_info struct too so that it is known to above function.
Fixed arguments to exported function in gtk.go file.

Sorry, It was fixed in my repo.


Fixed Windows path issue

Fixed Path.ts to get pass first Tea Path error (1- changing slashes for windows and 2- using another deno function that has to do with symlink)

For this I would like the following (unless impossible or stupid, LMK)

Internally use forward slash as path separator
convert for .pretttyString()

I believe that all APIs will accept forward slashes, even Win32. But could be wrong.

For this I would like the following (unless impossible or stupid, LMK)

Internally use forward slash as path separator
convert for .pretttyString()

I believe that all APIs will accept forward slashes, even Win32. But could be wrong.

We use forward slash internally as path separator. Slash() function does the conversion from backslash to forward slash if necessary.


Classification coverage (cumulated_sore) is not 1 - alpha

Description
The classification coverage for method="cumulated_score" doesn't match $1 - \alpha$ for options include_last_label=False and include_last_label=True.
To Reproduce
Steps to reproduce the behavior:
Got to this COLAB notebook or see code here:
import numpy as np
from sklearn.model_selection import train_test_split
from sklearn.datasets import make_classification
from sklearn.ensemble import RandomForestClassifier
from mapie.metrics import (
    classification_coverage_score, classification_mean_width_score
)
from mapie.classification import MapieClassifier
X,y = make_classification(n_samples=10000, n_classes=10, n_informative=5, random_state=1)
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=2000, random_state=1)
X_calib, X_new, y_calib, y_new = train_test_split(X_test, y_test, test_size=1000, random_state=42)
model = RandomForestClassifier(random_state=0)
model.fit(X_train, y_train)

alpha = 0.5
mapie_score = MapieClassifier(estimator=model, cv="prefit", method="cumulated_score")
mapie_score.fit(X_calib, y_calib)
y_pred_score, y_ps_score = mapie_score.predict(X_new, alpha=alpha, include_last_label='randomized')
classification_coverage_score(y_new, y_ps_score[:,:,0])

For the 'randomized' option the method produces around the expected coverage:
0.526
But for include_last_label=True:
y_pred_score, y_ps_score = mapie_score.predict(X_new, alpha=alpha, include_last_label=True)
classification_coverage_score(y_new, y_ps_score[:,:,0])

The coverage is much higher 0.752
And also for include_last_label=False:
y_pred_score, y_ps_score = mapie_score.predict(X_new, alpha=alpha, include_last_label=False)
classification_coverage_score(y_new, y_ps_score[:,:,0])

The result coverage is 0.653
Expected behavior
I'd expect the coverage for "include_last_label=randomized" to be bounded between "include_last_label=False" and "include_last_label=True". Instead, False/True options have a way too high coverage.
So I'd expect for the coverages:  False < randomized < True
But the result was                         0.653      0.526            0.752

OS: MacOS
MAPIE Version 0.5.0

Additional context

the issue appeared also in other data examples
the issue occurred more often for  large $\alpha$ values
the coverage also seems off for method="top_k", method="raps"
the coverage is fine for method="score"

Hi Vincent
It makes sense to me now.
I really appreciate that you responded so quickly and took the time to explain it.  I learned something new today.
Would it make sense to add a sentence to the documentation of MapieClassifier.predict:
Options False and True can result in coverages larger than $1-\alpha$, see [1]
[1] Angelopoulos, Anastasios, et al. "Uncertainty sets for image classifiers using conformal prediction." arXiv preprint arXiv:2009.14193 (2020).
Again, thanks a lot, I really appreciate not only your answer but all of the team's effort to build and maintain MAPIE.
Best,
Christoph


Grading: Duplicate name for grade steps in default Grading Key

Describe the bug
When creating a default grading key, there are two grade steps with name "1.0"
The default grading key cannot be save and an error is displayed:
All grade steps must have unique names!
To Reproduce

Go to Course Management > Your Course > Assessment > Grading Key
Generate a default grading key
Note how the default grading key cannot be saved

Expected behavior
There shouldn't be duplicated names for the grade steps in a default grading key.
The user should be able to save the default grading key.
Screenshots

Which version of Artemis are you seeing the problem on?
6.3.8
What browsers are you seeing the problem on?
Chrome, Safari, Microsoft Edge, Firefox
Additional context
No response
Relevant log output
No response

Can we remove the unique constraint? Before it used to have 1.0+ but this cannot be parsed into a number and would fail at a later point

Removing the unique constraint might not be the right approach.
I would have suggested to remove the last grade step like this:

The grading key would then also be more consistent with the default grading key that is created in "Detailed" mode:

There is also another inconsistency between "detailed" and "interval" mode: When saving the default grading key from "Detailed" mode and switching back to "interval", the bounds of the grade step before the sticky grade step is different { [90-95) instead of [90-95] }

would also be a good solution for me 👍
could you please change this and fix the inconsistency? Thanks

Sure, I'll work on this 👍


feature(*) Switch to Markdown Transform 0.13 & Cicero 0.22

Signed-off-by: Jerome Simeon<EMAIL_ADDRESS>Description
This is a switch to published Concerto 1.0 & Markdown Transform 0.13 & Concerto 0.22.
Changes

Switch to Concerto 1.0.0-alpha.10
Switch to Markdown Transform 0.13.0-alpha.5
Switch to Cicero 0.22.0-alpha.9

Flags

~Those are not the latest versions~
Works after a fix to the build of the template library (https://github.com/accordproject/cicero-template-library/commit/028071913e13425f6cb2dc75b9d7a34c1b077e3c)
Hard codes a version of the template library since it's not been merged in

Context
I've done very little testing. Any volunteer to try the netlify deployment would be appreciated.

Please make sure PR titles and commit messages follow the AP format, and label PRs and Issues.


Set operations: finalization

Include/nav rewriting is now supported.
We now push down to subquery when OrderBy, Take or Skip are applied to set operations, to avoid using the hack where ColumnExpression with no table alias was used. #16244 was opened to track for post-3.0.
Added missing support for union over subselect projection mappings.
Added Other type to SetOperationType so that providers can define extra set operations (e.g. PostgreSQL INTERSECT ALL, EXCEPT ALL).

Completes #6812
Fixes #13196
Fixes #16065
Fixes #16165

Pushed a new commit with various fixes.

If navigation part of set operation is going to take time then can we split out, push down for order by in separate PR and get it merged sooner?

Also set operations with fromsql.

If navigation part of set operation is going to take time then can we split out, push down for order by in separate PR and get it merged sooner?

I'm going to take a quick stab at it - I have to leave very soon anyway.
In any case I will look at it later tonight. @smitpatel, maybe comment on what you consider OK (e.g. there's still the convert nodes when replacing the EntityShaperExpression). If necessary I can split out the problematic parts.
Finally, even if the PR isn't perfect as-is, we can also decide to merge and I'll fix anything right afterwards (i.e. tomorrow during my day). Up to you.

private ColumnExpression(string name, TableExpressionBase table, Type type, RelationalTypeMapping typeMapping, bool nullable)
            : base(type, typeMapping)
        {
// Add this line
            Check.NotEmpty(Table.Alias);
            Name = name;
            Table = table;
            Nullable = nullable;
        }

Fix whatever fails with that, (disable/pushdown). (Apparently this PR does not update code about null check). Split out that part.

@smitpatel, removed support entirely for set operations over operands of different entity types - scoped this out to #16298 (this is what the ColumnExpression was for). We can look at this later, hopefully (but not 100% necessarily for 3.0).
@maumar implemented the better way to compare includes on both sides, you can take a look.
Let's try to get it into preview7.

@roji nav rewrite changes look good!

Addressed @maumar's comments and rebased on latest master.

Can you split out PR in 2 parts?

Fixing issue with Table without alias
Nav expansion part of set operations

Since @maumar  is gone for vacation, it may take some time to understand nav expansion changes.

Done, this PR now only fixes the ColumnExpression alias issue. Once it's merged I'll submit a separate one for nav/include support.


an error occurred while syncing lazy.nvim

hello everyone, I just migrated from packer to lazy.neovim, when I run the "Lazy sync" command, all plugins are loaded normally except luasnip (can be seen in the image below), how do I solve this?

my fault, i forgot add tag release


Missing library on switching from old to media panel ui

when switching from banshee old ui to media panel and you have selected an artist for example, media panel only displays that artist as all of your library

can you show some screenshots? I tried to reproduce, I assume you mean when selecting an artist in the filters:

But on transition to the media panel I get this and selecting all artists again in the media panel filter causes the album browser to reload:

I'm using feature/lite with the --enable-treeview configure switch and --classic as a runtime switch though, is that broken on the feature/mediapanel branch?

it is fine in feature/lite, broken on feature/mediapanel
banshee --classic does not display the old ui with feature/lite with the --enable-treeview

(everything on latest commit per branch)

should be fixed on master branch without any further updates. Would you mind checking it out and confirming?

life is hard atm. i ll try .


getting error when using sketch-polyfill-console

error Error while building ./index.js
./node_modules/sketch-utils/to-array.js
Module parse failed: Unexpected token (7:23)
You may need an appropriate loader to handle this file type.
|   var arr = []
|   for (var j = 0; j < (object || []).length; j += 1) {
|     arr.push(object[j]))
|   }
|   return arr
 @ ./node_modules/sketch-utils/index.js 3:25-46
 @ ./node_modules/sketch-polyfill-console/lib/index.js
 @ ./node_modules/promise-polyfill/lib/index.js
 @ ./node_modules/sketch-polyfill-fetch/lib/index.js

it's only when using console.log. It's already fixed but I don't have my phone right now so can't publish the new version (2FA). Will do so as soon as I get it back

it's only when using console.log

Not sure what you mean but I did not use console.log afaik.
Do you mean https://github.com/skpm/sketch-utils/commit/d19f0962c61755dbe924bb3b8a27d40c7600cf5a#diff-f170df27fa7f31a6ea58c1399c6d40df?

yes sorry. In the meantime you can replace the to-array.js file by this one: https://github.com/skpm/sketch-utils/blob/master/to-array.js

should be good now

Ok, I'll try to test again this week. Thanks for taking care of it and fixing this.


Instant bomb when I click on the Map button

Hangs briefly the just crashes.
When I first installed the program it did nothing.   Then once I clicked on the button and pressed a key on a keyboard and it mapped it.  Tried with a different key and it crashed and now it only crashes.
No idea why, will download again tomorrow but let me know if you want logs to look at or something...

This seems to be related to attempting to map a mouse button.  Which I was doing by mistake by double clicking the button.
If I choose The mapping button and press either my keyboard or the numpad I also have it finds a button successfully.  If I press any mouse button then the whole program locks up and needs to be closed with task manager.
The Mouse is a Logitech G502 which is seen through an input device called M: Logitech USB Receiver

Using mouse buttons already mapped through the Logitech mouse software the crash does not happen as it sees the mapping as the Mapped Key and not as the underlying mouse button.  buttons 1,2,3.

Just tried an Axis too and this too crashed.

I'm getting the same problem with my joystick. This is in the log:
2021-02-25 17:38:40.1275 FATAL Could not find device Handle VID_044F&PID_B10A, Instance 0 System.Exception: Could not find device Handle VID_044F&PID_B10A, Instance 0
at SharpDX_DirectInput.DeviceLibrary.DiDeviceLibrary.GetInputDeviceIdentifier(DeviceDescriptor deviceDescriptor)
at SharpDX_DirectInput.DiDeviceHandler..ctor(DeviceDescriptor deviceDescriptor, EventHandler1 deviceEmptyHandler, EventHandler1 bindModeHandler, IInputDeviceLibrary1 deviceLibrary)    at SharpDX_DirectInput.SharpDX_DirectInput.SetDetectionMode(DetectionMode detectionMode, DeviceDescriptor deviceDescriptor, Action4 callback)
at HidWizards.IOWrapper.Core.IOController.SetDetectionMode(DetectionMode detectionMode, ProviderDescriptor providerDescriptor, DeviceDescriptor deviceDescriptor, Action`4 callback)
at HidWizards.UCR.Core.Managers.BindingManager.BeginBindMode(DeviceBinding deviceBinding) in D:\Projects\UCR\UCR.Core\Managers\BindingManager.cs:line 56
at HidWizards.UCR.Core.Models.Binding.DeviceBinding.EnterBindMode() in D:\Projects\UCR\UCR.Core\Models\Binding\DeviceBinding.cs:line 192
at HidWizards.UCR.Views.Controls.DeviceBindingControl.BindButton_OnClick(Object sender, RoutedEventArgs e)
at System.Windows.Input.MouseButtonEventArgs.InvokeEventHandler(Delegate genericHandler, Object genericTarget)
at System.Windows.RoutedEventArgs.InvokeHandler(Delegate handler, Object target)
at System.Windows.RoutedEventHandlerInfo.InvokeHandler(Object target, RoutedEventArgs routedEventArgs)
at System.Windows.EventRoute.InvokeHandlersImpl(Object source, RoutedEventArgs args, Boolean reRaised)
at System.Windows.UIElement.RaiseEventImpl(DependencyObject sender, RoutedEventArgs args)
at System.Windows.UIElement.RaiseTrustedEvent(RoutedEventArgs args)
at System.Windows.UIElement.RaiseEvent(RoutedEventArgs args, Boolean trusted)
at System.Windows.Input.InputManager.ProcessStagingArea()
at System.Windows.Input.InputManager.ProcessInput(InputEventArgs input)
at System.Windows.Input.InputProviderSite.ReportInput(InputReport inputReport)
at System.Windows.Interop.HwndMouseInputProvider.ReportInput(IntPtr hwnd, InputMode mode, Int32 timestamp, RawMouseActions actions, Int32 x, Int32 y, Int32 wheel)
at System.Windows.Interop.HwndMouseInputProvider.FilterMessage(IntPtr hwnd, WindowMessage msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at System.Windows.Interop.HwndSource.InputFilterMessage(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at HidWizards.UCR.App.Main()

It seems to happen when my joystick isn't being detected or sometimes when I reconnect it to a different port. Wish it wouldn't cause a fatal error.


provide constructor for tests and not to use system-lambda

Because system-lambda accesses the private field of java.util package used by reflection.
However, from Java 9, it doesn't allow it. So, I stop using it.

I checked locally and I couldn't find any problem. So, I'll merge without review. If there are some problems, I'll fix it later.


Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://<IP_ADDRESS>:51079/gM04ir90Rpc=/ws

$flutter run
Launching lib/main.dart on Android SDK built for x86 in debug mode...
Initializing gradle...
Resolving dependencies...
Running Gradle task 'assembleDebug'...
Built build/app/outputs/apk/debug/app-debug.apk.
Installing build/app/outputs/apk/app.apk...
Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://<IP_ADDRESS>:51079/gM04ir90Rpc=/ws
$ flutter doctor -v
[✓] Flutter (Channel stable, v1.5.4-hotfix.2, on Mac OS X 10.14.4 18E226, locale zh-Hans-CN)
• Flutter version 1.5.4-hotfix.2 at /Users/jiangjunjie/jieay/data/japp/flutter
• Framework revision 7a4c33425d (2 weeks ago), 2019-04-29 11:05:24 -0700
• Engine revision 52c7a1e849
• Dart version 2.3.0 (build 2.3.0-dev.0.5 a1668566e5)
[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
• Android SDK at /Users/jiangjunjie/jieay/data/japp/Android/sdk
• Android NDK location not configured (optional; useful for native profiling support)
• Platform android-28, build-tools 28.0.3
• ANDROID_HOME = /Users/jiangjunjie/jieay/data/japp/Android/sdk
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
• All Android licenses accepted.
[✓] iOS toolchain - develop for iOS devices (Xcode 10.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 10.2.1, Build version 10E1001
• ios-deploy 1.9.4
• CocoaPods version 1.6.1
[✓] Android Studio (version 3.4)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin version 35.3.1
• Dart plugin version 183.6270
• Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
[✓] Connected device (1 available)
• Android SDK built for x86 • emulator-5554 • android-x86 • Android 10 (API 28) (emulator)
• No issues found!

do you have some code?

Usually when I get this error on a physical device, turning off WiFi/Bluetooth fixes this.
You might want to try flutter clean and then quitting-and-restarting your emulator.

FYI, I got this trying to run an emulator on Android 10, and it worked fine when switching down to android 9

do you have some code?

It is possible to debug using the real machine, but the error occurs when using the emulator.

Usually when I get this error on a physical device, turning off WiFi/Bluetooth fixes this.
You might want to try flutter clean and then quitting-and-restarting your emulator.

It is possible to debug using the real machine, but the error occurs when using the emulator.

FYI, I got this trying to run an emulator on Android 10, and it worked fine when switching down to android 9

I got this error while using the emulator, which is android 9.

I have the similar problem using Iphone 7 for testing
Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://<IP_ADDRESS>:1026/bsULTXj6wEo=/ws
Working fine with any emulator android or IOS  also on android device...
I have try a lot of solution, none of them working

Same problem here and downgrading from Q to Pie solved the issue.

@Jieay Which OS were you using? Same as above^^ Pie works, Q doesn't.

changing version of Os from Q to Pie, Also works for me. Thanks!!

Same problem here and downgrading the Android emulator version from Q to Pie solved the issue.

Yes, I can reduce the Android emulator version from Q to Pie to solve the problem. Thank you very much.

@Jieay Which OS were you using? Same as above^^ Pie works, Q doesn't.

Yes, I can reduce the Android emulator version from Q to Pie to solve the problem. Thank you very much.

changing version of Os from Q to Pie, Also works for me. Thanks!!

change Tools --> AVD Manager -->Create Virtual Devices --> Phone -->Pie(Download)

Yes downgrade to Pie worked

Thanks, it worked for me too :)

It's a good pie version

Downgrading to Pie also worked for me.  Thanks!

Downgrading to Pie works. So far, this problem still exists on AS3.4 with SDK Q(win10 and macos10.13.6).

There's an open issue about things not working on Q here ->  https://github.com/flutter/flutter/issues/33050.

Usually when I get this error on a physical device, turning off WiFi/Bluetooth fixes this.
You might want to try flutter clean and then quitting-and-restarting your emulator.

This worked for me, thank you so much!!

Thanks, downgrading to Pie worked for me too. 👍

Downgrading to Pie worked for me too!!

downgrading is working, something wrong with flutter SDK or android Q?

Downgrading to Pie worked to me too! Thanks!

downgrading to pie worked!

Downgrading to Pie worked to me too! Thanks!

The Pie downgrade and "flutter clean" worked for me.

Same for me.

I found that downgrading the Android image from Q to Pie fixed the problem.
Please reply to<EMAIL_ADDRESS>On Sat, Jul 13, 2019 at 11:06 AM Michal Misiaszek<EMAIL_ADDRESS>wrote:

Same for me.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/32696?email_source=notifications&email_token=AH7LA2VPUX5KKNTQBBVGOC3P7IKTJA5CNFSM4HMZ2JK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3WT4Y#issuecomment-511142387,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7LA2WAT6IKUVJNIVFPPPDP7IKTJANCNFSM4HMZ2JKQ
.

I found that downgrading the Android image from Q to Pie fixed the problem. Please reply to<EMAIL_ADDRESS>…
On Sat, Jul 13, 2019 at 11:06 AM Michal Misiaszek @.***> wrote: Same for me. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#32696?email_source=notifications&email_token=AH7LA2VPUX5KKNTQBBVGOC3P7IKTJA5CNFSM4HMZ2JK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ3WT4Y#issuecomment-511142387>, or mute the thread https://github.com/notifications/unsubscribe-auth/AH7LA2WAT6IKUVJNIVFPPPDP7IKTJANCNFSM4HMZ2JKQ .

Yes, I know it. Thanks

What is the fix, when user observes the error?

If user phone is Android Q you are out of luck. Only downgrade to Pie solve the problem.

Downgrade to Pie from Q.
Please reply to<EMAIL_ADDRESS>On Mon, Jul 15, 2019 at 5:42 PM RoboTechCenter<EMAIL_ADDRESS>wrote:

What is the fix, when user observes the error?
[image: FlutterError-July16]
https://user-images.githubusercontent.com/8305626/61257827-5aae1c80-a790-11e9-801a-7520620b3108.png
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/flutter/flutter/issues/32696?email_source=notifications&email_token=AH7LA2WIJQQXLM6E7HM4P53P7UKOLA5CNFSM4HMZ2JK2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ7LFDI#issuecomment-511619725,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AH7LA2QDYD2L32JZL4PH4ODP7UKOLANCNFSM4HMZ2JKQ
.

Why is this closed? The issue with Q remains

I get this on Android Pie

@PsychoXIVI it was closed because there's already an issue covering it (https://github.com/flutter/flutter/issues/33050).
@guit4eva The original poster confirmed downgrading to Pie solved his issue (and there's another one open tracking things not working in Q). If you're seeing the same message but on a Pie emulator it's a different cause so please open a new issue (or see if there's another that describes your problem). Thanks!

this issue with Q still persists. Though device using pie works fine. Last tested with pixel 3 xl

This issue with Q still persists even in Master channel.

I'm having this issue as well.
flutter run results in:
[  +25 ms] Error connecting to the service protocol: HttpException: Connection closed before full header was received, uri = http://<IP_ADDRESS>:63904/XwrZuMnUtd4=/ws
[   +4 ms] "flutter run" took 23,438ms.
[        ] "flutter run" took 23,438ms.

#0      throwToolExit (package:flutter_tools/src/base/common.dart:28:3)
#1      RunCommand.runCommand (package:flutter_tools/src/commands/run.dart:484:7)
<asynchronous suspension>
#2      FlutterCommand.verifyThenRunCommand (package:flutter_tools/src/runner/flutter_command.dart:478:18)
#3      _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#4      _rootRunUnary (dart:async/zone.dart:1132:38)
#5      _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#6      _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#7      Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#8      Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#9      Future._complete (dart:async/future_impl.dart:473:7)
#10     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#11     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:28:18)
#12     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:294:13)
#13     RunCommand.usageValues (package:flutter_tools/src/commands/run.dart)
#14     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#15     _rootRunUnary (dart:async/zone.dart:1132:38)
#16     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#17     _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#18     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#19     Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#20     Future._complete (dart:async/future_impl.dart:473:7)
#21     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#22     _AsyncAwaitCompleter.complete (dart:async-patch/async_patch.dart:28:18)
#23     _completeOnAsyncReturn (dart:async-patch/async_patch.dart:294:13)
#24     AndroidDevice.isLocalEmulator (package:flutter_tools/src/android/android_device.dart)
#25     _asyncThenWrapperHelper.<anonymous closure> (dart:async-patch/async_patch.dart:77:64)
#26     _rootRunUnary (dart:async/zone.dart:1132:38)
#27     _CustomZone.runUnary (dart:async/zone.dart:1029:19)
#28     _FutureListener.handleValue (dart:async/future_impl.dart:126:18)
#29     Future._propagateToListeners.handleValueCallback (dart:async/future_impl.dart:639:45)
#30     Future._propagateToListeners (dart:async/future_impl.dart:668:32)
#31     Future._complete (dart:async/future_impl.dart:473:7)
#32     _SyncCompleter.complete (dart:async/future_impl.dart:51:12)
#33     _AsyncAwaitCompleter.complete.<anonymous closure> (dart:async-patch/async_patch.dart:33:20)
#34     _rootRun (dart:async/zone.dart:1120:38)
#35     _CustomZone.run (dart:async/zone.dart:1021:19)
#36     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#37     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#38     _rootRun (dart:async/zone.dart:1124:13)
#39     _CustomZone.run (dart:async/zone.dart:1021:19)
#40     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#41     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#42     _microtaskLoop (dart:async/schedule_microtask.dart:41:21)
#43     _startMicrotaskLoop (dart:async/schedule_microtask.dart:50:5)
#44     _runPendingImmediateCallback (dart:isolate-patch/isolate_patch.dart:116:13)
#45     _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:173:5)

flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel unknown, v1.8.2-pre.158, on Mac OS X 10.14.5 18F132, locale en-US)

[✓] Android toolchain - develop for Android devices (Android SDK version 28.0.3)
[!] Xcode - develop for iOS and macOS (Xcode 10.1)
    ! CocoaPods out of date (1.6.0 is recommended).
        CocoaPods is used to retrieve the iOS and macOS platform side's plugin code that responds to your plugin usage on the Dart side.
        Without CocoaPods, plugins will not work on iOS or macOS.
        For more info, see https://flutter.dev/platform-plugins
      To upgrade:
        sudo gem install cocoapods
        pod setup
[✓] Android Studio (version 3.2)
[✓] VS Code (version 1.35.1)
[✓] Connected device (1 available)

Simulator:
Name: Nexus_5X_API_Q
CPU/ABI: Google Play Intel Atom (x86)
API level: Q

@blasten I think this is a dupe of https://github.com/flutter/flutter/issues/33050?

See https://github.com/flutter/flutter/issues/33050#issuecomment-514995352 - it's possible this is fixed. I can't repro on the latest Q build (the Google issue tracker said it was fixed in Beta 5) - I updated everything through SDK Manager and then created an emulator.
Unfortunately I didn't see the problem before the fix (I didn't have the Q bits downloaded) so I'm not totally confident, but if you were seeing this before please give it a try and post back the outcome.

@DanTup I'm still seeing this issue after reinstalling the Q bits.

@DanTup I'm still seeing this issue after reinstalling the Q bits.(1)

Closing this issue since it's a duplicate of https://github.com/flutter/flutter/issues/33050

i have faced the same issue , then I changed my emulator to API 29 to API 20 .. now it is working fine

On iOS (iphone 7), I unplugged the USB cable and re-plugged it and ran the Debug again, this error disappeared.

Usually when I get this error on a physical device, turning off WiFi/Bluetooth fixes this.
You might want to try flutter clean and then quitting-and-restarting your emulator.

This fix my problem ,tks

Same problem here and downgrading the Android emulator version from Q to Pie solved the issue.

Downgrading to Pie didn't work for me!!
Because I am already using Pie (API 28). But it doesn't work. :(

@goksoy66 since this issue is closed, would you mind opening a new issue and CC me on it and I'll see if I can help. Please include:

Full output of flutter doctor -v.
Full output of flutter devices -v (when the emulator is running)
Full output of flutter run -v when this issue occurs (assuming you can reproduce it from the terminal - otherwise if you're using VS Code you can run the Dart: Capture Logs command) - please post this in a gist or similar and post the link since it could be quite long
Info on whether you have any sort of proxy (or anything like antivirus that might proxy)

Still facing this issue on Android 9 (real version) and IOS simulator

I'm still facing this issue on iOS device

I'm still facing this issue on iOS device

Same here. Plugging iPhone to another USB port helped me.

What server are you talking about? OP tries to run the app on a device.

This Error when you call API
with JWT
You will fetch it when Server is down

On iOS trusting the device after reconnecting the cable helped. Probably turning off internet sharing should help as well.

If you try a lot of methods and still useless, restarting the phone is a better choice

Same problem here and downgrading the Android emulator version from Q to Pie solved the issue.

that is not related to version of android platform

This is still an issue using iOS simulator, more then a year an the problem is still here.

@Gatunox There are many different issues that can result in this error. The major one around the time this issue was created was a bug with a beta version of the Android SDK that was resolved. It sounds like your issue is with the iOS Simulator so it's not the same problem even though the error displayed is the same. If your issue still occurs on latest master and there isn't an existing open issue covering it, please open a new issue with details (verbose output from flutter run - v, verbose doctor output with flutter doctor -v, whether it repros from only IDE or also terminal). It's very difficult to diagnose and fix issues that are posted on the end of other/resolved issues.

do you have some code?

It is possible to debug using the real machine, but the error occurs when using the emulator.

i'm having the same problem but in a  physical device "SAMSUNG" (i'm not using an emulator!)

Guys let me share my experiences on MacOS:

running any kind of VPN connection may cause this issue. Ie: OpenVPN, l2tp and Cisco Anyconnect all cause this issue to me. I did not try with Checkpoint VPN yet but I beleive I will end up with the same result.
having multiple network connection (cable + wifi) may cause this issue
having Internet sharing may cause this issue

So in general if you have a special routing table on your system for any reason that is the first to check.

I turned my VPN service off and it worked


Stopped working as of 5/24/2023

Doesn't hide implings currently, but still changes the option to "use".

This is intended. Maybe in the future I will add the ability to choose whether to hide implings or change the left click to use.


specialization values and Linux

is specialization values works with linux-based OS?
tried it with powershell and vmm, result - can't obtain IP

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

ID: cf31f5cf-8755-b0c4-7d17-f9f263ac0099
Version Independent ID: d33ed427-44ed-ea0c-fb6d-efd45ce0b42b
Content: Create a shielded VM using PowerShell
Content Source: WindowsServerDocs/security/guarded-fabric-shielded-vm/guarded-fabric-create-a-shielded-vm-using-powershell.md
Product: windows-server
Technology: security-guarded-fabric
GitHub Login: @rpsqrd

It should work. Did you install the VMM guest agent in the Linux template disk?

Yeap, i tried with it and w/o. IP not assigned. Ubuntu 16.04.6

is vmm guest agent used for IP injection? not LIS?

It is, yes. LIS reports on the current IP of the VM, but the VMM guest agent is responsible for "specializing" the OS and setting the static IP.
Do you see other changes apply to the VM, like the hostname or SSH keys (if you provided your public key in the VMM deployment wizard)? I'm curious whether all of the guest specialization tasks are failing or if it's just the IP configuration.

Im trying to deploy shielded linux vm (ubuntu 16.04.6). After first reboot i see old ip in hyper-v manager network tab of VM (icmp passed/ssh failed). Im tried deploy with VMM and powershell New-ShieldedVM - same result

i found problem, New-ShieldingDataAnswerFile from GuardedFabricTools makes wrong format answerfile

Can you share what the cmdlet is outputting vs. what the VMM guest agent is expecting? Was it the structure of the file or just the values?

Thanks for your dedication to our documentation. If we have been unable to review your issue in a timely manner, we sincerely apologize for the delayed response. We have captured the informtion you have provided for review. We are closing this issue for now, but if you feel that it's still a concern, please respond and let us know. If you determine another possible update to our documentation, please don't hesitate to reach out again. #please-close


Clean up the viewer CSS file by merging rules

/botio-linux preview

Apparantely this doesn't work as I can now click the links in presentation mode. Closing.


Low-hanging opt: avoid allocation on default sampler

A low-risk and simple change to avoid allocations from the typical sampler usage: just avoiding creating and calling it on the typical case. We can look at removing the samplers since we go for high-fidelity but that will require a major version bump since it will remove some current capability (granted that I'm not aware of usage for it).

I used the no tagging test for NLog 4.6 as a proxy for the effects of this change. Notice mean duration and allocated reductions.