Server Requirements for Kirki

Issue description:
When working with the LetsBlog theme on local environment, kirki-style.css writes as styles are changed in customizer. When working on the server, the stylesheet is not written.
Version used:
Stable tag: 0.8.2
Using theme_mods or options?
n/a
Code to reproduce the issue (config + field(s))
n/a
We would chase this up with the theme authors, but as it's working on local environment but not our production server we feel it's probably more likely an issue with Kirki itself?
We've checked error/server logs to look for any conflicts when Kirki attempts to write to write a new stylesheet, nothing is apparent. We've tried opening up the file permissions to 777, no luck.
We've tried allowing and disallowing file mods without any luck.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/32529704-server-requirements-for-kirki?utm_campaign=plugin&utm_content=tracker%2F2030945&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F2030945&utm_medium=issues&utm_source=github).

Hey there!
Kirki does not write anything to your filesystem.
Is your theme perhaps using a compiler of some sort?

Ok, interesting!
The reported behaviour on local development is that a file "kirki-style.css" is updated each time the theme customiser options are changed with the updated styles.
It does appear composer (php) is being used by the theme developer, but no front end compilers.
What else can I provide that may be helpful?

On 3 Apr 2016, at 10:13 PM, Aristeides Stathopoulos<EMAIL_ADDRESS>wrote:
Hey there!
Kirki does not write anything to your filesystem.
Is your theme perhaps using a compiler of some sort?
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub

can you please send me a copy of your theme?

I've just sent you an email with the theme zip!
Thanks again!
DB

