text:
Delete Alarm artifacts

After centralized Alarms could be specified and reviewed by vendors the following changes can be made at the technology specific modelling:

Delete PureEthernetStructureCapability::supportedAlarmList attribute
Delete PureEthernetStructureConfiguration::problemKindSeverityList attribute
Delete ProblemKindSeverityType datatype
Delete SeverityType datatype
Delete PureEthernetStructureCurrentProblems, CurrentProblem classes
Delete StructureCurrentProblemType datatype
Delete ProblemNotification notification

Fixed with PureEthernetStructure_2.0.0-tsp.220328.1500.

repo: openBackhaul/pureEthernetStructure


text:
remove arguments and replace them with PR object

   gb.launch_test_and_setup_status(gb.repo, pr.head.sha,
                                    pr.head.ref, pr.base.ref)
can be

```console
   gb.launch_test_and_setup_status(gb.repo, pr)

and the rest is readed by method internally

fixed

source: gharchive/issue

repo: openSUSE/gitbot

license: MIT

license_type: permissive

license_source: github-api


text:
Saskatoon

http://opendata-saskatoon.cloudapp.net/DataBrowser/SaskatoonOpenDataCatalogueBeta/ParcelAddress#param=NOFILTER--DataView--Results
The csv download looks like it is broken/missing coordinates, but the kml version has them.
license: http://www.saskatoon.ca/DEPARTMENTS/Corporate Services/Corporate Information Services/OpenData/Pages/TermsofService.aspx

I downloaded the KML, converted it and added it back to dropbox: https://www.dropbox.com/s/vvk3u7o58r5b5bo/Saskatoon_Parcel_Addresses.zip?dl=1

currently pulling from their open data portal: http://results.openaddresses.io/sources/ca/sk/saskatoon

authors: ansis justinelliotmeyers slibby

repo: openaddresses/openaddresses


text:
Create zurich.json

not sure the split will work...we'll see.

source: gharchive/pull-request

authors: ingalls slibby


text:
Namescopes

added some op names and name scopes to the Graph generation so that it is a bit easier to see
what is going on in Tensorboard.

Hi!
Thanks for contributing this feature! Unfortunately we do not have capacity to properly review your change. At this point we only accept small changes such as typo and bug fixes.
Szymon

repo: openai/baselines

license: mit

license_source: bigquery


text:
Valid tl.store causes crash [reproduction attached]

The following is code snippet where a valid tl.store operation causes a crash (process exits with code 139, I can't access the logs).
Triton version: d3e753b5c00bbae855b283adf3d3a5d6d1547830
GPU:  A100
Semi-minimized reproduction (you might be able to shrink it even more):
import torch
import triton
import triton.language as tl

@triton.jit
def partial_rgb2hsv_kernel(
    channel_stride,
    dbg_ptr,
    BLOCK_SIZE: tl.constexpr,
):
    block_idx = tl.program_id(0)
    offset = block_idx * BLOCK_SIZE
    idxs = offset + tl.arange(0, BLOCK_SIZE)

    if offset + BLOCK_SIZE > channel_stride:
        # Uncommenting the first line below crashes the program
        # tl.store(dbg_ptr, (offset + BLOCK_SIZE))

def triton_rgb2hsv(img):
    assert img.is_cuda
    assert img.is_contiguous()

    channel_stride = img.numel() // 3
    assert isinstance(channel_stride, int)
    BLOCK_SIZE = 32
    grid = (triton.cdiv(channel_stride, BLOCK_SIZE),)
    dbg = torch.zeros((200,), device=img.device, dtype=torch.int32)
    partial_rgb2hsv_kernel[grid](
        channel_stride=channel_stride,
        dbg_ptr=dbg,
        BLOCK_SIZE=BLOCK_SIZE,
        num_warps=1
    )
    print("DEBUG:")
    print(dbg)

def test_rgb2hsv():
    img = torch.rand((1, 3, 6, 6), dtype=torch.float32).cuda()
    assert img.max() <= 1.0 and img.min() >= 0.0

    triton_rgb2hsv(img)
    torch.cuda.synchronize()
    print("TEST PASSED")

# I run my jobs on modal (https://modal.com), but this should theoretically work as well:
if __name__ == "__main__":
    test_rgb2hsv()

Would appreciate knowing if I'm just making a very silly mistake, or if infact this is a bug in Triton.

This reproduction indeed seems to be a minimal reproduction. Notably, if I make the tl.store unconditional (i.e remove the if statement) -- the kernel always runs without crashing.

repo: openai/triton


text:
RuntimeError: PassManager::run failed ('tt.reduce' op failed to infer returned types)

Repro (requires pytorch to repro):
from ctypes import c_void_p, c_long
import torch
import math
import random
import os
import tempfile
from math import inf, nan
from torch._inductor.hooks import run_intermediate_hooks
from torch._inductor.utils import maybe_profile
from torch._inductor.codegen.memory_planning import _align as align

from torch import device, empty, empty_strided
from torch._inductor.codecache import AsyncCompile
from torch._inductor.select_algorithm import extern_kernels

aten = torch.ops.aten
inductor_ops = torch.ops.inductor
assert_size_stride = torch._C._dynamo.guards.assert_size_stride
alloc_from_pool = torch.ops.inductor._alloc_from_pool
reinterpret_tensor = torch.ops.inductor._reinterpret_tensor
async_compile = AsyncCompile()

# kernel path: /tmp/torchinductor_binbao/yl/cylyrnw2l3cnpot655rarv4ha622jmc4jnwrpsntqcnq4difzu25.py
# Source Nodes: [x_1], Original ATen: [aten.argmax]
# x_1 => argmax
triton_per_fused_argmax_0 = async_compile.triton('triton_', '''
import triton
import triton.language as tl
from torch._inductor.ir import ReductionHint
from torch._inductor.ir import TileHint
from torch._inductor.triton_heuristics import AutotuneHint, persistent_reduction
from torch._inductor.utils import instance_descriptor
from torch._inductor import triton_helpers

@persistent_reduction(
    size_hints=[1, 32],
    reduction_hint=ReductionHint.DEFAULT,
    filename=__file__,
    triton_meta={'signature': {0: '*fp64', 1: '*i64', 2: 'i32', 3: 'i32'}, 'device': 0, 'device_type': 'cuda', 'constants': {}, 'configs': [instance_descriptor(divisible_by_16=(0, 1, 3), equal_to_1=(), ids_of_folded_args=(), divisible_by_8=(3,))]},
    inductor_meta={'autotune_hints': set(), 'kernel_name': 'triton_per_fused_argmax_0', 'mutated_arg_names': []}
)
@triton.jit
def triton_(in_ptr0, out_ptr0, xnumel, rnumel, XBLOCK : tl.constexpr):
    xnumel = 1
    rnumel = 32
    RBLOCK: tl.constexpr = 32
    xoffset = tl.program_id(0) * XBLOCK
    xindex = xoffset + tl.arange(0, XBLOCK)[:, None]
    xmask = xindex < xnumel
    rindex = tl.arange(0, RBLOCK)[None, :]
    rmask = rindex < rnumel
    r0 = rindex % 2
    r1 = (rindex // 2)
    tmp0 = tl.full([1, 1], 0, tl.int64)
    tmp1 = tl.full([1, 1], 1, tl.int64)
    tmp2 = tmp0 < tmp1
    tmp3 = ((3*r0) // 2)
    tmp4 = 2 + ((3*r0) // 2)
    tmp5 = tmp3 < tmp4
    tmp6 = tmp2 & tmp5
    tmp7 = tl.load(in_ptr0 + (tl.broadcast_to((3*r1) + ((3*r0) // 2), [XBLOCK, RBLOCK])), rmask & tmp6, other=0.0)
    tmp8 = tl.full(tmp7.shape, 0.0, tmp7.dtype)
    tmp9 = tl.where(tmp6, tmp7, tmp8)
    tmp10 = 1 + ((3*r0) // 2)
    tmp11 = tmp10 < tmp4
    tmp12 = tmp2 & tmp11
    tmp13 = tl.load(in_ptr0 + (tl.broadcast_to(1 + (3*r1) + ((3*r0) // 2), [XBLOCK, RBLOCK])), rmask & tmp12, other=0.0)
    tmp14 = tl.full(tmp13.shape, 0.0, tmp13.dtype)
    tmp15 = tl.where(tmp12, tmp13, tmp14)
    tmp16 = tmp15 + tmp9
    tmp17 = tl.full([1, 1], 1.0, tl.float64)
    tmp18 = tl.full(tmp17.shape, 0.0, tmp17.dtype)
    tmp19 = tl.where(tmp6, tmp17, tmp18)
    tmp20 = tl.where(tmp12, tmp17, tmp18)
    tmp21 = tmp20 + tmp19
    tmp22 = tmp16 / tmp21
    tmp23 = tl.broadcast_to(tmp22, [XBLOCK, RBLOCK])
    tmp25 = tl.where(rmask, tmp23, float("-inf"))
    tmp26 = tl.broadcast_to(rindex, tmp25.shape)
    _, tmp24_tmp = triton_helpers.max_with_index(tmp25, tmp26, 1)
    tmp24 = tmp24_tmp[:, None]
    tl.store(out_ptr0 + (tl.full([XBLOCK, 1], 0, tl.int32)), tmp24, None)
''')

import triton
import triton.language as tl
from torch._inductor.triton_heuristics import grid, start_graph, end_graph
from torch._C import _cuda_getCurrentRawStream as get_cuda_stream

async_compile.wait(globals())
del async_compile

def call(args):
    arg0_1, = args
    args.clear()
    assert_size_stride(arg0_1, (4, 4, 3), (12, 3, 1))
    with torch.cuda._DeviceGuard(0):
        torch.cuda.set_device(0) # no-op to ensure context
        buf0 = empty((), device='cuda', dtype=torch.int64)
        # Source Nodes: [x_1], Original ATen: [aten.argmax]
        stream0 = get_cuda_stream(0)
        triton_per_fused_argmax_0.run(arg0_1, buf0, 1, 32, grid=grid(1), stream=stream0)
        run_intermediate_hooks('argmax', buf0)
        del arg0_1
        return (buf0, )

def benchmark_compiled_module(times=10, repeat=10):
    from torch._dynamo.testing import rand_strided
    from torch._inductor.utils import print_performance
    arg0_1 = rand_strided((4, 4, 3), (12, 3, 1), device='cuda:0', dtype=torch.float64)
    return print_performance(lambda: call([arg0_1]), times=times, repeat=repeat)

if __name__ == "__main__":
    from torch._inductor.wrapper_benchmark import compiled_module_main
    compiled_module_main('None', benchmark_compiled_module)

Error:
loc(callsite("/data/users/binbao/pytorch/torch/_inductor/triton_helpers.py":91:42 at "/tmp/torchinductor_binbao/yl/cylyrnw2l3cnpot655rarv4ha622jmc4jnwrpsntqcnq4difzu25.py":55:63)): error: 'tt.reduce' op inferred type(s) 'tensor<1xf64, #triton_gpu.slice<{dim = 1, parent = #triton_gpu.blocked<{sizePerThread = [1, 1], threadsPerWarp = [1, 32], warpsPerCTA = [1, 2], order = [0, 1], CTAsPerCGA = [1, 1], CTASplitNum = [1, 1], CTAOrder = [1, 0]}>}>>', 'tensor<1xi32, #triton_gpu.slice<{dim = 1, parent = #triton_gpu.blocked<{sizePerThread = [1, 1], threadsPerWarp = [1, 32], warpsPerCTA = [1, 2], order = [0, 1], CTAsPerCGA = [1, 1], CTASplitNum = [1, 1], CTAOrder = [1, 0]}>}>>' are incompatible with return type(s) of operation 'tensor<1xf64, #triton_gpu.slice<{dim = 1, parent = #triton_gpu.blocked<{sizePerThread = [1, 1], threadsPerWarp = [1, 32], warpsPerCTA = [2, 1], order = [1, 0], CTAsPerCGA = [1, 1], CTASplitNum = [1, 1], CTAOrder = [1, 0]}>}>>', 'tensor<1xi32, #triton_gpu.slice<{dim = 1, parent = #triton_gpu.blocked<{sizePerThread = [1, 1], threadsPerWarp = [1, 32], warpsPerCTA = [1, 2], order = [0, 1], CTAsPerCGA = [1, 1], CTASplitNum = [1, 1], CTAOrder = [1, 0]}>}>>'
loc(callsite("/data/users/binbao/pytorch/torch/_inductor/triton_helpers.py":91:42 at "/tmp/torchinductor_binbao/yl/cylyrnw2l3cnpot655rarv4ha622jmc4jnwrpsntqcnq4difzu25.py":55:63)): error: 'tt.reduce' op failed to infer returned types

Traceback (most recent call last):
  File "/home/binbao/local/miniconda3/envs/pytorch-3.10/lib/python3.10/concurrent/futures/process.py", line 246, in _process_worker
    r = call_item.fn(*call_item.args, **call_item.kwargs)
  File "/data/users/binbao/pytorch/torch/_inductor/codecache.py", line 2280, in _worker_compile
    kernel.precompile(warm_cache_only_with_cc=cc)
  File "/data/users/binbao/pytorch/torch/_inductor/triton_heuristics.py", line 188, in precompile
    compiled_binary, launcher = self._precompile_config(
  File "/data/users/binbao/pytorch/torch/_inductor/triton_heuristics.py", line 291, in _precompile_config
    triton.compile(
  File "/home/binbao/local/miniconda3/envs/pytorch-3.10/lib/python3.10/site-packages/triton/compiler/compiler.py", line 543, in compile
    next_module = compile_kernel(module)
  File "/home/binbao/local/miniconda3/envs/pytorch-3.10/lib/python3.10/site-packages/triton/compiler/compiler.py", line 437, in <lambda>
    stages["ttgir"] = (lambda path: parse_mlir_module(path, context), lambda src: optimize_ttgir(
  File "/home/binbao/local/miniconda3/envs/pytorch-3.10/lib/python3.10/site-packages/triton/compiler/compiler.py", line 151, in optimize_ttgir
    pm.run(mod)
RuntimeError: PassManager::run failed

I believe you can just remove that import line from the repro script
ModuleNotFoundError: No module named 'torch._inductor.codegen.memory_planning'

Also have https://gist.github.com/davidberard98/5927855a91e4818a32908493dcdb7e38 with the MLIR_ENABLE_DUMP output

I believe you can just remove that import line from the repro script
ModuleNotFoundError: No module named 'torch._inductor.codegen.memory_planning'

Also have https://gist.github.com/davidberard98/5927855a91e4818a32908493dcdb7e38 with the MLIR_ENABLE_DUMP output

Thanks! I sent a PR to fix this, thanks for catching this.

authors: ThomasRaoux davidberard98 desertfire


text:
Nullable array models generate failing code

Describe the bug
When an array is marked as nullable (in OpenAPI 3.0 or 3.1) the generated code fails type checking with the message:
error: Incompatible types in assignment (expression has type "tuple[None, bytes, str]", variable has type "list[float] | Unset | None")  [assignment]

From the end-to-end test suite, making some_array nullable (part of Body_upload_file_tests_upload_post) results in this change:
@@ -165,10 +172,17 @@ class BodyUploadFileTestsUploadPost:
             else (None, str(self.some_number).encode(), "text/plain")
         )

-        some_array: Union[Unset, Tuple[None, bytes, str]] = UNSET
-        if not isinstance(self.some_array, Unset):
-            _temp_some_array = self.some_array
-            some_array = (None, json.dumps(_temp_some_array).encode(), "application/json")
+        some_array: Union[List[float], None, Unset]
+        if isinstance(self.some_array, Unset):
+            some_array = UNSET
+        elif isinstance(self.some_array, list):
+            some_array = UNSET
+            if not isinstance(self.some_array, Unset):
+                _temp_some_array = self.some_array
+                some_array = (None, json.dumps(_temp_some_array).encode(), "application/json")
+
+        else:
+            some_array = self.some_array

         some_optional_object: Union[Unset, Tuple[None, bytes, str]] = UNSET

OpenAPI Spec File
The following patch applied the end-to-end test suite reproduces the problem:
diff --git a/end_to_end_tests/baseline_openapi_3.0.json b/end_to_end_tests/baseline_openapi_3.0.json
index d21d1d5..25adeaa 100644
--- a/end_to_end_tests/baseline_openapi_3.0.json
+++ b/end_to_end_tests/baseline_openapi_3.0.json
@@ -1778,6 +1778,7 @@
           },
           "some_array": {
             "title": "Some Array",
+            "nullable": true,
             "type": "array",
             "items": {
               "type": "number"
diff --git a/end_to_end_tests/baseline_openapi_3.1.yaml b/end_to_end_tests/baseline_openapi_3.1.yaml
index 03270af..4e33e68 100644
--- a/end_to_end_tests/baseline_openapi_3.1.yaml
+++ b/end_to_end_tests/baseline_openapi_3.1.yaml
@@ -1794,7 +1794,7 @@ info:
         },
         "some_array": {
           "title": "Some Array",
-          "type": "array",
+          "type": [ "array", "null" ],
           "items": {
             "type": "number"
           }

Desktop (please complete the following information):

openapi-python-client version 0.17.0

If the item type is an object rather than a simple type, another type checking error is found:
error: "Unset" has no attribute "append"  [attr-defined]

To reproduce in end-to-end tests:
diff --git a/end_to_end_tests/baseline_openapi_3.0.json b/end_to_end_tests/baseline_openapi_3.0.json
index d21d1d5..f9a33e5 100644
--- a/end_to_end_tests/baseline_openapi_3.0.json
+++ b/end_to_end_tests/baseline_openapi_3.0.json
@@ -1778,9 +1778,10 @@
           },
           "some_array": {
             "title": "Some Array",
+            "nullable": true,
             "type": "array",
             "items": {
-              "type": "number"
+              "$ref": "#/components/schemas/AFormData"
             }
           },
           "some_object": {
diff --git a/end_to_end_tests/baseline_openapi_3.1.yaml b/end_to_end_tests/baseline_openapi_3.1.yaml
index 03270af..78fa7fb 100644
--- a/end_to_end_tests/baseline_openapi_3.1.yaml
+++ b/end_to_end_tests/baseline_openapi_3.1.yaml
@@ -1794,9 +1794,9 @@ info:
         },
         "some_array": {
           "title": "Some Array",
-          "type": "array",
+          "type": [ "array", "null" ],
           "items": {
-            "type": "number"
+            "$ref": "#/components/schemas/AFormData"
           }
         },
         "some_object": {

Affected resulting generated code (end_to_end_tests/golden-record/my_test_api_client/models/body_upload_file_tests_upload_post.py):
@@ -265,7 +287,27 @@ class BodyUploadFileTestsUploadPost:

         some_number = d.pop("some_number", UNSET)

-        some_array = cast(List[float], d.pop("some_array", UNSET))
+        def _parse_some_array(data: object) -> Union[List["AFormData"], None, Unset]:
+            if data is None:
+                return data
+            if isinstance(data, Unset):
+                return data
+            try:
+                if not isinstance(data, list):
+                    raise TypeError()
+                some_array_type_0 = UNSET
+                _some_array_type_0 = data
+                for some_array_type_0_item_data in _some_array_type_0 or []:
+                    some_array_type_0_item = AFormData.from_dict(some_array_type_0_item_data)
+
+                    some_array_type_0.append(some_array_type_0_item)
+
+                return some_array_type_0
+            except:  # noqa: E722
+                pass
+            return cast(Union[List["AFormData"], None, Unset], data)
+
+        some_array = _parse_some_array(d.pop("some_array", UNSET))

         _some_optional_object = d.pop("some_optional_object", UNSET)
         some_optional_object: Union[Unset, BodyUploadFileTestsUploadPostSomeOptionalObject]


text:
added CapSolver feature Anchor/Reload

As per the documentation here: https://www.capsolver.com/blog/reCAPTCHA/How-to-bypass-all-the-versions-reCAPTCHA-v2-v3
Using the properties "Anchor" and "Reload" in the CapSolver Google reCAPTCHA v3 request increases the quality score of the solution. Tested and verified to provide a 2x increase in quality score (estimate)
Set as follows;
var captchaService = new CapSolverService("CAP-xxxxxx", null);
captchaService.Anchor = ....;
captchaService.Reload = ....;

Can be closed @openbullet

Can be closed @openbullet

Hi, not really. I didn't implement those as CapSolver is the only one that accepts them currently. Maybe I'll think of a way to do that cleanly in the future.

We will track this in #33

authors: Gauvino infiniteloopltd openbullet

repo: openbullet/CaptchaSharp


text:
Improved highlighting of segments

Replaces the outline for segments hovered by the scrubber. This should help with visual clarity (the dashed line was really not clear on that front).
Furthermore, adds an outline if the segment is in focus, as is current standard in Chrome and derivatives. This aims to help users relying on keyboard controls.
Helps with #307

Closing this because it is outdated

repo: opencast/opencast-editor


text:
Add InstanceName trace option

This PR adds TraceOption to define database instance name so that traces and metrics can be separated when multiple instances are being used.
Resolves https://github.com/opencensus-integrations/ocsql/issues/33.

Does it make sense to add this as a tag in the span as well?

@jcchavezs thanks for pointing that, I think it totally makes sense.

could we have this thing merged? I have the same usecase with different databases.

@basvanbeek thanks for reviewing! Would it be possible to tag a version too?

Thanks @vearutop for the change and bug report, and thanks @jcchavezs and @basvanbeek for the code reviews! I have cut a new release at https://github.com/opencensus-integrations/ocsql/releases/tag/v0.1.6

authors: jcchavezs karakanb odeke-em vearutop

repo: opencensus-integrations/ocsql


text:
Update Map Key

Current:

New:

Not quite sure what the colours are for each one, but a linearly opacity of the OCF yellow could be a good first try
For the % view, need to have

0 10
10 30
30 50
50 70
70+

Would be good to have the value ascending, so lowest at the bottom

figma: https://www.figma.com/proto/52RrUGI4ZWaMoO1HZE8qac/OFC-Forecast?page-id=1002%3A121&node-id=1041%3A16341&viewport=-1742%2C-3280%2C0.33&scaling=min-zoom&starting-point-node-id=1041%3A16341&show-proto-sidebar=1

repo: openclimatefix/nowcasting


text:
Replace platformContributionAmount with platformTipAmount

We have deprecated platformContributionAmount some months ago and I think we need to review the code and replace all instances of platformContributionAmount with `platformTipAmount.
https://github.com/opencollective/opencollective-api/blob/8619c6f2de6fe7b1acee9599b74593a5883c8111/server/graphql/v2/object/Order.js#L147-L158

