update jupyterbook toc links to splash pages

As I pointed out during our meeting yesterday, the links to the teams and schedule on the splash page weren't showing up in the Jupyterbook. The links weren't pointing specifically to the jupyter-template repo github.io page.

Note: the jupyterbook front page links are hard coded via the website_url parameter, so they won't point to the preview-built pages in a PR.

@jomey Do we need to specifically create the #section tags in our cookiecutter file so they exist on the splash page? If I use - url: https://uwhackweek.github.io/jupyterbook-template/ in the _toc.yml the entries generate fine (but only go to the top of the page), but as soon as I add #team (- url: https://uwhackweek.github.io/jupyterbook-template/#team) there's something about them jupyterbook doesn't like, so they don't show up in the TOC. There's no warning or error message I can find (even with --verbose) to indicate a problem, and entering the links directly into a browser works fine.

@jomey @scottyhq Any ideas what jupyterbook doesn't like? If I use - url: https://uwhackweek.github.io/jupyterbook-template/ in the _toc.yml the entries generate fine (but only go to the top of the splash page), but as soon as I add #team (- url: https://uwhackweek.github.io/jupyterbook-template/#team) there's something about them jupyterbook doesn't like, so they don't show up in the TOC. There's no warning or error message I can find (even with --verbose) to indicate a problem, and entering the links directly into a browser works fine. The links to the team and schedule section on the home page of the jupyterbook also work fine, so I'm guessing it's something in jupyterbook's creation of the toc that's causing them to get lost?

Let me have a quick peak locally

For anyone watching - we've gotten as far as figuring out that the Jupyterbook toc-url directive doesn't seem to like anchor tags...

Couldn't figure out why JupyterBook in combination with the sphinx-external-toc extension was not happy with hashes '#' in TOC urls. Added some simple logic on the main splash site to navigate to a section when requested via URL parameter. Added benefit is that this now behaves identical to clicking on a link in the navigation bar.
Open to reverting this again if this feels as too much custom logic.

Note: When testing this, make sure you use the preview URL. Right now we have
https://uwhackweek.github.io/jupyterbook-template/index.html
in the TOC and this is the test URL:
https://deploy-preview-64--hackweek-template.netlify.app/index.html?jump_to=team

@jomey This looks like a great workaround to me (see my suggested changes to fix switched links).

Couldn't figure out why JupyterBook in combination with the sphinx-external-toc extension was not happy with hashes '#' in TOC urls.

Do you think we ought to file a bug report with JupyterBook?

Couldn't figure out why JupyterBook in combination with the sphinx-external-toc extension was not happy with hashes '#' in TOC urls.

Do you think we ought to file a bug report with JupyterBook?

Ultimately yes, I would love to figure out a few more details and then file with the appropriate project. Right now I can’t pinpoint if this is JupyterBook, sphinx-external-toc, or an issue somewhere in between those two.


Support RoboSense Lidar (RS16, RS32, RS128, RSBP)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.YufanFang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


⚠ Bofrost.de has degraded performance

In 68d7982, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1175 ms

Resolved: Bofrost.de performance has improved in cf324a9.


Offer monadic Blaze-style interface for writing VTrees

The more I use vtree, the more convinced I am that a vtree DSL should be a separate project, akin to how virtual-hyperscript is a different project than virtual-dom (even though they are in the same repo).  There are lots of opinionated ways to design an interface that is easy to use and hides all the little quirks of building vtrees manually.

Agreed :) I changed my mind a bit about the direction of this from when I first started working on it - as mentioned in your options PR, I think it's probably more useful to have this as a low level thing that hopefully other people will build on top of.
@bodil's smoulder had a virtual-dom renderer until recently, that could be revived, and @paf31 has scrap-your-markup which would also be well suited to a virtual-dom interpreter at some point.


SEO improvements

Category

[ ] Content fix
[ ] New article
[x] Site improvement

Contents of the Pull Request

improve SEO meta tags
closes #580

Awesome work @andrewconnell 🚀


Bad Request: chat not found (But user exists)

I dont know why i'm getting the chat not found for users whom /start the bot! I'm 100% user started to my bot some times telegram give me this error: "Bad Request: chat not found"
It happens some times, But again, i save the users telegram_id in my db and 100% sure the user started my bot.

Are you sure that the user wrote to your bot in a private chat and not in a group chat?

Are you sure that the user wrote to your bot in a private chat and not in a group chat?

Nope, It disabled from botfather in first place, It happened several month ago but it came today

Could you send bot's username and the user_id to https://t.me/tdlib_bot?

sent

Thank you. This was fixed.

Thank you. This was fixed.

how you fixediam also having same problems

@akhilbro12
Are you sure that the user wrote to your bot in a private chat and not in a group chat?

No not, it's private group no one is there just for reference I have tested and facing this issue, I have no idea why this is happening! And for /start command pm also same problem

Bots can't start conversations with users. The user must send them a message first.


Beingdragged issue

It works better for me. Maybe you have some use case where it won't, if you don't display the "Loading" thing right away

Rebase is your friend.


Display error message if user tries to open in-accessible project

We should display an error message if user doesn't have access to a project (often given by other user via URL)

done


Edit data gets back empty data set upon attempting to edit the first cell of new row

Click on the first cell of the new row and then attempt to click on the next cell right next to the commit, the resulting error is that the data set is empty and the table disappears

Fix is merged to release branch for June.


tar: revert to previous mode bits, fix importing

This reverts https://github.com/ostreedev/ostree-rs-ext/pull/220.
But it keeps a patch which should be fixing the underlying import bug.

Let's try https://github.com/ostreedev/ostree-rs-ext/pull/223 instead?  I think since we do have the format version it'd be good to try to fix this in the new one.


vm methods don't propagate changes to dependant methods

label(data-bind="text: full")
button(data-bind='click: updateName') button

vm = new ViewModel
	first: (middle)-> unless middle? then 'John' else 'John ' + middle
	last: 'Doe'
	full: -> "Full name is " + @first() + ' ' + @last()
	updateName: -> @first("Boy-scout")

Initially label displays 'Full name is John Doe'. After clicking the btn it should change to 'Full name is John Boy-scout Doe'. But it doesn't.

You misunderstand how reactivity works. There's nothing in the function first that makes it reactive. For a function to be reactive it needs to use something that calls .depend() on a dependency. Sessions, ReactiveVars, Mongo collections, ReactiveArrays, etc. all do it for you so you rarely need to do it yourself. ViewModel properties also do it for you automatically.
In your example you have to do:
vm = new ViewModel
    first: -> if @middle() then 'John ' + @middle() else 'John'
    middle: ''
    last: 'Doe'
    full: -> "Full name is " + @first() + ' ' + @last()
    updateName: -> @middle("Boy-scout")

In this case ViewModel is calling .depend() for you when you access @middle() from the function first.

I see. But that's a little cumbersome - adding a middleman property.
Can't methods act as reactive sources automatically? Is that hard to implement?

It's only cumbersome because the initial example is cumbersome. You don't want to be caught dead writing that on a real app.
vm = new ViewModel
  first: 'John'
  middle: ''
  last: 'Doe'
  fullName: ->
    mid = if @middle() then ' ' + @middle() + ' ' else ' '
    @first() + mid + @last()

That way fullName returns the right value if you update first, middle, or last. You don't need an update function.

Can't methods act as reactive sources automatically?

Again, they are reactive as long as they use a reactive source. This isn't a ViewModel issue, you'll have the same problem with any other piece of Meteor if you expect to get reactivity out of non reactive objects. For example your original first function will not rerun inside a Tracker.autorun.
I recommend watching https://www.meteorcasts.net/ep/11 and then reading https://github.com/meteor/meteor/wiki/Tracker-Manual

You don't need an update function - then how would I update vm.middle by clicking the button?

The label automatically updates itself as either first, middle, or last
change.
On Sep 30, 2015 1:17 PM, "Artem Saffron"<EMAIL_ADDRESS>wrote:

You don't need an update function - then how would I update vm.middle by
clicking the button?
—
Reply to this email directly or view it on GitHub
https://github.com/ManuelDeLeon/viewmodel/issues/115#issuecomment-144511653
.

You mean like: $('button').click(->vm.middle("Boy-scout"))?

Yes but you wouldn't use jQuery and chances are you don't need to create
the view model with the constructor and reference it throughout your code
(vm).
On Sep 30, 2015 11:56 PM, "Artem Saffron"<EMAIL_ADDRESS>wrote:

You mean like: $('button').click(->vm.middle("Boy-scout"))?
—
Reply to this email directly or view it on GitHub
https://github.com/ManuelDeLeon/viewmodel/issues/115#issuecomment-144628471
.

Btw, i really think you're caught up in a bad example.
On Oct 1, 2015 4:59 AM, "Manuel De Leon"<EMAIL_ADDRESS>wrote:

Yes but you wouldn't use jQuery and chances are you don't need to create
the view model with the constructor and reference it throughout your code
(vm).
On Sep 30, 2015 11:56 PM, "Artem Saffron"<EMAIL_ADDRESS>wrote:

You mean like: $('button').click(->vm.middle("Boy-scout"))?
—
Reply to this email directly or view it on GitHub
https://github.com/ManuelDeLeon/viewmodel/issues/115#issuecomment-144628471
.

Btw, i really think you're caught up in a bad example.
On Sep 30, 2015 11:56 PM, "Artem Saffron"<EMAIL_ADDRESS>wrote:

You mean like: $('button').click(->vm.middle("Boy-scout"))?
—
Reply to this email directly or view it on GitHub
https://github.com/ManuelDeLeon/viewmodel/issues/115#issuecomment-144628471
.


#31 - Attempting to fix the bug by adding conditional checks

This was the https://nextjs.org/docs/messages/dynamic-server-error fixed by appropriately removing the header and scoping the API call


BUG: No change in color on hover of the social media icons on the footer of Buy Products unlike other pages .

Is there an existing issue for this?

[X] I have searched the existing issues

What happened?
No change in color on hover of the social media icons on the Buy Products page unlike other pages . In other pages there is a color change when we hover on these but not on the buy products page .
https://github.com/user-attachments/assets/97039a39-e120-489c-9f59-e3d6022aa395

Assign this task to me and I can fix this issue .
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

@Suchitra-Sahoo consider this issue as well .


[pfe-select] Triangle icon not registering click event

Description of the issue
The triangle icon does not function as a clickable part of the select component. This means that if someone clicks on the icon that the select drop-down will not expand.
Impacted component(s)

pfe-select

Steps to reproduce

Go to https://patternflyelements.com/components/select/
Click on the triangle icon on any of the demo components
Note that the component does not activate

Expected behavior
The icon should be a clickable option for mouse users to expand and collapse the select component.

@KamiQuasi looks like the triangle has disappeared entirely


Feature Request - Ability to fallback to cookies instead of InMemory

+1, that would be great. defaultDriverType looks like ordinary driver type, it falls back to DRIVERS.MEMORY in useDriver anyway.
I guess that providing a set of drivers in the order of their preference (like in localForage) would solve the issue.


Recent benchmarks of Kernelized GPU ODE solvers with MPGOS

Comparison of GPUTsit5 with MPGOS:
I used this script here (The author who compared MPGOS and Julia Stuff earlier) https://discourse.julialang.org/t/performance-problems-with-parallel-ensemble-simulation-on-gpu/34596 (taking minimum of simulation times), and it seems that we are currently faster than MPGOS,in terms of only the raw solve.
Threads = 768000
Batch size = 768000
GPUTsit5:
println("Minimum time: "*string(minimum(data.times)/1e6)*" ms")
Minimum time: 14.594967 ms

