sourcemarker portal is empty

Hi,
I have a standalone Java application in IntelliJ, now I have skywalking 8.0.1, I follow the guidance to type CTL+SHIFT+S, then I run the unit test to see how fast my java runs. But there is only empty visual Portal as shown in the picture.   Any idea I could make trouble shooting?
Juhani

There are a few issues I see here.
First, SourceMarker will not be able to show any metrics which are not picked up first by SkyWalking. When you run your application, are you able to view any metrics with the SkyWalking Rocketbot UI? If not, you won't see anything in SourceMarker either. If that's the case, I would make sure you're correctly attaching the SkyWalking agent and have the necessary plugins enabled. I would also like to mention that typically applications being monitored by SkyWalking are typically not unit tests. It's possible to monitor those as well but you would need to make sure that SkyWalking has finished receiving metric data before allowing the tests to finish and exit execution.
Second, the portal is showing up in dark mode, which it shouldn't. Can you share with me the theme you're using?
Finally, I agree having an empty portal is very confusing to new users. Would you agree that having a notification that states that SourceMarker was unable to find metric data from SkyWalking is a more appropriate solution?

There are a few issues I see here.
First, SourceMarker will not be able to show any metrics which are not picked up first by SkyWalking. When you run your application, are you able to view any metrics with the SkyWalking Rocketbot UI? If not, you won't see anything in SourceMarker either. If that's the case, I would make sure you're correctly attaching the SkyWalking agent and have the necessary plugins enabled. I would also like to mention that typically applications being monitored by SkyWalking are typically not unit tests. It's possible to monitor those as well but you would need to make sure that SkyWalking has finished receiving metric data before allowing the tests to finish and exit execution.
Second, the portal is showing up in dark mode, which it shouldn't. Can you share with me the theme you're using?
Finally, I agree having an empty portal is very confusing to new users. Would you agree that having a notification that states that SourceMarker was unable to find metric data from SkyWalking is a more appropriate solution?

Ran into an issue like this. Should be fixed with the next version.


Publish & import components that include MUI

Given an application built with MUI, one wants to reuse  some of the components and views in another application.
The first app gets linked locally with npm link
The second application is linking the first app in with npm link firstapp
The second app can't use the components from the first app that are including MUI components. Something related the hooks not being used right is popping out.

