0.7.0: Generic Driver create command: err exit status 255

I'm getting the exit status 225 when trying to use the generic driver...
I'm using my key and my ssh ID...
The ssh keys are already in the box, so I can ssh into the box
Is there any other log that I can look at? No new entris on /var/log/messages on the host...

$ docker-machine --debug create --driver generic --generic-ip-address=builder-1.dockerhub.corp.intuit.net --generic-ssh-key=/home/mdesales/.ssh/id_rsa --generic-ssh-user mdesales dockerhub-build1
Docker Machine Version:  0.7.0, build a650a40
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver generic
Plugin server listening at address <IP_ADDRESS>:34407
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(flag-lookup) Calling .GetMachineName
(flag-lookup) Calling .DriverName
(flag-lookup) Calling .GetCreateFlags
Found binary path at /usr/local/bin/docker-machine
Launching plugin server for driver generic
Plugin server listening at address <IP_ADDRESS>:38762
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(dockerhub-build1) Calling .GetMachineName
(dockerhub-build1) Calling .DriverName
(dockerhub-build1) Calling .GetCreateFlags
(dockerhub-build1) Calling .SetConfigFromFlags
Running pre-create checks...
(dockerhub-build1) Calling .PreCreateCheck
(dockerhub-build1) Calling .GetConfigRaw
Creating machine...
(dockerhub-build1) Calling .Create
(dockerhub-build1) Importing SSH key...
(dockerhub-build1) DBG | IP: builder-1.dockerhub.corp.intuit.net
(dockerhub-build1) Calling .GetConfigRaw
(dockerhub-build1) Calling .DriverName
(dockerhub-build1) Calling .DriverName
Waiting for machine to be running, this may take a few minutes...
(dockerhub-build1) Calling .GetState
Detecting operating system of created instance...
Waiting for SSH to be available...
Getting to WaitForSSH function...
(dockerhub-build1) Calling .GetSSHHostname
(dockerhub-build1) Calling .GetSSHPort
(dockerhub-build1) Calling .GetSSHKeyPath
(dockerhub-build1) Calling .GetSSHKeyPath
(dockerhub-build1) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /home/mdesales/.docker/machine/machines/dockerhub-build1/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none<EMAIL_ADDRESS>-o IdentitiesOnly=yes -i /home/mdesales/.docker/machine/machines/dockerhub-build1/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
exit 0
SSH cmd err, output: exit status 255:
Error getting ssh command 'exit 0' : Something went wrong running an SSH command!
command : exit 0
err     : exit status 255
output  :

Getting to WaitForSSH function...
(dockerhub-build1) Calling .GetSSHHostname
(dockerhub-build1) Calling .GetSSHPort
(dockerhub-build1) Calling .GetSSHKeyPath
(dockerhub-build1) Calling .GetSSHKeyPath
(dockerhub-build1) Calling .GetSSHUsername
Using SSH client type: external
Using SSH private key: /home/mdesales/.docker/machine/machines/dockerhub-build1/id_rsa (-rw-------)
&{[-F /dev/null -o BatchMode=yes -o PasswordAuthentication=no -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=quiet -o ConnectionAttempts=3 -o ConnectTimeout=10 -o ControlMaster=no -o ControlPath=none<EMAIL_ADDRESS>-o IdentitiesOnly=yes -i /home/mdesales/.docker/machine/machines/dockerhub-build1/id_rsa -p 22] /usr/bin/ssh <nil>}
About to run SSH command:
exit 0
SSH cmd err, output: exit status 255:
Error getting ssh command 'exit 0' : Something went wrong running an SSH command!
command : exit 0
err     : exit status 255
output  :

I am getting the exact same error. I've also installed my own ssh pub key in the host and I can ssh into it without a problem. I'm however running the same error when I run docker-machine create. The host os was created with Packer from the Ubuntu 16.04 server image. I run it in vmware fusion.
docker-machine -D create --driver generic --generic-ip-address <IP_ADDRESS>  --generic-ssh-user ubuntu --generic-ssh-key f~/.ssh/prodhost_rsa vmw-host1


[Bug]: wrong tag format for new entries

Contact Details
<EMAIL_ADDRESS>What happened?
When adding a file to a DB that is based on tag search, the new created file gets a "##tag" instead auf "#tag" and doesn't show up in the DB.
What platform were you using?
Desktop
Version of the plugin
3.2.4
Relevant log output
No response
Are you using the latest version of the plugin in your Obsidian vault?

[X] I have verified that I am on the latest version

Are you check if there is a similar issue?

[X] I have verified that there are not similar issues

Captured it.
Thereby, I got another bug as well. Sometimes adding a line will also add seemingly radom files to the list(sometimes a lot of them). > (In the gif. "Universelle Gasgleichung" doens't belong in the DB and got added.)
I haven't narrowed it down yet, but it only happend with tags for me.
They are gone, when reopening the DB.

Just saw the new auto update option. Thats so nice!! Thanks!

With the beta we improve a little the auto updater, but there are some conditions to do not duplicate rows on memory (never on disk)
we will work on it this weeks :)
about the tags I will test it. Thanks for the report

Commit 28f79968
Fixed for the next release


:scroll: improve docs for onboarding

hi @Marigold, thanks for doing this.
do we still want to work on https://github.com/owid/etl/pull/2560?


Progress bar container background

In the component- progress bar, the container background is transparent, where as in the figma design of it, it has color gray.
I think this gray color is useful because it helps to indicate the remaining progress if the label is disabled.
Just wanted to know if that'a a bug or it was decided to keep it transparent?
Screenshot:
Current-

If we add bgc (It looks good)-

@akashyeole
It's not a bug. It's just a change in the design after the component was already released.
Yes, we have to edit the component to comply with the design.


I encountered a confusing issue

I built the development environment under Windows 11 , MingW64, GCC, Clion. Everything seemed OK.
Then I wrote a simple piece of test code which was compiled and run successfully,  but to my surprise,  no record was fetched however.
Cound you  please give any guidance?  Thanks a lot .  Apologize for my inept English and programming  :-)
#include <iostream>
#include "ocilib.hpp"
#ifdef OCI_CHARSET_ANSI
#undef OCI_CHARSET_ANSI
#endif
#define OCI_CHARSET_ANSI UTF-8
#define  ENDL '\n'
using namespace ocilib;
using std::cout;
int main() {
ostring db("ORACLE19C");
ostring user("CUSER");
ostring pwd("xxxx");
try
{
    Environment::Initialize();
    Connection   con(db, user, pwd);
    Statement    stmt(con);

    stmt.Execute("select 1 as num from dual");
    Resultset rs = stmt.GetResultset();
    if (!rs) {
        cout << "Null RecordSet" << ENDL;
    }
    else {
        cout << "Num of Rows:" << rs.GetCount() << ENDL;
    }
}

catch (std::exception &ex)
{
    std::cout << ex.what() << ENDL;
}

Environment::Cleanup();

return EXIT_SUCCESS;

}

Hi,
In your sample code, you did not fetch rows from the resultset.
rs.GetCount() returns the number of rows fetched by the application, in this case, none.
You need to keep fetching rows using rs.Next() or rs++ until it returns false.
After each fetch call, you retrieve values at the current row for each column using rs.Get() either by column index or name.
Regards,
Vincent

By the way, you cannot define OCI_CHARSET_ANSI the way you do.
This macro is not supposed to have any value.
By default, it is automatically defined.

Thank you very much, Vincent !    I've got it all figured out


feat: Implement GSP-749 unify path behavior

ref: https://github.com/beyondstorage/go-storage/issues/758

Please update this PR in #758 issue body


Add option to add features.csv files to training set

This PR adds a --features_csv argument to qualx training.  This argument allows users to include one ore more features.csv files (generated from qualx prediction) in the training dataset.  Since the features.csv files only contain the values of the features provided as input to the model, the user must manually edit them to add a label column with an observed actual speedup value.
This is intended to be used when the original eventlogs are not available, but the feature values from prediction are available, along with an observed GPU speedup.
Test
Following CMDs have been tested:
External Usage:
spark-rapids train

Internal Usage:
python qualx_main.py train