MPGOS:
Total simulation time:           16.749ms
Simulation time / 1000 RK4 step: 16.749ms
Ensemble size:                   768000

Here is the log-log plot of simulation times plotted with the number of trajectories.

Caveat:
Some of the issues with using DiffEqGPU API with GPUTsit5 is listed here: #171. So, to extract maximum performance from these solvers, I custom-generated ensemble problems as shown in the script below and call the lower-level API directly.
using OrdinaryDiffEq, DiffEqGPU, BenchmarkTools, StaticArrays, CPUTime, SimpleDiffEq
using CUDA

@show ARGS
#settings
numberOfParameters = 768000
gpuID = 0

device!(CuDevice(gpuID))
println("Running on "*string(CuDevice(gpuID)))

function lorenz(u, p, t)
    σ = p[1]
    ρ = p[2]
    β = p[3]
    du1 = σ * (u[2] - u[1])
    du2 = u[1] * (ρ - u[3]) - u[2]
    du3 = u[1] * u[2] - β * u[3]
    return @SVector [du1, du2, du3]
end

u0 = @SVector [1.0f0; 0.0f0; 0.0f0]
tspan = (0.0f0, 10.0f0)
p = @SVector [10.0f0, 28.0f0, 8 / 3.0f0]
prob = ODEProblem(lorenz, u0, tspan, p)

parameterList = range(0.0f0,stop = 21.0f0,length=numberOfParameters)

lorenzProblem =  ODEProblem(lorenz,u0,tspan,p)
#parameterChange = (prob,i,repeat) -> remake(prob,p=parameterList[i]) #it has slightly more allocations
prob_func = (prob, i, repeat) -> remake(prob, p = (@SVector [parameterList[i], p[2] ,p[3]]))

ensembleProb = EnsembleProblem(lorenzProblem,prob_func = prob_func)

## Building problems here only
I = 1:numberOfParameters
if ensembleProb.safetycopy
    probs = map(I) do i
        ensembleProb.prob_func(deepcopy(ensembleProb.prob), i, 1)
    end
else
    probs = map(I) do i
        ensembleProb.prob_func(ensembleProb.prob, i, 1)
    end
end

## Make them compatible with CUDA
probs = cu(probs)

@info "Solving the problem"
data = @benchmark @CUDA.sync DiffEqGPU.vectorized_solve($probs, $ensembleProb.prob, GPUSimpleTsit5();
save_everystep = false, dt = 0.01f0)

println("Parameter number: "*string(numberOfParameters))
println("Minimum time: "*string(minimum(data.times)/1e6)*" ms")
println("Allocs: "*string(data.allocs))

To be fair, vectorized_solve does really represent the exact solve time because benchmarking should not include conversion other extraneous overheads. DiffEqGPU provides ease for the users to provide generic API compatible with other stuff from DifferentialEquations.jl.
Possible Solution:
Write a completely different API, which will require to build the users to build problems on their own and pass those array of problems to GPUTsit5.

The script used for MPGOS: https://github.com/nnagyd/ode_solver_tests/blob/master/Lorenz_RK4/GPU_MPGOS/Lorenz.cu

I wonder if the architecture specified in their makefile is why we doing see better MPGOS results on the newer hardware. https://github.com/nnagyd/ode_solver_tests/blob/master/Lorenz_RK4/GPU_MPGOS/makefile

It looks like your v100 is sm_70.

I am testing on a clean OS with an A100 40 GB GPU and
(@v1.8) pkg> st
Status `~/.julia/environments/v1.8/Project.toml`
  [6e4b80f9] BenchmarkTools v1.3.1
  [a9c8d775] CPUTime v1.0.0
  [052768ef] CUDA v3.12.0
  [071ae1c0] DiffEqGPU v1.20.0
  [1dea7af3] OrdinaryDiffEq v6.29.3
  [05bca326] SimpleDiffEq v1.7.0
  [90137ffa] StaticArrays v1.5.9

and am getting the following during the DiffEqGPU.vectorized_solve
ERROR: InvalidIRError: compiling kernel #tsit5_kernel(CuDeviceVector{ODEProblem{SVector{3, Float32}, Tuple{Float32, Float32}, false, SVector{3, Float32}, ODEFunction{false, SciMLBase.AutoSpecialize, typeof(lorenz), LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing}, Base.Pairs{Symbol, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, SciMLBase.StandardODEProblem}, 1}, CuDeviceMatrix{SVector{3, Float32}, 1}, CuDeviceMatrix{Float32, 1}, Float32, CallbackSet{Tuple{}, Tuple{}}, Nothing, Int64, Nothing, Val{false}) resulted in invalid LLVM IR
Reason: unsupported dynamic function invocation (call to apply_discrete_callback!)
 I was checked on development and hence made that change.

For A100:
Parameter number: 768000
Minimum time: 9.799917 ms
Allocs: 97

Okay yeah, so expected. A100's better than Tesla V100 and hence faster 14.6ms.
Let me generate scripts for plotting + testing against MPGOS, and I'll share them with you.

MPGOS w/ default makefile
Total simulation time:           14.429ms
Simulation time / 1000 RK4 step: 14.429ms
Ensemble size:                   768000

removing the architecture and maxregisters from the MPGOS makefile has virtual no impact on the results

I got similar results too and tried with sm_70 architecture as well. Can you run for 768 Ensemble size to check if we are getting that huge perf increase as shown in the plots?

Where do I set the ensemble for MPGOS?

I think it is this: https://github.com/nnagyd/ode_solver_tests/blob/master/Lorenz_RK4/GPU_MPGOS/Lorenz.cu#L17
And do:
make clean
make

Julia
Parameter number: 768
Minimum time: 0.196175 ms
Allocs: 46

MPGOS
Total simulation time:           3.115ms
Ensemble size:                   768

@ChrisRackauckas

@utkarsh530 Are you sure we are simulating the same things as MPGOS? https://github.com/nnagyd/ode_solver_tests/blob/master/Lorenz_RK4/CPU_Julia/CPU_Lorenz_julia_ensemble.jl has a 384 dim ODE.

Ignore the link above. It seems like they have code for single and coupled systems. However, the MPGOS single system still doesn't match what you are simulating.
They are varying ρ not σ. Its also not clear from the code what their IC and time range is.
Below more explicitly matches the MPGOS ODE.
function lorenz(u, p, t)
    du1 = 10.0f0 * (u[2] - u[1])
    du2 = p*u[1] - u[2] - u[1]*u[3]
    du3 = u[1]*u[2] - 2.666f0 * u[3]
    return @SVector [du1, du2, du3]
end

u0 = @SVector [1.0f0; 0.0f0; 0.0f0]
tspan = (0.0f0, 10.0f0)
p = 28f0
prob = ODEProblem(lorenz, u0, tspan, p)

parameterList = range(0.0f0,stop = 21.0f0,length=numberOfParameters)

lorenzProblem =  ODEProblem(lorenz,u0,tspan,p)
prob_func = (prob, i, repeat) -> remake(prob, p = parameterList[i])

I also added tols to match as well
data = @benchmark @CUDA.sync DiffEqGPU.vectorized_solve($probs, $ensembleProb.prob, GPUSimpleTsit5();
save_everystep = false, dt = 0.01f0, abstol=1f-8, reltol=1f-8)

It doesn't really change the timing luckily
Parameter number: 768000
Minimum time: 9.704811 ms

I am not sure about that actually, but what they are trying to do is change unroll which sets the number of Lorenz problems to solve on a single thread. See here in the Ensemble case, (where they are setting trajectories as numberOfParameters/unroll): https://github.com/nnagyd/ode_solver_tests/blob/master/Lorenz_RK4/CPU_Julia/CPU_Lorenz_julia_ensemble.jl#L60
Hence, what we are simulating is unroll = 1, at least from what I can say in Julia.
However, I still need to understand more about what they are doing.

Yeah. thanks for that. The tolerance doesn't make sense in fix time-stepping, right? Use vectorized_asolve for the adaptive version.

Why do you say fixed time? The stats spit out by MPGOS show the min/max time steps as
   Maximum time step:                         1e+06
   Minimum time step:                         1e-12

Because when they were using EnsembleGPUArray from Julia DiffEqGPU they were using adaptive = false https://github.com/nnagyd/ode_solver_tests/blob/master/Lorenz_RK4/GPU_Julia/GPU_Lorenz_simple_julia.jl#L77

Its hard to tell what they were doing with Julia.
 Range (min … max):  9.786 ms …  23.002 ms  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     9.808 ms               ┊ GC (median):    0.00%
 Time  (mean ± σ):   9.858 ms ± 649.728 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

    ▅▃█▇▄▃▁▄▃ ▂▁
  ▅▇████████████▇▆▆▅▅▆▂▄▄▃▆▅▅▆▃▃▄▃▃▃▁▄▃▄▁▂▂▁▂▃▁▃▁▁▂▁▁▁▁▂▁▁▂▁▂ ▄
  9.79 ms         Histogram: frequency by time        9.92 ms <

 Memory estimate: 4.94 KiB, allocs estimate: 97.

julia> data = @benchmark @CUDA.sync DiffEqGPU.vectorized_asolve($probs, $ensembleProb.prob, GPUSimpleATsit5();
           save_everystep = false, dt = 0.01f0, abstol=1f-8, reltol=1f-8)
BenchmarkTools.Trial: 186 samples with 1 evaluation.
 Range (min … max):  26.867 ms … 27.191 ms  ┊ GC (min … max): 0.00% … 0.00%
 Time  (median):     26.899 ms              ┊ GC (median):    0.00%
 Time  (mean ± σ):   26.908 ms ± 44.145 μs  ┊ GC (mean ± σ):  0.00% ± 0.00%

    ▄▄▆▅█▁▁▂
  ▃▃████████▇▅▅▅▄▃▃▃▃▃▁▁▁▃▁▁▁▃▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▁▃▁▁▃ ▃
  26.9 ms         Histogram: frequency by time        27.2 ms <

 Memory estimate: 4.69 KiB, allocs estimate: 89.

Thanks for the results.
Okay, I think I got it. They are using two algorithms RK4 and RKCK45. The RK4 is the adaptive = false version, see here: https://github.com/nnagyd/ode_solver_tests/blob/master/Lorenz_RK4/GPU_MPGOS/SourceCodes/SingleSystem_PerThread_ExplicitRungeKutta_ErrorControllers.cuh#L6-L20. And they define to use RK4 here: https://github.com/nnagyd/ode_solver_tests/blob/master/Lorenz_RK4/GPU_MPGOS/Lorenz.cu#L15. Hence, I am pretty sure they are using adaptive = false case.
They printing tolerance with RK4 which is still very weird.

I feel there might be something different with our adaptive time-stepping as RKCK45 is faster than RK4.

I made some changes within the script: MPGOS is integrating till 1.0s. I am quite sure about adaptivity that RK4 is fixed-time step and RKCK45 is adaptive time-stepping. In any case, we are doing better now:
using DiffEqGPU, BenchmarkTools, StaticArrays, SimpleDiffEq
using CUDA

@show ARGS
#settings

numberOfParameters = isinteractive() ? 768000 : parse(Int64, ARGS[1])
gpuID = 0

device!(CuDevice(gpuID))
println("Running on "*string(CuDevice(gpuID)))

function lorenz(u, p, t)
    du1 = 10.0f0 * (u[2] - u[1])
    du2 = p*u[1] - u[2] - u[1]*u[3]
    du3 = u[1]*u[2] - 2.666f0 * u[3]
    return @SVector [du1, du2, du3]
