Prevent user paying too much in fee by showing a warning when triggering a PSBT

Ticket describing the issue: https://github.com/leather-wallet/extension/issues/5335
The wallet should help users understand when they are spending too much money on fees to avoid situation like the above. We discussed implementing alerts in the PSBT to notify users when they are spending a high amount on fees over a certain value.
To be defined:

Should the value be absolute? If so, how much?
Or Should the value be customizable?

cc @kyranjamie @fabric-8

I think the UX should be aimed at preventing the user from accidentally paying a high fee. I think it should not prevent the user from doing so if they want to. Let them confirm by clicking a check mark for example?
In the example a transfer of 26000 sats is made and the fee is many multiples of the amount being transferred. I think it is safe to warn users when the fee is in access of 10% of the sats being transferred. Perhaps the warning should be more prominent when it is in access 50%?
In case of a simple ordinal transfer, this may not work as well because ordinals are often in small UTXO's such as 500 sat UTXO. Even if fee rates are low (10 sats/vB) it will still cost 2000 sats to transfer such an ordinal (fee:total transfer ratio would be 1:4 (20%) although in this case that would be fine.
Perhaps if you want to limit the amount of warnings (and increase the impact when they are shown) there could be a percentage limit fee compared to total spend. But with a minimum in absolute terms to not bother users with warnings when the absolute fee is relatively low such as those for a normal transfer (140 or 200 vB and moderate fee upto 50 sats/vB?...) we could refrain from showing warnings when absolute fees are 10000 sats or lower for example. Instead of that fixed absolute amount it would be even better to adapt it based on average medium fees on the network, in that case we could multiply: "normal transaction size", lets say 200 vB, * medium fee rate" in that case the minimum amount in which no warning is shown adapts based on fee market conditions.

@mica000 @314159265359879 let's capture input on this warning case here instead of an issue since presumably this doesn't require a new feature per se but rather just an enhancement to the linked warning case (or addition of other warning variants)?


