New Slim Version 5.0

Hi guys! The Brand new slim version (5.0) pushed on the 23rd of january broke my pipeline. It looks like we have parsing issues with it. Downgrade to version 4.1 on your Gemfile to temporarily fix the issue.

I am also experiencing the same event.
It was also discussed in Slim.
https://github.com/slim-template/slim/issues/909
It seems to be caused by the code in middleman-core that does the rendering of slim.
https://github.com/middleman/middleman/blob/3812b031b6313ade4622c01f95ca154f36e09fb7/middleman-core/lib/middleman-core/renderers/slim.rb#L42
def initialize(_app, _options={}, &_block)
        super

        # Setup Slim options to work with partials
        ::Slim::Engine.disable_option_validator!
        ::Slim::Engine.set_options(
          buffer: '@_out_buf',
          use_html_safe: true,
          generator: ::Temple::Generators::RailsOutputBuffer,
          disable_escape: true
        )
      end

It worked by commenting out the following line
          generator: ::Temple::Generators::RailsOutputBuffer,

I hope it will be fixed.

Downgrade to version 4.1 on your Gemfile to temporarily fix the issue.

Downgrade to 4.1 in your Gemfile permanently.

https://github.com/middleman/middleman/issues/2619#issuecomment-1447278358
this comment-out worked for me.
Can I make PR to remove this line?

@kuboon as long as that change doesn't break support for Slim 4

It would be nice to update title to at least ~> 2.1 on middleman-core, so that middleman could allow slim 5.1+ support.
https://github.com/middleman/middleman/blob/34d0160bfcc1b717660a9a604ce7c30bb0f56ec5/middleman-core/middleman-core.gemspec#L24
https://github.com/middleman/middleman/blob/34d0160bfcc1b717660a9a604ce7c30bb0f56ec5/Gemfile#L25
Tilt 2.1 changelog doesn't look to have breaking changes.
That could help fix incompatibility with modern slim versions.
➜ bundle install
Fetching gem metadata from https://rubygems.org/............
Resolving dependencies...
Could not find compatible versions

Because slim >= 5.1.1 depends on tilt >= 2.1.0
  and middleman-core >= 4.3.0 depends on tilt ~> 2.0.9,
  slim >= 5.1.1 is incompatible with middleman-core >= 4.3.0.
Because middleman >= 4.5.1, < 5.0.0.rc.1 depends on middleman-core = 4.5.1
  and middleman >= 4.5.0, < 4.5.1 depends on middleman-core = 4.5.0,
  middleman >= 4.5.0, < 5.0.0.rc.1 requires middleman-core = 4.5.0 OR = 4.5.1.
Thus, slim >= 5.1.1 is incompatible with middleman >= 4.5.0, < 5.0.0.rc.1.
So, because Gemfile depends on slim ~> 5.2
  and Gemfile depends on middleman ~> 4.5,
  version solving has failed.

How about this solution to support slim 5 : https://github.com/slim-template/slim/issues/909#issuecomment-1473277353
Also, tilt 2.1+ is necessary only for slim 5.1.1+ (e.g. 5.2) but slim 5.1.0 doesn't work either because middleman doesn't require action_view so we have this kind of error at build time.
uninitialized constant #<Class:0x00007811df3ed7a8>::ActionView
/home/noraj/Dev/pwnby_noraj/source/streams.html.slim:1:in `__tilt_11400'
/home/noraj/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/tilt-2.0.11/lib/tilt/template.rb:181:in `call'
/home/noraj/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/tilt-2.0.11/lib/tilt/template.rb:181:in `evaluate'
/home/noraj/.asdf/installs/ruby/3.3.0/lib/ruby/gems/3.3.0/gems/tilt-2.0.11/lib/tilt/template.rb:109:in `render'
[…]

So #2699 doesn't fix #2619 as slim 5 is still not supported.

Hey @noraj 👋
Thanks for your investigation! Please feel free to send a PR, it would be nice to support newer Slim 🤝

just to circle back here, https://github.com/henrik/henrik.nyh.se/commit/b27f08d5c8db01fa6b8e914221a752580953faed#diff-d09ea66f8227784ff4393d88a19836f321c915ae10031d16c93d67e6283ab55fR8 still works for me with fully modern slim/middleman/etc gems.
in other words, adding the gem actionview to my gemfile and then require action_view to my config.rb.
would anybody accept if it I submitted a PR making this work internally by:
a) adding the actionview dependency in middleman-core/middleman-core.gemspec
b) adding the require action_view to the top of middleman-core/lib/middleman-core/renderers/slim.rb which is the file where the problem originates (the use of ::Temple::Generators::RailsOutputBuffer).
I can't argue that's the cleanest solution, but I'm pretty sure it would work and would put this multi-year annoyance to bed.

@jubishop PR would be very welcome

I submitted one to the main branch.  Once we have that worked out and committed I can submit a similar one to 5.x branch


Add example for to_bytes and trailers

It is not obvious how to deal with trailers, especially since in most
cases the body gets consumed by a call to to_bytes, even though it is
perfectly fine to call that on a mutable reference to the body, and then
extract the trailers aftewards.

@mariaschett could you take a look?

Yes, I agree, we have needed trailers to proxy a gRPC request here.


System Keyring is not loaded when defining an additional public key

I tried to create an image with bellsoft java runtime like this:
contents:
  repositories:
  - https://dl-cdn.alpinelinux.org/alpine/edge/main
  - https://dl-cdn.alpinelinux.org/alpine/edge/community
  - https://apk.bell-sw.com/main
  packages:
  - bellsoft-java19-runtime-lite
  keyring:
  -<EMAIL_ADDRESS>entrypoint:
  command: java --version
environment:
  PATH: /usr/lib/jvm/bellsoft-java19-runtime-lite/bin

When running the build command like this
docker run -v "$PWD":/work cgr.dev/chainguard/apko build --debug java.yaml java:test java.tar
I see the following error:
Nov 23 10:58:07.365 [DEBUG] [arch:aarch64] [cmd:apk] [use-proot:false] [use-qemu:] fetch https://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
Nov 23 10:58:07.616 [DEBUG] [arch:aarch64] [cmd:apk] [use-proot:false] [use-qemu:] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/edge/main: UNTRUSTED signature
Nov 23 10:58:07.616 [DEBUG] [arch:aarch64] [cmd:apk] [use-proot:false] [use-qemu:] fetch https://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
Nov 23 10:58:07.808 [DEBUG] [arch:aarch64] [cmd:apk] [use-proot:false] [use-qemu:] fetch https://apk.bell-sw.com/main/aarch64/APKINDEX.tar.gz
Nov 23 10:58:07.808 [DEBUG] [arch:aarch64] [cmd:apk] [use-proot:false] [use-qemu:] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/edge/community: UNTRUSTED signature
Nov 23 10:58:07.979 [DEBUG] [arch:aarch64] [cmd:apk] [use-proot:false] [use-qemu:] ERROR: unable to select packages:
Nov 23 10:58:07.982 [DEBUG] [arch:aarch64] [cmd:apk] [use-proot:false] [use-qemu:]   zlib (no such package):
Nov 23 10:58:07.982 [DEBUG] [arch:aarch64] [cmd:apk] [use-proot:false] [use-qemu:]     required by: bellsoft-java19-runtime-lite-19.0.1_p11-r0[zlib]
Nov 23 10:58:07.982 [DEBUG] [arch:aarch64] [cmd:apk] [use-proot:false] [use-qemu:]   java-common (no such package):
Nov 23 10:58:07.982 [DEBUG] [arch:aarch64] [cmd:apk] [use-proot:false] [use-qemu:]     required by: bellsoft-java19-runtime-lite-19.0.1_p11-r0[java-common]

It seems that the system key files are ignored in case a custom key file is defined in the keyring attribute. These leads to the issue that main and community repositories are ignored due to untrusted keys.
I think the following lines cause this issue:
https://github.com/chainguard-dev/apko/blob/30e7a8d4aa352b81b007a9a06f74861a6a3a80ef/pkg/apk/apk_implementation.go#L111-L116
I expected the additional keys to be appended to the system keys and not replacing them. Otherwise when I define a custom key, I would also have to add the keys for the common alpine repositories which is problematic as there are arch specific keys for them, so my apko file would not work for all archs anymore.

Any suggestions how to solve this problem?

As far as I have seen, this is fixed in the latest versions. So I close this ticket


Update metrics app group

Now runnable via fabric8:apply or through console.

Refer to this link for build results (access rights to CI server needed):
https://fabric8-ci.fusesource.com/job/fabric8-quickstarts-master-pullreq/602/
Test PASSed.


use the print function for Python 3 compatibility

In Python 2, "print" is a keyword but in Python 3 it is a function. Use
the "from future" idiom to make "print" be a function in both 2 and
3. Convert uses of print into the functional form.

I have it on good authority that whenever one writes a Python 2-only script, God kills both a puppy and a kitten. Then he stamps on a fairy.


init: Starter Kit flows only show empty databases

By design the Starter Kit flows only show you empty databases to select from. Problem is that this is not clearly communicated and can lead to confusion (at least it did to me).
It might make more sense to list the non-empty databases as well, but make it explicit that and why they can not be used.

