Make ClimaAtmos GPU compatible

The Climate Modeling Alliance
Software Design Issue 📜
Purpose
Make ClimaAtmos.jl package GPU compatible.
Cost/Benefits/Risks

People and Personnel

Lead: @sriharshakandala
Collaborators: @szy21 , @akshaysridhar, @trontrytel
Reviewers: @simonbyrne

Components

Inputs

Results and Deliverables

Task Breakdown And Schedule

[ ] RRTMGP.jl

[ ] Support single precision calculations
[ ] Tuning RRTMGP on GPU
[ ] Tune/refactor RRTMGP interface in ClimaAtmos.jl as needed

[ ] SurfaceFluxes.jl

[ ] Make SurfaceFluxes.jl GPU compatible
[ ] Tune/refactor SurfaceFluxes.jl interface in ClimaAtmos.jl as necessary

[ ]  CloudMicroPhysics.jl

[ ] Make CloudMicroPhysics GPU compatible

[ ] Make Diagnostic EDMF GPU compatible
[ ] Make Insolation GPU compatible

SDI Revision Log

CC
### Tasks

### Tasks

Looks good to me, thanks Sriharsha! Maybe we should move Supporting single precision calculations for RRTMGP to #1995, if that would be an enhancement for performance?
As a side note, Insolation used to only work with Float64. It seems that problem has been solved, but we still use Float64 in ClimaAtmos here. We need to change it and check if it still works.

#1995

I am flexible on that. The reason for placing this here is that Float32 has been set as a default precision in ClimaAtmos.

Yes, when we use Float32 in ClimaAtmos it is converted to Float64 when calculating radiation. I forgot where this is done, perhaps inside RRTMGP? Anyway, if this task doesn't take long, I think it's ok to have it here.

