Unable to remove filesystem [...]/mqueue: device or resource busy

We have been trying to figure out some cases where users get this error message when using our product, weave, with Docker 1.9.  This is a repro without any weave containers - just alpine - so the steps may seem a little weird.
docker version:
Client:
 Version:      1.9.0
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   76d6bc9
 Built:        Tue Nov  3 17:43:42 UTC 2015
 OS/Arch:      linux/amd64

Server:
 Version:      1.9.0
 API version:  1.21
 Go version:   go1.4.2
 Git commit:   76d6bc9
 Built:        Tue Nov  3 17:43:42 UTC 2015
 OS/Arch:      linux/amd64

docker info:
Containers: 1
Images: 83
Server Version: 1.9.0
Storage Driver: overlay
 Backing Filesystem: extfs
Execution Driver: native-0.2
Logging Driver: json-file
Kernel Version: 3.19.0-28-generic
Operating System: Ubuntu 14.04.3 LTS
CPUs: 1
Total Memory: 3.614 GiB
Name: host5
ID: Y2J3:4YXQ:PJZB:SU2G:TVQG:WMS4:JOAS:OOC2:7RVB:ONPP:NR3Q:V3ZT
WARNING: No swap limit support

uname -a:
Linux host5 3.19.0-28-generic #30~14.04.1-Ubuntu SMP Tue Sep 1 09:32:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

Environment details: GCE VM
How reproducible: 100%
Steps to Reproduce:
$ docker run --name=c1 -v /var/lib/docker/containers:/var/lib/docker/containers -d alpine /bin/sh
e8f88525360b1b74d28326676e1ead149c5191f58800ab0f1e1860023fc8bd4d
$ docker run --name=c2 -td alpine /bin/sh
171ac63b59d57756a21d992ec705b96f4647d85ceaa57d155492be6a885dc437
$ docker cp c1:/etc/hosts /tmp/hosts
$ docker rm -f c2

Actual Results:
Error response from daemon: Unable to remove filesystem for 171ac63b59d57756a21d992ec705b96f4647d85ceaa57d155492be6a885dc437: remove /var/lib/docker/containers/171ac63b59d57756a21d992ec705b96f4647d85ceaa57d155492be6a885dc437/mqueue: device or resource busy
Error: failed to remove containers: [c2]

Expected Results:
c2

Additional info:
This repro is using overlayfs; we have seen the same message using aufs
Reference https://github.com/weaveworks/weave/issues/1647, https://github.com/weaveworks/weave/issues/1652

In 1.9, /dev/mqueue and /dev/shm are mounted into the container by docker.
I've not seen this error... is weave doing anything with --ipc=<container>?

No, nothing with --ipc; also note this repro is using nothing beyond Linux, Docker and the alpine image.
I checked the same steps with the aufs driver too since filing, on a freshly-created Ubuntu VM.  Same result.

I have looked at what Docker is doing using strace.  It seems that the cp mounts all volumes for the dead container c1, and the subsequent umount fails, which sets things up for the rm to fail.  But I can't see why.
Looking at the code, I'm a bit puzzled why there Docker doesn't unmount mqueue and shm under normal operation - are you relying on the mounts going away by themselves?  (They seem to, most of the time.)

Oh I see... I must have missed it in your original post... you are mounting /var/lib/docker/containers and then doing a cp, and that's causing the issue. hmmm...

One other thing that maybe isn't clear: we do the mount and the copy in one container, but the rm fails on the other container.
(OK, it fails on c1 too, but failing on c2 is the part that actually causes us trouble)

Right, because mqueue and shm are mounted in c1

I am not able to see the problem. Trying to create it with fedora image.
Anyway, so what's the issue. I thought we don't have to do unmounts while we are exiting the container. When mount namespace exits (last process exited), then all the reference to mounts
will be dropped in that namespace. So does that not apply to /dev/mqueue and /dev/shm mounts? I am assuming we are just bind mounting these inside containers. What am I missing?

It happens fully reliably on Ubuntu, e.g. stock 14.04 image on Azure is one I tried fresh.
The problem is that Docker gives a weird error removing c2, which did not bind-mount anything special.
Obviously this is triggered by the c1 bind-mount and docker cp, but I am unable to figure out the exact way it is connected.  Also c1 is dead at the point we do the docker cp.

Does it happen only with alpine image. Can you reproduce it with some standard image say busybox, fedora etc? Give me a test case where I can run it and test it and reproduce it. Then I can figure out what's wrong.

Yes, just replace alpine with busybox and the exact same thing happens.

A simpler repro case is:
$ mkdir -p test/test2
$ mkdir test2
$ sudo mount --bind test2 test/test2
$ docker run --name test -v $(pwd)/test:/test busybox touch /asdf
$ docker cp test:/asdf /tmp/
$ docker rm -f test
Error response from daemon: Driver aufs failed to remove root filesystem 0652b5addb93777426238acd4abbd70ae6c9ff0c05ca74712baf2514264774f1: rename /mnt/sda1/var/lib/docker/aufs/mnt/0652b5addb93777426238acd4abbd70ae6c9ff0c05ca74712baf2514264774f1 /mnt/sda1/var/lib/docker/aufs/mnt/0652b5addb93777426238acd4abbd70ae6c9ff0c05ca74712baf2514264774f1-removing: device or resource busy
Error: failed to remove containers: [test]

My first thought: on removal we check the mount table for anything nested under the container's mount dir and unmount that first.

@cpuguy83 I tried your test case with devicemapper graph drvier and I can't see the problem. I can remove container test after cp operation. So may be this is related to graph driver? I will try with overlay too.

@cpuguy83 I can see the problem with overlay driver. One thing I noticed that cp mounts container root and volumes in docker daemon namespace, creates a tar archive and then unmounts volumes and container rootfs. In this case, unmount of volume fails and hence container rootfs can't be unmounted and hence I think docker rm fails.
One thing interesting I noticed and that is by default we seem to be doing recursive binds rbind in mountVolumes while if one does -v src:dest, that volume mount is not rbind. I think it is plain bind. And I think that's the reason that unmountVolumes().
IOW, we bind mounted something using rbind in docker daemon namespace and then we tried to unmount top level mount and that fails because there is another mount underneath it.
Given we don't do rbind mounts in normal volumes, there is no reason to do same for archives. I guess simplest fix for this problem is to use bind instead of rbind in mountVolumes. I will try it.

@cpuguy83 @bboreham following patch seems to solve the issue for me with overlay. Can you please give it a try.
https://github.com/rhvgoyal/docker/commit/ff1d2c3ac99af92fe68f108fa8d4782097788c62

@cpuguy83 @bboreham ping

@rhvgoyal I think we still want rbind here.
We could make cp happen in a new mnt namespace?

@cpuguy83 yes, I realized that by default volumes are bind mounted using recursive flag. That means if any directory has submounts under it, those submounts will be visible inside container if top level directory is used as bind mounted volume.
https://github.com/docker/docker/blob/master/daemon/execdriver/native/create.go#L291
And that means we can't get rid of rbind. So in unmount volumes we will have to unmount these recursively. We can think of calling into umount directly and use option -R. umount -R. It seems to be doing the right thing.

@cpuguy83 I think making cp happen in a mnt namespace should work too. So when mount namespace exits, it will automatically cleanup all the mounts. Whatever is easier.


Quick question: retrieve model name from a WithModel CallOption

I am having a chain that receives a list of CallOption objects. For OpenAI models, one of them is created by WithModel("..."), that defines a model. Is there any way to extract the actual name of the model, so I can know which one will be called?

We don't currently expose a means of peeking at that currently. As the caller is providing it, there shouldn't be a barrier to knowing/recording which model is being used. Reopen this if you'd like but I don't think this needs to be an issue.


New style for check and radio buttons

Design issue: https://github.com/CartoDB/design/issues/472

Default and Disabled:

[ ] Remove inner icon

Hover and Focus:

[ ] Apply the border color to the icon

Selected stays the same

PR to review - https://github.com/CartoDB/CartoAssets/pull/157


Drag and drop only in current block (list)

Bug, feature request, or proposal:
Feature request / Question
What is the expected behavior?
Dragged element cant be dragged out of current list (block)
What is the current behavior?
Dragged element go over current list
What are the steps to reproduce?
example from material
and add cdkDragLockAxis="y"  to cdkDrag element
What is the use-case or motivation for changing an existing behavior?
So that the user understands that sorting is possible only in the current list.
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
Angular: 7.0
Material: 7.0
os: iOS Mojave
TypeScript: 3.1.3
browser: chrome
npm: 6.4.1
node: 10.2
Is there anything else we should know?
multiple drag elements - will be good

It seems like we should be able to do the same API as enterPredicate and have an exitPredicate.

This is possible now using the cdkDragBoundary input.


Update Excel.Name.RefersToLocal.md

The ReferstoLocal property has a bug. It returns a localized formula but writing a formula to the property requires a US formatted formula, using the English function names and separators.

Docs Build status updates of commit 1cf2f43:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

api/Excel.Name.RefersToLocal.md
:bulb:Suggestion
View
Details

api/Excel.Name.RefersToLocal.md

Line 2, Column 1: [Suggestion-description-missing] Missing required attribute: 'description'.

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Added command-line flags to run locally and updated README

I wanted to test several configurations locally before having to deploy them elsewhere quickly without changing up the environment variables everytime. It is a lot easier nowadays when Caddy or Cloudflare Tunnels.
Works on Windows as well.

sorry I have not seen this patch, my bad.
are you still interested in pursuing? if so I'm happy to review.


10022 port is not allowed to be used by embedded test execution server

Associated GitHub Community ticket: https://github.community/t/10022-port-is-not-allowed-to-be-used-by-embedded-test-execution-server/133903
The customer set 10022 port in their workflow to be used by embedded test execution server, but the 10022 port seems is not allowed. When they changed the port from 10022 to any others, the workflow can work.

Hi, @Ginxo @BrightRan
I tried to reproduce the problem with 10022 port with nginx container on 10022
docker run --name test-10022-nginx -d -p 10022:80 nginx:latest
curl http://localhost:10022

But everything work just fine, it seems that the problem is not about the port, but the connection to port on localhost.
We have seen similar problems here: flaky networking
Could you please try to disable hardware network offloading at the start of the build? For ubuntu the proper way is:
sudo ethtool -K eth0 tx off rx off
I hope it will help, please share with more details if any, thank you!

@Ginxo, @BrightRan
Could you please provide a feedback for the provided workaround?
Thank you!

Hi @LeonidLapshin @BrightRan
at the beginning we thought it was due to the environment (GA runner), and it was, but could check it was not only happening there. So we open a ticket https://issues.redhat.com/browse/JBPM-9402 in our side and after this PR https://github.com/kiegroup/droolsjbpm-integration/pull/2261/files the job is working https://github.com/kiegroup/droolsjbpm-integration/runs/1207831159
Sorry for wasting your time and many thanks for your support.


