css conflicts in Variations (0.2.0)

Hi!
LSB version: 0.2.0
I've noticed the LSB styles are fighting with app styles imported via css_path
It appears LSB combines its own, and my_app's css together in the document <head>.  This may cause components rendered inside %Variation elements to inherit styling from LSB, and not the app.
In my specific case, the use of a LSB text classes on <body> (lsb-font-inter lsb-text-base etc) are overriding my Tailwind base styles, which are added to <html> in preflight in my css bundle.
What are your plans here? I see that Storybook renders each Story in its own iframe.
Anything we can help with?

Hi Glenn, It seems to be a bug indeed!
I'm using a prefixed version of Tailwind (with the lsb- prefix) to prevent a CSS clash between the storybook and app's components, but I didn't think that it wouldn't work with preflight styling (in both ways).
I think I will have to explore the iframe way, thanks for the insight.
For now (as the code base is still early and evolving fast), the best help you can provide me with is thorough and detailed feedback! Please go on :)

I'm starting a new branch today, experimenting with iframes.
I'll keep you posted!

Hey @glennr 👋 I'd love to have your opinion on this:
https://github.com/phenixdigital/phx_live_storybook/blob/17-css-conflicts-in-variations-020/guides/sandboxing.md

Hi @cblavier
I like the iframe escape hatch. I couldn't get it working on your branch though?
Regarding this statement in your branch:

So unless your components use lsb- prefixed classes there should be no styling leak from the storybook to your components.

Yes and no. If, like me, your components also rely on styling from Tailwind preflights, then you're gonna have problems. Am I missing something?
I'm not sure how to work around problem #2 here. I glanced at the TW docs to see if there was an alternative way to configure my component fonts such that my Tailwind preflight config wouldn't conflict with phx_live_storybook's (or vice versa). No obvious solution yet.

(Btw the %StoryGroup{} you added post 0.2.0 cleans things up really nicely)

I like the iframe escape hatch. I couldn't get it working on your branch though?

It is available on my branch now: stories rendering is almost fine, but the playground iframe rendering is not fully working yet.
To enable it, add def container, do: :iframe to your component entry file.

Yes and no. If, like me, your components also rely on styling from Tailwind preflights, then you're gonna have problems. Am I missing something?

I'm using a custom Tailwind preflight, that will only preflight elements with lsb class. Since all elements in the storybook (from body to the smallest span have the lsb class) they should be quite protected because this preflight has a higher specificity.

I grabbed c4600a5e2
I see your sandboxing (.lsb-sandbox) starting to improve things:

But our preflighted font class remains overridden

I took a crack at the iframe option, but its falling over on the Story :ids?

Stacktrace:
Request: GET /storybook/iframe/components/button?story_id=colors
** (exit) an exception was raised:
    ** (RuntimeError) unknown story :colors for module BrmblWeb.Storybook.Components.Button
        (brmbl 0.1.0) lib/brmbl_web/storybook.ex:3: BrmblWeb.Storybook.render_story/2
        (phx_live_storybook 0.3.0) lib/phx_live_storybook/live/entry/component_iframe_live.ex:53: anonymous fn/2 in PhxLiveStorybook.Componen
tIframeLive.render/1
        (phoenix_live_view 0.17.11) lib/phoenix_live_view/diff.ex:387: Phoenix.LiveView.Diff.traverse/7
<SNIP>
[error] #PID<0.3198.0> running BrmblWeb.Endpoint (connection #PID<0.3171.0>, stream id 2) terminated

but the playground iframe rendering is not fully working yet

oops - missed that :-)

But our preflighted font class remains overridden

Unfortunately, I think that when providing your components styles to the storybook, you'll have to apply some styles on .lsb-sandbox yourself. There is no way your component can inherit styles from the HTML or body elements.
I will make the documentation more explicit.

I took a crack at the iframe option, but its falling over on the Story :ids?

Sorry about that, it's a bug!
Playground inits its attributes from your first story in the entry file. It looks like your first story is a StoryGroup, I will handle that and write a proper test.

@cblavier I think the step I missed is


fix(pontos): filter and process only transfer-related events

Description
It fixes the indexing error that occurs with the pending blocks:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: ParseIntError { kind: PosOverflow }',

What type of PR is this? (check all applicable)

[X] 🐛 Bug Fix (fix:)

Added tests?

[X] 🙋 no, because I need help

Added to documentation?

[X] 🙅 no documentation needed

Closing Issues

Fixes #135 will close issue 135 when the PR is merged.

@remiroyc if you can merge main and then let's merge! :rocket:


New version: OpenJpeg_jll v2.4.0+0

Autogenerated JLL package registration

Registering JLL package OpenJpeg_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/OpenJpeg_jll.jl
Version: v2.4.0+0
Commit: bc96dd2b5c1824906f73f2e2e067540d475093d0
Revision on Yggdrasil: https://github.com/JuliaPackaging/Yggdrasil/commit/159e359806f5eadfdfc6b38a2c92aa595b50aad9
Created by: @giordano

Pause, I need to do some tests


Add FormRecognizer to ReadingOrder

Make the type unique

Proposal sent to v-team

Decision was to rename to FormReadingOrder


Border Color

Trying to put two WheelView in horizontal linear layout, but there is border color which is not going away.

wheelViewFeet = (WheelView) dialog.findViewById(R.id.wheelview_feet);
wheelViewFeet.setWheelAdapter(new ArrayWheelAdapter(context));
wheelViewFeet.setSkin(WheelView.Skin.Common);
wheelViewFeet.setWheelData(listFeet);
wheelViewFeet.setStyle(style);
wheelViewFeet.setExtraText("feet", Color.GRAY, 50, 90);
wheelViewFeet.setLoop(false);
wheelViewFeet.setWheelClickable(true);
wheelViewFeet.setWheelSize(27);
wheelViewFeet.setOnWheelItemClickListener(new WheelView.OnWheelItemClickListener() {
@Override
public void onItemClick(int position, Object o) {
dialogHeightInterface.setFeet(o.toString(),position);
dismiss();
}
});
wheelViewFeet.setOnWheelItemSelectedListener(new WheelView.OnWheelItemSelectedListener() {
@Override
public void onItemSelected(int position, Object o) {
dialogHeightInterface.setFeet(o.toString(),position);
}
});
	wheelViewInch = (WheelView) dialog.findViewById(R.id.wheelview_inch);
	wheelViewInch.setWheelAdapter(new ArrayWheelAdapter(context));
	wheelViewInch.setSkin(WheelView.Skin.Common);
	wheelViewInch.setWheelData(listInch);
	wheelViewInch.setStyle(style);
	wheelViewInch.setExtraText("inch", Color.GRAY, 50, 90);
	wheelViewInch.setLoop(false);
	wheelViewInch.setWheelClickable(true);
	wheelViewInch.setWheelSize(27);
	wheelViewInch.setOnWheelItemClickListener(new WheelView.OnWheelItemClickListener() {
		@Override
		public void onItemClick(int position, Object o) {
			dialogHeightInterface.setInch(o.toString(),position);
			dismiss();
		}
	});
	wheelViewInch.setOnWheelItemSelectedListener(new WheelView.OnWheelItemSelectedListener() {
		@Override
		public void onItemSelected(int position, Object o) {
			dialogHeightInterface.setInch(o.toString(),position);
		}
	});

hellow sir
i am using your library in am application i have only one issue and need your help in this.in this library you are using holo theme and this theme default color is blue .i need to change that color.how can i change blue line into red line.reply me asap


HADOOP-18406: Adds alignment context to call path for creating RPC proxy with multiple connections per user.

Description of PR
HDFS-13274 (RBF: Extend RouterRpcClient to use multiple sockets) gets the RPC proxy using methods which do not allow using an alignment context. These methods were added in HADOOP-13144 (Enhancing IPC client throughput via multiple connections per user).
This change adds an alignment context as an argument for methods in the call path for creating the proxy.
How was this patch tested?
Ran tests in TestConnectionManager and TestRPC.
For code changes:

[ x] Does the title or this PR starts with the corresponding JIRA issue id (e.g. 'HADOOP-17799. Your PR title ...')?

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
1m  0s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
38m 59s

trunk passed

+1 :green_heart:
compile
23m 45s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
21m 43s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 49s

trunk passed

+1 :green_heart:
mvnsite
2m 16s

trunk passed

+1 :green_heart:
javadoc
1m 39s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
1m 18s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m  5s

trunk passed

+1 :green_heart:
shadedclient
23m 38s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m  7s

the patch passed

+1 :green_heart:
compile
22m 23s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
22m 23s

the patch passed

+1 :green_heart:
compile
20m 44s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
20m 44s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

-0 :warning:
checkstyle
1m 41s
/results-checkstyle-hadoop-common-project_hadoop-common.txt
hadoop-common-project/hadoop-common: The patch generated 2 new + 222 unchanged - 0 fixed = 224 total (was 222)

+1 :green_heart:
mvnsite
2m  8s

the patch passed

-1 :x:
javadoc
1m 36s
/results-javadoc-javadoc-hadoop-common-project_hadoop-common-jdkPrivateBuild-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>.txt
hadoop-common-project_hadoop-common-jdkPrivateBuild-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> generated 3 new + 0 unchanged - 0 fixed = 3 total (was 0)

+1 :green_heart:
javadoc
1m 20s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m  7s

the patch passed

+1 :green_heart:
shadedclient
23m 38s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
18m 48s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
1m 33s

The patch does not generate ASF License warnings.

219m 15s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4748/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4748

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 1d6b64b17e74 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 35d82a4634c5f50620532a23705112a0ade5d7cb

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4748/1/testReport/

