[App]: Offline resuming issue

Current Behavior
If I run a job in offline mode and stop the job, then resume, I get two different results depending on when I stop the job, shouldn't happen and is very easy to reproduce.
If I log more steps in the first part than in the second, I only see the first part being plotted on wandb. The logs contain everything but the second part is first in the logs and the first part is after.
If I log more steps in the second part, I see all the steps in the plot on wandb. The logs only contain the second part though.
Expected Behavior
All steps logged should be visible and the logs should contain all logs and in order.
Steps To Reproduce
Here's how to reproduce:
Python code, make sure to set a value for project and entity in wandb.init():
import argparse
import numpy as np
import wandb
import time

parser = argparse.ArgumentParser()
parser.add_argument("--wandb_experiment_name", type=str)
parser.add_argument("--wandb_experiment_id", type=str)
parser.add_argument("--step_to_start_at", type=int, default=0)
args = parser.parse_args()

wandb.init(project='undefined', entity='undefined', name=args.wandb_experiment_name, config=args,
    id=args.wandb_experiment_id, resume="allow")

for i in range(args.step_to_start_at, 100):
    print(f'{i}/100')
    time.sleep(1)
    wandb.log({'Train Loss': np.random.rand(1).item()}, step=i)

Then in your console run the following commands:
WANDB_EXPERIMENT_NAME="debug-wandb23" # non unique name
WANDB_EXPERIMENT_ID="2022-12-13_18-45-00" # unique wandb id, max 64 characters

wandb offline
export WANDB_DIR="./wandb/$WANDB_EXPERIMENT_ID"
mkdir -p $WANDB_DIR

python -u debug_wandb.py \
    --wandb_experiment_name=$WANDB_EXPERIMENT_NAME \
    --wandb_experiment_id=$WANDB_EXPERIMENT_ID \
    --step_to_start_at=0

And kill the job at around 50 steps.  Then sync:
wandb sync wandb/$WANDB_EXPERIMENT_ID/wandb/off*

I get the following plot:

As you can see, it logs up to about where we killed the job. If I look at the logs on wandb, they are in the wrong order:

50/100
51/100
52/100
53/100
54/100
55/100
56/100
57/100
58/100
59/100
60/100
61/100
62/100
63/100
64/100
65/100
66/100
67/100
68/100
69/100
Traceback (most recent call last):
File "/home/pratogab/Projects/efficient_video_transformer/debug_wandb.py", line 21, in
time.sleep(1)
KeyboardInterrupt
24/100
25/100
26/100
27/100
28/100
29/100
30/100
31/100
32/100
33/100
34/100
35/100
36/100
37/100
38/100
39/100
40/100
41/100
42/100
43/100
44/100
45/100
46/100
47/100
48/100
49/100
Traceback (most recent call last):
File "/home/pratogab/Projects/efficient_video_transformer/debug_wandb.py", line 21, in
time.sleep(1)
KeyboardInterrupt

If instead I kill the job at step around 20 and then run the second one for longer, I see all the logs:
WANDB_EXPERIMENT_NAME="debug-wandb24" # non unique name
WANDB_EXPERIMENT_ID="2022-12-13_18-46-00" # unique wandb id, max 64 characters

wandb offline
export WANDB_DIR="./wandb/$WANDB_EXPERIMENT_ID"
mkdir -p $WANDB_DIR

python -u debug_wandb.py \
    --wandb_experiment_name=$WANDB_EXPERIMENT_NAME \
    --wandb_experiment_id=$WANDB_EXPERIMENT_ID \
    --step_to_start_at=0

(I kill the job at around 20 steps.  Then sync:)
wandb sync wandb/$WANDB_EXPERIMENT_ID/wandb/off*

I get this:

If I look at the logs, they are missing the first part:

37/100
38/100
39/100
40/100
41/100
42/100
43/100
44/100
45/100
46/100
47/100
48/100
49/100
50/100
51/100
52/100
53/100
54/100
55/100
56/100
57/100
58/100
59/100
60/100
61/100
62/100
63/100
64/100
65/100
66/100
67/100
68/100
69/100
70/100
71/100
72/100
73/100
74/100
75/100
76/100
77/100
78/100
79/100
80/100
81/100
82/100
83/100
84/100
85/100
86/100
87/100
88/100
89/100
90/100
Traceback (most recent call last):
File "/home/pratogab/Projects/efficient_video_transformer/debug_wandb.py", line 21, in
time.sleep(1)
KeyboardInterrupt

Screenshots

Environment
OS: Linux, ubuntu 20
Browsers: Chrome
Version: wandb 0.12.14 & 0.13.6
Additional Context
No response

Hi @pratogab thanks so much for reporting this, and all the detailed information to reproduce this error.  Have you tried for instance running this to a certain step and properly terminate the job with wandb.finish() and then continue from there with resume='must'?

@thanos-wandb I tried what you asked, but same result.
import argparse
import numpy as np
import wandb
import time

parser = argparse.ArgumentParser()
parser.add_argument("--wandb_experiment_name", type=str)
parser.add_argument("--wandb_experiment_id", type=str)
parser.add_argument("--wandb_resume", action='store_true')
parser.add_argument("--step_to_start_at", type=int, default=0)
parser.add_argument("--step_to_end_at", type=int, default=100)
args = parser.parse_args()

if args.wandb_resume:
    wandb.init(project='undefined', entity='undefined', name=args.wandb_experiment_name, config=args,
        id=args.wandb_experiment_id, resume="must")
else:
    wandb.init(project='undefined', entity='undefined', name=args.wandb_experiment_name, config=args,
        id=args.wandb_experiment_id)

for i in range(args.step_to_start_at, args.step_to_end_at + 1):
    print(f'{i}/{args.step_to_end_at}')
    time.sleep(1)
    wandb.log({'Train Loss': np.random.rand(1).item()}, step=i)

wandb.finish()

WANDB_EXPERIMENT_NAME="debug-wandb25" # non unique name
WANDB_EXPERIMENT_ID="2022-12-17_10-29-00" # unique wandb id, max 64 characters

wandb offline
export WANDB_DIR="./wandb/$WANDB_EXPERIMENT_ID"
mkdir -p $WANDB_DIR

python -u debug_wandb.py \
    --wandb_experiment_name=$WANDB_EXPERIMENT_NAME \
    --wandb_experiment_id=$WANDB_EXPERIMENT_ID \
    --step_to_start_at=0 \
    --step_to_end_at=50

python -u debug_wandb.py \
    --wandb_experiment_name=$WANDB_EXPERIMENT_NAME \
    --wandb_experiment_id=$WANDB_EXPERIMENT_ID \
    --wandb_resume \
    --step_to_start_at=50 \
    --step_to_end_at=71

wandb sync wandb/$WANDB_EXPERIMENT_ID/wandb/off*

Here's the output of both runs (truncated the print(i) calls):

wandb: Tracking run with wandb version 0.12.14
wandb: W&B syncing is set to offline in this directory.
wandb: Run wandb online or set WANDB_MODE=online to enable cloud syncing.
0/50
1/50
.
.
.
49/50
wandb: Waiting for W&B process to finish... (success).
wandb:
wandb:
wandb: Run history:
wandb: Train Loss ▂▇▇▃▃▄▂▇▅▂▁▇▃▆▇▁▅▅▇▂▆▃▃▂▂▆▇▂▆▇▅▇▅▃▆▂█▃▅▃
wandb:
wandb: Run summary:
wandb: Train Loss 0.29312
wandb:
wandb: You can sync this run to the cloud by running:
wandb: wandb sync ./wandb/2022-12-17_10-29-00/wandb/offline-run-20221217_103128-2022-12-17_10-29-00
wandb: Find logs at: ./wandb/2022-12-17_10-29-00/wandb/offline-run-20221217_103128-2022-12-17_10-29-00/logs

wandb: WARNING resume will be ignored since W&B syncing is set to offline. Starting a new run with run id 2022-12-17_10-29-00.
wandb: Tracking run with wandb version 0.12.14
wandb: W&B syncing is set to offline in this directory.
wandb: Run wandb online or set WANDB_MODE=online to enable cloud syncing.
51/71
52/71
.
.
.
70/71
wandb: Waiting for W&B process to finish... (success).
wandb:
wandb:
wandb: Run history:
wandb: Train Loss ▄▂▆▃▁▆▆▅▂▆█▃▃▄▃▅▅█▆▄
wandb:
wandb: Run summary:
wandb: Train Loss 0.53598
wandb:
wandb: You can sync this run to the cloud by running:
wandb: wandb sync ./wandb/2022-12-17_10-29-00/wandb/offline-run-20221217_103231-2022-12-17_10-29-00
wandb: Find logs at: ./wandb/2022-12-17_10-29-00/wandb/offline-run-20221217_103231-2022-12-17_10-29-00/logs

And I only get the first steps again:

Hi @pratogab just an update here, I've checked your code and reproduce it on my end and it appears the offline runs won't resume. There's also a warning message displayed in the stack trace above wandb: WARNING resume will be ignored since W&B syncing is set to offline.
Therefore, you will need to either run them online or create a new run-id for the offline runs. We have already a feature request, and I will now increase the requests to our engineering team to allow resuming offline runs. I will close this ticket for now, and we will reach out to you here once there are any updated regarding this feature.
Thanks so much again for all the information provided, all the best for the new year!

Hi any updates on this feature. wandb is still ignoring 'resume' when offline
>>> wandb_run = wandb.init(id="dewtee3c",project='SM_H_S',entity='uoft' ,resume="must") wandb: WARNING resumewill be ignored since W&B syncing is set tooffline. Starting a new run with run id dewtee3c.

@thanos-wandb Any updates on this?

@MoH-assan @klieret sorry this slipped through the cracks. There's possibly a way to append the offline run if the following are true:

You still have the local run folder for the newer run you would like to append to the end of the previous run

The two runs recorded different steps. So if run_a recorded steps 0-100 and run_b recorded steps 101-200 this would work.

Here is the command you could use to do this: wandb sync --id <first-run's-run-id> --append <path/to/second/run/folder>
Would this option work for your use case?

I would like to +1 @klieret , this feature is key to me as my HPC cluster does not allow online wandb runs

I would like to know what is the state of this issue.
I crucially need to resume offline runs on my cluster since it is not connected to internet.


Legacy RPi functionality (26 Pin GPIO) + documentation

This is a neat PR! I don't personally have the hardware to test this, but I reviewed the file changes and like the approach.