Unable to create database

Bug Description
I'm trying to figure out how to integrate a charm with mongodb-k8s, so I've modified an existing charm to do this, by following the documentation instructions on https://charmhub.io/data-platform-libs/libraries/database_requires. However, when I relate my charm to the mongodb-k8s charm, the database isn't created and so no DatabaseCreatedEvent is triggered and there's no connection information over the relation.
It's possible I'm doing something wrong in my charm implmentation. Any feedback on that appreciated.
To Reproduce

git clone -b mongodb-relation https://github.com/mthaddon/gunicorn-k8s-operator
cd gunicorn-k8s-operator
charmcraft pack
juju deploy gunicorn-k8s_ubuntu-20.04-amd64.charm --resource gunicorn-image='gunicorncharmers/gunicorn-app:edge'
git clone https://github.com/delgod/mongodb-k8s-operator
cd mongdb-k8s-operator
charmcraft pack
juju deploy ./mongodb-k8s_ubuntu-20.04-amd64.charm --resource mongodb-image=mongo:4.4
juju relate mongodb-k8s gunicorn-k8s
Wait for relation to settle
View juju debug-log as well as juju show-unit output, see that there's no database been created in mongodb microk8s kubectl exec -ti -n g-test -c mongod mongodb-k8s-0 -- /bin/bash; mongo; show dbs.

Environment
I'm using microk8s 1.25, juju 2.9.34
Relevant log output
Please see https://paste.ubuntu.com/p/hQYMvpnHV9/
Additional context
N/A

fixed in https://github.com/canonical/mongodb-operator/pull/89
NB: please use the following command to check if credentials work correctly
microk8s kubectl exec -n testing mongodb-k8s-0 -c mongod -it -- mongo "$(juju show-unit gunicorn-k8s/0 | grep uris | awk '{print$2}')" --eval 'db.inventory.insertOne({item: "canvas"}); db.adminCommand({listDatabases: 1})'

The reason behind: it is needed to push one document into the database before show dbs will show it.


Decoding with BitmapFactory.Option

How can I use your library to decode an image, using BitmapFactory.Option to set some properties such as inPurgeable, inInputShareable,...

The library isn't intended to decode images. Instead you provide it with the bitmap, do what you need from it, and then get the result later.
If you wish to have a library that can decode on JNI side, try this:
https://github.com/suckgamony/RapidDecoder/


[Not isseu] ListView inside expandeble button

Can you tell me example for this..
Put listview inside expandable button please

Hi for putting listview inside expandable button you can use https://github.com/paolorotolo/ExpandableHeightListView in place of list view.


FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\.neuralcoref_cache\neuralcoref\single_model

FileNotFoundError                         Traceback (most recent call last)
~\Anaconda3_2020\lib\site-packages\neuralcoref_init_.py in add_to_pipe(nlp, **kwargs)
34
35 def add_to_pipe(nlp, **kwargs):
---> 36     coref = NeuralCoref(nlp.vocab, **kwargs)
37     nlp.add_pipe(coref, name='neuralcoref')
38     return nlp
neuralcoref.pyx in neuralcoref.neuralcoref.NeuralCoref.init()
neuralcoref.pyx in neuralcoref.neuralcoref.NeuralCoref.from_disk()
~\Anaconda3_2020\lib\pathlib.py in open(self, mode, buffering, encoding, errors, newline)
1201             self._raise_closed()
1202         return io.open(self, mode, buffering, encoding, errors, newline,
-> 1203                        opener=self._opener)
1204
1205     def read_bytes(self):
~\Anaconda3_2020\lib\pathlib.py in _opener(self, name, flags, mode)
1056     def _opener(self, name, flags, mode=0o666):
1057         # A stub for the opener argument to built-in open()
-> 1058         return self._accessor.open(self, flags, mode)
1059
1060     def _raw_open(self, flags, mode=0o777):
FileNotFoundError: [Errno 2] No such file or directory: 'C:\Users\.neuralcoref_cache\neuralcoref\single_model'

please help. Error occurs while trying to run the neuralcoref 4.

Can you provide some more background, which code are you trying to execute? How did you install neuralcoref?

It occurs in nueralcoref.add_to_pipe(nlp). apparently turns out that there was no single model file in my .neuralcoref_cache.
I faced this issue while replicating a code which was already working on one workstation to another. i have fixed this by sharing the .neuralcoref_cache folder from the workstation where it works to the workstation where it doesn't.

although i would like you to get to the bottom of this. A similar issue was open and i could not find any solution hence i had to ask the question.

This type of issue is usually a problem with a local installation, as seems to be the case here as well. Unless you provide us with a path to try and replicate the issue, there's not much we can do. As this seems to be solved now on your end, I'll go ahead and close this. Thanks for reporting back!


remove assert on browserName

i prefer remove below statement in pix-diff's index.js, when testing with native mobile application.
        assert.ok(_.capabilities.browserName, 'Browser name is undefined.');

The tool is initially not build to test apps on mobile
What kind off app do you have, a native or a hybrid app?
What are the capabilities you at least use to test your app?

hi @wswebcreation, my app is built in hybrid and native, and run testing using Appium. if I set a value in browserName then the Appium will trigger the browser in the mobile device.

Just curious about the native part, does the app start with the native part and if so, how do you automate this with Protractor because it normally fails when starting a native app without a webview in the first screen.
To get back at your capabilities. What is the bare minimum capability that you need to provide to appium to open your app?
If there is one, can we then say that if no browserName is provided, the app capability needs to be there. And if it is also not there, then the process should fail

sorry for my typo that I only develop in hybrid.  You are right that I set browserName='', the app capability needs to be there. And if it is also not there, then the process should fail.

But still, what is the capability that you need to start your app?
Is that 'app' ?

@wswebcreation, i use capabilities as below for your reference, thanks
multiCapabilities: [{
       platformName: 'Android',
       platformVersion: '7.0',
       deviceName: 'Android Emulator',
       browserName: '',
       autoWebview: true,
       platform: 'Android',
       app: './android-debug.apk',
       automationName: 'Appium',
       nativeWebScreenshot: true,
     }

Hi @josephlaw, planning on adding Appium support very soon, see feat/appium

@koola
Can you check hangouts?


Custom Controls

I've been trying to use the advanced mode to develop a player with custom controls, but having a little trouble getting it working based on the documentation.
Is there an example anywhere?

This is the default player implementation: https://github.com/mderrick/react-html5video/blob/master/src/DefaultPlayer/DefaultPlayer.js


Sourcemap is not generated

Hi,
It is the same issue as https://github.com/angular-microfrontends/navbar/issues/1
By enabling source maps, no actual source map is generated.
Thanks

Closing as duplicate of https://github.com/angular-microfrontends/navbar/issues/1


Added move constructor/assignment support for MagneticModel

Since the move constructor/assignment functions cannot be implicitly defined, I have added them as default, so that the MagneticModel class can be moved.

I don't remember why I deleted the copy and assignment constructed; now, I don't see why they should be deleted.  So perhaps the simpler solution for you would be to allow the defaults for these constructors?  Would that work?  (Also whatever is done to MagneticModel should be done also to GravityModel.)

I agree, it should work because the deleted functions are disabling the trivial ones. Do removing then all would be fine. I'll modify and test tomorrow.

On further inspection it looks like they need to stay deleted. As the MagneticModel stores a SphericalHarmonic that stores a SphericalEngine::coeff which stores references to the _gG/_hH vectors from the MagneticModel class.
So copying the MagneticModel, would copy these vectors, which would result in the copied MagneticModel's having references to the original classes vectors.

OK, and I suppose the move works in this case because the references to _gG and _hH are buried inside another object.
Can you add the same change for GravityModel to this PR?

OK, and I suppose the move works in this case because the references to _gG and _hH are buried inside another object.

Yes, and moving them doesn't invalidate any references, so they stay valid.

Can you add the same change for GravityModel to this PR?

Sure.

@ashbob999 Thanks.  This PR is merged now.  FYI, I noticed that it included some trailing spaces.  I always remove these so that the source is in a canonical format.


CORS Support

In working up a POC with rustus and uppy, uppy is unable to upload directly to rustus because of a CORS error.  scanning through the code, it appears that rustus doesn't have native cors handling, is that correct?

Thanks for raising this issue. Yes. It's correct. Guess I have to add it asap.
Could you please describe what you're trying to do?

I guess it would be sufficent to add an option like
rustus --cors "<some value>"

And with this configuration Access-Control-Allow-Origin: <some value> will be returned with every response from the server.

What do you think?

I saw an implementation of cors in tusd, which was an initial inspiration for this project. They just trust anyone and for every origin the return the same string. I want to implement more secure version, so I want to let users define possible origins. All possible headers and methods are defined in the protocol. So we can give you an option to define list of origins separated by commas.
I'll try actix_cors, but as said in docs it overrides preflight OPTIONS request and this is unacceptable since TUS protocol use OPTIONS request to gather information about the server. In the worst case I'll implement it by hand.

I'm not a rust expert (but I am a fan!), and yeah trusting any domain is not a great thing from my point of view.
One important note about how I use CORS (especially in staging environments) is the use of wildcards to allow for dynamic review sites to be used for testing and story acceptance.  This means just a static list of domains wouldn't meet my use case well.  I'd need to be able to do https://*.example.com so that I wouldn't have to manually allow https://mr256.example.com or similar. meanwhile on production I want it to be as locked down as possible and would put a single valid domain in that situation i.e. https://www.example.net.

Oh, another note.  I've seen this implemented in other frameworks by allowing a regex to be passed in as a config variable.  It can be more cumbersome from a clarity standpoint, but I could see it being viable to pass in https://.+\.example\.com as working.  Where it gets more combersome is the idea of allowing both  a domain and a localhost for dev mode on the same endpoint.  that'd look something like (https://.+\.example\.com|http://localhost(:\d+)?) which as you can see (even if I have a small typo there since I didn't test it) it's much less readable and understandable.

I added a PR with wildcard domains in CORS. Could you please check if that fits your requirements?

It simply matches wildcard strings for domains and returns the same domain in the Access-Control-Allow-Origin header of a response as in the Origin header of a request.

Please check if your problem was solved. If it is, please close the issue.

Unfortunately this doesn't appear to work for me in my poc environment. I tried running 5.0 both without setting the cors argument and with setting it to RUSTUS_CORS: localhost:*. In both cases, I get a 400 response when I try to upload.
I copied the below curl from my chrome inspector.   It generates the following console message:
<img width="1021" alt="image" src="https://user-images.githubusercontent.com/18547/173701743-7c0683c5-2bc0-4180-a325-f0d0bb04229c.png">

curl 'http://localhost:1081/files' \
  -X 'OPTIONS' \
  -H 'Accept: */*' \
  -H 'Accept-Language: en-US,en;q=0.9' \
  -H 'Access-Control-Request-Headers: tus-resumable,upload-length,upload-metadata' \
  -H 'Access-Control-Request-Method: POST' \
  -H 'Cache-Control: no-cache' \
  -H 'Connection: keep-alive' \
  -H 'Origin: http://localhost:8080' \
  -H 'Pragma: no-cache' \
  -H 'Referer: http://localhost:8080/' \
  -H 'Sec-Fetch-Dest: empty' \
  -H 'Sec-Fetch-Mode: cors' \
  -H 'Sec-Fetch-Site: same-site' \
  -H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.125 Safari/537.36' \
  --compressed

In some of my testing with different ways to work around this issue until it's resolved, I was also able to determine that we will need to expose the Location header (at least for the initial create upload step).
Access-Control-Expose-Headers: [Location]

A small bit of feedback on the implementation as well.
In general it's a good idea to support protocol as part of the cors definition.  For example, in my production environment I'd never want to allow an upload from http://www.domain.com and instead would require it be from https://www.domain.com

testing further, It looks like it's the tus-resumable header not being in the list of allowed headers

I've gotten the project building locally to test out some further changes.  I did indeed have to add the tus-resumable header to the list of allowed headers.  Additionally, I needed to expose the location header. Now I'm getting errors that the buffer size is being exceeded.  My guess is this is a side effect of the Tus-Max-Size header not being provided to the client.
I ended up finding this middleware in tusd.  Looking at it, it exposes a large list of headers and tunes the allowed methods based on which extensions are enabled.
Additionally it provides some standard headers on options requests.

@Kaelten This problem can be fixed by providing -m .
I'll release quickfix today that adds missing headers in cors.

giving it a shot! :)

I see you added .expose_any_header() however that doesn't appear to be a full wildcard and I'm still getting errors related to the Location header not being exposed.

I got it working by replacing the expose_any_header() call with the following (based on the implementation in tusd):
        .expose_headers(vec![
            "Location",
            "Tus-Version",
            "Tus-Resumable",
            "Tus-Max-Size",
            "Tus-Extension",
            "Upload-Length",
            "Upload-Metadata",
            "Upload-Defer-Length",
            "Upload-Concat",
            "Upload-Offset",
        ])
        .max_age(86400);

@Kaelten That's odd. Maybe setting an explicit wildcard will solve the problem.

@Kaelten Oh, thanks for that. I'll release it later today.

Happy to open a PR if it helps :)

