stm32h7: adc: sequence of more than 8 channels does not work

Describe the bug
Starting an adc scan sequence of more than 8 channels does not work on STM32H7
Tested on nucleo_h723zg with adc_sequence sample
To Reproduce

create an overlay for the stm32h723 in the board folder of the adc_sequence sample (see below)
update the prj.conf to add logs and reduce extra samples with

CONFIG_LOG=y
CONFIG_ADC_LOG_LEVEL_DBG=y
CONFIG_SEQUENCE_SAMPLES=1

go to samples/drivers/adc/adc_sequence and build the project with west build -b nucleo_h723zg . -p
flash to nucleo board with west flash

Example of overlay I used:

/ {
	zephyr,user {
	};

	aliases {
		adc0 = &adc1;
	};
};

&gpiod {
    status = "okay";
};

&gpioc {
    status = "okay";
};

&gpiob {
    status = "okay";
};

&clk_lsi {
	status = "okay";
};

&clk_hsi48 {
	status = "okay";
};

&clk_hsi {
	status = "okay";
	hsi-div = <1>;
};

&clk_hse {
	clock-frequency = <DT_FREQ_M(25)>;
	status = "disabled";
};

&pll {
	div-m = <4>;
	mul-n = <34>;
	div-p = <1>;
	div-q = <68>;	/* DIVQ at 68 to get 8MHz FDCAN clock */
	div-r = <2>;
	clocks = <&clk_hsi>;
	status = "okay";
};

&pll2 {
	status = "okay";
	clocks = <&clk_hsi>;
	div-m = <4>;
	mul-n = <12>;
	div-p = <4>;
	div-q = <2>;
	div-r = <2>;
};

&rcc {
	clock-frequency = <DT_FREQ_M(544)>;
	clocks = <&pll>;
	d1cpre = <1>;
	hpre = <2>;    /* HCLK: 272   MHz */
	d1ppre = <2>;  /* APB1: 136 MHz */
	d2ppre1 = <2>; /* APB2: 136 MHz */
	d2ppre2 = <2>; /* APB3: 136 MHz */
	d3ppre = <2>;  /* APB4: 136 MHz */
};

&adc1 {
	#address-cells = <1>;
	#size-cells = <0>;
	status = "okay";

	pinctrl-0 = <&adc1_inp11_pc1 &adc1_inp10_pc0 &adc1_inp17_pa1 &adc1_inp16_pa0
		&adc1_inp15_pa3 &adc1_inp14_pa2 &adc1_inp19_pa5 &adc1_inp18_pa4
		&adc1_inp7_pa7 &adc1_inp3_pa6 &adc1_inp8_pc5 &adc1_inp4_pc4
		&adc1_inp5_pb1 &adc1_inp9_pb0 &adc1_inp6_pf12 &adc1_inp2_pf11>;
	pinctrl-names = "default";
	st,adc-clock-source = <ASYNC>;	/* PLL2_P @48MHz */
	st,adc-prescaler = <1>;
	st,adc-sequencer = <FULLY_CONFIGURABLE>;
	vref-mv = <2000>;

	channel@2 {
		reg = <2>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,vref-mv = <2000>;
		zephyr,resolution = <16>;
	};

	channel@3 {
		reg = <3>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,vref-mv = <2000>;
		zephyr,resolution = <16>;
	};

	channel@4 {
		reg = <4>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,vref-mv = <2000>;
		zephyr,resolution = <16>;
	};

	channel@5 {
		reg = <5>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,vref-mv = <2000>;
		zephyr,resolution = <16>;
	};

	channel@6 {
		reg = <6>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,vref-mv = <2000>;
		zephyr,resolution = <16>;
	};

	channel@7 {
		reg = <7>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,vref-mv = <2000>;
		zephyr,resolution = <16>;
	};

	channel@8 {
		reg = <8>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,vref-mv = <2000>;
		zephyr,resolution = <16>;
	};

	channel@9 {
		reg = <9>;
		zephyr,gain = "ADC_GAIN_1";
		zephyr,reference = "ADC_REF_INTERNAL";
		zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
		zephyr,vref-mv = <2000>;
		zephyr,resolution = <16>;
	};

	channel@a {
	 	reg = <10>;
	 	zephyr,gain = "ADC_GAIN_1";
	 	zephyr,reference = "ADC_REF_INTERNAL";
	 	zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
	 	zephyr,vref-mv = <2000>;
	 	zephyr,resolution = <16>;
	 };
};

Expected behavior
Sequence should start and complete in a loop and analog values should be displayed
Impact
Sequence need to be split to be at most 8 channels long
Logs and console output
Here is the log I have with 9 channels:
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:01.002,000] <dbg> adc_stm32: adc_stm32_start_conversion: Starting conversion
[00:00:01.002,000] <dbg> adc_stm32: adc_stm32_isr: adc@40022000 ISR triggered.

When I only set 8 channels (commenting out one channel), I get this logs: in a loop:
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
[00:00:00.000,000] <dbg> adc_stm32: adc_stm32_channel_setup: Channel setup succeeded!
- adc@40022000, channel 2, 1 sequence samples:
- - 1015 = 0mV
- adc@40022000, channel 3, 1 sequence samples:
- - 751 = 0mV
- adc@40022000, channel 4, 1 sequence samples:
- - 8 = 0mV
- adc@40022000, channel 5, 1 sequence samples:
- - 480 = 0mV
- adc@40022000, channel 6, 1 sequence samples:
- - 1002 = 0mV
- adc@40022000, channel 7, 1 sequence samples:
- - 9 = 0mV
- adc@40022000, channel 8, 1 sequence samples:
- - 13 = 0mV
- adc@40022000, channel 9, 1 sequence samples:
- - 10 = 0mV
ADC sequence reading [1]:
[00:00:01.002,000] <dbg> adc_stm32: adc_stm32_start_conversion: Starting conversion
[00:00:01.002,000] <dbg> adc_stm32: adc_stm32_isr: adc@40022000 ISR triggered.
[00:00:01.002,000] <dbg> adc_stm32: adc_stm32_isr: adc@40022000 ISR triggered.
[00:00:01.002,000] <dbg> adc_stm32: adc_stm32_isr: adc@40022000 ISR triggered.
[00:00:01.002,000] <dbg> adc_stm32: adc_stm32_isr: adc@40022000 ISR triggered.
[00:00:01.002,000] <dbg> adc_stm32: adc_stm32_isr: adc@40022000 ISR triggered.
[00:00:01.002,000] <dbg> adc_stm32: adc_stm32_isr: adc@40022000 ISR triggered.
[00:00:01.002,000] <dbg> adc_stm32: adc_stm32_isr: adc@40022000 ISR triggered.
[00:00:01.002,000] <dbg> adc_stm32: adc_stm32_isr: adc@40022000 ISR triggered.
- adc@40022000, channel 2, 1 sequence samples:
- - 656 = 0mV
- adc@40022000, channel 3, 1 sequence samples:
- - 436 = 0mV
- adc@40022000, channel 4, 1 sequence samples:
- - 11 = 0mV
- adc@40022000, channel 5, 1 sequence samples:
- - 350 = 0mV
- adc@40022000, channel 6, 1 sequence samples:
- - 534 = 0mV
- adc@40022000, channel 7, 1 sequence samples:
- - 14 = 0mV
- adc@40022000, channel 8, 1 sequence samples:
- - 9 = 0mV
- adc@40022000, channel 9, 1 sequence samples:
- - 11 = 0mV

Environment (please complete the following information):

OS: Linux (Ubuntu 24.04)
Toolchain: Zephyr sdk 0.16.5
Release 3.7.0

Additional context

Hello, I think you could have an overrun error (this can be checked in the ADC status register). Could you try increasing the st,adc-prescaler and/or the zephyr,acquisition-time?

That was it, thanks. I do indeed see OVR flag set. As the OVR flag is not handled in the interrupt there is no information for the user that an overrun occurred. Should I close this issue and should OVR be handled in the driver anyway ?

OVR is very tricky to handle, if it happens, more likely than not it will happen again, since timings will probably be the same the next time a measurement is made. The best way to treat OVR is to not have it happen at all by configuring the timings accordingly (mainly clock source, prescaler and sampling time).
But maybe a log stating that an overrun occurred and that timings need to be adjusted would be in order.

@gautierg-st Could you open a PR to provide a message when OVR is seen ?


Error handling inside remote workitem Fetch()

In remoteworkitem/github.com :
( https://github.com/almighty/almighty-core/blob/master/remoteworkitem/github.go#L34 )
There is currently no error reporting. With the merge of PR #712, there needs to be error reporting because of the way configuration is being handled:
       configuration, err := config.GetConfigurationData()
	if err != nil {
		fmt.Print(errors.Wrap(err, "Failed to setup the configuration"))
		return nil
	}

Some discussion here : https://github.com/almighty/almighty-core/pull/712#discussion_r99121305
The error could be embedded in TrackerItemContent and returned in the channel itself.

There is currently no error reporting. With the merge of PR #712, there needs to be error reporting because of the way configuration is being handled:

@sbose78 Is this still relevant? I see that similar code is present here:
https://github.com/fabric8-services/fabric8-wit/blob/79ce6a9abf2c8f2e2c6ac1e3f86c0046fd70a18f/configuration/configuration_whitebox_test.go#L29-L33
Not sure if it makes sense to propagate the error up in this case, since resetConfiguration() is being used in init():
https://github.com/fabric8-services/fabric8-wit/blob/79ce6a9abf2c8f2e2c6ac1e3f86c0046fd70a18f/configuration/configuration_whitebox_test.go#L20-L25

We don't bother about propagating the configuration initialization's error  in tests - we just panic :)
When something panics in golang, execution is stopped - which ensures that we don't proceed with a mis-configured configuration object.

@sbose78 Is this still relevant?