The next thing that is breaking in the moist GPU case (after https://github.com/CliMA/ClimaAtmos.jl/pull/2180 is merged) is this line:
    @. ᶠρK_E[colidx] =
        ᶠinterp(Y.c.ρ[colidx]) * eddy_diffusivity_coefficient(
            C_E,
            norm(interior_uₕ[colidx]),
            interior_coordinates.z[colidx] - z_surface,
            ᶠp[colidx],
        )

I imagine that the issue is one of 3 things:

norm may need to be hoisted
surface-sphere broadcasting is not working on the GPU (need to double check the status in ClimaCore)
broadcasting of first interior (center space) and surface (face space) is not supported.

The first is easiest to fix but seems unlikely. I think we fixed the second one. The third is a bit problematic, tbh. cc @simonbyrne

I think #2190 fixes the issue with
    @. ᶠρK_E[colidx] =
        ᶠinterp(Y.c.ρ[colidx]) * eddy_diffusivity_coefficient(
            C_E,
            norm(interior_uₕ[colidx]),
            interior_coordinates.z[colidx] - z_surface,
            ᶠp[colidx],
        )

above. The next breaking change, seen in build https://buildkite.com/clima/climaatmos-ci/builds/13566#018afcbf-a78e-49da-b017-18d0c705c4fa is: https://github.com/CliMA/ClimaAtmos.jl/blob/3a808010723fc8ba689d7cafb7fc37f784a83937/src/prognostic_equations/vertical_diffusion_boundary_layer.jl#L112-L117
and the error is:
ERROR: LoadError: GPU compilation of MethodInstance for copyto_stencil_kernel!(::Field{} (trunc disp), ::Broadcasted{CUDAColumnStencilStyle, PlaceholderSpace, typeof(rsub), Tuple{Field{} (trunc disp), StencilBroadcasted{CUDAColumnStencilStyle, DivergenceF2C{NamedTuple{(:top, :bottom), Tuple{SetValue{Covariant3Vector{Float32}}, SetValue{Field{} (trunc disp)}}}}, Tuple{Broadcasted{CUDAColumnStencilStyle, FacePlaceholderSpace, typeof(rsub), Tuple{Broadcasted{CUDAColumnStencilStyle, PlaceholderSpace, typeof(rmul), Tuple{Field{} (trunc disp), StencilBroadcasted{CUDAColumnStencilStyle, GradientC2F{NamedTuple{(), Tuple{}}}, Tuple{Field{} (trunc disp)}, PlaceholderSpace}}}}}}, PlaceholderSpace}}}, ::ExtrudedFiniteDifferenceSpace{CellCenter, SpectralElementSpace2D{Nothing, Quadratures.GLL{4}, SphericalGlobalGeometry{Float32}, IJFH{LocalGeometry{(1, 2), LatLongPoint{Float32}, Float32, SMatrix{2, 2, Float32, 4}}, 4, CuDeviceArray{Float32, 4, 1}}, IJFH{Float32, 4, CuDeviceArray{Float32, 4, 1}}, IFH{SurfaceGeometry{Float32, UVVector{Float32}}, 4, CuDeviceArray{Float32, 3, 1}}, NamedTuple{(), Tuple{}}}, Topologies.DeviceIntervalTopology{NamedTuple{(:bottom, :top), Tuple{Int64, Int64}}}, Flat, SphericalGlobalGeometry{Float32}, VIJFH{LocalGeometry{(1, 2, 3), LatLongZPoint{Float32}, Float32, SMatrix{3, 3, Float32, 9}}, 4, CuDeviceArray{Float32, 5, 1}}, VIJFH{LocalGeometry{(1, 2, 3), LatLongZPoint{Float32}, Float32, SMatrix{3, 3, Float32, 9}}, 4, CuDeviceArray{Float32, 5, 1}}}, ::NTuple{4, Int64}, ::Int64, ::Int64, ::Int64) failed
KernelError: passing and using non-bitstype argument

Argument 3 to your kernel function is of type Broadcasted{CUDAColumnStencilStyle, PlaceholderSpace, typeof(rsub), Tuple{Field{} (trunc disp), StencilBroadcasted{CUDAColumnStencilStyle, DivergenceF2C{NamedTuple{(:top, :bottom), Tuple{SetValue{Covariant3Vector{Float32}}, SetValue{Field{} (trunc disp)}}}}, Tuple{Broadcasted{CUDAColumnStencilStyle, FacePlaceholderSpace, typeof(rsub), Tuple{Broadcasted{CUDAColumnStencilStyle, PlaceholderSpace, typeof(rmul), Tuple{Field{} (trunc disp), StencilBroadcasted{CUDAColumnStencilStyle, GradientC2F{NamedTuple{(), Tuple{}}}, Tuple{Field{} (trunc disp)}, PlaceholderSpace}}}}}}, PlaceholderSpace}}}, which is not isbits:
  .args is of type Tuple{Field{} (trunc disp), StencilBroadcasted{CUDAColumnStencilStyle, DivergenceF2C{NamedTuple{(:top, :bottom), Tuple{SetValue{Covariant3Vector{Float32}}, SetValue{Field{} (trunc disp)}}}}, Tuple{Broadcasted{CUDAColumnStencilStyle, FacePlaceholderSpace, typeof(rsub), Tuple{Broadcasted{CUDAColumnStencilStyle, PlaceholderSpace, typeof(rmul), Tuple{Field{} (trunc disp), StencilBroadcasted{CUDAColumnStencilStyle, GradientC2F{NamedTuple{(), Tuple{}}}, Tuple{Field{} (trunc disp)}, PlaceholderSpace}}}}}}, PlaceholderSpace}} which is not isbits.
    .2 is of type StencilBroadcasted{CUDAColumnStencilStyle, DivergenceF2C{NamedTuple{(:top, :bottom), Tuple{SetValue{Covariant3Vector{Float32}}, SetValue{Field{} (trunc disp)}}}}, Tuple{Broadcasted{CUDAColumnStencilStyle, FacePlaceholderSpace, typeof(rsub), Tuple{Broadcasted{CUDAColumnStencilStyle, PlaceholderSpace, typeof(rmul), Tuple{Field{} (trunc disp), StencilBroadcasted{CUDAColumnStencilStyle, GradientC2F{NamedTuple{(), Tuple{}}}, Tuple{Field{} (trunc disp)}, PlaceholderSpace}}}}}}, PlaceholderSpace} which is not isbits.
      .op is of type DivergenceF2C{NamedTuple{(:top, :bottom), Tuple{SetValue{Covariant3Vector{Float32}}, SetValue{Field{} (trunc disp)}}}} which is not isbits.
        .bcs is of type NamedTuple{(:top, :bottom), Tuple{SetValue{Covariant3Vector{Float32}}, SetValue{Field{} (trunc disp)}}} which is not isbits.
          .bottom is of type SetValue{Field{} (trunc disp)} which is not isbits.
            .val is of type Field{} (trunc disp) which is not isbits.
              .values is of type IJFH{Covariant3Vector{Float32}, 4, SubArray{Float32, 4, CuArray{Float32, 4, Mem.DeviceBuffer}, Tuple{Base.Slice{Base.OneTo{Int64}}, Base.Slice{Base.OneTo{Int64}}, UnitRange{Int64}, Base.Slice{Base.OneTo{Int64}}}, false}} which is not isbits.
                .array is of type SubArray{Float32, 4, CuArray{Float32, 4, Mem.DeviceBuffer}, Tuple{Base.Slice{Base.OneTo{Int64}}, Base.Slice{Base.OneTo{Int64}}, UnitRange{Int64}, Base.Slice{Base.OneTo{Int64}}}, false} which is not isbits.
                  .parent is of type CuArray{Float32, 4, Mem.DeviceBuffer} which is not isbits.
                    .storage is of type Union{Nothing, ArrayStorage{Mem.DeviceBuffer}} which is not isbits.
              .space is of type SpectralElementSpace2D{Topologies.Topology2D{ClimaComms.SingletonCommsContext{ClimaComms.CUDADevice}, Meshes.EquiangularCubedSphere{Domains.SphereDomain{Float32}, Meshes.NormalizedBilinearMap}, Vector{CartesianIndex{3}}, Array{Int64, 3}, CuArray{Tuple{Int64, Int64, Int64, Int64, Bool}, 1, Mem.DeviceBuffer}, Vector{Tuple{Int64, Int64, Int64, Int64, Bool}}, CuArray{Tuple{Int64, Int64}, 1, Mem.DeviceBuffer}, CuArray{Int64, 1, Mem.DeviceBuffer}, CuArray{Tuple{Bool, Int64, Int64}, 1, Mem.DeviceBuffer}, CuArray{Int64, 1, Mem.DeviceBuffer}, NamedTuple{(), Tuple{}}, CuArray{Tuple{Int64, Int64}, 1, Mem.DeviceBuffer}}, Quadratures.GLL{4}, SphericalGlobalGeometry{Float32}, IJFH{LocalGeometry{(1, 2, 3), LatLongZPoint{Float32}, Float32, SMatrix{3, 3, Float32, 9}}, 4, SubArray{Float32, 4, CuArray{Float32, 5, Mem.DeviceBuffer}, Tuple{Int64, Vararg{Base.Slice{Base.OneTo{Int64}}, 4}}, true}}, IJFH{Float32, 4, CuArray{Float32, 4, Mem.DeviceBuffer}}, IFH{SurfaceGeometry{Float32, UVVector{Float32}}, 4, CuArray{Float32, 3, Mem.DeviceBuffer}}, NamedTuple{(), Tuple{}}} which is not isbits.
                .topology is of type Topologies.Topology2D{ClimaComms.SingletonCommsContext{ClimaComms.CUDADevice}, Meshes.EquiangularCubedSphere{Domains.SphereDomain{Float32}, Meshes.NormalizedBilinearMap}, Vector{CartesianIndex{3}}, Array{Int64, 3}, CuArray{Tuple{Int64, Int64, Int64, Int64, Bool}, 1, Mem.DeviceBuffer}, Vector{Tuple{Int64, Int64, Int64, Int64, Bool}}, CuArray{Tuple{Int64, Int64}, 1, Mem.DeviceBuffer}, CuArray{Int64, 1, Mem.DeviceBuffer}, CuArray{Tuple{Bool, Int64, Int64}, 1, Mem.DeviceBuffer}, CuArray{Int64, 1, Mem.DeviceBuffer}, NamedTuple{(), Tuple{}}, CuArray{Tuple{Int64, Int64}, 1, Mem.DeviceBuffer}} which is not isbits.
                  .elemorder is of type Vector{CartesianIndex{3}} which is not isbits.
                  .orderindex is of type Array{Int64, 3} which is not isbits.
                  .elempid is of type Vector{Int64} which is not isbits.
                  .neighbor_pids is of type Vector{Int64} which is not isbits.
                  .send_elem_lidx is of type Vector{Int64} which is not isbits.
                  .send_elem_lengths is of type Vector{Int64} which is not isbits.
                  .recv_elem_gidx is of type Vector{Int64} which is not isbits.
                  .recv_elem_lengths is of type Vector{Int64} which is not isbits.
                  .interior_faces is of type CuArray{Tuple{Int64, Int64, Int64, Int64, Bool}, 1, Mem.DeviceBuffer} which is not isbits.
                    .storage is of type Union{Nothing, ArrayStorage{Mem.DeviceBuffer}} which is not isbits.
                  .ghost_faces is of type Vector{Tuple{Int64, Int64, Int64, Int64, Bool}} which is not isbits.
                  .local_vertices is of type CuArray{Tuple{Int64, Int64}, 1, Mem.DeviceBuffer} which is not isbits.
                    .storage is of type Union{Nothing, ArrayStorage{Mem.DeviceBuffer}} which is not isbits.
                  .local_vertex_offset is of type CuArray{Int64, 1, Mem.DeviceBuffer} which is not isbits.
                    .storage is of type Union{Nothing, ArrayStorage{Mem.DeviceBuffer}} which is not isbits.
                  .ghost_vertices is of type CuArray{Tuple{Bool, Int64, Int64}, 1, Mem.DeviceBuffer} which is not isbits.
                    .storage is of type Union{Nothing, ArrayStorage{Mem.DeviceBuffer}} which is not isbits.
                  .ghost_vertex_offset is of type CuArray{Int64, 1, Mem.DeviceBuffer} which is not isbits.
                    .storage is of type Union{Nothing, ArrayStorage{Mem.DeviceBuffer}} which is not isbits.
                  .local_neighbor_elem is of type Vector{Int64} which is not isbits.
                  .local_neighbor_elem_offset is of type Vector{Int64} which is not isbits.
                  .ghost_neighbor_elem is of type Vector{Int64} which is not isbits.
                  .ghost_neighbor_elem_offset is of type Vector{Int64} which is not isbits.
                  .internal_elems is of type Vector{Int64} which is not isbits.
                  .perimeter_elems is of type Vector{Int64} which is not isbits.
                  .ghost_vertex_gcidx is of type Vector{Int64} which is not isbits.
                  .ghost_face_gcidx is of type Vector{Int64} which is not isbits.
                  .comm_vertex_lengths is of type Vector{Int64} which is not isbits.
                  .comm_face_lengths is of type Vector{Int64} which is not isbits.
                  .ghost_vertex_neighbor_loc is of type Vector{Int64} which is not isbits.
                  .ghost_vertex_comm_idx_offset is of type Vector{Int64} which is not isbits.
                  .repr_ghost_vertex is of type CuArray{Tuple{Int64, Int64}, 1, Mem.DeviceBuffer} which is not isbits.
                    .storage is of type Union{Nothing, ArrayStorage{Mem.DeviceBuffer}} which is not isbits.
                  .ghost_face_neighbor_loc is of type Vector{Int64} which is not isbits.
                .local_geometry is of type IJFH{LocalGeometry{(1, 2, 3), LatLongZPoint{Float32}, Float32, SMatrix{3, 3, Float32, 9}}, 4, SubArray{Float32, 4, CuArray{Float32, 5, Mem.DeviceBuffer}, Tuple{Int64, Vararg{Base.Slice{Base.OneTo{Int64}}, 4}}, true}} which is not isbits.
                  .array is of type SubArray{Float32, 4, CuArray{Float32, 5, Mem.DeviceBuffer}, Tuple{Int64, Vararg{Base.Slice{Base.OneTo{Int64}}, 4}}, true} which is not isbits.
                    .parent is of type CuArray{Float32, 5, Mem.DeviceBuffer} which is not isbits.
                .ghost_geometry is of type IJFH{LocalGeometry{(1, 2, 3), LatLongZPoint{Float32}, Float32, SMatrix{3, 3, Float32, 9}}, 4, SubArray{Float32, 4, CuArray{Float32, 5, Mem.DeviceBuffer}, Tuple{Int64, Vararg{Base.Slice{Base.OneTo{Int64}}, 4}}, true}} which is not isbits.
                  .array is of type SubArray{Float32, 4, CuArray{Float32, 5, Mem.DeviceBuffer}, Tuple{Int64, Vararg{Base.Slice{Base.OneTo{Int64}}, 4}}, true} which is not isbits.
                    .parent is of type CuArray{Float32, 5, Mem.DeviceBuffer} which is not isbits.
                .local_dss_weights is of type IJFH{Float32, 4, CuArray{Float32, 4, Mem.DeviceBuffer}} which is not isbits.
                  .array is of type CuArray{Float32, 4, Mem.DeviceBuffer} which is not isbits.
                    .storage is of type Union{Nothing, ArrayStorage{Mem.DeviceBuffer}} which is not isbits.
                .ghost_dss_weights is of type IJFH{Float32, 4, CuArray{Float32, 4, Mem.DeviceBuffer}} which is not isbits.
                  .array is of type CuArray{Float32, 4, Mem.DeviceBuffer} which is not isbits.
                    .storage is of type Union{Nothing, ArrayStorage{Mem.DeviceBuffer}} which is not isbits.
                .internal_surface_geometry is of type IFH{SurfaceGeometry{Float32, UVVector{Float32}}, 4, CuArray{Float32, 3, Mem.DeviceBuffer}} which is not isbits.
                  .array is of type CuArray{Float32, 3, Mem.DeviceBuffer} which is not isbits.
                    .storage is of type Union{Nothing, ArrayStorage{Mem.DeviceBuffer}} which is not isbits.

Stacktrace:
  [1] check_invocation(job::GPUCompiler.CompilerJob)
...


[release-4.15] OCPBUGS-31479: Rolebinding SSA cherry-pick

Cherry-pick of 0ccf3d9
Switch to SSA for RoleBindings during install (as we do now for Services and ClusterRoleBindings) to avoid issues with race conditions and/or failures to retrieve resources due to missing labels.
Signed-off-by: Daniel Franz<EMAIL_ADDRESS>Upstream-repository: operator-lifecycle-manager
Upstream-commit: 6b2b933f7fb5dd1fd6fe7da967f3f22a27c4253c

/hold
until OCPBUGS-31080 is verified.

/hold
for pre-testing

pre-testing fails and update the jira ticket.

/jira refresh

/close
While this backport does address the issue specifically around RoleBindings it's clear there is more going on and this requires a more involved fix.

/open
@kuiwang02 please see Jira ticket; we'd like to get this merged while we continue to investigate the root cause.

/jira refresh

/jira refresh

/jira refresh

/hold
We do actually need SSA on roles - holding till I get that in.

Closing as we're downstream a more complete fix.
/close


Make a menu

Programmer wants a menu that performs a task with the data depending on user input

[ ] Make a menu that prompts user to enter a input
[ ] Perform operation based on input
[ ] Only perform based on 4 different valid input
[ ] Allow user to reenter a valid input if a invalid input was entered

acceptance

Only perform task on 4 inputs

acceptance test

Check if each input perform their corresponding task
Check if correct action is performed

Can I be assigned?

@rdari5 Could you assign this issue to me, please?


Improve Stockfish version parsing

Note

Second draft of improving version parsing of different Stockfish releases and development builds.
Note: This PR was originally on a repo forked from https://github.com/zhelyabuzhsky/stockfish. Change of remote upstream necessitated a new PR.

Background
Stockfish returns different version formats for releases and development builds:
id name Stockfish 15.1
id name Stockfish 14
id name Stockfish dev-20221219-61ea1534 # ie. dev-YYYYMMDD-<sha>
id name Stockfish 150521 # ie. DDMMYY

Currently the codebase only parses release versions (15.1, 14, etc.) Support is needed for development builds as well. See https://github.com/py-stockfish/stockfish/issues/11 for more background.
Implemented

Support parsing new and old formats of dev builds, eg. dev-20230319-af4b62a5, 280322
Infer major.minor versions of development builds from release dates, assuming a dev build is based on the latest release prior to build date.
Parse full, major, minor, patch (dev build) versions, and sha if available
Add public getters for full, major, minor, patch, sha
Add tests
Fixes https://github.com/py-stockfish/stockfish/issues/11

https://github.com/py-stockfish/stockfish/pull/19#issuecomment-1509410471

Status? 💭

Seems you both are happy with the branch, and the recent changes all look good to me. So I'll go ahead and merge this.


Investigate making Manager an EventEmitter

The Manager could emit events for things like completion of all plugin registrations. Plugins could react to these events.

Closed in a1e991b3c12768c8366cf72b2ffa22c40132e002.


Tighter CEGUI Integration

Supersedes #279 and #263
Plan:

[ ] Patch CEGUI Color picker so it doesn't crash when double clicked
[ ] Implement an IrrBaW CEGUI renderer (instead of OpenGL Core) that handles the Vulkan NDC Y-range
[x] Implement an IrrBaW CEGUI texture loader (will give proper sRGB support)
[ ] Kick out STB, glew submodules from the repo

@AnastaZIuk assigned.

screw CEGUI


Update README.md

Current coverage is 99.02% (diff: 100%)

Merging #9 into master will not change coverage

@@             master         #9   diff @@
==========================================
  Files             6          6
  Lines           206        206
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            204        204
  Misses            1          1
  Partials          1          1

Powered by Codecov. Last update d047db6...9458351

👍


Improve documentation for the REST API

We need to improve documentation for the REST API

Hi, I would like to take up this issue and implement swagger and swaggger-ui libraries for REST API documentation.
Please let me know if that sounds good and whether I can get it assigned to me or not.
Thank you!

hey @rajuTK9, appreciate you taking this up. please go ahead and raise a PR.


Building a Runner for this Koans

I would like to have a Test Runner for this koan. The problem that I would like to solve is that the tests are running in a non-ordered way.

It would be great to have a test runner that executes one test by another so we could tell a story with our Koans. The inspiration comes from the Python Koans

I made some ideas about how the test runner should work.

Run the tests by a predefined order (Chapter 1: Test 1, 2, 3...- Chapter 2: Test 1, 2, 3)
A watch to check if something in the test files has changed
Pause at the last failing test and wait for changes on the files


Fix some go-lint problems.

During merge into internal destination some pesky golang lint problems popped up.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>9
Details

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 55.268%

Totals

Change from base Build<PHONE_NUMBER>6:
0.0%

Covered Lines:
1983

Relevant Lines:
3588

💛  - Coveralls


Document the support for Monotype feature files

https://github.com/googlei18n/fontmake/issues/289

LGTM


Catalog of My Things: first submission

Project Link: https://github.com/tresorsawasawa/Catalog_of_my_things/issues/new
We are a team of four members
Team member #1: @Gegardus
Team member #2: @tresorsawasawa
Team member #3: @fobadara
Team member #4: @ahmedtaa

Hi @team
Good job so far! I know you have worked hard on making this milestone But  There are some issues that you still need to work on to go to the next project but you are almost there!

Required Changes ♻

[ ] kindly provide the link to your project kanban board not the link to a new issue
[ ] As tasks are well divided and well described  in the requirement i think you need also to add good descriptions so that people know who is on which task!

Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop the approval of this PR. However, I strongly recommend you to take them into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

As described in the Code reviews limits policy you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.

STATUS: APPROVED ✔ ✔
Hi team,
Your project is complete!  There is nothing else to say other than... it's time to merge it :shipit:
Congratulations! 🎉
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the Issue thread if something is not 100% clear. And please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


API Star support

I've just adding installation instructions for Zappa to API Star, having got my first deployment up & running.
API Star is a Python 3 only framework, so figured I'd jump on the latest support and try it out. 👍
There were a couple of things that I ran into, that are worth mentioning here...
The ujson package appeared to not be installed remotely for some reason, despite existing in the virtualenv. Presumably something to do with it being a C package.
[1492889820236] Instancing..
[1492889820896] No module named 'ujson': ModuleNotFoundError
Traceback (most recent call last):
  File "/var/task/handler.py", line 514, in lambda_handler
  return LambdaHandler.lambda_handler(event, context)
  File "/var/task/handler.py", line 259, in lambda_handler
  handler = cls()
  File "/var/task/handler.py", line 148, in __init__
  self.app_module = importlib.import_module(self.settings.APP_MODULE)
  File "/var/lang/lib/python3.6/importlib/__init__.py", line 126, in import_module
  return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 978, in _gcd_import
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 936, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 978, in _gcd_import
  File "<frozen importlib._bootstrap>", line 961, in _find_and_load
  File "<frozen importlib._bootstrap>", line 950, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 655, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 678, in exec_module
  File "<frozen importlib._bootstrap>", line 205, in _call_with_frames_removed
  File "/var/task/app.py", line 1, in <module>
  from apistar import App, Route
  File "/var/task/apistar/__init__.py", line 8, in <module>
  from apistar.app import App
  File "/var/task/apistar/app.py", line 7, in <module>
  from apistar import commands, pipelines, routing, schema
  File "/var/task/apistar/routing.py", line 11, in <module>
  from apistar import exceptions, http, pipelines, schema, wsgi
  File "/var/task/apistar/http.py", line 10, in <module>
  import ujson as json
ModuleNotFoundError: No module named 'ujson'

I've worked around this by making ujson an optional dependency of apistar, and falling back to json when it doesn't exist.
Secondly, API Star has a layout that doesn't quite work with Zappa without a minor tweak. Our wsgi interface is exposed as a property of the application instance (rather than a __call__ on the app instance itself) this is because we expect to expose various other interfaces, rather than only being a WSGI interface.
Not particularly surprising, but "app_function": "app.app.wsgi" didn't work correctly.
This isn't a great problem as we can work around by having the user expose the WSGI callable at the top level of the module...
app = App(...)
wsgi_app = app.wsgi

Then "app_function": "app.wsgi_app" works as expected in the config.
It's worth noting that running under, say gunicorn, the slightly different calling syntax gunicorn app:app.wsgi works fine. Perhaps there's something to consider there, perhaps not.
Finally I'd be interested to know if there's anything we could do to include API Star as one of the listed supported options, or to have API Star included in the "automatic detection"?
Thanks so much for the incredible work! ⚡ ⚡ ⚡

Perhaps ujson could be included in Miserlou/lambda-packages if it really is the C extension that's causing an issue

This! Is! Awesome!
I'd be more than happy to include greater support in Zappa for API Star. There should be two places we can do this, one in the init command, and the other is just in the documentation about this.
The tricky part about this is just that, as you mentioned, the user has to modify their application to expose wsgi_app, so init probably won't work out of the box. Is there anything we can do there on the API Star side, maybe have it so that the naked app is smart enough to know when to return the WSGI object if it can spy some Zappa environment variables? Maybe that's asking too much.
Otherwise, then the only other thing is making any changes to the documentation, which I'm more than happy to merge in.
Thanks for taking the initiative on this, I'm really happy to see these working together. API Star seems really snappy on Lambda!
Re ujson - we could either make a package for lambda-packages, as @bcongdon mentioned, or you could lobby get upstream ujson distributed as a manylinux wheel, which I think would probably be preferable at this point.

The tricky part about this is just that, as you mentioned, the user has to modify their application to expose wsgi_app, so init probably won't work out of the box. Is there anything we can do there on the API Star side, maybe have it so that the naked app is smart enough to know when to return the WSGI object if it can spy some Zappa environment variables? Maybe that's asking too much.

I guess most likely I'll just introduce a __call__ on the app instance itself. Once I've done that I'll have a look at making a pull request introducing API Star auto-discovery to Zappa.
I'm not particularly concerned about ujson support. Being able to fall back to the system JSON is sufficient for now, and I've got higher priority stuff on my list at the moment, although might come back to it at a future date.


Email notification should be sent to admin on event trigger.

I was looking into the Events section. I was very happy to see all the events in one place but then I felt that there should be some kind of notification(an email sent to admin) for each event.
Whenever a new event is raised, an email should be sent to specified email.
There could be option to configure multiple email or disable email notifications.
is this feature already in portainer or is being implemented?

Hi @atifsaddique211f
This feature is not implemented nor being implemented at the moment. I think it would be preferable to wait for #696 to be implemented first and then think about activity notifications.
The problem I see with events is that when you start a container for example, multiple events are fired (container created, container network connected, container started...)
So this would actually generate a lot of spam.

To avoid spam there should be option to configure the event notifications. Like I should be able to configure/filter that for which type of events I should receive emails/notifications.
I am a FullStack developer with expertise in Angular2/JS, Spring, Grails, Go-CD, Docker, Docker Compose. I can help you guys implement this feature as well if you want.

Ping @ncresswell
What's your thoughts on this?

be aware that Portainer is not collecting events all the time... it only retrieves the events when you click on that menu item... (basically just calls a Docker Events command)
Sent from my iPad
On 5/07/2017, at 9:12 PM, Atif Saddique <notifications<EMAIL_ADDRESS>wrote:
To avoid spam there should be option to configure the event notifications. Like I should be able to configure/filter that for which type of events I should receive emails/notifications.
I am a FullStack developer with expertise in Angular2/JS, Spring, Grails, Go-CD, Docker, Docker Compose. I can help you guys implement this feature as well if you want.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_979-23issuecomment-2D313047620&d=DQMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=UyI-_fbM-DIlv6GkctWkdQXTv5mIN8KWZg5GdZJklf4&s=zDlX78f0s2E3Jp2J2vR7zByKkH8cR1dcO3aDj02CAOo&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrldpIp2-5FKglwOuywzM77UqVtE-5FGDGks5sK1NjgaJpZM4ON-5FtB&d=DQMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=UyI-_fbM-DIlv6GkctWkdQXTv5mIN8KWZg5GdZJklf4&s=PIMMPzHjIW8av3gIyD7hAlw-JxKKCRFmm4oWvkNC7AM&e=.

Indeed, that's why I thought that this should be more related to #696
Or even better, I'm thinking that notifications should be part of the monitoring and alerting plugin: https://github.com/portainer/portainer/issues/943

In that case, we will provide an option to enable or disable polling for events.
If user wants to get notifications of events then he must enable the polling of events, in which case we will poll/check/fetch events after few interval of time

OK, well i am open to seeing a mockup of how this works... and we need to make sure the polling is async, so that it doesnt impact the usability of Portainer.
Sent from my iPad
On 5/07/2017, at 9:16 PM, Atif Saddique <notifications<EMAIL_ADDRESS>wrote:
In that case, we will provide an option to enable or disable polling for events.
If user wants to get notifications of events then he must enable the polling of events, in which case we will poll/check/fetch events after few interval of time
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_portainer_portainer_issues_979-23issuecomment-2D313048698&d=DQMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=JhZU3GMY6L_3OnGxSvDhiTHqGdeXTFQMRbtIOLLtEI4&s=-4JC3xGTJgBcWpEVxMs7seDDI9pNY-WG-5pJs55vPXo&e=, or mute the threadhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_AWGrlaT7yUghA-5FkH78ZnOpI7ZBMLAibMks5sK1SHgaJpZM4ON-5FtB&d=DQMFaQ&c=euGZstcaTDllvimEN8b7jXrwqOf-v5A_CdpgnVfiiMM&r=0fx0h4vB56iTLpw2McH1ZD6TqG_QGpbggVOB-PfMJpM&m=JhZU3GMY6L_3OnGxSvDhiTHqGdeXTFQMRbtIOLLtEI4&s=pq7ZVlx63ikPlTP6FOSaxEHpqcE0DY5FrbqWG7xDs-8&e=.

Side note, the events view was planned to be replaced by the audit view in #696

I'll close the discussion here as we think this will probably be part of the Monitoring & Alerting plugin, I'll reference this in #943


Added top margin to ImageView in Consent Visual step

This is the fix for https://gitlab.medable.com/axon/android/app/issues/107


Underscores not visible in integrated terminal (possible regression)

VSCode Version: 1.31.1
OS Version: Centos 7

Steps to Reproduce:

Open vscode
Open a basic text file
Open integrated terminal (bash)
4, type "hello_world"
note that the _ is not visible

Looks like the workaround of setting zoom level to -0.001 works to make it visible again,
I do appreciate this has been reported before but is marked as closed.

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

https://github.com/Microsoft/vscode/issues/35901


Change LanguageDefinitions to use VscodeFilesystem.

Remove some uses of fs, fs/promises, and path for the web port.

This test is failing because it calls LanguageDefinitions.get directly, without an open-text-document callback which is what the class now uses to load languages: https://github.com/cursorless-dev/cursorless/blame/08abb7f380952aa72c415c918ab5073[…]1df2d7934/packages/cursorless-engine/src/runIntegrationTests.ts.
How do I inject an open-text-document to the FakeIDE?

I fixed the failing test mentioned earlier.

I believe I fixed that but I'm not set up to test changing the development queries locally; please give it a try.

I believe all comments so far are addressed.

I tested this on Cider (web environment) and found that mkdir(cursorlessDir) was failing (no surprise) and causing extension activation to fail.  There are ways we can improve this, such as by having cursorlessDir be a workspace.Uri and on web environments using extensionContext.storageUri. Of course that won't help for communicating with Talon (e.g. for spoken forms state.json), but I have some other ideas about that.  In the meantime, I just wrapped a try/catch around it so we log the error instead of failing activation. With that, this code at least executes in a web environment; I can't really test it until I have language definitions, and that has to wait for me to figure out how to get WASM to work.
Anyway, yes, I am happy with this PR and ready for it to be committed.

I tested this on Cider (web environment) and found that mkdir(cursorlessDir) was failing (no surprise) and causing extension activation to fail. There are ways we can improve this, such as by having cursorlessDir be a workspace.Uri and on web environments using extensionContext.storageUri. Of course that won't help for communicating with Talon (e.g. for spoken forms state.json), but I have some other ideas about that.

Yeah the cursorless dir is a bit overloaded. I removed it from the public interface
I agree we can prob use extensionContext.storageUri for command history, or we can just not support command history on web. That seems fine to me
Re communication with Talon, I think the right place to start would be to have a look at TalonSpokenFormsJsonReader. Note how it's in a directory called nodeCommon. I was imagining that we could just inject this from extension.ts when we're in regular VSCode, and inject something else conforming to the simple TalonSpokenForms interface when we're on web. At some point we'll prob want to migrate nodeCommon to its own package in the monorepo and add lint rules that ensure the cursorless engine itself doesn't refer to any node packages

In the meantime, I just wrapped a try/catch around it so we log the error instead of failing activation. With that, this code at least executes in a web environment; I can't really test it until I have language definitions, and that has to wait for me to figure out how to get WASM to work.

Yeah I think that's fine. Tbh cursorless dir isn't critical to Cursorless behaviour, so probably better if the whole extension doesn't crash if for some reason we can't create that dir


Fix react-toolbox.com link in readme

Sorry, just merged another PR fixing the same thing. This was first sorry I missed it and thank you for sending it! :)


