How to change soap address

I am working with the wsdl below and I was just informed that the address the soap call needs to go to can be different depending on the user.
The wsdl has
https://partnerdev.hostedtax.thomsonreuters.com/sabrix/services/taxservice/2009-12-20/taxservice
set as the URL but it may need to use a different URL.  Is there any way to change this when I am building the soap call or would I need a separate wsdl for each URL?
<?xml version="1.0" ?><wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.sabrix.com/services/taxservice/2009-12-20/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" targetNamespace="http://www.sabrix.com/services/taxservice/2009-12-20/">
  <wsdl:types>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://www.sabrix.com/services/taxservice/2009-12-20/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.sabrix.com/services/taxservice/2009-12-20/">

  <xs:include schemaLocation="https://partnerdev.hostedtax.thomsonreuters.com/sabrix/services/taxservice/2009-12-20/taxservice?xsd=TaxServiceMessages.xsd"></xs:include>

</xs:schema>
  </wsdl:types>
  <wsdl:message name="GetTaxSoapIn">
    <wsdl:part element="tns:TaxRequest" name="parameters">
    </wsdl:part>
  </wsdl:message>
  <wsdl:message name="GetTaxSoapOut">
    <wsdl:part element="tns:TaxResponse" name="parameters">
    </wsdl:part>
  </wsdl:message>
  <wsdl:portType name="SimpleTaxService">
    <wsdl:operation name="GetTax">
      <wsdl:input message="tns:GetTaxSoapIn">
    </wsdl:input>
      <wsdl:output message="tns:GetTaxSoapOut">
    </wsdl:output>
    </wsdl:operation>
  </wsdl:portType>
  <wsdl:binding name="TaxServiceSoap" type="tns:SimpleTaxService">
    <soap:binding transport="http://schemas.xmlsoap.org/soap/http"></soap:binding>
    <wsdl:operation name="GetTax">
      <soap:operation soapAction="http://www.sabrix.com/services/taxservice/2009-12-20/GetTax" style="document"></soap:operation>
      <wsdl:input>
        <soap:body use="literal"></soap:body>
      </wsdl:input>
      <wsdl:output>
        <soap:body use="literal"></soap:body>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:binding name="TaxServiceSoap12" type="tns:SimpleTaxService">
    <soap12:binding transport="http://schemas.xmlsoap.org/soap/http"></soap12:binding>
    <wsdl:operation name="GetTax">
      <soap12:operation soapAction="http://www.sabrix.com/services/taxservice/2009-12-20/GetTax" style="document"></soap12:operation>
      <wsdl:input>
        <soap12:body use="literal"></soap12:body>
      </wsdl:input>
      <wsdl:output>
        <soap12:body use="literal"></soap12:body>
      </wsdl:output>
    </wsdl:operation>
  </wsdl:binding>
  <wsdl:service name="TaxService">
    <wsdl:port binding="tns:TaxServiceSoap" name="TaxServiceSoap">
      <soap:address location="https://partnerdev.hostedtax.thomsonreuters.com/sabrix/services/taxservice/2009-12-20/taxservice"></soap:address>
    </wsdl:port>
    <wsdl:port binding="tns:TaxServiceSoap12" name="TaxServiceSoap12">
      <soap:address location="/taxService/2009-12-20/taxservice"></soap:address>
    </wsdl:port>
  </wsdl:service>
</wsdl:definitions>

never mind. I figured it out.  Thanks

Just for others who would also wonder, you can call the setLocation method from the ServiceType instance


Athena profiler ingestion fails

Affected module
Profiler Ingestion in Athena
Describe the bug
Although the mentioned table metadata already got ingested successfully, the profiler fails with below error message.

To Reproduce
Below are the profiler configurations used

Expected behavior
A clear and concise description of what you expected to happen.
Version:

OS: ubuntu
Python version: 3.10
OpenMetadata version: tested with both 1.2.5 and 1.3.3
OpenMetadata Ingestion package version: 1.3.3

@vithushanms the error message here refer to the delay lake transaction log metadata, not OpenMetadata. Can you try to run the query shown in the error logs in Athena directly and let us know what you find?

@TeddyCr  you're correct. seems like the query is failing in the athena

Awesome. I'll close this issue then. Thank you.


#include <f8.h> - No such file or directory

Hi,
what this header file is about? Did I miss to install something?
My compilation on Linux One, architecture z390x was quite fast failure:
[linux1@prunce ~]$ git clone https://github.com/Oxore/tetris-csfml.git
Cloning into 'tetris-csfml'...
remote: Enumerating objects: 1039, done.
remote: Total 1039 (delta 0), reused 0 (delta 0), pack-reused 1039
Receiving objects: 100% (1039/1039), 382.21 KiB | 0 bytes/s, done.
Resolving deltas: 100% (644/644), done.
[linux1@prunce ~]$ cd tetris-csfml/
[linux1@prunce tetris-csfml]$ make
  CC      build/config.c.o
  CC      build/hs_table.c.o
  CC      build/idlist.c.o
  CC      build/text.c.o
  CC      build/slist.c.o
  CC      build/game.c.o
src/game.c:33:16: fatal error: f8.h: No such file or directory
 #include <f8.h>
                ^
compilation terminated.
make: *** [build/game.c.o] Error 1

Tried to play with free LinuxOne, https://github.com/linuxone-community-cloud/technical-resources/blob/master/deploy-virtual-server.md

OK, found it listed in Depencies section in README, will try again next time.

I gave a next try, still want to add few cents here:

Could you mention a command to pull dependencies in Dependencies section?:
git submodule update --init --recursive

make command will give an error:
src/game.c:38:31: fatal error: SFML/System/Clock.h: No such file or directory
#include <SFML/System/Clock.h>

Inspecting what's under ./deps/SFML/System you will find that header files are .hpp, not h....

Changing src/game.c lines to include .hpp instead of .h doesn't help, looks the Makefile isn't correct:
#include <SFML/System/Clock.hpp>
#include <SFML/Graphics/RenderWindow.hpp>

CC      build/game.c.o
src/game.c:38:33: fatal error: SFML/System/Clock.hpp: No such file or directory
#include <SFML/System/Clock.hpp>

Hello, @r-pankevicius! Thank you for taking an interest in this project!

Could you mention a command to pull dependencies in Dependencies section?:
git submodule update --init --recursive

Yep, I definitely should mention this in Readme.md. I will do it.

Tried to play with free LinuxOne

Does it have GPU and any... virtual display? Doesn't look like a machine, that can be used for running tetris. But, anyway, it can theoretically have Xorg installed on it's OS and anything SFML would need for compilation, so let me explain what going wrong here.

make command will give an error:
src/game.c:38:31: fatal error: SFML/System/Clock.h: No such file or directory
#include <SFML/System/Clock.h>

You don't have CSFML bindings installed on your system. It is expected if you just run make.

Inspecting what's under ./deps/SFML/System you will find that header files are .hpp, not h....

They are under ./deps/CSFML/include/SFML.
I was expecting that if one decided to compile this project from source code, he/she will take a look at .travis.yml file and it is mentioned under "Compilation and usage" section. I should probably specify compilation commands explicitly in Readme.md.
If you don't have SFML and CSFML installed in your system then the following huge and complicated command (on bash or zsh) should build tetris binary with statically linked SFML and CSFML libraries. I Assume that you just cloned repository, changed working directory to cloned one (cd tetris-csfml), and pulled all submodules with git submodule update --init --recursive.

Create $PFX (is set to $(pwd)/prefix), deps/SFML/build and deps/CSFML/build directories for building and installing SFML and CSFML libraries. You also will need cmake for CSFML and SFML build process.
Build static binary of SFML library in deps/SFML/build
Build static binary of CSFML bindings library in deps/CSFML/build
Build tetris using static SFML and CSFML library binaries.

Further rebuilds may be performed by following command
make PREFIX=$(pwd)/prefix SFML_STATIC=y

If you don't have enthusiasm anymore for taking actions I described above and working on this issue, then let me know or just close the issue.

@Oxore Vladimir, I have enthusiasm but I have a vacation now. Thanks for your response I will try your recipe later.

Uh...   You are running version <IP_ADDRESS>

Tried to build cmake from sources according to https://gitlab.kitware.com/cmake/cmake (downloads were only for x86 platform).
[linux1@prunce ~]$ git clone https://gitlab.kitware.com/cmake/cmake.git
Cloning into 'cmake'...
remote: Enumerating objects: 95, done.
remote: Counting objects: 100% (95/95), done.
remote: Compressing objects: 100% (60/60), done.
remote: Total 312464 (delta 53), reused 60 (delta 35), pack-reused 312369
Receiving objects: 100% (312464/312464), 91.42 MiB | 10.01 MiB/s, done.

This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Extra diagnostics...
[linux1@prunce cmake]$ ldd --version
ldd (GNU libc) 2.17
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

[linux1@prunce cmake]$ yum list glibc
Loaded plugins: product-id, search-disabled-repos, subscription-manager
Installed Packages
glibc.s390                       2.17-307.el7.1                      @rhel7-base
glibc.s390x                      2.17-307.el7.1                      @rhel7-base

Seems everything gets compiled fine, linking fails due to glibc version dependency. So it has nothing to do with tetris-csfml project so I'm closing the issue.


Spotbugs build error

https://github.com/apache/incubator-druid/pull/7925#issuecomment-504464597
[ERROR] Method org.apache.druid.math.expr.StringExpr.toString() overrides the return value nullness annotation in an incompatible way. [org.apache.druid.math.expr.StringExpr] At Expr.java:[line 350] NP_METHOD_RETURN_RELAXING_ANNOTATION

FYI @Fokko

I see your colleague already fixed this in https://github.com/apache/incubator-druid/commit/183d5be7ec7521fe375c0f9da094f4a574806970

If you hit more of these failures, please don't hesitate to pull me in.


Create note fails if no user name set

