API v2: Deleting an annotation doesn't remove it

Describe the bug
When viewing the obs detail page with API v2 turned on, clicking the x next to an annotation doesn't remove it from the page. It goes gray while the request is in flight and then re-appears. Clicking the x again removes it
To Reproduce
Steps to reproduce the behavior:

Go to an observation of a plant and append test=apiv2 to the URL
Add an annotation of "Plant Phenology," any value
Click the x button next to the annotation you just added. The button will get replaced with a loading spinner and the row will fade while the request is in flight, but then it re-appears when complete

Expected behavior
The annotation should be removed from the page after the first click of the removal button
Additional context
It seems that when you delete an annotation, the entire observation gets reloaded in the background, but when this happens with API v2, the annotation you just deleted gets included in the response. If you click the button again or reload the page, it isn't, which suggests there's a timing or caching issue going on. This does not happen when using API v1.
I suspect API v2 isn't respecting the ttl=-1 param we're sending, or maybe ttl is getting ignored for responses to POST requests, which make this more of an API issue, but I haven't been able to figure out if caching is really to blame, or if ttl is getting respected.

Tried looking at this again today I don't think the ttl param is really playing any role locally (no varnish, no CacheMan). Other hypotheses

Rails app isn't really waiting for the obs index to refresh: as far as I can tell it is
Client is not waiting for the annotation DELETE request to complete before fetching the obs: no, it really looks like it is
There's some layer of caching that I don't know about: calling Rumsfeld, what are my unknown unknowns.

So... no real progress.


Adds Java casting functionality and array utils to stdlib

Purpose

Adds the Java casting implementation and the array utils into the Ballerina standard library.

Fixes #https://github.com/ballerina-platform/ballerina-lang/issues/22718
Fixes #https://github.com/ballerina-platform/ballerina-lang/issues/22725
Approach

Describe how you are implementing the solutions along with the design details.

Samples

Provide high-level details about the samples related to this feature.

Remarks

List any other known issues, related PRs, TODO items, or any other notes related to the PR.

Check List

[X] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #22925 into ballerina-1.2.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.2.x   #22925   +/-   ##
================================================
  Coverage            14.59%   14.59%
================================================
  Files                   51       51
  Lines                 1411     1411
  Branches               219      219
================================================
  Hits                   206      206
  Misses                1189     1189
  Partials                16       16

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 3b3cc66...45bb526. Read the comment docs.

Codecov Report

Merging #22925 into ballerina-1.2.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.2.x   #22925   +/-   ##
================================================
  Coverage            14.59%   14.59%
================================================
  Files                   51       51
  Lines                 1411     1411
  Branches               219      219
================================================
  Hits                   206      206
  Misses                1189     1189
  Partials                16       16

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 83e8734...9bab3aa. Read the comment docs.


Fix needs review functionality for visual groups

You should now be able to see images that can be added to the include or exclude list for a visual group if you go to pages like:
http://localhost:3000/visual_groups/14/edit?status=needs_review

Looks good. For this visual group on my snapshot, there are "needs review" and "included" images, and no "excluded"... and when I click to "exclude" one, it does show up in "excluded".


PE-1247: Improve Rollbar API (Phase 1)

Jira: https://collegevine.atlassian.net/browse/PE-1247
Formatting changes: #2
Changes

[x] Add optional context field for tracking where an event occured, e.g. used in Rails à la controller#action.
[x] Log code_version if provided.
[x] Log server.host. We can use that to log the name of our services, e.g. apiary, gourd, etc.
[x] Make data fields strict. Improves performance and prevents late error detection due to laziness, e.g. we read an environment variable and only find it’s invalid when accessing it.
[x] Log notifier which is the library the event was generated from.
[x] Add ‘golden’ (snapshot) tests using tasty & tasty-golden.
[x] Document library using Haddock and store it on CircleCI: https://12-61141114-gh.circle-artifacts.com/0/tmp/circleci-artifacts/doc/rollbar-0.2.0/index.html
TODO: Request access to GitHub Pages for this repository and push docs via gh-pages branch.
[x] Use newtypes for Rollbar configuration to prevent type confusion, e.g. RollbarCfg <$> … <*> … <*> can unexpectedly fail if order of record fields is changed but adjacent fields have same types (since records are still based on positional fields in Haskell). NOTE: Is that a fair assumption or am I missing something? Example data Foo = Foo { baz :: Text, quux :: Text} is changed to Foo { quux :: Text, baz :: Text}, then the meaning of Foo <$> … <*> … written somewhere else changes, right?
This also allows us to create ToJSON instances which make serialization more explicit.
[x] Move encodeEvent into Internal module so it can be used for testing but it’s not first-level in the docs.

⚠ IMPORTANT: make format currently breaks Haddock comments due to https://github.com/commercialhaskell/hindent/issues/455.
✅ Workaround: Run make format and then conditionally remove broken changes using git checkout --patch.

@joshcough Thanks for the feedback. I added some documentation you can look at here: https://12-61141114-gh.circle-artifacts.com/0/tmp/circleci-artifacts/doc/rollbar-0.2.0/index.html
As for _eventContext. I will expand on that in Phase 2: https://collegevine.atlassian.net/browse/PE-1247


📄 Readme and example overhaul

Reorganised README.md for readability
Included examples for features previously missing in the docs
Included coffeehouse application example
Fixed minor bugs

Fixes #7, #8, #9, #10, #11 and #12

Closing in favour of #15


How to use your class

I am not a newbie, but i have no idea which function of you class should i call.
I salute your classes but with no example page is a nightmare... Please upload an example.php

Hello,
Are we supposed to hard code the printer name on this line?
Is there a way of auto picking the set default printer or using a network IP?
$Output->screen('Select Printer. It is: '.$printer->select('PRINTER NAME'));

It maybe possible to find the default printer using $printer->enumerate()
But the idea is that you specify the printer you wish to direct your print to.
The Printer will need to be available on the machine as if it was setup for a user. I believe if the printer is networked across to the machine you are running the script on, it will be available for you to use.
The idea behind it when I initially developed it, the user set their printer preferences on their profile and I passed that in when it came to printing.

Great!
Two examples below: One for not networked and the other for networked.

$Output->screen('Select Printer. It is: '.$printer->select('HP LaserJet 600 M601 M602 M603'));
$Output->screen('Select Printer. It is: '.$printer->select('<IP_ADDRESS>/HP LaserJet 600 M601 M602 M603'));

Which one is the best approach. Pardon me, am only testing this after a week when I get to a place where there is a printer.


Update ForegroundService.java

Added FLAG_IMMUTABLE to PendingIntent var for Android 13+ compatibility.

@katzer Please review and merge this. The plugin is broken with Android SDK >= 31

thanks :)


Add missing network types to browser exports

Coverage increased (+3.4%) to 86.061% when pulling 46d7dd34752dbcad595eef1298b8c277106ef57b on add-missing-network-types into e9f90740bf56609466d534e87c45b7af1d8b28b4 on dev.


Dear ImGui: Releases v1.84.1 (Latest 2 days ago)

done: https://github.com/adxeproject/adxe/commit/d0d77730a946dbfbda8851230a0237f8313230a3

Weshould an an informationen about this Patch in the third party version upload page tooAm 23.08.2021 11:51 schrieb halx99 @.***>:
Closed #472.
—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.


Make VERBS layer work on non-Mellanox hardware

Original issue: https://charm.cs.illinois.edu/redmine/issues/199

We want to be able to run the ibverbs machine layer on non-Mellanox interfaces. Most notably, Qlogic hardware.

Original date: 2013-06-06 20:39:27

The main issue with our implementation is that we use the Shared Receive Queue (SRQ) semantic to manage all Work Requests (WR)  on our Queue Pairs (QP).  The Spec does not require SRQs to support all types, notably only Mellanox supports RDMA Read WRs on QPs in SRQs.  Just that they return an error when they cannot support a type listed in the initial list during SRQ creation.  This subtlety was lost on us during the implementation phase due to our only having access to Mellanox implementations at that time.  The aggressive use of SRQs allows us to just test the SRQ for all WR activity on all QPs and handle transactions as they appear.  It gives a fairly uniform low overhead code path for all QPs and WR packets.
The problem with this is that we support RDMA Read on all QPs.  Which means we can't use SRQs to manage them on platforms which do not support RDMA QPs in SRQs.  This necessitates the creation of an alternate code path which manages QP receiveQs manually without SRQs.  Such a code path would need to issue distinct ibv_post_recv calls with appropriate WRs for each QP's receiveQ, to replace the existing scheme of posting a shared set of WRs to one SRQ via ibv_post_srq_recv.
The main site for things like OFED libibverbs API downloads is:
http://www.openfabrics.org/
A good online source for the VERBS Protocol specification is:
http://www.afs.enea.it/asantoro/V1r1_2_1.Release_12062007.pdf
Chapters 10 and 11 are most pertinent to our implementation.

Original date: 2013-06-06 20:44:11

If my understanding when I entered this is correct, that our primary target is Qlogic hardware, then we should also look at Qlogic's PSM API as well. From what I've heard, it's much nicer to work with than ibverbs. Sadly, it would be another vendor-specific port, but that may actually be less effort than hacking up the verbs port we have.

Original date: 2013-06-07 17:00:06

I think moving to PSM may be more work than changing existing verbs. Also, it is guaranteed to make verbs running on any general platform. If needed, we can do a PSM specific port in addition later.

Original author: Abhishek Gupta
Original date: 2013-06-17 19:48:53

Discussed the problem with Eric.
Wrote an alternate code path which does not use SRQ. Need to test. Waiting to get Qlogic machine account from Xiang/Disney

Original date: 2013-06-17 19:51:52

It might be a good idea to also ask some of the LLNL interns to test this on the clusters there.

Original date: 2013-10-01 21:37:51

The code for this got merged back in June. Some unrelated issues with ibverbs support impeded testing, but those seem to have been resolved. If this code works, this issue should be marked 'Resolved'

Original date: 2013-10-01 21:40:58

Second Phil's comment, but it will be good to make the selection either configure driven or make sure that it can be done by passing some -D flags to charm build (and state them somewhere visible).

Original author: Abhishek Gupta
Original date: 2013-10-03 18:25:33

I added a runtime check in the code so that if the default parameters fail, it tries the same failed call with qlogic-specific parameters. If even those fails, it will report an error.
Also, there is a define directive QLOGIC which can be used to enable qlogic code. Determining it on configure time might be somewhat difficult so I am avoiding that. Further, I do not have access to a non-mellanox machine to try out these configuration tests.

Original date: 2013-10-04 16:33:49

Could someone with access to non-SRQ hardware (Xiang, looking at you, hopefully), test this and report whether it works or not.
Please also make suggestions for how switching this on/off could be made easier, if possible. If it's fine as is, then we should close the issue and move on.

Original author: Abhishek Gupta
Original date: 2013-10-17 19:26:07

Xiang checked it on the Disney cluster. I am marking it resolved.


chore(groupchat): topbar groupchat stuff

What this PR does 📖
Changes around the top bar and the group edit controls to condense things a little bit. Made button to show group list instead of clickable area. Moved some functionality from edit_group to compose where the topbar of the chat lives.
not owner of group