@Kaelten Sure.

made PR #84 :)

#84 merged. I hope it'll fix this issue completely. Thanks you very much for pointing this problem out.

At least in my poc testing locally this is looking good now! :) I'll open up a new report if I find anything additional.  Thanks for being so responsive! :)

I'm glad I could help you. Thanks for using my project.


Support API calls with no json response

Some of the calls like logs does support json and text response but there is no way to get the text response as the generated client automatically select json as the accepted response. One example of this is kubernetes/kubernetes#37881. The workaround in that issue is working (and shows the value of _preload_content we added to generated code) but we can do better by having a solution like Watch class to get response as text and even stream the result if the call supports it. In this case read_namespaced_pod_log supports streaming but the parameter is named follow not watch.
Possible Solution:
v1 = client.CoreV1Api()
# either:
raw = kubernetes.raw_response.RawResponse(v1.read_namespaced_pod_log,
    namespace="...", name="...")
raw.read()

# or
raw = kubernetes.raw_response.RawResponse(v1.read_namespaced_pod_log,
    namespace="...", name="...", follow=True)
for line in raw.stream():
   print(line)

Yes, this is essentially what I was doing with a hacked version of the api_client.py and default_api.py.  Added a raw argument and returned the raw Response object back from the request

As a workaround for now, you can pass _preload_content=False to the api call, then call .read() method on the return object. for example:
    v1 = client.CoreV1Api()
    ret = v1.read_namespaced_pod_log(
        "kube-addon-manager-minikube", "kube-system", _preload_content=False)
    print(ret.read())

kubernetes/kubernetes#37881 is fixed, after we updated the client, this will be not necessary.


[ISSUE] console SM scope is not configurable in OIDC environment

Describe the issue:
When trying to set up camunda with separated ingress, console SM enabled, and OIDC via azure, I got the following error:

Request Id: f532af19-f5d3-4265-bacb-56702cb37000
Correlation Id: bf4bd00c-461e-449b-b43a-ed78a5117db9
Timestamp: 2024-09-23T17:48:50Z
Message: AADSTS70011: The provided request must include a 'scope' input parameter. The provided value for the input parameter 'scope' is not valid. The scope openid email profile console/.default is not valid. The scope format is invalid. Scope must be in a valid URI form https://example/scope or a valid Guid <guid/scope>.

I noticed that zeebe has a parameter called global.identity.auth.zeebe.tokenScope to customize this URL parameter, but there is no such option for console SM.

Actual behavior:

Expected behavior:

How to reproduce:

Logs:

Environment:
Please note: Without the following info, it's hard to resolve the issue and probably it will be closed.

Platform:
Helm CLI version:
Chart version:
Values file:

The PR https://github.com/camunda/camunda-platform-helm/pull/2390 fixes this bug


Add missing service types

This commit adds 3 new service types which optimize service loading. It's worth noting that this commit will not influence what is done by the build plugins, which have to replicate the list independently.

Why is it missing PropertyExpressionResolver?

That's a copy/paste error, I fixed it and pushed the change. I'm working on a similar fix for the Gradle plugin.

We need to change this in the build plugins too no?

Yes it does. See https://github.com/micronaut-projects/micronaut-gradle-plugin/pull/812 for the change in the Gradle plugin. I planned to create a PR for the Maven plugin too, unless you want to do it?

Oh, I guess this is actually for the Maven plugin...


Why is node-pre-gyp a bundled dependency?

This isn't a bug nor an issue, however I'm curious why you chose to make node-pre-gyp a bundled dependency.
I noticed because despite only one occurrence of node-pre-gyp in my dependency tree, npm (v3+) didn't flatten it into the root of my node_modules. I'm assuming that's because it's a bundled dependency.
I found this same non-flattening behavior with jstransform and esprima-fb but in that case esprima-fb is not a bundled dependency of jstransform, so there must be a different cause in that case.
thanks.

I'm not sure, to be honest.  Might have just been an oversight in #59.  @es128?

I had thought it was necessary for it to work, but I can't say with any certainty that my assumption was right or that it hasn't changed.
May be worth reevaluating

npm i https://github.com/strongloop/fsevents/tarball/unbundle

It does seem to work smoothly. I guess as a next step we could try publishing to npm with a prerelease tag to help make sure.
@indieisaconcept @springmeyer do either of you have any insight regarding why this has been a bundled dependency so far?

