How to add a function with an " text[] default array['text', 'text2']"?

I've a functions which looks like this:
compare_commits_per_table = PGFunction(
    schema=metadata_schema_name,
    signature="""
compare_commits_per_table(schema_name text,
                          table_name text,
                          first_branch_id bigint, first_commit_id bigint,
                          second_branch_id bigint, second_commit_id bigint,
                          id_columns text[],
                          ignore_columns text[] default array ['branch_id', 'commit_id_from', 'commit_id_to'],
                          out table_diff jsonb)""",
    definition="""
language 'plpgsql' as
$func$
...
$func$""",
)

The resulting error during alembic revision --autogenerate -m "Add diff functions" is
sqlalchemy.exc.ProgrammingError: (psycopg2.errors.SyntaxError) syntax error at or near "'commit_id_from'"
LINE 1: ...bigint, id_columns text[], ignore_columns text[], 'commit_id...
                                                             ^

[SQL: DROP FUNCTION "branch_metadata"."compare_commits_per_table"(schema_name text, table_name text, first_branch_id bigint, first_commit_id bigint, second_branch_id bigint, second_commit_id bigint, id_columns text[], ignore_columns text[], 'commit_id_from', 'commit_id_to'], out table_diff jsonb) ]
(Background on this error at: https://sqlalche.me/e/20/f405)

https://github.com/olirice/alembic_utils/blob/master/src/alembic_utils/pg_function.py#L90
For now I have a workaround to set the default to NULL and use coalesce( ignore_columns, array ['branch_id', 'commit_id_from', 'commit_id_to'])later, but it would have been nice to actually to use the regular default value.

There isn't currently a good solution for this.
The clearest path forward would be to improve the parameter parser at the line you referenced above
If you have bandwidth to submit a PR I'd be very happy to see this improve

Hi, are there any updates on this issue? I encountered the same problem where Alembic interprets a comma as the beginning of a new parameter, instead of recognizing it as part of the content within "[" and "]". I also unsuccessfully tried using a string formatted as '{1,2,3}' and casting it, hoping that the parser might handle commas within a string differently than in a standard array declaration. Unfortunately, it behaved the same way.
If there have been no updates on this issue, I might find some time to take a look at the code myself. Could you kindly point out where you think I should start, particularly in the pg_function parser? I briefly reviewed the code in pg_function.py and replaceable_entity.py, but it wasn't immediately clear to me where the parser that processes the signature is involved.


Doc fix

Howdy,
The API doc for the /api/project/{id}/import is wrong or at least very misleading (link)
In the "PATH PARAMETERS" section, the id param is described as follows :

A unique integer value identifying this task.

Whereas it should read:

A unique integer value identifying the project to whom this task belongs.

Have a nice day !

@makseq please redeploy the API docs to fix this. It's correct in the code: https://github.com/heartexlabs/label-studio/blob/master/label_studio/data_import/api.py
Thanks for reporting this, @Fkawala!

done!


https access fails due to certificate problem

Using version tag 0.3.0 on Mac OS, after installing the databox certificate and trusting it, I still cannot access the databox secure pages from Chrome or Safari, and can only do so from Firefox by adding an additional security exception.
The error appears to be due to the HTTPS certificate and/or the root certificate not specifying the Organisation and Organisational Unit for the Issuer and/or Issued to.
E.g. Chrome reports "NET::ERR_CERT_INVALID" and "the website sent scrambled credentials that Google Chrome cannot process".

Hi,
What version of MacOS are you running? I was debugging a similar problem earlier with @tlodge.
Accessing his version of databox from my laptop (MacOS High Sierra 10.13.1) did not have the same problem.
Adding Organisation and Organisational Unit should not be difficult @ktg can you take a look, please.

faced similar issue, proceeded by proceeding with the security exception
only
==
Hamed        https://haddadi.github.io
On 12 December 2017 at 16:20, Chris Greenhalgh<EMAIL_ADDRESS>wrote:

Mac OS el capitan 10.11.6.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/me-box/databox/issues/210#issuecomment-351102648, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ACy0r2HilRVIF701eyWAkXyPenPlXFxZks5s_qfbgaJpZM4Q_MWW
.

PR #213 Did not fix this problem. Can someone post the output of this?
cd ./certs

openssl verify -verbose -CAfile ./containerManager.crt ./container-manager.pem

openssl version

Badger:certs hamed$ openssl verify -verbose -CAfile ./containerManager.crt ./container-manager.pem
Error opening certificate file ./container-manager.pem
140735893091208:error:02001002:system library:fopen:No such file or directory:/BuildRoot/Library/Caches/com.apple.xbs/Sources/libressl/libressl-22/libressl/crypto/bio/bss_file.c:255:fopen('./container-manager.pem', 'r')
140735893091208:error:20074002:BIO routines:FILE_CTRL:system lib:/BuildRoot/Library/Caches/com.apple.xbs/Sources/libressl/libressl-22/libressl/crypto/bio/bss_file.c:257:
unable to load certificate
Badger:certs hamed$
Badger:certs hamed$ openssl version
LibreSSL 2.2.7
Badger:certs hamed$

openssl verify -verbose -CAfile ./containerManager.crt ./container-manager.pem
./container-manager.pem: OK
tlodge-2:certs tomlodge$

tlodge-2:certs tomlodge$ openssl version
OpenSSL 0.9.8zh 14 Jan 2016

Fixed in https://github.com/me-box/databox/commit/e2d77c76f50dab2905b9ac47cfadf0275f13c3aa


bug(skin search): input box has a character limit?

browser
Edge
bug description
if your string is over 40 characters long, it get sliced.
https://github.com/cyperdark/osuck-skins/assets/107962621/9060ff98-81c5-4193-9922-47e06bb313fa

oh, forget to remove, fixed on next update


Document the confirm_success_url param for email registration

The confirm_success_url param is required for email registration.
Add mention in the corresponding API endpoint, beside email,
password and password_confirmation.
Also, mention the possibility of specifying default_confirm_success_url
in the initializer as an alternative.

@nerfologist - thanks for taking the time to submit this PR. This change looks good, but it looks like there was another edit to this part of the readme that's causing a conflict. Can you please resolve the conflict?

Hi, sorry for the delay, I finally found the time to look into it. The 8da9d50 commit by monkypuzzle now mentions the confirm_success_url param. I adjusted the README.md to include some more details which were part of my original PR.
Thanks for this great library 👍

Looking good! Merging. Thanks @nerfologist !


TF2 support

Hello,
Thank you for your great work.
I'm wondering if you plan to support TF2 ? For the moment, I got some errors on TF sessions.
Do you have any roadmap for this support ?
Thx again.
Pierre

I have tried also, TF2.0 is not supported yet.

Not yet. We will work on providing support soon.

Let's move this discussion here #263


Cleanup vape and allow it to vape more reagents

About the PR
Title.
Why / Balance
Addresses some issues in #15978.
Technical details

Media

https://github.com/user-attachments/assets/208db0a8-8cee-4d89-a70e-df2c95a1a546
Requirements

[x] I have read and am following the Pull Request and Changelog Guidelines.
[x] I have added media to this PR or it does not require an ingame showcase.

Breaking changes

Changelog

:cl:

add: You can now vape some reagents without the vape exploding and they may have negative effects on you.
fix: You can now vape by using a vape in your hands.

Is that water in the first beaker in video showcase? Why does water vapor deal all 4 of burn damage types?
There are cigarettes and literal CIGARS which deal zero damage, there are soaked ciggs as well which affect the user only because of the reagent which they were soaked with, now why does water deal damage? It makes zero sense to me.

Is that water in the first beaker in video showcase? Why does water vapor deal all 4 of burn damage types? There are cigarettes and literal CIGARS which deal zero damage, there are soaked ciggs as well which affect the user only because of the reagent which they were soaked with, now why does water deal damage? It makes zero sense to me.

Vapes always dealed damage. They should do it to lungs, but at the moment we don't have proper organs system.

cigarette never dealed damage and yet they deal lung damage in SS13. also lack of clarity in the main post what chems can be used.

cigarette never dealed damage and yet they deal lung damage in SS13. also lack of clarity in the main post what chems can be used.

Ask the original author 🤷

Is that water in the first beaker in video showcase? Why does water vapor deal all 4 of burn damage types? There are cigarettes and literal CIGARS which deal zero damage, there are soaked ciggs as well which affect the user only because of the reagent which they were soaked with, now why does water deal damage? It makes zero sense to me.

Vapes always dealed damage. They should do it to lungs, but at the moment we don't have proper organs system.

you are the author of this PR, follow guidelines and provide clarity in the PR you write.

you are the author of this PR, follow guidelines and provide clarity in the PR you write.

There are was damage BEFORE my PR, I didn't touch vape damage to lungs.

you are the author of this PR, follow guidelines and provide clarity in the PR you write.

There are was damage BEFORE my PR, I didn't touch vape damage to lungs.

for this post specifically i meant the chemicals vapes will be able to use.

for this post specifically i meant the chemicals vapes will be able to use.

Oh, addressed this. Sorry.

Emagging the vape works, but gives absolutely no feedback that something happened. Could you play a zap sound maybe like for other devices? There is also supposed to be a popup from the emag, but that does not show up because it calls PopupClient from the server in EmagSystem, which is in shared.
GotEmaggedEvent gets cancelled by some other system, but I don't know which.

Also I need to cleanup some system since they create zap sound on emag themselves.


west: debugserver command does not work

Testing with qemu_x86_64
This works
$ west build -p -b qemu_x86_64 -t debugserver zephyr/samples/hello_world

Using west debugserver command I have following:
$ west debugserver
-- west debugserver: rebuilding
ninja: no work to do.
FATAL ERROR: either a pristine build is needed, or board qemu_x86_64 doesn't support west flash/debug (no ZEPHYR_RUNNERS_YAML in CMake cache)

 board qemu_x86_64 doesn't support west flash/debug (no ZEPHYR_RUNNERS_YAML in CMake cache)

It's right there in the error message...


Not working on Facebook and Messenger

let url = 'https://www.my-domain.com/post' + postId
SocialShare.shareUrl(url, "Check it out!");

What I get on Facebook & Messenger is https://www.my-domain.com/ only. But when I share to Instagram Direct and WhatsApp, everything goes well.
Any idea? Thank you!

Solved og:url tag problem.


fix: Revert empty array response when app keys are empty for list call

Describe your changes
Reverting the change in response behavior: While listing app keys if the response is empty - it will now skip app_keys key from returned JSON response.
How best to test these changes
updated test to match this behavior
Issue ticket number and link

Codecov Report
Patch coverage has no change and project coverage change: -28.70 :warning:

Comparison is base (9afeee8) 59.20% compared to head (52c3ae6) 30.51%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #920       +/-   ##
===========================================
- Coverage   59.20%   30.51%   -28.70%
===========================================
  Files         180      180
  Lines       20593    20583       -10
===========================================
- Hits        12193     6280     -5913
- Misses       7397    13578     +6181
+ Partials     1003      725      -278

Impacted Files
Coverage Δ

api/server/v1/marshaler.go
21.45% <ø> (-16.22%)
:arrow_down:

lib/container/priority_queue.go
0.00% <0.00%> (-100.00%)
:arrow_down:

server/quota/namespace.go
0.00% <0.00%> (-98.37%)
:arrow_down:

server/search/sorted_hits.go
0.00% <0.00%> (-96.37%)
:arrow_down:

schema/lang/go.go
0.00% <0.00%> (-90.63%)
:arrow_down:

schema/lang/java.go
0.00% <0.00%> (-90.63%)
:arrow_down:

schema/lang/typescript.go
0.00% <0.00%> (-90.63%)
:arrow_down:

schema/inference.go
0.00% <0.00%> (-85.06%)
:arrow_down:

server/search/group.go
0.00% <0.00%> (-85.00%)
:arrow_down:

server/metadata/user.go
11.47% <0.00%> (-83.61%)
:arrow_down:

... and 117 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


How to judge whether a topic is orderly or unordered?

How to judge whether a topic is orderly or unordered? Can I view it from the RocketMQ-Console? I did not find the relevant documentation.

Hi @PEIYANGXINQU There is no such thing as sequential or non-sequential topics, we use MessageQueueSelector to select queue that message to send. if  message in the same queue, we can consume message in order.
doc for 4.x: https://rocketmq.apache.org/docs/4.x/producer/06message2
doc for 5.0: https://rocketmq.apache.org/docs/featureBehavior/03fifomessage

收到，谢谢！

If you want to ensure local order, it is recommended to refer to the following example:
Producer.java
@RestController
public class Product {
    private static List<ProductOrder> orderList = null;
    private static String producerGroup = "test_producer";
    /**
     * Simulation data
     */
    static {
        orderList = new ArrayList<>();
        orderList.add(new ProductOrder("XXX001", "Order Creation"));
        orderList.add(new ProductOrder("XXX001", "Order payment"));
        orderList.add(new ProductOrder("XXX001", "Order Completed"));
        orderList.add(new ProductOrder("XXX002", "Order Creation"));
        orderList.add(new ProductOrder("XXX002", "Order payment"));
        orderList.add(new ProductOrder("XXX002", "Order Completed"));
        orderList.add(new ProductOrder("XXX003", "Order Creation"));
        orderList.add(new ProductOrder("XXX003", "Order payment"));
        orderList.add(new ProductOrder("XXX003", "Order Completed"));
    }

    @GetMapping("message")
    public void sendMessage() throws Exception {
        // sample producer
        DefaultMQProducer producer = new DefaultMQProducer(producerGroup);
        //Do not open the vip channel, open the port port will be reduced by 2
        producer.setVipChannelEnabled(false);
        //Bind name server
        producer.setNamesrvAddr("IP:9876");
        producer.start();
        for (ProductOrder order : orderList) {
            //1. Generate message
            Message message = new Message(JmsConfig.TOPIC, "", order.getOrderId(), order.toString().getBytes());
            //2. Sending a message is to select the corresponding queue for each message
            SendResult sendResult = producer.send(message, new MessageQueueSelector() {
                @Override
                public MessageQueue select(List<MessageQueue> mqs, Message msg, Object arg) {
                    //3. The value of arg is actually the orderId passed in below
                    String orderid = (String) arg;
                    //4. Because the order is of String type, it is converted to int type through hashCode
                    int hashCode = orderid.hashCode();
                    //5, because the hashCode may be negative, so take the absolute value
                    hashCode = Math.abs(hashCode);
                    //6. Ensure that the same order number must be allocated on the same queue
                    long index = hashCode % mqs.size();
                    return mqs.get((int) index);
                }
            }, order.getOrderId(),50000);

            System.out.printf("Product: send status=%s, storage queue=%s, orderid=%s, type=%s\n", sendResult.getSendStatus(),
                                      sendResult.getMessageQueue().getQueueId(), order.getOrderId(), order.getType());
        }
        producer.shutdown();
    }
}

Since rocketmq uses a segmented lock, it does not lock the entire Broker but a single Queue in the lock, because as long as a single Queue is locked, local sequential consumption can be guaranteed.
Therefore, if it is in a concurrent consumption scenario, it is not recommended to use MessageListenerConcurrently, but to use MessageListenerOrderly.
Here is an example of a consumer:
@Slf4j
@Component
public class Consumer {

    /**
     * Consumer entity object
     */
    private DefaultMQPushConsumer consumer;
    /**
     * Consumer group
     */
    public static final String CONSUMER_GROUP = "consumer_group";
    /**
     * instantiate the object through the constructor
     */
    public Consumer() throws MQClientException {
        consumer = new DefaultMQPushConsumer(CONSUMER_GROUP);
        consumer.setNamesrvAddr("IP:9876");
        //It is not recommended to enable vipChannel. Once enabled, when the rocketmq consumer starts to rebalance, the normal port (9876) will carry all the messages and transfer them to the vip port. But the consumer will not use the vip port for pulling messages.
        consumer.setVipChannelEnabled(false);
        //Subscribe information under topics and tags (* represents all tags)
        consumer.subscribe(JmsConfig.TOPIC, "*");
            //Register the monitoring of consumption. Note that the sequential consumption is MessageListenerOrderly and the concurrent is ConsumeConcurrentlyContext
        consumer.registerMessageListener((MessageListenerOrderly) (msgs, context) -> {
            // get message
            MessageExt msg = msgs.get(0);
            //The consumer gets the message here, only the output is done, and the subsequent logic processing is not performed
            log.info("Consumer-Thread Name={}, Message={}", Thread.currentThread().getName(), new String(msg.getBody()));
            return ConsumeOrderlyStatus.SUCCESS;
        });
        consumer.start();
    }
}

It looks like the documentation is not good enough I need to add to this

Hi @PEIYANGXINQU There is no such thing as sequential or non-sequential topics, we use MessageQueueSelector to select queue that message to send. if message in the same queue, we can consume message in order. doc for 4.x: https://rocketmq.apache.org/docs/4.x/producer/06message2 doc for 5.0: https://rocketmq.apache.org/docs/featureBehavior/03fifomessage

@mxsm @complone ,from the document  it says:create Topic by specifying the -o parameter (--order) to be true, which represents ordered messages,some one have created the topic in test environment,now I want to create them in the prod
environment.I just want to refer to these practices,but it seems  that I don't know how to start because the rocketmq console do not show order=true property.

.\mqadmin updateTopic
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
usage: mqadmin updateTopic [-b ] [-c ] [-h] [-n ] [-o ] [-p ] [-r ] [-s ]
-t  [-u ] [-w ]
-b,--brokerAddr        create topic to which broker
-c,--clusterName       create topic to which cluster
-h,--help                   Print help
-n,--namesrvAddr       Name server address list, eg: <IP_ADDRESS>:9876;<IP_ADDRESS>:9876
### -  -o,--order             set topic's order(true|false)
-p,--perm              set topic's permission(2|4|6), intro[2:W 4:R; 6:RW]
-r,--readQueueNums     set read queue nums
-s,--hasUnitSub        has unit sub (true|false)
-t,--topic             topic name
-u,--unit              is unit topic (true|false)
-w,--writeQueueNums    set write queue nums

Currently order field does not take effect. 'Orderly' is the behavior in message producing, storage and consuming.

收到，谢谢！

收到，谢谢！


ofproto.at: Improve line length of table features.

This particular line sometimes causes problems for people submitting
patches, because it was previously over 1000 characters long. Split it
up to appease git-send-email.
Signed-off-by: Joe Stringer<EMAIL_ADDRESS>

I think we can make this simpler, see: https://github.com/blp/ovs-reviews/commit/22f0dbd478dcdb458984833537aade7f39bad047

Thanks, looks good.

The alternative that I proposed to this, commit a07eb11f7f (tests: Shorten line in table-features test.) was applied, so I think it's safe to close this.  Please reopen it or submit a replacement, if I misunderstand.
Thanks,
Ben.


'total acc' filter bug fix, abs() wasn't performed on first element.

I noticed that there was still differences between the total acceleration filter output from the device vs the browser, so I looked into this again.
Essentially, by leaving out the initialValue from reduce(callbackFn, initialValue) it uses the first element as initialValue, and in that case it does not apply Math.abs() to it.
And so, with arrays starting with a negative value it subtracted the first element from the total value instead of adding it.

As this affects the data going into the model the snapshot needs to be updated, not sure what the process is for this.
I assume I don't have to edit the src/makecode/__snapshots__/utils.test.ts.snap file manually? Do I just delete to get it to regenerate?

Okay, regenerated it following the instructions from https://vitest.dev/guide/snapshot and forced pushed the file into the branch.

Thanks @microbit-carlos


Refactor bundle component version assignment for release

This PR refactors the logic of assigning version (major.minor.patch+build-metadata) to each component in the bundle manifest. We don't need a separate method for dev and prod releases. The patch version for the cluster controller will now be the EKS-A release version instead of the result of git desribe --tag on the EKS-A repo.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: abhay-krishna
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [abhay-krishna]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@abhay-krishna: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

eks-anywhere-e2e-presubmit
1ebf732f75e264431c063386cf14e1460bd24ac2
link
/test eks-anywhere-e2e-presubmit

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

/test eks-anywhere-e2e-presubmit

@abhay-krishna: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

eks-anywhere-e2e-presubmit
48e58d77b445e34e506505550331d8ba24de3547
link
/test eks-anywhere-e2e-presubmit

Full PR test history. Your PR dashboard.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: abhay-krishna, g-gaston
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS [abhay-krishna,g-gaston]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


Uniswap v3 route

Need to add uniswap v3 flash support to the FLA. Chains to add on:-

Polygon
Optimism (Need to make a new folder for this)

Checkout the docs here.
In order to take flashloan using a uniswap v3 pool, we need the call the flash function of the pool. So, we will be needing the pool address. We kept this extra param for future use, which we will be using for this integration. We will be encoding the pool key in this param while calling the uniswap route from the frontend. On the contracts side, we need the decode and get the pool key. Pool key is a struct which contains token0 address, token1 address and fee tier of the pool.
In the route handler we will check that the length of the _tokens param should be 1 or 2.

If its 1, _tokens[0] should be either equal to token0 or token1 from the pool key.
If its 2, _tokens[0] and _tokens[1] should be equal to token0 and token1 respectively

Now, we have to calculate the pool address from the pool key in the route handler (using the uniswap v3 lib, or we can simply define our own function for it) and call the flash function of the pool, by passing the respective amounts.
In the callback, we will get the amounts, send the to the user, expect them to be returned with fee, and return it to the pool.

Hey @Vaibhav20201! Rather than calculating the address on-chain, I think we should send it directly from the UI. We should calculate the pool key on the resolver side.

I was thinking on what was more gas efficient among the below two:-

If we pass the pool address, we will have to call the nft manager for token0 address, token1 address and fee, as we need them to verify things, also, we need to verify if the address we got is of a uniswap's pool for security.

If we pass the pool key we will have to calulate the pool address from it.


Update archlinux-keyring before upgrading

As discussed in irc.
cc: @dvzrv, @Foxboron

I think this fixes this issue?
https://github.com/archlinux/archlinux-repro/issues/114

I think so, yes.


TypeError: Object of type 'date' is not JSON serializable

Running Django 2.1.2, Python 3.6, on Ubuntu 18.04.
After installing scooby, when I go to any URL in my project, I get the following error and stack trace:

builtins.TypeError
TypeError: Object of type 'date' is not JSON serializable
Traceback (most recent call last)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/contrib/staticfiles/handlers.py", line 65, in call
return self.application(environ, start_response)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/wsgi.py", line 142, in call
response = self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/base.py", line 78, in get_response
response = self._middleware_chain(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 91, in call
response = response or self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 91, in call
response = response or self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 91, in call
response = response or self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 91, in call
response = response or self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 91, in call
response = response or self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 91, in call
response = response or self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 91, in call
response = response or self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 91, in call
response = response or self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 91, in call
response = response or self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 91, in call
response = response or self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 91, in call
response = response or self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/myproject/myproject/audits/middleware/myprojectaudit.py", line 51, in call
return self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 91, in call
response = response or self.get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 36, in inner
response = response_for_exception(request, exc)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 90, in response_for_exception
response = handle_uncaught_exception(request, get_resolver(get_urlconf()), sys.exc_info())
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 125, in handle_uncaught_exception
return debug.technical_500_response(request, *exc_info)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django_extensions/management/technical_response.py", line 37, in null_technical_500_response
six.reraise(exc_type, exc_value, tb)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/six.py", line 693, in reraise
raise value
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/core/handlers/exception.py", line 34, in inner
response = get_response(request)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/django/utils/deprecation.py", line 93, in call
response = self.process_response(request, response)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/scooby/middleware.py", line 57, in process_response
backend.set(unique_hex, request.scooby_data.as_json(), 120)
File "/home/myproject/.local/share/virtualenvs/myproject-Uem2Cohr/lib/python3.6/site-packages/scooby/base.py", line 42, in as_json
'plugins_data': plugins_data_json
File "/usr/local/lib/python3.6/json/init.py", line 231, in dumps
return _default_encoder.encode(obj)
File "/usr/local/lib/python3.6/json/encoder.py", line 199, in encode
chunks = self.iterencode(o, _one_shot=True)
File "/usr/local/lib/python3.6/json/encoder.py", line 257, in iterencode
return _iterencode(o, 0)
File "/usr/local/lib/python3.6/json/encoder.py", line 180, in default
o.class.name)
TypeError: Object of type 'date' is not JSON serializable
The debugger caught an exception in your WSGI application. You can now look at the traceback which led to the error.
To switch between the interactive traceback and the plaintext one, you can click on the "Traceback" headline. From the text traceback you can also create a paste of it. For code execution mouse-over the frame you want to debug and click on the console icon on the right side.
You can execute arbitrary Python code in the stack frames and there are some extra helpers available for introspection:
dump() shows all variables in the frame
dump(obj) dumps all that's known about the object
Brought to you by DON'T PANIC, your friendly Werkzeug powered traceback interpreter.

This is fixed in v2.0.6. Can you check by installing that version?

Unfortunately, I still get the same issue. I did make one change in my configuration in addition to upgrading to scooby v2.0.6: I'm now using Python 3.7.1.
It looks like the trace is essentially the same, with the exception of the final entry:

File "/usr/local/lib/python3.7/json/encoder.py", line 179, in default

raise TypeError(f'Object of type {o.class.name} '

TypeError: Object of type date is not JSON serializable

The case was missed in earlier fix commit. I have pushed fix in v2.0.7. Please check it again.

Perfect! Working great now!

Thank you.


Enable cd for elastic-axis plugin

Description
Enable continuous delivery for the elastic axis plugin
Submitter checklist for adding or changing permissions
Always

[x] Add link to plugin/component Git repository in description above

Reviewer checklist (not for requesters!)

[x] Check this if newly added person also needs to be given merge permission to the GitHub repo (please @ the people/person with their GitHub username in this issue as well). If needed, it can be done using an IRC Bot command
[x] Check that the $pluginId Developers team has Admin permissions while granting the access.
[x] In the case of plugin adoption, ensure that the Jenkins Jira default assignee is either removed or changed to the new maintainer.
[x] If security contacts are changed (this includes add/remove), ping the security officer (currently @daniel-beck) in this pull request. If an email contact is changed, wait for approval from the security officer.

There are IRC Bot commands for it

Remember to use the newer style in https://github.com/jenkinsci/.github/pull/48


Add contact to freshdesk sdk

Added contacts from the api.

@gsnovak thanks for this PR, was looking to implementing the same then I saw yours.
Is this project still maintained? We are starting a significant integration with Freshdesk and would be great to revive it if not


competition issue

https://github.com/taskiq-python/taskiq-redis/blob/main/taskiq_redis/redis_broker.py#L66
https://github.com/taskiq-python/taskiq/blob/master/taskiq/cli/worker/process_manager.py#L163
When I looked at the code, I found that there may be competition in multi-process operation, resulting in repeated consumption.
Is there such a possibility? 🤔

I didn't see any pip.watch call in redis, nor lua scripts. So, with pubsub broker this might happen when using multiples workers.

BTW, this is how arq handle this problem.

@vvanglro, thanks for raising this issue. What do you mean by saying competition? It works as redis designed it to work. Every worker process will receive the same task and we know that. If you want workers to process every message once, please use ListQueueBroker instead.
Maybe I didn't understand the issue correctly. If I haven't answer your question, please clarify what do you want us to fix?

In the case you presented there will be 16 consumers. Because each process starts it's own listen loop.
It's stated in README's section PubSubBroker and ListQueueBroker configuration. This behavior is known and we wanted to make it that way. We found this functionality useful, but also, as was said previously if that's not a behaviour that you'd expect from taskiq, you can easily switch to another broker from taskiq-redis package.
The ListQueueBroker uses redis lists to store tasks. Everytime you want to receive a task, it grabs it from the list and since it uses BRPOP operation, you can guarantee that every task will be processed only once. If even that implementation doesn't fit your needs, please provide us with information about which broker you want to be implemented.

Yes, you are right. What I understood at the beginning was that each subscriber has different processing logic, but after reading the project code, I found that the same task will be consumed multiple times. I may not have understood this scenario. ,Feel sorry

Can you add some examples or documentation to taskiq? For example, the use of labels in the decorator, if I didn't read the code today, I wouldn't know that it can use labels={ "retry_on_error": True, }, so I hope there is an example of what parameters the decorator can have and what it does, thank you, this is a great project, but it looks a little young, I like it, I want to use it in production Environment.

@vvanglro, you have nothing to sorry about. We appreciate your interest in our project. Every issue help us to evolve in something greater.


Fix tiny typo in README

WHY are these changes introduced?
For having better clarity in README

WHAT is this pull request doing?
Fix tiny typo in README
Checklist

[ ] I have added/updated tests for this change
[x] I have made changes to the README.md file and other related documentation, if applicable

I've signed to CLA so re-running the ci will make the build success

I've signed to CLA so re-running the ci will make the build success


Extension to Add the min height and width

Extension to control min height and width will be a good one to add.
https://github.com/microsoft/microsoft-ui-xaml/issues/2945

Apologies for the somewhat off-topic comment, but I just had to say THANK YOU! Both to dotMorten (for doing this), and to MarkBQE for mentioning the issue that brought me here! Now, if only I had discovered this say, oh, two days ago! I just spent the last two days (duplicating?) some of your work here. Nice to see I'm not the only one that thinks WinUI 3 is missing just a few things right now.

@fourdragons Thank you for the kind words. Much appreciated.

For reference UWP equivalent: https://docs.microsoft.com/en-us/uwp/api/windows.ui.windowmanagement.preview.windowmanagementpreview.setpreferredminsize?view=winrt-22000#Windows_UI_WindowManagement_Preview_WindowManagementPreview_SetPreferredMinSize_Windows_UI_WindowManagement_AppWindow_Windows_Foundation_Size_
Looks like being able to do this requires listening for WM Messages and inspecting https://docs.microsoft.com/en-us/windows/win32/api/winuser/ns-winuser-minmaxinfo

The WindowEx class now has MinWidth and MinHeight properties, If you don't want to use the custom window class, you can use the new message monitor to do the same thing WindowEx is doing: https://github.com/dotMorten/WinUIEx/blob/cd395e2c451df7eb431d4f522eadbe5e5e72f498/src/WinUIEx/WindowEx.cs#L66-L94

Hi Morten,
Thank you for implementing this! It also raises a question: does WinUIEx
make it possible to determine which MONITOR a particular Window is on? Or is
this something I can straightforwardly implement myself. My Win32 is a bit
rusty ATM.
Regards,
Gary
From: Morten Nielsen @.>
Sent: Thursday, January 6, 2022 5:13 PM
To: dotMorten/WinUIEx @.>
Cc: Subscribed @.***>
Subject: Re: [dotMorten/WinUIEx] Extension to Add the min height and width
(#6)
The WindowEx class now has MinWidth and MinHeight properties, If you don't
want to use the custom window class, you can use the new message monitor to
do the same thing WindowEx is doing:
https://github.com/dotMorten/WinUIEx/blob/cd395e2c451df7eb431d4f522eadbe5e5e
72f498/src/WinUIEx/WindowEx.cs#L66-L94
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com
%2FdotMorten%2FWinUIEx%2Fblob%2Fcd395e2c451df7eb431d4f522eadbe5e5e72f498%2Fs
rc%2FWinUIEx%2FWindowEx.cs%23L66-L94&data=04%7C01%7C%7Cbc8f6c860ce148376a720
8d9d17acc54%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637771147610658715%
7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
LCJXVCI6Mn0%3D%7C3000&sdata=8wVnYGQaKh5iMxunDo4UzTN58AUyLWc3X%2F4cDh%2BNUoQ%
3D&reserved=0>

Reply to this email directly, view it on GitHub
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com
%2FdotMorten%2FWinUIEx%2Fissues%2F6%23issuecomment-1007060401&data=04%7C01%7
C%7Cbc8f6c860ce148376a7208d9d17acc54%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%
7C0%7C637771147610668680%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjo
iV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=2ipmllxIQBcCOWaIoQueQC7
Nf5DslHUgAhFM62%2BaeYA%3D&reserved=0> , or unsubscribe
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com
%2Fnotifications%2Funsubscribe-auth%2FADFAH7EXAJAJGVCTQPOIA3DUUY4YNANCNFSM45
4EJZXA&data=04%7C01%7C%7Cbc8f6c860ce148376a7208d9d17acc54%7C84df9e7fe9f640af
b435aaaaaaaaaaaa%7C1%7C0%7C637771147610668680%7CUnknown%7CTWFpbGZsb3d8eyJWIj
oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=W3
WFOoyB%2BAVjgHJHgvUyFlRGxqKez707H%2FosDcLw%2BSs%3D&reserved=0> .
You are receiving this because you are subscribed to this thread.
<https://github.com/notifications/beacon/ADFAH7GBZWNOFLQKO4Y3PF3UUY4YNA5CNFS
M454EJZXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHQDILMI
.gif> Message ID: @.***
@.***> >

Use this to get a list of Monitors: https://dotmorten.github.io/WinUIEx/api/WinUIEx.MonitorInfo.GetDisplayMonitors.html#WinUIEx_MonitorInfo_GetDisplayMonitors
Then use the PositionChanged event to determine what monitor the window intersects the most.

Perfect! Thanks for the help!
Gary
From: Morten Nielsen @.>
Sent: Thursday, January 6, 2022 7:19 PM
To: dotMorten/WinUIEx @.>
Cc: Gary Lewis @.>; Comment @.>
Subject: Re: [dotMorten/WinUIEx] Extension to Add the min height and width
(#6)
Use this to get a list of Monitors:
https://dotmorten.github.io/WinUIEx/api/WinUIEx.MonitorInfo.GetDisplayMonito
rs.html#WinUIEx_MonitorInfo_GetDisplayMonitors
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdotmorten.
github.io%2FWinUIEx%2Fapi%2FWinUIEx.MonitorInfo.GetDisplayMonitors.html%23Wi
nUIEx_MonitorInfo_GetDisplayMonitors&data=04%7C01%7C%7Cb4dc529ab5a0436899d20
8d9d18c6c32%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637771223303968781%
7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwi
LCJXVCI6Mn0%3D%7C3000&sdata=cRVct1bt8knQT5gPFPaEjPmbgQkofxJgzCh7ftgZWi0%3D&r
eserved=0>
Then use the PositionChanged event to determine what monitor the window
intersects the most.

Reply to this email directly, view it on GitHub
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com
%2FdotMorten%2FWinUIEx%2Fissues%2F6%23issuecomment-1007109145&data=04%7C01%7
C%7Cb4dc529ab5a0436899d208d9d18c6c32%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%
7C0%7C637771223303978741%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjo
iV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=7aTSyaeT5NVsYAuhZ5dATEF
UYQF6Y2woNnTB%2BmDU0GY%3D&reserved=0> , or unsubscribe
<https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com
%2Fnotifications%2Funsubscribe-auth%2FADFAH7EJSPMWFJKANFGANPLUUZLRRANCNFSM45
4EJZXA&data=04%7C01%7C%7Cb4dc529ab5a0436899d208d9d18c6c32%7C84df9e7fe9f640af
b435aaaaaaaaaaaa%7C1%7C0%7C637771223303978741%7CUnknown%7CTWFpbGZsb3d8eyJWIj
oiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=TX
3%2BbNYGBSbNb9wXPDkv2BG58uxzHMaefKfplpRR7os%3D&reserved=0> .
You are receiving this because you commented.
<https://github.com/notifications/beacon/ADFAH7ADRRXANLOYQQ3EXN3UUZLRRA5CNFS
M454EJZXKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHQDUIGI
.gif> Message ID: @.***
@.***> >


Drop replace for k8s lib 0.23 in go.mod

This patch drops replace for k8s lib 0.23 in go.mod.
knative/pkg started using 0.24 so it is not necessary.
Fix https://github.com/knative-sandbox/net-gateway-api/pull/389

/cc @carlisia @dprotaso

/lgtm
/approve


[bug🐞] - Attempted import error: 'sanity-plugin-iframe-pane' does not contain a default export (imported as 'Iframe').

I am getting this error in my next.js application. when I try to update this package to latest version. also my next-sanity and sanity's all packages are completely updated to latest version except this one.
To Reproduce
Steps to reproduce the behavior:

update all packages in next.js application.
update all sanity related packages also
note that you will get this error in sanity.config.js

[20:13:12.766] Running build in Washington, D.C., USA (East) – iad1
[20:13:12.863] Cloning github.com/Your-Ehsan/your-codes (Branch: dependabot/npm_and_yarn/sanity-plugin-iframe-pane-3.1.3, Commit: 43e7489)
[20:13:13.266] Cloning completed: 402.669ms
[20:13:20.564] Restored build cache
[20:13:20.633] Running "vercel build"
[20:13:21.433] Vercel CLI 33.0.1
[20:13:21.920] Detected `pnpm-lock.yaml` version 6 generated by pnpm 8
[20:13:21.939] Installing dependencies...
[20:13:22.573] Lockfile is up to date, resolution step is skipped
[20:13:22.662] Progress: resolved 1, reused 0, downloaded 0, added 0
[20:13:22.781] Packages: +13 -12
[20:13:22.781] +++++++++++++------------
[20:13:23.663] Progress: resolved 13, reused 0, downloaded 13, added 12
[20:13:23.887] Progress: resolved 13, reused 0, downloaded 13, added 13, done
[20:13:24.994]
[20:13:24.994] dependencies:
[20:13:24.994] - sanity-plugin-iframe-pane 2.6.1
[20:13:24.994] + sanity-plugin-iframe-pane 3.1.3
[20:13:24.994] - styled-components 6.1.3
[20:13:24.994] + styled-components 6.1.6
[20:13:24.994]
[20:13:25.346] Done in 3.3s
[20:13:25.391] Detected Next.js version: 14.0.2
[20:13:25.407] Running "pnpm run build"
[20:13:25.894]
[20:13:25.894] ><EMAIL_ADDRESS>build /vercel/path0
[20:13:25.894] > next build
[20:13:25.894]
[20:13:26.549]    ▲ Next.js 14.0.2
[20:13:26.549]
[20:13:26.549]    Creating an optimized production build ...
[20:14:08.692]  ⚠ Compiled with warnings
[20:14:08.696]
[20:14:08.696] ./sanity.config.ts
[20:14:08.696] Attempted import error: 'sanity-plugin-iframe-pane' does not contain a default export (imported as 'Iframe').
[20:14:08.696]
[20:14:08.696] Import trace for requested module:
[20:14:08.697] ./sanity.config.ts
[20:14:08.697] ./src/app/admin/[[...index]]/page.tsx
[20:14:08.697]
[20:14:08.697] ./sanity.config.ts
[20:14:08.697] Attempted import error: 'sanity-plugin-iframe-pane' does not contain a default export (imported as 'Iframe').
[20:14:08.697]
[20:14:08.697] Import trace for requested module:
[20:14:08.697] ./sanity.config.ts
[20:14:08.697] ./src/app/admin/[[...index]]/page.tsx
[20:14:08.697]
[20:14:08.697]    Linting and checking validity of types ...
[20:14:13.428] Failed to compile.
[20:14:13.428]
[20:14:13.428] ./sanity.config.ts:33:22
[20:14:13.428] Type error: Argument of type 'typeof import("/vercel/path0/node_modules/.pnpm/sanity-plugin-iframe-pane@3.1.3_@sanity+client@6.10.0_react-dom@18.2.0_react-is@18.2.0_react@_d7pt6xf5qfqycw2ejqvauwdtta/node_modules/sanity-plugin-iframe-pane/lib/index")' is not assignable to parameter of type 'ComponentType<any> | Partial<ComponentView<Record<string, any>>> | undefined'.
[20:14:13.428]
                     S.view.form(),
20:14:13.428 |         S.view
20:14:13.428 |            .component(Iframe)
20:14:13.428 |                       ^
20:14:13.428 |            .options({
20:14:13.428 |              url: (doc: SanityDocument) => getPreviewUrl(doc),
20:14:13.429 |            })
[20:14:13.575]  ELIFECYCLE  Command failed with exit code 1.
[20:14:13.592] Error: Command "pnpm run build" exited with 1
[20:14:14.264]

Screenshots

Which versions of Sanity are you using?
{
  "name": "name",
  "version": "0.1.0",
  "private": true,
  "scripts": {
    "dev": "next dev",
    "build": "next build",
    "start": "next start",
    "lint": "next lint"
  },
  "dependencies": {
    "@portabletext/react": "^3.0.11",
    "@radix-ui/react-dropdown-menu": "^2.0.6",
    "@radix-ui/react-label": "^2.0.2",
    "@radix-ui/react-navigation-menu": "^1.1.4",
    "@radix-ui/react-scroll-area": "^1.0.5",
    "@radix-ui/react-separator": "^1.0.3",
    "@radix-ui/react-slot": "^1.0.2",
    "@radix-ui/react-switch": "^1.0.3",
    "@sanity/code-input": "^4.1.2",
    "@sanity/image-url": "^1.0.2",
    "@sanity/vision": "^3.23.4",
    "@supabase/auth-helpers-nextjs": "^0.8.7",
    "@supabase/ssr": "^0.0.10",
    "@supabase/supabase-js": "^2.39.1",
    "@tailwindcss/typography": "^0.5.10",
    "@types/node": "20.10.6",
    "@types/react": "18.2.43",
    "@types/react-dom": "18.2.18",
    "autoprefixer": "10.4.16",
    "class-variance-authority": "^0.7.0",
    "clsx": "^2.1.0",
    "eslint": "8.56.0",
    "eslint-config-next": "14.0.4",
    "highlight.js": "^11.9.0",
    "lucide-react": "^0.294.0",
    "next": "14.0.2",
    "next-sanity": "^7.0.5",
    "next-themes": "^0.2.1",
    "postcss": "8.4.32",
    "react": "18.2.0",
    "react-dom": "18.2.0",
    "sanity": "^3.23.4",
    "sanity-plugin-asset-source-unsplash": "^1.1.2",
    "sanity-plugin-iframe-pane": "^2.6.1",
    "sharp": "^0.33.1",
    "styled-components": "^6.1.6",
    "supabase": "^1.123.4",
    "tailwind-merge": "^2.2.0",
    "tailwindcss": "3.4.0",
    "tailwindcss-animate": "^1.0.7",
    "typescript": "5.2.2"
  }
}

here's my sanity.config.ts file
/**
 * This configuration is used to for the Sanity Studio that’s mounted on the `\src\app\admin\[[...index]]\page.tsx` route
 */

import Iframe from "sanity-plugin-iframe-pane";

import { visionTool } from "@sanity/vision";
import { SanityDocument, defineConfig } from "sanity";

import { deskTool, type DefaultDocumentNodeResolver } from "sanity/desk";

import { apiVersion, dataset, projectId } from "./sanity/env";
import { schema } from "./sanity/schema";
import { codeInput } from "@sanity/code-input";
import { unsplashImageAsset } from "sanity-plugin-asset-source-unsplash";

// Customize this function to show the correct URL based on the current document
function getPreviewUrl(doc: SanityDocument | any) {
  return doc?.slug?.current
    ? `${window.location.host}/${doc.slug.current}`
    : window.location.host;
}

const defaultDocumentNode: DefaultDocumentNodeResolver = (
  S,
  { schemaType },
) => {
  switch (schemaType) {
    case `movie`:
      return S.document().views([
        S.view.form(),
        S.view
          .component(Iframe)
          .options({
            url: (doc: SanityDocument) => getPreviewUrl(doc),
          })
          .title("Preview"),
      ]);
    default:
      return S.document().views([S.view.form()]);
  }
};

export default defineConfig({
  basePath: "/admin",
  projectId,
  dataset,
  // Add and edit the content schema in the './sanity/schema' folder
  schema,
  plugins: [
    unsplashImageAsset(),
    codeInput(),
    deskTool({ defaultDocumentNode }),
    // Vision is a tool that lets you query your content with GROQ in the studio
    // https://www.sanity.io/docs/the-vision-plugin
    visionTool({ defaultApiVersion: apiVersion }),
  ],
});

What operating system are you using?
I am using windows 10
Which versions of Node.js / npm are you running?
I am using node_v_20.10.0

Just had the same issue, but it's because they've changed how we need to import Iframe
if your defaultDocumentNode.ts
change
import Iframe from 'sanity-plugin-iframe-pane'
to
import {Iframe} from 'sanity-plugin-iframe-pane'

Just had the same issue, but it's because they've changed how we need to import Iframe
if your defaultDocumentNode.ts
change
import Iframe from 'sanity-plugin-iframe-pane'
to
import {Iframe} from 'sanity-plugin-iframe-pane'

thanks its works


Will there be an equivalent for go?

Hi, i am not sure if this should be here. Posting it here to get visibility
@ericmustin will there be a dd-opentelemetry-exporter-go? asking because our org that heavily uses datadog is looking into using OpenTelemetry standards? :)

no worries, at this time we don't have plans to, we are working on OTLP support in the datadog-agent instead.


included isort does not handle indent_size = tab from .editorconfig

Environment data

VS Code version: 1.21.1
Extension version (available under the Extensions sidebar): 2018.2.1
OS and version: macOS 10.13.3
Python version (& distribution if applicable, e.g. Anaconda): brew install python3
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): virtualenv

Actual behavior
imports not sorted
Expected  behavior
sorted imports
Steps to reproduce:
in .editorconfig
[*.py]
charset = utf-8
indent_style = space
indent_size = tab
tab_width = 4 # this is the issue

Logs
Error: Traceback (most recent call last):
  File "/Users/rderose/.vscode/extensions/ms-python.python-2018.2.1/pythonFiles/sortImports.py", line 2, in <module>
    isort.main.main()
  File "/Users/rderose/.vscode/extensions/ms-python.python-2018.2.1/pythonFiles/isort/main.py", line 264, in main
    config = from_path(os.path.abspath(file_names[0]) or os.getcwd()).copy()
  File "/Users/rderose/.vscode/extensions/ms-python.python-2018.2.1/pythonFiles/isort/settings.py", line 139, in from_path
    _update_settings_with_config(path, '.editorconfig', '~/.editorconfig', ('*', '*.py', '**.py'), computed_settings)
  File "/Users/rderose/.vscode/extensions/ms-python.python-2018.2.1/pythonFiles/isort/settings.py", line 163, in _update_settings_with_config
    _update_with_config_file(editor_config_file, sections, computed_settings)
  File "/Users/rderose/.vscode/extensions/ms-python.python-2018.2.1/pythonFiles/isort/settings.py", line 175, in _update_with_config_file
    computed_settings['indent'] = ' ' * (indent_size and int(indent_size) or 4)
ValueError: invalid literal for int() with base 10: 'tab'

The Fix
PR to fix the issue is upstream here: https://github.com/timothycrosley/isort/pull/687

As there's an upstream issue to resolve this I'm closing this issue.
Also, we expect the user to configure isort using the settings.json file.

@DonJayamanne I opened this issue so it could be used to track upstream and ensure that the upstream version with the fix would be included to mark this issue fixed. Also, I’m not sure you can assume or should require users to use settings.json, when using .editorconfig is a valid location for the settings.  But OK.

@RobertDeRose as soon as your PR lands upstream and a new release is cut then please feel free to open an issue for us to update our copy of the tool.


[Needs Review] B07902109 張翔文

A Pull Request (PR) should explain why we need this PR and how you implement it, so others could understand it quickly.
Since this is just a homework, you do not need to explain why and how.
Do NOT change the status to NeedsReview if you do not want to be graded yet.
Please fill in the following questions as feedback. It is totally optional and would not be graded.
What is the most challenging part in this homework?
Is this homework helpful for you?
Is there any suggestion?

PR readiness check list

[  ] Did it pass the Flake8 check?
[  ] Did you test this PR?
[  ] Did you change the title of this PR to the correct format ([status] student_ID)?

@Shine0417  Please include only one file changed. Do NOT use git add ..

Please check this out. And please merge it, Thx.
@amjltc295


Decoupling Django Shop from Django CMS

What do the community think about decoupling Django-cms from django-shop.
I found django-shop useful for my ecommerce website, however I am not using django-cms at all.
For whatever cms pages we needed, we had already integrated wagtail and moving to django-cms was not fisible.
I wanted to avoid all the cms dependencies. But can't do it without breaking the shop. So i endup forking django-shop and comment out cms code.
Now there is a possibility of bringing in CMS code in a pluggable manner.
I want to understand from community if it will be useful to decouple  CMS?

Hmm, good question.
Initially django-SHOP was decoupled from django-CMS, but then I saw the need to integrate the possibility for arbitrary content into the product's detail- and even list pages. It turned out that both of them would benefit if tightly coupled.
I also love the idea that the catalog can be organized a CMS pages.
Anyway, currently I'm decoupling  django-SHOP from django-angular, since AngularJS is dead.
Maybe with django-CMS version 4 it might become easier to decouple django-SHOP from it. Let's see.

Just wanted to say, that I am excited for the Django-shop version which will be independent of Django-angular. I am trying to implement flutter as my frontend client.

I am excited for the Django-shop version which will be independent of django-angular

Be assured, I'm heavily working on that.

I imagine it's not going to be easy (or feasible) to decouple Django-CMS from Django-shop without completely changing the project's goals.
I would be thrilled to see Angular decoupled from Django-shop. I had to fork the project to work around some of the issues with Angular (and hardcoded js in python files). It would be great to have the frontend completely decoupled from the backend services.

I would be thrilled to see Angular decoupled from Django-shop.

I'm currently working on this. To get a first impression, please have a look at this library. On the long term, it shall replace django-angular.

I've been using crispy forms. Is django-formset compatible with that? And we're performing validation at the backend, too, right?

As for decoupling Django-Shop from Django-CMS, I think we'll need documentation explaining what Django-shop does itself, because the current "run the cookiecutter (which is frequently unstable)* and read the source" process is too opaque.

"unstable" as in "often breaks in interesting ways during pipenv install or during initial fixture load, the latter being very frustrating because it fails silently and deletes cookiecutter-generated files (ignored by .gitignore, too, so checking it in won't save you) so it cannot be rerun without starting over from a clean cookiecutter run." I've spent days trying to fix that.

I would be thrilled to see Angular decoupled from Django-shop.

I'm currently working on this. To get a first impression, please have a look at this library. On the long term, it shall replace django-angular.

+1 for that. If you need help testing it or if there are some tasks, feel free to contact me.

I think that django-cms and django-cascade in backend side and all frontend (node_modules: angular, bootsrap and etc) may be separate to different cases of django-shop usage. For example:

django-shop (simple usage)
django-shop + cms + django-cascade
django-shop + js framework (vue, svelte, react and etc.)

All variants is very good in defferent e-commerce apps.
So, I think, we need net django-shop without dependencies. But with additional packages for using together with js framework or django-cms (or using together) and etc.
For example, in my project I removed all dependencies listed above. And I gonna to build app with Vue. If you want I can show my results of removing dependencies later (now it's raw, WIP).

@vivazzi
I actually see many benefits of having django-shop integrated into django-cms.
But I really agree on replacing django-angular. Therefore I currently am working on django-formset, which will replace the latter. I will also try to integrate HTMX instead of AngularJS (or any other JS framework) components.

Yes, I am agree with you: really many benefits of having django-shop integrated into django-cms. I had three apps that used django-cms + django-shop. Now I have other project, that is SPA using Vue. So I paid attention to dependencies. Anyway django-shop is awesome flexible app for e-commerce, that I use! Thanks for your hard work!
About HTMX - this sounds very interesting. I don't know about it very well, but I think this as variant is good. I always follow the django-shop


Cannot create sets with circular reference

We cannot create a set and add it to itself. The following code when evaluated in JavaScript answers 1 instead of 2.
s := Set new.
s add: 'A'.
s add: s.
s size.

The problem is caused by includes: method defined in PjTArray. This caused another bug. The following code answers true instead of false, when evaluated in JavaScript.
array := #('X').
array includes: array.


Allow to specify https and https addresses inside the grpc section

Feature description
Currently the gprc.address fields requires user to input an address without the http and https prefixes. This results in a strange UX for the overall user.
Implementation proposal
We should allow to use http and https prefixes, stripping them if required.

Closes with e0715b9f283712df0c49fc49ba99fb2c42e1195a


Get video from Twitter suddenly stopped working.

Before it was working with the same url but now is not.
youtube-dl https://twitter.com/Filmdrunk/status/713801302971588609
[twitter]<PHONE_NUMBER>71588609: Downloading webpage [twitter:card]<PHONE_NUMBER>71588609: Downloading webpage ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Verbose output:

C:\WINDOWS\system32>youtube-dl -v https://twitter.com/Filmdrunk/status/713801302971588609
[debug] System config: []
[debug] User config: [u'-o', u'C:/Users/****/yt-dls/%(title)s.%(ext)s', u'--no-mtime']
[debug] Command-line args: [u'-v', u'https://twitter.com/Filmdrunk/status/713801302971588609']
[debug] Encodings: locale cp1252, fs mbcs, out cp437, pref cp1252
[debug] youtube-dl version 2016.03.26
[debug] Python version 2.7.10 - Windows-8-6.2.9200
[debug] exe versions: ffmpeg N-75137-g2c1ec57, ffprobe N-75137-g2c1ec57
[debug] Proxy map: {}
[twitter]<PHONE_NUMBER>71588609: Downloading webpage
[twitter:card]<PHONE_NUMBER>71588609: Downloading webpage
ERROR: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
File "youtube_dl\YoutubeDL.pyo", line 668, in extract_info
File "youtube_dl\extractor\common.pyo", line 320, in extract
File "youtube_dl\extractor\twitter.pyo", line 161, in _real_extract
File "youtube_dl\extractor\common.pyo", line 839, in _sort_formats
ExtractorError: No video formats found; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

I believe the problem is here
These links: http://twitter.com/i/videos/tweet/713801302971588609 do not have an iframe in them until you click play.

Thanks for you all. New embedded Vine videos will be supported in the next version.


Balance Incontinence Risk/Reward

Given the target community, it is expected that most will try to become incontinent as quickly as possible. This is likely to make the process of slowly losing continence feel like a mere inconvenience.
I recommend making more consequences for losing continence, to give players an incentive to stay dry. The challenge of this mod is to balance hunger, thirst, time, energy, and the need to pee. So, if there is no punishment for not using the big-kid potty, why would anyone try to take it into consideration?

I feel that this request discounts the player-base that isn't playing ABDL mods for increased difficulty. Some people just want to roleplay as a diapered Stardew character. Others (myself included on this one) may just want to roleplay going through gradually declining continence in a lifesim-style game and enjoy the day-to-day diaper management aspects.
Not saying that there shouldn't necessarily be applicable in-game mechanics regarding diapers (bed drying, cost of diapers, social consequences, and speed and defense decreases for blowouts and wet leaks all being good examples), but I worry that putting too many or too harsh of consequences on diapers and accidents will only make the game more of a chore to play, rather than enhancing it.

I suppose that's true. I put it here more as a potential suggestion. It probably belongs in the discussion section, but I hadn't set it up yet.
Perhaps not adding more consequences, but maybe just better balancing the existing ones, like:

Stamina hit per wake-up at night
Bed/cloth drying times based on messiness
Duration and magnitude of debuffs
Magnitude of social repercussions (both positive and negative)
Cost of underwear
Bladder, Bowel, Hunger and Thirst fill rates
Effects of food & drink

I think you're right that there is enough there. I just don't know if things are as balanced as they should/could be. But I really need community feedback. So I think this is an open discussion, and I don't think I'll make any changes in the near future.


cargo-tree: init at 0.18.0

@GrahamcOfBorg  build cargo-tree

Success on aarch64-linux (full log)
Attempted: cargo-tree
Partial log (click to expand)
cp: -r not specified; omitting directory 'target/release/native'
cp: -r not specified; omitting directory 'target/release/deps'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/5adjbp0ja10dbwpqcs3c5r0q8yqsaihj-cargo-tree-0.18.0
shrinking /nix/store/5adjbp0ja10dbwpqcs3c5r0q8yqsaihj-cargo-tree-0.18.0/bin/cargo-tree
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/5adjbp0ja10dbwpqcs3c5r0q8yqsaihj-cargo-tree-0.18.0/bin
patching script interpreter paths in /nix/store/5adjbp0ja10dbwpqcs3c5r0q8yqsaihj-cargo-tree-0.18.0
checking for references to /build in /nix/store/5adjbp0ja10dbwpqcs3c5r0q8yqsaihj-cargo-tree-0.18.0...
/nix/store/5adjbp0ja10dbwpqcs3c5r0q8yqsaihj-cargo-tree-0.18.0

Failure on x86_64-darwin (full log)
Attempted: cargo-tree
Partial log (click to expand)
          clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

error: aborting due to previous error

error: Could not compile `cargo-tree`.

To learn more, run the command again with --verbose.
builder for '/nix/store/qkvxnfg8bxg69cpq9s3hih4dxyc471fk-cargo-tree-0.18.0.drv' failed with exit code 101
error: build of '/nix/store/qkvxnfg8bxg69cpq9s3hih4dxyc471fk-cargo-tree-0.18.0.drv' failed

looks like libiconv is missing for darwin

@xeji Did I do that correctly?

Success on aarch64-linux (full log)
Attempted: cargo-tree
Partial log (click to expand)
/nix/store/5adjbp0ja10dbwpqcs3c5r0q8yqsaihj-cargo-tree-0.18.0

Failure on x86_64-darwin (full log)
Attempted: cargo-tree
Partial log (click to expand)
          clang-5.0: error: linker command failed with exit code 1 (use -v to see invocation)

error: aborting due to previous error

error: Could not compile `cargo-tree`.

To learn more, run the command again with --verbose.
builder for '/nix/store/cbc8g5nrsajwipv3cq6hl0ykfz7837gn-cargo-tree-0.18.0.drv' failed with exit code 101
error: build of '/nix/store/cbc8g5nrsajwipv3cq6hl0ykfz7837gn-cargo-tree-0.18.0.drv' failed

Success on x86_64-linux (full log)
Attempted: cargo-tree
Partial log (click to expand)
cp: -r not specified; omitting directory 'target/release/native'
cp: -r not specified; omitting directory 'target/release/deps'
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/z3gzhdjwx2n5crywb3cq6yz48vvha656-cargo-tree-0.18.0
shrinking /nix/store/z3gzhdjwx2n5crywb3cq6yz48vvha656-cargo-tree-0.18.0/bin/cargo-tree
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/z3gzhdjwx2n5crywb3cq6yz48vvha656-cargo-tree-0.18.0/bin
patching script interpreter paths in /nix/store/z3gzhdjwx2n5crywb3cq6yz48vvha656-cargo-tree-0.18.0
checking for references to /build in /nix/store/z3gzhdjwx2n5crywb3cq6yz48vvha656-cargo-tree-0.18.0...
/nix/store/z3gzhdjwx2n5crywb3cq6yz48vvha656-cargo-tree-0.18.0

don't we all love this trial-and-error stuff :smile:
@GrahamcOfBorg build cargo-tree

Success on aarch64-linux (full log)
Attempted: cargo-tree
Partial log (click to expand)
/nix/store/5adjbp0ja10dbwpqcs3c5r0q8yqsaihj-cargo-tree-0.18.0

Success on x86_64-linux (full log)
Attempted: cargo-tree
Partial log (click to expand)
/nix/store/z3gzhdjwx2n5crywb3cq6yz48vvha656-cargo-tree-0.18.0

Success on x86_64-darwin (full log)
Attempted: cargo-tree
Partial log (click to expand)
cp: -r not specified; omitting directory 'target/release/incremental'
cp: -r not specified; omitting directory 'target/release/native'
cp: -r not specified; omitting directory 'target/release/examples'
cp: -r not specified; omitting directory 'target/release/deps'
cp: -r not specified; omitting directory 'target/release/build'
post-installation fixup
strip is /nix/store/kdff2gim6417493yha769kh00n63lnrw-cctools-binutils-darwin/bin/strip
stripping (with command strip and flags -S) in /nix/store/jzxjmfy2ff23nhh02lw0mqlbs4hc99nl-cargo-tree-0.18.0/bin
patching script interpreter paths in /nix/store/jzxjmfy2ff23nhh02lw0mqlbs4hc99nl-cargo-tree-0.18.0
/nix/store/jzxjmfy2ff23nhh02lw0mqlbs4hc99nl-cargo-tree-0.18.0

Failure on x86_64-darwin (full log)
Attempted: cargo-tree

Partial log (click to expand)

OOPSIE WOOPSIE!! Uwu We made a fucky wucky!! A wittle fucko boingo! The code monkeys at our headquarters are working VEWY HAWD to fix this!

@jD91mZM2 looks like you have been hacked - your fake previous post, which I am going to delete, links "full log" to a youtube URL.

anyway, the PR ist fine now....

@xeji That was a bad attempt at a joke. The YouTube URL was a rickroll. Sorry :stuck_out_tongue:


Return evicted values to user

I am currently working on a DBMS and consider this library as a good replacement for a self-written buffer pool. But at the moment there aren't alternative functions in those places where entry eviction can occur.
I added the suffix _evict to such functions so as not to violate the public interface. I still have questions about the name of such suffix, but there are no other ideas yet.
Also bumped version to 0.3.1, according to semver, and updated dependencies.

Thank you for your contribution.
In the past, I thought about implementing this, but wasn't sure what to do in the scenarios where more than one entry gets evicted (with weighting). This is also bad because all but the drop are happening inside shard.rs while holding the exclusive lock.
Any thoughts on that? At a minimum, I think the evict suffixes should mention in their comment that only the last evicted value is returned.

The issue was solved in the stupidest way - by return vector of such evictions wrapped in an Option (vector is guaranteed to be non-empty).
Yes, there are more allocations... Through the benchmark, it turned out that the performance regressed by 10-20%, but considering that the initial figures were about 2 ms on my i7-4500U, it's not so scary. Maybe :)
In particular, tests for correct behavior have not yet been written. I'm still thinking about this question... Of course, if performance regression is optimal for you.

Sadly, I cannot accept the PR as is because of the performance regressions for the common use case (no eviction listeners).
I think an Ejector trait could work nicely :+1:

I've added an experimental Lifecycle trait to master https://github.com/arthurprs/quick-cache/commit/ae2a0f6bf396bc36da588b2fe959f8c11fc34568. It might need a little bit more though, but the default impl adds no overhead compared to the current release.


write contribution docs for algolia

Some basic docs on how to contribute to the algolia stuff as well as a very basic primer on how it works
Fixes #1325

ominous error


expose onUploadProgress on HttpRequest dart:html

Context:
I am using HttpRequest in dart:html to upload file.
All is ok when I use HttpRequest with onProgress on Flutter 2.0.5 but when I upgraded Flutter 2.2.0, the onProgress is not called then I read the document and know the way use xhr.upload.onprogress to get the upload progress and it works.

@phamnhuvu-dev is this still being worked on?

@mit-mit Sorry, I forgot this, I will do it tomorrow. Thanks for reminding me.

Friendly ping!

@phamnhuvu-dev any news? We'll close this as assumed stale if we don't hear back soon

Closing as assumed stale.


SD card

Is there a way to display images from the built in SD card slot?

https://ralimtek.com/posts/2016/2016-12-10-raspberry_pi_secondary_sd_card/#spi

No but like if the lcd has a built in SD slot, can I load images to the screen using this library?

built in SD slot is same as external SD card reader


CASMTRIAGE-6542: Updated 'master-host-hook-script.yaml' to remove the…

… global_params_file to avoid disk space issues
Description
Updated "master-host-hook-script.yaml" to remove the global_params_file under /tmp to resolve disk space issues

[x] If I added any command snippets, the steps they belong to follow the prompt conventions (see [example][1]).
[ ] If I added a new directory, I also updated .github/CODEOWNERS with the corresponding team in [Cray-HPE][2].
[x] My commits or Pull-Request Title contain my JIRA information, or I do not have a JIRA.

/backport release/1.5


Define the minimum requirements for a media element

The entire Video element API not not required to for a media elements, let's define explicitly what subset is required (maybe a media-element.md file in docs/) ?
Let's also make sure we have some test coverage to make sure a minimal video element works on the normal happy paths

Discussion happened in this thread: https://github.com/muxinc/media-chrome/pull/93#discussion_r752524794

Should we start this in https://github.com/muxinc/media-chrome/discussions/categories/proposals ?


LIS2DW12 fix #46199 I2C write to register

The current I2C write function, i2c_burst_write from i2c.h, cannot be used to write to registers on this sensor.  This fix defines a function for performing I2C writes to registers as specified in the datasheet for the LIS2DW12 and LIS2DTW12.
Fixes #46199

this looks like a fix for #46199 which is nice, please take a look at fix the CI issues so this can be accepted

This would be better fixed in stmemsc_i2c_write instead.


The .dll are Missing

The new dlls which accompany the new LWJGL3 libraries which allow you to launch the games are missing.

you can download them at https://github.com/LWJGL/lwjgl3/releases

please provide build instructions because i am stupid


Demonstration of #112 (move from Travis to GitHub Actions) w/ #149 (test-all-exercises: Handle practice exercises)

This demonstration PR demonstrates that CI succeeds when both #112 and #149 are merged. It will also contain commits that prove that #112 correctly causes CI to fail under conditions when it should (exercises don't compile, etc.). It is not meant to be merged; instead merge #112 and #149 separately.

This PR has successfully served its purpose, namely that these two commits cause CI to fail:

proof: fail to compile
proof: compile, but fail tests

And that CI succeeds without those commits. As this PR has served its purpose (demonstration) and is not meant to be merged, it will now be closed.


Removed num_entries becasue the count was slowing down the platform

Description
Remove "entries" counter from leaderboard to speed up loading and unclutter the platform.
Issues this PR resolves

#1327

Checklist

[x] I'm proud of my work
[x] Code review by reviewer
[x] Hand tested by reviewer
[x] CircleCi tests are passing
[x] Ready to merge

@ihsaan-ullah Thanks for the patch. I guess updating the test will be part of the TODOs to put back the entries counter.


Pasted images should be size-capped

Posting large or high-res images can completely cover the screen, even on large high-res monitors. Images should be capped by percentage of total screen space, by each dimension independently. Maybe cap at 80% height and 80% width.

Applies only to external paste; if an image is intentionally large in qboard and then copied and pasted into qboard, dimensions should remain the same as the original

dont think it should be capped in raw paste; if the computer can handle it we allow it. but think it should be made smaller if it is too large


Install Fellowship-merge-bot in the repository

Same as #65, but because the fellowship-merge-bot belongs to the fellowship so this has to be done by an admin.
We need an admin to:

Install the fellowship-merge-bot with in this repository.
Set the MERGE_APP_ID secret in this repository.
Set the MERGE_APP_KEY secret in this repository.

How to obtain the secrets

Go to the settings of the organization
Go to developers settings > GitHub apps
Select the bot and click Edit
The App ID should be at the top.

Copy this values to the MERGE_APP_ID secret.

Scroll down until Private keys
Generate a new one

Copy its content to the MERGE_APP_KEY secret.

Done

@Bullrich the installed bot doesn't seem to be working: https://github.com/polkadot-fellows/xcm-format/pull/61#issuecomment-2225983179


docs: Add DESIGN.md

Fixes GRAPH-966
Test plan
n/a

Addressed all the review comments; merging now. Can address follow-up comments/questions later.


Add missing Marshal.ThrowExceptionForHR for CoreRT

CoreRT is using System.Runtime.Extensions.dll compiled for CoreCLR, not CoreRT. System.Runtime.Extensions depends on Marshal.ThrowExceptionForHR in CoreLib.
Also made Marshal.ThrowExceptionForHR to throw COMException instead PlatformNotSupportedException for CoreRT without COM interop support. It should eventually probably map the HResult to exception even without the COM support once the interop is factored better.
Fixes #5373

Thanks - we got our app working on CoreRT (with a couple of workarounds) now that Marshal.GetExceptionForHR is available. Cool!


Types on tests

Property test typing is broken, again

Closing this as it is stale. Please let me know if anything else pops up here and we can re-open it.


ion-toggle displays "off" when using ngModel in disabled-state

When using a simple ionic2 ion-toggle in combination with ngModel everything is working fine.
this.trueVar = true;
The following Toggle displays in "on" state:
<ion-toggle [(ngModel)]="trueVar"></ion-toggle>
As soon as you want to disable user interaction, the toggle displays as "off" although trueVar = true:
<ion-toggle [disabled]="true" [(ngModel)]="trueVar"></ion-toggle>

Hi,
I had the same issue. Anyone found out how to fix it?


updated dependencies

fixed out of date dependencies in package.json

Thanks, but the only two changes here are "commander" and "electron-packager", because semver ^a.b.c is identical to ^a.y.z, and I don't want to upgrade commander & electron-packager, for a reason I forgot. I have a WIP branch where I get rid of old stuff and bump the minimum version. Closing this for now.


Upgrade to htmlbars or handlebars 2.0

Can we Upgrade to htmlbars or handlebars 2.0? If we can't on here would harm to do it locally?

I upgraded the project to use ember-cli 0.2.3 and the most recent ember release. That includes using the htmlbars template compiler instead of handlebars.


Bézier path tab doesn't draw selected point

I encountered this bug when i imported package on my project, and when i clicked on the point handle to adjusting position but inspector doesn't draw selected point. I created a new project and imported package to test out but it draw completely fine. I have look over the code but i didn't found any issue with it, maybe my settings was wrong?

This is editor bug. Change your layout to default
https://forum.unity.com/threads/solved-error-editor-variables-returning-different-results-in-two-different-functions.445550/#post-2898261


Does this connector support PHP8?

I was wandering if thie connector does support PHP8?

Not yet - it's on the roadmap though, but I have no ETA at the moment.

I have started working on PHP 8 support - not quite ready yet, though.

Preliminary support for PHP 8.0 is on main. Report any issues you face.

That is great news :) will test it put and provide feedback

Nice work @gkralik !!!
Could you maybe also add a tag for the latest changes please?

I have tagged a 2.0.0-beta1 release.

Support for PHP 8.0 and PHP 8.1 has been added, starting with release 2.0.0-beta1.


TessLightCurveFiles Need TargetIDs

KeplerLightCurveFiles, TessLightCurveFiles, TargetPixelFiles should all have a generic 'targetid' member. As of now, only KLCFs and TPFs have keplerids and it would be good to have a generic id so that we can access to them without knowing their specific mission.

Fixed in PR #203


File will not be displayed because is it either binary, very large or an unsupported text encoding

VSCode Version: Code 1.13.1 (379d2efb5539b09112c793d3d9a413017d736f89, 2017-06-14T18:21:47.485Z)
OS Version: Windows_NT ia32 6.1.7601
Extensions:

Extension
Author
Version

language-x86-64-assembly
13xforever
2.2.11

rainbow-brackets
2gua
0.0.6

read-only-indicator
alefragnani
0.6.0

alignment
annsk
0.3.0

Doxygen
bbenoist
1.0.0

vscode-astyle
chiehyu
0.6.2

python
donjayamanne
0.6.5

EditorConfig
EditorConfig
0.9.3

matlab
Gimly81
0.5.0

triggertaskonsave
Gruntfuggly
0.1.2

status-bar-tasks
GuardRex
0.2.0

vscode-dimmer
hoovercj
2.1.0

docthis
joelday
0.4.5

center-editor-window
kaiwood
2.0.2

select-part-of-word
mlewand
1.0.1

cpptools
ms-vscode
0.11.4

indent-rainbow
oderwat
0.6.1

vscode-clearcase
OpenNingia
1.9.2

vscode-icons
robertohuertasm
7.9.0

theme-cyanicpastels
SamuelLampa
0.0.9

indenticator
SirTori
0.4.2

vscode-hexdump
slevesque
1.3.0

code-spell-checker
streetsidesoftware
1.2.0

comment-snippets
Tobiah
0.2.0

selectline-statusbar
tomoki1207
0.0.2

dark-plus-material
vangware
1.0.3

change-case
wmaurer
1.0.0

highlight-trailing-white-spaces
ybaumes
0.0.2

Steps to Reproduce:

Open attached file in VS code get error message.
Open file in Notepad. No problem.

I had edit the file to remove private information. When I edited it Notepad and saved it was converted to a readable format. When I edited it in SlickEdit, I could preserve the original formatting so it would load in Notepad but not in VS Code.
vs code.txt

Looks like there are zero-byte-characters in that file:

In that case we think the file is binary. You need to include a UTF-16 BOM in the file if it is using that encoding.

Given that the file successfully opens in both Notepad and SlickEdit, IMHO the binary detection is incorrect. Is there is any chance that it could be resolved?

Given that the attached file works in Notepad, Notepad++ and SlickEdit (and probably other editors - these are only the ones I have installed), should it not work in VS Code? In Notepad++ the zeros are shown:

This also happens on Apache error logs for some reason. I don't think the detection is correct at the moment.


Validate authentication type for FIDO2 API endpoint

Describe the issue:
Check the authentication type of the requests coming to the FIDO2 API endpoint.
Environment information:

Product Version: IS 5.11.0

Closing as this is fixed in the public branch