Add an error code for purse not found for balance requests

We currently return a generic query error (we did the same in 1.5), but bitvavo have asked for a dedicated error for this

bors r+


Use the closest git reference instead of the commit hash

In subctl version, display the output of "git describe --tags" instead
of the full commit hash. On development versions, this will show the
closest tag, followed by the number of commits since the tag, and the
short hash of the current commit:
$ bin/subctl version
subctl version: dev
built from git ref: v0.3.0-rc2-2-g95d2c84

When subctl is built from a commit which is itself tagged (i.e. when
building a release), it will only show the tag:
$ bin/subctl version
subctl version: v0.3.0
built from git ref: v0.3.0

Fixes: #355
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

This is a quick fix for #355; looking at the build process, since we’re tag-based, it should be possible to get rid of the whole VERSION thing entirely...


TINKERPOP-1035: HALTED_TRAVERSERS hold wrong information

https://issues.apache.org/jira/browse/TINKERPOP-1305
@dkuppitz found a severe bug in 3.2.0 in OLAP traversal chains. Interestingly enough, all the test cases we had didn't touch this problem (even though they did tangentially, but didn't test particular expectations). As such, two new tests have been added to pageRank() and peerPressure() which demonstrate the problem has been rectified.
CHANGELOG
* Fixed a severe bug around halted traversers in a multi-job OLAP traversal chain.
* Ensure a separation of `GraphComputer` and `VertexProgram` configurations in `SparkGraphComputer` and `GiraphGraphComputer`.
* `PeerPressureVertexProgram` now supports dynamic initial vote strength calculations.
* Added `EmptyMemory` for ease of use when no memory exists.
* Updated `VertexComputing.generateProgram()` API to include `Memory` (*breaking*).
* `ImmutablePath.TailPath` is now serializable like `ImmutablePath`.