Max. process+thread count
2564 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4748/1/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 41s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  0s

codespell was not available.

+0 :ok:
detsecrets
0m  0s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
38m 29s

trunk passed

+1 :green_heart:
compile
23m  6s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
20m 39s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 47s

trunk passed

+1 :green_heart:
mvnsite
2m 10s

trunk passed

+1 :green_heart:
javadoc
1m 46s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
1m 21s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 11s

trunk passed

+1 :green_heart:
shadedclient
23m 30s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m  5s

the patch passed

+1 :green_heart:
compile
22m 26s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
22m 26s

the patch passed

+1 :green_heart:
compile
20m 40s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
20m 40s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m 40s

the patch passed

+1 :green_heart:
mvnsite
2m  8s

the patch passed

+1 :green_heart:
javadoc
1m 35s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
1m 22s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m  8s

the patch passed

+1 :green_heart:
shadedclient
23m 47s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
18m 39s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
1m 34s

The patch does not generate ASF License warnings.

216m 12s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4748/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4748

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux a4991abd45ba 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 552669da76dfa9a059adb98a9cde92b425926b92

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4748/2/testReport/

Max. process+thread count
2220 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4748/2/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.

+1 LGTM.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Logfile
Comment

+0 :ok:
reexec
0m 34s

Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s

No case conflicting files found.

+0 :ok:
codespell
0m  1s

codespell was not available.

+0 :ok:
detsecrets
0m  1s

detect-secrets was not available.

+1 :green_heart:
@author
0m  0s

The patch does not contain any @author tags.

+1 :green_heart:
test4tests
0m  0s

The patch appears to include 2 new or modified test files.

_ trunk Compile Tests _

+1 :green_heart:
mvninstall
38m 24s

trunk passed

+1 :green_heart:
compile
23m 10s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
compile
20m 44s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
checkstyle
1m 46s

trunk passed

+1 :green_heart:
mvnsite
2m  9s

trunk passed

+1 :green_heart:
javadoc
1m 46s

trunk passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
1m 21s

trunk passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m 13s

trunk passed

+1 :green_heart:
shadedclient
23m 45s

branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
1m  6s

the patch passed

+1 :green_heart:
compile
22m 25s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javac
22m 25s

the patch passed

+1 :green_heart:
compile
20m 39s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
javac
20m 39s

the patch passed

+1 :green_heart:
blanks
0m  0s

The patch has no blanks issues.

+1 :green_heart:
checkstyle
1m 43s

the patch passed

+1 :green_heart:
mvnsite
2m  8s

the patch passed

+1 :green_heart:
javadoc
1m 37s

the patch passed with JDK Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS>

+1 :green_heart:
javadoc
1m 24s

the patch passed with JDK Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

+1 :green_heart:
spotbugs
3m  8s

the patch passed

+1 :green_heart:
shadedclient
23m 31s

patch has no errors when building and testing our client artifacts.

_ Other Tests _

+1 :green_heart:
unit
18m 52s

hadoop-common in the patch passed.

+1 :green_heart:
asflicense
1m 33s

The patch does not generate ASF License warnings.

216m 43s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4748/3/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/4748

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient spotbugs checkstyle codespell detsecrets

uname
Linux 224c91da7a97 4.15.0-191-generic #202-Ubuntu SMP Thu Aug 4 01:49:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/bin/hadoop.sh

git revision
trunk / 330df2d2de00d6a56648d0e184881ad7cbbb634d

Default Java
Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Multi-JDK versions
/usr/lib/jvm/java-11-openjdk-amd64:Private Build-11.0.15+10-Ubuntu-0ubuntu<IP_ADDRESS> /usr/lib/jvm/java-8-openjdk-amd64:Private Build-1.8.0_312-8u312-b07-0ubuntu1~20.04-b07

Test Results
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4748/3/testReport/

Max. process+thread count
3149 (vs. ulimit of 5500)

modules
C: hadoop-common-project/hadoop-common U: hadoop-common-project/hadoop-common

Console output
https://ci-hadoop.apache.org/job/hadoop-multibranch/job/PR-4748/3/console

versions
git=2.25.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.14.0 https://yetus.apache.org

This message was automatically generated.


Is MUI developing stopped?

Is this project is developing or it is dead?

I get the feeling that it isn't being supported anymore.

Yes, I am also, and my startup, are very confused about this project.
Is the development now stopped?
What about new features or issues?

I actively use this shell in a company product. It is quite useful as is.
There are small modifications that you would want to make for your
purposes. I myself have something that I still have to push to improve it.
On Sat, Mar 16, 2019, 12:12 PM DoCode<EMAIL_ADDRESS>wrote:

Yes, I am also, and my startup, are very confused about this project.
Is the development now stopped?
What about new features or issues?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/firstfloorsoftware/mui/issues/191#issuecomment-473558088,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AL8R9as2Qw8f14YJ_Y1Ozt4RripHRnRTks5vXRf_gaJpZM4aHtO0
.