Nope, because after https://github.com/fabric8-services/fabric8-wit/pull/868 , we started initializing the configuration object only once in main.go https://github.com/fabric8-services/fabric8-wit/blob/master/main.go#L71  and then if successful, it is passed on to the service/controller https://github.com/fabric8-services/fabric8-wit/blob/master/main.go#L219
Thanks for bringing this up @nikhita .


Update dataset docstrings

Fix all formatting issues in dataset docstrings
Fix alpaca_cleaned_dataset docstring

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 68.11%. Comparing base (a129b55) to head (f28f5f1).
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1171      +/-   ##
==========================================
- Coverage   68.32%   68.11%   -0.22%
==========================================
  Files         215      214       -1
  Lines        9722     9683      -39
==========================================
- Hits         6643     6596      -47
- Misses       3079     3087       +8

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


New package: ObjectDetectors v0.3.0

Registering package: ObjectDetectors
Repository: https://github.com/IHPSystems/ObjectDetectors.jl
Created by: @stemann
Version: v0.3.0
Commit: e4c8d1a5b9d2bea9b0f6321c7439f20d88fff329
Git reference: HEAD

Suggestion to rename ObjectDetector to something more specific:
https://github.com/r3tex/ObjectDetector.jl/issues/73
[noblock]


Bing Jailbreak

why removed jailbreak from latest release?

The jailbreak feature is implemented in the latest code which has not been released yet. If you want to use the jailbroken Bing, you need to clone the latest code.


Shippingprovider does not calculate VAT correct.

Hi,
I'm having these strange issues with shipping providers and VAT.
All my shipping providers are configured to have 0 VAT but products can have 0 and a few different percentages ranging from 7% to 24%.
In one order f.ex we have 1 product and it has 24% VAT. total 684 kr. Ex vat : 552 kr.
and shipping provider amount that is 310 kr. (with vat : 384 kr. (24% that should not be added))
Total charged is : 1.069 kr.
But should be 994 kr.
684 + 310 = 994
But the ChargedOrderAmount is calculated like this : 684 + 384 = 1068.
The order has IsVatCharged = true.
If the order has product that has VAT on it then shipping provider gets the same VAT ?

Hey Gardar!
Following European rules, we average the VAT of the products and apply that to the shipping.
At the moment it's not possible to overrule this with the percentage on the provider.
That percetnage is only used if you want to 'sum up' your shipping costs on your website without having anything in the customers basket.


Improve assert_database_query_count output

As discussed in CZO
The message we receive talks about the case when actual query > expected query. But it doesn't talk about, if
actual query < expected query.
So a minor tweak in the message is required.
Changing
If the new query is necessary, you should update this test,
and explain in the pull request why adding an additional query can't be avoided.

to
If an unnecessary query was removed or the new query is necessary, you should update this test,
and explain what queries we added/removed in the pull request and why any new queries can't be avoided.

@zulipbot claim


Show usage of cargo:rerun-if-changed in examples

As the examples are going to be cribbed by application developers, it's important to demonstrate how rebuilds using tower-grpc-build can be reduced by printing cargo:rerun-if-changed instructions for cargo to only rerun the build script if the .proto files change.

Hi @mzabaluev, how does this work if one's building multiple proto files in the same build instance? Something like build(&["proto/one.proto", "proto/two.proto"], &["proto"])

@nevi-me Each file needs its own line, as per the Cargo book.


Error when I use maven plugin version 1.4.2

I have the following error with the version 1.4.2, but I don't know when I can find more information about the error
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:1.4.2:check (default-cli) on project myProject: One or more exceptions occured during dependency-check analysis -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :myProject

If I change the version to 1.4.0 to execute dependency check, the analysis works fine
Could you help me to use the latest version?
Thanks

More details about the error can be found by running maven with -X.
Jeremy
On Aug 23, 2016 6:38 AM, "Alex Piera"<EMAIL_ADDRESS>wrote:

I have the following error with the version 1.4.2, but I don't know when I
can find more information about the error
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:1.4.2:check (default-cli) on project myProject: One or more exceptions occured during dependency-check analysis -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :myProject
If I change the version to 1.4.0 to execute dependency check, the analysis
works fine
Could you help me to use the latest version?
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jeremylong/DependencyCheck/issues/547, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AA0qwuMjBiTvBB7wtzIuIWjQf7dpkrtvks5qis2egaJpZM4JqyHd
.

The complete error running maven with -X
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:1.4.2:check (default-cli) on project myProject: One or more exceptions occured during dependency-check analysis -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.owasp:dependency-check-maven:1.4.2:check (default-cli) on project myProject: One or more exceptions occured during dependency-check analysis
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: One or more exceptions occured during dependency-check analysis
	at org.owasp.dependencycheck.maven.CheckMojo.runCheck(CheckMojo.java:120)
	at org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.execute(BaseDependencyCheckMojo.java:423)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	... 20 more
Caused by: org.owasp.dependencycheck.exception.ExceptionCollection: One or more exceptions occured during dependency-check analysis
	at org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:427)
	at org.owasp.dependencycheck.maven.MavenEngine.analyzeDependencies(MavenEngine.java:95)
	at org.owasp.dependencycheck.maven.CheckMojo.runCheck(CheckMojo.java:97)
	... 23 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :myProject

When running with -X can you find where ODC is running. More info will
likely be there.  I'll have to adjust the final failure message.
Jeremy
On Aug 23, 2016 7:03 AM, "Alex Piera"<EMAIL_ADDRESS>wrote:

The complete error running maven with -X
[ERROR] Failed to execute goal org.owasp:dependency-check-maven:1.4.2:check (default-cli) on project myProject: One or more exceptions occured during dependency-check analysis -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.owasp:dependency-check-maven:1.4.2:check (default-cli) on project myProject: One or more exceptions occured during dependency-check analysis
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: org.apache.maven.plugin.MojoExecutionException: One or more exceptions occured during dependency-check analysis
at org.owasp.dependencycheck.maven.CheckMojo.runCheck(CheckMojo.java:120)
at org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.execute(BaseDependencyCheckMojo.java:423)
at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
... 20 more
Caused by: org.owasp.dependencycheck.exception.ExceptionCollection: One or more exceptions occured during dependency-check analysis
at org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:427)
at org.owasp.dependencycheck.maven.MavenEngine.analyzeDependencies(MavenEngine.java:95)
at org.owasp.dependencycheck.maven.CheckMojo.runCheck(CheckMojo.java:97)
... 23 more
[ERROR]
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :myProject
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jeremylong/DependencyCheck/issues/547#issuecomment-241697782,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0qwmru6S5f3ExIKoeZu0o2aIcnqD-xks5qitNrgaJpZM4JqyHd
.

Sorry Jeremy, but I can't find more information or files, I only find the file dc.h2.db.

Okay, I've updated some of the error handling/display and this will be included in the next release. In the meantime, if you run your maven build and pipe the output to a text file. You can then open the text file and you should be able to find a line that looks like:
[INFO] --- dependency-check-maven:

If you search between the above line and the build failure below you should find [ERROR] or [WARN] messages that will provide a better description of what the error is.
[INFO] Analysis Complete (3615 ms)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------

I found an error, but I use maven to analyze a Java project, no .NET project
[WARNING] An error occurred with the .NET AssemblyAnalyzer;
this can be ignored unless you are scanning .NET DLLs. Please see the log for more details.
[DEBUG] Could not execute GrokAssembly Cannot run program "mono": error=2, No such file or directory
[ERROR] Exception occurred initializing Assembly Analyzer.
[DEBUG]
org.owasp.dependencycheck.exception.InitializationException: An error occurred with the .NET AssemblyAnalyzer
	at org.owasp.dependencycheck.analyzer.AssemblyAnalyzer.initializeFileTypeAnalyzer(AssemblyAnalyzer.java:255)
	at org.owasp.dependencycheck.analyzer.AbstractFileTypeAnalyzer.initialize(AbstractFileTypeAnalyzer.java:160)
	at org.owasp.dependencycheck.Engine.initializeAnalyzer(Engine.java:442)
	at org.owasp.dependencycheck.maven.MavenEngine.initializeAnalyzer(MavenEngine.java:140)
	at org.owasp.dependencycheck.Engine.analyzeDependencies(Engine.java:380)
	at org.owasp.dependencycheck.maven.MavenEngine.analyzeDependencies(MavenEngine.java:95)
	at org.owasp.dependencycheck.maven.CheckMojo.runCheck(CheckMojo.java:97)
	at org.owasp.dependencycheck.maven.BaseDependencyCheckMojo.execute(BaseDependencyCheckMojo.java:423)
	at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:134)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:207)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
	at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
	at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
	at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:863)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:199)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)
	at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)
	at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)
	at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)
Caused by: java.io.IOException: Cannot run program "mono": error=2, No such file or directory
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1047)
	at org.owasp.dependencycheck.analyzer.AssemblyAnalyzer.initializeFileTypeAnalyzer(AssemblyAnalyzer.java:234)
	... 29 more
Caused by: java.io.IOException: error=2, No such file or directory
	at java.lang.UNIXProcess.forkAndExec(Native Method)
	at java.lang.UNIXProcess.<init>(UNIXProcess.java:186)
	at java.lang.ProcessImpl.start(ProcessImpl.java:130)
	at java.lang.ProcessBuilder.start(ProcessBuilder.java:1028)
	... 30 more

I hope that information can help you to fix the problem

I found the same error when I analyze the project with dependency check v 1.4.0, but in that case, the analysis ends fine

Thanks for the information - I'll take another look at the .NET analyzers.
For now, you can simply disable the two .NET analyzers by configuring:
<nuspecAnalyzerEnabled>false</nuspecAnalyzerEnabled>
<assemblyAnalyzerEnabled>false</assemblyAnalyzerEnabled>

If you are not sure where to set this, see example 4 here.
--Jeremy
On Wed, Aug 24, 2016 at 4:26 AM, Alex Piera<EMAIL_ADDRESS>wrote:

I found the same error when I analyze the project with dependency check v
1.4.0, but in that case, the analysis ends fine
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/jeremylong/DependencyCheck/issues/547#issuecomment-241992694,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA0qwrbB79bAnsfHKolzmMIB4vVpdyHnks5qjAAggaJpZM4JqyHd
.