I can confirm and would consider this as a bug.

Internal note: candidate from bug triaging meeting

Still present in<EMAIL_ADDRESS>binary version: e7579bd35e0938dbf773f1706c098a0d14a5a038


How to access "regular" fontawesome icons?

Some fontawesome icons appear in two styles, one of which is called "regular", and takes a [regular] optional argument in LaTeX. For example, \faIcon{square} is a filled square, whereas \faIcon[regular]{square} is an empty square. In HTML the two are differentiated by the class "far" vs "fas".
I searched through the documentation of this extension, but I don't find how to access these variants. Following the example of the size specification I tried adding style="regular" or regular=true and various other combinations. I was wondering if it is possible to access these variants and how.
Thank you so much for this awesome extension, it makes a world of difference!

I found out that the explanation is implicit at the beginning of the extension documentation: {{< fa square regular >}} gives what I was looking for. Sorry for the bother! :)


There were some problems during training

Why does top1 have very low accuracy ？

can you provide more details on which model are you using, how you are training, are you using ravdess dataset?

Yes, because ravdess dataset is too large, I choose to use the voice and video data of the first four personnel for training, and the training steps are also operated according to your instructions.

Although I was not able to test with a smaller dataset to verify, I believe that this is the cause of the issue: RAVDESS is already pretty small by itself, selecting only four actors is likely not enough to learn something meaningful. If you are facing out of memory issues, you might try reducing the batch size


MWC-QT-Wallet Wrong Tooltips for Marketplace

@bayk Some minor Details I found in 1.2.5
Some Toolstips seem copy pasted from the Swap page, For example in the Picture it should probably say "what offers do you want to see". (true for all 3 in this row)

The same is true for the "Tab" tooltips above, see here: (true for all 3 in this row)

Also, for some reason the Tooltip of my "Details" button of a specific offer itself is cutoff below (but that may just be weird one off), see here:

Will fix soon. The tooltip at "Detail" and other build in buttons we better to remove. It is hard to control styles there and the default styles are incorrect.


Libraries possible for visualization

http://recharts.org/#/en-US/examples/SimpleAreaChart

http://formidable.com/open-source/victory/docs

http://uber.github.io/react-vis/#/

http://www.reactd3.org/docs/basic/#area

https://github.com/RakanNimer/react-google-charts

Using google charts because it's fast and easy

https://www.highcharts.com/


Remove spurious arguments to parseEmptyStatement and parseFunctionDeclaration.

This fixes https://code.google.com/p/esprima/issues/detail?id=579.

Thanks for contributing! Sorry for the long delay! Can you please sign our CLA so I can land this patch? http://contribute.jquery.org/CLA/ Please make sure you sign as "Max Schaefer<EMAIL_ADDRESS>exactly. Thanks!

Can you do the opposite: use the node parameter that is passed in and avoid creating a new Node?

@ikarienator good point. @xiemaisi I'm going to close this PR for in light of @ikarienator's suggestion. Thanks again though for contributing!


Array: array length constraints?

Hello,
I am wondering, is there any way to constrain the size of array?

Found maxItems in documentation. Thanks!


exclude rel="nofollow" links from being crawled

Website crawlers don't follow rel="nofollow" links, and most often they are used in the comment section of websites. Links are often broken there, or point to non-wanted urls, so I think it would be reasonable to exclude them.

External links won't be included at all by simplecrawler. Anyway I guess this is reasonable as you could use this for internal links also.


SMX4-1960 kafka <IP_ADDRESS> osgi bundle

Adress issue https://issues.apache.org/jira/browse/SMX4-1960 and add osgi version for the new KAFKA client jar

I reviewed and applied thanks. You can close this PR.

thanks


Custom toggleExpanded action not working in 2.7.3

Hi,
I have a custom toggleExpanded Action which overrides the default one. The logic will collapse other nodes based on the current node
export function toggleExpandedAction(tree: TreeModel, node: TreeNode, _$event: any) {     if (node.hasChildren || node.isRoot) {         tree.expandedNodes.forEach((expNode) => {             if (!node.isDescendantOf(expNode)) {                 expNode.collapseAll();             }         });         node.toggleExpanded();     } }
this is working in version 2.7.2 when upgrading to 2.7.3 the logic doesn't work.
This check gives in 2.7.2 a true:  if (!node.isDescendantOf(expNode)) { and in 2.7.3 false

Strange, I'll look into it.
Feel free to dive into the code and debug it - it will help to solve this issue quicker.

Have you tried migrating to the latest version? (5.0.0 and up)?

We can close this issue. The reason were the old output events which were removed.

Awesome. I suggest looking in the changelog when switching versions, I always write the changes and breaking changes.


read_params

Add a method to read params from a file. This can make it easy to start using file-based params (encouraged in dvc pipelines and good practice generally) with dvclive.
Sample docs for this method:

Live.read_params()
 def read_params(path: str):

Usage
from dvclive import Live

live = Live()

params = live.read_params("params.yaml")

model(**params)

Description
Read a YAML, JSON, TOML, or simple Python file into a dict.
If save_dvc_exp=True, the path will also be specified as a parameters file in dvc.yaml.
...

Compared to dvc.api.params_show, this method:

Doesn't require DVC.
Adds the file as a params file instead of needing it to already be setup in dvc.yaml.
Is more of a simple convenience for reading config files -- there are no stages, revisions, etc.

Hopefully this can help with transitioning to pipelines. We could still encourage usage of a separate params dep file even when using dvc_exp_save and no pipeline. If they already have a params.yaml and use read_params, then adding a pipeline can be as simple as dvc stage add -n train -d params.yaml -o dvclive ... python train.py (or a pre-filled dvc.yaml with help from vs code).

Do users find it hard to do this?
with open("params.yaml") as f:
    params = yaml.load("params.yaml")

with open("params.toml", "rb") as f:
    params = tomllib.load(f)

Do users find it hard to do this?
with open("params.yaml") as f:
    params = yaml.load(f)

with open("params.toml", "rb") as f:
    params = tomllib.load(f)

To my understanding, the main value comes from:

Adds the file as a params file instead of needing it to already be setup in dvc.yaml.

Lowering to p2 since it doesn't enable/break any workflow ATM

I'm curious what will be difference between already implemented _read_params function?
and I would love to work on this issue! 👊🏻
def _read_params(self):
        if os.path.isfile(self.params_file):
            params = load_yaml(self.params_file)
            self._params.update(params)

Hi @mertbozkir 👋 ! Good question. There are a few differences:

A public read_params method should take a filename as an argument and read files from there. It should also add that file path to the top-level params section of the dvc.yaml file.
_read_params adds parameters to self._params, which will later dump them back to dvclive/params.yaml. For a public read_params method, we don't want to do this since it will duplicate the parameters (the user already has them in a file in this case).
_read_params doesn't return anything. A public read_params should return the dictionary of params so the parameters can be used in code.

A public read_params method should take a filename as an argument and read files from there. It should also add that file path to the top-level params section of the dvc.yaml file.

A query API should not have any side-effects, especially an API that is named read_.

@skshetry Maybe there's a better name like load_params? Adding to dvc.yaml won't happen at the same time. It would be saved internally to be written during make_dvcyaml().

A public read_params method should take a filename as an argument and read files from there. It should also add that file path to the top-level params section of the dvc.yaml file.

I also got confused by this :). @dberenbaum could you please review / add more color to the initial requirements?

The goal is to address these points from the initial requirements at the top of the issue:

If save_dvc_exp=True, the path will also be specified as a parameters file in dvc.yaml.

I would update this to "If dvcyaml=True, .... I don't think the dvcyaml` kwarg existed when the issue was opened.

2. Adds the file as a params file instead of needing it to already be setup in dvc.yaml.

If the file (or some subset of parameters in it) is already specified as params dependencies and top-level params, they get deduped in all products.
The reason I feel it's important for this method is to ensure that any parameters read in by this method in fact show up as parameters for that experiment.

okay, I see and it makes sense. I would rephrase it a bit. "Live tracks all files access by read_params via dvc.yaml automatically to track the ...". That could reduce the feeling of A query API should not have any side-effects, especially an API that is named read_..


Error setting random_state in PaCMAP

Hi,
I have being exploring PaCMAP this past week and wanted to test it against multiple attributes. One of them is repeatability and to do that I added a random_state = 1,10,20. I used FMNIST for the dataset and the code is the following:
import numpy as np
import pacmap
from sklearn.datasets import load_digits
from sklearn.model_selection import train_test_split
from sklearn.preprocessing import StandardScaler
import matplotlib.pyplot as plt
import time
import seaborn as sns
import pandas as pd
import umap.plot
import sys
import umap
from io import BytesIO
from PIL import Image
import base64
from bokeh.plotting import figure, show, output_notebook
from bokeh.models import HoverTool, ColumnDataSource, CategoricalColorMapper
from bokeh.palettes import Spectral10, Category10