Thanks.
I was tempted to rearrange things a bit to avoid the duplication that is currently there but went with simplicity for now.
The other question I had is whether anyone is aware of a particular reason why SeedSigner is using "BCM" mode as opposed to "BOARD" mode? (Basically BCM mode means you are addressing pins using their SoC based address as opposed to the board PIN number, so it's basically just a bit more abstracted)
This would then also automatically handles the difference between revision 1 (Some REALLY old Pi 1s) and revision 2 hardware and may automatically handle any future changes.

The other question I had is whether anyone is aware of a particular reason why SeedSigner is using "BCM" mode as opposed to "BOARD" mode? (Basically BCM mode means you are addressing pins using their SoC based address as opposed to the board PIN number, so it's basically just a bit more abstracted)

I honestly don't know why BCM mode was implemented over BOARD mode. Most like it was used because it work on the original version of seedsigner and was carried through the code until now.

If there is no particular reason to go with BCM then I'm happy to renumber it all for BOARD mode, test it and include that in this PR

Does BOARD mode simplify the code? Does it create additional dependencies?

Basically BOARD mode and BCM are both natively supported by the RPI.GPIO library that is already in use, so no extra dependencies are created, it's just a matter of making the change and testing that everything still works.
It simplifies things as it means that the pin assignments used in the code directly correspond to the physical GPIO header on the Raspberry Pi, as opposed to the IO numbers on the Broadcom SoC which you need to look up. (With the added bonus of automatically handling instances where this has changed with RPi revisions in the past, such as those with V1)
I'll make the change over the weekend, test it across a few models (RPi 1a, 1b, Zero 1.3 and 4B) and add it to this PR.

Code LGTM, I don't have a pi 1 to test on, but did test on pi0 and pi02w without issue.


perf: optimize Groovy-based LAL DSL with static compilation

Groovy naturally supports many dynamic features that we don't benefit for now but cost performance loss, in this patch we compile our Groovy-based DSL scripts statically to optimize performance.
Improve the performance of LAL

[x] Add a benchmark for the improvement, refer to the existing ones

class MyBenchmark {

    ModuleManager manager;
    DSL dsl;
    LogAnalyzerModuleConfig config;
    FilterSpec filter;

    @Setup
    public void setup() throws ModuleStartException {
        manager = new ModuleManager();
        config = new LogAnalyzerModuleConfig();
        filter = new FilterSpec(manager, config);
        dsl = DSL.of(manager, new LogAnalyzerModuleConfig(), "filter {\n" +
                                                             "  json {\n" +
                                                             "  }\n" +
                                                             "  // only collect abnormal logs (http status code >= 300, or commonProperties?.responseFlags is not empty)\n" +
                                                             "  if (parsed?.response?.responseCode as Integer < 400 && !parsed?.commonProperties?.responseFlags) {\n" +
                                                             "    abort {}\n" +
                                                             "  }\n" +
                                                             "  extractor {\n" +
                                                             "    if (parsed?.response?.responseCode) {\n" +
                                                             "      tag 'status.code': parsed?.response?.responseCode as int\n" +
                                                             "    }\n" +
                                                             "    tag 'response.flag': parsed?.commonProperties?.responseFlags\n" +
                                                             "  }\n" +
                                                             "  sink {\n" +
                                                             "    sampler {\n" +
                                                             "      if (parsed?.commonProperties?.responseFlags) {\n" +
                                                             "        // use service:errorCode as sampler id so that each service:errorCode has its own sampler,\n" +
                                                             "        // e.g. checkoutservice:[upstreamConnectionFailure], checkoutservice:[upstreamRetryLimitExceeded]\n" +
                                                             "        rateLimit(\"${log.service}:${parsed?.commonProperties?.responseFlags}\") {\n" +
                                                             "          qps 100\n" +
                                                             "        }\n" +
                                                             "      } else {\n" +
                                                             "        // use service:responseCode as sampler id so that each service:responseCode has its own sampler,\n" +
                                                             "        // e.g. checkoutservice:500, checkoutservice:404.\n" +
                                                             "        rateLimit(\"${log.service}:${parsed?.response?.responseCode}\") {\n" +
                                                             "          qps 100\n" +
                                                             "        }\n" +
                                                             "      }\n" +
                                                             "    }\n" +
                                                             "  }\n" +
                                                             "}"
        );
        dsl.bind(new Binding().log(LogData.newBuilder().build()));
    }

    @Benchmark
    public void testDSL(Blackhole bh) throws ModuleStartException {
        dsl.evaluate();
    }

    public static void main(String[] args) throws RunnerException {
        LogManager.shutdown();
        Options opt = new OptionsBuilder()
                .warmupForks(3)
                .forks(5)
                .include(MyBenchmark.class.getSimpleName())
                .addProfiler(GCProfiler.class)
                .build();

        new Runner(opt).run();
    }
}

[x] The benchmark result.

Before

Benchmark                                              Mode  Cnt       Score      Error   Units
MyBenchmark.testDSL                                   thrpt   25  246670.893 ± 6418.101   ops/s
MyBenchmark.testDSL:·gc.alloc.rate                    thrpt   25     602.013 ±   15.646  MB/sec
MyBenchmark.testDSL:·gc.alloc.rate.norm               thrpt   25    2688.000 ±    0.001    B/op
MyBenchmark.testDSL:·gc.churn.PS_Eden_Space           thrpt   25     602.247 ±   15.530  MB/sec
MyBenchmark.testDSL:·gc.churn.PS_Eden_Space.norm      thrpt   25    2689.112 ±   11.894    B/op
MyBenchmark.testDSL:·gc.churn.PS_Survivor_Space       thrpt   25       0.058 ±    0.008  MB/sec
MyBenchmark.testDSL:·gc.churn.PS_Survivor_Space.norm  thrpt   25       0.257 ±    0.035    B/op
MyBenchmark.testDSL:·gc.count                         thrpt   25    1498.000             counts
MyBenchmark.testDSL:·gc.time                          thrpt   25    1636.000                 ms

After

Benchmark                                              Mode  Cnt       Score      Error   Units
MyBenchmark.testDSL                                   thrpt   25  385547.228 ± 9829.731   ops/s
MyBenchmark.testDSL:·gc.alloc.rate                    thrpt   25     627.257 ±   16.030  MB/sec
MyBenchmark.testDSL:·gc.alloc.rate.norm               thrpt   25    1792.000 ±    0.001    B/op
MyBenchmark.testDSL:·gc.churn.PS_Eden_Space           thrpt   25     628.196 ±   18.549  MB/sec
MyBenchmark.testDSL:·gc.churn.PS_Eden_Space.norm      thrpt   25    1794.442 ±   15.527    B/op
MyBenchmark.testDSL:·gc.churn.PS_Survivor_Space       thrpt   25       0.066 ±    0.009  MB/sec
MyBenchmark.testDSL:·gc.churn.PS_Survivor_Space.norm  thrpt   25       0.190 ±    0.027    B/op
MyBenchmark.testDSL:·gc.count                         thrpt   25    1513.000             counts
MyBenchmark.testDSL:·gc.time                          thrpt   25    1798.000                 ms

[x] Links/URLs to the theory proof or discussion articles/blogs. <links/URLs here>

[x] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #. Not close, related to #7180

[x] Update the CHANGES log.

Please fix CI. And serialization has more performance impact for groovy, right?

Comparing 385k to 246k, we have a 50% performance increment, is this running in one Mac Intel core? Could you attach the hardware standard here?

Is this static compilation available for runtime script update or new script as input?
I am thinking to share the same core for #7168 requirement

Yes. Whenever a new LAL DSL script is created, we can compile it to Java-style static byte codes once, after that its execution performance is close to Java.

Comparing 385k to 246k, we have a 50% performance increment, is this running in one Mac Intel core? Could you attach the hardware standard here?

Yes, they were benchmarked in a single thread on my Mac.
MacBook Pro (16-inch, 2019)
Processor 2.4 GHz 8-Core Intel Core i9
Memory 32 GB 2667 MHz DDR4

# JMH version: 1.32
# VM version: JDK 1.8.0_292, OpenJDK 64-Bit Server VM, 25.292-b10
# VM invoker: /Users/kezhenxu94/.asdf/installs/java/adoptopenjdk-8.0.292+10/jre/bin/java
# VM options: <none>
# Blackhole mode: full + dont-inline hint
# Warmup: 5 iterations, 10 s each
# Measurement: 5 iterations, 10 s each
# Timeout: 10 min per iteration
# Threads: 1 thread, will synchronize iterations
# Benchmark mode: Throughput, ops/time
# Benchmark: org.apache.skywalking.MyBenchmark.testDSL

Is this static compilation available for runtime script update or new script as input?

I am thinking to share the same core for #7168 requirement

Yes. Whenever a new LAL DSL script is created, we can compile it to Java-style static byte codes once, after that its execution performance is close to Java.

Then my next question would be, if we use this as debug tool? Whether could cause metaspace oom? Or we need to set up previous dymanic engine for debug tool.

Is this static compilation available for runtime script update or new script as input?

I am thinking to share the same core for #7168 requirement

Yes. Whenever a new LAL DSL script is created, we can compile it to Java-style static byte codes once, after that its execution performance is close to Java.

Then my next question would be, if we use this as debug tool? Whether could cause metaspace oom? Or we need to set up previous dymanic engine for debug tool.

In terms of dynamic update LAL / MAL and debugging tool for LAL, we can discuss in their corresponding issues because metaspace OOM may also exist before this PR, it's due to Groovy Shell's compilation and references to some class loaders, etc.,


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 71 ms

Resolved: ClamAV performance has improved in 028b6c7.


[dattri] Add huggingface example (GPT-2 + WikiText-2) and related bug fix

Description
1. Motivation and Context

Models from huggingface transformers is widely used and some additional fix should be included in dattri.
A larger experiment is added (GPT-2 + WikiText-2) to experiments/

2. Summary of the change
Experiment added:

An example GPT-2 + WikiText-2 is added to experiments/gpt2_wikitext. Please check https://github.com/TheaperDeng/dattri-public/tree/gpt2_wiki2_hf/experiments/gpt2_wikitext for more detail.

Example added

An example using Dropout Ensemble in https://github.com/TheaperDeng/dattri-public/blob/gpt2_wiki2_hf/examples/pretrained_benchmark/trak_dropout_lds.py

API change (backlog supported, no need for user code change):

Add checkpoints_load_func to AttributionTask, The parameter is used for some model that has special loading strategies, e.g., huggingface model. A typical example for huggingface model is

def checkpoints_load_func(model, checkpoint):
    model = AutoModelForCausalLM.from_pretrained(checkpoint).cuda()
    model.eval()
    return model

task = AttributionTask(loss_func=f, model=model,
                       checkpoints=checkpoints,
                       checkpoints_load_func=checkpoints_load_func)  # if not specific, a default one will be applied.

Bug fix:

For TRAKAttributor

The scaling number calculation is changed to a much more efficient implementation.
The "pre-gradient" calculation is changed to support non-tuple/list data format (e.g., dict, that is widely used for models in transformers
Change batch size calculation method to the shape[0] of gradient rather than input data

TODO:

Better "pre-gradient" calculation implementation for TRAK and other attributors. (has been recorded to source code).

3. What tests have been added/updated for the change?

[ ] Unit test: Typically, this should be included if you implemented a new function/fixed a bug.

LGTM now so should we raise an issue about the gpt2+wiki setting reorganization?

Yes, I will raise it after merging the PR.


feat: create class for config and use it

Trying to fix the TODO which states that Config should probably be a class, which I agree with. Then, the thing is accessing that object OR making is "static". What do you guys think?

I cannot thank you enough for trying to help improve this library. This was a huge thing that I needed to do for the next refactor. Once you feel like it's ready I'll be glad to review it all.

As of right now, I seem to be only missing how you spec the 106, but it should be working. Won't be long :)

I do not have the instructions on running the test. I only have a very simple test for extract function. If you're familiar with plenary, you can run tests using their commands.
Perhaps I can convince @tjdevries to create a PR to run tests on every pr.

And voilà. First time collaborating on an open source project; let me know what to improve!

Super excited! I'll review tonight!

When you get the chance, please squash :)

Every commit has been squashed and fixes requested are done!

  Perhaps you are not pointing it at the toml provided with this project

So as said on the Discord, I'm having real problems running the tests, but the feature works on my end. I would like help on the tests if possible, or I can put this one on hold until I fix them alone.

so you have accidentally rebased my commits into your branch!  Ohh nos!  Very sorry you got yourself into this, but hey! Its a learning experience!

Could we jump on a discord call?

yep! is now a good time? waiting on the discord :)


gender selection

Include the option to select patient gender in dashboard.

Not necessary and potentially politically difficult.


processor(cdc): fix log make cdc instance panic

What problem does this PR solve?

Issue Number: close #6714
cdc panic due to visit nil pointer of *ChangefeedReactorState
What is changed and how it works?

print log by use non-nil changefeedID, instead of *ChangefeedReactorState to prevent nil pointer, which cause the panic.

Upgrade pd to v6.3.0, which is not supported by v6.2.0, init upstream failed, processor.changefeed is not initialized, so cause the nil.
Check List
Tests

Manual test (add detailed scripts or steps below)

Questions
Will it cause performance regression or break compatibility?
Do you need to update user documentation, design documentation or monitoring documentation?
Release note
`None`.

/run-all-tests

/run-dm-integration-test

/merge

/run-verify-ci

/run-integration-test
/run-kafka-integration-test
/run-dm-integration-test
/run-dm-compatibility-test

/run-dm-integration-test
/run-verify-ci


Run JS behaviors only on HTML

Make method Browser.page_is_html which return boolean. The method uses
document.contentType to get current page's conent-type and decide if its HTML.
If page is not HTML, skip JS behavior.
Capture performance increases greatly for non html pages.

Hrm, I'm not real excited about doing this extra call for every page, when in the normal brozzler case, we already know it's html, when we're in this section of code. What if instead in SPN you make a HEAD request first, and if it's not html, do a simple fetch (maybe using BrozzlerWorker._fetch_url())?

OK, I can do that, thanks.


Having trouble with websocketd windows 64-bit download

Is anyone having a similar problem?
I downloaded the windows 64-bit installer and when I extract the files from the zip folder and try to run the executable, I get a box that appears then quickly disappears. So I can't install websocketd. I'm not sure what's wrong. Is there something else I need to download? Thank you!

Which version of windows do you have and what zip file were you downloading?
You can try to install go and build websocketd yourself with "go get github.com/joewalnes/websocketd"  (find executives in %gopath%\bin likely, not 100% sure how that works on windows)

There is no installer... the exe is the program itself in its entirety.
Put it in a folder and run it from a command prompt. If you double click it it will just execute with no args, causing the windows console to pop up and disappear.

Ahh thanks for the clarification!


Replace Task Manager?

Hello.
Process Hacker was able to replace Windows' default task manager.  Can that be done with System Explorer?  If so, what is the process?
Be gentle, I'm old and a newb.

Resolved via discord 👍
https://github.com/winsiderss/systeminformer/issues/1579#issuecomment-1406163773


Wait for proc to reach EXECUTING state before yielding

What was wrong?
open_in_process() yielded as soon as the sub process reached the STARTED state, which is before
the signal handlers have been setup, so a signal sent immediately after open_in_process()
yielded would not be properly handled
How was it fixed?
Wait for proc to reach EXECUTING state before yielding. Also use a timeout when waiting so that we
don't hang forever in case the process never reaches that state.

@pipermerriam added a new commit with more tests, and they exposed the need to kill the subproc when there's a timeout in open_in_process()

I don't know if it is helpful but, assuming this is an async generator issue, you might look at the code snippet in this comment:
https://github.com/python-trio/trio/issues/638#issuecomment-431954073


Send directed push notification based on custom properties

Hey
I was looking at the Push notification and was wondering if it is possible to send notifications to a set of devices based on custom properties?
F.x I want to notify all devices with following custom property:
email<EMAIL_ADDRESS>Documentation states that it is possible to create Audiences based on properties and notify thereby audiences, but I am not interested in creating and saving it as an Audience.
Basically what I want is to fetch a set of DeviceIds based on some custom properties and then via. the API(doing this from our own service backend) send a notification to the specific device ids, type: devices_target.

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

ID: beb96601-f906-374d-b0d8-537e5f80de3e
Version Independent ID: b66d21ae-1205-3d76-f577-d58891382c08
Content: App Center Push API - Visual Studio App Center
Content Source: docs/push/pushapi.md
Service: vs-appcenter
GitHub Login: @dimazaid
Microsoft Alias: dimazaid

@shnaz I'm not sure whether you can do this, I'll ask the PM to respond.
The easiest way to get help is to use our dedicated support team. App Center support is provided directly from within the App Center portal. Any time you need help, just click the blue chat button in the lower-right corner of any page and our dedicated support team will respond. For additional information, see the App Center Help Center.

@shnaz as I mentioned, you should ask your product questions through support. Login to App Center and use the blue chat button on the lower-right corner of every page. You can also access support through the link I provided in my previous response.

Hello @shnaz !
This is something on our roadmap but no timeline at the moment. I'll find your ticket on Intercom and continue the discussion there.

Basically what I am referring to is the OneSignal's way of sending notification based on custom properties(filters): Create notification based on filters/tags
Can you give an ETA for this kind of functionality so our team can know what to expect in the near future?
We are very excited about App Center and would like to use it for push notification, analytics and crash reporting(transitioning from HockeyApp soon which we use currently).
Best regards

@shnaz I just took over responsibility for the Push service (and Azure Notification Hubs as well), let me chat with @dimazaid first and I'll get back to you.

Thanks @dimazaid.
Currently we have implemented a solution using OneSignal purely because of that feature. We use it to send notifications to specific users.

We need this feature too 😕
We are currently evaluating other services as App Center does not offer this.

This would be very useful for me too!

All - thanks for the feedback. As @dimazaid said, it's on our roadmap, but I can't provide an ETA at this time. Right now you can do this through custom properties and audiences, but I understand the need for a more ad-hoc way to do this.


Update DG non-functional requirements

I think 3 seconds is way too slow for such a simple application like this one. (But I think there's no harm being pessimistic either)
I think we should put the dg in the branch name lowercase, https://se-education.org/guides/conventions/git.html#branch-names has an example. (That said, I don't think we need to include branch- either. Maybe update-dg-nonfunctional-requirements?)


Bug Fix: Fix Challonge Regular Expression to Support Challonge Urls

Current challonge urls are now challonge.com/<tournament>.
This PR updates the Regular Expression to allow users to use Challonge again.
Current regular expression prevents users from using their tournaments because the regular expression is expecting another subdirectory, therefore locking users from hitting Ok to Set Tournament.

Ideally we need to support both because while the default URL is challonge.com/<tournament>, using Challonge in a language other than English will cause the URLs to become challonge.com/<lang>/<tournament>


Custom component fields

I tried to create a bootstrap variant of radio buttons using custom components. Components.components.radio.editForm is just fine for the required parameters, and using it to enter button values works ok.
The "standard" Parameter disabled is available in the component, but I cannot access values.  As I understand the text in Custom Options, I must request this explicitely.
How?
export function RadioButtonsForm() {
  // What to return here?
  // { key: 'customOptions.myOption', [rest of the field definition] }
  return Components.components.radio.editForm()
}

const COMPONENT_OPTIONS: FormioCustomComponentInfo = {
  type: 'radiobuttons', selector: 'radio-buttons',  title: 'Radio Buttons', group: 'basic',
  icon: 'fa fa-star',
  editForm: RadioButtonsForm,
}

To understand the edit form, I suggest to look it up in the formio.js lib (Radio.form.js file). According to what I see there, you can extend the edit form of the radio component with a new tab, where you can also define your fields.
Like:
export function RadioButtonsForm() {
  return Components.components.radio.editForm({
    key: 'custom',
    label: 'Custom Options',
    components: [
      { key: 'customOptions.myOption', [rest of the field definition] }
    ]
  })
}

(Or you may need a full copy of the edit form if you need more customization.)

Nice.


cmd/compile: seemingly identical anonymous types lead to confusing error messages

What version of Go are you using (go version)?
1.8rc3 (broken, also in rc1)
1.7.5 (works)
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOBIN=""
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/k/dev/go"
GORACE=""
GOROOT="/usr/local/go"
GOTOOLDIR="/usr/local/go/pkg/tool/linux_amd64"
CC="gcc"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build538144559=/tmp/go-build -gno-record-gcc-switches"
CXX="g++"
CGO_ENABLED="1"
What did you do?
https://play.golang.org/p/rQzEbb-u6Y
also, this is my test code with modules (i cant simulate it in playground):
test.zip
to run it, set GOPATH and run it with:
$ go run src/a.go
the output for go1.7 is:
-> main.X main.X
Hello, playground {2 3}
for go1.8:
panic: interface conversion: interface {} is struct { x int; y int }, not struct { x int; y int }
it does't work in my another project either now, after switching to 1.8rc
What did you expect to see?
old behaviour as in go 1.7 where it works
What did you see instead?
panic: interface conversion: interface {} is struct { x int; y int }, not struct { x int; y int }

Thanks for the issue.  This looks like two anonymous types (declared in two separate packages, but identical) are being given different type pointers.
Here's a cleaner repro:
a.go:
package main

import "b"

func main() {
	_ = b.GetY().(struct{ x, y int })

b/b.go:
package b

func GetY() interface{} {
	return struct{ x, y int }{2, 3}
}

GetY gets inlined, so the type test boils down to (in main.main):
 104c52f:       48 8d 05 8a e5 00 00    lea    0xe58a(%rip),%rax        # 105aac0 <runtime.rodata+0xe500>
 104c536:       48 8d 0d 03 e6 00 00    lea    0xe603(%rip),%rcx        # 105ab40 <runtime.rodata+0xe580>
 104c53d:       48 39 c8                cmp    %rcx,%rax
 104c540:       75 0a                   jne    104c54c <main.main+0x4c>

Which seems wrong.  Both of those LEAs should be of the same address.
I thought we had fixed all the non-unique type problems.  Guess not.
I'll look more in the morning.
@crawshaw @rsc

These are different types.
The fields x and y are unexported, and so cannot be accessed outside of package b. If you export them, X and Y, this code works as you would expect.

@crawshaw
even if so, i think the error should be more clear, because the folowing is unreadable:
panic: interface conversion: interface {} is struct { x int; y int }, not struct { x int; y int }
                                                 ^------------- same thing ---------^

probably it should be
panic: interface conversion: interface {} is b. struct { x int; y int }, not main. struct { x int; y int }

A better error would be better.

Hm, so is the bug in 1.7 then?  It ran the repro successfully.

I would say so, yes. Probably something I introduced when working on binary size reductions for 1.7. I elided some unnecessary pkgpath values, and seem to remember at least once getting overenthusiastic.

Repro runs successfully for all of 1.2 through 1.7...

Oh. Hmm.
It still fits my mental model that these are separate types, and you shouldn't be able to reach the unexported fields of another package's type, even if it's unnamed.
@ianlancetaylor, @griesemer, opinions?

Spec seems pretty clear that 1.8 is right and 1.2-1.7 are wrong.  As part of type identity:

Lower-case field names from different packages are always different.

It looks to me like Go 1.8 is correct and earlier versions of Go were not. My guess is that Robert's new export data fixed the bug.

This is clearly correct in Go 1.8. There were several subtle bugs in the old export data (though I don't know for sure what fixed this. I'll assign it to me for a better error message.

Leaving for 1.10 for improved error message (should probably mentioned declaration positions). Clearly not urgent as it's a rare case.

Related: #17283 and #21282.


Removed nav on click

I was unable to hide nav with click. But it was hidden automatically onload. If someone solves this problem. Let me know. I want to see the code and logic.


Fix not working update since switch from property entity to entities

This changes fixes the broken update functionality since the card supports more then one entity.

Thanks @mraction for the fix!


Bug located in ...edbapp.hfss.hfss_extent_info.sync_air_box_vertical_extent

Before submitting the issue

[X] I have searched among the existing issues
[X] I am using a Python virtual environment

Description of the bug
edbapp.hfss.hfss_extent_info.sync_air_box_vertical_extent = True does not work as expected. When true and negative - positive are different it does not take the argument
Steps To Reproduce
NA
Which Operating System are you using?
Windows
Which Python version are you using?
3.7
Installed packages
NA

Bug filed:
https://tfs.ansys.com:8443/tfs/ANSYS_Development/Portfolio/_workitems/edit/1049432


[minhook:x86-windows] build failure

Host Environment

OS: Windows
Compiler: revision

To Reproduce
vcpkg.exe install minhook
Failure logs
D:\vcpkg>vcpkg.exe install minhook
Computing installation plan...
The following packages will be built and installed:
minhook[core]:x86-windows -> 1.3.3#1
Detecting compiler hash for triplet x86-windows...
Could not locate cached archive: C:\Users\PC\AppData\Local\vcpkg\archives\c3\c384219ea3253ff7abb8475cd5a5474ca4ca6aef.zip
Starting package 1/1: minhook:x86-windows
Building package minhook[core]:x86-windows...
-- Using cached D:/vcpkg/downloads/minhook-cmake-support.patch
-- Using cached D:/vcpkg/downloads/TsudaKageyu-minhook-v1.3.3.tar.gz
-- Cleaning sources at D:/vcpkg/buildtrees/minhook/src/v1.3.3-e44841476d.clean. Use --editable to skip cleaning for the packages you specify.
-- Extracting source D:/vcpkg/downloads/TsudaKageyu-minhook-v1.3.3.tar.gz
-- Applying patch D:/vcpkg/downloads/minhook-cmake-support.patch
-- Applying patch fix-usage.patch
-- Using source at D:/vcpkg/buildtrees/minhook/src/v1.3.3-e44841476d.clean
-- Configuring x86-windows
CMake Error at scripts/cmake/vcpkg_execute_required_process.cmake:108 (message):
Command failed: ninja -v
Working Directory: D:/vcpkg/buildtrees/minhook/x86-windows-rel/vcpkg-parallel-configure
Error code: 1
See logs for more information:
D:\vcpkg\buildtrees\minhook\config-x86-windows-out.log
Call Stack (most recent call first):
scripts/cmake/vcpkg_configure_cmake.cmake:319 (vcpkg_execute_required_process)
ports/minhook/portfile.cmake:32 (vcpkg_configure_cmake)
scripts/ports.cmake:136 (include)
Error: Building package minhook:x86-windows failed with: BUILD_FAILED
Please ensure you're using the latest portfiles with .\vcpkg update, then
submit an issue at https://github.com/Microsoft/vcpkg/issues including:
Package: minhook:x86-windows
Vcpkg version: 2020.11.12-nohash
Additionally, attach any relevant sections from the log files above.
Additional context
i have visual studio installed

@beranos ,Thanks for posting this issue,I cannot reproduce your problem on the computer, can you provide your error log：
D:\vcpkg\buildtrees\minhook\config-x86-windows-out.log

@beranos ,Thanks for posting this issue,I cannot reproduce your problem on the computer, can you provide your error log：
D:\vcpkg\buildtrees\minhook\config-x86-windows-out.log

[1/2] cmd /c "cd .. && "D:/vcpkg/downloads/tools/cmake-3.18.4-windows/cmake-3.18.4-win32-x86/bin/cmake.exe" "D:/vcpkg/buildtrees/minhook/src/v1.3.3-e44841476d.clean" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/minhook_x86-windows""
FAILED: ../CMakeCache.txt
cmd /c "cd .. && "D:/vcpkg/downloads/tools/cmake-3.18.4-windows/cmake-3.18.4-win32-x86/bin/cmake.exe" "D:/vcpkg/buildtrees/minhook/src/v1.3.3-e44841476d.clean" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Release" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/minhook_x86-windows""
-- The C compiler identification is MSVC 19.28.29335.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x86/cl.exe - broken
CMake Error at D:/vcpkg/downloads/tools/cmake-3.18.4-windows/cmake-3.18.4-win32-x86/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler
"C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x86/cl.exe"

is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/vcpkg/buildtrees/minhook/x86-windows-rel/CMakeFiles/CMakeTmp

Run Build Command(s):D:/vcpkg/downloads/tools/ninja/1.10.1-windows/ninja.exe cmTC_0d012 && [1/2] Building C object CMakeFiles\cmTC_0d012.dir\testCCompiler.c.obj
[2/2] Linking C executable cmTC_0d012.exe
FAILED: cmTC_0d012.exe
cmd.exe /C "cd . && D:\vcpkg\downloads\tools\cmake-3.18.4-windows\cmake-3.18.4-win32-x86\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_0d012.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_0d012.dir\testCCompiler.c.obj  /out:cmTC_0d012.exe /implib:cmTC_0d012.lib /pdb:cmTC_0d012.pdb /version:0.0 /machine:X86  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK Pass 1: command "C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_0d012.dir\testCCompiler.c.obj /out:cmTC_0d012.exe /implib:cmTC_0d012.lib /pdb:cmTC_0d012.pdb /version:0.0 /machine:X86 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_0d012.dir/intermediate.manifest CMakeFiles\cmTC_0d012.dir/manifest.res" failed (exit code 1104) with the following output:
LINK : fatal error LNK1104: cannot open file 'ucrtd.lib'
ninja: build stopped: subcommand failed.

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:29 (project)
-- Configuring incomplete, errors occurred!
See also "D:/vcpkg/buildtrees/minhook/x86-windows-rel/CMakeFiles/CMakeOutput.log".
See also "D:/vcpkg/buildtrees/minhook/x86-windows-rel/CMakeFiles/CMakeError.log".
[2/2] cmd /c "cd ../../x86-windows-dbg && "D:/vcpkg/downloads/tools/cmake-3.18.4-windows/cmake-3.18.4-win32-x86/bin/cmake.exe" "D:/vcpkg/buildtrees/minhook/src/v1.3.3-e44841476d.clean" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/minhook_x86-windows/debug""
FAILED: ../../x86-windows-dbg/CMakeCache.txt
cmd /c "cd ../../x86-windows-dbg && "D:/vcpkg/downloads/tools/cmake-3.18.4-windows/cmake-3.18.4-win32-x86/bin/cmake.exe" "D:/vcpkg/buildtrees/minhook/src/v1.3.3-e44841476d.clean" "-DCMAKE_MAKE_PROGRAM=D:/vcpkg/downloads/tools/ninja/1.10.1-windows/ninja.exe" "-DBUILD_SHARED_LIBS=ON" "-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE=D:/vcpkg/scripts/toolchains/windows.cmake" "-DVCPKG_TARGET_TRIPLET=x86-windows" "-DVCPKG_SET_CHARSET_FLAG=ON" "-DVCPKG_PLATFORM_TOOLSET=v142" "-DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_PACKAGE_REGISTRY=ON" "-DCMAKE_FIND_PACKAGE_NO_SYSTEM_PACKAGE_REGISTRY=ON" "-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=TRUE" "-DCMAKE_VERBOSE_MAKEFILE=ON" "-DVCPKG_APPLOCAL_DEPS=OFF" "-DCMAKE_TOOLCHAIN_FILE=D:/vcpkg/scripts/buildsystems/vcpkg.cmake" "-DCMAKE_ERROR_ON_ABSOLUTE_INSTALL_DESTINATION=ON" "-DVCPKG_CXX_FLAGS=" "-DVCPKG_CXX_FLAGS_RELEASE=" "-DVCPKG_CXX_FLAGS_DEBUG=" "-DVCPKG_C_FLAGS=" "-DVCPKG_C_FLAGS_RELEASE=" "-DVCPKG_C_FLAGS_DEBUG=" "-DVCPKG_CRT_LINKAGE=dynamic" "-DVCPKG_LINKER_FLAGS=" "-DVCPKG_LINKER_FLAGS_RELEASE=" "-DVCPKG_LINKER_FLAGS_DEBUG=" "-DVCPKG_TARGET_ARCHITECTURE=x86" "-DCMAKE_INSTALL_LIBDIR:STRING=lib" "-DCMAKE_INSTALL_BINDIR:STRING=bin" "-D_VCPKG_ROOT_DIR=D:/vcpkg" "-D_VCPKG_INSTALLED_DIR=D:/vcpkg/installed" "-DVCPKG_MANIFEST_INSTALL=OFF" "-G" "Ninja" "-DCMAKE_BUILD_TYPE=Debug" "-DCMAKE_INSTALL_PREFIX=D:/vcpkg/packages/minhook_x86-windows/debug""
-- The C compiler identification is MSVC 19.28.29335.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x86/cl.exe
-- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x86/cl.exe - broken
CMake Error at D:/vcpkg/downloads/tools/cmake-3.18.4-windows/cmake-3.18.4-win32-x86/share/cmake-3.18/Modules/CMakeTestCCompiler.cmake:66 (message):
The C compiler
"C:/Program Files (x86)/Microsoft Visual Studio/2019/Community/VC/Tools/MSVC/14.28.29333/bin/Hostx64/x86/cl.exe"

is not able to compile a simple test program.
It fails with the following output:
Change Dir: D:/vcpkg/buildtrees/minhook/x86-windows-dbg/CMakeFiles/CMakeTmp

Run Build Command(s):D:/vcpkg/downloads/tools/ninja/1.10.1-windows/ninja.exe cmTC_dabdb && [1/2] Building C object CMakeFiles\cmTC_dabdb.dir\testCCompiler.c.obj
[2/2] Linking C executable cmTC_dabdb.exe
FAILED: cmTC_dabdb.exe
cmd.exe /C "cd . && D:\vcpkg\downloads\tools\cmake-3.18.4-windows\cmake-3.18.4-win32-x86\bin\cmake.exe -E vs_link_exe --intdir=CMakeFiles\cmTC_dabdb.dir --rc=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\rc.exe --mt=C:\PROGRA~2\WI3CF2~1\10\bin\100183~1.0\x64\mt.exe --manifests  -- C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_dabdb.dir\testCCompiler.c.obj  /out:cmTC_dabdb.exe /implib:cmTC_dabdb.lib /pdb:cmTC_dabdb.pdb /version:0.0 /machine:X86  /debug /INCREMENTAL /subsystem:console  kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib && cd ."
LINK Pass 1: command "C:\PROGRA~2\MICROS~1\2019\COMMUN~1\VC\Tools\MSVC\1428~1.293\bin\Hostx64\x86\link.exe /nologo CMakeFiles\cmTC_dabdb.dir\testCCompiler.c.obj /out:cmTC_dabdb.exe /implib:cmTC_dabdb.lib /pdb:cmTC_dabdb.pdb /version:0.0 /machine:X86 /debug /INCREMENTAL /subsystem:console kernel32.lib user32.lib gdi32.lib winspool.lib shell32.lib ole32.lib oleaut32.lib uuid.lib comdlg32.lib advapi32.lib /MANIFEST /MANIFESTFILE:CMakeFiles\cmTC_dabdb.dir/intermediate.manifest CMakeFiles\cmTC_dabdb.dir/manifest.res" failed (exit code 1104) with the following output:
LINK : fatal error LNK1104: cannot open file 'ucrtd.lib'
ninja: build stopped: subcommand failed.

CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
CMakeLists.txt:29 (project)
-- Configuring incomplete, errors occurred!
See also "D:/vcpkg/buildtrees/minhook/x86-windows-dbg/CMakeFiles/CMakeOutput.log".
See also "D:/vcpkg/buildtrees/minhook/x86-windows-dbg/CMakeFiles/CMakeError.log".
ninja: build stopped: subcommand failed.

@beranos ,It seems that your problem is related to Cmake, try to run this command and rebuild
cmake -DCMAKE_CXX_COMPILER=$(which g++) -DCMAKE_C_COMPILER=$(which gcc) ./

@beranos, please provide us full failure logs if it still be a problem for you.


Reformat emissivity genx files as HDF5

In GitLab by @wtbarnes on Oct 13, 2020, 08:48
In order to use the emissivity files to calculate temperature response functions, they need to be reformatted as HDF5 files. They are currently in genx format and although we can read this format in Python via sunpy.io.special, the reader does not seem able to handle these files either because of their size or complexity. We also need to find a place to store these files so they can be downloaded as needed. Even sticking them directly into SSW would be sufficient.
This is not strictly related to the aiapy codebase as I do not anticipate this issue actually resulting in any code being added to aiapy or any code being modified. However, it is critical to #23 being resolved.

In GitLab by @wtbarnes on Sep 29, 2021, 07:44
Just to correct one of the statements above, I did actually manage to read one of these files with sunpy.io.special.read_genx. It just takes significantly longer than restgen in IDL, a little over 1 minute as compared to just a few seconds in IDL.

In GitLab by @wtbarnes on Oct 13, 2020, 08:51
This will block #23

In GitLab by @wtbarnes on Oct 13, 2020, 08:59
Some helpful bits of code:

aia_get_response.pro--the function that reads in the emissivity files
restgen.pro--function in SSW for reading .genx files into IDL structures.
HDF5 in IDL

When reading everything back into Python and double-checking things, I would suggest h5py


fixneed add mark join slot to upper project in PullUpProjectUnderApply rule

pick from master https://github.com/apache/doris/pull/31408
Proposed changes
Issue Number: close #xxx

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall


Use Belgian references where appropriate: BePatient, BePractitioner, etc.

done as part of #173 and #174


[MINOR][DOCS] Document 'without' value for HADOOP_VERSION in pip installation

What changes were proposed in this pull request?
I believe it's self-descriptive.
Why are the changes needed?
To document supported features.
Does this PR introduce any user-facing change?
Yes, the docs are updated. It's master only.
How was this patch tested?
Manually built the docs via cd python/docs and make clean html:

Test build #131383 has started for PR 30436 at commit 333fdfa.

cc @ueshin can you take a quick look please?

Test build #131383 has finished for PR 30436 at commit 333fdfa.

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

Merged build finished. Test PASSed.

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

Test build #131389 has started for PR 30436 at commit 4826a68.

Test build #131389 has finished for PR 30436 at commit 4826a68.

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

Merged build finished. Test PASSed.

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

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

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

Merged build finished. Test FAILed.

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

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

Merged to master.

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

Merged build finished. Test FAILed.

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


Terrain collision doesn't work after square size change

Hello guys.
Lately I was experimenting with terrain sizes. After I change square size to something higher than '1', terrain collisions stop working correctly. It looks like terrain collision mesh isn't recalculated to new terrain size or something. So if I am moving my player towards the terrain he eventually falls off the ground. Below you can find screen with player collision debug turned on:

You can see pink wireframes of collision mesh for player. Player is facing the right side of the screen. As you can see, collision mesh is no longer calculated in front of him, so if I move it further he will fall down.
I checked and this seems to appear in Torque 3.8 RC and 3.7 also.
I'm running Windows 10
ATI Radeon 6850

Try moving the player further away (10 metres or so). Player caches collision information, and only recollects it after having moved a certain distance.

Yes, I know it works this way. But at this point (where the player is standing) collisions are no longer calculated. If I move player forward (to the right) he will fall down the ground.

As you can see above - I moved player forward and collision is not cached. One more step and player will fall.
On the previous screen you can notice a big boulder sphere in the left bottom corner. It indicates the original terrain edge when square size was '1'. Within those borders collisions work fine. But when we move outside those borders, where terrain was resized, collisions works only to some point.
Like this:

I hope this will give you some idea :)

Hmm, interesting. Just to be completely sure, what happens if you use the editor to drag your player like 100 metres into the air and let them fall back onto the terrain? Is the collision fixed?

I was trying with "Place Player at Camera" and I was moving the camera through whole terrain. When I try to place player anywhere outside this pink rectangle (so outside the orginal terrain size) it falls down.

Ok, weird!

If you save the mission and reload it, does it still have the incorrect collisions?

Wow, yes - it works! Collisions work after saving and re-loading the mission.

Alright, awesome!
Sounds like it just doesn't correctly regenerate the collisions during editing. Should be easier to track down then.

fixed on my code just now. it's the physical mesh transform which is not updated with new matrix after setting changes.
I'll make a PR as soon as possible.


more resources

[Resource Name - Edit this line]
Edit this line with Small Description about new added resource
Link: www.linkToResource
Checklist:

[x] I have performed a self-review of submitted resource and its follows the guidelines of the project.

Hey, @Devcrowmaster can you separate this Pull request small ones with one PR for each resource?


During shutdown, don't let Conmon die with Systemd CGroups

This should immediately hit Conmon with a SIGKILL, preventing potential shutdown ordering issues.

Repushed. New version doesn't use 0, and instead uses a longer timeout with a different stop signal that won't kill Conmon.

I'm gonna knock off the WIP

LGTM

Rebased and repushed, let's see if the tests go green

Hmm.
The F29/F30 failures sort of make sense, though I can't replicate locally - systemd cgroups are in use.
The ubuntu ones are just flakes, not Cgroup issues - makes sense, no systemd cgroups there.

@mheon This seems to have gotten lost.  Could you rebase?

Ack. I'll try and push this the rest of the way.

Probably not making 1.6.0

needs a rebase

@mheon ping

@mheon what is the scoop on this one?

CI errors were proving very difficult to track down, and there wasn't much priority since we resolved the problem in other ways. Still would be nice to get in if I can find time.

@mheon Still interested in this one?


Sliding Window: Find Maximum in Sliding Window in C++

Given an integer array and a window of size windowSize, find the current maximum value in the window as it slides through the entire array

Hi!
I would like to solve that issue, i'm experienced in coding algorithms in cpp.
But i'm not such good in git and that stuff.
Can you please explain me step by step what should I do in order to contribute to your project?

Hi! I would like to solve that issue, i'm experienced in coding algorithms in cpp. But i'm not such good in git and that stuff. Can you please explain me step by step what should I do in order to contribute to your project?

Sure no Problem, check out this, make sure you have configured git with your github email, rest is easy, you need to fork this repository and you will get a copy of this repo in your account, and you can add programs under your repository and send a pull request

Hi, I would like to solve this issue.


Add subsection link.

@jbzdarkid : Thanks for your contribution! The author(s) have been notified to review your proposed change.

verified link improvement


Fix register allocation issue in list creation

compile_list did not correctly retain registers as it was constructing the list, leading to garbage values. This is now fixed and a test added to lock down this behavior.
Fixes #112

Nice fix here.
Out of curiosity which of the cases in the test you added was failing?

It was the second one, where a property is indexed [this involves quite the dance of register allocation!]


Hide header if no title

I don't use the title bar so I wish I could remove it and hide the empty space at the top

Coverage remained the same at 90.876% when pulling 908c69beb40e0803306e616f6b66ba2df325d565 on EmilMoe:patch-1 into 017e93704cd7c8c31fe798d7e58296ac0c651dd2 on cristijora:master.

Good point. Thanks


Updated to latest Office 365 API tools

Closing all issues since this repo is being archived and no longer maintained.


Cannot install morphio using pip on macos with M1 and Python3.10

bb-gl2300cjgw:bin abdellah$ ./python3.10 -m pip install morphio
Collecting morphio
 Using cached MorphIO-3.3.4.tar.gz (508 kB)
 Installing build dependencies ... done
 Getting requirements to build wheel ... done
 Installing backend dependencies ... done
 Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.14.1 in /Users/abdellah/Downloads/nmv/bbp-blender-3.5/Blender.app/Contents/Resources/3.5/python/lib/python3.10/site-packages (from morphio) (1.24.3)
Building wheels for collected packages: morphio
 Building wheel for morphio (pyproject.toml) ... error
 error: subprocess-exited-with-error
 × Building wheel for morphio (pyproject.toml) did not run successfully.
 │ exit code: 1
 ╰─> [84 lines of output]
    running bdist_wheel
    running build
    running build_py
    creating build
    creating build/lib.macosx-11.00-arm64-cpython-310
    creating build/lib.macosx-11.00-arm64-cpython-310/morphio
    copying morphio/__init__.py -> build/lib.macosx-11.00-arm64-cpython-310/morphio
    creating build/lib.macosx-11.00-arm64-cpython-310/morphio/mut
    copying morphio/mut/__init__.py -> build/lib.macosx-11.00-arm64-cpython-310/morphio/mut
    creating build/lib.macosx-11.00-arm64-cpython-310/morphio/vasculature
    copying morphio/vasculature/__init__.py -> build/lib.macosx-11.00-arm64-cpython-310/morphio/vasculature
    running build_ext
    -- The C compiler identification is AppleClang <IP_ADDRESS>00029
    -- The CXX compiler identification is AppleClang <IP_ADDRESS>00029
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
    -- Detecting C compile features
    -- Detecting C compile features - done
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
    -- Detecting CXX compile features
    -- Detecting CXX compile features - done
    Floating Point Type: float
    CMake Error at /private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
     Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) (found
     version "")
    Call Stack (most recent call first):
     /private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
     /private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.26/Modules/FindHDF5.cmake:1001 (find_package_handle_standard_args)
     3rdparty/CMakeLists.txt:1 (find_package)
    -- Configuring incomplete, errors occurred!
    Traceback (most recent call last):
     File "/Users/abdellah/Downloads/nmv/bbp-blender-3.5/Blender.app/Contents/Resources/3.5/python/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module>
      main()
     File "/Users/abdellah/Downloads/nmv/bbp-blender-3.5/Blender.app/Contents/Resources/3.5/python/lib/python3.10/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/abdellah/Downloads/nmv/bbp-blender-3.5/Blender.app/Contents/Resources/3.5/python/lib/python3.10/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 416, in build_wheel
      return self._build_with_temp_dir(['bdist_wheel'], '.whl',
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 401, in _build_with_temp_dir
      self.run_setup()
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 487, in run_setup
      super(_BuildMetaLegacyBackend,
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/build_meta.py", line 338, in run_setup
      exec(code, locals())
     File "<string>", line 69, in <module>
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/__init__.py", line 107, in setup
      return distutils.core.setup(**attrs)
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 185, in setup
      return run_commands(dist)
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 201, in run_commands
      dist.run_commands()
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 969, in run_commands
      self.run_command(cmd)
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1244, in run_command
      super().run_command(command)
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/wheel/bdist_wheel.py", line 343, in run
      self.run_command("build")
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1244, in run_command
      super().run_command(command)
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/_distutils/command/build.py", line 131, in run
      self.run_command(cmd_name)
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/_distutils/cmd.py", line 318, in run_command
      self.distribution.run_command(command)
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/dist.py", line 1244, in run_command
      super().run_command(command)
     File "/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 988, in run_command
      cmd_obj.run()
     File "<string>", line 28, in run
     File "<string>", line 56, in build_extension
     File "/Users/abdellah/Downloads/nmv/bbp-blender-3.5/Blender.app/Contents/Resources/3.5/python/lib/python3.10/subprocess.py", line 369, in check_call
      raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['cmake', '/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-install-35j0f1g1/morphio_6f2d72cf91ee4f8c90c28d6061b0a66b', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=/private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-install-35j0f1g1/morphio_6f2d72cf91ee4f8c90c28d6061b0a66b/build/lib.macosx-11.00-arm64-cpython-310/morphio', '-DMORPHIO_VERSION_STRING=3.3.4', '-DMORPHIO_TESTS=OFF', '-DPYTHON_EXECUTABLE=/Users/abdellah/Downloads/nmv/bbp-blender-3.5/Blender.app/Contents/Resources/3.5/python/bin/python3.10', '-DHIGHFIVE_EXAMPLES=OFF', '-DHIGHFIVE_UNIT_TESTS=OFF', '-DCMAKE_BUILD_TYPE=Release', '-DMorphIO_CXX_WARNINGS=OFF', '-GNinja']' returned non-zero exit status 1.
    [end of output]
 note: This error originates from a subprocess, and is likely not a problem with pip.
 ERROR: Failed building wheel for morphio
Failed to build morphio
ERROR: Could not build wheels for morphio, which is required to install pyproject.toml-based projects

This seems relevant; do you have hdf5 development libraries installed?
CMake Error at /private/var/folders/vs/ryptqcjs5ml6cfr542dk0915g73tv_/T/pip-build-env-18hfyec1/overlay/lib/python3.10/site-packages/cmake/data/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
     Could NOT find HDF5 (missing: HDF5_LIBRARIES HDF5_INCLUDE_DIRS) (found
     version "")

Yes. I have alreadt tries to install morphio on my intel based macos and it works. The issue only happens on the M1 based mac.

Yes. I have already tried to install morphio on my intel based macos and it works.

Are you compiling it, or using the wheels?
If it's compilation, you'll also need the hdf5 libraries installed.
We can try turning on, assuming it's available with the Github actions, an arm builder for wheels, and see if it works that way.

Since I recently wrote it up for something else, I'll share it here. This a dummy file for checking if HDF5 works:
#include <hdf5.h>

int main() {
  auto file = H5Fcreate("foo.h5", H5F_ACC_EXCL, H5P_DEFAULT, H5P_DEFAULT);
  H5Fclose(file);
  return 0;
}

call it dummy.cpp. Then use this CMakeLists.txt to compile it:
cmake_minimum_required(VERSION 3.19)
project(Dummy)

find_package(HDF5 REQUIRED)
add_executable(dummy dummy.cpp)
target_link_libraries(dummy HDF5::HDF5)

Then you call
cmake -B build .
cmake --build build

This would allow you decide if the issue is in MorphIO's CMake code specifically or more generally related to finding HDF5.

@marwan-abdellah Any luck trying the suggestion above?

I have the same issue on MacOS with M1, but using Ubuntu docker image with Python 3.11.

I have the same issue on MacOS with M1, but using Ubuntu docker image with Python 3.11.

Installing an hdf5 apt package works for me:
sudo apt-get install libhdf5-dev

@twheatcroft07 Not that I know of. I cannot still install it on the new M1 chips.

@marwan-abdellah have you tried what @1uc suggested?

@mgeplf I tested it and it works.
 $ cmake ..
-- The C compiler identification is AppleClang <IP_ADDRESS>30022
-- The CXX compiler identification is AppleClang <IP_ADDRESS>30022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found HDF5: /opt/local/lib/libhdf5.dylib;/opt/local/lib/libaec/lib/libsz.dylib;/opt/local/lib/libz.dylib;/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/lib/libdl.tbd;/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/lib/libm.tbd (found version "1.14.1-2")
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/abdellah/tmp/hdf/build
[  8:50PM ]  [ abdellah@Marwans-MacBook-Pro:~/tmp/hdf/build(system: ruby 2.6.10p210) ]
 $ make
[ 50%] Building CXX object CMakeFiles/test.dir/test.cpp.o
/Users/abdellah/tmp/hdf/test.cpp:4:3: warning: 'auto' type specifier is a C++11 extension [-Wc++11-extensions]
  auto file = H5Fcreate("foo.h5", H5F_ACC_EXCL, H5P_DEFAULT, H5P_DEFAULT);
  ^
1 warning generated.
[100%] Linking CXX executable test
[100%] Built target test

@mgeplf Nonetheless, I tried to compile MorphIO myself on the M1 mac, I got the following issues:
[```
8:53PM ]  [ abdellah@Marwans-MacBook-Pro:~/tmp/MorphIO/build(master✔)(system: ruby 2.6.10p210) ]
$ cmake ..
-- The C compiler identification is AppleClang <IP_ADDRESS>30022
-- The CXX compiler identification is AppleClang <IP_ADDRESS>30022
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /Library/Developer/CommandLineTools/usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /Library/Developer/CommandLineTools/usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
Floating Point Type: float
-- Found HDF5: /opt/local/lib/libhdf5.dylib;/opt/local/lib/libaec/lib/libsz.dylib;/opt/local/lib/libz.dylib;/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/lib/libdl.tbd;/Library/Developer/CommandLineTools/SDKs/MacOSX13.3.sdk/usr/lib/libm.tbd (found version "1.14.1-2")
CMake Error at 3rdparty/CMakeLists.txt:8 (add_subdirectory):
The source directory
/Users/abdellah/tmp/MorphIO/3rdparty/HighFive

does not contain a CMakeLists.txt file.
CMake Error at 3rdparty/CMakeLists.txt:9 (target_include_directories):
Cannot specify include directories for target "HighFive" which is not built
by this project.
CMake Error at 3rdparty/CMakeLists.txt:12 (add_subdirectory):
The source directory
/Users/abdellah/tmp/MorphIO/3rdparty/GSL_LITE

does not contain a CMakeLists.txt file.
CMake Error at 3rdparty/CMakeLists.txt:13 (target_include_directories):
Cannot specify include directories for target "gsl-lite" which is not built
by this project.
CMake Error at 3rdparty/CMakeLists.txt:18 (add_subdirectory):
The source directory
/Users/abdellah/tmp/MorphIO/3rdparty/ghc_filesystem

does not contain a CMakeLists.txt file.
CMake Error at binds/python/CMakeLists.txt:2 (add_subdirectory):
The source directory
/Users/abdellah/tmp/MorphIO/binds/python/pybind11

does not contain a CMakeLists.txt file.
CMake Error at binds/python/CMakeLists.txt:5 (pybind11_add_module):
Unknown CMake command "pybind11_add_module".

CMake Error at 3rdparty/CMakeLists.txt:8 (add_subdirectory):

That looks like the submodules havne't been pulled:
git submodule update --init --recursive

Should fix that problem.

@mgeplf So I managed to compile it on my M1 mac now. But why is it still failing when I pip it then?

I gave it another try with Python3.9 and it is installable. I can confirm
 $ pip3 install morphio
Defaulting to user installation because normal site-packages is not writeable
Collecting morphio
  Using cached MorphIO-3.3.5.tar.gz (576 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.14.1 in /Users/abdellah/Library/Python/3.9/lib/python/site-packages (from morphio) (1.25.0)
Building wheels for collected packages: morphio
  Building wheel for morphio (pyproject.toml) ... done
  Created wheel for morphio: filename=MorphIO-3.3.5-cp39-cp39-macosx_13_0_universal2.whl size=602848 sha256=6b0ce9f9f6604aa90084dfff85570958286240d90cc46659931b86d63a5d21a3
  Stored in directory: /Users/abdellah/Library/Caches/pip/wheels/fe/14/65/2444eb52f7d64ba38e5563a81fbdf8a913b1319248e730419f
Successfully built morphio
Installing collected packages: morphio
Successfully installed morphio-3.3.5
[ 11:50AM ]  [ abdellah@Marwans-MacBook-Pro:~/tmp/MorphIO/build/binds/python/pybind11(master✔)(system: ruby 2.6.10p210) ]
 $ pip3 --version
pip 23.1.2 from /Users/abdellah/Library/Python/3.9/lib/python/site-packages/pip (python 3.9)

Since it's not finding Python.h, but
-isystem /Applications/Blender.app/Contents/Resources/3.5/python/include/python3.10

Is being used for python, I wonder if it's how Blender packages its python installation.  Does that directory have a Python.h file?

@mgeplf I will try it with the system Python 3.10 then.

@mgeplf I could also install it using the system python.
 $ python3.10 -m pip install morphio
Defaulting to user installation because normal site-packages is not writeable
Collecting morphio
  Using cached MorphIO-3.3.5.tar.gz (576 kB)
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
  Installing backend dependencies ... done
  Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.14.1 in /Users/abdellah/Library/Python/3.10/lib/python/site-packages (from morphio) (1.25.0)
Building wheels for collected packages: morphio
  Building wheel for morphio (pyproject.toml) ... done
  Created wheel for morphio: filename=MorphIO-3.3.5-cp310-cp310-macosx_13_0_arm64.whl size=602763 sha256=90749f6f01cd7e0c6371fefd8c0b7128a966e6db3bacc6517a3c0bd6ae1efbc1
  Stored in directory: /Users/abdellah/Library/Caches/pip/wheels/5b/8d/96/5175a7ffe58f3207a45b03eb81877e5c7dc69fb6c2ba28f7cb
Successfully built morphio
Installing collected packages: morphio
Successfully installed morphio-3.3.5

/Applications/Blender.app/Contents/Resources/3.5/python/include/python3.10
The directory does not have any Python.h file.

[ 12:05PM ]  [ abdellah@tsf-500-wpa-3-255:/Applications/Blender.app/Contents/Resources/3.5/python/include/python3.10(system: ruby 2.6.10p210) ]
$ ls
pyconfig.h

That's a limitation in Blender then [https://github.com/pypa/setuptools/issues/3589]. I would then close the ticket.
Thanks @mgeplf

No problem, glad we could figure it out.
If/when I find time, I will try and have the build process create wheels, which would also probably solve this problem.


Isssue2814

Changelog category (leave one):

Improvement

Changelog entry (a user-readable short description of the changes that goes to CHANGELOG.md):
...

Raising for workflow run

Documentation entry for user-facing changes

[ ] Documentation is written (mandatory for new features)

Information about CI checks: https://clickhouse.com/docs/en/development/continuous-integration/

This is an automated comment for commit 4e01265c0a0fb3ecdfacd5aa2d8b034a255c0b8b with description of existing statuses. It's updated for the latest CI running
The full report is available here
The overall status of the commit is 🟡 pending
Check nameDescriptionStatus
CI runningA meta-check that indicates the running CI. Normally, it's in success or pending state. The failed status indicates some problems with the PR🟡 pending
Mergeable CheckChecks if all other necessary checks are successful🟢 success


The dashboard needs to add a complete request response record for monitoring items

📑 I have found these related issues/pull requests
I don't see any problems with that yet
🏷 Feature Request Type
Dashboard
🔖 Feature description
Currently, less than half of the responses to monitoring items are recorded, resulting in useful information that is often invisible

✔ Solution
I want to be able to provide the option to store and display the full response body and send the full notification information
❓ Alternatives
No response
📝 Additional Context
No response

@CommanderStorm


Add support for quarkus - OpenJ9 runtime recommendations

Signed-off-by: Shishir Halaharvi<EMAIL_ADDRESS>

Still performing some tests to verify this works. @dinogun Please do not merge this yet.


UAA release

What
See https://github.com/alphagov/paas-uaa-customized-boshrelease/pull/27
Compare with https://concourse.build.ci.cloudpipeline.digital/teams/main/pipelines/uaa-customized-release/jobs/build-final-release/builds/14
How to review
compare with CI build output

🚨⚠ Please do not merge this pull request via the GitHub UI ⚠🚨

Superseded by https://github.com/alphagov/paas-cf/pull/2592


Wyoming-whisper errors and no timeout on STT error

When using Wyoming-whisper docker image I've got this in logs, and STT sensor is 'processing' quite long (I believe it never ends)
wyoming-whisper           | ERROR:asyncio:Task exception was never retrieved
wyoming-whisper           | future: <Task finished name='Task-11' coro=<AsyncEventHandler.run() done, defined at /usr/local/lib/python3.9/dist-packages/wyoming/server.py:26> exception=ValueError("can't extend empty axis 0 using modes other than 'constant' or 'empty'")>
wyoming-whisper           | Traceback (most recent call last):
wyoming-whisper           |   File "/usr/local/lib/python3.9/dist-packages/wyoming/server.py", line 32, in run
wyoming-whisper           |     if not (await self.handle_event(event)):
wyoming-whisper           |   File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/handler.py", line 61, in handle_event
wyoming-whisper           |     segments, _info = self.model.transcribe(
wyoming-whisper           |   File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/faster_whisper/transcribe.py", line 124, in transcribe
wyoming-whisper           |     features = self.feature_extractor(audio)
wyoming-whisper           |   File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/faster_whisper/feature_extractor.py", line 152, in __call__
wyoming-whisper           |     frames = self.fram_wave(waveform)
wyoming-whisper           |   File "/usr/local/lib/python3.9/dist-packages/wyoming_faster_whisper/faster_whisper/feature_extractor.py", line 98, in fram_wave
wyoming-whisper           |     frame = np.pad(frame, pad_width=padd_width, mode="reflect")
wyoming-whisper           |   File "<__array_function__ internals>", line 200, in pad
wyoming-whisper           |   File "/usr/local/lib/python3.9/dist-packages/numpy/lib/arraypad.py", line 815, in pad
wyoming-whisper           |     raise ValueError(
wyoming-whisper           | ValueError: can't extend empty axis 0 using modes other than 'constant' or 'empty'

There's a pretty clear error here. I/O error - ffmpeg (av) can't read data from camera. It can be network problem or camera rtsp problem.

I don't think this can be fixed from integration. Just stream problem.


Add related links section to webpage

Add related links section to index.html and template.css.
Add IBM Code Pattern link to related links section.

Signed-off-by: Cullen Taylor<EMAIL_ADDRESS>

Did you test with the light switch?

@nibalizer thanks, updated.


Fix #2532: Emit "private" field access for Java-defined fields.

Java-defined fields are now always accessed as if they were private. This is necessary because they are defined as private by our .scala source files, but they are considered !isPrivate at use site, since their symbols come from Java-emitted .class files. Fortunately, we can easily detect those as isJavaDefined.
This includes fields of Ref types (IntRef, ObjectRef, etc.) which were previously special-cased at use-site. This commit generalizes the idea to all fields that are Java-defined (as per the .class files).
This also fixes #2737, which was directly caused by #2532.

Review by @gzm0.
I manually tested that the test suite compiled with the new scheme correctly links against the standard library compiled with the old scheme, and tests pass in that situation.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3653/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4817/
Test PASSed.

Yes, it does make that an incompatible change. But then again, before nothing would work anyway.
I have seen classes getting new interfaces in different JDK versions, but I do not recall any class gaining a new parent class anywhere.

Updated.

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/3654/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/4820/
Test PASSed.


adding visualization to the results table

This is one of the suggested improvements from this doc

We now have a visualization for MLPerf inference results. This is an example and we invite feedbacks for making this visualization better.
More details can be seen in the below slides.
ck-playground-and-optimization-tournaments.pdf


doc: fix EVP_SignInit.pod

Fixes GH #19786

Could you also remove or generalize (i.e., not mention particular key type algorithms) the paragraph at line 68?

@t8m: I don't get that. Looks ok to me. Do you have a suggestion for that wording?

I've actually meant the paragraph at line 63.
Something like this would do:
When signing with some private key types the random number generator must
be seeded. If the automatic seeding or reseeding of the OpenSSL CSPRNG fails
due to external circumstances (see L<RAND(7)>), the operation will fail.

Merged to master, 3.1, 3.0 branches after squashing the commits. Thank you for your contribution.


Fix panic when endpoints were empty.

What this PR does / why we need it:
Fix panic when endpoints were empty.
Give additional time for endpoints to be propagated.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #
Special notes for your reviewer:
Release note:
NONE

/hold cancel
/lgtm

/retest


docs: storage.createBucket: show setting location

Fixes #723

LGTM

Can we create an issue to deal with the shitty error that comes with the 400?


How can we define many transactions in one script?

Does NGrinder support many transactions in one script? it looks like NGrinder take one script as one transaction.
I want to define two transactions in my script, first is  get order list, and the second is get the order one by one based on the response of the first transaction(namely get order list), I involve this two transaction in one script, but unfortunately, it consider it as one transaction, I hope NGrinder can consider it as two transaction! how can I do it? thanks so much!
Anyway, I just want to analyze the result by transaction, transaction1 reach "xx" TPS, transaction2 reach "xx" TPS, Ngrinder support it?

nGrinder good thing is the degree of freedom.
Way too often.
For example, one thing which story.
Not HTTPRequest, burning the @Test test methods
@RunWith(GrinderRunner)
class TestRunner {
    static GTest test1
    static GTest test2
    @BeforeProcess
    public static void beforeProcess() {
        test1 = new GTest(1,"test1_statistics")
        test2 = new GTest(2,"test2_statistics")
        request1 = new HTTPRequest();
        HTTPPluginControl.getConnectionDefaults().timeout = 6000
        grinder.logger.info("before process.");
    }

    @BeforeThread
    public void beforeThread() {
        test1.record(this, "doTransaction1"); // Record current object’s doTransaction1 method into test1.
        test2.record(this, "doTransaction2"); // Record current object’s doTransaction2 method into test2.
        grinder.statistics.delayReports=true;
        grinder.logger.info("before thread.");
    }

    @Test
    public void doTransaction1(){
        // Do transactions here!!
    }

    @Test
    public void doTransaction2(){
        // Do another transactions here!!
    }
}

I hope a good test.

Do you have any example in Jypthon?

i not have example. But I'll introduce me.
As it looks not difficult.
http://grinder.sourceforge.net/g3/script-gallery.html
In a few days,
It plans to raise create a sample.
Good luck.

Thanks so much!


Cant get rid off "pug' is not defined  no-undef"

Settings .eslintrc
"globals": {
"pug": true/false
},
is not helping

This is not caused by this library. Please ask for help on stack overflow using the eslint tag.


uuid lib has moved from code.google.com to github

See https://code.google.com/p/go-uuid/

Ping.
FYI: code.google.com is shutting down; import path code.google.com/p/go-uuid/uuid will stop working soon. Can we prevent that from happening, please? :smiley_cat:


mark extension types as immutable

Since https://github.com/python/cpython/pull/25520 types are automatically marked as immutable if they are static.
While we still have the Py_TPFLAGS_HEAPTYPE hack in place we need to manually mark our types as immutable.

This leads e.g. to the following issue:
Python 3.10.6 (main, Aug  2 2022, 00:00:00) [GCC 12.1.1 20220507 (Red Hat 12.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from rapidfuzz.distance import Editop
>>> Editop.__name__ = 'test'
Segmentation fault (core dumped)

I will add a test for this later today.

@da-woods apparently we do rely on the mutability, so I am unsure how we want to fix this.

Ah I probably didn't mean to rely on the mutability. I basically just enabled all the CPython dataclasses tests that seemed to pass. However, Cython dataclasses aren't Python dataclasses so they're allowed to differ in places. I'll revert the specific tests that rely on it.
I wasn't sure if immutability should be considered a feature or a side effect (i.e. whether there was a harm in leave things mutable). However, if you can cause segfaults with it so easily then we should definitely keep it.

The dataclass test is easily disabled. The second failing test is to do with setting Py_TPFLAGS_SEQUENCE on the memoryview wrapper class. I think that's well worth doing since it makes it behave like a sequence for pattern matching. It needs a bit of thought about how we do it with immutable classes though since it can't be done after the fact.
I think a @cython.tp_flags decorator might be useful (taking either "sequence" or "mapping") - I could imagine users might want to register their own classes like this so it shouldn't just be a utility code hack for memoryview.
I think proceed with this PR because we will want to make these immutable again, but fixing up the cases where we(/I) accidentally used mutability won't be instant.

Link 1 https://github.com/cython/cython/pull/5026

#5030 solves the remaining blocker for this. It is adding a feature though so I'll be patient and let it be reviewed properly.

@scoder I'd quite like to get this in the next release. It's been a bug for a while but it seems like something to fix before people start relying on the wrong behaviour.
It could do with a test - I'll have a go at writing one later today.
It's blocked by https://github.com/cython/cython/pull/5030 (but there's other options if you don't like that - in the short-term just to disable the tests)

Closing/reopening to rerun tests

Thanks @maxbachmann


WARNING: could not import ObjFileBase.symbolnum into MachO

Not urgent, but would be good to get rid of this warning.

This has been fixed somewhere along the way.


Update README, prepare for public release

Updates to the package structure and documentation, mostly to simplify things.
Fixes #9 .

@isamaru @janpom in the README, I renamed the algorithm parameter to cnt, but that's also not ideal. What is a better word to represent the "int representation"? Maybe count?

@menshikh-iv the "release badge" https://img.shields.io/github/release/rare-technologies/bounter.svg?maxAge=2592000 shows None. Do you know how make it show the release version?

@piskvorky I'm not sure, but we can try to "release" this project using "tag" and GitHub release page. I think after this actions, release badge will works.


Cast speed for flameblast totems is broken for 1.3

cast speed will not modify dps nor cast rate in certain tree configurations, testing with a heirophant build

This is something of a half-bug; due to the way attack/cast speed calculations work, it's possible to have configurations in which gaining 1 or 2% increased attack/cast speed doesn't change the attack/cast rate (this is the case both in PoB and in-game). However what's happening with 10 Stage Flameblast is a bit more extreme (even 6% nodes can have no effect), and definitely isn't intentional. I'll see if I can manage to fix it in the next update.

I've found a fix for this; as of the next update, Flameblast's 10 Stages skill part will apply a 0.1 DPS multiplier rather than a 90% less Cast Speed modifier, which will fix this issue.


clustermesh: fix panic if the etcd client cannot be created

The blamed commit anticipated the execution of the watchdog in charge of restarting the etcd connection to a remote cluster in case of errors. However, this can lead to a panic if the etcd client cannot be created (e.g., due to an invalid config file), as in that case the returned backend is nil, and the errors channel cannot be accessed.
Let's push again this logic below the error check, to make sure that the backend is always valid at that point. Yet, let's still watch for possible reconnections during the initial connection establishment phase, so that we immediately restart it in case of issues. Otherwise, this phase may hang due to the interceptor preventing the establishment to succeed, given that it would continue returning an error.
Fixes: 174e721c0e69 ("ClusterMesh: validate etcd cluster ID")
Marking as release-note/misc as the blamed commit has not yet been released. And marking for backport as it had been backported through https://github.com/cilium/cilium/pull/32005.

/test


Fixed issue with incorrect captcha re-solving

There were 2 issues fixed in this PR:

only English language errors were recognized
captcha could be re-solved only 1 time

In particular, this problem has been fixed (hopefully): cubicbyte/reddit-account-generator#7

By the way it would be nice to somehow be able to adjust timeouts like here, because with my slow proxy it very often doesn't wait for some elements to appear.

Hi,
Thank you for the PR and comments.
I agree with your idea for more custom delays, which can be implemented within the StandardDelay class.
Regarding your PR, I think the class-based approach to detect multiple audio challenges is better than the current one; however, I don't believe the iterative logic makes much sense since ReCAPTCHA only throws two audio challenges at most, so the five iterations are overkill and would potentially raise exceptions.

Thanks again for your help, and have a nice day!

Hello
Alas, I couldn't figure out a quality way for the class-based approach to detect multiple audio challenges you are talking about, so I'll leave it to you
But I'm willing to argue about the maximum of two challenges, because I don't exclude possible recognition errors (e.g. low audio quality). If they exist, the captcha may require much more repeats than 2.
And about the vulnerable iterative method of re-solving, well, I honestly can't find any problems here as well. The only possible exception I see is a TimeoutException, which is a sign that the error has not been detected.
In general, I didn't find the problems in this logic you're talking about, but I'd like to see a less abstract explanation if I'm wrong!


better UPCs, like MV, HV and EV?

Hello I have forked the mod and would like to add different kinds of UPCs.
like LV, MV, HV and EV.
https://github.com/MSandro/upc
I would also like to release a 1.19.x port of it, but mainly I would like to use it soon in my 1.18.2 Modpack.

i would prefer if you contributed the changes back to this repo, what mod has LV-EV? i haven't updated this mod because apparently there exists energy conversion in TR and MI natively now

Thanks for your answer.
MI has LV, MV,... machine and cable types.
I tought it would be a great idea to adapt the UPC to them.
Instead of placing 4 UPCs to have full EV Energy transfer (65k) i can place a EV UPC.
In my fork I have currently just created multiple UPCs with different I/O and storage values, like HV = 8192 EU
Not sure if a Superconductor UPC would make sense but I think its slightly too over powered.
Really this works natively in both directions? As far as I know you can convert EU to TechReborn Energy but not in the other direction. But I did not tried it out in 1.19.
Thanks, I will create a pull request soon.

what do you think about the textures?

i would prefer if you contributed the changes back to this repo, what mod has LV-EV? i haven't updated this mod because apparently there exists energy conversion in TR and MI natively now

true for 1.19 it works by default with a config option, so porting to 1.19 is useless.
but I hope you can merge the pull request soon and upload it to curseforge, tyvm.

@fooooooooooooooo when do you think you can upload the Pull Requst #7 to Curseforge?
I would love to be able to include it to my upcomming Modpack Version.

I cant build the mod in its current state, I always get an error described in #8


Default automated tests user to have the AuthorisedFiatUser role

This should enable the ui tests to work in dev while this branch is deployed

Closing because it wasn't the quick fix to tests in Dev that we'd hoped for and UI tests are all being done together in another branch