@parthosa, as an example, this code will set the label to 1.0 for all rows, where the current label is Duration_speedup (which shouldn't change any time soon).
import pandas as pd
df = pd.read_csv('features.csv')
df['Duration_speedup'] = 1.0
df.to_csv('features_with_label.csv', index=False)

Alternatively, you can manually edit the CSV directly.


Multiple Cursor Select and adding an incrementing ID with Emmet

VSCode Version: 1.28.2
OS Version: Windows 7 Professional (Newest Updates installed)

When I try to wrap multipe selections with paragraphs while adding an incrementing ID with the abbreviation p#id$ VSCode it doesnt work like in Brackets with Emmet.
In the preview VSCode displays for every paragraph:

a lot of text

When I then press Enter VSCode sets the following for every paragraph:

a lot of text

So it doesn't add the incrementing number instead of the $ like in Brackets. In Brackets the created Wraps would look like this:

a lot of text

a lot of text

a lot of text

When I use the abbreviation by itself to create multiple paragraphs without selecting anything it works like intended. For example with p#id$*3 it creates:

So I tried to use that variation with the number of paragraphs I have selected in Wrap with abbreviation to maybe have a workaround. But then it just creates the same like above just for every paragraph.
Sure it's just a comfort issue, so not that important, but it would be great if that would work too.
Does this issue occur when all extensions are disabled?: Yes

When using Wrap with abbreviation in the multi cursor mode, the same expanded abbreviation gets applied to each cursor.
If you want to use the repeater (*) with numbering ($), then try Wrap individual lines with Abbreviation?

That only works when I use lines that are direct neighbours basicly. When I select lines that are apart from each other it doesn't work correctly and still gives each line I select the ID id1.
So for every line it still shows (in preview and after expanding the abbreviation):

linex

Multi-cursor support for the wrap feature in VS Code assumes that the same abbreviation should be applied on each selection separately.
To get what you want, we need to treat multiple selections as part of a single abbreviation expansion.
The 2 features are mutually exclusive when using the new emmet modules that we are using in VS Code.


Haier

Will the Haier debacle affect our GE intergration?

I have no idea honestly.  The GEA and F&P teams that I've talked to seem to be supportive of the integration, and GEA has a history of trying to enable their products to be used in multiple ecosystems.  I haven't had any communication that their position has changed.  Time will tell.


Spline approx continuous

Extended the approximation and interpolation function for B-spline curves by a method for merging closed curves C2 continuously. Added also a test for this extension.

@MathemaTiger Your change should not yet be merged to the cpacs_3 branch, but to the gordon_surface branch.
Therefore, please create a new pull request with gordon_surface as the target branch.


MigMigration progress should != 100% when a Mig* resource goes unready

Problem
If a referenced Mig* resource goes unready during MigMigration run, whatever % complete the MigMigration was at is wiped out in the UI and replaced by "100%" in red color. This hides useful information from the user, who may have left their migration running and want to know where it stopped.

This happens in the UI because the MigMigration Running status condition is removed when a referenced Mig* resource goes unready.
Suggested Fix
We should consider making the Running condition durable so that it does not get lost when the MigMigration goes to an unready state.
Examples of pre and post step number wipe from status
Post-wipe of Step x/xx
  status:
    conditions:
    - category: Advisory
      durable: true
      lastTransitionTime: 2020-09-10T16:57:10Z
      message: '[1] Stage pods created.'
      status: "True"
      type: StagePodsCreated
    - category: Critical
      lastTransitionTime: 2020-09-10T16:57:23Z
      message: The referenced `migPlanRef` does not have a `Ready` condition.
      status: "True"
      type: PlanNotReady
    itinerary: Final
    observedDigest: 2d6f69183c5b664aac0522fe21a39d83f28ec7a9ae7bcda6c7160fbdc49ad218
    phase: ResticRestarted
    startTimestamp: 2020-09-10T16:56:52Z

Pre-wipe of Step x/xx
status:
  conditions:
  - category: Advisory
    durable: true
    lastTransitionTime: "2020-09-10T16:57:10Z"
    message: '[1] Stage pods created.'
    status: "True"
    type: StagePodsCreated
  - category: Advisory
    lastTransitionTime: "2020-09-10T17:00:26Z"
    message: 'Step: 18/34'
    reason: EnsureQuiesced
    status: "True"
    type: Running
  - category: Required
    lastTransitionTime: "2020-09-10T17:00:25Z"
    message: The migration is ready.
    status: "True"
    type: Ready
  itinerary: Final
  observedDigest: 2d6f69183c5b664aac0522fe21a39d83f28ec7a9ae7bcda6c7160fbdc49ad218
  phase: EnsureQuiesced
  startTimestamp: "2020-09-10T16:56:52Z"

This may also require UI changes, but it's unclear until we make the change to controller.

@djwhatle the pipeline view makes this a non-issue. good to close!

sweet, thanks @pranavgaikwad


Please add a LICENSE file

Would it be possible to add a LICENSE file to this repo?

Done in c0f4a4e!


Ctlr&+/Ctlr&- to world hop to the next/last world

World hopping can be super tedious, but it's a large part of some activities in this game.
Maybe we could add a hotkey so we could hop quickly to the next & last world?
Filter options including:

No F2p Worlds
No P2p Worlds
Avoid High Risk worlds
Avoid Pvp Worlds
Avoid DMM/Event worlds.

Ctrl + shift + larrow and rarrow does this already


app.setPath userData/appData Uncaught Exception on OS X (darwin)

Using: app.setPath("userData", path.join(process.cwd(), "save"));
Causes the following error:

Works as expected on Windows/Linux; creates the save folder in root/app directory.
Version: electron-v0.28.3-darwin-x64
OS X: 10.10.3 (Yosemite)

Can you provide more details? I couldn't reproduce it on OS X10.9 with v0.28.3.

Where are you calling this method? You can only call it as soon as your app starts up (i.e. before 'ready')

@hokein  Not sure what else information I can provide. Please let me know. Just as a test, I'm using the example files/config as found here: https://github.com/atom/electron/blob/master/docs/tutorial/quick-start.md
@paulcbetts The only thing I added was the following (before the ready):
var path = require('path');
app.setPath("userData", path.join(process.cwd(), "save"));

Some new information here. If I run Electron from the terminal directly, like so:
/electron-v0.28.3-darwin-x64/Electron.app/Contents/MacOS/Electron /test

No error shows up anymore, and the path is saved to as expected. Maybe some kind of permissions issue?

The process.cwd() code has different behavior between launching from terminal and from GUI(double click icon), see
// Launching from terminal: <your app dirctory>/save
path.join(process.cwd(), "save")

// Launching from GUI: /save
path.join(process.cwd(), "save")

So you need to pass the absolute file path to make Electron launching from GUI works.


Potential import issue in model_io

Should this import be changed from
from genie.diffusion.Genie import Genie
to
from genie.diffusion.genie import Genie ?
If so, I'd be happy to submit a PR.

You are correct. Thanks for pointing this out. I have updated it in the latest commit.


.apply behaviour changing

/home/travis/build/rstoneback/pysat/pysat/instruments/omni_hro.py:222: FutureWarning:
Currently, 'apply' passes the values as ndarrays to the applied function. In the future, this
will change to passing it as Series objects. You need to specify 'raw=True' to keep the
current behaviour, and you can pass 'raw=False' to silence this warning
  center=True).apply(pysat.utils.nan_circstd, kwargs=circ_kwargs)

From https://pandas.pydata.org/pandas-docs/stable/reference/api/pandas.core.window.Rolling.apply.html
Possible values for raw:

False : passes each row or column as a Series to the function.
True or None : the passed function will receive ndarray objects instead. If you are just applying a NumPy reduction function this will achieve much better performance.

raw=True will maintain the current behavior.  I propose this option unless we have good reason to change.  Pinging @rstoneback and @aburrell.

4 results (1 commented) found in develop branch.

Closed with merge of #173.


Are there have some examples about ios immplements?

Hello, I am developing a Flutter app and I just want to use lz4 to decompress a large amount of data, that's all.
I have checked the issues in the repository and would like to ask you again if anyone has implemented integration with iOS or if there are any examples that can be provided as a reference.
As far as I can see, there are already examples of integration with Android.

Hello,
Based on #33, I'm assuming it was integrated with iOS.  Perhaps reach out to that user?
The android integration example was provided by a contributor.  I'm happy to do the same for anyone that has an iOS integration example.


requestAuthentication doesn't return 401 even if token is invalid

Bug Description
Hi everyone, thanks for the good work with istio !
I have an issue with the authN/authZ flow and I don't find the appropriate documentation about it.
I don't know if it's really an issue or if the documentation is unclear about this.
Expected behavior :
RequestAuthentication :
apiVersion: security.istio.io/v1beta1
kind: RequestAuthentication
metadata:
  name: ingressgateway-back-front
  namespace: default
spec:
  selector:
    matchLabels:
      auth: "true"
  jwtRules:
  - issuer: "https://example/realms/realm-example"
    jwksUri: "https:/example/realms/realm-example/protocol/openid-connect/certs"
    forwardOriginalToken: true
    outputPayloadToHeader: x-id-token
    fromHeaders:
    - name: authorization
      prefix: "Bearer "

AuhtorizationPolicy :
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  name: auth-policy-front
  namespace: default
spec:
  selector:
    matchLabels:
      auth "true"
  action: CUSTOM
  provider:
    name: oauth2-proxy
  rules:
    - {}

(The authorizationPolicy used a custom Provider referencing to oauth2-proxy and using Keycloak as an IAM)
From what I understand from the documentation, this is what should happen with the requestAuthentication :
graph TD
B[Client]-- Acces protected service by requestAuth --> C{requestAuthentication}
C -.->|Request without token| D[return True but without any authentication headers]
C -.->|Request with invalid token| E[Return False and http 401]
C -.->|Requête with valid token| F[Return true and add authz token]

So what I was expecting was :
If the request doesn't have any authorization headers, the request goes by the authPolicy without any authentication Headers, and the custom authPolicy could return the login page to the user.
If the request had an invalid authorization header, the requestAuthentication should return an 401 error and not go through the authorizationPolicy
Actual behavior :
If I make a request to the service protected with the requestAuth and auhtPol, event if my token is invalid (random strings, expired etc...) I still get redirected to the login page, so it is still going through the authorizationPolicy.
It's not a problem about the name of the header, if the token is valid we do get an x-id-token as specified in the requestAuthentication
Version
$ istioctl version
1.14.1

$ kubectl version --short
Client Version: v1.22.12

Not using Helm

Additional Information
No response

Found the answer here :
https://docs.google.com/document/d/1V4mCQCw7mlGp0zSQQXYoBdbKMDnkPOjeyUb85U07iSI/edit#

=> Evaluation order :
AuthorizationPolicy : Custom
RequestAuthentication
AuthorizationPolicy : Allow / Deny


Add int64 signature to numba njit

@jpivarski If there's a fourth one we should remove the explicit signatures.

I don't think we need to have a hard-and-fast rule about when to drop explicit signatures; I was just warning you that it's coming, probably after there are a few more method overloads and maybe after the precompiled awkward-pybind11 exists.


Filter popup is unaligned and remains visible on horizontal scroll

Filter popup should be aligned to column (scrolled together with grid and become invisible when column is completely out of viewport) or just disappear when scrolling horizontally

when you scroll, the filter should disappear, i'll check this ....

ok just checked in, for next release, the menu will now hide when yous scroll the body.


FLEX-4205 ~ Implements basic behavior for SetTransitionRequest for web-device-simulator.

Use the transition type to determine if the relay should be switched on or off. Assume that the simulated device is running a 'normal' light schedule, meaning that the light is on during the night and off during the day.

SonarQube analysis reported 9 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 OslpChannelHandler.java#L309: Refactor this code to not nest more than 3 if/for/while/switch/try statements.
 OslpChannelHandler.java#L391: Refactor this method to throw at most one checked exception instead of: java.io.IOException, com.alliander.osgp.webdevicesimulator.exceptions.DeviceSimulatorException
 OslpChannelHandler.java#L424: This block of commented-out lines of code should be removed.
 OslpChannelHandler.java#L457: The Cyclomatic Complexity of this method "handleRequest" is 29 which is greater than 10 authorized.
 OslpChannelHandler.java#L1057: This block of commented-out lines of code should be removed.
 OslpChannelHandler.java#L1130: Remove these unused method parameters.
 OslpChannelHandler.java#L1157: Remove these unused method parameters.
 OslpChannelHandler.java#L1162: Remove these unused method parameters.
 OslpChannelHandler.java#L1166: Remove these unused method parameters.