train = np.load("/home/icalle/Documents/umap/Data/fmnist_images.npy", allow_pickle=True)
train = train.reshape(train.shape[0], -1)
test = np.load("/home/icalle/Documents/umap/Data/fmnist_labels.npy", allow_pickle=True)

reducer = pacmap.PaCMAP(n_dims=2, n_neighbors=10, MN_ratio=0.5, FP_ratio=2.0, random_state=20)
embedding = reducer.fit_transform(train, init="pca")

plt.scatter(reducer.embedding_[:, 0], reducer.embedding_[:, 1], s= 5, c=test, cmap='Spectral')
plt.gca().set_aspect('equal', 'datalim')
cbar = plt.colorbar(boundaries=np.arange(11)-0.5)
cbar.set_ticks([0,1,2,3,4,5,6,7,8,9])
cbar.set_ticklabels(["T-shirt/top","Trouser","Pullover","Dress","Coat", "Sandal","Shirt","Sneaker","Bag","Ankle boot"])
plt.title('PaCMAP Fashion-MNIST; n_neighbors=10, random_state= 20', fontsize=12);
plt.show()

After plotting, the results are the following:

To conclude, as seen in the plot, this is not the correct output and I wanted to know where I went wrong in the code or if this issue has been raised before. I also want to mention, I tested it on the Digits dataset, on multiple random_state values, and with init="pca", but still the same result.

Thank you for reporting this issue. As far as I know, this issue has not been raised before. For the fmnist dataset, can I assume the two .npy files you used are the ones we provide in this repo? I will try to replicate the issue on my end.

Thank you for the prompt response. Yes, they were taken from this repo.

I have successfully replicated the issue locally. It seems like there's some problem with respect to mid-near pair sampling procedure when the random seed is present. I will try to publish a hotfix as soon as possible.

Great, thank you. Look forward to your solution.

PaCMAP v0.5.3 is now available on pypi. Let me know if that solves your problem.

Yes, it did. Thank you for your help.


checkcommits: Fix for running under SemaphoreCI.

The git checkout on SemaphoreCI systems doesn't include
a "master" branch, so use "origin" instead.
Signed-off-by: James O. D. Hunt<EMAIL_ADDRESS>

lgtm


HttpClient4 request java.net.sockettimeoutException time out

What version of pinpoint are you using?
pinpoint-agent-1.8.0
Describe the bug
HttpClient4 request java.net.sockettimeoutException :33,000 milliseconds timeout on connection http-outgoing-0 [ACTIVE] [RequestId]: null
What did you do to trigger the bug?
Steps to reproduce, for example:
The httpclient 4.x request address appears
Final check, pinpoint. config settings
Profiler. apache. httpclient4. param = false
Profiler. apache. httpclient4. cookie = false
Profiler. apache. httpclient4. entity = false
Profiler. apache. httpclient4. entity. statuscode = false
Just normal

the some


Update DefaultDiscoveryService.java

What's the purpose of this PR
add @Override

Codecov Report

Merging #3156 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master    #3156      +/-   ##
============================================
+ Coverage     51.50%   51.53%   +0.02%
- Complexity     2251     2254       +3
============================================
  Files           433      433
  Lines         13448    13448
  Branches       1379     1379
============================================
+ Hits           6927     6931       +4
+ Misses         6042     6041       -1
+ Partials        479      476       -3

Impacted Files
Coverage Δ
Complexity Δ

...o/metaservice/service/DefaultDiscoveryService.java
100.00% <ø> (ø)
6.00 <0.00> (ø)

...ervice/service/ReleaseMessageServiceWithCache.java
87.05% <0.00%> (+1.17%)
25.00% <0.00%> (+1.00%)

.../framework/apollo/spring/property/SpringValue.java
89.47% <0.00%> (+1.75%)
21.00% <0.00%> (+1.00%)

...rk/apollo/spring/property/SpringValueRegistry.java
88.88% <0.00%> (+5.55%)
11.00% <0.00%> (+1.00%)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 885e461...94ec3bd. Read the comment docs.


Add missing C doc aliases

We realized with https://github.com/gtk-rs/gtk-rs/pull/504 that a lot of doc aliases were missing. We should check on all the manual code of the crates.

Done.


uncaught exception: You must pass your app key when you instantiate Pusher.

Hello , i'm facing this error :
uncaught exception: You must pass your app key when you instantiate Pusher.
this is my config :
PUSHER_APP_ID=ad
PUSHER_APP_KEY=ada
PUSHER_APP_SECRET=ad
PUSHER_APP_CLUSTER=add
MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

how do you solve it ?

I just run 'npm run watch' again

I'm having same issue. Do we have a solution to this?

Having this issue as well.

Anyone?

I found the solution for my case. What I did is just to the following command.
php artisan config:clear
php artisan view:clear
npm run watch
Then it goes well.

php artisan optimize:clear
npm run watch
works on me.

running npm run watch is no good for production, in my case the issue was from my gitlab-ci, when running npm run prod make sure you have your .env file in place, otherwise assets will be built and env variables prefixed with MIX_ won't get included in them.

Simply hard code the values like:
Vue.use(VueEcho, {
    broadcaster: 'pusher',
    // key: process.env.MIX_PUSHER_APP_KEY,
    // cluster: process.env.MIX_PUSHER_APP_CLUSTER,
    key: "your_app_key",
    cluster: "ap1",
    forceTLS: true,
    authEndpoint: "/broadcasting/auth",
});

Hi,
i' having the same issue even i'm running
php artisan optimize:clear & npm run prod
i got the same error message : uncaught exception: You must pass your app key when you instantiate Pusher.
Can some one help
Thanks

Even after I prefixed the env variable with MIX it still wouldn't work in production
This clearly isn't a laravel-websockets issue though

running npm run watch is no good for production, in my case the issue was from my gitlab-ci, when running npm run prod make sure you have your .env file in place, otherwise assets will be built and env variables prefixed with MIX_ won't get included in them.

Thank you, had the same issue. I was running the npm run prod in my drone ci BEFORE I copied .env to the build dir.

I am also dealing with this issue, anyone found a fix?

if you're facing this error with vite in laravel 9 try to set up your bootstrap.js like below:
import Echo from 'laravel-echo';
import Pusher from 'pusher-js';
window.Pusher = Pusher;

window.Echo = new Echo({
    broadcaster: 'pusher',
    key: import.meta.env.VITE_PUSHER_APP_KEY,
    wsHost: import.meta.env.VITE_PUSHER_HOST ?? `ws-${import.meta.env.VITE_PUSHER_APP_CLUSTER}.pusher.com`,
    wsPort: import.meta.env.VITE_PUSHER_PORT ?? 80,
    wssPort: import.meta.env.VITE_PUSHER_PORT ?? 443,
    forceTLS: (import.meta.env.VITE_PUSHER_SCHEME ?? 'https') === 'https',
    enabledTransports: ['ws', 'wss'],
});

