Arduino UNO controlling local oscillator for airband receivers

As you know the Chinese airband receiver kit is a very cheap and effective kit for hobbyists. However, the local oscillator stability is poor and I would like to remodel for this radio design by adding a stable digital controlled oscillator to use Arduino and SiliconLAB's Si5351a.

To utilize this oscillator you should make up a Chinese receiver kit and remodel for outside local oscillator injected.

The local oscillator is composed with Arduino UNO, Si5351a breakout PCB, LCD display, switches, rotary encoder, and some small parts as below.

I installed those in a case.

I shall introduce how to operate this later.


raftstore-v2: support warm up log cache and enable tests

What is changed and how it works?
Issue Number: Close #14845
What's Changed:

raftstorev2: support warm up log cache and enable tests

Related changes

Need to cherry-pick to the release branch

Check List
Tests

Integration test

Release note
None

/merge


K8s selectors for labels fields

Overview
This PR introduces support for the Kubernetes-style field selector.
Key Changes

Commit d3d1837: We added a new query parser package to facilitate tokenized, generic, function-based calls. This parser offers robust syntax validation, allows for the definition of relationships, and enforces restrictions, ultimately enabling the construction of secure and valid parameterized SQL queries that GORM will use.

Commit 7290ce9: We added a field selector implementation that uses the Kubernetes selector parser to parse the selector data. We then tokenize the output to enable effective querying.

Commit d514f76: The field selector has been integrated throughout the API and storage components.

Additional Features

Added support for OrderBy functionality, enhancing the query capabilities and allowing for more sophisticated data retrieval.

Future Enhancements
This initial implementation lays the groundwork for further enhancements, including:

Implementing label selectors that will leverage the same tokenization technique.
Subsequent PRs will refine the field selector functionality, including features such as substring matching.
Corresponding tests will be integrated in future PRs.

Looks great just high level could you provide some usage examples in the description, and it is somewhat noticeable that there isn't a single test :),. For reviewers and in general, tests are a great place to step through the logic quickly.

I agree about the examples. Could you please provide some examples showcasing the syntax of more complex use cases, such as:

Filtering by several fields at the same time
Filtering the same field with multiple values.

Hey @hexfusion, @celdrake,
I consulted with @avishayt. Since this serves as the baseline for selectors and to avoid overwhelming PR reviews, we decided to create the initial PR and introduce tests in subsequent ones.
The usage follows the current k8s field selector (before enhancement), meaning it only supports =, ==, and != for now. Any model objects tagged with 'selector' can be queried using these operators.
I’ll add the following usage examples to the description:
Example:
Filtering by multiple fields:
devices?fieldSelector=metadata.name!=assaf,status.updated.status=UpToDate
Filtering the same field with multiple values:
devices?fieldSelector=metadata.name!=assaf,metadata.name!=assaf2,status.updated.status=UpToDate
In the next phase, we’ll enhance the k8s field selector package to support additional operators. This enhancement will integrate smoothly with this PR, which uses the native k8s parser implementation.

Hey guys, I have added a new test file for the field selector that can be found in the enhanced operators branch.
It can help understand better the usage:


ft/support_jpa_schema

Support of table.schema annotation

Coverage increased (+0.6%) to 77.19% when pulling ee3f80baf2ada0d859b761563ed4d904153aec5c on ft/support_jpa_schema into 389a6d4ab5747abc8560091c647e77cf12df1d95 on master.


How about the performance compared with node-rdkafka?

I am searching some kafka client libraries in node.js, this library seems awesome, and lightweight, and i am only worry about the performance, so does anyone do some benchmark yet?
I am curious about it is not a wrapper from native librdkafka, it just use node.js 'net' and 'tls' to connect kafka cluster.

We have done benchmarks in isolation just to see what kind of throughput we could achieve, and we are running it in production under heavy load, but we've never done any direct comparisons with other libraries.
So far, it has been fast enough for our needs, so we haven't put any serious effort into optimizations. I would welcome a real comparison between the different libraries to see how we stack up.

The library node-rdkafka binds to librdkafka is has got quite a few performance optimisations, mostly in the form of batching messages in both producing and consuming. It's actually done up to such a level that some stuff is pretty hard to work with. Pretty much everything is queued to then be executed in the background. That makes things like producing and committing "synchronously" a lot more difficult, as you need to call other apis and watch for delivery reports, etc. Pretty much all developer experience is sacrificed for message throughput
If necessary, the same strategies could be applied to kafkajs, at which point I reckon you could get pretty far in pure throughput compared to librdkafka. However, given at the level that Node works, I imagine it would never get that far down the performance vs. usability trade-off.
Reality is that you probably won't need it to. The official Java Kafka client doesn't employ strategies up to that extreme point either, and is still used in production everywhere by big tech.
We haven't moved our highest volume topics from node-rdkafka to kafkajs yet, but not for a worry about performance. Unless you already have a big deployment and know exactly what kind of throughput you'll be facing, I wouldn't worry too much about it either.

In recent days, I tried kafkajs, also node-rdkafka. The scenario what we need is writing a kafka sink connector which can save data from kafka to mongodb, it need detecting the new kafka topics, and call the mongodb native driver to write data. The result is we choose node-rdkafka. It can support to 100 topics in 150 ~ 200ms interval in the same time, in other words, it can consume 500 ~ 600 topics in 1 second. kafkajs seems the much lower performance to subscribe many topics.

Write
I made a comparison
bench_kafka_drivers.txt
Usage difference
node-rdkafka
Config
const rdProducerConf = {
    'metadata.broker.list': url,
    'queue.buffering.max.ms': 10,
    'queue.buffering.max.messages': 100000,
    'queue.buffering.max.kbytes': 1048576
};

And you cant just produce as much as you want, you will catch an error, when internal queue is full - it means you need to poll()
const rdProduceDelay = 100;
let rdProduceAttempt = 0;
const rdProduce = (topic, message) => {
    try {
        producerRD.produce(topic, -1, message, null);
        rdProduceAttempt = 0;
    } catch (e) {
        if (e.message.match(/Queue full/)) {
            rdProduceAttempt++;

            if (rdProduceAttempt == 1) {
                producerRD.poll();
            }

            return when()
            .delay(rdProduceDelay)
            .then(() => {
                return rdProduce(topic, message);
            });
        } else {
            throw e;
        }
    }
};
const produceMessagesRD = (messages) => {
    return when.all(
        messages.map((message) => {
            return rdProduce(TOPIC, message);
        })
    )
};

kafkajs
const produceMessagesJS = (messages) => {
    return producerJS.send({
        topic: TOPIC,
        acks: 0,
        messages: messages.map((message) => {
            return {
                value: message
            };
        })
    })
};

Runs and results
HP laptop core i-5 with Linux mint 18, Node 8.11.1
Started a series of runs with Benchmark.options minSamples 100 and initCount 2
node node/tmp/bench_kafka_drivers.js 1 && node node/tmp/bench_kafka_drivers.js 10 && node node/tmp/bench_kafka_drivers.js 100 && node node/tmp/bench_kafka_drivers.js 1000 && node node/tmp/bench_kafka_drivers.js 10000

Sending single message
N: 1 topic: benchmark
generate 1 buffers x 370,448 ops/sec ±0.60% (190 runs sampled)
generate 1 strings x 517,251 ops/sec ±0.43% (191 runs sampled)
node-rdkafka.produce 1 messages (type Buffer) one by one x 86,086 ops/sec ±16.76% (152 runs sampled)
jafkajs.send 1 messages (type string) at once x 4,924 ops/sec ±2.05% (172 runs sampled)
Fastest is generate 1 strings

Sending 10 at once (in node-rdkafka it is still one by one because there is no bulk method there)
N: 10 topic: benchmark
generate 10 buffers x 40,394 ops/sec ±0.61% (190 runs sampled)
generate 10 strings x 55,626 ops/sec ±0.30% (192 runs sampled)
node-rdkafka.produce 10 messages (type Buffer) one by one x 13,773 ops/sec ±22.75% (156 runs sampled)
jafkajs.send 10 messages (type string) at once x 3,273 ops/sec ±1.49% (175 runs sampled)
Fastest is generate 10 strings

100
N: 100 topic: benchmark
generate 100 buffers x 3,916 ops/sec ±0.68% (188 runs sampled)
generate 100 strings x 5,262 ops/sec ±0.46% (189 runs sampled)
node-rdkafka.produce 100 messages (type Buffer) one by one x 1,480 ops/sec ±22.49% (154 runs sampled)
jafkajs.send 100 messages (type string) at once x 543 ops/sec ±2.74% (171 runs sampled)
Fastest is generate 100 strings

1000
N: 1000 topic: benchmark
generate 1000 buffers x 383 ops/sec ±1.96% (177 runs sampled)
generate 1000 strings x 562 ops/sec ±0.79% (183 runs sampled)
node-rdkafka.produce 1000 messages (type Buffer) one by one x 152 ops/sec ±22.23% (151 runs sampled)
jafkajs.send 1000 messages (type string) at once x 22.72 ops/sec ±1.53% (152 runs sampled)
Fastest is generate 1000 strings

Tried 10000
N: 10000 topic: benchmark
generate 10000 buffers x 40.82 ops/sec ±1.14% (149 runs sampled)
generate 10000 strings x 56.07 ops/sec ±0.84% (154 runs sampled)
node-rdkafka.produce 10000 messages (type Buffer) one by one x 15.35 ops/sec ±18.63% (138 runs sampled)
^C

Run stucked for several minutes, so I removed minSamples 100 and initCount 2
node node/tmp/bench_kafka_drivers.js 10000
N: 10000 topic: benchmark
generate 10000 buffers x 41.56 ops/sec ±1.59% (55 runs sampled)
generate 10000 strings x 56.41 ops/sec ±0.61% (72 runs sampled)
node-rdkafka.produce 10000 messages (type Buffer) one by one x 11.68 ops/sec ±69.16% (30 runs sampled)
jafkajs.send 10000 messages (type string) at once x 0.29 ops/sec ±7.97% (6 runs sampled)
Fastest is generate 10000 strings

In fact, write operation is much faster in node-rdkafka, may because of internal buffer and async delivery, or may be because I found better options for node-kafka producer and did not found any performance improving options (except acks) for kafkajs producer.
Read
I don't have pretty benchmark, so don't want to attach my clumsy code, but the result is that both implementations read messages equally fast (more 100 000 per sec)
Conclusion
I will try to use node-rdkafka for sending messages and kafkajs for receiving because node-rdkafka has issue with consuming (underlying librdkafka lib)

Interesting results! I'm quite sure that serialization and deserialization is a huge bottleneck for us, that could be improved relatively easily by utilizing buffers in a less wasteful way.
I'm very surprised to see that we are reading messages equally as fast as node-rdkafka. I would suspect that actually it's due to limitations on the broker side, rather than on the consumer side.