I would recommend sticking with bundling. If you don't bundle then downstream installs that also include node-pre-gyp (or a module that uses is) may trigger npm's dedupe behavior. Then, if node-pre-gyp is deduped it may not be available in time to be used to install fsevents (originally discovered at https://github.com/mapbox/node-pre-gyp/issues/61#issuecomment-39532817). This is a really tricky issue because it only manifests downstream. There are some proposed workarounds to this, like using preinstall to install node-pre-gyp but those seem to suffer from bugs, notably https://github.com/mapbox/node-sqlite3/issues/720 (which impacted windows users after I tried unbundling node-pre-gyp from node-sqlite3).

@eatrocks does that answer your question?

Yes, that's what I was hoping to learn. Thanks @springmeyer , @bnoordhuis , and @es128

Thanks for chiming in @springmeyer, I learned something today.
(Also, that's a pretty bad flaw in npm.)

Thanks for details @springmeyer , looks like nasty bug in npm, has it been reported there?

@dunnock - it boils down to: node-pre-gyp must be bundled. If it is should not be a problem or npm bug that is involved. This ticket was about why the bundling is needed. As far as I know fsevents has always bundled node-pre-gyp. So there is no npm bug to blame. If you are hitting an install problem with fs-events being installed with node-pre-gyp, then the problem is likely something different that what is discussed above.

@springmeyer I get yarn check warning which is present across all of projects using fsevents:
$ yarn check
yarn check v0.21.3
warning<EMAIL_ADDRESS>could be deduped from "0.6.33" to<EMAIL_ADDRESS>

@dunnock is there another package in your tree that depends on node-pre-gyp? Also, is that a fatal error or just a warning?

I am also seeing this Yarn warning.
In my yarn.lock you can see the dependency fsevents has on node-pre-gyp:
<EMAIL_ADDRESS>  version "1.1.2"
  resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.2.tgz#3282b713fb3ad80ede0e9fcf4611b5aa6fc033f4"
  dependencies:
    nan "^2.3.0"
    node-pre-gyp "^0.6.36"

fsevents already bundles node-pre-gyp, but Yarn will install its own copy nevertheless, leading to the warning.
Can we remove it from dependencies in package.json? Surely it doesn't need to be there if it's already bundled? This should fix the Yarn warning lots of people are complaining about: https://github.com/yarnpkg/yarn/issues/2287#issuecomment-274324056

@OliverJAsh I think you misunderstand.  That yarn warning means there is more than one package in your dependencies that depends on node-pre-gyp, not that fsevents doesn't have to depend on node-pre-gyp.

I have double checked and this is the only package depending on that
module.
On Sat, 30 Sep 2017, 12:55 Ben Noordhuis<EMAIL_ADDRESS>wrote:

@OliverJAsh https://github.com/oliverjash I think you misunderstand.
That yarn warning means there is more than one package in your dependencies
that depends on node-pre-gyp, not that fsevents doesn't have to depend on
node-pre-gyp.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/strongloop/fsevents/issues/157#issuecomment-333303760,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA4QCQcGo-tN8PsfhO1EXkwHcAHgxl3zks5sniwlgaJpZM4LF68t
.

Unlikely, otherwise why would yarn print that error?  Note that it could be a order n dependency, i.e., from somewhere in the full dependency graph, not just what you have listed in your package.json.

You can try this in an empty Yarn project:
# chokidar depends on fsevents
$ yarn add chokidar
$ yarn check
warning<EMAIL_ADDRESS>could be deduped from "0.6.38" to<EMAIL_ADDRESS>
If I inspect yarn.lock I can see that the only dependency (including any transitive dependencies) which depends on node-pre-gyp is fsevents. You can try searching the yarn.lock for node-pre-gyp and you will find no other dependency references.
<EMAIL_ADDRESS>  version "1.1.2"
  resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-1.1.2.tgz#3282b713fb3ad80ede0e9fcf4611b5aa6fc033f4"
  dependencies:
    nan "^2.3.0"
    node-pre-gyp "^0.6.36"

To demonstrate that I have two versions in my Node modules:
~/Development/temp/yarn-fsevents-warning
❯ ls node_modules/node-pre-gyp
CHANGELOG.md	LICENSE		README.md	appveyor.yml	bin		contributing.md	lib		node_modules	package.json

~/Development/temp/yarn-fsevents-warning
❯ ls node_modules/fsevents/node_modules/node-pre-gyp
CHANGELOG.md		README.md		bin			contributing.md		package.json
LICENSE			appveyor.yml		cloudformation		lib			template-name.diff

I could be missing something, but it looks like there is nothing else relying on node-pre-gyp.
If nothing else depends on node-pre-gyp then I'm not sure why Yarn decides to install node-pre-gyp at the root node_modules. Maybe because it can't place it in fsevents’ node_modules folder because of the pre-bundled modules? This is why I suggested removing node-pre-gyp from the package dependencies.

Ah okay, I think I understand now.  Is this what you are requesting we change?
diff --git a/package.json b/package.json
index 2ed9082..5b3a185 100644
--- a/package.json
+++ b/package.json
@@ -4,8 +4,7 @@
   "description": "Native Access to Mac OS-X FSEvents",
   "main": "fsevents.js",
   "dependencies": {
-    "nan": "^2.3.0",
-    "node-pre-gyp": "^0.6.36"
+    "nan": "^2.3.0"
   },
   "os": [
     "darwin"
@@ -44,6 +43,7 @@
   ],
   "homepage": "https://github.com/strongloop/fsevents",
   "devDependencies": {
+    "node-pre-gyp": "^0.6.36",
     "tap": "~0.4.8"
   }
 }

@bnoordhuis I think that would work!

Can we re-open this?

Reopened but see my comment in #187.

#187 was fixed, so can we fix this issue now?

We'll remove node-pre-gyp as part of moving to N-API. This is in #237


Merge dev/release/2.1 into master

cc: @weshaggard @dagood @dleeapho

@dotnet-bot help

@dotnet-bot test ci

@safern I would like to see CI pass with your changes so if you could independently branch netci.groovy and get that merged first that would allow this PR to have a green CI.
Were there any interesting merge conflicts?

@safern I would like to see CI pass with your changes so if you could independently branch netci.groovy and get that merged first that would allow this PR to have a green CI.

I'm not adding any changes here. This is just the pure merge of dev/release/2.1 as is, into master.
I wanted to leave my changes to fix Windows as a separate PR once this is merged so that they are easier to review and read.

Were there any interesting merge conflicts?

Not really, just in Readme.md in the  badges section, I took the master version of it that points to the master badges.
And another conflict in fsharp.proj -- I took the dev/release/2.1 version of it.


wasm-mutate: Invalid wasm module produced

Sorry I keep opening bugs with the same title, I dunno how to open a better title for fuzz-bugs...
In any case this input:
(module
  (type (;0;) (func (result i32)))
  (func (;0;) (type 0) (result i32)
    i32.const -14671840
    i64.extend_i32_u
    i32.const -1
    i64.extend_i32_u
    i64.rem_s
    i64.const -1
    i64.le_u)
  (data (;0;) ""))

will yield:
$ cargo run --bin wasm-mutate -- --seed<PHONE_NUMBER>7919394047 ./test.wasm -o wat.wasm --preserve-semantics
$ cargo run --bin wasm-validate-rs wat.wasm
Error: type mismatch: expected i64, found i32 (at offset 36)

cc @Jacarte, and note that I tested this with https://github.com/bytecodealliance/wasm-tools/pull/387 and the issue still reproduces, so I think that this is separate from that.

Oh I should note that the produced wasm is:
(module
  (type (;0;) (func (result i32)))
  (func (;0;) (type 0) (result i32)
    i32.const -14671840
    i64.extend_i32_u
    i32.const -1
    i64.extend_i32_u
    i64.rem_s
    i32.const -1
    i64.le_u
    i32.const 0
    i32.shl)
  (data (;0;) ""))

I see, thanks @alexcrichton

Fixed in #387  I think?

Ah unfortunately no, I tested with that but it didn't seem to fix this. I think the bug is that this:
    i64.const -1
    i64.le_u

is changed to:
    i32.const -1
    i64.le_u

Well, overall, the type propagation algorithm is not working :(. It would be better to separate the equivalence classes by type during Wasm 2 egg translation. We will solve this by separating the operators in the egraph by type, for example, instead of having (add ?x ?y), we will have (i32add ?x ?y).
The egraph will be increased by the number of types in Wasm, but, so far, we have not observed that this will be an overhead problem.

I think this can be closed :)

🎊


Not sure if you're interested, but made a node function for interfaces

https://github.com/corysimmons/status-interfaces
Helps me. Dunno if you guys have something like this (or better) or if it's all done on Go side, but maybe it'll be helpful.
ofc, feel free to close this whenever

Thanks for the share, this looks very similar to something that we've written in Go:
https://github.com/go-carrot/response
We write a lot of our APIs in Go, but we still do use Javascript.
This library I shared actually follows the base interface we've proposed in #8.  So technically is future-spec for this repo.

Ah, nice, I'm glad I pinged you Brandon. I like wrapping all that cruft in meta as well. Will update my lib.


Launch docker after supplemental bootscripts

This is a bit of an edge case, but the change shouldn't affect regular behaviour.
Use case:
Because of the limited size of the disk, I'd like to store docker images outside of the VM through a shared folder.
I can do that by setting the "Path to use as the root of the Docker runtime"; /var/lib/boot2docker/profile:
EXTRA_ARGS='-g /Users/somewhere/docker'
And this works because /etc/rc.d/automount runs already on line 10 exposing the /Users directory. However, afaik, there's really no way to get it working, if the shared folder goes elsewhere. (External disk etc.)
EXTRA_ARGS='-g /var/lib/boot2docker/docker_storage' (Mounted outside from e.g. /Volume/something)
This is because the docker daemon starts up before it's possible to mount something in the folder of the docker root.
With this change however, it would be possible to add a line like so, to /opt/bootlocal.sh and have it available to docker:
sudo mount -t vboxsf -o uid=1000,gid=50 docker /var/lib/boot2docker/docker_storage

oh please don't do this.
Firstly, Docker uses filesystem features - and vbox's share fs implementation is not particularly fast or robust.
instead, use the --disksize option in boot2docker init to make a vm with a larger disk..
In case you're happy to ignore my predictions of doom :) I'm going to bet that you can call /etc/init.d/docker stop and restart from the /var/lib/boot2docker/bootlocal.sh` with a little clean up and mounting in between :)

On to reviewing the PR - I'd rather put the /etc/init.d/docker start between the 2 customisable scripts - that way you can set up the pre-conditions in /var/lib/boot2docker/bootsync.sh and then run some post conditions in /var/lib/boot2docker/bootlocal.sh
@tianon what do you think?

I definitely agree with @SvenDowideit here -- putting it in between bootsync and bootlocal would be OK, but after both seems dangerous especially since bootlocal is backgrounded so won't necessarily have finished running before we start using Docker.
If we put it in between, then bootsync can setup things Docker itself needs, then bootlocal can instrument Docker after the fact, which would be a handy property.

I had to ditch VirtualBox because of performance issues in any case and in the switch to VMWare/Ubuntu allowed me to mount shared folders outside, but thanks for the feedback.


Control cookies

Use this issue to discuss Control cookies in the ONS Design System

Cookie banner buttons spacing lost on overlapping 500px breakpoint

Saving the cookies form in the DS example sends you to the previous page you were on


New User Manual site is very difficult to navigate

Try to find the User Manual section that talks about creating archive files such as a Zip. In the old layout, you could just look on the table of contents for Zip. With the new layout, it is completely unclear how to find that information. There is no search. The DSL reference for the Zip task does not point to the corresponding manual entry. In fact, the entire new user manual layout appears to be oriented to someone new to Gradle. For anyone else, the new layout is somewhere between very inefficient and useless. Please bring back a User Manual that a novice and experienced Gradle user can easily navigate.

@eriwen can you take a look at this request please?

Thanks @eriwen for the detailed response! I guess old habits die hard and I go to the homepage docs link. Anything you can do the make the docs page/user manual more useful to those who want to search for a detailed item would be appreciated.

It would be great to make that link more clearly  available as personally I find the nonlinear structure makes it very difficult for me to progressively build my knowledge base about gradle.
Some sections are simply sorted alphabetically (See under "Build Configuration Scripts") and some will refer to things as being previously mentioned... but since there is no clear logical order to consume the content in (even in the index), that doesn't hold true.

Noted @madorb. Peter is considering how we can improve navigation, and I'd wager such a link will be much more prominent


abnormal actin fusion focus assembly

PMID:28410370
abnormal actin fusion focus assembly
cf FYPO:0004804

abnormal actin fusion focus assembly FYPO:0006108
edit file: b99030e70d97daf5cf3f2093146f25c37c7b4d78
release: 767683a7bde6608b96c79e82ea54e5ebb1cefb23


fix: remove invalid information to run the project locally

Resolves #864 raised by @JoshuaKGoldberg. Thanks, Joshua
Please describe the changes this PR makes and why it should be merged:
Status

[ ] Code changes have been tested against prettier, or there are no code changes
[ ] I know how to update typings and have done so, or typings don't need updating

Semantic versioning classification:

[ ] This PR changes the codebase

[ ] This PR includes breaking changes (methods removed or renamed, parameters moved or removed)
[ ] This PR changes the internal workings with no modifications to the external API (bug fixes, performance improvements)

[x] This PR only includes non-code changes, like changes to documentation, README, etc.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 25.706%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1257

Relevant Lines:
5082

💛  - Coveralls


The tag 'ibm' in StackOverflow does not exist

You mention in your README that one can ask a question on stackoverflow with the tags 'ibm' or 'object-storage'. But the tag 'ibm' does not exist and therefore you need at least 1500 reputation to ask a question with that tag.

Creating the new tag 'ibm' requires at least 1500 reputation.

My suggestion: change the 'ibm' tag to 'ibm-cloud-storage' (which exists) in your README.

Thanks for reporting. Opened the internal ticket, and someone from the team will take a look.


added cron script to delete stuck projects for bz 1367432

This is the result of stg testing. http://pastebin.test.redhat.com/418829

:+1:

lgtm


Roadmap for v1.0

I'm thinking about what kind of functionality this library should provide before it should be released as v1. I might edit the list in the future:
My goals:

[ ] (#25) Make sure it's reliable and crawl more than 10 million pages with it (so far the maximum I crawled was ~800k pages)
[x] (#9) Improve sameDomainDelay and skipDuplicateUrls. Detection of domains should use TLD.js for example. Documentation should be better. And there should be a way to provide the URL without using data or { url: ... } Not a goal for 1.0 anymore
[ ] (#28) Optimize the code, fix code smells
[x] More tests, get code coverage up to > 90%
[ ] More documentation on the concurrency types. Maybe make CONCURRENCY_BROWSER the default as it is more robust?
[ ] More code snippets in the documentation page (for Cluster.queue for example)
[x] Provide a cluster.execute function which executes the job ~with higher priority (does not queue it at the end)~ and returns a Promise which is resolved when the job is finished. Might also solve this confusion: https://github.com/thomasdondorf/puppeteer-cluster/issues/10#issuecomment-419324832
[ ] Statistics API: How many jobs in queue, how many jobs processes, etc.
[x] #41 Offer more functionality, maybe provide a way to use puppeteer-extra?
[x] #36 Sandbox Offer a way to run code from users in a sandbox, maybe even Docker? => This can now be implemented via custom concurrency implementations (although there are now custom implementations right now)
[x] #70 Improve types

Maybe:

[ ] Provide a simple but robust data store with the library
[ ] Rename API: Some parts of API are rather unfortunate

concurrency should be concurrencyType
maxConcurrency maybe maxWorkers?

[ ] Provide queue function to the task function for a more functional syntax (so that you don't need to access cluster from inside the task

Not planned (for now):

[x] https://github.com/thomasdondorf/puppeteer-cluster/issues/8#issuecomment-421307994 Mixed concurrency models

Reason: It does not work well together with the idea of having a sandbox (which part of the browser/page/context stuff should be sandboxed then)

Next time, please open a separate issue if it has nothing to do with this issue.
Regarding your question: It depends on your use case. For simple DOM handling I was able to run ~10 worker on my machine (i5 quad core). Just give it a try with the option (monitor: true) and see how your machine is handling the tasks.

Add a mixed concurrency model. i.e  for PAGE or CONTEXT concurrency model, have the option to distribute the jobs to more than one browser instance. So a crash won't affect all jobs and this offers a good balance between reliability and resource usage.

Add API to return the length of queue, time when the oldest item in queue was added and Number of jobs processed in the last minute. For a continuously operating cluster i.e jobs being added continuously, this information is valuable.

I'm currently thinking about completely reworking the concurrency implementations. Then there would be no more "WorkerInstance" and "JobInstance". Just one function that is called when a page is needed. Then the concurrency implementation would have 100% flexibility when a puppeteer instance is started and when one is reused.
Expect some code changes in the next two weeks ;)

Cool, glad to hear that. Feel free to ping me if you need any help)

+1 for Docker container support.
https://github.com/skalfyfan/dockerized-puppeteer

Is there a way to connect the puppeteer-cluster to a remote instance of chromium? (“connect” instead of “launch”)

Hello - just wanted to get a feel for how active this project is. I see puppeteer cluster as being useful for several projects I'd like to work on. However, I'm hesitant to use it if development will be abandoned. Is development still happening? Thanks!

(Long-term runs of puppteer-cluster #25) Make sure it's reliable and crawl more than 10 million pages with it (so far the maximum I crawled was ~800k pages)

I use k6 benchmarks in my CI tests for soketi, making sure all releases are passing benchmarks in most of the cases.
Would it be a great idea to set it up for you for page rendering testing?


GetTransfers API not suppert 'skip' and 'limit' params

https://github.com/eoscafe/hyperion-api/blob/ec54b55fac4c29a30656deacaef72ad118498237/src/jsonrpc.ts#L392

https://github.com/eoscafe/hyperion-api/pull/6

Closed in 21bf6dc


Manage Resource Policies of Communities & Collections

In DSpace 6, it was possible to Manage the Resource Policies of a Community or Collection in order to access restrict either (by changing the READ policy to a non-"Anonymous" group).  In the XMLUI however, this was only accessible via the Sitewide "Access Control" page (e.g. http://demo.dspace.org/xmlui/admin/authorize)
In DSpace 7, we already have the ability to manage Item-level policies via #601 if you visit /items/[uuid]/edit/authorizations in the UI
We should consider a similar implementation for Communities & Collections available off the /collections/[uuid]/edit/authorizations (and /communities for Communities).  Ideally, it'd be similar to the existing Item-level feature: it'd be directly available via the Edit page, and it'd (hopefully) use similar components.
I believe the necessary REST API features already exist, primarily in the resourcepolicies endpoint
Somewhat related to #781 (because this feature was a part of the Advanced Policy Manager in v6.x)

estimation for this task is about 6 hours
we are interested to claim this task


setuptools_scm in setup.py

Hi
you include setuptools-scm in setup.py, but it probably should be setuptools_scm (underscore)?
https://pypi.python.org/pypi/setuptools_scm
Arun

Can you send PR fixing this?

edited it on github and created a PR. you probably want to test it still ;)


skeleton-typescript issue: gulp export doesn't work (system.js error getting fetch)

I've just cloned the repo (on Windows), and ran gulp export. Although it runs without complaints, when I serve the export folder (http-server export), I can only view the welcome page. When I try to open the Github Users tab, it generates an error that fetch isn't working.
system.js:4 GET<EMAIL_ADDRESS>404 (Not Found)I @ system.js:4(anonymous function) @ system.js:4(anonymous function) @ system.js:4(anonymous function) @ system.js:4(anonymous function) @ system.js:5(anonymous function) @ system.js:5(anonymous function) @ system.js:5(anonymous function) @ system.js:5(anonymous function) @ system.js:5(anonymous function) @ system.js:4
aurelia.js:6 ERROR [app-router] Error: XHR error (404 Not Found) loading<EMAIL_ADDRESS>	Error loading<EMAIL_ADDRESS>as "fetch" from http://localhost:8080/dist/users.js
    at o (http://localhost:8080/jspm_packages/system.js:4:12694)
    at XMLHttpRequest.s.onreadystatechange (http://localhost:8080/jspm_packages/system.js:4:13219)a.ConsoleAppender.a.error @ aurelia.js:6c @ aurelia.js:15g @ aurelia.js:15G @ aurelia.js:14(anonymous function) @ aurelia.js:15
system.js:4 Uncaught (in promise) Error: XHR error (404 Not Found) loading http://localhost:8080/jspm_packages/github/github/fetch@1.0.0.js(…)

@erikvullings if there's an error with it, it would be my doing. but i don't quite get it. your jspm installdidn't install<EMAIL_ADDRESS>

cool, I'll be looking forward to that fix!

it's just adding 'fetch' to bundle.js, so no need to wait realy :smile:

Hmm, I thought I'd tried that, but you are right - I've added it to bundles.js and it is working now


[Community page] inconsistent alignments of subheadings

Description

On https://meshery.io/community, in desktop view subheadings are center aligned.

Expected Behavior

They need to be all left aligned.
Screenshots

Environment:

OS: Mac Linux Windows
Browser: Chrome Safari Firefox
Version:
Device: Desktop Mobile

Contributor Guides and Handbook
The meshery.io website uses Jekyll and GitHub Pages. Site content is found under the master branch.

📚 See the Contributing to Meshery.io Website section of the readme.md and other contributing instructions, too.
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Hi @vishalvivekm,
Can you please assign this issue to me.

Hi @vishalvivekm, Can you please assign this issue to me.

Hi, Thank you @Sumit2997.
will you please confirm if you have the site set up?

Yes, I have set up the website on my local system.


docs(api) rename parser page into JavascriptParser

Rename Parser page into JavascriptParser
Fixes #2332

P.S. i did not change the URL intentionally, it is not clear if we are getting any new parsers just yet.

Thank you!


Export user-specified transform in C API.

I needed this for a SVG having canvas size C and RESVG_FIT_TO_ZOOM with a scaling factor S.  When rendered into a pixmap of size smaller than C*S, I had expected the render to be centered in that pixmap: instead it was just rendered to origin in the top-left.
By using a translating transform, I can get the SVG to be scaled up and centered in the above pixmap.

Thanks!


lng [dev] do not create index

Hello,
I'm experiencing an issue.
Before this error I've moved some directories and deleted maybe the dist folder, client is the lightning project.
Project structure

com.company.app.TicTacToe

client

Here the lightning project

server

Log
matti@LAPTOP-FKK5J5IS MINGW64 ~/OneDrive/Documenti/projects/GitLab/com.company.app.TicTacToe/client (13-terzo-o-quarto-client)
$ lng dev

√ Removing "dist" folder

√ Ensuring "dist" folder exists

- Copying support files to "dist"

⚠  You are using an older version of the Lightning SDK. Please consider upgrading to the latest version.  ⚠

cp: no such file or directory: ./node_modules/wpe-lightning/dist/lightning.js
cp: no such file or directory: ./node_modules/wpe-lightning/devtools/lightning-inspect.js
cp: no such file or directory: ./node_modules/wpe-lightning-sdk/support/*
√ Copying support files to "dist"

√ Copying static assets to "dist"

√ Copying settings.json "dist"

√ Copying metadata.json "dist"

√ Building ES5 appBundle and saving to "dist"
Starting up http-server, serving ./dist
Available on:
  http://<IP_ADDRESS>:8081
Hit CTRL-C to stop the server
open: http://<IP_ADDRESS>:8081
[2020-03-25T09:02:19.807Z]  "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"
[2020-03-25T09:02:20.243Z]  "GET /favicon.ico" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"
[2020-03-25T09:02:20.246Z]  "GET /favicon.ico" Error (404): "Not found"
[2020-03-25T09:02:48.106Z]  "GET /metadata.json" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"
[2020-03-25T09:03:26.739Z]  "GET /" "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36"

<IP_ADDRESS>:8080
Here I'm expecting the app running but there is no index....

  | (drw-rw-rw-) |   | static/
-- | -- | -- | --
  | (-rw-rw-rw-) | 29.4k | appBundle.es5.js
  | (-rw-rw-rw-) | 35.4k | appBundle.es5.js.map
  | (-rw-rw-rw-) | 132B | metadata.json
  | (-rw-rw-rw-) | 471B | settings.json

Hi @MattiaPontonioKineton,
Based on the output i can see that you are still using both an old version of the SDK as of the CLI.
To update the SDK delete the Package-lock.json, and the node_modules and run npm i again.
To update the CLI run its installer again:
npm install -g WebPlatformForEmbedded/Lightning-CLI


Insomnia Designer, Documentation: Github token and scopes not documented

Describe the bug
https://support.insomnia.rest/article/96-git-sync
(Accessed 29 April 2020 22:17 ET)
should include sub-sections for major git providers: Savannah, Github, GitLab, BitBucket, etc.
GitHub

Specify that you need to a "Personal Access Token"
The required scope is repo > public_repo

Root cause resolution
I couldn't find your support docs hosted in github. Host them in a repo alongside the code, so the support and code are better able to remain in sync.

Thank you for raising this 🙌

Sorry folks! This Issue was converted to Discussions by mistake as a Feature Request. I've moved it back here now where discussions can continue.

@brookmg wrote in the Discussion:

Is this fixed? I am getting different types of errors for different tokens

No, I don't believe we've updated the documentation yet. What types of issues are you seeing?

Well I am currently getting

I should also add that I'm trying to access an organization repo that belongs to me. It would be really good if you defined what permissions you need and the reasons with some scenarios to cover the usecase

Hi @brookmg, the issue you're seeing might be resolved by https://github.com/Kong/insomnia/pull/4097, which should be released with a new version of Insomnia soon.
Regarding the docs themselves, we've now moved our docs to an open-source repository, and there is a PR up to document the authentication scopes: https://github.com/Kong/insomnia-docs/pull/44. As such, I'll close this issue. 🎉


Add album to play next/play later.

I have not been able to figure out how to add an entire album to play next/play later, like we can do with single tracks by pressing the horizontal hamburger menu on an album page. Feel free to close this issue, if I'm just to blind to see it, but:
Please consider implementing the feature of adding an entire album to play next/play later.

@drasbeck You didn't missing anything, it wasn't available as an option. I have now added to ability to play an entire album next or later
Thanks for the request!

Now that's a quick turnaround for an issue. :D Thanks a lot!
One note to add, while the play next/play later buttons work very well, as long as the up next list is not empty, they do not seem to work when the list is empty. It would make sense if they would just queue the album, regardless of up next list length.

I noticed that as well and unfortunately that is all controlled by MusicKit JS, so I will have to open a bug report with them to hopefully fix that behaviour.


Fix casts to long

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/Alluxio-Pull-Request-Builder/8371/
Test FAILed.

Failed tests:
alluxio.client.cli.fs.command.PersistCommandTest.persistOnRenameDirectory(alluxio.client.cli.fs.command.PersistCommandTest)
Run 1: PersistCommandTest.persistOnRenameDirectory:105->AbstractFileSystemShellTest.checkFilePersisted:306
Run 2: PersistCommandTest.persistOnRenameDirectory:105->AbstractFileSystemShellTest.checkFilePersisted:306

alluxio-bot, test this please.

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/Alluxio-Pull-Request-Builder/8382/
Test PASSed.

ping?

Can you merge this? @gpang

ping? @gpang

alluxio-bot, merge this please


scorecard - add shortnames labels to each test

Description of the change:
this PR adds a unique short name label to each scorecard test, this can be used by end users
to select a particular test using the selector flag which was implemented in earlier work.
Motivation for the change:
this PR is related to a set of changes/features to the scorecard.

PS: We should figure out why the % decreased for the total.
Because the scorecard tests is up(it was 2% and now is 10%).


Switch to the new confirm bid view on mobile when enabled

addresses https://artsyproduct.atlassian.net/browse/AUCT-718
We forgot to switch the mobile view to the new confirm bid form. This PR might be easier to review with the w=1 trick.
Before

After

@yuki24 code change looks straightforward enough for me, but I am wondering if you considered if and how we could add some automated test coverage here? I recall @erikdstock doing something similar for the confirm bid flow (but don't recall exactly where and how that coverage was added).

@dleve123 I don't believe testing is as useful as it usually is because we are not going to keep it for a long time.  We are going to QA this manually anyway, so automation doesn't seem to make a lot of sense.

Re https://github.com/artsy/force/pull/4837#issuecomment-560560494:
Sounds good to me – I'll make a note to ensure that we prioritize the Force routing cleanup!


Fail to parse multiple arg / require automatically prioritizing of Mandatory CliArg.

Commands
   push [<address>] <file> : publish a file and wait for pulling from client

In scenario showed above, push /path/file failed with:
Failed to parse command push: No argument provided for file

where [<address>] is an optional arg.
CliMandatoryArgument in newCtx could be prioritized? Below: args in newCtx have been consumed.
newCtx.firstArg match {
    case None =>
      sCmdArg match {
        case _: CliMandatoryArgument[_] =>
          throw ParsingException(ansi"No argument provided for %bold{${cmdArg.name}}")
        case optArg: CliOptionalArgument[_] =>
          setVar(cmdArg, optArg.default)
      }

    case Some(arg) =>
      readAndSetVar(sCmdArg, arg)
      newCtx = newCtx.validate(sCmdArg, arg)
}

Because [<address>] is a common arg, so when it's been put into common trait, it goes ahead. Another solution is: read args from sub-class first.


Clustering Distance Setting

This allows the distance at which items on the map get clustered to be modified, rather than being a hard coded value.

@tobrun is there anything else that needs to get addressed?

@tobrun any chance we can get this PR merged?

Sorry for the delay @simon-the-canadian, following up on this in https://github.com/mapbox/mapbox-plugins-android/pull/280 to let our CI systems run on the code.

Sorry about the late comment, but do you guys have any kind of documentation/example of implementation for this feature? I'm still pretty new to Android in general, and I'm having a hard time trying to figure this one on my own.
Thanks!

@mquerique I think this code is only in the snapshot build. I hope a 0.2.0 build gets made soon.
Here's an example of changing the clustering distance.
    algorithm = new NonHierarchicalDistanceBasedAlgorithm<MyItem>();
    algorithm.setMaxDistanceBetweenClusteredItems(50);

    mClusterManagerPlugin = new ClusterManagerPlugin<>(this, mapboxMap);
    mClusterManagerPlugin.setAlgorithm(algorithm);

@simon-the-canadian oh, I see. I'll be waiting for the build then.
Thanks for the help!


VPE/palette doesn't auto-refresh after component registry entry was deleted

Describe the issue
A clear and concise description of what the issue is.
The VPE component palette displays deleted entries after they have been removed from the registry. Open/close of the VPE does not resolve the issue.

It appears that the cache is not invalidated when a component registry entry is deleted.
To Reproduce
Steps to reproduce the behavior:

Create a component registry entry
Open VPE - the entry is displayed as expected
Delete the component registry entry
Open VPE - the entry is still displayed

Expected behavior
A clear and concise description of what you expected to happen.
The palette should reflect the current state of the registry or provide the means to manually trigger a re-load.
Deployment information
Describe what you've deployed and how:

Elyra version: 3.1+

PR #2157 added the backend support for cache updates on registry modification. This still requires the user to reload or open a new pipeline, etc. in JL in order to see the changes on the frontend, so this will remain open until the corresponding frontend piece is added.

This is resolved in version 3.7.


COSE profile test vectors

[ ] Step1: create CDDL for profile template
[ ] Step2: select standard examples from test-vectors (here)
[ ] Step3: profit

See also https://github.com/thomas-fossati/draft-fossati-cose-profile/issues/7


RLMException - mmap() failed: Cannot allocate memory size: 67108864 offset:<PHONE_NUMBER>

How frequently does the bug occur?
Sometimes
Description
When I write data, occasionally the write fails, this error is reported and the program crashes, but it does not happen 100%
Stacktrace & log output
no detailed stack info

Can you reproduce the bug?
Sometimes
Reproduction Steps
[RLMRealm.defaultRealm transactionWithBlock:^{
[RLMRealm.defaultRealm addOrUpdateObject:model];
}];
Version
10.10.0
What Atlas Services are you using?
Local Database only
Are you using encryption?
No
Platform OS and version(s)
iPhone SE (2nd generation)、iPhone 12 Pro  、iPhone 8  、iOS 15.5.0、iOS 16.6.0 ...more...
Build environment
Xcode version: Version 14.1 (14B47b)
Dependency manager and version: pod ~> 10.10.0

@linwear Are you able to set this entitlement and see if this fixes your issue?
https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_kernel_extended-virtual-addressing

Thanks for your reply, I'll check it out.
lw
@.***

------------------ 原始邮件 ------------------
发件人:                                                                                "realm/realm-swift"                                                                                @.>;
发送时间: 2023年9月7日(星期四) 晚上11:27
@.>;
<EMAIL_ADDRESS>主题: Re: [realm/realm-swift] RLMException - mmap() failed: Cannot allocate memory size: 67108864 offset:<PHONE_NUMBER> (Issue #8337)
@linwear Are you able to set this entitlement and see if this fixes your issue?
https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_kernel_extended-virtual-addressing
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@linwear Are you able to set this entitlement and see if this fixes your issue? https://developer.apple.com/documentation/bundleresources/entitlements/com_apple_developer_kernel_extended-virtual-addressing

Thanks. This greatly reduces the crash rate

Thank you @linwear , I enabled the entitlement and this had a great impact of the crash rate!


Global setting to disallow domain admin to change domain and account settings

ISSUE TYPE

Bug Report

COMPONENT NAME
UI, Permissions, Access Controll

CLOUDSTACK VERSION

4.17 onwards

SUMMARY

The https://github.com/apache/cloudstack/pull/4339 pull request allows CloudStack's domain admins to change their domains configurations. This option gives domain admins power to abuse CloudStack system IPs, create public templates, share their templates with other domains, and many more unwanted effects to the environments even though the root admin disallow these actions in the first place.

Domain level settings

account.allow.expose.host.hostname

allow.public.user.templates

preferred.storage.pool

share.public.templates.with.other.domains

use.system.public.ips

As of now there isn't a global setting to revert this changes. I have the following suggestions let me know what do you think.

Add a global setting to override this behaviour.
Move these setting to global level so domain admins can't change them.
Give priority to the global level settings, so if domain admins override a setting.

STEPS TO REPRODUCE

1. Login as a root admin
2. Configure the domain
3. Log out
4. Login as a domain admin
5. Configure the domain

EXPECTED RESULTS

Root admin configurations are **NOT** overridden.

ACTUAL RESULTS

Root admin configurations are overridden.

@soreana these all done by updateConfiguration. I think this calls for a more fine grained access control system for settings. I do not think either of you proposals are going to satisfy all use-cases.
just €0,02

@soreana these all done by updateConfiguration. I think this calls for a more fine grained access control system for settings. I do not think either of you proposals are going to satisfy all use-cases.
just €0,02

@DaanHoogland I'm totally agree with your proposal. Your proposed feature could be implemented in 4.19. What I proposed could be a small feature in 4.18.1.


close market handling when market is not yet initialised

Coverage increased (+0.01%) to 92.403% when pulling 878f40ba502fbd3818387775f416cc27d5924809 on release/1.5.4 into 15f8b60a858f03fc86a6e08f0fdc49ae0fe21bcb on master.


Dropbox-based distribution strategy doesn't work for delly

Delly build hard-codes references to certain libraries. Thus if you move the binary after building it, those references are broken.
We can fix this by doing a git clone ... followed by make all.

We are probably punting on Delly. We'll run into this right away if we ever do deal with Delly again.


Error installing nokogiri on macOS Sierra 10.12.5

If you're having trouble installing Nokogiri ...
Have you tried following [the installation tutorial][tutorial]?
Yes
What is the output of gem install?
Building native extensions.  This could take a while...
ERROR:  Error installing nokogiri:
	ERROR: Failed to build gem native extension.

    current directory: /Users/swyx/.rvm/gems/ruby-2.4.0/gems/nokogiri-1.8.0/ext/nokogiri
/Users/swyx/.rvm/rubies/ruby-2.4.0/bin/ruby -r ./siteconf20170609-941-118rz9q.rb extconf.rb
checking if the C compiler accepts ... yes
checking if the C compiler accepts -Wno-error=unused-command-line-argument-hard-error-in-future... no
Building nokogiri using packaged libraries.
Using mini_portile version 2.2.0
checking for iconv.h... yes
checking for gzdopen() in -lz... yes
checking for iconv using --with-opt-* flags... yes
************************************************************************
IMPORTANT NOTICE:

Building Nokogiri with a packaged version of libxml2-2.9.4
with the following patches applied:
	- 0001-Fix-comparison-with-root-node-in-xmlXPathCmpNodes.patch
	- 0002-Fix-XPointer-paths-beginning-with-range-to.patch
	- 0003-Disallow-namespace-nodes-in-XPointer-ranges.patch

Team Nokogiri will keep on doing their best to provide security
updates in a timely manner, but if this is a concern for you and want
to use the system library instead; abort this installation process and
reinstall nokogiri as follows:

    gem install nokogiri -- --use-system-libraries
        [--with-xml2-config=/path/to/xml2-config]
        [--with-xslt-config=/path/to/xslt-config]

If you are using Bundler, tell it to use the option:

    bundle config build.nokogiri --use-system-libraries
    bundle install

Note, however, that nokogiri is not fully compatible with arbitrary
versions of libxml2 provided by OS/package vendors.
************************************************************************
Extracting libxml2-2.9.4.tar.gz into tmp/x86_64-apple-darwin16.6.0/ports/libxml2/2.9.4... OK
Running git apply with /Users/swyx/.rvm/gems/ruby-2.4.0/gems/nokogiri-1.8.0/patches/libxml2/0001-Fix-comparison-with-root-node-in-xmlXPathCmpNodes.patch... OK
Running git apply with /Users/swyx/.rvm/gems/ruby-2.4.0/gems/nokogiri-1.8.0/patches/libxml2/0002-Fix-XPointer-paths-beginning-with-range-to.patch... OK
Running git apply with /Users/swyx/.rvm/gems/ruby-2.4.0/gems/nokogiri-1.8.0/patches/libxml2/0003-Disallow-namespace-nodes-in-XPointer-ranges.patch... OK
Running 'configure' for libxml2 2.9.4... OK
Running 'compile' for libxml2 2.9.4... ERROR, review '/Users/swyx/.rvm/gems/ruby-2.4.0/gems/nokogiri-1.8.0/ext/nokogiri/tmp/x86_64-apple-darwin16.6.0/ports/libxml2/2.9.4/compile.log' to see what happened. Last lines are:
========================================================================
    unsigned short* in = (unsigned short*) inb;
                         ^~~~~~~~~~~~~~~~~~~~~
encoding.c:815:27: warning: cast from 'unsigned char *' to 'unsigned short *' increases required alignment from 1 to 2 [-Wcast-align]
    unsigned short* out = (unsigned short*) outb;
                          ^~~~~~~~~~~~~~~~~~~~~~
4 warnings generated.
  CC       error.lo
  CC       parserInternals.lo
  CC       parser.lo
  CC       tree.lo
  CC       hash.lo
  CC       list.lo
  CC       xmlIO.lo
xmlIO.c:1450:52: error: use of undeclared identifier 'LZMA_OK'
    ret =  (__libxml2_xzclose((xzFile) context) == LZMA_OK ) ? 0 : -1;
                                                   ^
1 error generated.
make[2]: *** [xmlIO.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
========================================================================
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers.  Check the mkmf.log file for more details.  You may
need configuration options.

Provided configuration options:
	--with-opt-dir
	--with-opt-include
	--without-opt-include=${opt-dir}/include
	--with-opt-lib
	--without-opt-lib=${opt-dir}/lib
	--with-make-prog
	--without-make-prog
	--srcdir=.
	--curdir
	--ruby=/Users/swyx/.rvm/rubies/ruby-2.4.0/bin/$(RUBY_BASE_NAME)
	--help
	--clean
	--use-system-libraries
	--enable-static
	--disable-static
	--with-zlib-dir
	--without-zlib-dir
	--with-zlib-include
	--without-zlib-include=${zlib-dir}/include
	--with-zlib-lib
	--without-zlib-lib=${zlib-dir}/lib
	--enable-cross-build
	--disable-cross-build
/Users/swyx/.rvm/rubies/ruby-2.4.0/lib/ruby/gems/2.4.0/gems/mini_portile2-2.2.0/lib/mini_portile2/mini_portile.rb:400:in `block in execute': Failed to complete compile task (RuntimeError)
	from /Users/swyx/.rvm/rubies/ruby-2.4.0/lib/ruby/gems/2.4.0/gems/mini_portile2-2.2.0/lib/mini_portile2/mini_portile.rb:371:in `chdir'
	from /Users/swyx/.rvm/rubies/ruby-2.4.0/lib/ruby/gems/2.4.0/gems/mini_portile2-2.2.0/lib/mini_portile2/mini_portile.rb:371:in `execute'
	from /Users/swyx/.rvm/rubies/ruby-2.4.0/lib/ruby/gems/2.4.0/gems/mini_portile2-2.2.0/lib/mini_portile2/mini_portile.rb:114:in `compile'
	from /Users/swyx/.rvm/rubies/ruby-2.4.0/lib/ruby/gems/2.4.0/gems/mini_portile2-2.2.0/lib/mini_portile2/mini_portile.rb:153:in `cook'
	from extconf.rb:365:in `block (2 levels) in process_recipe'
	from extconf.rb:257:in `block in chdir_for_build'
	from extconf.rb:256:in `chdir'
	from extconf.rb:256:in `chdir_for_build'
	from extconf.rb:364:in `block in process_recipe'
	from extconf.rb:262:in `tap'
	from extconf.rb:262:in `process_recipe'
	from extconf.rb:548:in `<main>'

To see why this extension failed to compile, please check the mkmf.log which can be found here:

  /Users/swyx/.rvm/gems/ruby-2.4.0/extensions/x86_64-darwin-16/2.4.0/nokogiri-1.8.0/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in /Users/swyx/.rvm/gems/ruby-2.4.0/gems/nokogiri-1.8.0 for inspection.
Results logged to /Users/swyx/.rvm/gems/ruby-2.4.0/extensions/x86_64-darwin-16/2.4.0/nokogiri-1.8.0/gem_make.out

What are the contents of the mkmf.log file?
"gcc -o conftest -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/ruby/backward -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0 -I.  -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include<EMAIL_ADDRESS>-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens  -fno-common -pipe  conftest.c  -L. -L/Users/swyx/.rvm/rubies/ruby-2.4.0/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib<EMAIL_ADDRESS>-L. -fstack-protector -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib<EMAIL_ADDRESS>   -lruby.2.4.0  -lpthread -ldl -lobjc  "
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main(int argc, char **argv)
4: {
5:   return 0;
6: }
/* end */

"gcc -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/ruby/backward -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0 -I.  -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include<EMAIL_ADDRESS>-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens  -fno-common -pipe    -Werror -c conftest.c"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */

"gcc -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/ruby/backward -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0 -I.  -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include<EMAIL_ADDRESS>-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens  -fno-common -pipe  -Wno-error=unused-command-line-argument-hard-error-in-future   -Werror -c conftest.c"
error: unknown warning option '-Werror=unused-command-line-argument-hard-error-in-future'; did you mean '-Werror=unused-command-line-argument'? [-Werror,-Wunknown-warning-option]
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: int main() {return 0;}
/* end */

have_header: checking for iconv.h... -------------------- yes

"gcc -E -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/ruby/backward -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0 -I.  -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include<EMAIL_ADDRESS>-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens  -fno-common -pipe  -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline  conftest.c -o conftest.i"
checked program was:
/* begin */
1: #include "ruby.h"
2:
3: #include <iconv.h>
/* end */

--------------------

have_library: checking for gzdopen() in -lz... -------------------- yes

"gcc -o conftest -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/ruby/backward -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0 -I.  -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include<EMAIL_ADDRESS>-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens  -fno-common -pipe  -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c  -L. -L/Users/swyx/.rvm/rubies/ruby-2.4.0/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib<EMAIL_ADDRESS>-L. -fstack-protector -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib<EMAIL_ADDRESS>   -lruby.2.4.0 -lz  -lpthread -ldl -lobjc  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <zlib.h>
 4:
 5: /*top*/
 6: extern int t(void);
 7: int main(int argc, char **argv)
 8: {
 9:   if (argc > 1000000) {
10:     printf("%p", &t);
11:   }
12:
13:   return 0;
14: }
15: int t(void) { void ((*volatile p)()); p = (void ((*)()))gzdopen; return !p; }
/* end */

--------------------

have_iconv?: checking for iconv using --with-opt-* flags... -------------------- yes

"gcc -o conftest -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/ruby/backward -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0 -I.  -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include<EMAIL_ADDRESS>-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens  -fno-common -pipe  -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c  -L. -L/Users/swyx/.rvm/rubies/ruby-2.4.0/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib<EMAIL_ADDRESS>-L. -fstack-protector -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib<EMAIL_ADDRESS>   -lruby.2.4.0  -lpthread -ldl -lobjc  "
Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      _main in conftest-830244.o
  "_iconv_open", referenced from:
      _main in conftest-830244.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <stdlib.h>
 4: #include <iconv.h>
 5:
 6: int main(void)
 7: {
 8:     iconv_t cd = iconv_open("", "");
 9:     iconv(cd, NULL, NULL, NULL, NULL);
10:     return EXIT_SUCCESS;
11: }
/* end */

"gcc -o conftest -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/x86_64-darwin16 -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0/ruby/backward -I/Users/swyx/.rvm/rubies/ruby-2.4.0/include/ruby-2.4.0 -I.  -I/usr/local/opt/libyaml/include -I/usr/local/opt/readline/include -I/usr/local/opt/libksba/include<EMAIL_ADDRESS>-D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens  -fno-common -pipe  -O3 -Wall -Wcast-qual -Wwrite-strings -Wconversion -Wmissing-noreturn -Winline conftest.c  -L. -L/Users/swyx/.rvm/rubies/ruby-2.4.0/lib -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib<EMAIL_ADDRESS>-L. -fstack-protector -L/usr/local/opt/libyaml/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/libksba/lib<EMAIL_ADDRESS>   -lruby.2.4.0 -liconv -lpthread -ldl -lobjc  "
checked program was:
/* begin */
 1: #include "ruby.h"
 2:
 3: #include <stdlib.h>
 4: #include <iconv.h>
 5:
 6: int main(void)
 7: {
 8:     iconv_t cd = iconv_open("", "");
 9:     iconv(cd, NULL, NULL, NULL, NULL);
10:     return EXIT_SUCCESS;
11: }
/* end */

--------------------

What operating system are you using?
macOS Sierra 10.12.5
obviously very frustrating. please help.

@sw-yx I understand you're frustrated. I'm here to help.
The error message in your logs is:
xmlIO.c:1450:52: error: use of undeclared identifier 'LZMA_OK'
    ret =  (__libxml2_xzclose((xzFile) context) == LZMA_OK ) ? 0 : -1;
                                                   ^
1 error generated.

The installation tutorial, which you indicated you had read, addresses what to do in this case. Here's a screenshot of that section (I can't link directly to the header):