Hi Jeremy,
I can't modify pom.xml file, for this reason, I will continue using v1.4.0
Thanks

The AssemblyAnalyzer on non-Windows machines will throw an
InitializationException if mono can't be found. In other execution contexts
(CLI, etc.) this doesn't cause ODC to give up entirely, however. Yes -
you'll get the same warning message as above, but as it states, you should
be able to ignore it unless there are .DLL's or .EXE's in the project that
you want analyzed.
As with other analyzers, when one of these happens, it just gets added to a
collection of exceptions that happened during analysis - it's normal to not
be able to open a file, for a file to be formatted goofy, or something like
that. The engine collects all these failures into a single exception which
is thrown and the engine bubbles it up. In the case of the Maven plugin, it
ONLY is supposed to fail the build if that exception collection is marked
as fatal, and Engine doesn't do it - so I'm not sure how isFatal is being
set to 1.
Is it possible that under that stack trace there might be another warning
about not being able to generate the report?
On Thu, Aug 25, 2016 at 4:14 AM Alex Piera<EMAIL_ADDRESS>wrote:

Hi Jeremy,
I can't modify pom.xml file, for this reason, I will continue using v1.4.0
Thanks
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/jeremylong/DependencyCheck/issues/547#issuecomment-242312538,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAdyEfvJGwF4asvEwFbers-3eoRe6GHgks5qjU7XgaJpZM4JqyHd
.

@colezlaw with the recent changes to exception handling this initialization exception will actually cause the build to fail...  I've got a few ideas to make this work.

A patch has been written that will suppress the initialization exception on non-windows platforms if 'mono' cannot be found on the path (and path to mono has not been specified). The patch will be included in 1.4.3.
TODOs were added to document the long term enhancement that will eventually be added to ensure this exception is not ignored in the future.


EnumTypeChecker is complaining about enum column

Hey there! Me again.
I've identified an issue with the new EnumTypeChecker. We store our enums in enum type columns in postgres. We are using this gem to do so, but it is also available in Rails 7 natively.
Anyway, EnumTypeChecker doesn't like it. But it should be okay and even preferable!
I would actually love to have a checker that complains when you try to store ActiveRecord enums in non-enum columns.

Hi @toydestroyer ,
Thank you for sharing this! Indeed I agree this should be improved!
I will fix it ASAP.

The issue was released in 1.5.1. Please try it out and let me know if it still stays.

Verified 👍
Thanks for your amazing work @djezzzl! I hope I'll be able to finally contribute at some point 😂

I would actually love to have a checker that complains when you try to store ActiveRecord enums in non-enum columns.

What do you think about this? Shall I open another issue for discussion?

Hey @toydestroyer,

I hope I'll be able to finally contribute at some point 😂

You have already contributed a lot! Please keep it going!

What do you think about this? Shall I open another issue for discussion?

I like the idea but we should have sound reasoning for suggesting this. This is an excellent opportunity for comprehensive research. For example, do we save any space on a disk with enums? Or is the querying/filtering/sorting/indexing any faster?
In case we see it has more benefits than disadvantages, I'm all up to have this checker. Would you like to research it and share it?


fuzzing: Move oss-fuzz build script upstream

As requested in https://github.com/istio/istio/pull/33653#issuecomment-869776501 by @howardjohn, this PR adds the OSS-fuzz build script which currently is located on the OSS-fuzz side.
Moving it upstream will make modifications easier.
The build script is modified with:

Changes that enable OSS-fuzz coverage build
Build instructions for the 3 latest fuzzers that were merged in https://github.com/istio/istio/pull/33653 and https://github.com/istio/istio/pull/33652