Describe the bug
Create note will add the note, but if the username is NULL the API returns 500,
app_1   | response -> owner
app_1   |   none is not an allowed value (type=type_error.none.not_allowed)```

Need to allow NULL on User Full Name in query return to NoteUser Schema, or require some name entered by default (on startup user).

Fixed with #9 . Added full_name as required ENV and required field in schema.


Update the documentation with Sprint 1 and 2 retrospectives.

Update the documentation with Sprint 1 and 2 retrospectives, so that the Product Owner is aware of challenges and improvements during each Sprint.
Acceptance criteria: The screenshots of retrospective boards from InVision app are added to the readme file.

https://github.com/DIT113-V22/group-12/wiki/Documentation#retrospectives


ghostdriver release 1.3.0

@detro i'd like to help roll out ghostdriver 1.3.0 so we can include it in the phantomjs 2.5 release ariya/phantomjs#14458.
i plan on doing the following:

[x] fix some of the unit tests
[x] build atoms for selenium/webdriver 3.0.0
[ ] run the selenium test suite and document the failures

thoughts?

the unit tests pass.

+1

jesg, thanks for continuing to support this project. would be awesome!

@henrik242  @solvingJ the phantomjs issue is ariya/phantomjs#14553.  it is a general discussion about integrating ghostdriver changes upstream.

Thanks for taking over!!

@jesg selenium 3.0 stable was released any plan integrating it?

@anilreddy yes i plan on building the selenium 3.0 atoms.

Any new progress?

@eos1d3 i've made a few pull requests to ghostdriver that fix various issues.  upstream phantomjs has stalled on providing an official way to build phantomjs for the 2.5 release.  hence i'm unable to test my changes on the next phantomjs release.
i can release an unofficial npm package for ghostdriver.  then you would be able to run an up to date version of ghostdriver.  the current version packaged in phantomjs is 2 years old.  would anyone be interested in this?  should this package track detro/ghostdriver's master branch or something else?

@jesg I will try if you release npm package.The current version is too old.
I am facing problems with Selenium HtmlunitDriver, and also HtmlUnit because of JavaScript engine bugs. Each has different problem.
I tested with GhosrDriver 1.2 and it looks good. I will do a more test soon. So if you have newer one, I will test it.

@eos1d3 do the following to run my most recent changes.
$ git clone https://github.com/jesg/ghostdriver ~/.ghostdriver
$ cd ~/.ghostdriver
$ PHANTOMJS_GHOSTDRIVER_PATH=`pwd`/src/main.js ./bin/ghostdriver --webdriver=8910

I use Java binding/Eclipse. And I use this maven with PhantomJS 2.1.1. Please tell me if this is correct as I did not run the above commands.
<dependency>
  <groupId>com.codeborne</groupId>
  <artifactId>phantomjsdriver</artifactId>
  <version>1.3.0</version>
</dependency>

With 1.2, there is starting error in log. And with 1.3, I got this and it looks good.

[INFO  - 2016-12-02T19:54:21.954Z] GhostDriver - Main - running on port 45562
[INFO  - 2016-12-02T19:54:22.019Z] Session [1e723fc0-b8c9-11e6-b28f-fb7357210485] - page.settings - {"XSSAuditingEnabled":false,"javascriptCanCloseWindows":true,"javascriptCanOpenWindows":true,"javascriptEnabled":true,"loadImages":true,"localToRemoteUrlAccessEnabled":false,"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1","webSecurityEnabled":true}
[INFO  - 2016-12-02T19:54:22.019Z] Session [1e723fc0-b8c9-11e6-b28f-fb7357210485] - page.customHeaders:  - {}
[INFO  - 2016-12-02T19:54:22.019Z] Session [1e723fc0-b8c9-11e6-b28f-fb7357210485] - Session.negotiatedCapabilities - {"browserName":"phantomjs","version":"2.1.1","driverName":"ghostdriver","driverVersion":"1.2.0","platform":"mac-10.11 (El Capitan)-64bit","javascriptEnabled":true,"takesScreenshot":true,"handlesAlerts":false,"databaseEnabled":false,"locationContextEnabled":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"cssSelectorsEnabled":true,"webStorageEnabled":false,"rotatable":false,"acceptSslCerts":false,"nativeEvents":true,"proxy":{"proxyType":"direct"}}
[INFO  - 2016-12-02T19:54:22.019Z] SessionManagerReqHand - _postNewSessionCommand - New Session Created: 1e723fc0-b8c9-11e6-b28f-fb7357210485

Basic operations like getting page, getting title, getting elements by ID/xpath all work.
And clicking and getingt text of element work well too.
But PhantonJS 2.1.1 has a problem (Not GhoshDriver) which does not existed in 1.9.8. It is when click a button, after JavaScript is executed.  A tag of class="u_cbox_btn_recomm" will be changed to  class="u_cbox_btn_recomm u_cbox_btn_recomm_on". Only FireFoxDriver, HtmlUnit and PhantomJS 1.9.8 will show the updated class name. Selemium HtmlUnitDriver and PhantomJS still show the non-updated class name of class="u_cbox_btn_recomm".
And another problem for PhantomJS again. Its element finding methods are much slower than any Webdriver and HtmlUnit. A lot of elements in a page takes ~10 seconds to locate. But PhantomJS takes 27 seconds. I do not know if it is my set up problem.
Do you have others tests for me to test?

I did not what I did before, or I changed my codes. Today I found the sendKeys never works.
[INFO  - 2016-12-03T23:05:30.490Z] GhostDriver - Main - running on port 20770
[INFO  - 2016-12-03T23:05:30.862Z] Session [fcd2b680-b9ac-11e6-a7de-c57543fe30a0] - page.settings - {"XSSAuditingEnabled":false,"javascriptCanCloseWindows":true,"javascriptCanOpenWindows":true,"javascriptEnabled":true,"loadImages":false,"localToRemoteUrlAccessEnabled":false,"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1","webSecurityEnabled":true}
[INFO  - 2016-12-03T23:05:30.862Z] Session [fcd2b680-b9ac-11e6-a7de-c57543fe30a0] - page.customHeaders:  - {}
[INFO  - 2016-12-03T23:05:30.863Z] Session [fcd2b680-b9ac-11e6-a7de-c57543fe30a0] - Session.negotiatedCapabilities - {"browserName":"phantomjs","version":"2.1.1","driverName":"ghostdriver","driverVersion":"1.2.0","platform":"mac-10.11 (El Capitan)-64bit","javascriptEnabled":true,"takesScreenshot":true,"handlesAlerts":false,"databaseEnabled":false,"locationContextEnabled":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"cssSelectorsEnabled":true,"webStorageEnabled":false,"rotatable":false,"acceptSslCerts":false,"nativeEvents":true,"proxy":{"proxyType":"direct"}}
[INFO  - 2016-12-03T23:05:30.863Z] SessionManagerReqHand - _postNewSessionCommand - New Session Created: fcd2b680-b9ac-11e6-a7de-c57543fe30a0
[ERROR - 2016-12-03T23:05:32.289Z] RouterReqHand - _handle.error - {"line":264,"sourceURL":"phantomjs://code/webelement_request_handler.js","stack":"_postValueCommand@phantomjs://code/webelement_request_handler.js:264:52\n_handle@phantomjs://code/webelement_request_handler.js:72:30\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/session_request_handler.js:120:42\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/router_request_handler.js:78:46"}

  phantomjs://platform/console++.js:263 in error
org.openqa.selenium.UnsupportedCommandException: TypeError - undefined is not a constructor (evaluating '_getTagName(currWindow).toLowerCase()')
Command duration or timeout: 13 milliseconds
Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
System info: host: 'MacPro', ip: '<IP_ADDRESS>', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.7.0_80'
Session ID: fcd2b680-b9ac-11e6-a7de-c57543fe30a0
Driver info: org.openqa.selenium.phantomjs.PhantomJSDriver
Capabilities [{platform=OS X 10.11, acceptSslCerts=false, javascriptEnabled=true, browserName=phantomjs, rotatable=false, driverVersion=1.2.0, locationContextEnabled=false, version=2.1.1, cssSelectorsEnabled=true, databaseEnabled=false, handlesAlerts=false, browserConnectionEnabled=false, proxy={proxyType=direct}, nativeEvents=true, webStorageEnabled=false, driverName=ghostdriver, applicationCacheEnabled=false, takesScreenshot=true}]
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:327)
	at org.openqa.selenium.remote.RemoteWebElement.sendKeys(RemoteWebElement.java:122)
	at Web.loadPage(Web.java:168)
	at TiamoGD.main(TiamoGD.java:199)

Line at Web.loadPage(Web.java:168) is pointed to sendKeys method.
I am still using
<dependency>
  <groupId>com.codeborne</groupId>
  <artifactId>phantomjsdriver</artifactId>
  <version>1.3.0</version>
</dependency>

This is the code I start the driver
Logger.getLogger(PhantomJSDriverService.class.getName()).setLevel(Level.OFF);
DesiredCapabilities caps = new DesiredCapabilities();
String[] phantomArgs = new  String[] {
		"--load-images=false",
	};
caps.setCapability(PhantomJSDriverService.PHANTOMJS_CLI_ARGS, phantomArgs);
caps.setCapability(PhantomJSDriverService.PHANTOMJS_EXECUTABLE_PATH_PROPERTY, "phantomjs-2.1.1");
driver = new PhantomJSDriver(caps);
driver.manage().timeouts().implicitlyWait(10, TimeUnit.MILLISECONDS);
driver.manage().timeouts().pageLoadTimeout(5000, TimeUnit.MILLISECONDS);

@eos1d3 your running version 1.3.0 of the java client to ghostdriver.  that does not package changes to ghostdriver.  you need to clone my repository and set phantomjs.ghostdriver.path to src/main.js in my repository.
caps.setCapability(PhantomJSDriverService.PHANTOMJS_GHOSTDRIVER_PATH_PROPERTY, <absolute path to src/main.js>);

i would not set --load-images=false.

Cloned your repository. Added the following to start the webdriver:
DesiredCapabilities caps = new DesiredCapabilities();
String[] phantomArgs = new  String[] {
			};
caps.setCapability(PhantomJSDriverService.PHANTOMJS_CLI_ARGS, phantomArgs);
caps.setCapability(PhantomJSDriverService.PHANTOMJS_GHOSTDRIVER_PATH_PROPERTY, "/Volumes/Macintosh Data/Users/myname/Desktop/ghostdriver/src/main.js" );
driver = new PhantomJSDriver(caps);
driver.manage().timeouts().implicitlyWait(10, TimeUnit.MILLISECONDS);
driver.manage().timeouts().pageLoadTimeout(5000, TimeUnit.MILLISECONDS);

Using
<dependency>
  <groupId>com.codeborne</groupId>
  <artifactId>phantomjsdriver</artifactId>
  <version>1.3.0</version>
</dependency>

But still getting the exception as sendKeys. The log file is:
[INFO  - 2016-12-06T01:19:41.394Z] GhostDriver - Main - running on port <IP_ADDRESS>:44020
[INFO  - 2016-12-06T01:19:41.705Z] Session [10533620-bb52-11e6-8512-b776173c8a7e] - page.settings - {"XSSAuditingEnabled":false,"javascriptCanCloseWindows":true,"javascriptCanOpenWindows":true,"javascriptEnabled":true,"loadImages":true,"localToRemoteUrlAccessEnabled":false,"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1","webSecurityEnabled":true}
[INFO  - 2016-12-06T01:19:41.705Z] Session [10533620-bb52-11e6-8512-b776173c8a7e] - page.customHeaders:  - {}
[INFO  - 2016-12-06T01:19:41.705Z] Session [10533620-bb52-11e6-8512-b776173c8a7e] - page.zoomFactor:  - 1
[INFO  - 2016-12-06T01:19:41.705Z] Session [10533620-bb52-11e6-8512-b776173c8a7e] - Session.negotiatedCapabilities - {"browserName":"phantomjs","version":"2.1.1","driverName":"ghostdriver","driverVersion":"1.3.0-dev","platform":"mac-10.11 (El Capitan)-64bit","javascriptEnabled":true,"takesScreenshot":true,"handlesAlerts":false,"databaseEnabled":false,"locationContextEnabled":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"cssSelectorsEnabled":true,"webStorageEnabled":false,"rotatable":false,"acceptSslCerts":false,"nativeEvents":true,"proxy":{"proxyType":"direct"},"webSecurityEnabled":true}
[INFO  - 2016-12-06T01:19:41.705Z] SessionManagerReqHand - _postNewSessionCommand - New Session Created: 10533620-bb52-11e6-8512-b776173c8a7e
[ERROR - 2016-12-06T01:19:43.216Z] RouterReqHand - _handle.error - {"line":266,"sourceURL":"phantomjs://code/webelement_request_handler.js","stack":"_postValueCommand@phantomjs://code/webelement_request_handler.js:266:52\n_handle@phantomjs://code/webelement_request_handler.js:72:30\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/session_request_handler.js:121:42\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/router_request_handler.js:78:46"}
[ERROR - 2016-12-06T01:19:45.382Z] RouterReqHand - _handle.error - {"line":266,"sourceURL":"phantomjs://code/webelement_request_handler.js","stack":"_postValueCommand@phantomjs://code/webelement_request_handler.js:266:52\n_handle@phantomjs://code/webelement_request_handler.js:72:30\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/session_request_handler.js:121:42\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/router_request_handler.js:78:46"}
[ERROR - 2016-12-06T01:19:47.543Z] RouterReqHand - _handle.error - {"line":266,"sourceURL":"phantomjs://code/webelement_request_handler.js","stack":"_postValueCommand@phantomjs://code/webelement_request_handler.js:266:52\n_handle@phantomjs://code/webelement_request_handler.js:72:30\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/session_request_handler.js:121:42\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/router_request_handler.js:78:46"}
[ERROR - 2016-12-06T01:19:53.909Z] RouterReqHand - _handle.error - {"name":"Variable Resource Not Found","message":"{\"headers\":{\"Accept-Encoding\":\"gzip,deflate\",\"Connection\":\"Keep-Alive\",\"Content-Length\":\"89\",\"Content-Type\":\"application/json; charset=utf-8\",\"Host\":\"localhost:44020\",\"User-Agent\":\"Apache-HttpClient/4.5.1 (Java/1.8.0_77)\"},\"httpVersion\":\"1.1\",\"method\":\"POST\",\"post\":\"{\\\"id\\\":\\\":wdc:1480987191599\\\",\\\"using\\\":\\\"xpath\\\",\\\"value\\\":\\\".//em[@class='u_cbox_cnt_unrecomm']\\\"}\",\"url\":\"/session/10533620-bb52-11e6-8512-b776173c8a7e/element/:wdc:1480987191599/elements\",\"urlParsed\":{\"anchor\":\"\",\"query\":\"\",\"file\":\"elements\",\"directory\":\"/session/10533620-bb52-11e6-8512-b776173c8a7e/element/:wdc:1480987191599/\",\"path\":\"/session/10533620-bb52-11e6-8512-b776173c8a7e/element/:wdc:1480987191599/elements\",\"relative\":\"/session/10533620-bb52-11e6-8512-b776173c8a7e/element/:wdc:1480987191599/elements\",\"port\":\"\",\"host\":\"\",\"password\":\"\",\"user\":\"\",\"userInfo\":\"\",\"authority\":\"\",\"protocol\":\"\",\"source\":\"/session/10533620-bb52-11e6-8512-b776173c8a7e/element/:wdc:1480987191599/elements\",\"queryKey\":{},\"chunks\":[\"session\",\"10533620-bb52-11e6-8512-b776173c8a7e\",\"element\",\":wdc:1480987191599\",\"elements\"]}}","line":80,"sourceURL":"phantomjs://code/router_request_handler.js","stack":"_handle@phantomjs://code/router_request_handler.js:80:82"}
[INFO  - 2016-12-06T01:19:53.922Z] ShutdownReqHand - _handle - About to shutdown

The error messages from console are list below, while  Web.loadPage(Web.java:165) is pointed to sendKeys method call.
[ERROR - 2016-12-06T01:19:43.216Z] RouterReqHand - _handle.error - {"line":266,"sourceURL":"phantomjs://code/webelement_request_handler.js","stack":"_postValueCommand@phantomjs://code/webelement_request_handler.js:266:52\n_handle@phantomjs://code/webelement_request_handler.js:72:30\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/session_request_handler.js:121:42\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/router_request_handler.js:78:46"}

 phantomjs://platform/console++.js:263 in error
org.openqa.selenium.UnsupportedCommandException: TypeError - undefined is not a constructor (evaluating '_getTagName(currWindow).toLowerCase()')
Command duration or timeout: 18 milliseconds
Build info: version: '2.53.0', revision: '35ae25b1534ae328c771e0856c93e187490ca824', time: '2016-03-15 10:43:46'
System info: host: 'MacPro', ip: '<IP_ADDRESS>', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_77'
Driver info: org.openqa.selenium.phantomjs.PhantomJSDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, handlesAlerts=false, databaseEnabled=false, version=2.1.1, platform=OS X 10.11, browserConnectionEnabled=false, proxy={proxyType=direct}, nativeEvents=true, acceptSslCerts=false, driverVersion=1.3.0-dev, webSecurityEnabled=true, locationContextEnabled=false, webStorageEnabled=false, browserName=phantomjs, takesScreenshot=true, driverName=ghostdriver, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: 10533620-bb52-11e6-8512-b776173c8a7e
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
   at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
   at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:206)
   at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:158)
   at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:678)
   at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:327)
   at org.openqa.selenium.remote.RemoteWebElement.sendKeys(RemoteWebElement.java:122)
   at Web.loadPage(Web.java:165)

@eos1d3 here is my wild guess at what is going on

in this case .//div[@class="third"] does not match the element.  it should be .//div[contains(@class, "third")].  or you can use a css selector div.third.
i would expect an error to be thrown in your client code when ghostdriver fails to find the element.  i might be missing something.  do you have an example i can use to reproduce this error?

@jesg I believe you are talking the problem of class="u_cbox_btn_recomm" and its change to class="u_cbox_btn_recomm u_cbox_btn_recomm_on" after clicking a button and  Javascript is executed.
I understand your point. But it is not the case. Selenium HtmlUnitDriver just do not update the class.
Before clicking the button, the element has be located and save in a variable. After clicking the button, I use getAttribute("class") to get the class and it is not updated. But with the same code, FireFoxDriver and HtmlUnit can return class attribute of u_cbox_btn_recomm u_cbox_btn_recomm_on.
I still need to re-confirm if PhantomJS 2.1.1 has this problem. But before this, I need the sendKeys to work first. My sendKeys problem is similar to this:  https://github.com/ariya/phantomjs/issues/10993

@eos1d3 can you provide some html/javascript that triggers this issue?

@jesg Please try this. It can test both the old version and new version. https://github.com/eos1d3/GhostDriverTest

@eos1d3 the following error is thrown in _getTagName.   looks like twitter disables javascript eval.  setting --web-security=false did not fix the problem for me.
{"status":13,"value":{"message":"Refused to evaluate a string     as JavaScript because 'unsafe-eval' is not an allowed source of script in the following Content Security Policy directive: \"script-src https://abs.twimg.com https://abs-0.twimg.com https://twitter.com https://mobile.twitter.com\".\n"    }}

Hi @jesg ,
There are two tests in main. test198 is for PhantomJS 1.9.8. it runs without any error.
This is its console output:
Dec 07, 2016 9:35:03 PM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: executable: /Volumes/Macintosh Data/Users/andy/Documents/workspace/GhostDriverTest/phantomjs-1.9.8
Dec 07, 2016 9:35:03 PM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: port: 28805
Dec 07, 2016 9:35:03 PM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: arguments: [--load-images=false, --webdriver=28805, --webdriver-logfile=/Volumes/Macintosh Data/Users/andy/Documents/workspace/GhostDriverTest/phantomjsdriver.log]
Dec 07, 2016 9:35:03 PM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: environment: {}
PhantomJS is launching GhostDriver...
[INFO  - 2016-12-07T13:35:04.861Z] GhostDriver - Main - running on port 28805
[INFO  - 2016-12-07T13:35:05.117Z] Session [f657c890-bc81-11e6-ba6d-9911fc05b235] - page.settings - {"XSSAuditingEnabled":false,"javascriptCanCloseWindows":true,"javascriptCanOpenWindows":true,"javascriptEnabled":true,"loadImages":false,"localToRemoteUrlAccessEnabled":false,"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/534.34 (KHTML, like Gecko) PhantomJS/1.9.8 Safari/534.34","webSecurityEnabled":true}
[INFO  - 2016-12-07T13:35:05.118Z] Session [f657c890-bc81-11e6-ba6d-9911fc05b235] - page.customHeaders:  - {}
[INFO  - 2016-12-07T13:35:05.118Z] Session [f657c890-bc81-11e6-ba6d-9911fc05b235] - Session.negotiatedCapabilities - {"browserName":"phantomjs","version":"1.9.8","driverName":"ghostdriver","driverVersion":"1.1.0","platform":"mac-unknown-32bit","javascriptEnabled":true,"takesScreenshot":true,"handlesAlerts":false,"databaseEnabled":false,"locationContextEnabled":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"cssSelectorsEnabled":true,"webStorageEnabled":false,"rotatable":false,"acceptSslCerts":false,"nativeEvents":true,"proxy":{"proxyType":"direct"}}
[INFO  - 2016-12-07T13:35:05.118Z] SessionManagerReqHand - _postNewSessionCommand - New Session Created: f657c890-bc81-11e6-ba6d-9911fc05b235
Login
Name:
Password
Click
Cookies: npic,LnTI0BIdslNF7NrZCvF     ..... vmLfFiG/dwCA==
URL: http://entertain.naver.com/read?oid=213&aid=0000929636
Done

And test211 is for PhantomJS test. It has exception at sendKeys (at WebDriverTest.test211(WebDriverTest.java:34))
The console output is:
Dec 07, 2016 9:40:44 PM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: executable: /Volumes/Macintosh Data/Users/andy/Documents/workspace/GhostDriverTest/phantomjs
Dec 07, 2016 9:40:44 PM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: port: 39525
Dec 07, 2016 9:40:44 PM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: arguments: [--load-images=false, /Volumes/Macintosh Data/Users/andy/Desktop/ghostdriver-master/src/main.js, --port=39525, --logFile=/Volumes/Macintosh Data/Users/andy/Documents/workspace/GhostDriverTest/phantomjsdriver.log]
Dec 07, 2016 9:40:44 PM org.openqa.selenium.phantomjs.PhantomJSDriverService <init>
INFO: environment: {}
[INFO  - 2016-12-07T13:40:45.462Z] GhostDriver - Main - running on port <IP_ADDRESS>:39525
[INFO  - 2016-12-07T13:40:45.817Z] Session [c16a0520-bc82-11e6-8ff6-4bb424004f93] - page.settings - {"XSSAuditingEnabled":false,"javascriptCanCloseWindows":true,"javascriptCanOpenWindows":true,"javascriptEnabled":true,"loadImages":false,"localToRemoteUrlAccessEnabled":false,"userAgent":"Mozilla/5.0 (Macintosh; Intel Mac OS X) AppleWebKit/538.1 (KHTML, like Gecko) PhantomJS/2.1.1 Safari/538.1","webSecurityEnabled":true}
[INFO  - 2016-12-07T13:40:45.817Z] Session [c16a0520-bc82-11e6-8ff6-4bb424004f93] - page.customHeaders:  - {}
[INFO  - 2016-12-07T13:40:45.817Z] Session [c16a0520-bc82-11e6-8ff6-4bb424004f93] - page.zoomFactor:  - 1
[INFO  - 2016-12-07T13:40:45.817Z] Session [c16a0520-bc82-11e6-8ff6-4bb424004f93] - Session.negotiatedCapabilities - {"browserName":"phantomjs","version":"2.1.1","driverName":"ghostdriver","driverVersion":"1.3.0-dev","platform":"mac-10.11 (El Capitan)-64bit","javascriptEnabled":true,"takesScreenshot":true,"handlesAlerts":false,"databaseEnabled":false,"locationContextEnabled":false,"applicationCacheEnabled":false,"browserConnectionEnabled":false,"cssSelectorsEnabled":true,"webStorageEnabled":false,"rotatable":false,"acceptSslCerts":false,"nativeEvents":true,"proxy":{"proxyType":"direct"},"webSecurityEnabled":true}
[INFO  - 2016-12-07T13:40:45.817Z] SessionManagerReqHand - _postNewSessionCommand - New Session Created: c16a0520-bc82-11e6-8ff6-4bb424004f93
Login
Name:
[ERROR - 2016-12-07T13:40:47.229Z] RouterReqHand - _handle.error - {"line":266,"sourceURL":"phantomjs://code/webelement_request_handler.js","stack":"_postValueCommand@phantomjs://code/webelement_request_handler.js:266:52\n_handle@phantomjs://code/webelement_request_handler.js:72:30\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/session_request_handler.js:121:42\n_reroute@phantomjs://code/request_handler.js:61:20\n_handle@phantomjs://code/router_request_handler.js:78:46"}

  phantomjs://platform/console++.js:263 in error
org.openqa.selenium.UnsupportedCommandException: TypeError - undefined is not a constructor (evaluating '_getTagName(currWindow).toLowerCase()')
Command duration or timeout: 12 milliseconds
Build info: version: '2.41.0', revision: '3192d8a6c4449dc285928ba024779344f5423c58', time: '2014-03-27 11:29:39'
System info: host: 'MacPro', ip: '<IP_ADDRESS>', os.name: 'Mac OS X', os.arch: 'x86_64', os.version: '10.11.6', java.version: '1.8.0_77'
Driver info: org.openqa.selenium.phantomjs.PhantomJSDriver
Capabilities [{applicationCacheEnabled=false, rotatable=false, handlesAlerts=false, databaseEnabled=false, version=2.1.1, platform=MAC, browserConnectionEnabled=false, proxy={proxyType=direct}, nativeEvents=true, acceptSslCerts=false, driverVersion=1.3.0-dev, webSecurityEnabled=true, locationContextEnabled=false, webStorageEnabled=false, browserName=phantomjs, takesScreenshot=true, driverName=ghostdriver, javascriptEnabled=true, cssSelectorsEnabled=true}]
Session ID: c16a0520-bc82-11e6-8ff6-4bb424004f93
	at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
	at org.openqa.selenium.remote.ErrorHandler.createThrowable(ErrorHandler.java:193)
	at org.openqa.selenium.remote.ErrorHandler.throwIfResponseFailed(ErrorHandler.java:145)
	at org.openqa.selenium.remote.RemoteWebDriver.execute(RemoteWebDriver.java:595)
	at org.openqa.selenium.remote.RemoteWebElement.execute(RemoteWebElement.java:268)
	at org.openqa.selenium.remote.RemoteWebElement.sendKeys(RemoteWebElement.java:89)
	at WebDriverTest.test211(WebDriverTest.java:34)
	at WebDriverTest.main(WebDriverTest.java:94)
Done

You better to define your own twitterName and twitterPassword. But it is not important as the test is to show sendKeys functionality.

@eos1d3 the root cause is not being able to evaluate javascript on line 522.  i think we may be able to work around this by creating custom atoms for ghostdriver.

the initial (unofficial) npm package is complete https://www.npmjs.com/package/ghostdriver.
run the following to install with the phantomjs-prebuilt package.
npm install --global ghostdriver

run the following to install without the phantomjs-prebuilt package.
npm install --global --no-optional ghostdriver

the java build is janky so i created #504.  the current build has a cyclic dependency which is annoying for end users.

@eos1d3 the issue you where having with pages that have a content security policy should now be fixed on my master branch.  in other words you should be able to send keys and click on elements that are on the twitter login page.

Will try again later next week. Thanks!
On Jan 31, 2017 9:08 PM, "jesg"<EMAIL_ADDRESS>wrote:

@eos1d3 https://github.com/eos1d3 the issue you where having with pages
that have a content security policy should now be fixed on my master
branch. in other words you should be able to send keys and click on
elements that are on the twitter login page.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/detro/ghostdriver/issues/486#issuecomment-276358482,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APlCi9o3RBb3VuaFeGG_lVq4xT5dDyReks5rXzJYgaJpZM4KFMPX
.

Hi, is there any binary or maven to test the new version?
On Thu, Feb 2, 2017 at 7:27 PM, eos1d3<EMAIL_ADDRESS>wrote:

Will try again later next week. Thanks!
On Jan 31, 2017 9:08 PM, "jesg"<EMAIL_ADDRESS>wrote:

@eos1d3 https://github.com/eos1d3 the issue you where having with
pages that have a content security policy should now be fixed on my master
branch. in other words you should be able to send keys and click on
elements that are on the twitter login page.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/detro/ghostdriver/issues/486#issuecomment-276358482,
or mute the thread
https://github.com/notifications/unsubscribe-auth/APlCi9o3RBb3VuaFeGG_lVq4xT5dDyReks5rXzJYgaJpZM4KFMPX
.

Hi, is there any binary or maven to test the new version?

ghostdriver has not been included in the phantomjs binary release yet.  you can use the npm package.  i've not included my fix for page loading yet so you will run into a lot of problems when running it on phantomjs 2.5.0-beta.
you can use the following to get the java client.
<dependency>
    <groupId>com.codeborne</groupId>
    <artifactId>phantomjsdriver</artifactId>
    <version>1.4.0</version>
</dependency>

or
<dependency>
    <groupId>com.github.jesg</groupId>
    <artifactId>phantomjsdriver</artifactId>
    <version>3.0.0-beta1</version>
</dependency>

the version i built does not have a cyclic dependency on org.seleniumhq.selenium:selenium-java.

Just wanted to leave a note here too: @jesg submitted an amazing PR that I have just finished reviewing and I'm confident we are now really close to a new substantial release.
Also, @jesg will be soon added to the list of the official maintainers.

This will be great.
And is there a chance to have GhostDriver included in latest PhantomJS?

And is there a chance to have GhostDriver included in latest PhantomJS?

that is the plan.  see ariya/phantomjs#14553


UnicodeEncodeError: 'charmap' codec can't encode character '\xd7' in position 1775: character maps to

What do I need to fix in my exported collection? I don't have any special characters. Thank you.
full text:
Traceback (most recent call last):
File "postman_doc_gen.py", line 29, in
File "document_generator.py", line 80, in generate_doc
File "c:\users\karth\documents\code\python\postman-doc\venv\lib\encodings\cp1251.py", line 19, in encode
UnicodeEncodeError: 'charmap' codec can't encode character '\xd7' in position 1775: character maps to
[10844] Failed to execute script postman_doc_gen

This problem can be solved by PR #26
Or you can just setup Python UTF-8 Mode


feat: support dynamic reset max cycles

Why need this?
In the scenario where the program is executed step by step, after the VM executes to the initialization max, jump out of execution to check whether the snapshot operation needs to be executed, if not, continue execution with the current VM state.
At this time, set_max_cycles is required because the remaining executable cycles may not be equal to the initialized one
The code currently available for reference

I could understand the rationale, but can we remove set_max_cycles from SupportMachine trait? Syscalls at least should not touch them. The outsider code in the reference has direct reference to the full VM instance, adding a method in the top VM instance level should work

can we remove set_max_cycles from SupportMachine trait?

The latest commit puts the method on DefaultCoreMachine, AsmMachine can actually access the internal Box<AsmCoreMachine>, no need to add methods, but I still added it, so now there is such a method at the top level


Fix homepage layout

This PR:

Ensures the "Hi, {user}!" text is consistently placed at the top of the screen
Brings the Share CTA closer to the middle of the screen horizontally
Spaces out the list of organizations and projects to match mocks

Contributes to #2109.

A couple of design things I noticed that we may want to revisit later

The columns collapse into rows around ~1350px, which does not seem very narrow
pretty thin margin between two columns when the project title is long

Good calls. I increased the margin now. I'll leave the breakpoint to be revisited later.


Adding Example for Kubernetes KIND

[ ] Chart version not bumped (the versions are all bumped and released at the same time)
[x ] README.md updated with any new values or changes
[ ] Updated template tests in ${CHART}/tests/*.py
[ ] Updated integration tests in ${CHART}/examples/*/test/goss.yaml

This PR adds support for running elastic for development purposes on Kubernetes KIND (https://github.com/kubernetes-sigs/kind) which for some reason require the directory to be created before using it for elasticsearch data. Hence the use of an initContainer.

Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually?

jenkins test this please


Support for QT?

Is this possible?

It is possible to use gtk2 style with qt apps.
https://www.linuxuprising.com/2018/05/get-qt5-apps-to-use-native-gtk-style-in.html

Very Nice tip @reorr, Thanxs a lot.


test: test fix for split expense - Part 1

Description
copilot:summary
copilot:poem
Walkthrough
copilot:walkthrough
Clickup
app.clickup.com
Code Coverage
Please add code coverage here
UI Preview
Please add screenshots for UI changes

I am writing and fixing tests in incremental PRs


Tests for general fermionic H

We have not previously had a test for a very general type of fermionic Hamiltonian. This PR adds tests of a rather general H (actually not even assuming it is Hermitian) for both the usual OpSum system and with the auto fermion system enabled.

@emstoudenmire this seems like an unfortunate duplication of code, and also introduces code that involves MPS/MPO into test/base instead of test/ITensorLegacyMPS/base.
Can we combine into one testset in test/ITensorLegacyMPS/base? As we discussed, I think it is an "anti-pattern" to rely on MPS/MPO tests to test core functionality like auto fermions. If we detect an auto fermion failure through an MPS/MPO test, that reflects a failure of not having enough basic unit tests that work with core NDTensor or ITensor objects like Tensor, ITensor, etc. Also as discussed this will help with plans for moving the MPS/MPO code to a separate package once ITensorNetworks.jl is more developed.

Relatedly, it would be nice to move the other fermion tests that make use of MPS/MPO functionality to test/ITensorLegacyMPS/base.

Makes sense. I moved all of the MPS, MPO, and OpSum related tests from base/test_fermions.jl into either ITensorLegacyMPS/base/test_autompo.jl or a new file ITensorLegacyMPS/base/test_fermions.jl . It might be better to even move the tests in that new test_fermions.jl file into other existing files, but keeping them all together does help with things like not having to call ITensors.enable_auto_fermions() in multiple places.
I definitely agree overall with the point about not testing AutoFermion too much through higher-level things like MPS algorithms. So probably some of those tests should be deleted eventually. But for now there is a kind of situation where certain issues, like the MPS(sites,state) product MPS constructor not putting in links with arrows in a very certain way worked for every other case and only failed for fermions. However, it wasn't exactly a failure of the AutoFermion system per se, it's more that it was always the mathematically correct thing to do (e.g. SU(2) might need it also), it's just that you can get away with it in every other situation we have right now (e.g. Abelian symmetries or complex tensors).

Codecov Report
Patch coverage has no change and project coverage change: -30.97% :warning:

Comparison is base (f6c575b) 85.41% compared to head (e928999) 54.44%.
Report is 5 commits behind head on main.

:exclamation: Current head e928999 differs from pull request most recent head 9da26e3. Consider uploading reports for the commit 9da26e3 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #1200       +/-   ##
===========================================
- Coverage   85.41%   54.44%   -30.97%
===========================================
  Files          88       87        -1
  Lines        8426     8373       -53
===========================================
- Hits         7197     4559     -2638
- Misses       1229     3814     +2585

see 41 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

Thanks!


asyncio errors when running beacon node

On the interop branch Trinity emits an error about once per slot:
   ERROR  09-10 11:36:13               asyncio  Task was destroyed but it is pending!
task: <Task pending coro=<Event.wait() running at /home/brian/.pyenv/versions/3.7.4/lib/python3.7/asyncio/locks.py:293> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7fd461747050>()]>>
   ERROR  09-10 11:36:13               asyncio  Task was destroyed but it is pending!
task: <Task pending coro=<Event.wait() running at /home/brian/.pyenv/versions/3.7.4/lib/python3.7/asyncio/locks.py:293> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7fd461747b10>()]>>

Here's the log output when it's run with PYTHONASYNCIODEBUG:
task: <Task pending coro=<Event.wait() running at /home/brian/.pyenv/versions/3.7.4/lib/python3.7/asyncio/locks.py:293> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f1bf8540b10>()] created at /home/brian/.pyenv/versions/3.7.4/lib/python3.7/asyncio/locks.py:290> created at /home/brian/.pyenv/versions/3.7.4/lib/python3.7/asyncio/tasks.py:387>
   ERROR  2019-09-10 14:07:01,004               asyncio  Task was destroyed but it is pending!
source_traceback: Object created at (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/brian/.pyenv/versions/3.7.4/lib/python3.7/multiprocessing/spawn.py", line 105, in spawn_main
    exitcode = _main(fd)
  File "/home/brian/.pyenv/versions/3.7.4/lib/python3.7/multiprocessing/spawn.py", line 118, in _main
    return self._bootstrap()
  File "/home/brian/.pyenv/versions/3.7.4/lib/python3.7/multiprocessing/process.py", line 297, in _bootstrap
    self.run()
  File "/home/brian/.pyenv/versions/3.7.4/lib/python3.7/multiprocessing/process.py", line 99, in run
    self._target(*self._args, **self._kwargs)
  File "/home/brian/ef/trinity/trinity/extensibility/plugin.py", line 228, in _prepare_spawn
    self._spawn_start()
  File "/home/brian/ef/trinity/trinity/extensibility/asyncio.py", line 26, in _spawn_start
    self._loop.run_forever()
  File "/home/brian/ef/py-libp2p/libp2p/network/stream/net_stream.py", line 38, in read
    return await self.muxed_stream.read(n)
  File "/home/brian/ef/py-libp2p/libp2p/stream_muxer/mplex/mplex_stream.py", line 108, in read
    await self._wait_for_data()
  File "/home/brian/ef/py-libp2p/libp2p/stream_muxer/mplex/mplex_stream.py", line 69, in _wait_for_data
    return_when=asyncio.FIRST_COMPLETED,
  File "/home/brian/.pyenv/versions/3.7.4/lib/python3.7/asyncio/tasks.py", line 387, in wait
    fs = {ensure_future(f, loop=loop) for f in set(fs)}
  File "/home/brian/.pyenv/versions/3.7.4/lib/python3.7/asyncio/tasks.py", line 387, in <setcomp>
    fs = {ensure_future(f, loop=loop) for f in set(fs)}
task: <Task pending coro=<Event.wait() running at /home/brian/.pyenv/versions/3.7.4/lib/python3.7/asyncio/locks.py:293> wait_for=<Future pending cb=[<TaskWakeupMethWrapper object at 0x7f1bf85402d0>()] created at /home/brian/.pyenv/versions/3.7.4/lib/python3.7/asyncio/locks.py:290> created at /home/brian/.pyenv/versions/3.7.4/lib/python3.7/asyncio/tasks.py:387>

cc @mhchia
re, this issue: i believe the relevant code to chew on is here: https://github.com/libp2p/py-libp2p/blob/master/libp2p/stream_muxer/mplex/mplex_stream.py#L57-L97


Failing to publish Android Build to Firebase App Distribute via CircleCI & FastLane

🚫 fastlane environment 🚫
Stack

Key
Value

OS
11.5.2

Ruby
3.0.3

Bundler?
true

Git
git version 2.24.3 (Apple Git-128)

Installation Source
~/Documents/ThriveGlobal/thrive-android/vendor/bundle/ruby/3.0.0/bin/fastlane

Host
macOS 11.5.2 (20G95)

Ruby Lib Dir
/usr/local/Cellar/ruby/3.0.3/lib

OpenSSL Version
OpenSSL 1.1.1l  24 Aug 2021

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Library/Developer/CommandLineTools/

Xcode Version

Swift Version
5.2.4

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
`./fastlane/Appfile`
json_key_file("") # Path to the json secret file - Follow https://docs.fastlane.tools/actions/supply/#setup to get one
package_name("y") # e.g. com.krausefx.app

fastlane gems

Gem
Version
Update-Status

fastlane
2.199.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-firebase_app_distribution
0.3.1
🚫 Update available

Loaded gems

Gem
Version

did_you_mean
1.5.0

bundler
2.2.32

pathname
0.1.0

rake
13.0.6

rexml
3.2.5

CFPropertyList
3.0.5

public_suffix
4.0.6

addressable
2.8.0

artifactory
3.0.15

atomos
0.1.3

aws-eventstream
1.2.0

aws-partitions
1.541.0

aws-sigv4
1.4.0

jmespath
1.4.0

aws-sdk-core
3.124.0

aws-sdk-kms
1.52.0

aws-sdk-s3
1.109.0

babosa
1.0.4

claide
1.0.3

colored
1.2

colored2
3.1.2

highline
2.0.3

commander
4.6.0

declarative
0.0.20

digest-crc
0.6.4

unf_ext
0.0.8

unf
0.1.4

domain_name
0.5.20190701

dotenv
2.7.6

emoji_regex
3.2.3

excon
0.89.0

faraday-em_http
1.0.0

faraday-em_synchrony
1.0.0

faraday-excon
1.1.0

faraday-httpclient
1.0.1

faraday-net_http
1.0.1

faraday-net_http_persistent
1.2.0

faraday-patron
1.0.0

faraday-rack
1.0.0

multipart-post
2.0.0

ruby2_keywords
0.0.5

faraday
1.8.0

http-cookie
1.0.4

faraday-cookie_jar
0.0.7

faraday_middleware
1.2.0

fastimage
2.2.5

gh_inspector
1.1.3

jwt
2.3.0

memoist
0.16.2

multi_json
1.15.0

os
1.1.4

signet
0.16.0

googleauth
1.1.0

httpclient
2.8.3

mini_mime
1.1.2

trailblazer-option
0.1.2

uber
0.1.0

representable
3.1.1

retriable
3.1.2

webrick
1.7.0

google-apis-core
0.4.1

google-apis-androidpublisher_v3
0.14.0

google-apis-playcustomapp_v1
0.6.0

google-apis-iamcredentials_v1
0.9.0

google-apis-storage_v1
0.10.0

google-cloud-env
1.5.0

google-cloud-errors
1.2.0

google-cloud-core
1.6.0

google-cloud-storage
1.35.0

json
2.6.1

mini_magick
4.11.0

naturally
2.2.1

optparse
0.1.1

plist
3.6.0

rubyzip
2.3.2

security
0.1.3

simctl
1.6.8

terminal-notifier
2.0.0

unicode-display_width
1.8.0

terminal-table
1.8.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

nanaimo
0.3.0

xcodeproj
1.21.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.1

fastlane-plugin-firebase_app_distribution
0.3.1

generated on: 2021-12-16

This Fastlane issue has me stumped because the Fastlane directory exists in the root directory of the project with the configuration keys encrypted yet it gives this error:
Could not find fastlane in current directory. Make sure to have your fastlane configuration files inside a folder called "fastlane". Would you like to set fastlane up?
As a sidenote, Fastlane has worked in the past but as of this week it completely blew up and not too sure what's been the cause behind it.
Any guidance would be greatly appreciated!


Text logger not working

In [1]: import mxboard

In [2]: sw = mxboard.SummaryWriter('/tmp/log')

In [3]: sw.add_text('test','test', 0)

In [4]: sw.add_text('test','test', 1)

In [5]: sw.close()

In [6]: sw.flush()

creates the following event file

        7q9     c,A-<A  |F,A*"
 :tesBtestJ

textЪ%6 A*
:tesBtesty:=%

But tensorboard doesn't show any output

should flush happen first?

@szha is right. You need to flush() before close(). In fact, you don't need to flush explicitly as close() would call flush() first before actually closing the file handle. The following code works for me.
from mxboard import SummaryWriter

sw = SummaryWriter('./logs')
sw.add_text('test', 'test', 0)
sw.add_text('test', 'test', 1)
sw.close()

Should sw give a warning about flushing to a closed writer?

The flush in the above code shouldn't have any effect. There is no real reason for it being included above, sorry for the noise.
I still don't get any output in tensorboard, but then it may be related to my version of tensorboard given that it works for you. @reminisce could you upload the event file that you get when running the code?

Also getting the same issue here @reminisce with the following pip installed packages:
Name: mxnet
Version: 1.2.0

Name: mxboard
Version: 0.1.0

Name: tensorflow
Version: 1.8.0

Name: tensorboard
Version: 1.9.0

Seems to be an issue with TensorBoard/Tensorflow v1.7 onwards. I don't have an issue with text rendering for TB/TF v1.6.

i meet the same problem, which version of tensorflow and tensorboard can work

pip install tensorflow==1.6.0 solves it.

it seems that this issue did not fixed yet.
add_text and add_pr_curve in my project did not work correctly.


Documentation: Indice formulas

Description
We need to be writing the formulas for indices into the docstrings. This is simply a matter of formatting the formulas using LaTeX-like syntax under the Notes for each indicator. Priorities going forward are the following:

[x] Tx_max
[x] Tx_mean
[x] Tx_min
[x] Tn_max
[x] Tn_mean
[x] Tn_min
[x] Tg_mean
[x] Tx_days_above
[x] Tn_days_below
[ ] Heat_wave_frequency
[ ] Heat_wave_max_length
[x] max_1day_precipitation_amount
[x] Growing_season_length
[x] ice_days
[x] frost_days
[x] growing_degree_days
[x] heating_degree_days
[x] cooling_degree_days
[x] daily_pr_intensity

@huard the list here is almost complete and I'm tempted to close this issue. Can you verify that the heat wave docstrings are what we want? Do all indices require LaTeX formulas?


Service instance permissions

A short explanation of the proposed change:

Adds a /v3/service_instance/:guid/permissions endpoint that enables service_instance dashboard functionality with the V3 API

An explanation of the use cases your change solves

As a service developer there is a functionality called service dashboards (https://docs.cloudfoundry.org/services/dashboard-sso.html#checking-user-permissions). Users can manage their service instances via these dashboards, which call the CF API to check if a user is allowed to alter or read a given service instance. This can currently only be done via /v2/service_instance/:guid/permissions.
A corresponding V3 endpoint does not exist, which means this functionality won't work when V2 is disabled.
This PR adds an equivalent endpoint to V3.
See also:
https://cloudfoundry.slack.com/archives/C07C04W4Q/p1657878898740599
https://github.com/cloudfoundry/cf-acceptance-tests/issues/565

Links to any other associated PRs

cloudfoundry/cf-acceptance-tests#593

[x] I have reviewed the contributing guide

[x] I have viewed, signed, and submitted the Contributor License Agreement

[x] I have made this pull request to the main branch

[x] I have run all the unit tests using bundle exec rake

[x] I have run CF Acceptance Tests

LGTM, maybe squash it.  I guess doc changes are part of another PR then :)

Nope, just meant to do it and forgot! Thanks for the reminder. I'll make a separate PR to tweak the docs on docs.cloudfoundry.org to replace (some of the) references to the v2 endpoint.


chore: Bump wallet-selector to 8.7.0

This PR introduces a new version of wallet-selector with outgoing wallets

@charleslavon wallet-selector version 8.7.0 has fix for signMessage using my-near-wallet or near-wallet


IO.MousePosition goes negative when leaving window bounds

Small thing with the sample window.
https://github.com/mellinoe/ImGui.NET/blob/6b2c655922cee66dbb3938a1cd94b0f169d7966d/src/ImGui.NET.SampleProgram/SampleWindow.cs#L322
Should read as
if (_nativeWindow.Focused)

I know that file probably hasn't been touched in quite some time, but for myself and probably others, the code in that file is what we use to quickly get ImGui initialized without having to write a bunch of translated code. Figured I'd help fix that small annoyance.
For those wondering, this is what makes the values on a DragFloat or similar widget go negative when leaving the window. In all the imgui c++ examples, you are supposed to check to see if the window is focused, so I did the same here instead of seeing if the mouse is contained in the current context.

Ah, that is probably a good change. I'm actually on vacation right now away from my main computer, so I probably won't fix the example code for a little while. Feel free to submit a fix if you'd like!
Cheers

Looks like this is fixed now.


Update de-DE.coffee

Hello,
more grammar corrections

Coverage increased (+35.1%) to 55.671% when pulling 7201d88fbed6856778f3e944a20ff12fe2d9a322 on hikla:patch-2 into 30457e1d3d4ca6bb5ef1d97a3ef2dad170a56f1d on codecombat:master.

Will reopen if CLA is signed.


[draft] Dont load checkpoints on non-master VM. Use pl_load

What does this PR do?
Working toward a working version of TPU Pods on PyTorch Lightning.
See also: #3058
Before submitting

[x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review
Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Hello @zcain117! Thanks for opening this PR.

In the file pytorch_lightning/accelerators/tpu_accelerator.py:

Line 77:9: E265 block comment should start with '# '

Do see the Hitchhiker's guide to code style


error while loading shared libraries: libgrpc++.so.1

$ ./route_guide_server
./route_guide_server: error while loading shared libraries: libgrpc++.so.1: cannot open shared object file: No such file or directory
$ ./route_guide_server
./route_guide_server: error while loading shared libraries: libgrpc++_reflection.so.1: cannot open shared object file: No such file or directory

ln -sf libgrpc++.so.1.6.6 libgrpc++.so.1
ln -sf libgrpc++_reflection.so.1.6.6 libgrpc++_reflection.so.1

@lucifercr07 As you see in my first post, I just make a symbol link to work around it...

was this fixed by https://github.com/grpc/grpc/pull/16832?

Sorry, but the environment has been lost. And I cannot even build grpc from source. No time to test or verify it.

Perhaps you can try:
sudo cp YOUR_GRPC_DIRECTORY/libs/opt/libgrpc++.so.1 /usr/local/lib/
export LD_LIBRARY_PATH=/usr/local/lib

Then open the directory to route_guide_server and ./route_guide_server.
It works for me.


Unable to use @import after latest update

Hi Darren,
I've been having problems compiling SASS with an import after the latest update (it was working fine before). If I drop the contents of the imported file in my file instead of the import line, everything works fine, so it seems to be related to the import specifically.
This is in  Visual Studio Premium 2013.
Here's what I get for an error:
===============================================
02:35:31.281 PM: Failed to compile css.
[SassCompileException]Unknown error occurred
at LibSassNet.SassCompiler.CompileFile(String inputPath, OutputStyle outputStyle, String sourceMapPath, Boolean includeSourceComments, Int32 precision, IEnumerable`1 additionalIncludePaths)
at SassyStudio.Integration.LibSass.LibSassNetDocumentCompiler.Compile(FileInfo source, FileInfo output)
at SassyStudio.Integration.LibSass.LibSassNetDocumentCompiler.<>c__DisplayClass3.b__2()
at System.Threading.Tasks.Task.InnerInvoke()
at System.Threading.Tasks.Task.Execute()
--- 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 SassyStudio.Editor.GenerateCssOnSave.d__14.MoveNext()
02:35:31.281 PM: Compile complete.
===============================================
Thanks!
Jeff