Having a bit of experience with producing messages in node-rdkafka: the producing API is fully asynchronous and batched, with no promises or callbacks to indicate whether producing was successful. Although I'm sure there's other bottlenecks in KafkaJS, this fire and forget strategy wins you a lot (as described in the reasoning for it it here), but also makes using it way more difficult. The only practical way I've found to get any kind of feedback from the producer is to listen for delivery reports, tagging each message with some unique id and matching that. It might be interesting to try that "synchronous" kind of producing with node-rdkafka and see how that benchmarks.

Well.. producing 10000 messages and then waiting for delivery callbacks for all of them works like this (node-rdkafka producing became 2 times slower)
node node/tmp/bench_kafka_drivers.js 10000
N: 10000 topic: benchmark
node-rdkafka.produce 10000 messages (type Buffer) one by one x 7.34 ops/sec ±33.15% (45 runs sampled)
jafkajs.send 10000 messages (type string) at once x 0.33 ops/sec ±5.98% (6 runs sampled)
Fastest is node-rdkafka.produce 10000 messages (type Buffer) one by one

Making this king of benchmark is not really correct because poll interval has a huge impact, small batches of messages are delivered almost as fast as big batches, and delivery time almost equals poll interval.
So to receive delivery callbacks without delay I had to reduce poll interval, not sure it is good in production because it decreases profit of batching and internal queue of librdkafka.

Having a bit of experience with producing messages in node-rdkafka: the producing API is fully asynchronous and batched, with no promises or callbacks to indicate whether producing was successful. Although I'm sure there's other bottlenecks in KafkaJS, this fire and forget strategy wins you a lot (as described in the reasoning for it it here), but also makes using it way more difficult. The only practical way I've found to get any kind of feedback from the producer is to listen for delivery reports, tagging each message with some unique id and matching that. It might be interesting to try that "synchronous" kind of producing with node-rdkafka and see how that benchmarks.