[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[x] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[x] Does not have any user-facing changes. This may include CLI changes, API changes, behavior changes, performance improvements, etc.

/ok-to-test

@AdamKorcz: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

unit-tests_istio
19d45e2c9d74e9d151b05522e33edc570b885d29
link
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


[BUG] always when I check this program I cant do anything with it

my proxies are fine and everything is fine but yet it doesnt let me check

Are you using the correct Environment.ini? Go in config other options and enable ignore response errors, then enable bot log and see what went wrong by right clicking the tochecks and selecting show full log.


wip: refine server action revalidation

#393  👈
main

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

Join @hi-ogawa and the rest of your teammates on  Graphite


Detect IT_DRIVER_LICENSE

Description:
Italian driver's licenses are based on a European standard for driver's licenses. These licenses have a 10-digit alphanumeric license number that can be used to identify a license holder. It is important to protect these license numbers as they can be used for identity fraud.
Detection Steps:

one letter (not case-sensitive)
the letter "A" or "V" (not case-sensitive)
seven digits
one letter (not case-sensitive)

Example: AS5196744P

Looks good

If I had the example of the number you gave >> AS5196744P >> how can I know the holder of the license?

Similar to SSNs, this number could be used within a database to find a potential target. It's more of a way in than a solid identifier, if that makes sense.


🎯 📝  Posts

Posts Design Document
Intent
Posts are a way for open source maintainers to communicate with their community & contributors. These posts are long-form documents written in a JSX-capable version of Markdown called MDX.
Features
Posts
Posts are associated with an Organization (including personal Organization) and has an associated author/user. A new post can be saved as a draft or published directly from the "New Post" view.
When creating a new Post, the author can configure the following:

Title

Slug generated from title

MDX Content

Edit / Preview capabilities

Audience

Public
Paying Subscribers

Publish Configuration

Publish Now
Publish at Date & Time
Option to send email to subscribers upon publication (True by default)

MDX Components
Authors can utilize a few custom JSX-components which are provided by the Polar-platform.
Subscription Upsell
The subscription upsell-component can be used to upsell subscription tiers.
<SubscriptionUpsell />

Paywall
You can mark a section of the post as paywalled content. This will ensure that only paying subscribers can access the content inside.
<Paywall>
{/** Here goes my paywalled content */}
</Paywall>

Ad
Using the Ad-component, you can easily surface ads in your posts. Ads can be used to promote a maintainer or a specific repository.
<Ad organization="" repository="" />

Emails
Posts are by default delivered to its subscribers by email. This setting can be configured in settings. Emails are only sent 5 minutes after a post has been published, to allow for a small time window where edits & adjustments can be made before its delivered to users inbox. Emails are never sent on subsequent edits on a post which previously has been sent out to its subscribers.
Maintainer View
Posts are surfaced in chronological order on the Maintainer page.
Analytics
Analytics for Posts are gathered for the maintainer in the following ways:

Post opened on the web
Post opened in email

Must have

[x] Create API
[x] Get API
[x] Lookup API
[x] Search API
[x] Update API
[x] Send as email

Could have?

[x] Scheduled posts
[x] Web views tracking
[x] Preview/test email
[x] OG images
[x] <SubscribeNow /> component
[x] Embed: Issue
[x] Embed: YouTube
[ ] Embed: Twitter?
[x] Pre-authenticated links when sending as email
[x] User editable slug

Later

[x] Delete API
Email opens tracking
Comments
Import / export subscribers

🥇


Unable to access and set num member of bio_st in openssl 1.1.1

I have started migrating to 1.1.1 from 1.0.2.
In 1.0.2 code while creating a new BIO, we do
BIO *BIO_new_rvsocket(RvSocket sock, RvLogMgr *logMgr)
{
    BIO *ret;

    ret=BIO_new(&bio_rv_method);
    if (ret == NULL) return(NULL);
    ret->num = (int) sock;
    ret->ptr = (void*) logMgr;
    ret->init=1;
    return(ret);
}

and in one of the functions
static int rv_sock_write(BIO *b, const char *in, int inl)
{
    RvStatus ret;
    RvSize_t sentBytes;
    RvSocket sock = (RvSocket)b->num;

ret = RvSocketSendBuffer(&sock,(RvUint8*)in,inl,NULL,(RvLogMgr*)BIO_get_data(b),&sentBytes);
    if (ret != RV_OK)
        return -1;
    if (sentBytes == 0)
    {
        BIO_set_retry_write(b);
        return -1;
    }
    return (int)(sentBytes);
}

Now the new BIO creation can be converted to 1.1.1 equivalent via
BIO_set_init(ret, 1);
BIO_set_data(ret, logMgr);

But how do i retrieve the num member of BIO, which i require in rv_sock_write function.
Also i read somewhere setting the num member should not be done. Is it correct ??
I also saw i can use BIO_get_fd macro for accessing the num. wanted to know the correct usage??
Thanks

Marking as inactive, to be closed at the end of 3.4 dev barring further input


Use prevEndRow from Extent in ConditionalTabletMutator

Fixes #3356

Errorprone failure is due to an issue in the elasticity branch, not this PR.


Add commments to extension example.

The goal is to make it clearer what bits do what and how it all goes together, so a user can more quickly get started with custom keywords.

Why wasn't it merged? That would have helped me instead of figuring it out myself.

the docs in library are sufficient to understand the example. no need to repeat/elaborate on them again

Well then perhaps there should be links to the docs? Otherwise it's difficult to understand what the examples are doing unless you're already familiar with how things work.

as usual docs are available at https://pkg.go.dev/github.com/santhosh-tekuri/jsonschema/v5

Right, that's not what I meant. Context is everything when learning a new thing, so comments, docs, pointers to docs, whatever in the example code really facilitate understanding and therefore adoption.


wasi: expose setters for timeNow and randSource

I have a somewhat niche use-case that requires strict non-determinism, and from what I can tell the wasi implementation mostly supports this except for 1) time and 2) randomness. I see the implementation has already provided hooks to override these in tests, but it would be very helpful for me to set these outside of the package.
Totally understand if this is deemed outside the scope of normal usage and not a priority.
		timeNowUnixNano: func() uint64 {
		randSource: func(p []byte) error {

thanks for the priority flexibility, probably we can expose this in a way it doesn't complicate other things, just minds are loaded at the moment. nag if no progress next week!

@sam-at-luther question. Are you needing this determinism only in tests? It might not change the outcome, but it helps to know the reason for the determinism if you can share. We don't know all the use cases, that requires users to tell us 😎
I'm currently thinking a context key named "experimental" for this config than add it to the public API, that would allow you to work while popularity builds, also we can figure out if we need this independent of WASI or not.

The experimental key sounds fine.
I need non-determinism for smart contracts, or in other words multiple executions of the same code across separate independent processes with exactly the same input. I realize wasm has certain edge cases that already make this problematic, but I can work around those.  I don't think this is an explicit goal of WASI, but a cursory look at this implementation leads me to believe it's very close if I can control time and the random number generator, since the other problematic functions are stubbed out or have hooks.

thanks for the context, it helps teach us more. Let's go forward with experimental for now and we can revise the design for a more stable API once we figure out the impact of the next wasi #263 and if there are wasi alternatives besides assemblyscript's special imports.

ptal! https://github.com/tetratelabs/wazero/pull/513

@sam-at-luther sorry to spam you, but I read this today and thought of you. https://www.slideshare.net/FluenceLabs/fast-deterministic-and-verifiable-computations-with-webassembly

we probably need to categorize in general all sources of determinism we can control. Ex we have this (albeit experimental) as well the recently added CompileConfig.WithMemorySizer which allows pre-allocating (via capacity). @sam-at-luther if you notice something else, please file an issue as we're not always aware of what opportunities there are.


helm chart: make the proxy hostIp parameter configurable

When using cilium, removing hostIp from the daemonset helps to make it work, so we make this parameter configurable (while keeping the default of <IP_ADDRESS>).

related to https://github.com/enix/kube-image-keeper/issues/33

:tada: This PR is included in version 1.1.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.1.0-beta.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Possible to support commit status on Github

Feature description 💡
https://docs.github.com/en/rest/commits/statuses?apiVersion=2022-11-28
It would be nice to have the commit status pushed back with a URL to the run
Anything else?
No response

If anyone would like to help with this issue all pull request are welcome.

I'll take this then


[SPARK-47889] Setup gradle as build tool for operator repository

This is a breakdown from #2 : set up gradle as the build-tool for operator

Oh, my bad. I didn't check the PR builder on this PR.


clue spam prevention

Hello dear dev,
is it possible to implement clue value ≥ x to prevent discord spamming of low value clues? I would highly appreciate that feature!
Have a nice day.

In Dink, you can configure Clue Scrolls > Min Value to filter those notifications


The desired output is not being shown on most Javascript Challenges

Challenge Escape Sequences in Strings has an issue.
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:

var myStr = "FirstLine\n\\SecondLine\\\rThirdLine";

Output:
myStr = "FirstLine\n\\SecondLine\\\rThirdLine"
Should be:
FirstLine
\SecondLine\
ThirdLine

Most javascript challenges don't show the desired output, they show us what we wrote. This one, for example, is for teaching us how escaping characters work, so it should show the escaped characters.

I can replicate the issue at my end.

@NatashaRocha thanks a lot for the issue.
JavaScript Challenges currently show the console.log of the last statement of the Seed (Editor) code that is executed by the code runner.
In case of a function, as seen in some challenges it is the output of function's return statement.
This is usually parsed via a console.log
Yes, I agree in some cases like this challenge we need/expect an output different that.
This needs a bit of an overhaul to the way outputs are generated, for specifically such challenges.
Looking forward to inputs from others before going forth.

@systimotic thanks for confirm. I realized this a bit late.


Improve error message when EKS cluster fails to be created

Rancher versions:
rancher/rancher:master 6/29
Steps to Reproduce:
Create an EKS cluster with a user who does not have the correct IAM roles
Results:
Cluster fails to provision. UI displays an error Error creating stack: stack failed to create: reason unknown
Console shows a call to .../v3/cluster/c-nqmx9/namespaces?limit=-1&sort=name failing with:
{"actionLinks":{},"baseType":"error","code":"ClusterUnavailable","links":{},"message":"ClusterUnavailable 503: cluster not found","status":503,"type":"error"}

API: iam:CreateRole User: arn:aws:iam::605812595337:user/brandon is not authorized to perform: iam:CreateRole on resource: arn:aws:iam::605812595337:role/c-nqmx9-eks-service-role-AWSServiceRoleForAmazonEK-1P4C17ULGFEOA

Rewritten title to cover catching errors when cluster is created, for instance (from https://github.com/rancher/rancher/issues/15205)
Parameter validation failed: parameter value sg-x,sg-x for parameter name ClusterControlPlaneSecurityGroup does not exist. Rollback requested by user.

The issue was twofold. First, we changed our error message string for bad http response codes, so our check for clusterConflicts (cluster already exists) was being missed. Second, we were only getting error reasons from VPCs, so other failures would just show up as reason unknown
The fix is here: https://github.com/rancher/kontainer-engine/pull/87

Failed in validation.
Rancher:master on 11/28
Steps:
Add a Amazon EKS cluster with a wrong IAM role
Result:
Failed to provision the cluster, the UI show the error:
Error creating stack: stack failed to create: reason unknown

Rancher's log shows this error:
[ERROR] ClusterController c-wpsbk [cluster-provisioner-controller] failed with : error creating stack: stack failed to create: reason unknown
W1128 21:53:07.945215       7 reflector.go:270] github.com/rancher/norman/controller/generic_controller.go:175: watch of *v1.Event ended with: The resourceVersion for the provided watch is too old.

Also, it is wired that the EKS cluster is active on AWS console even thought the IAM role is invalid.
(see the cluster named "eks"  )

Gah, the way we intercept these errors has completely changed again. Looking into it.

So talking to @jiaqiluo it was tested with an invalid AMI not an invalid IAM role
When I did the same thing, it showed me the error in the UI however.

Was able to repro what @jiaqiluo found, although that is a separate issue from this one. He's writing that up in a new ticket.

Yeah when i submitted the fix for the IAM role issue, it functioned by also including far more error sources than before. I'd say this should be closed.

New ticket for the AMI issue is here: https://github.com/rancher/rancher/issues/16786. It's related to this, but it feels like a second round of improvements rather than part of this one explicitly.

Close since it is out of date (see above comments for details).


Consider auto complete functionality.

We are looking at implementing this in find where the current task list is being queried and possible results shown as the user is typing in the keyword search params.
Refer to http://docs.oracle.com/javase/tutorial/uiswing/components/textarea.html

unable to implement


ion-textarea and android autocomplete don't play nicely

Short description of the problem:
Autocomplete moves cursor to the end of the line.
What behavior are you expecting?
The cursor should not move to the end of the line.
Steps to reproduce:

Make an ion-textarea with ngModel
Set autocorrect on
Set autocomplete on

<ion-textarea type="text" [(ngModel)]="_text"
              autocorrect="on"
              autocomplete="on"
              rows="8"
              placeholder="What do you need?"></ion-textarea>

Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
I am not modifying or watching _text with javascript. I only read the value after a submit button is pressed.
In addition, when typing too fast at the end of the line, I see strange behaviors with swapped letters sometimes. I've also heard of our users have a double-insertion of an autocompleted word when using a Swype-style keyboard (though this was back in beta4). Could be all related.
Which Ionic Version? 2.0.0.beta-7
Run ionic info from terminal/cmd prompt: (paste output below)
Cordova CLI: 6.1.1
Ionic Framework Version: 2.0.0-beta.7
Ionic CLI Version: 2.0.0-beta.25
Ionic App Lib Version: 2.0.0-beta.15
ios-deploy version: 1.8.5
ios-sim version: 5.0.8
OS: Mac OS X El Capitan
Node Version: v5.8.0
Xcode version: Xcode 7.3 Build version 7D175

Hello! Thanks for opening an issue with us! So, just a quick question, if your not grabbing the value of the ion-textarea until the user hits a submit button, then why are you using two way binding via [(ngModel)] ?

@jgw96 I can bypass it for this screen by just grabbing the value later, but it doesn't solve the underlying issue.
I have another screen that is set up the same way with two-way binding, but I keep track of a character count (12/30 characters remaining), and it exhibits the same problems.

@wli Thanks for the info! Would you mind making a plunker that i can use to demonstrate this issue?

@jgw96 It's just any textarea or input: http://plnkr.co/edit/CptdsTM5jMwFbfcxPupB?p=preview

I can't figure out how to run the plunkr on my device, so it's a little difficult to verify.


Mention the breaking change introduced in ASP.NET Core 8 regarding minimal API endpoints with an IFormFile parameter

Type of issue
Missing information
Description
https://github.com/dotnet/aspnetcore/pull/49233 introduced a breaking change that affected minimal API endpoints with an IFormFile or IFormFileCollection parameter — see this.
This should be documented in the list of ASP.NET Core 8's breaking changes.
Page URL
https://learn.microsoft.com/en-us/dotnet/core/compatibility/8.0#aspnet-core
Content source URL
https://github.com/dotnet/docs/blob/main/docs/core/compatibility/8.0.md
Document Version Independent Id
1dc7a986-52e6-3a88-0163-4a869afc75d3
Article author
gewarren
Metadata

ID: 250b5b35-569a-c5fa-2bf8-9d951bc1bdb7
Product: dotnet-fundamentals

@captainsafia Can you create a breaking change announcement for this if you agree?

Breaking change announcement: https://github.com/aspnet/Announcements/issues/509

Documented here: https://learn.microsoft.com/en-us/dotnet/core/compatibility/aspnet-core/8.0/antiforgery-checks.


Fix no RESOURCE with the name NAME found

This is the fix for only one particular, but important case.
The case when a new resource has been added to the chart and there is an error in the chart, which leads to release failure. In this case after first failed release upgrade new resource will be created in the cluster. On the next release upgrade there will be the error: no RESOURCE with the name NAME found for this newly created resource from the previous release upgrade.
The root of this problem is in the side effect of the first release process. Release invariant says: if resouce exists in the kubernetes cluster, then it should exist in the release storage. But this invariant has been broken by helm itself -- because helm created new resources as side effect and not adopted them into release storage.
To maintain release invariant for such case during release upgrade operation all newly successfully created resources will be deleted in the case of an error in the subsequent resources update.

I'll bring this ticket up in today's dev call since I'm not entirely sure if there may be some cases where we do not want to delete newly created resources.

Note, AppVeyor is currently always failing. We can ignore this as it's unrelated to the PR.

^^ yes thank you :) currently working on that in #4897

@michelleN I think that's a great idea. I'm incredibly wary about introducing anything related to resource deletion by default, especially on upgrade. Hiding this functionality behind a feature flag would allow users to opt into this (destructive) behaviour.

@bacongobbler @michelleN
Ok, I see your point. What option name do you propose? Does cleanupOnFail bool sound good?
Some thoughts:

Validation of resources before applying changes will solve the problem. This way user errors in templates will not result in inconsistent state of release.
Implemented in this PR cleanupOnFail option will be useless for users, who already hit this error, because this option only prevents inconsistent state. But it will not resolve already existing inconsistent state, when it occurred suddenly.
Option like recreateIfNotFoundInRelease for upgrade to delete resources instead of error No RESOURCE with the NAME found will also solve the problem. This way already existing inconsistent state will be resolved. But there will be a problem with this approach: resource may exists in kubernetes not because helm created it, but because it has been created by user or another software. So it is more dangerous option actually.
Simply ignoring No RESOURCE with the NAME found as in https://github.com/jaredallard/helm/commit/79ac6a60f9d7c69bb18e010f54c7f5964498c06b may result in inconsistent state. Because already existing resouce in kubernetes may be in some random state and we should generate a patch, which will bring this resource to the state, that has been declared in the chart manifest. Also helm currently does not implement 3-way merge. It is better to implement 3-way merge then, which will solve not only this case.

In total:

cleanupOnFail option is the fastest way for now to solve the problem (despite the indicated problem in (2)).
Validation is the most safest way, but I do not found a fast way to implement it yet. I think validation is safe enough to be enabled by default.
3-way merge is the most cool way to solve this and many other problems. But it requires more radical changes. Will 3-way merge be implemented in helm 3?

* Will 3-way merge be implemented in helm 3?

We're currently looking at the resource upgrade strategy for Helm 3. It may be a 3-way merge patch, or it could be something different. Either way we are certainly looking into ways to improve the current upgrade strategy.
helm upgrade --cleanup-on-fail=true definitely sounds like the right approach. That would be a good step forward for this PR. Let us know if you run into any bumps and we can take a look. :)