I've just installed this for the first time and have the same issue, non-import processing is fine, but anything that attempts an import is failing with the above message.

Odd, I'm not having that issue on VS2013.

I'd say for the interim until i investigate, just install the previous version. https://github.com/darrenkopp/SassyStudio/releases/tag/<IP_ADDRESS>

link for vs2013: https://github.com/darrenkopp/SassyStudio2013/releases/tag/<IP_ADDRESS>

Thanks Darren, I installed the <IP_ADDRESS> version and that seems to have resolved the problem. Thanks for the quick response.

Thanks a lot Darren! The 2013 <IP_ADDRESS> release works well. Much appreciated.

I also just installed the 2013 v<IP_ADDRESS> and can confirm this works OK too.  Thanks very much.

Was a strange issue but stepping back to <IP_ADDRESS> helped me, I'm on VS 2012 11.0610


9 allow extraction of any list of statments

TODOS:

[x] Kick out trailing holes
[x] Change function call with trailing holes
[x] Modify liveness to include trailing hole statements. Accordingly change return statements
[ ] do not take params variables which aren't live into the extracted block.
[x] Map params to different target variables

Bugs still exists, will fix as separate issues


Re-enable adding all camera roll to local wallet

[x] Ongoing UI work for testing https://github.com/textileio/textile-mobile/pull/479
[ ] Add UI to Release build

