Multiple Platforms

Hello,
can anyone tell me how we can switch between platforms within an EA session? For example if I have a PC and PS4 Persona within in on Origin account.
Thanks in Advance!

I believe that that opportunity is not possible.
To change the platform you have to disconnect from the current platform and connect on the platform you want to access.

No, you can change your persona in the same session - Look into the code:
        private async Task<string> GetSessionIdAsync(UserAccounts userAccounts, Platform platform)
        {
            var persona = userAccounts
                .UserAccountInfo
                .Personas
                .LastOrDefault(p => p.UserClubList.Any(club => club.Platform == GetNucleusPersonaPlatform(platform)));
            if (persona == null)
            {
                throw new FutException("Couldn't find a persona matching the selected platform");
            }
            var authResponseMessage = await HttpClient.PostAsync(Resources.Auth, new StringContent(
               string.Format(@"{{ ""isReadOnly"": false, ""sku"": ""FUT16WEB"", ""clientVersion"": 1, ""nucleusPersonaId"": {0}, ""nucleusPersonaDisplayName"": ""{1}"", ""gameSku"": ""{2}"", ""nucleusPersonaPlatform"": ""{3}"", ""locale"": ""en-GB"", ""method"": ""authcode"", ""priorityLevel"":4, ""identification"": {{ ""authCode"": """" }} }}",
                    persona.PersonaId, persona.PersonaName, GetGameSku(platform), GetNucleusPersonaPlatform(platform))));
            authResponseMessage.EnsureSuccessStatusCode();
            var sessionId = Regex.Match(await authResponseMessage.Content.ReadAsStringAsync(), "\"sid\":\"\\S+\"")
                .Value
                .Split(new[] { ':' })[1]
                .Replace("\"", string.Empty);

            return sessionId;
        }

It's just not implemented AFAIK

No answer - Will close


Musical Instruments Image Classification

Approach I'd take :-    1. Utilizing 5 models such as DenseNet121 , Xception, VGG16, ResNet50, and InceptionV3 for image classification.
2. Applying data augmentation (rotation, zooming, flipping, shearing, brightness) to enhance dataset robustness.
3. Comparing model performance using accuracy scores, loss/accuracy graphs, and confusion matrices.
4. Conducting EDA for dataset insights, including image distribution, quality, class imbalances, and sample visualization.
5. Documening the process in a comprehensive README file.
Dataset I'll use :- https://www.kaggle.com/datasets/gpiosenka/musical-instruments-image-classification/data
@Niketkumardheeryan   @invigorzz313 kindly assign this issue to me.

This issue has been assigned.
Do follow the project guidelines for the PR.
Create a new branch for the PR and avoid committing directly from 'master'.


Sort by floats

The same as sort by integer, except for numbers which may contain a decimal point. Note that if implemented in such a way that decimal point is not required, this sort becomes a superset of integer sort.

Hello,
This feature is now available (The Decimal sort is now replacing the integer sort).
ST2 1.1.0
ST3+ 1.2.0
Thanks!


[SPARK-35197][Web UI]

What changes were proposed in this pull request?
The original Spark UI on SHS does not have a specific way to explore accumulators information, this data is scattered across stages which makes it difficult to access it.
The accumulators information is located on the Stage Page, but this column is hard to read since it groups all the accumulators names and values for a specific task. This is one of the reasons why understanding the changes of counters from a job can become a difficult task.
The proposed change creates an explore page for Accumulators on the SparkUI. The information will be located under a new tab that has an overview page with links to check for more details about the accumulators information by a particular name or stage.
Community discussion on accumulators page
Why are the changes needed?
A page that allows users to explore accumulators information is a helpful feature for users because currently the information is scattered across stages and the display on the Stages Page is difficult to read. This page offers easy access to accumulators information in detail which translates into a better user experience and an increased velocity to solve problems and track accumulator changes.
Does this PR introduce user-facing change?
Yes. A new tab will be added to the Spark UI and three new pages will dependent on it.

How was this patch tested?
This patch was tested manually by using real spark event logs from a Spark History Server on a production cluster. I also used unit testing to check for contents inside the new data structure used for the Accumulators Overview page.

Can one of the admins verify this patch?

@FridaPolished, can you edit the PR title to be complete to say what the PR proposes?


Quartile int

Adds interactive quartile method, similar to roulette.
Users pass values for the quartiles and the function will return the closet 1D distribution to that input. Users can select one or more distributions from a menu by clicking or passing a list of strings when calling the function. Optionally users can parameterize distributions, this is useful for example to set nu for StudentT or boundaries for distributions such as TruncatedNormal and BetaScaled.

Codecov Report

Merging #288 (c1f4941) into main (e4e0c17) will decrease coverage by 1.44%.
The diff coverage is 32.23%.

@@            Coverage Diff             @@
##             main     #288      +/-   ##
==========================================
- Coverage   82.91%   81.47%   -1.44%
==========================================
  Files          29       31       +2
  Lines        3787     3893     +106
==========================================
+ Hits         3140     3172      +32
- Misses        647      721      +74

Files
Coverage Δ

preliz/internal/distribution_helper.py
98.52% <100.00%> (+0.38%)
:arrow_up:

preliz/tests/test_distributions_helper.py
100.00% <100.00%> (ø)

preliz/unidimensional/__init__.py
100.00% <100.00%> (ø)

preliz/unidimensional/roulette.py
76.00% <100.00%> (+3.16%)
:arrow_up:

preliz/internal/plot_helper.py
71.16% <33.33%> (-1.45%)
:arrow_down:

preliz/internal/optimization.py
92.50% <6.25%> (-7.50%)
:arrow_down:

preliz/unidimensional/quartile_int.py
15.71% <15.71%> (ø)

... and 1 file with indirect coverage changes


reflect: raise TestSelect timeout

Looks like TestSelect occasionally fails with an error, saying the select was taking forever.
TestSelect:
select {
0: nil Chan recv
1: zero Chan recv
2: nil Chan send
3: blocking send canselect
} blocked indefinitely
panic: select stuck
goroutine 38 [running]:
reflect_test.selectWatcher()
/tmp/gobuilder/netbsd-386-minux-d11f41118116/go/src/reflect/all_test.go:1386 +0x19f
created by reflect_test.func·003
/tmp/gobuilder/netbsd-386-minux-d11f41118116/go/src/reflect/all_test.go:1112 +0x2a
goroutine 1 [chan receive]:
testing.RunTests(0x824ffa0, 0x82cb940, 0x63, 0x63, 0x1)
/usr/local/go/src/testing/testing.go:556 +0x8a0
testing.(*M).Run(0x18534330, 0x82c9ce0)
/usr/local/go/src/testing/testing.go:485 +0x58
main.main()
reflect/_test/_testmain.go:264 +0x171
goroutine 37 [runnable]:
reflect.rselect(0x18560d80, 0x4, 0x4, 0x1851a6b0, 0x58)
/usr/local/go/src/runtime/select.go:623 +0xcc
reflect.Select(0x185687e0, 0x4, 0x4, 0x4, 0x0, 0x0, 0x0, 0x638b5653)
/tmp/gobuilder/netbsd-386-minux-d11f41118116/go/src/reflect/value.go:1965 +0x1d1
reflect_test.runSelect(0x185687e0, 0x4, 0x4, 0x18542b40, 0x4, 0x4, 0x0, 0x0, 0x0, 0x0, ...)
/tmp/gobuilder/netbsd-386-minux-d11f41118116/go/src/reflect/all_test.go:1409 +0x16b
reflect_test.TestSelect(0x1854cba0)
/tmp/gobuilder/netbsd-386-minux-d11f41118116/go/src/reflect/all_test.go:1324 +0x2347
testing.tRunner(0x1854cba0, 0x82cbab4)
/usr/local/go/src/testing/testing.go:447 +0xb1
created by testing.RunTests
/usr/local/go/src/testing/testing.go:555 +0x866
FAIL	reflect	6.208s
Recent occurrence Dec 22, 2014: http://build.golang.org/log/6607c61f735563b9c4f2aac3e098e1261d9289a6
Older occurrence Oct 23, 2014: http://webcache.googleusercontent.com/search?q=cache:GssgZyg7DF8J:build.golang.org/log/b0722fe3828188c8708c717ff3d7c826042f29f5+&cd=2&hl=en&ct=clnk&gl=us
Could it be that the timeout needs to be raised?  It is currently set to 1 second.

1 second is not enough.
It should back off or something.

/cc @mdempsky who has been on test-fixing tear.


remote access using Java API broken in 2.2.2 in OSGi environment?

I'm running OrientDB 2.2.2 from the official docker image (with minor tweaks mainly preprocessing our environment etc.).
Running on Linux (Ubuntu 14.04) 64bit.
Accessing from Java API (Oracle JDK8, OSGi 4.3) using the client, core and graphdb JARs and the Blueprints 2.6.0 (wrapped as OSGi bundles using OPS4J Pax Tipi master POM).
The OSGi Java process is also running in a separate Docker container and accessing OrientDB over the network, using the URL remote:orientdb/t2database
Using 2.1.x, everything worked fine (but we faced some issues with concurrent access we need to track down, this is why we want to make sure to use the latest stable version to rule out OrientDB as a cause).
Now, after upgrading to 2.2.2, I always get this error (but can connect perfectly from the orientdb docker host using console):
the engine 'remote' was not found. URL was: remote:orientdb/t2database. Registered engines are: [memory, plocal]
    DB name="remote:orientdb/t2database"
    at com.orientechnologies.orient.core.Orient.loadStorage(Orient.java:476)
    at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.<init>(ODatabaseDocumentTx.java:167)

Seems like the server doesn't bring up the remote engine, but I see no reason why, and no error in the log, only this:
Error: com.orientechnologies.orient.core.exception.OStorageException: Cannot create the remote storage: t2database

and this (but seems to be #3073 which can supposedly be ignored):
INFO  [OVariableParser.resolveVariables] Error on resolving property: distributed [orientechnologies]

Any hints on what might be the cause?
There was #4883 but it's slightly different, since it never works for me from the Java client, and I have memory and plocal registered.
I am facing this issue since 2.2.0, before it worked.

The problem is in the usage of java.util.ServiceLoader to load OrientDB storage engines in OSGI environment. We will fix this in the next minor release.
As for now, the only workaround I can think of is manually calling Orient.instance().registerEngine(new OEngineRemote()) on startup. But since registerEngine is a protected method and Orient.instance() is a static shared instance you have to call it from the code under the com.orientechnologies.orient.core package:
package com.orientechnologies.orient.core;

import com.orientechnologies.orient.client.remote.OEngineRemote;

public class RemoteEngineFixer {
  public static void applyFix() {
    Orient.instance().registerEngine(new OEngineRemote());
  }
}

and call RemoteEngineFixer.applyFix() on initialisation of your application.

Sorry, RemoteEngineFixer probably will not work since RemoteEngineFixer and Orient will be loaded by different class loaders in OSGI, so package-private access style to the methods of Orient will be not allowed from RemoteEngineFixer. Updated version:
public class RemoteEngineFixer extends Orient {
  public static void applyFix() {
    new RemoteEngineFixer();
  }

  private RemoteEngineFixer() {
    registerEngine(new OEngineRemote());
  }
}

Hope it will work.

Sorry again, it will not wok since registerEngine is called on different instance than Orient.instance() :(

thank you @taburet for your thorough analysis and help, I was suspecting OSGi class loading again, as it works from the console.
So I can only hope for the next hotfix release...

@grexe on the other side, you may invoke registerEngine using Reflection API magic :)

hehe we already use enough magic in our project;) and I had enough fun with OSGi already... I can imagine reflection magic won't play nice with the almighty OSGi class loader...

sadly still happens with 2.2.4

Hi @grexe! Unfortunately, I was working hard on other sever issues during 2.2.4. Hope I will find a free time slot to fix this in the next minor versions.

I am using 2.2.6 and have this issue as well... when I checked the source code, I came to the same conclusions (about this being an issue with the ServiceLoader in an OSGi enviroment). If I can be of any assistance with this issue (testing, checking, coding, ...) please let me know.

Hi guys! I started to work on a standalone OrientDB OSGi bundle, so basically it will wrap all the OrientDB modules and it's dependencies in an all-in-one OSGi bundle.
The only problem is OrientDB Spatial module which cannot be distributed in that uber-bundle due to licensing restrictions. And it depends on Apache Lucene non-OSGi jars, the uber-bundle also depends on them. I'm going to export Lucene packages from the uber-bundle to fix this.
WDYT, is it ok or should I repack Lucene jars as a separate OSGi bundle?

With "export Lucene packages" you mean "exclude"? I'm fine with the uber-bundle without Lucene, happy to give it a try ;)

For what it's worth, I was able to resolve the issue I had with creating an uber-bundle consisting of
orientdb-client
orientdb-enterprise
orientdb-graphdb
orientdb-object
orientdb-server
orientdb-tools
orientdb-core
blueprints-core
blueprints-orient-graph
together with the META-INF/serivces files.
(I am using 2.1.3 though).
Actually, the uber-bundle approach feels more like a workaround than a proper solution... Are there any plans to divert from the ServiceLoader path maybe?

The initial plan was to repackage everything in the uber-bundle, but since we cannot repack everything because of spatial module (licensing problems), I abandoned that path. My current thoughts are (1) repackage everything except spatial and enterprise into a single bundle, (2) package spatial and enterprise into their own bundles, (3) package shared deps into a separate bundle(s) and (4) create OSGi service to share OrientDB class loaders between OrientDB bundles.
The main problem is still shared non-OSGi deps. I may create bundles for them, but it will be impossible to get into public repos (Eclipse Marketplace, for example) with this approach. On the other side, it will take ages to convince original authors to create and maintain OSGi distributions for their libraries.

Guys, I created the first version of OrientDB OSGi distribution. Could you please try it in your setups to verify it's working in the wild.

git checkout osgi-2.2.x from orientdb repository
mvn clean verify it

The resulting uber bundle jar will be at osgi/osgi-core-bundle/target. Please drop it into your OSGi containers.
If you use spatial module:

git checkout osgi-2.2.x from orientdb-spatial repository
mvn clean verify it, the bundle jar will be at osgi/osgi-spatial-bundle/target

Thanks for your efforts! I checked out osgi-2.2.x and cleaned / verified (but without the tests, there were failures). Now I need to migrate my code to 2.2 (is: 2.1.3) as I - expectedly - have some issues;  I'll let you know the outcome asap. (I have no use case for spatial though).

@evandor Could you please provide more details about test failures like logs/exceptions? Was it OSGi tests or regular ones?

I ran "mvn clean verify" and I got
2016-09-14 06:31:46:332 INFO  - shutdown storage: OSystem... [Orient]
2016-09-14 06:31:46:350 INFO  OrientDB Server is shutting down... [OServer]
2016-09-14 06:31:46:350 INFO  Shutting down listeners: [OServer]
2016-09-14 06:31:46:350 INFO  - ONetworkProtocolBinary /<IP_ADDRESS>:2425: [OServer]
2016-09-14 06:31:46:351 INFO  - ONetworkProtocolHttpDb /<IP_ADDRESS>:2481: [OServer]
2016-09-14 06:31:46:351 INFO  Shutting down protocols [OServer]
2016-09-14 06:31:46:351 INFO  Shutting down plugins: [OServerPluginManager]
2016-09-14 06:31:46:351 INFO  - studio [OServerPluginManager]
2016-09-14 06:31:46:351 INFO  - jmx [OServerPluginManager]
2016-09-14 06:31:46:352 INFO  - script-interpreter [OServerPluginManager]
2016-09-14 06:31:46:353 INFO  Shutting down databases: [OServer]
2016-09-14 06:31:46:353 INFO  Orient Engine is shutting down... [Orient]
2016-09-14 06:31:46:607 INFO  OrientDB Engine shutdown complete [Orient]
2016-09-14 06:31:46:608 INFO  OrientDB Server is shutting down... [OServer]
2016-09-14 06:31:46:609 INFO  OrientDB Server shutdown complete
[OServer]
2016-09-14 06:31:46:610 INFO  Shutting down listeners: [OServer]
Results :
Tests in error:
BinaryProtocolAnyResultTest.scriptReturnValueTest:39 » OStorage Cannot connect...
OLiveQueryShotdownTest.testShutDown:44->bootServer:32 » OStorage Cannot connec...
ORemoteImportTest.before:38 » OStorage Cannot connect to the remote server/dat...
RemoteIndexSupportTest.before:40 » OStorage Cannot connect to the remote serve...
TestNetworkSerializerIndipendency.createBinaryDatabaseConnectCsv:80->createDatabase:72 » OStorage
TestNetworkSerializerIndipendency.createCsvDatabaseConnectBinary:37->createDatabase:72 » OStorage
Tests run: 70, Failures: 0, Errors: 6, Skipped: 1
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OrientDB .......................................... SUCCESS [  1.934 s]
[INFO] OrientDB Test Commons ............................. SUCCESS [  3.110 s]
[INFO] OrientDB Core ..................................... SUCCESS [03:27 min]
[INFO] OrientDB Client ................................... SUCCESS [  5.181 s]
[INFO] OrientDB Object ................................... SUCCESS [ 14.827 s]
[INFO] OrientDB Tools .................................... SUCCESS [  6.028 s]
[INFO] OrientDB Server ................................... FAILURE [ 29.546 s]
[INFO] OrientDB GraphDB .................................. SKIPPED
[INFO] OrientDB Tests .................................... SKIPPED
So it is in Server, not in the OSGi module.

When I ran the command with skipped tests, I got a 34,7 MB file orientdb-osgi-core-bundle-2.2.10-SNAPSHOT, which first looked ok, but I am having issues with it: The embedded files are jars (not even bundles); when I wanted to import any class in my own bundle, e.g.
import com.orientechnologies.orient.core.metadata.schema.OType;
import com.orientechnologies.orient.core.record.impl.ODocument;
they cannot be resolved (compile time), as java does not support nested jars... Am I supposed to use the usual orientdb bundles for building and the uber jar for running the application? And where in the build I'd find the usual orientdb bundles? (the jars don't seem to be OSGi'ified).
Thanks ;)

Please provide details about your development/build/runtime environment. A striped down version of the project that won't compile would be great.
I basically was targeting following environments:

Full-fledged OSGi dev/build/runtime environment like Eclipse+Tycho, it supports embedded jars and obeys OSGi rules in general.

IDEA+Maven for dev/build time, regular non-OSGi deps are used since they should be transitively visible from orientdb-osgi-core-bundle. As for runtime, any OSGi-compatible runtime environment should support embedded jars and allow import resolution from them.

I am using
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 2014-02-14T18:37:52+01:00)
Maven home: /Users/carsten/install/apache-maven-3.2.1
Java version: 1.8.0_74, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.8.0_74.jdk/Contents/Home/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.11.6", arch: "x86_64", family: "mac"
For development, I use gradle with bndtools (Eclipse). The project which won't compile is on github (not stripped down yet): https://github.com/evandor/skysail/tree/master/skysail.server.db
I have orientdb imports, e.g. in https://github.com/evandor/skysail/blob/master/skysail.server.db/src/io/skysail/server/db/DbService.java which cannot be resolved as the osgi uber bundle relies on nested jars (which is not a standard java/jar setup afaik).
In case you're interested, here's my uber-version (ca 5MB): https://github.com/evandor/skysail-repository/blob/master/release/io.skysail.bundled.orientdb-uber.jar (which works for me, build time and runtime). Required dependencies have to be added to OSGi "by hand", which I think is absolutely ok.
This jar was created with bndtools with just the following instructions:
Bundle-Version: 2.1.3.${tstamp}
-classpath:
jar/orientdb-client-2.1.3.jar,
jar/orientdb-enterprise-2.1.3.jar,
jar/orientdb-graphdb-2.1.3.jar,
jar/orientdb-object-2.1.3.jar,
jar/orientdb-server-2.1.3.jar,
jar/orientdb-tools-2.1.3.jar,
jar/orientdb-core-2.1.3.jar,
jar/blueprints-core-2.6.0.jar,
jar/blueprints-orient-graph-2.4.0.jar
Export-Package:
com.orientechnologies.orient.,
com.orientechnologies.common.,
com.orientechnologies.nio.,
com.tinkerpop.blueprints.
Import-Package:
!com.carrotsearch.hppc.,
!com.tinkerpop.gremlin.,
!javax.mail.*,
*
Include-Resource: META-INF/services=services/orientdb
Bundle-Name: orientdb-uber.jar
Hope that helps, let me know if you need more information and thanks for your efforts!

Hi @evandor! Maybe I missed something, but I don't see any references to orientdb-osgi-core-bundle in Gradle dependencies of the project you provided.
Please try following:

mvn clean install the ODB from osgi-2.2.x branch into local Maven repo.

Add dependency to orientdb-osgi-core-bundle into Gradle file(s).

Remove all other ODB for OSGi "magic" from the project.

Build it with Gradle.

Hi @taburet,
this time the mvn clean install succeeded without any errors.
But could you please clarify/confirm the following:

the created jars (like orientdb/core/target/orientdb-core-2.2.10-SNAPSHOT.jar are not bundles any more
the osgi uber-jar contains nested jars

As I said, in that case I have a problem, as my build tool (bndtools) does not support nested jars. This is only relevant at build time, as I have a bundle that imports ODB classes, which cannot be resolved.
Btw, I got in contact with the bndtools guys in this thread: https://groups.google.com/forum/#!topic/bndtools-users/pDveE9vafBk (maybe it contains some useful information for you).
About the project I was referencing to: I did not use orientdb-osgi-core-bundle there, I created my own uber-bundle (io.skysail.bundled.orientdb-uber.jar, just 5MB, based on 2.1.3) which works for me (build and runtime). I think an uber-bundle like orientdb-osgi-core-bundle (containing all its dependencies) is quite against the "OSGi spirit"...
So, long story short, with the

provided orientdb uber bundle (2.2.10-SNAPSHOT)
and bndtools (as OSGi tool chain)

I cannot build any bundle which references any orientdb class (as the code resides in embedded, unexploded jars) (and I don't want to abandon bndtools)
I might be able to use the uber jar at runtime, but I cannot test this as my bundle does not even compile. I hope orientdb will not stop shipping its jars as proper OSGi bundles (as it is still done in the 2.2.10 release).
As long as orientdb ships with proper bundle-jars, I always can create my own uber jar and will be happy with it. But it would be even better, if the official uber-jar could be used by anyone, independent of their choice of tooling. Furthermore I think that the uber-jar does not need to contain all of its dependencies; OSGi developers should be able to provide them in their runtime (with the help of a little documentation of what is needed).
Thanks for reading all of this ;) - I hope things became a bit more clear.
If I can be of any assistance, please let me know!

@evandor Thank you for the feedback. I will think what we can do about the problems you faced.

checked out the osi branch today and got this error compiling with Oracle JDK 8 (Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode) on Linux x64 (Ubuntu 16.04, linux 4.8.0-040800rc8-generic)
Failed tests:
  HashSaltTest.testSalt:23 expected [true] but found [false]
  OSecurityManagerTest.shouldCheckPlainPasswordAgainstHashWithSalt:46 expected:<[tru]e> but was:<[fals]e>

Merged a fresh 2.2.x into osgi-2.2.x, maybe that will solve the problem with the test.

there seems to be a problem with the last merge: Maven tries to resolve the wrong POM because of osgi vs. non-osgi difference in artifact names, I guess:
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[FATAL] Non-resolvable parent POM for com.orientechnologies:orientdb-osgi:[unknown-version]: Could not find artifact com.orientechnologies:orientdb-parent:pom:2.2.10-SNAPSHOT in env-dev (http://repo1.maven.org/maven2) and 'parent.relativePath' points at wrong local POM @ line 27, column 13

Sorry, bumped the version. Pushed.

thanks @taburet for the super quick fix, that did it! Now testing...

now I get this error when running with tests, though, @taburet
2016-09-30 14:03:31:254 INFO  - shutdown storage: OSystem... [Orient]
2016-09-30 14:03:31:380 INFO  OrientDB Server is shutting down... [OServer]
2016-09-30 14:03:31:380 INFO  OrientDB Server is shutting down... [OServer]
2016-09-30 14:03:31:380 INFO  OrientDB Server is shutting down... [OServer]
2016-09-30 14:03:31:380 INFO  Shutting down listeners: [OServer]
2016-09-30 14:03:31:380 INFO  Shutting down listeners: [OServer]
2016-09-30 14:03:31:380 INFO  - ONetworkProtocolBinary /<IP_ADDRESS>:2426: [OServer]
2016-09-30 14:03:31:381 INFO  - ONetworkProtocolBinary /<IP_ADDRESS>:2425: [OServer]
2016-09-30 14:03:31:381 INFO  Shutting down listeners: [OServer]
2016-09-30 14:03:31:381 INFO  - ONetworkProtocolHttpDb /<IP_ADDRESS>:2482: [OServer]
2016-09-30 14:03:31:381 INFO  Shutting down protocols [OServer]
2016-09-30 14:03:31:381 INFO  - ONetworkProtocolHttpDb /<IP_ADDRESS>:2499: [OServer]
2016-09-30 14:03:31:381 INFO  - ONetworkProtocolHttpDb /<IP_ADDRESS>:2481: [OServer]
2016-09-30 14:03:31:381 INFO  Shutting down protocols [OServer]
2016-09-30 14:03:31:381 INFO  Shutting down plugins: [OServerPluginManager]
2016-09-30 14:03:31:382 INFO  - studio [OServerPluginManager]
2016-09-30 14:03:31:382 INFO  Shutting down protocols [OServer]
2016-09-30 14:03:31:383 INFO  - jmx [OServerPluginManager]
2016-09-30 14:03:31:383 INFO  Shutting down plugins: [OServerPluginManager]
2016-09-30 14:03:31:383 INFO  Shutting down plugins: [OServerPluginManager]
2016-09-30 14:03:31:383 INFO  - jmx [OServerPluginManager]
2016-09-30 14:03:31:383 INFO  - studio [OServerPluginManager]
2016-09-30 14:03:31:383 INFO  - script-interpreter [OServerPluginManager]
2016-09-30 14:03:31:383 INFO  - jmx [OServerPluginManager]
2016-09-30 14:03:31:383 INFO  - script-interpreter [OServerPluginManager]
2016-09-30 14:03:31:383 INFO  Shutting down databases: [OServer]
2016-09-30 14:03:31:383 INFO  Orient Engine is shutting down... [Orient]
2016-09-30 14:03:31:383 INFO  OrientDB Server shutdown complete
 [OServer]
2016-09-30 14:03:31:383 INFO  - script-interpreter [OServerPluginManager]
2016-09-30 14:03:31:383 INFO  Shutting down databases: [OServer]
Results :

Tests in error:
  BinaryProtocolAnyResultTest.scriptReturnValueTest:39 ? OStorage Cannot connect...
  OLiveQueryShotdownTest.testShutDown:44->bootServer:32 ? OStorage Cannot connec...
  ORemoteImportTest.before:38 ? OStorage Cannot connect to the remote server/dat...
  RemoteIndexSupportTest.before:40 ? OStorage Cannot connect to the remote serve...
com.orientechnologies.orient.server.network.RemoteRidBagTest.testTwoClients(com.orientechnologies.orient.server.network.RemoteRidBagTest)
  Run 1: RemoteRidBagTest.before:63 ? OStorage Cannot connect to the remote server/data...
  Run 2: RemoteRidBagTest.after:85 NullPointer

  TestNetworkSerializerIndipendency.createBinaryDatabaseConnectCsv:80->createDatabase:72 ? OStorage
  TestNetworkSerializerIndipendency.createCsvDatabaseConnectBinary:37->createDatabase:72 ? OStorage

Tests run: 71, Failures: 0, Errors: 7, Skipped: 1

As expected, with skipping tests, the compile went through, so I can test the jar in my OSGi environment (standalone).

That's strange, the server involved in these tests should listen on any network interface (<IP_ADDRESS>) and the client is connecting to localhost. Maybe there are some rights restrictions in your system for listening on <IP_ADDRESS>. Also, try nslookup localhost, just in case.

localhost is fine @taburet but I'm running a docker group on the same system, maybe that's causing trouble, however localhost is free, as docker runs on <IP_ADDRESS>, on a virtual network card eth0:1:
➜  orientdb git:(osgi-2.2.x) nslookup localhost
Server:         <IP_ADDRESS>
Address:        <IP_ADDRESS>#53

Non-authoritative answer:
Name:   localhost
Address: <IP_ADDRESS>

hi @grexe,
That test usually fail if there is a server running somewhere else while you run the tests, i hope it help ;).
Bye

thanks @taburet and @tglman it was indeed the docker daemon interfering, tests run through now.

Sorry guys, after internal discussion we have decided to leave ODB OSGi support in its present state, consider osgi-2.2.x branch unsupported. It's impossible to create a solution that will satisfy everyone at this point in time, mainly due to non-OSGi dependencies we have. Partial solution is not an option, since it will require too much effort on supporting it.
For now, I suggest you to repackage the original ODB distribution for your specific needs. We will return to the subject in the future, maybe OSGi support will receive a more widespread adoption among our dependencies at some time.


{CI} Fix Azure CLI Live Test

Description

Azure CLI Live Test keeps failing and whitout any log.

Add log for send email task.
Disable write_db function until fix it.

CI


submit method had the wrong return type

This method used to simply return void, which made it impossible to safely destruct the method's response into its returned components in typescript

I will close this pr, as I've just created a new one solving some visual bug on the android side of the card view rendering, which also includes this specific change being made.


Remove duplicate initialization of @password in user_v1

also set here: https://github.com/chef/chef/pull/4396/files#diff-7796095f388f8a31d90966ecaea3765aR51

:+1:

:+1:


Provide a customization mechanism for the Server class.

Either by virtual methods or by callbacks. Remove std::cout and  header from our code.

Done.


Add ARM bare metal a1 and m6g instances

What would you like to be added:
Please add support for nodegroups with a1.metal and m6g.metal instances
Why is this needed:
These instances are much cheaper

Hello, ARM support can be tracked in our AWS containers roadmap: https://github.com/aws/containers-roadmap/issues/264

These instance types was added back in #378, but just recently added to the drop-down in #523 and will be in the next release.


Vuex plugins support

It would be great if plugins could be inserted into StoreBuilder.vuexStore()
export interface StoreBuilder<R> {
    /** Get a ModuleBuilder for the namespace provided */
    module<S>(namespace: string, state: S): ModuleBuilder<S, R>;
    /** Output a Vuex Store after all modules have been built */
    vuexStore(plugins: Array<(store:Store<R>) => void>): Store<R>;
}

Good idea.  Included in v1.0.6.
Instead of a plugins argument, I've gone with an optional overrideOptions, which is a partial StoreOptions.  i.e.
export interface StoreBuilder<R> {
    /** Get a ModuleBuilder for the namespace provided */
    module<S>(namespace: string, state: S): ModuleBuilder<S, R>;

    /** Output a Vuex Store after all modules have been built */
    vuexStore(): Store<R>

     /** Output a Vuex Store and provide options, e.g. plugins -- these take precedence over any auto-generated options */
    vuexStore(overrideOptions?: StoreOptions<R>): Store<R>;
}

It works like a charm. Thank you!


Add mappings to the plugin

Add some mappings to the plugin to make it easier to run commands.

On second thought (and after reading maktaba's documentation), adding mappings to the plugin is a bad idea. Users might want to support their own plugins and change it at their will, and there isn't any functionality that works better as mapping.
Instead of adding mappings, this issue will add documentation with recommended mappings (for users who don't customize their vim a lot after the defaults), but it won't set these mappings.


Error: Building package botan:x64-windows failed with: BUILD_FAILED

The portfile needs to be updated to not use --with-pkcs11 as it has been removed in Botan 2.1.0
Also the patch for configure.py needs to be updated
@@ -1168,6 +1168,21 @@
             if flag != None and flag != '' and flag not in abi_link:
                 abi_link.append(flag)

+        if options.build_shared_lib:
+            if options.with_debug_info:
+                if 'dynamic-debug' in self.mach_abi_linking:
+                    abi_link.append(self.mach_abi_linking['dynamic-debug'])
+            else:
+                if 'dynamic' in self.mach_abi_linking:
+                    abi_link.append(self.mach_abi_linking['dynamic'])
+        else:
+            if options.with_debug_info:
+                if 'static-debug' in self.mach_abi_linking:
+                    abi_link.append(self.mach_abi_linking['static-debug'])
+            else:
+                if 'static' in self.mach_abi_linking:
+                    abi_link.append(self.mach_abi_linking['static'])
+
         if options.with_stack_protector and self.stack_protector_flags != '':
             abi_link.append(self.stack_protector_flags)

Wish I could make a pull request myself but I don't understand a jackshit to Git and there is a lack of instruction on how to make a proper .patch file on this repo, so ...

It also fails on installation of the lib.

Usage: install.py [options]
install.py: error: no such option: --destdir

Hi @skthrowaway, thank you for posting this issue! I installed botan:x64-windows successfully with Visual Studio 2017 and VCPKG latest source. This document mentioned how to make a patch. See here: https://github.com/microsoft/vcpkg/blob/master/docs/examples/patching.md.


Replace std::regex with re2

RE2 is Google's take on regex engines.
IMO, it's api is a bit cumbersome compared to std::regex but its considered safer then std::regex (which, as far as I know, based on boost::regex).
From WhyRE2:

Safety is RE2's raison d'être.
RE2 was designed and implemented with an explicit goal of being able to handle regular expressions from untrusted users without risk...

Fixed in https://github.com/odedlaz/suex/pull/30


Apply a MGLCircleStyleLayer to a cluster not work

Hi,
I read this example in the mapbox official page
https://www.mapbox.com/ios-sdk/examples/clustering
I translated it in c#. It works except for association between  the MGLSymbolStyleLayer, MGLCircleStyleLayer and the "cluster" component draw on the map. So, in the map the point are clustered, but not rendered with the correct style.
I do not know if this is a bug in the porting or another problem.
I guess the problem is the definition of NSPredicate. In the example is declared as
"circlesLayer.predicate = NSPredicate(format: "%K == YES", "cluster")"
in c#
"Predicate = NSPredicate.FromFormat("%K == YES", new NSString("cluster"))"
Can you check this problem?

Hi @lfongaroScp ,
Sorry for the late response.
If you still have the problem, please check out my code  (just a pure conversion from Mapbox's tutorial to C#). It works as expected.


[blog] Add the "Product" tag to the Pigment post + other clean ups

[x] I have followed (at least) the PR section of the contributing guide.

A quick run-through of the changes in this PR:

Add the "Product" tag to the latest Pigment CSS post
Remove the "MUI System" tag (not used)
Fix the color of the "+2" (i.e., additional authors) number in the Avatar Group component
Fix the HTML element on the complementary info box on the right-hand side column
Clean up small bits of the code

Hey @danilo-leal! It would be better to split this PR into two:
This can be cherry-picked (blog content specific):

Add the "Product" tag to the latest Pigment CSS post

This should stay on next until it becomes master (blog infra):

Remove the "MUI System" tag (not used)
Fix the color of the "+2" (i.e., additional authors) number in the Avatar Group component
Fix the HTML element on the complementary info box on the right-hand side column
Clean up small bits of the code

This will help minimize merge conflicts and overhead tracking next <> master diffs


Add Tim Fallon/photocyte to mentor area

Thank you, @photocyte  -- I've replaced this pull request with #78 to add links from your project to your profile. It looks like you were going to add also a profile for Dan Bryce. Feel free to open a new pull request.


2D Base Classes (Entity, Tile, Area)

Description
Added Entity, Tile, and Area with unit tests.  Quite a lot of copy paste for some parts, probably need to check for typos.
Couple of functions not implemented but those features have unit tests that fail.
What Changed

Moved location of TileChangeManager
Added Entity, Tile and Area implementations for 2D projects.

Todo in next PR

Update Position2D with comments and Unit Tests
Update ReadMe with Moq and Castle packages
Level implementation and Unit Tests

Tests

LGTM
Just need to create github issues for the TODO


adb connection shut down after rebooting / restart

Hi,
scrcpy is a very good app ,
and the wireless is good,
but wirelesss adb connection shut down after rebooting / restart ,
if the phone is no rooted , we can't keep alive wirelesss adb connection .
the problem has already been mentioned, but I am not enough expert to understand if there is a solution or not
https://www.b4x.com/android/forum/threads/adb-over-wireless-without-usb-cable-at-all.87977/
https://stackoverflow.com/questions/31327839/adb-over-wireless-without-usb-cable-at-all-for-not-rooted-phones
https://stackoverflow.com/questions/26213954/how-to-solve-adb-device-unauthorized-in-android-adb-host-device

Yes, this is a known limitation on Android devices.

And can anything be done with wireless debugging (android 11)?


Filter out unneeded examples from kogito-examples product zip

For 9.0, we don't need all kogito-examples in the product zip. Filter out all examples that are not needed. Current examples included are these Quarkus examples:

org.kie.kogito.examples:decisiontable-quarkus-example
org.kie.kogito.examples:dmn-drools-quarkus-metrics
org.kie.kogito.examples:dmn-incubation-api-quarkus
org.kie.kogito.examples:dmn-knative-quickstart-quarkus
org.kie.kogito.examples:dmn-listener-quarkus
org.kie.kogito.examples:dmn-listener-dtable
org.kie.kogito.examples:dmn-quarkus-example
org.kie.kogito.examples:kogito-travel-agency-example
org.kie.kogito.examples:kogito-travel-agency-example-basic
org.kie.kogito.examples:visas
org.kie.kogito.examples:onboarding-example
org.kie.kogito.examples:hr
org.kie.kogito.examples:payroll
org.kie.kogito.examples:onboarding-quarkus
org.kie.kogito.examples:process-business-rules-quarkus
org.kie.kogito.examples:process-decisions-quarkus
org.kie.kogito.examples:process-decisions-rest-quarkus
org.kie.kogito.examples:process-decisions-rules-quarkus
org.kie.kogito.examples:process-error-handling
org.kie.kogito.examples:rules-legacy-quarkus-example
org.kie.kogito.examples:rules-quarkus-helloworld
org.kie.kogito.examples:ruleunit-quarkus-example

@porcelli @martinweiler @tiagobento @LightGuard please review the list and comment what should be removed.

There is a script in our automation that builds product zips - product-binaries.sh. This script contains functions to build each zip. One of the functions builds the zip for kogito-examples. It does it by cloning the repository and zipping it. There needs to be added commands to delete the unnecessary examples.

@inodeman I updated the list of examples in the description.

@inodeman I created the branch, because I needed the alignment for another issue. The branch is in the internal mirror and it is called bamoe-9.0.
To resolve this issue, it is needed to make sure the branch is used in the zip build and verifying that the contents of the zip match the branch. To configure the branch, please change the property kogito-examples-branch in the publishing pipeline. If you need more information, please let me know. I can explain how the publishing pipeline works.

Tested with logs on the publish pipeline, and I can see only the files needed


Initial inputs for utxo_snapshot_invalid

Some initial inputs for the new utxo_snapshot_invalid target

Whoops, my bad. I assumed those were just additions to existing corpora.


Promotional rewards creation tool UI (Pool #2220)

Should we change the route to /promotions/create and have the future claiming tool be /promotions/claim?

I would think if we were to plan for a future tool we should change this one to /promotional-rewards (to match the name here):

Having two tools share the same base route of /promotions/* doesn't feel right to me.

Playing with it now, I got a "transaction failed" toast when trying to approve the token allowance before creating a promotion even though the transaction went to my wallet. Once it was approved it works great though!
It'd be nice if the review screen had: start date, end date.
It would be really cool if you could see the number of current ticket holders for the prize pool you're creating a promotion for. Even better if we showed an average amount of tokens per user. Not sure where to get that data easily though.
I successfully created a promotion (although I thought I set it for .5 day epochs but it's now 0.000081 day epochs). When trying to create a second one to test this I keep getting this error.

Cool, thanks for the feedback. I'll make those changes, but I'm not sure about the errors you're getting. I was using Polygon with USDC and DAI tokens. Which network are you using?

I successfully created a promotion (although I thought I set it for .5 day epochs but it's now 0.000081 day epochs).

Sounds like there is an extra conversion somewhere.


Install SAP NetWeaver in openSUSE - Installation of NPL failed, please check logifiles in /tmp/sapinst_instdir for possible root cause.

Thank you for this tutorial;  I'm running into a problem on step 4 with the NetWeaver install.  Screenshot and logs attached: Archive.zip

I see this error message:
TRACE      2018-08-20 16:15:28.063 (root/sapinst)
syb_start_db_server_reset_sa_password: 00:0000:00000:00000:2018/08/20 16:15:28.05 kernel  There is no valid license for ASE server product. Installation date is not found or installation grace period has expired. Server will not boot.
But the link in Step 2 for updating the license is outdated.   Am I supposed to recreate the dbexe.tgz.aa archive?  Or is there a way to rerun the install against the already extracted install scripts?

Update - looking at the install.sh script, it checks for a file 'SYBASE_ASE_TD.lic' in the install directory.  If you copy and rename the new license from the link in step 2 (SYBASE_ASE_TestDrive.lic) to the server/TAR/x86_64 directory, it now appears to work.

Sadness - now I fail on next step, Step 5.

startsap.trc.zip

Restored snapshot and ran with license file, all now looks good.
Checking syb Database
Database is running
-------------------------------------------
Starting Startup Agent sapstartsrv
OK
Instance Service on host vhcalnplci started
-------------------------------------------
starting SAP Instance ASCS01
Startup-Log is written to /home/npladm/startsap_ASCS01.log
-------------------------------------------
/usr/sap/NPL/ASCS01/exe/sapcontrol -prot NI_HTTP -nr 01 -function Start
Instance on host vhcalnplci started
Starting Startup Agent sapstartsrv
OK
Instance Service on host vhcalnplci started
-------------------------------------------
starting SAP Instance D00
Startup-Log is written to /home/npladm/startsap_D00.log
-------------------------------------------
/usr/sap/NPL/D00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Start
Instance on host vhcalnplci started
Installation of NPL successful

vhcalnplci:/media/sf_NW_Extract/sap_netweaver_as_abap_750_sp02_ase_dev_edition_part1 # su -l npladm
vhcalnplci:npladm 2> startsap ALL
Checking syb Database
Database is running
-------------------------------------------
Starting Startup Agent sapstartsrv
OK
Instance Service on host vhcalnplci started
-------------------------------------------
starting SAP Instance ASCS01
Startup-Log is written to /home/npladm/startsap_ASCS01.log
-------------------------------------------
/usr/sap/NPL/ASCS01/exe/sapcontrol -prot NI_HTTP -nr 01 -function Start
Instance on host vhcalnplci started
Starting Startup Agent sapstartsrv
OK
Instance Service on host vhcalnplci started
-------------------------------------------
starting SAP Instance D00
Startup-Log is written to /home/npladm/startsap_D00.log
-------------------------------------------
/usr/sap/NPL/D00/exe/sapcontrol -prot NI_HTTP -nr 00 -function Start
Instance on host vhcalnplci started

vhcalnplci:npladm 4> sapcontrol -nr 00 -function GetProcessList

21.08.2018 12:48:48
GetProcessList
OK
name, description, dispstatus, textstatus, starttime, elapsedtime, pid
igswd_mt, IGS Watchdog, GREEN, Running, 2018 08 21 12:46:42, 0:02:06, 14678
disp+work, Dispatcher, GREEN, Running, 2018 08 21 12:46:42, 0:02:06, 14677
gwrd, Gateway, GREEN, Running, 2018 08 21 12:46:48, 0:02:00, 14704
icman, ICM, GREEN, Running, 2018 08 21 12:46:48, 0:02:00, 14705
vhcalnplci:npladm 5>

@bjwo Are you aware of this issue?
Thank you for your feedback. We haven't heard from you in the past 30 days, and it looks like the issue is resolved, so we are closing the issue.
If you still have questions, feel free to reopen the issue.


Unit tests

We need to get some good test coverage on this repo. This issue is to track adding unit tests.

This work was started by @peterbroadhurst through commit df7b82dca83566e6cbeeb9bbce51f33fdd6dfdc2. PR https://github.com/hyperledger/firefly-dataexchange-https/pull/77 adds blob unit tests. The goal is to incrementally add more tests until there is good coverage.


HookWebpackError with uppercase extension (Windows)

HookWebpackError

Please provide the inputs into @vercel/nft that cause the problem, thanks!


"lite" models for 4.18/4.19/4.20?

Will "lite" models for versions 4.18/4.19/4.20 also be released (4.17-lite seems to be the last one in this category)?

Maybe not, I want to provide a 4.21-lite as an alternative

4.22-lite is released
https://drive.google.com/file/d/1Smy6gY7BkS_RzCjPCbMEy-TsX8Ma5B0R/view?usp=sharing
Not sure if it's good

4.22-lite is released https://drive.google.com/file/d/1Smy6gY7BkS_RzCjPCbMEy-TsX8Ma5B0R/view?usp=sharing Not sure if it's good

I don't download "lite" models anymore. Any actual changes to the training etc?

No, some just want faster models at the expense of performance.


Doesn't Work with Enhanced Terrain Layer Version 1.0.39

OS: Windows 10
Foundry Version: V9 - Build 269
Elevation Ruler: Version 0.4.0
Enhanced Terrain Layer: Version 1.0.39
System DnD5e

got this exception when Pressing F12

This also does not work in v10 with Enhanced Terrain Ruler 10.1. Any attempt to hold in control and then drag a ruler on the canvas gives the following error:
Uncaught TypeError: t.shape.contains is not a function
[Detected 3 packages: enhanced-terrain-layer, elevationruler, lib-wrapper]
    at terrainlayer.js:320:28
    at Array.filter (<anonymous>)
    at TerrainLayer.terrainFromPixels (terrainlayer.js:317:40)
    at TerrainLayerElevationAtPoint (terrain_elevation.js:178:35)
    at Ruler.terrainElevationAtPoint (terrain_elevation.js:118:29)
    at Ruler.elevationAtOrigin (terrain_elevation.js:38:21)
    at Ruler.terrainElevationAtPoint (terrain_elevation.js:89:94)
    at Ruler.terrainElevationAtDestination (terrain_elevation.js:73:15)
    at Ruler._getMeasurementSegmentsRuler (segments.js:22:45)
    at 🎁call_wrapper [as call_wrapper] (libWrapper-wrapper.js:620:16)
    at 🎁Ruler.prototype._getMeasurementSegments#0 (libWrapper-wrapper.js:189:20)
    at Ruler.measure (foundry.js:32124:26)
    at Ruler._onMouseMove (foundry.js:32464:12)
    at Canvas._onDragLeftMove (foundry.js:24285:42)
    at MouseInteractionManager.callback (foundry.js:27633:45)
    at MouseInteractionManager._handleDragMove (foundry.js:27990:17)
    at MouseInteractionManager._handleMouseMove (foundry.js:27962:22)
    at a.emit (index.js:202:33)
    at r.dispatchEvent (interaction.min.mjs:8:12235)
    at r.processPointerMove (interaction.min.mjs:8:17255)
    at t.recursiveFindHit (interaction.min.mjs:8:4098)
    at t.findHit (interaction.min.mjs:8:4157)
    at r.processInteractive (interaction.min.mjs:8:12841)
    at r.onPointerMove (interaction.min.mjs:8:16687)

Fixed in v0.6.6. Requires v10 of Enhanced Terrain Layer


Add Nodejs 18 support

As a note, this makes using node version 16 no longer work. I think I'll add a node version check to the beginning.

Fixes #99


[Fix] NRE from DiscordManager on expedition success or fail

empty postfix on method is enough to fix the missing return to lobby -button.
verified by darkcactus and hirnukuono separately:
patching in with prefix bool and only a "return true" == problem gone.
patching in with postfix void and doing absolutely nothing == problem gone.
made it real hard to make a configurable patch (which was written and almost PR'ed) when setting false still fixed the problem 100%. hirnu and darkc lost some hair trying to get a "button missing" result after patching, until the conclusion above.

I feel it would be more appropriate that this be handled by GTFO-API instead of MTFO. @Kasuromi can let you know about that

This is perfect as long as it fixes the issue and doesn't hurt anything else, this is better put in MTFO as it's caused by custom rundowns which MTFO is responsible for.


[WARNING DRT-0422] No routing tracks pass through the center of Term io_outs_up[28]

Describe the bug
Based on make DESIGN_CONFIG=designs/asap7/mock-array/Element/config.mk
Untar detailed-route-warning.tar.gz
$ NUM_CORES=16 ./run-me-mock-array_Element-asap7-base.sh
OpenROAD v2.0-12488-g85f541bb6
 [deleted]
[WARNING DRT-0422] No routing tracks pass through the center of Term clock
[WARNING DRT-0422] No routing tracks pass through the center of Term io_ins_down[0]
[WARNING DRT-0422] No routing tracks pass through the center of Term io_ins_down[10]
[WARNING DRT-0422] No routing tracks pass through the center of Term io_ins_down[11]
[WARNING DRT-0422] No routing tracks pass through the center of Term io_ins_down[12]
[WARNING DRT-0422] No routing tracks pass through the center of Term io_ins_down[13]
[WARNING DRT-0422] No routing tracks pass through the center of Term io_ins_down[14]
[WARNING DRT-0422] No routing tracks pass through the center of Term io_ins_down[15]
[deleted]

Looks OK?

Expected Behavior
No warning and no problems
Environment
OpenROAD v2.0-12488-g85f541bb6

To Reproduce
See above
Relevant log output
No response
Screenshots
No response
Additional Context
No response

It looks like the routing track is not through the center as the message indicates.  How was the pin placed?

It would be helpful to turn off all other layers in the image.

It looks like the routing track is not through the center as the message indicates. How was the pin placed?

standard orfa flow, no changes.

The pins are aligned with the tracks:

I've checked it with the ruler, and the pin placement looks ok. This is probably a false warning from DRT, which I'll investigate this week.


Convert both namespace and limitrange examples to v1beta3

changes: 1) apiVersion 2) replace id with name

#3671

Manually redo the conversion now since the tool not just generates default fields, but also convert json to yaml.

Ok, done it. PATL?

I would like to try the LimitRange changes tomorrow to be sure that units are still right.  I thought units changed between beta1 and beta3.
Sent from my iPhone

On Mar 4, 2015, at 6:56 PM, Dawn Chen<EMAIL_ADDRESS>wrote:
Ok, done it. PATL?
—
Reply to this email directly or view it on GitHub.

Fixed units issue, and run all example against v1beta3. Everything looks fine except invalid_pod is not rejected, and I believe because we don't enable mission control by default yet.
$ cluster/kubectl.sh --api-version=v1beta3  create -f examples/limitrange/v1beta3/valid-pod.json
current-context: "golden-system-455_kubernetes"
$ cluster/kubectl.sh --api-version=v1beta3  get  pods valid-pod
current-context: "golden-system-455_kubernetes"
Running: cluster/../cluster/gce/../../_output/dockerized/bin/linux/amd64/kubectl --api-version=v1beta3 get pods valid-pod
POD                 IP                  CONTAINER(S)                IMAGE(S)                    HOST                                                                 LABELS              STATUS              CREATED
valid-pod           <IP_ADDRESS>        kubernetes-serve-hostname   kubernetes/serve_hostname   kubernetes-minion-gs3d.c.golden-system-455.internal/<IP_ADDRESS>                 Pending             19 seconds

Reassigning to @derekwaynecarr for final review.

Addressed all comments. Surprisingly when I tested it against v1beta3 apiserver, all errors are not detected by validation code. :-( PTAL

It would be rejected when it's enabled which I will do for all salt providers hopefully tomorrow.
Sent from my iPhone

On Mar 5, 2015, at 4:21 PM, Dawn Chen<EMAIL_ADDRESS>wrote:
Fixed units issue, and run all example against v1beta3. Everything looks fine except invalid_pod is not rejected, and I believe because we don't enable mission control by default yet.
$ cluster/kubectl.sh --api-version=v1beta3 create -f examples/limitrange/v1beta3/valid-pod.json
current-context: "golden-system-455_kubernetes"
$ cluster/kubectl.sh --api-version=v1beta3 get pods valid-pod
current-context: "golden-system-455_kubernetes"
Running: cluster/../cluster/gce/../../_output/dockerized/bin/linux/amd64/kubectl --api-version=v1beta3 get pods valid-pod
POD IP CONTAINER(S) IMAGE(S) HOST LABELS STATUS CREATED
valid-pod <IP_ADDRESS> kubernetes-serve-hostname kubernetes/serve_hostname kubernetes-minion-gs3d.c.golden-system-455.internal/<IP_ADDRESS> Pending 19 seconds
—
Reply to this email directly or view it on GitHub.

I tested the limit range scenario on a server with the admission control checks in place and invalid-pod is properly rejected and valid-pod is properly accepted.
LGTM.

@derekwaynecarr Did you ever think about enable that module by default? It won't have any impact if there is no limits object created anyway, right? :-)

@dchen1107 - I am literally doing that right now for all the salt based providers in a PR I am testing on GCE now ;-)
When #4749 merges, it has no substantive perf impact to not always have on across all providers.

Good to know that. Thanks!


Rollback authentication on "/api/v1/applications/{application_name}/experiments/" Wasabi API which was enforced with the latest release.

@iizrailevsky please review.

Looks good! 👍 :shipit:


Update ls-oui-scraper

blast! they changed the URI on us

apparently the site was down... checking multiple "downforeveryoneorjustme" sort of sites..
ignore... I have bad luck this week ;)


Fix grammatical errors

This PR fixes grammatical errors.

Pull Request Test Coverage Report for Build 5477

0 of 0   changed or added relevant lines in 0 files are covered.
26 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.08%) to 41.851%

Files with Coverage Reduction
New Missed Lines
%

azkaban-common/src/main/java/azkaban/jobExecutor/AbstractJob.java
2
37.93%

azkaban-common/src/main/java/azkaban/jobExecutor/AbstractProcessJob.java
3
54.64%

azkaban-exec-server/src/main/java/azkaban/execapp/event/JobCallbackRequestMaker.java
21
56.25%

Totals

Change from base Build 5475:
-0.08%

Covered Lines:
13969

Relevant Lines:
33378

💛  - Coveralls


Add a &key option to the order command

The order command currently has the option &less-than, which should be a function to be called with two values from the list to be ordered in order to determine is the first is to be placed before the second.
In applications, the supplied function often needs to extract or compute a sort key from each of the two list item, and then compare the keys. This can lead to extra verbosity, code that is harder to read. and a (somewhat) higher risk of bugs.

Proposal: Add an option &key=$nil to the order command. Its value should be a function of one argument, to be applied to each item in the list. Then the less-than comparison is applied to the resulting keys instead of the original values.

The proposal is inspired by the Common Lisp sort functiuon, which has such an option. It was recently discussed briefly in chat.
For reference, here is a simple elvish implementation of the proposal.
fn order {|&reverse=$false &less-than=$nil &key=$nil @args|
  use builtin
  set key = (coalesce $key $put~)
  set less-than = (coalesce $less-than {|a b| == -1 (compare $a $b)})
  builtin:order $@args &reverse=$reverse ^
    &less-than={|a b| $less-than ($key $a) ($key $b)}
}

Example usage:
⬥ var t = [[c 1] [a 3] [b 2]]
⬥ order $t &key={|x| put $x[1] }
⮕ [c 1]
⮕ [b 2]
⮕ [a 3]

Other prior art is the Python sorted command: https://docs.python.org/3/howto/sorting.html. However, note this statement in that documentation:

The value of the key parameter should be a function (or other callable) that takes a single argument and returns a key to use for sorting purposes. This technique is fast because the key function is called exactly once for each input record.

If the same optimization is done in Elvish then that clearly makes a &key option worthwhile, from a performance perspective, compared to an equivalent &less-than function. If that optimization is implemented then my opinion of adding a &key option goes from slightly opposed to greatly in favor of doing so.
P.S., I can't help proposing that order be renamed sorted at the same time. 😸

@krader1961 Yeah, I thought of that optimization too, but neglected to mention it, as I was in a rush to leave. Of course, it comes at a slight cost in space in order to save time, but that is probably not a strong argument against it. In any case,, that is easily resolved by writing a bit more go code, so the optimization is not applied when $key is $nil.
Below is an elvish implementation using this optimization. Incidentally, while testing it, I discovered that the documentation for order does not match the actual behaviour: If you explicitly give it the option &less-than=$nil, it raises an error.
fn order {|&reverse=$false &less-than=$nil &key=$nil @args|
  use builtin
  if $key {
    set less-than = (coalesce $less-than {|a b| == -1 (compare $a $b)})
    if (eq $args []) { all } else { put $@args } ^
    | each {|item| put [($key $item) $item]} ^
    | builtin:order &reverse=$reverse ^
      &less-than={|a b| $less-than $a[0] $b[0]} ^
    | each {|pair| put $pair[1]}
  } elif $less-than {
    builtin:order &reverse=$reverse &less-than=$less-than $@args
  } else {
    builtin:order &reverse=$reverse $@args
  }
}

It turned out to be simpler than I expected to support order &less-than=$nil. It did take me a couple of hours to figure out due to unfamiliarity with the Go reflect package but the change itself turned out require just five new lines (plus eleven more for unit tests). I should also have an order &key option added in the next day or two. I'm hoping that benchmarks show it is significantly faster than using &less-than.

My earlier benchmark results made the &less-than option performance appear better than it really is due to a bug in my benchmark. Below are the correct results. Note that, as expected, as the number of items sorted increases the "simple" (no sort options) and "key" variants scale linearly with the input while the "less-than" variant is a bit more than linear. For large inputs (e.g., 10^5 items) using &key is almost 50x faster than &less-than. But for even just 10 items &key is 4x faster. I'm actually surprised &less-than isn't worse.
Benchmarking 10^1 (10) strings:
simple       0.001740
key          0.001969
less-than    0.007779

Benchmarking 10^2 (100) strings:
simple       0.000527
key          0.007207
less-than    0.103583

Benchmarking 10^3 (1000) strings:
simple       0.002862
key          0.053202
less-than    1.454200

Benchmarking 10^4 (10000) strings:
simple       0.032566
key          0.569946
less-than   21.170543

Benchmarking 10^5 (100000) strings:
simple       0.341759
key          5.622884
less-than  260.840497

use file
use math
use path
use str

range 1 6 | each {|p|
    var n = (math:pow 10 $p)
    echo
    echo "Benchmarking 10^"$p" ("$n") strings:"
    var @l = (range $n | each {|x| put (randint (/ $n 2))" line "$x })

    time &on-end={|d| printf "%-10s %10.6f\n" simple $d } {
        order $l | to-lines > /tmp/simple
    }
    time &on-end={|d| printf "%-10s %10.6f\n" key $d } {
        order $l &key={|v| num (str:split " " $v &max=2 | take 1) } | to-lines > /tmp/key
    }
    time &on-end={|d| printf "%-10s %10.6f\n" less-than $d } {
        order &less-than={|a b|
            var a-key = (num (str:split " " $a &max=2 | take 1))
            var b-key = (num (str:split " " $b &max=2 | take 1))
            < $a-key $b-key
            } $l | to-lines > /tmp/less-than
    }
}

I was waiting for my earlier change to support comparing boolean values to be merged before creating a pull-request for this feature. Now that comparing booleans is possible (see issue #1585) I'll proceed with creating a pull-request to resolve this issue.


Using context with userIDs

Depends on #17
The changes in the Dart app in order to use Context are simple, the most effort is made in the GitLab repo. A more detailed documentation is on the way to facilitate reproducibility, first one in Portuguese since is my team's default laguage for docs, secondly in english.

Doc de como usar feature flags com exemplos https://dev.to/jpgoncalv3s/estrategias-de-ativacao-de-features-flags-no-gitlab-exemplo-pratico-em-flutter-3c9o


EventSub: (rarely) emits an invalid event

Location
backend/ethereum/subscription/eventsub_test.go: TestEventSub
Problem
The following test failure occurred multiple times (so far, only tested with the same root seed, and always failed at exactly the same loop iteration, with exactly the same values):
pkg/test: using rootSeed<PHONE_NUMBER>464408683
--- FAIL: TestEventSub (0.70s)
    assertions.go:262:
        	Error Trace:	eventsub_test.go:129
        	            				concurrent.go:223
        	            				goexit.go:88
        	            				goexit.go:90
        	            				asm_amd64.s:1374
        	Error:      	Not equal:
        	            	expected: &peruntoken.ERC20Approval{Owner:0x7c0Eb36Aa212B175C2c2106F8dD3B236241B8cFa, Spender:0x7c0Eb36Aa212B175C2c2106F8dD3B236241B8cFa, Value:254, Raw:types.Log{Address:0x0000000000000000000000000000000000000000, Topics:[]common.Hash(nil), Data:[]uint8(nil), BlockNumber:0x0, TxHash:0x0000000000000000000000000000000000000000000000000000000000000000, TxIndex:0x0, BlockHash:0x0000000000000000000000000000000000000000000000000000000000000000, Index:0x0, Removed:false}}
        	            	actual  : &peruntoken.ERC20Approval{Owner:0x7c0Eb36Aa212B175C2c2106F8dD3B236241B8cFa, Spender:0x7c0Eb36Aa212B175C2c2106F8dD3B236241B8cFa, Value:252, Raw:types.Log{Address:0x0000000000000000000000000000000000000000, Topics:[]common.Hash(nil), Data:[]uint8(nil), BlockNumber:0x0, TxHash:0x0000000000000000000000000000000000000000000000000000000000000000, TxIndex:0x0, BlockHash:0x0000000000000000000000000000000000000000000000000000000000000000, Index:0x0, Removed:false}}

        	            	Diff:
        	            	--- Expected
        	            	+++ Actual
        	            	@@ -12,3 +12,3 @@
        	            	   abs: (big.nat) (len=1) {
        	            	-   (big.Word) 254
        	            	+   (big.Word) 252
        	            	   }
    concurrent.go:248: Stage receiver: runtime.Goexit:

        goroutine 1633 [running]:
        testing.(*common).FailNow(0xc000173680)
        	/usr/local/go/src/testing/testing.go:732 +0x3c
        polycry.pt/poly-go/test.(*ConcurrentT).FailNow(0xc0001d25b0)
        	/home/rmbrt/.go/pkg/mod/polycry.pt/poly-go@v0.0.0-20211115212618-87069dfa360f/test/concurrent.go:202 +0x109
        polycry.pt/poly-go/test.(*stage).FailNow(0xc000db4cc0)
        	/home/rmbrt/.go/pkg/mod/polycry.pt/poly-go@v0.0.0-20211115212618-87069dfa360f/test/concurrent.go:110 +0x65
        github.com/stretchr/testify/require.Equal(0xc70d80, 0xc0010266e0, 0xa8d940, 0xc0011d2b60, 0xa8d940, 0xc0011cd880, 0x0, 0x0, 0x0)
        	/home/rmbrt/.go/pkg/mod/github.com/stretchr/testify@v1.7.0/require/require.go:165 +0x110
        perun.network/go-perun/backend/ethereum/subscription_test.TestEventSub.func4(0xc70140, 0xc000db4cc0, 0xc0001d25b0)
        	/home/rmbrt/.go/src/perun.network/go-perun/backend/ethereum/subscription/eventsub_test.go:129 +0x119
        polycry.pt/poly-go/test.(*ConcurrentT).StageN.func1()
        	/home/rmbrt/.go/pkg/mod/polycry.pt/poly-go@v0.0.0-20211115212618-87069dfa360f/test/concurrent.go:223 +0x43
        polycry.pt/poly-go/test.(*ConcurrentT).StageN(0xc0001d25b0, 0xb86401, 0x8, 0x1, 0xc0005a1650)
        	/home/rmbrt/.go/pkg/mod/polycry.pt/poly-go@v0.0.0-20211115212618-87069dfa360f/test/concurrent.go:222 +0x105
        polycry.pt/poly-go/test.(*ConcurrentT).Stage(0xc0001d25b0, 0xb86401, 0x8, 0xc0005a1650)
        	/home/rmbrt/.go/pkg/mod/polycry.pt/poly-go@v0.0.0-20211115212618-87069dfa360f/test/concurrent.go:263 +0x52
        created by perun.network/go-perun/backend/ethereum/subscription_test.TestEventSub
        	/home/rmbrt/.go/src/perun.network/go-perun/backend/ethereum/subscription/eventsub_test.go:111 +0xd54
panic: Fail in goroutine after TestEventSub has completed

goroutine 79 [running]:
testing.(*common).Fail(0xc000173680)
	/usr/local/go/src/testing/testing.go:688 +0x125
testing.(*common).Errorf(0xc000173680, 0xb87efd, 0xc, 0xc00115ec80, 0x2, 0x2)
	/usr/local/go/src/testing/testing.go:794 +0x93
polycry.pt/poly-go/test.(*ConcurrentT).StageN(0xc0001d25b0, 0xb85abd, 0x7, 0x1, 0xc0004dafc0)
	/home/rmbrt/.go/pkg/mod/polycry.pt/poly-go@v0.0.0-20211115212618-87069dfa360f/test/concurrent.go:248 +0x313
polycry.pt/poly-go/test.(*ConcurrentT).Stage(0xc0001d25b0, 0xb85abd, 0x7, 0xc0004dafc0)
	/home/rmbrt/.go/pkg/mod/polycry.pt/poly-go@v0.0.0-20211115212618-87069dfa360f/test/concurrent.go:263 +0x52
created by perun.network/go-perun/backend/ethereum/subscription_test.TestEventSub
	/home/rmbrt/.go/src/perun.network/go-perun/backend/ethereum/subscription/eventsub_test.go:78 +0x889

Proposal
Before the bug can be found, since it is so cryptic, the following points should be ascertained:

[ ] Further investigate whether different seeds will fail at different indices, this could give an important hint regarding where to look for the error.
[ ] Test whether this fails at different indices on different machines using the same seed.

Could be a problem with the ordering of events.

may be fixed by #319
please check @RmbRT

may be fixed by #319
please check @RmbRT

I let the test run for a few hours, but couldn't reproduce it. However, even previously, it was a very rare error, so that doesn't mean anything.


example text detection does not compile, and also does not work?

Before reporting an issue please first check the
troubleshooting guide. If
the issue you're encountering is not solved thereby please state the following in your bugreport:

Operating system
arch linux

The way you installed OpenCV: package, official binary distribution, manual compilation, etc.
arch linux package

OpenCV version
4.5.4

rustc version (rustc --version)
rustc 1.55.0 (c8dfcfe04 2021-09-06)

Attach the full output of the following command from your project directory:
RUST_BACKTRACE=full cargo build -vv

I can attach this if it is necessary.
I noticed that the text detection example is commented out in the cargo.toml file
https://github.com/twistedfall/opencv-rust/blob/master/Cargo.toml#L35
and I suspect that the api for dnn detector has changed since that example was ported over. I think the "detector.detect" function no longer exists and has been replaced by "detector.predict".
https://github.com/twistedfall/opencv-rust/blob/master/examples/text_detection.rs#L80
once you replace detector.detect with detector.predict it can then compile, however, I could not get the example to work as it now fails at runtime with an internal opencv error which is thrown from line 80 in text_detection.rs.
Err value: Error { code: -213, message: "OpenCV(4.5.4) /build/opencv/src/opencv-4.5.4/modules/core/src/matrix_wrap.cpp:2052: error: (-213:The function/feature is not implemented)  in function 'assign'\n" }
I think this is coming from here:
https://github.com/opencv/opencv/blob/master/modules/core/src/matrix_wrap.cpp#L1906
but i don't really understand anything about opencv. I noticed that it is doing some sort of conditional on the kind of the matrix and I am wondering if something is being lost by the bindings?
Alternatively if you could confirm that the example still works then that would also help me a lot.

Hi, it looks like it broke because of the changes in OpenCV 4.5.4 or 4.5.3, let me verify that

It's been fixed in 0.58.0, the example was still correct, there just was a need to apply some tuning to the binding generation for the newer OpenCV.


Fix .all-contributorsrc badge template.

This changes the badge template from Markdown to HTML which will mean it is rendered as our README header is in HTML and Markdown that is nested in HTML does not render.

Hey @NBTX,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 26b0bcb0-feea-11e9-b5b5-d568244b8b3c

Heyy! Its good, btw can we make it next to the current badges.. It just default to the first line of readme 😕

Yeah I'll take a look, there's probably some template comment.

@NBTX got it:
Also note that it needs to find the following tags in order to update the badge:
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
<!-- ALL-CONTRIBUTORS-BADGE:END -->

this fixes that.

Okay placing the badge on the page is terribly documented for some reason but I'm led to believe that if I revert to the markdown template and put the markdown badge on the page in the desired location, it should detect the badge in that location the next time it needs to be updated and replace it.

Yeah badge will work

Okay, let's try merging this one when the CI completes then.

Hey @NBTX,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 979c2340-feec-11e9-b5b5-d568244b8b3c

Hey @NBTX,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 9c21d270-feec-11e9-b5b5-d568244b8b3c

lets run bot.
@all-contributors please add @NBTX for code

@all-contributors please add @NBTX for design

Guess badge issue is fixed

@all-contributors please add @jamesgeorge007 for code

Badge working as expected


integrate ionic platform commands

As a result of these discussions:

https://github.com/driftyco/ionic-cli/issues/845
https://forum.ionicframework.com/t/attention-upcoming-ionic-2-starter-changes/45058

We're now trying to make the ionic platform commands work with the generator.
This addresses

issues like these: #345, #322
confusions like these: https://gitter.im/mwaylabs/generator-m-ionic?at=569b8e7628b4586d1c8d21ef https://gitter.im/mwaylabs/generator-m-ionic?at=565724343a7600fd2f878e53 https://gitter.im/mwaylabs/generator-m-ionic?at=56389e66a530033014e3c856 https://gitter.im/mwaylabs/generator-m-ionic?at=5601502f463feefb419dbb4e https://gitter.im/mwaylabs/generator-m-ionic?at=55fa911b18e0111d7e4f4e0d

Related issue over at ionic: https://github.com/driftyco/ionic-platform-web-client/issues/41

Steps necessary for setup:
ionic io init
gulp build
ionic upload

Demo Project - https://github.com/mwaylabs/ionic-platform-demo


refactor(dependencies): move production dependencies to regular deps

Resolves https://github.com/davezuko/react-redux-starter-kit/issues/662


[1640] Add "Published  - Last updated: " to bottom of package page

Fixes #1640

Opened follow-up #1705 to address test failures and lastActivityAt usage.
Thanks again Jeoren!

Merged via #1705 but since we rebased a couple of times this isn't being picked up automatically!


[RFE] Allow running an specifig job list

Is your feature request related to a problem? Please describe.
When kube-burner runs a benchmark composed of several jobs there's no way to tell kube-burner to run an specific job from the list.
Describe the solution you'd like
Having a flag --job-list=J1,J2,J3 can be useful to make kube-burner to just execute those specific jobs in the given order

@rsevilla87 I am bit confused on the significance of adding this new flag. Instead of having this flag, can't we achieve the same by only specifying the jobs that are required to run in the config.yaml file and parse them in such a way to preserve their order and execute them accordingly?

@rsevilla87 I am bit confused on the significance of adding this new flag. Instead of having this flag, can't we achieve the same by only specifying the jobs that are required to run in the config.yaml file and parse them in such a way to preserve their order and execute them accordingly?

You're right, closing this issue, it's not very important and not very useful actually.


dev/build causes a redirect to /Security/login?BackURL=%2Fpage-not-found%2F%3Fstage%3DStage

Affected Version
3.x
Description
I'm experiencing a regression here where a dev/build causes a redirect to /Security/login?BackURL=%2Fpage-not-found%2F%3Fstage%3DStage
Coped from https://github.com/silverstripe/silverstripe-framework/pull/8026#issuecomment-393167139
Steps to Reproduce
Install 3.x
Do a dev/build

cc @dhensby

Oops duplicate of https://github.com/silverstripe/silverstripe-framework/issues/8119


Requirements.txt missing versions

In order for users and other developers to use and develop on your tool, I would recommend specifying the versions of the dependencies in the requirements.txt file.
Better yet, I would recommend using Poetry (https://python-poetry.org/) for dependency management, but if you want to stick with pip, there's nothing wrong with that. Best way to accomplish this would be to do a pip freeze > requirements.txt to get the versions you are using for this project.
Poetry is a fantastic dependency management tool that does a lot for you, including collecting hashes of the dependencies, so users can confirm the integrity of the dependencies they are using.

Thanks for the suggestion @WritingPanda . Issue has now been fixed and merged.


after jaydebeapi >=1.0, use the connect(jclassname, url, driver_args...)

Dear Airflow maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA
- https://issues.apache.org/jira/browse/AIRFLOW-1083

Description

[ ] I use the latest jaydebeapi 1.1.1, and dont get the correct connection with jdbc_hook:

Codecov Report

Merging #2227 into master will decrease coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #2227      +/-   ##
==========================================
- Coverage   68.18%   68.17%   -0.02%
==========================================
  Files         142      142
  Lines       10954    10956       +2
==========================================
  Hits         7469     7469
- Misses       3485     3487       +2

Impacted Files
Coverage Δ

airflow/hooks/jdbc_hook.py
0% <0%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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

note for maintainers: this is related/a dupe of #2114

If you want us to consider this please follow to contribution guidelines. Thanks.

@r-richmond Thank for the suggest

@bolkedebruin @r-richmond  Thank for the suggest

@fordguo can you please follow the commit guidelines? Ie add the JIRA to your commit message subject, squash your commits etc?
then we can merge.

please squash your commits.

@fordguo are you still working on this?

@fordguo are you still working on this?

@ron819 it worked on my legacy project with old superset which I modified.


Exception while updating neighbours org.spongepowered.common.util.CachedLong2ObjectMap.get

Forge: 2254
SF: 2241
MC: 1.10.2
Thats a causetracker issue  with liquids somehow.
This server is heavily modded (FTB Beyond 1.2.1), but this still shouldn't crashed by sponge.
Error:
https://pastebin.com/CWV0cmei
Crashlog:
https://pastebin.com/jsTMj7qC

Hello #1234


How can I process  "&"/"<"  as <![CDATA[...&....<...]] instead of "&" or "<"

How to save special character like "&"、"<" into CDATA?

Hello, @rgtv
Can you add example of xml and code that you run?

OK。My code is below：
val processDF = sparkSession.sql(
        s"""
           |select
           |  id as index_id,
           |  url as loc
           |from pp.t__data  limit 100
     """.stripMargin)

processDF.repartition(5)
        .write.mode(SaveMode.Overwrite)
        .format("com.databricks.spark.xml")
        .option("rootTag", "urlset")
        .option("rowTag", "url")
        .save(save_path)

while the url filed may contains “&” for example “https://zhidao.baidu.com/search?lm=0**&rn=10&pn=0”,then the save data become “https://zhidao.baidu.com/search?lm=0&rn=10&**pn=0”。I wanna save this as “https://zhidao.baidu.com/search?lm=0**&**rn=10**&**pn=0”。

Hello, @rgtv
Can you add example of xml and code that you run?

You can't do that here, but, the escaped encoding of the string is perfectly valid, and an XML parser will read it back as you intended it to.


Remove/hide salary related info

remove/hide the gross current salary, net current salary and add more salary from the add new user form

Should be done


Wrong Designer attribute for TileRepeater

The [Designer] attribute must contain the whole namespace to get it running correctly.
[Designer("WinForms.Tiles.Designer.Server.TileRepeaterDesigner"),
     System.ComponentModel.ComplexBindingProperties("DataSource")]
    public partial class TileRepeater : Panel

Created a pull request


Provide a generic dbt CLI task allowing to run custom dbt commands such as dbt deps

Feature description

examples of dbt commands commonly used https://www.datafold.com/blog/accelerating-dbt-core-ci-cd-with-github-actions-a-step-by-step-guide
this provides a reason for a more generic dbt CLI task allowing to provide a custom command


Timescale DB not starting

Timescale not starting after update HassIO to 11.3
` An open-source database built on PostgreSQL for analyzing time-series data with the power and convenience of SQL
Add-on version: 3.0.2
You are running the latest version of this add-on.
System: Home Assistant OS 11.3  (amd64 / qemux86-64)
Home Assistant Core: 2024.1.2
Home Assistant Supervisor: 2023.12.0
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-user: starting
[03:59:30] INFO: Running user-init..
[03:59:30] INFO: done
s6-rc: info: service init-user successfully started
s6-rc: info: service init-addon: starting
[03:59:30] INFO: done
[03:59:30] INFO: Tuning resources..
Using postgresql.conf at this path:
/data/postgres/postgresql.conf
Writing backup to:
/tmp/timescaledb_tune.backup202401070359
Recommendations based on 3.82 GB of available memory and 4 CPUs for PostgreSQL 15
success: all settings tuned, no changes needed
Saving changes to: /data/postgres/postgresql.conf
[03:59:30] INFO: done
[03:59:30] INFO: Applying max connections..
[03:59:30] INFO: done
s6-rc: info: service init-addon successfully started
s6-rc: info: service postgres: starting
s6-rc: info: service postgres successfully started
s6-rc: info: service pgagent: starting
s6-rc: info: service pgagent successfully started
s6-rc: info: service legacy-services: starting
[03:59:30] INFO: Starting PostgreSQL..
[03:59:30] INFO: done
s6-rc: info: service legacy-services successfully started
2024-01-07 02:59:30.477 UTC [235] LOG:  starting PostgreSQL 15.3 on x86_64-alpine-linux-musl, compiled by gcc (Alpine 12.2.1_git20220924-r10) 12.2.1 20220924, 64-bit
2024-01-07 02:59:30.477 UTC [235] LOG:  listening on IPv4 address "<IP_ADDRESS>", port 5432
2024-01-07 02:59:30.477 UTC [235] LOG:  listening on IPv6 address "::", port 5432
2024-01-07 02:59:30.494 UTC [235] LOG:  listening on Unix socket "/run/postgresql/.s.PGSQL.5432"
2024-01-07 02:59:30.514 UTC [246] LOG:  database system was shut down at 2024-01-07 02:58:50 UTC
2024-01-07 02:59:30.543 UTC [235] LOG:  database system is ready to accept connections
2024-01-07 02:59:30.544 UTC [249] LOG:  TimescaleDB background worker launcher connected to shared catalogs
[03:59:31] INFO: Starting PgAgent..
2024-01-07 02:59:31.465 UTC [269] ERROR:  duplicate key value violates unique constraint "pga_jobagent_pkey"
2024-01-07 02:59:31.465 UTC [269] DETAIL:  Key (jagpid)=(269) already exists.
2024-01-07 02:59:31.465 UTC [269] STATEMENT:  INSERT INTO pgagent.pga_jobagent (jagpid, jagstation) SELECT pg_backend_pid(), '77b2833f-timescaledb'
Sun Jan 7 03:59:31 2024 WARNING: pgAgent Query error: ERROR:  duplicate key value violates unique constraint "pga_jobagent_pkey"
DETAIL:  Key (jagpid)=(269) already exists.
with status: PGRES_FATAL_ERROR Connection Error: ERROR:  duplicate key value violates unique constraint "pga_jobagent_pkey"
DETAIL:  Key (jagpid)=(269) already exists.
Sun Jan 7 03:59:31 2024 WARNING: Couldn't create the primary connection [Attempt #1]
[03:59:31] INFO: Create database if not exist: 'homeassistant'
[03:59:31] INFO: Create database if not exist: 'Printer'
2024-01-07 02:59:31.480 UTC [279] ERROR:  database "printer" already exists
2024-01-07 02:59:31.480 UTC [279] STATEMENT:  CREATE DATABASE Printer
ERROR:  database "printer" already exists
[03:59:31] INFO: Service code-server exited with code 1 (by signal 0)
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service pgagent: stopping
[03:59:31] INFO: Service code-server exited with code 256 (by signal 15)
s6-rc: info: service pgagent successfully stopped
s6-rc: info: service postgres: stopping
s6-rc: info: service postgres successfully stopped
s6-rc: info: service init-addon: stopping
s6-rc: info: service init-addon successfully stopped
s6-rc: info: service init-user: stopping
s6-rc: info: service init-user successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
2024-01-07 02:59:31.524 UTC [235] LOG:  received smart shutdown request
2024-01-07 02:59:31.524 UTC [249] FATAL:  terminating background worker "TimescaleDB Background Worker Launcher" due to administrator command
2024-01-07 02:59:31.524 UTC [252] FATAL:  terminating background worker "TimescaleDB Background Worker Scheduler" due to administrator command
2024-01-07 02:59:31.537 UTC [235] LOG:  background worker "TimescaleDB Background Worker Launcher" (PID 249) exited with exit code 1
2024-01-07 02:59:31.537 UTC [235] LOG:  background worker "logical replication launcher" (PID 250) exited with exit code 1
2024-01-07 02:59:31.537 UTC [235] LOG:  background worker "TimescaleDB Background Worker Scheduler" (PID 252) exited with exit code 1
2024-01-07 02:59:31.537 UTC [244] LOG:  shutting down
2024-01-07 02:59:31.550 UTC [244] LOG:  checkpoint starting: shutdown immediate
2024-01-07 02:59:31.633 UTC [244] LOG:  checkpoint complete: wrote 19 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.020 s, sync=0.026 s, total=0.097 s; sync files=17, longest=0.013 s, average=0.002 s; distance=104 kB, estimate=104 kB
2024-01-07 02:59:31.638 UTC [235] LOG:  database system is shut down`

Hi!
It seems like there is more: It is trying to create database 'Printer' , with capital P, while database printer (without capitals) already exists.
Could you please remove the capital and see if it starts?
[03:59:31] INFO: Create database if not exist: 'Printer'
2024-01-07 02:59:31.480 UTC [279] ERROR: database "printer" already exists
2024-01-07 02:59:31.480 UTC [279] STATEMENT: CREATE DATABASE Printer
ERROR: database "printer" already exists

Thank you! Solved the issue..


Implement lang.xml functions

Add rest of lang.xml functions and test cases for them

@rasika few function completion tests had to be commented out, probably because this PR add bunch of lang.xml functions.

@rdhananjaya will look into it


Fixed major PEP8 violation (long line) in main.py

tag https://github.com/openjournals/joss-reviews/issues/306

Good catch, Thanks! @kyleniemeyer


Push image into quay.io on successful build

Push image into quay.io/l23network/k8s-externalipcontroller
Closes: https://github.com/Mirantis/k8s-externalipcontroller/issues/17

why quay.io and not docker hub?

There is no need to deal with Mirantis credentials.

Let's use quay.io until Mirantis repo is created. I'll change it then.

I tested it here https://travis-ci.org/Mirantis/k8s-externalipcontroller/jobs/178401751.
We can't merge it as is, because TRAVIS_BRANCH is equal to target branch of pr. I think the way to go is to check current git status and figure out branch based on it.

                                                                                It should trigger build after merge too. In AC we're having integration with dockerhub. You can use logic there (though it's different, because we're using github => hub integration).                                                                                From: Dmitry ShulyakSent: środa, 23 listopada 2016 21:00To: Mirantis/k8s-externalipcontrollerReply To: Mirantis/k8s-externalipcontrollerCc: Jędrzej Nowak; CommentSubject: Re: [Mirantis/k8s-externalipcontroller] Push image into quay.io on successful build (#45)I tested it here https://travis-ci.org/Mirantis/k8s-externalipcontroller/jobs/178401751.

We can't merge it as is, because TRAVIS_BRANCH is equal to target branch of pr. I think the way to go is to check current git status and figure out branch based on it.
—You are receiving this because you commented.Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/Mirantis/k8s-externalipcontroller","title":"Mirantis/k8s-externalipcontroller","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/Mirantis/k8s-externalipcontroller"}},"updates":{"snippets":[{"icon":"PERSON","message":"@dshulyak in #45: I tested it here https://travis-ci.org/Mirantis/k8s-externalipcontroller/jobs/178401751.\r\n\r\nWe can't merge it as is, because TRAVIS_BRANCH is equal to target branch of pr. I think the way to go is to check current git status and figure out branch based on it. "}],"action":{"name":"View Pull Request","url":"https://github.com/Mirantis/k8s-externalipcontroller/pull/45#issuecomment-262616893"}}}

smth like
git branch | grep "* "
right?

git rev-parse --abbrev-ref HEAD will do the job


Think about moving link to extra materials

Most tutorials have external links to more information, documentation or other tutorials. Should these be moved to the Extra Materials section of each tutorial, instead of being at the very beginning?

Done.


fix: deprecation warning for contenttypes.generic in Django 1.8

c.f. https://docs.djangoproject.com/fr/1.8/releases/1.7/#reorganization-of-django-contrib-contenttypes

@rbarrois Did you have the time to take a look at this ? Thanks.

@rbarrois It would be great to have it merged, as far as Django 1.8 is widely used. Any chances on that?

+1

+1

+1

I add to fork and apply the patch to make it work on django 1.7.11 so it would be awesome if you could merge this so I could get back to the official repo :)
Thanks

Thanks for the fix; and sorry for the delay in fixing this :/


RHOAIENG-6788: Updating serverless urls

Description

Added attribute for OpenShift Serverless docs latest version
Updated OpenShift Serverless URLs with attribute

How Has This Been Tested?
local build

LGTM


Initial refactoring of the code to match the latest API.

Fixes issue https://github.com/Samsung/jerryscript/issues/1211.

@slaff, thanks for fixing the ESP8266 port. Please fix your sing-off in the commit message. Check travis logs for details:

Signed-off-by message is incorrect. The following line should be at the end of the 85b5195 commit's message: 'JerryScript-DCO-1.0-Signed-off-by: Slavey Karadzhov<EMAIL_ADDRESS>
The commit message should mention ESP8266 and the related issue number too.

@LaszloLango is there an automated script that fixes the coding style issues or at least reports them?

@slaff, make check-vera checks the coding style, but unfortunately it does not check the target folder, because it is allowed to use different style there. The only requirement is to use consistence style. For example if you put a space before parenthesis in function calls, then put it everywhere.
To follow Jerry style you can call vera++ manually to your source folder:
./tools/check-vera.sh targets/esp8266/source/

I gave a few more comments. Only minor style issues. I think it close to be ready to merge. Nice work. Thanks again for fixing this port.

@LaszloLango I've made the recommended coding style changes. Should I squash the commits or you will squash them during merge?

@LaszloLango I've added the tab fixes, rebased on current master, and squashed the commits.

@slaff, thanks. LGTM

@slaff, please update PR as @zherczeg suggested. I think after that change we can land your PR.

@LaszloLango @zherczeg When you have time take a look at the updated native print function. In the worst cases I can remove the native "print" function because the built-in JavaScript function works just fine.

@slaff, please fix your Sign-off in the commit message

LGTM

LGTM. Please squash the commits and rebase it to the current master.

LGTM. Please squash the commits and rebase it to the current master.

@zherczeg Done

Landed.


Add missing dep on Microsoft.Bcl.Async that fixes runtime exceptions

If the Microsoft.Bcl.Async package is missing at runtime, there will be really strange errors about Microsoft.Threading.Tasks being missing.
Adding the dep to the nuspec fixes this.

Thanks.


A way to make  foreach  for key/value

After
db.Set("logs", time.Now(), "I'm eating my breakfast man")

how to make foreach call for all the keys in "logs" ?
The only opportunity is using boltdb connection?

There is no dedicated k-v func for that but you can use Select
err = db.Select().Bucket("logs").RawEach(func(k, v []byte) error {
  var t time.Time
  err := db.Codec().Unmarshal(k, &t)
  if err != nil {
    return err
  }

  msg := string(v)

  fmt.Println(t, msg)
  return nil
})

Fantastic support! Thank you!


yabai: could not locate config file..

yabai: could not acquire lock-file! abort..
tried to find config file dir
cd: no such file or directory: /yabai/

I have the same problem((

your config should like at $HOME/.yabairc or ~/.yabairc that is the default configuration

duplicate of #2049
try rm /tmp/yabai*


Query fields on search in a record field does not work

In the module Note (on latest) I have selected the following fields in the "Query fields on search" for the field LeadId (type record):

Company
Email
First Name
Last Name

When I create a new note, by selecting "+ Add new record" onn /crm/pages/69623757169229841/, I should be able to find the following lead in the lead field by typing Crust:
crm/pages/69058244277960721/record/78298369272840196 - Lenny Horstink -<EMAIL_ADDRESS>- Crust
Or this lead when typing Morris (last name):
crm/pages/69058244277960721/record/73996444012380181

Searching by fields in referenced records is not yet supported.

couple of years and still no solution ?


[BUG] ProxyOptions passed in BlobServiceClientBuilder.clientOptions() has no effect

Describe the bug
ProxyOptions object can be passed in BlobServiceClientBuilder but it has no effect, no proxy settings will be used.
Code Snippet
BlobServiceClientBuilder clientBuilder = new BlobServiceClientBuilder();
ProxyOptions proxyOptions = ...
ClientOptions clientOptions = new HttpClientOptions().setProxyOptions(proxyOptions);
clientBuilder.clientOptions(clientOptions);

Expected behavior
ProxyOptions passed in BlobServiceClientBuilder.clientOptions() should work.
It seems to me that the root cause is that BuilderHelper gets ClientOptions  object but does not pass it forward to HttpPipelineBuilder:
https://github.com/Azure/azure-sdk-for-java/blob/957740dbb168bf41261158e2aa5014d320733125/sdk/storage/azure-storage-queue/src/main/java/com/azure/storage/queue/implementation/util/BuilderHelper.java#L156-L220

Hi @turcsanyip thanks for reaching out to us via this GitHub issue.  Someone from the Storage SDK team will follow up shortly.

Hi, @turcsanyip. Thank you for reporting this. I believe this is a duplicate of #28783. If so, I'll close this issue and contain the conversation to the other one.

Sure, thanks!
I did not find that one but they are the same. Looked for "ProxyOptions" only but yeah, it is a more generic issue with "ClientOptions". Will follow https://github.com/Azure/azure-sdk-for-java/issues/28783. Thanks


not working with latest yazi update

From yesterday, it's not working

I tested on Yazi 0.4.2 and it was working. Which git commit Yazi is on?
Was Yazi able to load with default lines or was it crashed? If it is crashed, can you give error message?
Can you test with only this component in your config:
{type = "string", custom = false, name = "hovered_name"},

looks like there was some problem with my installlation
reinstalling solved the problem
wierd though it suddlenly stopped..

I tested on Yazi 0.4.2 and it was working. Which git commit Yazi is on?
Was Yazi able to load with default lines or was it crashed? If it is crashed, can you give error message?
Can you test with only this component in your config:
{type = "string", custom = false, name = "hovered_name"},

hey by the way, instead of cloning with git as mentioned in wiki, wont it be better to use ya pack -a to install?


Bluetooth: Controller: Fix PHY update for unsupported PHY

Fix PHY update procedure to handle unsupported PHY requested
by peer central device. PHY update complete will not be
generated to Host, connection is maintained on the old
PHY and the Controller will not respond to PDUs received on
the unsupported PHY.
Signed-off-by: Vinayak Kariappa Chettimada<EMAIL_ADDRESS>

@cvinayak Could you please add an issue for this PR.

@mmahadevan108 done, #46757


Add support for ssml in agent responses

right now only the initial message is supported, it would be great to support ssml styles that persist across responses....hope this makes sense

adding a bit more information here. two options:

give GPT more expressive power:

GPT will need to respond in SSML or in a format 1:1 to SSML
our Azure (or other synthesizers that accept SSML) need to have a parameter that turns off creating the default SSML wrapper

support all Azure styles/voice configs in the top level AzureSynthesizerConfig: https://learn.microsoft.com/en-us/azure/cognitive-services/speech-service/speech-synthesis-markup-voice#speaking-styles-and-roles


feature request: Add timeout support

It would be useful if a test could timeout. As a start, a global timeout value would suffice.
It seems pretty straightforward to implement. However, it may be considered ideal to have the test itself implement the timeout, which allows each test to specify their own timeout.
Thoughts?

Hi!
I think the requested feature is not offered by rustc --test, right? In that case, I don't want to add it to this crate. libtest-mimic is actually just about offering exactly the built-in features for own test harnesses, but not more. A timeout feature could easily be added on top of this.


Suggestions about Optional, Stream and Lambda's usages

Hi Clayton,
I'm in love with you RuleBook project. Great code, amazing, simple and yet powerful API.
Here is my little contribution, it's not tested, it's just some ideas about usages Optional, stream and lambdas.
I suggest you to put an eye on this article :
https://dzone.com/articles/optional-ispresent-is-bad-for-you
Also you should consider returning Optional in your API when the attribute can be null (like next rule).
Again, great work !

Coverage decreased (-16.2%) to 76.166% when pulling d19ead3344d33bbcd6ce349ffa82558a79caf724 on NicolasLambert:master into 3c07667cf3bd6023da94a6e7ab7cfc9725e61c2d on Clayton7510:master.

Coverage decreased (-16.05%) to 76.289% when pulling 4005f8651a748763c234a74803c8478cf9fc42d9 on NicolasLambert:master into 3c07667cf3bd6023da94a6e7ab7cfc9725e61c2d on Clayton7510:master.

Coverage increased (+0.6%) to 92.929% when pulling 30dab249a2efbfdfba98a74035ba1a3368ff2292 on NicolasLambert:master into 3c07667cf3bd6023da94a6e7ab7cfc9725e61c2d on Clayton7510:master.

Coverage increased (+0.6%) to 92.965% when pulling 8c2eb06a13570c3e9e580b8c3bf6fe2a6576c392 on NicolasLambert:master into 3c07667cf3bd6023da94a6e7ab7cfc9725e61c2d on Clayton7510:master.