@bacongobbler Added option.

needs another maintainer to review/approve

Would you mind rebasing to ensure that the windows tests work? #4897

Would you mind rebasing to ensure that the windows tests work? #4897

Sure, done.

I know comments like this generally aren't helpful, but wanted to add a "me too!". I built and deployed this to a testing cluster today (after hitting the described problem in our production clusters) and confirmed the cleanup behavior.
Looking forward to making use of this in 2.12.0. Good job. Thank you!

A few of the core maintainers have expressed concern over merging a PR considered potentially dangerous when we are cutting the first release candidate today. Given the amount of changes already heading into 2.12, I'm going to punt this to the next milestone so we can give this feature the proper testing it deserves. Sorry!

Will this be making it into 2.13?

The release candidate for 2.13 was cut this morning, so this will not be making it into the 2.13 release.
We're still taking a close look at this PR; we have received flak for merging PRs that perform destructive behaviour (read: deleting objects in Kubernetes) in the past, so we're thinking this one over and trying to determine if there may be any edge cases that we can't see at first glance.

Thanks for the information @bacongobbler . We're running into this (I believe, though truth be told I'm having trouble distinguishing it from #1193) quite often during our CI process which defines environments as a single helm chart with dependencies (subcharts) representing specific applications and environment dependencies - so they can get quite complicated.

First of all, thanks a lot @distorhead for this PR! We're using Helm quite extensively at @quintoandar and we're hitting this bug quite often. Hope that you can get this in the Helm mainline soon.
However, it doesn't fully cover one case: if --wait is set, and the update of a resource times out (for example due to a failed deployment), Helm also won't "register" the resource. This triggers the same no RESOURCE with the name NAME found on the next deployment.
I have made some changes to cover that use case as well and opened a PR against your branch: https://github.com/flant/helm/pull/2
Not sure if you'd want to merge it though, probably better to get this PR on Helm first and then I can open my own PR against Helm. But thought I'd bring attention to this use case in case anyone is hitting the same problem.