If you go to http://www.nokogiri.org/tutorials/installing_nokogiri.html#mac_os_x and search for LZMA you'll see those instructions.
Good luck.

goodness. thanks flavorjones. I had read it but I didn't see the identifier under the mountain of error messages I was buried under. thank you will try.

@flavorjones issue was fixed with brew reinstall xz --universal. i feel silly now. thanks again


chore(master): release 1.15.0

:robot: I have created a release beep boop
1.15.0 (2024-08-08)
Features

signups: support Arcadion savage (#415) (b1b3fd7)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/ssilve1989/ulti-project/releases/tag/v1.15.0 :sunflower:


Service user passwords are not synchronized.

What is currently missing?
Service users (kafka users) passwords are not synchronized.
How could this be improved?
When ACL synchronization is initialized from Klaw to cluster, kafka users in those ACLs that do not exist are automatically created. However the passwords for those service users are not synchronized. Therefore in case of recovery/cluster migration when you sync the metadata to new cluster client operations cannot automatically resume.
Is this a feature you would work on yourself?
Unfortunately no.

This is now fixed.


About the experiment results: different methods' songs' length?

Hello, @Spijkervet , I read the paper and source code. I found the clmr linear_evaluation only used about 2.67 (random sample size 59049 / sample rate 22050) seconds to do classification? This may decrease the auc?

Hello, @Spijkervet , I read the paper and source code. I found the clmr linear_evaluation only used about 2.67 (random sample size 59049 / sample rate 22050) seconds to do classification? This may decrease the auc?

Fine, though train on clipped music, test is done on whole track.


[Challenge 4] Here is my attempt to solve the mystery of the cats

Leveraging Kafka + Akka + Spark Structured Streaming to scale and extract stats to solve the mystery.
More details in the updated README.md

congrats ! :)