and in your app.blade.php (or wherever you're using Echo) You need to use the newer type of module instead.
<script type="module">

        Echo.channel('channel-name')
            .listen('EventName', (e) => {
                console.log(e.attribute);
            })
</script>


Migrate Asp.Net Core 2.2 Integration Tests to 3.0 - The TestServer constructor was not called with a IWebHostBuilder so IWebHost is not available.

We had basic Api integration tests setup as following. When trying to update to 3.0 I get the following error.
System.InvalidOperationException : The TestServer constructor was not called with a IWebHostBuilder so IWebHost is not available.
How to convert to support 3.0?
public class MainAPITests : BaseAPITests
{
	public MainAPITests(WebApplicationFactory<Startup> factory) : base(factory)
	{
	}

	// tests here
}

public class BaseAPITests : IClassFixture<WebApplicationFactory<Startup>>
{
	public HttpClient Client { get; }
	public TestServer Server { get; }

	public BaseAPITests(WebApplicationFactory<Startup> factory)
	{
		// ensure we use "Test" environment
		factory = factory.WithWebHostBuilder(builder => builder.UseStartup<Startup>().UseEnvironment("Test"));

		Client = factory.CreateDefaultClient();
		Server = factory.Server;

		// get context from startup where we check if test or not and use in memory
		var catalogDB = Server.Host.Services.GetService<CatalogDbContext>();

		// handle additional details
	}
}

@aherrick Thanks for contacting us.
Instead of doing factory.Server.Services you can simply do factory.Services. The error you are seeing is likely due to the move to generic host. The Services property will do the right thing.
If that doesn't work, let us know.

Thanks for your help! That got me over that hurdle.
Now I'm confused in a similar way with UI Tests.
I have updated my Web MVC project to have a Program such as this:
	public class Program
	{
		public static void Main(string[] args)
		{
			CreateHostBuilder(args).Build().Run();
		}

		public static IHostBuilder CreateHostBuilder(string[] args) =>
			Host.CreateDefaultBuilder(args)
				.ConfigureWebHostDefaults(webBuilder =>
				{
					webBuilder.UseStartup<Startup>();
				});
	}

I have Selenium style tests that are setup very similar to this:
https://www.hanselman.com/blog/RealBrowserIntegrationTestingWithSeleniumStandaloneChromeAndASPNETCore21.aspx
What I'm seeing is the protected override TestServer CreateServer(IWebHostBuilder builder) so I'm having hard time understanding what the migration might look like:
I've tried the following (slimmed down) but it doesn't get it. Thoughts on what I'm missing?
	public class SeleniumServerFactory<TStartup> : WebApplicationFactory<Startup>
		where TStartup : class
	{
		public IHost HostWeb { get; set; }

		public SeleniumServerFactory()
		{
			// build up selenium bits here
		}

                // never called but this is where i was previously building up the server
                //
		protected override TestServer CreateServer(IWebHostBuilder builder)
		{
			return base.CreateServer(builder);
		}

		protected override IHost CreateHost(IHostBuilder builder)
		{
			HostWeb = builder.Build();

			HostWeb.Start();

			return HostWeb;
		}

		protected override void ConfigureWebHost(IWebHostBuilder builder)
		{
			builder.ConfigureKestrel(options =>
				{
					options.Listen(IPAddress.Loopback, TestConstants.Port, listenOptions =>
					{
						listenOptions.UseHttps("pfx", "pass");
					});
				})
				.UseUrls(TestConstants.RootUrl)
				.UseEnvironment("Test");
		}
	}

This thread led me down a rabbit hole for 4 days.   This causes an issue where the resolver cannot resolve the appropriate service.  The only way I could fix it is to comment out the actual registration in Startup.cs.
System.InvalidOperationException : Cannot resolve scoped service 'ApplicationDbContext' from root provider.
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteValidator.ValidateResolution(Type serviceType, IServiceScope scope, IServiceScope rootScope)
   at Microsoft.Extensions.DependencyInjection.ServiceProvider.Microsoft.Extensions.DependencyInjection.ServiceLookup.IServiceProviderEngineCallback.OnResolve(Type serviceType, IServiceScope scope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngine.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope)
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.GetService(Type serviceType)
   at xxxxxxxxTest..ctor(CustomWebApplicationFactory`1 factory) in C:\Users\xxxxxxx\source\repos\Claim\xxxxxxxxxxTest.cs:line 21


Cannot click on the current refined values to remove numeric refinement

Way to reproduce:

launch dev env
use the slider or any numeric refinement
try to remove refinement with the top left widget (currentRefinedValues)
nothing happens

I believe this was already the case in pre-performance work

on it, my fault


SVG icons not working in iOS 11

The SVG icons in the buttons aren't showing up on iOS 11. The problem could come from using <use href instead of <use xlink:href.

Arf, you right, I maybe was a little bit too fast forward ^^'

Fixed in v2.16.0


Subject: updating cel-cpp version used

This is a prerequisite for porting envoy to c++17 as c++17
forbids the initialization of absl::string_view() with nullptr.
The most recent patch of cel-cpp master fixes an instance of this
issue.
Signed-off-by: Yifan Yang<EMAIL_ADDRESS>For an explanation of how to fill out the fields, please see the relevant section
in PULL_REQUESTS.md
Commit Message:
Additional Description:
Risk Level: Should be minimum as it just changes the version of an external dependency repo and all existing tests have been passed.
Testing: No new test should be needed.
Docs Changes:
Release Notes:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Deprecated:]

I have accidentally force pushed the commit with the change on the comment. Is this acceptable? Or should I submit a new one altogether.

I have accidentally force pushed the commit with the change on the comment. Is this acceptable? Or should I submit a new one altogether.

No need for a new one.


Invalidate applied classes on tag change

I found minor issue with custom style classes.
Here is steps to reproduce:

navigate to http://getcontenttools.com/demo
switch to edit mode
select paragraph
apply custom style to this paragraph (Definition or Note)
select paragraph text and switch text tag for header (h1 or h2)
definition and note tags will be applied to h1

Hi @andreygolovin - thanks for the detailed report, I'll look to patch this today.


Clipboard support

Hi, is it possible to write a worksheet or cell area to clipboard in a format that can be then pasted into excel?

No, this is not supported. Instead, you can open a Excel template with NPOI directly.


Resulting .mp4 or .webm (smaller dimensions) larger file size than original .mp4

Q
A

Bug?
no

New Feature?
no

Version Used

FFmpeg Version
FFmpeg or AVConv and version

OS
Windows 8.1

PHP 7.3.5 (cli) (built: May  1 2019

ffmpeg version N-93828-g68bac50604 Copyright (c) 2000-2019

php-ffmpeg/php-ffmpeg via composer recently

Actual Behavior
Resulting .mp4 (although smaller dimensions 320 x 180) is a larger file size, than original .mp4 (640 x 360)
Expected Behavior
smaller file size
Steps to Reproduce
 $ffmpeg_mp4 = FFMpeg\FFMpeg::create(
array(
     'timeout' => 3600, // The timeout for the underlying process
    'ffmpeg.threads' => 12,   // The number of threads that FFMpeg should use
));

        $video = $ffmpeg_mp4->open( $path . "/" . $file);
        $video
            ->filters()
            ->resize(new FFMpeg\Coordinate\Dimension(320, 180))
            ->synchronize();

          $format=new \FFMpeg\Format\Video\X264('libmp3lame', 'libx264');

          $format->setAdditionalParameters(array('-acodec', 'mp3'));

        // Was all previously as part of ->save()  just:   new FFMpeg\Format\Video\X264()

          $video
           ->save($format, $small_mp4_file_path . ".mp4")
      //    ->save(new FFMpeg\Format\Video\WMV(), $small_mp4_file_path . ".wmv")
       //  ->save(new FFMpeg\Format\Video\WebM(), $small_mp4_file_path . ".webm")
    //      ->save(new FFMpeg\Format\Video\Ogg(), $small_mp4_file_path . ".ogg")
              ;
      }

Possible Solutions
Is libmp3lame already doing the job of   $format->setAdditionalParameters(array('-acodec', 'mp3'));  ?
What else do I need please?

Still working on this, apparently 2 pass is reccomended for X264
For any one else looking, here are a couple of very good outline of ffmpeg and X264
StackEx: how-can-i-reduce-a-videos-size-with-ffmpeg
Mr.W - now on Internet archive: ffmpeg-and-x264-encoding-guide

Very happy to see your results. :)

Bitrate is also responsible for this. Usually i give the same bitrate to the new video than the old one. Then the filesize is pretty much the same


Remove redundant code endpoint

The /oauth/authorize/:code or PhoenixOauth2Provider.AuthorizationController.show seems to have no real use since it just echoes the path param back to the user.

I see it's used in some tests and some code. I will close this for now.


Guacamole monitor hides the ips dropdown in Sunstone

Description
The remote connections monitor hides the VM IPs.
To Reproduce
VM with multiple IPs, then connect with Guacamole.
Details

Affected Component: Sunstone
Hypervisor: [e.g. KVM]
Version: 6.0

Additional context

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

PRs to merge:

one: OpenNebula/one-ee/pull/1104
doc: OpenNebula/docs/pull/1782


Pandas gzip export not supported as source file

I've created a source file for a dataset by exporting a pandas DataFrame:
data.to_csv('../data/processed/vissen-natuurpunt-occurrences.tsv.zip', sep='\t', index=False, compression='gzip')

pandas.DataFrame.to_csv supports gzip, bz2 or xz, see http://pandas.pydata.org/pandas-docs/stable/generated/pandas.DataFrame.to_csv.html
However, if I upload this file as a source file in the IPT, I get the error:

Unsupported compression format. Please use zip, gzip, or plain text files.

Any idea why the pandas gzip is not supported?
The file I used is: vissen-natuurpunt-occurrences.tsv.zip
/cc @stijnvanhoey

Could it be possible that the IPT does not like to work with filename.tsv.zip? Maybe try filename.zip

Good suggestion, but I get the same error for:

Manually changing to extension to filename.zip
Exporting in pandas as filename.zip
Exporting in pandas as filename.txt.zip

The only method that works is unzipping the export locally and zipping it again (with Mac OS X default compress functionality). That file is recognized and unpacked by the IPT. So pandas gzip must be something different?

Can you check the pure python zip package? https://docs.python.org/3.5/library/gzip.html

Nope, that didn't help either...

I've experienced similar, but out the other end - Windows machines unable to decompress DwC-A from the IPT. I suspect in this case, the older version of Java used in the IPT is the root cause.


Update compliance-manager-templates-list.md

Made changes to the hyperlink and text
fixes#https://github.com/MicrosoftDocs/microsoft-365-docs/issues/10836

@JohanFreelancer9 Please copy review

Need to confer with the PM on this.

These updated names don't match what's in the UI for the templates. I confirmed with the PM today that we should leave the names as-is, not make these changes.


[feat]: Backend functionality for NFT pagination

[x] issue #91
[x] follows contribution guide

Added pagination to getNFTs and getMyNFTs endpoints, allowing page and pageLength query parameters with a default of 25 and a maximum of 50.

Yes. I will love to do it @b-j-roberts

Yes. I will love to do it @b-j-roberts. I will create a separate pr for that.

Awesome. @Xaxxoo had the query mostly set up in his PR. I'm not certain if there are issues that need to be debugged.
	query := `
		SELECT
			nfts.*,
			COALESCE(like_count, 0) AS like_count
		FROM
			nfts
		LEFT JOIN (
			SELECT
				nftKey,
				COUNT(*) AS like_count
			FROM
				nftlikes
			GROUP BY
				nftKey
		) likes ON nfts.token_id = likes.nftKey
		LIMIT $1 OFFSET $2
		`
		```

Their PR is here https://github.com/keep-starknet-strange/art-peace/pull/122/files#


ModuleNotFoundError: No module named 'datadog_api_client.v1.model.point'

Hi team,
We started to have this error this morning when installing the datadog_api_client and trying to import it from datadog_api_client.v1.model.point import Point
Looking on the docs, I didnt find it. Was it deprecated?
Thanks!

This is because of the changes in https://github.com/DataDog/datadog-api-client-python/pull/1431, so I guess it would be a duplicate of #1496.

I am also able to confirm this issue. It seems like the new changes from 2.12.0 -> 2.13.0 do include breaking changes.

You're right, it should have been. We'll add a compatibility layer and make a point release.

We have merged a fix and released v2.13.1 of the client. I am going to go ahead and close this issue but feel free to re-open if the issue persists with the latest update. Thanks!

Thank you people!


is it webscale?

It is unclear if git-blame-someone-else is web-scale or not. Please clarify. Thanks

+1

If it is, we can ask GitHub to wrap it behind a REST API.

+1


Not an issue but big thanks.

Hi, I was trying to do similar when I found .Net and Go support. But couldn't do it due to time constraint. But you created. And I was more than happy to delete my repo.
thanks for whoever is working on this Repo. I will be soon love to take it for a spin. I have quite a big workspace for client project.
Thanks again. And you can close the issue if you like. :)

You're very welcome, happy it's helpful! :)