@JaapRood Lately I some have ended up here looking for alternative to node-rdkafka and also to see other related issues. However just wanted to help out with what I did for making the producer aware of delivery report is as follows:
const generateAcknowledgment = (err, ackMessage) => {   if (typeof ackMessage.opaque === 'function') {     ackMessage.opaque.call(null, err, ackMessage);   } };
  producer.on('delivery-report', generateAcknowledgment);
  producer.produce(
    topic,
    partition,
    message,
    key,
    Date.now(),
    (err, delvieryReport) => {
      if (err) {
        return reject(`Error publishing message and error is ${err}`);
      }
      if (delvieryReport) {
        const stringifiedValue: string = delvieryReport.value.toString();

        const validationForBody = validateIfObjectIsJSON(stringifiedValue);
        let resp;

        /**
         * JSON Formattable message
         */
        if (validationForBody) {
          resp = customResponse(201, {
            partition: delvieryReport.partition,
            offset: delvieryReport.offset,
            key: delvieryReport.key.toString(),
            messageType: 'JSON',
            value: JSON.parse(stringifiedValue),
          });
        } else {
          /**
           * String message
           */
          resp = customResponse(201, {
            partition: delvieryReport.partition,
            offset: delvieryReport.offset,
            key: delvieryReport.key.toString(),
            messageType: 'String',
            value: stringifiedValue,
          });
        }
        producer.removeListener(
          kafkaEvents.PUBLISH_ACKNOWLEDGMENT,
          generateAcknowledgment
        );
        return resolve(resp);
      }
    }
  );`

Hello! Sorry for awaking such old thread, but I think it can have a little more hints to what to do
I'm using kafkajs to produce messages with some level of batching (I'm publishing to between 2 and 5 topics at once)
I had set up each topic with 4 partitions and 4 node processes and was getting about 300 messages/s (raw messages, each message can publish N messages, usually is just 1)
I'm using acks=-1 so each message is really persisted before returning
        myLogger.info(`publishing ${msgTotal} msgs to kafka processingTime ${processingTime} encodingTime ${encodingTime} ${JSON.stringify(msgByTopic)}`);
        const beforeSend = Date.now();
        await kafkaProducer.sendBatch({
            topicMessages: topicMessages,
            acks: -1, // all insync replicas
            //compression: CompressionTypes.GZIP
        });
        myLogger.info(`published ${msgTotal} to kafka after ${Date.now() - beforeSend} ms`);

processing/encodingTime usually < 2 ms, so in theory, each worker should process at least 500 messages/s
replicas=3, min.insync.replicas=2, compression.type=gzip (broker only, the compression is disabled on the node as far as I know)
But when I stop the workers, let the queue (rabbitMQ) grow a little, then let de node process start again, some of publish to kafka take 9 seconds:
published 14 to kafka after 1105 ms
published 17 to kafka after 8329 ms
published 14 to kafka after 8441 ms
published 9 to kafka after 9137 ms
published 60 to kafka after 8348 ms
published 3 to kafka after 9693 ms
published 5 to kafka after 514 ms
published 3 to kafka after 9539 ms
published 9 to kafka after 9324 ms
published 10 to kafka after 71 ms

I changed the number of kafka partitions to 40, and set 16 workers and I had no improvement to throughput
I'm running on DigitalOcean k8s, each node has 8 cpu, 16gb ram, I have 3 nodes, hosting 3 kafka brokers and the nodejs processes.
CPU usage during this test reach 20% max, disk 280KB/s max, network 8Mb/s peak
What should I look for? is the latency related just to kafkajs or should I have more kafka-brokers?
Any help is welcome, maybe I should try to batch more messages? or just gave up the sync = -1

st reach 20% max, disk 280KB/s max, netwo
is someone answer?


[cleanup] Remove no-op checkToPointer

Oh, I didn't now that. Good!

Auto-merge toggled on

Yeah, I just came across it then.  Thanks.


Add 'flash message' alias to notification banner

Adds a new alias 'flash message' to the search that routes users to the notification banner:

Raised by @edwardhorsford on Slack

You can preview this change here:
Built with commit ddf9ae31a2ccd95425126ff7c68850895fe9cbbe
https://deploy-preview-1409--govuk-design-system-preview.netlify.app


Support running multiple modules

Would be nice to have a feature to run multiple modules at once https://terragrunt.gruntwork.io/docs/features/execute-terraform-commands-on-multiple-modules-at-once/

What you mean is having the possibility to run a terragrunt run-all ... command?
Currently you can create one TerraformLayer for each of your module, the only downside is that the execution order of plan & apply commands will not respect Terragrunt dependencies between your modules.
Respecting rules such as "Layer A must be planned/applied before Layer B" is in our roadmap.

Yes, exactly. I would like to associate a TerraformLayer with the whole environment live/dev for the current structure:
├── live
│   ├── common.hcl
│   ├── dev
│   │   ├── account.hcl
│   │   ├── environment.hcl
│   │   └── us-east-1
│   │       ├── eks
│   │       │   ├── apps
│   │       │   └── cluster
│   │       │       └── terragrunt.hcl
│   │       ├── network
│   │       │   └── terragrunt.hcl
│   │       ├── region.hcl
│   │       └── route53
│   │           └── terragrunt.hcl

terragrunt run-all apply allows me to do that.
I see couple of solutions here:

Allow user to customise arguments to the running binary terraform/terragrunt/opentofu
Create a simple utility which is generating TerraformLayer respecting the order of the dependencies and your unreleased feature


jti replay protection should be optional

When using jwtproxy as a generic oauth2-proxy which verifies access tokens, a client will reuse the same access token it received from the IdP as long as it remains valid.
I can prepare a PR if this sounds reasonable to you.

A strong +1 for that...

I made a new storage type for none to disable the jti nonce storage and always pass verification.
I submitted a PR with this which will allow for jwt reuse.


Adhoc filter popover simple tab on explore view does not render subject multi select if no suggestions are present

In the explore view for a dataset there are a set of conditions which causes the the subject select to not render in the adhoc filter pop over control (AdhocFilterEditPopoverSimpleTabContent) . These condition are met when a column is selected and an operator belonging to the MULTI_OPERATORS list has also been selected and no suggestions have been populated.
I believe this to be caused by this line here this seems to cause the behaviour that if you have a MULTI_OPERATOR and no suggestions the select will not render. The intention seems to be to delay rendering until suggestions are loaded, however there are cases where the suggestions will never load in some of our datasets.
If this is not intended behaviour I would also be more than happy to take a look and attempt a fix.
How to reproduce the bug
The bug is data source dependent but here are some steps to create a simple fake dataset that this bug will appear in

SQL Lab and input a query such as select 1 as col1, 2 as col2, 3 as col3
Save this query as a virtual dataset by clicking the explore button
Open the dataset in the explore view
click on filters to open the popover
select any col (col1, col2, col3) and select the IN operator
The multislect for the subject will not render

OR

Disable suggestions on a dataset
repeat steps 3-6

Expected results
The multi select would render even if there are no suggestions loaded.
Actual results
The subject multi select does not render.
Screenshots

Environment

browser: Firefox
superset version: superset master branch and 1.5.0rc1
python version: python 3.8.10
node.js version: v16.13.0

Checklist
Make sure to follow these steps before submitting your issue - thank you!

[x] I have checked the superset logs for python stacktraces and included it here as text if there are any.
[ ] I have not reproduced the issue with at least the latest released version of superset.  however I have reproduced it for 1.5.0rc1
[x] I have checked the issue tracker for the same issue and I haven't found one similar.

Thanks for reporting - I was able to reproduce, working on a fix


Questions about labels

Hello, I would like to know how the fused 3d score labels of CLOCs are generated.

The labels are based on the IoU between the 3D detection candidates and ground truth, IoU>=0.7 are set for positive targets, IoU<=0.5 are set for negative targets.

The labels are based on the IoU between the 3D detection candidates and ground truth, IoU>=0.7 are set for positive targets, IoU<=0.5 are set for negative targets.


Particle analyser failed for some particular images

When I ran the Particle analyser(3D), I notice that the plug-in failed to go on, and a bug window jump out as follows:
(Fiji Is Just) ImageJ 2.0.0-rc-68/1.52g; Java 1.8.0_172 [64-bit]; Windows 10 10.0; 783MB of 15251MB (5%)
java.lang.ArrayIndexOutOfBoundsException: 1402
at org.bonej.plugins.ParticleCounter.mergeDuplicates(ParticleCounter.java:2137)
at org.bonej.plugins.ParticleCounter.joinMappedStructures(ParticleCounter.java:2043)
at org.bonej.plugins.ParticleCounter.getParticles(ParticleCounter.java:1744)
at org.bonej.plugins.ParticleCounter.getParticles(ParticleCounter.java:1668)
at org.bonej.plugins.ParticleCounter.run(ParticleCounter.java:258)
at ij.IJ.runUserPlugIn(IJ.java:228)
at ij.IJ.runPlugIn(IJ.java:192)
at ij.Executer.runCommand(Executer.java:137)
at ij.Executer.run(Executer.java:66)
at java.lang.Thread.run(Thread.java:748)
I'm using the newest version of BoneJ as I update it in the Help-update.
I have upload the CT image stacks for your test. As the former 202 slices works well in Particle analyser(3D), when I start add the No. 203 onto the stack, the Particle analyser(3D) corrupted.
https://1drv.ms/f/s!At8hOBAhBGnMiAeZLoX0JtBNAOIo
Please help me to test it. Many thanks!

I can confirm.
When I import all 203 slices and run Particle Analyser I get the same AIOOB exception. When I delete the 203rd slice and run Particle Analyser again, it works fine. When I import just the first 202 images it also works fine. If I delete the second to last image from the 203 slice stack making a 202-slice stack missing cb0201 but including cb0202, I get the exception again. So I think there is something wrong with the image slice cb0202 that is breaking the code. It is possible to run Particle Analyser on cb0202 as a single slice (works fine), or as the last slice of a substack made from the last 4 slices of the series.
This bug is not present in the ImageJ1 version of the code, and it hasn't changed much during @rimadoma's porting effort. I'll take a look. Thanks for the test data @kld123509945 .

This bug was introduced in 10fc038


Added a property enables drawing the value indicator in a new line

Drawing the value indicator in a new line can be enabled by setting the property valueIndicatorInNewLine to true

Hi, thanks for contributing!
What exactly is the use case of this?

Makes sense, I wonder if we can figure out a better way of doing this even if it requires writing some new API and breaking compatibility. This view already has so many properties it's getting worse and worse every PR. I'll try to think of a better way of making it more dynamic in terms of modifying what the value text should be, let me know if you have any ideas.

Also, this branch should be separate from your other PR as they don't really relate to each other, can you make this branch only have the feature you want to be added (the new line) and remove the code from the other branch. As well as fix merge conflicts, thanks!

you are write, I should't add this feature on the master branch.
I made a new branch for this feature and made another pull request for it.


Unexisting packages are still created with add command

This is actually not happening anymore we you run it from Windows 10 Pro, Python 3.10.7.

Okay, this is solved in some commit after version 0.1.2
I'm going to deploy current version as 0.2.0


code that worked with DaCe stopped working

Describe the bug
About  half a year ago, I wrote a piece of code and parallelized it using DaCe. For some reason, it has stopped working and now pops the error:
C:\Users\User\AppData\Local\Programs\Python\Python39\python.exe D:\GitHub\dplus-dev\PythonInterface\dplus\g_r.py
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\dace\frontend\python\newast.py:4295: UserWarning: Performance warning: Automatically creating callback to Python interpreter from method "numpy_random_normal". If you would like to know why parsing failed, please place a @dace.program decorator on the function. If a DaCe function cannot be provided (for example, due to recursion), register a replacement through "dace.frontend.common.op_repository".
  warnings.warn('Performance warning: Automatically creating '
WARNING: Passing int32 array argument "u" to a float64 array
WARNING: Passing int32 array argument "u" to a float64 array
WARNING: Passing int32 array argument "u" to a float64 array
WARNING: Passing int32 array argument "u" to a float64 array
Exception ignored on calling ctypes callback function: functools.partial(<function callback.get_trampoline.<locals>.trampoline at 0x0000023B2210ACA0>, <built-in method normal of numpy.random.mtrand.RandomState object at 0x0000023B752A1C40>, [0, 1], [(<class 'ctypes.c_double'>, (V, 4)), (<class 'ctypes.c_double'>, (4,))], [2], [(<class 'ctypes.c_double'>, (V, 4))])
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\dace\dtypes.py", line 1077, in trampoline
    ret = orig_function(*list_of_other_inputs)
  File "mtrand.pyx", line 1510, in numpy.random.mtrand.RandomState.normal
  File "_common.pyx", line 594, in numpy.random._common.cont
  File "_common.pyx", line 499, in numpy.random._common.cont_broadcast_2
  File "_common.pyx", line 384, in numpy.random._common.check_array_constraint
ValueError: scale < 0
Exception ignored on calling ctypes callback function: functools.partial(<function callback.get_trampoline.<locals>.trampoline at 0x0000023B2210A790>, <built-in method normal of numpy.random.mtrand.RandomState object at 0x0000023B752A1C40>, [0, 1], [(<class 'ctypes.c_double'>, (V, 4)), (<class 'ctypes.c_double'>, (4,))], [2], [(<class 'ctypes.c_double'>, (V, 4))])
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\dace\dtypes.py", line 1077, in trampoline
    ret = orig_function(*list_of_other_inputs)
  File "mtrand.pyx", line 1510, in numpy.random.mtrand.RandomState.normal
  File "_common.pyx", line 594, in numpy.random._common.cont
  File "_common.pyx", line 499, in numpy.random._common.cont_broadcast_2
  File "_common.pyx", line 384, in numpy.random._common.check_array_constraint
ValueError: scale < 0
Exception ignored on calling ctypes callback function: functools.partial(<function callback.get_trampoline.<locals>.trampoline at 0x0000023B22125EE0>, <built-in method normal of numpy.random.mtrand.RandomState object at 0x0000023B752A1C40>, [0, 1], [(<class 'ctypes.c_double'>, (V, 4)), (<class 'ctypes.c_double'>, (4,))], [2], [(<class 'ctypes.c_double'>, (V, 4))])
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\dace\dtypes.py", line 1077, in trampoline
    ret = orig_function(*list_of_other_inputs)
  File "mtrand.pyx", line 1510, in numpy.random.mtrand.RandomState.normal
  File "_common.pyx", line 594, in numpy.random._common.cont
  File "_common.pyx", line 499, in numpy.random._common.cont_broadcast_2
  File "_common.pyx", line 384, in numpy.random._common.check_array_constraint
ValueError: scale < 0
Exception ignored on calling ctypes callback function: functools.partial(<function callback.get_trampoline.<locals>.trampoline at 0x0000023B221250D0>, <built-in method normal of numpy.random.mtrand.RandomState object at 0x0000023B752A1C40>, [0, 1], [(<class 'ctypes.c_double'>, (V, 4)), (<class 'ctypes.c_double'>, (4,))], [2], [(<class 'ctypes.c_double'>, (V, 4))])
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\dace\dtypes.py", line 1077, in trampoline
    ret = orig_function(*list_of_other_inputs)
  File "mtrand.pyx", line 1510, in numpy.random.mtrand.RandomState.normal
  File "_common.pyx", line 594, in numpy.random._common.cont
  File "_common.pyx", line 499, in numpy.random._common.cont_broadcast_2
  File "_common.pyx", line 384, in numpy.random._common.check_array_constraint
ValueError: scale < 0
Exception ignored on calling ctypes callback function: functools.partial(<function callback.get_trampoline.<locals>.trampoline at 0x0000023B2210A700>, <built-in method normal of numpy.random.mtrand.RandomState object at 0x0000023B752A1C40>, [0, 1], [(<class 'ctypes.c_double'>, (V, 4)), (<class 'ctypes.c_double'>, (4,))], [2], [(<class 'ctypes.c_double'>, (V, 4))])
Traceback (most recent call last):
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\dace\dtypes.py", line 1077, in trampoline
    ret = orig_function(*list_of_other_inputs)
  File "mtrand.pyx", line 1510, in numpy.random.mtrand.RandomState.normal
  File "_common.pyx", line 594, in numpy.random._common.cont
  File "_common.pyx", line 499, in numpy.random._common.cont_broadcast_2
  File "_common.pyx", line 384, in numpy.random._common.check_array_constraint
ValueError: scale < 0
WARNING: Passing int32 array argument "u" to a float64 array
C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\dace\frontend\python\newast.py:4295: UserWarning: Performance warning: Automatically creating callback to Python interpreter from method "numpy_random_randint". If you would like to know why parsing failed, please place a @dace.program decorator on the function. If a DaCe function cannot be provided (for example, due to recursion), register a replacement through "dace.frontend.common.op_repository".
  warnings.warn('Performance warning: Automatically creating '
Traceback (most recent call last):
  File "D:\GitHub\dplus-dev\PythonInterface\dplus\g_r.py", line 649, in <module>
    my_g_r = g_r_from_model(file_single, Lx, Ly, Lz, thermal=1, Number_for_average_conf=5)
  File "D:\GitHub\dplus-dev\PythonInterface\dplus\g_r.py", line 486, in g_r_from_model
    return compute_gr(bins, thermal, vec_old, Lx, Ly, Lz, file_triple,
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\dace\frontend\python\parser.py", line 423, in __call__
    binaryobj = sdfg.compile(validate=self.validate)
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\dace\sdfg\sdfg.py", line 2189, in compile
    program_objects = codegen.generate_code(sdfg, validate=validate)
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\dace\codegen\codegen.py", line 227, in generate_code
    (global_code, frame_code, used_targets, used_environments) = frame.generate_code(sdfg, None)
  File "C:\Users\User\AppData\Local\Programs\Python\Python39\lib\site-packages\dace\codegen\targets\framecode.py", line 802, in generate_code
    raise TypeError(f'Type inference failed for symbol {isvarName}')
TypeError: Type inference failed for symbol __tmp2

To Reproduce
This is the code in question:
V = dc.symbol('V')
M = dc.symbol('M')
TV = dc.symbol('TV')
NFC = dc.symbol('NFC')

def triple(mat_single, Lx, Ly, Lz):

    ms = mat_single.shape[0] #: dc.int64
    mat_triple = np.zeros([27*ms, 4]) #: dc.float64[27*n, 4]
    trans = np.array([-1, 0, 1])
    for i in range(3):
        for j in range(3):
            for k in range(3):
                it = int((9 * i + 3 * j + k)*ms)
                itpn = int((9 * i + 3 * j + k + 1)*ms)
                mat_triple[it:itpn] = mat_single + np.array([trans[i] * Lx, trans[j] * Ly, trans[k] * Lz, .0])
    return mat_triple

def g_r_from_model(file: str, Lx: dc.float64, Ly: dc.float64, Lz: dc.float64, file_triple: str =
r'.\my_triple', radius: dc.float64 = 0, r_max: dc.float64 = 15, dr: dc.float64 = 0.01,
                   Number_for_average_atoms: dc.int64 = 1
                   , thermal: dc.bool = 0, u: dc.float64[4] = np.array([0, 0, 0, 0]),
                   Number_for_average_conf: dc.int64 = 1):

    vec, n = read_from_file(file, radius)
    vec = np.copy(vec)
    if not thermal:
        vec_triple = np.zeros([1, 27 * n, 4])
        vec_triple[0] = triple(vec, Lx, Ly, Lz)#, file_triple)
    elif Number_for_average_conf != 1:
        vec_triple = np.zeros([Number_for_average_conf, 27 * n, 4])
        for conf in range(Number_for_average_conf):
            vec = thermalize(np.copy(vec), u)
            vec_triple[conf] = triple(vec, Lx, Ly, Lz)
    else:
        vec_triple = np.zeros([Number_for_average_conf, 27*n, 4])
        for conf in range(Number_for_average_conf):
            vec = thermalize(np.copy(vec), u)
            vec_triple[conf] = triple(vec, Lx, Ly, Lz)
    vec_old = np.copy(vec)

    bins = np.arange(0, r_max + dr, dr)
    return compute_gr(bins, thermal, vec_old, Lx, Ly, Lz, file_triple,
                      vec_triple, vec, radius, u, dr, r_max,
                      Number_for_average_atoms=Number_for_average_atoms,
                      Number_for_average_conf=Number_for_average_conf)

Number_for_average_atoms = dc.symbol('Number_for_average_atoms')
Number_for_average_conf = dc.symbol('Number_for_average_conf')

@dc.program(auto_optimize=True)
def compute_gr(bins: dc.float64[M], thermal: dc.bool, vec_old: dc.float64[V, 4], Lx: dc.float64, Ly: dc.float64,
               Lz: dc.float64, file_triple: str, vec_triple: dc.float64[NFC, TV, 4], vec: dc.float64[V, 4], radius=0,
               u: dc.float64[4]=np.array([0, 0, 0, 0]), dr=0.01, r_max=15):
    rho: dc.float64
    g_r = np.zeros([Number_for_average_atoms * Number_for_average_conf, M])

    num = 0
    it_tot = 0
    it_conf = 0

    while it_conf < NFC:#Number_for_average_conf:
        it_atom = 0
        while it_atom < Number_for_average_atoms:
            my_rand: dc.int64 = np.random.randint(0, V)
            r_0 = vec[my_rand]

            if radius == 0:
                for j in range(vec_triple.shape[1]):
                    row_j = vec_triple[it_conf, j]
                    d = np.sqrt((row_j[0] - r_0[0]) ** 2 + (row_j[1] - r_0[1]) ** 2 + (row_j[2] - r_0[2]) ** 2)
                    if (r_max < d) | (d < 1e-10):
                        continue
                    num += 1
                    for i in range(M):
                        if bins[i] < d:
                            pass
                        else:
                            if bins[i] >= d:
                                g_r[it_tot, i] += 1
                                break
            else:
                for j in range(vec_triple.shape[1]):
                    row = vec_triple[it_conf, j]
                    d = np.sqrt((row[0] - r_0[0]) ** 2 + (row[1] - r_0[1]) ** 2 + (row[2] - r_0[2]) ** 2)
                    r = row[3]
                    d_min = d - r
                    d_max = d + r
                    vol_tot = 4 * np.pi * r ** 3 / 3
                    nn = dc.int64(N_R(r, dr))

                    if (r_max < d_min) | (d < 1e-10):
                        pass
                    num += 1

                    for i in range(M):
                        if bins[i] < d_min:
                            pass
                        else:
                            if bins[i] > d_max:
                                g_r[0, i] += 1
                                break
                            else:
                                counted_vol = 0
                                for k in range(nn[0]):
                                    if i + k < M:
                                        if bins[i + k] < d_max:
                                            Vol = Lens_Vol(bins[i + k], r, d) - counted_vol
                                            g_r[it_tot, i + k] += Vol / vol_tot
                                            counted_vol += Vol
                                        else:
                                            g_r[it_tot, i + k] += 1 - counted_vol / vol_tot
                                    else:
                                        break
                                break

            rho_temp = 3 * np.sum(g_r[it_tot]) / (4 * np.pi * bins[-1] ** 3)
            g_r[it_tot, 1:] /= (rho_temp * 4 / 3 * np.pi * (bins[1:] ** 3 - bins[:-1] ** 3))
            it_tot += 1
            it_atom += 1
        it_conf += 1

    g_r[:] = np.sum(g_r) / (Number_for_average_atoms * Number_for_average_conf)
    rho = 3 * np.sum(g_r) / (4 * np.pi * bins[-1] ** 3)

    return bins, g_r, rho

if __name__ == '__main__':
    file_single = r'.\thermal_cube.dol'
    vec, n = read_from_file(file_single, 0.01)
    Lx = 50
    Ly = 50
    Lz = 50

    fskndf = g_r_from_model(file_single, Lx, Ly, Lz, thermal=1, Number_for_average_conf=5)

I added the needed file to run this (.txt needs to be changed to .dol)
Cube.txt
Thanks for the help!

Thank you for reporting this. We are looking into the issue, but it will take a few days to get back to you with a fix because we are currently attending SC'22.

No worries with the delay :)
Thank you very much for the help, I will run and check using the fix-unflatten-instruction branch and update accordingly.

UPDATE: Using the branch I was able to run the code with the suggested changes and it worked like a charm!
Thanks a lot!

 Let us know if you need further support.


feat(packages/jellyfish-api-core): Consortium RPCs

What this PR does / why we need it:
/kind feature
Which issue(s) does this PR fixes?:

Fixes https://github.com/JellyfishSDK/jellyfish/issues/1820
Additional comments?:

[x] burntokens
[x] mintokens
[x] setgov
[x] listprices - add tests for pagination

https://github.com/JellyfishSDK/jellyfish/actions/runs/3478433030/jobs/5822002511#step:5:928 Having some minor test issue here.

Oh I think this can be ignored right? @shohamc1

https://github.com/JellyfishSDK/jellyfish/actions/runs/3478433030/jobs/5822002511#step:5:928 Having some minor test issue here.

Oh I think this can be ignored right? @shohamc1

Yup, this is because the image being used is from an RC build. It'll go away once we switch to a release build.


can't insall microPython firmware on cardputer

Installing the MicroPython firmware on the cardputer gets stuck at the final ‘complete’ stage and won’t boot. The firmware can be downloaded from: https://micropython.org/download/ESP32_GENERIC_S3/ 1.23.0

Micropython firmware, by default, doesn't have a UI that sends commands to the tft, so the tft keeps "frozen" in the last state (the last command it received) while the firmware is running in the MCU.
Start the Launcher, plug it to the Arduino IDE Serial Monitor, and install this binary... You will see a few installing messages, and after that a reboot command and then confirm that the Micropython boot messages are shown after that.
If it keeps in boot loop, please inform me.

After restarting, I found that the MicroPython environment had indeed loaded. Previously, connecting to Thonny kept giving a ‘Resource busy’ error, but now it works fine. However, when debugging with MicroPython based on M5Launcher, it’s more likely to encounter a MemoryError.
By the way, thanks for the response.


Add missing export keyword for lib_6_3 compatibility

In a previous commit, this branch was updated to target lib_6_3 from lib_6_1.
6_3 differs from 6_1 in that it doesn’t export all functions by default. You need to either use ‘export’ (the keyword) or use the -default-linkage option. This change adds the 'export' keyword where necessary.

This change is straightforward, and the contents and purpose have been discussed verbally with Peter/Jacques already; therefore I am merging it.


@microsoft.graph.conflictBehavior=rename as a query parameter

[Enter feedback here]
please add comment to clarify use of @conflictbehaviour using query parameter.

add @microsoft.graph.conflictBehavior=rename as a query parameter to your URI.

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

ID: dd91d01d-83c9-9499-b5e7-0e090b327876
Version Independent ID: 79e4e52a-875c-9558-8643-4602f15fcd68
Content: Upload small files - Microsoft Graph v1.0
Content Source: api-reference/v1.0/api/driveitem-put-content.md
Product: sharepoint
Technology: microsoft-graph
GitHub Login: @JeremyKelley
Microsoft Alias: MSGraphDocsVteam

As part of a repository clean up effort we are closing older issues. If this issue remains, please: open a new issue, reference this issue, and provide any additional details that may help in resolution. Thank you for your understanding as we work to improve our responsiveness.


[NVIDIA TF] Enable BF16 MatMul Ops

This PR enables BF16 MatMul/BatchedMatMul via cuBLAS.
cc. @nluehr @pjannaty @kushanam @trevor-m

I will remove the TF_ENABLE_GPU_BFLOAT16 flag and fix some tolerance issues in the unit tests as pointed out by @reedwm in PR https://github.com/tensorflow/tensorflow/pull/57674.

Gentle ping. @reedwm

Noticed a couple of newly added unit tests of bf16 failed on CPU. Just skip these tests on CPU, since they are not focus of this PR. @reedwm

@reedwm It seems the merging is stuck at some point. Can you help check?


Masked Enemy Overhaul and AC

Latest versions of both Advanced Company and Masked Enemy Overhaul.
Masked enemies spawned by the overhaul do not copy cosmetics from the player despite compatibility updates saying they should.

(Tested with natural and command spawns with invincibility. All of the Masked have the correct suit but no Cosmetics)
Modpack Code: 018d4dec-21cb-4050-d8c4-9e061fcec81d
Could be a modded conflict with an unrelated mod but seemed unlikely, could not provide a log sorry.

I have the same issue. The masked enemies copy suits but not cosmetics. They also stay in the vomiting animation after killing someone.
Log file:
Player.log
Mod list:
BepInEx-BepInExPack-5.4.2100
Rune580-LethalCompany_InputUtils-0.6.1
PotatoePet-AdvancedCompany-1.0.140
notnotnotswipez-MoreCompany-1.7.6
x753-More_Suits-1.4.1
HomelessGinger-MaskedEnemyOverhaul-3.1.1
Profile code:
018d5386-4e21-09cd-61e5-c12f6fd4c01f

Its an error of that mod:
MissingFieldException: Field not found: bool MoreCompany.MainClass.showCosmetics Due to: Could not find field in class
at MaskedEnemyRework.Patches.MaskedVisualRework.HideCosmeticsIfMarked (MaskedPlayerEnemy& __instance) [0x00014] in <705cb0ff4d81450f812a7709fd5ff640>:0
at (wrapper dynamic-method) MaskedPlayerEnemy.DMDMaskedPlayerEnemy::SetEnemyOutside(MaskedPlayerEnemy,bool)
at MaskedPlayerEnemy+d__102.MoveNext () [0x00476] in :0
at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in :0
MissingFieldException: Field not found: bool MoreCompany.MainClass.showCosmetics Due to: Could not find field in class
at MaskedEnemyRework.Patches.MaskedVisualRework.ReformVisuals (MaskedPlayerEnemy& __instance) [0x00188] in <705cb0ff4d81450f812a7709fd5ff640>:0
at (wrapper dynamic-method) MaskedPlayerEnemy.DMDMaskedPlayerEnemy::Start(MaskedPlayerEnemy)
Cant do anything about it

I posted in their thread with the information provided here. Closing it for now. Hopefully will get fixed by them.


Bundler does not vendor net-http-pipeline gem.

If we already have the net-http-pipeline gem installed and try to vendor it the gem is not vendored because Bundler loads it before vendoring (https://github.com/bundler/bundler/blob/master/lib/bundler/vendor/net-http-persistent/lib/net/http/persistent.rb#L7).
To reproduce this:
1- Gemfile
    source "https://rubygems.org"     gem 'net-http-pipeline'
1- bundle install
1- bundle install --path vendor/bundle`` 1- bundle check`
Bundle check gives this:
The following gems are missing
 * net-http-pipeline (1.0.1)