All is well.

 All committers of the pull request should sign our Contributor License Agreement in order to get your pull request merged.1 out of 2 committers have signed the CLA.:white_check_mark: kevinsmeets:x: web-flow

SonarQube analysis reported 9 issues
Note: The following issues were found on lines that were not modified in the pull request. Because these issues can't be reported as line comments, they are summarized here:

 OslpChannelHandler.java#L309: Refactor this code to not nest more than 3 if/for/while/switch/try statements.
 OslpChannelHandler.java#L391: Refactor this method to throw at most one checked exception instead of: java.io.IOException, com.alliander.osgp.webdevicesimulator.exceptions.DeviceSimulatorException
 OslpChannelHandler.java#L424: This block of commented-out lines of code should be removed.
 OslpChannelHandler.java#L457: The Cyclomatic Complexity of this method "handleRequest" is 29 which is greater than 10 authorized.
 OslpChannelHandler.java#L1057: This block of commented-out lines of code should be removed.
 OslpChannelHandler.java#L1130: Remove these unused method parameters.
 OslpChannelHandler.java#L1157: Remove these unused method parameters.
 OslpChannelHandler.java#L1162: Remove these unused method parameters.
 OslpChannelHandler.java#L1166: Remove these unused method parameters.

All is well.


[BUG] extraPackages not installing named packages in PATH

Field
Description

Plugin
nvim-jdtls

Nixpkgs
unstable

Home Manager
unstable

[ X ] I have read the FAQ and my bug is not listed there.

Description

I am attempting to install jdt-language-server using the extraPackages attribute from nixvim. However, it is not getting installed in my system's PATH and when I attempt to work on java files I am getting the below error.
Error message:
...-unwrapped-0.10.0/share/nvim/runtime/lua/vim/lsp/rpc.lua:800: Spawning language server with cmd: `{ "/nix/store/kdcixm66j8x01g6dn2j7vbz89r7dks2r-jdt-language-server-1.31.0/bin/jdt-language-server", "--jvm-arg=-javaagent:/Users/alesauce/Developer/lombok.jar", "-data", "/Users/alesauce/.local/share/eclipse/nix-home", "--add-modules=ALL-SYSTEM" }` failed. The language server is either not installed, missing from PATH, or not executable.

I have also tried building my nixvim flake directly, and jdt-language-server is still not available in the path then.
File adding jdt-language-server
nvim-jdtls setup file
Minimal, Reproducible Example (MRE)

programs.nixvim = {
    config.extraPackages = with pkgs; [
      jdt-language-server
    ];
    files."ftplugin/java.lua" = {
            plugins.nvim-jdtls = {
      enable = true;
      data = ".idea/nvim-jdtls";
    };
    extraConfigLua = ''
              local config = {
       capabilities = capabilities,
       cmd = {
        "${pkgs.jdt-language-server}/bin/jdt-language-server",
        "--jvm-arg=-javaagent:" .. home .. "/Developer/lombok.jar",
        "-data",
        eclipse_workspace,
        "--add-modules=ALL-SYSTEM",
       },
      }

      jdtls.start_or_attach(config)
    '';
    };
}

Looks like you're using the wrong binary in your cmd; bin/jdt-language-server.
getExe returns bin/jdtls instead:
> lib.getExe pkgs.jdt-language-server
"/nix/store/zhhxd2xzmrxaincy4ygs1402v3mvg82g-jdt-language-server-1.31.0/bin/jdtls"

Try changing the first element of your cmd table to "${lib.getExe pkgs.jdt-language-server}" or "${pkgs.jdt-language-server}/bin/jdtls".
Personally, I try and use lib.getExe whenever possible instead of manually typing the /bin/exe path, since that function will use whatever the package maintainer has configured for the binary name.
As an aside, this doesn't relate to your PATH, since ${pkgs.jdt-language-server} will be an absolute path (e.g. /nix/store/kdcixm66j8x01g6dn2j7vbz89r7dks2r-jdt-language-server-1.31.0).

You were 100% right, and thank you for teaching me something new! Switched to "${lib.getExe pkgs.jdt-language-server}".


Video Links Are Broken

Links to videos offered here do not work in Edge (Chromium).
I'm not even sure there are any links, just still frames with a "play" icon over them.
C'mon, Microsoft.  Do you want people learning your products or not?

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

ID: a03180ce-ce5e-a242-534e-a6d2a71fddc3
Version Independent ID: 009bf11f-5419-1da4-36eb-89f16bf82ca2
Content: Fault domain awareness
Content Source: WindowsServerDocs/failover-clustering/fault-domains.md
Product: windows-server
Technology: failover-clustering
GitHub Login: @cosmosdarwin
Microsoft Alias: cosdar

#assign:xelu86

Hey @Covalerahien,
Thanks again for contacting Microsoft. We value your feedback.
A documentation change has been made updating the links to these videos and will be live after the next business day. We will now be closing this thread. Thank you and have a most pleasant day.
#please-close


Review and Clean-up Text on Website

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/388
Originally created by @valexieva on 2019-02-19 15:28:43

[ ]  Virjinia to review website - questions added on https://docs.google.com/document/d/15DBfPlyWC7h_FQtbAcAHDpNhQ3CNh9_6ndeyf9TrEJc/edit#

[ ]  Virjinia to edit website text to be intuitive to someone that hasn't worked on the project

@jschatz1 , @mbergeron , @derek-knox , @cpetren, @bencodezen @iroussos

View 3 previous comments from the original issue on GitLab


Profile edit

Implemented systems related to the user profile customization and personal settings, including a Form; a FormView; modification of the user profile and the creation of a account settings page; the usage of a modified version (in order to support bootstrap 4) of django-toggle that allows the usage of toggle switches instead of checkboxes; removal of general junk css inclusion; a permission to modify any user personal settings; and other changes.

Fixes #33.


Add webmanifest and apple-touch-icon

Use the Deno logo when users add the website to the mobile home screen

What does this do?

It correctly shows Deno’s logo and name when you “Add to Home Screen” from a mobile browser.
The apple-touch-icon meta tag is for iOS and the webmanifest is for Android browsers.
I used the icon at /public/images/logo.svg to generate the different PNGs
I keep the Deno manual saved on my homescreen and I can never find it because the icon is missing, so I though it was a tiny nice addition.
My original description should have been better, sorry about that


I thinks it not correct.

@hnptvtoan Have you trained both persons or only St 7? Please note, that the face recognition will classify a new face with the most similar trained one.
Also which settings/algorithms did you use?

@sladomic  i trained only St 7 = right image.

Please check https://github.com/Qualeams/Android-Face-Recognition-with-Deep-Learning-Library/issues/13 for more information


Serialization Performance Issues (Much lower than Arrow)

I've seen that Velox's PrestoPage serialization time takes much longer than Arrow's RecordBatch IPC serialization from benchmarking through unit tests.
For a row vector with 2 columns of integer and float, the difference can get pretty big when the vector size is scaled up. At row size 1'000'000, the difference is from around 400 ms to 20 ms.
This disparity is seen across all different data types (array, map, string, int, float).
Using a profiler in CLion, I found a few slow points in Velox's Presto page serialization:

out->flush() uses ostream->write(), and Arrow's equivalent uses memcpy - after making a change to memcpy, I've seen a big improvement, making the whole serialization about 20% faster.
sanityCheckEstimateSerializedSize is used for the unit test purpose and takes up a lot of time so is commented out (400 ms is still after this is commented out though)
append logic seems to take up the rest of the time, which is a lot more time than Arrow's side of serialization.

Is there a reason for this append logic to take up so much time?
Here are some code snippet examples of how I measured the time in the unit tests:

Velox code: https://github.com/facebookincubator/velox/compare/main...sungho-park-23:serialize-benchmark#diff-50344fd3db8d465b6ab2987d11af3305bb40c0edbe6e7b708784a220ec3137c6R119-R130
Arrow code: https://github.com/apache/arrow/compare/master...sungho-park-23:serialize-benchmark#diff-900c46995b5706697d6e4b010f610f1a1cf27d4d865afe48de0a800830ac676bR563-R580

@frankobe Tagging you so that you can follow

Per @pedroerp suggestion, we can add a microbenchmark for Velox serialization part first to ensure no regression

@pedroerp Can you point me to how I can add a microbenchmark for Velox?

@sungho-park-23 these are the microbenchmarks we currently run for each PR, you can use them as an example:

https://github.com/facebookincubator/velox/tree/main/velox/benchmarks/basic

Happy to review and help iterate if you're willing to put a PR together with a microbenchmark to reproduce the performance issue you reported.


Move in-memory Merkle tree implemenation in

This is a port of in-memory Merkle tree from Trillian. This implementation
will be used both in merkle and trillian for testing, and can be used by
other packages that need a reference Merkle tree for their tests.
Next steps are:

Remove this code from Trillian.
Refactor boilerplate in merkle tests which duplicates testonly.Tree,
such as in tests for compact.

Need to tackle the circular dependencies.

@mhutchinson @AlCutter This PR is ready for review. It's purely mechanical: the 3 commits represent the mechanical steps.

Codecov Report

Merging #21 (a2987a8) into main (c120179) will decrease coverage by 7.85%.
The diff coverage is 85.93%.

:exclamation: Current head a2987a8 differs from pull request most recent head 2926e9b. Consider uploading reports for the commit 2926e9b to get more accurate results

@@            Coverage Diff             @@
##             main      #21      +/-   ##
==========================================
- Coverage   96.79%   88.93%   -7.86%
==========================================
  Files           5        7       +2
  Lines         374      497     +123
==========================================
+ Hits          362      442      +80
- Misses         10       50      +40
- Partials        2        5       +3

Impacted Files
Coverage Δ

testonly/constants.go
43.75% <60.00%> (ø)

testonly/tree.go
88.13% <88.13%> (ø)

Continue to review full report at Codecov.

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


Find and List different API's for different Space Agencies.

As we have plans to integrate more Space Agencies, we would be needing a lot more APIs. Create a new file under the Assets folder (currently named screenshots) if it is not already present there. The file should be using the following format.

API
Links
Opensource
Paid

SpaceX
Github, Docs
:white_check_mark:
:heavy_multiplication_x:

Hello! I'd like to participate as a part of Hacktoberfest. Would you like this to be a .md document?

Yes. you can name it APIs.md

Fantastic! Please assign it to me, and I'll jump right on it. 👍  Thanks!

I think this is an issue that can benefit from how many people are working on it. So if anyone else wants to add something to the APIs.md file do let me know in the comments!