vcpkg install json-c build failure

Operating system
Windows
Compiler
MSVC
Steps to reproduce the behavior
vcpkg install json-c (jsoncpp, otheers like this)

Failure logs
[1/2] "C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" -E chdir ".." "C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" "C:/vcpkgsrc/vcpkg/buildtrees/json-c/src/a22988fb34-2c10eba8ac.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/vcpkgsrc/vcpkg/packages/json-c_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DBUILD_TESTING=OFF" "-DBUILD_STATIC_LIBS=0" "-DBUILD_SHARED_LIBS=1" "-DCMAKE_MAKE_PROGRAM=D:/visualStudio/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkgsrc/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkgsrc/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkgsrc/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkgsrc/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../CMakeCache.txt
"C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" -E chdir ".." "C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" "C:/vcpkgsrc/vcpkg/buildtrees/json-c/src/a22988fb34-2c10eba8ac.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/vcpkgsrc/vcpkg/packages/json-c_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DBUILD_TESTING=OFF" "-DBUILD_STATIC_LIBS=0" "-DBUILD_SHARED_LIBS=1" "-DCMAKE_MAKE_PROGRAM=D:/visualStudio/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkgsrc/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkgsrc/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkgsrc/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkgsrc/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- The C compiler identification is MSVC 19.40.33811.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: D:/visualStudio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: D:/visualStudio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe - broken
CMake Error at C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
Additional context
I have already installed the following requirements:
Visual Studio Desktop development with C++.
Windows 10 SDK or Windows 11 SDK.
and when I tested the hello world demo using cmake, there was no problem. This is the successful output of my hello world. success log:
PS C:\vcpkgsrc\test\build> cmake ..
-- Building for: Visual Studio 17 2022
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.
Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.
-- Selecting Windows SDK version 10.0.22621.0 to target Windows 10.0.19045.
-- The C compiler identification is MSVC 19.32.31342.0
-- The CXX compiler identification is MSVC 19.32.31342.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: D:/visualStudio/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: D:/visualStudio/VC/Tools/MSVC/14.32.31326/bin/HostX64/x64/cl.exe - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done (10.8s)
-- Generating done (0.0s)
-- Build files have been written to: C:/vcpkgsrc/test/build
What should I do to fix vcpkg install error?Thanks for your help!

PS C:\vcpkgsrc\test\build> vcpkg install json-c
warning: The vcpkg C:\vcpkgsrc\vcpkg\vcpkg.exe is using detected vcpkg root C:\vcpkgsrc\vcpkg and ignoring mismatched VCPKG_ROOT environment value D:\visualStudio\VC\vcpkg. To suppress this message, unset the environment variable or use the --vcpkg-root command line switch.
Computing installation plan...
warning: vcpkg appears to be in a Visual Studio prompt targeting x86 but installing for x64-windows. Consider using --triplet x86-windows or --triplet x86-uwp.
The following packages will be built and installed:
json-c:x64-windows@2023-08-12
Detecting compiler hash for triplet x64-windows...
Compiler found: D:/visualStudio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe
Restored 0 package(s) from C:\Users\wangjie\AppData\Local\vcpkg\archives in 161 us. Use --debug to see more details.
Installing 1/1<EMAIL_ADDRESS>Building<EMAIL_ADDRESS>-- Using cached json-c-json-c-b4c371fa0cbc4dcbaccc359ce9e957a22988fb34.tar.gz.
-- Cleaning sources at C:/vcpkgsrc/vcpkg/buildtrees/json-c/src/a22988fb34-2c10eba8ac.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source C:/vcpkgsrc/vcpkg/downloads/json-c-json-c-b4c371fa0cbc4dcbaccc359ce9e957a22988fb34.tar.gz
-- Applying patch pkgconfig.patch
-- Applying patch fix-clang-cl.patch
-- Using source at C:/vcpkgsrc/vcpkg/buildtrees/json-c/src/a22988fb34-2c10eba8ac.clean
-- Found external ninja('1.11.0').
-- Configuring x64-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:112 (message):
Command failed: D:/visualStudio/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe -v
Working Directory: C:/vcpkgsrc/vcpkg/buildtrees/json-c/x64-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
C:\vcpkgsrc\vcpkg\buildtrees\json-c\config-x64-windows-dbg-CMakeCache.txt.log
C:\vcpkgsrc\vcpkg\buildtrees\json-c\config-x64-windows-rel-CMakeCache.txt.log
C:\vcpkgsrc\vcpkg\buildtrees\json-c\config-x64-windows-out.log
Call Stack (most recent call first):
installed/x64-windows/share/vcpkg-cmake/vcpkg_cmake_configure.cmake:261 (vcpkg_execute_required_process)
ports/json-c/portfile.cmake:14 (vcpkg_cmake_configure)
scripts/ports.cmake:175 (include)
error: building json-c:x64-windows failed with: BUILD_FAILED
Elapsed time to handle json-c:x64-windows: 2.2 s
read_contents("b#erlE-SafeNetLOCK"): invalid argument

os Windows 10 x64
SDK:

Please provide the error log.
C:\vcpkgsrc\vcpkg\buildtrees\json-c\config-x64-windows-out.log

Failure logs is the C:\vcpkgsrc\vcpkg\buildtrees\json-c\config-x64-windows-out.log  Thanks！

This is the error log for installing zlib, which is the same as json-c：
[1/2] "C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" -E chdir ".." "C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" "C:/vcpkgsrc/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/vcpkgsrc/vcpkg/packages/zlib_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DSKIP_INSTALL_FILES=ON" "-DZLIB_BUILD_EXAMPLES=OFF" "-DCMAKE_MAKE_PROGRAM=D:/visualStudio/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkgsrc/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkgsrc/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkgsrc/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkgsrc/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
FAILED: ../CMakeCache.txt
"C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" -E chdir ".." "C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" "C:/vcpkgsrc/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=C:/vcpkgsrc/vcpkg/packages/zlib_x64-windows" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DSKIP_INSTALL_FILES=ON" "-DZLIB_BUILD_EXAMPLES=OFF" "-DCMAKE_MAKE_PROGRAM=D:/visualStudio/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkgsrc/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkgsrc/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkgsrc/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkgsrc/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF"
-- The C compiler identification is MSVC 19.40.33811.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: D:/visualStudio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: D:/visualStudio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe - broken
CMake Error at C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"D:/visualStudio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe"

is not able to compile a simple test program.
It fails with the following output:
Change Dir: 'C:/vcpkgsrc/vcpkg/buildtrees/zlib/x64-windows-rel/CMakeFiles/CMakeScratch/TryCompile-mat5v0'