Cask request/update: Slack Beta Version 3.0.0

Cask details
Looks like Slack changed the filename in the download url of their beta client to include some sort of hash.
I'd like to update the cask file, but I have no idea where to start. Could somebody point me in the right direction (perhaps a similar case).
Name: Slack Beta
Homepage: https://slack.com/beta/osx
Download URL: https://github.com/caskroom/homebrew-cask#reporting-bugs
Description: Beta Version of the Slack client
Current cask file: https://github.com/caskroom/homebrew-versions/blob/master/Casks/slack-beta.rb

https://github.com/caskroom/homebrew-versions/pull/4683

Updating a Cask

# install and setup script - only needed once
brew install vitorgalvao/tiny-scripts/cask-repair
cask-repair --help

cask-repair -v 3.0.0-beta2638bae9 slack-beta


THhe program crashes after a few seconds

Hi, i try to run this. put the website and its port but the program crashes after a little while. any thoughts why it does that?

Anche a me si presenta lo stesso problema. Ho Windows 10.
Grazie comunque per il contributo

Io ho Windows 7

All the pointed out issues should be fixed by now, feel free to compile from the updated sources or wait till a new compiled release is out


Looks like the missing production panel issue is back

A city failed to complete a wonder and now its production panel is missing.
Is there a keyboard shortcut to select something to build?
Is there a way to skip building something altogether?
I'm guessing that getting to the next turn might help.