Hello ! Quick question for you @pushpinderpalsingh , when looking at the contributing guide I do not see anything about branch naming conventions.
This is my first Open Source contribution so I want to double check with you that it's alright for me to create a branch off of develop named documentation/space_agency_api_list ? Please let me know what's most useful for you and the future of the project. 😄

🚧  Another small bump in the road, I'm currently blocked from creating a branch on this project off of develop. May I have access rights please?
I cloned the project and have a local branch ready to push when you are 🚀

You need to fork the project, create changes in your fork then create a pr to my repo. Check the readme of the repo for more information.
As for the branch naming convention, it can be anything if the name is relevant.

[ ] PR #43 to be linked to this issue

Although I have accepted your pr, I would still like more API options. Can you still work on it? @jamie-brannan
Also while you are here, do give a star to the repo. 😃

Thank you so much @pushpinderpalsingh 👍
Absolutely! I count on at least getting the known NASA ones listed and sift through some more.
This seems like a potentially long-term point of refer eve My idea was to start the doc with structure.

That's great. I would recommend joining the slack channel if you are here for the long term and not just Hacktoberfest. Slack makes communication much easier.


uglify

It looks like it is impossible to use this plugin in a project that builds using UglifyJsPlugin, that is quite usual in production. This is my webpack config file
/* eslint-env node */
const path = require('path');
const HtmlWebpackPlugin = require('html-webpack-plugin');
const webpack = require('webpack');

module.exports = {
	target: 'web',
	devtool: 'source-map',
	entry: './src/application.js',
	output: {
		path: path.resolve(__dirname, 'www'),
		filename: 'bundle.js',
		publicPath: ''
	},
	plugins: [
		new HtmlWebpackPlugin({
			title: 'Example',
			filename: 'index.html'
		}),
        new webpack.optimize.OccurrenceOrderPlugin(),
		new webpack.DefinePlugin({
		  'process.env': {
			'NODE_ENV': JSON.stringify('production')
		  }
		}),
		new webpack.optimize.UglifyJsPlugin({
		  compressor: {
			warnings: false
		  }
		})
	],
	module: {
		rules: [
			{
				test: /\.js$/,
				include: [
					path.resolve(__dirname, 'src')
				],
				loader: 'babel-loader',
				query: {
					compact: true,
					presets: [
						['es2015', {modules: false}]
					]
				}
			}
		]
	},
	performance: {
		hints: false
	}
};

And this is the error I'm having:
ERROR in bundle.js from UglifyJs
Unexpected token: name (Pass) [bundle.js:44195,6]

Hi!
The postprocessing library exposes a standard main ES5 bundle for backwards compatibility as well as the default module entry point for modern bundlers such as Rollup and Webpack 2. Afaik, this library couldn't be more compatible.
UglifyJS currently doesn't support ES2015+ code and requires ES5 input. This means that babel needs to transpile your bundle before it gets parsed by UglifyJS. In your case, it's clearly receiving the untranspiled ES2015 version for some reason. (The error Unexpected token: name (Pass) occurs when UglifyJS encounters the class keyword.)
Thus, your issue seems to lie somewhere in your build configuration. Since I'm usually using Rollup, I tried Webpack out myself and it worked as expected. You can find that test repository over here, maybe it helps. Note that I'm using another babel preset:
presets: [
  ["env"]
]

Hello @vanruesc , many thanks for your fast feedback, I will give a try.

@edap any luck so far?

@vanruesc i'm having the same problems when i define anything other than devtool = 'eval' in my webpack.config.js