@znarf : I've done this in three parts. Firstly we have to merge https://github.com/opencollective/opencollective-api/pull/6979 to deprecate the platformContributionAmount completely and also add the missing platformTipAmount in some places so that we can then merge, https://github.com/opencollective/opencollective-frontend/pull/7282. And finally when both are merged we can remove the platformContributionAmount completely with https://github.com/opencollective/opencollective-api/pull/6980

repo: opencollective/opencollective


text:
Guest account to User account Link

What are they trying to achieve?
When a guest account is activated to a user account should the old guest account link redirect to the new user account link?
How are they currently doing this?
Currently the guest account comes up as not found after the account has been activated
How well understood is this problem?

[ ] Surfacing: if you feel this is a seed of an idea that needs to be researched.
[ ] Understanding: if you've done some research and feel it is already well understood and ready for shaping.
[ ] Shaping:  if you feel a solution is clearly defined and can be made into a pitch (read more about shaping)
[ ] Pitching: if you feel that it is ready to be presented for prioritisation (read more about pitching)

should the old guest account link redirect to the new user account link

Guests' profiles are empty and don't provide any meaningful info; therefore, they're not supposed to be linked from anywhere. In this context, it doesn't really make sense to redirect the old URL to the verified profiles.
The issue doesn't tell much about what we're trying to achieve; is this to assist the support team when they're investigating? What's the path you're following to arrive on a guest profile link?