UPGRADE
VertexComputing API Change
+++++++++++++++++++++++

The `VertexComputing` API is used by steps that wrap a `VertexProgram`. There is a method called `VertexComputing.generateProgram()` that has changed which now takes a second argument of `Memory`. To  upgrade, simply fix the method signature of your `VertexComputing` implementations. The `Memory` argument can be safely ignored to effect the exact same semantics as prior. However, now previous OLAP job `Memory` can be leveraged when constructing the next `VertexProgram` in an OLAP traversal chain.

mvn clean install PASSED, integration tests PASSED, and docs built GOOD.
[INFO] Apache TinkerPop .................................. SUCCESS [4.477s]
[INFO] Apache TinkerPop :: Gremlin Shaded ................ SUCCESS [2.256s]
[INFO] Apache TinkerPop :: Gremlin Core .................. SUCCESS [38.899s]
[INFO] Apache TinkerPop :: Gremlin Test .................. SUCCESS [11.399s]
[INFO] Apache TinkerPop :: Gremlin Groovy ................ SUCCESS [38.721s]
[INFO] Apache TinkerPop :: Gremlin Groovy Test ........... SUCCESS [6.730s]
[INFO] Apache TinkerPop :: TinkerGraph Gremlin ........... SUCCESS [3:15.097s]
[INFO] Apache TinkerPop :: Gremlin Benchmark ............. SUCCESS [5.194s]
[INFO] Apache TinkerPop :: Hadoop Gremlin ................ SUCCESS [10:57.415s]
[INFO] Apache TinkerPop :: Spark Gremlin ................. SUCCESS [6:28.472s]
[INFO] Apache TinkerPop :: Giraph Gremlin ................ SUCCESS [2:47:11.903s]
[INFO] Apache TinkerPop :: Neo4j Gremlin ................. SUCCESS [1:08:16.166s]
[INFO] Apache TinkerPop :: Gremlin Driver ................ SUCCESS [8.704s]
[INFO] Apache TinkerPop :: Gremlin Server ................ SUCCESS [13:13.317s]
[INFO] Apache TinkerPop :: Gremlin Console ............... SUCCESS [1:23.504s]
[INFO] Apache TinkerPop :: Gremlin Archetype ............. SUCCESS [0.134s]
[INFO] Apache TinkerPop :: Archetype - TinkerGraph ....... SUCCESS [7.257s]
[INFO] Apache TinkerPop :: Archetype - Server ............ SUCCESS [11.883s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4:33:02.004s
[INFO] Finished at: Thu May 19 00:09:24 MDT 2016
[INFO] Final Memory: 99M/712M
[INFO] ------------------------------------------------------------------------

VOTE +1.

This also solves https://issues.apache.org/jira/browse/TINKERPOP-1298

Can you rename this PR? You transposed the number and the wrong JIRA ticket is getting the updates.

VOTE +1 - $ docker/build.sh -t -i -n is all good

Even if this PR gets another +1, please don't merge yet, as I'm still doing lots of manual tests these days. I'm still not sure if I like halted traversers being stored in the config (simply because I'm not yet at the point where I've tested this particular change).
And even if my tests are going to run smoothly, I'm still worried about how scalable this approach is. In a distributed environment, how is the configuration distributed between worker iterations? Where is it stored? Will it be (re)loaded for each worker iteration? If so, how long does it take to load a config that holds millions of halted traversers?

These are "master traversal" traversers. Even before when it was stored in sideeffects, those are ultimately stored in Configuration (TRAVERSAL). Its the same scalability as before, just better semantics as we shouldn't store halted traversers as side-effects (they have "left the traversal"). Finally, since the beginning, OLAP reductions to the master traversal are only as scalable as the single machine it comes back to. Thus, groups(), limits(), groupCounts(), sums(), etc. are important. There is no g.V() on a billion vertex graph and stream back results.

Dozens of manual tests later...
VOTE: +1


[SPARK-47186][TESTS][FOLLOWUP] Correct the name of spark.test.docker.connectionTimeout

What changes were proposed in this pull request?

This PR adds a followup of SPARK-47186 to correct the name of spark.test.docker.connectionTimeout
Why are the changes needed?

test bugfix
Does this PR introduce any user-facing change?

no
How was this patch tested?

existing tests
Was this patch authored or co-authored using generative AI tooling?

no

+1, LGTM.

Thank you @dongjoon-hyun


fix: Change desired translated text

It appears that the API now translates beef to "Boeuf" instead of "Bœuf"

Done elsewhere with a direct commit to main.


Update README.md

Improved clarity, formatting, and consistency in installation and configuration instructions

Thanks for the PR. We prefer the Oxford comma, and as per the contributor guide we do not merge formatting-only changes.


Using taxii2-client with HTTPS proxy

Hi,
My corporate environment uses an HTTP proxy for all external requests. How do I configure the API to support this? I tried the following snippet:
proxies = {'https': .....}
httpConn = _HTTPConnection(proxies=proxies)
server = Server("https://cti-taxii.mitre.org/taxii/", conn=httpConn)

But it appears the version of the api that is installed via pip install taxii2-client (0.3.1) is an outdated version of the API that doesn't include support for proxies. I also tried setting up the environment variables http_proxy and https_proxy as stated in the documentation for the requests module but that also doesn't seem to work.
Any advice?
Also how do I get the latest version of the API?
Thanks!

Well, who knew pip can install directly from github!  Well, I guess google did!
 pip install --upgrade git+https://github.com/oasis-open/cti-taxii-client

Hrrggh, this is an issue on my end and not the API.  Didn't realize that I also had the environment variable NO_PROXY set that included the domain for the API endpoint!  I proceeded to unset the NO_PROXY env temporarily to test and it all worked.  How sheepish I feel!


Forward Authentication Endless Loop

Do you want to request a feature or report a bug?
A bug.
What did you do?
Configured traefik to use forward authentication, with a URL pointing to the same traefik.
What did you expect to see?
Traefik should not try to authenticate the requests against the forward authentication endpoint.
What did you see instead?
Endless loop.

EntryPoint definition
[entryPoints]
    [entryPoints.http]
    address = ":80"
    compress = true
      [entryPoints.http.auth.forward]
      address = "http://DOMAIN/auth"
      trustForwardHeader = true

ECS backend
[ecs]
clusters = ["CLUSTER"]
watch = true
domain = "DOMAIN"
autoDiscoverClusters = false
refreshSeconds = 15
exposedByDefault = false
region = "us-east-1"

Labels of my authentication service
 "traefik.enable": "true",
 "traefik.frontend.rule": "PathPrefix:/saml,/user,/auth",
 "traefik.backend.healthcheck.path": "/health"

Concrete steps:

User calls http://mydomain/
Traefik calls http://mydomain/auth
Authentication service redirects http://mydomain/saml
Traefik returns the redirect to the browser
Browser calls http://mydomain/saml
Traefik tries to authenticate the request to http://mydomain/saml and calls again http://mydomain/auth

If applicable, please paste the log output in debug mode (--debug switch)

Could you give more information (edit the issue description): TOML/CLI, labels, ...

Hi @mtgerb,
Thanks for your interest in Træfik.
Unfortunately it is not possible to manage authentication like that.
You could maybe create a new entrypoint to expose only the authentication service.
I will close this issue because I think that question is answered.


typing_events: Show typing notification in a proper topic narrow.

It is possible to have multiple topic / stream terms if user is searching or if the URL is malformed. So, we should check if the user is in a proper topic narrow before showing typing notifications.
This fixes the error of topic being undefined due to there being multiple topic terms in narrow when trying to display notifications.
We also prefer using narrow_state.narrowed_by_topic_reply to render compose closed text.
To reproduce the bug, navigate to http://localhost:3000/#narrow/stream/4-Rome/topic/green.20BOTS.20linking.20quickly#narrow/stream/4-Rome/topic/green.20BOTS.20linking.20quickly similar to what we observed in sentry.
The URL has multiple #narrow fragments which seems to restored incorrected after reload from oldhash. Looking at thebuild_reload_url definitely seems like we are not doing anything incorrect and seems to be an issue from the user end.

@alya there's a UI/product question here, which is you're viewing say stream/topic/sender combination narrow, do we want to display typing notifications, and do we want to display "Message #stream>topic" in the main compose reply button.
It looks like main does yes and yes, this PR implements no and no, and I think we want no typing notifications and yes to the main reply button being to that stream/topic pair.
@amanagr is there a second bug that we should reject parsing a narrow URL that has two different values for the topic, which I think this weird/invalid URL might have?

It looks like main does yes and yes, this PR implements no and no, and I think we want no typing notifications and yes to the main reply button being to that stream/topic pair.

Yeah, that sounds right. The "Message..." button just uses the currently selected message to set context, and I think we should keep that.

Screenshot-2024-01-10-at-4.47.13PM.png
It looks like we already show an appropriate error message:

You are searching for messages that belong to more than one stream, which is not possible.

So, we don't need to fix anything else here.

Merged, thanks @amanagr!


Create default configuration for receiver

Is your feature request related to a problem? Please describe.
.mailchain.yaml is a large file and some settings are defaults.
Describe the solution you'd like
Remove the requirement to speficify default settings that bloat the configuration
Describe alternatives you've considered
N/A
Additional context
chains:
  ethereum:
    networks:
      mainnet:
        receiver: etherscan-no-auth

Created as part of new default config


Switch to GitHub Actions

Travis is sometimes too slow and I think I have enough experience to attempt a switch to GitHub Actions.
The problem is we need to test with multiple Java / Scala versions, so we need to setup a test matrix. We have to look for inspiration at what other projects have done.
Also it would be awesome if we configured automated releases.

AFAIK we already did so I'm closing the issue


Update redirects and links for Gallery Insights content

Add specific redirects for Gallery Insights articles
Instead of redirecting all articles in the Gallery Insights channel to the partners.artsy.net homepage, if a redirect mapping exists, redirect to specific content.

Redirect Gallery Insights link to /gallery-resources page
Instead of linking Gallery Insights on the /galleries page to the partners.artsy.net home page, link to the /gallery-resources page directly.

jira :lock: : https://artsyproduct.atlassian.net/browse/GALL-1560

We may want to follow up by unpublishing this content from Writer.

Sounds good! I'll create a separate ticket for that follow-up work. What are the benefits of unpublishing the content in Writer? Would unpublishing eventually remove those articles from Google search results?

FYI, here's a new Jira ticket for the follow-up work to unpublish these articles: https://artsyproduct.atlassian.net/browse/GALL-2631 :lock:


feat(back-office-subscribers): add exam timetable unpublish function

Describe your changes
Ticket: https://pins-ds.atlassian.net/browse/ASB-2286
Infra PR:
Useful information to review or test

Follow the readme on the back-office subscribers function to set it up
Run azurite npx azurite and this function npx func start --functions nsip-exam-timetable-unpublish
Make a POST request to http://localhost:7071/admin/functions/nsip-exam-timetable-unpublish with this body:

{
    "input": "{\"caseReference\":\"mock-id\"}"
}

to test that the error is thrown when case reference is missing:
{
    "input": "{\"notCaseReference\":\"mock-id\"}"
}

Type of change 🧩

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update
[ ] Other (please explain in the description section above)

Checklist before requesting a review

[x] I have performed a self-review of my own code
[x] I have double checked this work does not include any hardcoded secrets or passwords
[x] I have made corresponding changes to the documentation
[x] I have provided details on how I have tested my code
[x] I have referenced the ticket number above
[x] I have provided a description of the ticket
[x] I have included unit tests to cover any testable code changes

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

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


.gitignore files are not created automatically

The archetype template contains default gitignore files, however they are not copied to the generated project.
The gitignore files should be automatically copied to the project to save developer efforts.

[0] Could be the beginning of an answer
[0] http://linkedlist.cz/2018/01/10/maven-archetype-gitignore.html

Good find @pfauchere  - Pull request created. I've also added a configuration for maven-resource-plugin to not copy node_modules if it exists


Download dump file for homebridge-deconz and homebridge-hue2

Is your feature request related to a problem? Please describe:

I'm finally migrating homebridge-hue to dynamic platform accessories.  Rather than updating the plugin, forcing a big-bang migration, I'm actually creating two new plugins: homebridge-deconz and homebridge-hue2, see https://github.com/ebaauw/homebridge-hue/issues/1070.  Both new plugins will be creating a dump file, just like homebridge-hue.
Describe the solution you'd like:

Same feature as #676 for homebridge-hue: an option to download the dump file from the plugin Settings in the UI.
The dump files will be named: homebridge-deconz.json.gz and homebridge-hue2.json.gz.
Describe alternatives you've considered:

None.  If it ain't broke...
Additional context:

Since the new plugins can now persist data in cachedAccessories, there's no longer a need to add the API key (username) to config.json.  Consequently, I'm also getting rid of the user-defined keys in config.json.
I'm still in the process of developing the new plugins, and they're not yet creating the dump files, so there's no hurry to implement this.  Just filing the issue already, so you can do this at a moment that's convenient for you.  As always, thanks!

I'm actually trying to create a dynamic settings interface, using @homebride/plugin-ui-utils.  Maybe I could create the option to download the dump file there?
How do I create a button on the form that looks like the DOWNLOAD button?  Or like the SAVE?  I managed to create a button alright, but I cannot make it black or purple - only ugly white, red, or blue.
I do see an error in Safari's JavaScript console, but I don't think it causes any ill effects:
Error while parsing the 'sandbox' attribute: 'allow-downloads' is an invalid sandbox flag.
setAttribute — main-es2015.9d482d945810494ac85a.js:1:291804
setAttribute — main-es2015.9d482d945810494ac85a.js:1:2287626
Tt — main-es2015.9d482d945810494ac85a.js:1:128272
mo — main-es2015.9d482d945810494ac85a.js:1:172260
bo — main-es2015.9d482d945810494ac85a.js:1:172892
template — main-es2015.9d482d945810494ac85a.js:1:2150553
$i — main-es2015.9d482d945810494ac85a.js:1:156161
qi — main-es2015.9d482d945810494ac85a.js:1:154357
fn — main-es2015.9d482d945810494ac85a.js:1:162256
(anonymous function) — main-es2015.9d482d945810494ac85a.js:1:154558
qi — main-es2015.9d482d945810494ac85a.js:1:154567
create — main-es2015.9d482d945810494ac85a.js:1:215566
_createFromComponent — main-es2015.9d482d945810494ac85a.js:1:423435
open — main-es2015.9d482d945810494ac85a.js:1:421622
(anonymous function) — main-es2015.9d482d945810494ac85a.js:1:2152794
generatorResume
o — main-es2015.9d482d945810494ac85a.js:1:2491729
onInvoke — main-es2015.9d482d945810494ac85a.js:1:229053
run — polyfills-es2015.e8bb8be2ebc926cac2d0.js:1:1916
(anonymous function) — polyfills-es2015.e8bb8be2ebc926cac2d0.js:1:16689
onInvokeTask — main-es2015.9d482d945810494ac85a.js:1:228873
runTask — polyfills-es2015.e8bb8be2ebc926cac2d0.js:1:2535
m — polyfills-es2015.e8bb8be2ebc926cac2d0.js:1:9130
invokeTask — polyfills-es2015.e8bb8be2ebc926cac2d0.js:1:8209
p — polyfills-es2015.e8bb8be2ebc926cac2d0.js:1:20146
f — polyfills-es2015.e8bb8be2ebc926cac2d0.js:1:20465
setAttribute — main-es2015.9d482d945810494ac85a.js:1:291804

hi erik just going through some of the issues here, did this come to a resolution?

Not yet.  Homebridge deCONZ is now on v1.x and fully functional, except for the dynamic settings interface.  I’m more into backends and not really experienced in UI development (that’s why I’m using Homebridge in the first place: to let HomeKit handle the UI).
I looked into creating a PR for homebridge-config-ui-x, but had a hard time understanding the code.


support new "selection" feature of debug completion items

We've added support in the DAP for controlling the selection after a completion item has been inserted. See https://github.com/microsoft/debug-adapter-protocol/issues/87.
Now VS Code needs to implement the client side of this feature.
Implementation hint: controlling the selection in VS Code seems to be only possible by using the snippet support. So it might be necessary to convert the result from the DAP completion request into a snippet that uses variables to specify the selection.

I do not think there will be time for this this milestone.
So highly likely we push this out of February.
PR to fix this is welcome
Code pointer https://github.com/microsoft/vscode/blob/66b5e9837d4c6091531f3e32c6e25c0709542aa4/src/vs/workbench/contrib/debug/browser/repl.ts#L134

I have pushed a change that when the selection is specified by the debug adapter that we convert the completion item to a snippet and that the selection is respected on snippet accept.
@weinand it would be great if Mock Debug was implementing this so we could try it out in practice. For now adding verification needed label.
Also fyi @connor4312

@isidorn I'll add code to Mock debug to exercise the completion request.

@isidorn I've added two new completions items to Mock Debug:
in "array[]" the cursor is moved between the brackets and in "func(arg)" the "arg" is selected.
It seems that you are ignoring the selection if the attribute "selectionStart" is set but "selectionLength" is missing (as done in the "array[]" case).
The spec says that "selectionLength" should be assumed to be "0" in that case.

Oh, so that means just place the cursor. Got it. Yeah I can do the change.

I have a change ready to go for this in js-debug as well once the next insiders is released

@weinand pushed a change to cover that case and infer that selectionLength is 0 in that case.

@isidorn this works fine now, thanks!


Out of sync loadUserData documentation

Hello, I think I have come across out of sync documentation.
The loadUserData example in the README file (step number 5) shows it accepting a callback function:
blockstack.loadUserData(function(userData) {
  showProfile(userData.profile)
})

But when it wasn't working for me so I looked at the code and it looks like it doesn't accept any arguments and instead just returns a result:
export function loadUserData() {
  return JSON.parse(window.localStorage.getItem(BLOCKSTACK_STORAGE_LABEL))
}

@ootoovak This looks like a docs issue! Please feel free to open a PR with a fix!


Breaking change in GFPGAN refactoring

Describe your environment

GPU: [cuda/amd/mps/cpu] CPU
CPU arch: [x86/arm] arm64
OS: [Linux/Windows/macOS] Linux
Python: [Anaconda/miniconda/miniforge/pyenv/other (explain)] Miniconda only to create env and use CONDA_SUBDIR. Reqs installed from txt file with pip.
Branch: [if git status says anything other than "On branch main" paste it here] main

Describe the bug
This seems to affect only linux/arm64 which I need for local testing of #491  on M1/M2. I'm using CPU here because Docker can't access the GPU cores in Apple silicon. If you have Apple silicon you'll need to run the Linux container on M1/M2 for local testing before building for and shipping to a production environment with linux/amd64.
On a branch I have before the refactoring of how GFPGAN is installed, it works.
On main, it breaks. First I get this warning on startup of the dream script (with full precision) as it can't load image. On file /usr/local/lib/python3.9/dist-packages/torchvision/io/image.py:
from ..extension import _load_library ... try:     _load_library("image") except (ImportError, OSError) as e:     warn(f"Failed to load image Python extension: {e}")
Then when I try to generate an image:
File "/usr/local/lib/python3.9/dist-packages/torch/nn/functional.py", line 2516, in group_norm     return torch.group_norm(input, num_groups, weight, bias, eps, torch.backends.cudnn.enabled) RuntimeError: expected scalar type BFloat16 but found Float
What I already know:

The reqs file for this scenario (linux/arm64) needs lstein/k-diffusion instead of Birch-san/k-diffusion.git@mps.
torchvision went from 0.12.0 to 0.13.0
GFPGAN now comes from lstein/GFPGAN@fix-dark-cast-images.
The BFloat16 error used to appear to people running it without --full_precision. I'm using full precision.
You now need to download GFPGANv1.3.pth. That one and sd-v1-4.ckpt (as model.ckpt) are in the correct place.
If I switch to installing dependencies with a conda .yaml file instead of pip-only, I'll need to figure out which channels/dependencies/pip section/env variables to use for that file to work on linux/arm64. With the .txt file and pip I already have it working pre-GFPGAN refactor. But if you have suggestions for the .yaml I'll try them out.

What I don't know:

What else do I need to account for in my reqs or when setting up?

Any ideas for something I may be missing? It'd probably be related to pytorch or something introduced at the same time as the GFPGAN refactoring.

am facing something similar, watching


ModelChoiceField and admin readonly_fields

Using "autocomplete_light.ModelChoiceField" in a form, and using that form in the admin with readonly fields doesn't seem to work.
In particular, it returns a validation error for the readonly field - "this field is required". This doesn't happen otherwise. The error message doesn't actually show, because the field is displayed in readonly mode, you just get "Please correct the errors below".
There are no docs for running tests, at least that I could find, so I'm afraid I ran out of energy in trying to create a test case for this.
Tested in 2.0.0a9

The example link is down, I have this exact issue using the following implementation (django 1.8);
class PurchaseForm(forms.ModelForm):
    grower = autocomplete_light.ModelChoiceField('GrowerAutocomplete', label=_(u"Grower"))

    class Meta:
        exclude = tuple()
        model = Purchase

class PurchaseAdmin(admin.ModelAdmin):
    readonly_fields = ('status', 'date_created', 'date_pushed',)

    form = PurchaseForm

    def get_readonly_fields(self, request, obj=None):
        if obj:
            return ('grower',) + super(PurchaseAdmin, self).get_readonly_fields(request, obj=obj)
        return super(PurchaseAdmin, self).get_readonly_fields(request, obj=obj)

The link is still up: http://django-autocomplete-light.readthedocs.org/en/v2/faq.html#how-to-ask-for-help

How to report a bug effectively ?
Read How to Report Bugs Effectively and open an issue on django-autocomplete-light’s issue tracker on GitHub.
How to ask for help ?
The best way to ask for help is:
fork the repo,
add a simple way to reproduce your problem in a new app of test_project, try to keep it minimal,
open an issue on github and mention your fork.
Really, it takes quite some time for me to clean pasted code and put up an example app it would be really cool if you could help me with that !
If you don’t want to do the fork and the reproduce case, then you should better ask on StackOverflow and you might be lucky (just tag your question
with django-autocomplete-light to ensure that I find it).

It's not working for me: https://github.com/yourlabs/django-autocomplete-light/blob/readonly_fields/autocomplete_light/example_apps/readonly_autocomplete_field/admin.py


Better readme

Hi there,
I did some re-arrangements of the readme file and mention Pyramid as the web framework.
Cheers,
tpltnt

This change is


Concatenated strings are not obfuscated if bytecode targets Java 9+

It looks the bytecode compiled for Android apps (APK) and libraries (AAR) always target Java 8 (or below) even if a bigger version is used, as in a gralde project:
android {
  compileOptions {
    sourceCompatibility = JavaVersion.VERSION_11
    targetCompatibility = JavaVersion.VERSION_11
  }
}

But if the app depends on a Java library (JAR), and the library is built with -source 9 -target 9 (or above), as in a gradle project:
java {
    sourceCompatibility = JavaVersion.VERSION_11
    targetCompatibility = JavaVersion.VERSION_11
}

In this case, strings concatenated with + are not obfuscated because they are not pushed onto stack using ldc. So visitLdcInsn cannot intercept (and hence manipulate) them. It's because String concatenation behavior was changed in Java 9.
Writing this for future reference. Please close the issue if you do not want to fix this.

we hv fixed it
https://github.com/LSPosed/LSParanoid/blob/ad8ae057ea596e8f031cfaff436696284b44473e/gradle-plugin/src/main/java/org/lsposed/lsparanoid/plugin/LSParanoidPlugin.kt#L62

We already know about this issue, but we think it's weird to obfuscate external dependencies and therefore not worth the effort. PR welcome.

we hv fixed it
https://github.com/LSPosed/LSParanoid/blob/ad8ae057ea596e8f031cfaff436696284b44473e/gradle-plugin/src/main/java/org/lsposed/lsparanoid/plugin/LSParanoidPlugin.kt#L62

Great. But it affects only the app module, not its dependencies. This one should work for all:
project.rootProject.subprojects {subProject ->
  subProject.tasks.withType(JavaCompile::class.java) {
    it.options.compilerArgs.add("-XDstringConcat=inline")
  }
  subProject.tasks.withType(KotlinCompile::class.java) {
    it.kotlinOptions.freeCompilerArgs += "-Xstring-concat=inline"
  }
}

We already know about this issue, but we think it's weird to obfuscate external dependencies and therefore not worth the effort. PR welcome.

I've a few Java API libraries shared with backend servers and frontend apps. And a utility library I use in all of my Java apps (Android and non-Android). So obfuscating them makes sense to me.
I just got introduced to bytecode manipulation 2 days back when figuring out why some strings were not obfuscated. So I'm not the right person to send a PR :)


node-problem-detector: init at 0.8.1

Motivation for this change
Package is missing. Built from Golang sources on GitHub.
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 84448 1

1 package built:
- node-problem-detector


I can not get it to successfully output a wav file - issue at line 119

The command I ran
sudo python /opt/spectrology/spectrology.py secret-text.bmp -b 16000 -t 25000 -p 120
Input file: secret-text.bmp.
Frequency range: 16000 - 25000.
Pixels per second: 120.
Sampling rate: 44100.
Rotate Image: no.
the error:
Traceback (most recent call last):
File "/opt/spectrology/spectrology.py", line 119, in
convert(*inpt)
File "/opt/spectrology/spectrology.py", line 101, in convert
output.writeframes(data.tostring())
AttributeError: 'array.array' object has no attribute 'tostring'

Simply removing the .tostring() in line 102 will do the trick


Updating the documentation

@vieux Fix of schedule docs.
Signed-off-by: Mary Anthony<EMAIL_ADDRESS>

@moxiegirl shouldn't you remove docs/rescheduling.md ?

@vieux I moved it into filters and it doesn't show underneath docs/ in my branch.  GitHub "improved" their file listing interface.

It's still here, even in your branch: https://github.com/moxiegirl/swarm/blob/fix-reschedule-doc/docs/rescheduling.md
you need to git rm docs/rescheduling.md

LGTM

LGTM

@vieux Thanks for the fix Vieux, I was on PTO Thursday/Fri.


Add chunking to multiple publishing

Since Expo API limits a request to contain at most 100 messages, I thought that more than 100 messages should be sent in chunks, but transparently from the user.

hey @onlined thanks for the pull request!
I've actually implemented this feature in my change: https://github.com/expo-community/expo-server-sdk-python/pull/31/
If you think I'm missing something, feel free to comment on the pull request.
I think it's safe to close this pull request. If you disagree, please reopen the pull request.


Update sbt-scalafmt to 2.4.5

Updates org.scalameta:sbt-scalafmt from 2.4.4 to 2.4.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "sbt-scalafmt" } ]