Getting to the next turn doesn't help.  I can continue to play, but one city isn't building anything.
I'll collect any information that might be useful.  Let me know.  A save file, perhaps?

Yay.  Something I did got it working.  Sometimes, the city view shows no production panel, but advancing to the next city then back to your city will show the production panel and queue for the wrong city.  Selecting something to build seems to have no effect, but advancing to the next city I think I saw it added to the build queue.  Going back to the original city, then choosing 'reset' on the queue seems to have done it.  The production panel and queue are working.
Anyway, something I did made it work.

@MarkusKV
This sounds like it is the same as #237
When I back out the commit for issue #220, the production panel returns

Should be fixed now


frame.close() call with eframe on xorg not working if the main thread is still busy

Describe the bug
calling frame.close in the app while the main thread is still busy with something else will not close the ui.
To Reproduce
use std::sync::Barrier;

use eframe::egui;

fn main() {
    let options = eframe::NativeOptions {
        ..Default::default()
    };
    let _ = eframe::run_native("App", options, Box::new(|_cc| Box::<MyApp>::default()));

    let bar = Barrier::new(2);
    bar.wait();
}

struct MyApp {}

impl Default for MyApp {
    fn default() -> Self {
        Self {}
    }
}

impl eframe::App for MyApp {
    fn update(&mut self, _ctx: &egui::Context, frame: &mut eframe::Frame) {
        frame.close()
    }
}