[ ] The issue is present in the latest release.
[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯
The application importing custom published components that include MUI , crashes with:

Error: Invalid hook call. Hooks can only be called inside of the body of a function
component. This could happen for one of the following reasons:

You might have mismatching versions of React and the renderer (such as React DOM)
You might be breaking the Rules of Hooks
You might have more than one copy of React in the same app
See https://reactjs.org/link/invalid-hook-call for tips about how to debug and fix this problem.

However, the components that are not including MUI are working just fine.
Sample code is available here: https://github.com/bluehipy/code4fun/tree/master/mui-test

Expected Behavior 🤔
The imported components that contain some MUI components should render correctly without triggering the hook error.

Steps to Reproduce 🕹

create react app test_a
create TestComponent wrapping MUI Button
compile using babel to ./dist/TestComponent.js
execute npm link in test_a root path
create react app test_b
execute npm link test_a
in App.js import TestComponent from 'test_a/dist/TestComponent.js
render a <TestComponent />

https://github.com/bluehipy/code4fun/tree/master/mui-test
Context 🔦

I am trying to reuse components from an application into a another application.
Your Environment 🌎

`npx @mui/envinfo`
I am using Chrome.

  npx: installed 2 in 4.761s

  System:
    OS: Linux 5.8 Ubuntu 20.04.1 LTS (Focal Fossa)
  Binaries:
    Node: 10.19.0 - /usr/bin/node
    Yarn: Not Found
    npm: 6.14.4 - /usr/bin/npm
  Browsers:
    Chrome: 93.0.4577.63
    Firefox: 92.0
  npmPackages:
    @emotion/react: ^11.4.1 => 11.4.1
    @emotion/styled: ^11.3.0 => 11.3.0
    @mui/core:  5.0.0-alpha.48
    @mui/material: ^5.0.1 => 5.0.1
    @mui/private-theming:  5.0.1
    @mui/styled-engine:  5.0.1
    @mui/system:  5.0.1
    @mui/types:  7.0.0
    @mui/utils:  5.0.1
    @types/react:  17.0.24
    react: ^17.0.2 => 17.0.2
    react-dom: ^17.0.2 => 17.0.2

Error: Invalid hook call. Hooks can only be called inside of the body of a function
component. This could happen for one of the following reasons:

You might have mismatching versions of React and the renderer (such as React DOM)
You might be breaking the Rules of Hooks
You might have more than one copy of React in the same app

Have you tried all the suggestion from the error? I don't think that the error comes from mui but where you call your component.

I have read the error.
I am not breaking the hook rules.
I am using exactly the same versions of all dependencies including React and Reactt Dom.
I dont have more React apps in the same time.
Also , the same flow with a component that is rendering a simple dom doesn't have the issue.
I might be wrong at some level but is not that obvious or direct.
Thank you, @siriwatknp

Thanks for the feedback-
npm link will cause multiple versions of React to be included if both the current and linked repositories have React installed.
Closing in favor of https://github.com/facebook/create-react-app/issues/3883


I was trying to use this option REDUCED_REDUNDANCY.
From the AWS docs:
http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/S3.html#putObject-property
Tried a few variations of capitalization on the storageClass key, but wasn't able to get it to take. Are the options passed through one at a time--so that an option you haven't specifically handled won't get sent to the AWS api, or are they sent through exactly as I type them?

H there!
I haven't used it myself but in theory if you use the params option with the StorageClass key, it should be sent along. If it's not, then there might be a bug and I should investigate.
You can see here that the upload object is taking what's in params: https://github.com/MathieuLoutre/grunt-aws-s3/blob/master/tasks/aws_s3.js#L692

Yup, that works great. I forgot params is the key to just pass options on to AWS. Thanks!

No problem! Glad it's working!


Update user guide and developer guide individual sections

Coverage remained the same at 83.631% when pulling 40d7b57f48d409b872b87507125019776fa4a587 on update-documentation-rachael into 7cf8f6f76fa3903a51872b4f0b39a602423f7a94 on master.

Coverage remained the same at 83.631% when pulling dcdadedd85cba0cc8f55935a776517b8ebab7ef1 on update-documentation-rachael into 7cf8f6f76fa3903a51872b4f0b39a602423f7a94 on master.

Coverage remained the same at 83.631% when pulling dcdadedd85cba0cc8f55935a776517b8ebab7ef1 on update-documentation-rachael into 7cf8f6f76fa3903a51872b4f0b39a602423f7a94 on master.


Transformation DCR Not Working

Describe the bug
I'm having issue with ingest-time transformation. The below notification appear at the top of Tables page of Log Analytics Workspace. I realized the transformations are not working (e.g Syslog table transformation for CEF messages)
There is not removed transformation DCR but I deleted my current transformation DCR and re-create with different name and created transformations for Syslog and LAQuery tables for a workaround. But it's not working and this notification still there.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

Hi @t0neex, Thanks for flagging this issue, we will investigate this issue and get back to you with some updates by 27-02-2023 . Thanks!

Hi @t0neex ,Could you please share more details with replication steps of the issue in detail with screen shots

Hi @t0neex, waiting for your response, on above comment. Thanks!

Hi @t0neex, Gentle Reminder: We are waiting for your response on this issue. If you still need to keep this issue active, please respond to it in the next 2 days. If we don't receive a response by 22-08-2023 date, we will be closing this issue.
Thanks!

Hi @t0neex, since we have not received a response in the last 5 days, we are closing your issue #9982 as per our standard operating procedures. If you still need support for this issue, feel free to re-open at any time. Thank you for your co-operation.


Get GROUP_STRUCTURES to show up in documentation

Looks like .. autodata:: is the way to go.

Thanks!


When do you expect to support saving?

Discussed in https://github.com/bigcat88/pillow_heif/discussions/18

Originally posted by dust-to-dust March 21, 2022
I tried to convert the format, but find this only😂😂😂.
def write_heif():
    raise NotImplementedError("not done yet")
```</div>

@dust-to-dust, version with encoder was released :)
@XiaoqiangZhou maybe you will find this useful, too.(there is an example of encoding .gif to .heic)
P.S.: Pillow's encoder parameter: append_images  -  is not supported yet, maybe will be in 0.2.1 or 0.2.2. Depends if someone need it ot not.

OK, thank you very much.


system winget install

When running in system context (runAsUser:false), attempt to use a system installer for that winget package, if available.
With this change I am able to install vscode and notepad++ during provisioning without runasuser

works with powertoys and azcopy too, i'm going to figure if I can get % of winget packages with system installer support, i've heard a 70% number thrown around but need to check


ios crash on version 1.14.0

i installed both Yoga and YogaKit of version 1.14.0(newest on cocoapods)  in a completely new project.
and here is the code:
[self.view configureLayoutWithBlock:^(YGLayout * _Nonnull layout) {
layout.isEnabled = YES;
layout.paddingTop = YGPointValue(50);
layout.alignItems = YGAlignCenter;
}];
UIView *v = [[UIView alloc] init];
v.backgroundColor = [UIColor redColor];
[self.view addSubview:v];
[v configureLayoutWithBlock:^(YGLayout * _Nonnull layout) {
    layout.isEnabled = YES;
    layout.width = YGPointValue(50);
    layout.height = YGPointValue(50);
}];

[self.view.yoga applyLayoutPreservingOrigin:YES];

every time i run it, it just crash with an exception:
Terminating app due to uncaught exception 'CALayerInvalidGeometry', reason: 'CALayer position contains NaN: [nan nan]'

I fixed in my fork cntrump/yoga

I fixed in my fork cntrump/yoga

could u explain why this exception excecute, and how do u fix it

I fixed in my fork cntrump/yoga

could u explain why this exception excecute, and how do u fix it

Sure, It is very simple
In function static void YGApplyLayoutToViewHierarchy(UIView *view, BOOL preserveOrigin)
width or height could be negative
.size = {
	      .width = YGRoundPixelValue(bottomRight.x) - YGRoundPixelValue(topLeft.x),
	      .height = YGRoundPixelValue(bottomRight.y) - YGRoundPixelValue(topLeft.y),
	    },

After fixing
	      .width = MAX(0, YGRoundPixelValue(bottomRight.x) - YGRoundPixelValue(topLeft.x)),
	      .height = MAX(0, YGRoundPixelValue(bottomRight.y) - YGRoundPixelValue(topLeft.y)),

and, this is my PR https://github.com/facebook/yoga/pull/913

I fixed in my fork cntrump/yoga

could u explain why this exception excecute, and how do u fix it

Sure, It is very simple
In function static void YGApplyLayoutToViewHierarchy(UIView *view, BOOL preserveOrigin)
width or height could be negative
.size = {
	      .width = YGRoundPixelValue(bottomRight.x) - YGRoundPixelValue(topLeft.x),
	      .height = YGRoundPixelValue(bottomRight.y) - YGRoundPixelValue(topLeft.y),
	    },

After fixing
	      .width = MAX(0, YGRoundPixelValue(bottomRight.x) - YGRoundPixelValue(topLeft.x)),
	      .height = MAX(0, YGRoundPixelValue(bottomRight.y) - YGRoundPixelValue(topLeft.y)),

Great! It worked. thanks my friend;

and, this is my PR #913

There is another issue, if i set a view yogaLayout like this:

and, this is my PR #913

there is another issue, if i set a view yogaLayout height < 1, code like this:
[view configureLayoutWithBlock:^(YGLayout * _Nonnull layout) {
layout.height = YGPointValue(0.5);
}];
eventually the view height will be rendered as 0.67,  and occasionally be 1.
and this situation only happens on iPhone 8 plus , x , xs max; iPhone 8 7 6  are fine.
so i think this may relevant with screen scale

and, this is my PR #913

there is another issue, if i set a view yogaLayout height < 1, code like this:
[view configureLayoutWithBlock:^(YGLayout * _Nonnull layout) {
layout.height = YGPointValue(0.5);
}];
eventually the view height will be rendered as 0.67, and occasionally be 1.
and this situation only happens on iPhone 8 plus , x , xs max; iPhone 8 7 6 are fine.
so i think this may relevant with screen scale

It is not a bug, it is aligned to the pixel:
ceil(0.5 * scale) / scale

on iPhone 8p, scale is 3, so the reuslt is 0.6666666

and, this is my PR #913

there is another issue, if i set a view yogaLayout height < 1, code like this:
[view configureLayoutWithBlock:^(YGLayout * _Nonnull layout) {
layout.height = YGPointValue(0.5);
}];
eventually the view height will be rendered as 0.67, and occasionally be 1.
and this situation only happens on iPhone 8 plus , x , xs max; iPhone 8 7 6 are fine.
so i think this may relevant with screen scale

It is not a bug, it is aligned to the pixel:
ceil(0.5 * scale) / scale

on iPhone 8p, scale is 3, so the reuslt is 0.6666666

cool! It is so glad to discuss this with you. coz nearly no one use yogakit around me :)

and, this is my PR #913

there is another issue, if i set a view yogaLayout height < 1, code like this:
[view configureLayoutWithBlock:^(YGLayout * _Nonnull layout) {
layout.height = YGPointValue(0.5);
}];
eventually the view height will be rendered as 0.67, and occasionally be 1.
and this situation only happens on iPhone 8 plus , x , xs max; iPhone 8 7 6 are fine.
so i think this may relevant with screen scale

It is not a bug, it is aligned to the pixel:
ceil(0.5 * scale) / scale

on iPhone 8p, scale is 3, so the reuslt is 0.6666666

cool! It is so glad to discuss this with you. coz nearly no one use yogakit around me :)

😁🤝

if you feel alone just try https://creolabs.com/ it exports swift yoga code :)


feat(widgets/chart): add option to set the position of legend

Upstream: #628

Description

Add option to position the legend at corner. The option uses tui::layout::Corner emum that already made.
If the layout have axis title, the layout draw the legend position above x axis title or under y axis title.
Related Issue #335
Testing guidelines

Currently, not add test.

Checklist

[x] I have read the contributing guidelines.
[ ] I have added relevant tests.
[ ] I have documented all new additions.

In order to complete this PR it requires:

[ ] Unit tests
[ ] docs
[ ] decide how to handle positioning for centered legends (is there an approach that is open to future implementation perhaps?)

Marked as Draft and up for grabs

Is there any update, here?
If no one work now, could I continue this PR?

@lyuha No I don't think anybody is working on this. I'd recommend that for simplicity's sake you reopen this PR as this one was imported from the original tui-rs project. As soon as you do so I'll close this one :)

This issue was closed due to it becoming stale. Feel free to reopen and work on this.


Used  JaveScript Code Can't used

i used the dynamic text  javescript code to  achieve thousandths  1200=> 1,200
But it cant run
can you help me

@yens01 <script> tag is unsafe to use like that, and I would not recommend doing it that way.
I would suggest implementing a Handlebars handler instead: https://volkovlabs.io/plugins/volkovlabs-dynamictext-panel/code#define-custom-handlebars-helper
Let me know if it helps.

thank you
i succeeded

@yens01 Awesome, let us know if there is anything else.


marketplace-2.html

In Figma file it was colored completed , but code is not present for this desktop filter .
screenshot:

@Rajdip019 once you check .

@hritikbhattacharya good job
Congrats 🎉, your PR got merged. To be eligible for the swags from ClueLess. Follow this steps.

Star this repository. ⭐
SignIn / SignUp in [ClueLess Website](https://www.clueless.tech/) .
Go to profile section from the top right hand corner.

Comment your profile URL under this comment tagging the person who merged your PR.

That’s it. Follow the leaderboard !
And don’t forget to share your achievement with your friends.


numpy version requirement problem with torchbench

Torchbench forces the install of numpy 1.21.1 in its environment and since milabench wants 1.22.3+ this is not compatible.
We get the version from torchbench because it installs its things after milabench is itself installed.
This leads to the benchmark crashing with an error about the numpy version.

The dependency has been relaxed, so this should be OK now.


leader proxy refactor

this is moved from phabricator... it had a down vote by @jeschkies for the follow very good reasons:
It seems a little strange that the input stream is not used explicitly in the block. How about
scala
val in = request.getInputStream
val out = response.getOutputStream
try {
 ...
} finally {
  IOUtils.closeQuietly(in, out) // IO.using is already doing this
}

--
279 | copyRequestToConnection is using IO.using which already closes the connection.
306 | How about using Apache commons IO
try { body }
finally { IOUtils.closeQuietly(closables:_*) }

308 | Why not a try-catch?
310 | Should this rather be a warn?
311 | I think we should use Done instead since it's used in other cases as well.
https://phabricator.mesosphere.com/D1023

@kensipe, what is the state of this patch?

Superseded by #5829.


feat(labware-designer): add prototype react-based sandbox-style live labware editor

Overview
This prototype grew out of pairing and conversations with @StevenPlonk , @sakibh , @ncdiehl11 , and @ramifarawi !
Create a basic graphical interface  (via labware-designer dev server) to the two internal labware creation methods, createRegularLabware and createIrregularLabware.
It has small affordances to:

switch between 'regular' and 'irregular' labware creation
change the slot that the labware renders to
choose to render labware onto deck, or standalone

Also, migrated source to TypeScript.
Here's what it looks like:
https://user-images.githubusercontent.com/4731953/123345423-0129fd00-d524-11eb-826b-11fd5cb4666c.mov
Good Next UX Steps

Instead of "silently" logging errors to the console, it would be great if errors were surfaced in the UI. Perhaps using a component like the AlertItem from @opentrons/components.
It'd be great to have the output definition validated against the schema.

Changelog

add React root to project
build out basic CreateLabwareSandbox component
migrate source to typescript
update readme
add basic unit test for expected component functionality

Review requests

Give it a try and see if it's easy enough to use
think about what would make it better
call out anything that looks fishy in the code

Risk assessment
low, this is an only internal utility for now

@sakibh Copying a raw JS object into the console to interact with the createIrregularLabware function directly doesn't necessarily translate well to a form. Forms in general like to deal with strings and there are many utilities available within JS for parsing and manipulating JSON objects. It's possible to make the input take a JS Object instead of a JSON object though there is a bit of extra leg work necessary to have the indentation etc. that makes it more readable. If it is more convenient to manipulate the input object as a JS object than a JSON object, that would be a neat little feature you could implement as a follow up within this tool.
@ramifarawi I've added in the well labels, there is a prop on the LabwareRender component called showLabels that controls whether or not the labels render.  Feel free to play around with the other props that RobotWorkspace and LabwareRender get in this file labware-designer/src/organisms/CreateLabwareSandbox/index.tsx


updated post-vote release instructions

@rabbah - I think I managed to apply all the suggested updates; github was being a bit flaky and I had to do a few of them manually instead of accepting the proposed change.


Replace ARel "exists?" with "count >= 1" due to ARel bugs against SQL Server

ARel generates invalid SQL for SQL Server from the statement:
collection.reorder('').limit(1).exists?
If changed, to the equally performant form:
collection.reorder('').limit(1).count >= 1
The SQL is correct.
While I understand this is a bug in ARel (or the activerecord-sqlserver-connector), this seems so innocuous and helpful, I thought I'd ask.
Thank you!

This is not an ARel related bug? Just asking. I think AA is not dedicated to work around ARel bugs.

No, AA should not be dedicated to working around bugs. However, no framework is perfect and I would suspect all gems need to make occasional accommodations. This changes is syntactic, not semantic. It affects one line of code only. And, ARel is far from finished (IMHO) and gems will need to continue to adapt.

I understand that this is preventing AA from working with SQLServers. However, I would rather see a pull request here: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter than in ActiveAdmin. :)


Migrate to Manifest v3

It may conflict with Google Maps API unsafe eval.
https://developer.chrome.com/docs/extensions/mv3/intro/mv3-migration/#code-execution


jsonpb - enum can have uint32 values that doesnt not match declared enum constant

For example if we have :
message Example {
	optional Test test = 1;
}

enum Test {
	test1 = 1;
	test2 = 2;
}

And we send :
{
	"test":0
}

or :
{
	"test":3
}

The message is accepted by the jsonpb.Unmarshaler. It is possible to check the numeric value ?
Thanks a lot

I can't see anything specific in the jsonpb spec, but the wire format (which is meant to be roughly equivalent) doesn't say that enums are closed. Enum values that aren't known about are left up to the implementation, and Go (like C++, I believe) permits any int32 value for an enum, in both the wire format and jsonpb.


stake-pool-cli: Add best practices for fees, prevent zero fees

Problem
People can shoot themselves in the foot by creating pools with no fees.
Solution
Only allow creating a pool with zero fees given a --yolo flag, and add some best practices around fees.
@bennofs can you take a look specifically at the "Best Practices" section in the Fees page?  I only added absolute minimums there, so we may want to more forcefully suggest higher numbers.  Or you may have calculated some totally different values!

I the quickstart guide, I think this would be a good place to link to the fee guide as well:

In our example, we will use fees of 0.3%, a referral fee of 50%

just to tell people where they can read up on how to decide on fees.
Other than that, I think just preventing zero fees is okay, as there are IMO no real hard limits on these fees. It depends on how much risk the pool is willing to take, and if it becomes a problem the fees can still be adjusted, so a pool with good monitoring may opt to set lower fees than a "deploy and forget"-style pool :)

Thanks for all the feedback!


Import querys direct from Geochaching.com

It would be nice to import querys direct from Geochaching.com

This will get a very low priority IMHO, because there are a lot of more important things to do. Prior to this we must implement the connector interface.


docker error

I tried to run it using docker, but get following errors:
is the volume path correct? or is there an other error?
docker run -d \     --name tvhgo \     -p 9983:8080 \     -e 'TVHGO_TVHEADEND_HOST=<IP_ADDRESS>' \     -v /volume1/docker/tvhgo:/tvhgo \     --restart unless-stopped \     ghcr.io/davidborzek/tvhgo:latest
2024/04/20 15:03:30,stdout,2024-04-20T13:03:30Z FTL ../build/cmd/server/server.go:51 > failed to connect to database error="unable to open database file: no such file or directory"
2024/04/20 15:03:30,stdout,2024-04-20T13:03:30Z INF ../build/cmd/server/server.go:47 > tvhgo started pid=1
Kind regards,
Ivan.

Hey, the command looks correct, did you check the permissions of the /volume1/docker/tvhgo directory?
tvhgo runs as 1000:1000 (normally this should be your default non-root user). Try to set these using:
chown -R 1000:1000 /volume1/docker/tvhgo

I will add these information to the docs.


We need to include graphviz in the container for dotfile compilation.

We now have different targets in the Makefile, for building the article on the system, or inside the container: make article and make container-article. The former works if graphviz is present on the system, the latter universally fails right now.
Any ideas how best to include graphviz in the image @asmacdo ? It's this bad boy here → https://gitlab.com/graphviz/graphviz/

Here's where we build the latex image.
https://github.com/con/opfvta-replication-2023/blob/master/code/images/Containerfile.latex

As of https://github.com/con/opfvta-replication-2023/commit/afaeaeddc9240af815086853d3d0f9016fb8f421 , this still fails:
Latexmk: 'pdflatex': source 'data/topology' doesn't exist.
   I'll try making it with allowed extensions
------------
Running 'make "data/topology.jpg"'
------------
make: *** No rule to make target 'data/topology.jpg'.  Stop.
------------
Running 'make "data/topology.pdf"'
------------
pushd data; dot -Tpdf topology.dot -o topology.pdf 2> topology.log
/data/data /data
Makefile:41: recipe for target 'data/topology.pdf' failed
make: *** [data/topology.pdf] Error 127
------------
Running 'make "data/topology.png"'
------------
make: *** No rule to make target 'data/topology.png'.  Stop.
------------
Running 'make "data/topology.tex"'
------------
make: *** No rule to make target 'data/topology.tex'.  Stop.
Latexmk: Summary of warnings:
  Latex failed to resolve 15 citation(s)
Latexmk: Errors, in force_mode: so I tried finishing targets
Collected error summary (may duplicate other messages):
  biber article: Biber errors: See file 'article.blg'
  pdflatex: Command for 'pdflatex' gave return code 256
make: *** [Makefile:44: container-article] Error 12
[deco]~/docsrc/opfvta-replication-2023/paper/source ❱ cat data/topology.log
/bin/bash: dot: command not found

It appears to be the correct package name → https://manpages.debian.org/stretch/graphviz/dot.1.en.html

Completed


fix(query): fix overflow for capture count

TSQueryMatch#capture_count returns an uint16_t, but currently it is handled as signed Java short, for example a match with Short.MAX_VALUE + 1 captures leads to:
java.lang.IllegalArgumentException: Illegal Capacity: -32768
	at java.base/java.util.ArrayList.<init>(ArrayList.java:161)
	at io.github.treesitter.jtreesitter.Query$MatchesIterator.tryAdvance(Query.java:549)
	...

Side note: It seems the capture count can also overflow uint16_t internally in tree-sitter.

The workflow failed because GitHub doesn't allow PRs to access variables…


Switch from surface2 to overlay1 for comments

Looking at https://github.com/catppuccin/catppuccin/blob/dev/docs/style-guide.md, I believe comments should be styled with overlay1, not surface2. At the very least, surface2 was tough to read for me.

Merging, thanks!


Replace password by OAuth token

You should change the password now, this will break existing „connections“, but should be better than GitHub shutting down that account :+1:

Oh, I see: The OAuth-Token does not work: oauth_authorization.destroy – Personal access token (API) deleted automatically (found in a public repository)

Couldn't this be fixed by appending some random character into spots of the token then removing them before connecting? IE Splitting the token with a |?

The oauth token should be in a different file/environment variable.


Rename 'canonical' to 'documents'.

The old method is still supported and issues a warning.
Closes #618. See that issue for context and motivation.

Includes new test that checks that the other methods work and issue a wanring.


replace ST_Intersects with observation_places wherever possible

We're denormalizing the observation-place relationship, so we should use it. Currently ST_Intersects is prohibitively slow for complex boundaries. In the past we've used grossly simplified boundaries (we still have a lot of these), but as we get more people operating at the edges of places and frustrated by the lack of spatial resolution (is it in Texas or Mexico?! How can it be in both?) we will need to support better boundaries.
This should probably wait until after the rails4 upgrade, since it will touch a lot of finder queries that we're modifying for rails4.
Also, this may cause frustrations or outright problems with the delay in updates to observation_places, e.g. checklists updating their stats when an obs gets created but not actually accounting for that obs b/c the denormalizer hasn't run yet. @pleary, have you put any thought into how we might do the denormalization more frequently or in response to changes in observations?

I have the denormalization set up to happen after_save on observations https://github.com/inaturalist/inaturalist/blob/master/app/models/observation.rb#L2513 . But the de-nomalization can still get thrown off when place geometries get imported, modified. Might be easy enough to do that level of denormalized in a delayed job


limit on coordinate storage is mis-applied

Reported by ansley b manke on 27 Aug 2013 23:59 UTC
Kevin ran into a dataset with 710040 points on the time axis: 80 years of data at 1-minute resolution.

yes? use "http://uhslc.soest.hawaii.edu/thredds/dodsC/uhslc/fdh/OS_UH-FDH556_20130819_R"
 **TMAP ERR: limit on storage for coordinates has been reached
             MAX=      750000

It turns out this axis is regular, but Ferret is saying, if it doesn't know up front that the axis is regular, then don't read the coordinates at all unless there are 2*npts storage locations available, to keep track of the coordinates and coordinate bounds.
We should read the coordinates and test for regularity if we have npts locations available. If it is regular, we need only the small amount of storage to keep the start, delta, and npts. If it's not regular, require another ntps in order to store coordinate bounds.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2090

Comment by ansley.b.manke on 28 Aug 2013 16:23 UTC
This is fixed in cd_read_1_axis.  Read the coordinates if there's space for them, and check for regular spacing. We could go beyond this, reading an even longer axis in chunks, testing as we go for regular spacing. I'll leave that for another time.


Add batch delete functionality to all submissions view

Fixes https://github.com/OpenTechFund/hypha/issues/1964
The pr adds the following functionality:
Now at /apply/submissions/all admin can select and delete submissions:

Yeah, by admin do you mean Superusers or Team admin group? We can also have some criteria like allow deleting submissions that are in the screening stage only.

Most likely team admin I think. Will talk it over with OTF.


Change context menu shortcut from W to A

Description of the new feature / enhancement
Currently, right clicking and pressing W cycles through PowerRename and New, can we change the right click shortcut menu of PowerRename to X?
A better workflow would allow users to create new folders without having to cycle through between the two context menu entries.
I've found the place where I can change it manually, but it would be great to not have to manually change it every time powertoys gets a new update.
src/modules/powerrename/dll/Resources.resx
<value>Rename with Po&werRename</value>
Scenario when this would be used?
Posted a screenshot the right click context menu and you can see PowerRename uses W and

Supporting information
No response

I just ran into this myself today. I use the "W" shortcut for "New > Something" quite often. (ie: W>F for New Folder; W>T for New Text File; etc.)

/dup https://github.com/microsoft/PowerToys/issues/27231


Feature/3247 json metric type - add field "metric_type" to metric.json file

Submission Checklist

[x] Run unit tests: ./runTests.py src/test/unit
[x] Run cpplint: make cpplint
[x] Declare copyright holder and open-source license: see below

Summary
Add field "metric_type" with values "diag_e", "dense_e", and "unit_e" to json metric file.
Intended Effect
Make it easier to restart sampler - always specify metric type.
How to Verify
Unit tests will be added to CmdStan's tests of this feature once this PR is merged.
Side Effects
N/A
Documentation
N/A
Copyright and Licensing
Please list the copyright holder for the work you are submitting (this will be you or your assignee, such as a university or company):   Columbia University
By submitting this pull request, the copyright holder is agreeing to license the submitted work under the following licenses:

Code: BSD 3-clause (https://opensource.org/licenses/BSD-3-Clause)
Documentation: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)

changes made; ready for re-review


better readme

docs: change quick start headers
fix: readme with details

:tada: This PR is included in version 1.3.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Creating custom link

Firstly, thanks so much for putting this library out there - as some background I'm spiking out whether it is feasible that we can port an internal graphical application to Blazor from JS.  I've found it easy to use so far.
The application uses a kind of 'family tree' view and the built in AngledLink unfortunately does not break the line in the right place.  I was seeing if I could derive a custom link type and do the drawing myself.
What I've tried (following the StraightLink and AngledLink examples) from the repo:

Inherited from LinkBase
Drawing lines from ControlPoints.First() and ControlPoints.Last()

In my inherited component I am not seeing ControlPoints be populated and Source.X & Y aren't accessible because they're internal fields.  Is there an example available of how to do a custom link in a similar way to that available for the custom node example?

Hi @owenmorris,
thanks for your feedback. You're right that currently drawing custom links is not working. I'll add that to my backlog which I will start working on next week (as I'm still taking a few days off).
Thanks for your patience,
Stefan

Hi Stefan, I made the changes in the attached pull request  (#74)  locally, which allowed me to carry on.  Would appreciate any feedback when you get back from your break.

Hi @owenmorris,
thanks for submitting the PR. Is this really the only change necessary? I'm a bit surprised :-D
Stefan

Yes, I had to cargo-cult in the following snippet from one of the other components to get it to render, but that was all I needed for my fairly basic needs for this!
  if (ControlPointMethods == null)         {             ControlPointMethods = new List<Func<(double X, double Y)>>();         }
Could that go into LinkBase too?

That code couldn't be part of link base, as it is specific to the type of link. I'll think of the best way to make this work nicely. Let me just first merge the PR, so that you can continue working with the packaged version. More convenience to come soon...

Looks good, thanks again!


DRS failed for cluster if have another cluster in zone

ISSUE TYPE

Bug Report

COMPONENT NAME

CLOUDSTACK VERSION

CONFIGURATION

OS / ENVIRONMENT

SUMMARY
We have zone1 where we have two clusters ex- cluster01 and cluster02 ,
Where cluster01 have 3 hypervisors with same h/w model and cluster02 has one hypervisor with dfifferent h/w model.
I have enabled drs setiings in globals setting and then disbaled it for cluster02 in cluster setting "drs.automatic.enable -- false" but enabled for cluster01 .
In the above scenario drs plan failed with below logs -
2024-02-08 10:26:33,532 DEBUG [c.c.s.ManagementServerImpl] (VMSchedulerPollTask:ctx-0bba1590) (logid:f0f7966b) Hosts having capacity and suitable for migration: [Host {"id":25,"name":"node-cluster01","type":"Routing","uuid":"5d145861-e4ad-4f94-a805-266711321d59"}, Host {"id":40,"name":"node-cluster02","type":"Routing","uuid":"66b47d2a-b047-452c-b5d3-65c160666b50"}, Host {"id":48,"name":"node-cluster01","type":"Routing","uuid":"da1be373-cd08-4ae1-948f-7592daabb3fc"}]
2024-02-08 10:26:33,535 ERROR [o.a.c.c.ClusterDrsServiceImpl] (VMSchedulerPollTask:ctx-0bba1590) (logid:f0f7966b) Unable to generate DRS plans for cluster Cluster-Z01 [id=5366c5fb-0ed0-4caf-b2c7-93ebea15a717]
If i disable host from cluster02 our drs works  as expected and migrated VMs based on load . But when we have both clusters and all nodes in cluster enabled its failed to generate plan.
Below are cluster level settings for reference from DB.
621 |          1 | drs.automatic.enable                                               | true                                                 |
| 622 |          1 | drs.automatic.interval                                             | 10                                                   |
| 623 |          1 | drs.imbalance                                                      | 0.4                                                  |
| 624 |         16 | drs.automatic.enable                                               | false
Even tried by keep it disabled in global settings and then enable it for just one cluster in cluster settings.
As our use case is where we have multiple clusters in same zone with different type of h/w.
STEPS TO REPRODUCE

EXPECTED RESULTS

cc @vishesh92

@yashi4engg I am not able to reproduce the issue. DRS runs independently for each cluster and this shouldn't be happening.
Can you share the complete logs including the error as well as more details about your clusters?

@vishesh92  -- While trying to reproduce above error I am in another issue where when trying to migrate VMs back to one node getting below error - '
2024-02-08 16:12:14,043 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (Work-Job-Executor-4:ctx-d7001bd1 job-297243/job-297244) (logid:71937cca) Remove job-297244 from job monitoring
2024-02-08 16:12:14,081 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-4:ctx-e6ce6a44 job-297243) (logid:71937cca) Unexpected exception while executing org.apache.cloudstack.api.command.admin.vm.MigrateVMCmd
com.cloud.utils.exception.CloudRuntimeException: API failed due to: {"message":"The license has expired","httpStatusCode":500,"errorCode":159}
at org.apache.cloudstack.storage.datastore.driver.ScaleIOPrimaryDataStoreDriver.grantAccess(ScaleIOPrimaryDataStoreDriver.java:206)
at org.apache.cloudstack.storage.volume.VolumeServiceImpl.grantAccess(VolumeServiceImpl.java:249)
at org.apache.cloudstack.engine.orchestration.VolumeOrchestrator.prepareForMigration(VolumeOrchestrator.java:1512)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163)
at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:97)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
at com.sun.proxy.$Proxy227.prepareForMigration(Unknown Source)
at com.cloud.vm.VirtualMachineManagerImpl.migrate(VirtualMachineManagerImpl.java:2731)
at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrate(VirtualMachineManagerImpl.java:2680)
at com.cloud.vm.VirtualMachineManagerImpl.orchestrateMigrate(VirtualMachineManagerImpl.java:5484)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.cloud.vm.VmWorkJobHandlerProxy.handleVmWorkJob(VmWorkJobHandlerProxy.java:107)
at com.cloud.vm.VirtualMachineManagerImpl.handleVmWorkJob(VirtualMachineManagerImpl.java:5581)
at com.cloud.vm.VmWorkJobDispatcher.runJob(VmWorkJobDispatcher.java:102)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:654)
at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:48)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:55)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:102)
at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:52)
at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:45)
at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:602)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: org.apache.cloudstack.api.ServerApiException: API failed due to: {"message":"The license has expired","httpStatusCode":500,"errorCode":159}
at org.apache.cloudstack.storage.datastore.client.ScaleIOGatewayClientImpl.checkResponseOK(ScaleIOGatewayClientImpl.java:263)
at org.apache.cloudstack.storage.datastore.client.ScaleIOGatewayClientImpl.processResponse(ScaleIOGatewayClientImpl.java:359)
at org.apache.cloudstack.storage.datastore.client.ScaleIOGatewayClientImpl.post(ScaleIOGatewayClientImpl.java:342)
... 39 more

@yashi4engg The error log you have shared seems to be truncated. Can you share the complete error log?
Also, a cloudstack cluster supports only one hypervisor. It's possible the error is happening because of your current setup. The complete error logs might help in identifying the issue.

We were able to fix above errors and good to close this.
Now DRS is working as expected for us . It was due to zone level storage pool.

@vishesh92  -- it works fine where we have primary storage as NFS ..But its not working where we are using OCFS2 FS as primary storage pool in cluster.Even while generating DRS plan manually i am not seeing error it shows success but not getting any plan .
below are logs -
[root@test01 ~]# cat /var/log/cloudstack/management/management-server.log |grep -i edcf30ae
2024-04-16 10:43:57,568 DEBUG [o.a.c.c.ClusterDrsServiceImpl] (VMSchedulerPollTask:ctx-cf16f762) (logid:edcf30ae) ClusterDRS.poll is being called at 2024-04-16 14:44:00 GMT
2024-04-16 10:43:57,579 DEBUG [o.a.c.c.ClusterDrsServiceImpl] (VMSchedulerPollTask:ctx-cf16f762) (logid:edcf30ae) Removed 0 old drs migration plans
[root@test01 ~]# cat /var/log/cloudstack/management/management-server.log |grep -i edcf30ae
2024-04-16 10:43:57,568 DEBUG [o.a.c.c.ClusterDrsServiceImpl] (VMSchedulerPollTask:ctx-cf16f762) (logid:edcf30ae) ClusterDRS.poll is being called at 2024-04-16 14:44:00 GMT
2024-04-16 10:43:57,579 DEBUG [o.a.c.c.ClusterDrsServiceImpl] (VMSchedulerPollTask:ctx-cf16f762) (logid:edcf30ae) Removed 0 old drs migration plans
where as in my cluster VM count is like, i set drs.imbalance to 1.0 as well -
node1 - 150VM
node2 - 150 VM
node3 - 1 VM

@yashi4engg Are you able to manually migrate a VM to another host in your cluster?

@yashi4engg It's good to know that you are interested in DRS. But please open a different issue or a discussion if the problem is different. It makes it easier for the community to manage the issues.
There were some changes in https://github.com/apache/cloudstack/pull/8521 which will be released as part of <IP_ADDRESS> release. I am not sure if this will fix your issue or not. You can try out the current 4.19 branch to check.
Apart from this can you share the below information?

Which drs.algorithm are you using?
Are all the hosts in the cluster homogeneous? Details about the host & VMs CPU/memory deployed in the cluster.

@yashi4engg do you have the possibility to test PR #9243?

Closing this, fixed in #9245. @yashi4engg you can create another issue with any other DRS issues/improvements.


Add dependencies and svg config for RN

Fixes #47.

Changes proposed in this Pull Request:

Add dependencies necessary to use svg's in RN
Add config for svg's in RN
Add react-native-safe-area-context dependency
Update react-native-components to latest

Looks good, can you bump the version in the package.json and then open a PR to master so we can get that expo fix live? I'm about to look at the helpers PR, so that should be good to go at the same time.

Forgot you are out today...i got you covered.


Config contract and imp in rsbind.toml.

need this feature..

OK! Make priority higher!

Can join the QQ group (README), if can.

why the discord invite url was expired

Discord is hard to connect, I cant connect it for two weeks.

你需要翻墙 = =

公司VPN

I find an issue when doing the implementation, I can not get the mod path from a file path, with which I can import this mod to the bridge crate.

So Maybe we can just config a first-level dir or file name.

What I can do is to config the contract dir/file name and imp dir/file name.

https://github.com/afoxer-com/rsbind/pull/63

或许也可以针对不同平台配置不同的文件名或者目录，比如我现在遇到的场景就是针对ios和android 在contract内定义的trait 方法不那么一样

It make sense.

Now you can config in every target.

https://github.com/afoxer-com/rsbind/pull/64

Please try and if any questions, don't hesitate to ask.


[WIP] Highlight selected topology

This PR tries to improve the highlighting of the selected topology label.
Trying to be consistent with new UI elements in the flux UI.

No border:

Light border:

Dark selected:

+1 for "No border" screenshot.

summon @rade

Ready for review:

That's Dark Selected; I thought we settled on No Border?

Review feedback:

LGTM


Expose serde::private::de::missing_field to make it easier for custom Deserialize impls to have that behavior.

I think the title says it all.

In serde_state I needed to modify it to work with DeserializeSeed so it may be worth extending it for that usecases or adding a *_seed function before stabilizing if that is desired

Custom Deserialize impls should not need missing_field. The derive(Deserialize) only needs it because there is no way for it to tell which fields are Option<_> during macro expansion.
Here is what Manually implementing Deserialize for a struct would look like with optional fields:
fn visit_map<V>(self, mut map: V) -> Result<Duration, V::Error>
    where V: MapAccess<'de>
{
    let mut secs = None;
    let mut nanos = None;
    while let Some(key) = map.next_key()? {
        match key {
            Field::Secs => {
                if secs.is_some() {
                    return Err(de::Error::duplicate_field("secs"));
                }
                secs = Some(map.next_value()?);
            }
            Field::Nanos => {
                if nanos.is_some() {
                    return Err(de::Error::duplicate_field("nanos"));
                }
                nanos = Some(map.next_value()?);
            }
        }
    }
-   let secs = secs.ok_or_else(|| de::Error::missing_field("secs"))?;
-   let nanos = nanos.ok_or_else(|| de::Error::missing_field("nanos"))?;
    Ok(Duration::new(secs, nanos))
}

I used this when writing a macro which effectively did #[derive(Deserialize)], only differently. So, yes, if you are manually implementing Deserialize for a specific thing, then you can know if something is optional. But that's not the use case I was intending with this request.

Ah that makes sense. I think this is part of a broader discussion around how to simplify the process of writing Deserialize impls in general. Just exposing missing_field would not make Deserialize easy to implement correctly, so I would prefer to leapfrog that and provide a better alternative instead.
It would help to understand how your generated implementations of Deserialize are different from serde_derive's ones. Can you come up with some ways that this Deserialize impl could be expressed in 10 lines instead of 50+ lines while also being applicable to your macro?

I did it as part of: https://github.com/amethyst/amethyst/pull/258/commits/8f216cca93ebd71a5e617ebe3a3609ebfd9bca19
I'm not entirely sure about the higher level picture at the moment. I'll give it some thought.


Implement Binary and FixedLengthBinary

What
Implements wrapper classes for Binary and FixedLengthBinary.
Why
These are generally useful, but specifically are needed for CAP-54.
Known limitations
Tests don't currently pass because binary host functions are not implemented in stellar-contract-env-host (cc @jayz22).

Resolves #147

Tests don't currently pass because binary host functions are not implemented in stellar-contract-env-host (cc @jayz22).

I updated my branch https://github.com/stellar/rs-stellar-contract-env/pull/131 with most of the binary functions. If you want, can give it a try. Or I can try land the particular ones you need first in order to pass your tests. (That PR will be pretty huge.)


Nested loops

Adds:
ability for nested loops
Fixes:
line count to handle loops
bug in typeDetermin error handlng

Awesome pull request!


[BUG] Harpoon docs show 2 defaults

Field
Description

Plugin
harpoon

Nixpkgs
-

Home Manager
-

[x] I have read the FAQ and my bug is not listed there.

Description
The Harpoon documentation shows defaults twice with contradictory defaults.
See here: https://nix-community.github.io/nixvim/plugins/harpoon/index.html
For example:

Minimal, Reproducible Example (MRE)
Not applicable this is a documentation problem.

programs.nixvim = {
}

Actually, this is the case for most of nixvim options.
There is a good reason for two defaults being shown.
When using nixvim, only the options that you explicitly set appear in the resulting init.lua file. We achieve this behavior by having all our options to default to null. They are then filtered out at the lua code generation step. This is why, in the documentation, most options have Default: null.
Now, we also want to communicate the default value set by the plugin itself for each option. We add this information in the option description. This is only informative and has no impact on the nixvim code. This is the reason for the other "default" in the documentation.
I hope this is clear.
I will close the issue as there is no "bug" here.


mailto: links issue

I get this error when trying to open mailto: links:
Application Error
net::ERR_UNKNOWN_URL_SCHEME
<EMAIL_ADDRESS>

Hello! Thanks for opening an issue with us! As this seems like more of a support question i will urge that you ask this question on our forum. Thanks for using Ionic!


Check Chrome version

make sure we don't install a wrong Chrome when building browsers image

Message on success
Image has the expected version of Chrome Google Chrome 73
found Google Chrome 73.0.3683.103

and failure
Problem: image has unexpected Chrome version
Expected Google Chrome 74 and got Google Chrome 80.0.3987.87

Exited with code exit status 1


This page doesn't render correctly using Microsoft Edge

This page doesn't render correctly using Microsoft Edge

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

ID: 532d66a6-fa01-54d3-1dfa-20d1889668bb
Version Independent ID: 6489c522-2148-e39a-92cc-6f631c065422
Content: Get started with the Data Protection APIs in ASP.NET Core
Content Source: aspnetcore/security/data-protection/using-data-protection.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hello @wildough57 ... open this over at :point_right: https://github.com/MicrosoftDocs/feedback/issues

I took the time to give you the Feedback your organization asked for.  If your webshite routed me to the wrong place, why TF do I need to fix that?On Oct 9, 2019 10:59 AM, Luke Latham<EMAIL_ADDRESS>wrote:Hello @wildough57 ... open this over at 👉 https://github.com/MicrosoftDocs/feedback/issues
—You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or mute the thread.

I understand your frustration, but we're very compartmentalized here. That's a whole different group of cats with their own repo. We redirect readers all the time here. Engineering problems go to the engineering repo ... doc build system problems go to the docs engineers ... Azure problems to Azure repo ... you get the picture. We don't work on the build system here ... just the docs content.
Anyway ... I opened the topic in Edge, and I don't see anything wrong ...

What are you seeing there? I'll open the issue over there if you provide a screenshot and/or description of what's breaking.

Hi Luke,
I can see that compartmentalization every day and you do have my sympathy.  If the word "organization" can be applied at all, it is of the Byzantine variety.  I see discussions where the participants are so anxious to point the finger at another group and close the threads that even the internal participants get annoyed.
I clicked the page feedback button.  If that goes to the wrong place I am sorry for you as the person who's getting dumped on . . . but it's also on you guys to fix it.  If the routing is incorrect, fix it.  If there needs to be someone in the organization to triage and redirect the feedback to the appropriate group, sounds like a management issue to me.  Please feel free to forward this to your management.
When I view that page, there is no text (code) in the areas with the light yellow background.
Attached is a screen capture using Snip.
I'd tell you what version of Edge I'm using but the convention of having Help -> About seems to be outta style.
Do what you will with this information.
It's time for me to go back to trying to work around the fact that there is ABSOLUTELY zero cohesion among Entity Framework Core, Asp.Net Core and SQL Server when it comes to encryption.
Cheers,Will

On Wednesday, October 9, 2019 11:59:50 AM EDT, Luke Latham<EMAIL_ADDRESS>wrote:
I understand your frustration, but we're very compartmentalized here. That's a whole different group of cats with their own repo. We redirect readers all the time here. Engineering problems go to the engineering repo ... doc build system problems go to the docs engineers ... Azure problems to Azure repo ... you get the picture. We don't work on the build system here ... just the docs content.
Anyway ... I opened the topic in Edge, and I don't see anything wrong ...
What are you seeing there? I'll open the issue over there if you provide a screenshot and/or description of what's breaking.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I didn't get the snip, but no worries ... I'll just open it and tell them that the yellow line highlighting isn't working in Edge and cross-link back to this issue. If they end up requiring a screenshot, they'll ping u here.
........ and yes, indeed on the version ... they may ask you later about your Edge version ... btw ... that's under Settings > General at the very bottom of the panel.

Sending the screen shot again.  Filename is Capture.PNG (very original).
Also trying simple paste.
On Wednesday, October 9, 2019 01:09:55 PM EDT, Luke Latham<EMAIL_ADDRESS>wrote:

I didn't get the snip, but no worries ... I'll just open it and tell them that the yellow line highlighting isn't working in Edge and cross-link back to this issue. If they end up requiring a screenshot, they'll ping u here.
........ and yes, indeed on the version ... they may ask you later about your Edge version ... btw ... that's under Settings > General at the very bottom of the panel.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

Try dragging the image file into the GH comment box.

Opened at https://github.com/MicrosoftDocs/feedback/issues/2016 for investigation.

@ wildough57  can you supply an image of what's not rendering correctly?

@wildough57 you can reply from email with a screen shot, you need to select the GitHub link at the bottom of the email and paste the screen shot here.
We've spent alot of time reviewing your complaint be we can't find a problem.

I think you meant they can't reply via e-mail with attachments.

Yeah, already tried that several times.  Besides, all that you would see is what I've already described.
Seems that my issue is only when viewing the page remotely using RDP.
It appears to be systemic because I've subsequently experienced the same thing on other pages.
Not an issue with Chrome or IE 11.  Also, sometimes I'll switch to a different window and then come back to Edge and I can see the text.
I'm calling it an Edge problem but maybe you guys should be aware. Sorry for the inconvenience.
Will
On Wednesday, October 9, 2019, 07:04:21 PM EDT, Rick Anderson<EMAIL_ADDRESS>wrote:
@wildough57 you can reply from email with a screen shot, you need to select the GitHub link at the bottom of the email and paste the screen shot here.
We've spent alot of time reviewing your complaint be we can't find a problem.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.

@wildough57  you keep replying by email, you need to post the image here.


DOC: minor fix for incorrect folder in quickstart

Minor change from examples/quick to examples/quick-start based on latest folder structure

Thank you for submitting this documentation fix! Apologies for the late response.
Can you submit a Contributor License Agreement so that we can review and merge this PR?

I've added this change to my other documentation changes that just merged. Closing this PR.


Create a rake task for updating user role data from string to integer

I rule and have completed some work on Case Manager that's ready for review!
I created a rake task for updating User role data from String to Integer. In order to change the role field totally you just need to run the rake task first which is rake user:update_role then after that change the field role type to Integer.
This pull request makes the following changes:

User model role field data

(If there are changes to the views, please include a screenshot so we know what to look for!)
It relates to the following issue #s:

Fixes #533

Current coverage is 98.71% (diff: 100%)

Merging #669 into master will not change coverage

@@             master       #669   diff @@
==========================================
  Files            27         27
  Lines           546        546
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            539        539
  Misses            7          7
  Partials          0          0

Powered by Codecov. Last update b90ae7a...5bf02b6

@colinxfleming I already pushed an update on this branch. I just reverse 0 and 1  in order to make it inline with #670

@pcofilada thanks again for lending your mongoid expertise to this project -- what I really appreciate is that this gives us a model for similar need going forward, which we'll be able to adapt as we make other db adjustments. Really appreciate it -- thank you so much!

@colinxfleming Sure no problem. I will look on other issues to do.


Don't Merge! PR real time test for source branch full build

Docs Build status updates of commit a5fd195:
:clock10: Pending: waiting for processors (25 builds ahead of you)
:warning: Docs Build is busy, currently there are 25 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit a5fd195:
:clock10: Full build: the average full build time is 6 min(s) 6 sec(s), this is based on the last 30 build(s) for this repository.

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

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


play audio on call

1. SDK version（SDK 版本）
{
SW_V2112_csdk
}

2. In what kind of operation problems appear, and how to reproduce the problem ?（什么样的操作步骤问题会出现，是否是稳定复现，如何复现问题？）
{
I stored an audio (amr) file in module successfully.How can I play it at the time of call?
}

can't play audio while making a call

At present I am using Mobiletek L206C module in which by AT+CMEDPLAY=1,1.amr,1,100 I can play voice response (not at the time of making call but after answer the call). So I only want to play voice after answering the call.

Any function to play saved voice after answering????

refer to mp3 play, but parameters different, see the header file (api_audio.h）

After start answering I used "AUDIO_Error_t ret = AUDIO_Play(path,AUDIO_TYPE_AMR,PlayCallback);" function which gives error 13 (AUDIO_ERROR_BUSY_CALLING).

yes, like most Feature phone, it can't play music(audio) when making a call

Is it possible in future?


[NEW ICON] Numpy, Scikitlearn, Matplotlib, Power BI, Excel, Seaborn, Pandas

Skill Name
Numpy, Scikit learn, Pandas
Why?
These are the important tools used by data scientists and machine learning engineers
Reference Image
following are the icons
numpy - python library for data science

pandas - python library for data sciene

matplotlib - python library for charts

scikit learn - python library for machine learning

powr bii - analysis tool for data scientists

microsoft excel

seaborn

@LelouchFR I noticed you already linked this issue to PR. However There is no MS Excel logo yet. It's really important tool for data analytics. I've seen 3 issues about MS Excel logo. Hope you can see this message and add the MS Excel logo asap.

@LelouchFR I noticed you already linked this issue to PR. However There is no MS Excel logo yet. It's really important tool for data analytics. I've seen 3 issues about MS Excel logo. Hope you can see this message and add the MS Excel logo asap.

Yeah I'm aware of that, it was made intentionally, because I would like to add not only one ms thing, but like all the suite and the libre office suite

@LelouchFR I noticed you already linked this issue to PR. However There is no MS Excel logo yet. It's really important tool for data analytics. I've seen 3 issues about MS Excel logo. Hope you can see this message and add the MS Excel logo asap.

Yeah I'm aware of that, it was made intentionally, because I would like to add not only one ms thing, but like all the suite and the libre office suite

Oh amazing! That's really good idea. Thank you for your information, hope to see them asap  🙌 🙌

hi @senolcemhan98 I got some news, I made a "fork" of the project (actually just rewritten it in go), so I added these icons in it, so if you want to use them, they are finally released, in rolling release, with some better performances and all of that type of stuff here, if you have other ideas of icons, you can open a new issue on my repository ;)
(since the maintainer didn't showed in literally months)


cli parameter conflit fix

-p for package and -py for python version

Codecov Report

Merging #88 into master will not change coverage.
The diff coverage is 100%.

@@           Coverage Diff           @@
##           master      #88   +/-   ##
=======================================
  Coverage   70.51%   70.51%
=======================================
  Files          24       24
  Lines        2147     2147
  Branches      236      236
=======================================
  Hits         1514     1514
  Misses        612      612
  Partials       21       21

Impacted Files
Coverage Δ

marvin_python_toolbox/management/engine.py
55.69% <100%> (ø)
:arrow_up:

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 f5306f6...7d872ae. Read the comment docs.


chore(main): bump version to 2.1.4

:robot: I have created a release beep boop
2.1.4 (2022-11-10)
Code Refactoring

e2e testing with better encapsulation (8b85ece)

Documentation

added PULL_REQUEST_TEMPLATE.md (fa40867)
improve documents + comments (75b562b)

Continuous Integration

changed dependabot schedule to daily (f27c9fa)

Chores

deps: upgrade dependency packages (c647868)
removed outdated errors (2ecdc98)
upgrade docker file node version to 18 (34aeca0)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/kenso312/nestjs-v9-webpack-boilerplate/releases/tag/v2.1.4 :sunflower:


[FLOC 4306] fix broken link

Fixes 4306
The URL for the Kubernetes Flocker information has changed from:
http://kubernetes.io/v1.1/examples/flocker/
to
http://kubernetes.io/docs/user-guide/volumes/#flocker

Thanks @davidoliverSP2
I checked the link in:

http://clusterhq-staging-docs.s3-website-us-east-1.amazonaws.com/brokenlink-kubernetes-FLOC-4306/kubernetes-integration/index.html#kubernetes-tutorials

I found another broken link though:

http://clusterhq-staging-docs.s3-website-us-east-1.amazonaws.com/brokenlink-kubernetes-FLOC-4306/kubernetes-integration/about.html#about-the-kubernetes-integration

Please fix that and then merge when you've got a green build.

Thanks @wallrj
Good spot


Model Description
Submodel describing the Sensor Data of an IoT Device.
https://confluence.catena-x.net/display/ARTV/(CEC)+Data+Modeling+requ.+[F05]+IoT+Device+Onboarding
Relevant Standards

Example Data

MS1 Criteria

[x] The proposed aspect model does not exist already
[x] The proposed aspect model does not extend an existing aspect but introduces completely new functionality
[x] The proposal references a Catena-X use case
[ ] Relevant standards are mentioned/linked
[ ] A first draft of the data structure is provided in an example

Maybe check https://reference.opcfoundation.org/DI/v104/docs/ if it might be applicable.


Update jacoco report

What happened 🤔
The report has shown only one module when we open index.html in browser from both modules.
This is a step for checking.

run ./gradlew jacocoTestReport testStagingDebugUnitTest
open index.html in browser from the data module, You will see the report only one module that is "com.nimble3.data..."
open index.html in browser from app module, The report has shown the same with data module that is "com.nimble3.data..." but it should be show "com.nimble3.ui..." or both modules.

Insight 👀
Update the directory file task jacoco in jacoco.gragle script.
We need to define a directory file for both app and data modules.
PoW (a.k.a Proof Of Work)💪
Run script -> ./gradlew jacocoTestReport, ./gradlew jacocoTestReport testStagingDebugUnitTest

Any reason we need [#43] in PR title?
cc @sleepylee

@Tuubz it's the Issues number for me when I created the other PRs before, this one doesn't seem to have it. If we have a board with ticket number then let's attach it, if not I think we can just ditch it

@Tuubz @sleepylee I will remove it.

@luongvo Could you please review this PR again?

@luongvo PR Updated.

@Tuubz @luongvo Updated.

@nimblehq/android-chapter guys we need two more approvals on this please 🙏

When running the gradle-script, I'm getting a small warning from jacoco:
Kotlin plugin should be enabled before 'kotlin-android-extensions'
Would you mind applying the change in build.gradle please 🙏

Looking good! 😁
I got one final question: Currently we only make reports for stagingDebug, would it be of any good use to have it for other variants as well?
cc @jean-t86 @luongvo @sleepylee

Looking good! 😁
I got one final question: Currently we only make reports for stagingDebug, would it be of any good use to have it for other variants as well?
cc @jean-t86 @luongvo @sleepylee

Traditionally, unit tests run in a sandbox completely cut off from any sort of integration. Where needed, those integrations are either mocked or faked. Therefore, it does not really matter against which build variant they run.
Having said that, for industry standards purposes, I would suggest having a develop environment and have the unit tests run against the developDebug build variant.
Having unit tests run against stagingDebug makes little sense in terms of proper nomenclature.
To understand why we need to look into the definition of staging.
In light of this, running unit tests which mock and fake their way into a sandbox make little sense to run against an environment named staging.
Amongst the risks is for developers to draw conclusions on the environment based on its naming, which would simply not stand true.
More on this here.

Alright, thanks for the clarification 🙏

Traditionally, unit tests run in a sandbox completely cut off from any sort of integration. Where needed, those integrations are either mocked or faked. Therefore, it does not really matter against which build variant they run.

I agree it would not make sense to have more than one report, as the data is mocked anyhow for all variants.

Having said that, for industry standards purposes, I would suggest having a develop environment and have the unit tests run against the developDebug build variant.

As we currently don't have a develop variant, and still discussing about it in https://github.com/nimblehq/compass/issues/291, I think we keep it with staging for now and change later on then.
cc @Wadeewee


Map zoom / move event missing

Version: 3.2.3
Would be great if there are "mapzoom" and "mapmove" events.
An example is a custom map showing pie charts:

I'd like to update position of pie charts when user zooms or moves the map:)
Or is there any workaround to this?

Actually - I was browsing the code and found the "geoRoam" event which does the job:) Is this an official event that can be added to docs?

Yes you can use geoRoam event. We didn't put it on the doc because it's event parameters are not that easy to use

geoRoam zoom data is wrong?


Wiki download link for 5.5.0 does not work.

Current Behavior
Go to https://github.com/UB-Mannheim/tesseract/wiki
Click on the following link:

The latest installers can be downloaded here:
tesseract-ocr-w64-setup-<IP_ADDRESS>41110.exe (64 bit)
A GitHub 404 page opens with the following URL: https://github.com/tesseract-ocr/tesseract/releases/download/5.5.0/tesseract-ocr-w64-setup-<IP_ADDRESS>41110.exe

Expected Behavior
Installer is downloaded.
Suggested Fix
No response
tesseract -v
No response
Operating System
Windows 11
Other Operating System
No response
uname -a
No response
Compiler
No response
CPU
No response
Virtualization / Containers
No response
Other Information
No response

Yes, I had to remove this installer because it did not work. Now there is a new one.


Vickel: Watch vasily-mesheryakov.com

Vickel requests the watch of the watch_keyword vasily-mesheryakov\.com. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

vasily-mesheryakov\.com has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Dragonrage in Charcoal HQ


Add conda-forge badge

I've created a conda-forge package for asyncqt, so I thought it would be nice to have it in the README. 👍

Thanks for taking care of that ;)!


python311Packages.regenmaschine: 2022.11.2 -> 2023.05.0

Diff: https://github.com/bachya/regenmaschine/compare/refs/tags/2022.11.2...2023.05.0
Changelog: https://github.com/bachya/regenmaschine/releases/tag/2023.05.0
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 232111 run on x86_64-linux 1

5 packages built:

home-assistant-component-tests.rainmachine
python310Packages.regenmaschine
python310Packages.regenmaschine.dist
python311Packages.regenmaschine
python311Packages.regenmaschine.dist


AggressiveSplittingPlugin with recordsPath set in production mode compile error the second time

Bug report
as the issuse [7520]: https://github.com/webpack/webpack/issues/7520 descibed when update to the lasted version in development mod problems solved but in production mod some new error triggered

What is the current behavior?
when compile the second time in production mode error triggered stack:
			for (const refModule of blockInfo.modules) {
			                                  ^

TypeError: Cannot read property 'modules' of undefined
    at Compilation.processDependenciesBlocksForChunkGroups (D:\pdd_web_personal\node_modules\webpack\lib\Compilation.js:1318:38)
    at Compilation.seal (D:\pdd_web_personal\node_modules\webpack\lib\Compilation.js:883:8)
    at hooks.optimizeAssets.callAsync.err (D:\pdd_web_personal\node_modules\webpack\lib\Compilation.js:984:20)
    at AsyncSeriesHook.eval [as callAsync] (eval at create (D:\pdd_web_personal\node_modules\tapable\lib\HookCodeFactory.js:24:12), <anonymous>:6:1)
    at hooks.optimizeChunkAssets.callAsync.err (D:\pdd_web_personal\node_modules\webpack\lib\Compilation.js:977:32)
    at _err0 (eval at create (D:\pdd_web_personal\node_modules\tapable\lib\HookCodeFactory.js:24:12), <anonymous>:11:1)
    at D:\pdd_web_personal\node_modules\uglifyjs-webpack-plugin\dist\index.js:334:11
    at step (D:\pdd_web_personal\node_modules\uglifyjs-webpack-plugin\dist\uglify\index.js:90:11)
    at done (D:\pdd_web_personal\node_modules\uglifyjs-webpack-plugin\dist\uglify\index.js:99:22)
    at D:\pdd_web_personal\node_modules\uglifyjs-webpack-plugin\dist\uglify\index.js:105:15
    at D:\pdd_web_personal\node_modules\worker-farm\lib\farm.js:191:19
    at _combinedTickCallback (internal/process/next_tick.js:131:7)
    at process._tickCallback (internal/process/next_tick.js:180:9)

If the current behavior is a bug, please provide the steps to reproduce.
set mode production and set recordsPath and compile twice

What is the expected behavior?
compile success

Other relevant information:
webpack version:  lastest
Node.js version:  8.10.0
Operating System: windows7
Additional tools: @ooflorent  help to see what is wrong thanks

if is set config.optimization.sideEffects=false; it will be ok so does sideEffects has something wrong with AggressiveSplittingPlugin

@AMDvsTMD sorry for big delay, problems still exists?

Closing due to inactivity. Please test with latest version and feel free to reopen if still regressions. Thanks! Should be fixed in 5.4


[BUG] java.lang.IllegalArgumentException: unknown setting [node] please check that any required plugins are installed

Describe the bug
Running the latest version of opensearch (1.1.0) as a helm template in kubernetes gives the following error in the logs:
uncaught exception in thread [main]
java.lang.IllegalArgumentException: unknown setting [node] please check that any required plugins are installed, or check the breaking changes documentation for removed settings
at org.opensearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:557)
at org.opensearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:502)
at org.opensearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:473)
at org.opensearch.common.settings.AbstractScopedSettings.validate(AbstractScopedSettings.java:444)
at org.opensearch.common.settings.SettingsModule.(SettingsModule.java:162)
at org.opensearch.node.Node.(Node.java:417)
at org.opensearch.node.Node.(Node.java:301)
at org.opensearch.bootstrap.Bootstrap$5.(Bootstrap.java:240)
at org.opensearch.bootstrap.Bootstrap.setup(Bootstrap.java:240)
at org.opensearch.bootstrap.Bootstrap.init(Bootstrap.java:406)
at org.opensearch.bootstrap.OpenSearch.init(OpenSearch.java:182)
at org.opensearch.bootstrap.OpenSearch.execute(OpenSearch.java:173)
at org.opensearch.cli.EnvironmentAwareCommand.execute(EnvironmentAwareCommand.java:99)
at org.opensearch.cli.Command.mainWithoutErrorHandling(Command.java:140)
at org.opensearch.cli.Command.main(Command.java:103)
at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:139)
at org.opensearch.bootstrap.OpenSearch.main(OpenSearch.java:105)
For complete error details, refer to the log at /usr/share/opensearch/logs/opensearch-cluster.log
The log file /usr/share/opensearch/logs/opensearch-cluster.log is empty
To Reproduce
Steps to reproduce the behavior:

Run the latest helm template in kubernetes
View the logs in any of the nodes

Expected behavior
The Opensearch cluster should start up successfully
Plugins
Please list all plugins currently enabled.
opensearch-alerting
opensearch-anomaly-detection
opensearch-asynchronous-search
opensearch-cross-cluster-replication
opensearch-index-management
opensearch-job-scheduler
opensearch-knn
opensearch-notebooks
opensearch-performance-analyzer
opensearch-reports-scheduler
opensearch-security
opensearch-sql
Screenshots
If applicable, add screenshots to help explain your problem.
Host/Environment (please complete the following information):

OS: Kubernetes
Version: 1.18

Additional context
Add any other context about the problem here.

moving to helm-charts.  If you think that was an error, please lmk. :)

Not sure if it's helm specifically or a problem with the codebase itself

@samirmajen Did you use the official helm chart for opensearch?

Yep

Looks like it doesn't like the env vars node.0 node.1 and node.2

Faced the same issue, removing the env vars (these lines from the statefulset definition) helped.

@samirmajen Beside the env vars I performed no other changes and fresh installation without any custom values worked. Are you using demo certs?

I am also facing this problem when moving from Chart 1.2.4 to 1.3.0.
Are these changes causing problems?

yes these values are the issue, as @tomasodehnal mentioned switching to a previous helm version fixes the issue. The only changes between versions are those env vars. Erbzn your values are the wrong way round, the incorrect ones are:

name: node.0
value: "master"

name: node.1
value: "ingest"
name: node.2
value: "data"
name: node.3
value: "remote_cluster_client"

These should be changed to :

name: node.data
value: "true"
name: node.ingest
value: "true"
name: node.master
value: "true"
name: node.remote_cluster_client
value: "true"

Thanks guys for the investigation, would love if any of you could issue a PR for the fix.
@erbzn @samirmajen @tomasodehnal
Thanks.

@peterzhuamazon PR sent. The new environment variable node.roles is now set to comma separated values from the helm roles list.


Update quint deserialization

Hello :octocat:
This updates quint deserialization to match changes in https://github.com/informalsystems/quint/pull/1105

module defs is now called declarations
lookup table entries now have more fields, and reference is replaced with id.

[X] Tests added for any new code
[x] Ran make fmt-fix (or had formatting run automatically on all files edited)
[ ] Documentation added for any new functionality
[x] Entries added to ./unreleased/ for any new functionality

Codecov Report

Merging #2696 (f21ab5b) into main (df7adb8) will increase coverage by 0.01%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2696      +/-   ##
==========================================
+ Coverage   78.50%   78.52%   +0.01%
==========================================
  Files         460      460
  Lines       15880    15880
  Branches     2603     2566      -37
==========================================
+ Hits        12466    12469       +3
+ Misses       3414     3411       -3

Files Changed
Coverage Δ

...n/scala/at/forsyte/apalache/io/quint/QuintIR.scala
71.25% <ø> (-1.25%)
:arrow_down:

...ain/scala/at/forsyte/apalache/io/quint/Quint.scala
85.22% <100.00%> (ø)

... and 1 file with indirect coverage changes
:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

I think I want to hold on merging this until the Quint PR is closer to being merge itself. Otherwise, this will block all other PRs from merging in quint (if an apalache release is cut).


Unable to add Mazowsze i Ziemia Łódzka

When selecting "Mazowsze i Ziemia Łódzka" from selection list, there is an error "User input malformed".

Which version of integration? Which version of HA?
I can't reproduce this problem, please provide a debug log. You have to add logger configuration to your configuration.yaml file:
logger:
  default: warning
  logs:
    custom_components.zadnego_ale :debug
    zadnegoale: debug


Only one java stub needed in the shootouts?

java-https and java-net seem to be closely related and should work the same (https). It's probably useless to test the both in shootouts. Maybe we should do the shootouts without the java-net stub - and possibly consider removing the java-net results from the previous shootouts (if seen useful and easy enough to actually perform).

@aleksiklasila If you can find evidence that they use the same code

Let's see in the next shootout.


Add resourceFence for allocate direct and map doClose().

Update Javadocs to include warnings about managing Handles.

Coverage increased (+0.003%) to 97.743% when pulling 2fcc35f5b7427c861d7d3dc963d8c90049cbaa1e on Resources into ba3517526486d5dd615c7d2588c899fb886c0747 on master.


Editor: inconsistent widget position when resizing window

Godot version
4.0.beta4
System information
Linux(X11), Forward+, GTX1050 mobile
Issue description
When resizing window, some of the component may have inconsistent position, see video below:
In Godot 4 (notice the close button):
https://user-images.githubusercontent.com/65079334/200155901-d783bf80-7d1e-4848-8858-cc6f1bdc2160.mp4
And in Godot 3:
https://user-images.githubusercontent.com/65079334/200155903-5e05c4ea-edcc-4a7a-81d7-d9e94f9a806c.mp4
Steps to reproduce
Open Godot 4, open editor settings, resize it vertically.
Minimal reproduction project
No response

I can confirm this behavior, that the close button is displayed at the wrong location, while resizing the window on Linux Xfce.
This doesn't happen if Single Window Mode is on.
It looks like there is a delay for receiving ConfigureNotify-notifications from the window manager, so that it takes some time until _window_changed(&event) gets called in:
https://github.com/godotengine/godot/blob/f814e15c7f60a685e8b3623fc93231c18ccd3627/platform/linuxbsd/x11/display_server_x11.cpp#L3843-L3860

This is caused by Godot using actual windows in 4.0 compared to 3.x, and window resizing being slow on general.

Worth documenting then?

May I ask for the main reason of this problem, is because of Vulkan or X11(If so, will Wayland solve this)?
Because when I switch to gl_compatibility, it still have similar result (but without flickering).
But Single Window Mode does solve the issue.


Need help with that error...

Hey!
I'm learning Vulkan by my own and I would need help fixing a error.
Debugger throws:
VK Debug: ERROR: @[DS]: Cannot submit cmd buffer using image(2)
[sub-resource: array layer 0, mip level 0], with layout
VK_IMAGE_LAYOUT_UNDEFINED when first use is
VK_IMAGE_LAYOUT_PRESENT_SRC_KHR.
I don't understand, where to look exactly in my code...
I would be really happy fixing that..
A big thanks in advance! :D

This is not the right place for general Vulkan questions. You may want to try the Khronos forums at: https://forums.khronos.org/
With that said, it looks like you need to use a VkImageMemoryBarrier to change the image layout from VK_IMAGE_LAYOUT_UNDEFINED to VK_IMAGE_LAYOUT_PRESENT_SRC_KHR. The Vulkan spec has all the details on how to do this: https://www.khronos.org/registry/vulkan/specs/1.0/xhtml/vkspec.html

Hey.
Thank's for that answer. It helped me out.
I didn't know that forum. Good to know that.
Have a nice day :+1:


TlsAcceptor does not present the full certificate chain on Windows

When I inspect the certificate in any browser, I notice that the full signing chain/hierarchy is missing. Only the server certificate is present. Firefox has an option to download the chain and the resulting file also only contains the server cert.
I'm creating the identity with:
$ openssl pkcs12 -export -out server.p12 -inkey server.key -in server.crt -chain -CAfile ca.crt

And when I inspect it I can see both the server and ca certificates.
$ openssl pkcs12 -info -in server.p12

Hi @aloucks,
I have experience exactly the same problem. I spent some time trying to implement it but I hit the wall at the windows API from which its not obvious how to pass in the chain.
However I found a workaround:
on the server running the rust application just import each chain certificate into the windows store
e.g.: Root CA, Intermediate CA
This is the command I used to check the certificate the server was serving:
$ openssl s_client -connect <IP_ADDRESS>:8080
Hope this helps.


chore(deps): update ci dependencies

This PR contains the following updates:

Package
Type
Update
Change

common-dev-assets

digest
00b5683 -> 5558284

github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper
require
minor
v1.10.15 -> v1.11.3

terraform-ibm-modules/common-pipeline-assets
action
patch
v1.17.0 -> v1.17.4

Release Notes

terraform-ibm-modules/ibmcloud-terratest-wrapper (github.com/terraform-ibm-modules/ibmcloud-terratest-wrapper)
v1.11.3
Compare Source
Bug Fixes

bug setting the pr dir (#617) (00131bb)

v1.11.2
Compare Source
Bug Fixes

lock into vpc-go-sdk v0.41.0 (#616) (ef9cacf)

v1.11.1
Compare Source
Bug Fixes

add logging (#615) (beb86f4)

v1.11.0
Compare Source
Features

addition of configurable base repo or branch for upgrade test (4fd1e34)

v1.10.19
Compare Source
Bug Fixes

deps: update gomod (#607) (3101f35)

v1.10.18
Compare Source
Bug Fixes

deps: update module github.com/ibm/platform-services-go-sdk to v0.45.0 (#605) (b4091f7)

v1.10.17
Compare Source
Bug Fixes

deps: update module github.com/ibm/platform-services-go-sdk to v0.44.0 (#602) (d141e39)

v1.10.16
Compare Source
Bug Fixes

deps: update gomod (#600) (7ac75cc)

terraform-ibm-modules/common-pipeline-assets (terraform-ibm-modules/common-pipeline-assets)
v1.17.4
Compare Source
Bug Fixes

remove collab check - no longer required (#523) (be1c5de)

v1.17.3
Compare Source
Bug Fixes

Debug logging (#522) (0fe31b8)

v1.17.2
Compare Source
Bug Fixes

bug with trim (60c8a95)

v1.17.1
Compare Source
Bug Fixes

add debug and trim comment (#520) (e0bb379)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.

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


"token not valid for running mode" after SSO authentication

Summary
Argo UI comes back to login page with error {"code":16,"message":"token not valid for running mode”} after completing SSO user authentication.
Diagnostics
argo version:
argo: v2.12.3
BuildDate: 2021-01-05T00:49:48Z
GitCommit: 93ee530126cc1fc154ada84d5656ca82d491dc7f
GitTreeState: clean
GitTag: v2.12.3
GoVersion: go1.13
Compiler: gc
Platform: darwin/amd64
I have added sso configuration in  the config map "workflow-controller-configmap"
sso: |
      issuer: https://cloudsso-test.xxx.com
      clientId:
        name: argo-server-sso
        key: clientID
      clientSecret:
        name: argo-server-sso
        key: clientSecret
      redirectUrl: http://argo-code.xxx.com/workflows/argo
      scopes:
       - groups
       - email
      rbac:
        enabled: false

I have added the required secrets for SSO and also starting argo-server  in "--auth-mode sso"
argo-server logs :
time="2021-02-02T07:34:01.198Z" level=info msg="finished unary call with code Unauthenticated" error="rpc error: code = Unauthenticated desc = token not valid for running mode" grpc.code=Unauthenticated grpc.method=GetVersion grpc.service=info.InfoService grpc.start_time="2021-02-02T07:34:01Z" grpc.time_ms=0.34 span.kind=server system=grpc
time="2021-02-02T07:34:01.218Z" level=info msg="finished unary call with code Unauthenticated" error="rpc error: code = Unauthenticated desc = token not valid for running mode" grpc.code=Unauthenticated grpc.method=ListWorkflowTemplates grpc.service=workflowtemplate.WorkflowTemplateService grpc.start_time="2021-02-02T07:34:01Z" grpc.time_ms=0.065 span.kind=server system=grpc

Please note we use JWT token for SSO and not JWE.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

Did you also add —autho-mode=sso?

Yes I did. Below is the yaml for argo-server.  Application goes through the entire SSO authentication successfully but fails to run after that. Can you also confirm if using JWT token doesnt impact in anyway since argo document says it uses JWE.
apiVersion: apps/v1
kind: Deployment
metadata:
  name: argo-server
spec:
  selector:
    matchLabels:
      app: argo-server
  template:
    metadata:
      labels:
        app: argo-server
    spec:
      containers:
      - args:
        - server
        - --namespaced
        - --auth-mode
        - sso
        image: argoproj/argocli:v2.12.3
        name: argo-server
        ports:
        - containerPort: 2746
          name: web
        readinessProbe:
          httpGet:
            path: /
            port: 2746
            scheme: HTTP
          initialDelaySeconds: 10
          periodSeconds: 20
      nodeSelector:
        kubernetes.io/os: linux
      serviceAccountName: argo-server

It does not make sense to have groups without RBAC enabled. Groups are only used for RBAC.
     scopes:
       - groups
       - email
      rbac:
        enabled: true

I tried this but same issue.

Possibly fixed by: https://github.com/argoproj/argo/pull/4735
Please try upgrading

Upgrded to 2.12.8 but that didnt work
argo: v2.12.8
  BuildDate: 2021-02-08T23:25:36Z
  GitCommit: d19d4eeed3224ea7e854c658d3544663e86cd509
  GitTreeState: clean
  GitTag: v2.12.8
  GoVersion: go1.13
  Compiler: gc
  Platform: darwin/amd64

I tried --auth-mode sso --auth-mode server  and that's when the SSO login went through. May be because of the bearer token in server mode. But how to make it work solely on --auth-mode sso

Have you tried private browsing mode yet?

Yes I have. same issue.

Any chance you are using istio with argo? I saw this same behavior when running argo with istio. The fix was to add an annotation for the argo server deployment to exclude the kubernetes api IP range from being handled by istio. EG
apiVersion: apps/v1
kind: Deployment
metadata:
  name: argo-server
  annotations:
    traffic.sidecar.istio.io/excludeOutboundIPRanges: yourk8iprange/16

The idea for this came from experience with other istio race condition issues outlined in 1282.
If you are using ssl termination this will get you to a separate, consistent error where on a user's first login they will receive an error stating:
http: named cookie not present

If they refresh, it will go away.
I believe this is due to how the state cookie is initiated in HandleRedirect here. The secure property is based on the original server standup and whether TLS configuration is passed through here. If you are running with TLS termination there is a very good chance that you are not running with the --secure flag, and thus you have no TLS configuration. This causes HandleRedirect to specify the cookie as httponly, then when you authenticate in over https that cookie is lost as it was set to httponly. This line then sets the cookie and does so without the secure enforcement like in HandleRedirect, so if the user refreshes the https version of the cookie now exists, allowing them in.
I believe this latter scenario could be patched by changing HandleRedirect and rather than setting Secure to s.secure, do a check of the redirectURL scheme and set it appropriately eg:
func (s *sso) HandleRedirect(w http.ResponseWriter, r *http.Request) {
	redirectUrl := r.URL.Query().Get("redirect")
	state := pkgrand.RandString(10)
         secureScheme := r.URL.Scheme == "https"
	http.SetCookie(w, &http.Cookie{
		Name:     state,
		Value:    redirectUrl,
		Expires:  time.Now().Add(3 * time.Minute),
		HttpOnly: true,
		SameSite: http.SameSiteLaxMode,
		Secure:   secureScheme,
	})
	http.Redirect(w, r, s.config.AuthCodeURL(state), http.StatusFound)
}

We are not using istio. @arnoldrw
@simster7 It seems to be related to token. I am guessing since the sso login worked with --auth-mode sso --auth-mode server
Are the bearer token not same for the two auth mode ? Does it work differently.

I'm also having problems getting service account bearier tokens working with --auth-mode sso
Behaviour I would like is real users using SSO to login, but also supporting ServiceAccounts with Bearier tokens for service-to-service API calls.

Is there any solution to this ?

I think there are mixed problem in this issue. Maybe raise a new issue if you’re having problems. You should be able to use multiple auth modes.

Alright - I think I just got lucky and found the problem. I assume you copied the credentials from "Using Your Login With The CLI" dialogue in the UI. If I do that, for the token it does this:
export ARGO_TOKEN='"Bearer ..."'
if I remove the inner quotes it works:
export ARGO_TOKEN='Bearer ...'

@mruoss would you like to sumbit a PR to fix this mistake?

@alexec any advise how to debug this issue?

Just FYI, the solution for us was to ensure we were specifying both SSO and Client with the server configuration:
https://github.com/argoproj/argo-workflows/issues/7490
Hopefully this helps someone else :)

Ran into this when switching from --auth-mode=server to a combination of --auth-mode=sso for UI usage and --auth-mode=client for programmatic API access.
In our case, --auth-mode=server was allowing an incorrect SA token access to the API, and we did not realize this until we removed --auth-mode=server (previously we had --auth-mode=server for UI access with an NGINX OAuth redirect + --auth-mode=client for programmatic API access).
The problem was we were missing Bearer  in front of the token entirely. Even when logging in the UI with a token, you have to input Bearer insertmytokenhere and it will not work without that. Bearer  is also case-sensitive.
This was a misconfiguration on our side, but I think the error message that Argo gives back could be a lot more detailed. Many people (including various teams I work with) were confused by token not valid for running mode and thought that --auth-mode=client was incompatible with --auth-mode=sso or something, rather than the token just being incorrect.
--auth-mode=server is also, just, well, incredibly permissive even when used in combination with other modes, which can cause some confusion. Perhaps disallowing other modes when server is used might make sense? Not sure of the proper fix there, but I think some DX improvements could be made there as well.

Improved the docs and error message in #11300


Global Setting: Separate Banners into its own side nav item

The Global Settings -> Branding page shows branding and banners.

The config has grown - we should move the "Fixed Banners" config into its own page in the navigation.
Add a new nav item for Global Settings - see: config/product/setting.js - add a new virtualType (see the one for brand, route should be c-cluster-settings-banners) and add that to the basicType.
Create a new page in pages/c/_cluster/settings/banners.vue - move the UI components and required code from brand in the same folder into this folder.
Lastly, currently the banners config shows checkboxes for header, footer and consent banners - the controls for further configuration are only shown when the checkbox is checked - it would be nice always show these controls and to enable/disabled them only when the checkbox is checked.

PASS Verified on 2.6-head Commit ID 4d41423
Tested:

Created a section for Banner config on the "Global Settings" area
Removed any references of Banner config from Branding
BannerSettings now displays each section by default
Fixed BannerSettings to disable UI elements when checkbox in section is not selected