Add @ejpring as committer

I would like to propose that @ejpring be added as a committer for the streamsx.network repository. He is an active member of the community and is the primary contributer on this repository.

+1

+1

+1

+1

+1

Added Ed as committer.  Welcome!


No support for unary +

The following code crashes. It works in sympy
import symengine
+symengine.Integer(2)

The error message:
TypeError: bad operand type for unary +: 'Integer'

Mind sending a PR implementing __pos__?


[FEATURE] added cursor blinking animation option

I added an option to theme.conf to enable or disable a cursor blinking animation.

SequentialAnimation on color {
				        loops: Animation.Infinite
				        ColorAnimation { from: "#00000000"; to: config.stringValue("passwordCursorColor") || textColor; duration: 0 }
				        PauseAnimation { duration: 500 }
				        ColorAnimation { from: config.stringValue("passwordCursorColor") || textColor; to: "#00000000"; duration: 0 }
				        PauseAnimation { duration: 500 }
				        running: config.boolValue("cursorBlinkAnimation")
				}

I've tried "transparent", and tried "#00000000", but for some reason, both don't work as expected. I'm not very familiar with QtQuick, any idea why it isn't working?

The reason was in ColorAnimation order. I reorder them and it is working.
But it is still not working with random and constantRandom cursor colors.

But it is still not working with random and constantRandom cursor colors.
Fixed.

I added a small pause of 100ms before the animation started, because there was a weird bug when color property was not loaded at the time when the animation started (I think that was the problem)


Failure detection

When I use the library, I've found that there's no clear way to detect a failure - specifically, when an email isn't sent through the API. Looking through the source code tells me that the send() method only returns the message body.
Is there a way to retrieve a response code/status via this package and the API, in the same way as SMTP returns a message ID?
Actually - if there's a way to retrieve the message ID, that'd be great!

@ilithium this is something we're working on 346c90ab856214fcd5f939483065de8a7457dc4e , its on the v3.0 branch.


breaksPlot colours flipped

The 'breaks' track has opposite colours relative to the 'read counts' track and the 'states' track. Ideally they would match to minimize confusion.

This seems to be happening with v1.8.0 but not v1.4.0


Cluster subscribe does not work when TLS is enabled for AWS Redis Cluster

Tested Using

Node.js v10.13.0
ioredis v4.5.1
AWS Clustered Redis Elasticache  (3 nodes, in-transit and at-rest encryption enabled)

Problem
Disabling TLS breaks the pub/sub subscribe functions for me. I have tried everything in this post: https://github.com/luin/ioredis/issues/754 to resolve it but I always get this error:

MaxRetriesPerRequestError: Reached the max retries per request limit (which is 20). Refer to "maxRetriesPerRequest" option for details

Example
This occurs when using the simple example below:
  const nodes = [{
      host: ...,
      port: ...,
  }];
  const redisOptions = {
      tls: {},
  };
  const clusterOptions = {
      redisOptions: redisOptions,
      dnsLookup: (address, callback) => callback(null, address),
  };

  const redis = new Redis.Cluster(nodes, clusterOptions);
  const pub = new Redis.Cluster(nodes, clusterOptions);

  redis.subscribe('mychannel1', (err, count) => {
    console.log(err);
    pub.publish('mychannel1', 'Hello world!');
  });

  redis.on('message', (channel, message) => {
    console.log(`Received message ${message} from channel ${channel}`);
  });

Publish works fine. Subscribe does not. Has anyone else encountered this error?

It's possible solution but I think instantiation of subscriber should be more elegant
diff --git a/lib/cluster/ClusterSubscriber.ts b/lib/cluster/ClusterSubscriber.ts
index 11c1e0b..c176bec 100644
--- a/lib/cluster/ClusterSubscriber.ts
+++ b/lib/cluster/ClusterSubscriber.ts
@@ -71,7 +71,8 @@ export default class ClusterSubscriber {
       password: options.password,
       enableReadyCheck: true,
       connectionName: SUBSCRIBER_CONNECTION_NAME,
-      lazyConnect: true
+      lazyConnect: true,
+      tls: options.tls
     })


Enable iOS platform

CMake 3.15 added first-class support for iOS builds.
Xcode projects targeting iOS can be generated by specifying -DCMAKE_SYSTEM_NAME=iOS in the command line, but CMake fails with the following error:
CMake Error at ThirdParty/SPIRV-Tools/CMakeLists.txt:56 (message):
  Your platform 'iOS' is not supported!

There should be no major problems adding iOS support as I can already successfully build the project for iOS by specifying custom CMake toolchain. As a matter of fact, just treating iOS similar to Darwin makes the project build OK.