This is represented by an epic and other issues at this point. Closing.


Check if model has more than one section

Check sections on the model and its ancestors.

Updated.


Host JS snippet at the ASPNET CDN

Hi guys,
we are using of AI for clients side telemetry and the domain which hosts the JS snippet looks a little suspicious ("https://az416426.vo.msecnd.net/scripts/a/ai.0.js"). Every time when I configure our security header I'm worry that the script can be removed to some other place, because this one doesn't look to be very solid.
Can you please put it for ASPNET CDN (for example):

it will makes things much easier when we configure security headers (ASPNET CDN is allowed in the most case);
also there can be bonus in performance on loading (not sure that it is very important since in most case it will be cached on client side);

I'm aware that this URL may not look like it's the official one, but it is 😃.  And since it's referenced in the snippet and most of our customers are using it, it's hard to change it and we have to support it.
Regarding *2 - the URL is pointing to Azure CDN which helps to distribute the script fast. So the performance gain from using the ASPNET CDN will be minimal. Most probably you can save one DNS call if you're loading other scripts from ASPNET CDN.
We will consider uploading the ai.0.js file to ASPNET CDN and changing the snippet code. But even after that, we will have to support both locations because we cannot guarantee that all users will update to the latest snippet.

CDN Deployment rolled back due to #1452