Install missing gems with `bundle install`

Oh wow, I had no idea about this hidden dependency. Since the dependency is optional (require error is swalled, and we're not using it), the simplest solution here seems to remove the require from the version we are vendoring.


fix package folding with curly braces

This seems to work - but maybe needs a more robust regex... :thinking:

Which package folding code does this fix? The one in the test suite?

I am not exactly sure what you mean. I did not touch any test suite. I just changed the regex in perl.vim in the dev branch. But this you can see from the PR itself :)

Mhm.. it is still now complete. In my project, there are some fold gone now :( I think I still have to tweak the regex and read more on syntax files ....

@Jeansen I'm just wondering which code the didn't fold correctly with the regex I wrote in ae7de6eb, and required you to fix it.

Oh, I see.  I simply try everything against my own project: https://github.com/Jeansen/cdmn/blob/master/cdmn
And then I see, that some packages do not get folded, e.g. package cdmn::sidebar in line 975

Ok, I'll take a look and see what I can do.

He @hoelzro. Any update on this? Or should I take over and see, what I can do?

Hi @Jeansen,
Sorry for the delay - I haven't had a lot of time for vim-perl lately.  If you would like to have a look, that would be great - otherwise I plan on having a look next week.

@Jeansen Just a small status update - I should have time to look at this over the next few days.  I'm working on getting back up to speed with what's going on with the test - IIRC I need to read the vim syntax code to figure out how these folds are getting calculated =S

@hoelzro Great. Unfortunately this time I did not find the time to have a look, yet. It is like always. You plan something, and then it all happens totally different ...


Freeze board?

Hello, is there a way to freeze the board after a certain number of moves? I tried returning false for onPieceDragBegin, but it does not work. And I get an error onPieceDragBegin is not a function. (In 'onPieceDragBegin(piece, square)', 'onPieceDragBegin' is false). I don't want a user to be able to make any more moves.
I am using the latest stable version.
Thank you.

This project is chess.js and only takes care of the chess logic and not the interface. Probably you need to raise your issue for the chessboard.js project that implements an actual user interface.


Search result Descriptions omit hyperlink text

For example,
https://docs.microsoft.com/en-us/dotnet/api/?iew=netframework-4.7.2&term=string.IsNullOrEmpty
The Description column has the text
"Indicates whether the specified string is null or an string."
rather than
"Indicates whether the specified string is null or an Empty string." that is displayed when you click the link for the method.

This might be a good idea to support rich text for search result description field. But I believe current behavior is by design. @dend your thought?

#log-suggestion @dend
@presleyy @atrain247365 yes, that is new functionality that we need to add.

🚀 ATTENTION: Internal request logged.

This is a dupe of #637, though - I will close this item, and keep the internal ticket open for tracking.


Improve Go-linting in CI

Currently Go linting is tightly coupled with pre-commits, which make things very complex and error prone.
This commit removes Go linting from any pre-commit logic, and only have it as a first class citizen in Github Actions.
More tasks were created to simplify all the tooling about pre-commits and linting, but will tackle it one step at a time.

Closing in favor of https://github.com/bacalhau-project/bacalhau/pull/4672


Allow detekt to pass with 2023

Codecov Report

Merging #749 (42fbdf8) into main (75392f1) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #749   +/-   ##
=======================================
  Coverage   70.23%   70.23%
=======================================
  Files         112      112
  Lines        5544     5544
  Branches     1108     1108
=======================================
  Hits         3894     3894
  Misses        895      895
  Partials      755      755

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


and() or() not() for SignalKit.Signal<(A, B, C)>

This project is awesome. The syntax is much more vivid then ReactiveCocoa. But I just found some inconvenience.
Since we can combine several signals(Boolean wrapped in NSNumber) together with ReactiveCocoa:
RAC(getCodeButton, "enabled") <-- RACSignal.combineLatest([validMobileSignal, isCountingSignal]).and()

While with SignalKit:
combineLatest(mobileSignal, passwordSignal, smsCodeSignal)
    .map { $0.0 == $0.1 == $0.2 == true }
    .bindTo( isEnabled(fetchCodeButton) )

What if we add some convenient funcs like what ReactiveCocoa did.
combineLatest(mobileSignal, passwordSignal, smsCodeSignal).and()
    .bindTo( isEnabled(fetchCodeButton) )

Hi,
I see how this can be improved, however and(), or() and not() are too ambiguous names for functions/methods.
Maybe something like this:
combineLatest(mobileSignal, passwordSignal, smsCodeSignal)
    .map( reduceUsing(.And) )
    .bindTo( isEnabled(fetchCodeButton) )

Where reduceUsing is a curried function which accepts the kind of operation to use (.And or .Or) and returns a function which in its turn accepts a tuple with booleans that comes from applying map on the signal coming from combineLatest.
Thanks!

Im happy to tell you that in SignalKit 1.0.0 we now have all and some signal operations for signals of tuple type (Bool, Bool) and (Bool, Bool, Bool)
Now you can write your example like this:
combineLatest(mobileSignal, passwordSignal, smsCodeSignal)
    .all { $0 == true }
    .bindTo(enabled: fetchCodeButton)

:tada:

Nice.
But what if I have 4 or more params to pass?

You can combine them like this:
let signalA = ...
let signalB = ...
let signalC = ...
let signalD = ...

let signalAB = combineLatest(signalA, signalB).all { $0 == true }
let signalCD = combineLatest(signalC, signalD).all { $0 == true }

combineLatest(signalAB, signalCD)
    .all { $0 == true }
    .bindTo(enabled: button)

Or you can implement a free function combineLatest similarly to the one included in SignalKit that accepts 4 signals and then add a extension to SignalType protocol for the methods all and some for a signal of tuple type (Bool, Bool, Bool, Bool)


Add meshes to model

As per the title. I updated the model with meshes for the body and muscle linkages. Obviously, these scale with the model's size.

@LorenzoFiori  after the last commit https://github.com/ami-iit/human-model-generator/pull/20/commits/e18c842e5909f28976e7194acd866f7ea2f35f05, I launched the code with the following option:
OPT_CHECK_CONSISTENCY_MODEL = False
OPT_VISUALIZZATION_MODEL = True

and I got this error
File ".../human-model-generator/code/main.py", line 250, in <module>
    viz.modelViz("ModelVisualizer").setPositions(G_T_base, s)
                                                 ^^^^^^^^
NameError: name 'G_T_base' is not defined


Support OT 2.0

These changes adopt the 2.0 api and MockTracer.  Also included are some dsl test updates to work with newer library versions.

+1 on this!

+1...


[CELEBORN-1495] CelebornColumnDictionary supports dictionary of float and double column type

What changes were proposed in this pull request?
CelebornColumnDictionary supports dictionary of float and double column type.
Why are the changes needed?
CelebornColumnDictionary only supports dictionary of int, long and string column type at present. It's recommended to support dictionary of float and double column type for columnar shuffle.
Does this PR introduce any user-facing change?
No.
How was this patch tested?
No.

Ping @FMX, @kerwin-zk.


Tv Force sell

Hello friends,
Any idea why this feature can't use limit order instead market order?
"Force sell at the market price when recommendation is Strong sell and the profit is between 0 to trigger price "

It is because if you are selling with the limit order, the order may not be executed.
The feature ""Force sell at the market price when recommendation is Strong sell and the profit is between 0 to trigger price " is for minimising the lose.


Make in game chat

This issue will handle the in game chat using Phaser and MongoDB

In game chat is now implemented. It is not linked with the main Node JS file yer, but integrating these will be a separate issue. The main point of this issue was for the logic behind the chat to be completed.


[apps] catching connect and read timeout exceptions raised by requests

to: @javuto
cc: @airbnb/streamalert-maintainers
size: small
resolves N/A
Background
If connections or reads using requests ever timeout, the requests library catches those timeouts and raises its own exception(s). requests.exceptions.ConnectTimeout will be raised for connection-related timeouts, and requests.exceptions.ReadTimeout will be raised for timeouts during read.
Traceback observed in CloudWatch:
Traceback (most recent call last):
File "/var/task/app_integrations/main.py", line 39, in handler
app.gather()
File "/var/task/app_integrations/apps/app_base.py", line 410, in gather
while (self._gather() + self._sleep_seconds() <
File "/var/task/app_integrations/apps/app_base.py", line 395, in _gather
exec_time = Decimal(timeit(do_gather, number=1))
File "/usr/lib64/python2.7/timeit.py", line 237, in timeit
return Timer(stmt, setup, timer).timeit(number)
File "/usr/lib64/python2.7/timeit.py", line 202, in timeit
timing = self.inner(it, self.timer)
File "/usr/lib64/python2.7/timeit.py", line 100, in inner
_func()
File "/var/task/app_integrations/apps/app_base.py", line 370, in do_gather
logs = self._gather_logs()
File "/var/task/app_integrations/apps/onelogin.py", line 115, in _gather_logs
return self._get_onelogin_events()
File "/var/task/app_integrations/apps/onelogin.py", line 196, in _get_onelogin_events
result, response = self._make_get_request(request_url, self._auth_headers, params)
File "/var/task/app_integrations/apps/app_base.py", line 316, in _make_get_request
params=params, timeout=self._DEFAULT_REQUEST_TIMEOUT)
File "/var/task/requests/api.py", line 72, in get
return request('get', url, params=params, **kwargs)
File "/var/task/requests/api.py", line 58, in request
return session.request(method=method, url=url, **kwargs)
File "/var/task/requests/sessions.py", line 508, in request
resp = self.send(prep, **send_kwargs)
File "/var/task/requests/sessions.py", line 618, in send
r = adapter.send(request, **kwargs)
File "/var/task/requests/adapters.py", line 496, in send
raise ConnectTimeout(e, request=request)
ConnectTimeout: HTTPSConnectionPool(host='api.us.onelogin.com', port=443): Max retries exceeded with url: /api/1/events?since=2017-11-07T02:24:51.808Z&after_cursor=cGFnZV9udW1iZXI6OjoxOA (Caused by ConnectTimeoutError(<urllib3.connection.VerifiedHTTPSConnection object at 0x7fa8c839be90>, 'Connection to api.us.onelogin.com timed out. (connect timeout=3.05)'))

Changes

Creating a decorator to wrap any function that uses requests with a timeout to catch exceptions of type requests.exceptions.Timeout.

This is the type that both connection and read exceptions inherit from, so it will catch both of those.

Testing

Added unit test to ensure the catch happens properly.

Coverage increased (+0.02%) to 95.578% when pulling 09d5e62a7905abd859c47dc4ef32dec25f6379a5 on ryandeivert-apps-timeout-catch into e6ee862af2ecbc88fabae7a1036a05df9f5d5d67 on master.


message view: Replace reactions title with on-hover tooltips.

This PR fixes  #8679.
The first commit is a fix for the reaction button in the message view, replacing the html title with a JS Tooltip. I added this to maintain consistency in that section.
The second commit deals with this problem statement in the Issue, i.e., emoji reactions. Replacing the html titles with JS tooltips and adding tests for the same.
GIFs or Screenshots:

@rishig As discussed here, this PR is ready for review.

cool, thanks! I'm wondering if for a first pass on this we should just try to match how the html title behaves, in terms of being in 1 line or at least being much wider.

@rishig I increased the size of the tooltips to be similar to the size of the current titles.

Any changes required to this PR?

Are there any other changes that I should make to the emoji reaction tooltips?

@timabbott Can you please review this? Thanks!

@vinitS101 what happens if there are like 15 users who had the reaction?  Do we end up overflowing the screen or line-wrapping?

@timabbott Line wrapping occurs in that case.
Line 211: $(".tooltip, .tooltip-inner").css('max-width', "500em"); handles the length of the tooltip. It is sufficiently long to accommodate a large number of names like Rishi wanted, but then wraps to a new line when there are too many names/people.

Adding some examples of the automatic line-wrapping here.

@vinitS101 can you rebase this past the merge conflicts?  I'd like to try integrating it.
@rishig can you sign off on the screenshots (or post any requests for them?)

I think ideally we'd line wrap a little sooner than the end of the screen, like at 600px width.
But can be merged in the mean time; it's a huge improvement in the common case where there's only a few reactors.

I didn't realize there were merge conflicts. I'll rebase this after classes today.

Rebased and changed 800px to 600px.

Actually, hmm -- does this change break using accessibility tools like screenreaders to find out who reacted?  We might want to preserve the title attributes (or include aria-label attributes with the same value) rather than just removing them?
Posted a few comments as well; otherwise this lgtm.

@timabbott I've made all the changes except for moving the css, which doesn't seem to be working when not done from the JS here.

OK; I'm fine with merging with the current CSS setup and leaving trying to clean that up for a follow-up goal.

Merged, thanks @vinitS101!


around destination?

Very crude idea here, just jotting it down.
Problem
Wrapper snippets live in the top level Talon namespace. They compete with all other commands. This makes them hard to name, particularly as they become numerous.
Proposal
An "around" destination. Then instead of "if wrap air" it'd be "snip if around air", just as it is "snip range before/to/after air".
This could also be used as an alternate spoken form for paired delimiter wrapping. Instead of "curly wrap air" it could be "wrap curly around air".
This might also open the path to multiple positional holes in snippets, if the target had multiple ranges selected. But this gets complicated quickly.

Interesting idea.  How to handle wrapping into different holes of a snippet? Today we use eg "if wrap air" vs "else wrap air"

The obvious analogue is "snip else around air". But maybe I'm missing something more subtle going on there.

I guess that could work, it's just that "snip " feels like it is the name of the snippet itself, which is the same snippet no matter which hole you're wrapping into. But I wouldn't say this is a showstopper; I still think this grammar is an interesting idea. Prob worth tossing on the to-discuss list

Even deeper into "ponies" land...
bring currently serves to provide a kind of ad hoc insertion snippet. If there was some way to textually represent a variable/hole, then it could also serve to provide ad hoc wrapper snippets.
I needed to wrap a dozen select statements today in coalesce( ... , "unknown").
I thought I was clever and created a custom wrapper snippet, but it was a lot of work to get it all hooked up correctly and iron out the bugs, and in the end it was clearly a waste of time. Some text in a split editor like coalesce(WHAT_GOES_HERE, "unknown") would have enabled a quick bring file cap around air past plex as needed.

Yeah ad hoc snippets were one of the eventual ideas behind building the code that we use for "snippet make" today
I also touch briefly on ad hoc snippets in https://github.com/cursorless-dev/cursorless/issues/46
I think nowadays I'd be tempted to do it prefixed by a command like "with hole " to indicate the hole, eg "with hole air bring call air around bat"

How do "<name> wrap <target>" vs "snip <name> around <target>" differ in this regard?

I thought about this more carefully. The fully ambiguous cases are a bit of a stretch. For example, if word wrap toggles word wrap, and you had an insertion snippet called word (why?), then word wrap air could be:

"toggle word wrap" then "insert a"
"use insertion snippet word with target a"

I'm not entirely convinced that there aren't other less concocted examples involving homophones / near homophones instead of straight up ambiguity.
That said, I think what's really going on is that I mentally model talent commands as a giant decision tree, and I want everything snippet related to be under snip, rather than scattered around as a bunch of early roots. Which is not necessarily a good reason. :)

Unless the targets are directly adjacent, it's not clear where to put the snippet

Good point.

Another use case: the call action.
I find it hard to use because it requires selecting the target first ("take air call bat"). It could instead be "call bat around air".

Actually already supported in our api. You just need to add a spoken form for it. :)

