PG::TRSerializationFailure - canceling statement due to conflict with recovery

Hey guys,
Its a great Gem. Many thanks! We have used it to do setup Master Slave replication and we are now redirecting all our reads to Slave using this gem.
We faced into this issue recently:
ActiveRecord::StatementInvalid: PG::TRSerializationFailure: ERROR: canceling statement due to conflict with recovery DETAIL: User query might have needed to see row versions that must be removed
This error comes when the application server tries to read from Slave and it happens in very high load environment...
Any suggestions/tips to overcome the error?
Thanks!

I don't have much experience with PG or get s many useful results from googling. @sax seen this one?

@bleonard @sax   To solve ActiveRecord::StatementInvalid: PG::TRSerializationFailure: ERROR: canceling statement due to conflict, error we just increased our vacuum_defer_cleanup_age on Postgresql configuration. It helped us to fix the issue.

@Mothirajha: Out of curiosity, what value did you change the vacuum_defer_cleanup_age to? My understanding is its a txn amount, not a time amount, but I'm not sure where to begin as a good starting value

@Mothirajha thoughts about @beneggett's question? I'm wondering the same thing

@beneggett  sorry for the very late reply, vaccum_defer_cleanup_age value depends on the number of time write happens on your hot_standby_server (master).  We have updated the value from 0 to 200, which kind of sorted the issue.
Reference: https://www.postgresql.org/docs/9.4/static/runtime-config-replication.html

No worries! After doing some research, what we actually ended up doing was setting hot_standby_feedback to  1 (on) in lieu of messing with vacuum_defer_cleanup_age. The bottom comment in the link you just posted above sent got us there. Problems went away afterwards

after changing the value of hot_standby_feedback did you face any lag in data replication or bloat on primary server?

No, we did not. That actually cleaned up some of our replication lag issues
On Wed, May 24, 2017, 9:13 PM Mothirajha<EMAIL_ADDRESS>wrote:

after changing the value of hot_standby_feedback did you face any lag in
data replication or bloat on primary server?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/taskrabbit/makara/issues/106#issuecomment-303910883,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAVNkWOICRpqJW0-t56EvW6I6fRYP6ofks5r9PHUgaJpZM4HK4jP
.

Thanks @beneggett  will try hot_standby_feedback changes.


Flat pressure errors but converging velocity errors in Stokes while using non-homogeneous Dirichlet boundary condition

Hello All,
I am new to MFEM and I am trying to change example 5 to Stokes problem. I have been trying to impose a non-homogeneous Dirichlet boundary for the Stokes velocity using Tayloor-Hood elements. I got similar issue as discussed above (Getting optimal convergence rates for the velocity but flat errors for pressure). Following attached is the figure of pressure profile in star mesh. Looking at the figure it seems there is some problem at the sharp vertices of the star mesh. I would greatly appreciate your kind help. Thank you!

Originally posted by @Hemanta822 in https://github.com/mfem/mfem/issues/80#issuecomment-2239946388

The pressure profile gets even worse in square-disc mesh (Following attached is the figure).
Following is my code:
FiniteElementCollection *fec = new H1_FECollection(order, dim);
FiniteElementCollection *psp(new H1_FECollection(order-1, dim));
FiniteElementSpace *R_space = new FiniteElementSpace(mesh, fec, dim);
FiniteElementSpace *W_space = new FiniteElementSpace(mesh, psp);
// 6. Define the BlockStructure of the problem, i.e. define the array of
//    offsets for each variable. The last component of the Array is the sum
//    of the dimensions of each block.
Array block_offsets(3); // number of variables + 1
block_offsets[0] = 0;
block_offsets[1] = R_space->GetVSize();
block_offsets[2] = W_space->GetVSize();
block_offsets.PartialSum();
std::cout << "\n";
std::cout << "dim(R) = " << block_offsets[1] - block_offsets[0] << "\n";
std::cout << "dim(W) = " << block_offsets[2] - block_offsets[1] << "\n";
std::cout << "dim(R+W) = " << block_offsets.Last() << "\n";
std::cout << "\n";
// 7. Define the coefficients, analytical solution, and rhs of the PDE.
ConstantCoefficient k(1.0);
VectorFunctionCoefficient fcoeff(dim, fFun);
FunctionCoefficient gcoeff(gFun);
FunctionCoefficient fnatcoeff(f_natural);
VectorFunctionCoefficient ucoeff(dim, uFun_ex);
FunctionCoefficient pcoeff(pFun_ex);
// 8. Allocate memory (x, rhs) for the analytical solution and the right hand side.
MemoryType mt = device.GetMemoryType();
BlockVector x(block_offsets, mt), rhs(block_offsets, mt);
Array ess_bdr(mesh->bdr_attributes.Max());
ess_bdr = 1;
Array ess_dof;
R_space->GetEssentialVDofs(ess_bdr, ess_dof);
GridFunction u,p;
u.MakeRef(R_space, x.GetBlock(0), 0);
VectorFunctionCoefficient u_coeff(dim, uFun_ex);
GridFunction x_bdr;
x_bdr.MakeRef(R_space, x.GetBlock(0), 0);
x_bdr.ProjectCoefficient(ucoeff);
LinearForm *fform(new LinearForm);
fform->Update(R_space, rhs.GetBlock(0), 0);
fform->AddDomainIntegrator(new VectorDomainLFIntegrator(fcoeff));
fform->Assemble();
fform->SyncAliasMemory(rhs);
LinearForm *gform(new LinearForm);
gform->Update(W_space, rhs.GetBlock(1), 0);
gform->AddDomainIntegrator(new DomainLFIntegrator(gcoeff));
gform->Assemble();
gform->SyncAliasMemory(rhs);
// 9. Assemble the finite element matrices for the Stokes operator
BilinearForm *mVarf(new BilinearForm(R_space));
MixedBilinearForm *bVarf(new MixedBilinearForm(R_space, W_space));
if (pa) { mVarf->SetAssemblyLevel(AssemblyLevel::PARTIAL); }
mVarf->AddDomainIntegrator(new VectorDiffusionIntegrator(k)); // k is mu
mVarf->Assemble();
mVarf->EliminateEssentialBC(ess_bdr, x_bdr, rhs.GetBlock(0));
if (!pa) { mVarf->Finalize(); }
cout << "Test message" << endl;
ConstantCoefficient m_one(-1.0);
if (pa) { bVarf->SetAssemblyLevel(AssemblyLevel::PARTIAL); }
bVarf->AddDomainIntegrator(new VectorDivergenceIntegrator(m_one));
bVarf->Assemble();
bVarf->EliminateTrialDofs(ess_bdr, x_bdr, rhs.GetBlock(1));
if (!pa) { bVarf->Finalize(); }
BilinearForm *preStab = new BilinearForm(W_space);
ConstantCoefficient epsilon(1e-6); //1e-6
if (pa) { preStab->SetAssemblyLevel(AssemblyLevel::PARTIAL); }
preStab->AddDomainIntegrator(new MassIntegrator(epsilon));
preStab->Assemble();
if (!pa) { preStab->Finalize(); }
BlockOperator stokesOp(block_offsets);
TransposeOperator *Bt = NULL;
if (pa)
{
Bt = new TransposeOperator(bVarf);
  stokesOp.SetBlock(0,0, mVarf);
  //stokesOp.SetBlock(0,1, Bt, -1.0);
  //stokesOp.SetBlock(1,0, bVarf, -1.0);
  stokesOp.SetBlock(0,1, Bt, 1.0);
  stokesOp.SetBlock(1,0, bVarf, 1.0);
  stokesOp.SetBlock(1,1, preStab, 1.0);

}
else
{
SparseMatrix &M(mVarf->SpMat());
SparseMatrix &B(bVarf->SpMat());
SparseMatrix &PS(preStab->SpMat());
//B *= -1.;
Bt = new TransposeOperator(&B);
  stokesOp.SetBlock(0,0, &M);
  stokesOp.SetBlock(0,1, Bt);
  stokesOp.SetBlock(1,0, &B);
  stokesOp.SetBlock(1,1, &PS);

}
// 11. Solve the linear system with MINRES.
int maxIter(2000);
real_t rtol(1.e-6);
real_t atol(1.e-10);
chrono.Clear();
chrono.Start();
MINRESSolver solver;
solver.SetAbsTol(atol);
solver.SetRelTol(rtol);
solver.SetMaxIter(maxIter);
solver.SetOperator(stokesOp);
solver.SetPrintLevel(1);
x = 0.0;
solver.Mult(rhs, x);
if (device.IsEnabled()) { x.HostRead(); }
chrono.Stop();
if (solver.GetConverged())
{
std::cout << "MINRES converged in " << solver.GetNumIterations()
<< " iterations with a residual norm of "
<< solver.GetFinalNorm() << ".\n";
}
else
{
std::cout << "MINRES did not converge in " << solver.GetNumIterations()
<< " iterations. Residual norm is " << solver.GetFinalNorm()
<< ".\n";
}
std::cout << "MINRES solver took " << chrono.RealTime() << "s.\n";
u.MakeRef(R_space, x.GetBlock(0), 0);
p.MakeRef(W_space, x.GetBlock(1), 0);
int order_quad = max(2, 2*order+1);
const IntegrationRule *irs[Geometry::NumGeom];
for (int i=0; i < Geometry::NumGeom; ++i)
{
irs[i] = &(IntRules.Get(i, order_quad));
}
real_t norm1_p = ComputeLpNorm(1., pcoeff, *mesh, irs);
real_t err_u  = u.ComputeL2Error(ucoeff, irs);
real_t norm_u = ComputeLpNorm(2., ucoeff, *mesh, irs);
real_t err_p  = p.ComputeL2Error(pcoeff, irs);
real_t norm_p = ComputeLpNorm(2., pcoeff, *mesh, irs);
real_t norm_uh  = u.ComputeL2Error(vzerocoeff, irs);
std::cout << "|| u_h - u_ex || / || u_ex || = " << err_u / norm_u << "\n";
std::cout << "|| p_h - p_ex || / || p_ex || = " << err_p / norm_p << "\n";

@v-dobrev I would be very much grateful if you could give me some direction. I noticed you had helped in a similar problem in #80 . Thank you!

RESOLVED: I had u=g in the boundary, I had to:
a) correct right side function as follows:
fform->AddDomainIntegrator(new VectorDomainLFIntegrator(lapu_coeff));
lapu_coeff come from the Laplacian of g.
b) Impose zero Dirichlet boundary condition for u.
c) Correct u = u + g as follows:
// 11. Project the non-homogeneous boundary function onto the finite element space.
 GridFunction uex_bdry(R_space);
 uex_bdry.ProjectCoefficient(ucoeff);
// Add the projected function to the existing solution.
 u += uex_bdry;

RESOLVED


cmd: introduce connection test

Provide an initial implementation of a connection-test helper, an operating mode which may help users test configuration and connection with a Confluence instance.

Dropping; this test branch will be worked on while attempting to debug a reported user issue. When the connection test and other capabilities help resolve this issue, a new pull request will be generated then with the updated content.


Error on connect