CDN Deployment rolled back due to #1452

Re-closing now that 2.5.11 is fully released

Re-closing now that 2.5.11 is fully released


HV-1680 Avoid reflection by using instrumentation - build the enhancer

https://hibernate.atlassian.net/browse/HV-1680

First commit just adds the interface and uses that interface when possible to get the values from the beans.
Second one adds a test with byte-buddy instrumentation. There are two cases one when the beans super class is object and the other one when it's a sublass of an enhanced bean. The difference is should we throw an exception when we reached the end of a method or call super method.
I'm also thinking that it might be a good idea to add another pair of methods to the interface which would give the list of "supported" properties (fields/getters). Having them in place would help us decide if we can use the enhanced bean interface or if we should fallback to regular reflection access for a particular property.
And a quick benchmark that I've put together :
Benchmark                                           Mode  Cnt    Score    Error   Units
NotSoSimpleValidation.testSimpleBeanValidationBar  thrpt   20  325.398 ±  4.597  ops/ms
NotSoSimpleValidation.testSimpleBeanValidationFoo  thrpt   20  357.233 ± 79.813  ops/ms

Bar is regular bean, Foo is enhanced one.

@marko-bekhta sorry it took so long but I will experiment to get this in Quarkus.

I made some adjustments (rebasing, fixing a few typos, added a @since and made ByteBuddy a test dependency).
I will now try to port the BB code to Gizmo and integrate everything in Quarkus.