Run Build Command(s): D:/visualStudio/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe -v cmTC_28788
[1/2] D:\visualStudio\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64\cl.exe  /nologo   /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP   /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\cmTC_28788.dir\testCCompiler.c.obj /FdCMakeFiles\cmTC_28788.dir\ /FS -c C:\vcpkgsrc\vcpkg\buildtrees\zlib\x64-windows-rel\CMakeFiles\CMakeScratch\TryCompile-mat5v0\testCCompiler.c
[2/2] C:\WINDOWS\system32\cmd.exe /C "cd . && C:\vcpkgsrc\vcpkg\downloads\tools\cmake-3.29.2-windows\cmake-3.29.2-windows-i386\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_28788.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- D:\visualStudio\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_28788.dir\testCCompiler.c.obj  /out:cmTC_28788.exe /implib:cmTC_28788.lib /pdb:cmTC_28788.pdb /version:0.0 /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
FAILED: cmTC_28788.exe
C:\WINDOWS\system32\cmd.exe /C "cd . && C:\vcpkgsrc\vcpkg\downloads\tools\cmake-3.29.2-windows\cmake-3.29.2-windows-i386\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_28788.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- D:\visualStudio\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_28788.dir\testCCompiler.c.obj  /out:cmTC_28788.exe /implib:cmTC_28788.lib /pdb:cmTC_28788.pdb /version:0.0 /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
RC Pass 1: command "rc /fo CMakeFiles\cmTC_28788.dir/manifest.res CMakeFiles\cmTC_28788.dir/manifest.rc" failed (exit code 0) with the following output:
no such file or directory
ninja: build stopped: subcommand failed.

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (project)
-- Configuring incomplete, errors occurred!
[2/2] "C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" "C:/vcpkgsrc/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/vcpkgsrc/vcpkg/packages/zlib_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DSKIP_INSTALL_FILES=ON" "-DZLIB_BUILD_EXAMPLES=OFF" "-DCMAKE_MAKE_PROGRAM=D:/visualStudio/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkgsrc/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkgsrc/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkgsrc/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkgsrc/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DSKIP_INSTALL_HEADERS=ON"
FAILED: ../../x64-windows-dbg/CMakeCache.txt
"C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" -E chdir "../../x64-windows-dbg" "C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/bin/cmake.exe" "C:/vcpkgsrc/vcpkg/buildtrees/zlib/src/v1.3.1-2e5db616bf.clean" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=C:/vcpkgsrc/vcpkg/packages/zlib_x64-windows/debug" "-DFETCHCONTENT_FULLY_DISCONNECTED=ON" "-DSKIP_INSTALL_FILES=ON" "-DZLIB_BUILD_EXAMPLES=OFF" "-DCMAKE_MAKE_PROGRAM=D:/visualStudio/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=C:/vcpkgsrc/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x64-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v143" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=C:/vcpkgsrc/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x64" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=C:/vcpkgsrc/vcpkg" "-D_VCPKG_INSTALLED_DIR=C:/vcpkgsrc/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-DSKIP_INSTALL_HEADERS=ON"
-- The C compiler identification is MSVC 19.40.33811.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: D:/visualStudio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe
-- Check for working C compiler: D:/visualStudio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe - broken
CMake Error at C:/vcpkgsrc/vcpkg/downloads/tools/cmake-3.29.2-windows/cmake-3.29.2-windows-i386/share/cmake-3.29/Modules/CMakeTestCCompiler.cmake:67 (message):
The C compiler
"D:/visualStudio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe"

is not able to compile a simple test program.
It fails with the following output:
Change Dir: 'C:/vcpkgsrc/vcpkg/buildtrees/zlib/x64-windows-dbg/CMakeFiles/CMakeScratch/TryCompile-r28ui7'

Run Build Command(s): D:/visualStudio/Common7/IDE/CommonExtensions/Microsoft/CMake/Ninja/ninja.exe -v cmTC_e56b9
[1/2] D:\visualStudio\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64\cl.exe  /nologo   /nologo /DWIN32 /D_WINDOWS /W3 /utf-8 /MP   /D_DEBUG /MDd /Z7 /Ob0 /Od /RTC1  -MDd /showIncludes /FoCMakeFiles\cmTC_e56b9.dir\testCCompiler.c.obj /FdCMakeFiles\cmTC_e56b9.dir\ /FS -c C:\vcpkgsrc\vcpkg\buildtrees\zlib\x64-windows-dbg\CMakeFiles\CMakeScratch\TryCompile-r28ui7\testCCompiler.c
[2/2] C:\WINDOWS\system32\cmd.exe /C "cd . && C:\vcpkgsrc\vcpkg\downloads\tools\cmake-3.29.2-windows\cmake-3.29.2-windows-i386\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_e56b9.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- D:\visualStudio\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_e56b9.dir\testCCompiler.c.obj  /out:cmTC_e56b9.exe /implib:cmTC_e56b9.lib /pdb:cmTC_e56b9.pdb /version:0.0 /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
FAILED: cmTC_e56b9.exe
C:\WINDOWS\system32\cmd.exe /C "cd . && C:\vcpkgsrc\vcpkg\downloads\tools\cmake-3.29.2-windows\cmake-3.29.2-windows-i386\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_e56b9.dir --rc=rc --mt=CMAKE_MT-NOTFOUND --manifests  -- D:\visualStudio\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64\link.exe /nologo CMakeFiles\cmTC_e56b9.dir\testCCompiler.c.obj  /out:cmTC_e56b9.exe /implib:cmTC_e56b9.lib /pdb:cmTC_e56b9.pdb /version:0.0 /machine:x64  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."

RC Pass 1: command "rc /fo CMakeFiles\cmTC_e56b9.dir/manifest.res CMakeFiles\cmTC_e56b9.dir/manifest.rc" failed (exit code 0) with the following output:

no such file or directory

ninja: build stopped: subcommand failed.

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:4 (project)
-- Configuring incomplete, errors occurred!
ninja: build stopped: subcommand failed.

Please install the English language pack in VS.

Please install the English language pack in VS.

Already install...

Please install the English language pack in VS.

Already install...

Please install the English language pack in VS.

Installed but still reporting the same error, how should I configure it? Is there anything I need to pay attention to when using the terminal

This error typically occurs when CMake attempts to compile a simple test program to verify that the compiler is working correctly. The solution varies depending on the situation. Here are some possible steps:

Run as Administrator: Make sure you run CMake with administrator privileges. Sometimes, permission issues can prevent the compiler from working properly.

Check Compiler Path: Confirm that CMake is using the correct compiler path. The path you provided is D:/visualStudio/VC/Tools/MSVC/14.40.33807/bin/Hostx64/x64/cl.exe. Ensure that this is a valid compiler path.

Verify Compiler Configuration: If you're using the Visual Studio compiler, try the following steps:

Locate cl.exe in the Visual Studio installation directory.
Right-click on cl.exe and select "Properties."
In the "Compatibility" tab, check "Run this program as an administrator."
Re-run CMake.

Check Environment Variables: Ensure that the system's environment variables include the correct compiler path. If not, add the compiler path to the PATH environment variable.

Run as Administrator: Make sure you run CMake with administrator privileges. Sometimes, permission issues can prevent the compiler from working properly.

AFAICT "sometimes running as Administrator" is a cause for things not working properly, not the solution. Because it can create permissions which exclude non-privileged users.

 --mt=CMAKE_MT-NOTFOUND --manifests

Is mt something which is needed at this point?

And it is not related to json-c, so the title was edited unnecessarily...

Run as Administrator: Make sure you run CMake with administrator privileges. Sometimes, permission issues can prevent the compiler from working properly.

AFAICT "sometimes running as Administrator" is a cause for things not working properly, not the solution. Because it can create permissions which exclude non-privileged users.

 --mt=CMAKE_MT-NOTFOUND --manifests

Is mt something which is needed at this point?

I tried the above steps, but still couldn't work. I have rebuilt a compilation and running environment on the virtual machine, and there are no errors now. Please close it. Thanks！

This shouldn't be closed.  I have been fighting this for 4 days.  I have found others with the same issue all over the place.  Zero solutions.

Thanks for posting this issue. Please reopen this issue if this is still a problem for you.


Poonam1607 patch 2

Is there any issue with the code?

It seems that while you attempted to merge your changes, an error occurred, causing the page to become disordered. If you are still interested in contributing, please ensure that you have the latest version of the index.html file as some people have added their exercises. It appears that you mistakenly added your code where someone else had already added theirs. To fix this, please move your exercise to the line after the last exercise (Glute Bridge), which should be line 125. After making these changes, please create a new pull request and request for it to be merged into the main branch.


PLS ADD BOTS(minion)PLSSSS

yes  :/ we want minions

yea:/

i have minions on MultiOgar....

how ?

code ur self.

NO BODY NEEDS MINIONS ON MULTIOGAR, OKAY? NOR WILL BARBOSIK ADD IT. SO BEGGING IN ISSUES IS USELESS.

is with agar-api

If you guys really one, fork this project and code bots/minions into it.  Minions will never be coded into this project.  Here's a list made to show you the number of issues of the same kind were created:
#346 #167 #126 #103 #95
All these, including this one, are duplicates of issue #56.

No minions please, the code is clean and MultiOgar is perfect as it is. You want minions then use OgarUL Ogar Unlimited but enjoy the lag with only 10 players.

@Jhair2015 Can u give me the code of minions plz i want that!

Megabyte918 added bots to MultiOgar if you want to try it out. https://github.com/Megabyte918/MultiOgar-Edited


Getting last screenshot made by Selenide in simple way

Might be this issue is similar to #226
If in test it is used allure reports, it will be helpful to get screenshot, which is made by Selenide.
In class ScreenShotLaboratory there is protected field allScreenshots, which contains all screenshots of test.
It would be helpful to get last screenshot from this list in simple way.
Moreover, it would be helpful to get whole this list (allScreenshots).