Should we do that for everyone? (Do you have a spoken form for it already?)

I personally don't use it, but we could do that.

We removed it a while ago to improve talon performance. Those performance issues should no longer be a problem, so I'd be happy to have it re-added.

I will start on it a asap!

pr: https://github.com/cursorless-dev/cursorless/pull/1900


Add "seed" to JSONRPC unit tests (RIPD-1099):

There was a bug in version 0.30.1 where signing with an ed25519
key and a corrupt seed would cause the "sign" and "sign_for"
commands to return an unexpected error.  That bug was fixed in
the 0.31.0 release.
These unit tests verify the fix.  The error message for a corrupt
seed is also slightly improved.
Reviewers: @nbougalis, @ximinez

:+1:

:+1:

Combined with #1691.


add low level http client

Useful to send http (plain text) requests as-is without anything special. Might be useful to support pooling. If a target address is defined it can be connected to.

This will be an experimental client and it is not known if it will survive the 0.2 release. Also its relationship with the ua Client is unknown.


Core logic with example

feat: creation of bare bones inventory instance CRUD handling
chore: restructured the item definition to create the item entry
chore: migrated over inventory instance remove logic
chore: added ability to save inventory instances
chore: can now remove multiple inventory items
chore: added inventory load logic
chore: removed item entry save load for simplicity scoping reasons
chore: added get all method to inventory instance
chore: creation of item database ScriptableObject
chore: sample inventory item database window
chore: cRUD window now allows creating new SO items
chore: item types are now dynamically added to the item definition window
chore: table rows now print out as they are added and on init
chore: item entry editor window text is now binded to the display name of the definition
chore: added delete functionality for the item database
chore: editor window now automatically finds and syncs extrenal database changes
chore: version bump
chore: inventory instance helper script to quickly create an inventory
still need to write the save functionality
chore: inventory helper now handles saving to the database by calling a simple method
chore: added a debug print for the inventory helper component
chore: unique entries can now be added and removed (partial support)
chore: added a proposal for editable item entries
chore: tweaks to the custom item entry proposal
chore: items can now be retrieved by ID via get
chore: handled several inventory get and remove edge cases for instances
chore: get all now supports definition base types
chore: added a new item entry base class
chore: added the ability to retreive a casted definition off of the entry
chore: dataResolver now works with save and load
chore: moved data resolver onto definitions from the entries
chore: fixed a bug where items of zero quantity got added by the helper script
chore: item entries can now be swapped between inventories
chore: new inventory Add event
chore: added remove events
chore: added category support to definitions
chore: partial commit for dropdown refactor for categories
chore: added category support in editor window
chore: added search logic to the database window
chore: custom item definitions now appear as expected in the item database add dropdown
chore: categories now update when the database is edited
chore: consolidated GetAll methods and added a category option
chore: consolidated get, remove, and has inventory instance commands
chore: added support for item entry timestamps
chore: inventory instances now support sorting
chore: added a new updated at field that tracks item changes
chore: added updated at sorting
chore: added item ID repair tool
fix: database editor should no longer crash between script edits
chore: added a new wizard to help create the initial item database
chore: wizard now generates a sample getting started script for you
chore: added menu selection screen
chore: creation of sample inventory data
chore: creation of sample inventory static
chore: fixed a bug where the wizard would trigger on cloned project load
chore: created complete feedback loop for player sample inventory
chore: creation of example store
chore: database now supports generating unique IDs on demand
chore: swapped entry timestamps for unique indices
chore: completion of save data
chore: added release branches

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