@marko-bekhta could you have a look at the additional commits? They should be simple enough but better have another pair of eyes.

@gsmet sure :smiley:
looks good. I thought about adding another test to make sure that constants match the methods, but BB test should fail if they don't. So should be good to go.
How is the integration with quarkus going ?

Well, it was going well but in the end it didn't improve the situation I wanted to improve so I didn't include it yet.
The heavy lifting is done but I would also like to generate only the needed fields and methods instead of all of them. And this, I still have to do.
Will take another look as soon as this part released.

Merged, thanks!


Speed up tests

Describe the bug
The test suites are running slowly.
The tests need to work faster in local and pipeline environments.

Might need to upgrade jest. It will definitely break how the tests run


Update link to Level Zero driver

Previous link was broken. This link shows instructions to install the driver with apt and link to the GitHub compute runtime.
Fixes https://github.com/codeplaysoftware/portFFT/issues/154
Checklist
Tick if relevant:

[N/A] New files have a copyright
[N/A] New headers have an include guards
[N/A] API is documented with Doxygen
[N/A] New functionalities are tested
[N/A] Tests pass locally
[N/A] Files are clang-formatted

@t4c1 do you mind taking a quick look at this change? I think this is the best link for users to understand and install the Level Zero drivers.


Failed to Upload a FIle to One Drive