I hope it's not dead. I just PR'ed support for .NET Core 3 (#195).
I'm curious if @firstfloorsoftware is around at all.

After rechecking the existing PRs, this project looks pretty dead. Shame.

After rechecking the existing PRs, this project looks pretty dead. Shame.

This project is the first amazing WPF demo I'v ever seen, though, I have only half year of experience on WPF...
There is "probably a fix" that I did not PR yet. It is fixed maybe a year ago...

I'm now working on a WPF project and of all the themes I've seen I like this one the most.
However, my project is .NET Core 3, so I guess if my PR isn't accepted or referred to by one of the maintainers (if any), I'll be giving up and move to a different project 😒

I've like to try MahApps.Metro. It is actively supported. But I can't convince my coworkers to leave this for MahApps. 😠

I'm now working on a WPF project and of all the themes I've seen I like this one the most.
However, my project is .NET Core 3, so I guess if my PR (#195) isn't accepted or referred to by one of the maintainers (if any), I'll be giving up and move to a different project 😒

Why not fork this and make it great again😋

I've like to try MahApps.Metro. It is actively supported. But I can't convince my coworkers to leave this for MahApps. 😠

That's cool👍 but still not cooler than this, my personnally saying.
And indeed, that one is "energetic", but this guy... looks..."bad"

Alright guys, [`ModernUI.WPFCore](https://www.nuget.org/packages/ModernUI.WPFcore) (`ModernUI.WPF.Core` was taken).

There is a fork here  but it is not ready for release. Many breaking changes left and need to add UI-tests.

Alright guys, ModernUI.WPFCore (ModernUI.WPF.Core was taken).
MahApps is too 'material'istic to me. Not so ideal for a Windows data-centric productivity app in my taste.

What do you mean by MahApps is too materialistic?

What do you mean by MahApps is too materialistic?

Actually I decided to take MahApps for another ride, and it's excellent in every aspect. I totally take back what I said.


UTF-8 Text

First of all, congratulations on the good work you are doing this free, the problem is that my client writes in Spanish and it seems that when that happens the ´ in the words or the use of the ñ inserts strange characters

Solution for the moment, although this does not work for all languages
export const decodeUTFText = (text) => {
	text.replaceAll('&aacute', 'á');
	text.replaceAll('é', 'é');
	text.replaceAll('í', 'í');
	text.replaceAll('ó', 'ó');
	text.replaceAll('ú', 'ú');
	text.replaceAll('ñ', 'ñ');
	return text
}


nwjs: 0.83.0 -> 0.84.0

Description of changes
Superseeds #286895
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

not an issue specific to this change but there are a bunch of messages
Could not dlopen libGL.so.1: libGL.so.1: cannot open shared object file: No such file or directory

perhaps libGL needs to get added to the nwEnv ?


Use correct Xlog:gc syntax

see: https://docs.oracle.com/en/java/javase/11/jrockit-hotspot/logging.html#GUID-33074D03-B4F3-4D16-B9B6-8B0076661AAF

Is that on purpose?  I guess it is a good thing but not sure we want to enforce it. AFAIK it's not enabled on other voxpupuli repos.

I activated this on purpose to ensure that nobody can sneak in commits. But i know this feature can be somewhat inconvenient to people. It's turned on also in crafty and puppetserver. If this is a dealbreaker for a voxpupuli repo I can deactived again. I thought it might improve the trustworthiness of the container if every commit has to be signed 🤔


Menu bar links - spacing and font

Links should be more spread out, per wireframe
Font needs attention; is it the correct font/weight?

Reopening as it informs Systemwide #90

@DeniseColbert can this now be closed?


implementing getInstallPath as per  suggestion of @Seldaek

getPackageBasePath now only redirecting to getInstallPath
fix for #165 as discussed.
works with current (https://github.com/composer/composer/commit/dbcf8cae1384dfc5acab5ec1d07d43580d326a48) and composer.locked version (https://github.com/composer/composer/commit/a54f84f05f915c6d42bed94de0cdcb4406a4707b) of composer.

Oh. I should probably add tests for the new method.

Yes.

Ok. I'm not quite sure what the issue is now. There were indeed errors in the test run concerning targetDir handling. I fixed that.
The failing builds seem to indicate some kind of deprecation:

Composer\Package\LinkConstraint\MultiConstraint class is deprecated

I don't think this is something I caused.

Warnings could be fixed by https://github.com/francoispluchino/composer-asset-plugin/pull/158

@samdark Indeed. Found this as well.

Yes, and I will merge the 2 Pull Requests at the same time.

@steffendietz I finish my work, and I see your PR just after.

@francoispluchino Great. Thanks for your support! (Yours as well @samdark)

@francoispluchino please make a realease as well. Thanks for reacting on it promptly.

@samdark Yes, see the Milestone.


Possible bug in dark mode logic

somehow this (text color white) happened to a colleague once but on a hard refresh it was no longer reproducible...

This is a known issue when viewing in dark mode. The issue was introduced with the new design elements in the headers. I'm going to address it on the 'about this site' page but @kennethormandy had said he knew about this and was going to be working on it so I don't want to duplicate efforts if he's in the middle of it on the others.
Kenneth—let me know if it's helpful for me to look at this one.

Million thanks!


Release plan for possibility to use Feature management for ISV:s and Customisations

We are currently looking into to use some kind of feature management for our own customizations. You say in the article that you have support to use feature management for ISV:s and customizations in the pipeline for future development of the feature management. Do you have any idea when this capability could be released?

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

ID: 51e63496-19e3-182e-c19d-027a0a5f6acf
Version Independent ID: c8a51a1e-25e8-fbe3-4580-baca9046b7b0
Content: Feature management overview - Finance & Operations | Dynamics 365
Content Source: articles/fin-ops-core/fin-ops/get-started/feature-management/feature-management-overview.md
Service: dynamics-ax-applications
Product: ****
Technology: ****
GitHub Login: @mikefalkner
Microsoft Alias: mfalkner

Thanks for your question. @ChrisGarty, please review.

Bug #462129 logged to track this issue.

We are working on making Feature Management more available to ISVs and Partners, but don't currently have a clear timeline. Stay tuned. @ParAkerblom may provide updates on this in the future.

Resolved Bug 462129: Docs issue #2516: Release plan for possibility to use Feature management for ISV:s and Customizations


[Bug] Fix bug that colocate join can not perceive parameter parallel_fragment_exec_instance_num (#4546)

Proposed changes
The instance of colocate join should be limit by the parameter parallel_fragment_exec_instance_num.
Fix #4546
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[x] Bugfix (non-breaking change which fixes an issue)
[] New feature (non-breaking change which adds functionality)
[] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[] Documentation Update (if none of the other choices apply)
[] Code refactor (Modify the code structure, format the code, etc...)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[x] I have create an issue on (Fix #ISSUE), and have described the bug/feature there in detail
[x] Compiling and unit tests pass locally with my changes
[x] I have added tests that prove my fix is effective or that my feature works
[x] If this change need a document change, I have updated the document
[x] Any dependent changes have been merged

Please add UT to valid instance num.

Hi,@EmmyMiao87 I have add the UT to check instance num of colocate join


bfs: Use set instead of array to track searched items

Set#has runs in O(1) time whereas Array#includes runs in O(n) time.

Glad this could be achieved without compromising brevity. Thanks!

Changes are live.


Tracking Issue for RFC 003: Quantum Entangled Payment Methods

Feature Description
RFC 003: Quantum Entangled Payment Methods
I. Objective
This RFC presents an approach for reducing application latency using quantum entanglement. Currently Hyperswitch is optimized for sub 30ms application overhead. By integrating advanced quantum mechanics with traditional networking principles, Hyperswitch aims to revolutionize payment processing speeds, security, and inter-dimensional commerce.

II. Proposal
Modern networking technologies have reached their limits in terms of speed and efficiency, often constrained by the limitations of spacetime. Hyperswitch proposes the use of quantum entangled wormholes to bypass these limitations entirely. This approach allows for instantaneous data transfer and transaction processing across the multiverse.
Data Transmission
In this approach, payment method data is transformed into qubits and transmitted through PCI compliant quantum entangled wormholes. These wormholes act as portals between different points in spacetime, allowing for instantaneous data transfer without the constraints of traditional networking protocols.
Payment Processing
Similarly, Hyperswitch leverages these wormholes for payment processing, enabling instant and secure transactions across multiple dimensions. Users can simply select the Hyperswitch payment option during checkout, and the transaction will be processed through a quantum entangled wormhole to the merchant's account in their respective dimension. This is made possible through Hyperswitch’s direct connection to major wormholes across dimensions.
Security and Reliability
Quantum entangled wormholes offer unparalleled security and reliability. Any attempt to intercept or tamper with the data or transaction would collapse the quantum state, rendering the information unreadable and invalidating the transaction. Additionally, the self-healing nature of the entangled wormholes ensures persistent delivery retry and automatic audit trails.
III. Open Questions

What are the ethical implications of interdimensional commerce?
How can we ensure backward compatibility with existing payment systems across different dimensions?
How will payments be routed through wormholes?
How many direct connections will be necessary?

Frame Format
Data and transactions are encoded into qubits and transmitted through quantum entangled wormholes. The bandwidth and MTU (Maximum Transmission Unit) of the wormholes are theoretically unlimited, allowing for high-speed data transfer and large-scale transaction processing across multiple dimensions.
Security Considerations
While security is inherently robust due to the principles of quantum mechanics, additional measures such as quantum encryption and multi-dimensional authentication protocols may be required to protect against advanced threats from alternate realities or parallel dimensions.
IV. Conclusion
Hyperswitch's proposal to use quantum entangled wormholes for data transmission and payment processing represents a significant leap forward in the field of networking and commerce. By overcoming the limitations of traditional spacetime-based technologies, Hyperswitch aims to create a truly interconnected and secure global marketplace across the multiverse.
Possible Implementation

Read and understand the general guidelines on contributing to Hyperswitch

Import postman collection of hyperswitch from here

Understand the implementation of all different payment flows and how to add a connector

Test the following flows - Payment, Capture, Void and Refund using postman for your local implementation and generate relevant screenshots of the test cases.

Have you spent some time checking if this feature request has been raised before?

[X] I checked and didn't find a similar issue

Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to submit a PR?
No, but I'm happy to collaborate on a PR with someone else

At a high level this looks good to me, and I think will push the transaction volume through the roof and massively reduce latency specially for transactions which span the multiverse.
The lack of a security encapsulation layer I'm afraid might open it up for classic MiTM attacks. Consider the scenario where a threat actor enters the wormhole simultaneously with the transaction from a parallel universe. While the transmission might appear to be instantaneous from the perspective of an observer outside the wormhole, the threat actor might have sufficient time to tamper with the transaction.
While the reading of the transaction data by the actor will cause the quantum state collapse leaving it unavailable for the destination, there is nothing which stops the actor from introducing new qubits which replicate the original transaction data. Perhaps even altering it !
I suggest we attach a quantum signature of the qubit states in the transaction, signed using the source dimension's encryption keys, so the destination dimension can easily verify where the qubits where created. Whether in the source dimension or in transit through the wormhole.
Also, can you elaborate on your thought about the Frame Format and the use of multiple wormholes in parallel to attain near infinite bandwidth ?  My concern is, depending on whether the wormholes are stretched from source all the way to destination or through a series of wormhole hops, we need to think about where we terminate the quantum encryption. A termination right in the middle of an alternate reality could be catastrophic.


Couple of typos

Summary of the Pull Request
Simple edit to the README.md
References
None
PR Checklist

[ ] Closes #xxx
[x] CLA signed. If not, go over here and sign the CLA
[ ] Tests added/passed
[ ] Requires documentation to be updated
[ ] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Detailed Description of the Pull Request / Additional comments
Validation Steps Performed
None required

Thanks!


Relations count columns

Adding the logic for counting related models.
Adds a column for the category model that counts the number of related articles for each category.

It works great, I tested it, but DataTable is unable to reorder the count column.
Explanation on this error can be found here: http://stackoverflow.com/a/27911214

@PhilMarc Thanks for this, I've added some comments, and yes, it's so bad that without a join query, it's so hard to query it.
Can you please also add translation fields to resources/lang/en/admin.php:
    "fields" => [
        "category" => [
            "articles"              => "Article Count",

And the resources/lang/tr/admin.php:
    "fields" => [
        "category" => [
            "articles"              => "Makale Sayısı",

Yes, your changes makes sense, I updated the files accordingly.
I tested it, everything seems to work fine.


dsync: execute copy in batches for natural "checkpointing"

If dsync is interrupted on a long running job, it will currently start over from scratch, even for files that have been fully copied.  This is because mfu_flist_copy sets timestamps on files as a last step after copying data for all files.  Even if the file size is correct, dsync will see that the timestamp is not, so it will delete the destination file and copy it fresh from the source.
By breaking the copy operation into batches, we can pick up in a restart after the last completed batch.  We could change mfu_flist_copy to take parameters like max file count or max byte count and then create subset lists.
create_directories(full list)
while (have batches) {
  honoring max file count and max byte count in temp list,
  create temporary subset list of files and links

  create inodes in temp list

  copy data for files in temp list

  set permissions / timestamps, etc on files in temp list
}
set permissions / timestamps on all directories

Once the files are copied and the timestamps are set at the end of the batch, the files in that batch will be skipped on a restart of dsync.  This implements sort of a poor man's checkpointing for dsync.

Merged with https://github.com/hpc/mpifileutils/pull/199


FR: npm/yarn/node_modules

Feature Request: Support node_modules, as installed by npm, yarn, pnpm, cnpm, npminstall etc.
They do not only contain small programming libraries, but also development tools, like cypress (~200 MiB).
I guess it makes sense to filter local installs and only show global ones by default but to enable to display the local ones aswell.

Reviewed it, and I don't think the benefit-to-work ratio is too small. I will gladly merge if someone else writes this feature, but I'm not going to work on it personally.


Update UG

Closes https://github.com/AY2122S1-CS2103T-W16-2/tp/issues/218
Closes https://github.com/AY2122S1-CS2103T-W16-2/tp/issues/169
Can view it here.

Codecov Report

Merging #247 (6967e14) into master (6217ca6) will increase coverage by 0.02%.
The diff coverage is 80.00%.

@@             Coverage Diff              @@
##             master     #247      +/-   ##
============================================
+ Coverage     77.48%   77.50%   +0.02%
  Complexity     1149     1149
============================================
  Files           139      139
  Lines          3344     3348       +4
  Branches        374      374
============================================
+ Hits           2591     2595       +4
  Misses          657      657
  Partials         96       96

Impacted Files
Coverage Δ

...22s1_cs2103t_w16_2/btbb/commons/core/Messages.java
0.00% <ø> (ø)

..._2/btbb/logic/commands/order/DoneOrderCommand.java
91.30% <ø> (ø)

.../btbb/logic/commands/order/UndoneOrderCommand.java
91.30% <ø> (ø)

...122s1_cs2103t_w16_2/btbb/model/order/Deadline.java
91.66% <ø> (ø)

...tbb/model/predicate/ValueWithinRangePredicate.java
92.85% <ø> (ø)

...ava/ay2122s1_cs2103t_w16_2/btbb/ui/MainWindow.java
0.00% <ø> (ø)

...16_2/btbb/model/predicate/PredicateCollection.java
91.17% <60.00%> (ø)

...6_2/btbb/logic/commands/order/AddOrderCommand.java
100.00% <100.00%> (ø)

... and 1 more

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 1393d82...6967e14. Read the comment docs.


"No Such File Or Directory"

I am seeing an issue where the shopify action is not able to find the checked out theme. Below is a slim example of the action file:
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
      # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
      - uses: actions/checkout@v2

      - name: Deploy Shopify theme
        uses<EMAIL_ADDRESS>        env:
          SHOPIFY_PASSWORD: ${{ secrets.DEV_SHOPIFY_PASSWORD }}
          SHOPIFY_STORE_URL: ${{ secrets.DEV_SHOPIFY_STORE_URL }}
          SHOPIFY_THEME_ID: ${{ secrets.DEV_SHOPIFY_THEME_ID }}
          THEME_PATH: /github/workspace

Error: readAsset: open /github/workspace/***: no such file or directory
Regardless if I use /github/workspace, ./, $GITHUB_WORKSPACE, or ${{ github.workspace }} for the THEME_PATH it appears that the theme is in accessible by the themekit instance.

Hello @chryton
Weird... Did you try to set THEME_PATH value as env var?
Replace
THEME_PATH: /github/workspace
per
${{ secrets.THEME_PATH }}
I guess env var should start by secrets.
Like this  : https://github.com/freyum/shopify-workflow-poc/blob/master/.github/workflows/production.yml#L22N

I initially tried it with as a secret. Using ./ returns this:
readAsset: open /github/workspace/***: no such file or directory
Using /github/workspace returns this:
readAsset: open ***/***: no such file or directory
It appears that docker is mapping the variable correctly (redacted some info):
/usr/bin/docker run --name ##HASH## --label ##LABEL## --workdir /github/workspace --rm -e SHOPIFY_PASSWORD -e SHOPIFY_STORE_URL -e SHOPIFY_THEME_ID -e THEME_PATH -e INPUT_ARGS -e HOME -e GITHUB_JOB -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_REPOSITORY_OWNER -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_SERVER_URL -e GITHUB_API_URL -e GITHUB_GRAPHQL_URL -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e ACTIONS_CACHE_URL -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/##REPO_NAME##/##REPO_NAME##":"/github/workspace"

An update on my end: I replicated your setup in my own private action (not with docker) and it works as expected.
One thing I noticed that I don't think should matter but may make a difference is that when you are installing themekit you are calling | python instead of | sudo python in the themekit docs; I had to use sudo for my own action to work correctly. I'm not well versed in Docker so it may not be needed like it would be for a normal installation.


How to remote debug with WinAppDriver on test machine

We start WinAppDriver.exe with below command line on test machine, can't start the driver:
C:\Program Files (x86)\Windows Application Driver> runas /user:Administrator "WinAppDriver.exe the ip of test machine 4723"
Also had tried on dev machine with below command line :
runas /user:Administrator "WinAppDriver.exe the ip of test machine 4723"

What exactly are you trying to achieve?

The driver can’t be started and only splash one time then disappeared
| |
范美林
<EMAIL_ADDRESS>|
签名由 网易邮箱大师 定制
On 05/08/2020 02:02, anunay1 wrote:
What exactly are you trying to achieve?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Run WAD from opened cmd (to have WAD exit output not disappeared) and give us the message you're receiving .


⚠ Roblox Site has degraded performance

In b30db17, Roblox Site (https://www.roblox.com) experienced degraded performance:

HTTP code: 200
Response time: 8542 ms

Resolved: Roblox Site performance has improved in e375b2c after 6 minutes.


fix(pinia-orm): Hooks should update cache & hydration

🔗 Linked issue
related to https://github.com/CodeDredd/pinia-orm/discussions/1106#discussioncomment-5405596

❓ Type of change

[ ] 📖 Documentation (updates to the documentation or readme)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Shared hydration cache was not working correctly
Hooks are not triggering casts
new() is not cached in the hydration cache
save() results weren't cached in the hydration cache

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

v1.6.2
🩹 Fixes

pinia-orm: Shared hydration cache was not working correctly (#1113)
pinia-orm: Hooks are not triggering casts(#1113)
pinia-orm: new() is not cached in the hydration cache (#1113)
pinia-orm: `save()`` results weren't cached in the hydration cache (#1113)

💅 Refactors

pinia-orm:  use model $getKey for id creation instead of custom logic (#1113)

❤ Contributors

Gregor Becker


This seems to make the script work for python3

Ah, well then this can be ignored. I used ubuntu 20.04 with crypto lib from apt.
develop@ubuntu:~/LeiaStuff/smartleia-target-funcard$ python3 --version
Python 3.8.5
develop@ubuntu:~/LeiaStuff/smartleia-target-funcard$ python3 -c 'import Crypto; print(Crypto.__version__)'
3.10.1

Thanks for the details!
I will try to reproduce the issue on Ubuntu 20.04, and if your patch is indeed necessary we will integrate it :-)
Regards,


No output

Hi,
Thanks for this project! I successfully compiled the code and executed as mentioned, but there is no output at all. What kind of output is expected?
Tried to look with strace whats happening, but I could not find any output file written
Thanks for advice :)

Did you provide the executable the path to a valid Skype LevelDB path? It should be a the path to a directory that ends with: ".indexeddb.leveldb". By default the program should display all Skype contacts that are found in the LevelDB argument.

yes, did that. In those files I see some kind of json format, so there is data - maybe new format? thanks

I was not able to replicate this issue.
I know that the databases might contain confidential data, however, if you have a database that is safe to share can you please make an archive and provide it as a web download?


Chap 34 ancillary quality flags

Replaces: #235
See issue #216 for discussion of these changes, specifically in this comment suggesting adding to the CF documentation usage examples for status_flag, quality_flag, and related QC flag standard names proposed in #216.
This PR includes the following:

adds to Chapter 3.4 new text describing usage of ancillary variables as status/quality flags, and a new Example 3.3 illustrating their use
adds status_flag attributes to Example 3.5 as suggested in #216 and earlier discussions in the CF mailing list surrounding the addition of quality_flag.  See this thread in the CF list archives for related discussion.

Thanks @roy-lowry.
@dblodgett-usgs I don't know whom else from the community to ping for review of this.  Since the original PR was on the books for quite a while, can I request this move ahead to consider for merge?  Thanks!

@dblodgett-usgs @davidhassell sorry to ping you both directly, but since you've both been involved in discussions about this PR or its predecessor #235, it was my best option.
I realize that I didn't follow the rules exactly when proposing these changes (i.e. there's no separate issue in this repo or the discuss repo to debate adding this new section of Chapter 3.4), however at this point, rules aside, is this PR in a position to be merged before CF 1.9 is released following @roy-lowry 's review approval?
If not, what do you suggest I do from here?  Many thanks!

I'd say since this has been approved by at-least one community member and no objection has been raised for more than three weeks we should go ahead and merge.

@dblodgett-usgs @roy-lowry thanks for assisting/reviewing!


function f(){} not acceptable for Go

c:
void F(){
};

error: missing return at end of function
Correct Go code:
func F(){
    return
}

I don't understand, why is Go requiring the return statement?

It is go build error, so for Go it is important.
I will check later, for next C code:
int fff(int i){
    if (i > 5) {
        return 0;
    }
/// No another case
}

Need for #67

Another C example:
int f(int a){
if (a > 5){
    return 0;
} else {
    return -1;
}
// for C no need return here, but for Go it is important
}

Solution
add return MAGIC_NUMBER for example : -4222 depend of return type.


Injector variable control and planning component

Hi, I want to know if the injector_ variable in the control component is the same of the planning component, that is, if  they are shared, or if they are two different instances?

There are two different class, you can find
"modules/control/common/dependency_injector.h"
“modules/planning/common/dependency_injector.h”


Document StatusCodes and RedirectToWww methods

I want to use             app.UseHttpsRedirection(); with a 301 permanent redirect.
I also want to redirect non www to www.
How do I do this? Can you post an example Startup.cs?

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

ID: c7ddfb2f-5dea-5e31-2a27-02a4dc16104c
Version Independent ID: 12ca0b9a-2638-a4ce-c45f-d4579c83dafb
Content: Enforce HTTPS in ASP.NET Core
Content Source: aspnetcore/security/enforcing-ssl.md
Product: aspnet-core
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Hello @spacecat ...
Yes, it seems strange now that I didn't link StatusCodes, so I'll do that shortly. You can find them all here :point_right: https://docs.microsoft.com/dotnet/api/microsoft.aspnetcore.http.statuscodes
Using the HTTPS Redirection Middleware approach (just handles HTTP -> HTTPS):
services.AddHttpsRedirection(options =>
{
    options.RedirectStatusCode = StatusCodes.Status301MovedPermanently;
    options.HttpsPort = 443;
});

For redirection (non-www to www), @clockworkmice just added it for URL Rewriting Middleware, but it went under the radar when 2.1 came out and didn't get documented: See: https://github.com/aspnet/BasicMiddleware/pull/297
The API ref shows the three extension methods for RewriteOptions: One sets the status code to 308 (perm), one for 307 (temp), and one you can set whatever status code you want:

AddRedirectToWwwPermanent(RewriteOptions) – Permanently redirects the request to the www subdomain if the request is non-www. [Status308PermanentRedirect]
AddRedirectToWww(RewriteOptions) – Redirect the request to the www subdomain if the incoming request is non-www. [Serves Status307TemporaryRedirect.]
AddRedirectToWww(RewriteOptions, Int32) – Redirect the request to the www subdomain if the incoming request is non-www. [You provide the status code.]

https://docs.microsoft.com/dotnet/api/microsoft.aspnetcore.rewrite.rewriteoptions
Note also that URL Rewriting Middleware also has a way to handle the HTTPS redirection with its AddRedirectToHttpsPermanent option, so you could just use the URL Rewriting Middleware for both HTTP -> HTTPS and the non-www to www scenarios and not use the HTTPS Redirection Middleware.
Two doc updates on this issue that I'll do when I get back (I'm on vacation 🏖 for a few more days):