Remove ReShade from feature list (#190)

lmao

Hey bro can u get new version on bloxstrap roblox patched it we didnt play without beta pls fix it fastly

what

what

When the new version of bloxstrap will come?

what's wrong with the current one

what's wrong with the current one

Reshade is broken

did you read v2.3.0's release notes or no

did you read v2.3.0's release notes or no

yes i already readed


CASMCMS-8863: Add --clear-bos option to BOS import tool

Description
One of our disaster recovery scenarios involves a rapid rebuild wherein we do a pseudo-CSM-install and then import data from the old system. In this case, we want to completely remove any data created during the pseudo-install process. To enable this in the case of the BOS data import, this PR adds a "--clear-bos" option to the BOS import tool, which will delete existing BOS sessions and templates before the import is performed.
I tested this on wasp and verified that it works.

Checklist

[x] If I added any command snippets, the steps they belong to follow the prompt conventions (see example).
[x] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in Cray-HPE.
[x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.5 release/1.4 release/1.3


Use lucky egg isnt working

Expected Behavior
"use_lucky_egg": true is working
Actual Behavior
016-08-07 21:26:07,943 [       cli] [INFO] Most Perfect Pokemon:
Traceback (most recent call last):
File "C:\Users\PokemonGo-Bot-devencr\PokemonGo-Bot-dev\pokecli.py", line 501, in
main()
File "C:\Users\PokemonGo-Bot-devencr\PokemonGo-Bot-dev\pokecli.py", line 132, in main
raise e
TypeError: emit_event() got an unexpected keyword argument 'formmated'
Steps to Reproduce
"use_lucky_egg": true
Other Information
Unknown how long it has been broken.

hello,
as you can see the error is
TypeError: emit_event() got an unexpected keyword argument 'formmated'
can you please try to change in pokecli the line
"formmated" to"formated" ?
maybe it fixes the error

See [https://github.com/PokemonGoF/PokemonGo-Bot/issues/2883]

#2912 There is a PR in for this


Another mangling example

>>> def __greet():
...   print("hello")
...
>>> __greet()
hello
>>> class C:
...   def run(self):
...     __greet()
...
>>> C().run()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "<stdin>", line 3, in run
NameError: name '_C__greet' is not defined

Interesting, I'm wondering what should be the right way to call __greet inside the run method then


MARKET TRADE / MY TRADES

This is a cosmetic bug. To reproduce, you must be on an asset that you have already traded in the past in the Exchange tab.

choose the MARKET TRADES tab
Scroll down a bit
Switch to MY TRADES tab
None of your transactions will appear until you scroll up.

This also occurs on all list boxes including buy / sell orderbook's

This issue was moved to bitshares/bitshares-ui#66


Python crashed when calling env.get_state() with use_generated_assets set to True

To reproduce:
from procgen import ProcgenGym3Env

env = ProcgenGym3Env(
    num=1,
    env_name="bossfight",
    use_generated_assets=True
)

rew, obs, first = env.observe()
state = env.get_state()

I found the cause https://github.com/openai/procgen/blob/master/procgen/src/basic-abstract-game.cpp#L1238


RHOAIENG-4963: ModelMesh should support TLS in payload processors

Motivation
See RHOAIENG-4963.
Currently, ModelMesh only supports HTTP payload processors (TLS-enable endpoints not supported).
However, the ModelMesh truststore is not available by default when building a TLS-enabled processor.
Modifications

This PR adds the https protocol as a recognized one for payload processors
If the payload processor is TLS-enabled (https), the ModelMesh truststore will be explicitly loaded in order to be used
If the payload processor is not TLS-enabled (http) ModelMesh will proceed as before this PR

Result
The TLS-enabled payload processor is able to use ModelMesh's certificates in the truststore to perform HTTPS requests.

cc @danielezonca @terrytangyuan

hello @ruivieira
could u please add testing instruction , how it can be tested ?

I was trying to search how the truststore would get populated. The pointer I was able to find is that it is related to the TLS configuration documented here.
If that's the right configurations, and if my understanding is right, for ModelMesh to support payload processors with TLS, it will be necessary to also configure TLS in ModelMesh itself with the same certificates as the payload processors -- i.e. inference endpoints will be protected under HTTPS using the same certificates as the payload processors.
I'd expect the TLS settings of the processors to be independent from the ModelMesh TLS. May I not be seeing something?
If this is the intended behavior, I can approve as upstream CI is passing. But I'd like to get confirmation that this is how it should be.

Hi @israel-hdez
For our use case of the payload processor that is indeed the use case.
In our case, TrustyAI creates an internal Kubernetes service with associated OpenShift Serving Certificates.
When the TrustyAI operator configures ModelMesh (to add this service into the env var MM_PAYLOAD_PROCESSORS), it will also mount the certificates on the ModelMesh pod.
The reason for this PR is that the truststore created by ModelMesh is not available under the default SSL context, unless explicitly loaded.

if you do want ModelMesh to protect the models using the same serving certificate as TrustyAI?

The purpose would be to use the same certificates as TrustyAI for MM's outgoing requests made by the remote payload processor, not necessarily for infer endpoints.
If we have a TrustyAI service listening to payloads at (say) https://trustyai-service.mm.svc.local, the TrustyAI operator sets MM_PAYLOAD_PROCESSORS=https://trustyai-service.mm.svc.local on the mm container and the mm container will forward payloads from inferences to that endpoint.
IIUC simply mounting the secrets is not enough, they must be specified with MM_TLS_KEY_CERT_PATH so that can be imported in https://github.com/opendatahub-io/modelmesh/blob/main/src/main/scripts/start.sh
The other problem is that the truststore created above is not available in the SSL default context, so it's also loaded explicitly.

the TrustyAI operator sets MM_PAYLOAD_PROCESSORS=https://trustyai-service.mm.svc.local on the mm container and the mm container will forward payloads from inferences to that endpoint.

OK, this part is interesting. Maybe it is the context I am missing.
Would this mean that you somehow inject the MM_PAYLOAD_PROCESSORS to the container?
I was mentioning the TLS documented, because that's the usual case. But if you have some other way of injecting MM_PAYLOAD_PROCESSORS to the container, that will solve my doubts.

the TrustyAI operator sets MM_PAYLOAD_PROCESSORS=https://trustyai-service.mm.svc.local on the mm container and the mm container will forward payloads from inferences to that endpoint.

OK, this part is interesting. Maybe it is the context I am missing. Would this mean that you somehow inject the MM_PAYLOAD_PROCESSORS to the container?
I was mentioning the TLS documented, because that's the usual case. But if you have some other way of injecting MM_PAYLOAD_PROCESSORS to the container, that will solve my doubts.

@israel-hdez Just to clarify: the (simplified) TrustyAI/ModelMesh interaction is:

TrustyAI operator (TAO) creates a TrustyAI Service (TAS) deployment and internal service (foo-service) in a namespace via a CR
TAO watches for InferenceServices in that namespace and if a ModelMesh one exists, it will:

Register the TAS as a payload processor (add the MM_PAYLOAD_PROCESSOR=http://foo-service.svc to mm container)

What we want to do is:

TAO creates a TAS deployment and internal service (foo-service) in a namespace via a CR (the same as before)
TAO watches for InferenceServices in that namespace and if a ModelMesh one exists (and MM is still not configured), it will:

Register the TAS as a TLS payload processor (add the MM_PAYLOAD_PROCESSOR=https://foo-service.svc to mm container)
Mount the foo-service serving certificates on ModelMesh

We could do this without changes on ModelMesh, but we need this PR because the generated truststore is not available for the payload processor (we get PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target). So this explicitly loading the trustore so that it is available to the payload processor HTTP client.


Enable jit compile for BH

@rtawfik01 abhullar/bh-compile-fw has some fixes for initializing UMD on BH and getting to FW compile step.
Ill merge this to main so you can take a look at resolving the llk errors

Merged here: #8809 & #8880.
Once runtime works, more llk compilation might need to be fixed, but we can open separate issues for that


Ability to access Canvas view without composer.lock file

The Canvas::installedVersion method uses actually file_get_contents searching for a composer.lock file in project.
If no composer.lock file, it returns an error making it difficult to access the canvas view.
Replacing the actual method lines with the builtin \Composer\InstalledVersions::getPrettyVersion(...) will find the package version in composer.lock if any, and if not, in the composer.json file.
Hope this helps.

Didn't know this utility existed. Thanks for the submission @Itemshopp!
Changed the branch to develop.


UndefVarError: MosekError not defined

I'm getting the following error: UndefVarError: MosekError not defined
Here is the solver output for the model I'm trying to solve and the stack trace. I assume that there is some Mosek error but I cannot see the error because Julia is not seeing the MosekError type.
I'm using JuMP to define my model.
Problem
Name                   :
Objective sense        : max
Type                   : GECO (general convex optimization problem)
Constraints            : 10
Cones                  : 0
Scalar variables       : 11
Matrix variables       : 0
Integer variables      : 0
Optimizer  - threads                : 4
Optimizer  - solved problem         : the primal
Optimizer  - Constraints            : 10
Optimizer  - Cones                  : 0
Optimizer  - Scalar variables       : 11                conic                  : 0
Optimizer  - Semi-definite variables: 0                 scalarized             : 0
Factor     - setup time             : 0.00              dense det. time        : 0.00
Factor     - ML order time          : 0.00              GP order time          : 0.00
Factor     - nonzeros before factor : 16                after factor           : 16
Factor     - dense dim.             : 0                 flops                  : 2.10e+01
ITE PFEAS    DFEAS    GFEAS    PRSTATUS   POBJ              DOBJ              MU       TIME
UndefVarError: MosekError not defined
Stacktrace:
[1] optimize!(::Mosek.MosekMathProgSolverInterface.MosekLinearQuadraticModel) at /Users/mfairley/.julia/v0.6/Mosek/src/MosekLPQCQPInterface.jl:647
[2] optimize!(::Mosek.MosekMathProgSolverInterface.MosekNonlinearModel) at /Users/mfairley/.julia/v0.6/Mosek/src/MosekLPQCQPInterface.jl:1237
[3] #solvenlp#165(::Bool, ::Function, ::JuMP.Model, ::JuMP.ProblemTraits) at /Users/mfairley/.julia/v0.6/JuMP/src/nlp.jl:1271
[4] (::JuMP.#kw##solvenlp)(::Array{Any,1}, ::JuMP.#solvenlp, ::JuMP.Model, ::JuMP.ProblemTraits) at ./:0
[5] #solve#116(::Bool, ::Bool, ::Bool, ::Array{Any,1}, ::Function, ::JuMP.Model) at /Users/mfairley/.julia/v0.6/JuMP/src/solvers.jl:172
[6] #online_cpcam#1(::Int64, ::Function, ::Int64, ::Int64, ::Array{Float64,1}, ::online_lp.##2#8{Int64}, ::online_lp.##3#9{Array{Int64,1}}, ::online_lp.##4#10{Int64}) at /Users/mfairley/Source/mse310/online_lp.jl:35
[7] simulation_q3(::Int64, ::Int64) at /Users/mfairley/Source/mse310/online_lp.jl:80
[8] include_string(::String, ::String) at ./loading.jl:522

Changing line 647 of MosekLPQCQPInterface.jl to
if isa(err, **Mosek**.MosekError)
fixed the UndefVarError  and then resulted in the following error:
SYSTEM: show(lasterr) caused an error
Stacktrace:
[1] msk_nl_getva_wrapper_mpb(::Ptr{Void}, ::Ptr{Float64}, ::Float64, ::Ptr{Float64}, ::Ptr{Float64}, ::Ptr{Int32}, ::Ptr{Int32}, ::Ptr{Float64}, ::Int32, ::Ptr{Int32}, ::Ptr{Float64}, ::Ptr{Int32}, ::Ptr{Int32}, ::Ptr{Int32}, ::Ptr{Float64}, ::Ptr{Float64}, ::Int32, ::Ptr{Int32}, ::Ptr{Int32}, ::Ptr{Int32}, ::Ptr{Float64}) at /Users/mfairley/.julia/v0.6/Mosek/src/MosekLPQCQPInterface.jl:976
[2] macro expansion at /Users/mfairley/.julia/v0.6/Mosek/src/Mosek.jl:19 [inlined]
[3] #343 at /Users/mfairley/.julia/v0.6/Mosek/src/msk_functions.jl:5066 [inlined]
[4] disable_sigint(::Mosek.##343#344{Mosek.Task,Array{Int32,1}}) at ./c.jl:340
[5] optimize(::Mosek.Task) at /Users/mfairley/.julia/v0.6/Mosek/src/msk_functions.jl:5065
[6] optimize!(::Mosek.MosekMathProgSolverInterface.MosekLinearQuadraticModel) at /Users/mfairley/.julia/v0.6/Mosek/src/MosekLPQCQPInterface.jl:644
[7] optimize!(::Mosek.MosekMathProgSolverInterface.MosekNonlinearModel) at /Users/mfairley/.julia/v0.6/Mosek/src/MosekLPQCQPInterface.jl:1237
[8] #solvenlp#165(::Bool, ::Function, ::JuMP.Model, ::JuMP.ProblemTraits) at /Users/mfairley/.julia/v0.6/JuMP/src/nlp.jl:1271
[9] (::JuMP.#kw##solvenlp)(::Array{Any,1}, ::JuMP.#solvenlp, ::JuMP.Model, ::JuMP.ProblemTraits) at ./:0
[10] #solve#116(::Bool, ::Bool, ::Bool, ::Array{Any,1}, ::Function, ::JuMP.Model) at /Users/mfairley/.julia/v0.6/JuMP/src/solvers.jl:172
[11] #online_cpcam#1(::Int64, ::Function, ::Int64, ::Int64, ::Array{Float64,1}, ::online_lp.##2#8{Int64}, ::online_lp.##3#9{Array{Int64,1}}, ::online_lp.##4#10{Int64}) at /Users/mfairley/Source/mse310/online_lp.jl:35
[12] simulation_q3(::Int64, ::Int64) at /Users/mfairley/Source/mse310/online_lp.jl:80
[13] include_string(::String, ::String) at ./loading.jl:522

Printing err as so:
starting at line 646 of MosekLPQCQPInterface.jl
    catch err         println(err)         if isa(err, Mosek.MosekError)             # println(err.rcode)             # println(err.msg)             m.lasttrm = err.rcode         else             rethrow()         end     end
gives
TypeError(:msk_nl_getsp_wrapper_mpb, "typeassert", Mosek.MosekMathProgSolverInterface.CallbackData, Any[Core.Inference.Const(|, false), UInt32, Core.Inference.Const(0xe0, false)])

I printed a model that caused the above typeassert error to help with debugging. Here it is:
Max 32.02254714336948 * x_k + subexpression[1]
Subject to
x_k + s[1] =<PHONE_NUMBER>681782
s[2] =<PHONE_NUMBER>202364
x_k + s[3] =<PHONE_NUMBER>903432
s[4] =<PHONE_NUMBER>079266
s[5] =<PHONE_NUMBER>672142
s[6] =<PHONE_NUMBER>147532
x_k + s[7] =<PHONE_NUMBER>896189
s[8] =<PHONE_NUMBER>20137
x_k + s[9] =<PHONE_NUMBER>341123
x_k + s[10] =<PHONE_NUMBER>589524
s[i] ≥ 0 ∀ i ∈ {1,2,…,9,10}
0 ≤ x_k ≤ 1
subexpression[1]: (10.0 / 10.0) * (log(s[1]) + log(s[2]) + log(s[3]) + log(s[4]) + log(s[5]) + log(s[6]) + log(s[7]) + log(s[8]) + log(s[9]) + log(s[10]))

I am unfamiliar with the GECO interface and it seems poorly tested and rarely used through Mosek.jl. If your model is not LP/QP then it seems as though it should not be going through the LP/(QC)QP (i.e. quadratic) interface MosekLPQCQPInterface.
@mlubin @ulfworsoe

For the majority of models in the same form as above (just with different constraint rhs), Mosek solves the model correctly. For example, I ran 680 iterations of solving models without error until I got to the 681th iteration (the above model) and the TypeAssert error occurred.

There appears to be some randomness to the error. I've run my code multiple times in the same Julia session with the same random seed with the same number of iterations and observed

no errors
the error I put above
a seg fault (output below)

The iteration at which the error occurs also varies between runs of my code.
ERROR: TypeError:
Stacktrace:
[1] msk_nl_getva_wrapper_mpb(::Ptr{Void}, ::Ptr{Float64}, ::Float64, ::Ptr{Float64}, ::Ptr{Float64}, ::Ptr{Int32}, ::Ptr{Int32}, ::Ptr{Float64}, ::Int32, ::Ptr{Int32}, ::Ptr{Float64}, ::Ptr{Int32}, ::Ptr{Int32}, ::Ptr{Int32}, ::Ptr{Float64}, ::Ptr{Float64}, ::Int32, ::Ptr{Int32}, ::Ptr{Int32}, ::Ptr{Int32}, ::Ptr{Float64}) at /Users/mfairley/.julia/v0.6/Mosek/src/MosekLPQCQPInterface.jl:979
[2] macro expansion at /Users/mfairley/.julia/v0.6/Mosek/src/Mosek.jl:19 [inlined]
[3] #223 at /Users/mfairley/.julia/v0.6/Mosek/src/msk_functions.jl:3354 [inlined]
[4] disable_sigint(::Mosek.##223#224{Mosek.Task,Mosek.Soltype,Array{Float64,1}}) at ./c.jl:340
[5] getprimalobj(::Mosek.Task, ::Mosek.Soltype) at /Users/mfairley/.julia/v0.6/Mosek/src/msk_functions.jl:3353
[6] getobjval(::Mosek.MosekMathProgSolverInterface.MosekNonlinearModel) at /Users/mfairley/.julia/v0.6/Mosek/src/MosekLPQCQPInterface.jl:1228
[7] #solvenlp#165(::Bool, ::Function, ::JuMP.Model, ::JuMP.ProblemTraits) at /Users/mfairley/.julia/v0.6/JuMP/src/nlp.jl:1275
[8] (::JuMP.#kw##solvenlp)(::Array{Any,1}, ::JuMP.#solvenlp, ::JuMP.Model, ::JuMP.ProblemTraits) at ./:0
[9] #solve#116(::Bool, ::Bool, ::Bool, ::Array{Any,1}, ::Function, ::JuMP.Model) at /Users/mfairley/.julia/v0.6/JuMP/src/solvers.jl:172
[10] #online_cpcam#1(::Int64, ::Function, ::Int64, ::Int64, ::Array{Float64,1}, ::online_lp.##3#9{Int64,MersenneTwister}, ::online_lp.##4#10{Array{Int64,1},MersenneTwister}, ::online_lp.##5#11{Int64}) at /Users/mfairley/Source/mse310/online_lp.jl:38
[11] #simulation_q3#2(::Int64, ::Function, ::Int64, ::Int64) at /Users/mfairley/Source/mse310/online_lp.jl:84
[12] simulation_q3(::Int64, ::Int64) at /Users/mfairley/Source/mse310/online_lp.jl:73SYSTEM: show(lasterr) caused an error
TypeError(:Tuple, "parameter", Type,
signal (11): Segmentation fault: 11
while loading no file, in expression starting on line 0
jl_typemap_level_assoc_exact at /Users/vagrant/buildbot/worker/package_osx64/build/src/typemap.c:849
jl_typemap_assoc_exact at /Users/vagrant/buildbot/worker/package_osx64/build/src/./julia_internal.h:896 [inlined]
jl_typemap_level_assoc_exact at /Users/vagrant/buildbot/worker/package_osx64/build/src/typemap.c:851
jl_typemap_assoc_exact at /Users/vagrant/buildbot/worker/package_osx64/build/src/./julia_internal.h:896 [inlined]
jl_lookup_generic_ at /Users/vagrant/buildbot/worker/package_osx64/build/src/gf.c:1871
jl_apply_generic at /Users/vagrant/buildbot/worker/package_osx64/build/src/gf.c:1923
show_default at ./show.jl:128
unknown function (ip: 0x10967d6b6)
show at ./show.jl:125
unknown function (ip: 0x10967cb76)
show_default at ./show.jl:140
unknown function (ip: 0x10967aa36)
print at ./strings/io.jl:29
unknown function (ip: 0x109679f76)
print at ./strings/io.jl:40
print_response at ./REPL.jl:158
unknown function (ip: 0x10965bf5d)
print_response at ./REPL.jl:129
unknown function (ip: 0x10965bbdd)
do_respond at ./REPL.jl:646
unknown function (ip: 0x1095e8791)
do_call at /Users/vagrant/buildbot/worker/package_osx64/build/src/interpreter.c:75
eval at /Users/vagrant/buildbot/worker/package_osx64/build/src/interpreter.c:242
eval_body at /Users/vagrant/buildbot/worker/package_osx64/build/src/interpreter.c:539
jl_toplevel_eval_body at /Users/vagrant/buildbot/worker/package_osx64/build/src/interpreter.c:511
jl_toplevel_eval_flex at /Users/vagrant/buildbot/worker/package_osx64/build/src/toplevel.c:571
jl_toplevel_eval_in at /Users/vagrant/buildbot/worker/package_osx64/build/src/builtins.c:496
eval at ./boot.jl:235
jlcall_eval_18068 at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
run_interface at ./LineEdit.jl:1583
jlcall_run_interface_20155 at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
run_frontend at ./REPL.jl:945
run_repl at ./REPL.jl:180
unknown function (ip: 0x109582302)
_start at ./client.jl:413
jlcall__start_18944 at /Applications/Julia-0.6.app/Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
true_main at /Applications/Julia-0.6.app/Contents/Resources/julia/bin/julia (unknown line)
main at /Applications/Julia-0.6.app/Contents/Resources/julia/bin/julia (unknown line)
Allocations: 34306841 (Pool: 34289281; Big: 17560); GC: 72
Segmentation fault: 11

The model below should be solved on conic form using the exponential
cone.The upcoming  MOSEK version 9 supports that. If you want to try that
then contact MOSEK support.
Max 32.02254714336948 * x_k + subexpression[1]
Subject to
x_k + s[1] =<PHONE_NUMBER>681782
s[2] =<PHONE_NUMBER>202364
x_k + s[3] =<PHONE_NUMBER>903432
s[4] =<PHONE_NUMBER>079266
s[5] =<PHONE_NUMBER>672142
s[6] =<PHONE_NUMBER>147532
x_k + s[7] =<PHONE_NUMBER>896189
s[8] =<PHONE_NUMBER>20137
x_k + s[9] =<PHONE_NUMBER>341123
x_k + s[10] =<PHONE_NUMBER>589524
s[i] ≥ 0 ∀ i ∈ {1,2,…,9,10}
0 ≤ x_k ≤ 1
subexpression[1]: (10.0 / 10.0) * (log(s[1]) + log(s[2]) + log(s[3]) +
log(s[4]) + log(s[5]) + log(s[6]) + log(s[7]) + log(s[8]) + log(s[9]) +
log(s[10]))
2017-11-28 3:27 GMT+01:00 Michael Fairley<EMAIL_ADDRESS>
There appears to be some randomness to the error. I've run my code
multiple times in the same Julia session with the same random seed with the
same number of iterations and observed

no errors
the error I put above
a seg fault (output below)

The iteration at which the error occurs also varies between runs of my
code.
ERROR: TypeError:
Stacktrace:
[1] msk_nl_getva_wrapper_mpb(::Ptr{Void}, ::Ptr{Float64}, ::Float64,
::Ptr{Float64}, ::Ptr{Float64}, ::Ptr{Int32}, ::Ptr{Int32}, ::Ptr{Float64},
::Int32, ::Ptr{Int32}, ::Ptr{Float64}, ::Ptr{Int32}, ::Ptr{Int32},
::Ptr{Int32}, ::Ptr{Float64}, ::Ptr{Float64}, ::Int32, ::Ptr{Int32},
::Ptr{Int32}, ::Ptr{Int32}, ::Ptr{Float64}) at /Users/mfairley/.julia/v0.6/
Mosek/src/MosekLPQCQPInterface.jl:979
[2] macro expansion at /Users/mfairley/.julia/v0.6/Mosek/src/Mosek.jl:19
[inlined]
[3] #223 at /Users/mfairley/.julia/v0.6/Mosek/src/msk_functions.jl:3354
[inlined]
[4] disable_sigint(::Mosek.##223#224{Mosek.Task,Mosek.Soltype,Array{Float64,1}})
at ./c.jl:340
[5] getprimalobj(::Mosek.Task, ::Mosek.Soltype) at
/Users/mfairley/.julia/v0.6/Mosek/src/msk_functions.jl:3353
[6] getobjval(::Mosek.MosekMathProgSolverInterface.MosekNonlinearModel)
at /Users/mfairley/.julia/v0.6/Mosek/src/MosekLPQCQPInterface.jl:1228
[7] #solvenlp#165(::Bool, ::Function, ::JuMP.Model, ::JuMP.ProblemTraits)
at /Users/mfairley/.julia/v0.6/JuMP/src/nlp.jl:1275
[8] (::JuMP.#kw##solvenlp)(::Array{Any,1}, ::JuMP.#solvenlp,
::JuMP.Model, ::JuMP.ProblemTraits) at ./:0
[9] #solve#116(::Bool, ::Bool, ::Bool, ::Array{Any,1}, ::Function,
::JuMP.Model) at /Users/mfairley/.julia/v0.6/JuMP/src/solvers.jl:172
[10] #online_cpcam#1(::Int64, ::Function, ::Int64, ::Int64,
::Array{Float64,1}, ::online_lp.##3
https://github.com/JuliaOpt/Mosek.jl/issues/3#9{Int64,MersenneTwister},
::online_lp.##4 https://github.com/JuliaOpt/Mosek.jl/pull/4#10{Array{Int64,1},MersenneTwister},
::online_lp.##5 https://github.com/JuliaOpt/Mosek.jl/pull/5#11{Int64})
at /Users/mfairley/Source/mse310/online_lp.jl:38
[11] #simulation_q3#2(::Int64, ::Function, ::Int64, ::Int64) at
/Users/mfairley/Source/mse310/online_lp.jl:84
[12] simulation_q3(::Int64, ::Int64) at /Users/mfairley/Source/mse310/online_lp.jl:73SYSTEM:
show(lasterr) caused an error
TypeError(:Tuple, "parameter", Type,
signal (11): Segmentation fault: 11
while loading no file, in expression starting on line 0
jl_typemap_level_assoc_exact at /Users/vagrant/buildbot/
worker/package_osx64/build/src/typemap.c:849
jl_typemap_assoc_exact at /Users/vagrant/buildbot/
worker/package_osx64/build/src/./julia_internal.h:896 [inlined]
jl_typemap_level_assoc_exact at /Users/vagrant/buildbot/
worker/package_osx64/build/src/typemap.c:851
jl_typemap_assoc_exact at /Users/vagrant/buildbot/
worker/package_osx64/build/src/./julia_internal.h:896 [inlined]
jl_lookup_generic_ at /Users/vagrant/buildbot/worker/package_osx64/build/
src/gf.c:1871
jl_apply_generic at /Users/vagrant/buildbot/worker/package_osx64/build/
src/gf.c:1923
show_default at ./show.jl:128
unknown function (ip: 0x10967d6b6)
show at ./show.jl:125
unknown function (ip: 0x10967cb76)
show_default at ./show.jl:140
unknown function (ip: 0x10967aa36)
print at ./strings/io.jl:29
unknown function (ip: 0x109679f76)
print at ./strings/io.jl:40
print_response at ./REPL.jl:158
unknown function (ip: 0x10965bf5d)
print_response at ./REPL.jl:129
unknown function (ip: 0x10965bbdd)
do_respond at ./REPL.jl:646
unknown function (ip: 0x1095e8791)
do_call at /Users/vagrant/buildbot/worker/package_osx64/build/
src/interpreter.c:75
eval at /Users/vagrant/buildbot/worker/package_osx64/build/
src/interpreter.c:242
eval_body at /Users/vagrant/buildbot/worker/package_osx64/build/
src/interpreter.c:539
jl_toplevel_eval_body at /Users/vagrant/buildbot/
worker/package_osx64/build/src/interpreter.c:511
jl_toplevel_eval_flex at /Users/vagrant/buildbot/
worker/package_osx64/build/src/toplevel.c:571
jl_toplevel_eval_in at /Users/vagrant/buildbot/worker/package_osx64/build/
src/builtins.c:496
eval at ./boot.jl:235
jlcall_eval_18068 at /Applications/Julia-0.6.app/
Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
run_interface at ./LineEdit.jl:1583
jlcall_run_interface_20155 at /Applications/Julia-0.6.app/
Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
run_frontend at ./REPL.jl:945
run_repl at ./REPL.jl:180
unknown function (ip: 0x109582302)
_start at ./client.jl:413
jlcall__start_18944 at /Applications/Julia-0.6.app/
Contents/Resources/julia/lib/julia/sys.dylib (unknown line)
true_main at /Applications/Julia-0.6.app/Contents/Resources/julia/bin/julia
(unknown line)
main at /Applications/Julia-0.6.app/Contents/Resources/julia/bin/julia
(unknown line)
Allocations: 34306841 (Pool: 34289281; Big: 17560); GC: 72
Segmentation fault: 11
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/JuliaOpt/Mosek.jl/issues/135#issuecomment-347393575,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AJwCccYTKjCdx33u8lq-0crMZpP2y0XTks5s62-KgaJpZM4Qq8rL
.


Update REFERENCE.md- export_file

Add export_file example

@sunank200 @utkarsharma2 Can you help get this over the line please


Unable to build WAR file

Hi, I'm trying to build this project. "mvn clean install" gives me:

[INFO] Scanning for projects...
Downloading: https://app.camunda.com/nexus/content/groups/public/org/camunda/bpm/camunda-bom/7.5.3-ee/camunda-bom-7.5.3-ee.pom
Downloading: https://repo.maven.apache.org/maven2/org/camunda/bpm/camunda-bom/7.5.3-ee/camunda-bom-7.5.3-ee.pom
[ERROR] [ERROR] Some problems were encountered while processing the POMs:
[ERROR] Non-resolvable import POM: Could not find artifact org.camunda.bpm:camunda-bom:pom:7.5.3-ee in camunda-bpm-nexus (https://app.camunda.com/nexus/content/groups/public) @ line 28, column 19
[ERROR] 'dependencies.dependency.version' for org.camunda.bpm:camunda-engine:jar is missing. @ line 46, column 14
@
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project org.camunda.consulting.cockpit.plugin:kpioverview:1.0-SNAPSHOT (C:\Users\me\Desktop\KPI\camunda-consulting-master\snippets\camunda-kpi-monitoring-demo\plugin\cockpit-kpi-overview-plugin\pom.xml) has 2 errors
[ERROR]     Non-resolvable import POM: Could not find artifact org.camunda.bpm:camunda-bom:pom:7.5.3-ee in camunda-bpm-nexus (https://app.camunda.com/nexus/content/groups/public) @ line 28, column 19 -> [Help 2]
[ERROR]     'dependencies.dependency.version' for org.camunda.bpm:camunda-engine:jar is missing. @ line 46, column 14
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException

What can be wrong?

This was build against the enterprise edition of Camunda BPM. Either add
the Enterprise Nexus as a repository and provide your company
credentials in the Maven settings.xml. Or switch to the Community Edition.

Sure, I've missed the "-ee". How can I deploy the plugin if I have .jar file? Thanks.

Deployment of a Cockpit plugin works by adding the jar to the classpath
of Cockpit, i.e. WEB-INF/lib of Camunda Webapp.
Some plugin examples and the Maven Archetype for Cockpit plugins have an
Ant build script to help with that during testing.

@dikey94 I guess we can close this issue as it seems it works out for you


add leading slash to resource id. As it causes the azure operator par…

…se resource id failure

@johnmarco
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

Hello @Court72 . I attempted to sign-off but it failed for some reason. Are you able to merge this or tell me why it failed?

merged


Declaring struct outside 'application' and passing to it

Hello
I am currently working on another networking integration project (this time using message-io), and I am trying to pass  a struct which is defined in the fn main() function, before Dotrix::application.run(). I want to pass this struct without registering it as an ECS in the World (since I am getting freezing due to the nature of the networking framework I using). For exmaple, lets say I have defined a struct to be called MyStruct like this:
struct MyStruct{
    number:u8
}

impl MyStruct{
    fn new()->MyStruct{
        MyStruct{number:10}
    }
}

I then initialize (instance) this struct in the main function, before I run Dotrix::application, like this:
fn main() {

    let my_struct=MyStruct::new();
    let numb=my_struct.number;

    Dotrix::application("FPS printer")
        .with_system(System::from(update).with(RunLevel::Standard))
        .with_service(Frame::new())
        .with_service(Assets::new())
        .with_service(World::new())
        .run();
}

However, I would like to pass this variable my_struct (containing the MyStruct struct), to the function update which I run as RunLevel::Standard. But I am not sure if this possible or not (since it's declared outside dotrix)?
Of course one option which I have tried , is to register this MyStruct once using a function defined to run as RunLevel::Startup,  spawn it and in the world (world.spawn), and then access it from the update function using the world.query:: method. I have tried this method, but it didn't seem to work (game freezes), because the newtworking struct I am trying to instance has it's own while loop (which I do not want to modify).
Hope I explained it well. Please let me know if not clear.... Thanks a lot !
messageio issue.zip

Hi!
What you need is called Service in terms of Dotrix. Try to pass it lie this:
Dotrix::application("FPS printer")
        ...
        .with_service(my_struct)
        ...
        .run();

and then in any system function you can refer it:
fn my_system(mut my_struct: Mut<MyStruct>) {
...
}

or read-only way
fn my_system(my_struct: Const<MyStruct>) {
...
}

This is a standard way when you need something accessible globally and not related to entities in the world

Hi, this is very good, thanks for that! It working now! I close issue :)

I have also got the message-io networking to work in a simple test scene here link

Amazing!

Thanks! It very unoptimized and messy code base, and am sure will have many bugs which I discover as I work with it!


Cut does not work on editor

Describe the bug
I was trying to cut some part of my texts while I was typing in the sufer editor, but I encounter a wierd behavior. The cut text does not cut. It works the same like copy and paste.
To Reproduce

Open the app

Go to the editor and type anything

Cut what you type and paste it

Expected behavior
I was expecting the cut texts should be completely off the editor, and shouldn't work like copy.
Recording Of The Bug

Test Environment
Device; HP pavilion
OS; Windows 8
App version [2.0.6]

@darewealth thanks for reporting. We've revamped editor context menu. And fixed the issue. Will be available with new release soon.


Can't import Bestiary - Ghaele

Can't import the following stat block:
Ghaele (Azata)      CR 13
XP 25,600
Male ghaele (Pathfinder RPG Bestiary 25)
CG Medium outsider (azata, chaotic, extraplanar, good)
Init +5; Senses darkvision 60 ft., detect evil, low-light vision, see invisibility; Perception +20
Aura holy aura (DC 21)
Defense
AC 28, touch 16, flat-footed 26 (+4 deflection, +1 Dex, +1 dodge, +12 natural)
hp 136 (13d10+65)
Fort +17, Ref +11, Will +16
DR 10/cold iron, 10/evil; Immune electricity, petrification; Resist cold 10, fire 10; SR 25
Offense
Speed 50 ft., fly 150 ft. (perfect)
Melee +2 holy greatsword +22/+17/+12 (2d6+12/19-20 plus 2d6 vs. evil)
Ranged 2 light rays +9 ranged touch (2d12)
Special Attacks gaze
Spell-Like Abilities (CL 13th; concentration +16)
Constant—detect evil, holy aura, see invisibility
At will—aid, charm monster (DC 17), continual flame, cure light wounds, dancing lights, detect thoughts (DC 15), disguise self, dispel magic, greater invisibility (self only), greater teleport (self plus 50 lbs. of objects only), hold monster (DC 18), major image (DC 16)
3/day—globe of invulnerability
1/day—chain lightning (DC 19), prismatic spray (DC 20), wall of force
Cleric Spells Prepared (CL 13th; concentration +17)
7th—holy word (DC 21)
6th—banishment (DC 20), heal
5th—flame strike (DC 19), raise dead, true seeing
4th—death ward, dismissal (DC 18), dismissal (DC 18), divine power, restoration
3rd—cure serious wounds, cure serious wounds, cure serious wounds, searing light, searing light
2nd—aid, align weapon, bear's endurance, lesser restoration, lesser restoration
1st—bless, command (DC 15), divine favor, obscuring mist, shield of faith
0 (at will)—detect magic, purify food and drink (DC 14), stabilize, virtue
Statistics
Str 25, Dex 12, Con 20, Int 16, Wis 19, Cha 17
Base Atk +13; CMB +20 (+22 disarm, +22 trip); CMD 36 (38 vs. disarm, 38 vs. trip)
Feats Combat Casting, Combat Expertise, Dodge, Improved Disarm, Improved Initiative, Improved Trip, Lightning Reflexes
Skills Acrobatics +1 (+9 to jump), Diplomacy +19, Escape Artist +17, Fly +25, Handle Animal +19, Knowledge (nature) +16, Knowledge (planes) +19, Perception +20, Sense Motive +20, Stealth +17
Languages Celestial, Draconic, Infernal; truespeech
SQ light form
Other Gear +2 holy greatsword
Ecology
Environment any (elysium)
Organization solitary, pair, or squad (3-6)
Treasure triple (+2 holy greatsword)
Special Abilities
Combat Casting +4 to Concentration checks to cast while on the defensive.
Combat Expertise +/-4 Bonus to AC in exchange for an equal penalty to attack.
Damage Reduction (10/cold iron) You have Damage Reduction against all except Cold Iron attacks.
Damage Reduction (10/evil) You have Damage Reduction against all except Evil attacks.
Darkvision (60 feet) You can see in the dark (black and white only).
Energy Resistance, Cold (10) You have the specified Energy Resistance against Cold attacks.
Energy Resistance, Fire (10) You have the specified Energy Resistance against Fire attacks.
Fly (150 feet, Perfect) You can fly!
Gaze (30 feet, DC 19) (Su) Gaze slays evil creatures less than 5 HD, makes others shaken for 2d10 rds. (Will neg.)
Immunity to Electricity You are immune to electricity damage.
Immunity to Petrification You are immune to Petrification.
Improved Disarm You don't provoke attacks of opportunity when disarming.
Improved Trip You don't provoke attacks of opportunity when tripping.
Light Form (Su) Transform into a form made of light as a standard action.
Light Ray x2 (Ghaele) (Ex) As a standard action, ray deals untyped damage (ignoring all DR).
Low-Light Vision See twice as far as a human in dim light, distinguishing color and detail.
Spell Resistance (25) You have Spell Resistance.
Truespeech (Su) Speak with any creature that has a language.

I got this statblock from Hero Lab.  You might benefit from retesting with aonprd.com.  Sometimes Hero Lab truncates some of the descriptions.
I used the latest Pathfinder system and your latest module to test this.


Make the dev watch work for createPages templates

This fixes the nunjucks engine watch so that it will rebuild the create pages on watch trigger. Without this fix, the dev server explodes with a template error as all of the context variables are undefined upon watch fire.
With this, I don't have to restart the dev server every time I make a change to a template file. It rebuilds every templated/createPage file in the baker config when it notices a change anywhere. (So it's could be slow on a very large number of create pages.)
I've been testing this (and using it on a project for ~6 months) and it appears to work well. There are still some issues with changing assets inside of the _data/ folder, but I'm not sure it's related to this or was an existing issue.

Thank you for this proposal. I'm going to give it a look.
What's the largest number of pages you've tested it on?

I quickly ran a manual examination in my local trunk. When I saved changes to the example/_layouts/object.njk template, the revisions appeared on pages like https://localhost:3000/object/this/ with a simple reload in my browser.
That is the expected behavior, correct?

I quickly ran a manual examination in my local trunk. When I saved changes to the example/_layouts/object.njk template, the revisions appeared on pages like https://localhost:3000/object/this/ with a simple reload in my browser.
That is the expected behavior, correct?

Yes! That's exactly what this PR is supposed to do.

Thank you for this proposal. I'm going to give it a look.
What's the largest number of pages you've tested it on?

The current interactive I'm working on generates just under 1k pages.

Thanks. I'm going to try to install your branch into some existing baker deployment with a larger number of dynamic pages, like these:

https://github.com/palewire/moneyinpolitics.wtf
https://github.com/palewire/cummings.ee
https://github.com/palewire/first-visual-story/

@vnessamartinez, do you have any concerns on this prior to merge?

Hi, @palewire. If it's working on the live pages you tested it on, sounds like it would be OK. Thank you for checking that! We're going to update our Baker version and can flag if we run into any issues with it when we use createPages soon.


Gender-neutral readme are not grammatically correct

https://github.com/oracle/docker-images/commit/76aaed21be5ac7a38a6cd2a5970071920fad9c16#diff-60c937af3f24e7b30d25c60885c985cfR19

In case the user does not want to be prompted, they can use the -confirm option.

Should be replaced with

... users don't want to be prompted, they can use the -confirm option.

The subject of the sentences in this paragraph is "the user."  Since the gender of "the user" is unknown or non-binary the singular-nonbinary use of they is being used.  A similar use would be if I were introducing a friend who preferred to use the pronoun they, I would say, “This is my friend, Jay. I met them at work.”
Reference: https://www.merriam-webster.com/words-at-play/singular-nonbinary-they

@KyleAure is correct regarding the use of the singular non-binary forms of "they" and "them".


Makes metadata field mandatory for rlp-encoded tx

Fixes #189
This change requires that rlp-encoded transaction contains 4 fields: type, inputs, outputs & metadata.
Metadata is decoded to bytes32.
Testing
By an accident we always passing 32-zero bytes as metadata from truffle tests so no changes requires in tests.

Oh then shall we test that it would fail if without metadata?


Release links broken unable to install plugin using grafana-cli

We tried installing the plugin using grafana-cli and it failed.  It seems the release links are no longer valid.
We've worked around this by building the project and installing it manually.

I try to uninstall and appears this:

Error: Object prototype may only be an Object or null: undefined Evaluating http://<IP_ADDRESS>:3000/public/plugins/marcusolsson-json-datasource/module.js Loading plugins/marcusolsson-json-datasource/module
Data Source Error

If I try to delete into /var/lib/grafana/plugins appears this into DATABASE SOURCES

Unknown Plugin
Data Source Error

In the both tests I restarted container!

Thanks both of you for the feedback!
@fpanwaskar Could you share the release link that isn't working?
@MarcosJRcwb Could you share the plugin version and Grafana version that you're using?

Hi Marcus.
Thank you for your support. I'll try to describe as possible what happens here.
I instaled from this repository:
https://grafana.com/grafana/plugins/marcusolsson-json-datasource
The comand was ...

grafana-cli plugins install marcusolsson-json-datasource
... where was excuted into docker container with bash command.

After this issues I delete manual into /var/lib/grafana/plugins.

This actual perspective into Graphana front end (appears gray). Setting any another database as default.

If I try to delete. (Details from graphana version on footnote of picture)

This is graphava version

Below is the output from the failed install:
bash-5.0$ grafana-cli plugins install marcusolsson-json-datasource
installing marcusolsson-json-datasource @ 0.7.1
from: https://grafana.com/api/plugins/marcusolsson-json-datasource/versions/0.7.1/download
into: /var/lib/grafana/plugins
Error: ✗ failed to download plugin archive: Failed to send request: Get "https://github-production-release-asset-2e65be.s3.amazonaws.com/297466190/7d216800-38a6-11eb-87db-0965058e1149?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210104%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210104T113517Z&X-Amz-Expires=300&X-Amz-Signature=c8094fbe6d99421ee5c00a2d3119e96e87cd92d04cc72482285596dc5e20a9ae&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=297466190&response-content-disposition=attachment%3B filename%3Dmarcusolsson-json-datasource-0.7.1.zip&response-content-type=application%2Foctet-stream": dial tcp <IP_ADDRESS>:443: i/o timeout

Below is the output from the failed install:
bash-5.0$ grafana-cli plugins install marcusolsson-json-datasource
installing marcusolsson-json-datasource @ 0.7.1
from: https://grafana.com/api/plugins/marcusolsson-json-datasource/versions/0.7.1/download
into: /var/lib/grafana/plugins
Error: ✗ failed to download plugin archive: Failed to send request: Get "https://github-production-release-asset-2e65be.s3.amazonaws.com/297466190/7d216800-38a6-11eb-87db-0965058e1149?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210104%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210104T113517Z&X-Amz-Expires=300&X-Amz-Signature=c8094fbe6d99421ee5c00a2d3119e96e87cd92d04cc72482285596dc5e20a9ae&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=297466190&response-content-disposition=attachment%3B filename%3Dmarcusolsson-json-datasource-0.7.1.zip&response-content-type=application%2Foctet-stream": dial tcp <IP_ADDRESS>:443: i/o timeout

@MarcosJRcwb I see that you're using Grafana 6.3. Unfortunately, this plugin requires at least Grafana 7.3.0 to work. Are you able to test on a more recent version of Grafana?
@fpanwaskar Hm. Not sure why it times out. I just tried it and it works for me. Either way, I've republished the two latest versions. Could you try again?

@MarcosJRcwb I see that you're using Grafana 6.3. Unfortunately, this plugin requires at least Grafana 7.3.0 to work. Are you able to test on a more recent version of Grafana?
@fpanwaskar Hm. Not sure why it times out. I just tried it and it works for me. Either way, I've republished the two latest versions. Could you try again?

Hi Marcus. (@marcusolsson )
My project is basead on IoTstack https://github.com/gcgarner/IOTstack/ where uses Grafana version is 6.3.3. This version is made to ARM/Debin for Raspberrys 3 or 4.
I tried upgrade to versions 7.0+ by editing YAML but I guess has some other issues.
I'm very satisfied with your support about my case. So I suggest to close my issue.
Congrats!

Hi Marcus. (@marcusolsson )
My project is basead on IoTstack https://github.com/gcgarner/IOTstack/ where uses Grafana version is 6.3.3. This version is made to ARM/Debin for Raspberrys 3 or 4.
I tried upgrade to versions 7.0+ by editing YAML but I guess has some other issues.
I'm very satisfied with your support about my case. So I suggest to close my issue.
Congrats!

Hi @marcusolsson
I tried this again a couple of times and its working fine for me now.
Maybe republishing the two latest fixed, as my connectivity has not changed.
I'm closing the ticket as both issues referenced have been resolved.
Thank you for your support.

Hi @marcusolsson
I tried this again a couple of times and its working fine for me now.
Maybe republishing the two latest fixed, as my connectivity has not changed.
I'm closing the ticket as both issues referenced have been resolved.
Thank you for your support.


Fix orphaned add-ons on submit error (bug 1119331)

When an exception was raised somewhere in the submission flow, the add-on was
saved to the DB but without an owner. The next time someone
tried to upload the add-on, they saw 'Duplicate add-on ID' or 'name is
already in use'. The transaction fixes it. I was able to manually reproduce it
by causing a ValueError before adding the transaction.
See https://github.com/mozilla/olympia/issues/1140 for an example of the type of error that was putting submitted add-ons in an orphaned state.

This problem has existed for a while: https://bugzilla.mozilla.org/show_bug.cgi?id=1119331

You could mock AddonUser to throw an error. It's really tying the test to the implementation but it should work.
r+wc

Thank you so much for fixing this!

Hmm, I tried adding a test but I don't think it will be very helpful.


New Rule: focus-and-hover

Because of usability it is usually good to apply the same rules to both :hover and :focus. Maybe we could add a rule to detect if we forget one of the pseudo-classes (usually it would be :focus).
When enabled, the following are allowed:
a {
  text-decoration: none;
  &:hover,
  &:focus {
    text-decoration: underline;
}

When enabled, the following are disallowed:
a {
  text-decoration: none;
  &:hover {
    text-decoration: underline;
}

I think this makes sense personally, it's a nice usability win and should probably make its way in. Only area to think about is when you actually want to specify separate focus and hover styles which is rare I know but could be possible.

An alternative approach that should be more robust is to require both defined within the parent block if one is used in a declaration.
For example:
.first {
  text-decoration: none;

  &:hover {
    text-decoration: underline;
  }
}
.second {
  text-decoration: none;

  &:focus {
    text-decoration: underline;
  }
}

Would both fail as they have only got one of the pseudo-classes. The following would both pass:
.first {
  text-decoration: none;

  &:hover,
  &:focus {
    text-decoration: underline;
  }
}
.second {
  text-decoration: none;

  &:hover {
    color: red;
  }

  &:focus {
    text-decoration: underline;
  }
}

This enforces accessibility concerns but allows different styling. Another consideration would be :active which is also frequently missed.

Yeah this is how I envisaged having it work after thinking about it a bit more the other day. I think it would be a nice addition to the rulesets. Enforcing hover/focus and also active should probably be 2 separate rules though with our aim of small single purpose rulesets.
Thanks guys will look into it.

Had a look at this today and have got a working version. One thing that I think we need to decide is what to do in the following situation where we have the same selector;
.baz {
    &:focus {
      color: #333;
      text-decoration: underline;
    }
  }
  .baz {
    &:hover {
      color: #333;
    }
  }

Should that be flagged as an issue or not? I'm torn.

IMO no it shouldn't be flagged it's valid the fact that the selectors aren't merged should be left up to another rule. Unless it's something else you aren't sure about.

According to this rule they have both focus and hover on the baz class.

What's the status of this? Anything I can do to help?

Looks like @bgriffith has made an attempt to solve this. Don't know the status of this other than that.

I've pinged @bgriffith and will see what the status is, I'm guessing it's long since disappeared the version of this though. Anyone is obviously welcome to drop a PR in in the meantime and beat him to the punch! 😄


Isolate a snarkos-rpc-types crate

This PR implements the proposal from https://github.com/AleoHQ/snarkOS/issues/438. Its reasoning makes sense, and we might want to expose just the RPC types to external crates.
The one big dependency left is snarkos-network, though we probably do want to reuse its objects as much as possible; we might instead want to isolate a snarkos-network-types crate for alternative/thinner node implementations in the future.
Picking @howardwu as the reviewer, as it's a design call.

Closing the PR as it's either no longer applicable to testnet2. It will probably be filed again against the current branch in the future.


The limit of packet size

From the wire protocol, there's a limited range of packet size which implementations should consider the packet is valid:

the maximum size of any packet is 1280 bytes
the minimum size of any packet is 63 bytes

Currently we support the limit partially, not sufficient. I'll file a PR to improve that. 😃

Ah, I just realized that handling for the minimum size  is implemented already. 😃 💦
https://github.com/sigp/discv5/blob/0ace2b64e9464278d37b0ecb50d58090c59ff50b/src/packet/mod.rs#L407-L411

I think we handle both these cases already.
You've found the minimum size one. The maximum is handled by the recv_from function of the udp socket:
https://github.com/sigp/discv5/blob/master/src/socket/recv.rs#L91
If any packet is sent larger than the maximum, the excess bytes are discarded and the packet will likely fail decoding.
It is therefore impossible to get a packet larger than 1280 bytes in the decode function.


[hotfix][docs] Merge the two Flink POJO definitions to make the definition uniform

I came by this, so I updated the javadoc.
R: @zentol would you mind taking a look to that tiny PR ?

R: @pnowojski as you just merged my other doc fixing PR  :smile:

Thanks Piotr for review / merge !


fixed for mobile screen overlap

Pull Request for WebMasterLog 💡
Issue Title: FIxed for mobile screen overlap
#240

Name of the project : WebMastarLog
Category: CSS
Name: Utsav Ladia
GitHub ID:  utsavladia
**Idenitfy yourself:**GSSOC

Closes: 240
Describe the add-ons or changes you've made 📃
Give a clear description of what have you added or modifications made
Type of change ☑

What sort of change have you made:

[x] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[x] This change requires a documentation update

How Has This Been Tested? ⚙

tested using mobile screen size.
Checklist: ☑

[x] My code follows the Contributing Guidelines & Code of Conduct of this project.
[x] This PR does not contain plagiarized content.
[x] I have performed a self-review of my own code.
[x] I have commented my code, particularly wherever it was hard to understand.
[x] My changes generate no new warnings.

Screenshots 📷

Note to reviewers 📄

@Avdhesh-Varshney  sure I'll try to work with the latest branch and fix this issue accordingly.


jodd-db/QueryParser: don't treat ::foo sequences as named parameters

Hello,
Small patch for DbQueryParser.
Postgresql use value::type syntax for type cast.	DbQueryParser ignore
double colon and create named parameters (some thing like :?).
Patch change DbQueryParser::parseSql - chunks started with :: are copied
to final sql without modification.
Tests updated.

PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our guidelines: https://github.com/oblac/jodd/blob/master/CONTRIBUTING.md
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

Current behavior

New behavior?

Awesome, just in time for the release!


Work Package wp-fl.csv

wp-fl-results.csv

Results of phase |
wp-fl-results.csv

Result of phase 2
wp-fl-results.csv

wp-fl-results.csv

wp-fl-results.csv


Can preallocate these mask arrays outside loop to avoid unnecessarily allocations

https://github.com/alexander-wise/RvLineList/blob/6f57cd6572fb8678bb252fe64019d1e76394317a/src/empirical_line_lists.jl#L45

question: do I need to change the syntax inside the loop to make sure it doesn't re-allocate the memory? like
flux_nan_idx_ij[:] =


Search VR using redundant state

Description
Allow VR's to be searched using its redundant state
Under Infrastructure -> Virtual Routers -> Search box
we can search using "MASTER", "BACKUP" and this will display
the VR's matching the state.

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[X] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)

Screenshots (if appropriate):

How Has This Been Tested?
Login to cloudstack ui
Navigate to Infrastructure -> Virtual Routers and search for state in the search box
This will display all virtual routers matching the state.

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✖debian. JID-1280

Business layer change, explicit smoketests not necessary as Travis passed.
@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos7 ✔debian. JID-1351

@blueorangutan package

@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos7 ✔debian. JID-1359

LGTM, merging based on Travis smoketests and packaging.


Need help finding the right setting under group policy

Hello - I'm a video editor in Charlotte, NC and need some guidance on setting the right to raise the thread priority.   We use Avid software and this is how it authorizes the user as a licensed user.  I had no problems getting IT to set this up at my last facility.  The company I work for now has a corporate IT dept in another state that only responds to emailed cases from the head of IT here.  So they won't call - only email help at their leisure.  Any guidance you can offer would be a massive help.

@RaycomSports . Have you contacted to the avid technical support team?

yes- much of what I am asking is from Avid support.   All testing on my part points to group policy settings- because I can authorize the software as a local admin.  But when I force update the group policy in testing - the authorization is gone.  This also happens on its's own daily with GP being updated by IT.  Avid referred me to three links including here and their case comments posted below in bold.  Appreciate any thoughts.
Refer : https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/increase-scheduling-priority
https://avid.secure.force.com/pkb/articles/en_US/How_To/Windows-User-Rights-Requirements-for-Media-Composer?retURL=%2Fpkb%2Farticles%2Fen_US%2Ferror_message%2FAAE-1177&popup=true

https://avid.secure.force.com/pkb/articles/en_US/how_to/What-should-I-look-for-if-the-Avid-Assist-application-will-not-run-after-installation
We can't dictate what your group policy is, and so a lot of this is going to fall on your (and IT's) shoulders to figure out. It sounds like you are stuck. Here are some considerations, and one of the most important things is that the user MUST have the right to raise the thread priority. Make sure the Avid users on the local machine have that right!

Hello @RaycomSports. Seems like you need to contact Microsoft technical support for this issue. I did find one article that might be what you are looking for: https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-setthreadpriority

Thanks denisebmsft- I'm looking for help anywhere I can find it - and as an editor not an IT guru I'm asking and posting anywhere I can.  Would you or RAJU2529 have any thoughts as to how to narrow my inquiry- contacting Microsoft support seems like a pretty wide open first step.  Any help to narrow the field would be appreciated.

Hello @RaycomSports. Seems like you need to contact Microsoft technical support for this issue. I did find one article that might be what you are looking for: https://docs.microsoft.com/en-us/windows/win32/api/processthreadsapi/nf-processthreadsapi-setthreadpriority. This does not appear to be a documentation issue, so I am going to close it for now. But if you do run into an issue with docs, please let us know.

@RaycomSports , You may follow the below link for setting thread priority
https://www.microsoftpressstore.com/articles/article.aspx?p=2233328&seqNum=7
The avid media application developers team should create group policy templates for windows admx and adml files.
Note: Above link is non-Microsoft website.

Thank you all for the additional input.  RAJU2529 I didn't know that templates could be made and shared regarding group policy.
That's a great idea.

Thank you all for the additional input. RAJU2529 I didn't know that templates could be made and shared regarding group policy.
That's a great idea.

Because I have seen  Many vendors given templates for their products, say Adobe dc arcobat reader, 7-zip, Java.

The corporate level of IT here makes this difficult - when I have built edit facilities elsewhere- I never had this problem because IT was 3 guys.


Django debug toolbar: no attribute 'app_label'

Hey!
When I'm using QuerySetSequence with debug turned on, Django debug toolbar complains that:
AttributeError at /
class _meta has no attribute 'app_label'

env/local/lib/python2.7/site-packages/debug_toolbar/panels/templates/panel.py in _store_template_info
value.model._meta.app_label, value.model.__name__)

I've added app_label = 'QuerySetSequenceModel' to _meta class of QuerySetSequenceModel and it works. But maybe there is a better approach.

@brstra That sounds like it's likely the correct solution, what versions of Django/Django-Debug-Toolbar are you using?

I'm using Django(1.9.5) and Django Debug Toolbar (1.4)

Interesting, I'm not seeing this with Django 1.9.5 and Django Debug Toolbar 1.4. Can you give more specific steps to reproduce the issue? (Does it happen on page load? When clicking a certain panel? Are you seeing a warning? An error?)
Would you be interested in putting up a pull request with the fix? Thanks!

Hmm... As it turns out - it's quite tricky to repeat.
It throws an exception on page load. It happens only in one specific place of my project,  which is absolutely trivial at my point of view.  And I can't figure out at a glance what exactly causes this error.
I'll investigate it more and make a pull request after.

Sounds good! Thanks for the bug report. 👍

Looks like at least some of the panels use it, I'm not 100% sure why it would happen, but that's OK.

@brstra This should be fixed in 6656c0bcc596e1d5e654131b4a459dcfe67e952e. I can do a release if you confirm that this fixes the issue.
Thanks again for the bug report!

Yep, that fixes the issue.
Probably, I need deeper understanding of Django and DjDT to understand why it happens.
For now I can tell you that it was happening while I was calling render shortcut in Django. And if there was QuerySetSequency object in the context I've seen that error. Otherwise, if I've converted the object into the list, or wrapped it with Pagination for example, everything worked smoothly.

Awesome. 👍 I just pushed 0.6 to pypi with this and a couple other minor changes.


[RFC 80] toDate can overflow

In RFC 80 (i.e., the datetime extension), toDate is proposed as a method of datetime. If its meaning is that it should return the date where the instant is, then it could overflow. A counterexample is datetime("1970-01-01").offset(duration("-9223372036854775808ms")).toDate(), which should return the date<PHONE_NUMBER>68<PHONE_NUMBER>854775808/86400000 + 1) days before the Unix epoch, and this date cannot be represented by a long.

I think the answer to this is that we bound duration to be something less than 292 million years. Creating a datetime, via the constructor, is already bounded to years 0-9999 by virtue of it being a 4 digit year requirement. We can say that 10,000 years is the duration limit, and fail on overflow.

To retain analyzability, it is important for every long (64-bit integer) to represent a legal datetime and/or duration.
If we don't do that, we are effectively introducing a subtype of integers ("those that represent legal dates / durations"), and this form of subtyping is not something we can express in the encoding.
So, let's allow all valid 64-bit values as durations, and throw overflow errors when calculations overflow.

I think the answer to this is that we bound duration to be something less than 292 million years. Creating a datetime, via the constructor, is already bounded to years 0-9999 by virtue of it being a 4 digit year requirement. We can say that 10,000 years is the duration limit, and fail on overflow.

Unless I'm mistaken, you can write something like DT.offset("10000y").offset("10000y")... so restricting the constructor doesn't actually restrict the range of valid DTs. I agree with Emina that we should allow all valid 64-bit values for both durations and DateTimes.

Stacking .offset("10000y") would cause the datetime to fall out of the 10,000 year range, and be considered "overflow."

IIUC, what @emina suggests is that there should not be no restrictions on the datetime other than it must be representable by a long. So we cannot establish a 10000 year range.

@shaobo-he-aws: correct. I was responding to the objection that the 10,000 range is easy to circumvent.
By officially supporting this range, we'll be able to market Cedar to new applications -- paleontology (at least up to the Mesozoic era, or so).


update for 0.3.2

@conda-forge-admin, please rerender
Signed-off by: David Rowenhorst<EMAIL_ADDRESS>
Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

@conda-forge-admin, please rerender


[web] CanvasKit - image orientation from EXIF header ignored

Steps to Reproduce

Create the following app:

import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'CanvasKit Image Orientation Bug',
      theme: ThemeData(
        primarySwatch: Colors.blue,
      ),
      home: MainPage(
        title: 'MainPage',
      ),
    );
  }
}

class MainPage extends StatefulWidget {
  MainPage({Key key, this.title}) : super(key: key);

  final String title;

  @override
  _MainPageState createState() => _MainPageState();
}

class _MainPageState extends State<MainPage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: Center(
        child: Image.network(
          'https:///klubraum-playground-assets.storage.googleapis.com/c3f775ca-c9ba-4bcb-95f9-7e65df142f6c.jpg',
        ),
      ),
    );
  }
}

Run the app in Google Chrome using Dom-Canvas: flutter run -d chrome
Run the app in Google Chrome using CanvasKit: flutter run -d chrome --release --dart-define=FLUTTER_WEB_USE_SKIA=true

Expected results:
Both screens should display the image in the correct orientation.

Actual results:
The CanvasKit implementation ignores the image orientation in the EXIF information of the chosen image

Logs

Logs do not contain relevant information.

[✓] Flutter (Channel beta, 1.23.0-18.1.pre, on Mac OS X 10.15.7 19H15 x86_64, locale de-DE)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.2)
[✓] Xcode - develop for iOS and macOS (Xcode 12.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 4.1)
[✓] IntelliJ IDEA Community Edition (version 2020.2.3)
[✓] VS Code (version 1.51.0)
[✓] Connected device (3 available)

• No issues found!

Hi @steffenhaak
I see there's an open issue addressing the case you described.
Please follow up on that issue, I'm closing the current one as a duplicate.
duplicate of https://github.com/flutter/flutter/issues/33572
If you disagree, please write in the comments and I will reopen it.
Thank you

Hi @TahaTesser, thank you for your quick reply :)
I believe this is bug is quite similar, but actually a different case. Let me try to explain. In the mentioned issue (https://github.com/flutter/flutter/issues/33572), the problem appears in the default web backend (DomCanvas).
In my example, DomCanvas actually looks fine and Chrome is rendering the image in the correct orientation. The bug only occurs when using the CanvasKit web backend. Also, referring to the comment of @ferhatb in the existing issue, images in CanvasKit are always loaded through a CORS ajax request and not by means of the browser native image tag, so I do not believe this bug has to be fixed in Chrome but rather in the CanvasKit implementation.
To sum it up,  is strongly believe, we have a CanvasKit bug here.

@steffenhaak
@ferhatb  just added canvaskit label, I believe it would be if we address the whole EXIF issue for Dom or Canvaskit on the original itself
Thank you


added Docker auto build script

Resolved #636

@AnthonyLaw , please double-check that Travis has all the env set. I would hide private ones like DOCKER_USERNAME and DOCKER_PASSWORD but keep visible DOCKER_IMAGE_NAME, MAIN_BRANCH, RELEASE_BRANCH for reference

@fboucquez yes, I added travis env. All is ready 👍

One question @AnthonyLaw , is it possible to send env parameters or to mount a config file into the explorer image to tune the explorer configuration? If I want to change the rest endpoints or change the network type.

One question @AnthonyLaw , is it possible to send env parameters or to mount a config file into the explorer docker image to tune the explorer configuration? If I want to change the rest endpoints or change the network type.

Nope, Explorer is statics web application, it's not support env parameters.
Every change need to prepare before it build.

Hi @AnthonyLaw sorry for the late response.
About the explorer configuration, I'll do a feature request. I would like to make the explorer configurable for different environments and network types so we can apply the configuration when booting an image. Explorer could define a default configuration if no custom is provided.
About the release.sh, I've missed that in the Travis file. You may want to swap, first do the docker image release push, and then the call release.sh that tags and upgrades the version.

Hi @AnthonyLaw sorry for the late response.
About the explorer configuration, I'll do a feature request. I would like to make the explorer configurable for different environments and network types so we can apply the configuration when booting an image. Explorer could define a default configuration if no custom is provided.
I recommend burning a version by doing a dummy release. It's better to fail now that fail when we are doing a system-wide release. I know from experience!

Alright, I will take a look, how can we add environments variable in the statics web application after the build.
if you have any though, let me know as well.


Fix #257 uppercase attribute names will stay uppercased

I've added some unit test, please let me know if I did something "the wrong way".

It looks good to me but 2.0 will use the new Symfony Property Info Component.
Can you:

apply this fix to 1.0
open a PR against symfony/symfony#15858 for 2.0?

@dunglas the PropertyInfo component do not lcfirst properties' names so no need to fix on it :)

@soyuka can you reopen this PR against 1.0, rebase and squash your commits?

This seems to be fixed in 1.0 ;)


MSID: 98622 Version: 1 DOI: 10.1101/2<IP_ADDRESS>6560

MSID: 98622
Version: 1
Preprint DOI: https://doi.org/10.1101/2<IP_ADDRESS>6560
Step 1. Awaiting reviews
Editorial to post reviews via hypothesis
Useful links:

DocMap: https://data-hub-api.elifesciences.org/enhanced-preprints/docmaps/v2/by-publisher/elife/get-by-manuscript-id?manuscript_id=98622
New model tracking: https://docs.google.com/spreadsheets/d/1_fHaoOy7hjyocptKtVJRijeNpUY4hBS7Ck_aVmx6ZJk/
Reviews on sciety: https://sciety.org/articles/activity/10.1101/2<IP_ADDRESS>6560

For trouble shooting (e.g. no Docmaps available):

DocMap issue addressing: https://miro.com/app/board/uXjVNCwK6EI=/
Explore DataHub DocMaps API: https://lookerstudio.google.com/reporting/4c2f0368-babb-4beb-b5b3-497e7e7b0f08/page/ejphD
Unmatched submissions and preprints: https://lookerstudio.google.com/u/0/reporting/9f86204f-3bf7-477c-9b18-5c5ef141bf69/page/p_gxi57ha93c
Unmatched manuscripts spreadsheet: https://docs.google.com/spreadsheets/d/15QcK8w-ssB7109RQEDtFpJPZ0J5HTGxoHa_2TtpMBbg/edit#gid=1336081641

Step 2. Preview reviewed preprint
Production QC content ahead of publication
Instructions:

QC preview: https://prod--epp.elifesciences.org/previews/98622v1
Update ticket with any problems (add blocked label)
When QC OK, add QC OK label to ticket and add publication date and time to https://docs.google.com/spreadsheets/d/1amAlKvdLcaDp5W8Z8g77NmkwbMF5n_u89ArSqPMO8jg
Move card to next column
(At end of the day post link in #enhanced-preprint and ask for PDF to be generated)

Useful links:

Preprint DOI :  https://doi.org/10.1101/2<IP_ADDRESS>6560
Confirm reviews returned by EPP: https://prod--epp.elifesciences.org/api/reviewed-preprints/98622/v1/reviews
To update the MECA path in the docmap: https://docs.google.com/spreadsheets/d/1mctCQuNFBjSn97Lihy7_vBO6z7-N-oqyLv4clyi6zHg

Step 3: Awaiting search reindex
This step adds the reviewed preprint to the homepage: https://elifesciences.org
The search reindex is triggered once an hour. We need the reviewed preprint to be indexed as the search application serves the journal homepage.
Useful links:

Jenkins pipeline to reindex search can be triggered sooner or monitored here: https://alfred.elifesciences.org/job/process/job/process-reindex-reviewed-preprints/

Step 4: Published! PDF requested
Waiting for PDF to be generated
Useful links:

PDF tracking: https://docs.google.com/spreadsheets/d/106_XeDjmuBae7gexOTNzg60lapeqjl2aRn9DzupGyS8/

Step 5: Introduce PDF to data folder and git repo
Upload PDF to relevent folder in git repo https://github.com/elifesciences/enhanced-preprints-data/
Step 6: Done!

[ ] Kettle is on!

Please use https://www.biorxiv.org/content/10.1101/2<IP_ADDRESS>6560v3 for the RP

warn: [mixed-citation-other-publication-flag] mixed-citation in reference (id=c50) has a publication-type='other'. Is that correct?

Hi @FionaBryant, in @acollings's absence could you assist with re-wording the assessment for this one to avoid the use of compelling?

Thanks!

Hi @fred-atherden: tweaked!

Thanks!


Is it possible to dynamically traverse the element in the dom tree and set the focus for specific element ?

I have the requirement to automatically traverse the html elements through the python scripts, then set the focus of the elements in turn, and trigger the key press event to access the corresponding URL of the element.  The Demo is here. So i want to ensure this project whether satify my requirement , and look forward to your replay.

It's possible with the Selenium integration. Please google or ask on StackOverflow for [your question] + Selenium Python. This will give you results that speak about a WebDriver. You can get the WebDriver which Helium uses via get_driver(). So: If a search result says driver.execute_script(...), instead use get_driver().execute_script(...).
Generally, your question is out of scope for this issue tracker, which is about bugs and improvements for Helium. I'm closing this issue. Please ask further questions on StackOverflow.


[BEAM-6960] Go ULR validates runner tests.

This takes about two minutes to run (the bulk of the time spent building the go docker image). Probably even cheap enough for precommit.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

R: @lostluck

LGTM
Looking forward to the Portable Go precommit check :)

Run Python2_PVR_Flink PreCommit


vSphere CPI chart updates to upstream v1.26.0 / v1.25.1 / v1.24.4 / v1.23.4 / v1.22.8

Is your feature request related to a problem? Please describe.
Upstream has released the following new vSphere CPI versions:
https://github.com/kubernetes/cloud-provider-vsphere/releases/tag/v1.26.0
https://github.com/kubernetes/cloud-provider-vsphere/releases/tag/v1.25.1
https://github.com/kubernetes/cloud-provider-vsphere/releases/tag/v1.24.4
https://github.com/kubernetes/cloud-provider-vsphere/releases/tag/v1.23.4
https://github.com/kubernetes/cloud-provider-vsphere/releases/tag/v1.22.8
Describe the solution you'd like
Update the chart to include these new versions (possibly using new Renovate automation - not necessarily a requirement).
Checklist for items that need completed

[x] Update Image-mirror repo
[x] Update manifests in rancher/vsphere-charts
[x] (Non-standard checklist item) Ensure https://github.com/rancher/vsphere-charts/issues/46 is fixed so we include a fix for it as well
[x] Verify Slack hook notified about chart "release" in relevant channels
[x] Update chart in rancher/charts
[ ] Update chart in rancher/rke2-charts (RKE2 team)
[ ] Updated RKE2 to consume new chart (RKE2 team)

synched up @sergey and decided to move all vsphere issues to Q3.

Test Plan
Below are the covered testcases for the CPI chart update
Install CPI chart

Create a rancher server on v2.7-head on vSphere

Login to vsphere engqa-7
Create a vm from template, install docker, then run Rancher v2.7 head on it (this is behind the VPN so Rancher will be able to reach the downstream cluster)

Add vsphere credentials to Rancher
Provision a 3 node RKE1 vSphere cluster in Rancher
Verify downstream cluster is using dev-v2.7 and not release-v2.7
Install CPI chart v1.26
Verify installation completed successfully and deployment/pods are running and healthy

Upgrade k8s version with CPI chart installed

Create a rancher server on v2.7-head on vSphere

Login to vsphere engqa-7
Create a vm from template, install docker, then run Rancher v2.7 head on it (this is behind the VPN so Rancher will be able to reach the downstream cluster)

Add vsphere credentials to Rancher
Provision a 3 node RKE1 vSphere cluster in Rancher

Use k8s version 1.25

Verify downstream cluster is using dev-v2.7 and not release-v2.7
Install CPI chart v1.26
Verify installation completed successfully and deployment/pods are running and healthy
Edit cluster config

Upgrade k8s version from 1.25 to 1.26
Save

Wait for cluster to finish upgrading and come up active
Verify all CPI pods are running and healthy

Upgrade CPI Chart

Create a rancher server on v2.7-head on vSphere

Login to vsphere engqa-7
Create a vm from template, install docker, then run Rancher v2.7 head on it (this is behind the VPN so Rancher will be able to reach the downstream cluster)

Add vsphere credentials to Rancher
Provision a 3 node RKE1 vSphere cluster in Rancher
Verify downstream cluster is using dev-v2.7 and not release-v2.7
Install CPI chart version v1.25
Verify installation completed successfully and deployment/pods are running and healthy
Upgrade CPI chart to version v1.26
Verify installation completed successfully and deployment/pods are running and healthy

Resolved by https://github.com/rancher/vsphere-charts/pull/55.

I believe it is on the end user to set the topology keys themselves by creating tags on the vSphere datacenter and server resources, as per the upstream docs. The vsphere configuration file for the Kubernetes cluster must then list the tags that hold the region and zone values, in the topology-categories value of the Labels section. I'm not sure if any of these tags are set in our vSphere environment?

sent review of test plan separately

Test
Below are the covered testcases for the CPI/CSI chart update
Install CPI/CSI v1.26.0 chart on rke1 cluster - PASS

Create a rancher server on v2.7-head on vSphere

Login to vsphere engqa-7
Create a vm from template, install docker, then run Rancher v2.7-head on it (this is behind the VPN so Rancher will be able to reach the downstream cluster)

Add vsphere credentials to Rancher
Provision a 3 node RKE1 vSphere cluster in Rancher

1 cp/etcd, 2 worker
Add taint node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule to cp/etcd node

Verify downstream cluster is using dev-v2.7 and not release-v2.7
Install CPI chart v1.26

Validate that cpi pod has been deployed and is active
Validate that the taint is removed

Install CSI chart v3.0.0

Validate that a storage class is created for csi
Validate that the user can deploy a workload with a mounted volume

deploy ranchertest/mytestcontainer

mount a volume before creating the deployment

After workload deploys, add data to the volume\

ssh into workload - volume is mounted on root with the name you gave it when creating the volume

Verify data is created in volume

check in vSphere - volumes, or check through rancher

Install CPI/CSI v1.26.0 chart on rke2 cluster - PASS

Create a rancher server on v2.7-head on vSphere

Login to vsphere engqa-7
Create a vm from template, install docker, then run Rancher v2.7-head on it (this is behind the VPN so Rancher will be able to reach the downstream cluster)

Add vsphere credentials to Rancher
Provision a 3 node RKE1 vSphere cluster in Rancher

1 cp/etcd, 2 worker
Add taint node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule to cp/etcd node

Verify downstream cluster is using dev-v2.7 and not release-v2.7
Install CPI chart v1.26

Validate that cpi pod has been deployed and is active
Validate that the taint is removed

Install CSI chart v3.0.0

Validate that a storage class is created for csi
Validate that the user can deploy a workload with a mounted volume

deploy ranchertest/mytestcontainer

mount a volume before creating the deployment

After workload deploys, add data to the volume\

ssh into workload - volume is mounted on root with the name you gave it when creating the volume

Verify data is created in volume

check in vSphere - volumes, or check through rancher

Upgrade k8s version with CPI/CSI chart installed - PASS

Create a rancher server on v2.7-head on vSphere

Login to vsphere engqa-7
Create a vm from template, install docker, then run Rancher v2.7 head on it (this is behind the VPN so Rancher will be able to reach the downstream cluster)

Add vsphere credentials to Rancher
Provision a 3 node RKE2 vSphere cluster in Rancher

Use k8s version 1.25
1 cp/etcd, 2 worker
Add taint node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule to cp/etcd node

Verify downstream cluster is using dev-v2.7 and not release-v2.7
Install CPI chart v1.25

Validate that cpi pod has been deployed and is active
Validate that the taint is removed

Install CSI chart v2.6.2

Validate that a storage class is created for csi
Validate that the user can deploy a workload with a mounted volume

deploy ranchertest/mytestcontainer

mount a volume before creating the deployment

After workload deploys, add data to the volume\

ssh into workload - volume is mounted on root with the name you gave it when creating the volume

Verify data is created in volume

check in vSphere - volumes, or check through rancher

Upgrade k8s version

Edit config
Upgrade k8s version from 1.25 to 1.26
Save

Wait for cluster to finish upgrading and come up active
Verify all CPI pods are running and healthy
Upgrade CPI chart to v1.26

Validate that cpi pod is updated to correct version and is active

Upgrade CSI chart to v3.0.0

Validate that csi storage class is updated to correct version and is active

Edit storage and add new data

ssh into workload - volume is mounted on root with the name you gave it when creating the volume
Verify data is added to volume

Install CPI/CSI chart v1.25.1 on rke2 cluster - PASS

Create a rancher server on v2.7-head on vSphere

Login to vsphere engqa-7
Create a vm from template, install docker, then run Rancher v2.7-head on it (this is behind the VPN so Rancher will be able to reach the downstream cluster)

Add vsphere credentials to Rancher
Provision a 3 node RKE1 vSphere cluster in Rancher

1 cp/etcd, 2 worker
Add taint node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule to cp/etcd node

Verify downstream cluster is using dev-v2.7 and not release-v2.7
Install CPI chart v1.25.1

Validate that cpi pod has been deployed and is active
Validate that the taint is removed

Install CSI chart v2.6.3

Validate that a storage class is created for csi
Validate that the user can deploy a workload with a mounted volume

deploy ranchertest/mytestcontainer

mount a volume before creating the deployment

After workload deploys, add data to the volume\

ssh into workload - volume is mounted on root with the name you gave it when creating the volume

Verify data is created in volume

check in vSphere - volumes, or check through rancher

Install CPI/CSI chart v1.24.4 on rke2 cluster - PASS

Create a rancher server on v2.7-head on vSphere

Login to vsphere engqa-7
Create a vm from template, install docker, then run Rancher v2.7-head on it (this is behind the VPN so Rancher will be able to reach the downstream cluster)

Add vsphere credentials to Rancher
Provision a 3 node RKE1 vSphere cluster in Rancher

1 cp/etcd, 2 worker
Add taint node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule to cp/etcd node

Verify downstream cluster is using dev-v2.7 and not release-v2.7
Install CPI chart v1.24.4

Validate that cpi pod has been deployed and is active
Validate that the taint is removed

Install CSI chart v2.6.3

Validate that a storage class is created for csi
Validate that the user can deploy a workload with a mounted volume

deploy ranchertest/mytestcontainer

mount a volume before creating the deployment

After workload deploys, add data to the volume\

ssh into workload - volume is mounted on root with the name you gave it when creating the volume

Verify data is created in volume

check in vSphere - volumes, or check through rancher

Install CPI/CSI chart v1.23.4 on rke2 cluster - PASS

Create a rancher server on v2.7-head on vSphere

Login to vsphere engqa-7
Create a vm from template, install docker, then run Rancher v2.7-head on it (this is behind the VPN so Rancher will be able to reach the downstream cluster)

Add vsphere credentials to Rancher
Provision a 3 node RKE1 vSphere cluster in Rancher

1 cp/etcd, 2 worker
Add taint node.cloudprovider.kubernetes.io/uninitialized=true:NoSchedule to cp/etcd node

Verify downstream cluster is using dev-v2.7 and not release-v2.7
Install CPI chart v1.23.4

Validate that cpi pod has been deployed and is active
Validate that the taint is removed

Install CSI chart v2.6.3

Validate that a storage class is created for csi
Validate that the user can deploy a workload with a mounted volume

deploy ranchertest/mytestcontainer

mount a volume before creating the deployment

After workload deploys, add data to the volume\

ssh into workload - volume is mounted on root with the name you gave it when creating the volume

Verify data is created in volume

check in vSphere - volumes, or check through rancher


as prop type definitions

I'm currently using the PopupButton component from @typeform/embed-react, and passing a custom React forwardRef component into the as prop. Everything seems to be working perfectly, except TypeScript is complaining that as only supports HTML element tag names.
Is this intended behaviour?

Prop as (introduced in #373) is intended for changing the HTML tag used of the element (eg to use <a> instead of default <button>). We pass it to React.createElement(as, {...} to create the HTML element.


Small fix for TOC entry about using an AKS NAT Gateway

The article talks about managed or user-assigned GW, so not only managed GW.
Also, "Use a ..." is more in line with the other articles.

@MGoedtel

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


Example (and my own code) doesn't work

The example in README.md gives following error:
panic: unexpected reflect.Kind: uintptr [recovered]
panic: unexpected reflect.Kind: uintptr

Same example but saving to ´yaml´ gives the following error:
panic: reflect.Value.Interface: cannot return value obtained from unexported field or method [recovered]
panic: reflect.Value.Interface: cannot return value obtained from unexported field or method

Saving to json seems to work however. All of this is on Windows 10 go1.10.2 windows/amd64

I can confirm this (on macOS). Load() panics if there's no configuration file when using TOML, but not with JSON.


Radial gradient with the SVG backend

Link to PDF file:
https://drive.google.com/open?id=0B12AhxvnYHrATm5Tb0VLcjloUWc
Configuration:

Web browser and its version: Firefox 51.0.1
Operating system and its version: Windows 7
PDF.js version: build: "35102c02", version: "1.7.267"
Is an extension: no

Steps to reproduce the problem:

Set the viewer renderer to SVG with PDFViewerApplication.preferences.set('renderer', 'svg')
Load the PDF

What is the expected behavior? (add screenshot)

What went wrong? (add screenshot)
canvas looks almost correct:

svg show just black background:

Link to a viewer (if hosted on a site other than mozilla.github.io/pdf.js or as Firefox/Chrome extension):

same issue ,how to fix?

@timvandermeij the second image is rendered using the canvas backend so this is not just svg issue.

Better test https://github.com/mozilla/pdf.js/blob/master/test/pdfs/gradientfill.pdf

Fixed partially by #10646.
Must implement these operators for https://drive.google.com/open?id=0B12AhxvnYHrATm5Tb0VLcjloUWc

Warning: Unimplemented operator beginGroup
Warning: Unimplemented operator endGroup
Warning: Unimplemented graphic state BM
Warning: Unimplemented graphic state SMask

The radial gradient still doesn't look the same as Evince.
tf00001176.pdf


fix: add admin signer

Bumps admin module in which:
added signer for the MsgAddAdmin and MsgDeleteAdmin.
This allows for sending these messages using stargate.

https://github.com/neutron-org/neutron-tests/actions/runs/10456280537


Update runtime components to access system profiles from the system instance

Overview
As part of #3545, systems are passed their profile via the constructor. With the PR series that started with #4099, client code can access system instances from the service registry.
This change updates runtime and client code (with a small set of exceptions) to access system profiles directly from the system instance. For example:
 MixedRealityInputAction[] actions = InputSystem.InputSystemProfile.InputActionsProfile.InputActions;

NOTE:
While this is a breaking change, it is purely additive for code that consumes services. Services themselves will require updating to support IMixedRealityService.ConfigurationProfile and .Profile properties.
Changes to handle editor code (and the set of remaining runtime files) are forthcoming.
Fixes: #4335
Testing performed

Play mode, solver demo scene (select objects, teleport)

OpenVR
Windows Mixed Reality Immersive

Edit mode test automation

/asp run mrtk_pr

/azp run mrtk_pr

/azp run mrtk_pr

/azp run mrtk_pr

This was a bad change. The profiles are meant to be primers for the services to use for initialization and then the properties on those services should be what consumers use to modify the service.


Azure Web App Alert: Mixing synchronous code with asynchronous code

We are using the DataverseServiceClient in an Azure App Service and have received an email alert from Azure App Service analytics saying that Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.GetCachedService "is calling Task.Result and is synchronously waiting on the Task object, which can lead to deadlocks in the process ... Please review the call stack closely and make sure that your code is using the C# await keyword."
The alert references the Microsoft document "Async All the Way" to "ensure that the code is following recommendations to avoid deadlocks and to improve app performance."
Below is the relevant portions of the call stack in the alert:
System.Threading.ManualResetEventSlim.Wait
System.Threading.Tasks.Task.SpinThenBlockingWait
System.Threading.Tasks.Task.InternalWait
System.Threading.Tasks.Task`1[[System.__Canon mscorlib]].GetResultCore
Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.GetCachedService
Microsoft.PowerPlatform.Dataverse.Client.ConnectionService.IntilizeService
Microsoft.PowerPlatform.Dataverse.Client.ServiceClient.CreateServiceConnection
Microsoft.PowerPlatform.Dataverse.Client.ServiceClient..ctor
Line 951 of Microsoft.PowerPlatform.Dataverse.Client.ConnectionService does indeed appear to be calling .Result on a task:
IOrganizationService localSvc = InitServiceAsync().Result;
From a few discussion threads and other issues, I know Async is still a work-in-progress, that the API is still mostly sync and that various patterns are needed depending on the situation, but figured it wouldn't hurt to post the alert. I'm sure we won't be the only ones to see this alert.

@TW-JCP ,  thanks for the post,  Yes we are aware of this and its an unfortunate by product of a few different challenges we are trying to reconcile without creating a significant breaking behavior in customer upgrade paths.
Currently the plan is to deal with this by adding a "connectasync()' behavior that would be used in conjunction with the deferred connection behavior we added in 1.0 .
This will be added a bit later as we work though some other issues with it.
thanks
MattB


Less boilerplate in models/ unit tests

Change signature of AssertExistsAndLoadBean so that test fixtures can be loaded in a single line of code. Also add calls to AssertExistsAndLoadBean and AssertNotExistsBean to eliminate duplicated logic.

LGTM

LGTM


Create a start page for wallet application for preview envs

We should be able to test the wallet the way users will directly on the preview links from the repository, enabling anyone to play with the wallet.
This task should implement this start page with some actions;

Open Wallet
See storybook

Should we do some kinda a design for this or we're talking just about buttons? @luizstacio

Should we do some kinda a design for this or we're talking just about buttons? @luizstacio

Just two buttons centered are good for now.


Estute/debugging pr 142

WIP

This is very out of date, closing.

Although this pull request is already closed,  I'm still watching it for updates.
There is nothing you have to do. No action is needed from your side.  Thanks.