@juliaviluhina I have added method Screenshots.getLastScreenshot() that returns a File with screenshot. Does it solve your problem?

Thank you so much )
Yes, my problem is solved by you.


Breaks git after running

After running synx, the .git folder seems to get destroyed. It is still there, but git does not recognize it as such.
I do not get any error messages during the run.
This is a rough distribution of our product, as seen in XCode:
touchapp/   (This is the project file)
    a.bundle
    b.bundle

    Localizable.strings/
        LanguageA.strings (Base)
        LanguageB.strings
        LanguageC.strings

    Images/
        (Just a bunch of images)

    touch/
        Images.xcassets (Launch images, application icons and whatnot)
        SomeGroupWithSomeCode/
            code.h
            code.m
            SubgroupWithSomeMoreCode/
                subcode.h
                subcode.m
        SomeGroupWithSomeMoreCode/
             morecode.h
             morecode.m

    Libraries/
        (A number of git submodules, but also some none libraries and some other external code files)
        (Some have their own .xcodeproj, some have subprojects of their own as well)
    Frameworks/
    Products/

This is roughly how it is reflected in filesystem:
touchapp/
    .git/
    .gitignore
    .gitmodules
    touch.xcodeproj/
    touch/
        LibraryA/
            LibraryA.xcodeproj/
            somecodefromlibrary.h
            somecodefromlibrary.m
        LibraryB/
            (Basically the same as Library A)
        LibraryC/
            libraryheaders.h
            somecode.c
        LanguageA.lproj/
            Localizable.strings
        LanguageB.lproj/
            Localizable.strings
        LanguageC.lproj/
            Localizable.strings
    Images/
    Inline Icons/
    CodeFromExternalParty/
        somecode.h
        somecode.m
    Animation/
    image1.png
    image2.png (and so on for about 50 times)

After running synx, the .git folder seems to get destroyed. It is still there, but git does not recognize it as such.

What does this mean exactly? What makes it seem like it was destroyed? What is not working?

The folder is still there, but git does not recognize it as a repository.
Steps taken:
synx /Users/mark/touch/touch.xcodeproj

Wait for it to finish..
Finishes without any errors.
Afterwards, check git status:
fatal: Not a git repository (or any of the parent directories): .git

That's weird... does it look like anything is missing from .git?

Yes, some things are definitely missing.
A diff -r touch/.git backupSynxedGit shows this:
Only in touch/.git: FETCH_HEAD
Only in touch/.git: HEAD
Only in touch/.git: config
Only in touch/.git: index
Only in touch/.git/logs: HEAD

and a whole lot more such as the contents of .git/modules.
I also spotted this in the output of synx:
Syncing files that are not included in Xcode project..
  Localizable.strings/
    .git
      COMMIT_EDITMSG
      config
      FETCH_HEAD
      HEAD
      index
      logs
        HEAD
        refs
          heads
            develop
            feature
              -featurenameredacted-
              -featurenameredacted-
            hotfix
              2.5.5
            master
          remotes
            origin
              feature
                -featurenameredacted-
                -featurenameredacted-
              HEAD
              hotfix
                2.5.5
      modules
        touch

And basically the entire contents of .git.
Why is it putting it as if it's 'under' Localizable.strings? It is most surely not located there.

Why not just completely ignore any directory called .git and any file called .gitmodules or .gitignore? I can't think of any circumstance where you would want to change the location of those.

Synx creates another directory in a temporary location on your computer, builds the synced up version of your project there, and then moves it over to replace the original. So, because it works this way, synx can't just ignore things like .git -- it needs to bring them over to the synced up version.
I've never heard of this issue before, so I'm assuming that there is something unique with the way your project is setup. Mostly people's .git directory lives alongside their project directory. IE,
└── YourClonedRepo
    ├── .git
    ├── YourProject

It seems like yours is more like
└── YourProject
    ├── .git

which is why Synx needs to tamper with the .git directory.
As far as why it's not moving your .git directory correctly, I'm not sure. It doesn't seem like it should be treating it any differently than any other directory. It's hard to diagnose without having the project.

For a number of reasons I can't show you the project, and absolutely under no circumstance share the files themselves.
What would you need to try and figure out what's going on?

@Mark2xv Would you be able to create a similar project which can be used to reproduce the issues? Steps to reproduce, or an example project you can run with Slather to reproduce would help figuring out the problem.

what @kylef said

Alright, I'll see if I can recreate the same scenario.

@Mark2xv any luck?

Haven't really had the chance to investigate/reproduce this issue as of yet. I'll try to do so this weekend.