In this example i create an app that should close itself right after creation. At the same time the main thread is busy waiting for some event or doing something different.
Expected behavior
the app window should close and the main thread should continue working on whatever its currently up to.
Desktop (please complete the following information):

OS: Linux Ubuntu
With X11 / xorg

Additional context
this works on windows

I will release a new version of egui very shortly, where frame.close() has been replaced by ctx.send_viewport_cmd(egui::ViewportCmd::Close);. Please test it (either now on master, or when egui 0.24 comes out) and see if this is fixed.

unfortunately that did not resolve the issue. The programm still crashes. I don't really know if it's even possible in x11. Maybe not. I have found a workaround by just spawing the gui in a child-process.


Tweak commit tags for pushing new releases with Semantic

One extra fix is not to add labels to PRs.

I'm testing out if my change to Renovate will use fix(deps) for Dockerfile has updates.
If this does not work, I think I will need to tweak the whole setup and create a proper design around it.  This project should in theory be able to work on its own without me manage it.  We should be able to automerge as much as possible.  At least new digest of Wolfi.


Form style query variables are non-functional

Neither of the examples given in the documentation work.
Deosn't expand the variable name:

Doesn't pick up on the variables at all, per #408:

Scratch that, the first case is me putting the question mark in the wrong case, and the latter is previously reported as I mentioned. :( Sorry about that.


MudMenu not closing on CloseMenuAsync

Things to check

[X] I have searched the existing issues for this bug
[X] To rule out a caching problem I made sure the bug also happens in an incognito tab

Bug type
Component
Component name
MudMenu
What happened?
When a MudMenuItem contains multiple buttons:

If the button has an OnClick the MudMenu refuses to close (even when mudMenu.CloseMenuAsync() is called in the referenced method).

If the button has no OnClick it, clicking it closes the MudMenu even though the MudMenuItem has AutoClose="false"

Expected behavior
At least the call of CloseMenuAsync should actually close the menu. I'm not sure if the second case is actually intended behavior.
Reproduction link
https://try.mudblazor.com/snippet/maQIkjbQSyMoiWKM
Reproduction steps

Open Menu
Click on X-Button
See the Menu still open after CloseMenuAsync has been called

Relevant log output
No response
Version (bug)
7.8.0
Version (working)
No response
What browsers are you seeing the problem on?
Chrome
On which operating systems are you experiencing the issue?
Windows
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Use two way binding instead?
https://try.mudblazor.com/snippet/wOweODPReyYZMZbT

Use two way binding instead? https://try.mudblazor.com/snippet/wOweODPReyYZMZbT

Actually, I'm surprised it works since Open is not a [Parameter]?
@danielchalmers can you check this, since I think you were refactoring that recently, why does CloseMenuAsync not working?

@ScarletKuro It works if you call the CloseMenu method from outside of the menu
e.g.
<MudButton OnClick="CloseMenu">
    asdfasdfasdf
</MudButton>

(have to make the overlay permanently closed)
<MudOverlay Visible="false" AutoClose OnClosed="CloseMenuAsync" LockScroll="LockScroll" />

@danielchalmers @versile2 If you want, we can close this, since technically, with https://github.com/MudBlazor/MudBlazor/pull/10459, Open is now officially a parameter, actually, a two-way parameter. You can now do this:
<MudMenu Open="_open">
...
private bool _open;
void CloseMenu()
{
    _open = false;
}

And it will work because the toggle (IActivatable.Activate) now fires first, and only after that does the binding update the state. With CloseMenuAsync, it's the opposite—the CloseMenuAsync method fires first, and then the Activate method toggles it back to open. The order matters here.
I would suggest that people prefer using two-way binding instead of @ref with CloseMenuAsync / OpenMenuAsync. In fact, I might even consider making those methods private now, though there may still be one or two edge cases where they are more better than two-way.
You can also leave it open if you're planning to rework the Activate method, as you mentioned, the root issue here is that it currently acts as a toggle.

I would argue it doesn't fix the underlying problem. Which is more prevalent on FileUpload but here as well. I don't see a reason not to mark them deprecated and scheduled to be private next major release at minimum.
That being said I will be pushing a PR to fix the underlying problem.

So why we just don't do this
public RenderFragment<MenuContext>? ActivatorContent

<ActivatorContent>
  <MudIconButton OnClick="x=> context.OpenMenu()"/>
</ActivatorContent>

(pseudo code)


use same cookie version as hyper

I can't use iron-sessionstorage because it uses cookie v0.4.x and hyper uses v0.3.x. This leads to the following error:
native library 'openssl' is being linked to by more than one version of the same package, but it can only be linked once; try pdating or pinning your dependencies to ensure that this package only shows up once

I'm sorry, I missed that there is a v0.3 of iron-sessionstorage ;-)

Yeah 0.4 is broken, but we do need the new cookie version for #3... not sure how to fix.

Pushed 0.5.0 which is the same as 0.3, mostly.

Hyper had removed cookie from it dependencies.

Yes, I already took care of that.


now stripping ansi colors from the output so that users can use the a…

now stripping ansi colors from the output so that users can use the action with the jest --colors flag

I released the version with your changes.
You can just run MishaKav/pytest-coverage-comment@main or use<EMAIL_ADDRESS>