The version of the theme you sent me is 1.1.7. From what I can see on the theme's page they are currently on version 1.2
Perhaps this has already been fixed in a more recent version of the theme?
The Kirki version included in there is 0.8.4 and the theme author has modified the enqueue_styles method (you can see the original one here: https://github.com/aristath/kirki/blob/0.8.4/includes/Styles/Frontend.php#L16-L18 to look like this:
	public function enqueue_styles() {

		// Early exit if we're not using output
		if ( ! $this->uses_output() ) {
			return;
		}

		if(is_writable(get_template_directory() . '/modules/kirki/assets/css/kirki-styles.css'))
		{
			//Writing into file instead
			global $wp_filesystem;
			$wp_filesystem->put_contents(
			  get_template_directory() . '/modules/kirki/assets/css/kirki-styles.css',
			  $this->styles_parse(),
			  FS_CHMOD_FILE
			);
		}
		else
		{
			wp_add_inline_style( Kirki::config()->getOrThrow( 'stylesheet_id' ), $this->styles_parse() );
		}

	}

You can simply revert the changes to that file and make it the way it originally was:
	function enqueue_styles() {
		wp_add_inline_style( Kirki::config()->getOrThrow( 'stylesheet_id' ), $this->styles_parse() );
	}

I would strongly advise you to contact the theme author though and inform them about this... checking with is_writable() is not enough for the $wp_filesystem.
I guess something like this would be better and would work:
	public function enqueue_styles() {

		// Early exit if we're not using output
		if ( ! $this->uses_output() ) {
			return;
		}

		global $wp_filesystem;
		// Instantiate the Wordpress filesystem.
		if ( empty( $wp_filesystem ) ) {
			require_once( ABSPATH . '/wp-admin/includes/file.php' );
			WP_Filesystem();
		}

		$path   = wp_normalize_path( get_template_directory() . '/modules/kirki/assets/css/kirki-styles.css');
		$styles = $this->styles_parse()

		if ( is_writable( $path ) ) {
			// Try writing to the file
			if ( ! $wp_filesystem->put_contents( $path, $styles, FS_CHMOD_FILE ) ) {
				// write failed, add inline.
				wp_add_inline_style( Kirki::config()->getOrThrow( 'stylesheet_id' ), $this->styles_parse() );
			}
		}
	}

Please note I did not test the above function, but it _should work better than the existing one.

@aristath could have just said that its not kirki issue and closed the ticket. But the amount of time and effort  he has put in investigating and explaining the issue for which he is not going to receive any monetary return is really amazing. I always wonder how some guys in open source community are so passionate about their work and travel that extra mile easily while the  premium theme and plugin authors struggle to do it. @aristath and for open source community  +1

@aristath the solution of reverting the module to the original intended design as per https://github.com/aristath/kirki/blob/0.8.4/includes/Styles/Frontend.php#L16-L18 fixed it without any stress.
Thank you sincerely for your help, this saved me big time!

@PlayerThemes @dillonbailey always a pleasure to help!


Deploying huge numbers of files (> 10k)

- Do you want to request a feature or report a bug?
Feature
- What is the current behavior?
CLI is super slow for huge amount of pages.
- Please mention your node.js, and operating system version.
Node 10, Mac latest
I'd love to see parallel uploading with multiple threads implemented. Node workers are fairly easy to setup and could make sure that maximum resources are used for deployment.
Currently, deployment is unusable for that many pages.

Uploads are performed in parallel (up to 15 files at a time, which helps improve speeds for lots of small files).
Initial uploads can be a bit slow the first time, but subsequent deploys should be much faster due to content de-duplication.

Since this is no issue with CLI but with the js client, I'll close this.

It just took 27 minutes to upload 12k files. Is that considered fast? It's not fast in my opinion


Parser performance issues

Experiments on larger formulas, e.g.,  QF_FP 40kB+ formulas with highly nested expressions exposed hotspots while parsing.
Actions:

Identify SMT-LIB formulas on which the parser times out
Profiling
Fix the hotspots

addressed in #24


Docker build issue

I am trying to use docker to run openmc_plot locally, however I get the following error when building the image.

I am using the following version of docker
Docker version 27.2.0, build 3ab4256

I changed 0.13.3 to 0.15.0 in Dockerfile, but it didn't solve my problem.

Thank you very much for your help!
I have also updated the line
FROM continuumio/miniconda3:4.12.0 to FROM continuumio/miniconda3:latest in the Dockerfile. Everything works fine now. However, you will need to manually set the container port as well: docker run -p 8501:8501 -t openmc_plot


There should be a way to set --explicit-target-dependency-import-check on a project-wide basis.

Description
If for some reason you're not going to make it an unconditional error, there should be a way for a project to adopt --explicit-target-dependency-import-check error as a policy without specifying it on every command line.
Expected behavior
No response
Actual behavior
No response
Steps to reproduce
No response
Swift Package Manager version/commit hash
5.9
Swift & OS version (output of swift --version && uname -a)
No response

cc @artemcm @neonichu

As of today, we cannot even use it for SwiftPM itself because it misdiagnoses missing modules. Once this becomes more stable, we can decide on if an opt-in is needed etc.

I created a plugin that does the same @dabrahams
https://github.com/Nikoloutsos/explicitDependencyImportCheck


Usage of IDX13300 is incorrect

IDX13300 requires 2 arguments, It is passed into many FormatInvariant calls with only one argument.
Instead of raising an ArgumentException, it will raise a FormatException

@keegan-caruso we are planning a release with https://github.com/AzureAD/azure-activedirectory-identitymodel-extensions-for-dotnet/pull/1415 as the main feature.
Since we agree on the design yesterday, we could fix this add the analyzers and ship a new version.
@GeoK @mafurman @RojaEnnam @henrik-me this would keep us on mark for a release a month.


Fix mag scale calculation

Make this consistent with https://github.com/bolderflight/mpu9250/blob/cef0b2524e1a2f9ff7c2f09cdca9836b9f7ac05c/src/mpu9250.cpp#L125

I guess I missed it somehow. Thanks for the pr.

@niru-5 would you mind pushing a new release to pypi with this fix?


Refactor Example App

This gets rid of inline JavaScript, and moves UI-related JS and CSS into their own files.
This will help move us towards a modular MSL proof-of-concept.

Not really sure how this helps move towards modular MSL, unless you're just referring to a subjective better organization of stuff for this specific example client. ???


Can it include files imported with import directive into the minified output?

Ok. It looks like only CSS imports (from less) are not inlined. Imported LESS files are.


rsdict simd feature fails to build with Rust nightly 1.78

The rsdict dependency "simd" feature depends on packed_simd, which is no longer available in nightly 1.78.
See https://github.com/sujayakar/rsdict/issues/9 and https://github.com/rust-lang/packed_simd/issues/359.
I tried to refactor rsdict but wasn't successful yet, see https://github.com/sujayakar/rsdict/pull/10.
Options

Disable the "simd" feature for now but that would decrease the speed.
Warn users to stay at nightly 1.77 or lower until this is fixed at rsdict but is inconvenient and can cause errors for users who don't notice it.
Add a "simd" feature to hdt and pass that through to rsdict.

Update: Option 1 was chosen but this issue is kept open in case of a future rsdict update that allows reenabling it.

Removing the "simd" feature doesn't hurt performance that much, so disable it for now:
$ cargo bench --bench iai
    Finished bench [optimized] target(s) in 0.03s
     Running benches/iai.rs (target/release/deps/iai-14f5bcf861e0aa04)
load
  Instructions:            22425353 (-0.003193%)
  L1 Accesses:             28365288 (-0.364770%)
  L2 Accesses:                49159 (-0.366842%)
  RAM Accesses:               14752 (-0.027108%)
  Estimated Cycles:        29127403 (-0.358822%)

query_all
  Instructions:           100324003 (+0.032336%)
  L1 Accesses:            126508543 (-0.050547%)
  L2 Accesses:                75061 (+0.399936%)
  RAM Accesses:               14703 (-0.392927%)
  Estimated Cycles:       127398453 (-0.050614%)

query_all_sophia
  Instructions:           112690609 (+0.001438%)
  L1 Accesses:            144199404 (-0.079763%)
  L2 Accesses:               109364 (+14.81423%)
  RAM Accesses:               16972 (No change)
  Estimated Cycles:       145340244 (-0.030646%)

query_po
  Instructions:            26805066 (-0.000530%)
  L1 Accesses:             33790638 (-0.343344%)
  L2 Accesses:                50843 (+0.917012%)
  RAM Accesses:               14690 (-0.608931%)
  Estimated Cycles:        34559003 (-0.338151%)

query_po_sophia
  Instructions:            26961723 (-0.002533%)
  L1 Accesses:             34034329 (-0.342070%)
  L2 Accesses:                50251 (-1.889924%)
  RAM Accesses:               14821 (+0.850572%)
  Estimated Cycles:        34804319 (-0.335855%)

query_o
  Instructions:            27469497 (+0.007493%)
  L1 Accesses:             34687868 (-0.327179%)
  L2 Accesses:                50256 (-0.039780%)
  RAM Accesses:               14775 (-0.027065%)
  Estimated Cycles:        35456273 (-0.320784%)

query_o_sophia
  Instructions:            30578845 (+0.005282%)
  L1 Accesses:             38782526 (-0.294905%)
  L2 Accesses:                51323 (+2.247236%)
  RAM Accesses:               14684 (-0.864164%)
  Estimated Cycles:        39553081 (-0.286261%)

Thanks for the quick analysis and fix! It looks like Option 1, "Disable the SIMD feature for now, but that would decrease the speed," is the way to go to get things compiling again. That would close this issue.
Would adding a separate new feature issue around SIMD to be addressed later be reasonable? Would some future performance improvement be expected at a larger scale of data, use of GPUs, or other SIMD accelerators? Or is the sense that SIMD does not do much algorithmically for HDT?

@donpellegrino thanks for the input! I disabled the SIMD feature in commit 225ff272506c1283c30d37f825bf2e043326dfb0 for now but I will keep this issue open because I suspect that rsdict will become updated in the near future as I already got it to compile with the new standard library SIMD feature and I expect that someone more knowledgeable about SIMD than me will be able to fix the errors with reasonable effort.
As for the potential impact of a general SIMD feature, that is hard for me to say. The benchmarks above leads me to believe that it does not do much and is best handled by using optimized external libraries like rsdict for rank and select, but I'm open to be positively surprised by a pull request by someone with SIMD expertise :-)

Update: @Cydhra was kind enough to fix the issues in the refactoring, so once @sujayakar merges https://github.com/sujayakar/rsdict/pull/10, we could reenable the SIMD feature of rsdict.
If someone else had a pressing need for this they could use the rsdict fork of the pull request but at least for HDT the performance difference is so minuscule that it is not worth it.
Also it would be great to have the rsdict maintainer check this PR. While the tests are successful, I don't know if there are edge cases that aren't covered.

I mean, since performance is a non-issue here this likely won't matter, but there are several alternatives to rsdict which beat its performance even with simd enabled. The best options are likely sucds, succinct if you only require rank, and vers.
So if it stays abandoned, those are the options.
I think sucds also offers a compressed bitmap (though I haven't tested its space requirements), so if you rely on the compression of rsdict that might work. If your vectors aren't sparse (so compression is ineffective anyway), vers probably offers the smallest memory footprint overall.
For concrete micro-benchmarks, refer to https://github.com/Cydhra/vers

We already use sucds so if we could refactor to that this would reduce dependency count by one and if it faster then even better.
However last time I checked, sucds didn't seem to have an equivalent to https://docs.rs/rsdict/latest/rsdict/struct.RsDict.html#method.from_blocks, I will check again.

I got rid of the rsdict dependency by switching to sucds following one of the options suggested by @Cydhra.
However it is in a temporary "sucds" branch until I've made more performance measurements.
With the iai benchmark (10k triples very small dataset):
load
  Instructions:            23788468 (+8.065720%)
  L1 Accesses:             32290918 (+15.70495%)
  L2 Accesses:                47687 (-3.586664%)
  RAM Accesses:               14803 (-0.074254%)
  Estimated Cycles:        33047458 (+15.25324%)

query_all
  Instructions:            85571508 (-14.12827%)
  L1 Accesses:            113483823 (-9.751437%)
  L2 Accesses:                69219 (-6.529019%)
  RAM Accesses:               14812 (-0.537201%)
  Estimated Cycles:       114348338 (-9.704091%)

query_all_sophia
  Instructions:            98162338 (-12.57198%)
  L1 Accesses:            131583903 (-8.550159%)
  L2 Accesses:                73267 (-13.50334%)
  RAM Accesses:               17086 (-0.227737%)
  Estimated Cycles:       132548248 (-8.530212%)

query_po
  Instructions:            27698979 (+5.002010%)
  L1 Accesses:             37528315 (+12.65199%)
  L2 Accesses:                48375 (-3.654650%)
  RAM Accesses:               14841 (-0.127860%)
  Estimated Cycles:        38289625 (+12.33688%)

query_po_sophia
  Instructions:            27869964 (+4.985088%)
  L1 Accesses:             37797603 (+12.56838%)
  L2 Accesses:                48595 (-3.289683%)
  RAM Accesses:               14887 (-0.414743%)
  Estimated Cycles:        38561623 (+12.25466%)

query_o
  Instructions:            28356069 (+4.880660%)
  L1 Accesses:             38418762 (+12.32590%)
  L2 Accesses:                48525 (-3.282707%)
  RAM Accesses:               14788 (-0.844844%)
  Estimated Cycles:        39178967 (+12.01738%)

query_o_sophia
  Instructions:            31452544 (+4.356829%)
  L1 Accesses:             42495065 (+10.99454%)
  L2 Accesses:                48468 (-3.667044%)
  RAM Accesses:               14879 (-0.073875%)
  Estimated Cycles:        43258170 (+10.75242%)

My suspicion is that the performance decrease in some of the tests is due to the cumbersome loading process like this:
    pub fn new(data: Vec<u64>) -> Self {
        let mut v = BitVector::new();
        for d in data {let _ = v.push_bits(d as usize,64);}
        let dict = Rank9Sel::new(v).select1_hints();
        Bitmap { dict }
    }

The loop calling push bits, which further applies some masking because it supports different numbers of bits, is probably much less efficient then just copying the usize blocks as was possible with rsdict.

Criterion benchmarks
cargo bench --bench criterion

Queries persondata_en.hdt: 86MB, ~10M triples.
rsdict
hdt$ cargo bench --bench criterion
    Updating crates.io index
   Compiling hdt v0.1.8 (/home/konrad/projekte/rust/hdt)
    Finished `bench` profile [optimized] target(s) in 3.56s
     Running benches/criterion.rs (target/release/deps/criterion-2ca20a72aa74cccc)
Benchmarking ??? (all)/0.1 all triple IDs: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 14.9s.
??? (all)/0.1 all triple IDs
                        time:   [1.4515 s 1.4601 s 1.4691 s]
                        change: [+441.80% +451.86% +462.47%] (p = 0.01 < 0.05)
                        Performance has regressed.
Benchmarking ??? (all)/0.2 all str triples: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 44.8s.
??? (all)/0.2 all str triples
                        time:   [4.3857 s 4.4032 s 4.4248 s]
                        change: [+31.960% +33.091% +34.267%] (p = 0.01 < 0.05)
                        Performance has regressed.
Found 1 outliers among 10 measurements (10.00%)
  1 (10.00%) high mild
Benchmarking ??? (all)/0.3 all Sophia triples: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 51.2s.
??? (all)/0.3 all Sophia triples
                        time:   [5.1053 s 5.1108 s 5.1159 s]
                        change: [+26.964% +27.099% +27.222%] (p = 0.01 < 0.05)
                        Performance has regressed.

S??/1.1 (vincent, ?, ?) triple IDs
                        time:   [1.4701 µs 1.4711 µs 1.4722 µs]
                        change: [+673.36% +674.25% +675.14%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 6 outliers among 100 measurements (6.00%)
  4 (4.00%) high mild
  2 (2.00%) high severe
S??/1.2 (vincent, ?, ?) str triples
                        time:   [3.3508 µs 3.3527 µs 3.3548 µs]
                        change: [+56.702% +56.925% +57.148%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 2 outliers among 100 measurements (2.00%)
  1 (1.00%) low mild
  1 (1.00%) high severe
S??/1.3 (vincent, ?, ?) Sophia triples
                        time:   [3.7053 µs 3.7077 µs 3.7101 µs]
                        change: [+50.744% +50.985% +51.248%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 4 outliers among 100 measurements (4.00%)
  1 (1.00%) low mild
  2 (2.00%) high mild
  1 (1.00%) high severe

?P? 1429618 triples/2.1 (?, type, ?) triple IDs
                        time:   [334.24 ms 334.37 ms 334.52 ms]
                        change: [+135.63% +135.73% +135.86%] (p = 0.01 < 0.05)
                        Performance has regressed.
Benchmarking ?P? 1429618 triples/2.2 (?, type, ?) str triples: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 5.7s.
?P? 1429618 triples/2.2 (?, type, ?) str triples
                        time:   [573.43 ms 573.77 ms 574.10 ms]
                        change: [+54.162% +54.340% +54.517%] (p = 0.01 < 0.05)
                        Performance has regressed.
Benchmarking ?P? 1429618 triples/2.3 (?, type, ?) Sophia triples: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 6.4s.
?P? 1429618 triples/2.3 (?, type, ?) Sophia triples
                        time:   [644.39 ms 644.61 ms 644.82 ms]
                        change: [+40.394% +40.750% +41.109%] (p = 0.01 < 0.05)
                        Performance has regressed.

Benchmarking ??O 1414214 triples/3.1 (?, ?, person) triple IDs: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 14.3s, or reduce sample count to 30.
??O 1414214 triples/3.1 (?, ?, person) triple IDs
                        time:   [143.18 ms 143.22 ms 143.26 ms]
                        change: [+332.33% +332.85% +333.39%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 6 outliers among 100 measurements (6.00%)
  2 (2.00%) low mild
  3 (3.00%) high mild
  1 (1.00%) high severe
Benchmarking ??O 1414214 triples/3.2 (?, ?, person) str triples: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 37.8s, or reduce sample count to 10.
??O 1414214 triples/3.2 (?, ?, person) str triples
                        time:   [381.55 ms 383.15 ms 384.86 ms]
                        change: [+48.805% +49.427% +50.223%] (p = 0.00 < 0.05)
                        Performance has regressed.
Found 9 outliers among 100 measurements (9.00%)
  9 (9.00%) high mild
Benchmarking ??O 1414214 triples/3.3 (?, ?, person) Sophia triples: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 54.4s, or reduce sample count to 10.
??O 1414214 triples/3.3 (?, ?, person) Sophia triples
                        time:   [538.96 ms 540.77 ms 542.66 ms]
                        change: [+31.487% +32.126% +32.751%] (p = 0.00 < 0.05)
                        Performance has regressed.

Benchmarking ?PO 1414214 triples/4.1 (?, type, person) triple IDs: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 6.7s or enable flat sampling.
?PO 1414214 triples/4.1 (?, type, person) triple IDs
                        time:   [117.15 ms 117.34 ms 117.69 ms]
                        change: [+1613.6% +1640.1% +1668.3%] (p = 0.01 < 0.05)
                        Performance has regressed.
Found 1 outliers among 10 measurements (10.00%)
  1 (10.00%) high mild
?PO 1414214 triples/4.2 (?, type, person) str subjects
                        time:   [321.38 ms 324.29 ms 327.42 ms]
                        change: [+67.818% +71.746% +75.719%] (p = 0.01 < 0.05)
                        Performance has regressed.
?PO 1414214 triples/4.3 (?, type, person) str triples
                        time:   [341.45 ms 344.35 ms 347.60 ms]
                        change: [+63.109% +64.445% +65.892%] (p = 0.00 < 0.05)
                        Performance has regressed.
?PO 1414214 triples/4.4 (?, type, person) Sophia triples
                        time:   [341.47 ms 344.28 ms 347.53 ms]
                        change: [+52.392% +53.589% +54.991%] (p = 0.01 < 0.05)
                        Performance has regressed.

sucds
hdt$ cargo bench --bench criterion                                                                                sucds
   Compiling hdt v0.1.8 (/home/konrad/projekte/rust/hdt)
    Finished `bench` profile [optimized] target(s) in 1.48s
     Running benches/criterion.rs (target/release/deps/criterion-fd17cbde06dbe57c)
??? (all)/0.1 all triple IDs
                        time:   [260.05 ms 260.55 ms 261.19 ms]
                        change: [-82.274% -82.156% -82.043%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 1 outliers among 10 measurements (10.00%)
  1 (10.00%) high mild
Benchmarking ??? (all)/0.2 all str triples: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 32.6s.
??? (all)/0.2 all str triples
                        time:   [3.2486 s 3.2712 s 3.3039 s]
                        change: [-26.349% -25.709% -24.941%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 2 outliers among 10 measurements (20.00%)
  1 (10.00%) high mild
  1 (10.00%) high severe
Benchmarking ??? (all)/0.3 all Sophia triples: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 40.6s.
??? (all)/0.3 all Sophia triples
                        time:   [4.0177 s 4.0434 s 4.0729 s]
                        change: [-21.383% -20.885% -20.285%] (p = 0.00 < 0.05)
                        Performance has improved.

S??/1.1 (vincent, ?, ?) triple IDs
                        time:   [188.85 ns 189.34 ns 189.87 ns]
                        change: [-87.181% -87.156% -87.131%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high mild
S??/1.2 (vincent, ?, ?) str triples
                        time:   [2.1806 µs 2.1861 µs 2.1914 µs]
                        change: [-35.051% -34.935% -34.809%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 1 outliers among 100 measurements (1.00%)
  1 (1.00%) high mild
S??/1.3 (vincent, ?, ?) Sophia triples
                        time:   [2.4561 µs 2.4595 µs 2.4631 µs]
                        change: [-33.836% -33.719% -33.604%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
  1 (1.00%) high mild
  1 (1.00%) high severe

Benchmarking ?P? 1429618 triples/2.1 (?, type, ?) triple IDs: Warming up for 3.0000 s
Warning: Unable to complete 10 samples in 5.0s. You may wish to increase target time to 7.8s or enable flat sampling.
?P? 1429618 triples/2.1 (?, type, ?) triple IDs
                        time:   [141.50 ms 142.14 ms 143.02 ms]
                        change: [-57.648% -57.514% -57.313%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 2 outliers among 10 measurements (20.00%)
  2 (20.00%) high mild
?P? 1429618 triples/2.2 (?, type, ?) str triples
                        time:   [371.99 ms 372.23 ms 372.48 ms]
                        change: [-35.182% -35.126% -35.066%] (p = 0.00 < 0.05)
                        Performance has improved.
?P? 1429618 triples/2.3 (?, type, ?) Sophia triples
                        time:   [437.91 ms 438.16 ms 438.53 ms]
                        change: [-32.076% -32.026% -31.962%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 2 outliers among 10 measurements (20.00%)
  1 (10.00%) high mild
  1 (10.00%) high severe

??O 1414214 triples/3.1 (?, ?, person) triple IDs
                        time:   [33.168 ms 33.187 ms 33.207 ms]
                        change: [-76.843% -76.828% -76.812%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 4 outliers among 100 measurements (4.00%)
  2 (2.00%) high mild
  2 (2.00%) high severe
Benchmarking ??O 1414214 triples/3.2 (?, ?, person) str triples: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 25.6s, or reduce sample count to 10.
??O 1414214 triples/3.2 (?, ?, person) str triples
                        time:   [254.84 ms 254.94 ms 255.04 ms]
                        change: [-33.761% -33.463% -33.181%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 5 outliers among 100 measurements (5.00%)
  4 (4.00%) high mild
  1 (1.00%) high severe
Benchmarking ??O 1414214 triples/3.3 (?, ?, person) Sophia triples: Warming up for 3.0000 s
Warning: Unable to complete 100 samples in 5.0s. You may wish to increase target time to 40.5s, or reduce sample count to 10.
??O 1414214 triples/3.3 (?, ?, person) Sophia triples
                        time:   [403.83 ms 404.04 ms 404.26 ms]
                        change: [-25.550% -25.285% -25.028%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 2 outliers among 100 measurements (2.00%)
  2 (2.00%) high mild

?PO 1414214 triples/4.1 (?, type, person) triple IDs
                        time:   [6.7001 ms 6.7055 ms 6.7112 ms]
                        change: [-94.355% -94.304% -94.261%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 2 outliers among 10 measurements (20.00%)
  1 (10.00%) high mild
  1 (10.00%) high severe
?PO 1414214 triples/4.2 (?, type, person) str subjects
                        time:   [187.13 ms 187.77 ms 188.38 ms]
                        change: [-42.686% -42.100% -41.537%] (p = 0.00 < 0.05)
                        Performance has improved.
?PO 1414214 triples/4.3 (?, type, person) str triples
                        time:   [211.85 ms 212.37 ms 212.98 ms]
                        change: [-38.921% -38.327% -37.777%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 1 outliers among 10 measurements (10.00%)
  1 (10.00%) high mild
?PO 1414214 triples/4.4 (?, type, person) Sophia triples
                        time:   [229.08 ms 229.35 ms 229.65 ms]
                        change: [-34.005% -33.385% -32.825%] (p = 0.00 < 0.05)
                        Performance has improved.
Found 1 outliers among 10 measurements (10.00%)
  1 (10.00%) high mild

Oh wow, how is that even possible?
Rank9Sel has about the same overhead as RsDict, so this can't be cache effects. But removing the simd feature had almost no effect, so why does the increased performance suddenly make such a drastic change?
Would you mind pushing that branch, I am now personally interested how Vers would perform :)

Yeah I'm always skeptical with such large changes, so I will try to run it again using the hdt_benchmark suite.
Feel free to test it with vers :-)
The benchmark test resources can be generated either with this Makefile or manually:
wget http://downloads.dbpedia.org/2016-10/core-i18n/en/persondata_en.ttl.bz2
bunzip2 persondata_en.ttl.bz2
docker run -v ${PWD}:/data rdfhdt/hdt-cpp rdf2hdt /data/persondata_en.ttl /data/persondata_en.hdt

@Cydhra: Thanks for investigating this! Did you try the iai or the criterion benchmark? I'm not sure why they show so much difference, maybe I should change the IAI benchmark to use a larger file as well, as this is what I'm optimizing for.

@Cydhra I created some comparative benchmark curves at https://github.com/KonradHoeffner/rdf_benchmark/blob/master/hdt_rs_current_vs_previous_versions.ipynb.
I am now convinced that it is indeed measurably faster both in loading and querying, thank you for all the help!
Oh and on top you can now use hdt_rs on stable Rust :-)

Did you try the iai or the criterion benchmark?

Criterion.

sorry for not responding earlier -- I've been busy with work and haven't had much time for side projects.
nice work benchmarking btw, and sucds is indeed a fantastic library! we're actually using it at my startup for its compressed integer vectors and elias fano implementation: https://github.com/get-convex/convex-backend/blob/addaff23baa77b886d3736252615b149895d2ff4/crates/search/src/memory_index/term_list.rs#L121

Thank you! And no problem, I fully understand :-)


[Meteor 1.3-beta.16] npm client-side lib import scenario

After days and days and days of unsuccessful tries to repackage any Angular2 package for Atmosphere, I decided to give Meteor 1.3 a shot.
So, I upgraded my meteor installation
meteor update --release 1.3-beta.16
(I didn't upgrade angular2-meteor to 0.5.0-beta.something because I didn't know how to)
So I created a package.json file and put ng2-material into my dependencies. Then I ran npm install and it did create a node_modules directory in my project and installed the ng2-material and all its dependencies.
Then in code I do import like this
import {MATERIAL_DIRECTIVES} from 'ng2-material/all';

And my Visual Studio Code recognizes that the actual library exists somewhere in the path.
But after the app is served, it tries to load the library from http://localhost:3000/ng2-material/all and it serves a html file with empty body tag and all other scripts and css files listed in the head tag.
Finally, after recognizing the fact that it is searching for the script where it cannot be found, I sought alternative way to import the directives via require, so here is how it works:
var MD = require('ng2-material/all');
var MATERIAL_DIRECTIVES = MD.MATERIAL_DIRECTIVES;

(this is because multiple objects are exported from ng2-material/all and packed into a single object, so I had to manually extract what I need)
This is really a bad way to do this, but the only way I could currently find.
I read on meteor forums that this import should have been fixed, and they recommend doing meteor add modules, or even better meteor add ecmascript, but in our case ecmascript package conflicts with barbatus:angular2.
Now, I'm not sure if the barbatus:angular2 is the one that improperly handles the imports.
This is worth, investigating, I think.
Thanks for your attention.

I don't the point here. You are using NPM, so why do you need barbatus:angular2? It's an Atmosphere package , supposed to be used with Meteor 1.2.
There is Angular2 NPM package, besides that, if you spend 1 minute of your time and finally read README, you'll find out that TypeScript can still be used with Meteor 1.3 - you just need to install angular2-compilers package.

Hi @barbatus
I don't know why I need barbatus2:angular2. I tried so many combinations, that I lost track why and what I tried.
I did spend several minutes reading README's, and besides we don't know if I read it before or after it was updated. The README was not always in accordance with reality, and you know it. I usually spend days and hours trying and testing things before I decide posting an issue.
I have noticed you lashing out on users asking questions before. We are all busy people, and I understand you are super busy, but simply tone down your language, please. If you are nervous, better don't answer. I've spent hundreds of hours reading issues and discussions on Github, and I don't remember finding anyone similarly harsh as you are in answering questions here.
Thanks for all your hard work. I have immense respect for your knowledge and effort, but simply this is not the way to communicate.
Thanks again.

I found that I needed to start a fresh meteor project, get things basically working, then moving my code over. Otherwise there are too many variables to deal with and almost impossible to sort out. I'm now back to finding my own things that don't work using the meteor 1.3rc updates and angular2-meteor.

@MilosStanic Sorry if I offended you. "Customer support" is certainly not my best skill, I'll though try to improve. I see the problem here is in that we still have very few contributors and yet rather low number of users. When that number continues to rise, this problem will dissolve by itself since there will be bunch of people who are ready to help and understand all the tricks of the project.

So let's try ng2-material with TypeScript and Angular2-Meteor NPM (installed from the repo), if it's ok - consider closing this issue.

@barbatus
No problem. As I said, we all have stress at work. I will try to contribute myself as much as I can.
I will try ng2-material and fresh install today, as it failed before.
Will report here and close the issue.
Thanks again for your hard work.

I just managed to tweak ng2-material into running with my project.
my package.json looks like this:
{
  "name": "mcalc",
  "version": "0.0.1",
  "description": "Metals prices calculator",
  "author": "MilosStanic",
  "dependencies": {
    "angular2": "2.0.0-beta.9",
    "es6-promise": "3.0.2",
    "es6-shim": "^0.33.3",
    "meteor-node-stubs": "~0.2.0",
    "reflect-metadata": "0.1.2",
    "rxjs": "5.0.0-beta.2",
    "zone.js": "0.5.15",
    "ng2-material": "0.2.11",
    "angular2-materialize": "*",
    "angular2-meteor": "git+https://github.com/Urigo/angular2-meteor.git",
    "angular2-meteor-auto-bootstrap": "git+https://github.com/Urigo/angular2-meteor-auto-bootstrap.git"
  },
  "devDependencies": {},
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "license": "ISC"
}

Note the older version of ng2-material because the new version requires Angular2-beta.11, and the old one works with beta.9 which is required by angular2-meteor packages.
Peculiarity is that in this setup I had to change paths to my imports, so for example, instead of
import {something} from '/client/componentdir/something';
I had to do
import {something} from '../componentdir/something';

@MilosStanic What would be if you install just angular2-meteor and angular2-meteor-auto-bootstrap?
All other peer dependencies (like angular2, zone.js etc) should be installed along.
As for changing to relative urls, it's because of moduleResolution set to NodeJS style, where absolute paths are resolved in node_modules. Next version of the tutorial will strive to explain these nuances.

Strangely, I'm getting messages like:
client/sheet/sheet.ts (1, 32): Module '"angular2/core"' resolves to a non-module entity and cannot be imported using this construct.
And the app is not really working, but no messages in browser console. Simply doesn't quite work. It renders (without material design), but it doesn't work.
@barbatus your last message came in just as I was typing above... let me test your proposals.

@barbatus it works when I only install just angular2-meteor and angular2-meteor-auto-bootstrap as you suggested.
However, the messages as quoted in my above post remained, until I replaced import of angular/core with:
'../../node_modules/angular2/core'
Still, app not behaving like it was before. I have to see what is wrong. No errors in browser or meteor console.

Note:
templateUrl imports still work with 'old' url notation of 'client/component/component.html'

it should work with just 'import {..} from angular2/core'.
If you have jsconfig.json then try to check how it works w/o it. If not, then I'll need a repo to check, if you want me to help.

i think i got it running in my test project now useing angular beta9 instead of 11, i will now try to get this working for my real project too.
By the way:
npm install https://github.com/Urigo/angular2-meteor --save
npm install https://github.com/Urigo/angular2-meteor-auto-bootstrap --save

both are not running under my windows test enviroment because mv (move) is not available ofcourse

@barbatus thanks for all your help today. I didn't get it working with regular import {Component} from angular2/core'even when I removedjsconfig.jsonandtsconfig.json.  Something is wrong in my app setup, I just have to dig and find it. It works normally on a blank app, as we tested on the other issue.  On my app even Visual Studio code marks imports from angular2/core` as irregular, so something definitely wrong with the setup. I will find out what.
Thanks again for all your help.

@Devidian are you actually able to see material design components in your test project?

yes and no, it seems only css is running so far :(
(i just copied css from node_modules to public folder and imported them in my main.less) everything else seems not to work as it should. But wait, i think i missed to ... hmm yeha there was no import {MATERIAL_DIRECTIVES} from 'ng2-material/all';
now its working

@Devidian not working for me at all...
didn't try to move css and less files, but nothing works. I get a regular button when I put
<button md-button>something</button>

@Devidian  how do you exactly import css to your main.less?
It seems it works now (forgot to add directives: [MATERIAL_DIRECTIVES]) :) but lacks css for button.

first i tried to import them from node_modules but got an error on frontend because he searched the files domain.com/node_modules... instead of importing them (what i thought it would do) so i created a folder public/media/css/ng2-material/ and put font.css and ng2-material.css + map files and fonts in there. in my less files i just added:
@import "/media/css/ng2-material/font.css";
@import "/media/css/ng2-material/ng2-material.css";

to the beginning of the file

i have a crazy error on my real project. i cant import anything even if the file is in the same directory and i try to
import './test';
it keeps telling me the file is missing. I just copied the layout from my working test project, any ideas ? Maybe i should go home for today :D

what version of 1.3 are you using?

rc.4 currently as in my test-project, its exactly the same setup (it should be) i will try to create a new meteor project with --release tomorrow, maybe there was something going wrong moving to npm from athmosphere packages. It was a bit late at work... :)

ok i figured out my pathings problem, i just missed to export something in the export chain. On serverside i just imported ../imports/startup/server/start which imported ../../api/users/server/publications in wich only this content was:
Meteor.publish("userData", function () {
  if (this.userId) {
    return Meteor.users.find({_id: this.userId},
                             {fields: {'isRoot': 1}});
  } else {
    this.ready();
  }
});

when i added this line:
export var x;
he found the path and was correctly booting

Okay, so what is the conclusion here? Is the ng2-material package bad (which I doubt, because nobody complains at their repo), or is Meteor 1.3 having problems with importing?
I also managed to make things work by moving css files, but not to /public, but to /client/assets/ folder.
However, Chrome reports problems parsing fonts and source maps:
Failed to parse SourceMap: http://localhost:3000/client/assets/css/font.css.map
Failed to parse SourceMap: http://localhost:3000/client/assets/css/ng2-material.css.map

Failed to decode downloaded font: http://localhost:3000/client/assets/css/MaterialIcons-Regular.woff2
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/client/assets/css/MaterialIcons-Regular.woff
(index):1 OTS parsing error: invalid version tag
(index):1 Failed to decode downloaded font: http://localhost:3000/client/assets/css/MaterialIcons-Regular.ttf
(index):1 OTS parsing error: invalid version tag

The font problem appears when I try to make use of any icon.

@Devidian right now if a file doesn't export anything it's just added to the output barely, which means your publications anyways should be executed and be available ultimately. The reason behind that is TypeScript internal modules (e.g., declare module Foo {}), the feature that was asked by some users.
It's actually hard to decide here what's better. So what would you prefer better by default: still import files wholly (e.g, import './foo') or let some files (that don't export) to execute by themselves (but you actually can control execution using internal modules)? I tend to think now that mixing is probably not good.

Okay, finally, here's the proper recipe for adding scss resources from node_modules to your project in the proper Meteor 1.3 way:

Install a sass compiler
npm install --save node-sass

Edit your package.json and add into your scripts section (if you don't have the section create it), the build:css script:

"scripts": {
    "build:css": "node-sass --include-path node_modules client/assets/css/main.scss client/assets/css/bundle.css --output client/assets/css"
  }

Format of  node-sass script params is
node-sass [options] <input.scss> [output.css]
In our case, we tell the node-sass to look into node_modules dir to find scss files, we use client/assets/css/main.scss as input file, and client/assets/css/bundle.css as output file and we set client/assets/css as output dir.

create your client/assets/css/main.scss as per instructions at ng2-material:

$md-font-url: "node_modules/ng2-material/dist/";
@import "node_modules/ng2-material/dist/font.css";
@import "node_modules/ng2-material/dist/font.scss";
@import "node_modules/ng2-material/source/all.scss";

(I had to include all files by full extensions, because node-sass was confused which files to compile)

compile the scss files by running:

npm run build:css
That's it.
I still have those odd messages about compiling fonts in Chrome when using icons.
I will report if I solve this.

@barbatus Well, maybe my english is not that good to get the point on imports, but in my opinion it should be possible to import files that just do stuff, so i can just comment the import statements on need, they shouldn't execute themselves on the other hand. Thats why i choose to convert my project to the new directory structure recommended by meteor 1.3 - so i can have a better control what is really imported - but i also want to seperate my code.
For now i just exported var x on every file without an export and it seems to do it's thing - ists just a bit hacky :)

@Devidian TypeScript has its own modules (http://www.typescriptlang.org/Handbook#modules).
There was discussion on this topic in some other place. The point there was one can still have modularity if a file w/o exports is added barely to the output. But again, I tend to think that mixing ES6 and TypeScript modules is not the best practice.

@barbatus ok i see, i'm very new to TypeScript, started a little more than a week ago, so i'm not into all specific things right now. Thanks for the link ;)

Importing assets from npm packages is an issue for Meteor 1.3, and unfortunately won't be resolved before 1.3.1
You can track it here https://github.com/fourseven/meteor-scss/issues/165 and here https://github.com/meteor/meteor/issues/6037
I am closing this issue, as I feel everything has been resolved as much as it can.
Thank you all.

@barbatus "All other peer dependencies (like angular2, zone.js etc) should be installed along."
Meteor1.2 didn't require ng2 to be installed prior to ng2-meteor.  ng2 was installed along as you suggest.  But, when I simply
npm install angular2-meteor --save
I get UNMET PEER DEPENDENCY<EMAIL_ADDRESS>So, I think I first need to install angular2.
Which means it would be nice to have a package.json that installs a working framework.
Here's my non-working effort:
"angular2": "2.0.0-beta.12",
"systemjs": "0.19.24",
"es6-shim": "^0.35.0",
"reflect-metadata": "0.1.2",
"rxjs": "5.0.0-beta.2",
"zone.js": "0.6.6",
"angular2-meteor": "0.5.2",
"angular2-meteor-auto-bootstrap": "0.5.1",
"@angular2-material/core": "^2.0.0-alpha.1",
"sax": "1.1.5",
"xml2js": ">=0.4.16"
Everything installs, my typings files look correct, and this project previously was working with the Atmosphere package of ng2-meteor with Meteor 1.3 (not the npm).  But importing angular meets with the same error to MilosStanic:
Module '"angular2/core"' resolves to a non-module entity and cannot be imported using this construct.  But, import of "angular2-meteor-auto-bootstrap" is fine!!
My next step is to vary my package.json with a clean project.  I can't really make much progress without being able to import ng2/core :-)

@shotleybuilder see this comment https://github.com/Urigo/angular2-meteor/issues/171#issuecomment-199808977 by MilosStatic , he had wrong setup and ultimately made it work.
As to peer dependencies, if you are installing new version of Angular2-Meteor (which relies on say Angular2 beta-12) and have previous Angular2 version beta-9 installed already, running npm install angular2-meteor should install Angular2-beta12 (as it happens to me) but will complain about unmet dependencies like es6-shim. The only way to fix is to update manually like npm install<EMAIL_ADDRESS>or add them to your package.json like you did. If you didn't have all previous versions installed, then running npm install angular2meteor would be just enough.
Angular2 is still in beta, so we currently require specific version of Angular2 (set in peerDependencies) to guarantee that  users have version that we tested.

Okay, so I created a clean app but forgot to
meteor update --release 1.3-rc.13
Now I'm hit with a new error on my clean app install:
reflect-metadata shim is required when using class decorators
reflect-metadata is in my list of node-modules.  Further investigation needed!

Fixed and working.
I had to bump up the version of angular2-compiler:
meteor add<EMAIL_ADDRESS>That's the clean project, now to get my real project working!

@shotleybuilder it should work with just meteor add angular2-compilers.
if you have some prev version of angular2-compilers installed, then meteor update angular2-compilers should be enough to update.

This error:
app.ts:1 Uncaught ReferenceError: require is not defined
Was caused by missing ecmascript package.  This was removed in the initial Meteor1.2 install of my project following the advice in the ng2-meteor tutorial "As of Meteor 1.2, Meteor supports ES6 by default. In order to avoid conflicts between TypeScript and Meteor ECMAScript package, you'll need to remove it".
Well, it appears it's needed in Meteor1.3??  Or perhaps there is a config that allows this package to be safety removed?


No module named 'polars.utils'

The code from the examples
from polars.utils.udfs import _get_shared_lib_location

fails with
No module named 'polars.utils'

It looks like _get_shared_lib_location needs to be replaced with register_plugin_function but the readme still refers to _get_shared_lib_location

thanks @david-waterworth for reporting, indeed it's quite outdated


Unescape characters in inspect JSON format output

This patch changes the way the inspect command output is displayed on the screen when the format is set to JSON.
Note: if the output is redirected to a file the output is not escaped.
For example, before this commit if you run:
$ sudo podman inspect --format "json" daveimg
[
   {
   ...
      "Author": "Dave<EMAIL_ADDRESS>   }
   ...
]

with this patch the output will be:
[
   {
   ...
      "Author": "Dave<EMAIL_ADDRESS>   }
   ...
]

This is a follow-up to https://github.com/projectatomic/buildah/pull/421

bot, add author to whitelist

LGTM

LGTM

LGTM, thanks @ripcurld !

Tests green, merging
@rh-atomic-bot r+

:raised_hands: :confetti_ball: :tada:
Thank you all! @mheon @baude @TomSweeneyRedHat
This is my first PR that got merged into libpod! So cool! :smile:


Hubot Error: Script is using deprecated documentation syntax

Hello Team! I am using docker compose to deploy Hubot.  But I got an error when i tried to use my own scripts.
Please have a look at this link. There are some screenshots there.
https://github.com/RocketChat/hubot-rocketchat/issues/292
Any suggestions would be greatly appreciated.
Thanks!

@huiminzeng You're just missing the documentation comments at the top of your test.coffee file, they are used to parse information about your commands to the hubot help command. You can see an example here: https://github.com/hubot-scripts/hubot-shipit/blob/master/src/shipit.coffee. The second printout can be fixed by removing hubot-scripts.json.

@andreasolund  thank you so much!


Fastlane cannot be installed anymore on travis

12.16s$ gem install fastlane -v '~> 2.137.0'
Successfully installed slack-notifier-2.3.2
Successfully installed atomos-0.1.3
Successfully installed CFPropertyList-3.0.3
Successfully installed claide-1.0.3
Successfully installed colored2-3.1.2
Successfully installed nanaimo-0.3.0
Successfully installed xcodeproj-1.19.0
Successfully installed rouge-2.0.7
Successfully installed xcpretty-0.3.0
Successfully installed terminal-notifier-2.0.0
Successfully installed unicode-display_width-1.7.0
Successfully installed terminal-table-1.8.0
Successfully installed plist-3.6.0
Successfully installed public_suffix-2.0.5
Successfully installed addressable-2.7.0
Successfully installed multipart-post-2.0.0
Successfully installed word_wrap-1.0.0
Successfully installed tty-screen-0.8.1
Successfully installed tty-cursor-0.7.1
Successfully installed tty-spinner-0.9.3
Successfully installed babosa-1.0.4
Successfully installed colored-1.2
Successfully installed highline-1.7.10
Successfully installed commander-fastlane-4.4.6
Successfully installed excon-0.79.0
Successfully installed faraday-0.17.4
Building native extensions.  This could take a while...
ERROR:  Error installing fastlane:
	signet requires Ruby version >= 2.5.
Successfully installed unf_ext-<IP_ADDRESS>
Successfully installed unf-0.1.4
Successfully installed domain_name-0.5.20190701
Successfully installed http-cookie-1.0.3
Successfully installed faraday-cookie_jar-0.0.7
Successfully installed faraday_middleware-0.13.1
Successfully installed fastimage-2.2.3
Successfully installed gh_inspector-1.1.3
Successfully installed mini_magick-4.11.0
Successfully installed multi_xml-0.6.0
Successfully installed rubyzip-1.3.0
Successfully installed security-0.1.3
Successfully installed xcpretty-travis-formatter-1.0.1
Successfully installed dotenv-2.7.6
Successfully installed naturally-2.2.1
Successfully installed simctl-1.6.8
Successfully installed jwt-2.1.0
Successfully installed httpclient-2.8.3
Successfully installed multi_json-1.15.0
The command "gem install fastlane -v '~> 2.137.0'" failed and exited with 1 during .

Tried to update fastlane but it results in a the same error
Tried to upgrade the linux travis image to focal but the it cannot install yarn

Tried to force rvm to use 2.6.5 but ruby 2.6.5 is not installed !!


Unable to Dynamically Generate Dynamic Breadcrumbs

I am trying to create breadcrumbs that dynamically reflect route parameters in Nuxt, specifically for routes with dynamic segments. For example, when editing a user at the route /users/:userId/edit, the breadcrumbs should look like this: Users > :userId > Edit.
I understand that I can use overrides with useBreadcrumbItems() to manually define the breadcrumb structure, but the challenge arises when different routes require different overrides. Since useBreadcrumbItems() can only be used at the top level of the setup function, I am unable to recreate or modify the breadcrumb items based on route changes. This results in errors when trying to update the breadcrumbs dynamically as the route changes.
Is there a recommended way to handle this scenario where breadcrumbs need to be updated dynamically based on route parameters?

Same problem here, I need to change label of items depending query parameters in my url.

In order to enable computed values for overrides, a simple enhancement can be made by utilizing toValue. Specifically, this line of code:
https://github.com/harlan-zw/nuxt-seo/blob/46f43b2071bb264b913d68a440073727d22af386/src/runtime/nuxt/composables/useBreadcrumbItems.ts#L130
Could be adjusted as follows:
const overrides = toValue(options.overrides || []);

This will ensure that both static and reactive values are properly handled within the overrides option.
If you'd like, I can set up a PR to implement these changes.


Add --python

ScalaPy native for windows doesn't work right now but I'll work on it once scalapy/scalapy#301 is settled which would make testing a lot easier.
You could also try making it work here right now by adding "-l" + nativeLibrary.get to ldflags and appending nativeLibraryPaths to PATH.
The problem currently with python-native-libs currently is I want to add nativeLibraryPaths to ldflags too so that it works for setting up sbt projects since you can't really manipulate env vars in sbt scala native (right?), but on windows paths usually have spaces in them, e.g. -LC:\Program Files\... and I'm not sure how to properly escape them.

Oh I saw that you alr added nativeLibraryPaths to PATH, so maybe on windows adding "-l" + nativeLibrary to linking options instead of using python.ldflags for now would work.

So looks like that was not the issue at all. Adding support for ScalaPy native on Windows turned out to be more complicated than that. I put up a summary at scalapy/scalapy#307.

For native the SCALAPY_PYTHON_PROGRAMNAME env var should be set to python.executable too so that virtualenv works (see scalapy/scalapy#200). JVM doesn't need that coz it's alr handled via system properties.

Closing as most of the stuff initially pushed here has been merged. Will open a new PR for the remaining things.


Are there any function that can return if the component hit the container edges, it returns a value like boolean?

how can i detect if an image had already hit the container edges? this can be useful in case of like this:

suppose you had a flatlist that has list of images and the flatlist's scrolled horizontally, scrollEnabled set to false when initialize
the image's component will be wrapped inside PanPinchView component and it should be on renderItem function

on this case flatlist scroll and pan gesture could be run on the same time, would be good if there's a function that can detect container edges so when it hit, a value is returned to control scrollEnabled's flatlist

Hi!
Thanks for taking the time to open this issue.
Would it be possible to provide a minimal reproducible example of your case? Maybe in expo?
There's no available method for your case, but I am willing to attempt implementing it alongside updating the library dependencies and making it available for React 17. That unfortunately will happen next week.
Best,
Ivanka

Closed in 162710d05de1f30eed2796ca019b31648938d87a. Demo can be found in the updated example app & information in the README.


Imports for the readme examples?

I'd love to see the imports to get the documentation examples to compile. In particular I'm curious where I can find the loadFile function.

Unfortunately, those are all made up, although there might be some nodejs wrappers for file system operations (there are certainly Aff wrappers for databases like MongoDB).
The best place to get working examples right now is here.

Ah, gotcha.
FWIW purescript-node-fs-aff provides an Aff-based filesystem operations.

I would really like to see more type annotations myself...


missing intl PHP extension during the rendering of a template

I have this error on symfony-demo application.
An exception has been thrown during the rendering of a template ("Cannot parse message translation: please install the "intl" PHP extension or the "symfony/polyfill-intl-messageformatter" package.").

Hello
[Windows10]
It is solved installing the component that is indicated via composer:
composer require symfony/polyfill-intl-messageformatter


Firefox Quantum Sprint website - Prishtina, Kosovo fix

The issue is on: https://firefoxsprint.mozilla.community/register
Pin in Prishtina, Kosovo sends to 'wrld' (https://firefoxsprint..../#wrld) not 'xk' and Kosovo is also missing the Map icon.
Maybe whoever's entering the data on the website is not aware of Kosovo's ISO code 'xk', but yet MapGlyph is there http://mapglyphs.com/kosovo
Thnx to @Mte90 for referring me to this repo!

This is a script doing this. Probably Kosovo just doesn't map to anything for now and therefore falling back to "wrld". Will check it out in the next few hours.

This should be fixed in 10 minutes (Cache applies to the website).


Bump containerd to v1.7.0 and move back into multicall binary

Proposed Changes
Restores containerd to the multicall binary, saving approximately 11MB off the shipping binary size.
This reverts much of https://github.com/k3s-io/k3s/pull/4757
Types of Changes
enhancement
Verification
Check k3s binary size:
k3s binary dist/artifacts/k3s size 68517888 is less than max acceptable size of 73400320 bytes (70 MiB) // current master
k3s binary dist/artifacts/k3s size 56868864 is less than max acceptable size of 73400320 bytes (70 MiB) // this PR

Testing
Linked Issues

https://github.com/k3s-io/k3s/issues/7419

User-Facing Change

The embedded containerd version has been bumped to `v1.7.0-k3s1`, and has been reintegrated into the main k3s binary for a significant savings in release artifact size.

Further Comments
Includes fix for CRI stats, pushed to upstream as https://github.com/containerd/containerd/pull/8472

Waiting on changeover to k3s-io


Add Circle CI config

Fixes #274

Windows tests are still flaky but now run about 5 mins instead of 20+.

Thank you for working on this 🙌


Tests don't work -- missing files and no steps

Currently, the tests do not work:
xobs@Pazuzu:~/Code/Fomu/TinyFPGA-Bootloader/tests/win10_enumeration_test$ make
iverilog -I.. -s top_tb -o test -c ../file_list.txt
../top_tb_header.vh:32: error: Unknown module type: vlog_tb_utils
../top_tb_header.vh:42: error: Unknown module type: vlog_tap_generator
3 error(s) during elaboration.
*** These modules were missing:
        vlog_tap_generator referenced 1 times.
        vlog_tb_utils referenced 1 times.
***
../test.mk:2: recipe for target 'test' failed
make: *** [test] Error 3
xobs@Pazuzu:~/Code/Fomu/TinyFPGA-Bootloader/tests/win10_enumeration_test$

They appear to depend on a module called vlog_tb_utils, which isn't mentioned anywhere.
If the files are added (e.g. from https://github.com/fusesoc/vlog_tb_utils), or if those lines are removed, then the error goes away, however the timestep never advances:
xobs@Pazuzu:~/Code/Fomu/TinyFPGA-Bootloader/tests/win10_enumeration_test$ make
iverilog -I.. -s top_tb -o test.vvp -c ../file_list.txt
vvp -v test.vvp
Compiling VVP ...
 ... VVP file version 11.0 (devel) (s20150603-616-ge93ee39)
Compile cleanup...
 ... Linking
 ... Removing symbol tables
 ...  WAIT ~60 SECONDS ...
^C** VVP Stop(0) **
** Flushing output streams.
** Current simulation time is 0 ticks.
> finish
** Continue **
 ...execute Postsim callbacks
 ... 66.9531 seconds, 26844.0/5900.0/2888.0 KBytes size/rss/shared
Event counts:
           3 time steps (pool=113)
    38707312 thread schedule events
    232244005 assign events
             ...assign(vec4) pool=9362
             ...assign(vec8) pool=204
             ...assign(real) pool=256
             ...assign(word) pool=128
             ...assign(word/r) pool=204
         302 other events (pool=4096)

xobs@Pazuzu:~/Code/Fomu/TinyFPGA-Bootloader/tests/win10_enumeration_test$

I've tried running the tests as well and found they still don't work.
I added files from https://github.com/fusesoc/vlog_tb_utils manually, then used -pfileline=1 flag in iverilog, turns out they are stuck in a loop over those lines:
../src/TinyFPGA-Bootloader_0/common/usb_fs_out_pe.v:205: Nonblocking assignment.
../src/TinyFPGA-Bootloader_0/common/usb_fs_out_pe.v:210: If statement.
../src/TinyFPGA-Bootloader_0/common/usb_fs_out_pe.v:211: Nonblocking assignment.
../src/TinyFPGA-Bootloader_0/common/usb_fs_out_pe.v:155: Event wait (@) statement.
../src/TinyFPGA-Bootloader_0/common/usb_fs_out_pe.v:157: Nonblocking assignment.
../src/TinyFPGA-Bootloader_0/common/usb_fs_out_pe.v:159: If statement.
../src/TinyFPGA-Bootloader_0/common/usb_fs_out_pe.v:163: Case statement.

Tests ran through fusesoc instead of manually adding files behave in the same way.
@tinyfpga could you take a look what could be wrong here?

this patch (https://pastebin.com/CjbzsUAV) solves the infinite loop issue, but the IP does not respond to USB packets in simulation.


Generic 3D bounds

Closes #117
Fixes #125
Infrastructure to do frustum culling based on Sphere or Aabb bounds. More can be implemented for the Bound trait. Example code:
let projection = PerspectiveFov {
        fovy: rad(1f32),
        aspect: 1f32,
        near: 1f32,
        far: 10f32,
};
let frustum = projection.to_frustum();
let bound = Sphere {
    center: Point3::new(0f32, 3f32, -5f32),
    radius: 1f32,
};
match frustum.contains(&bound) {
    Relation::In => show(),
    Relation::Cross => show_anyway(),
    Relation::Out => cull(),
}

This needs to be rebased.

Rebased now.

We'd want to implement relate_clip_space for Aabb3 in an efficient way, described here:
https://fgiesen.wordpress.com/2010/10/17/view-frustum-culling/
But that could be done later on without breaking the interface.

I'm not sure why Travis is not building this...

It was a bad merge on my part. The upcoming build should be fine though.

Another thing to do would be adding a benchmark for frustum culling. This would be handy for the optimized relate_clip_space, so will probably be implemented with it.

Thanks~


Virtualization

I’m using this library for a photo drag-n-drop grid in a production environment. Some users have >500 photos.
I switched to this library because it is much more performant than dnd-kit. That said, it’s still pretty slow for users who have 500 photos so I’m wondering, is virtualization an option? How hard would it be to add something like react-window on top of this library?

I'm not really sure of the impact of adding virtualisation but I don't think it would be trivial.
However, scrollable containers are already not supported so I think it would be a requirement in order to support virtualisation.


Migration to new gem version

The goal is to update the required gems to latest version (except RSpec to 2.99 so far).
Any objection?

Upgrade the gems in Gemfile? I'd say go for it! :smile:

Yes, this is what I meant.
OK, thanks


Fix typo and delete unnecessary spaces

typo: github -> GitHub
delete unnecessary spaces: As Markdown syntax, there was a large amount of half-width spaces that did not affect the display, so I deleted it

Verified editorial fix and layout in GitHub.


Fix standalone metadata enrichment if no oneAgent section is configured

Description
Ticket: https://dt-rnd.atlassian.net/browse/K8S-10845
Currently the operator does not add metadata enrichment if no oneAgent section is configured, as the reconciler unmaps all the namespaces
How can this be tested?
Deploy a Dynakube with only metadataEnrichment and no oneAgent or activeGate section -> check if sample apps get the initContainer and have the /var/lib/dynatrace/enrichment/* files (metadata.json/metadata.properties)

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 58.68%. Comparing base (437c687) to head (547b7d4).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##           release-1.2    #3568   +/-   ##
============================================
  Coverage        58.68%   58.68%
============================================
  Files              325      325
  Lines            18183    18183
============================================
  Hits             10671    10671
  Misses            6311     6311
  Partials          1201     1201

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


Added Facebook Discover Production Engineering apprenticeship

Added Facebook Discover Production Engineering apprenticeship

✅ By submitting this PR, I have verified the following

[] Checked to see if a similar PR has already been opened 🤔
[] Reviewed the contributing guidelines 🔍
[] Added my name to the bottom of the list under the Credits section in the README.md with a link to my website or GitHub profile 👥

Closing since this was already added in a previous PR.


please add Santa Rosa, CA

SUBJECT: Santa Rosa Resident for Defunding the SRPD
EMAILS<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>MESSAGE:
Dear Santa Rosa City Leaders:
I am writing you today out of great concern for our community and our future.  Their names are added to a devastatingly long list of Black people who have been killed at the hands of law enforcement - it is time for us to make different decisions. We demand change in the operation of the criminal legal system, we demand that we take care of our community instead of criminalizing those amongst us who need help, and we demand that police are not the front line responders to every emergency or call for help.
In Santa Rosa, fulfilling these demands requires making dramatic changes in our city’s budget. Our budget should reflect our values. The current budget does not. While I understand that due to Measure O, the City Council is not able to reduce the allocated budget expenditures to police, I am writing to you today to demand that the Santa Rosa City Council invest in alternative responses to law enforcement that actually keep our community safe and healthy. I also call on our collective community to reconsider Measure O’s policy, and work to change it. Law Enforcement should be the Exception, not the rule.
Increasingly, The United States has responded to every emergency or call for help with law enforcement. Meanwhile, our communities desperately lack meaningful access to healthcare, employment, and housing. Instead, we have the largest military budget in the world, and some of the most well-funded and militarized police departments. Policing and militarization overwhelmingly dominate the bulk of national and local budgets. In fact, police and military funding has increased every single year since 1973, and at the same time, while funding for public health has decreased every year. According to the Urban Institute, in 1977, state and local governments spent $60 billion on police and corrections.[1] In 2017, they spent $194 billion. A 220 percent increase. In Santa Rosa, funding for local police makes up 32% of the city budget.[2] Housing and community services accounts for only 1%. That is a staggering and illuminating statistic. What does it say about our community? It says that rather than responding to the needs in our community with meaningful support and resources, we respond with law enforcement. This is unacceptable. Where could that money go? It could go towards building healthy communities, to housing development, to neighborhood infrastructure, to education, to childcare. The possibilities are endless.
Therefore we demand the following:
The creation of a local police commission and a city council subcommittee on alternatives to policing. A commitment to changing Measure O, so we may act to reduce funding for police in the Santa Rosa City budget, and instead invest more in housing and community services. Investment in local alternatives to policing. This should include investments in existing community based organizations as well as additional funding to support the creation of alternative responses to community needs and emergencies, including: Unarmed mediation and intervention teams, Social worker teams and mental health experts, as well as Restorative Justice programs. We further request that an emergency meeting of the full city council be immediately scheduled to address these concerns. You are welcome to contact me with any questions or concerns regarding these requests.
Regards, [FULL NAME EMAIL PHONE NUMBER CITY COUNCIL DISTRICT  https://srcity.org/2864/Find-My-Council-District]
[1] https://www.urban.org/policy-centers/cross-center-initiatives/state-and-local-finance-initiative/state-and-local-backgrounders/police-and-corrections-expenditures
[2] https://srcity.org/ArchiveCenter/ViewFile/Item/4172

on it!


Please use SPDX license id to simplify automatic analysis

Current behavior
jodd pom.xml uses <license><name>The BSD 2-Clause License</... for license name which is not very well machine-readable.
Expected behavior
Please use SPDX identifier: BSD-2-Clause (see https://spdx.org/licenses/BSD-2-Clause.html)
Note: I know there's no standard way to reference a license, however use of SPDX id would still simplify the analysis. Especially taking into account that your pom.xml uses http://jodd.org/license.html for license URL, and the contents of that page might vary over time.
So it becomes complicated to assess the license for "past" artifacts.
Steps to Reproduce the Problem
Download recent pom.xml for jodd (e.g. jodd-core 5.0.13)

Agree!


For Rancher 2 Managed Clusters Set Service Account Issuer and JWK URL Options

Is your feature request related to a problem? Please describe.
There are ways to do federated access to cloud resources and external resources if those resources can validate the tokens signed by the kubernetes cluster. Since 1.20 with the feature flag turned on you can override the service account issuer and jwks uri.
Describe the solution you'd like
For Rancher managed clusters using RKE/RKE2, it should pass --service-account-issuer and --service-account-jwks-uri to the kube-apiserver that is based on the rancher2 accessible URL like https://rancher2/k8s/cluster/<id>/ for the issuer, and for the jwks uri, https://rancher2/k8s/cluster/<id>/openid/v1/jwks
These urls should be made to be publicly accessible.
Describe alternatives you've considered
Manually setting the values in the configurations.

@deniseschannon I believe this should be a feature and pretty straight forward for the team.
With aws and azure and GCP moving to federated auth, this would be immensely helpful.

I agree on this, would be super helpful.

This is still relevant

Still valid

Looking for this, very valid.

 And does going directly to downstream work ?
Is this only a problem on RKE1/RKE2 clusters ? I assume no, and that Rancher is blocker here, not distros.

Because it allows you to have a cluster with no direct public endpoints, which means you don't have to jump through all the hoops of setting up the cluster endpoint stuff. Going directly to downstream might work, I'm not sure. Part of the other problem there is that you need to know the endpoint when configuring the cluster, so if its generated too late in the process, you won't be able to use it.
This issue exists for any cluster rancher provisions.


Font variants multiple select or all (disable variants)

Issue description:
I tried to disable variants (by not including variants in "typograhy" > "default" array), becuase I need my body font to be able to use multiple variants - in content it should be possible to use multiple text formatting (bold, italic, light ...). Currently, the select field allows only single option.
Wouldn't it be better to have multiple select (like "subset"), or to disable variants (and allow all available) ?
Version used:
2.3.5
Not tested with development verison
Using theme_mods or options?
theme_mods
Code to reproduce the issue (config + field(s))
Kirki::add_field( 'natura_micemade_customizer',array(
    'type'        => 'typography',
    'settings'    => 'fonts_body',
    'label'       => esc_html__( 'Body font', 'natura' ),
    'description' => esc_html__( 'set font for all elements except for titles', 'natura' ),
    'help'        => esc_html__( 'use this setting visely as it affects all body font on site (except for titles and main menu)', 'natura' ),
    'section'     => 'fonts_section',
    'default'     => array(
        'font-family'    => 'Roboto',
        'font-size'      => '16px',
        'line-height'    => '1.5',
        'letter-spacing' => '0',
        'subsets'        => array( 'latin-ext' ),
        //'variant'        => '',
        //'color'          => '#333333',
        //'text-transform' => 'none',
        //'text-align'     => 'left'
        ),
    'priority'    => 10,

    'output'      => array(
        array(
            'element'  => 'body',
        ),
    ),
) );

Anyone ?

Try adding this:
add_action( 'wp', function() {
    if ( class_exists( 'Kirki_Fonts_Google' ) {
        Kirki_Fonts_Google::$force_load_all_variants = true;
    }
});

This will force-load all variants for selected google fonts. 👍

Thanks Aristath :clap:
this works. However, wouldn't it be nice to have multiselect possiblity, like for variants ?
Just a suggetsion ... (if I had required knowledge I would do it and do the pull req. ... ) :flushed:

However, wouldn't it be nice to have multiselect possiblity, like for variants ?

I'm afraid not.
typographies are assigned via the output argument to a specific element so that developers may easier control the output of those elements.
If you have a typography control for H1 headers for example, you should be able to select that you want them bold via the customizer.
If we allow multi-select for variants, then google-fonts will be loaded with all the variants the user selects, but the element that is controlled by that typography control will not have any variant applied since we can't know which one to apply.
The typography control is not a google-fonts-loader.
It's a typography control that allows you to select what kind of typography options you want applied to a specific element of your page.

Thanks for your time to explain, Aris (may I call you Aris ? ;) )
I read this couple of times and ... I couldn't agree ...
If user selects multiple variants then those variants will apply correctly  if in WP editor user bolded or "italicized" text. If he/she uses only one variant (since there's no multi-variants) then the blog text (for example) will have only that variant available and formatted text will not have font native variants (only browser false bolded or italic)
... or, I don't understand something ... :/

I'm afraid not.
typographies are assigned via the output argument to a specific element so that developers may easier control the output of those elements.
If you have a typography control for H1 headers for example, you should be able to select that you want them bold via the customizer.
If we allow multi-select for variants, then google-fonts will be loaded with all the variants the user selects, but the element that is controlled by that typography control will not have any variant applied since we can't know which one to apply.
The typography control is not a google-fonts-loader.
It's a typography control that allows you to select what kind of typography options you want applied to a specific element of your page.

Hey there,
I've started to use your great plugin in my themes and for now I'm building customizer options.
I know about your reasons that you don't want to add multiple variants for typography field though that would be a great feature for typography. For now I've put an option to force loading all variants but that would load all variants for all the google fonts used in theme. I need for example just "Open Sans" font with 300, 400, 700 weights only and a multiple select for variants would be great. You could use the "drag_drop" plugin for selectize.js. This way the user/author will load the font weights needed and the output for that element will take the #1 variant. Users could easily drag_drop the variants they need by default on the first place.
The other loaded variants could be very useful. Theme authors could have another option for an element where they can select another variant (if it exists). Authors won't be forced to use another typography field with unnecessary options and the users could place even their own CSS in new Additional CSS section, with different font weights for specific elements.
This multiple variants would be very useful in authors have an option to load a custom font. This way, users could upload a custom font besides the default theme options, they can choose different variants/weights and use them for specific elements with different weights in Custom/Additional CSS.
This is just a suggestion if you don't mind.
I've read somewhere that you'll introduce "optgroups" for select fields. It would be useful even in typography field to separate standard fonts from google fonts. I've used your filters to add more standard fonts in typography field.
Also the transport postMessage for typography doesn't work for font family, variant and subsets. It works for the rest of typography options.
Best Regards,
Qodux

I have a plugin (add on for Kirki) allow load all or multiple variants.
Download: https://wordpress.org/plugins/customize-kirki-variants/
Hope this plugin useful for you.


error login

⚠ Please verify that this bug has NOT been raised before.

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

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description

It showed you are not login but when reload the page i didn’t logout
👟 Reproduction steps
login
check monitor
go to settings/notifications
add certificate notification expires in
click save
delete certificate notification expires in
click save
add certificate notification expires in
click save
test notification
shows you are not login
👀 Expected behavior
send test notification
😓 Actual Behavior
showed you are not login
🐻 Uptime-Kuma Version
1.17.0-beta.1
💻 Operating System and Arch
Linix
🌐 Browser
Google Chrome
🐋 Docker Version
No response
🟩 NodeJS Version
Latest
📝 Relevant log output
Error: You are not logged in.
at exports. checkLogin(/home/runner/XUp
time-Beta/XUptime/server/util-server.is:522
: 15)
at Socket.<anonymous> (/home/runner/XUp
time-Beta/XUptime/server/server.is:1122:17)
at Socket.emit (node:events:394:28)
at Socket.emit (node:domain:475:12)
at Socket.emitUntyped(/home/runner/XUp
time-Beta/XUptime/node_modules/socket.io/di
st/typed-events.js:69:22)
at /home/runner/XUptime-Beta/XUptime/no
de modules/socket.io/dist/socket.js:466:39
at processTicksAndRejections (node: inte
rnal/process/task queues: 78:11)

where is the error log file

I cannot reproduce the issue with your steps. Is it reproducible every time in your side?

I cannot reproduce the issue with your steps. Is it reproducible every time in your side?

no

it happens when the server just started then in the middle it starts  to run again
example
started server
few seconds
letter it tells start server
but it tells the program is already running
then when i open the web after sometime it shows the error

Same reason as #1814, Replit is not supported.


support bringing up more masters in terraform and quickstart scripts

This is a requirement for the etcd-scaling test to be run against a terraform-quickstart created cluster.
cc @aaronlevy @yifan-gu

@pbx0 How can I test this?

@yifan-gu Create a file called terraform.tfvars with the following info:
access_key_id = "<YOUR_KEY_HERE>"
access_key = "<YOUR_KEY_HERE>"
instance_tags = "yifan_test_terraform"
ssh_key = "<name of your ssh key on amazon>"
additional_masters = 2

Then run terraform apply
Then run ./start_cluster.sh
Now you should have a cluster running with 3 masters and 1 worker (the default). Check out the variables files to see all the inputs to terraform. You override any of those defaults via the terraform.tfvars file.

@pbx0 Thanks, let me try it.

Renamed init-bootstrap.sh -> back to init-master.sh so that tests will pass.


Consistent naming of the query_something functions

Rename query_scalar_opt to query_opt_scalar, to make it consistent with query_opt_as. The same goes for query_scalar_one, of course.
The current naming is based on patterns from sqlx, which made the migration a bit easier. But now we can freely chose our own names.

Resolved in https://github.com/tandemdrive/rust-postgres/commit/cd2ce8a3ee81ab1d70fb5b2891d565097be43a96


Easy projector scroll

The following feature would be very nice: A user who has permission to manage the projector should be able to scroll on the full projector view. On smaller events the chairperson often wants to see the projector in full screen on his personal computer. At the moment he has to look at the often very small live view to use the scroll buttons.
Proposal: On the projector view some JS catches scrolling inputs from the browser and sends "them" as event to the scroll url. Very nice if you can control the projector on a tablet with scroll and even scale (zoom).

AFAIK: Projector scrolling is a thing in OS2.3 and it will be in OS3. Please reopen if I'm wrong.


load

I have generated road that maby more than 1km，but the scenario in the BeamNG.tech shows the part of the road, and I found a phenomenon about this problem as next picture:

It indicated that a 1km road is loaded when loading the scenario. I want to know whether it can load 1km at most. If not, how can I modify it to remove this restriction.
Thanks for your look!

Hi,
unfortunately I cannot see the image, it shows a "Error Fetching Resource" error for me instead. Could you try to resend it, please?

Sorry, there may be a problem with this image address. I uploaded it again as follows.

Sorry, there may be a problem with this image address.I sent it to you as an attachment.
looking for forward to your replay.
lisa
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "BeamNG/BeamNGpy"                                                                                @.>;
发送时间: 2022年12月5日(星期一) 下午4:05
@.>;
<EMAIL_ADDRESS>主题: Re: [BeamNG/BeamNGpy] load (Issue #197)
Hi,
unfortunately I cannot see the image, it shows a "Error Fetching Resource" error for me instead. Could you try to resend it, please?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I am still not able to see the image, can you send an e-mail directly to<EMAIL_ADDRESS>please? Thank you.

Please try again.

I sent an email to the address you specified, but no reply was received, so I want to explain my problem here, because I'm in a hurry, so I'm sorry to bother you.
The road I generated may be longer than 1km. During loading the scene, BeamNG.tech displays:
Terrain
Environment loaded 3 objects
loaded 1km of the roads and 0.0km markings
So I wonder if the simulator can only load 1km of roads. If it can load longer roads, where do I need to modify the configuration to load longer roads?
Thank you.

Hi, did you generate the road using BeamNGpy? What was the exact command that you used in that case? Thanks for the answer.

Hi, I used a CPS tool can be found here: https://github.com/se2p/tool-competition-av.
Which provide a code pipeline connecting the BeamNG.tech, which can be used to load road points from generated algorithm.
Hope it can help you understand the problem.
Thank you very much.
lisa
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "BeamNG/BeamNGpy"                                                                                @.>;
发送时间: 2022年12月8日(星期四) 下午5:04
@.>;
<EMAIL_ADDRESS>主题: Re: [BeamNG/BeamNGpy] load (Issue #197)
Hi, did you generate the road using BeamNGpy? What was the exact command that you used in that case? Thanks for the answer.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

Closing this because of inactivity. If you have more questions, feel free to reopen this issue or open a new one.


⚠ Secret Website 3 has degraded performance

In aefc1af, Secret Website 3 ($SECRET_WEBSITE_3) experienced degraded performance:

HTTP code: 200
Response time: 1754 ms

Resolved: Secret Website 3 performance has improved in f36bd98.


Add Qudus Yekeen to Contributors list

Hi  @udus97, I'm quite elated about your pull request. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a pull request and learned that I merged it?
We’ve recently added social share  to our web app. Could you please go to https://roshanjossey.github.io/first-contributions/#social-share and share your first contribution to open source?
Also, check out projects with easy issues while you’re there.

Actually this is not the first time I'd be making a pull request on GitHub, but this is the first that that my pull request will be merged. It feels great even though the whole process seems to be automated, like something a GitHub bot automatically did; but it still feels great!!

@udus97, Yeah, I do have a GitHub bot set up to merge changes in Contributors.md file.
I’d urge you to continue contributing to other open source projects.
We also have a slack team to help/mentor people trying to contribute to open source projects.
You can join the team by going to https://firstcontributions.herokuapp.com


show tag values - drastically decreased performance on v0.13

Bug report
System info: [Include InfluxDB version, operating system name, and other relevant details]

Centos 7
influxdb v0.10.3 and v0.13.0

Steps to reproduce:

Upgrade from v0.10.3 to v0.13.0
Run "show tag values from cpu WITH KEY = host"

Expected behavior:
Query runs for reasonable time
$time influx -database telegraf -execute "show tag values from cpu WITH KEY = host" > /dev/null

real	0m0.106s
user	0m0.017s
sys	0m0.008s

(this is on v.0.10.3)
Actual behavior:
$time influx -database telegraf -execute "show tag values from cpu WITH KEY = host" > /dev/null

real	0m10.514s
user	0m0.018s
sys	0m0.006s

(this is on v.0.13.0)
Additional info:
I have around 3k hosts.
What I did:

Backuped meta storage with influxd backup
Upgraded influxdb to 0.13.0
Restored meta

I use this query in a template variable query in grafana, so dashboard now loads for 10-13 seconds instead of 0.1s.

Duplicate of https://github.com/influxdata/influxdb/issues/6233?

Already fixed with https://github.com/influxdata/influxdb/pull/6792?

Oops,  it should be it, thanks!


pipewire: 0.3.34 -> 0.3.35

Motivation for this change
https://gitlab.freedesktop.org/pipewire/pipewire/-/releases/0.3.35
Other than S/PDIF passthrough, mainly compatibility and quality of life improvements.
Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

Bluetooth codecs are now compiled into sperate plugins which are dynamically loaded. This makes it possible to change the plugin implementation or ship plugins separately without having to recompile the bluetooth module.

Can someone verify that it uses a correct directory (since the package has multiple outputs).

Also, what about the manpage generation?

Bluetooth codecs are now compiled into sperate plugins which are dynamically loaded. This makes it possible to change the plugin implementation or ship plugins separately without having to recompile the bluetooth module.

Can someone verify that it uses a correct directory (since the package has multiple outputs).

They are in the pipewire.lib output, under lib/spa-0.2/bluez5 just like the main bluez5 plugin.

Also, what about the manpage generation?

I don't think that was ever discussed? Which output do they even belong to?
FWIW the HTML docs are currently generated into the doc output.

They usually go either to out or man output. I am mentioning them because they now require rst2man so they are not built anymore (not sure if they were before).

Ah right, they weren't built in the past because of the xmltoman dependency. Looks like everything is peachy now.

@jtojnar mind doing the honors? Or is there something else that still needs changing.


Write integration tests based on DREAM challenge

The idea is to require a certain sensitivity and specificity, similar to the HaplotypeCaller integration tests.

Closed by PR #786.


Program throws error when trying to list all tasks when there is no exam_data.json

Describe the bug
The program crashes when trying to list all tasks when there is no exam_data.json file
To Reproduce
remove exam_data.json file
start program
press 'e' and enter
press 'l' and enter
Expected behavior
Program should not crash

Issue resolved. Future PR's will automatically close issues with the new "pull_request_template.md" found in the .github/PULL_REQUEST_TEMPLATE/ folder.


Misidentification of image/jpeg files

Problem
All of the JPG files I have tried returns text/plain.
Story
I want to use tree_magic 0.2.3, for validating user content uploaded being uploaded to my website (using actix).
The files being uploaded are being assigned a uuid filename. I discard the filename provided by the user, since it cannot be trusted.
I have tried both using the from_u8() and the from_filepath().
If the path ends in .jpg then tree_magic classified the file correctly as image/jpeg.
However I cannot trust that the user have provided the correct file extension.
One of the images that I have tried with is this:

Interestingly all the PNG files I have tried with are identified correctly as image/png.
The PNG identification works no matter what file extension I'm using, and I can leave it entirely out.

Ah sorry, I had forgotten to invoke file.sync_all().await?; before using tree_magic.


test_in_tail: Remove meaningless test data for throttling tests

Which issue(s) this PR fixes:
none
What this PR does / why we need it:
Although throttling tests try many data, about half of them are
meaningless. Since these tests take 1-2 seconds per datum, they
should be removed to reduce whole test time.
Docs Changes:
none
Release Note:
none

In addition, removing them is more likely to avoid instability of CI environment.

Thanks!


Update super resolution doc

evaluate--only应该是测试模型

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

感谢贡献，目前PR时间较老，先关闭了


Ability to move items on the canvas

User can move separate (without bonds) monomers around canvas
User can move selected monomer groups around canvas

Tested


Installing a formula from an URL with a capital letter doesn't work

Having a Brewfile like this:
brew "https://raw.githubusercontent.com/Homebrew/homebrew-core/c5be5cdca0ee1bab05ad3cbfbae016bf7a5be5cf/Formula/apache-spark.rb"

results in the following error when running brew bundle
curl: (22) The requested URL returned error: 404 Not Found
Error: Failure while executing: /usr/bin/curl --remote-time --location --user-agent Homebrew/1.2.2\ (Macintosh;\ Intel\ Mac\ OS\ X\ 10.12.5)\ curl/7.51.0 --progress-bar --fail https://raw.githubusercontent.com/homebrew/homebrew-core/c5be5cdca0ee1bab05ad3cbfbae016bf7a5be5cf/formula/apache-spark.rb -o /Users/x/Library/Caches/Homebrew/Formula/apache-spark.rb

It seems like the URL is converted to lowercase by homebrew-bundle, which causes the 404.

We don't support having a URL in that field. We may consider PRs that fix this. Sorry!


Feature: Weather App using Tkinter Python

Describe the solution you'd like
Using the Tkinter module and OpenWeatherMap Api, I will be extracting data for the given city and display Location, Temperature, Humidity and pressure
Please assign this project to me to work on

Submitted a PR for the same, please review!


EXC_ARM_BREAKPOINT, subcode=0xdefe

The library occasionally seems to be crashing at this line, using CGSize.zero as the scale size.

Sort of fixed it.
if let image = image {
    image.getColors() { ... }
}

crashes.
image?.getColors() { ... }

doesn't.
I guess I'll close this but I am very interested in why this would happen

Can you give more context to what you were doing? I'm interested in recreating the issue to see if we can prevent other issues similar to it.

I have an internal class that stores RGB values of the UIImageColors output to be stored in Realm.
var image: UIImage? // may be null, but wasn't in this case
Colors.create(image: image, object: Object) // Colors being my internal class, object is the realm object that I'm saving

in Colors:
static func create(image: UIImage?, object: Object) {

    image?.getColors() { colors in
        // store rgb values in
    }
}