As a matter of fact, just treating iOS similar to Darwin makes the project build OK.

Ah, that's useful info.

Works great now, thanks!


Enhancement: Winning Health Heads (like FPS Plus)

What is your suggestion, and why should it be implemented?
In FPS Plus there is a feature where whatever character is winning changes their health icon like this, and I think it would fit well with the other improved cosmetic features.

Makes sense, since the icon for the losing player changes too.

I'm pretty sure high effort ugh had this as well, I'll be down for it.

there is a way, on playstate.hx press ctrl+f and search P1 go into result 20 of 23 (depending of what your making it can be more results and then copy this: if (healthBar.percent < 20)
iconP1.animation.curAnim.curFrame = 1;
else if (healthBar.percent > 80)
iconP1.animation.curAnim.curFrame = 2;
else
iconP1.animation.curAnim.curFrame = 0;
	if (healthBar.percent > 80)
		iconP2.animation.curAnim.curFrame = 1;
	else if (healthBar.percent < 30)
		iconP2.animation.curAnim.curFrame = 2;
	else
		iconP2.animation.curAnim.curFrame = 0;

it will look like this

now go into healthicon.hx and put a third number on every line like
bf {0, 1, 2}


Allow LogStore to select implementation based on URI - #503

Updating LogStore to have new overload taking in the log Path, and checking its URI to determine the LogStore implementation (only used if existing config property is not set)
Adding test to LogStoreSuiteBase for the FS based selection

Closing this PR as this has been done in Delta 1.0. See #503 for more details.


MSAL OBO flow is unable to retrieve tokens from the cache after an hour has elapsed.

Describe the bug
MSAL OBO flow is unable to retrieve tokens from the cache after an hour has elapsed.
See issue described here.
Specific comment here
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.

@SirElTomato What are the errors happening on this particular cache extension? The cache operations either succeed or fail. The error in those links does not have a call stack that matches this extension.

The cosmos container is emptying after an elapsed period of time, possibly 90 minutes. Is there something I need to set to stop this from happening?

@SirElTomato Cosmos container being empty either means the documents are being deleted or TTL is enabled.
If you created the Container manually, what was the TTL defined? If you did not, and let the library create it for you through the CreateIfNotExists flag, the container is created with a TTL based off the CosmosCacheOptions.DefaultTimeToLiveInMs value, if that is not set, then it uses a default value of -1 meaning the items do not expire by default: https://github.com/Azure/Microsoft.Extensions.Caching.Cosmos/blob/master/src/CosmosCache.cs#L402-L403
If the TTL in the container is -1 (meaning enabled but nothing expiring by default) and the items are going away, the only other possibility is that the cache entries have an individual expiration being set.
Are you configuring the options with Sliding and/or Absolute expiration on the items?

@ealsur There was a TTL value set. I've set it to off now so hopefully that does it, thanks!


Not support JDBC getCatalog

sharding-jdbc: 4.0.0
@Resource
private DataSource shardingDataSource;

public String generateTableSchema(String tableName) {
        Connection connection = null;
        try {
            connection = shardingDataSource.getConnection();
            DatabaseMetaData meta = connection.getMetaData();
            ResultSet columns = meta.getColumns(connection.getCatalog(), "%", tableName, "%");
            while (columns.next()) {
                String columnName = columns.getString("COLUMN_NAME");
                String isAutoIncrement = columns.getString("IS_AUTOINCREMENT");
                int digits = columns.getInt("DECIMAL_DIGITS");
                int dataType = columns.getInt("DATA_TYPE");
                String remarks = columns.getString("REMARKS");
                String datatype = columns.getString("DATA_TYPE");
                String columnsize = columns.getString("COLUMN_SIZE");
                String decimaldigits = columns.getString("DECIMAL_DIGITS");
                String isNullable = columns.getString("IS_NULLABLE");
                //Printing results
                System.out.println(columnName + "---" + datatype + "---" + columnsize + "---" + decimaldigits + "---" + isNullable + "---" + isAutoIncrement);
            }

        } catch (Exception e) {
            throw new RuntimeException(e);
        }
        return null;
}

exception:
Caused by: java.sql.SQLFeatureNotSupportedException: getCatalog
	at org.apache.shardingsphere.shardingjdbc.jdbc.unsupported.AbstractUnsupportedOperationConnection.getCatalog(AbstractUnsupportedOperationConnection.java:91)

We have no plan to do this.
I can label the requirement as volunteer wanted for several days.
If someone interesting about it, please reply here.

I am interested in

We have no plan to do this.
I can label the requirement as volunteer wanted for several days.
If someone interesting about it, please reply here.

I am interested in

We have no plan to do this.
I can label the requirement as volunteer wanted for several days.
If someone interesting about it, please reply here.

I am interested in

Logic schema can be as the result of getSchema()/getCatalog() method in mysql,
But pg&oracle, it's different.

@zjcnb  Anything forward or problems ?

Maybe we should close this issue until other person interesting about this.


[Feature Request] Add OpenSUSE/SLES support

CentOS "is dead" and I jumped ship to SUSE.
What I'm asking for: the title sums it up, but I want to be able to zypper install pufferpanel (install from OpenSUSE package manager) instead of building from source or other workarounds.
I would be willing to contribute to the new documentation/test an install if this gains traction.
Some things to be accomplished:

Add SUSE-compatible repo for OpenSUSE Leap and whatever that entails (rpm is signed with GPG key?..)
Add documentation on "install" page in the PufferPanel docs.

Thank you for your time.

You should just be able to take the RPM file we include in the release and install using that, without having to build from source. I'll consider adding openSUSE, but it slows down the pipeline and I have to specify exact versions. I guess it's 15.2 and 15.3 once it's not in alpha.

If someone could provide me the spec file for the currently distributed CentOS RPMs, then I would work on changing the specfile so that it fits openSUSE and put it in Factory on build.opensuse.org


TravisCI - Basic Setup

Hi @ipolevoy
Firstly, thanks for merging https://github.com/javalite/activejdbc/pull/748 👍
Secondly, you expressed some concerns regarding publishing snapshots:

Additionally, the snapshots need to be published to repo.javalite.io after each build and I'm just not sure how to do this in Travis. If you think all the requirements can be met with Travis, I may consider switching

Basically, as a decent CI Service, Travis supports lots of "deployment" / "after build" configurations as you can check here: https://docs.travis-ci.com/user/deployment
Yet, regardless of what it natively supports, custom configuration is always a possibility: https://docs.travis-ci.com/user/deployment/custom/
I'm willing to help you with that, as long as you can explain me how do you currently publish these snapshots.

Now that you already have the .travis.yml file merged, you just need to do a minor setup so that Travis starts building 😄
You just need to follow these simple steps:

Sign in here: https://travis-ci.com/signin
Give Travis access to the repo
Enable Travis for this repository

For more information regarding the setup, you can check this link: https://docs.travis-ci.com/user/getting-started/#to-get-started-with-travis-ci
As always, if you have any question, or concern, do not hesitate to say so :)
Cheers