end

u0 = @SVector [1.0f0; 0.0f0; 0.0f0]
tspan = (0.0f0, 1.0f0)
p = 28f0
prob = ODEProblem(lorenz, u0, tspan, p)

parameterList = range(0.0f0,stop = 21.0f0,length=numberOfParameters)

lorenzProblem =  ODEProblem(lorenz,u0,tspan,p)
prob_func = (prob, i, repeat) -> remake(prob, p = parameterList[i])

ensembleProb = EnsembleProblem(lorenzProblem,prob_func = prob_func)

## Building problems here only
I = 1:numberOfParameters
if ensembleProb.safetycopy
    probs = map(I) do i
        ensembleProb.prob_func(deepcopy(ensembleProb.prob), i, 1)
    end
else
    probs = map(I) do i
        ensembleProb.prob_func(ensembleProb.prob, i, 1)
    end
end

## Make them compatible with CUDA
probs = cu(probs)

@info "Solving the problem"
data = @benchmark @CUDA.sync DiffEqGPU.vectorized_solve($probs, $ensembleProb.prob, GPUSimpleTsit5();
save_everystep = false, dt = 0.001f0)

println("Parameter number: "*string(numberOfParameters))
println("Minimum time: "*string(minimum(data.times)/1e6)*" ms")
println("Allocs: "*string(data.allocs))

data = @benchmark @CUDA.sync DiffEqGPU.vectorized_asolve($probs, $ensembleProb.prob, GPUSimpleATsit5();
dt = 0.001f0,reltol = 1f-8,abstol=1f-8)

println("Parameter number: "*string(numberOfParameters))
println("Minimum time: "*string(minimum(data.times)/1e6)*" ms")
println("Allocs: "*string(data.allocs))

RKCK45 is a Cash Karp method most comparable to Tsit5, not RK4

is minimum time the right measurement here? IMO throughout matters a lot more when you're on a gpu

Superceded by https://github.com/utkarsh530/GPUODEBenchmarks


A week ago pulling your router from npm produced a working app.
Now literally everything is deprecated and doesn't work.
You need to add react-router-dom as a dependency and an NPM note about breaking changes.
It fucked my app hard.

completely agree, it seems that the unique reason they've rewritten and messed up everything has been made in order to offer their fantastic "react training".
I'm going to abandon this library and look for something that works.

@methodbox If you are not not happy with what they are doing here, look for another library, make your own, fork the old version and maintain it yourself or do whatever fixes your problem.
Ranting and not being constructive about something you even get for free is very lame!
It doesn't seem that you are part of any major OS project that you know how this works.
I have a great time with v4 and like it much better then the old one.

it's frustrating when you've to rewrite a lot of code without knowing the reason.
js community should care more about stability and less about monetizing open source.

Rename this to remove profanity. Since there isn't any good discussion to come out of this, I'm going to lock it. Feel free to discuss with/yell at me on Twitter.


introduce interop-javaconcurrent

interoperability for CompletionStage and Future from java.util.concurrent

for some reason javaconcurrentSpec is not invoked? any idea why is that???

this is weird... the test is failing with a wrong exception being thrown:
actual:
scalaz.zio.FiberFailure: A checked error was not handled by a fiber: The fiber was terminated by a defect: java.lang.Exception: no value for you!

expected:
scalaz.zio.FiberFailure: A checked error was not handled by a fiber: The fiber was terminated by a defect: no value for you!

what am I doing wrong here?

this is weird... the test is failing with a wrong exception being thrown:
actual:
scalaz.zio.FiberFailure: A checked error was not handled by a fiber: The fiber was terminated by a defect: java.lang.Exception: no value for you!

expected:
scalaz.zio.FiberFailure: A checked error was not handled by a fiber: The fiber was terminated by a defect: no value for you!

what am I doing wrong here?

flaky test?
[info] ManagedSpec
[error]   x Properly performs parallel acquire and release.
[error]  2 != 1 (ManagedSpec.scala:43)


Drop dependency to nipy

Arguments for dropping nipy:

We are having several issues with this package: #2362, #2267, #2231
nipy is no more maintained. See: https://github.com/nipy/nipy/pull/454
We have a small dependency: only sct_resample will need to be refactored.

An alternative approach is under investigation in this branch and consists in installing nipy from the official package, and add the fix as surrogate files in SCT package directly.


Integration into riscv-isa-manual has began.

Note that the work to integrate this specification as a chapter into the Privileged Specification in the riscv-isa-manual tree has began.  Please note the PR

Integration of Smstateen has been completed.


Dipy newversion

don't merge yet, just PRing to see the diff