I'll update this topic for the StatusCodes.
I'll surface the RedirectToWwwRule in the URL Rewriting Middleware topic.

Thanks for opening this issue.

Regarding the HTTPS Redirection Middleware.
My setup:
An AKS cluster
A default ASP.NET Core 2.1 Razor Pages app
An nginx ingress with a set of http rules
I'm trying the simplest scenario I could think of by just adding
services.AddHttpsRedirection(options =>
{
    options.RedirectStatusCode = StatusCodes.Status301MovedPermanently;
    options.HttpsPort = 443;
});

to my default app.
Once all my pods have been redeployed I navigate to my site, http://www.mysite.com, and I get a ERR_TOO_MANY_REDIRECTS.
I think what is happening is that since I have an ingress with routing/http rules, that is forcing the URL to be rewritten twice. Once in NGINX and then again by ASP.NET Core. Ultimately resulting in an infinite redirect loop.
Could this be the case or am I missing something else?
Startup.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.HttpsPolicy;
using Microsoft.AspNetCore.Mvc;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;

namespace startpage
{
    public class Startup
    {
        public Startup(IConfiguration configuration)
        {
            Configuration = configuration;
        }

        public IConfiguration Configuration { get; }

        // This method gets called by the runtime. Use this method to add services to the container.
        public void ConfigureServices(IServiceCollection services)
        {
            services.Configure<CookiePolicyOptions>(options =>
            {
                // This lambda determines whether user consent for non-essential cookies is needed for a given request.
                options.CheckConsentNeeded = context => true;
                options.MinimumSameSitePolicy = SameSiteMode.None;
            });

            services.AddMvc().SetCompatibilityVersion(CompatibilityVersion.Version_2_1);

            services.AddHttpsRedirection(options =>
            {
                options.RedirectStatusCode = StatusCodes.Status301MovedPermanently;
                options.HttpsPort = 443;
            });
        }