@jfcabral Travis or Jenkins are not responsible for deployment to a repo. Currently Jenkins is deployed on the same box as the repo, so it deploys by copying files, see https://github.com/javalite/activejdbc/blob/master/pom.xml#L222.
However, deployment can be done over the wire to Artifactory or Nexus. This means that either  one or another needs to be  managed for repo.javalite.io, while currently we just use Nginx to  serve files off a local directory. In other words, using Travis requires more than just configuring the builds.

@jfcabral this also means having private credentials for the repo.javalite.io on Travis, which is a security concern. Thoughts?

Travis or Jenkins are not responsible for deployment to a repo, Maven does.

Yeah sure, but it is invoked by the CI system and not manually right?

Currently Jenkins is deployed on the same box as the repo, so it deploys by copying files, see
https://github.com/javalite/activejdbc/blob/master/pom.xml#L222.

Uhm ok, now I understand

However, deployment can be done over the wire to Artifactory or Nexus. This means that either one or another needs to be managed for repo.javalite.io, while currently we just use Nginx to serve files off a local directory.

Yeah we'll have to think a bit about that. I've used Bintray in the past to create a free maven repository, and it seemed quite simple (e.g. https://blog.bintray.com/2015/09/17/publishing-your-maven-project-to-bintray/)

this also means having private credentials for the repo.javalite.io on Travis, which is a security concern. Thoughts?

I'm not, by all means, an expert in TravisCI, but secret/password management is a pretty important part for any CI system. And Travis has builtin support for that too. That part I won't be able to handle all by myself (for obvious reasons) but I can do some experiments and provide you with some instructions. Basically you can define environment variables (using their management interface), and then use them in the .travis.yml or any shell script in a way no one can actually see their value. There are a couple of docs around that:

https://docs.travis-ci.com/user/environment-variables/#defining-encrypted-variables-in-travisyml
https://docs.travis-ci.com/user/encryption-keys

In other words, using Travis requires more than just configuring the builds.

In my opinion, I believe there is value in start using TravisCI in an incremental way. So it doesn't have to solve everything right now, it just needs to improve what you currently have (which I think it does).
I understand you are on the verge of migrating your infrastructure and would like to migrate to something you fully understand and know it is going to work. Yet, I still believe TravisCI can meet all your requirements and add additional value while saving you much effort. Therefore I see no harm in doing this initial setup now, so you can start seeing how it works and its advantages, and then, in the near future we can handle the missing points:

Test with Oracle
Deployment to a Maven Repository

What do you think?

Just adding my two cents but, I found that GitLab is incredibly easy to use for CI.
What I personally do:

I go to Gitlab website, and create a mirrored repo, there is an explicity option to "Mirror but only as CI".
on my private VPS, I run Docker and spin some gitlab docker runners/agents.
configure the runners there using tags (so I only use my runners, and not the public ones).

In the case of ActiveJDBC, I dont know if tests are already split, but what I personally do is spliting tests into different test commands and only run the docker images of what I need each phase, this sacrifices some speed (because of startup time of each image) but you save up resources if you don't that much to spare.

@LouizFC , thanks for suggestion. I guess there are many ways ti skin a cat, and it boils down to how much time is spent on setup and management moving forward. I'm personally comfortable with Jenkins and not familiar at all with Travis or GitLab. Getting to know either will take a considerable amount of time. Additionally, each build for a different database is run separately, triggering the next one in case of success. The last build will deploy artifacts into repo.javalite.io if successful. Besides, deployment from external sources to a remote  repo needs to be done in a secure way as well.
At this point, not sure how to approach this. Edovo generously provided support for AWS hosting, which can be used in exactly the same way as current CI system.
@jfcabral all your points are valid, this is why I accepted your PR. I think we can run in parallel - having two CI environments working is not a bad idea. Then we can evaluate them and see which  one is superior. However, I would not like the idea to use Bintray because this a for-profit company, as such they can make drastic changes in the future. I'd prefer to have the repo under our control.
If we go this rout, we will need to resolve a remote deployment from Travis to our repo running on AWS cloud. We will have to look at installing and maintaining https://www.sonatype.com/nexus-repository-oss to support Travis deployments.

@jfcabral  we had an internal discussion and all seem to agree that the direction  you are proposing is the right one! Abandoning Jenkins and switching to TravisCI seems like a good idea. In the process, we will learn Travis. As far as hosting snapshots, we applied with Sonatype https://issues.sonatype.org/browse/OSSRH-41480 to get our snapshots hosted with them, and waiting for approval. At that point, we will switch to pushing snapshots to Sonatype snapshot repo.
This means that if your build has all databases covered except Oracle, than it is just Oracle than needs attention. If you can bring this up to a working condition, it would be great!
This means that we will have:

Builds running on TravisCI
Snapshots published and hosted on Sonatype
Website running on AWS

Making sense?

@jfcabral I just pushed the latest snapshots to Sonatype from my local laptop, and to my astonishment, it just worked: https://oss.sonatype.org/content/repositories/snapshots/org/javalite/ !
I think this is the best way to move forward.
Additionally, I setup the Travis Build based on your config: https://travis-ci.org/javalite/activejdbc and seems to be working. There needs to be some polishing of the script, but that is minor.
If you can focus on getting Oracle working,  and I will get the rest, we will be in a better shape soon.
tx

@jfcabral I see you have been busy this weekend, lol. I will reply to all your questions later today,
In the mean time, since databases are running on Travis (Oracle, MSSQL, DB2), is there a way to connect to them remotely? For instance, I do not have these databases locally, I only have PostgreSQL, SQLite, MySQL and H2. Missing Oracle, SQLServer and DB2. However, when developing I want to run tests against them without having to commit to Git. Is there a way to do this? Previously, I would SSH-tunnel to a remote DB.

@jfcabral I see you have been busy this weekend, lol.

Indeed I had 😄

is there a way to connect to them remotely?

I'm afraid not @ipolevoy 😞 You see TravisCI infrastructure runs on either AWS or GCE, but basically when a new commit or PR comes up, they spin a fresh container or VM to build and test everything, and in the end they're discarded. So as far as I know, you have no way of remote connect into them.

For instance, I do not have these databases locally, I only have PostgreSQL, SQLite, MySQL and H2. Missing Oracle, SQLServer and DB2. However, when developing I want to run tests against them without having to commit to Git. Is there a way to do this? Previously, I would SSH-tunnel to a remote DB.

I understand your point as I like to test it locally as well, but when I need it, I simply spin the same docker container that TravisCI would use. In order to do that, 1st you'd need to install docker, for this you can either:

install docker natively
install docker-machine (which is like a VM with docker inside).

Personally I use the 2nd option because having docker natively installed, requires me to enable Hyper V (M$ Hypervisor), and doing so, prevents Oracle Virtualbox from working, which isn't acceptable for me, that's why I have to user Docker Machine.
After having docker installed, you simply need to type in the commands from https://github.com/javalite/activejdbc/blob/master/.travis.yml and you'll have those DBs up and running in no time 😉

Anyway, I've managed to integrate Oracle Tests with TravisCI, but I was waiting on the Oracle test fixes to start rolling before doing that PR. But if you prefer I could do it now, before all tests are fixed, and from there, we could start fixing them. What do you think?

@jfcabral awesome, this is what I thought. I'm behind you on use of Docker, need to read up on  the docs. In any case, I changed the name of this story and will spend time today to make Travis  build official. I will be making commits under this story.

@jfcabral quick question, I assume these commented out lines were pushed once to  install things, right?

I assume these commented out lines were pushed once to install things, right?

Sorry I didn't follow, are you talking about this file https://github.com/javalite/activejdbc/blob/master/.travisci/setup.sh ?
If that's the case, long story short, in order to make TravisCI to use some beefier machines for using docker, I had to mess around some settings and at one point I did it but the VM didn't have Java or Maven built-in anymore, so I started to install that manually (hence those commented lines).
Later I realized that properly defying the language version to Java would simply make everything easier, and so that is no longer required.
Still, that code is functional, so should we need a specific or more modern version of maven, we can still use that recipe 😄

thanks, that makes sense. Shall I delete the lines since they are comments? We can always   boring them back from git history

@jfcabral I'm working on  this issue, the last build https://travis-ci.org/javalite/activejdbc/builds/413237021 did publish the artifacts to Sonatype. Next, I will be adding databases to the build.

@jfcabral I spent a few hours today trying to get TravisCI build the project. The work is done on branch https://github.com/javalite/activejdbc/tree/issue_752 (disregard other branches.).
Unfortunately, I did not get it to work properly. I have two issues:

Only one build is building: https://api.travis-ci.org/v3/job/413292848/log.txt, prints: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V, but this is not found anywhere in code. Di TravisCI cached this somewhere?
The log puts out this: Getting statements from fileGetting statements from file: mysql_schema.sql`, however, there is no corresponding line for PostgreSQL, although both are configured.
It does build AJ twice as configured, but in my configuration, MySQL is first and PostgreSQL is second. In the build, the first one is not running tests, and the second is running MySQL.

I'm utterly confused buy TravisCI (was hoping this to be an easy task). I made you a contributor on the project, can you please see where I messed up?
Also, in the process, I reduced amount of logging, so no need to filter it with grep.
If you get to it, commit changes to https://github.com/javalite/activejdbc/tree/issue_752 to trigger new builds.
Here is the link to the TravisCI build: https://travis-ci.org/javalite/activejdbc

@ipolevoy it should be ok now 😄
Some examples:

Deployment not being done if test failure occurs: https://travis-ci.org/javalite/activejdbc/builds/413336829
Deployment being done if everything goes ok https://travis-ci.org/javalite/activejdbc/builds/413346967
Deployment not showing because this branch is not the master one: https://travis-ci.org/javalite/activejdbc/builds/413350376

There seems to be a test failing with PostgreSQL though + the tests failing under Oracle that I have already reported (and created 2 PRs to help fix some of them)...
Do you think it is fine now?
Anyway do you want me to submit the PR with oracle support before all tests are fixed?

@jfcabral
awesome, I will be diving in tomorrow. GO ahead and send in a PR.

@jfcabral , when  you commit, can you please stick to the same format as I do? It will make it easy to produce release notes - thanks

@jfcabral , looking good, questions:

Why is H2 stage called "compile"?
I do not understand https://github.com/javalite/activejdbc/blob/109104da00b2ab9b292768138f224795222f436e/.travis.yml#L26 and https://github.com/javalite/activejdbc/blob/109104da00b2ab9b292768138f224795222f436e/.travis.yml#L27
What are you trying to do? why exclude MySQLMigrationSpec and why not fail if tests fail?

tx

GO ahead and send in a PR

👍

@jfcabral , when you commit, can you please stick to the same format as I do? It will make it easy to produce release notes - thanks

sure thing, I always struggle with what to write 😋

Why is H2 stage called "compile"?

Yeah this is kind of a long story 😄
You see, even though TravisCI is free, somebody pays for those resources so I attempted to use it in a fair way. My rational was:

If you're not sure thing even builds, why spawn 7 machines to build something that will fail?
Since only ActiveJDBC activejdbc/activejdbc needs to be tested for multiple DBs I came up with this design:

Stage 1 - aka Compile

Builds the whole project and executes all* unit tests (by default h2 will be used)
If it is successful it will unlock stage2

Stage 2 - aka Test

Multiple instances will be spawned (one per DB) to build and test only activejdbc/activejdbc. (Since H2 was already tested on stage 1, this profile won't be executed again)
If every instance of this stage is successful, and this is the master branch, stage 3 will be unlocked

Stage 3 - aka Deploy

Will deploy to Sonatype

why exclude MySQLMigrationSpec

I had to do that at the very beginning because I didn't even have MySQL configured. But I agree we should revise that in the near future.

why not fail if tests fail?

this is not true -DfailIfNoTests=false means to prevent build failures if a certain module doesn't have unit tests.

Also, the build is not asking any questions, so -B can be removed

I know but I still used that flag for 2 reasons:

Default TravisCI setup for Java
Helps to reduce the build logs (https://stackoverflow.com/a/48929096) - I'm a bit sensible in this matter, I spend a part of my day looking at logs and I kind of hate having to browse through useless logging to find something...

Why not eliminate the deploy.sh and use its content verbatim?

As I've said in the past, I'm not an expert in TravisCI, but according to the deployment documentation, you need to choose a deployment provider and one of those providers is script. I don't think you can simply type in the commands directly 😕

@jfcabral , I fixed PostgreSQL build. All configured builds are successful now,

great news 😄

but the deploy stage failed:

This is most likely because another commit was done in the master branch before the deployment was done. Think of this as a safety mechanism. Each of these stages starts by cloning the repo. If new commits were made during the test stage, the deploy stage would be deploying something untested. This prevents that.
I know it can be rather confusing, but if you look carefully you'll see that those commits will originate a new build with tests and a deployment stage in the end. So there shouldn't be any real trouble... If you check here https://travis-ci.org/javalite/activejdbc/branches you'll notice that after those failures, there were 2 successful deploys 😄

@jfcabral great, thanks for clarifications. Do you think is it possible to rename the stages to reflect what they actually do? Also, does it make sense to  make as many stages as we have databases? Normally, with Jenkins, I would create a number of jobs, and simply have one job start a next one. If one fails, it will automatically not start the next one  - simple.
It is just the stage names have no reference to their content, (except deploy, which does not deploy , lol)


Enable TLS 1.3 by default, v2

DO NOT SUBMIT

This PR got sufficiently out of date that I am replacing it with #23165


VS Hangs after installing live-share extension

Product and Version [VS/VSCode]: VS 2017 Professional
OS Version [macOS/Windows]: Windows 10 Pro V 10.0.17134
Live Share Extension Version: 0.3.1151.0
Target Platform or Language [e.g. Node.js]: C#
Steps to Reproduce / Scenario:

Go to 'Menu > Tools > Extensions and Updates'
Click on 'Online' in the left box
Search for 'Live Share'
Click on 'Install'
Close visual studio
Click through live share installation prompts (yes/ok/confirm)
Open visual studio once installation is complete.
VS hangs immediately (completely unresponsive) and process needs to be killed in Task Manager.

Screenshots
Not Applicable.
Debugging

Open visual studio command prompt
Issue command "devenv.exe /log {path-to-log}/VSlog.xml"
Wait for VS to hang.
Kill devenv process in Task Manager.
Open log file. (zip file with xml log and xsl attached)

vslog20190205.zip
Steps to remedy

Open visual studio command prompt
Open vs in safe mode: Issue command "devenv.exe /SafeMode"
Uninstall Live Share

Error Log Message
SetSite failed for package [ShareWorkspaceUIPackage]Source: 'Microsoft.VisualStudio.LiveShare.UI' Description: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.VisualStudio.Threading, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified. File name: 'Microsoft.VisualStudio.Threading, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'   at Microsoft.VisualStudio.Cascade.ShareWorkspaceUIFactory.RegisterAsync(IServiceProvider serviceProvider, CancellationToken cancellationToken)   at Microsoft.VisualStudio.Cascade.ShareWorkspaceUIPackage.d__0.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)   at Microsoft.VisualStudio.Shell.AsyncPackage.<>c__DisplayClass17_0.<b__1>d.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at Microsoft.VisualStudio.Services.VsTask.RethrowException(AggregateException e)   at Microsoft.VisualStudio.Services.VsTask.InternalGetResult(Boolean ignoreUIThreadCheck)   at Microsoft.VisualStudio.Services.VsTask.GetResult() WRN: Assembly binding logging is turned OFF. To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1. Note: There is some performance penalty associated with assembly bind failure logging. To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

@mornemaritz-eb are you still noticing this bug with the latest version of the Live Share extension?

Closing due to inactivity. Please reopen if you can provide us with more info.


Synchronizing with effects (60%)

Great progress @AFM-Taha bhai. Loved it

@AFM-Taha I will take over it from here. Okay?

Yah, Please continue
On Sat, Sep 28, 2024, 7:13 AM Habibur Rahman @.***>
wrote:

@AFM-Taha https://github.com/AFM-Taha I will take over it from here.
Okay?
—
Reply to this email directly, view it on GitHub
https://github.com/reactjs/bn.react.dev/pull/103#issuecomment-2380262525,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AXCUEUA5M47VNNI7X7QN3FTZYXQ73AVCNFSM6AAAAABPAAWC4OVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBQGI3DENJSGU
.
You are receiving this because you were mentioned.Message ID: <reactjs/bn.
@.***>


Start Screen

So, here is the pull request for the Splash Screen
I improved it a bit since I last worked on it, so basically:

Supports Unity 2018.1.0+ (It will just silently fail and run the passed function if it's unable to resolve the hex signatures)
Display the progress of Cpp2IL / Unhollower (the Il2CppDumper part is commented out, since we most likely won't use it anymore)
Display the current mod/plugin executing OnApplicationStart/OnApplicationLateStart
Unhollower is ran in another thread during the generation, allowing a smooth interaction with the start screen. Everything after that however is ran on the main thread, and so the window will only updates when the status/progress update
There is a --melonloader.disablestartscreen command

I guess we should also change the current animated image, since it's the Nagatoro pixel gif I reproduced a while ago
I also plan to display a blocking screen if a mod fails to load or misses a dependency. A method is already here and called from MelonLoader, but it currently does nothing as I have to design and code this screen.
The code should also be clean enough to be merged, with the few remaining features added later, but we can still delay it if we want to. It would still be nice to heavily test it before making a release of it, as a lot of pointer shenanigans are implied

Wait, what are you talking about? What start screen?


Deeply nested bind_env declarations work at all levels of retrieval.

Fixes Issue #6

hi @admiralobvious.
Any appetite for including this? Seems to me to fix a bug in expected behavior from the docs, and would really love to include it in my projects rather using a forked version.

LGTM, thank you! Sorry for the delay, I was on vacation.

No worries about the delay! Thanks for merging it.
On Tue, Aug 14, 2018, 4:12 PM Alexandre Ferland<EMAIL_ADDRESS>wrote:

Closed #7 https://github.com/admiralobvious/vyper/pull/7.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/admiralobvious/vyper/pull/7#event-1788717732, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAKyPvXkPzMdZhJFS6JLKCNgdA63Lc7Uks5uQy9KgaJpZM4VsRkM
.


Support for GE Washer and Dryer

Hi - wanted to reach out to see if it's possible for you to add support within this component for GE Washer and Dryer that has SmartHQ support.
I can assist in providing any captures, etc needed to add this.
Help is much appreciated.
Rgds,
-mo

I too would love to see support for washers & dryers, and would also gladly help. It appears that most of the constants, etc. that are needed can be found here. I don't want to try adding support on my own yet given the ongoing work on PR #7 ...

I've ordered a set myself. I'm more than happy to do the heavy lifting once I have them installed.

Using the code from PR #7, I was able to get information from my Dryer. I can confirm the erd code 0x2007 is time remaining.
The erd codes from "can be found here" seem to map to the list below. As it's from 2014 this list is at least incomplete as I see codes not on this list (ex: 201C). Once PR #7 is merged in I'd be happy to add this to the code.
2000 machineStatus
2001 machineSubCycle
2002 endOfCycle
2003 cycleCount
2004 dryerServiceErrorCodes
2005 dsmOverridesAllowed
2006  maximumWaterTemperature
2007 timeRemainingInSeconds
2008 tankStatus
2009 tankSelected
200A cycleSelected
200B washerUserInterfaceServiceErrorCodes
200C washerInverterServiceErrorCodes
200D washerMainControlServiceErrorCodes
200E operatingMode
200F dryerC riticalResponseEnabled
2010 delayTimeRemainingInMinutes

Just providing an update on this thread.
Jack and I have added laundry support to his fork - https://github.com/simbaja/gekitchen.  I've got a washer but no dryer, however we've added the ERDs that I could find from the app, if someone with a dryer wants to test it out and let us know we can continue to expand out support.

I've both the GE SmartHQ Washer and Dryer. I tried to use the above gehome lib and see the params but it's failing to execute as shown in the error below:
pi@Home-Assistant:~/ge-appliances $ python3 test.py
DEBUG    Using selector: EpollSelector
test.py:17: DeprecationWarning: The object should be created within an async function
session = aiohttp.ClientSession()
DEBUG    Getting OAuth2 token
ERROR    Task exception was never retrieved
future: <Task finished coro=<GeBaseClient.async_get_credentials_and_run() done, defined at /home/pi/.local/lib/python3.7/site-packages/gehomesdk/clients/base_client.py:114> exception=AttributeError("'str' object has no attribute 'create_task'")>
Traceback (most recent call last):
File "/home/pi/.local/lib/python3.7/site-packages/gehomesdk/clients/base_client.py", line 116, in async_get_credentials_and_run
await self.async_get_credentials(session)
File "/home/pi/.local/lib/python3.7/site-packages/gehomesdk/clients/base_client.py", line 179, in async_get_credentials
await self.async_do_full_login_flow()
File "/home/pi/.local/lib/python3.7/site-packages/gehomesdk/clients/base_client.py", line 183, in async_do_full_login_flow
self.credentials = await self._async_do_full_login_flow()
File "/home/pi/.local/lib/python3.7/site-packages/gehomesdk/clients/websocket_client.py", line 61, in _async_do_full_login_flow
await self._async_get_oauth2_token()
File "/home/pi/.local/lib/python3.7/site-packages/gehomesdk/clients/base_client.py", line 204, in _async_get_oauth2_token
await self._set_state(GeClientState.AUTHORIZING_OAUTH)
File "/home/pi/.local/lib/python3.7/site-packages/gehomesdk/clients/base_client.py", line 254, in _set_state
await self.async_event(EVENT_STATE_CHANGED, old_state, new_state)
File "/home/pi/.local/lib/python3.7/site-packages/gehomesdk/clients/base_client.py", line 98, in async_event
asyncio.ensure_future(cb(*args, **kwargs), loop=self.loop)
File "/usr/lib/python3.7/asyncio/tasks.py", line 581, in ensure_future
task = loop.create_task(coro_or_future)
AttributeError: 'str' object has no attribute 'create_task'
/usr/lib/python3.7/asyncio/base_events.py:1760: RuntimeWarning: coroutine 'GeBaseClient._on_state_change' was never awaited
handle = self._ready.popleft()
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
ERROR    Unclosed client session
client_session: <aiohttp.client.ClientSession object at 0xb34e6ef0>
I am able to execute the test app with the original gekitchen lib and it is sending out the ERDs and relevant info pertaining to the washer and dryer. But this above fork is running into some execution error tied to the ensure_future call in the asyncio module.
If you can help provide some details to run - I can collect the relevant data from the appliances and send it out.
Rgds,
-mo

I've personally been using the websocket_example.py and editing it to change the path to the secrets.py file
wrees@eta:~/gehome % more secrets.py
USERNAME = "email@address"
PASSWORD = "password"
wrees@eta:~/gehome % python websocket_example.py
DEBUG    Using selector: KqueueSelector
websocket_example.py:74: DeprecationWarning: The object should be created within an async function
session = aiohttp.ClientSession()
DEBUG    Getting OAuth2 token
DEBUG    Client changed state: GeClientState.INITIALIZING to GeClientState.AUTHORIZING_OAUTH
DEBUG    Getting WS credentials
DEBUG    Client changed state: GeClientState.AUTHORIZING_OAUTH to GeClientState.AUTHORIZING_CLIENT

Thx that worked. Tweaked the secrets file and here's the o/p from the washer and dryer. Hope it helps moving the project forward.
Rgds,
-mo
ge-washer-dryer.log

Thank you.  So the Washing machine appears to be good to go, with the exception of the 4 unknowns that i haven't bee able to identify.
We're missing a few ERDs for the dryer, specifically 0x201c, 0x2022, 0x2023, 0x2041, 0x2051, 0x2052, 0x2053 and 0x206f.
I'll see if i can find any of those in the original app.  Would you be able to test the dryer with some known cycles and settings and provide those, along with what was set so we can further isolate values/options?
If you wouldn't mind, can we also take this over to the gehome project, as that's where I'll be applying the updates to.
Thanks!
Warren

Sure let's move the discussion to the gehome project. I'll try to check with some known cycles and revert back the observations.
Rgds,
-mo
ge-washer-dryer.log

I understand this is an old thread, but I have a question.
GE smart washing machine dispenser loads left not working home assistant.
Mine constantly reports 8, is there anything I can do to fix this?
Thanks