@shannondwray Where do you get this guest link? My point is that guests are not supposed to have a link in the first place

https://opencollective-metabase.herokuapp.com/question/1008-user-slug-from-email?email=jrhalsten%40aol.com - If I put an email in here and they have a guest account it gives me a slug

I suggest not documenting the profile URL for guests in support tickets or finding a better identifier. It's unlikely that we'll ever redirect guest profile URLs to their confirmed profile URLs.

Some users seem to be keeping their guest account links even after activating their accounts - https://opencollective.com/guest-46b0a4b2?

@shannondwray That's a bug that has been resolved since https://github.com/opencollective/opencollective-api/pull/7313 (they verified their profile on 2022-01-26). We may have a few more like that but not since 2022-03.

As per the discussion in the dev issue tracker we are closing this issue.

authors: Betree SudharakaP shannondwray


text:
Could not initialize OpenCV library

Running the docker image on MacOS as instructed in the guide. Once I open a task on Chrome where the image is viewed with the sidebar, the docker engine fails to load OpenCV. I get this message:
Could not initialize OpenCV library
SyntaxError: Unexpected token '<'
What could be the issue?

Hi @rezabasiri
Can you provider opencv request details? Such, like general/response headers/preview response screenshot

What CVAT version do you use?
And you recently deployed it? Did you have installed CVAT before?

2.6.0 version for CVAT, it was deployed yesterday and fresh installation for docker and cvat on macos monterey.

@rezabasiri
What command did you use to deploy?

docker compose --file './cvat/docker-compose.yml' --project-name 'cvat' start Or just from docker desktop

Please, try to follow official installation guide:
docker compose down
CVAT_VERSION=latest docker compose pull
docker compose up -d

More info is here: https://opencv.github.io/cvat/docs/administration/advanced/upgrade_guide/

I have the same issue, "Could not initialize OpenCV library", I have installed the latest version of cvat today

authors: DmitryBabichev bsekachev rezabasiri

repo: opencv/cvat


text:
Bump node-moving-things-tracker to v0.8.0

A new version of node-moving-things-tracker has been released. OpenDataCam needs to be updated to

use v0.8.0
allow the new fastDelete option in it's config file

See also https://github.com/opendatacam/node-moving-things-tracker/releases/tag/v0.8.0

great ! thanks !

authors: tdurand vsaw

repo: opendatacam/opendatacam


text:
Let pipelines use model from PVC

Description
You could provide a local model back in #18 (https://github.com/piotrpdev/azureml-model-to-edge/commit/626d5a5c85ff8c5cdd4019714dce91fe1c1b7751) but that was replaced for the S3 method (and also Git in #57 soon). Ideally a single task should handle getting the model and take some input for how e.g. using Git, S3, Azure, PVC (local), etc. Modifying our existing kserve-download-model Tekton Task is probably best for this.
Since no downloading needs to actually be done for the PVC (local) scenario, you could maybe just skip the kserve-download-model Task all together using a Tekton when guard. However, I think modifying the Task to move the model from the provided PVC to the buildah-cache workspace is better, especially since we're probably going to make each PipelineRun use its own PVC soon (using volumeClaimTemplate).

Isn't downloading from Git enough?

The PoC phase two requirements specify using a model stored in a PVC as a 'P0: must have' [1]. When RHODS integration and the new Model Registry [2] comes into play this will probably be an important feature.
A/C

Provide template PVC file which uses best practices
Easy and documented way of uploading the model to the PVC e.g. using a ubi9 pod and oc cp
azureml-container-pipeline still works when using:

PVC (local model)
S3
Git

You could provide a local model back in #18 (piotrpdev/azureml-model-to-edge@626d5a5) but that was replaced for the S3 method (and also Git in #57 soon).

I wonder -- if this is a PoC, shouldn't it showcase all methods? Have three (or how many needed) models and applications, one with model in the git, one in S3 pulled in in build-time, and one in S3 pulled in in run-time? Unless we have a strong reason to avoid any of those approaches, we shouldn't we replacing them, we should be adding the new options.
And in documentation explain how they differ.

Ideally a single task should handle getting the model and take some input for how e.g. using Git, S3, Azure, PVC (local), etc.

Overall though, this is not Edge-specific, is it? You might want something like that in the general OpenDataHub case as well.

we shouldn't we replacing them, we should be adding the new options.
I agree, I think I removed the local model method by mistake or assumed we weren't going to use it at the time.

You might want something like that in the general OpenDataHub case as well.
Can you elaborate on this please?

The various approaches to connecting models to runtimes might go to whatever demos / guides / learning materials that we have about using Open Data Hub and building pipelines there. We we have a place to carry the information outside of this ai-edge repo, we wouldn't need to focus on the wealth of options here.

I'm sorry if I didn't make it clear enough, but for the issue to be resolved the pipelines need to be able to use a model from any PVC. Ideally this means we:

Provide a PVC template along with a way to upload a local model to it (like #115)
Have a step/task that can copy the model from one PV (e.g. one being used by a Jupyter Notebook) to the PV/workspace being used by the pipelines.

authors: adelton piotrpdev

repo: opendatahub-io/ai-edge


text:
Upstream master sync

What this PR does / why we need it:
Conflict resolution for #80
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #80
Fixes #82
Testing
As this is synchronization, assume that this has already been tested in upstream.
Sanity check via the caikit demo should be enough. Some (untested) instructions would be:

Use the guide at https://github.com/opendatahub-io/caikit-tgis-serving/blob/main/demo/kserve/install-manual.md (using TARGET_OPERATOR=odh). Omit steps 11 and 12.
Deploy KServe from code in this PR: KSERVE_ENABLE_SELF_SIGNED_CA=true make deploy
Update  KServe deployment image: oc set image -n kserve dc/kserve-controller-manager manager=quay.io/opendatahub/kserve-controller:pr-83
Deploy a sample model and ensure that it works OK: https://github.com/opendatahub-io/caikit-tgis-serving/blob/main/demo/kserve/deploy-remove.md#deploying-an-llm-model-with-the-caikittgis-serving-runtime

/test e2e-slow

repo: opendatahub-io/kserve


text:
[Tracker]: Model Serving v2 - KServe Support

Description
We'd like to support the ability to host KServe Model Serving servers... this differs from Model Mesh (our current structure).
Target Branch
TBD
Requirements
TBD
Itemized UX Issues

https://github.com/opendatahub-io/odh-dashboard/issues/1809

Itemized Dev Issues
TBD
Related artifacts
No response

cc @lucferbux please adjust this tracker to fit what we want for v2 -- I imagine some of the issues might come from: https://github.com/opendatahub-io/odh-dashboard/issues/1312

Yes, that's right, I would say all the issues for 1312 can go to v2, that old tracker was just a filler until we waited for v2, let me rework this.

[UPDATE] We are gonna keep #1323 we have some issues there that can be fixed after kserve is implemented, moving only the tasks that are related to kserve development

Is this still on UX? Can you please update the status on this? @lucferbux @vconzola

@gmarkley-VI This is a Tracker. It looks like it has a Tracker State of "UX investigation", whatever that means. I have first pass designs that were reviewed at last Thursday's UX meeting, but the UX will likely be iterated on for quite a while. This should not prevent dev work from getting started. I'm not sure when we declare Tracker issues to be "off" UX?

I moved this into progress -- Lucas and Juntao are working on it.

Moving the enhancements to #1313

authors: andrewballantyne gmarkley-VI lucferbux vconzola

repo: opendatahub-io/odh-dashboard


text:
[DSG]: Connect Existing Storages to Existing Workspaces

Feature description
There is a desire to be able to reuse existing storages with a wide variety of potential workspaces.
Add a modal to do so.
Describe alternatives you've considered
No response
Anything else?
Mocks - https://marvelapp.com/prototype/afa716d/screen/88397562

We may have some issues with this functionality that is merged. Testing will have to weed out those issues. It's part of the DSG feature to allow for Storages to attach themselves to multiple workspaces (although the PVCs may not be able to do so due to their read/write setting/access)


text:
[WIP] merging eslint files

RHOAIENG-2534
Description

merging eslint config files
How Has This Been Tested?

Break some rules in various eslint files. It should show, and npm run test should work in root, backend, and frontend directories.
Test Impact

N/A
Request review criteria:

Self checklist (all need to be checked):

[x] The developer has manually tested the changes and verified that the changes work
[x] Commits have been squashed into descriptive, self-contained units of work (e.g. 'WIP' and 'Implements feedback' style messages have been removed)
[x] Testing instructions have been added in the PR body (for PRs involving changes that are not immediately obvious).
[x] The developer has added tests or explained why testing cannot be added (unit or cypress tests for related changes)

If you have UI changes:

[ ] Included any necessary screenshots or gifs if it was a UI change.
[ ] Included tags to the UX team if it was a UI/UX change.

After the PR is posted & before it merges:

[ ] The developer has tested their solution on a cluster by using the image produced by the PR to main

@christianvogt made requested changes. For this to work, we will need to notify people to get rid of their working directory eslint setting, since our combined eslintrc file seems to confuse the vscode eslint extension.


text:
[DRAFT] ENG-7652: Adds DW troubleshooting chapters

ENG-7652: Adds DW troubleshooting chapters (one for users, one for administrators)

/lgtm

authors: MelissaFlinn bredamc


text:
Listing subset of indices in kibana 7.9

OD version: 1.11
ES & kibana version: 7.9.1
Question related to https://github.com/opendistro-for-elasticsearch/security-kibana-plugin/issues/598
Since kibana 7.9, the endpoint of listing indices in stack management - index pattern creation screen becomes internal/index-pattern-management/resolve_index/* (which may for supporting cross-cluster indices), which correspond to indices:admin/resolve/index permission. A workaround is granting indices:admin/resolve/index on indices pattern * to user. But in this way it listed all the indices.
Is there any way to configure to allow user to list a subset of indices in with this new endpoint? e.g. we have 2 data indices kibana_sample_data_flight and kibana_sample_data_logs and only allow a user to list and read kibana_sample_data_flight. Tested granting indices:admin/resolve/index to kibana_sample_data_fli* but didn't work.

It seems that Kibana got some improvements in 7.10. So that it is possible to create index patterns without giving users access indices:admin/resolve/index to the * pattern. It will generate some INDEX_EVENT into .security-auditlog.

It seems that Kibana got some improvements in 7.10. So that it is possible to create index patterns without giving users access indices:admin/resolve/index to the * pattern. It will generate some INDEX_EVENT into .security-auditlog.

authors: oscarkraemer yuxitang-amzn

repo: opendistro-for-elasticsearch/security


text:
OpenDP 0.11.1

Closes #1954

#1957  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @Shoeboxam and the rest of your teammates on  Graphite

repo: opendp/opendp


text:
dom/met signature: clamp

Closes #722
Adds input_domain and input_metric as arguments to make_clamp.

support clamping on sized datasets.
support other dataset metrics (InsertDeleteDistance)
adds support for partial construction: prev_trans >> partial_clamp(bounds)

Current dependencies on/for this PR:

main

PR #648

PR #618

PR #674

PR #675

PR #676

PR #678

PR #682

PR #684

PR #645

PR #604

PR #687

PR #688

PR #512
PR #689

PR #690   👈

This comment was auto-generated by Graphite.

Current dependencies on/for this PR:

main

PR #648

PR #618

PR #674

PR #675

PR #676

PR #678

PR #682

PR #684

PR #645

PR #604

PR #687

PR #688

PR #512
PR #689

PR #690   👈

This comment was auto-generated by Graphite.

I opened https://github.com/opendp/opendp/pull/749 with a convenience constructor as mentioned above.


text:
Mayastor Storage Dependent Storage

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
Describe the solution you'd like
why mayastor Storage Dependent other Storage? This is too strange. If I have storage, why would I use mayastor.

loki-stack.persistence.storageClassName: manual
etcd.persistence.storageClassName: manual

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

--set loki-stack.loki.persistence.storageClassName=manual
--set etcd.persistence.storageClass=manual

I've raised a PR to fix this: https://github.com/openebs/mayastor-docs/pull/159

authors: tiagolobocastro willzhang

repo: openebs/mayastor


text:
Deleting a dynamic PVC of openebs-jiva-default class does not empty the pods in openebs namespace.

I have originally asked this question on microk8s repo (https://github.com/ubuntu/microk8s/issues/2434), as it is what I'm using, but they claim I should ask you guys here.
When I create a pod with an OpenEbs storage requirement, except for the PVCs, microk8s also spins up pods on each node. These pods remain even after the deployment has been deleted and I need to go through them and delete them manually.
Is this the correct behaviour and I should delete them manually, or is this a bug in openebs?

cc @kmova @Ab-hishek @vishnuitta @shubham14bajpai

Hi @turowicz These volume related deployments should get deleted when the PVC is deleted.

These pods remain even after the deployment has been deleted

Are you deleting the PVC as well when the deployment is deleted?

Yes because I helm uninstall a release, so everything should be gone.

Can you please once try uninstall and check if the PVC gets deleted or not

@turowicz is it StatefulSet based volumes ?.

@shubham14bajpai yes the PVC are deleted on helm uninstall, only openebs pods remain for each node.
@prateekpandey14 yes this is connected to stateful sets. Delete is the reclaim policy.

@turowicz can you share the openebs-apiserver pods logs here, wanted to check if there are any errors , also what is the k8s version ?

K8S: microk8s 1.21
openebs-apiserver:
+ MAYA_API_SERVER_NETWORK=eth0
+ ip -4 addr show scope global dev eth0
+ grep inet
+ awk '{print $2}'
+ cut -d / -f 1
+ CONTAINER_IP_ADDR=10.1.167.118
+ exec /usr/local/bin/maya-apiserver start '--bind=10.1.167.118'
I0713 21:41:15.150762 1 start.go:148] Initializing maya-apiserver...
I0713 21:41:15.214979 1 start.go:279] Starting maya api server ...
W0713 21:41:15.278331 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W0713 21:41:15.296687 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W0713 21:41:15.302111 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W0713 21:41:15.308734 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W0713 21:41:15.315719 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W0713 21:41:15.322711 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W0713 21:41:15.328128 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W0713 21:41:15.335605 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W0713 21:41:15.340637 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W0713 21:41:15.347689 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W0713 21:41:15.352659 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W0713 21:41:15.359746 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition
W0713 21:41:15.364637 1 warnings.go:70] apiextensions.k8s.io/v1beta1 CustomResourceDefinition is deprecated in v1.16+, unavailable in v1.22+; use apiextensions.k8s.io/v1 CustomResourceDefinition

openebs-provisioner-855f4d7598-4zdlr.log

In the provisioner logs there are no PVC Delete request for the newly provisioned PVCs. for example pvc-09ce295b-ce5a-4db0-b45f-5f4384f241f4 only have provisioned logs, no delete request have been made. what is the pvc status, are they deleted from the cluster ? what kubectl get pvc --all-namespace says ?

Yes, the PVCs from uninstalled releases are gone.

@prateekpandey14 @shubham14bajpai can you send me an example helm template that should have this working correctly? Perhaps I am missing something in my definitions.

@turowicz you can install any application helm charts like prometheus, mongo etc from their stable charts repo, or you can check out some example statefulset example here in openebs docs.

@prateekpandey14 I am using these charts:
helm repo add bitnami https://charts.bitnami.com/bitnami
helm repo update

helm upgrade --wait -f values/Database/cql.openebs.yaml my-database-cql bitnami/cassandra --version 7.6.1

cql.openebs.yaml:
replicaCount: 2
cluster:
  endpointSnitch: GossipingPropertyFileSnitch
image:
  registry: surveily.azurecr.io
  repository: cassandra
  tag: "20210414.1"
  pullSecrets:
    - s-dev-repo
dbUser:
  user: sa
  forcePassword: true
  password: [redacted]
persistence:
  size: 100Gi
  enabled: true
  storageClass: openebs-jiva-default
metrics:
  serviceMonitor:
    enabled: true
    interval: 15s
resources:
  limits:
    cpu: 4000m
    memory: 8Gi
  requests:
    cpu: 4000m
    memory: 8Gi

So as you can see nothing out of the ordinary. Deleting that release keeps the pods in openebs namespace.

@turowicz i just tried installing the bitnami/cassandra chart in my local cluster, since its a Statefulset, uninstalling a chart, will not delete the PVC automatically its by design in k8s, and you have to delete the pvc using a kubectl command.
Deleting and/or scaling a StatefulSet down will not delete the volumes associated with the StatefulSet. This is done to ensure data safety, which is generally more valuable than an automatic purge of all related StatefulSet resources.

@prateekpandey14  Well that is not what I am experiencing:
PVCs:

134 pods in openbs namespace:

also PVs:

On cassandra example:

Deployment creates a PVC that automatically gets a PV with a GUID.
OpenEbs creates a pod for that GUID PV.
Uninstalling removes the PVC and PV, but the pod remains.

Uninstalling removes the PVC and PV, but the pod remains.

But PVC/PV exists in above screenshot, is that they are not the deleted one ?
So basically just to see the behavior, i tried below steps

install charts with  1 Replica count in SC

helm install cassandra --set persistence.storageClass=openebs-jiva bitnami/cassandra

pod and pvc

$ kubectl get pods
NAME          READY   STATUS    RESTARTS   AGE
cassandra-0   0/1     Running   0          30s

$ kubectl get pvc
NAME               STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
data-cassandra-0   Bound    pvc-9ff5b909-f607-4f65-ac28-f12ab6d310e6   8Gi        RWO            openebs-jiva   2m8s

$ kubectl get pods -n openebs -l openebs.io/persistent-volume=pvc-9ff5b909-f607-4f65-ac28-f12ab6d310e6
NAME                                                              READY   STATUS    RESTARTS   AGE
pvc-9ff5b909-f607-4f65-ac28-f12ab6d310e6-ctrl-7668c87cd4-465vr    2/2     Running   0            45s
pvc-9ff5b909-f607-4f65-ac28-f12ab6d310e6-rep-1-58c8d8c87f-hxk7n   1/1     Running   0          45s

Uninstall charts will remove the charts only not the PVC (as expected)

$ helm uninstall cassandra
release "cassandra" uninstalled

$ kubectl get pods
NAME          READY   STATUS        RESTARTS   AGE
cassandra-0   1/1     Terminating   0          2m

kubectl get pods
No resources found in default namespace.

kubectl get pvc
NAME               STATUS   VOLUME                                     CAPACITY   ACCESS MODES   STORAGECLASS   AGE
data-cassandra-0   Bound    pvc-9ff5b909-f607-4f65-ac28-f12ab6d310e6   8Gi        RWO            openebs-jiva   7m23s

kubectl get pods -n openebs -l openebs.io/persistent-volume=pvc-9ff5b909-f607-4f65-ac28-f12ab6d310e6
NAME                                                              READY   STATUS    RESTARTS   AGE
pvc-9ff5b909-f607-4f65-ac28-f12ab6d310e6-ctrl-7668c87cd4-465vr    2/2     Running   0          9m55s
pvc-9ff5b909-f607-4f65-ac28-f12ab6d310e6-rep-1-58c8d8c87f-hxk7n   1/1     Running   0          9m48s

Delete the PVC to delete the Jiva pods

$ kubectl delete pvc data-cassandra-0
persistentvolumeclaim "data-cassandra-0" deleted

$ kubectl get pods -n openebs -l openebs.io/persistent-volume=pvc-9ff5b909-f607-4f65-ac28-f12ab6d310e6
No resources found in openebs namespace.

I will test the above.

But PVC/PV exists in above screenshot, is that they are not the deleted one ?

There are 27 PVs and 134 pods in openebs namespace. For 3 nodes there should be 27x3 pods. This means there are phantom pods for PVs/PVCs that no longer exist.

There is a difference here, on microk8s the storage class is called openebs-jiva-default
So I need to deploy with:
helm install cassandra --set persistence.storageClass=openebs-jiva-default bitnami/cassandra

After helm uninstall and deleting the PVC I still have deployments and pods remaining.
kubectl get deployment -n openebs
NAME                                             READY   UP-TO-DATE   AVAILABLE   AGE
openebs-apiserver                                1/1     1            1           7m13s
openebs-provisioner                              1/1     1            1           7m13s
openebs-localpv-provisioner                      1/1     1            1           7m13s
openebs-admission-server                         1/1     1            1           7m13s
openebs-snapshot-operator                        1/1     1            1           7m13s
openebs-ndm-operator                             1/1     1            1           7m13s
pvc-39d66aa2-0896-4508-b305-63c11cabec99-rep-2   0/1     1            0           2m6s
pvc-39d66aa2-0896-4508-b305-63c11cabec99-rep-3   0/1     1            0           2m6s
pvc-39d66aa2-0896-4508-b305-63c11cabec99-rep-1   1/1     1            1           2m6s
pvc-39d66aa2-0896-4508-b305-63c11cabec99-ctrl    1/1     1            1           2m6s

kubectl get pod -n openebs
NAME                                                              READY   STATUS    RESTARTS   AGE
openebs-ndm-rfrlh                                                 1/1     Running   0          7m16s
openebs-apiserver-76494788bc-t5phx                                1/1     Running   0          7m16s
openebs-provisioner-7cb669f466-2xlp8                              1/1     Running   0          7m16s
openebs-localpv-provisioner-66b9f8ff98-qw2sq                      1/1     Running   0          7m16s
openebs-admission-server-84bd769954-mvj54                         1/1     Running   0          7m16s
openebs-snapshot-operator-669696cd5d-5rdlc                        2/2     Running   0          7m16s
openebs-ndm-operator-79d596bd67-p7g72                             1/1     Running   0          7m16s
pvc-39d66aa2-0896-4508-b305-63c11cabec99-rep-2-6497f4b58b-ldtxx   0/1     Pending   0          2m9s
pvc-39d66aa2-0896-4508-b305-63c11cabec99-rep-3-6497f4b58b-2pshx   0/1     Pending   0          2m9s
pvc-39d66aa2-0896-4508-b305-63c11cabec99-rep-1-6497f4b58b-d42rm   1/1     Running   0          2m9s
pvc-39d66aa2-0896-4508-b305-63c11cabec99-ctrl-5bfb7686d8-5s8rm    2/2     Running   0          2m9s

Steps to reproduce:

sudo snap install microk8s --channel 1.21/latest --classic
sudo microk8s enable openebs
helm install cassandra --set persistence.storageClass=openebs-jiva-default bitnami/cassandra
helm uninstall cassandra
kubectl delete pvc ... (drop all cassandra pvcs)

@turowicz -- Able to reproduce the issue.
This seems to happen only when all of the replicas (in this case replicass =3, and 1/3 are available) are not available and the PVC is not bound. This might be because you have insufficient nodes in the cluster. You'll need at least 3 to schedule all 3 replicas.
When all the replicas are available, and the PVC is bound, the volume is made available to the application pod. On delete, cleanup occurs successfully.
Tested on Ubuntu 18.04
Microk8s channel 1.21/stable (classic)
OpenEBS version 2.11.0
cc: @prateekpandey14

My cluster has 3 nodes, all available:

Each node has 48 cores and 128GB RAM

For the case where all of the replica controller are scheduled, and not pending, the cleanup seems to work as expected, for me.
@turowicz -- Can we jump into a meeting so I may be able to take a closer look at your system over a screen-share? For a meeting, it will be convenient if you joined the Kubernetes workspace. You can use these links to join:

Join Kubernetes workspace -- https://slack.k8s.io
OpenEBS channel in the Kubernetes workspace -- https://kubernetes.slack.com/messages/openebs

@niladrih how about just a Google Meet? We use Discord at work instead of Slack.

Sure @turowicz. A Google Meet is good for me. I am at +5:30 UTC (IST). When is a good time for you?

@turowicz -- 11:30 - 12:30 (CEST) tomorrow? Drop me your email address, I'll send you an invite.

Sounds good. info@surveily.com

ADOPTERS.md over at openebs/openebs --> https://github.com/openebs/openebs/blob/master/ADOPTERS.md
You can add your Adopters' entry by dropping comment here --> https://github.com/openebs/openebs/issues/2719

Thank you for the call, it helped me a lot.
The solution is to never delete PV manually and just remove the PVC. The framework will automatically handle the deletion of PV and the pods.

You can use the following script to get rid of the clutter pods. USE AT OWN RISK.
#!/bin/bash

set -e

readarray -t volumes < <(kubectl get pv --no-headers -o custom-columns=":metadata.name")

for fn in `kubectl get deployment -n openebs --no-headers -o custom-columns=":metadata.name"`; do
    if  [[ $fn == pvc-* ]] ;
    then
        target=${fn:0:40}

        if  [[ ! ${volumes[@]} =~ ${target} ]] ;
        then
            kubectl delete deployment $fn -n openebs
        fi
    fi
done

echo "End"

repo: openebs/openebs


text:
[iOS] Completion doesn't work for videos in PiP mode.

Fix bug for:
[iOS] Completion doesn't work for videos in PiP mode. #391
A little refactor how players is build in.

@forgotvas I just noticed that even though the video is still playing in PiP mode, when I return from other screens, it appears as if the module has been completed.
https://github.com/openedx/openedx-app-ios/assets/11990137/9d5c517b-8fd5-43b1-9d60-77a33eb3633a

@forgotvas I just noticed that even though the video is still playing in PiP mode, when I return from other screens, it appears as if the module has been completed.
PiP.Mode.Video.mov

I came across this code snippet, and it appears to be functioning as intended, so there's no need to make any changes to it. 🎉
if strongSelf.playerTracker.progress > 0.8 && !strongSelf.isViewedOnce {
                    strongSelf.isViewedOnce = true
                    Task {
                        await strongSelf.sendCompletion()
                    }
                }

@forgotvas I'm curious to understand what happens if a user downloads a video and watches it offline. Does the system recognize it as complete once the user reconnects online?

@forgotvas I'm curious to understand what happens if a user downloads a video and watches it offline. Does the system recognize it as complete once the user reconnects online?

Hi @shafqat-muneer, you are right, it will try to call the completion request, but as we are offline it will not be send. Also in current implementation i don't see that we are syncing it after return to online mode. But that PR is fixing problem when we call completion for videos what you are playing in PIP mode, to solve offline sync we need to create another task & PR. @sergeymomot could create ticket for that.
I have fixed code that you requested to change. Thank you for review.

@forgotvas I'm curious to understand what happens if a user downloads a video and watches it offline. Does the system recognize it as complete once the user reconnects online?

Hi @shafqat-muneer, you are right, it will try to call the completion request, but as we are offline it will not be send. Also in current implementation i don't see that we are syncing it after return to online mode. But that PR is fixing problem when we call completion for videos what you are playing in PIP mode, to solve offline sync we need to create another task & PR. @sergeymomot could create ticket for that.
I have fixed code that you requested to change. Thank you for review.

@forgotvas It makes sense to me. I've looked over the requested changes, and we are good to merge. 🎉

authors: forgotvas shafqat-muneer

repo: openedx/openedx-app-ios


text:
build(gha): use ubuntu-latest for functional-tests

Checklist

[x] the contributor license agreement is signed
[x] commit message follows commit guidelines
[ ] tests are included
[ ] screenshots are included showing significant UI changes
[ ] documentation is changed or added

Description of change

We are currently having memory issues, but on other branches where we use ubuntu-latest things are working. So this is a test.

Well that's promising:

I'll do it one more time to be sure. ;)

It's looking pretty good, but I'm running one more time (run #4) as the scalacheck tests keep failing - just one here and there. :confused:

Although ScalaCheck still failing, at least we get the old-ui build on GHA alongside the new-ui on CodeBuild. So it seems an improvement. Will merge for now.

repo: openequella/openEQUELLA


text:
Tackling some Low Hanging Fruit

What's changed.

Close #301, close #300, add keyword and descriptions for crops

Coverage remained the same at 99.93% when pulling 7defc335634a3c3a12be4ac25ac50109d0b6e01b on simonv3:master into 9af9c8bf82a45f48871ebe4b83c3465d511be9d9 on openfarmcc:master.

Yay for tests!

Coverage increased (+0.0%) to 99.93% when pulling d078c6669a3c3bf446713b6540c3675e8908eb6f on simonv3:master into 9af9c8bf82a45f48871ebe4b83c3465d511be9d9 on openfarmcc:master.

repo: openfarmcc/OpenFarm


text:
Add serialization to and from JSON strings

Closes https://github.com/openfheorg/openfhe-development/issues/716

A new request was open

authors: cheziyi dsuponitskiy

repo: openfheorg/openfhe-development


text:
Version Information meta tag for Windows build

Application executables on Windows supports additional metadata called Version Information. The info is available in detail to the user by right clicking and choosing Properties > Details, it also shows the info under the .exe name in the Explorer and Taskbar entry and used for some System dialogs.
I can't seem to find a way to add this via the project.xml so I am requesting it.
It could be an entry like,
<meta if="windows"
	version="1.0.0.0"
	product="My AppName"
	description="My Application"
	company="My Company"
	copyright="2016 Author Name"
/>

The project.xml file is dealt with by the lime tools,
if you could reopen this issue over there https://github.com/openfl/lime/issues.

authors: alexandervrs ibilon

repo: openfl/openfl


text:
Fixes ColorMatrixFilter

Fixes https://github.com/openfl/openfl/issues/1049

thanks ! It works.

@er453r @loudoweb got a code sample I could test this with?

//add a bitmap into a sprite (or draw into it) and then...
//sepia
var matrix = Array = [
0.393, 0.7689999, 0.18899999, 0, 0,
0.349, 0.6859999, 0.16799999, 0, 0,
0.272, 0.5339999, 0.13099999, 0, 0,
0, 0, 0, 1, 0
];
sprite.filters = [new ColorMatrixFilter(matrix)];

That does indeed fix it,
thanks for the contribution!

authors: er453r ibilon loudoweb


text:
Create a "Contribute to your country" link

What

Why: convert some of the users into contributors and into Country Manager
What: We have country pages on the Wiki, which follow a scheme
Generate a link from current app country following the scheme, and expose it like "Help improve Open Food Facts in your country"
Hopefully people will read, edit and/or create the pages
https://wiki.openfoodfacts.org/Country_Support_-_Mexico

Current pages

[[Country Support - Argentina]]
[[Country Support - Australia]]
[[Country Support - Canada]]
[[Country Support - China]]
[[Country Support - Europe]]
[[Country Support - France]]
[[Country Support - Germany]]
[[Country Support - India]]
[[Country Support - Italy]]
[[Country Support - Japan]]
[[Country Support - Mexico]]
[[Country Support - Netherlands]]
[[Country Support - Spain]]
[[Country Support - Russia]]
[[Country Support - South Korea]]
[[Country Support - United States]]

And we want it to link to the country that the user has set up

Could be done at openfoodfacts-dart level: for each Country, return the Country Support link (or null).

@jnnabugwu Feel like coding it?

@monsieurtanuki Yeah ill code it up

Hey @teolemon what icon should I use for this job? I don't think the Flutter icon class has a globe. Also, how do I go about added a string to localization files? Is there a system in place for that or a tool OFF uses?

we could put the flag of said country, or a material globe.

authors: jnnabugwu monsieurtanuki teolemon

repo: openfoodfacts/smooth-app


text:
fix: 5691 - fallback when "nulls last" not supported by db

What

According to Sentry, some SQFlite implementations don't support "nulls last" in select queries.
It's not a key feature: when it's not supported, we retry with a simpler syntax.

Fixes bug(s)

Fixes: #5691

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

Project coverage is 6.79%. Comparing base (4d9c7fc) to head (d76e37e).
Report is 357 commits behind head on develop.

Files with missing lines
Patch %
Lines

packages/smooth_app/lib/database/dao_product.dart
0.00%
13 Missing :warning:

Additional details and impacted files
@@            Coverage Diff             @@
##           develop   #5695      +/-   ##
==========================================
- Coverage     9.54%   6.79%   -2.75%
==========================================
  Files          325     404      +79
  Lines        16411   21559    +5148
==========================================
- Hits          1567    1466     -101
- Misses       14844   20093    +5249

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

authors: codecov-commenter monsieurtanuki


text:
Undefined stereochemistry error on molecule creation should be only a warning if undefined stereochemistry is allowed

Currently, the Molecule.from_openeye code prints an error message about undefined stereochemistry even if allow_undefined_stereo=True; however, it only raises an Exception if it is set to False (default).
The error message printed should presumably be changed to a warning if allow_undefined_stereo is set to True otherwise it is confusing, e.g. I end up with a big set of printouts saying things like:
Unable to make OFFMol from OEMol: OEMol has unspecified stereochemistry. oemol.GetTitle():
Problematic atoms are:
Atom atomic num: 6, name: , idx: 11, aromatic: False, chiral: True with bonds:
bond order: 1, chiral: False to atom atomic num: 6, name: , idx: 10, aromatic: True, chiral: False
bond order: 1, chiral: False to atom atomic num: 6, name: , idx: 12, aromatic: False, chiral: False
bond order: 1, chiral: False to atom atomic num: 1, name: , idx: 16, aromatic: False, chiral: False
bond order: 1, chiral: False to atom atomic num: 7, name: , idx: 26, aromatic: False, chiral: False

but the code runs.
The problem seems to be right here: https://github.com/openforcefield/openforcefield/blob/b860311b3e02c198cf16c579468e270b7b759854/openforcefield/utils/toolkits.py#L736-L743 where msg gets printed (and denotes "Unable to make..." ) even if no Exception is raised and a molecule is made.
(I ran into this because I was trying to test parameter usage on the Roche set; I don't actually care about whether the molecules have 3D geometries, I just want to test what parameters would be used.)

Good catch, @davidlmobley. Should be an easy fix. I've assigned this to the 0.3.1 milestone, if we don't get to it sooner.

@j-wags, I found when I added these lines, the spurious warnings stop. oechem.OEPerceiveChiral(molecule) is not enough in some cases.

authors: ChayaSt davidlmobley j-wags

repo: openforcefield/openforcefield


text:
FZKViewer error when trying to read gml:OrientableSurface

When trying to load the LOD3 converted example from CityGML 2.0 in FZKViewer v6.3 I came across the following error:

All of the other examples loaded just fine including the original CityGML 2.0 representation of the building which also uses gml:OrientableSurface.

Thanks for testing, @DiegoVinasco. I am not sure about the conclusion though, because the FZKViewer does not officially support CityGML 3.0 yet. So, might be an internal software error.

Right, I was thinking that was the case. I'll close the issue then.

authors: DiegoVinasco clausnagel


text:
Added as Python module-extension simple Rust dynamic library o…

…ffering a function to decode bytes to JSON with flatgobuf.
This can be used so:
from flatgeobuf_pyrust import from_fgb, to_fgb
from django.db import models

class MyGeoModel(models.BaseModel):
    ...
    geom = models.BinaryField()

# preparing some data
with open("my_flatgeobuf.fgb", "rb") as fh:
    geoms = [MyGeoModel(geom=geom) for geom in fh.read()]
    MyGeoModel.objects.bulk_create(geoms)

# retrieving data & decoding with flatgeobuf
geoms_fb = MyGeoModel.objects.filter(...).values_list("geom", flat=True)
json_str = from_fgb(geoms_fb)
# json_str can now be returned without turning to any serializer!

# adding more data & encoding with flatgeobuf
buffer_bytes = to_fgb(my_json_string_with_multiple_polyon_features)
to_update = MyGeoModel.objects.filter(...)
for geom in buffer_bytes:
    MyGeoModel.geom = geom
MyGeomModel.objects.bulk_update(to_update, ["geom"])

I have not forgotten that we said this was not a priority / postponed but it didn't took any time off the project to write this. Also it was fun to do and it can serve as a reasonably general solution to the encoding issue.
The reason I'm suggesting a dynamic library is that:

https://github.com/sideshowdave7/django-rest-framework-flatbuffers does not work and is apparently unmaintained
while https://flatbuffers.dev/ does provide a library for Python applications, https://github.com/flatgeobuf/flatgeobuf does not; the closest thing I could find was https://pyogrio.readthedocs.io/en/latest/ but it really seems to be a flavour of https://github.com/Toblerity/Fiona and both seem to apply only to full-fledged files, where we are interested in more transient data.

Results:

See test outputs for details.

This is partially superseded by #75 since encoding from the database is bound to be quick. This might still help when a database is not around or for writing to a database.

Was fun doing but also superseded by #89.

repo: opengisch/django-ogcapif


text:
Make the root of QFieldCloud redirect to admin page and doc some envvars

Closes #580

Task linked: QF-2605 Make getting started with qfieldcloud repo more friendly

authors: duke-nyuki suricactus

repo: opengisch/qfieldcloud


text:
Add Granite

https://github.com/ibm-granite/granite-code-models

Thank you! Current focus of this index is on instruction-tuned text generators. However, I'll leave this issue open because I think it would be worth forking / extending the project to cater for other types of models too.

authors: fvzwieten mdingemanse


text:
fix api model to use v1.0.0 and generate api with default model

Generate api with default model.  related: https://github.com/kube-rs/kopium/issues/60
use param of VERSION to generate api and not master.

/lgtm
/approve

repo: openkruise/client-rust


text:
Overlaying map with different colors to each state/countries

Hi Team,
I am new to open layers development. I have requirement to draw different colors on the US states based on the US state co-ordinates. I managed to draw the borders on the US map. But unable to set different colors to each states. Is there any option to set different colors to each states or countries. I want to populate the color like attached snapshot. If i get any quick help with solution would be great helpfull to continue the research.
I would really appreciate your speedy response.

Please ask usage questions on StackOverflow. Regarding your question I would recommend you to take a look at the documentation (e.g. Understanding Style or ol.Style).

authors: rdsivaa tsauerwein


text:
Add stylus only and touch only mode in drawing a shape

What is my problem?
I work on a project which requires to draw and annotate on a map. I have used Openlayers as the main library to fulfill the requirement. It is good to draw on a map using a PC with a mouse but it is quite frustrated to draw on a tablet device with a stylus. While I am naturally drawing a new shape using a stylus my pinky finger frequently disrupts the drawing by accidentally touching on the tablet's screen. The unintentional touching from my smallest finger is going to draw some unexpected shape and break my current drawing.
My solution:
I have checked and found that browsers support to distinguish a click event by a mouse, a touch or a pen while Openlayers currently support mouse only. Therefore, I just add a small patch with few lines of code to the library to support stylusOnly (or penOnly) and touchOnly which has solved my problem (to do so, I add two more variables in ol/events/condition.js). When users access my system on their tablet they can set the Openlayer map to styleOnly mode to prevent accidentally touching by hand.
Besides, I also want free-hand drawing could work with stylus only then I have changed the condition in ol/interaction/Draw.js too.

fixed with #9244

authors: fredj huyngkh

repo: openlayers/openlayers


text:
Support multiple sources for WebGL tile layers

This pull request adds a sources option for WebGL tile layers. With this option, it will be possible to support pyramids of Cloud Optimized GeoTIFFs with a single layer, instead of a layer group as shown in https://openlayers.org/en/latest/examples/cog-pyramid.html.
Usage example:
const pyramid = new WebGLTileLayer({
  sources: sourcesFromTileGrid(
    tileGrid,
    ([z, x, y]) =>
      new GeoTIFF({
        tileGrid: createXYZ({
          extent: tileGrid.getTileCoordExtent([z, x, y]),
          minZoom: z,
          maxZoom:
            z === tileGrid.getResolutions().length - 1 ? undefined : z + 1,
        }),
        sources: [
          {
            url: `https://s2downloads.eox.at/demo/EOxCloudless/2019/rgb/${z}/${y}/${x}.tif`,
          },
        ],
      })
  ),
});

The underlying change would allow for adding a sources option for most layer types, because it is implemented at the level of the layer, by calling prepareFrame and renderFrame on the layer renderers for each source of the respective layer.

The modified example using the new API is https://deploy-preview-13212--ol-site.netlify.app/examples/cog-pyramid.html.


text:
Userspace install of the libraries

Dear openmsr developers,
I was working on issue tickets #5 and #6.
I've created some modifications for Ubuntu22.04 to make these functionalities available.
My concept was to install all the dependent libraries solely into a predefined userspace folder (currently it is $HOME/openmc).
The default definitions of the corresponding environmental variables:
# set the path to the nuclear database
export OPENMC_CROSS_SECTIONS=$HOME"/openmc/nuclear_data/mcnp_endfb71/cross_sections.xml"
# set custom version of pyMOAB
export PYTHONPATH=$PYTHONPATH:$HOME"/openmc/MOAB/build/pymoab/"
# set custom version of CAD_to_openMC
export PYTHONPATH=$PYTHONPATH:$HOME"/openmc/CAD_to_openMC/src/"
# set custom version of OpenMC
export PYTHONPATH=$PYTHONPATH:$HOME"/openmc/openmc/"
export PATH=$PATH:$HOME"/openmc/openmc/build/bin/"

In this way, one can modify all the underlying code without reinstalling that and different versions of OpenMC can be stored beside each other (e.g. $HOME"/openmc/openmc_varA/" and $HOME"/openmc/openmc_varB/" )
The test workflow has been extended with the 3d model conversion and the sample simulation.
(A single hack, i.e. sudo pip install -U numpy was needed due to some numpy API error)
Cheers,
Daniel

Hi @kozmad, Thank you very much for the edits and your work.
I'm think the process you outline here, is in essence good. It is definitely true that it would be useful to be able to have several versions  next to each other as depending on environment variables.
Please allow me a little time for testing your edits and I'll get back to you.

authors: ebknudsen kozmad


text:
Add instructions to get started

For instance:

[x] Pointer to doc site
[x] Fetch test resources
[x] Run tests
[ ] Run a pipeline from the CLI
[ ] Run a pipeline from nf-tower

Still need to add instructions to the website on how to run from CLI or nf-tower.

authors: rcannood tverbeiren

repo: openpipelines-bio/openpipeline


text:
Work with tender/lot documentation in openProcedure

This change is

Reviewed 1 of 1 files at r4, 2 of 2 files at r6.
Review status: all files reviewed at latest revision, 5 unresolved discussions.

op_robot_tests/tests_files/base_keywords.robot, line 208 [r6] (raw file):

  ${number_of_lots}=  Get Length  ${USERS.users['${tender_owner}'].initial_data.data.lots}
  :FOR  ${lot_index}  IN RANGE  ${number_of_lots}
  \  ${lot_index}=  Convert to integer  ${lot_index}

Не має потреби у Convert to integer

op_robot_tests/tests_files/openProcedure.robot, line 397 [r6] (raw file):

  ...      viewer
  ...      ${USERS.users['${viewer}'].broker}
  ...      view_tender_doc_title

Тег - add_tender_doc. Вони взаємопов’язані і мають бути об’єднані.

op_robot_tests/tests_files/openProcedure.robot, line 406 [r6] (raw file):

  ...      viewer
  ...      ${USERS.users['${viewer}'].broker}
  ...      view_lot_doc_title

Аналогічно - add_lot_doc.

op_robot_tests/tests_files/openProcedure.robot, line 414 [r6] (raw file):

  ...      viewer
  ...      ${USERS.users['${viewer}'].broker}
  ...      view_tender_doc_content

add_tender_doc

op_robot_tests/tests_files/openProcedure.robot, line 422 [r6] (raw file):

  ...      viewer
  ...      ${USERS.users['${viewer}'].broker}
  ...      view_tender_doc_content

add_lot_doc. Випадково дав view_tender_doc_content для відображення для лотів.

Comments from Reviewable

Review status: all files reviewed at latest revision, 5 unresolved discussions.

op_robot_tests/tests_files/openProcedure.robot, line 397 [r6] (raw file):
Previously, Leits (Andrew Leitsius) wrote…
> Тег - add_tender_doc. Вони взаємопов’язані і мають бути об’єднані.

Чому? Хіба не можна просто додати документацію і не перевіряти її на відображення?

op_robot_tests/tests_files/openProcedure.robot, line 406 [r6] (raw file):
Previously, Leits (Andrew Leitsius) wrote…
> Аналогічно - add_lot_doc.

Аналогічно

op_robot_tests/tests_files/openProcedure.robot, line 422 [r6] (raw file):
Previously, Leits (Andrew Leitsius) wrote…
> add_lot_doc. Випадково дав view_tender_doc_content для відображення для лотів.

Done. Змінив на view_lot_doc_content

Comments from Reviewable

Calling method 'get_file' failed: NoToken

authors: Leits mykhaly


text:
VarAccess raises TraitErrorsException for accesses in lambda expressions

At the moment, there is no support in OpenRewrite for handling variable accesses within lambda expressions, causing the following test cases to fail:
@Test
void lambdaException() {
    rewriteRun(
      java(
        """
          import java.util.concurrent.FutureTask;

          class Test {
              void foobar() {
                  FutureTask<Exception> task = new FutureTask<>(() -> {
                      try {
                          return null;
                      } catch (Exception e) {
                          return e;
                      }
                  });
              }
          }
          """
      )
    );
}

with the exception:
Caused by: org.openrewrite.analysis.trait.util.TraitErrorsException: TraitErrors:
	- Method must be created from class org.openrewrite.java.tree.J$MethodDeclaration but was class org.openrewrite.java.tree.J$ControlParentheses
	- InstanceInitializer must be created from class org.openrewrite.java.tree.J$Block but was class org.openrewrite.java.tree.J$Lambda
	- Field must be declared in a class, interface, or anonymous class
	at org.openrewrite.analysis.trait.util.TraitErrors.doThrow(TraitErrors.java:43)
	at fj.data.Either$RightProjection.on(Either.java:531)
	at fj.data.Validation.on(Validation.java:146)
	at org.openrewrite.analysis.trait.expr.VarAccessBase$1.visitVariable(VarAccess.java:190)
	at org.openrewrite.analysis.trait.expr.VarAccessBase$1.visitVariable(VarAccess.java:178)
	at org.openrewrite.java.tree.J$VariableDeclarations$NamedVariable.acceptJava(J.java:5627)
	at org.openrewrite.java.tree.J.accept(J.java:59)
	at org.openrewrite.TreeVisitor.visit(TreeVisitor.java:278)
	...

and the test:
@Test
void lambdaNewInstance() {
    rewriteRun(
      java(
        """
          class A {
              static A newInstance() {
                  return new A();
              }
          }

          class Test {
              ThreadLocal<A> foobar =
                  ThreadLocal.withInitial(() -> {
                      A a = A.newInstance();
                      return a;
                  });
          }
          """
      )
    );
}

with the exception:
Caused by: org.openrewrite.analysis.trait.util.TraitErrorsException: TraitErrors:
	- Method must be created from class org.openrewrite.java.tree.J$MethodDeclaration but was class org.openrewrite.java.tree.J$Block
	- No parent Method found
	- Field must be declared in a class, interface, or anonymous class
	at org.openrewrite.analysis.trait.util.TraitErrors.doThrow(TraitErrors.java:43)
	at fj.data.Either$RightProjection.on(Either.java:531)
	at fj.data.Validation.on(Validation.java:146)
	at org.openrewrite.analysis.trait.expr.VarAccessBase$1.visitVariable(VarAccess.java:190)
	at org.openrewrite.analysis.trait.expr.VarAccessBase$1.visitVariable(VarAccess.java:178)
	at org.openrewrite.java.tree.J$VariableDeclarations$NamedVariable.acceptJava(J.java:5627)
	at org.openrewrite.java.tree.J.accept(J.java:59)
	at org.openrewrite.TreeVisitor.visit(TreeVisitor.java:278)
	...

In the future, this may involve adding a LambdaExpr trait to the trait API in rewrite-analysis to distinguish lambda expressions.

As noted in the linked PR the issue was mostly linked to the handling of anonymous subclasses.

authors: aaronist knutwannheden

repo: openrewrite/rewrite-analysis


text:
Full page refresh when move slide up or down

Is there any way of not having a full org refresh when a slide is moved up or down?
I think it could get quite slow to edit as is

This seems to be fixed now. You get this error if you move the last slide down or the first slide up but I think we can live with that.
Warning: Creating default object from empty value in /var/www/html/app/model/slidelist.model.php on line 108
Fatal
[ERROR CODE 666]
Invalid Update Parameter. (model.class.php, 130)

repo: openrightsgroup/alidade


text:
Move ReportControl element to another location in the data model

Allocating ReportControl element is handled differently by different tool. Some add it into the first logical device (LLN0). Other put it in the same location as the first data in the referenced DataSet. As it can happen that vendor tools sometimes expect specific allocation of the element it must be able with OpenSCD to re-allocate this element to any logical node.
Requirement

move both ReportControl and DataSet
do not move if any of the two conflict in name in the new parent
copy DataSet if it was used by more than one control block in the old parent
use complex action

Would this something we could do as a SCD export function?

I don't know 100% what you mean by that, but I would say no. There are potentially a lot ReportControl elements in a SCD file. Re-allocating them during export could be overwhelming.
Just for clarification the only thing we change about the ReportContol element is its parent. The rest stays the same.

repo: openscd/open-scd


text:
Create necessary dirs for CE-generated IDTOKENS (SOFTWARE-5556)

See comments here https://opensciencegrid.atlassian.net/browse/HTCONDOR-991?focusedCommentId=377590

Are the token dirs supposed to be world-readable? Might want to chmod 'em.

authors: brianhlin matyasselmeci


text:
An empirical study of just-in-time defect prediction using cross-project models

paper link:http://dl.acm.org/ft_gateway.cfm?id=2597075&ftid=1467103&dwn=1&CFID=626469285&CFTOKEN=55193119
dataset: please go to see this paper A large-scale empirical study of just-in-time quality assurance

Too big.
Mozilla and Bugzilla: http://msr.uwaterloo.ca/msr2007/challenge/index.html - see Data section.
Eclipse JDT and Eclipse Platform data: - http://msr.uwaterloo.ca/msr2008/challenge/index.html - see Data section.
Columba: https://hal.archives-ouvertes.fr/hal-00769121/file/cvs-vintage-light-v20120509.tar.bz2
PostgreSQL - not sure.

This data is important enough for us to collect.  So I'm culling the "too big" tag and going back to "collect"

As twinitialize said, Mozilla and Bugzilla can be obtained from 2007 MSR:
http://msr.uwaterloo.ca/msr2007/challenge/index.html
Eclipse JDT and Eclipse Platform data comes from 2008 MSR:
http://msr.uwaterloo.ca/msr2008/challenge/index.html
Columbia can be obtained at
https://hal.archives-ouvertes.fr/hal-00769121/file/cvs-vintage-light-v20120509.tar.bz2
or at
rsync://columba.cvs.sourceforge.net/cvsroot/columba/
PostgreSQL is supposedly available through rsync, though I couldn't get a response:
rsync://anoncvs.postgresql.org/cvsroot/pgsql/
The paper also says that the authors collected data from Gimp, Maven-2, Perl, Ruby on Rails, and Rhino. These are open-source projects, so data could be re-collected, but the authors did not provide datasets.

1. Data source
An Empirical Study of Just-in-Time Defect Prediction using Cross-Project Models
2. Link to the material associated with the dataset (if available)
Examples:
http://posl.ait.kyushu-u.ac.jp/~kamei/publications/Fukushima_MSR2014.pdf
3. Attribution list for the material
Takafumi Fukushima, Yasutaka Kamei, Shane McIntosh, Kazuhiro Yamashita, and Naoyasu Ubayashi
f.taka@posl.ait.kyushu-u.ac.jp,
yamashita@posl.ait.kyushu-u.ac.jp,
kamei@ait.kyushu-u.ac.jp,
ubayashi@ait.kyushu-u.ac.jp,
mcintosh@cs.queensu.ca
4. BibTeX reference
@inproceedings{fukushima2014empirical,
title={An empirical study of just-in-time defect prediction using cross-project models},
author={Fukushima, Takafumi and Kamei, Yasutaka and McIntosh, Shane and Yamashita, Kazuhiro and Ubayashi, Naoyasu},
booktitle={Proceedings of the 11th Working Conference on Mining Software Repositories},
pages={172--181},
year={2014},
organization={ACM}
}
5. Link to the datasets
Eclipse CVS repository:
JDT: eclipse-cvs-jdt.tgz (1.10G, retrieved on 2006-11-25)
SWT: eclipse-cvs-swt.tgz (488M, retrieved on 2006-11-25)
Rest: eclipse-cvs-rest.tgz (1.82G, retrieved on 2006-11-25)
Eclipse Bugzilla export (in XML):
Bugs: 1-162656: eclipse-bugs.zip (125M, retrieved on 2006-10-30)
Firefox/Mozilla CVS repository: mozilla-cvs.tgz (609M, retrieved on 2006-12-17)
Firefox/Mozilla Bugzilla export (in XML):
Bugs 35-100000: mozilla-bugs-000001-100000.zip (886M, retrieved on 2007-01-06)
Bugs 100001-200000: mozilla-bugs-100001-200000.zip (1.10G, retrieved on 2007-01-06)
Bugs 200001-300000: mozilla-bugs-200001-300000.zip (1.00G, retrieved on 2007-01-06)
Bugs 300001-366112: mozilla-bugs-300001-367500.zip (724M, retrieved on 2007-01-06)
Eclipse CVS repository in TARE format:
eclipse-tare.tgz (247M, retrieved by Tom Zimmermann on 2006-11-25)
Eclipse Bug Data (more details):
eclipse-bug-data-1.1a.zip (920K, retrieved by Adrian Schröter)
Eclipse CVS repository:
JDT: eclipse-cvs-jdt.tgz (1.1G, retrieved on 2007-12-19 by Thomas Zimmermann)
SWT: eclipse-cvs-swt.tgz (686M, retrieved on 2007-12-19 by Thomas Zimmermann)
Platform: eclipse-cvs-plarform.tgz (686M, retrieved on 2007-12-19 by Thomas Zimmermann)
Rest: eclipse-cvs-rest.tgz (1.7G, retrieved on 2007-12-19 by Thomas Zimmermann)
Eclipse Bugzilla export (in XML):
Bugs: 1-213000: eclipse-bugs--000001-213000.zip (3.2G, retrieved on 2007-12-19 by Thomas Zimmermann)
6. PROMISE repo category (effort, requirements, model, defect, etc.)
Others. It is a generic data set which can be categorized as bug analysis, change analysis, architecture and design, process analysis, team structure etc.
7. General overview of the data

8. Attribute info
Too big for me to check
9. Paper abstract (if appropriate)
Prior research suggests that predicting defect-inducing changes,
i.e., Just-In-Time (JIT) defect prediction is a more practical
alternative to traditional defect prediction techniques, providing
immediate feedback while design decisions are still
fresh in the minds of developers. Unfortunately, similar to
traditional defect prediction models, JIT models require a
large amount of training data, which is not available when
projects are in initial development phases. To address this
flaw in traditional defect prediction, prior work has proposed
cross-project models, i.e., models learned from older
projects with su!cient history. However, cross-project models
have not yet been explored in the context of JIT prediction.
Therefore, in this study, we empirically evaluate the
performance of JIT cross-project models. Through a case
study on 11 open source projects, we find that in a JIT
cross-project context: (1) high performance within-project
models rarely perform well; (2) models trained on projects
that have similar correlations between predictor and dependent
variables often perform well; and (3) ensemble learning
techniques that leverage historical data from several other
projects (e.g., voting experts) often perform well. Our findings
empirically confirm that JIT cross-project models learned
using other projects are a viable solution for projects with
little historical data. However, JIT cross-project models perform
best when the data used to learn them is carefully selected.
10. Is this dataset part of a larger series or collection?
No

https://www.dropbox.com/s/8npl5jlgfuwuryr/Screenshot 2015-04-03 15.48.11.png?dl=0

Added as jit. Data not uploaded.

Is this data the same as msr11? Most of the filenames are the same.

Added as jit.

authors: BenProvince WeiFoo reesjones timm twinitialize vivekaxl


text:
Image annotation and list of tools

Is it available to add image annotation? And is there any lists with all tools that is available in your project?

You can see all of the available plugins here: http://openseadragon.github.io/#plugins
There are several annotation plugins. I believe https://github.com/recogito/annotorious-openseadragon is the most advanced.
If you don't find what you want, there are also more general overlay plugins that you can build your annotations on top of.

repo: openseadragon/openseadragon


text:
Compare strings with equals() instead of ==

Compare strings with equals() instead of ==

@dk2k this will be mergeable after you respond to the suggested change.

I accepted the suggested change

I accepted the suggested change

Well, apparently I shouldn't have suggested that.  It's failing precommit and gradle check because of ForbiddenAPIs:
Forbidden method invocation: java.lang.Boolean#getBoolean(java.lang.String) [use org.opensearch.common.Booleans#parseBoolean(java.lang.String)]

Looks like we want to enforce either "true" or "false".
So can you please update to that method?  Sorry for the incorrect suggestion here.    (Note you can run ./gradlew precommit locally to catch these before pushing.)

Sorry, I spoiled the rebase

repo: opensearch-project/OpenSearch