        // This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
        public void Configure(IApplicationBuilder app, IHostingEnvironment env)
        {
            if (env.IsDevelopment())
            {
                app.UseDeveloperExceptionPage();
            }
            else
            {
                app.UseExceptionHandler("/Error");
                app.UseHsts();
            }

            app.UseHttpsRedirection();
            app.UseStaticFiles();
            app.UseCookiePolicy();

            app.UseMvc();
        }
    }
}

Ingress.yml
apiVersion: extensions/v1beta1
kind: Ingress
metadata:
  name: mysite-ingress
  annotations:
    kubernetes.io/ingress.class: nginx
    certmanager.k8s.io/cluster-issuer: letsencrypt-prod
    nginx.ingress.kubernetes.io/rewrite-target: /
spec:
  tls:
  - hosts:
    - www.mysite.com
    - backend.mysite.com
    secretName: tls-secret
  rules:
  - host: www.mysite.com
    http:
      paths:
      - path: /
        backend:
          serviceName: startpage-svc
          servicePort: 80
      - path: /blog
        backend:
          serviceName: blog-svc
          servicePort: 80
  - host: backend.mysite.com
    http:
      paths:
      - path: /
        backend:
          serviceName: blogcms-svc
          servicePort: 80

Did another test. I created a new default ASP.NET Core 2.1 Razor Pages app. Deployed it to AKS. This time without an ingress. And now when I navigate to http://mysite.westeurope.cloudapp.azure.com I don't get redirected to HTTPS. Locally (localhost) the HTTPS redirect works as expected.
I have a service of type LoadBalancer in front of my pod(s). This service has an external IP which I gave a DNS name so that I could access the site via a FQDN.
apiVersion: v1
kind: Service
metadata:
name: https-test-svc
labels:
app: https-test
spec:
ports:
- port: 80
selector:
web: https-test
type: LoadBalancer
apiVersion: apps/v1
kind: Deployment
metadata:
name: https-test-deploy
labels:
app: https-test
spec:
replicas: 1
selector:
matchLabels:
web: https-test
template:
metadata:
labels:
app: https-test
web: https-test
spec:
containers:
- name: https-test-pod
image: repo/myimage:latest
imagePullPolicy: Always
ports:
- containerPort: 80
Note: The project is a totally clean one, I haven't touched any files.

Look into using Forwarded Headers Middleware. See:

https://github.com/aspnet/Home/issues/3086
Configure ASP.NET Core to work with proxy servers and load balancers

Because we're on the docs repo, we're limited in how much troubleshooting we can do here. If Forwarded Headers Middlware doesn't do the trick, I recommend you open this over on the aspnet/Home issues for the engineers to have a look.
... but leave this issue open. I still need to work those updates that I identified earlier :point_up:.

@Tratcher

we recommend using temporary redirects rather than permanent ones as the caching can cause trouble in development environments. We recommend using HSTS for the permanence factor, and only in production.

Do you want me to add that to the PR?

Sure

Given proxy caching in production, I wish it had some kind of capability to control this behavior. It doesn't feel right to provide a temp redirect when the resource's location has permanently changed. Isn't this recommendation a deviation from the spec (or the spirit of the spec)?

The difference being that it's not the resource that's moved, it's the entire site. That's why HSTS handles this better.

No difference AFAICT from the spec ... The spec pertains to the URI changing (the resource has moved). If there's a new permanent URI, public proxies' behavior may react to the difference. I'm only aware that there might be a difference and that fibbing might not be the most performant answer.
Recommending temp to solve bad dev scenarios seems like an ASP.NET Core personal problem. :smile: lol
Notwithstanding HSTS (which is great), I like this ...
if (!Environment.IsDevelopment())
{
    services.AddHttpsRedirection(options =>
    {
        options.RedirectStatusCode = StatusCodes.Status308PermanentRedirect;
        options.HttpsPort = 443;
    });
}

Sure ... I'm not complaining btw ... just asking. I put your note into the PR.

Not entirely sure what you guys are discussing BUT for production  environments SEO should rule over the tech and not the other way around.
Nowhere reading about permanent redirects have I seen that temp redirect should be used over a 301.

@spacecat That's what we were discussing. I put a bit into the topic to describe to readers who want perm redirects in production to get perm redirects in production. It's landing soon. If u want to see that language now, see the aspnetcore/security/enforcing-ssl.md file updates on https://github.com/aspnet/Docs/pull/9044.


Idea: augment test-loader, rather then modifying the build

What if, instead of dropping modules form the build, instead this library augmented the test-loader to load files corresponding to the current partition.
maybe augmenting -> https://github.com/ember-cli/ember-cli-test-loader/blob/master/addon-test-support/index.js#L33-L40

This is a good idea. I had mentioned in #9 that I don't think splitting the tests should be a concern of this addon. But, until we can get support from the actual test framework, moving the splitting into a modification of the test-loader would be a good compromise:

Lastly, test splitting should most likely be a test framework concern as it can re-order and balance tests better (since it understands the test constructs).

Eventually I'd like to see this addon more-or-less be a simple wrapper for passing proper config values.

Test framework support sounds great, likely something a-bit more long term.
If I add support to test-loader, what would be best. Should it understand query-params ? Maybe something like _split=8&_partition=1&weighted=true/false ?