owner of group

Which issue(s) this PR fixes 🔨

Resolve PART OF #851 - need to add a profile page still

Special notes for reviewers 🗒
Additional comments 🎤

@stu  I split friend-list vertically-scrollable back into it's own function per your request


[Enhancement] optimize _get_segment_iterator_num in compaction

Compaction needs to choose the compaction algorithm(vertical of horizontal)
based on the segment_iterator_num.
In previous implementation, we need to first
construct a tablet reader, then construct all segment iterators,
the segment_iterator_num equals to the number of segment iterators.
The cost of computing segment_iterator_num is very high.
In fact, we can directly get the segment_iterator_num from the meta of rowsets.
This method will be much more efficient than the original one.
Signed-off-by: xyz<EMAIL_ADDRESS>What type of PR is this：

[ ] bug
[ ] feature
[x] enhancement
[ ] others

Which issues of this PR fixes ：

Problem Summary(Required) ：

Compaction needs to choose the compaction algorithm(vertical of horizontal)
based on the segment_iterator_num.
In previous implementation, we need to first
construct a tablet reader, then construct all segment iterators,
the segment_iterator_num equals to the number of segment iterators.
The cost of computing segment_iterator_num is very high.
In fact, we can directly get the segment_iterator_num from the meta of rowsets.
This method will be much more efficient than the original one.

LGTM!


Version 0.2.0 says its 0.1.3

I had version 0.1.3 installed and I've just downloaded latest version, 0.2.0. But when I run lcg --version it says it's version 0.1.3

Yes, I am aware of it, you are using the latest version 0.2.0.
The only issue is the command --version will fix it soon


Prime Factorisation of a positive number

Description
Every natural number can be represented as a product of its prime factors and this form of representation is called prime factorisation form. So the problem is to prime factorise a natural number into its prime factors.
Deliverables

Code
Comments for better understanding and explanation

Language
C++
@amritansh22 Can you please assign this to me?

@yash30201 Done

Hi @amritansh22 can I be assigned this issue as part of hacktoberfest?

@yash30201 I have assigned you already


introduce new --skip-initial-tidy flag

This flag would be useful for the cases where old packages contains old dependencies that would require to do replace or update before running go mod tidy.
For example, for the following case:
https://github.com/iwilltry42/confd
It's impossible to use gobump since one of dependencies got renamed, that required replace first:
gobump --packages<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>golang.org/x/tex
<EMAIL_ADDRESS><EMAIL_ADDRESS>--tidy=true<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
go: github.com/iwilltry42/confd/backends/consul imports
	github.com/hashicorp/consul/api tested by
	github.com/hashicorp/consul/api.test imports
	github.com/hashicorp/serf/serf imports
	github.com/armon/go-metrics<EMAIL_ADDRESS>parsing go.mod:
	module declares its path as: github.com/hashicorp/go-metrics
	        but was required as: github.com/armon/go-metrics

The new --skip-initial-tidy flag solves that by skipping the first go mod tidy run. So that we able to do required updates and replaces before run go mod tidy.

Once we ship it, we should add a flag to the gobump pipeline.

Looks good to me overall. @Dentrax Could you a test to test this new functionality ?

Thank you @hectorj2f, I have tried to add a unit test but I'm not sure if I did handle the case correctly. Please take a look when possible.

CI is failing because of: 'go mod tidy': exit status 2 with output: invalid value "1.20.14" for flag -go: expecting a Go version like "1.20"

Thanks for the fixing the CI issue!


Inference on M1 processor with device = MPS : RuntimeError: Placeholder storage has not been allocated on MPS device

Prerequisite

[X] I have searched the existing and past issues but cannot get the expected help.
[X] I have read the FAQ documentation but cannot get the expected help.
[X] The bug has not been fixed in the latest version.

🐞 Describe the bug
Hi, I am trying to run mmdetection inference with MPS acceleration on my macbook m1. It fail with this error :
    this_res = inference_detector(model, img)
  File "/Users/aya/miniforge3/envs/torch-gpu/lib/python3.8/site-packages/mmdet/apis/inference.py", line 151, in inference_detector
    results = model(return_loss=False, rescale=True, **data)
  File "/Users/aya/miniforge3/envs/torch-gpu/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
    return forward_call(*input, **kwargs)
  File "/Users/aya/git/mmcv/mmcv/runner/fp16_utils.py", line 116, in new_func
    return old_func(*args, **kwargs)
  File "/Users/aya/miniforge3/envs/torch-gpu/lib/python3.8/site-packages/mmdet/models/detectors/base.py", line 174, in forward
    return self.forward_test(img, img_metas, **kwargs)
  File "/Users/aya/miniforge3/envs/torch-gpu/lib/python3.8/site-packages/mmdet/models/detectors/base.py", line 147, in forward_test
    return self.simple_test(imgs[0], img_metas[0], **kwargs)
  File "/Users/aya/miniforge3/envs/torch-gpu/lib/python3.8/site-packages/mmdet/models/detectors/two_stage.py", line 177, in simple_test
    x = self.extract_feat(img)
  File "/Users/aya/miniforge3/envs/torch-gpu/lib/python3.8/site-packages/mmdet/models/detectors/two_stage.py", line 67, in extract_feat
    x = self.backbone(img)
  File "/Users/aya/miniforge3/envs/torch-gpu/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
    return forward_call(*input, **kwargs)
  File "/Users/aya/miniforge3/envs/torch-gpu/lib/python3.8/site-packages/mmdet/models/backbones/detectors_resnet.py", line 331, in forward
    outs = list(super(DetectoRS_ResNet, self).forward(x))
  File "/Users/aya/miniforge3/envs/torch-gpu/lib/python3.8/site-packages/mmdet/models/backbones/resnet.py", line 637, in forward
    x = self.norm1(x)
  File "/Users/aya/miniforge3/envs/torch-gpu/lib/python3.8/site-packages/torch/nn/modules/module.py", line 1190, in _call_impl
    return forward_call(*input, **kwargs)
  File "/Users/aya/miniforge3/envs/torch-gpu/lib/python3.8/site-packages/torch/nn/modules/batchnorm.py", line 171, in forward
    return F.batch_norm(
  File "/Users/aya/miniforge3/envs/torch-gpu/lib/python3.8/site-packages/torch/nn/functional.py", line 2446, in batch_norm
    return torch.batch_norm(
RuntimeError: Placeholder storage has not been allocated on MPS device!

The same code with device='CPU' work fine , but is very slow (7 sec / image) and on another computer with an nvidia gpu and device='cuda:0' also works fine (0.5 sec / image).
device = 'mps'
config = mmcv.Config.fromfile(configPath)
config.model.pretrained = None
model = build_detector(config.model)
checkpoint = load_checkpoint(model, checkpointPath, map_location=device)
model.CLASSES = checkpoint['meta']['CLASSES']
model.cfg = config
model.to(device)
model.eval()
...
        for img in dataset:
            this_res = inference_detector(model, img)

Any idea ?
thanks
Environment
Macbook Pro with M1 processor
pytorch-nightly = pytorch-1.13.0.dev20
MMCV = V1.6.1
MMDetection = V2.25.2
Additional information
No response

I am trying to install the MMDetection on MBP M1 Pro chip but not success.
The main error message is:
  1 error generated.
  error: command '/usr/bin/clang' failed with exit code 1
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: legacy-install-failure
× Encountered error while trying to install package.
╰─> mmcv-full
note: This is an issue with the package mentioned above, not pip.
hint: See above for output from the failure.

Does anyone have the same problem? And how to solve it?

Maybe you can raise an issue in MMDeploy, they have more experience in deployment
https://github.com/open-mmlab/mmdeploy

@iliesaya did you move the img to mps? I faced the same issue when I didn't move my input to the GPU.

@iliesaya did you move the img to mps? I faced the same issue when I didn't move my input to the GPU.

I don't think so, could you show me how ?

for img in dataset:
    img = img.to('mps') ## or img.to(device) since you have already set device to mps in the previous line
    this_res = inference_detector(model, img)

If you come across an error stating that operation like atten::cumsum.out is not implemented for mps backend then it's not possible to run the model with M1 without adding the functionality yourself.  The issue for this is tracked at https://github.com/pytorch/pytorch/issues/77764.
Hope this helps.

for img in dataset:
    img = img.to('mps') ## or img.to(device) since you have already set device to mps in the previous line
    this_res = inference_detector(model, img)

If you come across an error stating that operation like atten::cumsum.out is not implemented for mps backend then it's not possible to run the model with M1 without adding the functionality yourself. The issue for this is tracked at pytorch/pytorch#77764.
Hope this helps. @iliesaya

img is a numpy array :
 img = img.to(device)

AttributeError: 'numpy.ndarray' object has no attribute 'to'

if I convert it to a tensor i have this error:
            t = torch.from_numpy(img)
            t = t.to(device)
            this_res = inference_detector(model, t)

TypeError: expected str, bytes or os.PathLike object, not Tensor

I don't know what you're doing inside inference_detector() but if it's like
    if next(model.parameters()).is_cuda:
        # scatter to specified GPU
        data = scatter(data, [device])[0]
    else:
        for m in model.modules():
            assert not isinstance(
                m, RoIPool
            ), 'CPU inference with RoIPool is not supported currently.'

from https://github.com/open-mmlab/mmdetection/blob/master/mmdet/apis/inference.py then you would have to check if the device is mps and if it is then relocate the data into the device.
data = scatter(data, [device])[0] -> data = scatter(data, ['mps'])[0] should work but be sure include a block to check if the model and data are both in mps.
Goodluck.

data = scatter(data, [device])[0] -> data = scatter(data, ['mps'])[0] should work but be sure include a block to check if the model and data are both in mps.
Goodluck.

it throws:
AttributeError: module 'torch._C' has no attribute '_scatter'


[BUG] Full Profile not shown

Description
I noticed that whenever I preview a change that I want to make on my Linkfree profile, it only shows half of it. This can make users hesitant on making a PR for it.
Screenshots

In the screenshot above, I wanted to add another link to my links section(see PR #7636 for more context), but it only shows half of my profile.
Additional information
No response

Can I work on it? As the previously assigned issue is already done by that other guy

I'd love to work with you @Vishrut19! :)

I'd love to work with you @Vishrut19! :)

Sure let's work on it together then

I'd love to work with you @Vishrut19! :)

Sure let's work on it together then

Great! I’m going to setup a live share soon via Gitpod, so keep an eye out for that :)

I'd love to work with you @Vishrut19! :)

Sure let's work on it together then

Great! I’m going to setup a live share soon via Gitpod, so keep an eye out for that :)

Please let me know when you are done

I'd love to work with you @Vishrut19! :)

Sure let's work on it together then

Great! I’m going to setup a live share soon via Gitpod, so keep an eye out for that :)

Please let me know when you are done

Here it is @Vishrut19: https://cbid2-linkfreechristin-zl9vl7o2ir7.ws-us100.gitpod.io

I'd love to work with you @Vishrut19! :)

Sure let's work on it together then

Great! I’m going to setup a live share soon via Gitpod, so keep an eye out for that :)

Please let me know when you are done