Burned by this today :-(

@fbcbarbosa Merged your addition, thanks!
Also rebased whole branch on the upstream master.

I am working on reviewing this and testing manually


deprecated har-validato, deprecated uuid

Have issues during installation with modules:
2024-12-01T13:10:26.042Z Installieren : thingzi-logic-twinkly 1.3.7
2024-12-01T13:10:24.856Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production --engine-strict<EMAIL_ADDRESS>2024-12-01T13:10:25.889Z [err] npm warn config production Use --omit=dev instead.
2024-12-01T13:10:34.575Z [err] npm warn deprecated<EMAIL_ADDRESS>this library is no longer supported
2024-12-01T13:10:34.808Z [err] npm warn deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
2024-12-01T13:10:34.847Z [err] npm warn deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
2024-12-01T13:10:38.022Z [out]
2024-12-01T13:10:38.022Z [out] added 46 packages in 13s
2024-12-01T13:10:38.063Z rc=0

Libraries may need updating, will take a look later

Ive updated the packages in 1.4.0 and replaces the deprecated "request" library with axios.  Let me know if that fixes it.

Great work!Thank you very much, now it‘s working!Best regardsNilsAm 06.12.2024 um 00:29 schrieb Bryan Black @.***>:
Ive updated the packages in 1.4.0 and replaces the deprecated "request" library with axios.  Let me know if that fixes it.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


HTTP/1.1 Trailing Headers

Certain responses involve trailing headers, such as Transfer-Encoding: chunked. Right now, we'd handle this by allowing the application to send additional headers or chunking size information itself. Do we want to allow for some sort of meta-information to be emitted with each Blob returned by the application describing additional protocol details like this or just keep the details in the application, which could have negative consequences on the server's connection to the client if the application does it wrong.

After further research, the trailing headers bit does not really need to be handled specially for HTTP/1.1, but it does have to be handled specially for HTTP/2 because they must be framed within a HEADER frame whereas the rest of the body will be framed as DATA.
I have made it so that the application may emit headers like [ Content-MD5 => '...' ] so that both cases can be handled without the application having to make a fuss.


Add hermetic CPython toolchain

I had this lying around and I'm not sure if this is even wanted or needed but I though this might benefit the community.
This adds a hermetic toolchain for downloading and using a Python3 interpreter (courtesy of indygreg/python-build-standalone).
A few questions/notes:

[ ] The rule is currently named cpython_toolchain since that's what this rule brings to the table: only CPython. Is that okay or should I change it to python_toolchain ?
[ ] The output of the checksum fetcher is somewhat reproducible, as in it has the same outputs, just not in the same order (because concurrency).
[ ] I use black for formatting Python and build defs but that's not consistent with the repo's code style, and I haven't found a rule for that purpose. If I should reformat, please tell me which tool to use. If memory serves me right, buildifier ?
[ ] I also tweaked the python_* rules to allow specifying a build label as an interpreter.

Thanks a lot! I've thought about this before but was a little worried about providing rules to download from third party sources. It seems like that repo has a decent amount of momentum though. I would feel better if this was generic and could download from other places, or even self hosted repos?

The rule is currently named cpython_toolchain

I think that makes sense. Leaves us open to include a PyPy version at some point.

If I should reformat, please tell me which tool to use. If memory serves me right, buildifier?

We don't have a very strict Python code style, but not for any good reason. If you'd like to introduce Black, that would be appreciated, but the formatting is good by me. Buildifier is used for BUILD files only.

I also tweaked the python_* rules to allow specifying a build label as an interpreter.

Nice! Will need to make sure that the shebang on python_binary() works as expected though. It shouldn't point to the plz-out directory.

worried about providing rules to download from third party sources. We'd essentially be endorsing that repository, and in this case it seems affiliated with just a single person.

I share your worries, only I haven't found an official source for standalone/static builds of the Python interpreter hence why the need for third parties. AFAIK, bazelbuild/rules_python seems to use this same build internally.

I would feel better if this was generic and could download from other places, or even self hosted repos. What do you think?

Yes, this was my intention. Basically this is a rule is for downloading a hermetic Python toolchain which defaults to the aforementioned CPython builds. I think this is enough for the common use case, allowing quick prototyping without the system dependency.
cpython_toolchain(
    name = "toolchain",
    version = "3.11",
)

It's only a sane-ish default that users can easily to override to fit their needs. After all it's just a remote_file() under the hood.
cpython_toolchain(
    name = "toolchain",
    url = "https://...",
    hashes = ["..."],
)

What do you think ?

We don't have a very strict Python code style, but not for any good reason. If you'd like to introduce Black, that would be appreciated, but the formatting is good by me. Buildifier is used for BUILD files only.

I'll see if I can do that in a subsequent PR.

Buildifier is used for BUILD files only.

Indeed, I meant for the build_defs file which is currently formatted with Black. Should I reformat with Buildifier ?

Will need to make sure that the shebang on python_binary() works as expected though. It shouldn't point to the plz-out directory.

Good catch, I haven't thought about distribution of .pex files. Let me see what I can do about that.

Good catch, I haven't thought about distribution of .pex files. Let me see what I can do about that.

So here are some things I've tried.
Hacking PATH in the global config.
diff --git a/.plzconfig b/.plzconfig
index 9c4e745..81c90d6 100644
--- a/.plzconfig
+++ b/.plzconfig
@@ -3,6 +3,7 @@ Version = 16.20.0-beta.16

 [Build]
 hashcheckers = sha256
+path = "$(dir //third_party/python:toolchain|py)"

 [Parse]
 PreloadBuildDefs = test/build_defs/test.build_defs

$(dir //...) is not expanded and is used verbatim.
Hacking PATH in the rule itself.
diff --git a/build_defs/python.build_defs b/build_defs/python.build_defs
index cbae3e0..80ee432 100644
--- a/build_defs/python.build_defs
+++ b/build_defs/python.build_defs
@@ -183,30 +183,33 @@ def python_binary(name:str, main:str, srcs:list=[], resources:list=[], out:str=N

     return build_rule(
         name=name,
         srcs=[pex_rule],
         deps=[lib_rule],
         outs=[out or (name + '.pex')],
         data=data,
         cmd=cmd,
         debug_cmd=debug_cmd,
         needs_transitive_deps=True,
         binary=True,
         output_is_complete=True,
         building_description="Creating pex...",
         visibility=visibility,
         requires=['py', interpreter or CONFIG.PYTHON.DEFAULT_INTERPRETER],
+        env={
+            "PATH": "<injection>:$PATH",
+        },
         tools={
             "int": interpreter or CONFIG.PYTHON.DEFAULT_INTERPRETER,
             "jarcat": CONFIG.JARCAT_TOOL,
         },
         # This makes the python_library rule the dependency for other python_library or
         # python_test rules that try to import it. Does mean that they cannot collect a .pex
         # by depending directly on the rule, they'll just get the Python files instead.
         # This is not a common case anyway; more usually you'd treat that as a runtime data
         # file rather than trying to pack into a pex. Can be worked around with an
         # intermediary filegroup rule if really needed.
         provides={'py': lib_rule},
         labels=labels,
         test_only=test_only,
     )

As before, $(dir ...) does not expand.
$TOOLS_INT:$PATH expands to <value of TOOLS>_INT:<value of PATH>.
${TOOLS_INT}:$PATH expands to ${TOOLS_INT}:<value of PATH>.

In all cases, this is pretty much useless since PATH needs to be set at runtime.
The tried and true way
Which leaves the canonical way of having different profiles in .plzconfig.* overrides, one of which containing:
[Plugin "python"]
DefaultInterpreter = //third_party/python:toolchain|py

I think this is the way to go.


WW-4963 Implement new Aware interfaces

TBD
Implements WW-4963

Coverage increased (+0.002%) to 46.249% when pulling d38efae5f09776e45dd0e0faaa8bf1cf2ab04dad on lukaszlenart:with-no-setters into 3e29573a2e5ddf7b948ebe622a01d0fbc20a0b5b on apache:master.

Coverage increased (+0.002%) to 46.249% when pulling d38efae5f09776e45dd0e0faaa8bf1cf2ab04dad on lukaszlenart:with-no-setters into 3e29573a2e5ddf7b948ebe622a01d0fbc20a0b5b on apache:master.

@apache/struts-committers , it's a great work. While there are several changes, LGTM; increased passed test coverage beside Lukasz as author made me more sure ;)


B2C Custom Policy AuthnContextClassRef with Comparison="minimum"

Hi,
For SAML B2C Custom policy you can specify AuthnContextClassRef by adding this to your metadata:
<Metadata>
  ...
  <Item Key="IncludeAuthnContextClassReferences">https://data.gov.dk/concept/core/nsis/loa/Substantial</Item>
</Metadata>

Reference documentation: https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-generic-saml-options?pivots=b2c-custom-policy
That results in the samlp:RequestedAuthnContext element in the SAML request
<samlp:AuthnRequest ... >
  ...
  <samlp:RequestedAuthnContext>
    <saml:AuthnContextClassRef>https://data.gov.dk/concept/core/nsis/loa/Substantial</saml:AuthnContextClassRef>
  </samlp:RequestedAuthnContext>
</samlp:AuthnRequest>

However, the IDP i'm connecting to requires that i set Comparison="minimum" in the samlp:RequestedAuthnContext
<samlp:AuthnRequest ... >
  ...
  <samlp:RequestedAuthnContext Comparison="minimum">
    <saml:AuthnContextClassRef>https://data.gov.dk/concept/core/nsis/loa/Substantial</saml:AuthnContextClassRef>
  </samlp:RequestedAuthnContext>
</samlp:AuthnRequest>

How do i specify Comparison="minimum" for a B2C Custom Policy Technical Profile?

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

ID: a58a6b98-b886-8983-203f-4f8a392e6484
Version Independent ID: 42024f1d-feb1-5deb-7d4d-936b3bbc1350
Content: Set sign-in with SAML identity provider options - Azure Active Directory B2C
Content Source: articles/active-directory-b2c/identity-provider-generic-saml-options.md
Service: active-directory
Sub-service: b2c
GitHub Login: @garrodonnell
Microsoft Alias: godonnell

@Benjiinator
Thanks for your feedback! We will investigate and update as appropriate.

@Benjiinator
Since this issue isn't directly related to improving our docs, and to gain a better understanding of your issue, I'd recommend working closer with our support team via an [Azure support request] (https://docs.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request). Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
[Teams Q&A forum] (https://docs.microsoft.com/en-us/answers/topics/46488/office-teams-windows-itpro.html) for technical questions about the configuration and administration of Microsoft Teams on Windows.
[Microsoft Teams Community forum] (https://answers.microsoft.com/en-us/msteams/forum?sort=LastReplyDate&dir=Desc&tab=All&status=all&mod=&modAge=&advFil=&postedAfter=&postedBefore=&threadType=All&isFilterExpanded=false&page=1


pretty much done with ui, working on data management!

pretty much done with ui (at least the placement and styling of everything). Am currently working with backend to get the necessary fields and api routes created.

The build is failing, @jamies31 could you look into this error?

@jamies31 Could you name the PR something more descriptive so I know what this PR is about? Example: "Added metadata editing to entrypoint page", and then link to the related issues in the description. That will help me understand what's happening here :)

Sorry about that! This PR isn't ready to review yet but it's for the user profile page, the title is just the last commit message I wrote which isn't too descriptive


Sync command re-downloads existing files

Hey everyone!
s4cmd looks really cool, I love how fast the s4cmd du command scales with huge buckets.
Well done!
I did notice that s4cmd sync s3://... /local/directory actually re-downloads files that are already present in the local destination directory -- any way to prevent that?
Thanks,
Elad

The first run took 6 hours on a large bucket.  Is there any tool that will only download files that differ in time and or timestamp?

Yes! awscli works that way. I wrote a blog post about it:
https://eladnava.com/backing-up-your-amazon-s3-buckets-to-ec2/

I believe this is fixed, the current documentation provides a flag for skipping files:
-s/--sync-check: check md5 hash to avoid syncing the same content.
Probably can be closed.


Feature request: Custom Private Category Names

Add a way for us to change the category name for private channels

I hope to see this here soon, in my semi public server I really need it

I'll update it on this week

Cool

Added in 1.82


Lack of documentation for compiling MediaPipe as a TensorFlow.js WASM package

Description of issue (what needs changing)
The current MediaPipe documentation does not provide instructions or examples on how to compile the Face Mesh model (for instance)  as a WASM package for TensorFlow.js.
Clear description
The current MediaPipe documentation does not provide instructions or examples on how to compile the Face Mesh model (for instance)  as a WASM package for TensorFlow.js. I’m interested in that because I want to change the built in FaceDetector Short-Range to a Full-Range model (in legacy solutions). Frameworks such as Bazel and Emscripten are involved, and possible configurations such as SIMD and XNNPACK are crucial for performance, but are poorly documented. Mediapipe solutions for TFJS API have a great performance compared to native TFJS models, so I consider it would be necessary for developers to know those compiling instructions.
Relevant links:
Mediapipe’s JS solutions, with no compiling instructions https://github.com/google-ai-edge/mediapipe/blob/master/docs/getting_started/javascript.md
Mediapipe’s Face Mesh model, with no TFJS compiling option https://github.com/google-ai-edge/mediapipe/blob/master/docs/solutions/face_mesh.md
TFJS Mediapipe Face Mesh: https://github.com/tensorflow/tfjs-models/tree/master/face-landmarks-detection/src/mediapipe
Desired libraries to compile: https://www.npmjs.com/package/@mediapipe/face_mesh
The most similar solution I have found https://github.com/prantoran/mediapipe/tree/latest_wasm
Correct links
Yes but incomplete.
Parameters defined
Documentation should explain the necessary build parameters for configuring the compilation of the Mediapipe models specifically for the WASM output targeting TensorFlow.js.
Returns defined
No response
Raises listed and defined
No response
Usage example
No response
Request visuals, if applicable
No response
Submit a pull request?
No

I am trying to setup wasm and I got this error below when building XNNPACK, no idea how to proceed
ERROR: /root/.cache/bazel/_bazel_root/f39021be9f712a854cfac67637005ae8/external/XNNPACK/BUILD.bazel:804:36: Compiling external/XNNPACK/avxvnniint8_prod_microkernels.c failed: (Exit 1): gcc failed: error executing command (from target @XNNPACK//:avxvnniint8_prod_microkernels) /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 102 arguments skipped)

Use --sandbox_debug to see verbose messages from the sandbox and retain the sandbox build root for debugging
gcc: error: unrecognized command-line option '-mavxvnniint8'; did you mean '-mavxvnni'?

Any hints @kuaashish ? Thanks!

@ginesmartinezros If you can build and run the branch then you can comment out in the cpp (probably this), build using make build from root dir and comment out the face mesh drawing in renderer.js.
But I can't build my own code at the moment 😅

For setting up the compilation, I was looking into how tfjs-backend-wasm was setup. I did clean up the cache using bazel clean --expunge but did not work.

@ginesmartinezros If you can build and run the branch then you can comment out in the cpp (probably this), build using make build from root dir and comment out the face mesh drawing in renderer.js.
But I can't build my own code at the moment 😅

Thanks for the answer. So this is related to the 1 FPS? If it is the case, the performance is not optimal, maybe including SIMD would help. Or to discarding face_detection and selfie_segmentation? Definitely the main.cpp and render.js are the correct place to discard or add MediaPipe modules.
To compile your branch, I had to do some minor changes (in Linux) https://github.com/ginesmartinezros/mediapipe-wasm-faceLandmarkFullRange/tree/develop-linux

For setting up the compilation, I was looking into how tfjs-backend-wasm was setup. I did clean up the cache using bazel clean --expunge but did not work.

Yeah, I also found https://github.com/emscripten-core/emsdk/tree/master/bazel quoted in tfjs-backend-wasm, it's a nice guide. But I think https://www.npmjs.com/package/@mediapipe/face_mesh nor https://github.com/prantoran/mediapipe/tree/latest_wasm use directly tfjs-backend-wasm. This is like a runtime for TF.js models, but https://www.npmjs.com/package/@mediapipe/face_mesh has already its WASM binaries (with SIMD support but not multithreading support).
Have you tried Tasks Vision? It has apparently a better compilation support for JS and web, even though I don't know how to modify their .task models.


⚠ ClamAV has degraded performance

In d45e991, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 210 ms

Resolved: ClamAV performance has improved in 9a9b093.


Pokemon Omega Ruby & Alpha Sapphire

Game Name (and version if necessary)
Pokemon Omega Ruby & Alpha Sapphire
Hardware Specs (If necessary)
No response
Operating System
Windows
Game State
soon
Screenshots
soon
Additional information
No response

:3

panda

kami

why does it say "The data in the SD card is corrupted. Press the A Button to initialize the data."


Project issues

Hello, I would like to ask if our project has been completed because I couldn't find where to modify pages such as blog and about.

Hi. This is project is a one page website. If you want to have additional pages you have to add them yourself.


add travis badge

for those quick glances

Guess we'll reomve before too long but sure, can't hurt for now :)


SPI-NOR driver not found in spi_flash sample

Describe the bug
Testing the SPI-NOR driver (jedec,spi-nor), my code says it cannot find the driver. So I tried the sample in samples/drivers/spi_flash/ and it too cannot find the driver. I have tested this on both current master and v2.2.0.
To Reproduce
To see the error you don't need the spi-nor flash attached to your board. It is the spi-nor driver that it cannot find.
I am using the nucleo_429zi board and this is my addition to the DTS:
&spi1 {
	status = "okay";
	clock-frequency = <10000000>;
	cs-gpios = <&gpioe 11 0>;
	flash1: mx25r6435f@0 {
		compatible = "jedec,spi-nor";
		status = "okay";
		label = "MX25R64";
		spi-max-frequency = <10000000>;
		reg = <0>;
		jedec-id = [c2 28 17];
		size = <67108864>;
		wp-gpios = <&gpioe 9 0>;
		hold-gpios = <&gpioe 10 0>;
	};
};

&flash1 {
	partitions {
		compatible = "fixed-partitions";
		#address-cells = <1>;
		#size-cells = <1>;

		nvs_partition: partition@0 {
			label = "nvs-partition";
			reg = <0x00000000 0x00010000>;
		};
	};
};

Yes, I am using spi4 (gpioE11->E14) but I get the same error as in the sample that the driver cannot be found.
This is the output using the current master (just updated):
*** Booting Zephyr OS build zephyr-v2.2.0-1677-ge7c7f911a9cd  ***

JEDEC SPI-NOR SPI flash testing
==========================
SPI flash driver MX25R64 was not found!

Output on v2.2.0:
*** Booting Zephyr OS build zephyr-v2.2.0  ***

JEDEC SPI-NOR SPI flash testing
==========================
SPI flash driver MX25R64 was not found!

Expected behavior
I would have expected the driver to be found.
Impact
External SPI-flash not working.
Screenshots or console output
N/A
Environment (please complete the following information):

OS: Linux/Ubuntu
Toolchain Zephyr SDK
Commit Version: Current master and v2.2.0

Additional context
None.

I don't have NXP hardware with a similar flash to test, but the "not found" will be received if driver initialization failed.  This can be because:

the associated SPI bus was not found (your overlay shows it's enabled in devicetree, so this should be ok);
The chip-select is on a GPIO (rather than pinmux) and its device is not correct;
An attempt to read the JEDEC ID failed;
You've enabled CONFIG_SPI_NOR_IDLE_IN_DPD and dpd failed (not likely).

I suspect the problem is due to not reading the JEDEC ID; you can confirm this by adding printk statements to the drivers/flash/spi_nor.c function spi_nor_configure().
If you have CONFIG_SPI_STM32_USE_HW_SS=y, which appears to be the default, then SPI will be attempting to use a hardware-specified chipselect provided by pinmux, not whatever you put into cs-gpios.  The pinmux file for this board indicates that PA4 is the required chipselect line.  Is that what you've wired to your flash device?

@pabigot
Thank you for your pointers, you were right in that the attempt to read the JEDEC ID failed.  It is working now except that sector size is wrong:
rc = flash_get_page_info_by_offs(nvs_device, db_fs.offset, &info);
gives me a info.size of 65536 (decimal) which should be 4KByte.
I will close this as this is not a bug.
Sorry about this.
Thanks


Fixes 'spo site apppermission add' and 'spo site apppermission set' command to fix permission option. Closes #3353

Fixes spo site apppermission add and spo site apppermission set command to fix permission option. Closes #3353

awesome 🤩. You rock 👍
We'll review it shortly 👍

Thank you. Manually merged


when open source file for reviewing, should have a link which  jump to its description

🚀 Feature Proposal
when user is reviewing code like 66.PlusOne.go, its description web page is already closed, if you want to read the description, you have to go back to leetcode plugin then search it by id, I think we should just add a link after "submit, test" which become "submit, test, description"
Motivation
better user experience
Contribution

you can set the setting "Leetcode: Show Description" with "Both", so that when you solving a question, the plugin will show the question description both in webview and your file comment

you can set the setting "Leetcode: Show Description" with "Both", so that when you solving a question, the plugin will show the question description both in webview and your file comment

generating short description as comment is not enough, sometime user want to view gif etc.. , still we need a link
jump to its description web page.


npm run test does not work

Version
master
Reproduction link
https://github.com/nuxt-community/analytics-module/issues/16
Steps to reproduce

git clone this repo
npm i
npm test

What is expected ?
I expect that tests will be executed without any errors.
What is actually happening?
Tests fail.
Output:
» npm run test

><EMAIL_ADDRESS>test /Users/sobolev/Desktop/analytics-module
> npm run lint && jest

><EMAIL_ADDRESS>lint /Users/sobolev/Desktop/analytics-module
> eslint lib src test

  console.error node_modules/nuxt/lib/core/nuxt.js:166
    Error: [nuxt] Module undefined should export a function
        at ModuleContainer.addModule (/Users/sobolev/Desktop/analytics-module/node_modules/nuxt/lib/core/module.js:113:13)
        at promise.then (/Users/sobolev/Desktop/analytics-module/node_modules/nuxt/lib/common/utils.js:61:61)
        at <anonymous>
        at process._tickCallback (internal/process/next_tick.js:160:7)

Build completed in 12.375s%

  console.log node_modules/progress-bar-webpack-plugin/node_modules/progress/lib/node-progress.js:179

  console.log node_modules/progress-bar-webpack-plugin/node_modules/progress/lib/node-progress.js:179

  console.log node_modules/friendly-errors-webpack-plugin/src/output.js:81

  console.log node_modules/friendly-errors-webpack-plugin/src/output.js:103
     DONE  Compiled successfully in 12379ms                               2:40:38 PM

  console.log node_modules/friendly-errors-webpack-plugin/src/output.js:103

  console.log node_modules/nuxt/lib/builder/builder.js:485
    Hash: 129f262eedf51f4aaa86
    Version: webpack 3.12.0
    Time: 12379ms
                                      Asset       Size  Chunks             Chunk Names
        pages/index.d1944e94f3fa94fff074.js  410 bytes       0  [emitted]  pages/index
    layouts/default.cc1854ad9412fd1849aa.js  326 bytes       1  [emitted]  layouts/default
             vendor.a6e76812813970cf0d37.js     144 kB       2  [emitted]  vendor
                app.07d83a8721058ce9e65d.js      26 kB       3  [emitted]  app
           manifest.129f262eedf51f4aaa86.js    1.47 kB       4  [emitted]  manifest
                                   LICENSES  584 bytes          [emitted]
     + 3 hidden assets

 FAIL  test/module.test.js (17.236s)
  Module
    ✕ render (30ms)

  ● Module › render

    StatusCodeError: 404 - "<!DOCTYPE html>\n\n\n<meta charset=\"utf-8\">\n<title>Error</title>\n\n\n
Cannot GET /
\n\n\n"

      at new StatusCodeError (node_modules/request-promise-core/lib/errors.js:32:15)
      at Request.plumbing.callback (node_modules/request-promise-core/lib/plumbing.js:104:33)
      at Request.RP$callback [as _callback] (node_modules/request-promise-core/lib/plumbing.js:46:31)
      at Request.self.callback (node_modules/request/request.js:186:22)
      at Request.<anonymous> (node_modules/request/request.js:1163:10)
      at IncomingMessage.<anonymous> (node_modules/request/request.js:1085:12)

----------|----------|----------|----------|----------|-------------------|
File      |  % Stmts | % Branch |  % Funcs |  % Lines | Uncovered Line #s |
----------|----------|----------|----------|----------|-------------------|
All files |        0 |        0 |        0 |        0 |                   |
----------|----------|----------|----------|----------|-------------------|
Test Suites: 1 failed, 1 total
Tests:       1 failed, 1 total
Snapshots:   0 total
Time:        17.878s
Ran all test suites.
  console.log node_modules/nuxt/lib/builder/builder.js:485
    Hash: 0b33a0986a0638a57d72
    Version: webpack 3.12.0
    Time: 604ms
                 Asset    Size  Chunks             Chunk Names
    server-bundle.json  112 kB          [emitted]

  console.log node_modules/nuxt/lib/core/nuxt.js:126

     OPEN  http://localhost:5060

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>test: `npm run lint && jest`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>test script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR!      /Users/sobolev/.npm/_logs/2018-05-15T11_40_40_668Z-debug.log

Additional comments?
My env:

Node: v9.4.0
Npm: 5.6.0

This bug report is available on Nuxt.js community (#c16)

Hi @sobolevn
Besides that this module have basically no tests because they are already implemented in the original package, this is just a wrapper for Nuxtjs, they are perfectly fine for me: node v8.6.0.
I might suggest to switch to an LTS version of Nodejs or try to clean your node_modules folder and try again.

Do you have src/ folder inside your build? This repo misses it.

no, I literally just cloned it and followed your suggestions.
I have a new computer and didn't have this repo installed yet :)

test


Featurerequest - Allow comments

I just stumbled over the non existing comments.
Please add the feature like in gitignore where you can add a comment by just adding "#" at the beginning of the line.

Hi @anthraxn8b I have no idea what you mean. Can you elaborate/give an example?

Sorry. Yes, a bit misleading.
I would like to add comments to the .gitleaksignore file.
In .gitignore this is done by just putting a # in front if the comment.
Maybe this could be done in the same way in .gitleaksignore...


[doc] HowTo

Hi.
I wanted to share my first 'article' about Statinamic. I will become some sort of tutorial on how to rebuild a website using Statinamic.
The first draft of the first article can be found here:
https://medium.com/@gristel/28653ed6d74b
Feel free to leave as many notes and comments as you like, before I publish it.
Thanks.

That would be nicer to have this in the doc (to keep something up to date). Don't you think?
Also the name is going to change soon...
(Sent from my phone)

Hi thanks for you article. It's very nice.

Well, the plan is to combine this with the docs.
For now, the medium blog is an "initial writing". Once it's finished, we can merge it with the docs?

we can merge it with the docs

Yes. Absolutely.

Edited draft with comment about postcss / cssnext

Closing as it's not really an issue.
@gristel feel free to poke us with new post on gitter, you know the way ;)
Btw, you should update Statinamic to Phenomic :)


Add chenjacky131's file

created a branch, created a file and made a commit, and opened a pull request

ok


docs: Include ECS as supported backend

What does this PR do?
Update Supported Backends in readme and include ECS as supported backend.
Motivation
We are using ECS extensively.
More

[x] Added/updated documentation

This PR is based on v2.11 Asked by @kevinpollet  in #10391


TypeError: '<' not supported between instances of 'function' and 'str'

Please make sure that this is a bug. As per ourGitHub Policy,we only address code/doc bugs, performance issues, feature requests andbuild/installation issues on GitHub. tag:bug_template
System information

I'm training the model on google collaboratory

Describe the current behavior
I've trained and saved my model, on importing the model it gives this error on model evaluation, but model.predict() works perfectly
Testing Code
model_path = "/content/drive/MyDrive/Train Data/Models/text_block_model_new_batch.h5"
model = tf.keras.models.load_model(model1_path,custom_objects={'dice_coef':dice_coef,'dice_coef_loss':dice_coef_loss})
results = model.evaluate(X_test,Y_test)

@divyanshjoshi,
In order to reproduce the issue reported here, could you please provide the TensorFlow version, the complete code and the dataset you are using. Alternatively, you can share the link of the Colab notebook you are running.
Also, please take a look at this comment from a similar issue and let us know if it helps. Thanks!

@divyanshjoshi,
In order to reproduce the issue reported here, could you please provide the TensorFlow version, the complete code and the dataset you are using. Alternatively, you can share the link of the Colab notebook you are running.
Also, please take a look at this comment from a similar issue and let us know if it helps. Thanks!

Currently I'm working on tensorflow 2.4.0
I can't upload my colab notebook publicly, so is there any other way I can reach you?
Although I can upload the training portion of my notebook, if that's possible, Thanks

Currently I'm working on tensorflow 2.4.0
I can't upload my colab notebook publicly, so is there any other way I can reach you?
Although I can upload the training portion of my notebook, if that's possible, Thanks

Check if you have any missing values in your data and remove them if any.

Check if you have any missing values in your data and remove them if any.

TypeError: '<' not supported between instances of 'function' and 'str' arises because of some issue in your data

TypeError: '<' not supported between instances of 'function' and 'str' arises because of some issue in your data

TypeError: '<' not supported between instances of 'function' and 'str' arises because of some issue in your data

I don't think so ,cause the model is successful in making predictions and the test set is kinda from the same distribution from the train

TypeError: '<' not supported between instances of 'function' and 'str' arises because of some issue in your data

I don't think so ,cause the model is successful in making predictions and the test set is kinda from the same distribution from the train

Check if you have any missing values in your data and remove them if any.

The set set seems fine and even checked for any null values, still didn't solve the problem.

Check if you have any missing values in your data and remove them if any.

The set set seems fine and even checked for any null values, still didn't solve the problem.

@amahendrakar..... Hopefully the link you mentioned is gonna help me, I'll let update you soon

@amahendrakar..... Hopefully the link you mentioned is gonna help me, I'll let update you soon

Although I can upload the training portion of my notebook, if that's possible, Thanks

Without a reproducible code it would be difficult for us to pinpoint the issue. Hence, could you please share a minimal code snippet with dummy dataset to reproduce the error? Thanks!

Although I can upload the training portion of my notebook, if that's possible, Thanks

Without a reproducible code it would be difficult for us to pinpoint the issue. Hence, could you please share a minimal code snippet with dummy dataset to reproduce the error? Thanks!

Okay, Sure
Here you go!
I basically used a custom loss function
def dice_coef(y_true,y_pred,epsilon=0.001):
  y_true_sum  = K.sum(y_true)
  y_pred_sum  = K.sum(y_pred)
  intersection = K.sum(y_true * y_pred)
  return ((2 * intersection + epsilon)/(y_true_sum + y_pred_sum + epsilon))

def dice_coef_loss(y_true,y_pred):
    return  1 - dice_coef(y_true,y_pred)

This is the training portion
model_path = os.getcwd() + "/drive/MyDrive/Train Data/Models/text_block_model_morph_1024*1024.h5"

checkpoint = tf.keras.callbacks.ModelCheckpoint(model_path,
                             monitor="val_loss",
                             mode="min",
                             save_best_only = True,
                             verbose=1)

decay_rate = learning_rate / epochs
opt = tf.keras.optimizers.Adam(lr=learning_rate, beta_1=0.9, beta_2=0.999, epsilon=None, amsgrad=False)

model.compile(optimizer=opt,loss=dice_coef_loss,metrics=[dice_coef,'accuracy'])
results_2 = model.fit(X_train, Y_train, validation_split=0.1,batch_size=batch_size, epochs=epochs,callbacks=[checkpoint])

Hope that's sufficient information, Thank you for responding!!

Okay, Sure
Here you go!
I basically used a custom loss function
def dice_coef(y_true,y_pred,epsilon=0.001):
  y_true_sum  = K.sum(y_true)
  y_pred_sum  = K.sum(y_pred)
  intersection = K.sum(y_true * y_pred)
  return ((2 * intersection + epsilon)/(y_true_sum + y_pred_sum + epsilon))

def dice_coef_loss(y_true,y_pred):
    return  1 - dice_coef(y_true,y_pred)

This is the training portion
model_path = os.getcwd() + "/drive/MyDrive/Train Data/Models/text_block_model_morph_1024*1024.h5"

checkpoint = tf.keras.callbacks.ModelCheckpoint(model_path,
                             monitor="val_loss",
                             mode="min",
                             save_best_only = True,
                             verbose=1)

decay_rate = learning_rate / epochs
opt = tf.keras.optimizers.Adam(lr=learning_rate, beta_1=0.9, beta_2=0.999, epsilon=None, amsgrad=False)

model.compile(optimizer=opt,loss=dice_coef_loss,metrics=[dice_coef,'accuracy'])
results_2 = model.fit(X_train, Y_train, validation_split=0.1,batch_size=batch_size, epochs=epochs,callbacks=[checkpoint])

Hope that's sufficient information, Thank you for responding!!

I used a standard U-Net for my model architecture
This is the link to my test set - https://drive.google.com/drive/folders/1tsRtFiXTSDgbtQl6yabfkBmoZ_Yfo5gl?usp=sharing

I used a standard U-Net for my model architecture
This is the link to my test set - https://drive.google.com/drive/folders/1tsRtFiXTSDgbtQl6yabfkBmoZ_Yfo5gl?usp=sharing

What happens if you use built it loss functions (binary_crossentropy/categorical_crossentropy) here? Are you able to execute code after losing custom objects?

What happens if you use built it loss functions (binary_crossentropy/categorical_crossentropy) here? Are you able to execute code after losing custom objects?

What happens if you use built in loss functions (binary_crossentropy/categorical_crossentropy) here? Are you able to execute code after losing custom objects from your code and using built in functions?

Didn't try that yet, that's a great suggestion I'll try that out and let you know!

What happens if you use built in loss functions (binary_crossentropy/categorical_crossentropy) here? Are you able to execute code after losing custom objects from your code and using built in functions?

Didn't try that yet, that's a great suggestion I'll try that out and let you know!

@ymodak ..... The model was able to evaluate on binary_crossentropy, so I guess there's an issue with the custom loss function

@ymodak ..... The model was able to evaluate on binary_crossentropy, so I guess there's an issue with the custom loss function

@amahendrakar .......It finally worked!!, I only saved the model weights, rather than saving the whole model and then evaluated on the latest weights on a new model instance, Thank you for your help!

@amahendrakar .......It finally worked!!, I only saved the model weights, rather than saving the whole model and then evaluated on the latest weights on a new model instance, Thank you for your help!

@ymodak  is there a fix for someone who doesn't want to save the weights separately (because for example they want to also save the optimizer's state)?

See this: https://github.com/tensorflow/tensorflow/issues/45903#issuecomment-804973541