Well, actually I suspect this library may be able to just augment the test-loader (we can make some public API for providing the test-loader a strategy.

I think the existing interface should be fine. Since we can add a custom include/exclude filter to do the splitting.
We'll need to parse the information from the query params, but we could implement that in this addon unless you see a need to make that a concern of the TestLoader.

We'll need to parse the information from the query params, but we could implement that in this addon unless you see a need to make that a concern of the TestLoader.

nope, this is fine here.
Should i explore this tomorrow, or are you interested?

Feel free to explore it. Otherwise, I probably can get to it some time later this week.

@stefanpenner after thinking about this some more, I think a modification to TestLoader might be needed. It would be nice if TestLoader identified all the modules it was going to load and then loaded them, rather than loading modules one-by-one as they're identified. So essentially:
TestLoader.prototype.loadModules = function() {
  var modules = this.getTestModules();
  this.requireModules(modules);
};

The reason for this is that if we try to split up modules one at a time, we have to first identify if they meet all the other test module matchers and then assign them to a group (essentially recreating the work the TestLoader is doing). Basically, I think we want the logic for identifying a test to be separate from partitioning a test.
In the above, we can hook into requireModules or expose another hook for modifying the modules array. Does this make sense? If so, I can implement the changes for TestLoader.

@trentmwillis sounds good


Loading data from a Service before the ngModel.$render call.

I want to load a set of predefined colors trough a service called Colors.
Modifying the 'uiTinymceConfig' after it was first declared would break the editor.
I made it work modifying the source code :
replacing :
setup: function (ed) {
        var args;
        ed.on('init', function(args) {
            ngModel.$render();
        });

By
setup: function (ed) {
        var args;
        ed.on('init', function(args) {

            ed.settings.beforeRender(ed);
            ngModel.$render();
        });

Then, in my controller, I can define the options this way :
$scope.tinymceOptions = {
        beforeRender : function(ed){
            Colors.loadPrimaryColors().then(function(c) {
                ed.settings.textcolor_map = c;
            });
        },
        toolbar: "hr table code forecolor backcolor bold italic underline strikethrough alignleft aligncenter alignright alignjustify styleselect  fontselect fontsizeselect cut copy paste bullist numlist outdent indent blockquote undo redo removeformat ",
        menubar: true,
        plugins: "textcolor code",
        textcolor_rows: 2,
        textcolor_cols: 5
};

The mce is render correctly, and most importantly, the editor's model is updated when changes are done. (Which wasn't the case  initially).
I am new to github, and would love to contribute to some pieces of code. Any help would be appreciated.

How I would do this is wrap the element with the ui-tinymce attribute with a div element with ng-if, and only toggle the ng-if condition to true when the relevant data is returned and the desired configuration value is set (I recommend using the setup configuration option).
Closing as I believe this is already achieveable.


bugfix: avoid pod terminating in docker

Signed-off-by: Yue Zhang<EMAIL_ADDRESS>Ⅰ. Describe what this PR does

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how to verify it
Ⅳ. Special notes for reviews
V. Checklist

[ ] I have written necessary docs and comments
[ ] I have added necessary unit tests and integration tests
[ ] All checks passed in make test

/lgtm

Note: this pr is very important, since current version, v0.6, is still has problem for kubelet to terminate pods under some circumstance.

/approve


We have a logo now :)

Feel free to place on readme as wanted.

Oh hi friends @metachris and @thegostep !
I'm the designer. Will just comment here. If you'd like to save some bytes here's how you might might start the README. Modified from awesome-mev-boost:

<svg width="100px" height="100px" viewBox="0 0 400 400" fill="none" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" clip-rule="evenodd" d="M200 140L80 200L200 260V140Z" fill="#3CC9E9"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M188 362L93.4165 220.125L188 267.417V362Z" fill="#64748B"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M200 140L80 200L200 20V140Z" fill="#30F2E0"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M212 132.584L306.584 179.875L212 38V132.584Z" fill="#94A3B8"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M200 140L320 200L200 260V140Z" fill="#48ABF4"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M200 380L320 200L200 260V380Z" fill="#6469E4"/>
</svg>

mev-boost

mev-boost allows proof-of-stake Ethereum consensus clients to outsource block construction

Maybe you want to skip the tagline or change it. But having a logo be a vector SVG is nice, no need to duplicate "mev-boost" words in logo (h2 is good), and centering looks good.

Another good feature of SVG: it will look good it both light and dark mode github.

Oh... it might be that github is blocking inline SVG from github.
You will the SVG logo in the dropbox folder: https://www.dropbox.com/sh/gkzbxxauope2bda/AAByKSO4ulIKzhp2GJy4OX3Ia?dl=0
You might need to host the file somewhere and include it as ...

Codecov Report

Merging #217 (74a894d) into main (ef734ab) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #217   +/-   ##
=======================================
  Coverage   83.63%   83.63%
=======================================
  Files           5        5
  Lines         556      556
=======================================
  Hits          465      465
  Misses         68       68
  Partials       23       23

Flag
Coverage Δ

unittests
83.63% <ø> (ø)

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

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 ef734ab...74a894d. Read the comment docs.


Dota2 (steam) always crashes, when run with glxosd

I have Ubuntu 14.04 and GeForce 755M (lenovo ideapad y510p). Dota2 without glxosd runs fine, but when I try glxosd --steam %command% and launch it, all I can see for a second i is a black screen with osd, then crashes ... any others of games launching with glxosd run fine.

I can confirm that Dota 2 crashes when adding GLXOSD to the launch options. Dota 2 will crash with a segmentation fault. It happens exactly as martin80cz says.
I'm running discrete graphics on a desktop computer. I've installed GLXOSD via the PPA.
OS: Ubuntu 14.10 64bit
CPU: Intel i7-4770 3.4GHz
GPU: Nvidia GTX680 (346.35 proprietary driver)

It would seem that Counter Strike Global Offensive and Chivalry now crash as well. Does this have to do with the newer Nvidia drivers or how things have changed under the hood in Ubuntu 14.10?
Back in Ubuntu 14.04 with older Nvidia drivers I was able to run CS GO with GLXOSD no problem.

Doesn't seem to happen to me on Kubuntu 14.04 with CS:GO, so I assume this is caused by libstdc++ compatibility issues... I will try Dota 2 tomorrow, but I can't really guarantee a solution any time soon because this issue would require a lot of packaging work and I don't really have that much time right now...

This bug is directly related to this:
https://github.com/nickguletskii/GLXOSD/issues/24

I tried CS:GO in Ubuntu 15.04 running in VirtualBox and it worked (after removing Steam's copy of libstdc++). Can you please try removing Steam's libstdc++?
mv /home/shoof/.steam/ubuntu12_32/steam-runtime/i386/usr/lib/i386-linux-gnu/libstdc++.so.6{,.disable}

I renamed the following on Ubuntu 15.04 64bit, and it seems to work now with Dota 2. No crashing on startup anymore, and GLXOSD is able to display itself properly.
libstdc++.so.6.0.18
libstdc++.so.6
libgcc_s.so.1

GLXOSD is still black in Metro and Shadow Warrior though, so that issue seems to be unrelated to this.

This is fixed in version 3.1.0.


On modifying a file in windows, the time stamp is set to a future date

Environment
Windows version: Windows 7
Processor architecture: Intel x86 64
Dokany version: 1.0.5
Library type (Dokany/FUSE): Dokan
Check List
Description
I am using DOKAN SSHFS to mount to a remote linux server.
When I modify a file in windows the linux file timestamp is set to a future date. Because of this all the builds/make system is failing. Specifically the date is set to Jan 18 2038 on Linux and on windows it does not show any timestamp after the file is modified. I am using notepad to modify the file. In fact I used other softwares to modify the file and still see the same issue
Based on the timestamp it is being set on Linux, this looks like a integer overflow problem to me. I am not sure but I have seen similar issues before.
I am not sure if this is  a bug with the library or dokan-sshfs. I opened a Issue for both

Hi @PraneethKapuganti ,
Dokan sshfs is more a testing software / presentation that should not be really used day to day or it needs a good review :)
Dokan handle the date correctly on files for sure so I would say dokan sshfs is broken on this part.
Have you looked at https://github.com/Foreveryone-cz/win-sshfs ?
It is a better supported sshfs !

Hi @Liryna
I did look at win-sshfs. It is slow compared to Dokan sshfs. Especially it takes a lot of time in refreshing the dirs and files.

Humm so regardin to your issue.
Can you take a look at the value returned by https://github.com/dokan-dev/dokan-sshfs/blob/master/DokanSSHFS/DokanOperations.cs#L655 ?
If SftpATTRS attr as at least the correct values.


Simplify works with auto-detected target frameworks

This PR fixes #1737 by changing the logic of DependenciesFile.SimplifyFrameworkRestrictions so that it no longer called a helper method that threw and exception when the framework is auto-detected.  Instead, we use the ProjectFile type and members of the ProjectFile module to get the list of distinct targetframeworkversions, similar to what is already done in other pathways.
To make it work I had to split up DependenciesFile into several smaller files, so that the ordering was such that the actual implementation of DependenciesFile came after ProjectFile.
I included a passing integration test to show the new functionality works.

thanks!


Specify the minimum Kubernetes version in pre-requisites

Can you explicitly specify the minimum K8s version in README.md? https://github.com/qdrant/qdrant-helm#prerequisites

@felix28 it's now in the readme 😃
https://github.com/qdrant/qdrant-helm/tree/main/charts/qdrant#prerequisites


Bugfix/on blur fix

OnAddingRequested to be called at all times
OnBlur fixes

Codecov Report

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

@@            Coverage Diff            @@
##           master    #399      +/-   ##
=========================================
+ Coverage   60.79%   60.8%   +<.01%
=========================================
  Files          13      13
  Lines       36546   36547       +1
  Branches      140     141       +1
=========================================
+ Hits        22219   22222       +3
+ Misses      14250   14249       -1
+ Partials       77      76       -1

Impacted Files
Coverage Δ

modules/components/tag-input.ts
75% <ø> (+0.64%)
:arrow_up:

...omponents/dropdown/tag-input-dropdown.component.ts
69.23% <ø> (ø)
: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 03905fb...6c05f8c. Read the comment docs.


Feature: ability to limit the queue of concurrent open file descriptors

Exported function setConcurrentOpenFilesLimit that allows to put a limit on number of concurrently open file descriptors via graceful-fs.
Can be useful fighting "Too many files open" errors in large codebases

Sorry, I'll open an issue first to see if this is appropriate for the project


MySQL support

Postgres is great, but a lot of applications require MySQL. MariaDB and Percona both have solutions to multi-node replication (Galera and XtraDB Cluster, respectively), so it'd be very similar to the Postgres appliance in many ways.

+1 :smile:

+1

+1 here

+1 too

+1

:+1:  not using it but adding support for mysql would be pretty cool.

+1

+1

+1

I don't personally use MySQL, but I agree that to be a viable platform for broad adoption Flynn is going to need to offer MySQL.

In the meantime you can run mysql outside of flynn, you wont get the fancy provisioning stuff for your apps though.

+1

<3

OMG This is huge! 👍


feat: Cortex support embeddings

Related issues:

https://github.com/janhq/jan/issues/2840

@vansangpfiev @namchuai Can I check if we currently support this in cortex.cpp? (I recall the JS version did it already)

@vansangpfiev @namchuai Can I check if we currently support this in cortex.cpp? (I recall the JS version did it already)

No - we don't support it yet.

We need to update documentations for API references and capabilities

Thank you @nguyenhoangthuan99! Nicely done
✅ QA: /embeddings endpoint
encoding:

float (default),
base64

Inputs:

String (above)
array of strings
array of integers
array of arrays

Docs:


FLUID-6145: Trial dependency update to FLUID-6145 era dependencies

The node tests run fine, but unfortunately this jams at the point testem tries to start up

Closed since #21 has been merged


Cannot vectorize a loop with inner hidden loop (findfirst)

I have a simple algorithm that I want to vectorize. Works with @simd but for @avx throws an error that x is not defined.
function check_simd(regex_list, input)
  input_len=length(input)
  icon_indices = Vector{Int64}(undef, input_len)
      @avx for j=1:input_len
          icon_indices[j] = findfirst(x-> match(x, input[j]) !== nothing, regex_list)
      end
  return icon_indices
end

MWE here: https://gist.github.com/aminya/4b6e6db1147e63727cffc781633a8e0b

A few problems:
[ ] No handling of anonymous functions (ie, x -> match(x, input[j])).
[ ] No SIMD implementation of findfirst, or match, especially for strings and regexes.
[ ] No SIMD string support.

For dealing with anonymous functions, you can use these:

ExprTools#72
ExprTools#90
LegibleLambdas

I haven't seen ExprTools before, but it may be worth taking a look at more generally.
The simplest approach for handling anonymous functions is just moving the definition in front of the loops, and pretending it is any old opaque function. This will prevent many optimizations like unrolling and blocking, because opaque functions are assumed to be expensive enough so that it isn't worth it. Note that functions like log and sin are not opaque, but are already considered expensive enough to prevent these optimizations, making this sensible.
Alternatively, I could try and estimate their cost.
Currently, LoopVectorization does not recognize the loop-y nature of findfirst at all.
A great idea for an improvement would be recognizing these functions (like map and friends), parsing them as another nested loop. If I do this, it'll be worth interpreting anonymous functions as the body of that inner loop.
To keep you off the edge of your seat, I want to point out that SIMD implementations of match and SIMD string and regex support are unlikely to come any time soon.

I get the same problem with the following function
function rpca_ga_1(Xnorms,U::AbstractMatrix{T},w; tol=1e-7, iters=1000, verbose=false) where {T}
    d,N = size(U)

    q = randn(d)
    q ./= norm(q)
    qold = copy(q)

    for i = 1:iters
        @avx for n = eachindex(Xnorms)
            w[n] = sign(U[:,n]'q)*Xnorms[n]
        end
        μᵢ = μ!(q,w,U)
        q .= μᵢ./norm(μᵢ)
        dq = sqrt(sum(((x,y),)->abs2(x-y), zip(q,qold)))
        verbose && @info "Change at iteration $i: $dq"
        if dq < tol
            verbose && @info "Converged after $i iterations"
            break
        end
        qold .= q
        i == iters && @warn "Reached maximum number of iterations"
    end
    q
end


Go get is pulling commit hash from wrong tag

What version of Go are you using (go version)?

go version go1.16.6 darwin/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/nulop/Library/Caches/go-build"
GOENV="/Users/nulop/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/nulop/go/pkg/mod"
GONOPROXY="github.com"
GONOSUMDB="github.com"
GOOS="darwin"
GOPATH="/Users/nulop/go"
GOPRIVATE="github.com"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/nulop/sdk/go1.16.6"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/nulop/sdk/go1.16.6/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.16.6"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/nulop/go/src/github.com/donsa/gqlgen/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/fw/303jhf993zv1wr79_d3w9zm9vhc0f6/T/go-build3030822101=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
go get github.com/vektah/dataloaden@a19b9a6e7c9e61b67e20b6c862b49ba0dab1ef27.
What did you expect to see?
Required module inside go.mod to be github.com/vektah/dataloaden v0.3.0-0.20190515034641-a19b9a6e7c9e.
What did you see instead?
Required module inside go.mod is github.com/vektah/dataloaden v0.2.1-0.20190515034641-a19b9a6e7c9e
Go get Is pulling it from v0.2.1 (a tag that doesn't even exist).
I believe this is not correct because this specific commit belongs to tag v0.3.0.
By cloning dataloaden repo and running git tag --contains a19b9a6e it points to tag v.0.3.0.
By doing git log --pretty=oneline v0.2.0...v0.3.0 I can see that the commit hash belongs to it as well.
Then if someone tries to use any package that imports dataloaden (as an indirect dependency), go mod tidy will remove it from or go.sum file (I believe because it can't find that commit hash associated with that tag) and then will complain about it:
$ go generate ./...
/Users/nulop/go/pkg/mod/github.com/vektah/dataloaden@v0.2.1-0.20190515034641-a19b9a6e7c9e/pkg/generator/generator.go:12:2: missing go.sum entry for module providing package github.com/pkg/errors (imported by github.com/vektah/dataloaden/pkg/generator); to add:
go get<EMAIL_ADDRESS>internal/dataloader/dataloader.go:1: running "go": exit status 1

And if we run the proposed command it will obviously fail:
go get<EMAIL_ADDRESS>invalid pseudo-version: preceding tag (v0.2.0) not found

v0.3.0 points to https://github.com/vektah/dataloaden/commit/9d6b85cf15084a11c813eb0ee91c604b0e4a1de0 which is the result of a merge of https://github.com/vektah/dataloaden/commit/a19b9a6e7c9e61b67e20b6c862b49ba0dab1ef27
In this case go is creating a pseudoversion based on the most recent tag before the commit, which would be v0.2.0

Ok, I will try to understand why go mod tidy for v1.16.6 is removing dataloaden dependency from my go.sum even though is being referenced in gqlgen go.mod. I think that's the reason why its failing.
Thanks for the clarification.


Response headers will be ignored/removed while using ctx.throw.

ctx.set( 'Access-Control-Allow-Origin', '*' );
ctx.throw( 404 );

By using the code above, the header of Access-Control-Allow-Origin will not be sent with responding. Even though I can use res.statusCode instead, but I think the ctx.throw method should not remove response headers.
<EMAIL_ADDRESS><EMAIL_ADDRESS>

According to my usage, you also put it in the try block like this
app.use(async (ctx, next) => {
  try {
    ctx.set('Access-Control-Allow-Origin', '*')
    await next()
  } catch (err) {
    ctx.set('Access-Control-Allow-Origin', '*')
    ctx.status = err.status
})

Otherwise, there will be no header you set in the normal code.

@mutoe @jonathanong @LvChengbin  FWIW we use the second parameter in context.throw. YMMV

any updates? I am also confused about this problem.


boot.loader.systemd-boot: add extraInstallCommands option

Description of changes
GRUB received the ability to run custom scripts after the installation in #108242. A comparable mechanism is not available for systemd-boot. This patch is an attempt at adding that functionality.
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/)
22.11 Release Notes (or backporting 22.05 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

@Lassulus do you know how can review this ?


Refining Dashboard New User Text

Current

Proposed
Just thought I'd trim this down a bit to the following...
"iNaturalist is all about sharing and discussing observations of living things. Below are discussions happening right now. (Note: You are automatically subscribed to any discussions you contribute comments or identifications to. Manage these updates in the "Subscriptions" section to the right.)"
Feel free to correct my grammar.

done


goss: 0.4.4 -> 0.4.5

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for goss is: Quick and easy server validation
meta.homepage for goss is: https://github.com/goss-org/goss/
meta.changelog for goss is: https://github.com/goss-org/goss/releases/tag/v0.4.5
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact
Checks done

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 0.4.5 with grep in /nix/store/a3hm97qim3y2bmib18jjp3brfffyy2j3-goss-0.4.5
found 0.4.5 in filename of file in /nix/store/a3hm97qim3y2bmib18jjp3brfffyy2j3-goss-0.4.5

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath
dgoss
goss

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/a3hm97qim3y2bmib18jjp3brfffyy2j3-goss-0.4.5 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A goss https://github.com/r-ryantm/nixpkgs/archive/46f1ebc741accbc0183a53be46c74f73904f370b.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/46f1ebc741accbc0183a53be46c74f73904f370b#goss

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/a3hm97qim3y2bmib18jjp3brfffyy2j3-goss-0.4.5
ls -la /nix/store/a3hm97qim3y2bmib18jjp3brfffyy2j3-goss-0.4.5/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

dgoss
goss

Maintainer pings
cc @Hyzual @06kellyjac @anthonyroussel for testing.

Updated dgoss and fixed stall NixOS test here: https://github.com/NixOS/nixpkgs/pull/298611


Improvements to Attendance Model

TODO: Add ability to:

Clear/reset attendance
Remove last attended session

Improvements to testing (for additional coverage)

closes #42

And adding storage integration


Add ES4/AS3 is operator

TypeScript Version:  2.1.1 / nightly (2.2.0-dev.201xxxxx)
There could be an is operator, it'd be so cool! I'm saying about the is operator that exists in ES4 and ActionScript 3.
Example
console.log(
    0 is Number,
    true is Boolean
);

It's like instanceof. The unique difference is that it checks for the constructor of primitive values.
Please implement it ! Thanks !

Abandoned ES4 runtime features should be taken to ES-Discuss / TC39.

@RyanCavanaugh Thanks ! I'll check it out


Use withUnsafeMutableBufferPointer in NSData test.

This ensures that:

We produce a well scoped stable pointer for the duration of the use.

We aren't attempting to do an implicit conversion from an array to
pointer in an argument position which is an autoclosure result,
which is now disallowed in
https://github.com/apple/swift/pull/16623.

@swift-ci Please test

@swift-ci Please test

@swift-ci Please test


Module 1.1 Assignment

Given what you have learned about Git, why would you want to use Git in your classroom?

Because it is a highly useful distributed version control system.


Let sphinx add parameter description with nested structures to documentation

This adds automatic documentation generation from generate_parameter_library yamls, where nested structures or __map_ parameters are used and completes #651

[x]  It remains draft until the missing feature of the library will be implemented, see https://github.com/ros-controls/control.ros.org/pull/216

Binary builds will fail until generate_parameter_library is released: the multiline description generates invalid C++ code.

I checked that all links point to the correct files and briefly went over the texts. I left a couple of comments on the way that in my opinion improve readability, but since I'm not a native speaker I wouldn't consider them required, hence approving.

Thanks for the proof reading. I basically merged the infos from the documentation files with them of the yaml -> adding new information is actually out of scope -> I opened an issue for that.
@bmagyar can we merge and release that with the same sync than 3.7.0 of generate_parameter_library? I guess we should wait for the next one?


menuconfig: Add two small error reporting and UI improvements

Update menuconfig and Kconfiglib to upstream revision 3393d4ab94894, to
add two minor menuconfig improvements and two small bugfixes:

Expected errors, like syntax errors in Kconfig files, no longer
generate a Python backtrace. Just the error message is shown.

Entering a choice now places the cursor on the selected symbol, if
any.

Having two consecutive empty 'if's (which could also appear e.g. due
to osource) crashed the menuconfig when entering show-all mode, due
to the 'if' removal logic in Kconfiglib failing to remove one of
them. All configurations of 'if's are now correctly removed.
This error was found while reading the code.

Some minor optimizations and some internal cleanup is included as well.

Codecov Report

Merging #11070 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #11070   +/-   ##
=======================================
  Coverage   53.22%   53.22%
=======================================
  Files         217      217
  Lines       26733    26733
  Branches     5926     5926
=======================================
  Hits        14228    14228
  Misses      10086    10086
  Partials     2419     2419

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 d83ade7...e01cd73. Read the comment docs.


sometimes the content of ap_author is missing from the post

Quick summary
sometimes the content of ap_author is missing from the post.
When i update a post, sometimes the author ([ap_author]) disappears from the post.
Updating the post again (without actually changeing anythin) usually helps.
No Idea when this happens.
Steps to reproduce
see above.
What you expected to happen
the author is displayed
What actually happened
Nothing is displayed
Impact
One
Available workarounds?
No but the platform is still usable
Logs or notes
No response

Doing a bit of Debug:
The Problem seems to be specific on the first Publication.
And what happens is, that
$name = \get_the_author_meta( 'display_name', $item->post_author );

returns something empty, which is why
    		if ( ! $name ) {
			return '';
		}

fires.
Maybe it is kind of a race-condition or $item->post_author does not return a meaningful value.
This happens for ap_author and ap_authorurl

One more Test.
At this point $item->post_author returns 0 resulting in the issue.

Maybe related (how to get the post author)
https://developer.wordpress.org/reference/functions/get_post_field/#comment-2906


Dump fit results to a YML

This might provide handy and will further simplify the main fitter. I'll again use this project to test the feasibility of it.

Done.


New Git tags not showing up in the readthedocs.org Admin interface

Details

Read the Docs project URL: https://readthedocs.org/projects/bigchaindb-server/
Build URL (if applicable): NA
Read the Docs username (if applicable): NA

Expected Result
We just release the latest version of BigchainDB Server, version 2.0.0b8. Here is the release on GitHub:
https://github.com/bigchaindb/bigchaindb/releases/tag/v2.0.0b8
Like all "releases" on GitHub, it has a Git tag (i.e. a label for the Git commit). In this case, the Git tag is v2.0.0b8.
When I go to the Admin interface on readthedocs.org, that tag (v2.0.0b8) is expected to show up, for example, in the list of Versions under Admin --> Versions (i.e. at https://readthedocs.org/dashboard/bigchaindb-server/versions/ ).
Actual Result
The tag v2.0.0b8 is not listed there. Nor is it an option in the drop-down list at Admin --> Advanced Settings --> Default branch
Notes
This is new. We've been using readthedocs.org for years and this never happened before.
That drop-down list for Admin --> Advanced Settings --> Default branch seems new. I seem to recall being able to type anything in there before. Maybe the code introducing that drop-down list broke something?
The same problem happened earlier today when we released a new version of the BigchainDB Python Driver, i.e. this release:
https://github.com/bigchaindb/bigchaindb-driver/releases/tag/v0.6.2
The associated Git tag (v0.6.2) doesn't show up in the BigchainDB Python Driver Admin interface on readthedocs.org.

We have an open issue about this, https://github.com/rtfd/readthedocs.org/issues/4450.
This problem isn't new, you should be able to see your new branches if you trigger a new build on latest (or any other version).

@stsewd Issue #4450 was created in July, but readthedocs.org was working fine (detecting all Git tags, including new ones) until we did our latest releases. We did several releases (new Git tags) since July and were able to update readthedocs.org to tell it to use the new tag... until yesterday.
That's why this seems like something new and different.

RTD has never been able to detect new tags/branches on webhooks. I think you were relying in one of two things:

A build to latest or another version was triggered
You were able to put anything on the admin interface

RTD currently works like this:

Clone the repo
Checkout to the branch
Sync the versions with the information from the repo that was just cloned.

was changed to a select, which means to have the latest versions, rtd needs to the above steps.

Closing as now I can see your new tag no the versions list. Feel free to subscribe to the related issue.


Security Group funny business

Security groups require cleaning up - will be done pronto!

Cleaned up security groups


chore: Fix GitHub Actions CI jobs

Fixes #2167

I have read the CLA Document and I hereby sign the CLA


Document tmt export posibilities

tmt [test|plan|story] export --help doesn't list which options are avaialble, once sees that only if the --how  contains invalid value.
Also we don't document the possibilities at one place in the documentation. polarion/nitrate are mentioned, but dict, yaml (and new json) are nowhere listed.

Help listing the supported formats is part of https://github.com/teemtee/tmt/pull/2059/, https://github.com/teemtee/tmt/pull/2059/files#diff-2bcd3056539a32d0370d652cfc6c04bd19b674cae84c341c3be7fc51cc3c60e6R595


[Parse] Update error if closure has unnamed parameter to warning

This reverts commit 4ba4da45b92cce33412cb0e13fa7789c4865f31c and updates the warning to a warning until Swift 6.

@swift-ci please smoke test


Prevent recursion crash for kfunc/kretfunc

When attaching to certain functions via kfunc/fentry and
kretfunc/fexit there is a potential for recursion that
leads to an ABBA deadlock and subsequent kernel crash.
This change adds a PER_CPU_MAP when we detect one of these
dangerous functions and upon entry to the BPF prog attaching
to this function will set the value in this map to 1 if
the value is 0 otherwise the function will exit early. Then
upon BPF prog exit it will set the value back to 0. This
will prevent the aforementioned recursive behavior.
Simple repro:
kfunc:queued_spin_lock_slowpath
{
  @b[pid] = 2;
  @A[tid] = 2;
}

kretfunc:queued_spin_lock_slowpath
{
  @b[pid] = 3;
  @A[tid] = 3;
}

Note: there is already a mechansim in the kernel to prevent
this from happening for kprobe/kretprobe.
Checklist

[ ] Language changes are updated in man/adoc/bpftrace.adoc
[ ] User-visible and non-trivial changes updated in CHANGELOG.md
[x] The new behaviour is covered by tests

Ok this is ready for another look @4ast @danobi

assuming you did not change irbuilderbpf.cpp bits

Yeah nothing changed there but in codegen we now add the recursion check for all probes if we detect a dangerous function is being attached to via kfunc/kretfunc


install failed &  No module named 'cityflow'  --using docker with windows10

I have followed the guide and now can run a cityflow container with "docker run -it cityflowproject/cityflow:latest".
According the guide, after start the container, "CityFlow is out-of-the-box along with miniconda with python3.6.", and it directly "import cityflow".
But, when I import, it says "ModuleNotFoundError: No module named 'cityflow'".
I start container in a virtural environment (created by anaconda, with python 3.9.7), and I import cityflow in Pycharm poject which runs in the same virtural enviralment .
I don't know how can I use cityflow. If u can give me some help, I will really appreciate u guys!!

guys! I just solve this problem !!  Not easy(cry
The reason Pycharm can not find "cityflow" module is that the module is installed in Docker bash( I don't know whether the discribtion is exactly ), and my Pycharm interpreter is local interpreter. So, all you need is to change your Pycharm interpreter to the one in the docker.
To achieve this, you can follow this tutorio:
https://blog.csdn.net/qq_38342468/article/details/123570324?spm=1001.2014.3001.5506
It teach us how to config remote settings for the container, and then to connect Pycharm with your container.
In the last step of the tutorio, you need to find the position where the python interpreter is in your container, so that you can use the "import cityflow"!!

hope can help u !