labels: sbt-plugin-update, early-semver-patch, semver-spec-patch

Codecov Report

Merging #65 (4b02593) into master (b0af531) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master      #65   +/-   ##
=======================================
  Coverage   31.78%   31.78%
=======================================
  Files          17       17
  Lines         258      258
  Branches        6        6
=======================================
  Hits           82       82
  Misses        176      176

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 b0af531...4b02593. Read the comment docs.


Game crashing in multiplayer

I think there's something going on with ghost interactions. We're running 0.9.11, on 1.1.57 headless. It looks like there's a bad entity name floating around. Happy to debug futher with some guidance.
17236.687 Error MainLoop.cpp:1284: Exception at tick 1606749: The mod Renai Transportation (0.9.11) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event RenaiTransportation::RTInteract (ID 174)
Unknown entity name: characterRTGhostRTGhost
stack traceback:
[C]: in function 'create_entity'
__RenaiTransportation__/script/MiscFunctions.lua:23: in function 'SwapToGhost'
__RenaiTransportation__/script/event/interact.lua:233: in function <__RenaiTransportation__/script/event/interact.lua:1>
17236.687 Error ServerMultiplayerManager.cpp:91: MultiplayerManager failed: "The mod Renai Transportation (0.9.11) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event RenaiTransportation::RTInteract (ID 174)
Unknown entity name: characterRTGhostRTGhost
stack traceback:
[C]: in function 'create_entity'
__RenaiTransportation__/script/MiscFunctions.lua:23: in function 'SwapToGhost'
__RenaiTransportation__/script/event/interact.lua:233: in function <__RenaiTransportation__/script/event/interact.lua:1>"