Here it is @Vishrut19: https://cbid2-linkfreechristin-zl9vl7o2ir7.ws-us100.gitpod.io

Did you try this issue on Github? Are you facing the same problem?

I'd love to work with you @Vishrut19! :)

Sure let's work on it together then

Great! I’m going to setup a live share soon via Gitpod, so keep an eye out for that :)

Please let me know when you are done

Here it is @Vishrut19: https://cbid2-linkfreechristin-zl9vl7o2ir7.ws-us100.gitpod.io

Did you try this issue on Github? Are you facing the same problem?

No this issue refers to the Linkfree website.

I'd love to work with you @Vishrut19! :)

Sure let's work on it together then

Great! I’m going to setup a live share soon via Gitpod, so keep an eye out for that :)

Please let me know when you are done

Here it is @Vishrut19: https://cbid2-linkfreechristin-zl9vl7o2ir7.ws-us100.gitpod.io

Did you try this issue on Github? Are you facing the same problem?

This issue refers to the Playground feature on the Linkfree website.

Okay let me try to reproduce it and check it first

I'd love to work with you @Vishrut19! :)

Sure let's work on it together then

Great! I’m going to setup a live share soon via Gitpod, so keep an eye out for that :)

Please let me know when you are done

Here it is @Vishrut19: https://cbid2-linkfreechristin-zl9vl7o2ir7.ws-us100.gitpod.io

Did you try this issue on Github? Are you facing the same problem?

This issue refers to the Playground feature on the Linkfree website.

Okay let me try to reproduce it and check it first

Okay

I'd love to work with you @Vishrut19! :)

Sure let's work on it together then

Great! I’m going to setup a live share soon via Gitpod, so keep an eye out for that :)

Please let me know when you are done

Here it is @Vishrut19: https://cbid2-linkfreechristin-zl9vl7o2ir7.ws-us100.gitpod.io

Did you try this issue on Github? Are you facing the same problem?

This issue refers to the Playground feature on the Linkfree website.

Okay let me try to reproduce it and check it first

Make sure you use my profile.

I'd love to work with you @Vishrut19! :)

Sure let's work on it together then

Great! I’m going to setup a live share soon via Gitpod, so keep an eye out for that :)

Please let me know when you are done

Here it is @Vishrut19: https://cbid2-linkfreechristin-zl9vl7o2ir7.ws-us100.gitpod.io

Did you try this issue on Github? Are you facing the same problem?

This issue refers to the Playground feature on the Linkfree website.

Okay let me try to reproduce it and check it first

Make sure you use my profile.

Yes I saw it and tried to reproduce this issue. Let's work on it together from tomorrow as in India it is night time to sleep. If that's okay with you?

I'd love to work with you @Vishrut19! :)

Sure let's work on it together then

Great! I’m going to setup a live share soon via Gitpod, so keep an eye out for that :)

Please let me know when you are done

Here it is @Vishrut19: https://cbid2-linkfreechristin-zl9vl7o2ir7.ws-us100.gitpod.io

Did you try this issue on Github? Are you facing the same problem?

This issue refers to the Playground feature on the Linkfree website.

Okay let me try to reproduce it and check it first

Make sure you use my profile.

Yes I saw it and tried to reproduce this issue. Let's work on it together from tomorrow as in India it is night time to sleep. If that's okay with you?

Sure no problem @Vishrut19! Have a good night! :)

Hey i happy to go with it...
Thankyou...

@rajpatelbot as you were the first to request, I have assigned this to you.  If there is too much noise on this issue please let me know and we can close this issue, you can raise another and keep it more focused.

Can I work on it? As the previously assigned issue is already done by that other guy

@Vishrut19

The previously assigned issue that you mention: https://github.com/EddieHubCommunity/LinkFree/issues/7575
You clearly stated there that you were happy for this to be a collaboration - it was not done by anyone else.  You chose not to collaborate here as there has been no engagement from you.
As with any communications on EddieHub please use gender neutral language and do not assume other contributors identify as "guy"
You have been given multiple warnings not to request issues to be assigned to you when you have been assigned another issue or spamming issues, as this gives more work for maintainers and causes confusion to everyone. This is your second official warning that you have disregarded this project's Contributing Guide - if you do so again this will result in you being banned from this GitHub Org.

I'd love to work with you @Vishrut19! :)

Sure let's work on it together then

Great! I’m going to setup a live share soon via Gitpod, so keep an eye out for that :)

@CBID2 it is good to see collaboration but please remember the requirements in the Contributing Guide and not start work on an issue if this has not been assigned to you.
It would also be helpful in future when you create an issue, that you mention in the Additional Information of the template that you would either like this to be assigned to you individually or in collaboration with someone else.

Noted

Can I work on it? As the previously assigned issue is already done by that other guy

@Vishrut19

The previously assigned issue that you mention: https://github.com/EddieHubCommunity/LinkFree/issues/7575

You clearly stated there that you were happy for this to be a collaboration - it was not done by anyone else.  You chose not to collaborate here as there has been no engagement from you.

As with any communications on EddieHub please use gender neutral language and do not assume other contributors identify as "guy"

You have been given multiple warnings not to request issues to be assigned to you when you have been assigned another issue or spamming issues, as this gives more work for maintainers and causes confusion to everyone. This is your second official warning that you have disregarded this project's Contributing Guide - if you do so again this will result in you being banned from this GitHub Org.

Noted. But now you unassigned me from that issue and also this issue is assigned to someone else and now I have to go and look for another one?

Noted. But now you unassigned me from that issue and also this issue is assigned to someone else and now I have to go and look for another one? If I want to work on some issue then

Yes - please make sure when asking for an issue to be assigned to you that the Contributing Guide is followed and that this is an issue that you feel confident you can work on as previously discussed with you.

Okay I will go and look for some unassigned issue


roll function rewrite

suports full expressions for dice rolling. still lacking in documetation. my also need spell schecking

Adding to the second issue, it shouldnt be "As Terra for output help". It should be something a lil more helpful.


Feature tgrade

Adds a "tgrade" feature to MockInstance, so that integration tests of tgrade contracts can be written.
Related to https://github.com/confio/poe-contracts/pull/6.
Not sure this is entirely the right approach. Sending this for discussion, in any case.

This is a nice fix.
But I think the "proper" solution would to allow people to set the enabled features directly when creating the MockInstance. And if not present, just use those defaults there.

I had a quick look at linked ticket but I'm not familiar with the problem this is trying to solve. Also the diff of the linked PR is very big. So let me know if I miss something.
The only purpose of the function you changed is implementing MockInstanceOptions::default() a few lines below. It could actually be inlined there to make that clear. MockInstanceOptions::default() is not something that should be used for the most advanced use cases out there, but serve as a default for the simple ones.
Can't you just override this field in your caller code like this?
pub fn mock_instance_on_tgrade(
    wasm: &[u8],
) -> Instance<MockApi, MockStorage, MockQuerier> {
    mock_instance_with_options(
        wasm,
        MockInstanceOptions {
            supported_features: tgrade_features(),
            ..Default::default()
        },
    )
}

Right, the currently available mock_instance_* functions are very limited and only work for a few different simple use cases. The whole power comes with MockInstanceOptions. I'm sure there are better ways to construct this than what we have right now.

Are you okay closing this? I think CosmWasm really should not have any knowledge of the chains using it. If it does this is a clear sign of broken architecture and missing extensibility. I think the extensibility exists even it it can be made easier to use.

Wasn't aware of the mock_instance_with_options() helper, thanks. I think that solves this for the better.


auxnetdevice: Don't skip PCI network devices with default route

It is legal to use auxiliary devices of system default interface.

/cc @adrianchiris

offline discussion with @DmytroLinkin , this change is related to enable this use-case: https://github.com/ovn-org/ovn-kubernetes/pull/3480

@SchSeba PTAL

@Eoghan1232 @SchSeba  can we merge this one ?


[FLINK-28433][connector/jdbc]Add mariadb jdbc connection validation

Flink Connector support the jdbc connection with Mysql series DB, such as MySQL, MariaDB,
Percona and etc. But we see the doc reference[1] shows the Mariadb Connector/J 3.0 will
accepts jdbc:mariadb: as the protocal in connection strings by default. So we need to apply
this change in our mysql jdbc connection vailidation. Mariadb Connector/J 2.X still support
both "jdbc:mysql:" and "jdbc:mariadb:".
[1] https://mariadb.com/kb/en/about-mariadb-connector-j/#jdbcmysql-scheme-compatibility

+1， After the change. We can use mariadb driver to connect the mysql through by setting the jdbcOptions of driver parameter without change the url prefix.

@bzhaoopenstack Thanks for the PR, but in order to add support for MariaDB I would also like to see a test and documentation in place.

Thanks very much for reply and suggest. I will add the test and documentation. Once I'm finish, I think I need your kind review and advice. Thank you. ;-)

@bzhaoopenstack Thanks for the PR, but in order to add support for MariaDB I would also like to see a test and documentation in place.

Hi @MartijnVisser, I have a question here, you said you want a test for this PR, does it mean we should add a specific UT which only verify the jdbc conncetion strings?  Because I didn't find any existing UT in Flink.
And notes: We only use Mysql connector to connect MariaDB, as it is a Mysql-series database.

I would expect that we add MariaDB to the JdbcExactlyOnceSinkE2eTest with the correct test container and have a MariaDB dialect implemented (even if that would be just a copy of MySQL)

I would expect that we add MariaDB to the JdbcExactlyOnceSinkE2eTest with the correct test container and have a MariaDB dialect implemented (even if that would be just a copy of MySQL)

Thanks for explain more, this is a good direction/suggestion for me.

Hi @MartijnVisser , sorry for late.
And this is my first PR in flink, so I wish you could leave some kind directions and suggestions. Thank you very much. ;-). And hope this doesn't disturb you so much.
Now, I will request an new review from your side, once we both think this PR is ready, I will remove the title [WIP]. ;-)

@afedulov Do you want to have a look at this one?

Hi all. @MartijnVisser @hadronzoo any updates on this one? Thanks

@bzhaoopenstack Are you ready？If yes, please change the title without "WIP".

@bzhaoopenstack Are you ready？If yes, please change the title without "WIP".

Yeah, I'm ready for the kind suggest from @MartijnVisser and @hadronzoo . ;-)

@bzhaoopenstack I won't be able to review this at the moment, but keep in mind that the CI is still failing for this PR. It makes sense to make sure that the CI works before the review actually starts.

@bzhaoopenstack I won't be able to review this at the moment, but keep in mind that the CI is still failing for this PR. It makes sense to make sure that the CI works before the review actually starts.

OK, thank you Martijn. I will resolve it and make it ready for review

Sorry for late update. ;-) . Let's wait the azure test result. I got pass on my local env.

@flinkbot run azure

We've now moved the code from the JDBC connector to its own dedicated repository; please re-route this PR to https://github.com/apache/flink-connector-jdbc


Report from SBOMs attached to OCI images

Following up on the discussion in:

https://github.com/aquasecurity/trivy-operator/issues/143#issuecomment-1652387802

What would be needed to support reporting from SBOMs attached to OCI images?
Thinking of for example this kind of attached SBOMs:

https://hackmd.io/@Feynman/BkY78jiDi
https://learn.microsoft.com/en-us/azure/container-registry/container-registry-oras-artifacts#attach-a-sample-sbom-to-the-image-in-the-registry
https://github.com/sigstore/cosign/blob/main/specs/SBOM_SPEC.md
https://github.com/opencontainers/image-spec/issues/827

A benefit to this could be that an SBOM created from an earlier (build) step could be fetched and used (as it might contain more data with better accuracy).

...or is this already supported now, as per below?

https://github.com/aquasecurity/trivy/issues/3735

@MPV is it supported with trivy cli ?

@MPV is it supported with trivy cli ?

Yes, though it seems it's an opt-in for some reason, using: trivy image --sbom-sources oci

@MPV is it supported with trivy cli ?

Yes, though it seems it's an opt-in for some reason, using: trivy image --sbom-sources oci
@MPV how would you suggest for trivy-operator to detect the oci-referrers

@MPV how would you suggest for trivy-operator to detect the oci-referrers ?

I'm not sure how you mean (excuse my missing knowledge of internals in trivy-operator).
I assume you don't mean something as simple as:
"just deciding when to run trivy with the --sbom-sources oci flag" (if not always)?

I'll explain how the operator reconciles workload events (such as Deployment, Pod, ReplicaSet, etc.). When you deploy, update, or delete a workload, the operator receives an event with the resource manifest.
Subsequently, the trivy-operator retrieves the image reference (registry/repository:tag) from the reconciled resource and initiates a scan using Trivy (a scan job operates behind the scenes):
trivy image registry/repository:tag

To scan the oci-referrers, the operator needs to obtain the sbom-ref from a specific source.

Oh, I thought that was already supported as per my previous comment above (but I may be misreading the implementation)?

...or is this already supported now, as per below?

https://github.com/aquasecurity/trivy/issues/3735

https://github.com/aquasecurity/trivy/pull/3768

Oh, I thought that was already supported as per my previous comment above (but I may be misreading the implementation)?

...or is this already supported now, as per below?

discover sbom in OCI registry trivy#3735
feat(image): discover SBOM in OCI referrers trivy#3768

trivy-operator is cluster scope only and k8s native meaning it automatically should detect resources (images) for scanning , you suggest it for sbom-referrers scanning which is I think more sutibale for cli (trivy) , I'm open for ideas if one can be archived

Some containers (ex: chainguard) are providing sboms along with the container images and can be pulled from the same container registry. Scanning the sbom rather then the full container can speed up the processing quite a bit.

Some containers (ex: chainguard) are providing sboms along with the container images and can be pulled from the same container registry. Scanning the sbom rather then the full container can speed up the processing quite a bit.

@kfox1111 make sense there for I have added sbom caching (https://github.com/aquasecurity/trivy-operator/pull/1606) however trivy-operator need to know if image on registry has sbom in addition to image (otherwise can result will fail) , maybe add a label or else to workload , wdyt ?

Some containers (ex: chainguard) are providing sboms along with the container images and can be pulled from the same container registry.

Thanks for clarifying, this was my thought also.

Scanning the sbom rather then the full container can speed up the processing quite a bit.

And it also allows one to use different tools for building the SBOM (i.e. not requiring Trivy), as it's still a standard in motion and some SBOM creators may still lack some data.
For example Syft is currently better at detecting licensing than Trivy, i.e:

https://github.com/aquasecurity/trivy/issues/4734
(and other open issues for NPM and Python)


Descriptions for ADMX template

Have configured the Application List policy to include only apps we want to update. I have also configured the Use White List instead of Black List policy to enabled and applications not in the list are being updated. Is something backwards here? Can't find an explanation.

Hello!
I've implemented the list in a GPO function now in the original WAU  after @Weatherlights tipped me in https://github.com/Romanitho/Winget-AutoUpdate/discussions/256#discussioncomment-4710599
But to make it work I had to convert the list from registry to an array of strings (from an array of properties from registry) to make it work with the comparison -contains , maybe that's the case here?
I don't know how the list from GPO is pulled in Winget-AutoUpdate-Intune, but it feels like maybe that's the problem...
function Get-ExcludedApps {

    if ($GPOList) {

        $Key = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Romanitho\Winget-AutoUpdate\BlackList\'
        $ValueNames = (Get-Item -Path "HKLM:\SOFTWARE\Policies\Romanitho\Winget-AutoUpdate\BlackList").Property

        foreach ($ValueName in $ValueNames) {
            $AppIDs = [Microsoft.Win32.Registry]::GetValue($Key, $ValueName, $false)
            [PSCustomObject]@{
                Value = $ValueName
                Data = $AppIDs
            }
        }

        return $AppIDs

    }
    elseif (Test-Path "$WorkingDir\excluded_apps.txt") {

        return (Get-Content -Path "$WorkingDir\excluded_apps.txt").Trim() | Where-Object { $_.length -gt 0 }

    }

}

function Get-IncludedApps {

    if ($GPOList) {

        $Key = 'HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Romanitho\Winget-AutoUpdate\WhiteList\'
        $ValueNames = (Get-Item -Path "HKLM:\SOFTWARE\Policies\Romanitho\Winget-AutoUpdate\WhiteList").Property

        foreach ($ValueName in $ValueNames) {
            $AppIDs = [Microsoft.Win32.Registry]::GetValue($Key, $ValueName, $false)
            [PSCustomObject]@{
                Value = $ValueName
                Data = $AppIDs
            }
        }

        return $AppIDs

    }
    elseif (Test-Path "$WorkingDir\included_apps.txt") {

        return (Get-Content -Path "$WorkingDir\included_apps.txt").Trim() | Where-Object { $_.length -gt 0 }

    }

}

In Winget-Upgrade.ps1 before the comparision:
        #Fix the array if GPO List!
        if ($GPOList) {
            $toUpdate = $toUpdate.Data
            $toSkip = $toSkip.Data
        }

Hey @thomas-ingle
I would need a little more input from you. Can you check wether the registry key HKEY_LOCAL_MACHINE\SOFTWARE\Policies\weatherlights.com\Winget-AutoUpdate\UseWhiteList is set to 1 or 0 (or does not exist at all) and the existence of the file
%PROGRAMDATA%\Winget-AutoUpdate-Configurator\included_apps.txt
and check if the LastCommand.txt includes the -UseWhiteList parameter
If the key exist and is set to 1 please also check the key
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Winget-AutoUpdate\WAU_UseWhiteList
I also fixed a behaviour where it was possible that the app was installed without having a policy in place... this had the effect that everything is updated (running WAU simply 'as is'). With the newest version this is fixed. So an explaination could be that the policy from intune was just not there yet before the tool has run.

Hey @KnifMelti
thanks for the input :). My mechanism is very simply: Before I configure WAU I convert the registry content in a corresponding txt file which is referenced upon the configuration of WAU. So I generate a list and then reference it.
I try to build around WAU rather not within WAU to keep the level complexity low on my end :).

Nice! Mind if I reuse the ForEach ( $item in $list.PSObject.Properties | where { $_.Name -match "[0-9]+" } ) { $parsedList += $item.Value + "``n" } in WAU?

...changed my mind, but thanks (I have a stable Function now - have just begun coding in PS)!

I would not have guessed that :D. But yea in the no need to screw something up just for the looks :).


fix: add chiragjh7

resolve #1725

Oh Thanks, I fixed the image. Let me know if there is any error. +1

All Good 👍


Create a virtual background for our team

Create virtual background for our team. This will help with our internal branding!
Definition of done

[ ]  Complete designs
[ ]  Have team vote for designs!

Moved to the Platform Experience board


Add possibility to specify topic's configuration in admin client

This PR adds possibility to specify topic's additional config during its creation in admin-client.
It adds two new options:
--topic-config - accepts configuration as comma-separated list
--topic-config-file - file path to configuration file, from which is the config Map<String, String> created and passed to the NewTopic during creation
Fixes #73

From my testing
> admin-client topic create --bootstrap-server localhost:9092 -t my-topic2 -tp 1 -trf 1 --topic-config cleanup.policy=delete,min.insync.replicas=1

Topic(s) with name(prefix): [(name=my-topic2, numPartitions=1, replicationFactor=1, replicasAssignments=null, configs={cleanup.policy=delete, min.insync.replicas=1})] and count 1 successfully created

Describe:
min.insync.replicas = 1
....
cleanup.policy = delete

And for config file
> cat topic.config
min.insync.replicas=1
cleanup.policy=compact
retention.ms=300000

> admin-client  topic create --bootstrap-server localhost:9092 -t my-topic22 -tp 1 -trf 1 --topic-config-file topic.config

Topic(s) with name(prefix): [(name=my-topic22, numPartitions=1, replicationFactor=1, replicasAssignments=null, configs={cleanup.policy=compact, min.insync.replicas=1, retention.ms=300000})] and count 1 successfully created

Describe:
min.insync.replicas = 1
segment.jitter.ms = 0
local.retention.ms = -2
cleanup.policy = compact
flush.ms =<PHONE_NUMBER>854775807
follower.replication.throttled.replicas =
segment.bytes =<PHONE_NUMBER>
retention.ms = 300000


IDictionary properties on Pocos breaks on .NET Core/Standard

