LUIS App Unable to recognize few words after certain time

Hi I have created a LUIS app 2/3 months ago. It was working perfectly fine. But now I have noticed one problem. If I don't use this app for some time say 1/2 weeks. Few words my App can't recognise ( It is forgetting my trained words). Again I need to click on Train button and publish my app. Can you please tell me why this kind of behaviour is happening?
Is this behaviour normal? If yes then what is the time frame to train & publish this app again?

No, this behavior is not normal can you please share with us your app ID and examples queries to help us investigate the issue.

Hi Carol,
Today (21-Oct-2016 11:35 AM) also that issue happened. My Application ID: b24fa810-2888-4293-8f91-ce33fbb4893d
In LUIS.ai it is showing me right Intent and Entities but in my published API I am getting wrong Intent. And as I mentioned earlier if I click on Train button and republish it it will show me correct intent.
In my LUIS.ai app Where no is my entity and Intent is Negative it is taking correctly
But in my published (https://api.projectoxford.ai/luis/v1/application?id=b24fa810-2888-4293-8f91-ce33fbb4893d&subscription-key=6a0d5b3b04b4498c9c285ae19e433f53&q=no ) json it is showing intents as None
{
"query": "no",
"intents": [
{
"intent": "None",
"score": 0.684182763
},
{
"intent": "Negative",
"score": 0.456288844
},
Yesterday it was working perfectly.
Regards-
Prasenjit

Hi Prasenjit,
So I checked the logs and it seems that the predictions changed AFTER a publish on 20/10/106 10:42 am. You might have added utterances that negatively affected your 'Negative' intent model. After a publish that was done on 21/10/2016 1:02 pm the model seems to have improved.
The model should not work differently between different publishes. Any changes you make should be reflected on LUIS after you train (but not on the endpoint). Once you publish the latest TRAINED models will be published and these models will be used for the endpoint.
Hope that helps.
Best regards,
Youssef

Hi, Again same things happened. "hello" is trained as "Greetings" Intent in Luis.ai but in my published url it is showing "None".  https://api.projectoxford.ai/luis/v1/application?id=b24fa810-2888-4293-8f91-ce33fbb4893d&subscription-key=6a0d5b3b04b4498c9c285ae19e433f53&q=hello . Result is coming like -
{
"query": "hello",
"intents": [
{
"intent": "None",
"score": 0.9616027
},
{
"intent": "Greetings",
"score": 0.8632229
},
{
I have submitted the Intent again and again. But in Publish api it is showing different. I believe that is a bug. Can you please look into it?

Hi,
Hi, Again same things happened. "hello" is trained as "Greetings" Intent in Luis.ai but in my published url it is showing "None". https://api.projectoxford.ai/luis/v1/application?id=b24fa810-2888-4293-8f91-ce33fbb4893d&subscription-key=6a0d5b3b04b4498c9c285ae19e433f53&q=hello . Result is coming like -
{
"query": "hello",
"intents": [
{
"intent": "None",
"score": 0.9616027
},
{
"intent": "Greetings",
"score": 0.8632229
},
{
I have submitted the Intent again and again. But in Publish api it is showing different. I believe that is a bug. Can you please look into it?
LUIS.ai Screen shot –
<EMAIL_ADDRESS>Last Trained<EMAIL_ADDRESS>Published :
<EMAIL_ADDRESS>Regards-
Prasenjit
From: Youssef Elsaie<EMAIL_ADDRESS>Sent: 24 October 2016 20:00
To: Microsoft/BotBuilder<EMAIL_ADDRESS>Cc: Prasenjit Saha<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [Microsoft/BotBuilder] LUIS App Unable to recognize few words after certain time (#1461)
Hi Prasenjit,
So I checked the logs and it seems that the predictions changed AFTER a publish on 20/10/106 10:42 am. You might have added utterances that negatively affected your 'Negative' intent model. After a publish that was done on 21/10/2016 1:02 pm the model seems to have improved.
The model should not work differently between different publishes. Any changes you make should be reflected on LUIS after you train (but not on the endpoint). Once you publish the latest TRAINED models will be published and these models will be used for the endpoint.
Hope that helps.
Best regards,
Youssef
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/Microsoft/BotBuilder/issues/1461#issuecomment-255756718, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ASfDpPIbwEAZbkv8RmHkSV2vxz-fwlnCks5q3MDugaJpZM4Kal8i.
::DISCLAIMER::
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
E-mail transmission is not guaranteed to be secure or error-free as information could be intercepted, corrupted,
lost, destroyed, arrive late or incomplete, or may contain viruses in transmission. The e mail and its contents
(with or without referred errors) shall therefore not attach any liability on the originator or HCL or its affiliates.
Views or opinions, if any, presented in this email are solely those of the author and may not necessarily reflect the
views or opinions of HCL or its affiliates. Any form of reproduction, dissemination, copying, disclosure, modification,
distribution and / or publication of this message without the prior written consent of authorized representative of
HCL is strictly prohibited. If you have received this email in error please delete it and notify the sender immediately.
Before opening any email and/or attachments, please check them for viruses and other defects.

This behavior is expected because what you are getting on the UI is not the model prediction but the label yet when you hit the endpoint, this is the real prediction score of the model. Since those are machine learned models there is still percentage error on the training data. I will change the UI to show the confidence in case of labeled data because it’s always confusing to the users.

Thank you Carol for your reply & help.
There is one confusion that LUIS UI may not show the actual prediction( Accordingly your version) but how come my end point which was working previously and not working for some time & after republish it is working. Actually we have created a BOT using MS BOT and LUIS. We have proposed it to multiple client. If this kind of experience happen it will create a bad impression. I have working experience with other NLP tools like IBM watson / LUCY they don't have that kind of issue. So, may I request you to check my LUIS app and find out is there any abnormality happening? Basically I have trained this app with 3 types of cases -

My password is not working , 2. My internet is not working & 3. I need a device with it I have other Intent like Hi, Hello , No, Yes, bye bye that kind of intent.

@CarolHanna can you comment or close as appropriate?  thanks!

i have the same error...did you resolve it ?

same issue here


Money is sent/requested multiple times if the enter key is pressed multiple times reported by @adeel0202

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Actions Performed:

Go to any chat
Click on the plus icon
Click Send money or Request Money
Enter any amount
Click Next
Press enter key multiple times

Expected Result:
Money is sent only once
Actual Result:
Money is sent multiple times
Workaround:
unknown
Platform:

Where is this issue occurring?

Web
Desktop App
Mobile Web
iOS
Android (should be reproducible, right now it's crashing in the latest build which is a kI)

Version Number: 1.2.27-3
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:
https://user-images.githubusercontent.com/43996225/201730915-2bfd3b1f-8e65-4290-bf28-0151ad0a578a.mov
https://user-images.githubusercontent.com/43996225/201730938-ef44e1a4-8ef5-42f9-95ee-f9c3ae4383a7.mp4
Expensify/Expensify Issue URL:
Issue reported by: @adeel0202
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1668413790082549
View all open jobs on GitHub

Proposal
The issue is also reproducible while splitting bill or requesting money
To fix this we can show a loader at button like this
                    ? (
                        <SettlementButton
                            isDisabled={shouldDisableButton}
                            onPress={this.confirm}
                            shouldShowPaypal={Boolean(recipient.payPalMeAddress)}
                            enablePaymentsRoute={ROUTES.IOU_SEND_ENABLE_PAYMENTS}
                            addBankAccountRoute={ROUTES.IOU_SEND_ADD_BANK_ACCOUNT}
                            addDebitCardRoute={ROUTES.IOU_SEND_ADD_DEBIT_CARD}
                            currency={this.props.iou.selectedCurrencyCode}
+                           isLoading={this.props.iou.loading}
                        />
                    ) : (
                        <ButtonWithMenu
+                           isLoading={this.props.iou.loading}
                            isDisabled={shouldDisableButton}
                            onPress={(_event, value) => this.confirm(value)}
                            options={this.splitOrRequestOptions}
                        />
                    )}

https://github.com/Expensify/App/blob/c55d5e44eed2fb6216209458c1572cb8719f3740/src/components/IOUConfirmationList.js#L301-L312

Adding external label

@Beamanator , can you confirm this can be worked on by an external engineer?
@aimane-chnaif - take a look at Puneet's proposal when you have a chance. Thank you!

Proposal

add debounce/throttle to onPress event using lodash

Cause

because of render lag, the javascript code cant keep up with native events

@Puneet-here proposal will help but It can still be replicated if the QA use their magic fingers since react state render is asynchronous
This can be fully solved with debounce/throttle on client + loader + backend limit

@miljakljajic Yep I agree this should be able to be worked externally 👍

@aimane-chnaif heres the diff's

we create debounce/throttle func instance upon creation of the page
I chose throttle here because the debounce spawns a timer while throttle will just use timestamp
the 800ms throttle time will give the component enough time to render loading and disabled button property changes which prevents any succeeding press

throttle reference
diff --git a/src/components/IOUConfirmationList.js b/src/components/IOUConfirmationList.js
index 4f4eb415e..d7f81de40 100755
--- a/src/components/IOUConfirmationList.js
+++ b/src/components/IOUConfirmationList.js
@@ -118,6 +118,7 @@ class IOUConfirmationList extends Component {

         this.toggleOption = this.toggleOption.bind(this);
         this.confirm = this.confirm.bind(this);
+        this.confirmThrottle = _.throttle(this.confirm, 800, {leading: true, trailing: false});
     }

     /**
@@ -273,7 +274,7 @@ class IOUConfirmationList extends Component {
     render() {
         const selectedParticipants = this.getSelectedParticipants();
         const shouldShowSettlementButton = this.props.iouType === CONST.IOU.IOU_TYPE.SEND;
-        const shouldDisableButton = selectedParticipants.length === 0;
+        const shouldDisableButton = selectedParticipants.length === 0 || this.props.iou.loading;
         const recipient = this.state.participants[0];
         const canModifyParticipants = !this.props.isIOUAttachedToExistingChatReport && this.props.hasMultipleParticipants;

@@ -282,7 +283,7 @@ class IOUConfirmationList extends Component {
                 sections={this.getSections()}
                 value={this.props.comment}
                 onSelectRow={canModifyParticipants ? this.toggleOption : undefined}
-                onConfirmSelection={this.confirm}
+                onConfirmSelection={this.confirmThrottle}
                 onChangeText={this.props.onUpdateComment}
                 textInputLabel={this.props.translate('iOUConfirmationList.whatsItFor')}
                 placeholderText={this.props.translate('common.optional')}
@@ -300,18 +301,20 @@ class IOUConfirmationList extends Component {
                     ? (
                         <SettlementButton
                             isDisabled={shouldDisableButton}
-                            onPress={this.confirm}
+                            onPress={this.confirmThrottle}
                             shouldShowPaypal={Boolean(recipient.payPalMeAddress)}
                             enablePaymentsRoute={ROUTES.IOU_SEND_ENABLE_PAYMENTS}
                             addBankAccountRoute={ROUTES.IOU_SEND_ADD_BANK_ACCOUNT}
                             addDebitCardRoute={ROUTES.IOU_SEND_ADD_DEBIT_CARD}
                             currency={this.props.iou.selectedCurrencyCode}
+                            isLoading={this.props.iou.loading}
                         />
                     ) : (
                         <ButtonWithMenu
                             isDisabled={shouldDisableButton}
-                            onPress={(_event, value) => this.confirm(value)}
+                            onPress={(_event, value) => this.confirmThrottle(value)}
                             options={this.splitOrRequestOptions}
+                            isLoading={this.props.iou.loading}
                         />
                     )}
             />

why does our API and Auth allow this? This should be fixed at every level of the stack not just in JS.

going to take this over and investigate it a bit more since I suspect we need to update the API and Auth.

sorry haven't had a chance to dig into this yet, been focused on the Upwork Integration auth command and had a bunch of ring1/IFR chores last week. Will get started on this tomorrow at the latest

oooh I see where my misunderstanding was... this is manually sending money to another user not paying an existing IOU (I though it was the latter).
While digging in here it looks like these commands have yet to be updated to use the Optimistic patterns for Offline usagehttps://github.com/Expensify/App/blob/3cf717412cf6b03357184bf057921cf658ff158d/src/libs/actions/IOU.js#L687-L689
so I went digging to see what was up with that and I see we have this issue for tracking those refactors https://github.com/Expensify/Expensify/issues/213712
and this PR from @youssef-lr https://github.com/Expensify/App/pull/12739/ which is going to drastically change how this functions.
So I think we should just include a fix in that PR or at the very least wait until that is merged and re-test this.
Ultimately I don't agree that we should throttle/debounce here the press/click events: that just delays the possibility of this happening it doesn't prevent it.
I think the problem is:
It seems the button that submits the request and calls the API still has focus or is able to be triggered for whatever reason so that's why clicking enter triggers new requests, since the modal has been removed from the page we shouldn't allow it to be triggered again.

@bondydaa Hi, my proposal solves the problem you mentioned. I used throttle func to limit the action once per 800ms, not delay it. It takes the first action then ignore the rest for 800ms. I used a mouse clicker macro to test this. I agree that this needs to be handled in api but an additional protection in client would be nice too.

In the related PR from @youssef-lr, this issue is no longer reproducible. Based on that, we should either put this issue on hold and double confirm when the related PR is merged, or we should close.

Closing!

I agree with that.

threw a hold on here and dropped it to weekly but honestly this should just be closed - the PR is completely changing how this functions and doesn't wait for a response since it's made optimistically so the UI should have nothing to wait on and therefore no opportunity for the same request to be made multiple times.
Even if something like this is still present we will not implement a debounce to fix it, deboucing should only be used with user input like typing/entering text that would automatically submit a form. Here's what Tim has laid out as reasons for a debounce (internal Expensify Slack link sorry https://expensify.slack.com/archives/C03TQ48KC/p1668007475845529?thread_ts=1667971989.964359&cid=C03TQ48KC)

With the current proposal what happens if the request takes longer than 800 miliseconds? then this is still possible - so that is not a fix it's just pushing the bug off until later so the proper fix is using Optimistic requests which is what the PR we are holding on is doing.

I disagree with the points here, this will just establish a thinking of limited use for throttle/debounce and just ignore the asynchronous nature of react state and navigation. No matter how hard you optimize it, there will always still be lag and you cant expect the user's device to be fast. What I think is the reason enough to merit the use of throttle/debounce is if it is doing an expensive action, only once per process and it was reported as a bug for multiple trigger.
It doesnt matter if the request took longer than 800ms, it will still work. The 800ms here is just the allotment for the time the state changes from not loading to loading state which is more than enough. After that, the loading state will disable the button and will prevent any subsequent actions

👋 That PR is on prod now, so @miljakljajic @bondydaa this can be re-tested. FWIW, I gave it a go on Web Chrome v1.2.41-1 and can't reproduce it.

P.s - that's one my kittens enjoying seeing snow for the first time :cat:

@aimane-chnaif can you try requesting money as well?

Yeah I can reproduce on iOS as well, and in the request money flow as well.

it's unclear to me in those videos what is being pressed/tapped that is triggering the multiple requests.

This solution worked for me, but I'm not sure we would want to go with it. What do you think @bondydaa? Linting is also complaining I can't use then inside a view and logic should be moved to the action.

Forgot to include the change from here.

Hi, is my proposal not valid anymore? I also used isLoading state but with throttle function. I still dont know why debounce sounds bad to you guys, if the debounce delays the action then it is bad, I agree with it but my proposal is using throttle function which doesnt delay any action, it just limits it. I still insist that the throttle may be necessary. I understand that it is not a fix and it just workaround but it works and the code changes is not that bad/big. I appreciate it if you guys can explain why it is bad. Also you would want to put a debounce/throttle action in component level  if you would go to that route because if you put it on api, that will restrict the api and you will be more likely to create another api for the same feature

Hi @Emz27 - We haven't settled on any solution yet. If we can't come up with a better solution we will probably resort to using a debounce or throttle function.

Here's an alternative solution, considering that the IOUModal component is mounted everytime we open the IOU modal, we can rely on the component's state to tell us if a transaction has been submitted, this should work for both requesting and sending money. Here's a diff:
diff --git a/src/pages/iou/IOUModal.js b/src/pages/iou/IOUModal.js
index 2f9bb14530..d3cad4f7f5 100755
--- a/src/pages/iou/IOUModal.js
+++ b/src/pages/iou/IOUModal.js
@@ -131,6 +131,7 @@ class IOUModal extends Component {
             // amount is currency in decimal format
             amount: '',
             comment: '',
+            isTransactionDone: false,
         };

         // Skip IOUParticipants step if participants are passed in
@@ -282,6 +283,9 @@ class IOUModal extends Component {
      * @param {String} paymentMethodType
      */
     sendMoney(paymentMethodType) {
+        if (this.state.isTransactionDone) {
+            return;
+        }
         const amount = Math.round(this.state.amount * 100);
         const currency = this.props.iou.selectedCurrencyCode;
         const comment = this.state.comment;
@@ -296,7 +300,6 @@ class IOUModal extends Component {
                 this.props.currentUserPersonalDetails.login,
                 participant,
             );
-            return;
         }

         if (paymentMethodType === CONST.IOU.PAYMENT_TYPE.PAYPAL_ME) {
@@ -309,12 +312,16 @@ class IOUModal extends Component {
                 participant,
             );
         }
+        this.setState({isTransactionDone: true});
     }

     /**
      * @param {Array} selectedParticipants
      */
     createTransaction(selectedParticipants) {
+        if (this.state.isTransactionDone) {
+            return;
+        }
         const reportID = lodashGet(this.props, 'route.params.reportID', '');

         // IOUs created from a group report will have a reportID param in the route.
@@ -349,6 +356,8 @@ class IOUModal extends Component {
             this.props.currentUserPersonalDetails.login,
             selectedParticipants[0],
             this.state.comment);
+
+        this.setState({isTransactionDone: true});
     }

     renderHeader() {

I'm curious what you guys think about this.

I'm not sure about setting a property in the class itself...can you try this diff on the HT account?
-                                                onConfirm={this.createTransaction}
-                                                onSendMoney={this.sendMoney}
+                                                onConfirm={(selectedParticipants) => {
+                                                    if (this.state.isTransactionDone) { return; }
+                                                    this.setState({isTransactionDone: true});
+                                                    this.createTransaction(selectedParticipants);
+                                                }}
+                                                onSendMoney={(paymentMethodType) => {
+                                                    if (this.state.isTransactionDone) { return; }
+                                                    this.setState({isTransactionDone: true});
+                                                    this.sendMoney(paymentMethodType);
+                                                }}

(this.setState solution proposed https://github.com/Expensify/App/issues/12714#issuecomment-1357108728 still doesn't work (when test with HT account or app becomes heavy or when tap with multiple fingers simultaneously) because of render lag explained https://github.com/Expensify/App/issues/12714#issuecomment-1315726590

I think it's because I'm setting that value to true only after requesting or sending money, if the call happens before as in this diff I don't think the issue will still occur:
-                                                onConfirm={this.createTransaction}
-                                                onSendMoney={this.sendMoney}
+                                                onConfirm={(selectedParticipants) => {
+                                                    if (this.state.isTransactionDone) { return; }
+                                                    this.setState({isTransactionDone: true});
+                                                    this.createTransaction(selectedParticipants);
+                                                }}
+                                                onSendMoney={(paymentMethodType) => {
+                                                    if (this.state.isTransactionDone) { return; }
+                                                    this.setState({isTransactionDone: true});
+                                                    this.sendMoney(paymentMethodType);
+                                                }}

But you bring up an interesting point, the use of state here maybe overkill because we don't render anything based on this condition. So we might be better off setting a property in the class itself.

Apologies, @aimane-chnaif. I will make the relevant payments today.

Contracts extended @adeel0202 @0xmiroslav @aimane-chnaif

That's no problem, thank you for accepting the contract. I've paid you now and I'll end the contract.

@aimane-chnaif once you accept the offer we can close this out. Thank you!

Confirmed! Sent offer including timeline bonus.

@aimane-chnaif if you accept the offer I can pay you and get this closed out!

Paid and incorrect offers withdrawn, thank you @aimane-chnaif.

Apol

Paid, contract ended - closing out again.


nixpkgs spyder - ERROR: Could not find a version that satisfies the requirement parso==0.7.0 (from spyder==4.1.4) (from versions: none)

Describe the bug
A clear and concise description of what the bug is.
/build/spyder-4.1.4/dist /build/spyder-4.1.4
Processing ./spyder-4.1.4-py3-none-any.whl
Requirement already satisfied: python-language-server[all]<1.0.0,>=0.34.0 in /nix/store/h2rprwgrqdglxzw4fadhb3rv0p21lpyq-python3.8-python-language-server-0.34.1/lib/python3.8/site-packages (from spyder==4.1.4) (0.34.1)
Requirement already satisfied: diff-match-patch>=20181111 in /nix/store/sbd22vvkhxz14dh90hxz171fwwk562zb-python3.8-diff-match-patch-20200713/lib/python3.8/site-packages (from spyder==4.1.4) (20200713)
Requirement already satisfied: pyxdg>=0.26; platform_system == "Linux" in /nix/store/cmkq3ph00p3dpxqhcr9110nl1zb61v3b-python3.8-pyxdg-0.26/lib/python3.8/site-packages (from spyder==4.1.4) (0.26)
Requirement already satisfied: sphinx>=0.6.6 in /nix/store/w9y09f8kph76l1jw6vnqsafkphzir310-python3.8-sphinx-3.0.3/lib/python3.8/site-packages (from spyder==4.1.4) (3.0.3)
Requirement already satisfied: pygments>=2.0 in /nix/store/k7nfysq91j7fflkk99jfp1nbibl22lza-python3.8-Pygments-2.6.1/lib/python3.8/site-packages (from spyder==4.1.4) (2.6.1)
Requirement already satisfied: pickleshare>=0.4 in /nix/store/2qrgb7l8jc288dsx779iw7kb47x54dmd-python3.8-pickleshare-0.7.5/lib/python3.8/site-packages (from spyder==4.1.4) (0.7.5)
Requirement already satisfied: qtawesome>=0.5.7 in /nix/store/kmgxcib5jqxi1bxgxnq6i17zbhfv8sxq-python3.8-QtAwesome-0.7.2/lib/python3.8/site-packages (from spyder==4.1.4) (0.7.2)
Requirement already satisfied: chardet>=2.0.0 in /nix/store/b89babrahxcn4r320viqhjvp07sa339l-python3.8-chardet-3.0.4/lib/python3.8/site-packages (from spyder==4.1.4) (3.0.4)
Requirement already satisfied: pylint>=1.0 in /nix/store/dfvlfqsar1xxr38fzxjm237g8c6bbdq8-python3.8-pylint-2.5.3/lib/python3.8/site-packages (from spyder==4.1.4) (2.5.3)
Requirement already satisfied: cloudpickle>=0.5.0 in /nix/store/1f9sslkqv5lyi08ysb19ba0zp3dkv9n0-python3.8-cloudpickle-1.5.0/lib/python3.8/site-packages (from spyder==4.1.4) (1.5.0)
Requirement already satisfied: qtconsole>=4.6.0 in /nix/store/ab4iisn29ihdqfzrkqg0lxy5cclin079-python3.8-qtconsole-4.7.6/lib/python3.8/site-packages (from spyder==4.1.4) (4.7.6)
Requirement already satisfied: atomicwrites>=1.2.0 in /nix/store/i8jna32iahdf0nss291q9g9c6lvaljfx-python3.8-atomicwrites-1.4.0/lib/python3.8/site-packages (from spyder==4.1.4) (1.4.0)
Requirement already satisfied: pyqt5; python_version >= "3" in /nix/store/bzqj563g50wws2f4jg8aspjpqvqrwd2a-python3.8-PyQt5-5.14.2/lib/python3.8/site-packages (from spyder==4.1.4) (5.14.2)
Requirement already satisfied: numpydoc>=0.6.0 in /nix/store/5kqr1aqw89bwwrv5sja6ip14i6jbjlni-python3.8-numpydoc-1.1.0/lib/python3.8/site-packages (from spyder==4.1.4) (1.1.0)
Requirement already satisfied: pexpect>=4.4.0 in /nix/store/hvxf589a3msrdvdii8x02b4scb3a3v6g-python3.8-pexpect-4.8.0/lib/python3.8/site-packages (from spyder==4.1.4) (4.8.0)
Requirement already satisfied: watchdog in /nix/store/kzyg18c3j7kjbi3sbshd957m710djfg3-python3.8-watchdog-0.10.3/lib/python3.8/site-packages (from spyder==4.1.4) (0.10.3)
ERROR: Could not find a version that satisfies the requirement parso==0.7.0 (from spyder==4.1.4) (from versions: none)
ERROR: No matching distribution found for parso==0.7.0 (from spyder==4.1.4)
builder for '/nix/store/rl5zli8wikd3wy6mrak2s3kif734pd6p-python3.8-spyder-4.1.4.drv' failed with exit code 1
error: build of '/nix/store/rl5zli8wikd3wy6mrak2s3kif734pd6p-python3.8-spyder-4.1.4.drv' failed

the version parso==0.7.0 does not exist in nixpkgs/20.09/20.03
To Reproduce
nix-env -iA nixpkgs.sypder
Expected behavior
should install spyder
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.
Notify maintainers

@gebner
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
 - system: `"x86_64-linux"`
 - host os: `Linux 5.8.9, NixOS, 20.03.2652.076c67fdea6 (Markhor)`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.3.6`
 - channels(ae): `"OsUnstable-21.03pre243854.2a14d21224f, NxUnstable-21.03pre243968.2a35f664394, home-manager-20.03, nixos-20.03.3002.773ef5ae783"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute:
# a list of nixos modules affected by the problem
module:

Works just fine here, both on master and the 20.09 channel:
nix build -f channel:nixos-20.09 spyder

Your channels (in the nix-info output) look pretty non-standard.
Anyhow, please update the channels, they are two weeks out-of-date.

FYI: the channels are standard (only the naming is adjusted to unstables) [nixpkgs is not clear naming compared to nixos-unstable]

how would you integrate  kite into spyder (like the second popup is suggesting)?

when opening spyder3, it shows
kf5.kservice.services: The desktop entry file "/run/current-system/sw/share/applications/qemu.desktop" has Type= "Application" but no Exec line
kf5.kservice.sycoca: Invalid Service :  "/run/current-system/sw/share/applications/qemu.desktop"

in the app it pops up
You have missing dependencies!

# Mandatory:
jedi =0.17.1 : 0.17.2 (NOK)
parso =0.7.0 : 0.8.0 (NOK)

Please install them to avoid this message.

Note: Spyder could work without some of these dependencies, however to have a smooth experience when using Spyder we strongly recommend you to install all the listed missing dependencies.

Failing to install these dependencies might result in bugs. Please be sure that any found bugs are not the direct result of missing dependencies, prior to reporting a new issue.

Ah, the popup shouldn't be there (and it has nothing to do with kite).  We shouldn't have overridden the parso and jedi versions in #98407.

thanks for the info
i didn't relate the error and kite but I would be interested if you already integrated kite in spyder?

[nix-shell:~/share_VM]$ python
bash: /nix/store/bs03sg8b0gq2zr4v252hh9psp780qj5q-python3-3.8.5/bin/python: Argument list too long
bash: /nix/store/kn11223r7pi8fh9pvwj2y7kbc2wncc3h-direnv-2.21.2-bin/bin/direnv: Argument list too long

it comes when I mix pkgs channels
nixPkgs_spyder = import (builtins.fetchGit {
      name = "nixpkgs-unstable_spyder";

      url = "https://github.com/nixos/nixpkgs-channels.git";
      ref = "refs/heads/nixpkgs-unstable";
      rev = "502845c3e31ef3de0e424f3fcb09217df2ce6df6"; #  "date": "2020-09-26T09:12:52+02:00",
  }) { config= { allowUnfree = true;  };  };

nixPkgs_spyder-spyder

and it crashes


Reveal overlays don't have inertia scrolling on iOS

How to reproduce this bug:

Create a reveal overlay with more content than will fit on screen
Visit page on iOS device
Overlay scrolls but lacks inertia

What should happen:
What happened instead:
Browser(s) and Device(s) tested on:
iOS safari
Foundation Version(s) you are using:
6.4.3
Test case link:
This can be fixed with
overflow-y: scroll; /* has to be scroll, not auto */   -webkit-overflow-scrolling: touch;
Should this be added by default to the reveal component?

Should we close this as duplicate and tackle all at once?

@DanielRuf yes let's close this one and keep the discussion over at #10781.


Local server Sample to allow packages to be changed

https://devtopia.esri.com/runtime/java-se-sdk/issues/993
@john0005 Please review.

Added a button to select a package file from the system.

@tyle8552 I have addressed your feedback.

Looks good 👍


Modified export.py to add the ability to export fp16 weights.

Added a --version 3 to the parameters that is like legacy_export but exports data in fp16 format.
Warning! needs test. I have too little memory (64GB are needed for a 7B parameters model and I couldn't find a smaller one)

I am against creating a new version. It should export to existing versions, but choosing the output format (fp32, fp16, int8...)
Current code still expect the freq_cis to be there in the final file
I also think you mean 64 GB instead of MB. BTW this OOM problem is tracked on #341

It will be the "legacy version" but with f16 weights.
Because of how export.py works, you need to give a version number to it.
We might change the command line parameters of exchange, but this should be the topic of another PR, I guess.

Just tought another way but I don't like it very much: use the extension of the output file to determine the fp32/fp16 size.
For example:
python export.py --hf mrm8488/llama-2-coder-7b llama-2-coder-7b.f16

could signal --version 0 (the default) but with weights in fp16 format.  The code would be a little bit uglier but if this could serve to avoid confusion ...

Why your serialize_half is not named serialize_fp16 to be similar with the existing serialize_fp32?
Why your function is not together with the other 2 in the beginning of the file?

My attempt is at #347

About the half, is to stay consistent with the torch.half in the code. I liked it better (I ad fp16 initially).
for the position, I don't like to disrupt existing code (unless for something so minimal) and just added at the end of the block. But in this case I agree I should have put it earlier, together with the other two.


Make create config a command with -Y option

Is your feature request related to a problem? Please describe.
Hello! I see good potential in a CI environment for the bubblewrap CLI. The loadOrCreateConfig is really amazing to have a repeatable JDK and android SDK installation on different kind of CI runners.
The only thing preventing it from being perfect is how it is invoked and the need for interactive outputs.
Describe the solution you'd like

createConfig becomes available as a command
adding a -y option automatically accepts all prompts (making easier to install all bubblewrap dependencies in CI without having to meddle in downloading manually the JDK for the runners)
loadOrCreateConfig is not called automatically on each command, instead if no config is found commands error out asking user to run the new command.

Describe alternatives you've considered
I have a working hackish alternative. I spam the unix yes command and send standard output to /dev/null to avoid an unreadable CI output. looks like this paired with a doctor command:
yes | yarn workspace @auco/web bubblewrap:doctor &> /dev/null

Additional context
I would totally be open to submit a PR with tests if ever maintainers are open to the approach

If I understood correctly, the request is to have a -y flag that automatically accepts all prompts and installs the JDK and Android SDK. I don't think this route is possible as we need to display the license to the users and they need to accept it explicitly. @joycetoh8 may know more.
Are you trying to configure something that configures the JDK / Android SDK at every run? Do you have more context on why that's the case? Otherwise, it should be possible to configure those once in the CI environment and run the build frequently.
I think @nohe427 was looking into Docker containers as another approach to this.
I think @nohe427 was looking into Docker containers, which could be an alternative to this.


GSF IEF Sprint Retro 2023-12-01

Time 12:00 Friday 1st Dec 2023
Roll Call
@jmcook1186 @narekhovhannisyan @Sophietn attended.
Overall Feelings
Google Jamboard :

Actions:

determine when in the week we expect to do our allocated hours

get tickets refined and closer to READY in advance of sprint planning meeting

make sure tasks are better prioritized (maybe labels)

consider adding a refinement session or async process

try to sync with @jawache in advance of sprint planning to help prioritization

integrate the if-docs, if-models and if-unofficial-models into Slack

[x] Actions arising from retro are tickets on project board

Board
Let's check the kanban and see how we did on the sprint targets.
Overall good, got the main things done by end of sprint but not quite by sprint retro.

Closing as completed


Add Leaflet.editable type definition.

leaflet-editable/leaflet-editable.d.ts
check list

[ ] is collect naming convention?

https://www.npmjs.com/package/leaflet-editable
http://bower.io/search/?q=leaflet-editable
others?

[X] has a test file? (leaflet-editable/leaflet-editable-tests.ts or others)
[ ] pass the Travis-CI test?

thanks mate!


Enable frontend preview in Remix

Q
A

Branch?
feature/frontend-preview

Bug fix?
no

New feature?
yes

BC breaks?
no

I've only touch files inside remix folder, don't know why it's showing changes on other folders.... 🤔


fix: enable total time by default when server-timing is enabled

Types of changes

[ ] Bug fix (a non-breaking change which fixes an issue)
[ ] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description

Resolves https://github.com/nuxt/nuxt.js/pull/4800#issuecomment-527760906
Checklist:

[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly. (PR: #)
[ ] I have added tests to cover my changes (if not applicable, please state why)
[ ] All new and existing tests are passing.

Codecov Report

Merging #6371 into dev will decrease coverage by 44.85%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##              dev    #6371       +/-   ##
===========================================
- Coverage   95.74%   50.89%   -44.86%
===========================================
  Files          79       79
  Lines        2681     2684        +3
  Branches      692      693        +1
===========================================
- Hits         2567     1366     -1201
- Misses         98     1014      +916
- Partials       16      304      +288

Flag
Coverage Δ

#e2e
?

#fixtures
50.89% <100%> (+0.05%)
:arrow_up:

#unit
?

Impacted Files
Coverage Δ

packages/config/src/options.js
77.35% <100%> (-22.65%)
:arrow_down:

packages/generator/src/generator.js
0% <0%> (-100%)
:arrow_down:

packages/cli/src/index.js
0% <0%> (-100%)
:arrow_down:

packages/cli/src/options/server.js
0% <0%> (-100%)
:arrow_down:

packages/cli/src/utils/banner.js
0% <0%> (-100%)
:arrow_down:

packages/cli/src/run.js
0% <0%> (-100%)
:arrow_down:

packages/cli/src/commands/start.js
0% <0%> (-100%)
:arrow_down:

packages/cli/src/options/common.js
0% <0%> (-100%)
:arrow_down:

packages/cli/src/utils/constants.js
0% <0%> (-100%)
:arrow_down:

packages/cli/src/setup.js
0% <0%> (-100%)
:arrow_down:

... and 44 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 376b2b0...219081e. Read the comment docs.


Revert of #2988. TextMesh Pro files are not auto managed

Unlike other packages, TextMesh Pro is not entirely managed by Unity's new Package Manager, and still imports some assets directly into the project. Removing these files can cause issues when using Unity's Cloub Build service (which can utilise git to build your project).
The Package Manager guide for TextMesh Pro also states that these files are required.
You can also find the conversation on the original PR #2988

@heatblayze thanks!


[CleanShot X] New command: Open settings

Extension
https://www.raycast.com/Aayush9029/cleanshotx
Description
I'd like to open CleanShot preferences from Raycast
Who will benefit from this feature?
No response
Anything else?
No response

Right now it's not possible, but we will add this action to the URL scheme API in the upcoming CleanShot 4.7 update. Then it will be possible to add this to Raycast!

Right now it's not possible, but we will add this action to the URL scheme API in the upcoming CleanShot 4.7 update. Then it will be possible to add this to Raycast!

thanks, Lukas!

keep open; CleanShot version 4.7 hasn't been released yet

Hey! We've released the 4.7 update today, that includes the the new /open-settings API. Here are the docs: https://cleanshot.com/docs-api#open-settings

Hey! We've released the 4.7 update today, that includes the the new /open-settings API. Here are the docs: https://cleanshot.com/docs-api#open-settings

awesome!
also, what if we include the View all uploads command, too? could be as simple as a link to https://cleanshot.cloud.
happy to handle it!


Forward port 6 to 7

➡ Forward port
Port ign-gazebo6 to gz-sim7
Branch comparison: https://github.com/gazebosim/gz-sim/compare/gz-sim7...ign-gazebo6
I think there might be some files in include/ignition/gazebo that should be removed.
Also, I would like to get #2011 in before this pr.
Note to maintainers: Remember to Merge with commit (not squash-merge or rebase)

@osrf-jenkins retest this please


Error when two peripherals enter connect function.

I am seeing a problem when attempt connect to two devices which picked up by a scan
at the same time.  Most if the time I see the failure below, but occasionally it will all work, but not very often.
There appears to be a race condition, at bind and connect time as seen in the trace.
pi@raspberrypi ~/src/example1 $ sudo DEBUG=* node example.js
  hci-ble hciBle = /home/pi/src/node_modules/noble/lib/linux/../../build/Release/hci-ble +0ms
  noble scanStart +0ms
  hci-ble buffer = "adapterState poweredOn\n" +620ms
  hci-ble line = adapterState poweredOn +3ms
  hci-ble adapterState = poweredOn +11ms
  noble stateChange poweredOn +141ms
  hci-ble buffer = "event D4:84:95:91:4A:43,random,130950696c73794465766963655f39313441343303190000020106,-59\n" +144ms
  hci-ble line = event D4:84:95:91:4A:43,random,130950696c73794465766963655f39313441343303190000020106,-59 +5ms
  hci-ble address = D4:84:95:91:4A:43 +21ms
  hci-ble addressType = random +2ms
  hci-ble eir = 130950696c73794465766963655f39313441343303190000020106 +2ms
  hci-ble rssi = -59 +5ms
  hci-ble advertisement = {"localName":"PilsyDevice_914A43","serviceData":[],"serviceUuids":[]} +73ms
  hci-ble buffer = "event D4:84:95:91:4A:43,random,05030f180a181107d6ce6fe33cbb4aa4d145ea0ed3fa0000,-59\nevent C8:F3:A6:60:F3:C5,random,130950696c73794465766963655f36304633433503190000020106,-76\nevent C8:F3:A6:60:F3:C5,random,05030f180a181107d6ce6fe33cbb4aa4d145ea0ed3fa0000,-75\n" +19ms
  hci-ble line = event D4:84:95:91:4A:43,random,05030f180a181107d6ce6fe33cbb4aa4d145ea0ed3fa0000,-59 +4ms
  hci-ble address = D4:84:95:91:4A:43 +6ms
  hci-ble addressType = random +2ms
  hci-ble eir = 05030f180a181107d6ce6fe33cbb4aa4d145ea0ed3fa0000 +2ms
  hci-ble rssi = -59 +2ms
  hci-ble advertisement = {"localName":"PilsyDevice_914A43","serviceData":[],"serviceUuids":["180f","180a","0000fad30eea45d1a44abb3ce36fced6"]} +62ms
(scan)found:PilsyDevice_914A43 - UUID: d48495914a43
  l2cap-ble D4:84:95:91:4A:43: l2capBle = /home/pi/src/node_modules/noble/lib/linux/../../build/Release/l2cap-ble +0ms
  hci-ble line = event C8:F3:A6:60:F3:C5,random,130950696c73794465766963655f36304633433503190000020106,-76 +191ms
  hci-ble address = C8:F3:A6:60:F3:C5 +3ms
  hci-ble addressType = random +2ms
  hci-ble eir = 130950696c73794465766963655f36304633433503190000020106 +2ms
  hci-ble rssi = -76 +2ms
  hci-ble advertisement = {"localName":"PilsyDevice_60F3C5","serviceData":[],"serviceUuids":[]} +7ms
  hci-ble line = event C8:F3:A6:60:F3:C5,random,05030f180a181107d6ce6fe33cbb4aa4d145ea0ed3fa0000,-75 +2ms
  hci-ble address = C8:F3:A6:60:F3:C5 +2ms
  hci-ble addressType = random +2ms
  hci-ble eir = 05030f180a181107d6ce6fe33cbb4aa4d145ea0ed3fa0000 +2ms
  hci-ble rssi = -75 +2ms
  hci-ble advertisement = {"localName":"PilsyDevice_60F3C5","serviceData":[],"serviceUuids":["180f","180a","0000fad30eea45d1a44abb3ce36fced6"]} +15ms
(scan)found:PilsyDevice_60F3C5 - UUID: c8f3a660f3c5
  l2cap-ble C8:F3:A6:60:F3:C5: l2capBle = /home/pi/src/node_modules/noble/lib/linux/../../build/Release/l2cap-ble +279ms
  l2cap-ble D4:84:95:91:4A:43: buffer = "bind success\n" +114ms
  l2cap-ble D4:84:95:91:4A:43: line = bind success +15ms
  l2cap-ble C8:F3:A6:60:F3:C5: buffer = "bind success\nconnect Transport endpoint is not connected\ndisconnect\n" +27ms
  l2cap-ble C8:F3:A6:60:F3:C5: line = bind success +24ms
  l2cap-ble C8:F3:A6:60:F3:C5: line = connect Transport endpoint is not connected +3ms
/home/pi/src/example1/example.js:23
  if (err) throw err;
                 ^
Error: Transport endpoint is not connected
    at L2capBle.onStdoutData (/home/pi/src/node_modules/noble/lib/linux/l2cap-ble.js:96:55)
    at Socket.emit (events.js:107:17)
    at readableAddChunk (_stream_readable.js:163:16)
    at Socket.Readable.push (_stream_readable.js:126:10)
    at Pipe.onread (net.js:529:20)

@foldedtoad can you please try again with the 1.1.0 release. L2CAP kernel sockets are no longer used, a HCI socket to the kernel is used instead.

Hi Sandeep,
I have search for instructions on how to install latest NoBLE on Raspberry Pi, but have not found any.
Could you point me to suitable instructions?
Thanks.

On Aug 22, 2015, at 10:47 AM, Sandeep Mistry<EMAIL_ADDRESS>wrote:
@foldedtoad https://github.com/foldedtoad can you please try again with the 1.1.0 release. L2CAP kernel sockets are no longer used, a HCI socket to the kernel is used instead.
—
Reply to this email directly or view it on GitHub https://github.com/sandeepmistry/noble/issues/234#issuecomment-133732558.

I have update to release 1.1.0, but I am now seeing the following error.
I have checked that the BLE adapter is up and available.
For example, I can do a "hcitool lesson" without problems.
The error message indicates that BLE adapter is not poweredOn.
Any idea what the problem is?
pi@raspberrypi ~/src/example1 $ sudo DEBUG=* node example.js
  hci setting filter to:<PHONE_NUMBER>c10000000000400000 +0ms
  hci set event mask - writing: 01010c08fffffbff07f8bf3d +99ms
  hci set le event mask - writing: 010120081f00000000000000 +74ms
  hci read local version - writing: 01011000 +7ms
  hci read bd addr - writing: 01091000 +16ms
noble: Could not start scanning, state is unknown (not poweredOn)
  hci onSocketData: 040e0401010c00 +282ms
  hci   event type = 4 +17ms
  hci   sub event type = 14 +3ms
  hci     cmd = 3073 +8ms
  hci     status = 0 +2ms
  hci     result =  +2ms
  hci onSocketData: 040e0401012000 +20ms
  hci   event type = 4 +8ms
  hci   sub event type = 14 +2ms
  hci     cmd = 8193 +5ms
  hci     status = 0 +2ms
  hci     result =  +2ms
  hci onSocketData: 040e0c01011000060010060f000e22 +2ms
  hci   event type = 4 +2ms
  hci   sub event type = 14 +2ms
  hci     cmd = 4097 +2ms
  hci     status = 0 +3ms
  hci     result = 060010060f000e22 +2ms
  hci set scan enabled - writing: 010c20020001 +16ms
  hci set scan parameters - writing: 010b200701100010000000 +17ms
  hci onSocketData: 040e0a0109100034b66870f35c +11ms
  hci   event type = 4 +2ms
  hci   sub event type = 14 +1ms
  hci     cmd = 4105 +2ms
  hci     status = 0 +21ms
  hci     result = 34b66870f35c +2ms
  hci address = 5c:f3:70:68:b6:34 +20ms
  hci onSocketData: 040e04010c200c +11ms
  hci   event type = 4 +1ms
  hci   sub event type = 14 +2ms
  hci     cmd = 8204 +1ms
  hci     status = 12 +5ms
  hci     result =  +1ms
  hci onSocketData: 040e04010b2000 +21ms
  hci   event type = 4 +1ms
  hci   sub event type = 14 +2ms
  hci     cmd = 8203 +1ms
  hci     status = 0 +4ms
  hci     result =  +1ms
  noble stateChange poweredOn +3ms

My mistake.   All appears to be functioning correctly now.

Moving to Release 1.1.0 plus user app modification allows multiple device support.


Unable to create new users in distributed setup

Expected behavior and actual behavior
The "create user" command doesn't work in a distributed setup in version 2.2.2
Any time I use it, I get a distributed operation exception (screenshot: https://www.dropbox.com/s/nd9m52i8dbk7r4t/Screenshot 2016-06-15 10.51.13.png?dl=0)
It seems that the entry is created in both servers, just with a different password hash which collides. Screenshot of user creation process (redacted) https://www.dropbox.com/s/r4oywkc5gqj6lsj/Screenshot 2016-06-15 12.26.04.png?dl=0 and https://www.dropbox.com/s/2poi06z9mxxqr26/Screenshot 2016-06-15 12.26.43.png?dl=0
Strangely, if I run the command on devgro1, I can login using the credentials on the OTHER server (devgro2), but not on the server I ran the command on.
To add to the confusion, I can't use the old method of inserting into OUser either, as it seems the password encryption hook doesn't get run: https://www.dropbox.com/s/ruxes4vkop4kigb/Screenshot 2016-06-15 12.19.30.png?dl=0
This doesn't seem to work either:
INSERT INTO OUser SET name = 'grl_loader_app', password = '{PBKDF2WithHmacSHA1}D3F6F762A910E692041EA6E08F9C2B7D59C4943111B84809:2E294F86AC8EC6FEF1B909C2881EBAB6800F59A3AFA4BC61:65536', status = 'ACTIVE', roles = (SELECT FROM ORole WHERE name = 'writer')
And UPDATE OUser causes the same conflicting update as the CREATE USER
Steps to reproduce the problem
see above
Important Questions
How can I work around this?
Runninng Mode

[ ] Embedded, using PLOCAL access mode
[ ] Embedded, using MEMORY access mode
[X] Remote

Misc

[X] I have a distributed setup with multiple servers. How many? 2, "writeQuorum": "majority"
[ ] I'm using the Enterprise Edition

OrientDB Version

[ ] v2.0.x - Please specify last number:
[ ] v2.1.x - Please specify last number:
[X] v2.2.x - Please specify last number: 2.2.2

Operating System

[X] Linux  CentOS 7.1
[ ] MacOSX
[ ] Windows
[ ] Other Unix
[ ] Other, name?

Java Version

[ ] 6
[X] 7
[ ] 8

Can someone confirm if this is working for other people or if it's broken for everybody?  I'm facing a deployment soon and I need to know if we will be able to deploy this version of if we'll need to go with a 2.1.x version.

Can I get this escalated to the next 2.2.x milestone?  It really makes the 2.2.x branch unusable in any kind of large scale installation

Have you tried with 2.2.5?

I've looked through the resolved issues for 2.2.3, 2.2.4 and 2.2.5 and I didn't see anything seemingly related to this.  No, I have not tested specifically against 2.2.5

We fixed many issue with replication. Could you retest your app with 2.2.5?

Closing because no answer after a while. In case please reopen/comment this.


Switch Library for Code Highlighting Plugin

Uses highlight.js right now, prism.js looks better, used by mozilla for example and supports line numbering.

decided against that solution because prism looks a bit harder to integrate (no autodetect of languages, needs classes, not smaller than hightlight.js). Highlight some good points why line numbering does not help at all.


Segmentation fault

Hi,
When I run experiments with python train.py --task=ShadowHandOver --algo=ppo, it generates the following error:
Algorithm:  ppo
Python
Averaging factor:  0.01
Obs type: full_state
Not connected to PVD
+++ Using GPU PhysX
Physics Engine: PhysX
Physics Device: cuda:0
GPU Pipeline: enabled
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
...
Unhandled descriptor set 433
Unhandled descriptor set<PHONE_NUMBER>
Segmentation fault (core dumped)

I know this might not be an issue of the repo, but the compatibility of Nvidia gpu driver. Just to post here to see if anyone has the solution.
My test GPU is Nvidia A6000 with NVIDIA-SMI 510.85.02    Driver Version: 510.85.02    CUDA Version: 11.6

some update:
by vulkaninfo:
	Devices: count = 9
		GPU id 	: 0 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 1 (llvmpipe (LLVM 12.0.0, 256 bits))
		Layer-Device Extensions: count = 0

		GPU id 	: 2 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 3 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 4 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 5 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 6 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 7 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 8 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

some GPU (GPU id: 1) may not using nvidia driver, but llvmpipe instead. Any specification to this GPU will lead to the segmentation fault.

some update: by vulkaninfo:
	Devices: count = 9
		GPU id 	: 0 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 1 (llvmpipe (LLVM 12.0.0, 256 bits))
		Layer-Device Extensions: count = 0

		GPU id 	: 2 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 3 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 4 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 5 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 6 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 7 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

		GPU id 	: 8 (NVIDIA RTX A6000)
		Layer-Device Extensions: count = 0

some GPU (GPU id: 1) may not using nvidia driver, but llvmpipe instead. Any specification to this GPU will lead to the segmentation fault.

I also met this problem when using issacgym. So have you fixed this problem?

Hi @gemcollector ,
Isaac Gym is currently only available on nvidia GPU, you can specify the GPU (such as cuda:2) to run on by adding --rl_device=cuda:2 --sim_device=cuda:2 to the command line at startup to avoid using Isaac Gym on a GPU without a cuda driver.
Hope this can help you.

Hi @quantumiracle ,
Thank you for your sharing, this information is very valuable!

@gemcollector I just specify the device as suggested by @cypypccpy  to avoid the GPU using llvmpipe as a temporal solution.


linux-prereqs.md is missing Ubuntu 19.04 requirements

https://github.com/dotnet/core/blob/master/Documentation/linux-prereqs.md doesn't have Ubuntu 19.04 requirements listed. It also doesn't have a column for 2.2, and has a column for the now-EOL 2.0.
@leecow Is this table out of date, or is there a better place to get this information?

This is the right place - will update the doc today.

https://github.com/dotnet/core/commit/3cc9101c053a9ab319c6de5182a8448432f391ce

@leecow I notice that the requirements of libssl and openssl frequently alternate. Is there a reason for this? I've noted that openssl1.1 on 19.04 works with prebuilt binaries, and I do not have libssl-dev itself installed

Unfortunately, I don't know the details. @bartonjs?


Depreciate functions not in connection class

A question, do you think it is worth depreciating old functions in "ads.py" that are not part of the connection class or not required for linux essentially forcing people to use the Connection class. Then rewriting the documentation to clear up the usage, esspecially for connecting in linux.
I think this would help clear up the repository, make it easier to navigate and use for newcomers and means you don't have to duplicate functions. Comes at the cost of losing backwards compatibility but may be worth doing and upgrading to V4. Point older users to older releases.
Let me know what you think and I'll put in a PR.
I'm looking at adding support for structures of multiple type and it took me a little while to clock on to the duplicate functions and how they are working.

I still have a project running that relies on the old function calls and I can imagine that some others might as well. Since there is the Connection class interface I strongly recommend using this because it is much more intuitive.
I guess it can be a bit confusing having the old function calls and the "new" Connection-class interface, especially in the documentation, as you pointed out.
So it might be a good idea to get rid of the legacy functions comes a new major version.

Yes maybe for the next major version. After any other functionality is added. May be worth thinking about python2 compatibilty for that release too.
Hopefully any old projects won't be making use of any new functionality therefore can just continue to use an old version of pyads.

I'll pop in a pull request then can let you decide when/if to accept at a later time as it shouldn't create a conflict at any time if no new functionality is added to not the Connection class. Will close this issue for now.

I would like to add the deprecation warnings in the next version of pyads. Did you draft any PR for this, yet ... no pressure, just asking ;) ? Also I agree with you that it's about time to drop the py2 support for the next major version.

sorry not yet, i was working on another PR for black formatting, adding some #fmt:off and #fmt:on flags then reformatting all the source files so that it is easier tokeep to black formatting in the future. I'll pop that one in shortly. Then can do the PR for depreciation too if you want?

Oh man, so many changes...But I feel it' s a good thing to finally have all code "blacked". Thx for this. If you also would like to do the PR for depeciation you're very welcome to do so.


chore(main): release 1.2.1

:robot: I have created a release beep boop
1.2.1 (2024-10-23)
Bug Fixes

made an oopsie (8bf7883)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/sanriodev/blog.blvckleg.dev/releases/tag/v1.2.1 :sunflower:


remove useless LuosHAL dependancies

This simply clean example dependancies.

!!! WARNING : DO NOT EDIT THE CHECKLIST BELOW !!!
Checklist : Merge from DEVELOP branch
Code Quality

[x] Each function has a header (description, inputs, outputs)
[x] Code is commented (particularly in hard to understand areas)
[x] There are no new warnings that can be corrected
[x] Commits policy is respected (constitancy commits, clear commits comments)

Tests Review

[x]  Manual Tests for new features have been reviewed
[x]  Automatic Tests for new features have been reviewed

Tests are passed the best as I can

[x]  Non regression existing tests are passed OK
[x]  New tests for new features & bug fixes are passed OK

Documentation

[x] Documentation is up to date
[x] Changelog for next release is up-to-date : fill here
[x] If needed, tests are briefly described in test repository

Force merge.
CD job  has failed but it's OK : Examples projects won't compile until new Luos revision is pushed on PlatformIO registry


MAGIC WP6 HyInt and ETCCDI trend and significant testing

The HyInt namelist is exploited to calculate timeseries and trends producing output files and several types of figures based on HyInt and ETCDDI extreme events indices.
Latest version for ESMValTool v2:
https://github.com/ESMValGroup/ESMValTool/tree/fix_hyint
Namelist
https://github.com/ESMValGroup/ESMValTool/blob/fix_hyint/esmvaltool/namelists/namelist_hyint.yml
R script:
https://github.com/ESMValGroup/ESMValTool/blob/fix_hyint/esmvaltool/diag_scripts/hyint.r
Auxiliary R routines:
https://github.com/ESMValGroup/ESMValTool/tree/fix_hyint/esmvaltool/diag_scripts/aux/hyint
Wiki reference:
https://github.com/ESMValGroup/ESMValTool-private/wiki/Namelist-MAGIC_HyInt
Current status: the ESMValTool v2 script works and was tested on CMIP5 models. It needs some final refinements.
Open issues (same as WP4 metrics namelist):

regridding and model ensemble capabilities to be performed at pre-processor level
auxiliary routines to be placed following new diag_scripts structure
output file structure to be revised to be ingested by portal
the tool can/should ingest data from DLR extremeEvents namelist but that namelist is currently not working in ESMValTool2 (see related issue).

These functionalities are included into the hyint main diagnostic now mergerd.

The last point in the list has not been implemented yet, right?

the tool can/should ingest data from DLR extremeEvents namelist but that namelist is currently not working in ESMValTool2 (see related issue).

Not openly: it is all already hidden in the code and I am doing some adjustment in parallel with the extreme_events v2 in a separate branch. This involves a new  recipe_hyint_extremes with a few extra settings in the recipe_hyint and a preprocessor to merge climdex data into the hyint files. Then everything else works exactly the same.  I prefer to open a separate issue/pull request for that shortly.


Latest vpkedit version doesn't run, only 4.2.0 and less works

Describe the Bug
So basically the title. The vpkedit latest version doesn't run at all, not even for a second and only versions that are 4.2.0 and less work. I use windows 10 22H2.
To Reproduce

Install VPKEdit 4.2.1
Run VPKEdit
Doesn't open

Operating System
Windows 10 22H2

I'll look into this right away

I'll look into this right away

Alright

Releated to vpkedit.exe, don't know why i specified it since i think it's kind of obvious and it feels kinda weird to say it but it may help. That's because i've got the standalone download of 4.2.1 and replaced all of the files of 4.2.0 until i got to vpkedit.exe and when i replaced the vpkedit.exe it stopped working.

Maybe you're missing VC Redist? (https://aka.ms/vs/17/release/vc_redist.x64.exe)

I can't reproduce this either, I have a suspicion it's related to a change I made to a third-party library. Did you by chance have Steam installed and later uninstalled it, or installed Steam but had Steam closed when opening VPKEdit?

I can't reproduce this either, I have a suspicion it's related to a change I made to a third-party library. Did you by chance have Steam installed and later uninstalled it, or installed Steam but had Steam closed when opening VPKEdit?

I use 7launcher (a counter-strike: source launcher) to play the game. And yes i had steam at some point but i uninstalled it since most of the time i download it temporarily to play a game and then uninstall it. I will try to install steam. put the counter-strike: source executable file into steam (you can do it since there's a function to put non steam games on steam on your library and it actually adds counter-strike: source (steam version) in your library but it shows something like "buy" instead of run). But this also happens when i don't use 7launcher.

Someone said to install vc redist so i will try

I can't install steam rn (it's night for me) so i will do it tommorow and share my results.

Try this standalone build:
VPKEdit-Windows-Standalone-GUI-msvc-Release.zip

Already have vc redist installed

Try this standalone build: VPKEdit-Windows-Standalone-GUI-msvc-Release.zip

Doesn't work

Read my other comments for a little bit more context if you haven't done it already

That was fast. I'll keep working on the Steam detection reliability

That was fast. I'll keep working on the Steam detection reliability

Alright. Is that something releated to vpkedit or something else, just curious.

Maybe i can install steam but without installing counter-strike: source, will try

I used to use this library directly, I recently switched to a custom fork to add some features I wanted, and I rewrote part of the Steam detection code. Seems like I introduced a bug or two

I used to use this library directly, I recently switched to a custom fork to add some features I wanted, and I rewrote part of the Steam detection code. Seems like I introduced a bug or two

"Steam detection code" Mhmmmmm, kinda implies that i have to install steam, will tell you the results. I don't know if it's exactly what i think but who knows, might fix the problem and save you time.

I think I've identified the problem, and you won't need Steam installed to use this program, don't worry

I think I've identified the problem, and you won't need Steam installed to use this program, don't worry

Alright, what's the problem then? I know you said "i think" but just curious to what you indentified

From the vpkedit discord channel:

shoutout to bt for debugging this

From the vpkedit discord channel:
shoutout to bt for debugging this

Makes sense. If you fixed it then tell me.

Yep it's releated to steam and so the thing that bt debugged.

Perfect, sorry for the trouble
I'll push a hotfix release soon

Perfect, sorry for the trouble
I'll push a hotfix release soon

Alright


Small changes:

Fixes void pointer arithmetic issue
use memcmp instead of byte compare
check rv of fread
Does input checking berfore freeing in close_elf.

Thanks :+1:


Button to clear all items at once

It would be nice to have the possibility to clear all selected items at once.
Maybe the clear button of the internal combobox could be used? The ChipCombobox could be listening to the valueChange-Event of the internal combobox and react to an selected null-value (vaadin default to reset a component)
Otherwise an separate clear button would be nice.

I think we should first collect some implementation ideas:
Maybe use a Trash icon when >=1 chip is "selected"/shown:

I have collected some ideas where to place the trash icon.

Next to the ComboBox

Next to the chips. The problem here is that when the chips wrap, the last chip has a larger distance to the trash icon. This needs to be fixed separately.

Directly behind the last chip.

In my opinion the first option would be the best one:

The trash can is fixed -> No movement, user can click always the same spot
No problems with breaking components, etc

I think we should implement that.

I will implement the above mentioned features.


Client becomes unresponsive when retrieving deleted file

If the client is downloading a large file that is deleted during the chunk downloads, the application will become unresponsive. Browsing through the kumo folders also stops working.
I've tested with:

PDF in Acrobat (97mb)
MP4 in Windows Media Player (50mb)
PDF in Acrobat (5mb) - I deleted the file from Box as soon as I clicked "Open in Acrobat". This caused the entire file system to become unresponsive.

This was fixed for 3.3.0beta-1


azd pipeline config -  Insufficient privileges to complete the operation

Describe the issue:
azd pipeline config test fail.
The failure error is as follows:

Repro steps:
1.Run command azd up
2.Run command azd pipeline config
Environment:

OS : Linux desktop
Template: todo-nodejs-mongo, todo-csharp-cosmos-sql , todo-nodejs-mongo-swa-func,  todo-python-mongo, todo-python-mongo-swa-func

OS : CodeSpace
Template: todo-csharp-cosmos-sql, todo-nodejs-mongo, todo-nodejs-mongo-aca, todo-nodejs-mongo-swa-func,
todo-python-mongo, todo-python-mongo-aca, todo-python-mongo-swa-func

Expected behavior:
In Linux environment, when Azure CLI version is 2.38.0, azd pipeline config test can success.
@rajeshkamal5050, @jongio for notification.

@vhvb1989 when you get a chance. can you take a look at this?

Trying to reproduce.
Looking at the issue, it looks like az is trying to do log in and fails.  But I see the comment about using 2.36 works.
@v-jiaodi can you run az login before running azd pipeline config and see if that works?
I will come back later with more findings on my side

Also, can you confirm your OS?
I saw you mentioned OS : Linux desktop.  Is it WSL ?  or is it a VM?  Docker?
what distro?   Ubuntu/Debian ???
Please share more details about it

as a workaround, please run az login --scope https://graph.microsoft.com//.default before running azd pipeline config
I will see how to integrate this to azd

@vhvb1989 , I run azd pipeline config after running az login, but it still doesn't work.
OS: Linux VM
distribution: Ubuntu 20.04
Besides,I try to run az login --scope https://graph.microsoft.com//.default before running azd pipeline config, the error still exists.

In other environments and templates，we have found the same issue recently . we have updated the issue description.

Marking it as a blocker since it seems to have happened in other environments and templates recently.
@vhvb1989 can you take a look and update?

I am able to reproduce it by logging az with az login --use-device-code
This seems to be an issue/limitation of logging az cli in using a device-code on Linux.
The workaround is to use az login alone and use a web browser to do the logging in

Removing blocker based on above update. Let us try to document it as a limitation based on

https://github.com/Azure/azure-cli/issues/17273

@vhvb1989 can you work with @puicchan to get it documented.

See issue:
https://github.com/Azure/azure-cli/issues/17273
It is expected to fail auth on Linux.
As a workaround, people can log in with a service principal before running az pipeline config  (just need to make sure to use the required scope to the service principal to be able to create and assign another service principal)

Also related issues and workarounds
https://github.com/Azure/azure-cli/issues/16401
https://github.com/Azure/azure-cli/issues/19652
https://stackoverflow.com/questions/68892711/azure-ad-authentication-error-aadsts50005-on-linux

See issue: Azure/azure-cli#17273
It is expected to fail auth on Linux.
As a workaround, people can log in with a service principal before running az pipeline config (just need to make sure to use the required scope to the service principal to be able to create and assign another service principal)

@vhvb1989 We tried to log in with service principal before running az pipeline config in codespace environment, but it still prompted an insufficient permissions error.
Login Command: az login --service-principal -u <app-id> -p <password-or-cert> --tenant <tenant>
Error Message:

Our service principal api permissions just owned User.Read permission now, what permissions do we need for this step?

You need the system access administrator
See and try this: https://github.com/Azure/azure-dev/issues/134#issuecomment-1208592571

@vhvb1989 - Thanks for your reply, but the issue https://github.com/Azure/azure-dev/issues/134#issuecomment-1208592571 is not related to the problem we are having. Our current problem is that after logging in with the service principal, we do not have permission to create or update service principal (When execute command: azd pipeline config).
The specific error message is:
Error: failed to create or update service principal: failed running az ad sp create-for-rbac: exit code: 1, stdout: , stderr: ERROR: Insufficient privileges to complete the operation.
: exit status 1

Besides, according to the comments of the issue: https://github.com/Azure/azure-cli/issues/12939#issuecomment-612286761, we also tried to add Directory.Read.All permission in the service principal we used to log in, but couldn't click the Grant admin consent for in API permissions.

but couldn't click the Grant admin consent for in API permissions.

That won't be possible for Microsoft tenant. Microsoft does not allow admin consent for testing purposes.
If you want to have a SP with admin consent, you can use a different tenant (you can set up your own Azure subscription and tenant from https://my.visualstudio.com/ ).
But, coming back to the original question and flow (not using a SP to login), can you mention what Azure subscription are you using? (the name of the subscription)
You must be part of that Subscription and to have the Contributor role access so you are allowed to create the SP when running azd pipeline config
This is because the SP that azd creates is scoped to the entire subscription (the one you set while running azd init or azd up ).  So the user running azd pipeline config needs to have the permission for creating the SP with subscription access.
The same thing applies for the SP you created to do the log in..  You actually don't need to add the Read/write permission for MS graph.  What you need to do is, after you create it, you need to add it as Contributor for the Azure subscription that you are using, so it becomes entitled to create/update the subscription.

@vhvb1989 - We have added SP as Contributor for the Azure subscription (Azure SDK Developer Playground) that we are using, but it also failed. Taking the Linux Ubuntu 20.04 environment as an example, we have tried the following three login methods:

azd login: As mentioned above, it doesn't work in Ubuntu 20.04.
az login --use-device-code: In this way, it helped us to pass the login verification, but when we executed az pipeline config command, it failed. This is also the problem at the beginning of this issue. After discussion, we tried a third login method based on this comment of yours.
az login --service-principal -u <app-id> -p <password-or-cert> --tenant <tenant>: It also failed in the step of executing az pipeline config, we actually add our SP as Contributor for this Azure subscription. but it prompts the permission is insufficient. What are we missing?

We are testing Azure DevOps(new feature) for CI/CD pipelines configuration, it also occurs the same issue with command: azd pipeline config --provider azdo.

@vhvb1989 - After testing, we found that the error message has changed, adding comment to stay up to date:

When we log in as az login --use-device-code, the error message changes to:

Error: failed to create or update service principal: failed running az ad sp create-for-rbac: exit code: 1, stdout: , stderr: ERROR: AADSTS53000: Device is not in required device state: compliant. Conditional Access policy requires a compliant device, and the device is not compliant. The user must enroll their device with an approved MDM provider like Intune.

When we log in with service principal, it still prompts Insufficient privileges to complete the operation.

In addition, we would like to confirm with you which login method we should use when testing. At present, it seems that none of the methods can successfully create a service principal in step azd pipeline config. How to resolve this issue, any ideas?

@zedy-wj

When we log in as az login --use-device-code, the error message changes to:
Error: failed to create or update service principal: failed running az ad sp create-for-rbac: exit code: 1, stdout: , stderr

For the above let's track using #866

When we log in with service principal, it still prompts Insufficient privileges to complete the operation.

Let's track the insufficient privileges using this issue. @vhvb1989 Please try unblocking them. Also, if it is confusing internally, let's make sure to document the same and be clear for external folks.

Thank you @rajeshkamal5050
Both issues are sort of related, as they are both a side effect of the same Conditional Access Policy.
But it is OK to use both issues.
So, for using a service principal , I have checked what is the required permissions to be added to the service principal and they are:

Application.ReadWrite.All for Microsoft Graph

This access requires admin consent, so it won't be possible to have it within Microsoft tenant. (Microsoft does not provide admin consent for testing applications).
So, this test scenario for using a service principal to log in (az login --service-principal) won't work when using any Azure subscription within Microsoft tenant.
In order to use a service principal, please create a new Azure Subscription outside Microsoft tenant.
Here's a way to do it:

Go to http://my.visualstudio.com/
Login with a Microsoft account (it can be @microsoft.com or @outlook.com or @hotmail.com , etc.. any personal or work account is valid)
Click on Try Azure for free (for personal account)

or the use credits in Azure to explore (for @microsoft accounts)

Follow the activate instructions to set up a new Azure subscription.
Once the subscription is ready, use the Azure Portal to create a Service Principal. You can use the Azure portal search to find the app registration section

Go to API permissions and click Add permissions

Select Microsoft Graph

Select application permissions

Look for Application.ReadWrite and add it

Click on Grant Admin consent for <subscription>.  It should be enabled as you are the owner and admin of the tenant, so you can grant the permision

At this point, the service principal is allowed to list/update/create service principals within the subscription.
The next step is to assign the User Access Administrator role to the Service Principal within the subscription so it can assig roles/access within the Azure subscription.
You should already know how to do this step, as it is the result of this: https://github.com/Azure/azure-dev/issues/197#issuecomment-1255779265
Note:  You only need to add the User Access Administrator role for azd pipeline config.  But you might need the Contributor role for other azd operations
Once you add the roles, you are ready to log in with az login using the Service Principal within the test subscription :)
Let me know if you try this and have any issues.

@vhvb1989 - Thank you for your help! We were blocked when using a private account to sign up for a free trial of azure portal, which requires a visa or master card, we have applied for it, and we expect to start testing next week.
We can use our own personal account to verify the feasibility of the service principal login method in both environments( Codespace, Linux Ubuntu 20.04 ), but this is not a long-term solution. It's not very reliable when it comes to security and professionalism. Considering that we will have automated tests in the future, can you provide a dedicated test account?
Besides, except for the service principal login method, there are other better ways to solve this issue?

@zedy-wj , lets skip azd pipeline validation from the codespaces scenario for now.
And for wsl/dev-container, you have made it work by adding the --scope  arg to az login before azd pipeline config right?
So, are we unblock 100% if we just skip the codespaces approach?
(I will propose to return a message like pipeline config operation is not supported when running within codespaces . But for now, we can just skip it

@vhvb1989 -
First, for the wsl/devcontainer environment, we have made it work by adding the --scope arg to az login before azd pipeline config
Second, according to your suggestion, after we use the service principal ( private account ) login method, we run the azd pipeline config command, and in the linux and codespace environments, all passed. But besides the permission Application.ReadWrite.All for Microsoft Graph, we also added:

Directory.Read.All in api permissions
Global administrator in Azure Active Directory Roles for service principal

In addition to the codespace environment, this problem also exists in the linux ubuntu 20.04 environment, whether to skip the execution of azd pipeline config in linux?

When you mention linux ubuntu 20.04, can you elaborate about it?
Is it wsl running Ubuntu and you are you using VSCode to connecto to it?
is it wsl running Ubuntu and you are using a command line directly (no vscode?)?
is it a docker container running Ubuntu?
Is it a Virtual Machine from the cloud, running ubuntu and you are using ssh to connect to it?  (with or without vscode?)
Is it a real PC running Ubuntu?
Based on the details, I can tell if we can skip the execution or not.
THank you

It's a  Virtual Machine from the cloud, running ubuntu and we are using ssh to connect to it without vscode.

It's a Virtual Machine from the cloud, running ubuntu and we are using ssh to connect to it without vscode.

using shh only won't be enough, unless you use some ssh console that supports port forwarding.
For example, using VSCode with either ssh-remote extension or secure-tunnel to stablish the connection to the Virtual Machine will allow you to launch your browser locally to do log in for the az cli and redirect the response to the VM.
But, there's really no need to test all the specific Linux configurations for azd pipeline config.  You can choose only one (which ever you find easiest for you to set up), for example, Ubuntu in wsl from VSCode.  This is because after the az cli is logged in, azd will behave the same for any Linux distribution, regardless of the way it is running (VM, container, wsl, etc)

@vhvb1989 - Thanks for your suggestion, we will discuss it.
@rajeshkamal5050 - We have tested Ubuntu in wsl from VSCode. Do we need to perform tests in the Linux Desktop environment? Currently in the test plan, both linux and wsl need to be tested.

But, there's really no need to test all the specific Linux configurations for azd pipeline config. You can choose only one (which ever you find easiest for you to set up), for example, Ubuntu in wsl from VSCode. This is because after the az cli is logged in, azd will behave the same for any Linux distribution, regardless of the way it is running (VM, container, wsl, etc)

@vhvb1989 - When we used VSCode with ssh-remote extension to stablish the connection to the Virtual Machine, and  this issue no longer reproduce( Using az login ). Besides, check again with you if the test for azd pipeline config is skipped in the codespace environment? If skipped, we are unblocking 100% when use the az login method for testing,
If you have no further questions about this issue, we will close it.

yes, skip codespaces for azd pipeline config.
You can choose any Linux set-up to run azd pipeline config. And it's fine to test it just in one set up per template

I get this issue with the latest azd after I login with my @microsoft account:
vscode ➜ /workspaces/fastapi-azure-function-apim (main) $ azd login --use-device-code
To sign in, use a web browser to open the page https://microsoft.com/devicelogin and enter the code RTF2ZKQTD to authenticate.
Logged in to Azure.

vscode ➜ /workspaces/fastapi-azure-function-apim (main) $ azd pipeline config
Using pipeline provider: GitHub
? This command requires you to be logged into GitHub. Log in using the GitHub CLI? Yes
? What is your preferred protocol for Git operations? HTTPS
? Authenticate Git with your GitHub credentials? Yes
? How would you like to authenticate GitHub CLI? Login with a web browser

! First copy your one-time code: 19E2-0860
Press Enter to open github.com in your browser...
c✓ Authentication complete.
- gh config set -h github.com git_protocol https
✓ Configured git protocol
✓ Logged in as pamelafox
Creating or updating service principal az-dev-01-14-2023-20-34-33.

ERROR: failed to create or update service principal: failed retrieving application list, failed executing request: http call(https://login.microsoftonline.com/organizations/oauth2/v2.0/token)(POST) error: reply status code was 400:
{"error":"invalid_grant","error_description":"AADSTS50005: User tried to log in to a device from a platform (Unknown) that's currently not supported through Conditional Access policy. Supported device platforms are: iOS, Android, Mac, and Windows flavors.\r\nTrace ID: 6cc07526-f00e-48f8-b303-eefd3ad32a00\r\nCorrelation ID: 99ae692b-ff7f-474c-90a1-c1681a42ca49\r\nTimestamp: 2023-01-14 20:34:46Z","error_codes":[50005],"timestamp":"2023-01-14 20:34:46Z","trace_id":"6cc07526-f00e-48f8-b303-eefd3ad32a00","correlation_id":"99ae692b-ff7f-474c-90a1-c1681a42ca49"}

I'm inside a Dev Container in VS Code. VS Code version info:
Version: 1.74.3 (Universal)
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T17:07:18.579Z (5 days ago)
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.2.0
Sandboxed: No

I just tried it in Terminal outside of the devcontainer, which was already logged in, and it did work there:
(.venv) fastapi-azure-function-apim % azd pipeline config
Using pipeline provider: GitHub
Creating or updating service principal az-dev-01-14-2023-20-47-43.

Configuring repository pamelafox/fastapi-azure-function-apim.

Created federated identity credential for GitHub with subject repo:pamelafox/fastapi-azure-function-apim:ref:refs/heads/main

Created federated identity credential for GitHub with subject repo:pamelafox/fastapi-azure-function-apim:pull_request

Setting AZURE_ENV_NAME GitHub repo secret.

Setting AZURE_LOCATION GitHub repo secret.

Setting AZURE_TENANT_ID GitHub repo secret.

Setting AZURE_SUBSCRIPTION_ID GitHub repo secret.

Setting AZURE_CLIENT_ID GitHub repo secret.

@pamelafox, this is because the devcontainer is a device which is not joined to the company (in this case to Microsoft, as that's the account you are using).
If you want it to work inside the devcontainer, you can use the workaround mentioned above (You need to login azd within the devcontainer without using device code).
Loggin in with a device code is known/expected issue for pipeline config.  IIRC, this was officially documented by @puicchan

Ah, I see the documentation here: https://learn.microsoft.com/en-us/azure/developer/azure-developer-cli/troubleshoot#azd-pipeline-config-failure-due-to-conditional-access-policy
I will try that. Thank you!

Hi Guys (@jiasli @Michael-Coetzee), I have the same problem that you were talking in this thread, however I did all you suggest and It's working only in windows, but when I tried on docker linux(Debian)  I got the "Insufficient privileges to complete the operation" message. I am using the same credential to create the application. These are the commands I am using for both environments
az login --service-principal --username xxxxxx --password xxxxxx --tenant xxxxx
az ad sp create-for-rbac --display-name sa-playground-handler --years 5

Working on windows (Tested on a new machine)

Error on Docker(Debian)

Azure Cli version on Windows

Azure Cli version on Docker

[Update]

This is the image of docker I am using "mcr.microsoft.com/dotnet/aspnet:6.0"

Tested the same comand in the "mcr.microsoft.com/dotnet/aspnet:6.0.20-jammy" image, It's Ubuntu and It's working properly, It looks like the problem is with the Debian image any idea about this behaviour?


Prominent position shifts between modalities

作者您好，请问现在有相关工作解决模态间潜在的位置偏移吗？

你好，有的。下面是我所了解的针对RGBT模态不对齐的一些相关工作；我们组有一篇针对Prominent position shift问题的文章正在投稿阶段，发表后欢迎关注！
[1] Lu Zhang, Xiangyu Zhu, Xiangyu Chen, Xu Yang, Zhen Lei, and Zhiyong Liu. Weakly aligned cross-modal learning for multispectral pedestrian detection. In Proceedings of the IEEE/CVF International Conference on Computer Vision, pages 5127–5137, 2019.
[2] Maoxun Yuan, Yinyan Wang, and Xingxing Wei. Translation, scale and rotation: Cross-modal alignment meets rgb-infrared
vehicle detection. In European Conference on Computer Vision, pages 509–525. Springer, 2022.
[3] Maoxun Yuan and Xingxing Wei. C 2 former: Calibrated and complementary transformer for rgb-infrared object detection.
IEEE Transactions on Geoscience and Remote Sensing, 2024.
[4] Maoxun Yuan, Xiaorong Shi, Nan Wang, Yinyan Wang, and Xingxing Wei. Improving rgb-infrared object detection with
cascade alignment-guided transformer. Information Fusion, 105:102246, 2024.
[5] Chen Chen, Jiahao Qi, Xingyue Liu, Kangcheng Bin, Ruigang Fu, Xikun Hu, and Ping Zhong. Weakly misalignment-free
adaptive feature alignment for uavs-based multimodal object detection. In Proceedings of the IEEE Conference on Computer
Vision and Pattern Recognition, pages 26836–26845, 2024.


Facilitate working with loops

A common use-case when looping is to check the current index or whether the current loop is the first or the last. Twig includes a nice solution to make working with loops easier by making a loop-variable accessible inside a loop:

Variable
Description

loop.index
The current iteration of the loop. (1 indexed)

loop.index0
The current iteration of the loop. (0 indexed)

loop.revindex
The number of iterations from the end of the loop (1 indexed)

loop.revindex0
The number of iterations from the end of the loop (0 indexed)

loop.first
True if first iteration

loop.last
True if last iteration

loop.length
The number of items in the sequence

loop.revindex, loop.revindex0, loop.last and loop.length would only be accessible inside for-loops.
I think typst could also benefit from something like this. A simple example:
#for letter in "this is a sentence." {
  if loop.first {
    upper(letter)
  }
  else {
    letter
  }
}

again yes that would be nice, but the current syntax gets the job done reasonably well, so it seems none of the current suggestions are really justified. also one could argue that the zip suggestion is actually less readable than anything given so far.
Any of these suggestions carry a maintenance burden, so we should consider that carefully before blindly accepting changes that add complexity to the language and implementation.

I would be fine with zip and enumerate as methods on arrays. That way they don't pollute the global scope.

We can have a separate issue for array methods, but I'm not in favor of the loop variable.


Can't reload

Leaf-1#reload now
% Unavailable command (not supported on this hardware platform)
When I try a reload it doesn't go through using the latest cEOS image.
Do you know what image would allow me to do this. I'm trying to test the ZTP functionality using virtual devices.

not sure tbh.
https://eos.arista.com/forum/ is a better place for cEOS-specific questions.


test: use a tag in validating gapic-generator-java-bom

The java-cloud-bom was released today. The tag is "v26.13.0". This includes the recent change in validate-bom action that checks the dependency tree. https://github.com/googleapis/java-cloud-bom/blob/v26.13.0/tests/validate-bom/action.yml

It passed the validate-bom.


context processors

I'd like to suggest the simple implementation of context processors. I can write tests if it's possible to merge it.
And one more question. Is there a way to use yield from inside templates?

Sorry, you cannot use yield from inside Jinja renderer -- jinja know nothing about asyncio.
About PR: I need to think about but my first reaction is rejection.
You can fill required info in middleware and after that pickup it explicitly on passing context to renderer.

Close as wontfix


hgetall on a non-existent key returns null

var redis = require('redis');
var c = redis.createClient();

c.hgetall('key-does-not-exist', function (err, val) {
    console.log(val);
});

This prints null.  I believe this is due to https://github.com/mranney/node_redis/blob/master/index.js#L613.  I think a more useful return value would be {}, which would be in line with what the redis-py client does.
Changing this would have some serious backwards compatibility implications though.

In order to better support this project and its new group of collaborators under a new org we are trying to clean up and close issues older than 6 months. Your issue may have been fixed since the issue was open, however, if you are still experiencing a problem please re-open this issue and we will label it accordingly.

@NodeRedis/contributors do you think this is a neat feature to implement? I do not really care either way.

I've never really thought about it before but it is a bit weird that hgetall returns null when the key is not found, but other array commands return arrays if the key doesn't exist.
Looking at a few different commands:
var
  redis   = require('redis'),
  client  = redis.createClient();

client.get('nope:nope:nope',function(err,values){
  console.log('get',err,values); //returns: get null null
});

client.hgetall('nope:nope:nope',function(err,values){
  console.log('hgetall',err,values); //returns: hgetall null null
});

client.hmget('nope:nope:nope','nope','nope',function(err,values){
  console.log('hmget',err,values); //returns: hmget null [ null, null ]
});

client.smembers('nope:nope:nope',function(err,values){
  console.log('smembers',err,values); //returns: smembers null []
});

client.zrange('nope:nope:nope', 0, -1, function(err,values){
  console.log('zrange',err,values); //returns: zrange null []
});

client.lrange('nope:nope:nope', 0, -1, function(err,values){
  console.log('lrange',err,values); //returns: lrange null []
});

It's an inconsistency for sure, but from the app perspective it might be easier to check for null than to check for {}. So, I'm mixed.

The default return value is set by redis and not by node_redis. We manipulate the return value from hgetall though, so it returns an object instead of an array and return null if nothing was found. I personally think it's more intuitive to to have null as reply, as you'd otherwise have to check for the object keys, if you want to know if there were any replies.
And that's also what most people seem to think.


Use a simple webpage to get location at high accuracy from mobile device

Subject of the issue
User has to just open the link and their location will be reterived at high accuracy , they can select some options,
select box with range for number of people with them
check box for

Pregnant People
Children below 5
etc..

https://developer.mozilla.org/en-US/docs/Web/API/Geolocation/getCurrentPosition
Your environment

version of your python
which browser and its version
OS Type (iOS/Android/Linux/Windows)

Steps to reproduce
Tell us how to reproduce this issue. Please provide a working demo as a GIF, if possible.
Expected behaviour
Tell us what and how exactly is it supposed to  happen
Actual behaviour
Tell us what happens instead or what went wrong

addressed in  Please take a look at the PR #266
if possible please test the PR

ok closing as it is a duplicate


Pre-made report for Stripe data: Average revenue per customer

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/1635
Originally created by @dmor on 2020-01-29 14:33:18

This is what the report looks like in the Stripe UI https://dashboard.stripe.com/dashboard

Average Revenue per Customer - Definition
Average Revenue per Customer is defined by Stripe as: "Estimated revenue for all payments created with a customer, divided by the total number of customers with payments."
The underlying data is visible at https://dashboard.stripe.com/payments and https://dashboard.stripe.com/customers
Requirements

Show total aggregate amount for the time period
Show the % change over time for the total aggregate value for the period vs. the same prior period (e.g. this 4 weeks versus previous 4 weeks, this quarter versus prior quarter)
Show the individual amounts for each point shown on the graph
Default time range should be past 4 weeks
Time range should be adjustable

View 5 previous comments from the original issue on GitLab


altered functions to use GPIO's for playing sound

by typing functionCall_1 to functionCall_9 in config there is a possibility to use buttons on GPIO to play sounds directly instead of swyping a card. I altered the "function_calls.py" by nine more functions to be used in "gpio_settings.ini" to emulate a card with the ID 1 to 9.
After pressing a configured button, the ID appears an can be assigned to a Soundfile or a folder.
I made this extension, because I wanted to build a phoniebox, which offers certain buttons for playing the music.
(for more info's see the howto-file next to function_calls.py)

Hi, would it be possible to define the card id as parameter in the config file?
This way there would be only one additional function needed and it could be configured more convenient.
I think this would also resolve the outdated wiki documentation: https://github.com/MiczFlor/RPi-Jukebox-RFID/wiki/Hack-Playlist-triggered-by-GPIO-Button and the linked issues (https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/1268 and https://github.com/MiczFlor/RPi-Jukebox-RFID/issues/1221)

superseded by  #2266


rotation scan: move to start position at start of plan

we should:

make specifying positions optional
actually move to the specified position if specified

Or maybe we say you're not allowed to specify positions for the axes you're not rotating in, if you want to go there you should be doing that first separately, it's not the rotation scan's job


Introducing Authlib Guru on Gurubase.io

Hello team,
I'm the maintainer of Anteon. We have created Gurubase.io with the mission of building a centralized, open-source tool-focused knowledge base. Essentially, each "guru" is equipped with custom knowledge to answer user questions based on collected data related to that tool.
I wanted to update you that I've manually added the Authlib Guru to Gurubase. Authlib Guru uses the data from this repo and data from the docs to answer questions by leveraging the LLM.
In this PR, I showcased the "Authlib Guru", which highlights that Authlib now has an AI assistant available to help users with their questions. Please let me know your thoughts on this contribution.
Additionally, if you want me to disable Authlib Guru in Gurubase, just let me know that's totally fine.

I've never heard of Anteon or Gurubase.io and my gut feeling is this is borderline promotion spam, but maybe this AI could actually be a useful support channel? This repo does get a lot of github issues that are probably more like support requests than actual development questions.
Maybe this should be a link in the docs instead of an opaque shields.io icon?
Is there a way for @lepture to charge for premium support when your LLM answers using information from docs they wrote?

Hey @bjmc,
I wanted to notify you about adding Authlib Guru on Gurubase and suggest including it in the README. If you’ve had a chance to review Authlib Guru, I’d love to hear any feedback you might have.
Additionally, we could add a widget to the documentation, similar to what we did for Anteon Docs. What do you think?

Is there a way for @lepture to charge for premium support when your LLM answers using information from docs they wrote?

I'm not sure I fully understand this. Could you explain a bit more?

Could you explain a bit more?

One of the ways this project is funded is through the sale of commercial support. If your AI is making money selling support for Authlib based on consuming the docs written by @lepture, it seems to me that he deserves a share of that revenue.

Hi @bjmc,
Have you finalized your decision about this PR?
Additionally, I’d like to update you on the release of the Maintainer Panel feature on Gurubase. With this panel, you can add, remove, or update data sources, as well as change the logo and more. You can find the details here.
In the near future, I’m planning to include analytics insights in this panel, such as the number of questions asked, the most frequently asked ones, and more. I’ll be sure to update this thread once it’s available. However, in case I miss it, I highly recommend joining our Discord channel to stay updated.
If you’d prefer that I don’t update this thread anymore, please let me know.


resolves dawgpath-19, home cleanup

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
279

Relevant Lines:
483

💛  - Coveralls


tsx file has no highlighting

Everything work as expected，except .tsx file's hightlighting. What can i do to resolve the problem? Thanks.
Output of :CocInfo
## version

vim version: NVIM v0.4.3
node version: v12.13.1
coc.nvim version: 0.0.74-937354a908
term: xterm-256color
platform: linux

## Output channel: highlight

[Info  - 3:21:12 PM] Highlight server running in node v12.13.1

You need install related syntax plugin https://github.com/peitalin/vim-jsx-typescript

It works, thanks!