I'm guessing an easy fix would be to have swaptoghost return the original entity if the .name is already returning "RTghost", to avoid fast clicks

It looks like the crash happens if you were to do 2 things at once that involve swapping to collision-immune version of the in game character. Your solution seems right, I should check first to make sure the character isn't already in "ghost mode" before trying to swap


Mark poetry.lock as toml file

For #10111

[x] Pull request represents a single change (i.e. not fixing disparate/unrelated things in a single PR).
[x] Title summarizes what is changing.
[x] ~Has a news entry file (remember to thank yourself!).~
[x] ~Appropriate comments and documentation strings in the code.~
[x] ~Has sufficient logging.~
[x] ~Has telemetry for enhancements.~
[x] ~Unit tests & system/integration tests are added/updated.~
[x] ~Test plan is updated as appropriate.~
[x] ~package-lock.json has been regenerated by running npm install (if dependencies have changed).~
[x] ~The wiki is updated with any design decisions/details.~

Codecov Report

Merging #9955 into master will decrease coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #9955      +/-   ##
==========================================
- Coverage   61.18%   61.18%   -0.01%
==========================================
  Files         564      564
  Lines       30077    30077
  Branches     4550     4550
==========================================
- Hits        18404    18403       -1
- Misses      10642    10643       +1
  Partials     1031     1031

