multi GPU training gets stuck after first validation

Does the evaluation keep some RAM allocated so that training starves?
Environment

8x NVIDIA A100-SXM4-40GB
960GB RAM allocated via Docker
docker run --shm-size=950g ..
data_num_workers = 0

e.g. with 8 GPUs, but also happens with 2 GPUs:
python -m yolox.tools.train -f exps/default/yolox_m.py -d 8 -b 64 -o --cache --fp16

end of log:
...
2022-05-13 18:29:45 | INFO     | yolox.core.trainer:352 - Save weights to ./YOLOX_outputs/yolox_m
2022-05-13 18:30:38 | INFO     | yolox.evaluators.coco_evaluator:235 - Evaluate in main process...
2022-05-13 18:30:49 | INFO     | yolox.evaluators.coco_evaluator:268 - Loading and preparing results...
2022-05-13 18:30:55 | INFO     | yolox.evaluators.coco_evaluator:268 - DONE (t=5.86s)
2022-05-13 18:30:55 | INFO     | pycocotools.coco:366 - creating index...
2022-05-13 18:30:55 | INFO     | pycocotools.coco:366 - index created!
[1/2] c++ -MMD -MF cocoeval.o.d -DTORCH_EXTENSION_NAME=fast_cocoeval -DTORCH_API_INCLUDE_EXTENSION_H -DPYBIND11_COMPILER_TYPE=\"_gcc\" -DPYBIND11_STDLIB=\"_libstdcpp\" -DPYBIND11_BUILD_ABI=\"_cxxabi1013\" -isystem /opt/conda/lib/python3.8/site-packages/torch/include -isystem /opt/conda/lib/python3.8/site-packages/torch/include/torch/csrc/api/include -isystem /opt/conda/lib/python3.8/site-packages/torch/include/TH -isystem /opt/conda/lib/python3.8/site-packages/torch/include/THC -isystem /opt/conda/include/python3.8 -D_GLIBCXX_USE_CXX11_ABI=1 -fPIC -std=c++14 -O3 -std=c++14 -g -Wno-reorder -c /YOLOX/yolox/layers/cocoeval/cocoeval.cpp -o cocoeval.o
[2/2] c++ cocoeval.o -shared -L/opt/conda/lib/python3.8/site-packages/torch/lib -lc10 -ltorch_cpu -ltorch -ltorch_python -o fast_cocoeval.so
2022-05-13 18:31:10 | INFO     | yolox.layers.jit_ops:111 - Load fast_cocoeval op in 14.323s.
2022-05-13 18:31:29 | INFO     | yolox.core.trainer:342 -
Average forward time: 17.18 ms, Average NMS time: 3.09 ms, Average inference time: 20.28 ms
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.197
 Average Precision  (AP) @[ IoU=0.50      | area=   all | maxDets=100 ] = 0.340
 Average Precision  (AP) @[ IoU=0.75      | area=   all | maxDets=100 ] = 0.203
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.100
 Average Precision  (AP) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.221
 Average Precision  (AP) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.241
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=  1 ] = 0.209
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets= 10 ] = 0.353
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=   all | maxDets=100 ] = 0.382
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= small | maxDets=100 ] = 0.199
 Average Recall     (AR) @[ IoU=0.50:0.95 | area=medium | maxDets=100 ] = 0.423
 Average Recall     (AR) @[ IoU=0.50:0.95 | area= large | maxDets=100 ] = 0.471

same question，you have solved the question？

I think stucking during traning might be caused by long time compile and evaluation on master process only. Is it producible and what's the platform are you using? WSL?

duplicated with #1303

I think stucking during traning might be caused by long time compile

compile took 15s, see
2022-05-13 18:31:10 | INFO     | yolox.layers.jit_ops:111 - Load fast_cocoeval op in 14.323s.

I will try baking this into the Docker image nevertheless.
Do you mean the 15s delay on the master process make the other trainer processes stuck?

Is it producible and what's the platform are you using? WSL?

yes, this happens on every run. This uses nvcr.io/nvidia/pytorch:22.04-py3 Docker image on a Ubuntu 20.04 Host.

@paroj One possible way to workaround this issue is to compile the op at the begining (python3 -m pip install -v -e . first). It will compile fast_cocoeval and loading such operator might not take too much time.

I didn't use version 0.3.0，I use 0.2.0 version can avoid this problem。

@FateScript
I baked the compiled .so into the Docker Image with:
python -c "from yolox.layers import COCOeval_opt; COCOeval_opt()"

so it does not take any time:
2022-05-18 17:00:02 | INFO     | pycocotools.coco:366 - index created!
ninja: no work to do.
2022-05-18 17:00:04 | INFO     | yolox.layers.jit_ops:111 - Load fast_cocoeval op in 0.327s.

still, the training gets stuck as before after validation

ok, both downgrading to 0.2.0 and running python3 -m pip install -v -e . as suggested by @FateScript resolve the issue for me.
It seems that wait_for_the_master does not work properly and creates a deadlock if executed.

@paroj Thanks for sharing. I'm wondering that will your progress gets stuck if you comment wait_for_the_master.

ok, both downgrading to 0.2.0 and running python3 -m pip install -v -e . as suggested by @FateScript resolve the issue for me.
It seems that wait_for_the_master does not work properly and creates a deadlock if executed.
Isn't it supposed to be thank me? A little upset

I'm wondering that will your progress gets stuck if you comment wait_for_the_master.

training seems to proceed normally even without this line. I did not check the validation results, but if they are only computed on master, they should be fine.
Looking at
https://github.com/Megvii-BaseDetection/YOLOX/blob/68408b4083f818f50aacc29881e6f97cd19fcef2/yolox/utils/dist.py#L63-L72
I am not sure what it is supposed to do. Especially
https://github.com/Megvii-BaseDetection/YOLOX/blob/68408b4083f818f50aacc29881e6f97cd19fcef2/yolox/utils/dist.py#L63-L64
seems off, as all processes need to enter dist.barrier() to continue. Were you thinking about mutex/ semaphore there maybe?

@paroj Ok, I encounter a similar issue before and I think that a long-time compile and evaluation on master only cause the stuck. I will have a try on my own machine.

@paroj how are you installing yolox 0.2.0 ? When I do pip3 install -v -e . it gets yolox==0.3.0 by default

@paroj Ok, I encounter a similar issue before and I think that a long-time compile and evaluation on master only cause the stuck. I will have a try on my own machine.

Hi, have you solved this problem? I am encountering the same issue. The program stuck at the step after first evaluating.

@paroj Ok, I encounter a similar issue before and I think that a long-time compile and evaluation on master only cause the stuck. I will have a try on my own machine.

I use
"""
pip install -v -e .
"""
to solve this by your advice in #1289 . Thanks!