I am trying to upload a file to One Drive and I keep on getting this error. The Folder is being created but the file was not uploaded.
I/flutter (13726): # Body: {"error":{"code":"unauthenticated","message":"Unauthenticated"}}

Here's the function:
Future<void> _uploadCsvToOneDrive(
    OneDrive onedrive, BuildContext context) async {

  const str = "Hello, World!";
  var data = Uint8List.fromList(utf8.encode(str));
  try {
    print('Attempting to upload CSV file to OneDrive...');
    final success = await onedrive.push(data, "/Folder/data.txt");

    if (!success) {
      if (context.mounted) {
        informationSnackBar(
            context, Icons.warning, "Failed to upload CSV file to OneDrive.");
      }
    } else {
      if (context.mounted) {
        informationSnackBar(
            context, Icons.warning, "CSV file uploaded successfully.");
      }
    }
  } catch (e, stackTrace) {
    print('Error during upload: $e');
    print('Stack trace: $stackTrace');
  }
}

Any solution will be appreciated. Thank.

I never tried to upload file to onedrive root, try upload to a sub directory.

This is fixed.


[Frontend] Cart view not summing cents

Bug Report
Which version of the demo you are using?
v1.0.0
Symptom
When navigating to the cart view, the total is not taking into account the cents part of the value.
What is the expected behavior?
I expected to see the total value.
Reproduce
Start the sample following the docker approach, add a product to the cart, navigate to the cart view.

@xoscar would you be able to take a look at this?

Shipping costs are also not being updated whenever a new product is added to the cart, it is required to refresh the page manually to get the shipping costs recalculated.

Addressed in https://github.com/open-telemetry/opentelemetry-demo/pull/633


Add realtime metrics support to Thanos deployments

Type of PR

[x] Documentation changes
[x] Code changes
[ ] Test changes
[ ] CI-CD changes
[ ] GitHub Template changes

PR Checklist

[x] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] My code follows the code style of this project.
[ ] I ran lint checks locally prior to submission.
[x] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Purpose of PR

Add Thanos to preprod including real-time metrics
Update the existing dev deployment to include real-time metrics
Move Thanos sidecar configuration from environment specific configs to base config
Increased pod memory limit on Azure policy to allow for more memory on some of the Thanos components

TODO: New task to investigate resource usage and recommendations for Thanos

Added instructions for creating private DNS records for Thanos components to communicate cross-cluster

This allows the Thanos Observer cluster to fetch real-time metrics from the Observee clusters

Does this introduce a breaking change

[ ] YES
[x] NO

Validation

[ ] Unit tests updated and ran successfully
[x] Update documentation or issue referenced above

Issues Closed or Referenced

Closes https://github.com/retaildevcrews/wcnp/issues/488

Since we did the bug bash and came to a consensus about the mem limit, I prefer to add Thanos specific exception (if that is possible).
It's my preference, but it might be a good idea to discuss it with the team.

I can add this to the issue currently in triage https://github.com/retaildevcrews/wcnp/issues/1045.


clarifying tutorial

Referencing the previous section of the tutorial rather than the code block above it.

Thanks!


Mariner's docker image has no default shell

A common convention of Linux docker images is to have a default shell - bash:
> docker run -it --rm ubuntu:jammy

# ps -p $$
  PID TTY          TIME CMD
    1 pts/0    00:00:00 bash

However, Mariner's image doesn't have a default shell:
> docker run -it --rm cblmariner2preview.azurecr.io/base/core:2.0
docker: Error response from daemon: No command specified.
See 'docker run --help'.

> docker run -it --rm cblmariner2preview.azurecr.io/base/core:2.0 bash
root [ / ]#

This may not be very user-friendly.
See

https://www.cyberciti.biz/tips/how-do-i-find-out-what-shell-im-using.html
https://docs.docker.com/engine/reference/builder/#cmd

CMD is not mandatory. Having the user specify an ENTRYPOINT is okay.

Thanks for the suggestion! This fix has been implemented for our 2.0 images going forward.

Hi @elsaco,
We are facing an issue when building a custom image based on Mariner distroless image: We simply need to execute a bash script as entrypoint.
Would you please kindly provide instructions to install shell? I searched for hours without a clue.
Thanks

@oliviacrain @elsaco I am still seeing this issue in 2.0, should this have been fixed? If I try to run the container, I just get this error:
PS C:\Users\weshi1> docker run -it --network host mcr.microsoft.com/cbl-mariner/distroless/base:2.0.20240609
docker: Error response from daemon: no command specified.
See 'docker run --help'.

I expected same behavior as a Linux distro like Ubuntu where it enters into the container in the bash shell.


Move "All Extensions are up to date" popup to toast system

Currently when you check for extension updates, a popup appears if none could be found, when updates are found, it uses the toast notification system to tell them about it.

I would suggest moving the "No updates available" popup to the toast system as well, for consistency and also to not steal focus.

it uses the toast notification system to tell them about it.

Can you please show a screenshot of what you mean by this?

Sure, this one

Adding verified since this behaves as the user suggested.
However I think this is not aligned with how the Check for Updates in VS Code behaves. That we use a modal dialog to notify the user there are no updates.
So in this particular case I think a modal dialog is a better approach.
Though will not reopen, just sharing my thoughts.

Yeah this was discussed and went with simple toast as user suggested as the other extensions related notifications are using prompts.
Again no hard opinions here.


[Question] - General Questions

I am keen to try out your template. But, I have a few questions:

Looking at the api config, it seems one cannot specify multiple api configurations, example: in my use case I have a separate API for my data entities, and one specifically for auth. How would this work, using this template?
I have a JWT workflow for my auth, i.e. login will get an access and refresh tokens. WHen the token expires, I will call refresh to get a new token. Logout will delete from localstorage. How will I be able to implement this workflow, using your template? Or, I can use my own auth mechanism?
Are you planning to add any of the other vuetify components to Field Options? Example: Autocomplete, Slider, etc?
Can the table view include custom components in cells? Example: I have a UserCard component (which includes name, job title, avatar, etc) that I want to display in the table cell.
There are some sections missing in the documentation. When will these be added?

Unfortunately, there is no possibility to create custom authentication yet. I am planning to create a config/auth.js file support for this purpose.
In older versions, token refresh support was added, but I couldn't deal with situations when some requests (with old token attached) were sent between the sending of a new token request and saving it in Local Storage. Do you have an idea how to solve it? Maybe the old token should be valid for some time after creating a new one?
autocomplete is hidden under the name 'select'. What would be the function of the slider field? Support for multiple files/images? I plan to extend the "File" field type to support multiple files.
I can add slot support table cells. Another option is using custom buttons - you can add your own button in the actions column, which will redirect you to your component.
Unfortunately, the bigger the project, the more things I have to correct and I can't keep up with the fixes and improvements. I also have less and less time for this project. I will try to finish the documentation in May, but I'm not sure if I will succeed.

But if you want to contribute in the project and solve the problems you found, I would be very grateful.


[Feature Request]: Add custom headers to ServiceContext

Feature Description
Proposing to add the ability to specify custom headers - setting them either at global context, or making available to pass in on any LLM call.
Currently, you can pass in custom headers when executing a chat response:
messages = [
    ChatMessage(role="system", content="You are a pirate with colorful personality."),
    ChatMessage(role="user", content="Hello"),
]

headers = {"custom-headers": "my-headers"}
response = llm.chat(messages, extra_headers=headers)

But you'd have to provide this everywhere, and also, it doesn't work on tailored use cases (like VectorStoreIndex QueryEngine).

index = VectorStoreIndex.from_documents(documents)
query_engine = index.as_query_engine()
response = query_engine.query(
    "did the Eagles win last night?"
    extra_headers=headers,
)

### ^^ this fails

### Reason