Impacted Files
Coverage Δ

src/client/common/utils/platform.ts
64.7% <0%> (-5.89%)
:arrow_down:

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 ad70988...bd14249. Read the comment docs.

 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.:x: remcohaszing sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@remcohaszing Thank you for this PR. I added a news item to this, so that you get credit for this change. Please sign the CLA so I can merge this.

Ow oops, I just decided to rebase and add a news entry before I read that last comment.


Fix ReDos attack in #117

Fixes #117. Without this patch, the test hangs.

And the solution is more efficient than the original due to regex overkill.

sorry, those commits were a bit confused, trying to remember what I'd tested before

Alright, thanks a lot for fixing the issue and updating the unit test.


Update Kubernetes deployment configs

To match configs currently checked in to Kubernetes HEAD
CC @vishh

@saad-ali could you please re-do this PR?

This is completely out of date. Closing.

Also an option :)


Problem with redmine_wysiwyg_editor

Hello,
We use this plugin : https://www.redmine.org/plugins/redmine_wysiwyg_editor on redmine 4.0.3.
If I install your plugin, The TextArea for issue_descrptions and for issue_notes not working with this visual editor.
Otherwise, it's a good job, it's very useful to quickly modify issues.
Thanks.

I can confirm this behavior on Redmine 4.0.4 with redmine_wysiwyg_editor 0.18.0

I can confirm this behavior on Redmine 4.0.4 with redmine_wysiwyg_editor 0.18.0

I can confirm this issue on Redmine 4.1.1 with redmine_wysiwyg_editor 0.22.0

With REDMINE 4.2.4 and redmine_wysiwyg_editor 0.22.0 : no error

I can confirm this is still an issue in Redmine 5.1.

You can see and edit the Description when Markdown is selected.
You cannot see the content when Visual Editor (WYSIWYG) is selected, but if you type in or past in content and Submit, it saves and shows correctly, but you still cannot see it if you click edit > Description again.
The Preview does not work at all regardless of where content is typed/pasted.

Testing:

I unchecked Enable JSONP support to see if it made a difference. - No go.
I set var _CONF_FORCE_HTTPS = true; - No go.
If I disable redmine_issue_dynamic_edit behavior of WYSIWYG editor is as expected.

Below are some screenshots of the Issue page and the error I could find in Chrome.
I love this plugin but I have to choose WYSIWYG editor over the convenience of dynamic edit of fields.
================================

Environment:
Redmine version                5.1.3.stable.23143
Ruby version                   3.1.6-p260 (2024-05-29) [x86_64-linux]
Rails version                  <IP_ADDRESS>
Environment                    production
Database adapter               Mysql2
Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery                smtp
Redmine settings:
Redmine theme                  Next-level (includes JavaScript)
SCM:
Subversion                     1.14.3
Git                            2.43.0
Filesystem
Redmine plugins:
easy_gantt                     2.0
easy_gantt_pro                 2.0
easy_instant_messages          1.0
next_level_bsc                 1.0
next_level_customizations      1.0
next_level_pyramid             1.0
next_level_strategy_progress   1.0
redmine_agile                  1.6.9
redmine_blocks_layout          1.0
redmine_checklists             3.1.25
redmine_contacts               4.4.1
redmine_drive                  1.2.1
redmine_ics_export             5.0.0.dev
redmine_issue_dynamic_edit     0.9.2
redmine_issue_templates        1.2.1
redmine_lightbox               1.0.2
redmine_messenger              1.0.15
redmine_monitoring_controlling 0.1.1
redmine_people                 1.6.8
redmine_questions              1.0.5
redmine_recurring_tasks        0.3.4
redmine_reporter               2.0.4
redmine_resources              2.0.3
redmine_spent_time             4.1.0
redmine_translation_terms      5.1.0
redmine_wysiwyg_editor         0.33.0
redmine_xapian                 3.0.7
redmine_zenedit                2.0.6
redmineup_tags                 2.0.14


next/release

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