Alright, given that this check is successful, I'm going to merge into staging, even though MNI space still isn't working, because
a) we don't use MNI space much
b) therefore, it might be more trouble than it's worth to get it fixed for now
c) there are other changes in this branch that are useful for us to have (e.g., improved logs, dipy 1.0 on native space, tracebacking immediately rather than 10 steps later if necessary files don't exist with the new decorator)
before merging into deploy, we need to either fix MNI space or deprecate it.

Please incorporate the following changes to DSN:
    # SyN FA->Template
    [mapping, affine_map, warped_fa] = regutils.wm_syn(template_path, fa_path, dsn_dir)

    tractogram = load_tractogram(streams, fa_img, to_space=Space.RASMM, shifted_origin=True, bbox_valid_check=False)
    streamlines = tractogram.streamlines
    warped_fa_img = nib.load(warped_fa)

    streams_in_curr_grid = transform_streamlines(streamlines, warped_fa_img.affine)

    ref_grid_aff = vox_size*np.eye(4)
    ref_grid_aff[3][3] = 1

    # Deform streamlines
    displacements = values_from_volume(mapping.get_forward_field(), streams_in_curr_grid, ref_grid_aff)

    deformed_streams = [sum(d, s) for d, s in zip(displacements, streams_in_curr_grid)]

    # Create isocenter mapping where we anchor the origin transformation affine
    # to the corner of the FOV by scaling x, y, z offsets according to a multiplicative
    # van der Corput sequence with a base value equal to the voxel resolution
    def vdc(n, base=vox_size):
        vdc, denom = 0, 1
        while n:
            denom *= base
            n, remainder = divmod(n, base)
            vdc += remainder / denom
        return vdc

    [x_mul, y_mul, z_mul] = [vdc(i) for i in range(1, 4)]

    adjusted_affine = affine_map.affine.copy()
    adjusted_affine[0][3] = -adjusted_affine[0][3]*x_mul
    adjusted_affine[1][3] = -adjusted_affine[1][3]*y_mul
    adjusted_affine[2][3] = -adjusted_affine[2][3]*z_mul

    streams_isocentered = transform_streamlines(deformed_streams, np.linalg.inv(adjusted_affine))

    streams_final = transform_streamlines(streams_isocentered, np.linalg.inv(warped_fa_img.affine))

    # Remove streamlines outside brain
    streams_final_filt = Streamlines(utils.target_line_based(streams_final, np.eye(4), brain_mask, include=True))

    # Remove streamlines with negative voxel indices
    lin_T, offset = _mapping_to_voxel(np.eye(4))
    streams_final_filt_final = []
    for sl in streams_final_filt:
        inds = np.dot(sl, lin_T)
        inds += offset
        if not inds.min().round(decimals=6) < 0:
            streams_final_filt_final.append(sl)

    # Save streamlines
    stf = StatefulTractogram(streams_final_filt_final, reference=warped_fa_img, space=Space.RASMM, shifted_origin=True)
    stf.remove_invalid_streamlines()
    streams_final_filt_final = stf.streamlines
    save_tractogram(stf, streams_mni, bbox_valid_check=True)

Where? Just replace gen_reg.direct_streamline_norm?
The code you gave doesn't return streamlines_mni, which is used in tractography for ndmg_dwi_pipeline.
What's the context?
Might be easier if you just make a PR

Yep, probs. I'll address this in next week's ndmg meeting when I'm back in town!
@dPys

@dPys ok, re-requesting review to merge then - we can add these DSN changes in a different branch


Update scripts folder names and bash scripts

Update scripts folder names and bash scripts
Solves issue #8. All scripts folders are updated to be named nbconverted, which is a more accurate name. Bash scripts have been updated to convert the Jupyter notebooks to the correct folder name.

Thank you @gwaybio and @MikeLippincott for the reviews! I am merging now!


The predivider should be 2 here.

Since we want to get a 48M PLLCLK when using HSI as resource and PLLMUL is 12 as it in current code, then we should set PREDIV to 2. If set the PREDIV to 1 as current code, the system clock is 96M.
PLLCLK = 48 MHz ((HSI 8 MHz / 2) * 12)
PLLCLK = 96 MHz ((HSI 8 MHz / 1) * 12)

some description of the bug? and the fix

Since we want to get a 48M PLLCLK when using HSI as resource and PLLMUL is 12 as it in current code, then we should set PREDIV to 2. If set the PREDIV to 1 as current code, the system clock is 96M.
PLLCLK = 48 MHz ((HSI 8 MHz / 2) * 12)
PLLCLK = 96 MHz ((HSI 8 MHz / 1) * 12)

cc @bcostm @adustm for review

If someone is going to review this pull-request then check #1517 as well.

@leibin2014 Sorry for taking some time, I merged firstly the fix referenced above, which caused merge conflict. Can you please rebase you changes?
@bcostm please review

I have rechecked the system clock with HSI and you're right it is at 96MHz instead of 48MHz. Your change is valid.
@leibin2014 thanks for correcting this.

I'll try to rebase this today to get it into master

Thanks guys.
Should we keep posting changes into mbed or mbed-os repos next time?

Should we keep posting changes into mbed or mbed-os repos next time?

Can you be more specific? You mean if you find a bug and it's present in both?

It's good question.
I'm still confused by new development process.
There are two versions of mbed code: here and in https://github.com/ARMmbed
According to commits I see that main development is going in ARMmbed repositories.
So I'm curious how do you maintain it?
Where is happening main development and how/when do you synchronize code base?
We have a bunch of small bug fixes like one @leibin2014 submitted and it's not obvious where to submit them...

For mbed classic you must send your pull requests in https://github.com/mbedmicro. For the new mbedOS you must send your pull request in https://github.com/ARMmbed in the right module. There is no automatic synchronization as far as I know...

I see.
Then we'll just keep sending it to mbedmicro repo.
2016-02-01 23:01 GMT+08:00 bcostm<EMAIL_ADDRESS>
For mbed classic you must send your pull requests in
https://github.com/mbedmicro. For the new mbedOS you must send your pull
request in https://github.com/ARMmbed in the right module. There is no
automatic synchronization as far as I know...
—
Reply to this email directly or view it on GitHub
https://github.com/mbedmicro/mbed/pull/1503#issuecomment-178004805.

--
WBR,
Andrii Anpilogov
Phone: +86 186-1660-3720
Skype: anpilogov.andrey
<EMAIL_ADDRESS><EMAIL_ADDRESS>

Manually resolved and merged.


Implement a first render of UI

This should only render images under or on top of everything else.
This means to handle transparency.

Well, ui is a similar concept to shapes (square) rendering, with the exception that the transform won't change with the camera moving.
So, here I just need to create a UIImage component that renders based on Z


Possible repo reorg

Consider a more canonical project organisations:
../cmd
  |__ sheep
        |__ main.go
        |__ main_test.go
../pkg
  |__ {api,config,database,util}
        |__ <package source files>
...

I've never really been a fan of that structure and generally stay away from it for single binary output. If ever there are multiple commands, it would make sense.


Remove unused Columns Editor

Welcome to Codecov :tada:
Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.
Thanks for integrating Codecov - We've got you covered :open_umbrella:


Concurent api requests

This is an initial approach to speed up API requests.
Early tests have shown a faster running time by a factor of 2.

This PR has been replaced by https://github.com/fusor/cpma/pull/399
because of a reset of related fork/branch.


feat: add transfer speed setting

Description
This PR is going to add an transfer setting to the basic preference. The feature request issue is here and trello task is here.
Screenshots

sorry, this is miss operation. will going to do recommit.


remove media url added to SCRIPT_SRC

r+

Fixed elsewhere as appending to a non-existent CSP_IFRAME_SRC was breaking -dev deploys.


Fix TSLint warnings in msbot-connect-bot.ts

Proposed Changes
Fix the following warnings in the file msbot-connect-bot.ts:

typedef
no-any
interface-name
whitespace
no-empty
prefer-const
cyclomatic-complexity
one-line
curly
triple-equals
semicolon
newline-before-return
eofline

Testing
Travis will no longer report this issue.

Pull Request Test Coverage Report for Build 182

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 70.668%

Totals

Change from base Build 150:
0.0%

Covered Lines:
2592

Relevant Lines:
3521

💛  - Coveralls

Replaced with https://github.com/Microsoft/botbuilder-tools/pull/395


OAuth2 plugin responds with - you must use HTTPS

We get a 400 from the oauth2 plugin when I request an oauth token with the client_credentials grant_type.
I configured:

X-Forwarded-Proto: https as part of the request header
http_if_terminated":true,"https_only":false is set on the API
"accept_http_if_already_terminated":true,"
Kong Version 0.11

The calls to Kong comes through fine. <IP_ADDRESS> - 05b231778fc848989b7655529df9b534 [10/Oct/2017:02:19:32 +0000] "POST //oauth2/token/ HTTP/1.1" 400 78 "-" "curl/7.52.1"
<IP_ADDRESS> - - [10/Oct/2017:02:19:32 +0000] "GET //health HTTP/1.1" 401 102 "-" "curl/7.52.1"
Is there a option to make the logging more verbose for the oauth2 plugin as the log plugins seem to catch later in the process.
Below are the curl call for the token request, api and plugin configuration of the API.
Would be great if you anyone could give me a hint what I'm doing wrong here.
#token request curl
curl -vvv -k http://dev:8000//oauth2/token/ --header "Authorization: Basic MDViMjMxNzc4ZmM4NDg5ODliNzY1NTUyOWRmOWI1MzQ6NDAxNTg4MGQ2YzQ1NGMzMzliYjYzNzU0ZDRkM2VlM2E=" --header "X-Forwarded-Proto: https" --data "grant_type=client_credentials" --data "scope=tourism_dev" --data "provision_key=tourism_dev" --data "authenticated_userid=test2"
EXECUTE TOKEN REQUEST

Trying <IP_ADDRESS>...
TCP_NODELAY set
% Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
Dload  Upload   Total   Spent    Left  Speed
0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0* Connected to dev (<IP_ADDRESS>) port 8000 (#0)

POST //oauth2/token/ HTTP/1.1
Host: dev:8000
User-Agent: curl/7.52.1
Accept: /
Authorization: Basic XXX
X-Forwarded-Proto: https
Content-Length: 100
Content-Type: application/x-www-form-urlencoded

} [100 bytes data]

upload completely sent off: 100 out of 100 bytes
< HTTP/1.1 400 Bad Request
< Date: Tue, 10 Oct 2017 02:19:32 GMT
< Content-Type: application/json; charset=utf-8
< Transfer-Encoding: chunked
< Connection: keep-alive
< Server: kong/0.11.0
< cache-control: no-store
< pragma: no-cache
<
{ [78 bytes data]
Curl_http_done: called premature == 0
100   167    0    67  100   100  22543  33647 --:--:-- --:--:-- --:--:--   97k
Connection #0 to host dev left intact
RESPONSE -----
{"error_description":"You must use HTTPS","error":"access_denied"}

#api configuration
curl http://localhost:8001/apis/dev
{"created_at":1507597850000,"strip_uri":true,"id":"14f0ffd8-209d-4df4-8808-fc0e56313f3e","hosts":["dev"],"name":"dev","http_if_terminated":true,"https_only":false,"retries":5,"preserve_host":false,"upstream_connect_timeout":60000,"upstream_read_timeout":60000,"upstream_send_timeout":60000,"upstream_url":"http://tourism-api.tourism.svc.cluster.local:8088/api/"}
eds30880330:product_api_gateway fredschmidt$ curl http://localhost:8001/plugins/oauth2/
{"id":"oauth2 is not a valid uuid"}
#plugin configuration:
eds30880330:product_api_gateway fredschmidt$ curl http://localhost:8001/apis/dev/plugins/
{"total":3,"data":[{"created_at":1507597850000,"config":{"token_expiration":7200,"mandatory_scope":true,"hide_credentials":false,"scopes":["tourism_dev"],"enable_implicit_grant":false,"global_credentials":false,"accept_http_if_already_terminated":true,"enable_password_grant":false,"anonymous":"","enable_authorization_code":false,"enable_client_credentials":true,"provision_key":"tourism_dev"},"id":"b05d94b3-5271-4d5b-af9e-063f1a2f6d0b","enabled":true,"api_id":"14f0ffd8-209d-4df4-8808-fc0e56313f3e","name":"oauth2"},{"created_at":1507597850000,"config":{"whitelist":["tourism_dev"]},"id":"fd6cb9df-11cd-491f-baa3-ccd3440167db","enabled":true,"api_id":"14f0ffd8-209d-4df4-8808-fc0e56313f3e","name":"acl"},{"created_at":1507597850000,"config":{"path":"/tmp/api_tourism_dev.log","reopen":false},"id":"a81af0bc-1ac0-466a-a1eb-69b74b3f6528","enabled":true,"api_id":"14f0ffd8-209d-4df4-8808-fc0e56313f3e","name":"file-log"}]}

Seems to be similar to #1683. But none of the suggested solutions resolved it. thanks

Same problem here!

@frederik79 i solved this problem adding the trusted_ips as <IP_ADDRESS>/0. Maybe its not the best solution but can resolve for you too.

@diogonicoleti - thanks this works... would be good if this could be  documented that the oauth plugin is dependent on this conf parameter.

@frederik79 Feel free to propose a documentation update at https://github.com/Kong/getkong.org/! In the meantime, we'll be closing this as it found resolution.
Thanks

I have the same configuration, and I also add the configutaion trusted_ips as <IP_ADDRESS>/0, but it still respone with {"error_description":"You must use HTTPS","error":"access_denied"}.
I've no idea now

@diogonicoleti Excuse me, how did you add that trusted_ips param?

Hi @Carls13 I added it as an environment variable: KONG_TRUSTED_IPS="<IP_ADDRESS>/0". In my case I'm running kong in Kubernetes, so I defined it on the deployment recipe like it:
        env:
        # General
        - name: KONG_TRUSTED_IPS
          value: <IP_ADDRESS>/0

But I believe following this doc is just enough: https://getkong.org/docs/0.13.x/configuration/#environment-variables
FIY i'm using version 0.11.0

@diogonicoleti Thank you very much. And if I wanted to set proxy_ssl_enabled to false, it's done as well as an environment variable?

@Carls13 what version you're using?

@diogonicoleti 0.13.0

@Carls13 in this case I believe you not modify the proxy_ssl_enabled directly, but you can define the proxy_listen property. If you don't set a value that require ssl the value of proxy_ssl_enabled will be false as you can see here:
https://github.com/Kong/kong/blob/cff0bae8ee002e80797af29b879798c215371414/kong/conf_loader.lua#L565-L572

@diogonicoleti Thanks for your time, I'll try it

below is my docker-compose.yml, even i set the KONG_TRUSTED_IPS to '<IP_ADDRESS>/0', error {"error_description":"You must use HTTPS","error":"access_denied"} still happens. anyone can help me?
version: "3.7"

services:
  kong-migrations:
    image: "${KONG_DOCKER_TAG:-kong:latest}"
    command: kong migrations bootstrap
    depends_on:
      - db
    environment:
      KONG_DATABASE: postgres
      KONG_PG_DATABASE: ${KONG_PG_DATABASE:-kong}
      KONG_PG_HOST: db
      KONG_PG_USER: ${KONG_PG_USER:-kong}
      KONG_PG_PASSWORD: "kong"
    restart: on-failure

  kong-migrations-up:
    image: "${KONG_DOCKER_TAG:-kong:latest}"
    command: kong migrations up && kong migrations finish
    depends_on:
      - db
    environment:
      KONG_DATABASE: postgres
      KONG_PG_DATABASE: ${KONG_PG_DATABASE:-kong}
      KONG_PG_HOST: db
      KONG_PG_USER: ${KONG_PG_USER:-kong}
      KONG_PG_PASSWORD: "kong"
    restart: on-failure
  kong:
    image: "${KONG_DOCKER_TAG:-kong:latest}"
    user: "${KONG_USER:-kong}"
    depends_on:
      - db
    environment:
      KONG_ADMIN_ACCESS_LOG: /dev/stdout
      KONG_ADMIN_ERROR_LOG: /dev/stderr
      KONG_ADMIN_LISTEN: '<IP_ADDRESS>:8001'
      KONG_CASSANDRA_CONTACT_POINTS: db
      KONG_DATABASE: postgres
      KONG_PG_DATABASE: ${KONG_PG_DATABASE:-kong}
      KONG_PG_HOST: db
      KONG_PG_USER: ${KONG_PG_USER:-kong}
      KONG_PG_PASSWORD: "kong"
      KONG_PROXY_ACCESS_LOG: /dev/stdout
      KONG_PROXY_ERROR_LOG: /dev/stderr
      KONG_TRUSTED_IPS: "<IP_ADDRESS>/0"
    ports:
      - "8000:8000/tcp"
      - "<IP_ADDRESS>:8001:8001/tcp"
      - "8443:8443/tcp"
      - "<IP_ADDRESS>:8444:8444/tcp"
    healthcheck:
      test: ["CMD", "kong", "health"]
      interval: 10s
      timeout: 10s
      retries: 10
    restart: on-failure
  db:
    image: postgres:9.5
    environment:
      POSTGRES_DB: ${KONG_PG_DATABASE:-kong}
      POSTGRES_USER: ${KONG_PG_USER:-kong}
      POSTGRES_PASSWORD: "kong"
    healthcheck:
      test: ["CMD", "pg_isready", "-U", "${KONG_PG_USER:-kong}"]
      interval: 30s
      timeout: 30s
      retries: 3
    restart: on-failure
    stdin_open: true
    tty: true


Flakey test: TestSaveLoadParents

Seen in https://jenkins.dockerproject.org/job/Docker-PRs-Win2Lin/24599/console from #21822
22:57:28 ----------------------------------------------------------------------
22:57:28 FAIL: docker_cli_save_load_test.go:315: DockerSuite.TestSaveLoadParents
22:57:28
22:57:28 docker_cli_save_load_test.go:333:
22:57:28     idBar := makeImage(idFoo, "bar")
22:57:28 C:/Jenkins/gopath/src/github.com/docker/docker/pkg/integration/dockerCmd_utils.go:42:
22:57:28     c.Assert(err, check.IsNil, check.Commentf(quote+"%v"+quote+" failed with errors: %s, %v", strings.Join(args, " "), out, err))
22:57:28 ... value *exec.ExitError = &exec.ExitError{ProcessState:(*os.ProcessState)(0xc082a44400)} ("exit status 1")
22:57:28 ... "rm d30e104aae103a6da163424b7d3690693926af36fe080a5b98763ee7e3c2aa02" failed with errors: Error response from daemon: You cannot remove a running container d30e104aae103a6da163424b7d3690693926af36fe080a5b98763ee7e3c2aa02. Stop the container before attempting removal or use -f
22:57:28 , exit status 1
22:57:28
22:57:28
22:57:28 ----------------------------------------------------------------------

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO


Indent the 'includes' templates with djhtml

Looks like the 'includes' directory didn't receive djhtml indentation. Corrected with this PR.

Codecov Report

Merging #8 (e5db78a) into master (ccc443e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #8   +/-   ##
=======================================
  Coverage   94.42%   94.42%
=======================================
  Files          14       14
  Lines        1077     1077
=======================================
  Hits         1017     1017
  Misses         60       60

Continue to review full report at Codecov.

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


Loading multiple addresses stops if address already visible

here is the possibility to insert more than one address in the search bar. But in case I add an address that have already been displayed, then the graph add only all addresses until the one that is already in the graph. Sample:
Step 1: addresses below will be inserted into the search bar
3EFCgArpMVVNUTydLLErNzMzukx1oknYQZ (not on the dashboard)
31om3g8agy8ivVCnYe5rco4hTJS4BNkL2F (already on the dashboard)
3HevDcrodsHn7dL4r4hEjV2FadpeUNmgd2 (not on the dashboard)
36rW7SPiiDFmrvxoHSbP7n4BoA5S96QTGm (not on the dashboard)
Step 2: the addresses below will appear on the the dashboard
3EFCgArpMVVNUTydLLErNzMzukx1oknYQZ (on the dashboard)
31om3g8agy8ivVCnYe5rco4hTJS4BNkL2F (on the dashboard)
3HevDcrodsHn7dL4r4hEjV2FadpeUNmgd2 (not on the dashboard)
36rW7SPiiDFmrvxoHSbP7n4BoA5S96QTGm (not on the dashboard)

Could not entirely reproduce this issue. In my case it consistently inserted all nodes, but the last two nodes were inserted  out of the viewport of the graph so it looked like nothing was inserted. I added code to center the graph after a new address was inserted iif the bbox of the layers grows out of the viewport. This helps avoiding the confusion.


[Event Request] Codeunit 5763 Whse.-Post Shipment - OnAfterWhseShptLine2Delete

Hi, would it be possible to get an event OnAfterWhseShptLine2Delete in Codeunit 5763 Whse.-Post Shipment , procedure PostUpdateWhseDocuments, like this :
procedure PostUpdateWhseDocuments(var WhseShptHeaderParam: Record "Warehouse Shipment Header")
 begin
     OnBeforePostUpdateWhseDocuments(WhseShptHeaderParam);
     with WhseShptLineBuf do
         if Find('-') then begin
             repeat
                 WhseShptLine2.Get("No.", "Line No.");
                 DeleteWhseShptLine := "Qty. Outstanding" = "Qty. to Ship";
                 OnBeforeDeleteUpdateWhseShptLine(WhseShptLine2, DeleteWhseShptLine, WhseShptLineBuf);
                 if DeleteWhseShptLine then begin
                     ItemTrackingMgt.SetDeleteReservationEntries(true);
                     ItemTrackingMgt.DeleteWhseItemTrkgLines(
                       DATABASE::"Warehouse Shipment Line", 0, "No.", '', 0, "Line No.", "Location Code", true);
                     WhseShptLine2.Delete();
                     OnAfterWhseShptLine2Delete(WhseShptLine2);
                 end else begin ..

?
Thanks

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


[#1267] fix(client): fast fail without retry when oom occurs

What changes were proposed in this pull request?
fast fail without retry when oom occurs
Why are the changes needed?
Fix: #1267
Does this PR introduce any user-facing change?
No.
How was this patch tested?
Existing UTs

Codecov Report
Attention: 65 lines in your changes are missing coverage. Please review.

Comparison is base (64dd847) 53.25% compared to head (0f688ca) 53.43%.

Files
Patch %
Lines

...client/impl/grpc/ShuffleServerGrpcNettyClient.java
0.00%
32 Missing :warning:

...ffle/client/impl/grpc/ShuffleServerGrpcClient.java
0.00%
31 Missing :warning:

...he/uniffle/common/exception/NotRetryException.java
0.00%
2 Missing :warning:

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #1344      +/-   ##
============================================
+ Coverage     53.25%   53.43%   +0.17%
+ Complexity     2706     2176     -530
============================================
  Files           418      341      -77
  Lines         23866    15319    -8547
  Branches       2036     1419     -617
============================================
- Hits          12709     8185    -4524
+ Misses        10374     6673    -3701
+ Partials        783      461     -322

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


URIError: Failed to decode param '/%3C%=%20BASE_URL%20%%3Efavicon.ico'

Version
3.1.1
Node and OS info
yarn 1.12.3, windows 10 pro, node 10.11.0
Link to repository
https://github.com/jhechtf/vue-issue-3089
Steps to reproduce
run yarn serve in repository
What is expected?
No error, webpage / application is displayed
What is actually happening?
receive error URIError: Failed to decode param '/%3c%=%20BASE_URL%20%3Efavicon.ico' followed by what appears to be errors with the express framework

This had happened to me once before, but deleting node_modules and reinstalling fixed it. That has not been the case with this current iteration -- I've deleted node_modules twice and still am running into the issue. From what I read of other similar issues, the issue was caused by a hash symbol in their directory structure, which I do not have. Another one mentioned something about a baseUrl option in their vue.config.js, which I did not have, and a third mentioned scss imports that are invalid being the cause. I removed all @import statements within the application itself and nothing changed.
Up until a few days ago, it worked just fine. I can't say I did anything particularly out of the ordinary for the project either, I just created a new component, tested it out, exited the server as I had to go somewhere for a bit. When I came back, however, I couldn't get the app to work.
The whole error block I receive is:
    at decodeURIComponent (<anonymous>)
    at decode_param (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\layer.js:172:12)
    at Layer.match (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\layer.js:123:27)
    at matchLayer (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\index.js:574:18)
    at next (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\index.js:220:15)
    at expressInit (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\middleware\init.js:40:5)
    at Layer.handle [as handle_request] (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\index.js:317:13)
    at C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\index.js:335:12)
    at next (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\index.js:275:10)
    at query (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\middleware\query.js:45:5)
    at Layer.handle [as handle_request] (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\layer.js:95:5)
    at trim_prefix (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\index.js:317:13)
    at C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\index.js:284:7
    at Function.process_params (C:\Users\Jim\projects\alert-logic\code\node_modules\express\lib\router\index.js:335:12)

I unfortunately cannot share a repo link as some of the code is necessary to run is API credentials that even if I deleted would be easily visible in the history of the files. I could maybe create a fresh repo and submit my current code to it (that obviously wouldn't have my credentials in it), but I'm unsure just how well that is going to help if I'm honest.

We can't do anything to help you with this issue if we know nothing about the project.

The only tip I can give you is that it has something to do with html webpack plugin, as this plugin is responsible to transform the template for index.html (located in /public/index.html.
In this file we use EJS (the template syntax supported by html-webpack-plugin). This template syntax seems to not be compiled in your project, for whatever reason.

Updated original post with URL that can be used for reproduction.

The reproduction repo is not runnable

I'm looking into it right now, but even with editing that line I am still getting the decode URI error.

Alright so after awhile, I've got it.
The answer is that it does seem to have something to do with SCSS.
at some point or another I apparently deleted the import of bootstrap in my App.vue file, and one of the elements in there was calling @extend .pt-4, which could obviously no longer be found. Unfortunately due to the ridiculously long output by TSLint, I couldn't ever see either of those two errors.

The system threw me an error when trying to open the landing page.

I rammed my head against this particular wall for about twelve hours before stumbling on the problem. I had set "publicPath" in vue.config.js
I don't know why it caused this problem, but when I removed that setting, everything worked.

The system threw me an error when trying to open the landing page.

Hi @xanxuz  I met the same problem, wonder how to solve this? I dont have baseUrl or publicPath in my vue.config.js

The problem I encountered was when inputting double slashes to redirect an error message. The three slashes matched normally to the 404 page


Surds comparison

Example: cuberoot(25) and squareroot(37).
Solution: cuberoot(25) < squareroot(37).
Ranges: Values from 0 to 100
Roots: 2 to 10
Assign this to me if this is fine.

The question and solution is kind of unclear. It could be something like: "Which operator describes the relationship between cuberoot(25) and squareroot(37)" and the solution could just be "<".


How to check the network is connected at MM

How to check the network is connected at MM.

Current networl, method request ??

When you're connected to a wallet there is a SessionData object in web3app.sessions that you can use to send requests to MetaMask (or any other wallet).


Save repeated database queries for same ElementalArea (closes #648)

I left $this->cacheData['page'] in there for 2 reasons:

Playing it safe for BC - it’s not part of the public API, but it’s possible someone could be relying on it
It saves repeated schema lookups (I think they’re cached anyway, but it’s still a few less method calls)

The behat failures are pre-existing, but perhaps the Postgres test failures are valid =/

perhaps the Postgres test failures are valid

I just reran travis on that job in both this PR and master. master is still green and this PR is still red 😞

Gah that sucks. Why on earth would PGSQL have a problem with such a simple query?! 😖

Okay I’ve solved it, by checking whether $this->ParentID is set before running the query. I have absolutely no idea why PGSQL threw that error instead of just returning no results, but 🤷♂


Integration test using WebApplicationFactory

Is it possible to have an end-to-end GRPC integration test using WebApplicationFactory<Startup> like what we did for Restful WebAPI? I tried to do that but doesn't work. Exception:
Exception thrown: 'Grpc.Core.RpcException' in System.Private.CoreLib.dll: 'Status(StatusCode=Cancelled, Detail="Error starting gRPC call.")'
   at Grpc.Net.Client.Internal.GrpcCall`2.<GetResponseAsync>d__63.MoveNext()
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()
   at Web.Api.IntegrationTests.Services.AccountsServiceIntegrationTests.<CanRegisterUserWithValidAccountDetails>d__2.MoveNext() in

What I do in the integration test project:
    public class CustomGrpcServerFactory<TStartup> : WebApplicationFactory<Startup>
    {
        public ServiceProvider ServiceProvider {get; private set;}
        protected override void ConfigureWebHost(IWebHostBuilder builder)
        {
            Environment.SetEnvironmentVariable("ASPNETCORE_ENVIRONMENT", "IntegrationTests");
            string contentRootFull = Path.GetFullPath(Directory.GetCurrentDirectory());
            IConfigurationRoot config = new ConfigurationBuilder()
                .SetBasePath(contentRootFull)
                .AddJsonFile("appsettings.json", false, true)
                .AddJsonFile($"appsettings.Development.json", true, true)
                .AddEnvironmentVariables().Build();
            GrpcConfig grpcConfig = config.GetSection(nameof(GrpcConfig)).Get<GrpcConfig>();
// It doesn't make any difference with or without the following ConfigureKestrel!
            builder.ConfigureKestrel(options =>
            {
                options.Listen(IPAddress.Any, 5000, listenOptions =>
                {
                    listenOptions.Protocols = HttpProtocols.Http2;
                    listenOptions.UseHttps("/tmp/localhost.pfx", "password");
                });
            });
            builder.ConfigureServices(services =>
            {
                // Create a new service provider.
                var serviceProvider = new ServiceCollection()
                    .AddEntityFrameworkInMemoryDatabase().AddLogging()
                    .BuildServiceProvider();
                services.AddGrpcClient<AccountsClient>(new Uri(grpcConfig.Endpoint));
                services.AddGrpcClient<AuthClient>(new Uri(grpcConfig.Endpoint));
<snip>

And my Startup.cs:
            app.UseEndpoints(endpoints =>
                {
                    endpoints.MapGrpcService<AccountsService>();
                    endpoints.MapGrpcService<AuthService>();
                }

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0db2d29c-ebfd-9c79-4b08-61fc5192f3c3
Version Independent ID: 048d1977-93aa-f28a-60ec-6806dec3f70a
Content: Introduction to gRPC on .NET Core
Content Source: aspnetcore/grpc/index.md
Product: aspnet-core
Technology: aspnetcore-grpc
GitHub Login: @JunTaoLuo
Microsoft Alias: johluo

@JamesNK

Even if not using WebApplicationFactory has anyone gotten a way to perform integration tests with grpc? Any workaround for this?
I tried multiple things to get an in-process server going but never managed to get a functioning grpc call.

https://github.com/grpc/grpc-dotnet use to use TestServer for its functional tests.
See: https://github.com/grpc/grpc-dotnet/blob/04c04d4c6070fc6e389abd0d8da9c12919e6ad6d/test/FunctionalTests/Infrastructure/GrpcTestFixture.cs
We'll add a sample of using functional tests at some point - https://github.com/grpc/grpc-dotnet/issues/601

Sample added today 😄
https://github.com/grpc/grpc-dotnet/pull/618

Closing as answered.


Click between terminal and his header removes styles

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:

Version: 1.77.1
Commit: b7886d7461186a5eac768481578c1d7ca80e2d21
Date: 2023-04-04T23:23:33.779Z
Electron: 19.1.11
Chromium: 102.0.5005.196
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin x64 22.3.0
Sandboxed: No

OS Version: Darwin Macbook.local 22.3.0 Darwin Kernel Version 22.3.0: Mon Jan 30 20:42:11 PST 2023; root:xnu-8792.81.3~2/RELEASE_X86_64 x86_64

Steps to Reproduce:
https://user-images.githubusercontent.com/15277233/230294889-cc443bd1-9bb3-4470-90e9-8b6e87661f53.mov

A title that would describe what is happening in video will be better.

A title that would describe what is happening in video will be better.

Describe it for me please, I don't know how to describe that

Click between terminal and his header removes styles

Duplicate of #179020

release asap 👍


feat(login): additionally use email/phone for authentication

closes #4344

i'll update the projection (users / users_notify) in a second


Update US19JanTaxR1.md

fix

Docs Build status updates of commit c986828:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/payroll/US19JanTaxR1.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit c986828:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

dynamics-gp/payroll/US19JanTaxR1.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add ability to override blazor config

Adds the ability within the BlazorOptions to set a custom BlazorConfig, if none is provided, the standard .blazor.config file is loaded.
Quite useful when using customised development environments. I remotely start and debug the blazor server straight from visual studio on a different machine using ssh what means the paths need to be set at runtime instead of being read from the config file.

I'm basically using the following setup: https://github.com/Microsoft/MIEngine/wiki/Offroad-Debugging-of-.NET-Core-on-Linux---OSX-from-Visual-Studio
The main issue is that the local paths do not lineup with the remote maths in the .blazor.config file. I currently set the correct paths as environment variables and then overwrite the config values at runtime. (the .blazor.config file needs to stay as is, as the folders are shared and that would cause issues if modified to have the correct path at compile time for example).

We appreciate the contribution, but we've decided that adding extensibility in this area is not something we want to do at this point. We're open to reconsidering this if we hear more feedback in this area.


Allow recording multiple text selections for a step

Currently, the tour recorder allows you to capture a text selection along with a step. However, VS Code allows you to make multiple text selections, and therefore, the tour should respect that, which could enable highlighting a few disparate code spans within a single step.

Closing this since no one has mentioned they want this 😁 Furthermore, I think the tour works better if each step calls attention to one block of code, and so I’m not even sure it’s ideal to allow a step to reference multiple disparate selections. We can always reopen this if we hear more feedback 👍


Revises preamble

Tried to bring in some of the recent changes to the preamble. Comments welcome!

OK, I made some changes based on @HaSistrunk's comments.

I like the emphasis on a part of and a part from. Looks good to me.


Add LIKE_R operator & improve like wildcard detection

By default the LIKE operator wraps the value in % which causes horrible performance on large tables, since indexes cannot be used (at least MySQL won't)
The LIKE_R operator only appends a % instead of wrapping the value, if there is no wildcard present.
I also improved the wildcard detection, since the single character (_) wildcard might be used or be escaped

Hi!
Thanx for contribution. But looks like it will broke backward compatibility, so I can't merge it. Anyway, we can think how to improve this behavior in grids v2
Why just not use '%' at the value ending in components?
I mean if you have filter, you can enter value% to input. Or you can add custom logic to component(filter) that will add '%' programatically to the end of value if value doesn't contain '%'. Also if you are using Eloquent you can use setFilteringFunction() method to produde any SQL you want.
Also, suggested name of new operator (LIKE_R) can missguide becouse there is RLIKE SQL operator.

Ah, I see.
I didn't really want to touch the presentation framework one yet as it says it is still pre-alpha.

Ok. Sorry, that can't accept your contribution.
Regarding new non-trivial features or features that may broke compatibility, possibly it would be good (for contributors) to create a proposals before pull-requests in issue tracker.
Anyway, please, contribute if you will have any other improvement suggestions. Thanks.

Yes of course, didnt think it was too big of a deal, but I of course get your point :)


Spyserver

How do I use the IMSI catcher with a SpyServer over the internet? I have one because it's accessible anywhere with sdr#. If I can use sdr# with it I can also use IMSI catcher, i just have to tell them how to connect. How do I do that?

Are you talking about https://airspy.com/download/ ?  I do not know the answer, but this sound interesting.


🌐 Update french i18n

This update changes some of the french translations in /i18n/fr.yaml, including:

Adds accents where needed
Better rephrasing for more accurate translation

Thanks for the updates, @OxNinja! I'll merge these changes in.


AssertionError: A blueprint name collision

When I try to run fab setup:
AssertionError: A blueprint's name collision occurred between <flask.blueprints.Blueprint object at 0x7f935f189e90> and <flask.blueprints.Blueprint object at 0x7f935f213290>.  Both share the same name "user".  Blueprints that are created on the fly need unique names.

Just delete these lines from the variable DEFAULT_BLUEPRINTS in app.py :
appointment
user


Equalizer not working with some audio devices.

Expected Behaviour

After assigning a set og keys, or entire keyboard the equalizer effect should be displayed on the selected keys when audio is playing through my 5.1 surround speakers connected directly by minijack (Realtek High Definition Audio) to the motherboard, and when playing the sound through USB audio devices
Actual Behaviour

The effect works when playing the sound through different USB audio devises, in this case a logitech g35 headset and a focusrite audio interface. But using my 5.1 surround speakers(Realtek High Definition Audio) that is connected to directly to the motherboard (ASUS ROG Strix B450-F GAMING) by minijacks this effect does not work.
Reproduction steps

Change between USB audio device and speakears (Realtek High Definition Audio) and see if the effect works.
Frequency

So far it happens every time.
Aurora Version:

v0.7.2
Previously an Issue?

Don't know

This seems like a duplicate of #1487 , please confirm.

None of the processes listed can be found running om my system.

I tried deactivating every audio device except for the speakers, and rebooting the system, and the problem persists.  Also checked the processes after the reboot, and no apparent changes there. I found that the issue can be circumvented by using a virtual audio software like vociemeeter.


[Improve Docs] Document Sampling Types

https://alhardy.github.io/app-metrics-docs/getting-started/sampling/index.html


Remove resources param on SPM target

There is a resources param on the SwiftDate target definition. However, those resources were removed since version 7.0.0.
Because of this param, SPM resolution of this library is not working with Tuist SPM Dependencies - Tuist denies this library due to missing resources.
Removing resources param makes Tuist work with this library.

Any plans on merging this? SwiftDate 7.0.0 won't install when using tuist for our project due to the Project file's missing files, and this fixes that problem.

+1


Location fields for 911s and incidents

Describe the feature
Can we get a location field that is API read/write for calls and incidents that allow us to store and retrieve game world X, Y, Z and heading?
This would allow us to give accurate routing via the API.
Additional Context
No response

Would this only be editable via the API or also via the client via a dispatcher?

Would this only be editable via the API or also via the client via a dispatcher?

It's probably too much for a dispatcher to be able to process so I would say just the API. No need for this to be viewable or editable in the client.

x, y and z would be a number and heading a string?

x, y and z would be a number and heading a string?

Heading also a number/float :)

heading of an entity in degrees

Example body for the call data could be:
PUT /911-calls/:callId
{
  "location": "test",
  "name": "test",
  "gtaMapPosition": {
    "x": 0,
    "y": 0,
    "z": 0,
    "heading": 360
  }
}


Switch to stable Futures

Instead of using futures 0.1, let's use futures from the Rust standard library!

Note that after async/await get stable, the general intention is that it should be possible to use non-'static futures.
In other words, we could write something like this:
impl Foo {
    // the returned `Future` borrows `self`
    fn next_item(&mut self) -> impl Future { ... }
}

This will considerably reduce the need for the Stream trait, which isn't stable, to point where we might be able to eliminate its use.

Stables futures don't have any equivalent to loop_fn, which grandpa unfortunately uses.

Why not just implement a custom Future? Will make the code more readable.

And consider using tokio 0.2 when it's ready

Still waiting on:

hyper
libp2p
jsonrpc (or maybe a switch to jsonrpsee)


Image Customizer: Kernel Command Line

Merge Checklist

All boxes should be checked before merging the PR (just tick any boxes which don't apply to this PR)

[x] The toolchain has been rebuilt successfully (or no changes were made to it)
[x] The toolchain/worker package manifests are up-to-date
[x] Any updated packages successfully build (or no packages were changed)
[x] Packages depending on static components modified in this PR (Golang, *-static subpackages, etc.) have had their Release tag incremented.
[x] Package tests (%check section) have been verified with RUN_CHECK=y for existing SPEC files, or added to new SPEC files
[x] All package sources are available
[x] cgmanifest files are up-to-date and sorted (./cgmanifest.json, ./toolkit/scripts/toolchain/cgmanifest.json, .github/workflows/cgmanifest.json)
[x] LICENSE-MAP files are up-to-date (./SPECS/LICENSES-AND-NOTICES/data/licenses.json, ./SPECS/LICENSES-AND-NOTICES/LICENSES-MAP.md, ./SPECS/LICENSES-AND-NOTICES/LICENSE-EXCEPTIONS.PHOTON)
[x] All source files have up-to-date hashes in the *.signatures.json files
[x] sudo make go-tidy-all and sudo make go-test-coverage pass
[x] Documentation has been updated to match any changes to the build system
[x] Ready to merge

Summary
Mariner Image Customizer: Add support for adding kernel command line arguments to the image.
Note that this change does not include support for images that use grub-mkconfig. That will need to be handled in a subsequent change.
Change Log

Image Customizer: Kernel Command Line

Does this affect the toolchain?
NO
Test Methodology

Added toolkit tools UT.

API needs to be expanded to handle option removal, etc.


store: invalid date for max time causing store to get filtered out in thanos-query

Thanos, Prometheus and Golang version used:
v0.16.0 - thanos
v2.17.1 - prometheus
Object Storage Provider:
cleversafe s3
What happened:
thanos-query fails to fetch data past what's available in locally in prometheus. I believe the cause is the thanos-store components not having the proper min/max date. Therefore, the thanos-query component filters out those stores when querying. When I check the UI i see this for the stores:

The stores min and max date are incorrect for some reason even though in the thanos store configurations I have min/max dates set such as:
- --min-time=-4d

or
- --max-time=-3d
- --min-time=-7d

etc...
Full logs to relevant components:
thanos-query logs:
Logs

level=debug ts=2020-11-16T21:18:20.696965979Z caller=proxy.go:283 msg="store Addr: <IP_ADDRESS>:10901 LabelSets:  Mint:<PHONE_NUMBER>854775807 Maxt: -9223372036854775808 filtered out;store Addr: <IP_ADDRESS>:10901 LabelSets: {k8s_cluster="ashburn-rdei-01", prometheus="monitoring/prometheus-operator-prometheus", prometheus_replica="prometheus-prometheus-operator-prometheus-0"} Mint:<PHONE_NUMBER>000 Maxt:<PHONE_NUMBER>731 filtered out;store Addr: <IP_ADDRESS>:10901 LabelSets: {k8s_cluster="ashburn-rdei-01", prometheus="monitoring/prometheus-operator-prometheus", prometheus_replica="prometheus-prometheus-operator-prometheus-0"} Mint:<PHONE_NUMBER>731 Maxt:<PHONE_NUMBER>000 filtered out;Store Addr: thanos-store-sidecar.monitoring.svc.cluster.local:10901 LabelSets: {k8s_cluster="ashburn-rdei-01", prometheus="monitoring/prometheus-operator-prometheus", prometheus_replica="prometheus-prometheus-operator-prometheus-0"} Mint:<PHONE_NUMBER>000 Maxt:<PHONE_NUMBER>854775807 queried;store Addr: <IP_ADDRESS>:10901 LabelSets:  Mint:<PHONE_NUMBER>854775807 Maxt: -9223372036854775808 filtered out;store Addr: <IP_ADDRESS>:10901 LabelSets:  Mint:<PHONE_NUMBER>854775807 Maxt: -9223372036854775808 filtered out;store Addr: <IP_ADDRESS>:10901 LabelSets: {k8s_cluster="ashburn-rdei-01", prometheus="monitoring/prometheus-operator-prometheus", prometheus_replica="prometheus-prometheus-operator-prometheus-0"} Mint:<PHONE_NUMBER>731 Maxt:<PHONE_NUMBER>731 filtered out"

^^ Here, all the datastores are filtered out except for the prometheus datastore (thanos-store-sidecar.monitoring.svc.cluster.local:10901)
Any and all advice would be appreciated for this!

Thanos, Prometheus and Golang version used:
v0.16.0 - thanos
v2.17.1 - prometheus
Object Storage Provider:
cleversafe s3
What happened:
thanos-query fails to fetch data past what's available in locally in prometheus. I believe the cause is the thanos-store components not having the proper min/max date. Therefore, the thanos-query component filters out those stores when querying. When I check the UI i see this for the stores:

The stores min and max date are incorrect for some reason even though in the thanos store configurations I have min/max dates set such as:
- --min-time=-4d

or
- --max-time=-3d
- --min-time=-7d

etc...
Full logs to relevant components:
thanos-query logs:
^^ Here, all the datastores are filtered out except for the prometheus datastore (thanos-store-sidecar.monitoring.svc.cluster.local:10901)
Any and all advice would be appreciated for this!

It sounds like Thanos Store is unable to synchronize its state with the content of your remote object storage. How do its logs look like?

i have the same error, even enabled the debug log, but nothing special.

from the storegateway ,
al=0
level=info ts=2020-11-30T12:12:43.53895406Z caller=fetcher.go:458 component=block.BaseFetcher msg="successfully synchronized block metadata" duration=51.921623ms cached=0 returned=0 partial=0
level=info ts=2020-11-30T12:15:43.538280419Z caller=fetcher.go:458 component=block.BaseFetcher msg="successfully synchronized block metadata" duration=51.226756ms cached=0 returned=0 partial=0
level=info ts=2020-11-30T12:18:43.53874826Z caller=fetcher.go:458 component=block.BaseFetcher msg="successfully synchronized block metadata" duration=51.731658ms cached=0 returned=0 partial=0
level=info ts=2020-11-30T12:21:43.541927883Z caller=fetcher.go:458 component=block.BaseFetcher msg="successfully synchronized block metadata" duration=54.707094ms cached=0 returned=0 partial=0
level=info ts=2020-11-30T12:24:43.538917675Z caller=fetcher.go:458 component=block.BaseFetcher msg="successfully synchronized block metadata" duration=51.914761ms cached=0 returned=0 partial=0
from the thanos query
level=debug ts=2020-11-30T12:27:38.130688686Z caller=proxy.go:283 msg="Store Addr: <IP_ADDRESS>:10901 LabelSets: {prometheus="monitoring/prometheus-kube-prometheus-prometheus", prometheus_replica="prometheus-prometheus-kube-prometheus-prometheus-1"} Mint: -62167219200000 Maxt:<PHONE_NUMBER>854775807 queried;Store Addr: <IP_ADDRESS>:10901 LabelSets: {prometheus="monitoring/prometheus-kube-prometheus-prometheus", prometheus_replica="prometheus-prometheus-kube-prometheus-prometheus-0"} Mint: -62167219200000 Maxt:<PHONE_NUMBER>854775807 queried;Store Addr: <IP_ADDRESS>:10901 LabelSets: {prometheus="monitoring/prometheus-kube-prometheus-prometheus", prometheus_replica="prometheus-prometheus-kube-prometheus-prometheus-2"} Mint: -62167219200000 Maxt:<PHONE_NUMBER>854775807 queried;store Addr: <IP_ADDRESS>:10901 LabelSets:  Mint:<PHONE_NUMBER>854775807 Maxt: -9223372036854775808 filtered out;store Addr: <IP_ADDRESS>:10901 LabelSets: {replica="thanos-ruler-2", ruler_cluster="NodePort"} Mint:<PHONE_NUMBER>854775807 Maxt:<PHONE_NUMBER>854775807 filtered out;store Addr: thanos-storegateway:10901 LabelSets:  Mint:<PHONE_NUMBER>854775807 Maxt: -9223372036854775808 filtered out"
level=debug ts=2020-11-30T12:27:38.132042572Z caller=http.go:34 protocol=http http.component=server http.method=query http.request.id=01ERCHYTRJZAJHB6DXP67F6DJJ http.code=200 http.time_ms=1.997 msg="finished call"
level=debug ts=2020-11-30T12:27:40.801165746Z caller=storeset.go:341 component=storeset msg="starting updating storeAPIs" cachedStores=6
level=debug ts=2020-11-30T12:27:40.802258485Z caller=storeset.go:344 component=storeset msg="checked requested storeAPIs" activeStores=6 cachedStores=6

This seems weird. From what I can see, the store cannot fetch any metadata from your bucket.
Can you try the thanos tools bucket ls or thanos tools bucket inspect to see whether there are blocks in your object store?

facing the same issue here, adding the flag negative value to the max time --max-time=-2w to storegateway showing invalid date in thanos query stores tab

Having the same thing here.
Maybe because my s3 bucket doesn't actually hold any data of the given timerange.
If this is the case, then the "Invalid date" is very very misleading.

thanos, version 0.22.0 (branch: HEAD, revision: 3656e290c8eb034e2e09e0afc79f087be88de481)
  build user:       root@61bcfbac7168
  build date:       20210721-15:22:37
  go version:       go1.16.6
  platform:         linux/amd64

=/data/app/thanos/bin/thanos store --data-dir=/data/thanos \
                --log.format=json \
                --index-cache-size=4096MB  \
                --objstore.config-file=/data/app/thanos/conf.d/object.json \
                --min-time=-3w \
                --max-time=-2h \
                --index-cache.config-file=/data/app/thanos/conf.d/index.json \
                --tracing.config-file=/data/app/thanos/conf.d/trace.jaeger.yml \
                --store.caching-bucket.config-file=/data/app/thanos/conf.d/cache.json

Hi, I have a similar issue with min/max time being invalid or infinity, thanos tools bucket inspect and thanos tools bucket verify return sensible data, no errors, on the web view I can also see that the blocks more or less are compacted in a correct way.
So while I do have the data in my S3 bucket when I zoom out to more than 24h in Grafana I see no data for older than a couple of hours. (Thanos query points to sidecar as well as the relevant stores gateway)
Would appreciate some hints as to how to display all data in my bucket.
Sep 20 13:24:55 thanos-production-a-01 thanos[8572]: level=warn name=query-a ts=2021-09-20T13:24:55.309928886Z caller=proxy.go:279 component=proxy request="min_time:1631538900000 max_time:1631748000000 matchers:<name:\"cluster_name\" value:\"eks-production\" > matchers:<name:\"job\" value:\"prometheus\" > matchers:<name:\"instance\" value:\"prometheus-a\" > matchers:<name:\"__name__\" value:\"prometheus_tsdb_compactions_failed_total\" > max_resolution_window:480000 aggregates:COUNTER " err="No StoreAPIs matched for this query" stores="store Addr: <IP_ADDRESS>:20903 LabelSets: {cluster_name=\"eks-production\", env=\"production\", replica=\"prometheus-a\"},{cluster_name=\"eks-production\", env=\"production\", replica=\"prometheus-b\"},{cluster_name=\"gke-production\", env=\"production\", replica=\"prometheus-a\"},{cluster_name=\"gke-production\", env=\"production\", replica=\"prometheus-b\"} Mint:<PHONE_NUMBER>005 Maxt:<PHONE_NUMBER>854775807 filtered out: does not have data within this time period: [1631538900000,1631748000000]. Store time ranges: [1632110400005,9223372036854775807];store Addr: <XX>:10901 LabelSets: {replica=\"prometheus-a\"} Mint:<PHONE_NUMBER>108 Maxt:<PHONE_NUMBER>854775807 filtered out: does not have data within this time period: [1631538900000,1631748000000]. Store time ranges: [1631959200108,9223372036854775807];store Addr: <XX>:10901 LabelSets: {replica=\"prometheus-b\"} Mint:<PHONE_NUMBER>025 Maxt:<PHONE_NUMBER>854775807 filtered out: does not have data within this time period: [1631538900000,1631748000000]. Store time ranges: [1631959200025,9223372036854775807];store Addr: <IP_ADDRESS>:10905 LabelSets: {cluster_name=\"eks-production\", env=\"production\", replica=\"prometheus-a\"},{cluster_name=\"eks-production\", env=\"production\", replica=\"prometheus-b\"},{replica=\"prometheus-a\"},{replica=\"prometheus-b\"} Mint:<PHONE_NUMBER>854775807 Maxt: -9223372036854775808 filtered out: does not have data within this time period: [1631538900000,1631748000000]. Store time ranges: [9223372036854775807,-9223372036854775808];store Addr: <IP_ADDRESS>:10907 LabelSets: {cluster_name=\"gke-production\", env=\"production\", replica=\"prometheus-a\"},{cluster_name=\"gke-production\", env=\"production\", replica=\"prometheus-b\"} Mint:<PHONE_NUMBER>862 Maxt:<PHONE_NUMBER>000 filtered out: external labels [{cluster_name=\"gke-production\", env=\"production\", replica=\"prometheus-a\"} {cluster_name=\"gke-production\", env=\"production\", replica=\"prometheus-b\"}] does not match request label matchers: [cluster_name=\"eks-production\" job=\"prometheus\" instance=\"prometheus-a\" __name__=\"prometheus_tsdb_compactions_failed_total\"]"

@yeya24 I am also having same issue. The thanos query is firing with infinite time range. Here is the log for thanos query. I do not see the query even reaching to thanos store. As I do not see any entry in thanos store logs.

Do I need to set the labelSet for thanos store, can you please guide me how to do it?

 Store Addr: <IP_ADDRESS>:10901     LabelSets:     MinTime:<PHONE_NUMBER>854775807     MaxTime: -9223372036854775808     filtered out due to: does not have data within this time period: [1726768864568,1726769164568].     Store time ranges: [9223372036854775807,-9223372036854775808]

This seems weird. From what I can see, the store cannot fetch any metadata from your bucket.

Just gave a try to this, I do not see any blocks. But I do not see any error on thanos store as well. Not sure whats happening.


feat: 🎸 upgrade datasets

Codecov Report
Base: 87.59% // Head: 83.96% // Decreases project coverage by -3.62% :warning:

Coverage data is based on head (319bbb8) compared to base (d17a26e).
Patch has no changes to coverable lines.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #644      +/-   ##
==========================================
- Coverage   87.59%   83.96%   -3.63%
==========================================
  Files          55        7      -48
  Lines        2571      449    -2122
==========================================
- Hits         2252      377    -1875
+ Misses        319       72     -247

Flag
Coverage Δ

jobs_mongodb_migration
?

libs_libcache
?

libs_libqueue
?

services_admin
?

services_api
?

workers_first_rows
83.96% <ø> (-0.04%)
:arrow_down:

workers_splits
?

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

workers/first_rows/src/first_rows/config.py
100.00% <ø> (ø)

workers/splits/src/splits/config.py

services/admin/src/admin/prometheus.py

...db_migration/migrations/_20221110230400_example.py

services/admin/src/admin/routes/pending_jobs.py

libs/libqueue/src/libqueue/queue.py

libs/libqueue/src/libqueue/config.py

libs/libcache/src/libcache/asset.py

.../mongodb_migration/src/mongodb_migration/config.py

...grations/_20221117223000_cache_generic_response.py

... and 39 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Support for blue-green upgrade strategy for GKE node pools

Describe the bug
GKE clusters now support both surge and blue/green upgrade strategy for nodepool upgrades. This request is to add support for blue/green node pool upgrade strategy into the gke nodepool module, https://github.com/GoogleCloudPlatform/cloud-foundation-fabric/tree/master/modules/gke-nodepool
Google documentation: https://cloud.google.com/kubernetes-engine/docs/how-to/node-pool-upgrade-strategies
google_container_node_pool resource from the provider seem to already support this functionality: https://github.com/hashicorp/terraform-provider-google/issues/12045

This was implemented in #1905 .
Can you please check support in modules before opening a new issue?


Task list

Initial tasks:

[ ] Create a zoom bar + buttons in the bottom right corner

[ ] Create an NGAC policy tool header

[x]  Fix grid layout for parent graph nodes and cluster its children

[ ] Take permission input upon edge connection
[ ] Create side panel for interactive graph tools
[ ] Create navigation fold-out bar for file ops

[ ] Create and organize file system, separate cytoscape files and project js file

[ ] Adjust default zoom to accomodate new panel buttons
[ ] Fix sticky button positioning, align with zoom panel

[ ] Deliniate objects and users in the graph system


Unify counter.h and rtc.h interfaces

Counter.h and rtc.h share almost the same functionality with only minor
differences:

rtc.h has option for initial value and initial alarm (set by rtc_set_config)
counter.h has pointer to the user context in the alarm callback

Both interfaces have drawbacks:

no information about the frequency so alarm is set in ticks which are virtual
no helper function to convert microseconds or milliseconds to ticks
in both APIs it is unclear if alarm is one shot or periodic
interfaces are limiting functionality of peripherals (TIMER, RTC) which usually
have couple of capture/compare channels. Current interfaces allow usage of single channel
lack of information about overflow (unless alarm is periodic and is actual overflow)
lack of possibility to set alarm for absolute value

Counter.h and RTC.h should be unified. Implementation of unified interface can be based on low power RTC-like peripheral or more accurate high frequency general purpose timers.
Topic already mentioned in #5895
Pull Requests, targeting the topic-counters topic branch:
@nordic-krch to coordinate with @anangl once all PRs are posted.

[x] API + nRF + tests : PR #8340
[x] nRF: PR #8743
[x] CMSDK: PR #10025
[x] QMSI: #9276
[x] mcux: #11347
[x] stm32: #11373
[x] i.MX EPIT: #11441

Related issues: https://github.com/zephyrproject-rtos/zephyr/issues/6498 and https://github.com/zephyrproject-rtos/zephyr/issues/7520

Merged into master


vm-guest-tools.bat - Server 2016 issue

Hi,
Firstly, thanks for your scripts, they have been really useful!
The only slight issue I am having is with Windows 2016 and when i try to run the MISEXEC command to install 7-zip.  It runs fine manually but when the script is invoked and it gets to the MSIEXEC command, I get this (after it has successfully downloaded 7-Zip):
This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package.
A general(ish) error I know but all works well on 2012 and 2012 R2.  Just wondering if anyone else has posted this issue to you?
Am creating a Windows 2016 Standard VM on Virtual Box 5.2.8 via Packer 1.2.1.
Packer output is: Build 'virtualbox-iso' errored: Script exited with non-zero exit status: 83.
Many thanks,
Dave.

Hi,
Just a quick update....
It looks like the 7Zip MSI installer file is not being created in C:\Windows\Temp.  Might be permissions issue so will take a look at that.
Cheers,
Dave.

Hey,
This was a permissions issue it seems.  Anyway, all fixed now.  If anyone is interested in the fix or comes across the issue, let me know and i will post.
Cheers,
Dave.

hi! how you fix it ?

Hey.
Basically, for me, I had to extract the MSI package from the VMware Tools install EXE (you can run a command to extract the MIS files - just do a quick Google search.  I can't remember the command offhand).  I couldn't get the installer EXE to work at all.  So, in my Windows answer file, I copy across the VMwareTools64.msi to C:\Windows\Temp and then call the MSI package from the bat file:
cmd /c msiexec /I C:\Windows\Temp\VMwareTools64.msi /qn ADDLOCAL=ALL REBOOT=R
Hope that makes sense!


Fix FastAPI issues

This issue is a collection of bug fixes for the few bugs that where discovered from the FastAPI alpha release.

Patch FastAPI get_request_handler to extract request body data (fixes the infinite loop when doing form posts in FastAPI) #1514
Fix patching exception handlers in _sentry_patched_exception_handler(fixes the error on non existent routes) #1514
Made Starlette middleware patching idempotent to prevent patching functions twice (no GitHub issue for that)
Patch request_response in Starlette to extract request body data  (fixes the infinite loop when doing form posts in Starlette) #1514
Starlette has async and sync "views" (or route handlers) in the sync ones it is not easily possible to get the request body data (because those functions are async) so we just get the cookies form the sync route handlers and not the body data. (no GitHub issue for that)

when will this be released?
thanks for the great work

We are working on the final touches. Should not take that long anymore.


Secure storage accounts and deploy storage accounts as V2

Benefit/Result/Outcome
Secure storage accounts in MLZ
Description

Storage accounts should be deployed a V2
Storage account should use a private link connection
Storage accounts should restrict network access using virtual network rules
Access to storage accounts with firewall and virtual network configurations should be restricted

Update bicep to deploy SAs and V2
Update bicep to deploy SAs within a PL
Update bicep to deploy SAs with restricted network access to vNet / subnets within the corresponding Tier (0, hub, 1, 2, 3)
Acceptance Criteria
Security findings resolved in ASC

Storage account should use a private link connection
Storage accounts should restrict network access using virtual network rules
Access to storage accounts with firewall and virtual network configurations should be restricted
Storage accounts deployed a V2

Need to check on V2 support across supported clouds.

should link this issue; we are presently using the default of TLS 1.0 on our storageAccount.bicep module:
https://github.com/Azure/missionlz/issues/696

This is a slightly larger ask, will require pre-existing DNS Zones and/or DNS Zone groups.
Additional questions regarding privateLink; storage accounts have several types of private links depending on resource type.
For instance, there can be one for blob, queue, table etc.

I have updated storage accounts as V2 in bicep as part of #702
It appears our bicep module is utilizing the storage account API that is newer then 2018-02-01 where this is being supported.
Also looks like the terraform implementation is already setting storage as StorageV2.
This doesn't yet solve the problem of the other acceptance criteria items however.


C#: csproj cleanup

update (sometimes missing) package descriptions
add nuget package icon
switch to non-deprecated licence property
change copyright notices to "The gRPC Authors"
cleanup of .csproj files (get rid of unnecessary properties)

Ad-hoc build of nuget packages: https://pantheon.corp.google.com/storage/browser/grpc-testing-kokoro-prod/test_result_public/prod/grpc/core/master/windows/grpc_build_packages/4908/20190216-092220/github/grpc/artifacts/


Stack buffer overflow when reading and writing strings

Note that if you use an address sanitizer you'll find stack buffer overflows when reading and writing strings. Reading is only a problem at the end of the input buffer. Writing is a problem for pretty much every string you write out, because you load multiple bytes at a time without regard for the end of the string, thus loading potentially invalid memory.

Awesome thanks for letting me know.


UX: verifying----- feedfback

Let user know that we're still working.
In the challenge "GitHubbin", there are 3 checks, but the second checks uses GitHub API, and for some reasons it hanged (probably internet issues), and it wasn't clear that something "wasn't working", it seemed like the user passed the check(the first one) but the challenge wasn't marked as completed.
More ideal if:

Spinner?
Let people know exactly how many checks there are when we start checking, and fill in the result one by one.

Yeah, definitely agree :+1:

This confetti! Want it http://codepen.io/linrock/pen/Amdhr :tada:


Receiving cached attachment data in Capybara tests

Capybara tests do not receive the value supplied in the hidden field containing cached attachment data.
This is only where that hidden field has the same name as the real input field - as required in the deprecation warning against giving the hidden field a different name. When the field has a different name, its value is received in the request params.
Chrome submits the hidden value without a problem, so I assume this is a Capybara/webkit issue, but it's also a problem if Shrine no longer supports giving the hidden field a different name.
(I have managed to get my tests working by using a different name for the field, but this raises other complexities around when to used values from either field and mapping the hidden field's value onto the correct attribute for the model.)

If by Shrine raising a deprecation warning for hidden field with different name you were referring to the deprecation of cached_<attachment>_data writer, the reason for that was explained in https://github.com/janko-m/shrine/commit/0cf395b65d23c0cb89dea5368b86ce14f024f650. TL;DR it caused hard-to-debug issues around validations when the order of parameters would accidentally be reversed with strong_parameters. I don't think this writer should be brought back.
If capybara-webkit doesn't support this functionality, that in case file field doesn't have a file attached it isn't submitted to the app (and instead falls back to the hidden field), then it's a bug in capybara-webkit, because that's the behaviour of all browsers.
So this issue should be fixed in capybara-webkit, or alternatively you could use PhantomJS or Selenium (in headless mode) with Capybara.