Hey guys. I found a workaround in my case.
(please fix me if I'm mistaken😉)
only allow IP socket communication
try setting these variables, in the scripts or in python by using os.environ[XXX] = ...
export NCCL_LL_THRESHOLD=0
export NCCL_P2P_DISABLE=1
export NCCL_IB_DISABLE=1

The NCCL_P2P_DISABLE variable disables the peer to peer (P2P) transport, which uses CUDA direct access between GPUs, using NVLink or PCI.
The NCCL_IB_DISABLE variable disables the IB/RoCE transport that is to be used by NCCL. Instead, NCCL will fallback to using IP sockets.
explanation
For distributed training, subprocesses are always initialized dist.init_process_group by TCP
So, IP communication seems reasonable.
My colleague told me that on other machines, it may not need this kind of disabling and falling back to TCP. I donnot know why, either.
caution
NCCL_LL_THRESHOLD is often set as zero. I don't know why.
export NCCL_LL_THRESHOLD=0
Caution ❗ They may influence the model performance.
https://github.com/NVIDIA/nccl/issues/369#issue-678319427
change of start method
In this commit and before, multi-gpu subprocesses are started by launch_by_subprocess, which calls subprocess.Popen
I use YOLOX in ByteTrack. It uses the old version of starting multiple processes
launch_by_subprocess(
        sys.argv,
        world_size,
        num_machines,
        machine_rank,
        num_gpus_per_machine,
        dist_url,
        args,
    )

In the subsequent commits, start methods are set to mp.start_processes, and there may also be some other related but hidden changes.
I haven't check whether switching to the later versions could directly fix the problem.❤
I'm not familiar with CUDA or NCCL.
However, I think this workaround makes sense, in that it considers the communication between gpus, and the bug lie in the SYNCHRONIZATION.😃

I ran into this issue as well.  It is a sync bug that only happens if you JIT the faster COCOeval Op.  After the evaluation prediction loop and prediction gather, the non-main processes will block in synchronize() while the main process runs the evaluation code.  But when the main process has to JIT compile the eval op, it encounters a wait_for_master() synchronization call (used to prevent multiple processes from compiling at the same time) that uses the same torch.distributed.barrier() primitive as synchronize().  This unblocks the non-main processes, so the main process gets stuck on that synchronize() once it finishes the COCOeval.
My fix is to just not use their custom COCOeval code.  The easiest way to do this is to modify yolox/evaluators/coco_evaluator.py:evaluate_prediction() so that it always fallsback to the pycocotools implementation by adding a raise Exception() within the try block where it attempts to import their COCOeval.

export NCCL_LL_THRESHOLD=0
export NCCL_P2P_DISABLE=1
export NCCL_IB_DISABLE=1

This solution did not work for me ://


Zuul: Spans are removed from MDC "too early" when SendErrorFilter forwards to /error

Suppose a servlet filter logging incoming requests configured with a priority such that it appears just after Sleuth's TraceFilter. The filter would log a pre and post message just like Spring's CommonRequestLoggingFilter. Thanks to Sleuth integration, both lines will have the spanid attached to them as shown in below sample log output:
2017-04-12 19:07:09.090  INFO [-,b1fe361d6c1d8c35,b1fe361d6c1d8c35,false] 73856 --- [nio-8080-exec-1] c.e.ZuulsleuthApplication$MyFilter       : BEFORE
2017-04-12 19:07:09.098  INFO [-,b1fe361d6c1d8c35,b1fe361d6c1d8c35,false] 73856 --- [nio-8080-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping      : Mapped URL path [/test/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController]
...
2017-04-12 19:07:09.120  INFO [-,b1fe361d6c1d8c35,b1fe361d6c1d8c35,false] 73856 --- [nio-8080-exec-1] c.e.ZuulsleuthApplication$MyFilter       : AFTER

The SendErrorFilter is triggered whenever Zuul encounters a problem during the routing of the request (either via SimpleRouting or RibbonRouting). The filter forwards the request to the /error endpoint for handling. In this case it appears the span information is NOT present in the MDC when the execution flow returns to the logging ServletFilter - hence the AFTER message doesn't have the spanid attached to it. Example:
2017-04-12 19:44:21.307  INFO [-,87ac57c7bbda596d,87ac57c7bbda596d,false] 74041 --- [nio-8080-exec-1] c.e.ZuulsleuthApplication$MyFilter       : BEFORE
2017-04-12 19:44:21.315  INFO [-,87ac57c7bbda596d,87ac57c7bbda596d,false] 74041 --- [nio-8080-exec-1] o.s.c.n.zuul.web.ZuulHandlerMapping      : Mapped URL path [/test/**] onto handler of type [class org.springframework.cloud.netflix.zuul.web.ZuulController]
2017-04-12 19:44:21.395  WARN [-,87ac57c7bbda596d,c80a4aef1716bc74,false] 74041 --- [nio-8080-exec-1] o.s.c.n.z.filters.post.SendErrorFilter   : Error during filtering

com.netflix.zuul.exception.ZuulException: Connect to localhost:1 [localhost/<IP_ADDRESS>, localhost/0:0:0:0:0:0:0:1] failed: Connection refused
	at org.springframework.cloud.netflix.zuul.util.ZuulRuntimeException.<init>(ZuulRuntimeException.java:33) ~[spring-cloud-netflix-core-1.3.0.RC1.jar:1.3.0.RC1]
	at org.springframework.cloud.netflix.zuul.filters.route.SimpleHostRoutingFilter.run(SimpleHostRoutingFilter.java:200) ~[spring-cloud-netflix-core-1.3.0.RC1.jar:1.3.0.RC1]
...

2017-04-12 19:44:21.464  INFO [-,,87ac57c7bbda596d,false] 74041 --- [nio-8080-exec-1] c.e.ZuulsleuthApplication$MyFilter       : AFTER

Look at the last line: the traceid is still present, but the spanid is gone (or is it the opposite?).
Although we discovered that behaviour with Brixton.SR7, it can be reproduced with Dalston.RC1 as well.

Attached is a sample application that can be used to reproduce the issue.
Start the com.example.ZuulsleuthApplication as usual then curl http://localhost:8080/test.
zuulsleuth.zip

Thanks for the detailed description and the sample and sorry for the inconvenience. Could you please upload the sample as a Github project? It will be easier for me to operate on it

Sample is available at https://github.com/brenuart/spring-cloud-sleuth-gh563

Haha thanks :D

Could you confirm the issue?

I'll take a look at that today

Thx - just wanted to know if its a bug, feature or mistake from us...

No problem - I was on a sick leave that's why some issues left without any response. Sorry for the delay

Hope you feel better now ;-)

Replicated and most likely fixed. I'll run some tests and will push this to a branch so that you can confirm that it's working fine. I've ran it on your sample and it seems to be looking good.

Can you check out this branch issues_#563_improving_zuul_error and see if everything is ok?

@marcingrzejszczak Sorry we could not test your fix due to lack of time.
The problem was caused by Zuul forwarding the request directly to the error endpoint instead of letting the exception bubble up and relying on Tomcat to forward it to its default error page.
Our workaround was to slightly change the SendErrorFilter to remove that behaviour and instead set a special "error" attribute on the request. That attribute is later checked by a custom filter registered before Sleuth's TraceFilter and forward the request to /error if needed.
No forwarding anymore, and no problem...
However, I wonder if the behaviour described in this issue will affect any forwarded request.
What about standard SpringBoot application with the error handling configured to forward to /error instead of using @ExceptionHandler ?

Oh, btw - there are a bit more consequences to the issue than the simple "span/trace not present anymore on the MDC". We noticed the SpanContextHolder still holds a current span after an error is handled/received by Zuul. Subsequent requests handled by the same (Tomcat) thread will attempt to continue it...

@brenuart so you're saying that after introducing this change it's wrong due to

We noticed the SpanContextHolder still hold a current span after an error is handled/received by Zuul. Subsequent requests handled by the same (Tomcat) thread will therefore attempt to continue it...

As for the /error - in the TraceFilter we're already handling that case so that should work but I guess I'd need a sample to check that with Zuul.

Not exactly - sorry for my english :(
I was just saying that my original issue description was only partial. The symptoms of the problem were:

missing traceId on the MDC and therefore on the logs
but also that the traceId were likely to be "reused" by subsequent requests handled on the same thread if they had no traceId headers

I though it might be useful to add this extra information for the record in case someone runs into the same problem.
About your fix, as I said, we haven't had the chance yet to test it. We are busy trying to migrate to the latest versions...

Ah ok. So for now I'm assuming that it's working fine. If you have time and it's not working please feel free to comment and we'll reopen this ok?

Ok.


Fix: Created candidate file for ECRC

Ticket -> https://new-relic.atlassian.net/browse/NR-259478

Checklist

[x] I've read the guidelines and understand the acceptance criteria.
[x] The value of the attribute marked as identifier will be unique and valid.
[x] I've confirmed that my entity type wasn't already defined. If it is I'm providing an explanation above.

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

Also, I'd split relationships/synthesis/EXT-SERVICE-to-INFRA-ELASTICACHE-REDIS-CLUSTER in two and would move the rule for APM to a new relationships/synthesis/APM-APPLICATION-to-INFRA-ELASTICACHE-REDIS-CLUSTER file, so filenames are consistent with their content.

gc build

By checking the regular expression we have modifed the regex
regex: "^Datastore/instance/Redis/[^/].cache.amazonaws.com/[0-9]+" to "^Datastore/instance/Redis/[^/]\.cache\.amazonaws\.com/[0-9]+"
As we are unable to see the instrumented redis cluster in apm entity, this may not be the actual problem but as a best practice we have added \. after cache in the above regular expression


How to reduce size of dayview cell decorate

Please help me in reducing size of dayview cell drawable.

Please refer to https://github.com/prolificinteractive/material-calendarview/blob/master/docs/CUSTOMIZATION.md#tile-size or the sample which has great examples on how to do so


Can't create UWP or WPF apps that use SignalR

When trying to write a UWP or WPF sample I get missing assembly errors for System.Net.Http and Logging.

Targeting .NET Core?

No, this is a regular WPF application using the new SignalR client.

@mikaelm12 sync up with @davidfowl and @anurse before starting investigating this.

I have no issue using the latest SignalR client package in a WPF app (.net 4.7).

I can't repro this. Closing.

Note: for WPF you currently need to add a reference to the NETStandard.Library.NETFramework package.


Use fs.rm instead of fs.rmdirSync to remove puppeteer profiles

As reported in #110, AWS Lambda throws deprecations warnings about fs.rmdirSync().
This PR updates browsershot.js to use fs.rm().

Hm, I can replicate the issue on my local machine that I see on GitHub Actions, but I don't know how to fix this … yet.


Added a few features and tried to make it shellcheck compliant

Curl's progress bar could look ugly to some people. I added it anyways.
I think instead of using global variables, the program should prompt the user.
I've tested the new functions I added and seem to work fine.
Couldn't fix this part for shell compliance:
[Line 147:](javascript:setPosition(147, 10))
    if [ $? -ne 0 ]; then
         ^-- [SC2181](https://github.com/koalaman/shellcheck/wiki/SC2181) (style): Check exit code directly with e.g. 'if ! mycmd;', not indirectly with $?.

Also didn't try to fix(shellcheck) the global variables for copying to clipboard because I think you should use a prompt instead. Can I work on that?

Sorry, but personally I don't think I see a point to much of this.

I like logging to a file but I think this was done better in #23.

I don't see a point in listing out that log file. I think any user of this script knows about tail, cat, etc.

Likewise I don't see much point in the --open or --remove features. These seem trivial to achieve manually by looking at the log, or right after uploading with firefox $(xsel) or similar.

The progress bar -- I considered it in the past. Sure, it shows progress for the upload, which is nice if you're uploading something huge or on a very slow connection, but then it sits at 100% for some unpredictable amount of time while imgur processes your image. In my case that's invariably way longer than the upload took. I don't think it's useful.

You've changed from echo to printf, and I have no idea why.

Your changeset almost doubles the length of the script.

Then there's shellcheck, which I'd never seen before.
I just tried it, and a lot of its output looks like nonsense to me.
Run on my own current version of the script:

In imgur line 17:
	echo "Usage: $(basename $0) [<filename|URL> [...]]" >&2
                                ^-- SC2086: Double quote to prevent globbing and word splitting.

Yeah, fair enough.

In imgur line 38:
if [ "$1" == "-h" -o "$1" == "--help" ]; then
                  ^-- SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.

etc
Ehh. It points to https://www.shellcheck.net/wiki/SC2166 whose only complaint only matters if we're starting arguments with - or using !, and we're doing neither here. We use a ! later but I don't see how it could be misinterpreted in that case. I guess I could be persuaded.

In imgur line 75:
	if [ $? -ne 0 ]; then
             ^-- SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.

Just like you seem to have concluded, this seems like nonsense. The command was necessarily run earlier, in different ways in two branches of a conditional.

In imgur line 92:
	echo $url
             ^--^ SC2086: Double quote to prevent globbing and word splitting.

Fair enough I guess but it's a URL from a trusted source; there shouldn't be anything weird in there.

In imgur line 104:
	echo -n "$clip" | pbcopy $IMGUR_PBCOPY_OPTIONS
                                 ^-------------------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean:
	echo -n "$clip" | pbcopy "$IMGUR_PBCOPY_OPTIONS"

No I did not. I intentionally want word splitting here.

In imgur line 107:
elif [ $DISPLAY ]; then
       ^------^ SC2086: Double quote to prevent globbing and word splitting.

Did you mean:
elif [ "$DISPLAY" ]; then

Ehhh I don't see why anyone would put something weird in $DISPLAY but sure whatever. I should probably be doing an -n test here actually.

Finally,
  NAME
  Randomly select & apply an kitty color theme

Ooh, I wish.

As a suggestion for PRs you may open in the future, on any project, try to keep each PR to a single narrow topic -- this was too broad.
By all means maintain a fork if you like -- I think it's great that you're adding features which make it function the way you want it to -- but I won't merge this. I may at some point apply some of shellcheck's suggested changes.


is there any different between training and not training

thx for sharing the project,im new to fr,is there any different between training and not training?bcs i compare features gen by two different people,but the score is 0.98,that confused me a lot! what should i do?

Hi, thanks for your question.
The features should be divided by its L2 norm, then just compute their Euclidean distance. Smaller result means they are more similar faces.

Hi, thanks for your question.
The features should be divided by its L2 norm, then just compute their Euclidean distance. Smaller result means they are more similar faces.

i had normalized features,and computed the cosin dis , i found that score of different faces is above 0.9, however the score should be  close to 0, bcs features of different people are orthogonal, is that right?

There is no difference to compute cosine distance or euclidean distance if you have normalized the features. I'm not sure whether you are computing cosine distance or cosine similarity, which will get opposite result.
And if distance function is not your problem, check if you have done pre-process like face alignment and pixel range from 0-255 to 0-1. They are necessary for model testing.

i found that i did not do preprocessing, and that maybe the reason, btw whats yr preprocessing mothod?i tried to normalize img by
mean = mx.nd.array([123.675, 116.28, 103.53]).reshape((1, 1, 1, 3))
scale = mx.nd.array([58.395, 57.12, 57.375]).reshape((1, 1, 1, 3))
is that reasonable?

We usually use:
img = img.astype("float32") / 255
img = nd.transpose(img, (2,0,1))

The input size of image should be (N, 3, 112,112).

you have totally solved my problem,thanks again for your sharing, have a nice day! lol


Performance Optimization Enhancement for Verification

One way to speed up the verification algorithm is to cache the results of each element being verified.  It will take up more memory, but save having to re-parse and traverse the graph for elements if they are referenced more than once (e.g. within a relationship).

Thanks a lot @goneall I'll give it a go when you cut a new release!

@puerco I'll be cutting a new release within the next few days - quite a few people have run into this performance issue, so it would be nice to get out a fix especially for the online tools.

Resolved with PR #56

@puerco I just released version 1.0.2 of the SPDX Tools Java which includes a fix for this issue.  Let me know if this resolves the performance issue for you.  If it does resolve the issue, would you mind updating the twitter message with the improved results?

@goneall of course! Thank you very much for fixing this.
https://twitter.com/puerco/status/1416080001775112195

Thanks @puerco for the update.


[ERROR] Chart.yaml: version should be of type string but it's of type float64

I'm getting the following error while trying to execute ./gradlew helmPackage.
> Task :helmLintMainChart FAILED
cmd_run.go:918: WARNING: cannot create user data directory: failed to verify SELinux context of /home/tons/snap: exec: "matchpathcon": executable file not found in $PATH
Error: 1 chart(s) linted, 1 chart(s) failed
==> Linting /home/tons/IdeaProjects/whoami-mn/build/helm/charts/whoami
[ERROR] Chart.yaml: version should be of type string but it's of type float64
[INFO] Chart.yaml: icon is recommended

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':helmLintMainChart'.
> A failure occurred while executing org.unbrokendome.gradle.plugins.helm.command.HelmExecWorkAction
   > Process 'command 'helm'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 2s
4 actionable tasks: 1 executed, 3 up-to-date

The command helm package src/main/helm/ works just fine though.
Any clue what's going wrong? Please let me know if I should post parts of my chart or setup

The reason why I didn't post my Chart.yaml is because it makes no difference whether I quote my version property or not. Any this plugin works just fine for one project but in the other I get the error I posted above and I can't find a solution.

Hi,
is your version SemVer compatible? Helm trying to interpret it as a float sounds like it might be something like 1.2

Also, the plugin will call helm package with the --version option. It passes the version that is configured in the chartVersion property for the chart, which defaults to the Gradle project version if not set. So if your Gradle project version is not Semver compatible, you might have to set the chart version explicitly to something else:
helm {
    charts {
        register("foo") {
            chartVersion.set("1.2.3")
        }
    }
}

Btw apparently helm package --version doesn't quote the version when it injects it into the Chart.yaml, that's why your quoting the version doesn't help

If you run Gradle with the --info flag, you will see exactly what invocations of helm CLI are being made.

The problem was solved by defining the application version in gradle with three digits rather than just two. Thanks for the support!


Feat: 18 - Page scroll to top button

Is your feature request related to a problem? Please describe.
In mobile view when we start scrolling a scroll to top button should appear in the bottom right side and on click it should automatically scroll to the top automatically.
Additional Context

Thanks for this feature request @mohtasheem135
But I don't think that's a problem. Because when user adds more Color Sets, they'll have to scroll up or down anyways.
Please let me know if you think otherwise. Thanks!

There should be a scroll to the top button too in mobile view for smooth work.
I think it's a good feature, if you feel it should not be added you can close the issue.

I like the idea of "Scroll to Top" button @mohtasheem135. You can Edit your Feature Request template and add details about what is expected.
ideally, it should only be visible when user starts scrolling down and on click of that button, it should scroll the page all the way to the top.

Cool

Hello @utk09-NCL added the scroll to top button. Now to make this interesting, the background colour of "scroll-to-top" button is the base colour of the generated colour.

If you want I can share a video of this too,
if you don't like it I can add a static background colour.

Looks good @mohtasheem135
Small nitpicking - Instead of rounded and filled circle, can you make it a squared outline with rounded-sm and the border colour from the base. The UP arrow could be filled triangle like this -

with colour from the base colour

which you like better ?
option 1:

option 2:

Which you like better?
Option 1:

Option 2:

I like the Option 1

I like the Option 1


IndexError and TypeError while markdown to html conversion

When I try to convert a small markdown content into HTML with the below code,

html = MD.reset().convert(para)

it works without any problem. But when I make swarm multiple concurrent requests with that content I get the following three types of error which occurs randomly. Most of the time a single type of error would occur.
File "/Users/arjun/converter/util.py", line 101, in markdown_to_text
html = MD.reset().convert(para)
File "/Users/arjun/environments/mdtest/lib/python3.6/site-packages/markdown/core.py", line 295, in convert
output = pp.run(output)
File "/Users/arjun/environments/mdtest/lib/python3.6/site-packages/markdown/postprocessors.py", line 75, in run
html = self.md.htmlStash.rawHtmlBlocks[i]
IndexError: list index out of range```

File "/Users/arjun/converter/util.py", line 101, in markdown_to_text
html = MD.reset().convert(para)
File "/Users/arjun/environments/mdtest/lib/python3.6/site-packages/markdown/core.py", line 272, in convert
newRoot = treeprocessor.run(root)
File "/Users/arjun/environments/mdtest/lib/python3.6/site-packages/markdown/treeprocessors.py", line 378, in run
self.ancestors.pop()
IndexError: pop from empty list

File "/Users/arjun/converter/util.py", line 101, in markdown_to_text
html = MD.reset().convert(para)
File "/Users/arjun/environments/mdtest/lib/python3.6/site-packages/markdown/core.py", line 272, in convert
newRoot = treeprocessor.run(root)
File "/Users/arjun/environments/mdtest/lib/python3.6/site-packages/markdown/treeprocessors.py", line 372, in run
self.__handleInline(text), child
File "/Users/arjun/environments/mdtest/lib/python3.6/site-packages/markdown/treeprocessors.py", line 215, in __processPlaceholders
for child in [node] + list(node):
TypeError: 'NoneType' object is not iterable

And the dummy content I passed as input is,
**To edit a record:**

  1. Click the **Red** Button.

  2. In the _main_ page, click the **Home** tab in the lower-left corner.

  3. In the _Home_ page, select an record to view its details.

  4. In the _details_ page, click the **Save&amp; Data** icon ( ![](https://www.abc.com/data?id=1234567&amp;mode=inline&amp;blockId=6wqjmd23e123456789009876543){: style="width: 13px; vertical-align: sub; max-width: 100%" height width } ) from the floating widgets on the left of the screen.

  5. Under _Save &amp; Data Information_ section, click **New Data**.

It was happening randomly for different data. So reproduce the issue with a small content I took this. Generally when it happened the number of requests were low. But to reproduce the issue for this content I had to increase the request count as 200req/sec, and I could reproduce it after 20000, successfully completed requests
My suggestions are (based on the issue order)

Iterating based on the length of self.md.htmlStash.rawHtmlBlocks[i]
Checking the length before popping
Adding null checks

Which version of Markdown are you using?
Which extension, if any are you using?
Are you using a single class instance across threads? If so, that would explain the issue as an instance is not thread safe.

My suggestions are (based on the issue order)

Iterating based on the length of self.md.htmlStash.rawHtmlBlocks[i]

We are. That is what i is. I suppose we could actually get the len each time rather than cacheing it. But the fact this error is happening suggests to me one of two things: (1) an extension is misbehaving or (2) the class instance is being used across threads.

Checking the length before popping
Adding null checks

If I'm not mistaken, issues 2 and 3 should never happen. In other words, my expectation is that the situation should be impossible to get to. Something weird is going on here.
Finally, is there a reason why you can't just call markdown.markdown instead? I ask because, while using a single instance for multiple documents is supported, it is rarely used and not even the favored way in the documentation? I'm always curious why users chose to do this when a simple call to markdown.markdown works so well.

Thanks for the quick response @waylan. As you said it was because of the thread safety problem, using markdown.markdown has solved all the issues. Thanks.


Fix "V"

Impact:
Affects lowercase "v" - adds black streak under
Mono, Sans:
Affects all "v" - adds black streak under

Does this happen with some other letters too, @Pipe-to-Grep?

I'm not sure. I'll test when i get home


Updating wording for WinUI2 bug consideration

Description

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

@ranjeshj @chigy FYI

/azp run


Console icon should say 'dotnet run' instead of 'dnx.run'

DNX, we hardly knew ye!

Yes we should update this

PR #50


Show UI macros in PDF output

I frequently write manuals and one of the features for which I prefer using asciidoctor over pandoc (i.e. asciidoc oder markdown) are the UI macros, especially kbd shortcuts.
Given that ATM they are still experimental, I understand that UI macros haven't yet made it to asciidoctor-pdf.

kbd shortcuts result in just the word being written
menu selections are displayed with a pipe symbol instead of a triangle.

I thought I open a ticket so this can be tracked...

Thanks for reporting @jniggemann. You are correct that we don't yet style these elements. However, we have all the raw material in place that we would need in order to do it, so let's just schedule it to happen.
Regardless of how the macros get enabled, Asciidoctor PDF will still need to style them, so I think we should proceed despite the experimental label.

menu selections are displayed with a pipe symbol instead of a triangle.

This part of the issue is now resolved and will be available in the 1.5.0.alpha.12 release.

Great to hear, thank you! I'm looking forward to test this and I'll report back...

I confirm menu selections working in 1.5.0 Alpha 12 :-)
Thank you very much!

:+1:

We still have the kbd macro remaining.

We still have the kbd macro remaining.
I'm ready for testing and waiting :-)

Hello.
Any news about supporting the kbd macro?
Thanks in advance!

Hi!
I'm really looking forward to this feature as it could enable my team to move all our documentation to Asciidoctor!
Do you have any news to share?

Now that the background color and border is supported for a phrase, we can move forward with this. We just need to port the logic used for the button. See #451.

It's now possible to control the style of the menu, button, and key (kbd) elements in one form or another. There are still some limitations due to the capabilities of Prawn, but you should be able to get pretty close to the styling you'd use in HTML/CSS.

Refer to the theming guide for details.

This is great, thank you very much for your hard work!
I'll try this ASAP, but in this case ASAP means after the summer holidays.

I can confirm it works perfectly with Asciidoctor PDF 1.6.2 using Asciidoctor 2.0.17:

Thanks for confirming!


Add support to record selection information for a datarun

I am working on ATM-VIS, a web-based GUI for atm.
Currently, the db only stores classifier information. Users have no clues of how each hyperpartition is chosen at each step, and they have no hints on which selector to use. Providing the selector information at each step might help the users better understand or trust the ATM procedures (or leads to improvements of the algorithm).
There is a need to provide selection information (rewards/arm scores) during (or after) a data run to the users (so that the users can choose a selector that suits their needs).
For example, we would like to plot how the rewards of each hyperpartition (or method) changes as the datarun proceeds

It seems that we would need to modify the code in BTB to make this happen?
I checked the BTB code. It seems that the Selector does not seem to provide an api to retrieve the arm scores (one score for each hyperpartition) for a given step (or given score histories)?

What about the compute_rewards API method? https://hdi-project.github.io/BTB/btb.selection.html#btb.selection.selector.Selector.compute_rewards


Homebrew kfctl

It would be nice to have a formula in homebrew for kfctl

there was a problem building homebrew kfctl for 1.1.0 which was fixed in 1.2.0.rc0. I can submit the PR to homebrew when it is ready.

I was able to get it working in 1.1.0 https://github.com/Homebrew/homebrew-core/pull/65230

When the PR gets merged in. I will submit a PR to this repo for the documentation.

The Upstream won't be able to accept the PR because we are compiling against go version 1.13 which is not maintained.
I tried compiling kfctl in 1.15 and there were go vet issues and couldn't compile it.

So do you expect the upstream to fix this before coming with a brew formula?

I expect upstream to not be a year behind in security updates. If there is no work being done to keep up to date I'd consider it abandoned and violating the rule:

https://docs.brew.sh/Acceptable-Formulae#niche-or-self-submitted-stuff

be maintained (i.e. the last release wasn’t ages ago, it works without patching on all supported macOS releases and has no outstanding, unpatched security vulnerabilities)

Originally posted by @SMillerDev in https://github.com/Homebrew/homebrew-core/pull/65230#discussion_r528545331

Duplicate of #420


Support image customization in the CRD spec

two options：

add registry prefix
add image property together with pullpolicy and pullsecrets

offline discussed with @heww:
1st priority: load image from the component.image
2nd priority: load from the global repository settings:
image_source:
  repository: https://goharbor.io
  tag: v2.1.2-customize_tag
  pullPolicy: IfNotPresent
  imagePullSecret: <secret>

3rd priority: load image by configStore(if it's set)
4th priority: load from hardcoded image
consts (
  defaultPrefix = "goharbor/"
  defaultTag = "V2.1.2"
)

check #368

check #368


"SyntaxError: Unexpected non-whitespace character..." from JSON response

Describe the bug
I'm running Supabase locally while developing a Flutter app and am seeing a reproducible error when submitting a OTP during an email-change flow. Upon submitting the token, a SyntaxError is being thrown from the GotrueFetch class.
SyntaxError: Unexpected non-whitespace character after JSON at position 105 (line 1 column 106)

It comes from a json.decode(utf8.decode(response.bodyBytes)) call and, after debugging, it appears that I'm actually getting invalid JSON back from the POST request.
{"code":"200","msg":"Confirmation link accepted. Please proceed to confirm link sent to the other email"}null

The request is successful but the body is invalid and failing to parse.
To Reproduce
I haven't seen this for any request other than verifying an OTP for an email change.

Submit a request to update the user's email (updateUser in the Flutter SDK)
Retrieve the OTP from inbucket
Submit a request to verify the OTP (verifyOTP in the Flutter SDK)

Expected behavior
I expected to submit my OTP without error.
Screenshots

Desktop (please complete the following information):

OS: macOS Sonoma
Browser: Chrome (118.0.5993.88)
Version of CLI: 1.100.1

Edit:
I'm using supabase_flutter version ^1.10.22

I've pinged our teams internally and it doesn't seem like an issue with gotrue. Tagging @dshukertjr here as he's more familiar with our flutter sdk and might be able to help.

@andyhorn
I am using the Supabase CLI v1.106.1, and I am unable to reproduce the issue you are experiencing. Would you be able to update your Supabase CLI and see if you will still encounter the same issue?
However, I did find a separate issue that will throw an error when verifying the OTP sent to the email just after the json parsing part. The following PR should fix the SDK issue. https://github.com/supabase/supabase-flutter/pull/680

@andyhorn if you are still facing this issue, could you report your local service versions to help us reproduce?
supabase services

I will close this for now as it seems fixed in the latest release.

I apologize for not responding in time.
I wrote some workaround code, but I can still reproduce this, even after updating to 1.110.1.
Another note: It only happens if I try to validate the OTP from the new email address before verifying the OTP from the previous/current email address.

server % supabase -v
1.110.1

server % supabase services

        SERVICE IMAGE      │        LOCAL         │   LINKED
  ─────────────────────────┼──────────────────────┼─────────────
    supabase/postgres      │ <IP_ADDRESS>           │ <IP_ADDRESS>
    supabase/gotrue        │ v2.92.1              │ v2.104.2
    postgrest/postgrest    │ v11.2.0              │ v11.2.0
    supabase/realtime      │ v2.10.1              │ -
    supabase/storage-api   │ v0.40.4              │ v0.43.9
    supabase/edge-runtime  │ v1.22.3              │ -
    supabase/studio        │ 20231023-7e2cd92     │ -
    supabase/postgres-meta │ v0.68.0              │ -
    supabase/logflare      │ 1.4.0                │ -
    bitnami/pgbouncer      │ 1.20.1-debian-11-r39 │ -
    darthsim/imgproxy      │ v3.8.0               │ -

Run supabase link to sync your local image versions with the linked project.


Docs-Update writeup_template.md

The implementation of the headers needed spaces.

Fixed in commit 2fb2a38d9c84c5804d913af11692e0b66f0f99b1, thanks for noticing!


Question: result order of .mutliGet method

You want to:

For multiGet method, is order of returned results guaranteed to match the order of arguments?
Details:

It looks like it does

It looks like it does

Thank you 🙏


Add a Binder badge

Description

You could add a Binder badge to launch the Jupyter notebooks in a cloud instance
Homepage: https://mybinder.org
Src: https://github.com/jupyterhub/binderhub
Docs: https://binderhub.readthedocs.io/en/latest/
https://github.com/QISKit/qiskit-sdk-py/issues/177
Your Environment
binder builds cloud containers with repo2docker.
repo2docker will install from requirements.txt and/or environment.yml
Docs: https://repo2docker.readthedocs.io/en/latest/samples.html#conda-mixed-requirements
Src: https://github.com/jupyter/repo2docker

conda env export -f environment.yml
https://conda.io/docs/user-guide/tasks/manage-environments.html#exporting-the-environment-file

Hi,
Thank you very much! This seems cool indeed. Would you be able to explain steps to do that? Perhaps writing a blog or an article on how to run notebooks in the tutorial here will be very nice to people who are not familiar to github and just want to run the tutorials.

Add a Binder badge to README.rst
( Ensure that binder (repo2docker) can install the necessary dependencies with an e.g. environment.yml )

Enter the URL and file path into the form at mybinder.org
Click the badge icon
Copy the RST source to the clipboard
Paste the Binder SVG badge link RST source to README.rst:

.. image:: https://mybinder.org/badge.svg :target: https://mybinder.org/v2/gh/QISKit/qiskit-tutorial/master?filepath=index.ipynb

(Near the top / 'above the fold' of the README?)
Launch the notebooks in a Binder instance

Click on the Binder SVG badge (that says "launch binder") to open /index.ipynb
Click any of the (relative) links in index.ipynb to open them in the already-provisioned Binder Docker instance

Many thanks! It seems to work pretty well and so easy!!
However, this notebook produces error when run with mybinder
1_introduction/getting_started.ipynb

Interesting. I jumped ahead to 2. "Superposition and Entanglement" and that seemed to work okay.
The given notebook seems to open in nbviewer just fine; so the JSON isn't a problem with whichever component versions are live on nbviewer.  IDK why there's a Unicode symbol \ufeff in the JSON? Maybe that's normal? I would need to get to a terminal with hexdump or xxd to take a look.
The complete error message from mybinder.org JupyterHub is:
Unreadable Notebook: /home/jovyan/1_introduction/getting_started.ipynb NotJSONError('Notebook does not appear to be JSON: \'\\ufeff{\\n "cells": [\\n {\\n "cell_typ...',)

https://github.com/QISKit/qiskit-tutorial/blob/stable/1_introduction/getting_started.ipynb
It shouldn't be necessary, but one can install BinderHub locally (or just repo2docker) to test with. There may be a way to run the jupyter convert equivalent to runipy at container build time (e.g. after environment.yml or in addition to calling environment.yml) with repo2docker:
jupyter nbconvert --to notebook --execute mynotebook.ipynb

Thanks. It appears that the error is due to the file getting_started.ipynb that I fixed just now.
https://github.com/QISKit/qiskit-tutorial/issues/72

@diego-plan9 when we are finished with the tutorial rework can you look into this and see what we should do here.

This: https://github.com/QISKit/qiskit-tutorial/issues/64#issuecomment-353984390
https://mybinder.org/v2/gh/QISKit/qiskit-tutorial/master?filepath=index.ipynb

The heading links seem to link to directories instead of .ipynbs?

done. A few things that would be good. To get the circuit_drawer working with python and qconfig handled better. These are all on the roadmap for qiskit so im going to close for now.

@westurner i got it working with the latex (binder is really nice) and i got the qconfig working by skipping it in the the header and using getpass. Thanks for the suggestions and let me know if you have more improvements.

Thanks!
On Wednesday, June 6, 2018, Jay Gambetta<EMAIL_ADDRESS>wrote:

@westurner https://github.com/westurner i got it working with the latex
(binder is really nice) and i got the qconfig working by skipping it in the
the header and using getpass. Thanks for the suggestions and let me know if
you have more improvements.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/QISKit/qiskit-tutorial/issues/64#issuecomment-395165768,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AADGyy1RGEH8U7ZnARmv8-V87UKmRXB-ks5t6B1BgaJpZM4Q3q3Q
.


Fixed release build error in RN 56.0+

Fixed Execution failed for task ':react-native-custom-tabs:verifyReleaseResources'.

Failing for me aswell

Eta on merge? This is a blocking issue at the moment...

Can you please merge this? Thanks!

I think there is no release with this fix, I'm having this issue using the latest version 0.1.7 @Arjan-Zuidema

Please merge

Eta on merge? This is a blocking issue at the moment...

Please merge

I have used this to update this package npm i git+https://github.com/Arjan-Zuidema/react-native-custom-tabs.git
It works for me

Is there any ETA for merging this PR? I am running into this problem in February 2020 and it is still not fixed.

Is there any ETA for merging this PR? I am running into this problem in February 2020 and it is still not fixed.

i have an same error

Is there any ETA for merging this PR? I am running into this problem in February 2020 and it is still not fixed.

i have an same error

You can use my fork, that one should work 🙂


Why do you need to return webpackConfig?

I'm building my CRA wrapper around this package and while doing that, I noticed the return webpackConfig statement seems redundant, because if I return a deeply copied object, it doesn't apply my configuration. Instead, I must return the original object. It gets even more confusing, because if we mutate the object, the return is basically useless.
Would love to hear an explanation to this. 👍
PS
In my code, I have a pure function that takes on the webpackConfig object, returns its copy and then it gets merged with the original object and mutates it, so it does not hinder readability or cause implicit/magic issues.

Hi @adi518
It might be a bug, any returned object should do it.
How do you use it?

Initial attempt:
module.exports = {
  webpack: {
    configure: webpackConfig => {
      const webpackConfigCopy = cloneDeep(webpackConfig)
      webpackConfigCopy.output.path = "foo"
      return webpackConfigCopy;
    }
  }
};

What actually worked:
module.exports = {
  webpack: {
    configure: webpackConfig => {
      const webpackConfigCopy = cloneDeep(webpackConfig)
      webpackConfigCopy.output.path = "foo"
      merge(webpackConfig, webpackConfigCopy)
      return webpackConfig;
    }
  }
};

Hi @adi518
I tried to reproduce the problem without success, the returned webpack object is used has expected.
module.exports = {
    webpack: {
        configure: webpackConfig => {
            return {
                foo: "bar"
            };
        }
    }
};

What's your full craco config? It might be another feature of craco that override the returned webpack config object with the original one.
Patrick

I'll test it few more times, maybe it was just a glitch on my part. What about paths though? we are supposed to just mutate it? the example doesn't include it in the return statement.

Yes you can mutate paths it in this function. I wouldn't recommend it though since there is a lot of hardcored paths in CRA config, mostly for Jest.
See https://github.com/sharegate/craco/issues/46 for more info

I have no choice, but mutated just one entry for the time being, so not a big deal.

Since there is no activity, I will close this issue, feel free to open a new one!


Fire events or callbacks at zoomIn, zoomToElement etc...?

Is it possible to fire events or callbacks, when a trigger end animation with zoomIn, zoomOut zoomToElement etc was finished? I didn't found it anywhere, I guess this would be a nice enhancement.
Listening to onZoomStop, onPanningStop only triggers events, when user interacts with the transform.

I second this.  I need to run a function on callback anytime a zoomIn or zoomOut is called (including double-click, pinch, wheel).  It would be great if the state could be returned whenever any change happened—not just pinch, pinch, wheel.  Thanks!

Anyone have a workaround way to access state after calling zoomIn, or zoomOut?
My use case is adding disabled state to buttons based on scale. Updating on scroll/pinch events with onZoom is working great but I don't have a way to access the state when calling zoomIn, or zoomOut via buttons.
https://codesandbox.io/s/epic-drake-sg5dn

Seconding this as well, would be extremely handy to scale certain elements differently manually

Faced with the issue, and only issue to get current state after zoomIn or zoomOut is to use ref like this:
<TransformWrapper
initialScale={ 2 }
ref={ (ref) => { console.log('ref ', ref); } }
...

useTransformEffect does fire after zoomIn and zoomOut

Listening to onZoomStop, onPanningStop only triggers events, when user interacts with the transform.

I faced the same issue. Callbacks on onPanning, onPanningStop doesn't fire during the animation after the user releases the mouse/touch.


Position reporting and getVolume performance improvements.

Summary: Position reporting and getVolume performance improvements.
Type: Fix
Test Plan: UT/ CT
Jira: RIALTO-667

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/64917/

Sanity tests for ['BCM 7216OTT Refboard VA'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/64918/

Job for AI/job/AI_BUILDS/job/AI-Trigger-PR-Builds started: https://pv-jen015.uk2.scp.bskyb.com/job/AI/job/AI_BUILDS/job/AI-Trigger-PR-Builds/50/

Job for AI/job/AI_BUILDS/job/AI-Trigger-PR-Builds started: https://pv-jen015.uk2.scp.bskyb.com/job/AI/job/AI_BUILDS/job/AI-Trigger-PR-Builds/56/

Sanity tests for ['RPI4 IPSTB'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/65254/

Sanity tests for ['BCM 7216OTT Refboard VA'] added.
https://jenkinsrdkm.cmf.code.rdkcentral.com/job/test-components-flow/65255/


Access Filter Values In Fields Function

Consider the following nova lense:
<?php

namespace App\Nova\Lenses;

use Illuminate\Http\Request;
use Laravel\Nova\Http\Requests\LensRequest;
use Laravel\Nova\Fields\Number;
use Maatwebsite\LaravelNovaExcel\Actions\DownloadExcel;
use App\Nova\Filters\Inventory\Date;

class Inventory extends Lens;
{
    public function fields(Request $request)
    {
       $date = ??? // Access the date filter value
        return [
            Number::make('Stock', 'stock')->resolveUsing(function () use ($date) {
                ...
                return $stock;
            }),
        ];
    }

    public function filters(Request $request)
    {
        return [
            new Date,
        ];
    }

    public function actions(Request $request)
    {
        return [
            (new DownloadExcel)->withHeadings()
        ];
    }
}

If the fields function is called by nova itself to form the index results the request object contains the active filters values. However if it is called from the DownloadExcel action, they are empty.
I think this could be considered a bug. Or at least I would say it should be possible to access the filter values from within the fields function
Is there at least a quick workaround to get the filter values?
Please also see https://github.com/laravel/nova-issues/issues/2405

This should help you:
public function calculate(NovaRequest $request)
    {
        $model = PaymentSystem::make();

        if ($request->has('filters')) {
            // Get the decoded list of filters
            $filters = json_decode(base64_decode($request->filters));

            foreach ($filters as $filter) {
                if (empty($filter->value)) {
                    continue;
                }

                // Create a new instance of the filter and apply the query to your model
                $model = (new $filter->class)->apply($request, $model, $filter->value);


Requested resource does not exist on linux native

Hello, I tried to clone your repo but something must have gone wrong.
Everything works fine with cargo make serve but when I try to run a simple cargo run the game crashes right after start with this error: thread 'mainthread '' panicked at 'Requested resource does not exist: alloc::boxed::Box<dyn bevy_render::renderer::render_resource_context::RenderResourceContext>...
Here's the full error with RUST_BACKTRACE=1 https://pastebin.com/Cs10g1Qc
rustc --version = rustc 1.56.1 (59eed8a2a 2021-11-01)
uname -a = Linux snowy-pc 5.10.70-1-MANJARO #1 SMP PREEMPT Thu Sep 30 15:29:01 UTC 2021 x86_64 GNU/Linux

Some features need to be enabled for native. Try cargo run --features native.

Ah, I missed that, I'm sorry


Fix #1324 pipenv requirements script

What is the context of this PR?
The dev dependencies should not be included in the requirements.txt when the app is deployed.
pipenv lock -r also includes dev dependencies. This script is a work-around to only include (hashed) production dependencies in requirements.txt (to be used on Jenkins for EB build).
NB: Jenkins build for "Deploy Survey Runner to Elastic Beanstalk" will need its config updated to run this new script in place of the pipenv lock -r... line.
Inspired by https://github.com/kennethreitz/pipenv/issues/245#issuecomment-283694215
Fixes: #1324

Latest version of Pipenv doesn't have this issue thanks to https://github.com/kennethreitz/pipenv/pull/972

Closing as this is fixed in latest version of Pipenv.


Update Flutter to use mojo_sdk 0.2.5

This is needed so we can use the Activity service which is blocking https://github.com/vanadium/syncslides/issues/4

@kulakowski was also interested in updating Mojo in Flutter.  I can take of this tomorrow.

Something changed about the handle watcher startup sequence.
  [1203/103244:ERROR:dart_error.cc(16)] Dart_Invoke: did not find static method 'MojoHandleWatcher._start'.
  [1203/103244:FATAL:dart_init.cc(69)] Check failed: !LogIfError(Dart_Invoke( handle_watcher_type, Dart_NewStringFromCString("_start"), 0, nullptr)).

zra helped me through it.

Engine is now on mojo_sdk 0.2.5

Still need to roll engine into flutter.git.

Done.


Remove plugin config from plugin deployment api

What this PR does:
Remove plugin config from plugin deployment APIs.
Why we need it:
We can pass the plugin config to the plugin once the piped starts the plugins; we don't need to pass the plugin config each time the piped calls the plugins' interfaces.
Which issue(s) this PR fixes:
Fixes #
Does this PR introduce a user-facing change?:

How are users affected by this change:
Is this breaking change:
How to migrate (if breaking change):

Thanks. BTW, do we have to add an RPC like InitializePlugin?

I will think about this while implementing the piped start plugins logic 👍


Clean GHC clone, "getDirectoryContents: does not exist" error

I just did a git pull, make distclean, git clean -f etc. and my tree is clean. However after ./boot and ./configure, ./hadrian/build.sh fails with this:
/----------------------------------------------------------------------------------------\
| Successfully built library 'ghc-boot-th' (Stage0, way v).                              |
| Library: _build/stage0/libraries/ghc-boot-th/build/libHSghc-boot-th-8.7.a              |
| Library synopsis: Shared functionality between GHC and the @template-haskell@
library. |
\----------------------------------------------------------------------------------------/
././tools/derive: getDirectoryContents:openDirStream: does not exist (No such file or directory)
shakeArgsWith   0.000s    0%
Function shake  0.270s    1%
Database read   0.000s    0%
With database   0.000s    0%
Running rules  15.245s   98%  =========================
Total          15.516s  100%
Error when running Shake build system:
* _build/stage1/lib/bin/unlit
* OracleQ (PackageDataFile (Context {stage = Stage1, package = Package {pkgLanguage = Haskell, pkgType = Program, pkgName = "unlit", pkgPath = "utils/unlit"}, way = v}))
* _build/stage1/utils/unlit/setup-config
* _build/stage0/bin/ghc
* OracleQ (PackageDataFile (Context {stage = Stage0, package = Package {pkgLanguage = Haskell, pkgType = Program, pkgName = "ghc-bin", pkgPath = "ghc"}, way = v}))
* _build/stage0/ghc/setup-config
* _build/stage0/lib/package.conf.d/ghc-boot-8.7.conf
* OracleQ (PackageDataFile (Context {stage = Stage0, package = Package {pkgLanguage = Haskell, pkgType = Library, pkgName = "ghc-boot", pkgPath = "libraries/ghc-boot"}, way = v}))
* _build/stage0/libraries/ghc-boot/setup-config
* _build/stage0/lib/package.conf.d/binary-<IP_ADDRESS>.conf
* OracleQ (PackageDataFile (Context {stage = Stage0, package = Package {pkgLanguage = Haskell, pkgType = Library, pkgName = "binary", pkgPath = "libraries/binary"}, way = v}))
* _build/stage0/libraries/binary/setup-config
ExitFailure 1

Not sure if relevant but cabal version:
cabal-install version <IP_ADDRESS>
compiled using version <IP_ADDRESS> of the Cabal library

This is a bug in Cabal, tracked in https://github.com/snowleopard/hadrian/issues/634 -- we also give instructions (that our CI uses) to use the right Cabal branch, until the patch propagates to Cabal and then to GHC head.

Thanks @alpmestan!
@osa1 Hopefully, Cabal will be soon fixed upstream, but in the meanwhile you can bump your Cabal library locally. I'm closing this, but if you need further help, don't hesitate to get in touch!


Release as a screensaver for Windows

Is there a possibility that you can port this beautiful work to a windows screensaver???
maybe use vulkan ???

Flux is now available as a native Windows screensaver!
You can buy a copy at https://sandydoo.gumroad.com/l/flux and help support development.
Or build your own from source.


fix: Handle metadata sequences for most object types.

Fixes https://github.com/DanCardin/sqlalchemy-declarative-extensions/issues/91

Pull Request Test Coverage Report for Build<PHONE_NUMBER>3
Details

139 of 139 (100.0%)  changed or added relevant lines in 17 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.4%) to 90.956%

Totals

Change from base Build<PHONE_NUMBER>1:
0.4%

Covered Lines:
3473

Relevant Lines:
3776

💛  - Coveralls


Segmentation fault due to syntax error

Issue Summary
Running the following code while inside an Express server produces a segmentation fault on my system:
 db.run(`
        INSERT INTO quiz ($id, $name, $author, $dateutc)
        VALUES ($id, $name, $author, $dateutc)`,
        params
    )

I was attempting to use Postgres syntax, which I now realise is incorrect of course.
When the above code runs, my Express server exits, and the following message is displayed in my terminal:
zsh: segmentation fault  npm start
Steps to Reproduce

Run the above code while inside an Express server
The process exits with the message: zsh: segmentation fault  npm start

Version
5.1.6
Node.js Version
16.8.1
How did you install the library?
npm install sqlite3

I can't seem to reproduce this. Can you give a more concrete example and then I'd be happy to fix it 🙂


Volume percentage

Great add-on to begin with, actually the only one that works well with the Samsung Soundbars.
I have a small feature request: If you set the "max_volume: 50" and you set the volume all the way up, the volume shows as 100 (%) in HomeAssistant. Would it be possible to change that into the absolute volume and not the percentage? This way I can more accurately set my volume to for example "20".
Thank you in advance!

@Xitro01 actually my version of built-in SmartThings integration works as well ;)
If you want to set your volume accurately you would have to remove max_volume from your config. HA works with percentage and I used scaled version on purpose, because if you set max_volume to ~20 then you don't have to be so precise with volume slider in HA

@Xitro01 actually my version of built-in SmartThings integration works as well ;)
If you want to set your volume accurately you would have to remove max_volume from your config. HA works with percentage and I used scaled version on purpose, because if you set max_volume to ~20 then you don't have to be so precise with volume slider in HA

I actually like to have it scaled and have a max of 50, as it indeed blows your windows out if you set your volume at 100.
But it would be nice to actually see the exact volume that you're putting it on. Not that if you put it on 24, that it's actually 12 on the soundbar. There is no way to make this work 1:1 with a max of 50 for example?

Unfortunately it's not possible :( I can add an attribute that will show an actual volume, but you won't see it on slider

Too bad, would've been great. Thank you!


[Feature Request]: Implementing Non-copyable captcha

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
the captcha is copyable and the background is plain
Use Case
The captcha should not be copyable and the background should not be clean that is the standard captcha
Benefits
That will be the standardization of captcha and the project will be enhanced
Add ScreenShots

Priority
High
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I have starred the repository

@VaibhavArora314 assign this to me I will do this since I already did this issue that's why !

@anwesha2002 any updates?


Ui deploy part2

This PR does three things:

Adds the --dash-image flag to pachctl deploy so that you can manually specify a dash image (helpful for debugging purposes)
Comes with a default dash image to provide for the image URL

Tries to lookup, e.g. https://pachyderm.io/versions/dash/1.4/latest to get the latest version compatible w the given version of pachctl
We opted for this bcz we anticipate a bunch of releases of the dashboard, so this will be convenient for us and users

Updates pachctl port-forward to also forward ports for the UI frontend + websocket proxy

Things this PR does not do:

provide any docs on the UI
handle the multi-cluster port forwarding case (described in #1684)
update the release script to update the default version of the UI defined in goland when we cut a point release, I'll update #1514 to include this modification if this PR lands

LGTM


Recent projects not appearing in Windows taskbar anymore (can't be pinned)

Type: Bug
This used to work: When I open project (doesn't matter if local or remote on WSL), I was able to pin it to the taskbar in Windows 11.
For some reason, this is not working for me in the current version.
I can still open projects and they show up in "Recent" of the welcome window.

But they don't show up and can't be pinned in the taskbar, not even if a project is currently open:

VS Code version: Code 1.77.3 (704ed70d4fd1c6bd6342c436f1ede30d1cff4710, 2023-04-12T09:16:02.548Z)
OS version: Windows_NT x64 10.0.22621
Modes:
Sandboxed: No
Remote OS version: Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

System Info

Item
Value

CPUs
AMD Ryzen 7 PRO 5850U with Radeon Graphics      (16 x 1896)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
30.83GB (9.81GB free)

Process Argv
--file-uri=vscode-remote://wsl+Urbyo/home/magnattic/code/urbyo/platform/urbyo.code-workspace --remote=wsl+Urbyo --crash-reporter-id becc655e-3081-4047-91d8-e84f05b6d232

Screen Reader
no

VM
0%

Item
Value

Remote
WSL: Urbyo

OS
Linux x64 <IP_ADDRESS>-microsoft-standard-WSL2

CPUs
AMD Ryzen 7 PRO 5850U with Radeon Graphics (16 x 1896)

Memory (System)
23.47GB (15.64GB free)

VM
0%

Extensions (59)

Extension
Author (truncated)
Version

vscode-apollo
apo
1.19.11

vscode-zipfs
arc
3.0.0

svelte-intellisense
ard
0.7.1

markdown-preview-github-styles
bie
2.0.2

npm-intellisense
chr
1.4.4

path-intellisense
chr
2.8.4

vscode-css-modules
cli
0.5.1

vscode-eslint
dba
2.4.0

vscode-deno
den
3.17.0

gitlens
eam
13.5.0

EditorConfig
Edi
0.16.4

prettier-vscode
esb
9.12.0

vscode-open-in-npm
fab
1.0.4

psalm-vscode-plugin
get
2.7.0

codespaces
Git
1.14.6

copilot
Git
1.84.51

copilot-labs
Git
0.12.791

remotehub
Git
0.54.0

vscode-github-actions
git
0.25.6

vscode-pull-request-github
Git
0.62.0

gitpod-desktop
git
0.0.99

vscode-graphql
Gra
0.8.7

vscode-graphql-execution
Gra
0.1.8

vscode-graphql-syntax
Gra
1.1.0

vscode-test-explorer
hbe
2.21.1

npm-dependency-links
her
1.2.0

easy-snippet
inu
0.6.3

latex-workshop
Jam
9.8.2

pubspec-assist
jer
2.3.2

commitlint
jos
2.4.2

vscode-jest-test-adapter
kav
0.8.1

git-graph
mhu
1.30.0

vscode-scss
mrm
0.10.0

vscode-docker
ms-
1.25.0

playwright
ms-
1.0.10

remote-ssh
ms-
0.100.0

remote-ssh-edit
ms-
0.84.0

remote-wsl
ms-
0.77.0

azure-repos
ms-
0.30.0

remote-explorer
ms-
0.4.0

remote-repositories
ms-
0.32.0

test-adapter-converter
ms-
0.1.7

vsliveshare
ms-
1.0.5862

vsliveshare-pack
ms-
0.4.0

vscode-jest
Ort
5.2.3

vscode-versionlens
pfl
1.5.0

vscode-commons
red
0.0.6

vscode-yaml
red
1.12.2

vscode-sort-json
ric
1.20.0

svg-preview
Sim
2.8.3

vscode-zipexplorer
sle
0.3.1

vscode-stylelint
sty
1.2.4

svelte-vscode
sve
107.3.0

sass-indented
syl
1.8.26

jestRunIt
ves
0.6.0

intellicode-api-usage-examples
Vis
0.2.7

vscodeintellicode
Vis
1.2.30

vscode-conventional-commits
viv
1.25.0

pretty-ts-errors
yoa
0.3.0

A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vswsl492:30256859
vslsvsres303:30308271
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012cf:30540253
pynewext54:30695312
azure-dev_surveyone:30548225
nodejswelcome1cf:30587006
2e4cg342:30602488
pyind779:30671433
f6dab269:30613381
pythonsymbol12:30671437
a9j8j154:30646983
azdwalk:30721579
pythonms35:30701012
pythonfmttextcf:30716743

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

You are right, I seem to have accidentally switched this off in Windows somewhere in the past.
For anyone else stumbling across this problem, it's this setting in Personalization > Start:

Show recently opened items in Start, Jump Lists, and File Explorer

Thanks for getting me on the right track!


Update README.md in terms of filters usage

Closes #15

In fact it is hard to say that this way is correct. because filters field exists in plugin options. But it works for me


gradle config to include test resources in classpath

the previous config only included test classes. this new config also ensures that test resources are available in the runtime classpath during execution of cucumber tests
testClasses depends on compileTestJava and processTestResources as per the gradle documentation:
https://docs.gradle.org/current/userguide/java_plugin.html

Awesome - thanks @tjamesturner!

Hi @tjamesturner,
Thanks for your making your first contribution to Cucumber, and welcome to the Cucumber committers team! You can now push directly to this repo and all other repos under the cucumber organization! 🍾
In return for this generous offer we hope you will:

✅ Continue to use branches and pull requests. When someone on the core team approves a pull request (yours or someone else's), you're welcome to merge it yourself.
💚 Commit to setting a good example by following and upholding our code of conduct in your interactions with other collaborators and users.
💬 Join the community Slack channel to meet the rest of the team and make yourself at home.
ℹ Don't feel obliged to help, just do what you can if you have the time and the energy.
🙋 Ask if you need anything. We're looking for feedback about how to make the project more welcoming, so please tell us!

On behalf of the Cucumber core team,
Aslak Hellesøy
Creator of Cucumber


Add Open Access of Mycology and Mycological Science and fix typo

👍 good to merge.
That one is mentioned here: https://flakyj.blogspot.com/2017/01/medwin-publishers.html


Proposal to put repo/site content under Creative Commons Share-Alike license

The Express Technical Committee is proposing to put the content of this repository under the Creative Commons Attribution-ShareAlike 3.0 license.
Note that this does not affect the copyright on the material, which remains unchanged, but it grants the right to distribute the copyrighted work for any purpose (even commercial); You may modify the content, and distribute derivative works only under a license identical ("not more restrictive") to this license.  In any case, you must give appropriate credit, provide a link to the license, and indicate if changes were made.  Please see the link above for full details on the license.
This addresses https://github.com/expressjs/expressjs.com/issues/413, which is a long-standing need to establish a license for material in this repo/website.
Please discuss, and air any questions or concerns.  @expressjs/express-tc

Let's just do it, since we still haven't heard anything I suppose :) ? /cc @jasnell @mikeal

I'm happy to open a PR once I get the go-ahead from @jasnell...

Go for it.
On Jun 29, 2016 5:42 PM, "Rand McKinney"<EMAIL_ADDRESS>wrote:

I'm happy to open a PR once I get the go-ahead from @jasnell
https://github.com/jasnell...
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/expressjs/expressjs.com/issues/634#issuecomment-229530083,
or mute the thread
https://github.com/notifications/unsubscribe/AAa2ebBR_xTWFsOZEUOENLe1f8V0ks_Vks5qQxDngaJpZM4IYYoj
.

Fixed by #664


Need to handle comment nodes

Comment nodes can apparently magically stops the collapses of leading whitespace. Found the following at ABC News:
 and

But it's an inline tag, so whitespace IS supposed to be preserved.

Problem is something else entirely. We're missing the on the right, not on the left.


Handle a few extra cases

I'm sorry for not officially merging your request, however I did find the <, > fixes you made helpful and I did incorporate that into my most recent update. Thank you for your input and interest!


src: build fix for Android

pipe2 needs GNU source defined.

LGTM but the more principled approach is to define it in CMakeLists.txt and Makefile.am (grep for Android and ANDROID respectively.)
Libuv defines _GNU_SOURCE in one or two source files but it should be safe to remove those.

Will this eliminate those two warnings (only those two on android platform) ?
/__w/libuv/libuv/src/unix/process.c:144:7: warning: implicit declaration of function 'pipe2' [-Wimplicit-function-declaration]
  if (pipe2(fds, flags | O_CLOEXEC))
      ^
/__w/libuv/libuv/src/unix/process.c:144:7: warning: this function declaration is not a prototype [-Wstrict-prototypes]

https://github.com/libuv/libuv/pull/2858/checks?check_run_id=692991457#step:5:76

LGTM. It might be nice to wait for #2858 to land first.

#2858 had landed, can you rebase this pr ?

CI: https://ci.nodejs.org/job/libuv-test-commit/1932/

Sorry, forgot to merge this. Landed in 40bab5ed, thanks David.


update package.json

Signed-off-by: samzong.lu<EMAIL_ADDRESS>What type of PR is this?

/kind cleanup
What this PR does / why we need it:
Which issue(s) this PR fixes:
Fixes #

[x] upgrade path-parse to 1.0.7
upgrade a lot npm modules

Special notes for your reviewer:
@RainbowMango
@ Arhell

/assign @RainbowMango


setup

Hey Im new to lua im assuming i insert the directory in the script as the game im trying to inject into? I made some scripts in C++ and have experience in php. I think I might be brainfarting here

I'm sorry but I didn't understand what you said and why did you open an issue, I suggest you email me at<EMAIL_ADDRESS>or dm me on discord so we can talk about what you need in detail but from what I understood is that you don't know how to run the script, you need a roblox luau script executor and a paid one that I suggest and that I use myself is https://x.synapse.to.


Fix crash caused by unusual digit (number character).

I found this using fuzzing.
I'm not sure if the output makes any sense, but I feel like this
is better than just crashing. Others may disagree.

I'm happy to provide the fuzzing code as well. Link: https://github.com/siedentop/rizzy/pull/new/fuzzing/trying-fuzzing Please let me know if you want a PR for that. (I kinda suspect that this fuzzing code is not terribly useful.)

Amazing stuff: thanks!


Failed to download and build fasttext

Hey team, I have a minimal requirements.in file that only contains fasttext==0.9.2. If I try to run uv pip compile requirements.in, it returns the following error:
error: Failed to download and build `fasttext==0.9.2`
  Caused by: Failed to build: `fasttext==0.9.2`
  Caused by: Build backend failed to determine extra requires with `build_wheel()` with exit status: 1
--- stdout:

--- stderr:
/home/mkirchner/.cache/uv/.tmpCMWAZz/.venv/bin/python: No module named pip
Traceback (most recent call last):
  File "<string>", line 38, in __init__
ModuleNotFoundError: No module named 'pybind11'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "<string>", line 14, in <module>
  File "/home/mkirchner/.cache/uv/.tmpCMWAZz/.venv/lib/python3.10/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
    return self._get_build_requires(config_settings, requirements=['wheel'])
  File "/home/mkirchner/.cache/uv/.tmpCMWAZz/.venv/lib/python3.10/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
    self.run_setup()
  File "/home/mkirchner/.cache/uv/.tmpCMWAZz/.venv/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup
    super().run_setup(setup_script=setup_script)
  File "/home/mkirchner/.cache/uv/.tmpCMWAZz/.venv/lib/python3.10/site-packages/setuptools/build_meta.py", line 311, in run_setup
    exec(code, locals())
  File "<string>", line 72, in <module>
  File "<string>", line 41, in __init__
RuntimeError: pybind11 install failed.
---

I've tried including pybind11 in the requirements.in and that doesn't help either. I also have pip installed.
I'm in a miniconda environment using Python 3.10.13 with the following packages:
  _libgcc_mutex      pkgs/main/linux-64::_libgcc_mutex-0.1-main
  _openmp_mutex      pkgs/main/linux-64::_openmp_mutex-5.1-1_gnu
  bzip2              pkgs/main/linux-64::bzip2-1.0.8-h5eee18b_6
  ca-certificates    pkgs/main/linux-64::ca-certificates-2024.3.11-h06a4308_0
  ld_impl_linux-64   pkgs/main/linux-64::ld_impl_linux-64-2.38-h1181459_1
  libffi             pkgs/main/linux-64::libffi-3.4.4-h6a678d5_1
  libgcc-ng          pkgs/main/linux-64::libgcc-ng-11.2.0-h1234567_1
  libgomp            pkgs/main/linux-64::libgomp-11.2.0-h1234567_1
  libstdcxx-ng       pkgs/main/linux-64::libstdcxx-ng-11.2.0-h1234567_1
  libuuid            pkgs/main/linux-64::libuuid-1.41.5-h5eee18b_0
  ncurses            pkgs/main/linux-64::ncurses-6.4-h6a678d5_0
  openssl            pkgs/main/linux-64::openssl-3.0.13-h7f8727e_1
  pip                pkgs/main/linux-64::pip-24.0-py310h06a4308_0
  python             pkgs/main/linux-64::python-3.10.13-h955ad1f_0
  readline           pkgs/main/linux-64::readline-8.2-h5eee18b_0
  setuptools         pkgs/main/linux-64::setuptools-69.5.1-py310h06a4308_0
  sqlite             pkgs/main/linux-64::sqlite-3.45.3-h5eee18b_0
  tk                 pkgs/main/linux-64::tk-8.6.14-h39e8969_0
  tzdata             pkgs/main/noarch::tzdata-2024a-h04d1e81_0
  wheel              pkgs/main/linux-64::wheel-0.43.0-py310h06a4308_0
  xz                 pkgs/main/linux-64::xz-5.4.6-h5eee18b_1
  zlib               pkgs/main/linux-64::zlib-1.2.13-h5eee18b_1

Any ideas what might going on here?

You may need to run with --no-build-isolation in an environment that already has pybind11 installed.

Notice that pip also fails here when using --use-pep517 (which we always use, and will eventually be pip's default):
❯ pip install fasttext==0.9.2 --use-pep517
Collecting fasttext==0.9.2
  Downloading fasttext-0.9.2.tar.gz (68 kB)
     ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 68.8/68.8 kB 3.4 MB/s eta 0:00:00
  Installing build dependencies ... done
  Getting requirements to build wheel ... error
  error: subprocess-exited-with-error

  × Getting requirements to build wheel did not run successfully.
  │ exit code: 1
  ╰─> [28 lines of output]
      /Users/crmarsh/.local/share/rtx/installs/python/3.12.2/bin/python: No module named pip
      Traceback (most recent call last):
        File "<string>", line 38, in __init__
      ModuleNotFoundError: No module named 'pybind11'

      During handling of the above exception, another exception occurred:

      Traceback (most recent call last):
        File "/Users/crmarsh/.local/share/rtx/installs/python/3.12.2/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
          main()
        File "/Users/crmarsh/.local/share/rtx/installs/python/3.12.2/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 335, in main
          json_out['return_val'] = hook(**hook_input['kwargs'])
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/Users/crmarsh/.local/share/rtx/installs/python/3.12.2/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 118, in get_requires_for_build_wheel
          return hook(config_settings)
                 ^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/pip-build-env-k8h5u74n/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 325, in get_requires_for_build_wheel
          return self._get_build_requires(config_settings, requirements=['wheel'])
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/private/var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/pip-build-env-k8h5u74n/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 295, in _get_build_requires
          self.run_setup()
        File "/private/var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/pip-build-env-k8h5u74n/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 487, in run_setup
          super().run_setup(setup_script=setup_script)
        File "/private/var/folders/nt/6gf2v7_s3k13zq_t3944rwz40000gn/T/pip-build-env-k8h5u74n/overlay/lib/python3.12/site-packages/setuptools/build_meta.py", line 311, in run_setup
          exec(code, locals())
        File "<string>", line 72, in <module>
        File "<string>", line 41, in __init__
      RuntimeError: pybind11 install failed.
      [end of output]

Awesome, uv pip compile --no-build-isolation requirements.in worked!


Invoice for Creative Code SRL & Contact info from Vue.js

Email from Alex from Creative Tim:

"Hi guys,
We just did our first contribution (https://opencollective.com/vuejs#contributors). Can you please give us an invoice including this details:
CREATIVE CODE SRL...*
Also can you please give us the details of somebody from vue.js so we can see what we need to do in order to get our logo appear on their website?"

*The invoice details are in the original email

this is done.


Unit test

Hi Greg,
we need a lot of unit tests for a library like this, to be sure that things work after changes and to rapidly test new features.
Thanks

Hi, yes i was thinking about that but at this moment i don't have so much time to do this.

Checkout new branch, tests in progress

@Greg0 Good job!

I have mergesd tests from parallel branch.
Relations are not tested at all
df82c8bc7ed4d72f5eb8579ae4ed3227ba7aaf32


Performance benchmarks and comparisons to other compiler projects

The text on performance is nice and all, but doesnt show benches + time differences for the intended use case of sandboxing + jitting.

Bytecode-interpreter: Comparisons, ie against https://wavm.github.io/ would be nice (It also claims safety, but I am unsure about binary sizes). Not sure which benchmarks are best for this kind of comparison.
Optimizing compiler: How does it currently perform vs luajit? You could port the microbenchmarks suite from julia.

For many explanation like "Reduced garbage collector" its not evident to me with examples how "competitors" do it. It might make sense to create references or elaborate this as examples.

I don't think WAVM is an interesting target for us. We don't implement a JIT right now, the language is completely different, etc.
Benchmark results also depend on a compiler, for us clang vs MSVC vs gcc can result in different performance, something like LuaJIT is a more stable target because all time-critical portions there are implemented in assembly. Posting benchmark comparisons with different languages is hard! Translating languages precisely can be difficult.
In general performance documentation is provided as an illustration of techniques we had to use to improve performance. Luau doesn't claim to be superior to any given implementation or language, short of vanilla Lua where we can confidently say we're much faster than any other vanilla version. LuaJIT, especially in JIT mode, is faster than Luau at this point.
As for garbage collectors, it's difficult to explain this as well! Many garbage collectors in other languages aren't incremental, but some are generational or concurrent. At some point we will probably write a separate document on garbage collection, but we're too early in the process to describe all tradeoffs well - we have current and planned work to improve garbage collection throughput.

I'm going to close this for now, since I don't think there's any specific actionable items for us to take today, and we already have plans to keep expanding our performance documentation as more changes land or solidify. Please feel free to ask specific questions in discussion forum!

I'd slightly adjust the goal of this issue and ask for showing non-rigorous benchmarks simply by adding Luau to https://github.com/kostya/benchmarks (which is an attempt to side-step the benchmarking issues one would need to solve in rigorous benchmarks; it's also developed & maintained for years already unlike most other benchmarks).
@zeux does this sound actionable?


Can't access conneciton_id of connections set up by submodules

When creating a connection with a module like cloud-router-2-google-connection , you don't get the fcr primary or secondary connection id as an output. So there is no way to load or access any details about the equinix side of the connection that was set up.

@cprivitere , similar to the other issue #137 , the examples are just showing possible ways to use the base modules present in the modules directory. They aren't supposed to be entirely used on their own without modifications.
That being said, I do think there's value in improving the outputs of the modules in the modules directory.


[0.13] Server with a custom executor

Hi,
I'm trying to use a custom executor with Hyper 0.13.
Using the documentation example of make_service_fn, just replacing how a server is crated with a builder:
        let addr = ([127, 0, 0, 1], 3000).into();

        let make_svc = make_service_fn(|socket: &AddrStream| {
            let remote_addr = socket.remote_addr();
            async move {
                Ok::<_, Infallible>(service_fn(move |_: Request<Body>| {
                    async move {
                        Ok::<_, Infallible>(Response::new(Body::from(format!(
                            "Hello, {}!", remote_addr
                        ))))}}))}});

        let builder = hyper::Server::bind(&addr);
        let server = builder.executor(tokio::spawn).serve(make_svc);

This fails with an inscrutable error:
let server = builder.executor(tokio::spawn).serve(make_svc);
                                            ^^^^^ the trait
        `hyper::common::exec::Executor<hyper::server::conn::spawn_all::NewSvcTask<hyper::server::tcp::addr_stream::AddrStream,
        _, _, fn(_) -> tokio::task::join::JoinHandle<<_ as
        core::future::future::Future>::Output>
        {tokio::task::spawn::spawn::<_>},
        hyper::server::conn::spawn_all::NoopWatcher>>` is not
        implemented for `fn(_) -> tokio::task::join::JoinHandle<<_ as
        core::future::future::Future>::Output>
        {tokio::task::spawn::spawn::<_>}`

Any idea? Using a custom executor with similar code worked fine with hyper 0.12

Solved.
tokio::spawn or an existing tokio Runtime or Handle cannot be used. One has to define a hyper::rt::Executor implementation, and that implementation must also be Clone and Copy.
#[derive(Clone, Copy, Debug)]
struct LocalExec;

impl<F: std::future::Future + 'static> hyper::rt::Executor<F> for LocalExec {
    fn execute(&self, fut: F) {
        tokio::spawn(fut);
    }
}


ApiView: Include the package's dependencies

I always have to ask "what other packages are you depending on" during reviews and it would be nice if we could add that information automatically from the NuGet/Maven/etc. package.  We're very strict about 3rd party dependencies and don't want anything sneaking in accidentally.

This isn't just for .NET - I'd like every language to include dependencies.  I think this should be a P0.

I've added support for C#, but as far as all of the other languages go it is still an open issue.

Java has been doing this for quite some time, and I agree it is very useful:

Unassigning myself as this would require language specific implementations for each language. It is currently supported for C# and Java.

This has already been done.


Differentiate the "docker run" cluster driver type in telemetry

Currently we have no way of knowing how many "docker run" clusters are running as the driver type is k3s.
We can't purely change the driver type in the cluster object, because we use the k3s type to display cluster metrics and options. We could do what RancherD did and add your own type (ClusterDriverRancherD) and include that as a "K3SBased" type.
An easier alternative is find an easier way to identify that its a docker install, and then add logic in telemetry to increment that type, which wouldn't actually exist outside of telemetry.
If we can get this in 2.5.5 that'd be great, if it slips to 2.6 its not a huge problem.

Submitted PR https://github.com/rancher/telemetry/pull/46  to address the issue.
Added logic to telemetry client to differentiate when Rancher is deployed with docker run, incrementing k3sBased label on telemetry

Submitted PR https://github.com/rancher/telemetry/pull/46  to address the issue.
Added logic to telemetry client to differentiate when Rancher is deployed with docker run, incrementing k3sBased label on telemetry

PR https://github.com/rancher/telemetry/pull/46 merged and cut a new telemetry version, v0.5.13
How to test it:

Deploy Rancher v2.5.5 using single-node-docker installation
Get telemetry client cmd from the Rancher docker, docker exec -i <RANCHER_DOCKER> ps -ef | grep telemetry
Download new telemetry binary from https://github.com/rancher/telemetry/releases/tag/v0.5.13
Check new telemetry client cluster.driver output (should be k3sBased instead of k3s):
telemetry client --url https://<RANCHER_URL>/v3 --token-key <TELEMETRY_TOKEN> --once

...
  "cluster": {
    "driver": {
      "k3sBased": 1
    },
...

PR https://github.com/rancher/telemetry/pull/46 merged and cut a new telemetry version, v0.5.13
How to test it:

Deploy Rancher v2.5.5 using single-node-docker installation
Get telemetry client cmd from the Rancher docker, docker exec -i <RANCHER_DOCKER> ps -ef | grep telemetry
Download new telemetry binary from https://github.com/rancher/telemetry/releases/tag/v0.5.13
Check new telemetry client cluster.driver output (should be k3sBased instead of k3s):
telemetry client --url https://<RANCHER_URL>/v3 --token-key <TELEMETRY_TOKEN> --once

...
  "cluster": {
    "driver": {
      "k3sBased": 1
    },
...

This feature is verified with Rancher server rancher\rancher:v2.5.5
Steps:

Deploy Rancher using single-node-docker installation
Get telemetry client cmd from the Rancher docker, docker exec -i <RANCHER_DOCKER> ps -ef | grep telemetry
Download new telemetry binary from https://github.com/rancher/telemetry/releases/tag/v0.5.13
Check new telemetry client cluster.driver output (should be k3sBased instead of k3s): telemetry client --url https://<RANCHER_URL>/v3 --token-key <TELEMETRY_TOKEN> --once

Result:
Telemetry client cluster.driver output. is k3sBased
  "cluster": {
    "active": 1,
    "total": 1,
    ...
    "driver": {
      "k3sBased": 1
    },
   ...
  },

This feature is verified with Rancher server rancher\rancher:v2.5.5
Steps:

Deploy Rancher using single-node-docker installation
Get telemetry client cmd from the Rancher docker, docker exec -i <RANCHER_DOCKER> ps -ef | grep telemetry
Download new telemetry binary from https://github.com/rancher/telemetry/releases/tag/v0.5.13
Check new telemetry client cluster.driver output (should be k3sBased instead of k3s): telemetry client --url https://<RANCHER_URL>/v3 --token-key <TELEMETRY_TOKEN> --once

Result:
Telemetry client cluster.driver output. is k3sBased
  "cluster": {
    "active": 1,
    "total": 1,
    ...
    "driver": {
      "k3sBased": 1
    },
   ...
  },


Copied Pages should add canonical tags

Hi,
Hoping to go live with our first Piranha site this Friday :)
One missing feature that would be good for SEO is to automatically add the Canonical link tag to the head section for copied pages
Thanks
Ali

+1
All pages should have a canonical tag to be safe.
Canonical tags should take account of the prefixless permalinks setting.
Additionally, the homepage for a given site is a special case that should have it's canonical set to simply the root of the site.
I've tried building something in layout from what we already have for this...
<link rel="canonical" href="@(Request.IsSecureConnection ? "https://" : "http://")@Request.Url.Host@UI.Permalink((Request.RawUrl == "/" ? "" : Request.RawUrl))" />

But this doesn't seem to take account of the prefixless setting.  The @UI.Permalink() renders the prefix regardless.

Let's add this into the next version and maybe adding a config setting for it.

Any way I can work around it in the current version?

I'm currently testing 2.2.5, as soon as it's released I'll look at the code you provided and how to achieve it in the current version!

Well @hades200082 I took a look at this issue, and there's some challenges with implementing it without database changes.
Let's say you have two sites:
http://mainsite.com
http://productsite.com

On the product site you're displaying a page from the main site, so you want to add a canonical tag for it. The problem here is that host names are resolved dynamically, i.e when surfing productsite.com there's no way of knowing for sure the hostname for mainsite.com.
You add hostnames for your SiteTrees, but quite often you add several hostnames, for development and production for easy deployment and maintenance. For example, the productsite could have the following hostnames:
productsite.com,products.local,products.devserver

As in issue #391 we would need a new field (or perhaps config setting) with the primary hostname for each site.
Or have I misunderstood the issue @hades200082 @bapti @munnster ?

The main issue is that every page should have a canonical URL pointing to the "one true URL" for that page on the current site.
The other issue is where you have taken content from another site verbatim, some people set the canonical URL for that content to the URL on the other site in an attempt to prevent Google from penalising them for duplicate content... in practice Google ignores canonicals that are not for the same domain.
The canonical tag is simply to prevent Google from indexing multiple URL's for the same page.
A simple example is the difference between "http://www.domain.com" and "http://domain.com" versions.
Our website for example uses "https://domain.com" format ... we currently have code and redirects in place to ensure that everyone uses that version.
The problem grows the bigger the site gets as you find yourself having to create redirects and rewrite rules for more and more cases.  The simpler solution is to allow the other URL's to load the page but have a canonical tag in the head telling Google which one to actually index.
Another example of canonical usage would be where you have querystrings in use in the URL but where those querystrings don't affect the page content ... in that case the canonical would be the version without the querystrings, otherwise Google would index every querystring version separately.
Likewise, on a slightly tangential subject, rel="prev" and rel="next" links should be present or sequenced pages.  I.e. where you paginate something, like a list of posts for example, the rel next and prev links tell Google and other crawlers that the pages are part of a related sequence.


code.google.com/p/crisscross/ is down

there is no README visible in the repo, and the "about" section says
A C++ library with various uses. http://code.google.com/p/crisscross/

but that url just leads to an error page:

code.google.com pretty much closed for public usage in 2016, only some internal Google projects run there now,
could just add a README in the repo, another alternative would be GitHub Pages
... or the archive.org copy, https://web.archive.org/web/20160823103729/http://code.google.com/p/crisscross/

I don't really recommend using CrissCross for new code anyway. Just maintaining this repo for projects that actively depend on it.

Onlink?

And Darwinia, yes.


Costmap_converter_msgsConfig not found

Hello,
I'm having some difficulties putting TEB plugin to work with ROS2 foxy. I cloned the repository to my workspace folder and when I try to compile it, it throughs an error saying that it cannot find costmap_converter_msgs.
Can anyone explain to me how can I resolve this issue?
The screenshot of the error is below:

Thanks a lot for your help!

Hello @rythm07
I have the same problem.
Could you please tell me how you solved the problem?

I solve this problem by downloading the https://github.com/rst-tu-dortmund/costmap_converter.git and compile with teb


[Spotify Controls] ...

Extension
https://www.raycast.com/thomas/spotify-controls
Raycast Version
1.82.4
macOS Version
14.6.1
Description
I've been getting this error lately when I try to toggle private mode on.

Steps To Reproduce

Open Raycast
Select "Toggle private session"

Not sure how to reproduce it exactly
Current Behaviour
Gives an error. Its very likely permission error
Expected Behaviour
It toggles private mode on and off.

Hello!! @raycastbot, @methilal  :)
fix: #14396
Please, check macOS privacy settings to ensure Raycast has permission to control Spotify. Update or reinstall both Raycast and the Spotify Controls extension. Reauthorize Spotify access within Raycast if needed. If the problem persists, consult Raycast support or forums for additional help.


error when the weights that were pre-trained on sentinel-2 data

Hi there, found your notebook very interesting and helpful. I was trying to follow along when this error happened. Could you please help? Thanks in advance.
code:
base_model = smp.Unet(
encoder_name="resnet50",
in_channels=10,
classes=1,
)
base_model.encoder.load_state_dict(torch.load(base_model_local_path)) #"resnet50-sentinel2.pt"
s2_model = Sentinel2Model(base_model)
error :

It seems to be complaining that there is a difference between the shapes of the parameters you are loading and the shape of the defined model.
Are you sure you downloaded the 10-channel pre-trained weights?


Add Readme.md file to To - Do list webapp.

Add a small README.md file to the To -Do project.
Contents of the README:

Project overview.
Use of the project.
Stack of your project.
How to set up / run your project.
Screenshots of the pages / output.
(A short description under each screenshot... Describing the page a little bit)

This would help visitors / developers in genral.

@chicken-biryani can i do it

@Atif0604 Yes go ahead!