[fix] WIP - Support later versions of cel-rust

Issue #, if available: #8
Description of changes: Newer versions of cel-interpreter support a .json() method to convert a CEL Value into a serde_json::Value
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Do not merge until new version of cel-interpreter is released


[FEATURE]: Use Conda + Poetry For Environment

Feature Name
Use Conda + Poetry For Environment
Your Name
Daniel Wu
Description
Poetry has awesome package management with its pyproject toml, but has trouble setting up cross language packages such as pytorch and doesn't manage python versions in its own envs. Conda does manage python versions in its own envs and has an easier time installing packages such as pytorch, but harder to add/remove packages and ensure the same environment for all collaborators. If possible, having the best qualities of the two work together would be fantastic.

@dwu359 status update:

Mamba setup seems to work

Is this issue done (at least discovery phase), but we have to update the README and then we mark as done

Would like to create cli cmds that aids with this also, and then update README, and then we mark this as done

I can work on creating/updating the cli cmds for that


bot available publically ?

Hey !
Thanks for making this. Is the bot deployed for public access ?
And is it fine i deploy the bot (with a different name) for personal use ?

Hi there,
Yes, the bot is publicly available, I’ll create a readme with that info tomorrow. Meanwhile, you can find it on Telegram as: @BillGatesVaccine_bot
Of course you can fork/deploy the bot yourself, just give me credit if you ever publish it or something :)

Just reopening so that this information is visible on the issues page


Custom metrics

Summary: define custom metrics to be collected together with the standard ones from the prometheus-flask-exporter
Related issue: #220
Suggested reviewer(s):
Reviewer checklist:

[ ] The headers of all files contain a reference to the repository license
[ ] 100% test coverage of new code - meaning:

[ ] The overall test coverage increased or remained the same as before
[ ] Every function is accompanied with a test suite
[ ] Tests are both positive (testing that the function work as intended with valid data) and negative (testing that the function behaves as expected with invalid data, e.g., that correct exceptions are thrown)
[ ] Functions with optional arguments have separate tests for all options

[ ] Examples are supported by doctests
[ ] All tests are passing
[ ] All names (e.g., files, classes, functions, variables) are explicit
[ ] Documentation (as docstrings) is complete and understandable

The checklist is based on the S-ENDA conventions and definition of done (see General Conventions). The above points are not necessarily relevant to all contributions. In that case, please add a short explanation to help the reviewer.

@magnarem tested this running the container locally and it seems to work there at least...

nope... I'll keep digging


MissingManifestResourceException: Could not find any resources appropriate for the specified culture or the neutral culture.

Hi,
I'm trying out the console application on one of our projects at work. However, I'm encountering a MissingManifestResourceException while the baseline is being run.
When I run the tests through dotnet test the tests all pass.
The binary resource is embedded in a separate module but during its compilation it seems to be skipped if I'm correct:
<EmbeddedResource Update="Resources\Messages.resx">
  <Generator>PublicResXFileCodeGenerator</Generator>
  <LastGenOutput>Messages.Designer.cs</LastGenOutput>
</EmbeddedResource>

In the following method, the Include attribute is not present for this resx resource.
        private IList<ResourceDescription> GetEmbeddedResources(string assemblyName, string projectPath)
        {
            var resources = new List<ResourceDescription>();
            var doc = XDocument.Load(projectPath);
            var embeddedResources = doc.Descendants().Where(d => d.Name.LocalName.Equals("EmbeddedResource", StringComparison.InvariantCultureIgnoreCase));
            foreach (var embeddedResource in embeddedResources)
            {
                var paths = embeddedResource.Attribute("Include")?.Value;
                if (paths == null)
                {
                    continue;
                }

                foreach (var path in paths.Split(';'))
                {
                    var pathFixed = path.Split('\\');
                    var resourcePath = Path.Combine(Path.GetDirectoryName(projectPath), path);

                    resources.Add(new ResourceDescription(
                        $"{assemblyName}.{string.Join(".", pathFixed)}",
                        () => File.OpenRead(resourcePath),
                        true));
                }
            }

            return resources;
        }

Which means it seems to be skipping this embedded resource while emitting the compilation into the baseline directory.

Hey!
Yeah that seems correct. I haven't worked with a lot of embedded resources so this seems like something I should fix. Do you have an example project that I can test with?
Gonna try to set up something myself too.

So I found multiple problems with my solution.

I didn't look for Update as you mention
It didn't handle .resx file as I do a simple File.Open

I have fixed both and will test with a couple of different project types first. But I will try to upload a new version soon.

I have upload a new release (1.7.0):
https://github.com/Testura/Testura.Mutation/releases/tag/v1.7.0-Console
Would love if you could verify that it work better. I tried multiple different projects and could read the embedded resource fine with this fix.

Hi,
Thanks for your response and you quick work!
I will be able to verify this at work tomorrow and will keep you updated.

Hi again,
I tested it with the application at work however it seems it's still not working. I had a look at the assembly that's generated by the baseline and it seems the name of the resource is different compared to the assembly that's generated when building with visual studio.
I blocked out the name of the organization. The one without the organization name is being generated by visual studio, while Testura seems to add a prefix to the namespace.
Don't judge me for this, but this application has inconsistent namespaces haha :)

So to summarize, I don't know if this is the root of the issue but the namespace in Testura's case seems to be different, as well as the "Length".

Interesting case ;-)
Yeah I always add the assembly name when creating the resource like this:
$"{assemblyName}.{string.Join(".", resourceName.Split('\\'))}",
It feels like that should be the norm but guess I have to actually check if the resource contain the assembly name somehow. I will try to look into it tomorrow!

But just to be sure, I guess you use a default namespace for the whole application that doesn't match the assembly name? Or is there actually a way to just change the namespace for a resource?

Another day and another release:
https://github.com/Testura/Testura.Mutation/releases/tag/v1.7.1-Console
Now we will look at the "RootNamespace" attribute in the .csproj file instead of just using the assembly name. Hopefully this one will work better and I haven't missed another case.

Hello,
I tested it again and can confirm it works. Thanks a lot for your hard work! Now I'll be able to give Testura.Mutation a try :)

No problems and thanks for reporting the bug! :-)


Add 08-grouped-gemm to A770 skip list

Fixes #2737.

This run should finish normally: https://github.com/intel/intel-xpu-backend-for-triton/actions/runs/11945985880


Document Multiple Slack Configurations

https://github.com/influxdata/chronograf/issues/2855

Done in chrono-1.5 branch.


Support for multiple routes

We were playing around with this plugin and noticed that for our apps with multiple routes only one route is preserved when we re-push our app with cf zero-downtime-push. Could you please add the ability to handle multiple routes? Thanks!

Is there a way to specify routes in your manifest.yml? I can't see anything in http://docs.cloudfoundry.org/devguide/deploy-apps/manifest.html

I don't see anything https://github.com/cloudfoundry/cli/blob/master/cf/manifest/manifest.go#L130-L170

Opened an issue upstream in the CLI: https://github.com/cloudfoundry/cli/issues/358

The latest CF CLI now supports setting multiple domains and multiple host names in the manifest.
Example usage: https://github.com/concourse/concourse/blob/master/docs/manifest.yml#L5
We actually continuously update the CF CLI so there's not anything for us to do as long as these kinds of things are fixed upstream. I'm going to go ahead and close this issue; if the current state of things isn't what you want would you mind opening an issue upstream instead?


{AzureFunctions} EventHub trigger for C# isolated function

fixes MicrosoftDocs/azure-docs#116209
In this docs, the example doesn't show the [EventHubTrigger] on the function parameter. So filing this PR so that we show a few more lines from the sample code to avoid the confusion.

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

#sign-off

Thanks @navba-MSFT


Support for loading assets from SWF files

Are you guys working on support for loading assets from SWF files? If you are not, I can contribute a very small and optimized library that reads SWF files and renders them using the standard moveTo/lineTo/curveTo API and supports literally all of the SWF features flawlessly except animation. All kinds of static vector assets can be loaded. Do you want me to work on contributing this to the pixi.js project?

Right now every contribution towards SWF counts, even if its your own lib.
I have a project that does it but its too heavy and not connected to pixi yet: https://github.com/pixijs/pixi-swf
Pixi lacks necessary Graphics methods and I'm working on new Graphics for PixiJS :)

Thanks for the response.

Pixi lacks necessary Graphics methods and I'm working on new Graphics for PixiJS :)
Can I render vector shapes with the standard moveTo/lineTo/curveTo API?
What about solid/gradient fills and line styles? Those supported as well?

Yeah,
You'll get https://github.com/pixijs/pixi.js/issues/4890 and some other things, like, pixi cant detect holes automatically.

That's why we need better Graphics. This is what I'm focusing on right now.

Another related PR: https://github.com/pixijs/pixi.js/pull/4658

I assume we'd want to render the graphics to a bitmap and then use it as a regular bitmap sprite from then on?

Well, we have to do it :)
Yep, pow2 levels of detalization with vertex or bitmap cache. Need different settings for that thing.

I want to take care of it as well

Join https://t.me/html5dev .

thx

@ivanpopelyshev I uploaded my optimized SWF parser & renderer in the original ActionScript 3 format. I will be porting this to JS soon.

@nightfury7 Closing this issue, but sounds like a useful thing if a plugin came out of this for others to use!

@themoonrat Can we re-open this issue? I started working on SWF support for Pixi JS again, my WIP library is here, and I could use the community help with this.

This should remain closed because it doesn't really belong in the core library. Like @themoonrat mentioned, this sounds like a great plugin.

If you aren’t already, you should join the PixiJS Slack. It’s a good place to chat about ideas like this. Send me your email address and I can add you<EMAIL_ADDRESS>


Whole-line code flow location don't highlight

Sample attached. Choose result that begins with "Attackers are able..."
The first two code flow locations are whole-line, i.e. startLine and endLine are the only region properties and they have the same value.
FortifyDemo.fpr.v2 .sarif.txt

ContentFileHandlingController.cs.txt

let me double check on the latest I might have fixed this with my most recent changes. If not it should be a quick fix.

I checked with the latest in Dev branch and this looks like it's fixed. Closing, feel free to reopen if it still repos for you after the next released update (or if you run a build from the dev branch).