I am getting this error when I try to connect. I may having something misconfigured but the error message should be more clear if it can't connect for example
/Users/erik/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/ftp.rb:111:in `read_timeout=': undefined method `read_timeout=' for #<TCPSocket:(closed)> (NoMethodError)
from /Users/erik/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/ftp.rb:963:in `ensure in close'
from /Users/erik/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/net/ftp.rb:963:in `close'
from /Users/erik/.rvm/gems/ruby-2.2.1/gems/double-bag-ftps-0.1.2/lib/double_bag_ftps.rb:32:in `ensure in open'
from /Users/erik/.rvm/gems/ruby-2.2.1/gems/double-bag-ftps-0.1.2/lib/double_bag_ftps.rb:32:in `open'
from /Users/erik/.rvm/gems/ruby-2.2.1/gems/glynn-1.2.3/lib/glynn/ftp.rb:23:in `connect'
from /Users/erik/.rvm/gems/ruby-2.2.1/gems/glynn-1.2.3/lib/glynn/ftp.rb:16:in `sync'
from /Users/erik/.rvm/gems/ruby-2.2.1/gems/glynn-1.2.3/bin/glynn:80:in `<top (required)>'
from /Users/erik/.rvm/gems/ruby-2.2.1/bin/glynn:23:in `load'
from /Users/erik/.rvm/gems/ruby-2.2.1/bin/glynn:23:in `<main>'
from /Users/erik/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `eval'
from /Users/erik/.rvm/gems/ruby-2.2.1/bin/ruby_executable_hooks:15:in `<main>'

It looks like your FTP server is rejecting the connection, which prevents us from configuring it (the connection).
That looks like either invalid credentials, or an FTP server config problem.

I checked my config and it works now, but what does the ftp_secure: value do? Is SFTP supported because I can connect via FTP on port 21 but SFTP on port 22 doesn't work.

ftp_secure uses SFTP, which is what your previous stacktrace was using (the double_bag_ftps calls).
The error happens because we can't set a read timeout on a closed socket (#<TCPSocket:(closed)>).

Is there anything else you can think of?
I am able to connect to my server with SFTP using FileZilla so I know it works. But when I change the ftp_port and ftp_secure I get that error

Hum no. The only sure things is that this doesn't indicate a glynn bug (though we could improve the messaging around the socket being unexpectedly closed). It's the server closing or rejecting the connection.


Uncaught Error: The specified module could not be found./?$ATOM_HOME\packages\Hydrogen\node_m...

[Enter steps to reproduce:]

...
...

Atom: 1.42.0 x64
Electron: 4.2.7
OS: Microsoft Windows 10 Home
Thrown From: Hydrogen package 2.13.1
Stack Trace
Uncaught Error: The specified module could not be found.
\?\C:\Users\David Pešek.atom\packages\Hydrogen\node_modules\zeromq\build\Release\zmq.node
At ELECTRON_ASAR.js:160

Error: The specified module could not be found.
\\?\C:\Users\David Pešek\.atom\packages\Hydrogen\node_modules\zeromq\build\Release\zmq.node
    at process.module.(anonymous function) [as dlopen] (ELECTRON_ASAR.js:160:31)
    at Object.Module._extensions..node (internal/modules/cjs/loader.js:722:18)
    at Object.module.(anonymous function) [as .node] (ELECTRON_ASAR.js:160:31)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:146745)
    at /packages/Hydrogen/node_modules/zeromq/lib/index.js:6:11)
    at /packages/Hydrogen/node_modules/zeromq/lib/index.js:857:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:147429)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:146745)
    at /packages/Hydrogen/node_modules/zeromq/index.js:2:18)
    at /packages/Hydrogen/node_modules/zeromq/index.js:3:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:147429)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:150977)
    at Module.load (internal/modules/cjs/loader.js:602:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:541:12)
    at Function.Module._load (internal/modules/cjs/loader.js:533:3)
    at Module.require (/app.asar/static/index.js:72:46)
    at require (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:146745)
    at /packages/Hydrogen/node_modules/jmp/index.js:37:11)
    at /packages/Hydrogen/node_modules/jmp/index.js:450:3)
    at Module.get_Module._compile (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:147429)
    at Object.value [as .js] (~/AppData/Local/atom/app-1.42.0/resources/app/static/<embedded>:11:150977)

Commands

Non-Core Packages
Hydrogen 2.13.1

This is a problem with your atom installation. For any help with this issue you must open an issue with them

@Arthas4 have you attempted installing from the command line? If not I would do so after uninstalling. If that does not work could you attempt to install 2.8.0 version of hydrogen. If none of this solutions work, I would recommend trying to re install atom. There must be something preventing one of our dependencies from installing, and I know it is related to your specific environment because I have installed hydrogen on all atom versions 1.42-1.43 on Windows 10 home

I try install hydrogen from the command line,  install 2.8.0 version of hydrogen and reinstall atom but still i have same problem.

Is this during the installation phase or does it complete than using hydrogen throws this error?

When I try use hydeogen it throws error.

If you navigate to C:\Users\David Pešek\.atom\packages\Hydrogen\node_modules\zeromq\build\Release is the correct file there? Can you try installing verbose and paste the contents here?
apm install<EMAIL_ADDRESS>--verbose

Please re-download the latest version.


Questions about "Other transports" sections

It's obviously hard to talk about "other" transports in a generic but helpful way.
E.g. Other single essence or mux transports could use a "manifest" a.k.a. "transport file" format that was something other than SDP?
If the main concern is the parameter sets flow/transport modes, would it make sense to focus very tightly on those?

Other transport could be NDI or UDP ... Having the concept of "other transports" allows the current specification to indicate how non-RTP transports support an H.264 Flow. Once we know more about those other transports (becoming supported by NMOS) we would be able to add more information (ex some manifest format or requirements) while still being compliant with the actual requirements.
I think it is useful to consider the possibility of other transports in order to properly structure the specification.

I'm not expecting to open and update all the format specifications every time a new transport is defined. My understanding is that NMOS has the objective to be able to add new transports easily in the future. We already have NDI and MPEG2-TS activities to add new transports. We should at least consider them in current and new format specifications.


update web3j and tests

I couldn't reproduce locally some of the errors of the CI so I reran the CI. Some errors disappeared in (basic || basic-raft || (advanced && raft) || networks/typical::raft-simple-mps), so there is some tests that are flaky in these tags. I'll try to find them again. But basically, it was some transaction that couldn't be found, so maybe just some propagation that didn't happen fast enough. Did performance decrease between releases?
I'm gonna try and reproduce the last 2 tests that fail.

It seems tests are failing, but I don't think it's related to my update. It's seems to be about some besu nodes that are not healthy
Except for this, everything else works. I'm removing the draft flag so we can start reviewing it.


update security module for mTLS support

Hi Etai, I had a long conversation with Tao today.  Istio has one limitation when auth is enabled globally:
https://istio.io/help/faq/security.html#istio-to-not-istio
This explains why things don't work.
However, I believe you have gotten mTLS off mesh wide, and enable mTLS for guestbook and analyzer working.  Let's use that to show people how to enable mTLS per some services.  Thoughts?

@elevran @linsun Is this take care of?


Camera path animation

API ideas: http://www.formz.com/manuals/animationmanual/!SSL!/WebHelp/21220_Animate_Along_Path_Tool.html

WIP - now have the CameraPath and CameraPlayer components.


Prepare next Dev Cycle v1.81.0-dev

How to categorize this PR?

/area delivery
/kind enhancement
What this PR does / why we need it:
Prepare next Dev Cycle v1.81.0-dev.
Which issue(s) this PR fixes:
None.
Special notes for your reviewer:
Release note:

NONE

/hold

/lgtm
/approve
/hold

/unhold

/override pull-gardener-e2e-kind pull-gardener-e2e-kind-ha-multi-zone pull-gardener-e2e-kind-ha-multi-zone-upgrade pull-gardener-e2e-kind-ha-single-zone pull-gardener-e2e-kind-ha-single-zone-upgrade pull-gardener-e2e-kind-migration pull-gardener-e2e-kind-migration-ha-single-zone pull-gardener-e2e-kind-operator pull-gardener-e2e-kind-upgrade pull-gardener-integration pull-gardener-unit

/override pull-gardener-e2e-kind

/override pull-gardener-e2e-kind-ha-single-zone


Deprecate existing flag in runtime

AB#994
This PR deprecates the existing flag in runtime as a precedent to its removal in this PR

Ideal solution would be to also make existing argument in instantiateRuntime() non-optional, i.e. tell client clearly that they can rely on it being there. To do so, we need to look at usage and make sure (by looking at telemetry in Kusto) the version of loader where it was introduced is already used in 99.9% of all existing scenarios. And likely mention in breaking.md what version of loader has that payload.
Without that, users of the system may not have enough signal to move forward, as we tell them not to use one on IContainerContext, but do not provide alternative.
The above validation is a must, but we may also skip making changes in instantiateRuntime() by simply providing guidance. I.e. irrespective of what signature says, users likely need to assert it's not undefined there and just use the value passed in.


Ability to configure cornerstone tools via extension configuration

RE: https://github.com/OHIF/Viewers/pull/1211/#discussion_r350267988
Background
We do a weird thing where we:

Add default tools in the cornerstone extension's preInit hook.
Remove some of those same tools in the MeasurementsPanel extension
Re-add those tools with alternative configuration

This creates a few unfortunate issues:
a. The measurements extension now has a hard dependency on the cornerstone extension
b. It also enforces a registration order, as doing it in reverse would break the MeasurementsPanel silently
There are a couple of things we can do to clean this up. This issue is to resolve b

Acceptance Criteria

Ability to set which tools should be "added", their configuration at time of add, etc. via the cornerstone extension's preInit configuration
Remove the tool configuration from the MeasurementExtension's preInit hook
Build and supply the tool configuration the default.js app configuration

Not blocking for first PR:

Default tools and configuration if none are supplied (cornerstone extension)
Updated docs for defaults + example values in cornerstone extension readme.md

Notes: the react-cornerstone-component provides a well defined API for its tools prop. You may want to look there first as an example.
Related

https://github.com/OHIF/Viewers/issues/820

This one was a bear. Merged here: https://github.com/OHIF/Viewers/pull/1229


Pyright parser causes tests failures

Latest pyright causes failures in pylance:
https://github.com/microsoft/pyrx/actions/runs/3595466571/jobs/6055042149
Need to adjust tests or figure out why parser changes are affecting format on save

Inlay hints don't work the same either.

This issue has been fixed in prerelease version 2023.1.11, which we've just released. You can find the changelog here: CHANGELOG.md


NFTIZ.md

Asking to add my project to the Filecoin community :)

Thanks for the submission! Merged


Minor fixes

Codecov Report
Attention: Patch coverage is 72.37569% with 100 lines in your changes missing coverage. Please review.

Project coverage is 72.45%. Comparing base (4fc2e78) to head (69025df).

Files with missing lines
Patch %
Lines

experimental_experiment/xbuilder/graph_builder.py
76.25%
52 Missing :warning:

...mental_experiment/torch_models/llm_model_helper.py
16.66%
15 Missing :warning:

...al_experiment/torch_interpreter/_aten_functions.py
26.31%
14 Missing :warning:

...mental_experiment/torch_interpreter/interpreter.py
76.92%
6 Missing :warning:

experimental_experiment/helpers.py
61.53%
5 Missing :warning:

...experiment/torch_bench/_bash_bench_model_runner.py
40.00%
3 Missing :warning:

...periment/torch_bench/_bash_bench_set_torchbench.py
0.00%
3 Missing :warning:

...ental_experiment/torch_bench/_bash_bench_suites.py
50.00%
1 Missing :warning:

...perimental_experiment/xoptim/patterns/onnx_cast.py
50.00%
1 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #270      +/-   ##
==========================================
- Coverage   72.51%   72.45%   -0.06%
==========================================
  Files         179      180       +1
  Lines       25153    25398     +245
==========================================
+ Hits        18239    18402     +163
- Misses       6914     6996      +82

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


Fix examples to support elastic/ec from v0.6.0

I have signed, but still failing.

Ah right, these docs are generated. If you update this example file as well everything should be happy (make docs-generate should not result in a dirty git state).
I can take a look at fixing this up shortly if you don't get to it.


Improve version string checking

Testing development versions from https://github.com/OpenEVSE/ESP32_WiFi_V4.x/releases/tag/v2_gui . They have started tagging the version with only the branch and commit number, ie master_a1b2c3d4
HA Integration attempting to update status from the unit and commands pushed to unit fail with the following log entries:
2023-04-06 09:41:20.691 ERROR (MainThread) [custom_components.openevse] Unexpected error fetching OpenEVSE (2691evse).firmware data: Can't compare  and <SemVer 4.0.0>
awesomeversion.exceptions.AwesomeVersionCompareException: Can't compare  and <SemVer 4.0.0>
2023-04-06 09:41:33.337 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140457874690480] Can't compare  and <SemVer 4.0.0>
awesomeversion.exceptions.AwesomeVersionCompareException: Can't compare  and <SemVer 4.0.0>
Can the HA Integration handle this new version string more elegantly?
Thanks

Can show me the version output from the JSON reply?

From /config endpoint:
... ,"version":"master_2e570854", ...
No idea if there will be other branches than master in the future.

Ew that's definitely not SemVer

I think it changed in this merge on the OpenEVSE fw side: https://github.com/OpenEVSE/ESP32_WiFi_V4.x/issues/584
Do you want to poke them about it, @firstof9 ?

I'll add handling for non-semver to consider it "dev"

This error is actually coming from the library, I'll transfer the issue there.


Example code fix to use Clone() instead of creating a pointer

The original example did $NewObj = $OldObj Get-DnsServerResourceRecord -Name "Host01" -ZoneName "contoso.com" -RRType "A" which created a pointer instead of a copy.  Changes to $NewObj were also changing $OldObj, which would cause errors downstream to Set-DnsServerResourceRecord. This becomes apparently if you do something like $NewObj.RecordData.IPv4Address

Hello @wsuhoey thanks for taking the time to build and submit these changes.
I think the proposed changes look ok, the only thing I would remove from your edit is this

(If we use $NewObj = $OldObj Get-DnsServerResourceRecord -Name "Host01" -ZoneName "contoso.com" -RRType "A" it will create a pointer instead of a copy, which would then cause alters to $NewObj to also apply to $OldObj as an undesirable effect, which furthermore would cause the Set-DnsServerResourceRecord to throw an error about "Resource record in OldInputObject not found".)

Your example is enough so that explanation is not necessary.
cc
@e0i

@wsuhoey Will you please edit your PR to reflect what git-itips suggested so we can get this reviewed and merged?

Hi, thanks for the follow up Andrea. I missed Andres' post to remove the explanation.
I have made the update. Hope you can see it properly (I'm still beginner with GitHub).


fix: relaxed marshmallow requirement to see if conflicts arise

Summary of Changes
CI marshmallow incompatible version conflicts.
Tests
What tests did you add or modify and why? If no tests were added or modified, explain why. Remove this line
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[ ] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[ ] PR includes a summary of changes, including screenshots of any UI changes.
[ ] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[ ] In case of new functionality, my PR adds documentation that describes how to use it.

All the public python functions and the classes in the PR contain docstrings that explain what it does

[ ] PR passes all tests documented in the developer guide

it seems marshmallow-annotations needs to change to range as well

thanks @allisonsuarez for the quick fix!


Things to update

Config files examples (input/output schema) for detection, segmentation (sklearn?)
- ...
Postprocess
Make input_type implicit ('serialized')
Dockerizing locust as a separate container
Separate out the monitor container.

closed by #32


Knife Hit game added

PR Description 📜
it is basic knife hit game where there is one rotating circle that knife should hit and each level has number of knife that we have to throw if knife collapse then iwe lose
Fixes #3815

Mark the task you have completed ✅

[x] I follow CONTRIBUTING GUIDELINE & CODE OF CONDUCT of this project.
[x] I have performed a self-review of my own code or work.
[x] I have commented my code, particularly in hard-to-understand areas.
[x] My changes generates no new warnings.
[x] I have followed proper naming convention showed in CONTRIBUTING GUIDELINE
[x] I have added screenshot for website preview in assets/images
[x] I have added entries for my game in main README.md
[x] I have added README.md in my folder
[x] I have specified the respective issue number for which I have requested the new game.

Add your screenshots(Optional) 📸

Thank you soo much for contributing to our repository 💗

Thank you @Yashgabani845 ,for creating the PR and contributing to our GameZone 💗
Review team will review the PR and will reach out to you soon! 😇
Make sure that you have marked all the tasks that you are done with ✅.
Thank you for your patience! 😀

@kunjgit please review my PR

Thank you  @Yashgabani845 , for your valuable time and contribution in our GameZone 💗.
It’s our GameZone, so Let’s build this GameZone altogether !!🤝
Hoping to see you soon with another PR again 😇
Wishing you all the best for your journey into Open Source🚀

Hey @Yashgabani845,
You can't work on a closed issue 👀!
Follow the proper guideline and make a new PR again 😀.
Happy Hacking 💗

/assign


HTTP2 push

Hi,
is there please any possibility to automatically set the Link header for HTTP2 push?
Thank you!

This is not possible at the moment, but it is an interesting idea.

In the new version v2.0.0 was introduced new ManifestService to read manifest data from PHP code.
See: https://github.com/webrouse/n-asset-macro#manifestservice
You can now use it for set HTTP2 push headers:

add new callback to event Nette\Application\Application::$onResponse[] (in config file or custom extension)
load/inject Webrouse\AssetMacro\ManifestService from DI container
use assets from $manifestService->getManifest()->getAll($filter) to generate desired headers


Checkbox: "onCheck" does not work with React 15.6

I don't receive any call to onCheck in react >= 15.6.0

Any idea what's going one?

Not really, but if I get the input element in the Chrome console and I perform a click() it will work.

I've also upgraded to 15.6 and all my checkboxes and radio buttons work as usual.
<Checkbox style={{marginBottom: '16px'}} label="Check me!" onCheck={(event, value) => handleCheck(value)} />

handleCheck is called as usual...
using React 15.6.1 and material-ui 0.18.6

15.6.1 has been released a long time ago, given the few number of feedback we have, I'm assuming that the issue is somewhere else. Last time we had a react upgrade related issue, we had a storm of feedback. I'm closing. Let us know if you find something about it, or even better submit a PR

I have the same issue but it only presents itself on Linux while using "onCheck" and "value" properties. As a work around I moved to "onCheck" and "defaultChecked" properties which seems to work fine as a controlled input. Any clues on how should I address this behaviour? Perhaps I could send a PR.
using React 15.6.1 and material-ui 0.18.2+

So, I'm able to reproduce it:
bug happens if you try to use onToggle and at same time the toogled property.
Checkbox the same if you both use checked and onCheck property.

Thanks for the merge, can we have a fix release since this affect all the controlled switchers with react >= 15.6 ?

The last one was yesterday. I want to wait for potential regressions before publishing a new one. I think that it will be done before the end of the week.

I have this issue again with material-ui 0.20.0 and react 16.2 (mac/chrome)
When I use checked and onCheck together for a <Checkbox/> then onCheck simply doesn't fire.
I remember I had this problem early July of 2017 but then the updating to the newest packages solved the problem.

I confirm @g-borgulya case for the material 0.20.0 and react 16.2 (mac/chrome and linux/chrome)

It seems to work with onClick instead of onCheck. I don't know if it's intentional / reliable.

It seems I have the same issue with RadioButtonGroup, onChange doesn't fire anything

This is a lot weird. I have tried everything, nothing seems to be working with the checkbox. It is checked by default and no event listeners fire, nor can I even toggle even when it is not being controlled.


Close stdin for some processes

Issue #9163 suggests that there's a FIFO leak in the code. When child processes terminate, the Mina executable should close stdin, its end of the pipe shared with those processes.
For libp2p, the start_custom code already does a close on termination. For the SNARK worker and verifier, this PR introduces explicit closes.
Tested that the code for the verifier is exercised by running a local network, killing the verifier, and printing out the closed status of all 3 file descriptors. Only the stdin was open. (Also verified that the closes for libp2p helper are being called. Probably the one for stdout isn't needed.)
(In fact, in one case, all 3 descriptors remained open, but I'm supposing that's a race where the stdout and stderr had not yet been automatically closed.)

For libp2p, the start_custom code already does a close on termination. For the SNARK worker and verifier, this PR introduces explicit closes.

Can you link to where this is done, for completeness?

For libp2p, the start_custom code already does a close on termination. For the SNARK worker and verifier, this PR introduces explicit closes.

Can you link to where this is done, for completeness?

https://github.com/MinaProtocol/mina/blob/release/1.2.0/src/lib/child_processes/child_processes.ml#L328


Click and drag to resize windows is borked

All of the windows involved disappaer.

Problem with windows disappearing is also reproducible by quickly changing size of window even with a keyboard ($mod + r + $mod + j).
When doing that on 73af58152b24e0cfe28f6c613e8e7523ffb515fc windows become "invisible" and "freeze" sway. By r-clicking in a terminal that became invisible I somehow managed to unfreeze sway, and from there I could close one of invisible terminals - the other one became visible.
With 73af58152b24e0cfe28f6c613e8e7523ffb515fc reverted resizing doesn't cause sway to "freeze" and it's a lot harder to make windows "invisible",
On a downside of revert, resizing is a lot slower, and there are more graphical glitches when resizing.

So far we know this happens with X windows and when multiple are resized at once(?). (May be wlc)

this might not be of importance as I cannot reproduce this, but in the case it can help resolving this:
I had opened two terminals, when resizing($mod + right mouse) only one of the windows disappeared (instead of the usual both) the second one seemed to be resized to a very small size(partially visible scrollbar). While I would have expected that it would reside on either side of the screen or in the centre, but it was roughly one third into the middle from the left side of the screen.
When attempting to resize it to the proper size, the window disappeared.

@Cloudef any luck in figuring this one out? I'm 99% sure it's not on the sway end.

No I haven't yet. I'll try to get on it today. Is it confirmed that this only happens with X windows however?

Yes, that seems to be the case.

Should be fixed now.

Yep! Thanks!


UI - code generated using "Copy assistant to clipboard" does not reflect the changes made to the assistant.

Steps to reproduce the problem:

Create an assistant.
When in Edit view , add a tool.
Use "Copy assistant to clipboard" option to get the code for the assistant.
Notice that the code generated from step3 does not have the tool added from step2.

Expected Behavior:
We should see the generated code have the tool added from step3

Go to the "My Assistants" page
Use "Edit" option to launch the edit view for this assistant ause "Copy assistant to clipboard" , you will see the changes made to the assistant from step2 as expected. We expect this same code to have gotten generated in step 4.

For whoever sees this its basically a race condition. We'll probably want some way to communicate to the user that the automatic saving has not yet happened.


Restore Sink Metric Emission Behaviour: Emit them per-Sink instead of per-FireHydrant

This change https://github.com/apache/druid/pull/15757 to merge FireHydrants flatly for realtime queries for optimising memory usage led to metrics like query/segment/time getting emitted per-FireHydrant instead of per-Sink.
This change restores the metric emission behaviour while keeping the optimisation intact.
It introduces a new SinkMetricsEmittingQueryRunner which accumulates the FireHydrants metrics per-Sink and emits them in the end.
The emitted metrics are query/segment/time, query/segmentAndCacheTime & query/wait/time.
query/wait/time is the time taken to start processing the first FireHydrant for the sink.
Testing

Added UT to verify that each of the above metrics are emitted once per Sink.
Locally verified the changes for realtime ingestion. Sample emitted metric,

{"type":"scan","version":"32.0.0-SNAPSHOT","duration":"PT86400S","feed":"metrics","metric":"query/segment/time","hasFilters":"false","service":"druid/middleManager","segment":"kttm_2019-08-25T04:00:00.000Z_2019-08-25T05:00:00.000Z_2024-09-26T15:28:40.091Z","host":"localhost:8100","context":{"defaultTimeout":300000,"finalize":false,"maxQueuedBytes":5242880,"maxScatterGatherBytes":9223372036854775807,"queryFailTime":1727364858115,"queryId":"8dab0179-ec39-4f5f-a9e2-9039da416a5a","queryResourceId":"14c72b21-2dbb-471b-91c0-d7fbe11414b5","scanOutermost":false,"sqlOuterLimit":1001,"sqlQueryId":"8dab0179-ec39-4f5f-a9e2-9039da416a5a","sqlStringifyArrays":false,"timeout":299997},"interval":["2019-08-25T00:00:00.000Z/2019-08-26T00:00:00.000Z"],"id":"8dab0179-ec39-4f5f-a9e2-9039da416a5a","value":0,"dataSource":"kttm","timestamp":"2024-09-26T15:29:18.215Z"}

In addition to checking out the comments, please check the effect on query performance after applying this patch in a scenario where there are many (like 100) FireHydrants per Sink.

@gianm I've added a benchmark for this. Reporting the data for the same below.
For master branch code:
Benchmark                                        (numFireHydrants)  Mode  Cnt  Score   Error  Units
SinkQuerySegmentWalkerBenchmark.emitSinkMetrics                 10  avgt    5  0.336 ± 0.014  ms/op
SinkQuerySegmentWalkerBenchmark.emitSinkMetrics                 50  avgt    5  1.937 ± 0.773  ms/op
SinkQuerySegmentWalkerBenchmark.emitSinkMetrics                100  avgt    5  3.294 ± 1.997  ms/op
SinkQuerySegmentWalkerBenchmark.emitSinkMetrics                200  avgt    5  5.931 ± 0.153  ms/op

With this PR's code changes:
Benchmark                                        (numFireHydrants)  Mode  Cnt  Score   Error  Units
SinkQuerySegmentWalkerBenchmark.emitSinkMetrics                 10  avgt    5  0.329 ± 0.007  ms/op
SinkQuerySegmentWalkerBenchmark.emitSinkMetrics                 50  avgt    5  0.738 ± 0.164  ms/op
SinkQuerySegmentWalkerBenchmark.emitSinkMetrics                100  avgt    5  1.324 ± 0.124  ms/op
SinkQuerySegmentWalkerBenchmark.emitSinkMetrics                200  avgt    5  2.650 ± 0.454  ms/op

We can see the improvement in performance with this PR's code change compared to master code. Hope this works!


[Issue] embeddings model needs to be provided when using Azure API

I'm getting following message when deployed zep image using docker-compose and failed the zep container creation.
embeddings model needs to be provided when using Azure API
Do we have to use an embedding model when using Azure? Can I just use Azure Open AI for the summarizing?  I have tried using Azure Embedding Model as well. When using the embedding model my bot responses get very slow.

Zep embeds all chat conversations so that they may be recalled via semantic search. Are you using Azure's OpenAI embedding service or Zep's local embedding service?  More about Zep's embedding configuration here: https://docs.getzep.com/deployment/embeddings/

I want to use long-term memory with summarization. Because my message window is about 5 messages since this a real-time rag I want to summarize the last few messages to handle the flow. So I don't need to use embeddings. However I want to use Azure Open AI models for summarization.  It won't let me disable the embedding when using Azure Open AI endpoint and LLM, the following message is coming :
embeddings model needs to be provided when using Azure API

@axen2u Were you able to resolve this? I'm facing a similar issue.

@TheAdamGalloway  I have used Azure OpenAI embedding models. You can provide deployment name there.

@axen2u Are you using environment variables? Would you mind sharing which ones I need to set? I can't seem to get past this error

You can do that in config.yaml

@axen2u I don't think I can modify config.yaml since I'm hosting a container of the zep image in Azure. I've tried setting the corresponding environment variables but it doesn't seem to be working.

In that case I think you should provide .env when starting the container or you should compose image from the ground and use it with ACR. I haven't much experience with containers But I'm happy to help. I will let you know If I find .env configuration for that.

We've merged a fix for this in #346 and released in v0.26.0


Passing arguments to constructors

Hi
I would like to pass an object to my constructors like this
var Console = require('./console.js');
var File = require('./file.js');
var Modelo = require('modelo');

var internals = {};

module.exports = internals.Logger = function (options) {
	//extend from transport objects

	options = options || {};
	Console.call(this, options);
    File.call(this, options);

};

Modelo.inherits(internals.Logger, Console, File);

Any help would be appreciated!

Arguments should pass to your constructor unmodified. Are you getting an exception while creating new instances?

I double checked that there are tests for the project which ensure options are passed through. I also stubbed out some code based on your snippet to make sure there aren't any errors.
Re-open the issue if you hit any road blocks. You should be OK, though.

I am looking to create an object extending the properties of the other 2 objects however when calling the code it prints this.
var logger = new Logger(options);
console.log(logger instanceof Console); // prints true
console.log(logger instanceof File); // prints false

Basically I need to extend a base object to create a main logging class, sorry I am an extreme novice with progamming

That is correct. The instanceof operator only works with single inheritance. Inheritance libraries which support multiple inheritance will provide you with some other method for performing instanceof.
When you use Modelo.inherits it adds an isInstance method to each instance of your prototype. Ex:
var logger = new Logger(options);
console.log(logger.isInstance(Console)); // prints true
console.log(logger.isInstance(File)); // prints true

Ok I saw this property, however when I call modelo it overwrites methods on the other object so I cannot create a object that inherits properties from both objects.

The inheritance works by copying over properties from the prototypes of each object passed into Modelo.inherits. Here's an example:
function Console(options) { }
Console.prototype.doSomething = function doSomething() { console.log('Console doing something.'); };

function File(options) {}
File.prototype.doSomething = function doSomething() { console.log('File doing something.'); };

function Logger(options) {}
Modelo.inherits(Logger, Console, File);

var logger = new Logger();
logger.doSomething(); // prints "File doing something".

If there is a name collision then the name will always reference the property from the last prototype (left to right order). If you need to customize this behaviour you can do something similar to the Logger constructor you showed above:
function Logger(options) {}
Modelo.inherits(Logger, Console, File);
Logger.prototype.doSomething = function doSomething() {
    console.log('Logger doing something.');
    File.prototype.doSomething.call(this);
    Console.prototype.doSomething.call(this);
};

Thanks for the pointers, I realise I can't get round it without creating a base object and then inherit from that object separately both for my console and file modules.  I basically wanted a switch I can turned one on and the other off or alternatively use both at same time.
Appreciate your help!

It sounds like maybe you need a different abstraction. For example, in the standard library Python logger they have separate objects for the logger, itself, and the transport layers on which it publishes messages. A similar architecture may make it much easier to write messages across multiple transports without needing to inherit from different prototypes each time.
Also, you should take a look at https://github.com/winstonjs/winston. If it suits you needs you may be able to skip to the next part of your project. Alternatively, you may just get some good ideas from its code.

Thanks for the advice!


feat: Upgrade C4BB Support to 0.1.6 #1583

Signed-off-by: Paul Bastide<EMAIL_ADDRESS>

Can we upgrade to the latest samples, too?
In version 0.1.4 we had to do a bunch of work to make them validate, so it would be a good exercise to see if they're truly fixed or not.

I pulled the latest examples too.  Are they not showing up?

I pulled the latest examples too. Are they not showing up?
I think I just missed them in the sea of spec updates.  LGTM.


[DEVOPS-373] edgenode mainnet connect script

commit mainnet genesis
add connect script for it

Looks like several extra unrelated patches and changes. Can you double check?

It did grow a bit, I could split it up into multiple PRs. But it's useful scripts that @ksaric used for connecting explorer node to mainnet on top of my changes.


QEMU guest agent not available in OpenStack Nova image

I built an OpenStack VM image using https://github.com/NixOS/nixpkgs/blob/master/nixos/maintainers/scripts/openstack/nova-image.nix (specifically nix-build '<nixpkgs/nixos>' -A config.system.build.novaImage --arg configuration "{ imports = [ <nixpkgs/nixos/maintainers/scripts/openstack/nova-image.nix> ]; }") and the resulting image does not have qemu-ga available.
The administrators of the OpenStack deployment I'm using tell me this is essential, so I am looking at how to make it available. It seems like the qemu-ga binary is made available by installing qemu itself, though e.g. Gentoo's qemu-guest-agent ebuild seems to build only the guest agent.
If the guest agent is indeed required for things like snapshotting Nova VMs, it seems like nova-image.nix should ensure qemu is installed and a systemd unit created to start qemu-ga.
Technical details

system: "x86_64-linux"
host os: Linux 4.9.77, NixOS, 17.09.2816.ae24fad5abf (Hummingbird)
multi-user?: no
sandbox: yes
version: nix-env (Nix) 1.11.16
channels(root): "nixos-17.09.2816.ae24fad5abf"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs

Workaround
enable-qemu-guest-agent.nix
{config, pkgs, ...}:
{
  config = {
    boot.kernelParams = [ "console=ttyS0" ];
    environment.systemPackages = [ pkgs.qemu ];
    systemd.services.qemu-guest-agent = {
      description = "Run the QEMU Guest Agent";
      path = [ pkgs.qemu ];
      script = "qemu-ga";
      serviceConfig = {
        Restart = "always";
        RestartSec = 0;
      };
    };
    services.udev.extraRules = ''SUBSYSTEM=="virtio-ports", ATTR{name}=="org.qemu.guest_agent.0",  TAG+="systemd" ENV{SYSTEMD_WANTS}="qemu-guest-agent.service"'';
  };
}

then the command to build the image becomes
nix-build '<nixpkgs/nixos>' -A config.system.build.novaImage --arg configuration "{ imports = [ <nixpkgs/nixos/maintainers/scripts/openstack/nova-image.nix> ./enable-qemu-guest-agent.nix ]; }"

I would like to install qemu-agent in libvirtd images for nixops too. I believe it deserves its own name qemu-agent even if it's just an alias to qemu.


Contact sensor is displayed as a switch in Z2M

Zigbee2MQTT Version: 1.39.1, PTVO Version: 2.5
Here is my second problem:

I have configured an input as a switch. If 3.3V is applied to it, this should be reported (--> status: Open or Closed).
To do this, I connected the input to a virtual output and declared the output as “Contact” (see Test_26.txt).
I expected that Z2M would now display Status: Open or Closed like a window contact sensor (example: Aqara MCCGQ11LM Fig 1)
However, I see a switch that changes to On or Off depending on the voltage (see Fig 2).

Is my configuration wrong?
Test_26.txt
Test_26.txt
Fig 1

Fig 2

Please try to create a custom converter for your device and add it to Z2M.

Thank you for your answer.
I did this via your software using the Costom Converter (here).
I then transferred it to the Z2M data folder and restarted Z2M. Then I did the paring of the cc2530. The resulte is visible in Fig 2.


Ability to upload single file

Hi
With the VS Extension is it possible to upload 1 file/script similar to "Upload File To Account" in Webstorm?

Regards,
A

Found it !!


Support Variants with Selects

Current implementation of Select does not support Material UI's variants, can we include it?

There is nothing in the library preventing variants from being passed through. I tested in the sandbox and it worked as expected

i have the same problem

Can you create a codesandbox with the issue?

in the sandbox the problem does not repeat, but the label is not displayed correctly.
https://codesandbox.io/s/upbeat-chandrasekhar-3bfrm

@razdelkinroman the example you sent is not using formik-material-ui?


Added package.json

Used phonegap-plugin-speech-recognition as the name on the package.json, also changed the id to be the same (all the cordova ones were already picked, but feel free to change it if you don't like it)
Bumped minor version
Changed plugin.xml license to MIT as it's the license file used.
Closes #93 & #91

@jcesarmobile when you will merge this fix? Thx.

@mosca90 I'm waiting for a review from @macdonst

I thought commenting "Closes #93 & #91" would close the issues once the PR is merged, but doesn't work

Nope you have to do it manually. I'm going to publish to npm sometime today if the wifi is good enough.


Change the FIlter instructions on the Evaluation Page on Production

-de & en

I have changed the instructions on the dev server today.


Add Collection: Humanized Creatures

@MillHaus33 , I'm not sure how frequent the PRs are reviewed/merged into main, can you just take a look on mine please? Thanks!


Default "not_specified" salutation is invalid

After a freshly installed SW6 shop, go to settings → shop → salutations.
The salutation “not_specified” does not contain a value for the field “letter salutation”, but that field is required (by the UI and backend / DAL implementation).
There should be a migration to fix this default data

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38947
[created from NEXT-38947, comment 503408]

[public]

Status Change: In Review

Work on this ticket is complete and is now pending review.
[created from NEXT-38947, comment 508841]

[public]

FixVersion Change: <IP_ADDRESS>

This issue will be / was solved in Shopware version <IP_ADDRESS>.
[created from NEXT-38947, comment 510605]

[public]

Status Change: Resolved

The ticket has been successfully completed; the solution is implemented and verified.
[created from NEXT-38947, comment 510604]


Building and injecting doesn't do anything

When I inject and build without doing anything to the code as I want to see what your Imgui does. It doesn't do anything. Even if I add a breakpoint the initialization it doesn't reach it. However I am using fullscreen windowed

Fixed... We need to build it in 32 bit instead of 64


bug: not support watch funcs and class in torch backward

Describe the bug
will missing any event in torch backward
Version (please complete the following information):

OS: [Ubuntu 22.04]
Python [3.10]

see
https://gist.github.com/dojoteef/26cd46f7cc38b38e6f443c5f62411aa3


Add playground integration?

I saw in #230 playground integration was removed along the way. Is that just because it would need to be refactored into a central playground_source function similar to graphiql_source or because of some other reason?
Playground has a lot more features than graphiql, like the ability to set/copy http headers (which is necessary for many APIs), so it would be nice to have...
Although it looks like juniper's graphiql implementation allows sending the auth header? It still would be nice to have playground support out of the box.

Yep! Happy to take a PR that adds it.


update go dependencies (specifically troubleshoot)

What this PR does / why we need it:
Updates troubleshoot dependencies, which fixes a few issues and adds new features.
Which issue(s) this PR fixes:
Fixes # SC 59807
Does this PR introduce a user-facing change?
NONE

Does this PR require documentation?
NONE

When we upgraded Troubleshoot deps including k8s.io/... we had to update Go to 1.19.


fix: change name to dap_types

dap-types is already used on crates.io.

:tada: This PR is included in version 1.0.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


clicking Bold and Italic buttons on empty line has no effect

This problem can be reproduced on demo.html, open in chrome, click to an empty line, and click bold/italic button. Those buttons are supposed to be highlighted (see tinymce homepage example), but are not.

Just curious, do you see the same effect on this plunker with the latest code?
I don't see the bug you describe.

I'm sorry, I was using an old version of TinyMCE on one of my plunkers. I do see the issue, thanks for reporting.

Looks like this is related to calls to ed.save(). When commenting out that call in the debouncedUpdate method, the button stays active as expected.

A bit more info...
TinyMCE's save method fires an event:
if (!args.no_events) {
  self.fire('SaveContent', args);
}

I'm not sure why, but it's this event trigger which leads to button state resets.
A temporary workaround could be to disable that event:
ed.save({ no_events: true });
But that likely prevents SaveContent listeners we do want from receiving it.


Querying a non-existent future release date breaks the import page

The import page relies on original_release_date which doesn't exist.
Sometimes the API can instead have expected_release_day, expected_release_month and expected_release_year which the import functionality doesn't account for yet.
expected_release_quarter also exists but the user should just be told there's no date since I don't really want non-specific dates on the calendar. You'll start getting stuff like Persona 5 which was announced for Japan in Summer 2014 yet only came out earlier this year.

Will get fixed when I look at #32


How to train with the model with the given scripts?

When I attempt to train the code with the given script, I get the following errors:
tool/train.sh: 15: tool/train.sh: -u: not found
tool/train.sh: 19: tool/train.sh: -u: not found
Could you give me your hand?
I am using conda.
Thanks

I have the same question

try export PYTHON=python


ICantBelieveItsNotValetudo: addon is not starting, error 400 in console

Installed the addon and configured it:
{
  "identifier": "rockrobo",
  "topicPrefix": "valetudo",
  "autoconfPrefix": "homeassistant",
  "broker_url": "mqtt://USER:PASS@IP",
  "caPath": "",
  "mapSettings": {
    "drawPath": true,
    "drawCharger": true,
    "drawRobot": true,
    "border": 2,
    "scale": 4
  },
  "mapDataTopic": "valetudo/rockrobo/map_data",
  "minMillisecondsBetweenMapUpdates": 10000,
  "publishMapImage": true
}

Unable to start the addon, logs in the addon's config are empty and home-assistant logs do not mention anything either. Browser console log shows:
Failed to load resource: the server responded with a status of 400 ()  /api/hassio/addons/243ffc37_icantbelieveitsnotvaletudo/start:1

RESOLVED
Grafana addon was using the same port (3000). Perhaps ICantBelieveItsNotValetudo should use a different default port?
https://github.com/hassio-addons/addon-grafana

I'm using the same port as the default port of the regular ICantBelieveItsNotValetudo for consistency.
The external port can be changed on the plugin page, if I'm not wrong?

Understandable.
That right, I just changed the port on the plugin page to fix the issue.


HAWQ-1452. Remove hawq_rps_address_suffix and hawq_rps_address_host i…

…n hawq-site.xml to simplify configuration for RPS High Availability

+1

Merged into master. Close this PR.


Support for Django 1.10.2

After upgrading to the above version for Django, I've been getting the following errors:
Traceback (most recent call last):
  File "manage.py", line 28, in <module>
    execute_from_command_line(sys.argv)
  File "/Users/Absolut_Red/virtualenvs/phase2/lib/python3.4/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line
    utility.execute()
  File "/Users/Absolut_Red/virtualenvs/phase2/lib/python3.4/site-packages/django/core/management/__init__.py", line 341, in execute
    django.setup()
  File "/Users/Absolut_Red/virtualenvs/phase2/lib/python3.4/site-packages/django/__init__.py", line 27, in setup
    apps.populate(settings.INSTALLED_APPS)
  File "/Users/Absolut_Red/virtualenvs/phase2/lib/python3.4/site-packages/django/apps/registry.py", line 78, in populate
    raise RuntimeError("populate() isn't reentrant")
RuntimeError: populate() isn't reentrant

The exact same setup works for Django 1.8.14. Is this a WIP? Appreciate your time!

2.0 works for us on Django 1.10.2, so it might be something special in your setup?!

Celery ended up being the troublemaker. Upgrading celery and its dependencies did the trick!


how to enter SparkSession function in SparkQueryCompareTestSuite.scala when I do unit test

I want to do unit test of skewJoinTest, and I debug the unit test code, when it go to "withSparkSession" from withGpuSparkSession ,it exit with error code 1

like this :
esting started at 9:30 下午 ...
/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/bin/java -agentlib:jdwp=transport=dt_socket,address=<IP_ADDRESS>:57325,suspend=y,server=n -javaagent:/Users/chenrui17/Library/Caches/IdeaIC2019.3/groovyHotSwap/gragent.jar -javaagent:/Users/chenrui17/Library/Caches/IdeaIC2019.3/captureAgent/debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "/Users/chenrui17/Library/Application Support/IdeaIC2019.3/Scala/lib/runners.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_192.jdk/Contents/Home/lib/tools.jar:/Users/chenrui17/Documents/2020-10-09/baidu/inf-cpt/spark-rapids/tests/target/test-classes:/Users/chenrui17/Documents/2020-10-09/baidu/inf-cpt/spark-rapids/tests/target/classes:/Users/chenrui17/.m2/repository/org/slf4j/jul-to-slf4j/1.7.30/jul-to-slf4j-1.7.30.jar:/Users/chenrui17/.m2/repository/org/slf4j/slf4j-api/1.7.30/slf4j-api-1.7.30.jar:/Users/chenrui17/.m2/repository/org/slf4j/jcl-over-slf4j/1.7.30/jcl-over-slf4j-1.7.30.jar:/Users/chenrui17/.m2/repository/org/scala-lang/scala-library/2.12.8/scala-library-2.12.8.jar:/Users/chenrui17/.m2/repository/org/apache/spark/spark-sql_2.12/3.0.1/spark-sql_2.12-3.0.1.jar:/Users/chenrui17/.m2/repository/com/univocity/univocity-parsers/2.9.0/univocity-parsers-2.9.0.jar:/Users/chenrui17/.m2/repository/org/apache/spark/spark-sketch_2.12/3.0.1/spark-sketch_2.12-3.0.1.jar:/Users/chenrui17/.m2/repository/org/apache/spark/spark-core_2.12/3.0.1/spark-core_2.12-3.0.1.jar:/Users/chenrui17/.m2/repository/com/thoughtworks/paranamer/paranamer/2.8/paranamer-2.8.jar:/Users/chenrui17/.m2/repository/org/apache/avro/avro/1.8.2/avro-1.8.2.jar:/Users/chenrui17/.m2/repository/org/apache/commons/commons-compress/1.8.1/commons-compress-1.8.1.jar:/Users/chenrui17/.m2/repository/org/tukaani/xz/1.5/xz-1.5.jar:/Users/chenrui17/.m2/repository/org/apache/avro/avro-mapred/1.8.2/avro-mapred-1.8.2-hadoop2.jar:/Users/chenrui17/.m2/repository/org/apache/avro/avro-ipc/1.8.2/avro-ipc-1.8.2.jar:/Users/chenrui17/.m2/repository/com/twitter/chill_2.12/0.9.5/chill_2.12-0.9.5.jar:/Users/chenrui17/.m2/repository/com/esotericsoftware/kryo-shaded/4.0.2/kryo-shaded-4.0.2.jar:/Users/chenrui17/.m2/repository/com/esotericsoftware/minlog/1.3.0/minlog-1.3.0.jar:/Users/chenrui17/.m2/repository/com/twitter/chill-java/0.9.5/chill-java-0.9.5.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-client/2.7.4/hadoop-client-2.7.4.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-common/2.7.4/hadoop-common-2.7.4.jar:/Users/chenrui17/.m2/repository/commons-cli/commons-cli/1.2/commons-cli-1.2.jar:/Users/chenrui17/.m2/repository/xmlenc/xmlenc/0.52/xmlenc-0.52.jar:/Users/chenrui17/.m2/repository/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar:/Users/chenrui17/.m2/repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/Users/chenrui17/.m2/repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/Users/chenrui17/.m2/repository/org/mortbay/jetty/jetty-sslengine/6.1.26/jetty-sslengine-6.1.26.jar:/Users/chenrui17/.m2/repository/javax/servlet/jsp/jsp-api/2.1/jsp-api-2.1.jar:/Users/chenrui17/.m2/repository/commons-configuration/commons-configuration/1.6/commons-configuration-1.6.jar:/Users/chenrui17/.m2/repository/commons-digester/commons-digester/1.8/commons-digester-1.8.jar:/Users/chenrui17/.m2/repository/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar:/Users/chenrui17/.m2/repository/com/google/code/gson/gson/2.2.4/gson-2.2.4.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-auth/2.7.4/hadoop-auth-2.7.4.jar:/Users/chenrui17/.m2/repository/org/apache/httpcomponents/httpclient/4.2.5/httpclient-4.2.5.jar:/Users/chenrui17/.m2/repository/org/apache/httpcomponents/httpcore/4.2.4/httpcore-4.2.4.jar:/Users/chenrui17/.m2/repository/org/apache/directory/server/apacheds-kerberos-codec/2.0.0-M15/apacheds-kerberos-codec-2.0.0-M15.jar:/Users/chenrui17/.m2/repository/org/apache/directory/server/apacheds-i18n/2.0.0-M15/apacheds-i18n-2.0.0-M15.jar:/Users/chenrui17/.m2/repository/org/apache/directory/api/api-asn1-api/1.0.0-M20/api-asn1-api-1.0.0-M20.jar:/Users/chenrui17/.m2/repository/org/apache/directory/api/api-util/1.0.0-M20/api-util-1.0.0-M20.jar:/Users/chenrui17/.m2/repository/org/apache/curator/curator-client/2.7.1/curator-client-2.7.1.jar:/Users/chenrui17/.m2/repository/org/apache/htrace/htrace-core/3.1.0-incubating/htrace-core-3.1.0-incubating.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-hdfs/2.7.4/hadoop-hdfs-2.7.4.jar:/Users/chenrui17/.m2/repository/org/mortbay/jetty/jetty-util/6.1.26/jetty-util-6.1.26.jar:/Users/chenrui17/.m2/repository/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar:/Users/chenrui17/.m2/repository/xml-apis/xml-apis/1.3.04/xml-apis-1.3.04.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-app/2.7.4/hadoop-mapreduce-client-app-2.7.4.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-common/2.7.4/hadoop-mapreduce-client-common-2.7.4.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-yarn-client/2.7.4/hadoop-yarn-client-2.7.4.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-yarn-server-common/2.7.4/hadoop-yarn-server-common-2.7.4.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-shuffle/2.7.4/hadoop-mapreduce-client-shuffle-2.7.4.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-yarn-api/2.7.4/hadoop-yarn-api-2.7.4.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-core/2.7.4/hadoop-mapreduce-client-core-2.7.4.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-yarn-common/2.7.4/hadoop-yarn-common-2.7.4.jar:/Users/chenrui17/.m2/repository/javax/xml/bind/jaxb-api/2.2.2/jaxb-api-2.2.2.jar:/Users/chenrui17/.m2/repository/javax/xml/stream/stax-api/1.0-2/stax-api-1.0-2.jar:/Users/chenrui17/.m2/repository/org/codehaus/jackson/jackson-jaxrs/1.9.13/jackson-jaxrs-1.9.13.jar:/Users/chenrui17/.m2/repository/org/codehaus/jackson/jackson-xc/1.9.13/jackson-xc-1.9.13.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-mapreduce-client-jobclient/2.7.4/hadoop-mapreduce-client-jobclient-2.7.4.jar:/Users/chenrui17/.m2/repository/org/apache/hadoop/hadoop-annotations/2.7.4/hadoop-annotations-2.7.4.jar:/Users/chenrui17/.m2/repository/org/apache/spark/spark-launcher_2.12/3.0.1/spark-launcher_2.12-3.0.1.jar:/Users/chenrui17/.m2/repository/org/apache/spark/spark-kvstore_2.12/3.0.1/spark-kvstore_2.12-3.0.1.jar:/Users/chenrui17/.m2/repository/org/fusesource/leveldbjni/leveldbjni-all/1.8/leveldbjni-all-1.8.jar:/Users/chenrui17/.m2/repository/org/apache/spark/spark-network-common_2.12/3.0.1/spark-network-common_2.12-3.0.1.jar:/Users/chenrui17/.m2/repository/org/apache/spark/spark-network-shuffle_2.12/3.0.1/spark-network-shuffle_2.12-3.0.1.jar:/Users/chenrui17/.m2/repository/org/apache/spark/spark-unsafe_2.12/3.0.1/spark-unsafe_2.12-3.0.1.jar:/Users/chenrui17/.m2/repository/javax/activation/activation/1.1.1/activation-1.1.1.jar:/Users/chenrui17/.m2/repository/org/apache/curator/curator-recipes/2.7.1/curator-recipes-2.7.1.jar:/Users/chenrui17/.m2/repository/org/apache/curator/curator-framework/2.7.1/curator-framework-2.7.1.jar:/Users/chenrui17/.m2/repository/com/google/guava/guava/16.0.1/guava-16.0.1.jar:/Users/chenrui17/.m2/repository/org/apache/zookeeper/zookeeper/3.4.14/zookeeper-3.4.14.jar:/Users/chenrui17/.m2/repository/org/apache/yetus/audience-annotations/0.5.0/audience-annotations-0.5.0.jar:/Users/chenrui17/.m2/repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/Users/chenrui17/.m2/repository/org/apache/commons/commons-lang3/3.9/commons-lang3-3.9.jar:/Users/chenrui17/.m2/repository/org/apache/commons/commons-math3/3.4.1/commons-math3-3.4.1.jar:/Users/chenrui17/.m2/repository/org/apache/commons/commons-text/1.6/commons-text-1.6.jar:/Users/chenrui17/.m2/repository/com/google/code/findbugs/jsr305/3.0.0/jsr305-3.0.0.jar:/Users/chenrui17/.m2/repository/log4j/log4j/1.2.17/log4j-1.2.17.jar:/Users/chenrui17/.m2/repository/org/slf4j/slf4j-log4j12/1.7.30/slf4j-log4j12-1.7.30.jar:/Users/chenrui17/.m2/repository/com/ning/compress-lzf/1.0.3/compress-lzf-1.0.3.jar:/Users/chenrui17/.m2/repository/org/xerial/snappy/snappy-java/<IP_ADDRESS>/snappy-java-<IP_ADDRESS>.jar:/Users/chenrui17/.m2/repository/org/lz4/lz4-java/1.7.1/lz4-java-1.7.1.jar:/Users/chenrui17/.m2/repository/com/github/luben/zstd-jni/1.4.4-3/zstd-jni-1.4.4-3.jar:/Users/chenrui17/.m2/repository/org/roaringbitmap/RoaringBitmap/0.7.45/RoaringBitmap-0.7.45.jar:/Users/chenrui17/.m2/repository/org/roaringbitmap/shims/0.7.45/shims-0.7.45.jar:/Users/chenrui17/.m2/repository/commons-net/commons-net/3.1/commons-net-3.1.jar:/Users/chenrui17/.m2/repository/org/json4s/json4s-jackson_2.12/3.6.6/json4s-jackson_2.12-3.6.6.jar:/Users/chenrui17/.m2/repository/org/json4s/json4s-core_2.12/3.6.6/json4s-core_2.12-3.6.6.jar:/Users/chenrui17/.m2/repository/org/json4s/json4s-ast_2.12/3.6.6/json4s-ast_2.12-3.6.6.jar:/Users/chenrui17/.m2/repository/org/json4s/json4s-scalap_2.12/3.6.6/json4s-scalap_2.12-3.6.6.jar:/Users/chenrui17/.m2/repository/org/glassfish/jersey/core/jersey-client/2.30/jersey-client-2.30.jar:/Users/chenrui17/.m2/repository/jakarta/ws/rs/jakarta.ws.rs-api/2.1.6/jakarta.ws.rs-api-2.1.6.jar:/Users/chenrui17/.m2/repository/org/glassfish/hk2/external/jakarta.inject/2.6.1/jakarta.inject-2.6.1.jar:/Users/chenrui17/.m2/repository/org/glassfish/jersey/core/jersey-common/2.30/jersey-common-2.30.jar:/Users/chenrui17/.m2/repository/jakarta/annotation/jakarta.annotation-api/1.3.5/jakarta.annotation-api-1.3.5.jar:/Users/chenrui17/.m2/repository/org/glassfish/hk2/osgi-resource-locator/1.0.3/osgi-resource-locator-1.0.3.jar:/Users/chenrui17/.m2/repository/org/glassfish/jersey/core/jersey-server/2.30/jersey-server-2.30.jar:/Users/chenrui17/.m2/repository/org/glassfish/jersey/media/jersey-media-jaxb/2.30/jersey-media-jaxb-2.30.jar:/Users/chenrui17/.m2/repository/jakarta/validation/jakarta.validation-api/2.0.2/jakarta.validation-api-2.0.2.jar:/Users/chenrui17/.m2/repository/org/glassfish/jersey/containers/jersey-container-servlet/2.30/jersey-container-servlet-2.30.jar:/Users/chenrui17/.m2/repository/org/glassfish/jersey/containers/jersey-container-servlet-core/2.30/jersey-container-servlet-core-2.30.jar:/Users/chenrui17/.m2/repository/org/glassfish/jersey/inject/jersey-hk2/2.30/jersey-hk2-2.30.jar:/Users/chenrui17/.m2/repository/org/glassfish/hk2/hk2-locator/2.6.1/hk2-locator-2.6.1.jar:/Users/chenrui17/.m2/repository/org/glassfish/hk2/external/aopalliance-repackaged/2.6.1/aopalliance-repackaged-2.6.1.jar:/Users/chenrui17/.m2/repository/org/glassfish/hk2/hk2-api/2.6.1/hk2-api-2.6.1.jar:/Users/chenrui17/.m2/repository/org/glassfish/hk2/hk2-utils/2.6.1/hk2-utils-2.6.1.jar:/Users/chenrui17/.m2/repository/org/javassist/javassist/3.25.0-GA/javassist-3.25.0-GA.jar:/Users/chenrui17/.m2/repository/io/netty/netty-all/4.1.47.Final/netty-all-4.1.47.Final.jar:/Users/chenrui17/.m2/repository/com/clearspring/analytics/stream/2.9.6/stream-2.9.6.jar:/Users/chenrui17/.m2/repository/io/dropwizard/metrics/metrics-core/4.1.1/metrics-core-4.1.1.jar:/Users/chenrui17/.m2/repository/io/dropwizard/metrics/metrics-jvm/4.1.1/metrics-jvm-4.1.1.jar:/Users/chenrui17/.m2/repository/io/dropwizard/metrics/metrics-json/4.1.1/metrics-json-4.1.1.jar:/Users/chenrui17/.m2/repository/io/dropwizard/metrics/metrics-graphite/4.1.1/metrics-graphite-4.1.1.jar:/Users/chenrui17/.m2/repository/io/dropwizard/metrics/metrics-jmx/4.1.1/metrics-jmx-4.1.1.jar:/Users/chenrui17/.m2/repository/com/fasterxml/jackson/module/jackson-module-scala_2.12/2.10.0/jackson-module-scala_2.12-2.10.0.jar:/Users/chenrui17/.m2/repository/com/fasterxml/jackson/module/jackson-module-paranamer/2.10.0/jackson-module-paranamer-2.10.0.jar:/Users/chenrui17/.m2/repository/org/apache/ivy/ivy/2.4.0/ivy-2.4.0.jar:/Users/chenrui17/.m2/repository/oro/oro/2.0.8/oro-2.0.8.jar:/Users/chenrui17/.m2/repository/net/razorvine/pyrolite/4.30/pyrolite-4.30.jar:/Users/chenrui17/.m2/repository/net/sf/py4j/py4j/0.10.9/py4j-0.10.9.jar:/Users/chenrui17/.m2/repository/org/apache/commons/commons-crypto/1.0.0/commons-crypto-1.0.0.jar:/Users/chenrui17/.m2/repository/org/apache/spark/spark-catalyst_2.12/3.0.1/spark-catalyst_2.12-3.0.1.jar:/Users/chenrui17/.m2/repository/org/scala-lang/modules/scala-parser-combinators_2.12/1.1.2/scala-parser-combinators_2.12-1.1.2.jar:/Users/chenrui17/.m2/repository/org/codehaus/janino/janino/3.0.16/janino-3.0.16.jar:/Users/chenrui17/.m2/repository/org/codehaus/janino/commons-compiler/3.0.16/commons-compiler-3.0.16.jar:/Users/chenrui17/.m2/repository/org/antlr/antlr4-runtime/4.7.1/antlr4-runtime-4.7.1.jar:/Users/chenrui17/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/Users/chenrui17/.m2/repository/org/apache/arrow/arrow-vector/0.15.1/arrow-vector-0.15.1.jar:/Users/chenrui17/.m2/repository/org/apache/arrow/arrow-format/0.15.1/arrow-format-0.15.1.jar:/Users/chenrui17/.m2/repository/org/apache/arrow/arrow-memory/0.15.1/arrow-memory-0.15.1.jar:/Users/chenrui17/.m2/repository/org/apache/spark/spark-tags_2.12/3.0.1/spark-tags_2.12-3.0.1.jar:/Users/chenrui17/.m2/repository/org/apache/orc/orc-core/1.5.8/orc-core-1.5.8.jar:/Users/chenrui17/.m2/repository/org/apache/orc/orc-shims/1.5.8/orc-shims-1.5.8.jar:/Users/chenrui17/.m2/repository/com/google/protobuf/protobuf-java/2.5.0/protobuf-java-2.5.0.jar:/Users/chenrui17/.m2/repository/commons-lang/commons-lang/2.6/commons-lang-2.6.jar:/Users/chenrui17/.m2/repository/io/airlift/aircompressor/0.10/aircompressor-0.10.jar:/Users/chenrui17/.m2/repository/org/apache/orc/orc-mapreduce/1.5.8/orc-mapreduce-1.5.8.jar:/Users/chenrui17/.m2/repository/org/apache/hive/hive-storage-api/2.6.0/hive-storage-api-2.6.0.jar:/Users/chenrui17/.m2/repository/org/apache/parquet/parquet-column/1.10.1/parquet-column-1.10.1.jar:/Users/chenrui17/.m2/repository/org/apache/parquet/parquet-common/1.10.1/parquet-common-1.10.1.jar:/Users/chenrui17/.m2/repository/org/apache/parquet/parquet-encoding/1.10.1/parquet-encoding-1.10.1.jar:/Users/chenrui17/.m2/repository/org/apache/parquet/parquet-hadoop/1.10.1/parquet-hadoop-1.10.1.jar:/Users/chenrui17/.m2/repository/org/apache/parquet/parquet-format/2.4.0/parquet-format-2.4.0.jar:/Users/chenrui17/.m2/repository/org/apache/parquet/parquet-jackson/1.10.1/parquet-jackson-1.10.1.jar:/Users/chenrui17/.m2/repository/org/codehaus/jackson/jackson-mapper-asl/1.9.13/jackson-mapper-asl-1.9.13.jar:/Users/chenrui17/.m2/repository/org/codehaus/jackson/jackson-core-asl/1.9.13/jackson-core-asl-1.9.13.jar:/Users/chenrui17/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.10.0/jackson-databind-2.10.0.jar:/Users/chenrui17/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.10.0/jackson-annotations-2.10.0.jar:/Users/chenrui17/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.10.0/jackson-core-2.10.0.jar:/Users/chenrui17/.m2/repository/org/apache/xbean/xbean-asm7-shaded/4.15/xbean-asm7-shaded-4.15.jar:/Users/chenrui17/.m2/repository/org/spark-project/spark/unused/1.0.0/unused-1.0.0.jar:/Users/chenrui17/.m2/repository/org/scalatest/scalatest_2.12/3.0.5/scalatest_2.12-3.0.5.jar:/Users/chenrui17/.m2/repository/org/scalactic/scalactic_2.12/3.0.5/scalactic_2.12-3.0.5.jar:/Users/chenrui17/.m2/repository/org/scala-lang/scala-reflect/2.12.4/scala-reflect-2.12.4.jar:/Users/chenrui17/.m2/repository/org/scala-lang/modules/scala-xml_2.12/1.0.6/scala-xml_2.12-1.0.6.jar:/Users/chenrui17/.m2/repository/ai/rapids/cudf/0.15/cudf-0.15-cuda10-2.jar:/Users/chenrui17/Documents/2020-10-09/baidu/inf-cpt/spark-rapids/dist/target/classes:/Users/chenrui17/Documents/2020-10-09/baidu/inf-cpt/spark-rapids/sql-plugin/target/classes:/Users/chenrui17/.m2/repository/com/google/flatbuffers/flatbuffers-java/1.11.0/flatbuffers-java-1.11.0.jar:/Users/chenrui17/Documents/2020-10-09/baidu/inf-cpt/spark-rapids/shuffle-plugin/target/classes:/Users/chenrui17/.m2/repository/org/openucx/jucx/1.8.0/jucx-1.8.0.jar:/Users/chenrui17/Documents/2020-10-09/baidu/inf-cpt/spark-rapids/udf-compiler/target/classes:/Users/chenrui17/Documents/2020-10-09/baidu/inf-cpt/spark-rapids/shims/aggregator/target/classes:/Users/chenrui17/Documents/2020-10-09/baidu/inf-cpt/spark-rapids/shims/spark300/target/classes:/Users/chenrui17/Documents/2020-10-09/baidu/inf-cpt/spark-rapids/shims/spark301/target/classes:/Users/chenrui17/Documents/2020-10-09/baidu/inf-cpt/spark-rapids/shims/spark310/target/classes:/Users/chenrui17/Documents/2020-10-09/baidu/inf-cpt/spark-rapids/shims/spark302/target/classes:/Users/chenrui17/.m2/repository/org/mockito/mockito-core/2.28.2/mockito-core-2.28.2.jar:/Users/chenrui17/.m2/repository/net/bytebuddy/byte-buddy/1.9.10/byte-buddy-1.9.10.jar:/Users/chenrui17/.m2/repository/net/bytebuddy/byte-buddy-agent/1.9.10/byte-buddy-agent-1.9.10.jar:/Users/chenrui17/.m2/repository/org/objenesis/objenesis/2.6/objenesis-2.6.jar:/Users/chenrui17/.m2/repository/org/junit/jupiter/junit-jupiter-api/5.4.2/junit-jupiter-api-5.4.2.jar:/Users/chenrui17/.m2/repository/org/apiguardian/apiguardian-api/1.0.0/apiguardian-api-1.0.0.jar:/Users/chenrui17/.m2/repository/org/opentest4j/opentest4j/1.1.1/opentest4j-1.1.1.jar:/Users/chenrui17/.m2/repository/org/junit/platform/junit-platform-commons/1.4.2/junit-platform-commons-1.4.2.jar:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar" org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestRunner -s com.nvidia.spark.rapids.AdaptiveQueryExecSuite -testName "skewed inner join optimization" -C org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestReporter -showProgressMessages true
Connected to the target VM, address: '<IP_ADDRESS>:57325', transport: 'socket'
Disconnected from the target VM, address: '<IP_ADDRESS>:57325', transport: 'socket'
Process finished with exit code 1

after run this line in IDEA， it runs a long time , and then exit with code 1

I was able to step into withSparkSession using a debugger successfully.  However that's not how I would normally debug it.  If you're interested in debugging the main part of skewJoinTest then I'd place the breakpoint with the lambda function you're actually interested in debugging rather than needing to step your way manually there through the general withSparkSession code.
As to why it's exiting during your debug session, you should check the logs for indication as to what went wrong.  Look at recent files within tests/target/surefire-reports/ such as tests/target/surefire-reports/scala-test-detailed-output.log to see if an error was logged.  For example, if you're seeing something like Could not allocate native memory: std::bad_alloc: CUDA error in the logs then likely another process is running on the GPU at the time and taking up GPU memory (e.g.: a hung process from an earlier debugging session).  In that case, the nvidia-smi command can be used to find processes that are running on the GPU.

I was able to step into withSparkSession using a debugger successfully. However that's not how I would normally debug it. If you're interested in debugging the main part of skewJoinTest then I'd place the breakpoint with the lambda function you're actually interested in debugging rather than needing to step your way manually there through the general withSparkSession code.
As to why it's exiting during your debug session, you should check the logs for indication as to what went wrong. Look at recent files within tests/target/surefire-reports/ such as tests/target/surefire-reports/scala-test-detailed-output.log to see if an error was logged. For example, if you're seeing something like Could not allocate native memory: std::bad_alloc: CUDA error in the logs then likely another process is running on the GPU at the time and taking up GPU memory (e.g.: a hung process from an earlier debugging session). In that case, the nvidia-smi command can be used to find processes that are running on the GPU.

thanks a lot !
I check the tests/target/surefire-reports/scala-test-detailed-output.log and  i found that the error message is ,like this,
ERROR NativeDepsLoader: Could not load cudf jni library...

and also ,now  i am using MacBook-pro IDEA software to running suite test case ,Without GPU, can it be executed normally？

Without GPU, can it be executed normally？

No, almost all of the RAPIDS Accelerator unit tests require a GPU because they are testing a plugin that executes code on the GPU.  So now we know why it failed, as a unit test requiring a CUDA GPU was run on a platform without that environment.
I too have been running Intellij on a MacBook to step through the unit tests, but the difference is I'm using Intellij as a remote debugger, not running the unit tests locally.  On a Linux machine with a CUDA GPU I executed this command:
mvn test -DwildcardSuites=com.nvidia.spark.rapids.AdaptiveQueryExecSuite -DdebugForkedProcess -Pspark301tests

And then once it said it was listening for a debugger attach I would launch a remote debug session in Intellij with my desired breakpoints set.   Note that -DdebugForkedProcess causes a couple of spurious debugger sessions where no test are run because it discovers no tests in that project.
Closing this issue since the root cause is trying to debug a unit test where it cannot run normally.  Please reopen if you encounter similar issues when trying to debug on a system where the unit test can normally run.

Yes, if you run the tests with -Pspark301tests and override the jars that will be picked up for Spark 3.0.1 in the local Maven repository then that should work.  I recommend updating both the remote machine and your local laptop so the debugger is in sync with your remote machine in case you step into the modified Spark code.
A possibly simpler way to do this is to update the pom to add your own test profile for your custom version of Spark if that Spark is installed or published somewhere, e.g.: -Psparkcustomtests that changes the version of Spark that will be listed as the dependency during the tests run.


Reproducing results of the paper with iMAML

Hi,
Thanks so much for your work, it's very nice and useful.
I am at the moment struggling with trying to reproduce the results of the iMAML paper anyway I can (I tried with the original implementation, see issue here and I am developing my own atm).
I tried with your implementation and got the following results after quite some outer steps:
MT k=37500 (1.726s F: 0.877s, B: 0.847s) Val Loss: 1.80e-02, Val Acc: 99.50.
Test loss 1.04e-01 +- 1.51e-01: Test acc: 96.71 +- 4.27e+00 (mean +- std over 1000 tasks).
MT k=37510 (1.758s F: 0.875s, B: 0.880s) Val Loss: 3.04e-02, Val Acc: 99.33.
MT k=37520 (1.767s F: 0.877s, B: 0.888s) Val Loss: 2.14e-02, Val Acc: 99.42.
MT k=37530 (1.791s F: 0.880s, B: 0.910s) Val Loss: 4.65e-02, Val Acc: 98.33.
MT k=37540 (1.814s F: 0.882s, B: 0.929s) Val Loss: 3.73e-02, Val Acc: 98.50.
MT k=37550 (1.715s F: 0.877s, B: 0.835s) Val Loss: 2.39e-02, Val Acc: 99.17.
MT k=37560 (1.709s F: 0.873s, B: 0.834s) Val Loss: 2.13e-02, Val Acc: 99.08.
MT k=37570 (1.724s F: 0.877s, B: 0.845s) Val Loss: 4.14e-02, Val Acc: 98.17.
MT k=37580 (1.742s F: 0.881s, B: 0.858s) Val Loss: 6.90e-02, Val Acc: 98.08.
MT k=37590 (1.697s F: 0.879s, B: 0.815s) Val Loss: 2.95e-02, Val Acc: 98.67.
MT k=37600 (1.742s F: 0.874s, B: 0.865s) Val Loss: 2.82e-02, Val Acc: 99.08.
MT k=37610 (1.784s F: 0.877s, B: 0.904s) Val Loss: 4.80e-02, Val Acc: 98.50.
MT k=37620 (1.695s F: 0.877s, B: 0.816s) Val Loss: 5.39e-02, Val Acc: 98.50.
MT k=37630 (1.760s F: 0.873s, B: 0.885s) Val Loss: 6.28e-02, Val Acc: 97.92.
MT k=37640 (1.737s F: 0.880s, B: 0.855s) Val Loss: 2.16e-02, Val Acc: 99.33.
MT k=37650 (1.759s F: 0.880s, B: 0.877s) Val Loss: 2.55e-02, Val Acc: 99.08.
MT k=37660 (1.707s F: 0.877s, B: 0.828s) Val Loss: 2.95e-02, Val Acc: 99.08.
MT k=37670 (1.808s F: 0.873s, B: 0.933s) Val Loss: 3.21e-02, Val Acc: 98.92.
MT k=37680 (1.821s F: 0.875s, B: 0.944s) Val Loss: 6.20e-02, Val Acc: 97.67.
MT k=37690 (1.737s F: 0.877s, B: 0.858s) Val Loss: 4.85e-02, Val Acc: 98.58.

As you can see the test accuracy is quite below that reported in the paper (96.7% vs 99.1%) and the std is very high (4.27 vs 0.35).
I was wondering if you had managed to reproduce the results of the original paper.
I also had a few questions regarding your implementation choices:

you use a batch size of 16. I saw that the original implementation uses 32. How did you chose that number?
Could you explain what you mean here? In particular I am not sure what approximation of the paper you are referring to?
You use the batch norm after the activation and the pooling, unlike the original implementation, why?
Again a question regarding the difference between your implementation and the original: you initialize linear weights at zero, why?

Thanks so much for taking the time to read me it's very much appreciated.
Cheers!

Hi @zaccharieramzi,
thanks a lot for your interest in the code :).
I did not try to reproduce the exact numbers in the iMAML paper, but just to implement the main components of the experimental setup. The purpose of the iMAML example is just to showcase what it can be achieved with the hypergradient approximations methods implemented here and possibly be used as a starting point for further research or to apply the method to different data.
As you noticed there are some differences in the implementation which happened by mostly by chance. You can try to modify the implementation to match the one described by the original paper and code to see if this improves accuracy. I'd try first with larger batch size and using the same network (with correct placement of batch norm), possibly tweaking the learning rate. I don't think initialising the final linear layer weights randomly instead of to zero would make much difference.
The approximation I'm referring to here is the hypergradient approximation that they use, which relies on  the conjugate gradient method to solve the linear system.

Ok makes total sense!
Problem is that even with the original implementation I cannot retrieve the numbers stated in the paper.
Will let you know if I get to anything with my own implementation.


#895 fix grid layout

References

Fixes https://github.com/DSpace/dspace-angular/issues/895

Description
Fixing the search grid layout
Instructions for Reviewers
Search >Switch to grid
Checklist

[x] My PR is small in size (e.g. less than 1,000 lines of code, not including comments & specs/tests), or I have provided reasons as to why that's not possible.
[x] My PR passes TSLint validation using yarn run lint
[x] My PR doesn't introduce circular dependencies
[x] My PR includes TypeDoc comments for all new (or modified) public methods and classes. It also includes TypeDoc for large or complex private methods.
[x] My PR passes all specs/tests and includes new/updated specs or tests based on the Code Testing Guide.
[x] If my PR includes new, third-party dependencies (in package.json), I've made sure their licenses align with the DSpace BSD License based on the Licensing of Contributions documentation.

@artlowel Please review this PR

Looks good to me as well.  Since this is tiny & tested, merging immediately.  Thanks @dsipos-dev !


[Joy][Input] Disabled color is not visible on mobile device

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Open the demo on a mobile device (I've tested on an iPhone 12 only). You will see that the disabled input doesn't have a color making the text transparent.
Current behavior 😯
The input disabled color is transparent.
Expected behavior 🤔
I expect it to have the color of the variable --joy-palette-neutral-outlinedDisabledColor.
Context 🔦
No response
Your environment 🌎

Can you check https://deploy-preview-36843--material-ui.netlify.app/joy-ui/react-input/? It's better in my opinion.
The default theme upgrade will be done in #36843. I hope that we can merge it this week and do a beta release next week.


Update user.date_last_login every 8 hours [OSF-7660]

Purpose
Update user.date_last_login less frequently than every request to invalidate cache less frequently
Changes

Fatten model, update after 8 hour threshold

Side effects
None expected. NO_LOGIN_WAIT_TIME and NO_LOGIN_OSF4M_WAIT_TIME are compared against date_last_login, but are 4 and 6 weeks, respectively.
Ticket
[OSF-7660]

These changes are included in #6998


Alignment issue:  Relative clause marking extends systematically by a few too many characters

Hi,
It looks like you are not properly calculating the length of the "rel-cl" label.  The line for that seems to extend several characters too far, systematically.

For example, the relative clause line should end before WOW starts; it should be right-aligned with ...GIVE-1p.

AH - I see the problem:  The field identifier label "relative clause" on the left is too long and pushes everything else in that row over too far to the right.   You could abbreviate that as "relative cl." if that would help...

Fixed


polymer element inside svg tags

Is there any plans to make SVG elements work with polymer?
	<template>
			<circle cx="50" cy="50" r="40" stroke="black" stroke-width="3" fill="red" />
			<my-custom-svg-element></my-custom-svg-element>
	</template>

I cant seem to get the <foreignObject> work around working either. I'm using latest polymer from bower (1.0.4).

We can support this eventually.
Proof of concept here: http://jsbin.com/beqibe/edit?html,output

Hi Kevin,
do you know if this has been fixed already? We'd like to use polymer in our future projects, but this issue is a blocker for us.
Many thanks!

Hi Kevin,
I have the same interest in this.
Is this workaround still the way to go for now?
In which release can one expect a this currently P2 to be fixed?
Thank you!

This is a first go :
https://github.com/Polymer/polymer/pull/3372
C.

@kevinpschaaf Will it be supported? Although @christophe-g didn't find the time for the standard tests, #3372  looks like a promising solution. For full support of webContent there should be a solution for implementing webComponents of different namespaces, and you have by using SVG possibilities to reach high-precision graphic content