I modified the example repository again to match the described use-cases. The setup now uses babel-preset-es2015 and creates source maps for both, the uncompressed bundle and the minified bundle. While following the Webpack documentation, I experienced no issues setting this up. (However, I did notice that grunt shouldn't be a peer dependency.)
Please make sure that your Webpack configuration is up-to-date and that you're using the latest version of Webpack.
I'm not ruling out the possibility that there might actually be a compatibility issue with this library, but I do think that it's highly unlikely.

i'll fiddle around with my current project codebase and your postprocessing-webpack repo to see how/why/if things are any different or causing issues and will post results here. so far, thanks for your support!

So far, no reproducible issue has been presented. Closing this due to inactivity.


Fix Release Notes page

Adding fixes, per @BrianPeek's suggestions:

TOC -> Change the name from GitHubReleaseNotes to “GitHub Release Notes Generator” or some such.
Add a tile to the Demos and Code section on the front page…maybe change the # of columns back to 2 so it stacks nicely
There’s something wonky with the table in the article…”Event triggers” isn’t bolded, and there’s an additional row with just the word “Releases”…I don’t know if that’s intentional, but I didn’t understand what it meant?
Add a caption or title or something to the first image that shows the output?  Because of the background of the image against the white background of Docs, I wasn’t sure what the images were…

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sandbox/TOC.yml
:white_check_mark:Succeeded
View

sandbox/demos/index.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sandbox/TOC.yml
:white_check_mark:Succeeded
View

sandbox/demos/github-release-notes.md
:white_check_mark:Succeeded
View

sandbox/demos/index.yml
:white_check_mark:Succeeded
View

sandbox/index.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sandbox/TOC.yml
:white_check_mark:Succeeded
View

sandbox/demos/github-release-notes.md
:white_check_mark:Succeeded
View

sandbox/demos/index.yml
:white_check_mark:Succeeded
View

sandbox/index.yml
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Billing - stripe UI list payment methods

@ClaudeROSSI This one is to merge?
Because not attached to an issue.

Ne touche a rien … j’essai de recup les modifs de Caro !
From: FABIANO Serge @.>
Reply to: sap-labs-france/ev-dashboard @.>
Date: Friday 19 March 2021 at 22:34
To: sap-labs-france/ev-dashboard @.>
Cc: Claude ROSSI @.>, Mention @.***>
Subject: Re: [sap-labs-france/ev-dashboard] Billing - stripe UI list payment methods (#2310)
@ClaudeROSSIhttps://github.com/ClaudeROSSI This one is to merge?
Because not attached to an issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/sap-labs-france/ev-dashboard/pull/2310#issuecomment-803146530, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGNHQR2OOEZXX5DLRKX7SKTTEO7OLANCNFSM4ZPGUXYQ.

@ClaudeROSSI This one is to merge?
Because not attached to an issue.

We have a merge conflict that we couldn't solve!
I'll create a new branch with a cleean history and then we will get rid of this one.

All changes are now in a diffrent branch.
Closing this one


HTTP Binding missing information/outdated

Describe the issue
HTTP Binding is listed as an output binding only when it also has input bindings.
Method field is no longer used as input/output bindings have replaced that.
URL of the docs
https://docs.dapr.io/operations/components/setup-bindings/supported-bindings/
https://docs.dapr.io/operations/components/setup-bindings/supported-bindings/http/
Expected content
HTTP Binding should be listed as an input and output binding.
Callout that method does not do anything or remove the field from the docs.
Alternate: update the HTTP binding to actually use the field and then the docs are accurate.
Additional context
It may have always been an input/output binding and method may have never been used going back to the initial commit:
https://github.com/dapr/components-contrib/commit/22fea6f43d53a6dc4780132c8849577928e6ebcf#diff-50e6b52eb3eded23c24e7ac1117cb029862ee7ead109191d65cc1b13d54ed8da

Closed, fixed


Feature: allow ad hoc chat mode for /editor

Currently, /editor operates in the selected chat mode. Similar to using /ask when in code mode, it would be nice if the /editor command could be invoked with an ad hoc chat mode.
I see a couple of ways to attack this, each with trade offs:

Allow chat mode commands inside the editor: Similar to how the main interface works, if the text in the editor starts with a chat mode command (like /ask), then switch to that mode for that input. This would be most familiar to people, but from my look, I think it would require a substantial refactor, because you'd essentially be running a command inside a command.
Pass chat mode as an arg to /editor: Less familiar syntax, but more straightforward to implement. Validation of the argument should be pretty straightforward.

I'm happy to take a crack at the PR for this, but do not want to start until we've decided on a best approach.
@paul-gauthier thoughts?

Ya, neither approach is super attractive. I probably think this is best left as something to be done in 2 commands.

Ya, neither approach is super attractive. I probably think this is best left as something to be done in 2 commands.

I can let this go. Sadly, it's currently three commands (switch to new mode, run editor, switch back to original mode), and that adds up over time.

Give the main branch a try. Now when you exit the editor, it simply prefills the text into the prompt. You press enter to submit it. So now it can contain /commands which will run.
This allows you to make a file like:
/ask

For something...
...long and complicated

You nailed it, that's the perfect solution.


Adding Oauth for login and signup

Is your feature request related to a problem? Please describe.
Adding the OAuth will make the sign in and registering in the app easy and quick under 2 clicks and the information/credentials will also be handled securely
Describe the solution you'd like
Implementing OAuth using the google firebase will increase the quality and efficiency of the app
Describe alternatives you've considered
We can implement it using the GCP but firebase integration is stronger than GCP.
Additional context
Add this to make the login quick and it will indirectly make users to use the app more

Assigned @LitZeus


Rename and column order

Renamed "pen" to "nre_pen" and fixed column order in output CSV files

Solves the pen_/nre_pen_ naming issue mentioned by Daren in #327

test scenario plots with this as well!

it seems to work. i'm merging.


extension warns on [project.optional-dependencies] in pyproject.toml

By PEP 0621 it is allowed to have a section [project.optional-dependencies] in your pyproject.toml to specify things sometimes knows as extras.
Your extension complains on this code
[project]
name = "mwe"
version = "<IP_ADDRESS>"
description = "Testing"
authors = [{ name = "me", email =<EMAIL_ADDRESS>}]
requires-python = ">=3.10"

[project.optional-dependencies]
ALLFEATURES = ["psutil", "hashlib", "icecream", "cpu_load_generator"]

with Additional properties are not allowed ('ALLFEATURES' was unexpected)
I think the warning is wrong.

This has to be updated in the JSON schema, it's found at schemastore here: https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/pyproject.json

This has to be updated in the JSON schema, it's found at schemastore here: https://github.com/SchemaStore/schemastore/blob/master/src/schemas/json/pyproject.json

Thanks for that quick reply. As I'm not that fluent in json schema descriptions - isn't that already implemented in line 856 and following?

Sorry, I missed this one.

isn't that already implemented in line 856 and following?

There seems to be a patternProperties definition, but it allows only lowercase.

I'm having this issue in a simple Cargo.toml file like this:
[package]
name = "app"
version = "0.1.0"
edition = "2021"
publish = false

[dependencies]
common = { path = "../some" }

How can I help you fix this?

Sorry, I missed this one.

isn't that already implemented in line 856 and following?

There seems to be a patternProperties definition, but it allows only lowercase, so if you turn it into allfeatures = ["whatever"], it should work. I don't know if it's by design or a schema issue.

Dear @tamasfe ,
thank you for this explanation. Understood. I've never seen any reference, that only lowercase is acceptable.
Best regards
Bastian


:sparkles: Add image reader experience options

Resolves #384
Resolves #391
Resolves #437
This PR implements a few image-based reader features:

View two images at once (double spread)
Specify the scaling mode for the images (height, width, none)
Support right-to-left reading
Horizontal scroll reading mode (not an ideal UX yet, IMO)

You will be able to configure defaults for the reading experience on a per-library basis, and override any individual setting per-book.

⚠ I've only implemented the first and third features for the paged reader. This change-set is rather large, so I'd rather tackle adding them to the horizontal scroll reader at another time

I've sneaked in a few other changes, as well:

Tweaked the contrast for some of the new themes
Add optional gradient support for themes
Refactored all of the tailwind configuration to use TypeScript
A few others I can't remember

There are some cleanup tasks remaining, and I'd like to add the corresponding library configuration I mentioned above in the settings pages, and then this should be ready to go. I'm aiming for sometime next week

Alright, I think this is almost ready to go. There are a few things I want to highlight as things I'll have to either improve or fix as follow-ups:

The reader isn't aware when the viewport is too small for double spread. I definitely will add this kind of detection logic, but the work around for the time being is... don't do that lol
When double spread is active, highlight both pages in the image previews (bottom bar)

There is one other issue that I'd like to tackle before merge where the bottom bar preview is too "strict" and will scroll you back as you try to navigate ahead. Otherwise, I'm anxious to get this out for further testing. My tentative plan moving forward is:

Wrap up the sdk rewrite
Probably release after this change-set sits for a week in nightly
Either flesh out smart list UI (e.g. actually support creating a list outside the API) OR start bulk management features
Go back to reader enhancement follow-ups
I'm itching to take a "break" and work on the mobile app, but we'l see. There is a lot of other important bits to tackle

There is one other issue that I'd like to tackle before merge where the bottom bar preview is too "strict" and will scroll you back as you try to navigate ahead

I've fixed this for the most part, so I am going to merge this in shortly. I don't think the UX is perfect TBH, but am eager to get it out there and tested


Feature Request: Easy integration with remark.js

Idea
It would be nice, if the features of remark.js and carbon could be combined, sucht that code portions are rendered by carbon instead the builtin markdown code renderer.

@MadeByMike mentioned that he was working on something like this here: https://twitter.com/MikeRiethmuller/status/957770490612871168

That's a cool idea! This isn't something we're going to add here, but if you get a chance to build it, we can definitely link to it in the README.

Hey @daixtrose, issues marked "Integrations" are being closed and theirs discussions moved to https://github.com/dawnlabs/carbon/issues/358. With many requests for new features, this allows the Carbon team to prioritize which to support first 👍


Exception: cannot append path with different vertex

using the latest build of itinero I get the following exception:
latParam: 41,827207,45,445056,45,445056, lonParam: 12,452303,9,096649,9,096649, param: Profile=classifications,  distanceMeter: 500
Exception: Cannot append path that ends with a different vertex. in CalcolaDistanza

The problem happens when the last 2 points are the same.

The problem seems to be caused by the routing db. Building the routing db using IDP solved the problem (don't tell me way).


Explain <query> should not fail if meeting errors when optimizing the query

Is your feature request related to a problem or challenge? Please describe what you are trying to do.
Currently, the explain <query> gives the same error messages as the query if it meets errors in plan optimizations.
For example, the query in #4677 meets an internal error when initializing the physical plan:
❯ select count(*) from (select * from t union all select * from t);
Internal("create_physical_expr expected same number of fields, got got Arrow schema with 1  and DataFusion schema with 0")

But, we evenly can't see the logical plan of it, although there is no error met in the logical optimization
❯ explain select count(*) from (select * from t union all select * from t);
Internal("create_physical_expr expected same number of fields, got got Arrow schema with 1  and DataFusion schema with 0")
❯ explain verbose select count(*) from (select * from t union all select * from t);
Internal("create_physical_expr expected same number of fields, got got Arrow schema with 1  and DataFusion schema with 0")

Describe the solution you'd like
The explain should print the plans until meeting errors. This could help developers to debug.
For the above example, I'd like the explain and explain verbose to print like this:
❯ explain select count(*) from (select * from t union all select * from t);
+---------------+-------------------------------------------------------------+
| plan_type     | plan                                                        |
+---------------+-------------------------------------------------------------+
| logical_plan  | Projection: COUNT(UInt8(1))                                 |
|               |   Aggregate: groupBy=[[]], aggr=[[COUNT(UInt8(1))]]         |
|               |     Union                                                   |
|               |       TableScan: t projection=[a]                           |
|               |       TableScan: t projection=[a]                           |
| physical_plan | InternalError("...")                                        |
|               |                                                             |
+---------------+-------------------------------------------------------------+

❯ explain verbose select count(*) from (select * from t union all select * from t);
+------------------------------------------------------------+-----------------------------------------------------------------+
| plan_type                                                  | plan                                                            |
+------------------------------------------------------------+-----------------------------------------------------------------+
| initial_logical_plan                                       | Projection: COUNT(UInt8(1))                                     |
|                                                            |   Aggregate: groupBy=[[]], aggr=[[COUNT(UInt8(1))]]             |
|                                                            |     Union                                                       |
|                                                            |       Projection: t.a, t.b                                      |
|                                                            |         TableScan: t                                            |
|                                                            |       Projection: t.a, t.b                                      |
|                                                            |         TableScan: t                                            |
| logical_plan after inline_table_scan                       | SAME TEXT AS ABOVE                                              |
| logical_plan after type_coercion                           | SAME TEXT AS ABOVE                                              |
| logical_plan after extract_equijoin_predicate              | SAME TEXT AS ABOVE                                              |
| logical_plan after simplify_expressions                    | SAME TEXT AS ABOVE                                              |
| logical_plan after unwrap_cast_in_comparison               | SAME TEXT AS ABOVE                                              |
| logical_plan after decorrelate_where_exists                | SAME TEXT AS ABOVE                                              |
| logical_plan after decorrelate_where_in                    | SAME TEXT AS ABOVE                                              |
| logical_plan after scalar_subquery_to_join                 | SAME TEXT AS ABOVE                                              |
| logical_plan after subquery_filter_to_join                 | SAME TEXT AS ABOVE                                              |
| logical_plan after simplify_expressions                    | SAME TEXT AS ABOVE                                              |
| logical_plan after eliminate_filter                        | SAME TEXT AS ABOVE                                              |
| logical_plan after eliminate_cross_join                    | SAME TEXT AS ABOVE                                              |
| logical_plan after common_sub_expression_eliminate         | SAME TEXT AS ABOVE                                              |
| logical_plan after eliminate_limit                         | SAME TEXT AS ABOVE                                              |
| logical_plan after propagate_empty_relation                | SAME TEXT AS ABOVE                                              |
| logical_plan after rewrite_disjunctive_predicate           | SAME TEXT AS ABOVE                                              |
| logical_plan after eliminate_outer_join                    | SAME TEXT AS ABOVE                                              |
| logical_plan after push_down_limit                         | SAME TEXT AS ABOVE                                              |
| logical_plan after push_down_filter                        | SAME TEXT AS ABOVE                                              |
| logical_plan after single_distinct_aggregation_to_group_by | SAME TEXT AS ABOVE                                              |
| logical_plan after simplify_expressions                    | SAME TEXT AS ABOVE                                              |
| logical_plan after unwrap_cast_in_comparison               | SAME TEXT AS ABOVE                                              |
| logical_plan after common_sub_expression_eliminate         | SAME TEXT AS ABOVE                                              |
| logical_plan after push_down_projection                    | Projection: COUNT(UInt8(1))                                     |
|                                                            |   Aggregate: groupBy=[[]], aggr=[[COUNT(UInt8(1))]]             |
|                                                            |     Union                                                       |
|                                                            |       TableScan: t projection=[a]                               |
|                                                            |       TableScan: t projection=[a]                               |
| logical_plan after inline_table_scan                       | SAME TEXT AS ABOVE                                              |
| logical_plan after type_coercion                           | SAME TEXT AS ABOVE                                              |
| logical_plan after extract_equijoin_predicate              | SAME TEXT AS ABOVE                                              |
| logical_plan after simplify_expressions                    | SAME TEXT AS ABOVE                                              |
| logical_plan after unwrap_cast_in_comparison               | SAME TEXT AS ABOVE                                              |
| logical_plan after decorrelate_where_exists                | SAME TEXT AS ABOVE                                              |
| logical_plan after decorrelate_where_in                    | SAME TEXT AS ABOVE                                              |
| logical_plan after scalar_subquery_to_join                 | SAME TEXT AS ABOVE                                              |
| logical_plan after subquery_filter_to_join                 | SAME TEXT AS ABOVE                                              |
| logical_plan after simplify_expressions                    | SAME TEXT AS ABOVE                                              |
| logical_plan after eliminate_filter                        | SAME TEXT AS ABOVE                                              |
| logical_plan after eliminate_cross_join                    | SAME TEXT AS ABOVE                                              |
| logical_plan after common_sub_expression_eliminate         | SAME TEXT AS ABOVE                                              |
| logical_plan after eliminate_limit                         | SAME TEXT AS ABOVE                                              |
| logical_plan after propagate_empty_relation                | SAME TEXT AS ABOVE                                              |
| logical_plan after rewrite_disjunctive_predicate           | SAME TEXT AS ABOVE                                              |
| logical_plan after eliminate_outer_join                    | SAME TEXT AS ABOVE                                              |
| logical_plan after push_down_limit                         | SAME TEXT AS ABOVE                                              |
| logical_plan after push_down_filter                        | SAME TEXT AS ABOVE                                              |
| logical_plan after single_distinct_aggregation_to_group_by | SAME TEXT AS ABOVE                                              |
| logical_plan after simplify_expressions                    | SAME TEXT AS ABOVE                                              |
| logical_plan after unwrap_cast_in_comparison               | SAME TEXT AS ABOVE                                              |
| logical_plan after common_sub_expression_eliminate         | SAME TEXT AS ABOVE                                              |
| logical_plan after push_down_projection                    | SAME TEXT AS ABOVE                                              |
| logical_plan                                               | Projection: COUNT(UInt8(1))                                     |
|                                                            |   Aggregate: groupBy=[[]], aggr=[[COUNT(UInt8(1))]]             |
|                                                            |     Union                                                       |
|                                                            |       TableScan: t projection=[a]                               |
|                                                            |       TableScan: t projection=[a]                               |
| initial_physical_plan                                      | InernalError("...")                                             |
|                                                            |                                                                 |
+------------------------------------------------------------+-----------------------------------------------------------------+

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

I've got an initial working version for physical planner errors: https://github.com/apache/arrow-datafusion/pull/4819
Gist is handling the results error cases to ensure these are appended to the stringified plans, instead of simply returning early, which required some modifications to the observer pattern, since need observer to not only run for successes, but errors as well to capture these:
https://github.com/apache/arrow-datafusion/blob/cdd21be7a1c987958e0a9dff5c498080c6277e66/datafusion/core/src/physical_plan/planner.rs#L1744-L1749
Alternative would be for optimize_internal() to return which plan_type failed as part of the error, if don't want to modify the observer in this way.
But if want to do for logical plan too (if it makes sense to?), this seems to become much tricker. Could attempt something similar as I did for physical, applying here:
https://github.com/apache/arrow-datafusion/blob/5b70e3543f5c10832e43ed25e7d4166cf0c1df78/datafusion/core/src/execution/context.rs#L1650-L1658
But the observer pattern would require extensive changes too it seems, to account for calling it for error cases too (this might be too big a change?). Could attempt to go with alternative described above, where error returns the plan type.
Any thoughts on the logical plan part @HaoYang670 ?


Error Failed Setup

After upgrade the HomeAssistant component to  version 0.4.2  and removing old Alpha service  and setting up new service i get repeated Failed Setup error
2023-11-19 11:45:47.281 ERROR (MainThread) [alphaess.alphaess] 'NoneType' object is not iterable
2023-11-19 11:45:47.281 ERROR (MainThread) [custom_components.alphaess] Unexpected error fetching alphaess data: 'NoneType' object is not iterable
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/alphaess/coordinator.py", line 30, in _async_update_data
jsondata: json = await self.api.getdata()
^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/alphaess/alphaess.py", line 240, in getdata
for unit in units:
TypeError: 'NoneType' object is not iterable
2023-11-19 11:46:00.457 ERROR (MainThread) [custom_components.alphaess] Unexpected error fetching alphaess data: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/alphaess/coordinator.py", line 45, in _async_update_data
_pv =  _onedateenergy.get("epv")
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
2023-11-19 11:46:00.460 DEBUG (MainThread) [custom_components.alphaess] Finished fetching alphaess data in 8.095 seconds (success: False)
2023-11-19 11:46:18.730 ERROR (MainThread) [custom_components.alphaess] Unexpected error fetching alphaess data: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/alphaess/coordinator.py", line 45, in _async_update_data
_pv =  _onedateenergy.get("epv")
^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'
2023-11-19 11:46:18.732 DEBUG (MainThread) [custom_components.alphaess] Finished fetching alphaess data in 7.948 seconds (success: False)
Any Guidance much appreciated
Graham

Also noticed strange behavior just now. Registered and changed to new API this afternoon. All worked well. Then I changed my Node-Red Alpha ESS node to the new API and it works well. But now it seems my Alpha ESS HA integration stopped working. I deleted and re-created the entry but it still reports "Failed setup, will retry". Is it perhaps problematic to access the API from both HA and Node-Red?

Just to confirm - you changed the authentication credentials to use your API key and secret from the openAPI developer portal and you also linked your inverter to your account in the same portal?

Correct exactly what I done

Just to confirm - you changed the authentication credentials to use your API key and secret from the openAPI developer portal and you also linked your inverter to your account in the same portal?

Correct exactly what I done

Thanks for confirming.  Right now I am not at all sure what the issue might be.  How comfortable would you be running some tests for me?  I'd like to try to see if you could run the apitest python script that comes with the library that the home assistant integration relies on.  Let me know if that's feasible and I will try to send you instructions on it.

I am happy to give it a go but I will need instruction to run the tests.

Similar issue here after following the change-over instructions for OpenAPI.
This error originated from a custom integration.

Logger: custom_components.alphaess
Source: helpers/update_coordinator.py:290
Integration: Alpha ESS (documentation, issues)
First occurred: 1:15:09 PM (6 occurrences)
Last logged: 1:19:01 PM

Unexpected error fetching alphaess data: 'NoneType' object has no attribute 'get'
Traceback (most recent call last):
  File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 290, in _async_refresh
    self.data = await self._async_update_data()
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/config/custom_components/alphaess/coordinator.py", line 42, in _async_update_data
    _gridpowerdetails = _powerdata.get("pgridDetail",{})
                        ^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'get'

Strangly my system was working fine using the old auth method until I updated HA this morning. Following update it was broken, and after checking out github I noted the new API etc. I am in Aus so perhaps a regional rollout to changes or something.

Same issue here, new system set up today, getting "Failed setup, wil retry" error in HA

Short update: the integration seems to work fine. I guess that it takes some time until the servers at AlphaEss setup the usage of the API for a new created developer account.
For me it took about 20 hours.
Right now everything works as expected.So I assume this is not related to the implementation rather than the endpoint at AlphaESS.

Short update: the integration seems to work fine. I guess that it takes some time until the servers at AlphaEss setup the usage of the API for a new created developer account.
For me it took about 20 hours.
Right now everything works as expected.So I assume this is not related to the implementation rather than the endpoint at AlphaESS.

Great news, thanks for confirming

Oh, thanks for the info! I will give it some time then!

For me it took about 20 hours.

Mine has been not working for far longer than 20 hours. There is something else happening here. Would be very interested in helping do some testing if it helps. I really miss my data in HA as I relied on it to know battery SoC and run appliances etc when producing solar.

I am happy to give it a go but I will need instruction to run the tests.

@grahambelli Thanks for volunteering!  Here's instructions, let me know if you get stuck at any point:

You will need CLI access to your home assistant environment - depending on how you are running HA this might be achieved in different ways.  I am running home assistant OS so I chose to install the Terminal & SSH add-on through the HA add-on store.  That gives me a handy terminal option in the home assistant side menu.

Once you have CLI access, connect to your home assistant and then use the cd command to browse to the config folder - in my case that's just /root/config
$ cd /root/config

use the ls command to confirm that you are in the right folder by checking that you can see a custom_components folder, if so use cd to navigate into that folder.
config $ ls
config $ cd custom_components

do the same again as step 3 but this time you want to look for and navigate to the alphaess folder
custom_components $ ls
custom_components $ cd alphaess

Once in the alphaess folder check that you have all of the files - use the ls command and you should expect to see a file listing like this:
alphaess $ ls
__init__.py    __pycache__     config_flow.py    const.py    coordinator.py    entity.py    enums.py    manifest.json    sensor.py  services.yaml    strings.json    translations

create a new temporary folder for testing the underlying library using "mkdir templib", and then use cd to navigate into that folder.
alphaess $ mkdir templib
alphaess $ cd templib

Grab a copy of the underlying library from github using git clone

templib $ git clone https://github.com/CharlesGillanders/alphaess-openAPI.git
Cloning into 'alphaess-openAPI'
...

cd into the new alphaess-openAPI folder
templib $ cd alphaess-openAPI

create and activate a python virtual environment
alphaess-openAPI $ python -m venv venv
alphaess-openAPI $ source venv/bin/activate
(venv) alphaess-openAPI $

install the required libraries
(venv) alphaess-openAPI $ pip install aiohttp
(venv) alphaess-openAPI $ pip install voluptuous

run the apitest.py python script, when prompted paste in your AppID and AppSecret from the AlphaESS developer portal
(venv) alphaess-openAPI $ python apitest.py
AppID: xxxxxxxxxxxxxx
AppSecret: xxxxxxxxxxxxxxxxxxx

Copy all of the output and results from that apitest script and attach them as a file to this issue and I will take a look to see if I can start to figure out what is going wrong.

Clean up and remove everything that was done
(venv) alphaess-openAPI $ deactivate
alphaess-openAPI $ cd ../..
alphaess $ rm -rf templib

Hi Charles
Step 9. python -m venv venv
results in the error below
bash: phython : command not found

That looks like a typo - please check that you spelt python correctly. (Unless I spelt it wrong in the instructions, if so sorry!)

Sorry my typo in the error but command was correct, so I’m getting command not found.

Running on oracle VM on win10 machine

I can get the test working to the point it identifies my system serial number correctly (redacted but it does match my system), but then get the following error. Apologies I can't seem to copy the output from the command from SSH&Terminal addon, so screenshot is below.

Running on oracle VM on win10 machine

Assuming that the VM is relatively standard and that it's only the PATH that might be a problem here can you perhaps try using what should be the full path to python?
/usr/bin/python -m venv venv
If that also fails perhaps you could try to see if you can find the python executable within your VM
find / -name python -print

Running on oracle VM on win10 machine

Assuming that the VM is relatively standard and that it's only the PATH that might be a problem here can you perhaps try using what should be the full path to python?
/usr/bin/python -m venv venv
If that also fails perhaps you could try to see if you can find the python executable within your VM
find / -name python -print

Hi Charles
Sorry if I'm over complicating the error with my setup. here is a screen shot of what i found.

Running on oracle VM on win10 machine

Assuming that the VM is relatively standard and that it's only the PATH that might be a problem here can you perhaps try using what should be the full path to python?

/usr/bin/python -m venv venv

If that also fails perhaps you could try to see if you can find the python executable within your VM

find / -name python -print

Hi Charles
Sorry if I'm over complicating the error with my setup. here is a screen shot of what i found.

I think the problem is with how you are accessing the cli - are you using the ssh add on from the add on store or are you using something else?

For everyone experiencing this issue, I am not sure why the extra logging I added is not giving me more information.  It might help if I could "borrow" a set of api credentials for a  on working system temporarily to try some further debugging myself.  I believe you can easily change the app secret once I'm done.
If any of you is comfortable sharing that I suggest you email me rather than post the details here.
I'm reachable at<EMAIL_ADDRESS>just substitute my actual name there...

Happy to share if it will help. Emailing now.
On Mon, 4 Dec 2023, 5:34 pm CharlesGillanders, @.***>
wrote:

For everyone experiencing this issue, I am not sure why the extra logging
I added is not giving me more information. It might help if I could
"borrow" a set of api credentials for a on working system temporarily to
try some further debugging myself. I believe you can easily change the app
secret once I'm done.
If any of you is comfortable sharing that I suggest you email me rather
than post the details here.
I'm reachable at @.*** just substitute my
actual name there...
—
Reply to this email directly, view it on GitHub
https://github.com/CharlesGillanders/homeassistant-alphaESS/issues/86#issuecomment-1837986390,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACYXYKNVIIVMBHBO25HVRPTYHV4HVAVCNFSM6AAAAAA7RVYGH2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXHE4DMMZZGA
.
You are receiving this because you commented.Message ID:
@.***>

Hi all. AlphaESS has fixed a bug on the platform that was stopping me from removing my battery to re-bind it. After removing and then re-binding this addon is working correctly again. Thanks for your help @CharlesGillanders


Can not Generate RicoSCA Datasets

Hello,
This is a question  for the repo about seq2act paper.
i follow the steps in the README file under seq2act/data_generation and try to Generate RicoSCA Datasets. I can successfully run seq2act/data_generation/create_rico_sca.sh and geneate tfrecord files，but those generated tfrecord files are empty. Do i need extra step except what listed in the README file? please give me your suggestion when you are free, thank you.

Hi,
There are a few missing files needed for the RicoSCA pipeline to work properly. We will fix the pipeline soon!
Yang

Hello,
This is a question for the repo about seq2act paper.
i follow the steps in the README file under seq2act/data_generation and try to Generate RicoSCA Datasets. I can successfully run seq2act/data_generation/create_rico_sca.sh and geneate tfrecord files，but those generated tfrecord files are empty. Do i need extra step except what listed in the README file? please give me your suggestion when you are free, thank you.

We have fixed the pipeline weeks ago and you may have a try now if have not yet, thanks!

Hi, was anyone able to successfully generate AndroidHowTo and RicoSCA?
I am running into issues with the preprocessed data where the data generation scripts seem to work but the files must be wrong or empty because the model loss isn't decreasing during training.


Add accept/reject transitions to single and double workflows.

Fixes #725

This looks good to me, lets go ahead.


Testfrage klären

Dokument anfertigen, auf welcher Ebene und wie wir testen definieren

PO Ebene
SD Ebene

I'm currently working on this together with @joluj
The current roadmap is:

Research and collection of options and frameworks
Create a design document proposal
Setup a working test-environment (including github workflows - this is up for discussion)
Present and discuss the document in the next team meeting

The living design document proposal can be found here.

A specification proposal is created and can be found here.

Umfrage: Upvoten für Jest. Downvoten für Cypress

Johannes as I fixed cypress as our test runner as of your choices and are working on the completion of the test specification document.


Add wordlist from man7.org

Following the style of man7.org, update find-doc-nits to find 'terms to avoid' and suggest their
official replacements.
Do we want to do this?  There are about 70 errors found.

I updated the commit to add @levitte's regexp fixes. I'll make the actual changes and take this out of WIP once I get feedback on the zeroe?s sub-thread above.

Oh yeah: travis failures are expected until I make the doc fixes.  Look at the travis build log if you want to see what it finds.

Fixed all the errors found, taking this out of WIP.

You missed one :wink:
doc/internal/man3/ossl_cmp_asn1_octet_string_set1.pod:1: found 'file name' should use 'filename'

yeah it got overwritten by a rebase of your other man/*/internal fixes. :)

rebased and pushed.  doc-nits errors are from the TYPE stuff, which @levitte is going to fix.

I'll have to rebase after the build-breaking PR goes in, so wait on this.

after the build-breaking PR goes in

Eh...  isn't that already merged? :wink:

Yes, I typed too soon.  The point is once Travis doc-nits is fixed, I'll have to rebase this.  Same for #10039.

Rebased and pushed.  I don't know if this needs another review round or not.

Rebased and pushed. I don't know if this needs another review round or not.

Not if it was a clean rebase

There were merge issues in find-doc-nits, as to be expected.

In that case, then yeah

Thanks.  Matt will be pleased because once this is merged I'll do his favourite UK spelling :) PR

Merged to master.  Thanks @richsalz


Fix current failures on nightly Cardano ThreadNet tests

Fixes #2549 (CP violations in Cardano net). I can't predict how soon we'll see a CP violation again, but I'd suspect this change will afford us weeks -- in my local Mock Praos testing, I've never seen k=8 f=0.2 fail during 300 slots, after >=10,000 of test runs.
So I think these numbers are worth a merge now. For example, they passed one nightly:
https://buildkite.com/input-output-hk/ouroboros-network-nightly/builds/208#872eb9dc-c494-4328-9dba-c871157739b6
We can reopen if we see similar failure relatively soon. Also, I hope to revisit once my more general related line of work converges on some extrapolatable probabilities.

Talked to Thomas. Two todos:

Measure the change in run-time of the normal invocation, not nightly. If we don't accept Common Prefix violations and we want to reach later epochs, then we have to set k and f such that the epoch size is large and we have to run for correspondingly many slots. So it's "Common Prefix violations or relatively few slots to execute: choose one." I lowered the nightly reps to balance to preserve its total run time, but I didn't yet for the normal, non-nightly invocation.

Based on this diff, I think the non-nightly for default 100 iterations will take 4.5 minutes, which is too high for a local dev.

Why didn't this fail? https://buildkite.com/input-output-hk/ouroboros-network-nightly/builds/209#11427e76-5b83-48a3-8839-ebbf9d3daea6

That rebase addressed Thomas's comments and picks up master changes (automatic, no conflicts). In non-nightly mode, the Cardano ThreadNet tests now run 40% of the requested number of cases (the default 100 induces 40 runs). That returns its default run-time to the ~100s from before this PR.
Commit 8bb7258 last night unexpectedly passed the tests. It's diff doesn't include any upstream changes, and is quite larger. Instead of combing it, I've just initiated another run of it: https://buildkite.com/input-output-hk/ouroboros-network-nightly/builds/210
Maybe 8bb7258  just got (relatively) lucky; if this run includes a failure, then I'll be satisfied that we haven't overlooked anything and I'll merge this Approve PR. Thanks, Thomas.

Hmm. https://buildkite.com/input-output-hk/ouroboros-network-nightly/builds/210 passed :( But I reviewed the relevant diff and nothing is jumping out at me. So I'm trying again: https://buildkite.com/input-output-hk/ouroboros-network-nightly/builds/211 narrows to just Cardano, so it's going to have about twice as much opportunity to fail now. If this also passes, then either the Monday and Tuesday night commits each got unlucky once and the Wednesday night commit will have effectively gotten lucky 4 times in a row. In that case, I'll merge this anyway and open a ticket to follow-up later.
Also, I'll rebase this PR as soon bors manages to merge PR 2551 (reorg -test-infra and -mock) -- I'm expecting git to follow the renames and introduce no conflicts 🤞 .

PR 2551 is stuck on a (Windows?) Hydra failure I don't understand.
https://hydra.iohk.io/jobset/Cardano/ouroboros-network-pr-2551#tabs-errors
See https://input-output-rnd.slack.com/archives/CAP8NM7N0/p1598557979036000 too -- thanks @johnalotoski !
So contrary to the original plan, I'm going to merge this PR first and hope @mrBliss can fix up #2551 tomorrow.

bors r+


No detections with normal inference code

I tried serializing the engine file with network builder api with end-to-end network including NMS plugin which is working fine, but i modified the api.py by commenting the code for EfficientNMS_TRT plugin part, and set BBOXES.get_output(0) &  SCORES.get_output(0) as network output bindings, the engine file generates without any issue, but when used csrc/detect/normal/main.cpp for inference i am getting no detection's and observed that all the scores generated appears very low in confidence value  which does not pass the minimum if (score > score_thres) confidence threshold criteria due to which all the detected outputs is get filtered out. Any help on this would be appreciated.

csrc/detect/normal/main.cpp only support the onnx exported by origin ultralytics repo.
If you want to modify the output  by api and do inference, you'd best modify csrc/detect/end2end/include/yolov8.hpp.

closed, feel free to reopen it if you have further questions. Thanks!


[breadboard] Add GraphToKitAdapter - describer

Teaches Breadboard to be able to describe Kits when they are Graphs.

@dglazkov can you give the once over? I don't want to unexpectedly break things.
One thing that I had to do was create an empty response, because returning undefined is not the same as not having a describer defined - and I'd just like a sanity check on the idea.


[BUG] Remove variadic generics from Engine typing

Describe the bug
The Engine class uses protobuf enums in its typing, these aren't supported below Python 3.11. See PEP 646.
The Engine class should maybe avoid these type statements or possibly import annotations from __future__ if that would make the code work on earlier versions of Python.

This is fixed by #11


⚠ IMS has degraded performance

In b200e52, IMS (https://ims.vflits.com) experienced degraded performance:

HTTP code: 200
Response time: 6137 ms

Resolved: IMS performance has improved in 86222bf after 14 minutes.


Installing angular@cli via npm is not working

🐞 Bug report
Command
I am having some issues with installing angular@cli via npm:
npm i -g @angular/cli
Description
This happens when I just updated both node (to v16.15.0) and npm (to v8.11.0).
I have another PC using older versions of both (node at v16.14.2 and npm at v8.6.0) and the installation still works.
🔥 Exception or Error

npm ERR! code ETARGET
npm ERR! notarget No matching version found for angular/cli.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.

npm ERR!      C:\Users\Admin\AppData\Local\npm-cache\_logs\2022-05-27T09_38_56_432Z-debug-0.log

🌍 Your Environment
I'm installing angular-cli via npm on Windows 10:

Check                    Value  Recommendation/Notes
npm ping                 ok
npm -v                   ok     current: v8.11.0, latest: v8.11.0
node -v                  ok     current: v16.15.0, recommended: v16.15.0
npm config get registry  ok     using default registry (https://registry.npmjs.org/)
which git                ok     F:\Programs\Git\cmd\git.EXE
Verify cache contents    ok     verified 3 tarballs

Anything else relevant?
I have installed another package (firebase) in this same PC and it works, so I wonder if it has anything to do with angular-cli.

Hi @AFKBETO,
That's because an invalid package specifier was used. angular@cli is not a valid package.
npm i -g @angular/cli

Thanks, I was a bit dumb when installing angular cli in new machine :(


[refactor] java improvements:

Use diamond type <>.
Remove unnecessary boxing.
Remove unnecessary unboxing.
Replace 'String.indexOf()' expression with 'contains()'.
Replace 'for' loop with enhanced 'for' loop.

merged in 2.11.3-git-09, thanks!


Roll engine f8e7453f1106..4b7a552b9eae (24 commits)

git@github.com:flutter/engine.git/compare/f8e7453f1106...4b7a552b9eae
git log f8e7453f1106..4b7a552b9eae --no-merges --oneline
2019-08-16<EMAIL_ADDRESS>Roll Dart back to e35e8833 (flutter/engine#11043)
2019-08-16<EMAIL_ADDRESS>Roll src/third_party/dart 306f8e04bb..fecc4c8f2d (4 commits)
2019-08-16<EMAIL_ADDRESS>Roll src/third_party/skia 963a606677e1..6a519b8dd895 (6 commits) (flutter/engine#11042)
2019-08-15<EMAIL_ADDRESS>Hide verbose dart snapshot during run_test.py (flutter/engine#11040)
2019-08-15<EMAIL_ADDRESS>Remove ability to override mac_sdk_path in flutter/tools/gn (flutter/engine#11013)
2019-08-15<EMAIL_ADDRESS>Roll src/third_party/dart cd16fba718..306f8e04bb (10 commits)
2019-08-15<EMAIL_ADDRESS>Roll buildroot to pick up recent macOS changes (flutter/engine#11037)
2019-08-15<EMAIL_ADDRESS>Remove the ParagraphImpl class from the text API (flutter/engine#11012)
2019-08-15<EMAIL_ADDRESS>Disable a deprecation warning for use of a TaskDescription constructor for older platforms (flutter/engine#11029)
2019-08-15<EMAIL_ADDRESS>Re-lands platform brightness support on iOS, plus platform contrast (flutter/engine#10791)
2019-08-15<EMAIL_ADDRESS>[fuchsia] Add required trace so files for fuchsia fars (flutter/engine#11036)
2019-08-15<EMAIL_ADDRESS>Roll src/third_party/skia e5dc1ebc864a..963a606677e1 (14 commits) (flutter/engine#11032)
2019-08-15<EMAIL_ADDRESS>Add _glfw versions of the GLFW desktop libraries (flutter/engine#11024)
2019-08-15<EMAIL_ADDRESS>Roll fuchsia/sdk/core/linux-amd64 from _fvZN... to 5Nhwb... (flutter/engine#11028)
2019-08-15<EMAIL_ADDRESS>Roll src/third_party/dart 9552646dc4..cd16fba718 (5 commits)
2019-08-15<EMAIL_ADDRESS>Fix first frame logic (flutter/engine#11027)
2019-08-15<EMAIL_ADDRESS>remove OS version (flutter/engine#11033)
2019-08-15<EMAIL_ADDRESS>Roll src/third_party/skia e30a485a68c9..e5dc1ebc864a (7 commits) (flutter/engine#11025)
2019-08-15<EMAIL_ADDRESS>Roll src/third_party/dart cae08c6813..9552646dc4 (3 commits)
2019-08-15<EMAIL_ADDRESS>Remove the output directory prefix from the Android engine JAR filename (flutter/engine#11015)
2019-08-15<EMAIL_ADDRESS>Fix flutter/flutter #34791 (flutter/engine#9977)
2019-08-15<EMAIL_ADDRESS>Roll src/third_party/dart e35e8833ee..cae08c6813 (28 commits)
2019-08-15<EMAIL_ADDRESS>Roll src/third_party/skia f3f50099533d..e30a485a68c9 (2 commits) (flutter/engine#11022)
2019-08-15<EMAIL_ADDRESS>Roll src/third_party/skia 319fd3d7bcb4..f3f50099533d (4 commits) (flutter/engine#11021)
The AutoRoll server is located here: https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
If the roll is causing failures, please contact the current sheriff (stuartmorgan@google.com), and stop
the roller if necessary.

Auto-roller completed checks. About to merge.


SetDragRectangles doesn't work with changing rects

I've created this issue in this repo to bring more visibility. It's a duplicate of microsoft/microsoft-ui-xaml#7392 I'm not actually sure which repo I should be reporting it in. As noted below, this is extremally important to our application that we're migrating (100's of customers and growing to 1000's).
Describe the bug
AppWindow.TitleBar.SetDragRectangles works well for the most part, clunky as it is, it's pretty straightforward.
However, when you need to change the rectangles (UI changed in title bar) there is a bug that it doesn't completely update.
Steps to reproduce the bug

Create an app that has interactive content that may change in size in the title bar.
Make on the interactive content SizeChanged event, calculate the Rect and call SetDragRectangles
Run the app
Change the interactive content size
Try to interact in the new area that would have previously been part of the grip
It doesn't interact with the element. It doesn't even grip... it just blocks interaction. If you right click it pops the window menu.

Here is a simple project reproducing the issue: TitleBarTest.zip
Expected behavior
It should fully update and I should be able to interact with my control everywhere, including in the new space it took up.
Screenshots
Here is a video describing the issue.
https://user-images.githubusercontent.com/20806279/179582055-4fe6d676-a3e2-4e24-9ddf-6b5a9ebb0d24.mp4
NuGet package version
WinUI 3 - Windows App SDK 1.1.2
Windows app type

[ ] UWP
[X] Win32

Device form factor
Desktop
Windows version
Windows 11 (21H2): Build 22000
Additional context
This is incredibly important to our app. We have browser style tabs in our title bar.

Can confirm this isn't working correctly. AppWindow.TitleBar.ResetToDefault(); before calling SetDragRectangles does seem to workaround the issue but creates very annoying flicker.
Heads up @rkarman @BenJKuhn

I was aware of that "workaround" and am currently trying to implement that in a non-jarring way. I'm doubtful I'll be able to get it completely clean, but hoping to at least get the content of the window not to move around. Will update if I find something. REALLY wishing for open source right now.....

Seems related to #2574 and appears to be fixed in Windows App SDK 1.2 Preview 1. (I upgraded your sample project and it's working now, can you verify?)

Nice! I verified the fix.
But, since we need this app to work on Windows 10, I've actually headed down the route of using Window.SetTitleBar. The issue with that API is that it doesn't support multiple zones.
Well, I thought, it's not like we need support two pointers gripping at once... why don't we just switch the grip zone on hover?
That worked! So given that there doesn't seem to be a downside, I think we're going to go with that solution until this hot mess of windowing API's gets improved (I really don't like how complex the Win11 AppWindow API is).
Hopefully will be resolved with this road map item...

Does this also works for unpackaged apps?


[FEATURE]: Replace kinpy with DH parameters or custom solution

Feature Type
Changing existing functionality in Angler
Problem Description
Kinpy depends on vtk which has been having some Python installation issues recently and also flat out doesn't support arm64 v8 installation. This makes it a bit challenging to integrate into this project and also limits its applicability to deployment on a real system.
Feature Description
Remove support for kinpy and integrate a custom solution. The custom solution should enable users to load either the DH parameters for their respective manipulator or the URDF.
Alternative Solutions
I am going to create a fork of kinpy for now that doesn't depend on vtk, but this should only serve as a temporary solution until I fully remove support for it.
Additional Context
No response

Closing this in favor of #28


how to get all agent states in replica?

Hi,
Can you provide instruction on how to collect all agent states in Replica (i.e. rgb and depth images from all navigable points)?

It can be generated using habitat-sim with a script similar as follows:


graphicsEx.graphics.postProcess() works strange

Hi, guys! I've create an instance of shapeEx, run postProcess() and everything works fine. But when I call that method again after some time - nothing happens. Please, see code below:
public class PathTest extends Sprite
{
	[Embed(source="/assets/strokeTexture.png")]
	private var WhiteBMP:Class;

	private var stroke:ShapeEx;

	private var whiteBMP:Bitmap;
	private var whiteTexture:Texture;
	private var points:Vector.<Number> = new Vector.<Number>();

	private var thickness:Number = 8;
	private var container:Sprite = new Sprite();
	private var endIndex:int;

	public function PathTest()
	{
		addEventListener(Event.ADDED_TO_STAGE, onAdded);
	}

	private function onAdded(e:Event):void
	{
		addChild(container);
		stroke = new ShapeEx();

		container.addChild(stroke);

		whiteBMP = new WhiteBMP();

		whiteTexture = Texture.fromBitmap(whiteBMP, false);

		stroke.graphics.lineMaterial(1, new TextureMaterial(whiteTexture, 0xFF0000));

		runExample();

		Starling.current.nativeStage.addEventListener(MouseEvent.MOUSE_WHEEL, mouseWheelListener);

	}

	private function mouseWheelListener(e:MouseEvent = null):void
	{
		stroke.graphics.postProcess(0, endIndex, new GraphicsExThicknessData(50, 50), new GraphicsExColorData(0, 0));

		trace('Opps..! No Changes...');
	}

	private function runExample():void
	{
		createPoints();

		drawStroke();
	}

	private function createPoints():void
	{
		points.push(100, 0);
		points.push(100, 100);
		points.push(0, 100);
		points.push(0, 0);
	}

	private function drawStroke():void
	{
		for (var i:int = 0; i < points.length; i += 2)
		{
			stroke.graphics.lineTo(points[i], points[i + 1]);
		}
		endIndex = stroke.graphics.currentLineIndex - 1;

		stroke.graphics.postProcess(0, endIndex, new GraphicsExThicknessData(10, 10));

		container.pivotX = container.width >> 1;
		container.pivotY = container.height >> 1;

		container.x = Starling.current.nativeStage.stageWidth >> 1;
		container.y = Starling.current.nativeStage.stageHeight >> 1;
	}
}

Why? What am I doing wrong?
source files here: https://www.dropbox.com/s/b5etj1ni38c8on6/pathTest2.zip?dl=0
Thanks!

This was my fault. The geometry wasn't properly invalidated on the call to invalidate() ;)
A fix has been submitted.
But, speaking of another thing. The call to postProcess returns a boolean. true if it was successful, false if it failed for some reason (such as invalid start and end index, for example). It can be useful to check that return value as well.

Thank you very much! Great!