Having a really hard time figuring out what is the cause of this is...
None of my reproduction cases seem to have any effect.
On a sidenote:
I noticed that in another issue (#65) that the -e option does not do what I thought it does. Not that it has/had any effect though, including exclusion options or not, it still seems to delete roughly 2/3rds of my folders contents. (Goes from 550MB to 200MB).
Is there no way of making sure it absolutely ignores any folder that is a submodule? So that it completely copies it over, exactly as it was, to the newly synced folder?

I have the same issue. I'm still trying to figure this one out and came here to see if anybody as the same problem.

I haven't had much time lately to try and figure out what's causing all of this.
Unfortunately, I can not give any more information regarding our project structure either...
I really hope this issue will get solved as this would save a lot of time!

Managed to get this to reproduce reliably, after a particularly terrifying afternoon.
Works with XCode Version 7.2 (7C68)

Create a new project (I used the template for iOS Single View Application)
Make it into a git repo
Create a storyboard file in the project
Remove the storyboard file reference from XCode
Move the storyboard file into a subfolder at the same level as the .xcodeproj (the name does not appear to matter. I got this bug because I had a storyboard in a "Base.lproj" folder but the bug can be reproduced with a name like "Potato" as well
Drag the storyboard file back into XCode, and don't copy it
git status --> A-OK 👌
synx projectname.xcodeproj
git status --> EVERYTHING BURNS 🌏🔥🔥🔥🔥🔥🔥💀💀💀💀💀💀

@nunogoncalves @Mark2xv I guess it's been a long time since you guys have had this problem, but just FYI it seemed to work for me after this: I moved the offending files out of the project structure, removed references in XCode, then dragged them into the project and let xcode put them wherever it wants.

Thanks for the info @jonzhan . On a company project I was doing also had translations (therefor the Base.lproj folder).  In that project I always remove the .git files before I run synx. This is dangerous because it's not automated, and I guess it's just a matter of time before I make a wrong copy paste and have to checkout the whole project all over again :)

I am facing the same problem.
I tried the code of https://github.com/venmo/synx/pull/104 but I couldn't resolve the problem.

Any news on this? I'm having the same problem

Is this project still maintained? This is still an issue.

Burned up my .git directory as well 👎  In the log I can definitely see synx handling .git/ folder. Why on earth should it do that? I think all hidden directories (aka, starts with a .) should be ignored.

Since I don't know Ruby, I opted to fix these issues using a shell script. You can grab a copy here:
https://gist.github.com/noordawod/ea1a5fc1fb5654fcba509f6e5862a4eb


[WIP][SPARK-27495][Core][YARN][k8s] Stage Level Scheduling code for reference

What changes were proposed in this pull request?

This is all the code for stage level scheduling feature - except for documentation.
This is meant to be for a reference when reviewing as I'm splitting this into mulitple prs with the intention its easier to review.  Note that only YARN currently supports this and it requires dynamic allocation to be enabled because currently we get new executors that match the profile exactly. We do not try to fit tasks into executors that were acquired for a different profile.
At a high level in order to support having different stages with different ResourceProfiles the changes required include:

Add a ResourceProfileManager that tracks the profiles and is used to map a Resource Profile Id to the actual Resource Profile. This allows us to pass around and store the id rather then the entire profile.
Introduce the concept of a default profile. This is essentially the profile you get today without stage level scheduling from the application level configs.
ImmutableResourceProfile - this is the actual resource profile used internally to Spark that is immutable. This is to allow the user to create and change a ResourceProfile in their code but as soon as they associated the profile with an RDD then spark internally uses the Immutable version so that it doesn't change.
YARN cluster manager updated to handle the profiles and request the correct containers from YARN.  I had to introduce using priorities here because YARN doesn't allow you to create containers with different resources within the same priority.  Now we have the priority = ResourceProfile Id and its easy to match the container we get from Yarn to what ResourceProfile we requested it for.
ExecutorAllocationManager, ExecutorMonitor, CoarseGrainedExecutorBackend - Updated to handle tracking the executors per ResourceProfile.
Scheduler - updated to handle the ResourceProfile associated with an RDD. It creates the Stage with the appropriate ResourceProfile. It has logic for handling conflicting ResourceProfiles when multiple RDD are put into the same stage that have different ResourceProfiles. The default behavior is to throw an exception, but there is a config that will allow the scheduler to merge the profiles using the max value of each resource.  The task scheduler was updated to make sure the resources of each executor meet the task resources for that profile and to assign them out properly.
I updated all the locations that used the hardcoded task cpus or other global configs to use the ResourceProfile based configs.
RDD api added and ResourceProfile, ExecutorResourceRequests, and TaskResourceRequests made public.

End user api looks like this:
val rpBuilder = new ResourceProfileBuilder()
val ereq = new ExecutorResourceRequests()
val treq = new TaskResourceRequests()
ereq.cores(2).memory("6g").memoryOverhead("2g").pysparkMemory("2g").resource("gpu", 2, "/home/tgraves/getGpus")
treq.cpus(2).resource("gpu", 2)
val resourceProfile = rpBuilder.require(ereq).require(treq).build
val rdd = sc.parallelize(1 to 1000, 6).withResources(resourceProfile).map(x => (x, x))
Why are the changes needed?

Allow for different stages to use different executor/task resources
Does this PR introduce any user-facing change?

Yes the RDD.withResources and ResourceProfile, ExecutorResourceRequest, TaskResourceRequest apis
How was this patch tested?

Unit tests and manually.

Test build #115967 has started for PR 27053 at commit 4587753.

Test build #115967 has finished for PR 27053 at commit 4587753.

This patch fails to build.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115967/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20759/

Test build #115968 has started for PR 27053 at commit 0097946.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20759/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20759/
Test FAILed.

Test build #115968 has finished for PR 27053 at commit 0097946.

This patch fails to generate documentation.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115968/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20760/

Test build #115970 has started for PR 27053 at commit e057bdb.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20760/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20760/
Test PASSed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20762/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20762/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20762/
Test FAILed.

Test build #115970 has finished for PR 27053 at commit e057bdb.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115970/
Test FAILed.

Test build #115992 has started for PR 27053 at commit 6df2ac4.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20784/
Test FAILed.

Test build #115992 has finished for PR 27053 at commit 6df2ac4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/115992/
Test PASSed.

Test build #116176 has started for PR 27053 at commit 20ba9de.

Test build #116176 has finished for PR 27053 at commit 20ba9de.

This patch fails Scala style tests.
This patch does not merge cleanly.
This patch adds no public classes.

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116176/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20969/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20969/

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20969/
Test PASSed.

I added in the pyspark support

Test build #116189 has started for PR 27053 at commit eece6ae.

Test build #116189 has finished for PR 27053 at commit eece6ae.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116189/
Test FAILed.

Test build #116190 has started for PR 27053 at commit 8edba2d.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116190/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20982/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20983/

Test build #116191 has started for PR 27053 at commit 47cd5a7.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20982/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20982/
Test FAILed.

Test build #116191 has finished for PR 27053 at commit 47cd5a7.

This patch fails MiMa tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116191/
Test FAILed.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20983/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20983/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20984/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/20984/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/20984/
Test FAILed.

Test build #116242 has started for PR 27053 at commit 15d6b5d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21033/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21033/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/21033/
Test FAILed.

Test build #116242 has finished for PR 27053 at commit 15d6b5d.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116242/
Test FAILed.

Test build #116262 has started for PR 27053 at commit eba244f.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21054/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21054/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/21054/
Test PASSed.

Test build #116262 has finished for PR 27053 at commit eba244f.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116262/
Test FAILed.

Test build #116316 has started for PR 27053 at commit 5f6c115.

Test build #116316 has finished for PR 27053 at commit 5f6c115.

This patch fails Python style tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116316/
Test FAILed.

Test build #116317 has started for PR 27053 at commit 04a63cd.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21108/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21109/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21108/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/21108/
Test FAILed.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21109/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/21109/
Test FAILed.

Test build #116317 has finished for PR 27053 at commit 04a63cd.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116317/
Test PASSed.

Note, I'm working on pulling in the changes made in the PR https://github.com/apache/spark/pull/26682, upmerging to master, and then I have the UI changes mostly implemented.

Test build #116559 has started for PR 27053 at commit 6011ec6.

Test build #116559 has finished for PR 27053 at commit 6011ec6.

This patch fails RAT tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116559/
Test FAILed.

Test build #116560 has started for PR 27053 at commit 7b10429.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21345/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21346/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21345/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/21345/
Test PASSed.

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21346/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/21346/
Test FAILed.

Test build #116560 has finished for PR 27053 at commit 7b10429.

This patch fails PySpark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116560/
Test FAILed.

Test build #116651 has started for PR 27053 at commit cacaa0a.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21430/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21430/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/21430/
Test FAILed.

Test build #116651 has finished for PR 27053 at commit cacaa0a.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116651/
Test FAILed.

Test build #116664 has started for PR 27053 at commit f99f1cf.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21443/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21443/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/21443/
Test FAILed.

Test build #116664 has finished for PR 27053 at commit f99f1cf.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/116664/
Test FAILed.

Test build #116728 has started for PR 27053 at commit 954ba00.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21503/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/21503/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/21503/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/24123/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/24123/

Build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/24123/
Test FAILed.


Requests are slowing down UI

User interface (UI) is very slow when data are fetched and processed. For example, open the sleepy.bike, go to "travel", and try to move the map while the accommodations are loading. It's going to be very slow, almost unresponsive.

Let's keep this open. While the #66 improved the situation somewhat, the map is still getting stuck on slower devices, especially phones. So we still have work to do on this one. 🙂

An index (#70) should fix it, or is there anything else that you think would need to be done here?

To be honest, the query system at the moment is very inefficient. It repeats a lot of work unnecessarily. We (or i) can improve that.

Thank you for the feedback! It's much appreciated. It shows main pain points for you and other users, and helps us prioritize what to do next. :pray:

in general the website seems not to be made with computation efficiency and technical barrier-freeness

Indeed, that's the next most important task to tackle. So far the challenge has been to just make it work. Now, with email notifications (hopefully) in place, we can move on to optimization and improving UX (user experience). It's still some way to go before sleepy.bike is pleasant to use.

Regarding the slowness, it's because we're fetching and processing linked data from many resources. We also do it in rather inefficient way (like repeating the already done processing unnecessarily many times), so there's plenty of room for improvement.


Fix pipeline update scripting

I am tearing my hair out trying to figure out what's going wrong here.
When I run the update script locally, everything works fine. When it
runs on Buildkite, I get an HTTP 422:
https://buildkite.com/iree/postsubmit/builds/420
In this particular case, it seems to beI don't see a lot of options other than testing in prod.

Oh this was an auth issue. The "get" request returned nothing because the agent wasn't
authorized and the pipeline wasn't public, and the create failed because the pipeline didn't exist. That's.... really annoying.  Back to draft while I fix this so that new pipelines are created with the right settings.


update nested array

if i have dataset like this
{
  "_id": "abcd1234",
  "name": "randomStuff",
  "list": [
    {
      "name": "the first element",
      "value": "1234"
    },
    {
      "name": "the second element",
      "value": "5678"
    }
  ]
}

I cannot update "the first element" directly.
For example
db.update({_id: 'abcd1234'}, {$pull: {'list.value': 1234}}, {}, (err) => {
  console.log(err);
});

is not possible. instead i have to query element first. to get
const find =   {
      "name": "the first element",
      "value": "1234"
    },

which is then used as object to remove.
db.update({_id: 'abcd1234'}, {$pull: {'list': find}}, {}, (err) => {
  console.log(err);
});

proposal
make update param to accept nested queries

I don't want to write a long answer explaining how I solved it, but take a look at my post here for how I solved it: https://github.com/louischatriot/nedb/issues/608


Label and Description missing for NumberField

Hello !
I found a bug with NumberField.
The label and the description should appear but nothing is displayed for NumberFields.
Here is my schema
export default config({
  storage: {
    kind: "local",
  },
  collections: {
    hotels: collection({
      schema: {
        slug: fields.slug({
          name: {
            label: "Name",
          },
        }),
        distance: fields.integer({
          label: "Distance",
          description: "Distance from the place in meters",
          validation: {
            min: 0,
            max: 10000,
          },
        }),
        ...

And the result:

I just pushed a fix for this, will be on npm with the next release in a day or two.
Thanks for reporting it!

Thank you boss ❤


install atom-beautiful throw Error

the Error message ：
Unable to download https://www.atom.io/api/packages/atom-beautify/versions/0.29.13/tarball: getaddrinfo ENOTFOUND www.atom.io www.atom.io:443
why？

Could you describe the steps you took so that we can reproduce the problem?

Facing the same problem, it comes whenever you try to update a package.

I recommend talking to the Atom team over at https://github.com/atom/atom or https://github.com/atom/apm or https://discuss.atom.io/


chore(ci): Use gotestsum for action test job

Overview
Uses gotestsum for action tests CI. This makes the stdout stream of the job much, much smaller, which should speed up the job in the happy path. If a test fails, gotestsum will print the verbose output of just the test(s) that fail.

📚 $\text{Stack Overview}$
Pulls submitted in this stack:

#751 👈
main

This comment was automatically generated by st.


Fix docs for ListItemPicker.onSelectedItems

Q
A

Bug fix?
[ ]

New feature?
[ ]

New sample?
[ ]

Related issues?
fixes #X, partially #Y, mentioned in #Z

What's in this Pull Request?
Fixed the documentation of ComboBoxListItemPicker and ListItemPicker.

Many thanks @gerkevgarderen , this is now merged