Hey, I'm flying by the seat of my pants a bit here so apologies if I'm missing something obvious.
We've got some ASP.NET Core services we are migrating from Framework to Standard at the moment, and I've encountered an issue where I receive a System.InvalidProgramException ("Common Language Runtime detected an invalid program.") when I call Fetch.
After much simplifying I've found merely having an 'IDictionary' property present on a mapped POCO is enough to cause this. Simply changing it to Dictionary resolves this, however we were using IDictionary extensively in our Framework project with NPoco successfully, so I'm not quite sure what's causing this behaviour here.
Here is a stack trace:
   at System.Runtime.CompilerServices.RuntimeHelpers._CompileMethod(IRuntimeMethodInfo method)
   at System.Reflection.Emit.DynamicMethod.CreateDelegate(Type delegateType)
   at NPoco.MemberAccessor.GetSetDelegate()
   at NPoco.MemberAccessor..ctor(Type targetType, String memberName)
   at NPoco.PocoDataBuilder.<>c.<GetMemberAccessors>b__32_0(MemberInfo memberInfo)
   at System.Linq.Enumerable.SelectListIterator`2.ToList()
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at NPoco.PocoDataBuilder.<GetPocoMembers>d__28.MoveNext()
   at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
   at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
   at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
   at NPoco.PocoDataBuilder.<GetPocoMembers>d__28.MoveNext()
   at System.Collections.Generic.List`1.AddEnumerable(IEnumerable`1 enumerable)
   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
   at NPoco.PocoDataBuilder.Init()
   at NPoco.PocoDataFactory.BaseClassFalbackPocoDataBuilder(Type type)
   at NPoco.Cache`2.Get(TKey key, Func`1 factory)
   at NPoco.PocoDataFactory.ForType(Type type)
   at NPoco.Database.<Read>d__150`1.MoveNext()
   at NPoco.Database.<QueryImp>d__158`1.MoveNext()
   at System.Linq.Enumerable.SingleOrDefault[TSource](IEnumerable`1 source)
   at NPocoTest.Program.Main(String[] args) in D:\Code\netcoretest\NPocoTest\Program.cs:line 19

And minimal crashing example:
namespace NPocoTest
{
    class TestModel
    {
        public int Id;
        public IDictionary<int, object> Items;
    }
    class Program
    {
        static void Main(string[] args)
        {
            using (var db = new Database("DSN=test", DatabaseType.SqlServer2012, SqlClientFactory.Instance))
            {
                var obj = db.SingleOrDefault<TestModel>("SELECT * FROM table WHERE Id = @0", 123);
            }

        }
    }
}

Potentially of note - we're not actually populating the dictionary property with this particular database call, instead utilising it a bit later. So we're not even mapping anything to it at this point in the execution.
Again, switching to Dictionary works fine, but we do try and stick to the interfaces where possible. Possibly using the IgnoreAttribute may help too but I've not gone down this avenue, and have until this point been able to avoid decorating any of our model.
We're able to get by at this stage but figured I'd report this here. Cheers!

You need to create a factory to create your type.
   db.Mappers.RegisterFactory<IDictionary<int, object>>(x => new Dictionary<int, object>());


⚠ SceneTime has degraded performance

In 5deb531, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 1274 ms

Resolved: SceneTime performance has improved in f6eb9e1 after 8 minutes.


How to use substitutions?

I'm trying to get a role's ARN in my stackset template by substituting the account ID. How could I do that?
For example, how would I translate the following JSON Cloudformation code to CDK code?
            {
                "Fn::Sub":  "arn:aws:iam::${AWS::AccountId}:role/my-role"
            }

This is what I tried, but it failed:
        role_arn = {
            "Fn::Sub": "arn:aws:iam::${AWS::AccountId}:role/my-role"
        }

Error:
TypeError: type of argument iam_role_arn must be str; got dict instead

You should be able use from_role_name to "import" the role.
class MyStackSet(StackSetStack):
    def __init__(self, scope, id):
        super().__init__(scope, id)

        role_arn = iam.Role.from_role_name(self, "role", "my-role")

Thank you, that works!


ODM4Dev on ROKS

When deploying ODM4Dev on ROKS using these instructions:
https://github.com/icp4a/cert-kubernetes/blob/master/ODM/platform/README_Eval_ROKS.md
The pod fails with the following messages in the the logs:
(base) Daniels-MacBook-Pro-2:ODM dtt$ oc get pods
NAME                                   READY     STATUS             RESTARTS   AGE
odm-eval-ibm-odm-dev-c47675b44-l5kdt   0/1       CrashLoopBackOff   1          8s
(base) Daniels-MacBook-Pro-2:ODM dtt$ oc logs odm-eval-ibm-odm-dev-c47675b44-l5kdt
cp: cannot create regular file '/config/dbdata/resdb.lock.db': Permission denied
cp: cannot create regular file '/config/dbdata/resdb.mv.db': Permission denied
cp: cannot create regular file '/config/dbdata/resdb.trace.db': Permission denied
cp: cannot create regular file '/config/dbdata/rtsdb.lock.db': Permission denied
cp: cannot create regular file '/config/dbdata/rtsdb.mv.db': Permission denied
cp: cannot create regular file '/config/dbdata/rtsdb.trace.db': Permission denied

(base) Daniels-MacBook-Pro-2:ODM dtt$ oc get pv
NAME                                       CAPACITY   ACCESS MODES   RECLAIM POLICY   STATUS    CLAIM                          STORAGECLASS       REASON    AGE
pvc-6dc42542-ff26-11e9-b2c6-be8a78415f2b   20Gi       RWO            Delete           Bound     odm-dev/odm-eval-odm-pvclaim   ibmc-file-gold               7m
pvc-73224d65-fc2f-11e9-bd5b-da237455a034   20Gi       RWX            Delete           Bound     default/registry-backing       ibmc-file-bronze             3d
(base) Daniels-MacBook-Pro-2:ODM dtt$ oc get pv

Pb on PV we will fixed the docs in the others repository.


Do no print a newline after processing each batch in Reconciler

Hey @magnusvk,
in commit https://github.com/magnusvk/counter_culture/commit/5a74d3c611c9057058429aafe3cf88a68d48e112 unfortunately the logging of the reconciler got broken. The << operation was used for a reason to not produce a new line after each batch gets processed, maybe this was not clear in my code 😢
Currently this is was the reconciler logs in verbose mode:
I, [2019-04-16T10:20:24.578702 #33762]  INFO -- : Performing reconciling of SimpleDependent#simple_main.

I, [2019-04-16T10:20:24.646091 #33762]  INFO -- : .
I, [2019-04-16T10:20:24.646271 #33762]  INFO -- :

I, [2019-04-16T10:20:24.646607 #33762]  INFO -- : Finished reconciling of SimpleDependent#simple_main.

See the additional empty lines as well as it prints the . after processing a batch on a new line. As it usually happens that MANY batches get processed, this will produce A LOT of new lines. I would like to have more an output like this:
I, [2019-04-16T10:18:20.691509 #33529]  INFO -- : Performing reconciling of SimpleDependent#simple_main.
..
I, [2019-04-16T10:18:20.760756 #33529]  INFO -- : Finished reconciling of SimpleDependent#simple_main.

See that the .. gets printed on the same line.
Hope this makes sense to you. Open for suggestions how to do it differently or improve the code submitted.

👍

Yes, this makes sense—I wanted to use the standard log method to get timestamps etc, but this seems like a good middle ground. Thank you.

Released as 2.2.1


[BACKEND] Better workaround for ptxas bug

The existing workaround was causing a crash in matmul tutorial on h100 and was causing performance regression on flash attention backward.

oooooooh nice!


[devicelab] Split LUCI bot config to Android and iOS

Per discussion from Marc, in order to call functions in api.platforms.android on bot_config, the test bed must have an attached android device. Similarly for ios test beds.
So we will need to create flutter_android.py for devicelab android test beds, which will run on host OS including Linux, macOS and Windows.
And create flutter_ios.py for ios test beds, which will run on macOS hosts.

/cc @godofredoc

This is done in https://crrev.com/i/3249807


Permission denied at sign-in

I'm getting a pam_authenticate: PERM_DENIED at sign-in before I even input anything. It also doesn't allow me to circumvent this. This happened starting the Sept 15 update. Should I wait for the next update or what's going on?

i hit this weekds ago, hit CTRL-F2, login as user and cp /etc/pam.d/greetd /etc/pamd.d/cosmic and cp /etc/pam.d/greetd-greeter /etc/pam.d/cosmic-greeter go back to greetd and login


All Content subclasses should implement zero and push_null! of option-record shouldn't require manual filling of records

Note to self: if all Content subclasses implement zero, then it would be possible to auto-fill records and not require users to do something different when push_null! on option-type of record. That would be a good thing to do and this should become an issue.
Originally posted by @jpivarski in https://github.com/jpivarski/AwkwardArray.jl/pull/13#discussion_r1305935450

zero is not the right function. I need something that, given the Content (AbstractVector), pushes a zero element onto it. This can be broken into two steps, getting the zero element and pushing it onto the Content vector, but it's a zero element of the item type, not the vector type, that I need.
julia> zero([1, 2, 3, 4, 5])
5-element Vector{Int64}:
 0
 0
 0
 0
 0

I need a function that, given [1, 2, 3, 4, 5], returns 0, not [0, 0, 0, 0, 0].
I don't think there is such a function in the standard library, so I might as well invent a new function for my exact purpose: AwkwardArray.push_zero!.

Or even push_dummy!, so that there's no obligation for this to be any particular value.

eltype may be another thing that needs to get defined:
julia> eltype(AwkwardArray.PrimitiveArray([1.1]))
Any

I think I can get there by incrementally adding type hints...


debugInfoEnabled(false) conflicts with AngularActor and broadcast/emit

Hey there!
As described in the angular documentation I configured my app for production use like this:
anglar.module('app').config(['$compileProvider', function ($compileProvider) {
  $compileProvider.debugInfoEnabled(false);
}]);

When doing this, I cannot getAngularActor to work. Specifically scope.broadcastand emit do nothing. My guess is, lift-ng uses some angular routines that are considered debug-only, like $element.scope().
Tell me if you have problems reproducing. Regards
Robert

Thanks for the report, Robert! I'm not yet sure if I'll laugh or cry if it turns out lift-ng can't work when angular is in production mode. Hopefully I can investigate soon.

Seems to me that I'll have to go back to the drawing board because according to this issue, it's just how it is.
Just thinking on the top of my head, I suspect I could rewrite future/promise support to use Lift 3's round trips once I drop 2.x support (could do that really soon). Not entirely sure about the binding actors tho.

After talking to you online earlier, I reviewed that issue above and borrowed a directive that seems to make some of the cases work. I'm still sorting through all the features that were depending on this debug mode, but looks promising thus far.

Glad I could give some directions here!

Got a working version here: #41 Take it for a spin when you get time.


Update to API for runbook content drafting?

You will be able to see the issue here:
https://github.com/Azure/azure-sdk-for-net/issues/33275
Is it possible for us to update this so that we can just use a string of text or even a byte array? Currently they have to use a seekable stream, and they mentioned that the API is the reason.

Adding Service team to look into this. CC  @jaspkaur28.


Fixing ReferenceErr: opts is not defined

This code use opts variable which is undefined, instead of options variable
This should be able to fix issue from #5

Thanks. But do note, the puppeeteer-extra-plugin-fingerprinter has been deprecated in favor of a playwright based fingerprinter.


Error:Client API version '4' is incompatible with controller version '3'  in k8s v1.13

I got an error when creating PVC for linstor-csi.
My environment was Kubernetes v1.13.
I succeeded applying cluster-csi.yaml and Storageclass.yaml.
Storageclass.yaml is shown below.
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: two-replica
provisioner: io.drbd.linstor-csi
parameters:
  autoPlace: "2"
  storagePool: "pool0"
  filesystem: "xfs"

But after applying PVC.yaml , created PVC got "Pending" status.
PVC.yaml is shown below.
apiVersion: storage.k8s.io/v1
kind: StorageClass
metadata:
  name: two-replica
provisioner: io.drbd.linstor-csi
parameters:
  autoPlace: "2"
  storagePool: "pool0"
  filesystem: "xfs"
[ec2-user@ip-172-31-9-219 linstor]$ cat my-first-volume-pvc.yaml
kind: PersistentVolumeClaim
apiVersion: v1
metadata:
  name: my-first-volume
spec:
  storageClassName: two-replica
  accessModes:
  - ReadWriteOnce
  resources:
    requests:
      storage: 500Mi

For understanding this situation, I put "kubectl describe pvc" command, and I got a result shown below.
Events:
  Type       Reason                Age                    From                                                                               Message
  ----       ------                ----                   ----                                                                               -------
  Normal     ExternalProvisioning  2m28s (x26 over 8m8s)  persistentvolume-controller                                                        waiting for a volume to be created, either by external provisioner "io.drbd.linstor-csi" or manually created by system administrator
  Normal     Provisioning          52s (x6 over 8m8s)     io.drbd.linstor-csi_linstor-csi-controller-0_0c2a3270-6288-11e9-9417-de9ddfef2681  External provisioner is provisioning volume for claim "default/my-first-volume"
  Warning    ProvisioningFailed    52s (x6 over 8m8s)     io.drbd.linstor-csi_linstor-csi-controller-0_0c2a3270-6288-11e9-9417-de9ddfef2681  failed to provision volume with StorageClass "two-replica": rpc error: code = Internal desc = CreateVolume failed for pvc-f45d1945-6288-11e9-b593-062a213f9ba0: exit status 1: Error: Client API version '4' is incompatible with controller version '3', please update your client.
Mounted By:  <none>

The error says "Client API version '4' is incompatible with controller version '3'" in io.drbd.linstor-csi_linstor-csi-controller.
I guess this error related with this issue: https://github.com/LINBIT/linstor-csi/issues/6
When I use Kubernetes v1.13,  how does linstor-csi work?

The error says "Client API version '4' is incompatible with controller version '3'" in io.drbd.linstor-csi_linstor-csi-controller.
I guess this error related with this issue: #6

This is completely unrelated to #6, that was  (probably) caused by incorrectly updating k8s from 1.13 to 1.14.
Looks like this container is build with a version of the linstor-client that is too new for the controller. Client API version is 4, controller version is 3.
What version of the linstor controller are you running?

Hi, haySwim.
I used current examples/k8s/deploy/linstor-csi.yaml, so I found there "quay.io/k8scsi/csi-provisioner:v1.0.1".
I think the linstor contoller vesion is v1.0.1.

Hi, haySwim
I may not understand what you said.
The linstor modules shown below are running on the worker nodes of Kubernetes .

linstor-common-0.7.5-1.el7.noarch.rpm
linstor-controller-0.7.5-1.el7.noarch.rpm
linstor-satellite-0.7.5-1.el7.noarch.rpm
linstor-client-0.7.3-1.noarch.rpm
python-linstor-0.7.3-1.noarch.rpm

Which did you mention the controller "inside of Kubernetes" or "outside of Kubernetes"?

Hi, haySwim.
Linstor-csi in my Kubernetes run well.
I updated the linstor module from 0.7.5(controller&satellite)/0.7.3(client) to 0.9.6/0.9.3.
And then creating pvc succeeded.
Thank you for comment.


Confirmation email on receive email

It'd be good if I received a confirmation email, when my trigger email is processed, so that I know everything worked.
e.g.

RE: Jenkins > Publish @ 12pm
A Jenkins job has been successfully scheduled for 12pm, with the following parameters:
app=poll-mailbox-trigger-plugin
env=dev
version=1.2.3

I haven't had any requests for this feature... will only build it if it's "in demand".

Please consider this


fix(timeout):take timeout interval into account

The timeout property from Configuration object was never read and used.

Hm, I was actually using it in 'Endpoint.swift'
let request = Request(baseURL: self.baseURL, path: (self.endpoint + "/" + path),
      parameters: parameters, sessionParameters: sessionParameters, HTTPMethod: HTTPMethod)
request.timeoutInterval = session!.configuration.timeoutInterval
return request

https://github.com/Constantine-Fry/das-quadrat/blob/81987ae746fa8eae74b56ac762cc56758d7b640f/Source/Shared/Endpoints/Endpoint.swift

Thank you!

Oh indeed, you used it in the Endpoint class, my bad.
But anyway, I did not manage to use the timeout from the Configuration object without setting it to the URLSession. Maybe I did something wrong...
Thanks for the merge anyway! 👍


Is stackedit is being maintained?

Last commit was about a year ago -- perhaps there is a fork that's actively maintained?

It seems like the author is actively developing Classeur. A quick Google search for the difference between the two revealed this:

StackEdit is no longer being developed. Thus, Classeur is the true successor of StackEdit.

That's sad. I like StackEdit. Could use bugfixes. I hope forces will co-operate to bring about a change of ownership to someone with more love for the project.

If you are looking for working https and credentials for stackedit to couchdb, then take a look at the fork https://github.com/dtu-compute/dtu-enote-stackedit . The fork is not intended for general purpose, as it have other changes, but the couchdb fixes are.

@dtu-compute If someone forks stack-edit to restart development, would you be willing to participate in that and upstream some of the improvements you've made? I'm curious about seeing if it can be made to be a wholly client-side app backed by couchdb.

Probably not. If someone forked it and wanted to maintain StackEdit, then it would be easy to merge in our fixes.
After having used StackEdit in production for 6 months, it is not really suitable to mass document editing for our needs. It is a webapp (client side app), and no small amount of fixing can change that.
So we will most likely build our own in the next month, but with file based backend instead of couchdb and no menus. This will not be a general purpose editor, but if someone would be willing to send pull requests to make it general purpose, then we would certainly merge them in.

Unfortunately @benweet has become terminally disillusioned with the belief that StackEdit's double-pane view can be condensed into a single pane view as in Classeur. However it is trivial to prove how broken this model is. Classeur cannot:

Render HTML markup. It cannot display <img> elements nor apply custom alignment.
Render HTML entities.
Render links nor follow inter-document links.
Display heading sizes in monospace mode nor align heading underlines in variable-width mode.

All of these things are already possible in StackEdit with the two-paned approach. This is irrelevant, however, since @benweet died towards the end of 2016. RIP ☠

@Bilge said:

@benweet died towards the end of 2016. RIP :skull_and_crossbones:

That's terrible to hear! :fearful: Although I don't know you; not sure if joking or sinsere.

@Bilge I do see that he's become completely inactive online sometime late 2016. What makes you think he's dead?!

Closing the issue, as it's neither a change request nor a bug.

@benweet Cool, dude. Why don't you just ignore all the issues raised herein.

Aww, not funny. I've seen projects abandoned due to accidents twice.
@benweet I'm glad you're alive. You've invested a lot of time in this project and you don't owe anyone your free time.

It's sad that this is seemingly the only issue @benweet has even touched in a very long time. Yet he is still willing to take peoples money. Sadly I contributed financially to this and because of an issue that is not being addressed, I cannot use this.

 Takes peoples money and then leaves us high and dry!!

Not only is StackEdit still alive, Classeur seems to be going away at the end of May this year.

But I dare asking: %SUBJ
~3 years since last commits.
How's it going with project?

https://ui.toast.com/tui-editor is a good and well maintained alternative

Lol, I found a good alternative 4 years ago. It's online it's called Draft,
better than that piece of poo stackedit.
On Sat, Oct 15, 2022 at 8:05 PM Andris Kardos @.***>
wrote:

https://ui.toast.com/tui-editor is a good and well maintained alternative
—
Reply to this email directly, view it on GitHub
https://github.com/benweet/stackedit/issues/1071#issuecomment-1279810896,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHJ5F2ERXLGLERBAOR5OY6TWDL55XANCNFSM4C7DUH7Q
.
You are receiving this because you commented.Message ID:
@.***>

this one?
https://getdrafts.com

My last comment was more than 5 years ago. Meanwhile I have moved to Zettlr. It is an app in stead of a website, but it works on actual text files in stead of some database like Joplin. So your project folders can be editor-agnostic collabs (e.g. markdown based documentation project on github), and you can open multiple project folders at the same time.
I have one such folder shared with Nextcloud. So I can edit those notes in the browser on Nextcloud editor as well as well as with Nextcloud Notes on my smartphone. Not as advanced as Zettlr itself or as nice as Stackedit, but still a good way to get notes on your phone.


Fix compatibility with SBT 0.13.8

The issue was due to sbt changing the task name from "compile" to "compileIncremental". The fix was
to check for the string "compile" in the task name where previously it only matched on exactly
"compile".

@dscleaver bump ;)

if anyone else wants a workaround - I've merged this into my fork and added release notes for v0.4.2. Here's how you can use it:
git clone git@github.com:mpollmeier/sbt-quickfix.git
cd sbt-quickfix
sbt publishLocal

then chuck this into your plugins.sbt:
addSbtPlugin("com.dscleaver.sbt" % "sbt-quickfix" % "0.4.2-85fe4fb832f1e20b55479e405d87c342a0e735ed")

:+1:

@mpollmeier
Thank you!
git clone https://github.com/mpollmeier/sbt-quickfix.git

:+1 It does work (at least better than the current HEAD)

Hey, I'm a new contributor to the project. Just want to thank you for submitting this change, you and a couple others submitted similar ones. I've merged https://github.com/dscleaver/sbt-quickfix/pull/20 one since it also included the SBT plugin change, but thank you again for contributing!


Workaround for release - requesting own blocks

Description
This is a workaround for a 13 -> 14 release, so 13 nodes have blocks produced by 14 nodes.
Type of change
Please delete options that are not relevant.

Bug fix (non-breaking change which fixes an issue)

Duplicate of https://github.com/Cardinal-Cryptography/aleph-node/pull/1894


2021-12-16 release including standard simple and basic files generated from ODK

Related to #1380

Will do after I deal with PCL release >.< can barely get anything done atm with computer working extra hard

Zero rush on this!

I'm not sure if this is of concern -

Also due to the huge diff - its hard to really write release notes like previously

The large diff is only this once. cant you just use the diff on cl-base.obo for writing the notes?

The CP terms in the diff are expected - this would take care of it: https://github.com/obophenotype/cell-ontology/pull/1311
next release!

only weird looking thing is the CP classes, other than that looks alright
v2021-12-16 release
Edits:
- Change 'supportive' & 'support' to 'supporting' in labels for various cells
- Edit label of mesenchymal stem cell of adipose tissue
- Merged fusimotor neuron to CL:0008037
- Merged neuron of cerebral cortex to CL:0010012
- Fixed some minor errors with xref formats
New Terms:
- endothelial cell of placenta
- smooth muscle cell of placenta
- endothelial cell of hepatic portal vein
- endothelial cell of uterus
- alveolar type 1 fibroblast cell
- alveolar type 2 fibroblast cell


We should prefer ruamel.yaml over PyYAML

PyYAML appears to be dead: https://bitbucket.org/xi/pyyaml/issues/59/has-this-project-been-abandoned
ruamel.yaml https://yaml.readthedocs.io/en/latest/ is updated and supports YAML 1.2
I have put in import check into the validation module, in case (for some reason) someone must use PyYAML, so if we need to import yaml anywhere else in the package, we should do from .validation import yaml. There is a conda package for ruamel.yaml (not sure if its official or conda-forge).

Got it—I was wondering why you introduced ruamel.yaml. I just replaced the other instances of yaml with from .validation import yaml in the doi-validator branch via 37ea2c506d677dd9f253f835ec42e15088add880

Got it—I was wondering why you introduced ruamel.yaml. I just replaced the other instances of yaml with from .validation import yaml in the doi-validator branch via 37ea2c506d677dd9f253f835ec42e15088add880

This is handled now, right? I'm going to close, feel free to reopen.


chatgpt install not working

When I run "chatgpt install" on Terminal (Mac) I get the following error:
zsh: command not found: chatgpt
BTW, I get the same error when I run "playwright install" and got around it by running "python3 -m playwright install"
Any help is appreciated!

You can get chatgpt installed path by this
which chatgpt
In my case, /Users/jhyeo/Library/Python/3.9/bin/chatgpt
And this line on your .zshrc file
export PATH="$PATH:/Users/jhyeo/Library/Python/3.9/bin"
And run source .zshrc

I would consider the which command unlikely to work, as it provides an entry only for files in the $PATH (the problem here being that chatgpt is not).
The chatgpt executable should be installed as specified by pip/setuptools:
from setup.py:
entry_points={
        "console_scripts": [
            "chatgpt = chatgpt_wrapper.chatgpt:main"
        ]
    },

You can learn more about it by running
 pip show -v chatgpt
In my case, the chatgpt exe is located in ~/.local/bin; and the pip install command had issued this warning:

WARNING: The script chatgpt is installed in '/home/me/.local/bin' which is not on PATH.
Consider adding this directory to PATH or, if you prefer to suppress this warning, use --no-warn-script-location.


An exception thrown in transient service constructor stops the flow and global fault handler is not called

I've added a WCF service as transient service which has no endpoint defined. Like this:
protected override void ConfigureServices(IServiceCollection services)
{
      services.AddTransient<IExceptionThrowingServiceAdapter, ExceptionThrowingServiceAdapter>();
}

This service throws an exception in constructor.
My activity looks like this:
public class SomeActivity : BackgroundActivity
{
        public SomeActivity(IExceptionThrowingService service)
        {
         ...
        }
...
}

When flow tries to enter the activity, it immediately stops. No global fault handler is called and task, which was returned from Run() method has status "RanToCompletion".
The flow log file contains an exception stack trace.

Thanks for pointing this out!
Fixed.
See notes at https://github.com/akarpov89/MicroFlow#fault-handling


New pycodestyle.max-line-width option

Summary
This PR introduces a new pycodestyl.max-line-width option that allows overriding the global line-width option for E501 only.
This is useful when using the formatter and E501 together, where the formatter uses a lower limit and E501 is only used to catch extra-long lines.
Closes #7644
Considerations
Our fix infrastructure asserts in some places that the fix doesn't exceed the configured line-width. With this change, the question is whether it should use the pycodestyle.max-line-width or line-width option to make that decision.
I opted for the global line-width for now, considering that it should be the lower limit. However, this constraint isn't enforced and users not using the formatter may only specify pycodestyle.max-line-width because they're unaware of the global option (and it solves their need).
I'm interested to hear your thoughts on whether we should use pycodestyle.max-line-width or line-width to decide on whether to emit a fix or not.
Test Plan
Added integration test

Current dependencies on/for this PR:

main

PR #8000

PR #8002

PR #8032
PR #8006

PR #8035

PR #8010

PR #8039   👈

PR #8031

This comment was auto-generated by Graphite.

I would say that using the pycodestyle line width is probably the most consistent with the intent, since the intent was to avoid introducing E501 violations.

Thanks, that's helpful input. It wasn't clear to me what the initial intent was.

Merge activity

Oct 24, 3:57 AM: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.


Get a notification "Unable to connect to ..." every time the connection is lost

I keep getting a notification when leaving wifi, which is annoying and not necessary. Also it would be great if the status bar item would refresh itself when I have a connection again.

Thanks for the feedback! I'll add some proper handling of this

I made a few changes, so that instead of stopping completely and showing an error message, it will show "connecting" and continue to run in the background. An error message is only displayed if the first fetch fails after starting VS Code or changing your settings.
Will push it to marketplace within the next few days!


Refactored code using NeXus I/O

Mind PR merge order: Firstly #4, secondly #3, finally, merge this #5 here or leave this last step #5 out and work on this nexus i/o feature branch!

Functional and nexus_definitions updated, see nexus_definitions submodule


Test suite mslab_threadsafe fails randomly

Been seeing this in a few different unrelated PRs now:
1/1 mps2_an385                tests/kernel/mem_slab/mslab_threadsafe/kernel.memory_slabs FAILED: timeout
---out-2nd-pass/mps2_an385/tests/kernel/mem_slab/mslab_threadsafe/kernel.memory_slabs/handler.log---
***** Booting Zephyr OS v1.14.0-rc1-573-g2e89905f86 *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
***** MPU FAULT *****
  Data Access Violation
  MMFAR Address: 0x0
***** Hardware exception *****
Current thread ID = 0x20000134
Faulting instruction address = 0x49ea
Fatal fault in ISR! Spinning...
---out-2nd-pass/mps2_an385/tests/kernel/mem_slab/mslab_threadsafe/kernel.memory_slabs/handler.log---
0 of 1 tests passed with 0 warnings in 84 seconds
+ sleep 10
+ /home/buildslave/src/github.com/zephyrproject-rtos/zephyr/scripts/sanitycheck --inline-logs --enable-coverage -N --only-failed --outdir=out-3nd-pass
JOBS: 12
Selecting default platforms per test case
Building testcase defconfigs...
1 tests selected, 91522 tests discarded due to filters
1/1 mps2_an385                tests/kernel/mem_slab/mslab_threadsafe/kernel.memory_slabs FAILED: timeout
---out-3nd-pass/mps2_an385/tests/kernel/mem_slab/mslab_threadsafe/kernel.memory_slabs/handler.log---
***** Booting Zephyr OS v1.14.0-rc1-573-g2e89905f86 *****
Running test suite mslab_threadsafe
===================================================================
starting test - test_mslab_threadsafe
***** MPU FAULT *****
  Data Access Violation
  MMFAR Address: 0x0
***** Hardware exception *****
Current thread ID = 0x200000b0
Faulting instruction address = 0x49ea
Fatal fault in ISR! Spinning...
---out-3nd-pass/mps2_an385/tests/kernel/mem_slab/mslab_threadsafe/kernel.memory_slabs/handler.log---
0 of 1 tests passed with 0 warnings in 83 seconds

Haven't seen it in a while now. Not sure what changed.

There was a "nonatomic swap" fix that went in about a week ago that IIRC mslab would have tickled.  This is one of the tests that does fail sporadically in CI, but it's definitely not failing reliably for me right now on unloaded systems, and I'm regularly running such tests to check now as part of #12553.  Will close, please reopen if you see it.

I am able to reproduce this issue.
https://github.com/andrewboie/zephyr/tree/mslab-threadsafe-issue
reproduces with the qemu_x86_coverage target.
This is on x86 but the error is we get a pagefault when we try to execute a NULL address:
Running test suite mslab_threadsafe
===================================================================
START - test_mslab_threadsafe
 PASS - test_mslab_threadsafe
===================================================================
Test suite mslab_threadsafe succeeded
===================================================================
PROJECT EXECUTION SUCCESSFUL
E: Page fault at address 0x0 (error code 0x11)
E: Access violation: supervisor thread not allowed to execute
E:   PDE: 0x0000000000136827 Writable, User, Execute Enabled
E:   PTE: 0x8000000000000013 Writable, Supervisor, Execute Disable
E: EAX: 0x00154680, EBX: 0x00000000, ECX: 0x00000246, EDX: 0x00156060
E: ESI: 0x00000000, EDI: 0x00104766, EBP: 0x001489e8, ESP: 0x001489e4
E: EFLAGS: 0x00000206 CS: 0x0008 CR3: 0x0013a220
E: call trace:
E: EIP: 0x00000000
E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x0013a128 (unknown)
E: Halting system

I can confirm a few things:

This situation is very timing sensitive.
My branch reproduces 100% of the time on my system. It also failed in CI when I sent out #. We are using icount, so my guess is that other code changes in my PR which might change timings are causing this to get unlucky in whatever race is going on, and since it's icount execution is deterministic; it either always works or it doesn't.
I swear my PR is orthogonal to this, other than I/O mapping happens at different times.
Doesn't reproduce in any other build target
Extremely minor changes to the tmslab_api() function cause the crash to go away. like adding a printk() at the end, or removing the if (block[i]) check and freeing the block unconditionally, or changing the timeout arg to k_mem_slab_alloc() from TIMEOUT to K_FOREVER. It's that subtle.
The crash is always one of the tdata threads. The stack is almost empty save for a memory address inside tmslab_api.
The crash always happens after
There's no stack overflows and we're not re-using thread objects

I thought I was going insane until I found this GH ticket.
This branch is the same as the other branch I linked, plus a cleanup patch to the mslab_threadsafe test https://github.com/andrewboie/zephyr/tree/mslab-threadsafe-fixup there are comments that show where you can disturb the timings.

I think I can rule out any changes in my PR, nothing should be accessing any memory in the NULL page. This does seem like this obscure bug popping up again.
I don't have time right now to dive deeper, but leaving this open. I submitted a patch which cleans up the test code a little and adds a delay which makes the problem stop failing the test. https://github.com/zephyrproject-rtos/zephyr/pull/26883

Spent some more time looking at this. The patch that added a delay that fixed it for qemu_x86_coverage causes the test to now fail on qemu_x86_nommu with a general protection fault or invalid opcode exception. In this case, instead of EIP being 0, EIP points to some location on the interrupt stack, and the faulting thread is main() after it has exited.
The test does something unusual: it sets CONFIG_TIMESLICE_SIZE=1. There is only one other test that does this: tests/kernel/mem_pool/mem_pool_threadsafe. Guess what? This test also has been known to fail intermittently for reasons nobody has been able to figure out, see https://github.com/zephyrproject-rtos/zephyr/issues/19701
I've spent hours staring at the test code. There's literally nothing wrong with it, it's only 100 lines of code. My suspicion right now that there is a subtle race condition within the kernel that tends to only show itself (sometimes) if the timeslicing rate is high. Basically, bolstering my suspicion that this might be due to a badly timed timer interrupt corrupting something. I think the HPET driver is not the culprit since historically we have seen this on other arches.
So in sum:

CONFIG_TIMESLICE_SIZE=1 I think is a strong clue
I think the test code itself is not related to the problem
Seems to be stack corruption that causes a bad branch to happen as a thread is exiting, but I haven't pinpointed where in code it happens, I just know its somewhere along the thread exit path

Just for laughs I cloned a fresh tree and applied this patch to the master branch, I wanted to see if stuff starts to fail if we enable 1ms timeslicing by default:
apboie@apboie-mobl4:~/projects/zephyr2/zephyr master /home/apboie/projects/zephyr2/zephyr
$ git diff
diff --git a/kernel/Kconfig b/kernel/Kconfig
index 702d908d4b..fc94ca3111 100644
--- a/kernel/Kconfig
+++ b/kernel/Kconfig
@@ -404,7 +404,7 @@ config TIMESLICING

 config TIMESLICE_SIZE
        int "Time slice size (in ms)"
-       default 0
+       default 1
        range 0<PHONE_NUMBER>
        depends on TIMESLICING
        help

I then ran sanitycheck -T tesks/kernel to see what shakes out.
I then got a reproducible failure in tests/kernel/sched/deadline/kernel.scheduler.deadline on qemu_riscv32 where we are also jumping to an illegal location:
*** Booting Zephyr OS build zephyr-v2.3.0-1056-g568211738d30  ***
Running test suite suite_deadline
===================================================================
START - test_deadline
E: Exception cause Illegal instruction (2)
E: Faulting instruction address = 0x204060ac
E:   ra: 0x204061a8  gp: 0x00000000  tp: 0x00000000  t0: 0x00000000
E:   t1: 0x00000000  t2: 0x00000000  t3: 0x00000000  t4: 0x00000000
E:   t5: 0x00000000  t6: 0x00000000  a0: 0x000186a0  a1: 0x00000000
E:   a2: 0x204066f8  a3: 0x00000021  a4: 0x00000000  a5: 0x00000008
E:   a6: 0x00000000  a7: 0x00000000

E: >>> ZEPHYR FATAL ERROR 0: CPU exception on CPU 0
E: Current thread: 0x800004d8 (unknown)
E: Halting system

With this change I noticed a few of tests failing on qemu_x86_64 due to a page fault at address 0xB9, which means an un-suspended thread object was attempted to be resumed. These seem sporadic, but qemu_x86_64 does not use icount. AFAICT the tests that failed are not racing to re-use thread objects so I suspect this might be related?
Looking through test configurations, we do not have any dedicated tests for timeslicing. Only three tests change the default value of CONFIG_TIMESLICE_SIZE=0, which means unless I'm missing something, only these tests are exercising the timeslice feature, and all of them are actually testing something else:

tests/kernel/mem_slab/mslab_threadsafe/prj.conf sets it to 1
tests/kernel/mem_pool/mem_pool_threadsafe/prj.conf sets it to 1
tests/kernel/mem_protect/syscalls/prj.conf sets it to 10 (for the syscall torture test)

I went another step further, and in addition to the patch to apply timeslicing to all tests, added this to disable icount for all emulators:
diff --git a/cmake/emu/qemu.cmake b/cmake/emu/qemu.cmake
index 26e7622dee..a05ca93cd3 100644
--- a/cmake/emu/qemu.cmake
+++ b/cmake/emu/qemu.cmake
@@ -60,12 +60,6 @@ endif()
 # Connect monitor to the console chardev.
 list(APPEND QEMU_FLAGS -mon chardev=con,mode=readline)

-if(CONFIG_QEMU_ICOUNT)
-  list(APPEND QEMU_FLAGS
-         -icount shift=${CONFIG_QEMU_ICOUNT_SHIFT},align=off,sleep=off
-         -rtc clock=vm)
-endif()
-
 # Add a BT serial device when building for bluetooth, unless the
 # application explicitly opts out with NO_QEMU_SERIAL_BT_SERVER.
 if(CONFIG_BT)

I then ran sanitycheck again to see what fails, and why. There were 43 total failures when testing sanitycheck -T tests/kernel which seems abnormal even with icount disabled. I looked through the logs:

There were a number of expected timing ordering failures, maybe 5-10
Several tests failed with no error in the output, as if the output was truncated or the emulator exited suddenly
I also saw lots of crashes.  Booting Zephyr OS build zephyr-v2.3.0-1198-g849ff583968e  ***
Running test suite mpool_threadsafe
===================================================================
START - test_mpool_threadsafe
ASSERTION FAIL [!sys_dnode_is_linked(&to->node)] @ WEST_TOPDIR/zephyr/kernel/timeout.c:103

E: RAX: 0x0000000000000004 RBX: 0x0000000000109390 RCX: 0x0000000000000001 RDX: 0x0000000000000046
E: RSI: 0x0000000000000067 RDI: 0x000000000010847b RBP: 0x0000000000000015 RSP: 0x0000000000111088
E: Page fault at address 0xb9 (error code 0x11)
E:  R8: 0x0000000000000001  R9: 0x0000000000000020 R10: 0x0000000000000202 R11: 0x0000000000111098
E: Access violation: supervisor thread not allowed to execute
E: R12: 0xfffffffffffffffe R13: 0x00000000001034c3 R14: 0x0000000000000016 R15: 0x0000000000000010
E: PTE: 0x0000000000000000 -> 0x0000000000000000: RW XD
E: RAX: 0x0000000000000001 RBX: 0x0000000000111050 RCX: 0x0000000000000001 RDX: 0x0000000000000046
E: RSI: 0x0000000000000000 RDI: 0x000000000010bc64 RBP: 0x00000000001110d0 RSP: 0x0000000000111048
E:  R8: 0x000000000010bb30  R9: 0x0000000000000001 R10: 0x0000000000000202 R11: 0x0000000000109da0
E: RSP: 0x0000000000111088 RFLAGS: 0x0000000000000006 CS: 0x0018 CR3: 0x0000000000141000
E: R12: 0x0000000000000000 R13: 0x0000000000000001 R14: 0x000000000010bb10 R15: 0x000000000013c1c0
E: RSP: 0x0000000000111048 RFLAGS: 0x0000000000000247 CS: 0x0018 CR3: 0x0000000000141000
E: RIP: 0x00000000000000b9
E: RIP: 0x0000000000100dde
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 1
E: Attempt to resume un-suspended thread object
E: >>> ZEPHYR FATAL ERROR 4: Kernel panic on CPU 0
E: Current thread: 0x0000000000109360 (unknown)
E: Current thread: 0x0000000000109360 (unknown)
E: Halting system

opened another ticket now that the root cause is found


Programming model reorganization

Reorganize the programming model to make to make it more accessible.
The material has been reorganized to present the Pulumi concepts with definitions first and provide a high level overview how the pieces work together. This is different from the current model where users are stepped through the process while introducing the concepts. The content has been divided into sections to make it easier to maintain the document.
Work to be done:

Settle on names and definitions
Agree on document organization
Check for technical accuracy
Check links
Check language and prose.
Ensure consistency on formatting and tone
Team review

Update: See follow up comment on changes. The content in this PR is now ready for review.

PR also addresses #4585 and #4580.

PR also addresses #4585 and #4580.

@davidwrede How intentional is the ordering of the items under Architecture & Concepts? I only ask because I'm so used to seeing Projects, Stacks, Config and Secrets all clustered together (and they make conceptual sense ordered in that way, and you can mostly read them in that order -- with the exception of Programming Model of course, which is much more complex) -- whereas here, the ordering quite as clear to me. Again, I'm probably just so used to seeing it the way it is now that I'm not seeing the intent behind the new ordering, so if you could shed a little light, that might help.

@davidwrede How intentional is the ordering of the items under Architecture & Concepts? I only ask because I'm so used to seeing Projects, Stacks, Config and Secrets all clustered together (and they make conceptual sense ordered in that way, and you can mostly read them in that order -- with the exception of Programming Model of course, which is much more complex) -- whereas here, the ordering quite as clear to me. Again, I'm probably just so used to seeing it the way it is now that I'm not seeing the intent behind the new ordering, so if you could shed a little light, that might help.

It's fairly intentional, but open for debate. :)
The existing left nav items are listed in the order you stated; however, within the programming model topic it goes in a different order (i.e. Resources (both custom and component), Inputs and Outputs, then Secrets, Config, etc.). Since this PR is about  refactoring content out of the Programming Model topic and putting like content together, I had to try and figure out which structure to use. The result is a meld of both organizational structures together mixed with how I felt the order should be for a new reader (i.e. it feels like you need to talk about resources before talking about stacks or configuration, for instance). The order is also reinforced via the diagram (and the text below the diagram) on the Architecture & Concepts page.
So, if the order doesn't make sense (or needs tweaking), I'm open to changing it, but I'd like the new ordering to follow the same convention of organizational reinforcement in the left nav, diagram, etc...or at least as close as possible.

It's fairly intentional, but open for debate. :)
The existing left nav items are listed in the order you stated; however, within the programming model topic it goes in a different order (i.e. Resources (both custom and component), Inputs and Outputs, then Secrets, Config, etc.). Since this PR is about  refactoring content out of the Programming Model topic and putting like content together, I had to try and figure out which structure to use. The result is a meld of both organizational structures together mixed with how I felt the order should be for a new reader (i.e. it feels like you need to talk about resources before talking about stacks or configuration, for instance). The order is also reinforced via the diagram (and the text below the diagram) on the Architecture & Concepts page.
So, if the order doesn't make sense (or needs tweaking), I'm open to changing it, but I'd like the new ordering to follow the same convention of organizational reinforcement in the left nav, diagram, etc...or at least as close as possible.

Most tech review feedback has been incorporated.
The only remaining feedback to incorporate is around the programming model text on the root "Architecture & Concepts" landing page, so I'll submit a commit for review by early next week.

Most tech review feedback has been incorporated.
The only remaining feedback to incorporate is around the programming model text on the root "Architecture & Concepts" landing page, so I'll submit a commit for review by early next week.

Remaining TR feedback has been incorporated. I also tightened up a couple sections and fixed some remaining broken links in the blogs.

Remaining TR feedback has been incorporated. I also tightened up a couple sections and fixed some remaining broken links in the blogs.

@justinvp @cnunciato @spara @joeduffy
Hey folks, initial feedback on the programming model refactoring work is in, so I'd love for you to also look through the PR and check in to make sure there isn't any blocking feedback.
Thanks,
Dave

@justinvp @cnunciato @spara @joeduffy
Hey folks, initial feedback on the programming model refactoring work is in, so I'd love for you to also look through the PR and check in to make sure there isn't any blocking feedback.
Thanks,
Dave

@cnunciato I've implemented most of your changes (and addressed next steps for the ones that can be done after this PR is merged).


bots: Notify user when their account is modified

When an administrator modifies something about a user account, Notification bot will send a private message, informing the user about the change. Fixes #23641

Fixes:

Screenshots and screen captures:

Self-review checklist

[x] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[x] Each commit is a coherent idea.
[x] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[x] Visual appearance of the changes.
[x] Responsiveness and internationalization.
[x] Strings and tooltips.
[x] End-to-end functionality of buttons, interactions and flows.
[x] Corner cases, error conditions, and easily imagined bugs.

Hi @laurynmm, I am actively working on this issue. I've made all the necessary changes as required for this issue. Nevertheless, I am unable to pass an API test. You were one of the reviewer for this issue when the first PR was raised. And I'd really like if you could review this PR once more. I've taken all of your previous feedbacks into account and made few adjustments over the original PR.
Looking forward to hearing from you.
Thanks.

@laurynmm, I'm making progress on this issue and would appreciate your review of the changes I've implemented.
Specifically, I'd like your guidance on:

Determining the most appropriate approach for this particular use case. I've described one alternative approach above.
Resolving the failing API test on the Debian 11 platform. Any assistance in addressing the test would be greatly appreciated.

Thank you for your time and expertise.

@s-bose7 I've marked this project as something for others to pick up, since it seems you've been inactive recently, but if you'd like to finish this, I'd recommend print-debugging the failing test; something is clearly wrong with your parsing logic but it's not obvious what that is.

@s-bose7 I've marked this project as something for others to pick up, since it seems you've been inactive recently, but if you'd like to finish this, I'd recommend print-debugging the failing test; something is clearly wrong with your parsing logic but it's not obvious what that is.

Thanks for your advice, I am picking it up, I think no one else is working on this yet I am still an assignee.


Change log: Missing value for manually assigned targets

This affects results added to Midline/Endline targets and Event targets.
If I create a result to a Midline/Endline or Event target, the "Measure against target" value does not appear.

If I modify the "Measure against target" field on a saved result -- say, reassigning from Midline to Endline -- that value is also missing in the change log.

Passed -- I am now consistently seeing "Measure against target" values.