LLM Observability tools allow you to use headers to track custom application parameters. For example, [my observability tool](https://github.com/aavetis/azure-openai-logger) allows you to pass in custom headers to track prompts, applications, versions, users, and anything else - kind of like usage analytics.

Examples below:

### Value of Feature

_No response_

Seems like this is related to this: https://github.com/run-llama/llama_index/issues/9082
I think both should be fixed just by modifying the LLM class and also setting a global service context.
Will make a fix in a sec


feat: Support Svelte 5

Description
Related to #741 and a follow up on #685
Additional context
Update svelte peer version range

What is the purpose of this pull request?

[ ] Bug fix
[x] New Feature
[ ] Documentation update
[ ] Other

Before submitting the PR, please make sure you do the following

[x] If it's a new feature, provide a convincing reason to add it. Ideally, you should open a suggestion issue first and have it approved before working on it.
[x] Read the Contributing Guidelines.
[x] Read the Pull Request Guidelines and follow the Commit Convention.
[x] Check that there isn't already a PR that solves the problem the same way to avoid creating a duplicate.
[x] Provide a description in this PR that addresses what the PR is solving, or reference the issue that it solves (e.g. fixes #123).
[-] Ideally, include relevant tests that fail without this PR but pass with it.

This likely isn't the only thing needed since Svelte has changed how components are rendered


Fix/linkta 321 remove firebase oauth flow from the related files

Description
Removed Oauth flow from firebase.ts and PrelaunchForm.tsx

Fixes # (issue)321
Type of change

[ ] 🐛 Bug fix (non-breaking change which fixes an issue)
[ ] ✨ New feature (non-breaking change which adds functionality)
[ ] 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] 📝 Documentation update
[x] Other 🗒 **__**

How Has This Been Tested?

Ran npm run dev to make sure everything else is working normally
Checklist:

[x] I have performed a self-review of my own code.
[ ] I have commented on my code, particularly in hard-to-understand areas.
[ ] I have made corresponding changes to the documentation.
[x] My changes generate no new warnings.
[ ] Any dependent changes have been merged and published in downstream modules.
[ ] I have reviewed the Security Best Practices Document.
[ ] I have followed the Naming Conventions Guide for my changes.
[x] I have ensured that my pull request title is descriptive.

Additional Information:

Have we tested that signing up via email still works after these changes are made?

Have we tested that signing up via email still works after these changes are made?

Yes I have tested. Due to the current firestore security rule is set for only allow authenticated user to read and write into DB, so technically signing up via email is not working yet.


Add support for Correlational ID

Hi @vladimir-yuldashev,
I'm trying to add to laravel a way to support "correlational id" (as you can see here https://github.com/Devitek/laravel-correlational-id) and I'd like to add this feature to message queue with your package. You can find an example of this here https://www.sitepoint.com/php-rabbitmq-advanced-examples/. Do you have an idea to implement this feature with your package ? I will try to find a good way on my side but if you're interested by that let me know :).

Why do we need that?

The concept of the correlational ID is a convenient way to trace messages or log across multiple applications, For example, if you work on a micro service architecture with multiple APIs or using a queue and if you're using an ELK stack maybe, you can easily follow your request accross your APIs or daemons to find what's going on.

Done thx to @dustindoiron.

Thx @dustindoiron @vladimir-yuldashev !!! Didn't have the time to look @ it,


put the neo4j/bin directory on the PATH

Fixes issue: https://github.com/neo4j/docker-neo4j/issues/105


[Question] how to install ssl.el under utils directory of wanderlust, :staright directive with use-package

I'm using use-package and straight.
(use-package wl
  :straight `(wanderlust)
  ;; ...
  )

This downloads wanderlust package in under ~/.emacs.d/straight/reeos/wanderlust directory.
And also utlis files in "utils" directory with keeping directory hierarchy.
I want to use ssl.el in utils directory of wanderlust.
But the above :straight directive in use-package doesn't put ssl.el and ssl.elc in ~/.emacs.d/straight/build/wanderlust.
Could you how to write :straight directive to put ssl.el and ssl.elc in ~/.emasc.d/straight/build/wanderlust.

The way the files are symlinked to the build directory is controlled by the :files recipe keyword.
Its behavior is documented in the following:
https://github.com/raxod502/straight.el#the-recipe-format
https://github.com/raxod502/straight.el/blob/1e27b0590df77a5d478970ca58fd6606971692f5/straight.el#L4679
I'm not all that familiar with the structure of Wanderlust, but straight-get-recipe returns this for me as a default recipe:
(wanderlust :type git :flavor melpa :files
            ("doc/wl.texi" "doc/wl-ja.texi" "elmo/*.el" "wl/*.el" "etc/icons"
             (:exclude "elmo/elmo-database.el" "elmo/utf7.el" "wl/wl-dnd.el" "wl/wl-mule.el" "wl/wl-xmas.el")
             "wanderlust-pkg.el")
            :host github :repo "wanderlust/wanderlust")

The ;files directive could be modified to include the utils directory like so:
(wanderlust :type git :flavor melpa :files
            ("utils/*" "doc/wl.texi" "doc/wl-ja.texi" "elmo/*.el" "wl/*.el" "etc/icons"
             (:exclude "elmo/elmo-database.el" "elmo/utf7.el" "wl/wl-dnd.el" "wl/wl-mule.el" "wl/wl-xmas.el")
             "wanderlust-pkg.el")
            :host github :repo "wanderlust/wanderlust")

Does that help?

Thank you for supporting, progfolio!
It works like a charm.
I'm new to straight, just started.
You supporting is very appreciated.


Hashsum issue with installing docker-engine during docker build of controller image

Ran into an error while rebuilding controller image using --no-cache. A quick search revealed this docker issue just out of the over https://github.com/docker/docker/issues/23203
Let's keep an eye on it.

This was fixed by Docker.


Incorrect unindentation in Ruby case statements

VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:18:03.540Z)
OS Version: Linux x64 4.8.0-58-generic
Extensions: disabled via code --disable-extensions

Steps to Reproduce:

In a Ruby file, type a when line and press Enter:

Expected Results:
The when line maintains the same level of indentation, as in The Ruby Style Guide:
def example(response)
  case response
  when Net::HTTPSuccess

Actual Results:
The when line is unindented:
def example(response)
  case response
when Net::HTTPSuccess

The behavior in 1.14.0-insider is similar, unindenting immediately after when is typed.

What is the state of this? It should be as simple as indenting the cursor 1 tab on the new line after case, since when and end unindent by 1 tab.

Fixed via https://github.com/Microsoft/vscode/pull/40049 by @TeeSeal .


MNIST Digit recognition using SVM

💥 Proposal
Dataset = Mnist dataset
Model = SVM
Description = Develop a model using Support Vector Machine which correctly classifies the handwritten digits from 0-9 based on the pixel values given as features. Thus, this is a 10-class classification problem.

I wish to work on this issue as a GSSoC contributor. Kindly assign it to me.

Hi, we have several issues on the similar lines. Hence, we cannot assign you this issue.


Update Edit Field dialog box Choices field selection

This is one of the updates needed for PR #141 in the RSVC repo to pass.
A.6.4.0400. - Draft Mode.feature is unable to find the Choices text field when editing a field in the online designer. Using the "element_enum" name for that field is successful and also cleaner.
As far as I can tell, this change is backwards compatible for v14.0 and v13.

@mmcev106 - My test run seems to confirm the 5 issues referenced above are fixed with rctf v1.0.102.

@aldefouw, wonderful!  I've updated our swim lanes accordingly.  This is much appreciated @schatto1!


Other issues types are missing

When creating a new issue, we don't see other issues types like in other repositories (e.g https://github.com/asyncapi/cli/issues/new/choose)

@KhudaDad414 you probably have an idea how to pull https://github.com/asyncapi/.github/tree/master/.github/ISSUE_TEMPLATE

It is because we are using a custom issue template here and the .github issue templates are being ignored. we have two options here.

copy them over.
setup a new action in .github repo to replicate them to the studio.

I would personally go with the 1st option since they don't receive updates anyway. 🤷


Fix slight Markdown mishap in chapter 7

This looked wrong so I fixed it, I hope:

-- http://bfnightly.bracketproductions.com/rustbook/chapter_7.html

This also looks good - thanks! I'll have it merged shortly.


Add runbook for ThanosReceiveTrafficBelowThreshold alert

Adds a runbook for ThanosReceiveTrafficBelowThreshold. After the runbook is merged, we can add ThanosReceiveTrafficBelowThreshold alert to RHOBS infrastructure via app interface (essentially reopen this MR to stage and to production afterwards)
Some formatting changes for better readability (they were done automatically by this markdown-lint extension I have integrated in my editor)

Signed-off-by: Jéssica Lins<EMAIL_ADDRESS>

@jessicalins there are lots of seemingly unrelated formatting changes - is that intentional? are we using a different version of a tool or something?

@jessicalins there are lots of seemingly unrelated formatting changes - is that intentional? are we using a different version of a tool or something?

yeah they were added by an extension I have in my editor (mardown-lint) - I think it improves readability, so I thought could be nice to add too. Can also add in another PR instead if we agree (together with fixing the namespaces)


libzmq question: ROUTER/DEALER mod restart DEALER only will cause Host unreachable Error

What pyzmq version?
22.3.0
What libzmq version?
4.3.4
Python version (and how it was installed)
Python 3.9.9 installed by pip
OS
Centos
What happened?
I hava a ROUTER sender use bind mod and one DEALER receiver use connect mod, once I restart DEALER only,msg send by ROUTER will raise zmq.error.ZMQError: Host unreachable.
How can I reconnect DEALER in ROUTER  while DEALER  is restarted only without restarting ROUTER and DEALER in the same time.
Code to reproduce bug
## some code can provide

ctx = zmq.Context()
send_sock = ctx.socket(zmq.ROUTER)
send_sock.bind(tcp_ip)
send_sock.setsockopt(zmq.ROUTER_MANDATORY, 1)

ctx = zmq.Context()
receive_socket = ctx.socket(zmq.DEALER)
receive_socket.connect(tcp_ip)

Traceback, if applicable
File "/data/lib64/python3.9/site-packages/zmq/sugar/socket.py", line 595, in send_multipart
    self.send(msg, SNDMORE | flags, copy=copy, track=track)
  File "/data/lib64/python3.9/site-packages/zmq/sugar/socket.py", line 547, in send
    return super(Socket, self).send(data, flags=flags, copy=copy, track=track)
  File "zmq/backend/cython/socket.pyx", line 718, in zmq.backend.cython.socket.Socket.send
  File "zmq/backend/cython/socket.pyx", line 765, in zmq.backend.cython.socket.Socket.send
  File "zmq/backend/cython/socket.pyx", line 247, in zmq.backend.cython.socket._send_copy
  File "zmq/backend/cython/socket.pyx", line 242, in zmq.backend.cython.socket._send_copy
  File "zmq/backend/cython/checkrc.pxd", line 28, in zmq.backend.cython.checkrc._check_rc
zmq.error.ZMQError: Host unreachable

More info
No response

setting ROUTER_MANDATORY is asking for messages sent to an IDENTITY not currently connected to raise this error. This occurs when DEALERs disconnect. If you want a DEALER to have a consistent address, so that the reconnected DEALER will get messages intended for the original, set the socket's IDENTITY before connecting:
receive_socket.identity = b'something-stable-but-unique'
receive_socket.connect(...)

I think you'll still see these errors while the restarted socket has not yet reconnected, so you'll probably want your own retry logic at the application level as well, to retry messages failing with EHOSTUNREACH up to some limit or timeout.

Yes, I forget to set zmq.IDENTITY in DEALER, but set it can't resolve Host unreachable error while restarting DEALER only, unless I catch Host unreachable error in ROUTER and rebind send_socket, is DEALER can't reconnect ROUTER itself after restart ?

I'm not sure I quite understand the question, but 'Host unreachable' will be raised if the ROUTER ever tries to send a message while the DEALER is not connected. This is a libzmq behavior question, so you're probably better off asking on libzmq instead of pyzmq, which is specifically about the Python bindings.
ROUTER_MANDATORY doesn't behave as I'd expect when an identity is re-used, and I don't know if that's a bug or not and can't really help further (I think there's a bug, but it's not in pyzmq).
I'd recommend avoiding identity re-use, and instead using a separate registration mechanism so your dealer registers itself with a request at the application-level and the router uses a {'name': b'identity'} map to route messages.

more detail,
A simple example， just restart recv.py after, then will not receive the msg send. But netstat -anp | grep 9002 will see tcp connect between them
# send.py
import zmq
import time

ctx = zmq.Context()
send_sock = ctx.socket(zmq.ROUTER)
send_sock.bind('tcp://<IP_ADDRESS>:9002')
# send_sock.setsockopt(zmq.ROUTER_MANDATORY, 1)  # if set, will raise "zmq.error.ZMQError: Host unreachable" immediately

while 1:
    send_sock.send_multipart([b'1', b'ok'], zmq.NOBLOCK)
    time.sleep(2)

# recv.py
import zmq

ctx = zmq.Context()
recv_sock = ctx.socket(zmq.DEALER)
recv_sock.setsockopt_string(zmq.IDENTITY, '1')
recv_sock.connect('tcp://<IP_ADDRESS>:9002')

while 1:
    print(recv_sock.recv_multipart()[0])

That sounds like a libzmq bug to me, feel free to open an issue there. There's nothing to do about it in the Python bindings.

@minrk Doesn't seem like a bug https://github.com/zeromq/libzmq/issues/4603#issuecomment-1793939782
Can you confirm?


Add support for on-demand AWS instance

I have a horrible hacky implementation on #23: https://github.com/znewman01/tsunami/commit/8c91e80513f6c587621d2ac30a88e8ed046e2430
Which I can clean up (at some point)

@znewman01 Heads up that I added this in https://github.com/jonhoo/tsunami/pull/45. A quick review would be helpful when you get a chance!

Awesome :)
Will take a look today-ish


exiting without message

my node doesnt work fine since https://github.com/qwertycoin-org/qwertycoin/commit/7a07076521b295ecf639a16e3f118f7fea54089b
it exits without a message, here the log
qwertycoind.log
Does someone figured out the same issue?

I had the same issue after https://github.com/qwertycoin-org/qwertycoin/pull/111
@speqtr did you found some possible errors within your PR?

Please see https://github.com/qwertycoin-org/qwertycoin/pull/118

Solved here https://github.com/qwertycoin-org/qwertycoin/pull/120