v1.0.0
npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Prevent forcing enable heating/cooling

The device isn't a real thermostat (at least with basic configuration), so set default to act like a temperature sensor only.
Yet, let the user decide if they need the temperature controlling (by enabling heating/cooling).

@Idomo the idea is that the thermostat type is indeed a thermostat. If you leave the type for example as "contactSensor" you should still get the temperature sensor.
So what you want is just temperature/humidity without any relais functionality? Then we should probably add another type instead of misusing the thermostat, as that has required attributes in HomeKit and may work but can break in the future. Probably you see the same result when you set the type to something else as "contactSensor" or "switch".
So what's the difference between your solution and this?:
 "id": "74B5A3",
 "sensors": 1
}```

Well, you are right and just removing the type did what I needed it to do.
I think you should make it more clear that the default behavior is exposing the sensors (per the specified count) and the switch, 'cause I've spent so much time trying to understand what now seems so obvious, yet it doesn't.

*I know it should be an issue, but it seems like you've blocked the option to open issues on this fork.
After a few days of configuring more things in my Homebridge, I've noticed that after each reload of Homebridge, it messing up the temperature sensors' cache; it's saving the sensors multiple times under the same name & id:

I had to test it more, so I've tried deleting the cache and reload, but every time it reduced another sensor until only the switch left (that didn't even appeared in the cached devices list).
I remembered that at the first 2 days (that I've used your "type": "thermostat") it worked just fine, and I was right since after adding the type back it worked after a few reloads.
I've tried to compare your ThermostatAbility with the TemperatureSensorAbility (SinglePropertyAbility) and couldn't really find anything different despite the thermostat settings, so that left as unknown issue, yet I really suspecting it might be related to the switch that is exposed but not appearing in the cache, but I couldn't find when the exposer of it happens.
Maybe you remember something from writing the thermostat class? any clue for how to fix this?
Or I'll just add a "type": "temperatureSensor" with the thermostat class and heating option sets to false (like my original suggestion but more organized with a new class etc.)?

Cool that you found this. I need to dive in again to understand what goes wrong. My expectation is that somewhere every time a new guid is generated.
I don't think your proposal is not the right solution it surely works but feels like a hack...
Could you check what happens here between thermostat and thermometer?:
https://github.com/tritter/homebridge-shelly/blob/32d8bf3284a39f456a4b0b592dd8bc18edc11860/accessories/factory.js#L446
Also here it could may be that the number is not consistent:
https://github.com/tritter/homebridge-shelly/blob/32d8bf3284a39f456a4b0b592dd8bc18edc11860/accessories/factory.js#L437
I'm sorry that I currently don't have the correct setup nor the time, I hope I can make some next week!

Cool that you found this. I need to dive in again to understand what goes wrong. My expectation is that somewhere every time a new guid is generated. I don't think your proposal is not the right solution it surely works but feels like a hack...
Could you check what happens here between thermostat and thermometer?:
https://github.com/tritter/homebridge-shelly/blob/32d8bf3284a39f456a4b0b592dd8bc18edc11860/accessories/factory.js#L446

I'm not sure what do you mean with thermometer, I can't find this in this file.

Also here it could may be that the number is not consistent:
https://github.com/tritter/homebridge-shelly/blob/32d8bf3284a39f456a4b0b592dd8bc18edc11860/accessories/factory.js#L437

Inside the thermostat its 3 and inside the elseif its 4, makes sense since it includes the switch + 3 sensors.

I can imagine that the cache may screws up this identifier between relaunches:
https://github.com/tritter/homebridge-shelly/blob/32d8bf3284a39f456a4b0b592dd8bc18edc11860/accessories/factory.js#L92

I've made some tests with reseting the child bridge between them:

Clear cache & no type configuration, displays 3 sensors & switch - working as excepted:

factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#0
 numberOfAccessories: 4
abilities/temperature-sensor.js#constructor: temperatureProperty:  externalTemperature0
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#1
 numberOfAccessories: 4
abilities/temperature-sensor.js#constructor: temperatureProperty:  externalTemperature1
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#2
 numberOfAccessories: 4
abilities/temperature-sensor.js#constructor: temperatureProperty:  externalTemperature2
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#3
 numberOfAccessories: 4

Non-touched cache & no type configuration, displays only 2 sensors & switch:

Loaded 4 cached accessories from cachedAccessories.0E6A924E45E7.
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#0
 numberOfAccessories: 4
[12/17/2022, 2:17:15 AM] [Shelly] 1 accessory loaded from cache
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#0
 numberOfAccessories: 4
abilities/temperature-sensor.js#constructor: temperatureProperty:  externalTemperature0
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#1
 numberOfAccessories: 4
abilities/temperature-sensor.js#constructor: temperatureProperty:  externalTemperature1
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#2
 numberOfAccessories: 4

Non-touched cache & no type configuration, displays only 1 sensor & switch:

Loaded 4 cached accessories from cachedAccessories.0E6A924E45E7.
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#0
 numberOfAccessories: 4
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#0
 numberOfAccessories: 4
[12/17/2022, 2:17:59 AM] [Shelly] 2 accessories loaded from cache
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#0
 numberOfAccessories: 4
abilities/temperature-sensor.js#constructor: temperatureProperty:  externalTemperature0
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#1
 numberOfAccessories: 4

Non-touched cache & no type configuration, displays only switch:

Loaded 4 cached accessories from cachedAccessories.0E6A924E45E7.
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#0
 numberOfAccessories: 4
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#0
 numberOfAccessories: 4
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#0
 numberOfAccessories: 4
[12/17/2022, 2:18:21 AM] [Shelly] 3 accessories loaded from cache
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#0
 numberOfAccessories: 4

From now on it stays the same log, just telling that "4 accessories loaded from cache".
For comparison:

Clear cache & thermostat type, displays 3 sensors:

abilities/thermostat.js#constructor: temperatureProperty:  externalTemperature0
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#0
 numberOfAccessories: 3
abilities/thermostat.js#constructor: temperatureProperty:  externalTemperature1
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#1
 numberOfAccessories: 3
abilities/thermostat.js#constructor: temperatureProperty:  externalTemperature2
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#2
 numberOfAccessories: 3

Non-touched cache & thermostat type, displays 3 sensors:

Loaded 3 cached accessories from cachedAccessories.0E6A924E45E7.
abilities/thermostat.js#constructor: temperatureProperty:  externalTemperature0
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#0
 numberOfAccessories: 3
abilities/thermostat.js#constructor: temperatureProperty:  externalTemperature1
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#1
 numberOfAccessories: 3
abilities/thermostat.js#constructor: temperatureProperty:  externalTemperature2
factory.js#getDefaultAccessoryName:
 n: Shelly 1PM,34...DA,#2
 numberOfAccessories: 3
[12/17/2022, 2:23:41 AM] [Shelly] 3 accessories loaded from cache

From now on getting the exact same result.

I still can't find the exact point where this is going wrong, but it is definitely related to the cache.
Can you remember if you cache it in a different way than the SinglePropertyAbility?

I'm sorry that I currently don't have the correct setup nor the time, I hope I can make some next week!

All good, anything you can help with is a step forward, and you've helped a lot with this info.

Hi @tritter did you have a chance to take a deeper look on this?

@Idomo will check It out tomorrow!

@Idomo checkout my latest master. I had a bug in there. Should work now! :) Please remove re-add the accessory from the admin page localhost:8181

@tritter I've upgraded to 0.19.4 and removed it from both the admin and the homebridge settings list.
Now it does keeping all of the 4 accessories even after many reloads of the child bridge, but there is an issue with the 3rd sensor - it stuck on 0° while in the Shelly cloud it appears to be 20.8° (which is much more reasonable since all of the sensors are currently in the same room for the testing).

@Idomo cool, don't have actually 3 or tested so will look into that :) Great the cache works now!

@Idomo should work now with 19.5! :) Great findings!

Finally, It's working now!!! Thank you!
I have a very last question, there is an option to exclude only the switch?

Awesome! :) At the moment there is none. So probably it makes sense to add a thermometerOnly type? I think it makes sense to call this explicitly. Otherwise it’s too conflicting with the other types if we call it just thermometer. Maybe you can add this to the README too? Then I will create a new release with the new type.

I was thinking more about "excludeSwitch" since there is already an "exclude" option for the whole device.
Adding this as a type may be too much confusing.
What do you think?

We should call it then excludeRelay? Because motion sensors etc is also possible as a type…

I'm not sure how does it acts with another types of sensors, does it also including a switch automatically or this is a unique behavior with the thermometer sensors?

@tritter Do you need a help to implement the excludeRelay or you are already on it? (just so we won't work twice)

@Idomo checkout the new release :)


Update httpd_config_rhel.rb

Shouldn't this include .conf on the delete action?

@darrylb-github Thanks for your contribution here. It's been merged and released in the lastest version of httpd.


⚠ Jenkins Plugins Artifactory has degraded performance

In 9a3d081, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1283 ms

Resolved: Jenkins Plugins Artifactory performance has improved in b0fb09e after 13 minutes.


Wrong class to change in #Waypoint: Target a Specific Child of an Element Using jQuery

The instructions ask us to change the second child of div with class="well", but the exercise is validate when you change div class="target" element.

This test is right. The children of the wells have the target class and you can target them with .target:nth-child() because, again, they're the children. You can also use .well :nth-child(), notice the space in this case.

Dear camper, your issue is a duplicate:
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2429
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2187
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2068
https://github.com/FreeCodeCamp/FreeCodeCamp/issues/2005
Please see Help I've Found a Bug.


Crash fix when trying to record with anti aim

bool bAllocate = (pServerAnimState == nullptr || pServerAnimState->pEntity != pLocal);
replace this line and it should fix the crashes :)

could you provide information about the crash?

Yes the crash happens when prediction animations are being updated and i put console command record something

This should fix it

I'm going to add a bit more detail for others that want to know:
Whenever the game completes a full update (either by forcing delta ticks to -1 or cl_fullupdate in console), ALL entities will gain a new pointer and the old one will be nulled, therefore we need to make sure that we're checking if we're using the most up to date pointer or if we're using the old one, can be as simple as a sanity check like here to regathering the pLocal and updating it before calling any functions, for example, UpdateAnimationState 🙂


Migrate "Column Type" in table 334 "Column Layout" from Option to Enum

field(5; "Column Type"; Option)
        {
            Caption = 'Column Type';
            InitValue = "Net Change";
            OptionCaption = 'Formula,Net Change,Balance at Date,Beginning Balance,Year to Date,Rest of Fiscal Year,Entire Fiscal Year';
            OptionMembers = Formula,"Net Change","Balance at Date","Beginning Balance","Year to Date","Rest of Fiscal Year","Entire Fiscal Year";
        }

We need to extend "Column Type" by additional Options.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


Eyewitness - EM Weapon doesn't spawn

When leaving the elevator at the NAT station below MAST, after the initial attack, the EM weapon that is supposed to be on the ground does not spawn, thus forcing the player to use lethal force if they want to continue the quest (unless they already own an EM weapon).

Details
Quest ID:	UC04
Relevant Stages: 575 580 581
Game Version
<IP_ADDRESS>
Language
English (EN)
New Game
No
Reproduction Steps
It happens on one of my saves, it's a known bug that has been reported by others. Unsure of exact steps.

Never experienced this one myself. Possibly fixed officially. Closing as stale.


VSTest installation failure

While running azure pipeline vstest task.  We are getting the error below:
##[error]Failed to download version 16.6.1 of the test platform with error Error: Failed rmRF: rm: could not remove file (code EPERM): D:\azuredevops-buildagent02_work_tool\VsTest\16.6.1\x64/tools/net451/Common7/IDE/CommonExtensions/Microsoft/IntelliTrace/Microsoft.IntelliTrace.Profiler.dll
it seems to happen at least once a day.  The only way I've been able to resolve it is to reboot my build server.   I attached the log file of the error.  Please advise
logfile.txt

@jakubch1 seen this before?

@stevenf977  do you have code coverage enabled? When running tests are you spawning some additional processes?

Code coverage is enabled.  When we run tests, there are no other processes running with it.  We do have multiple agents on the servers.  3 agents running on each build server.  We have started doing some heavy unit testing in the last couple of months.  Can one agent interfere with the other.  I was under the impression that each agent has their own installation of the vstest installation.

@stevenf977 do you have code coverage enabled? When running tests are you spawning some additional processes?

@stevenf977 Are you still experiencing this issue with newer versions?


fix(logical_planner_test.cc): healthz filter

The standard health endpoint for Kubernetes apps is /healthz (rather than /health).
See https://github.com/pixie-io/pixie/commit/588f2541d7f4bc901cb39a1f5009941d09025fb0
Signed-off-by: lloydchang<EMAIL_ADDRESS>

The file you've updated is a test of the planner so the exact string does not matter, it never gets executed.
Thanks regardless for taking a look. If you want to update the scripts that power the dashboards, they're located in this directory: https://github.com/pixie-io/pixie/tree/main/src/pxl_scripts
It looks like those that care already point to healthz.


Make a backup at install time only if it is not there yet

Currently if one installs kernelctl twice with the same version of codex configure will fail.
This PR fixes this behaviour

Just an FYI, but the build will not create new packages if the version number doesn't change.

Running the script manually produces the following:


[Compatibility] RimHud hides Pokémon level in bottom left menu when Pokémon is selected

You can fix that by opening RimHud's config and adding the stat "Level".

commit b25a25e7575d319eb296aea1b4f93bf604699a1e fixed the issue by adding level, experience and happiness in the inspect pane text


In slate, render span nodes as spans rather than paragraphs.

@tiberiuichim Curious for your thoughts on this. Currently https://github.com/plone/blocks-conversion-tool produces span nodes for text inside a table cell, but perhaps it should not do that.

I'm going to try to fix this in the blocks-conversion tool instead, I don't think we want extra spans in the markup.

Hmm, adding the spans was done as a workaround for this issue: https://github.com/plone/blocks-conversion-tool/issues/31

@davisagli In the block conversion tool, the cell value should be:
text
. I think that might work.
https://github.com/plone/volto/blob/c8c0b5c8c4a6430222989be282d9e8e2772439a3/packages/volto-slate/src/editor/config.jsx#L249

@tiberiuichim The cell I'm converting is like this: textstrong text	 so there's a text node and an inline node, but no paragraph or div. Is there a way to represent this in slate?

@davisagli I'm not too familiar with the table plugin for volto-slate (unfortunately), but the editor inside a single cell should "see" this markup:
textstrong text

I guess, in the converter, always wrap the cell content in a div element.

I think this should also be fixed and use a div: https://github.com/plone/volto/blob/c8c0b5c8c4a6430222989be282d9e8e2772439a3/packages/volto-slate/src/blocks/Table/TableBlockEdit.jsx#L46

@tiberiuichim Thanks, making the converter wrap the cell contents in a div seems to work decently. https://github.com/plone/blocks-conversion-tool/pull/38


[Go SDK]: Implement fileio.MatchContinuously transform

Fixes #26186 and adds a fileio.MatchContinuously transform to the Go SDK.
I have tested the transform manually on Dataflow and Flink, which seem to be the only runners that currently support all of watermark estimation, self-checkpointing and state provisioning, that this transform relies on. I have not added any unit tests for the same reason, and there were limitations with running integration tests with some of these features for Dataflow and Flink so I have skipped that as well.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Ah foiled! We can fix this a bit once state is added to Prism, since that's what's currently missing here.

Happy to merge this in if there are no further question/disccusion (after one of us fixes the conflict in CHANGES.md of course!)

Thank you both for reviewing!
The Java and Python equivalents don't use timers. Happy too add tests for this one later on when state is supported.
I can open a separate PR for the modified files part once #26192 has been merged so please go ahead and merge.


DPL-377 'library_complete' and 'pool_released' events [C=M, V=4]

User story
As a DNAP team lead I would like the 'library_complete' event to fire when libraries are 'charged and passed' in Limber, as this is more representative of when the library is complete than the current trigger (when the multiplexed library tube is passed), which can be delayed for long periods of time.
I would also like to add a new event type called 'pool_released', fired when the multiplexed library tube is passed, to allow more detail in the reports.
Who are the primary contacts for this story
Liz E, Katy
Acceptance criteria
To be considered successful the solution must allow:

[ ] The library_complete event (Event WH) is triggered by the 'Charge and pass' button being clicked in Limber, instead of the current trigger (which is when the multiplexed library tube is passed)
[ ] The current trigger (when the multiplexed library tube is passed) is retained as an event point - but the event fired here is called 'pool_released' instead.

References
This came out of this story - https://github.com/sanger/General-Backlog-Items/issues/169

We also have an event when the tube is scanned in to the sequencing pipeline freezer, indicating when it has actually left the library prep lab and is queued up for sequencing.
https://github.com/sanger/sequencescape/blob/01815b18752803118beaf7a8a833764967f380e3/app/models/labwhere_reception.rb#L66-L75
When pulling these events back you'd need to filter for the correct location, based on the location_barcode metadata. Not sure what the barcode for postman pat is.


Audio support

Hi @mat-sz,
Can we have audio support to manage multiple audios?
Or can you tell me a way I will try to add it?

@mustafamasvi Unfortunately this is out of scope for this project.


ProtocolOption.RAW not able to autocomplete

When typing enums.ProtocolOption.RAW, it won't autocomplete.

@RonDingDing is this done or?


spliteratior-bugfix: YdbSpliterator fix

Please fix it in repository-ydb-v2 as well.

Of course.
Please don't merge it, I will add some tests

Please fix it in repository-ydb-v2 as well.

Of course.
Please don't merge it, I will add some tests

I'm done


create new stream via post subscription api is very slow

as we are using the zulip api a lot, we realized that creating a new stream via the post subscription api is very slow.
its always more then 1 second, especially if the user already have a lot of streams.
seeing that the get subscriptions  endpoint have a parameter to ignore subscribers, would this also be an option for the post endpoint ?

@fmt-Println-MKO I don't think we can try to reproduce this without more information on the setup.  Can you provide details on how many users are you in your organization, and how many of those users you're adding to the new stream?  Also, how much RAM and CPU does your server have?
Also, is the 1 second time on the backend (i.e. from /var/log/zulip/server.log), or delay in the UI before the new stream is rendered?

Sorry for losing track of this, but I understand the problem and I'm pretty sure this was either fixed by the bulk_add_subscriptions changes a few months ago or will be by the peer_add changes happening this week.  So closing this as fixed or a duplicate of #16503.


Minor fixes in docs

Hi @barseghyanartur! Thank you for taking the time to open a PR. This one is not a typo, it's just an operation only available in the 1.4.0 release candidate that you have to install explicitly pip install streamable==1.4.0-rc3.


Fix unknown column 'e.0' in 'where clause' on AuditController

Q
A

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Has tests?
no

Fixed tickets
#288, #289

\SimpleThings\EntityAudit\AuditReader::find expect a string $id or an array of id field / value pair.
Example:
$id = 1

or
$id = [
  'id' => 1,
];

AuditController use explode(',', $id); caused an unexpected 'e.0' where clause generated:
An exception occurred while executing 'SELECT e.revtype, e.id AS `id`, e.plus_one AS `plusOne`, e.respondent_id, e.wedding_event_id FROM wedding_event_invite_audit e WHERE e.rev <= ? AND e.0 = ? ORDER BY e.rev DESC' with params ["108", "86"]:

SQLSTATE[42S22]: Column not found: 1054 Unknown column 'e.0' in 'where clause'

I believe this controller is most likely for demo purpose only. But it is still worth fixing.

related to #288

Also related to #289. Sorry I should have done a proper search.
The only difference is that 289 is targeting master. This PR is targeting 1.0 branch.

No problem - just wanted to quickly drop the reference, so this isn't missed.
As you might have noticed, there are no developers currently active in this project - so it might be a while, before this is merged. If you need this fix in the near future, I would recommend using your own fork for now.

Could you please rebase your PR and fix merge conflicts?


gypsydiver/cluster autoscaler trim down psp

What this PR does / why we need it:
Current PSP is rather broad, this PR trims it down.
Special notes for your reviewer:
Supersedes  #15016
Checklist
[Place an '[x]' (no spaces) in all applicable fields. Please remove unrelated fields.]

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md
[x] Title of the PR starts with chart name (e.g. [stable/chart])

@yurrriq

/ok-to-test

Thanks!


[New game]: Pac-Man Game

🎮 Game Request
Pac-Man is a classic arcade game where the player controls a character named Pac-Man, who navigates a maze filled with pellets and ghosts. The objective is to eat all the pellets while avoiding the ghosts.
Basic logic behind this games will be:

Display a maze consisting of walls, pellets, power pellets and ghosts.
Allow the player to control Pac-Man using arrow keys to navigate the maze.
Generate ghosts that move through the maze and chase Pac-Man.
Implement collision detection to check if Pac-Man collides with a ghost or vice versa.
When Pac-Man eats a power pellet, the ghosts turn blue and become edible for a limited time.
Keep track of the player's score based on the number of pellets.
End the game if any of the following conditions are met:
Pac-Man loses live by colliding with a ghost.
Pac-Man eats all the pellets in the maze.

Point down the features
Features I'm going to add in this game are:

Pac-Man control -  Allow the player to control Pac-Man's movement using arrow keys or WASD keys to navigate the maze.
Maze-Design: Create a maze with walls and corridors where Pac-Man and the ghosts can move.
Pellets and Power Pellets: Scatter small pellets throughout the maze for Pac-Man to eat.
Collision Detection: Detect collisions between Pac-Man and the ghosts, as well as between Pac-Man and the walls of the maze.
Score Tracking: Keep track of the player's score based on the number of pellets and ghosts eaten. Display the current score on the game screen.
Lives and Game Over: Give Pac-Man a live at the start of the game. When Pac-Man collides with a ghost, game stops there.

Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey  @Parul1606 ! Thank you for raising an issue 💗 You have been assigned this issue you can start working on the issue 🎮

Thank you @kunjgit ! I will try my best to give to this project.

Hey @Parul1606 ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Print classification report and upload to wandb

Thanks for the comment! Please feel free to do so if that is more convenient for you :)


Fix issue with scanning the last email

Scanner does not properly scan the last email body.

[t:65] had to research and try out different ways I could scan just the last email. Found one for the query selector that seems to work and cleaned up some old commented (outdated) code


integrate @symfony/webpack-encore into the app

These changes integrate @symfony/webpack-encore as per the docs at https://symfony.com/doc/current/frontend/encore/simple-example.html.
Did not touch composer's post-install/update hooks to keep it completely optional for those who don't want to make use of it.

I'm not sure we should add it in the Standard Edition. Not everybody would like to use Webpack and Encore. Adding it to as a recipe for Symfony Flex makes more sense IMHO. ping @symfony/deciders

I agree with Fabien. Most of my recent projects don't have frontend at all. A Symfony Flex recipe will make more sense and there's an issues with a PR for that already: https://github.com/symfony/webpack-encore/issues/77
Thank you for your suggestion @vaibhavpandeyvpz nevertheless. I hope you'll continue with the good work.


New functions added: calc_mutation_frequency_bin_region(s), capture support + Documentation and test improvements.

The following updates are introduced in this PR:

Singular and plural versions of calc_mutation_frequency_bin_region to GAMBLR.data. These functions are needed to give non-GSC users access to heatmap_mutation_frequency_bin in GAMBLR.viz.
Added capture support to get_* functions for non-GSC users.
Improves existing package documentation, such as parameter descriptions and function details to accurately reflect the intended use of this R package. Unit tests (get_ssm_by_regions) are also updated in this PR as well as overall package documentation (NAMESPACE, DESCRIPTION, and man/*.Rd).

Both calc_mutation_frequency_bin_region and process_regions functions use region_to_chunks internally. But region_to_chunks is created only inside calc_mutation_frequency_bin_region code.
Should we add the script R/region_to_chunks.R (and make this function not exported) so then other functions can use it?

@vladimirsouza if it is all good on your side I think this can be merged!

@Kdreval , we still have a problem with region_to_chunks function. See my message above.

Both calc_mutation_frequency_bin_region and process_regions functions use region_to_chunks internally. But region_to_chunks is created only inside calc_mutation_frequency_bin_region code.
Should we add the script R/region_to_chunks.R (and make this function not exported) so then other functions can use it?

Oh, thanks for noticing - yes I think it should be separate function, but it can be exported to maintain consistency with the way other functions are set up

All right. I can do that. Thanks.