Unable to open Firefly Wallet on my Mac

Hi,
I set up de Firefly Wallet a bit over one week ago and then moved my IOTA tokens from my Trinity wallet to the Firefly Wallet.
Since a couple of days however, I am unable to access my Firefly wallet. The moment I type in my 6-digit pin, the wallet freezes and nothing happens.
I kindly request your assistance in removing this bug so I can access my funds and also send additional IOTA into my wallet
Thanks very much.
Best, Jonathan

Hello,
I would greatly appreciate your feedback on the above and hopefully some assistance too to solve my issue.
Thank you very much.
Best, Jonathan

Hi I'm having the same issue too.

You can use your backup phrase/stronghold bakcup on other device or Virtual Machine and have access to your funds. Please share your configuration, MacOS version, logs, any errors displayed, what version of firefly are you using.

私も同じ問題を抱えています。

Hello,
Many thanks for your reply,
The issue is when I open firefly the below blank page is displayed.
[cid:8ab272a4-2b77-4da0-91d3-08f7f45026a8]
Firefly version.
[cid:7d061fdc-8024-418e-a5fa-a8f21d610b4a]
Mac Details.
[cid:6ed8682f-9191-4de5-80b9-0190707770a8]
When I click on error logs - nothing is displayed.
I did delete it and re-download/install it still no luck.
Any help would be greatly appreciated.
Regards,
Vincent

From: Hristo Mavrodiev @.>
Sent: 21 May 2021 11:22
To: iotaledger/firefly @.>
Cc: mishtavince @.>; Comment @.>
Subject: Re: [iotaledger/firefly] Unable to open Firefly Wallet on my Mac (#1156)
You can use your backup phrase/stronghold bakcup on other device or Virtual Machine and have access to your funds. Please share your configuration, MacOS version, logs, any errors displayed, what version of firefly are you using.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/iotaledger/firefly/issues/1156#issuecomment-845881278, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AII7UVRC72IQVCJC2GEZCTDTOY667ANCNFSM444YGDCQ.

Hi
Any update on this?
Thanks
Sent from my iPhone
On 31 May 2021, at 20:19, vincent lobo @.***> wrote:

Hello,
Many thanks for your reply,
The issue is when I open firefly the below blank page is displayed.
<image.png>
Firefly version.
<image.png>
Mac Details.
<image.png>
When I click on error logs - nothing is displayed.
I did delete it and re-download/install it still no luck.
Any help would be greatly appreciated.
Regards,
Vincent

From: Hristo Mavrodiev @.>
Sent: 21 May 2021 11:22
To: iotaledger/firefly @.>
Cc: mishtavince @.>; Comment @.>
Subject: Re: [iotaledger/firefly] Unable to open Firefly Wallet on my Mac (#1156)
You can use your backup phrase/stronghold bakcup on other device or Virtual Machine and have access to your funds. Please share your configuration, MacOS version, logs, any errors displayed, what version of firefly are you using.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/iotaledger/firefly/issues/1156#issuecomment-845881278, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AII7UVRC72IQVCJC2GEZCTDTOY667ANCNFSM444YGDCQ.

same issue on windows.  enter pin and nothing happens.  let me know when this crap is resolved.  thanks

Any update on this?
Sent from my iPhone
On 13 Jun 2021, at 06:18, Col3Trickl3 @.***> wrote:

same issue on windows. enter pin and nothing happens. let me know when this crap is resolved. thanks
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/iotaledger/firefly/issues/1156#issuecomment-860153384, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AII7UVX6G2GOC5GMQ6K2GB3TSQ5TVANCNFSM444YGDCQ.

If there is a solution to this can you post a video or steps on how to sort this issue out please.
Thanks
Vincent

From: vincent lobo @.>
Sent: 08 October 2021 10:06
To: iotaledger/firefly @.>
Cc: iotaledger/firefly @.>; Comment @.>
Subject: Re: [iotaledger/firefly] Unable to open Firefly Wallet on my Mac (#1156)
Yes still facing the same issue.
I even downloaded Ver 1.2.0
No luck.
Thanks for checking back, even though it’s been months.
My worry is hope I don’t lose my IOTA from the trinity wallet.
Regards
Vincent.
Sent from my iPhone
On 8 Oct 2021, at 10:59, nicole-obrien @.***> wrote:

Hi, could you confirm if this is still happening?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/iotaledger/firefly/issues/1156#issuecomment-938512405, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AII7UVVWAH7XNAXJEK5FNK3UF26IDANCNFSM444YGDCQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Do you have any chance to install Firefly on another computer? You can always restore your wallet with your 24 words.

I haven’t got another computer.
Sent from my iPhone
On 17 Nov 2021, at 22:43, MiKeF05 @.***> wrote:

Do you have any chance to install Firefly on another computer? You can always restore your wallet with your 24 words.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/iotaledger/firefly/issues/1156#issuecomment-972185276, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AII7UVS3JNSWYJ6DYDEXUYTUMQVYRANCNFSM444YGDCQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi @mishtavince, can you please share your OS details? It seems like they aren't displaying properly in your message from earlier

@rajivshah3 MAC OS HIGH SIERRA bet 10.13.6

Hi Rajiv,
It’s a MAC OS HIGH SIERRA ver 10.13.6
Regards,
Vincent
Sent from my iPhone
On 21 Nov 2021, at 20:42, Rajiv Shah @.***> wrote:

Hi @mishtavincehttps://github.com/mishtavince, can you please share your OS details? It seems like they aren't displaying properly in your message from earlierhttps://github.com/iotaledger/firefly/issues/1156#issuecomment-851644097
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/iotaledger/firefly/issues/1156#issuecomment-974892560, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AII7UVQUXH7JNPBH5BEPR4DUNFKUPANCNFSM444YGDCQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Hi any updates on this  please ?
Sent from my iPhone
On 22 Nov 2021, at 18:14, vincent lobo @.***> wrote:
 Hi Rajiv,
It’s a MAC OS HIGH SIERRA ver 10.13.6
Regards,
Vincent
Sent from my iPhone
On 21 Nov 2021, at 20:42, Rajiv Shah @.***> wrote:

Hi @mishtavincehttps://github.com/mishtavince, can you please share your OS details? It seems like they aren't displaying properly in your message from earlierhttps://github.com/iotaledger/firefly/issues/1156#issuecomment-851644097
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/iotaledger/firefly/issues/1156#issuecomment-974892560, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AII7UVQUXH7JNPBH5BEPR4DUNFKUPANCNFSM444YGDCQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Probably this conversation is for two different bugs:
Case1- you created an account and now it freezes on pin screen. You can try to clean the .config folder and restore you account with 24 words.
Case2 - You see a blank screen and haven't run the app successfully. You can share your CPU model and for linux and mac use the console and type lscpu. Possible causes are unsupported CPU instructions on old CPU. This is hard to debug, because the bug can be reproduced only on old CPUs. Someone with programming skills with this bug needs to attach a debugger and share the function with unsupported instructions. So devs could find what exactly needs to be changed to work on your machine. That's why it's taking a lot time to resolve.

Hello all,
Just to update the latest firefly ver1.3.0 solved the white screen issue for MacOS HIGH sierra.
All good now and finally transferred funds from Trinity.
Thanks.
Sent from my iPhone
On 28 Nov 2021, at 08:06, Hristo Mavrodiev @.***> wrote:

Probably this conversation is for two different bugs:
Case1- you created an account and now it freezes on pin screen. You can try to clean the .config folder and restore you account with 24 words.
Case2 - You see a blank screen and haven't run the app successfully. You can share your CPU model and for linux and mac use the console and type lscpu. Possible causes are unsupported CPU instructions on old CPU. This is hard to debug, because the bug can be reproduced only on old CPUs. Someone with programming skills with this bug needs to attach a debugger and share the function with unsupported instructions. So devs could find what exactly needs to be changed to work on your machine. That's why it's taking a lot time to resolve.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/iotaledger/firefly/issues/1156#issuecomment-980961206, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AII7UVWOKHUXWG5UAH5DTQ3UOHPIVANCNFSM444YGDCQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

@JonaBoss @Col3Trickl3 Were you able to solve this issue?

Hi I am having the same issue as @JonaBoss. Can anyone assist? Thanks :)

You can try deleting .firefly folder and reimport your account using recovery phrase. This will reset all configurations, if there are some invalid settings. Verify that you have the latest version of firefly.

You can try deleting .firefly folder and reimport your account using recovery phrase. This will reset all configurations, if there are some invalid settings. Verify that you have the latest version of firefly.

When I installed Firefly it didn't give me a recovery phrase. I have linked my ledger nano to it, and have a phrase for that... Sorry I'm not very techhy, when you say to delete the folder do you mean to uninstall that app?

Closing issue due to inactivity, please upgrade to the latest app version and reopen the issue if the problem persists 🌷


Display cluster labels and edge labels

projection  + cohorts would read better if the cluster labels and edge labels were displayed in the projection
e.g.:

https://idl.cs.washington.edu/papers/fast-labels/
just posting this here so it does not get lost, might be the best solution

edge labels are being rendered now
the way centroids should be visualized has been discussed and additional labels might cause unnecessary clutter
can re-open if we decide to add cluster labels as well


Seed delete confirmation and undo.

Basics

[x] I added a line to /doc/CHANGELOG.md
[x] The PR is rebased with current master.

[x] References to issues, e.g. close #X, are in the commit messages.
[x] The buildserver is happy.

Checklist

[x] I have installed and I am using pre-commit hooks
[x] I fully described what my PR does in the documentation
(not in the PR description)
[x] I fixed all affected documentation
[ ] I fixed the introduction tour
[x] I wrote migrations in a way that they are compatible with already present data
[x] I fixed all affected decisions
[ ] I added unit tests for my code
[x] I added code comments, logging, and assertions as appropriate
[x] I translated all strings visible to the user
[x] I mentioned every code or binary not directly written or done by me in reuse syntax
[ ] I created left-over issues for things that are still to be done
[x] Code is conforming to our Architecture
[x] Code is conforming to our Guidelines
(exceptions are documented)
[x] Code is consistent to our Design Decisions

Review

[ ] I've tested the code
[ ] I've read through the whole code
[ ] Examples are well chosen and understandable

jenkins build please

The modal is now removed.

@markus2330 there is a small caveat to restoring seeds I should mention:
Deleted seeds are immediately removed from the backend.
If a user chooses to redo the deletion the seed is resubmitted to our database as if it were a new seed (it gets a new id).
This does not seem to cause problems in the editor at the moment, because it ignores the seeds data completely.
However, if this changes in the future deleting and then restoring old seeds might also remove plants from maps without the user noticing.

This really is problematic.

Yes I only noticed that seeds might have to keep their ids after implementing this feature.

Isn't there a way to send the delete request only if undo wasn't pressed?

In theory absolutely.
However in practice this seems to be again much harder than initially expected.
The main issue is that the timing of the API-calls is very inaccurate.
Sometimes seeds were not actually deleted until several minutes after pressing the delete button.
Here is a short summary of the things I have tried locally:
Delete the seed once react-toastify's toast.onChange callback indicates that the undo toast was closed.
Actual deletes would only happen more than 30 seconds after the toast has vanished.
While debugging I also noticed that the callback was perpetually executed in an infinite loop after this point.
This might have been an error on my side, but if it was I could absolutely not figure out what was wrong.
The documentation of this feature is unfortunately very sparse (https://fkhadra.github.io/react-toastify/listen-for-changes/).
Same as above but using react-toastify's legacy onClose callback.
This method did basically the opposite of what I was expecting.
Seeds would be deleted the instant the toast appeared on the screen.
Once the toast was removed, no callback fired whatsoever (?).
According to various online sources I am apparently not the only one experiencing this.
custom solution using setTimeout
I started a timer that executed in parallel to the toast.
Like in the first example, the callback for deleting the seed was called sometimes several seconds to minutes after it should have been called.
This is probably just a sign that there is a lot of code running in the background that prevents the timers from executing (https://stackoverflow.com/questions/34691428/javascript-event-queue-and-settimeout).

Possible solutions:

Keep the current solution and document the mentioned caveat so that we can deal with it once it causes problems (probably not the best idea).
Modify the backend in such a way that seeds can be resubmitted with old IDs
Implement a more elaborate undo mechanism where seeds are only marked as deleted in the backend (such that they are not returned in fetch requests) with a cronjob that removes all marked seeds after a specified period of time.

@badnames Thx for the detailed investigations, good job! :heart:
I talked with @yvonnemarkl and we will do the following:

there shouldn't be a "delete" but call it "archive" instead
the icon should be archive-off from https://tablericons.com/
"archive" is a boolean in the seeds database
the "archive" button and the "undo" toggle that flag in the seeds database
as it is not a deletion, we don't need a cronjob and there cannot be plant referencing to deleted seeds

Currently, archived seeds should not be shown by default but a user can switch to show only archived seeds (similar to Nextcloud Deck). But better keep this in an left-over issue, as this feature is not urgent/release critical. As always: Please create the left-over issues as needed.

@markus2330 I have used the icon "archive" (also from tabler icons).
This was done because the meaning of "archive-off" would usually be the opposite in other applications and websites.
If you still prefer the other icon, this can be trivially changed.

jenkins build please

jenkins build please

The CI didn't run through?

@markus2330 I have used the icon "archive" (also from tabler icons).
This was done because the meaning of "archive-off" would usually be the opposite in other applications and websites.

In our case you press this button (to archive the seed) if you take out the (physical) seeds from your (physical) box (or you don't have it in your physical box anymore for whatever reason), so the reverse symbol makes more sense.
The overview of (non-archived) seed should correspond 1:1 with the content of the box.
Here an update on the use case, please include in the PR:
diff --git a/doc/usecases/current/entry_list_seeds.md b/doc/usecases/current/entry_list_seeds.md
index 0c61f1b7..cf5ad945 100644
--- a/doc/usecases/current/entry_list_seeds.md
+++ b/doc/usecases/current/entry_list_seeds.md
@@ -5,7 +5,7 @@
 - **Scope:** Seed Management
 - **Level:** User Goal
 - **Actors:** App User
-- **Brief:** The users manage their seeds by adding, editing, and deleting them in the app.
+- **Brief:** The users manage their seeds by adding, editing, and archiving them.
 - **Assignee:** Moritz

 ## Scenarios
@@ -14,13 +14,13 @@
   The user has opened the seed management feature in the app.
 - **Main success scenario:**
   - The user is able to add new seeds to their list.
-  - The user is able to view a list of seeds where plant name, additional name, harvest year, amount, and origin is visible.
-  - The user is able to edit or delete seeds of the list.
+  - The user is able to view a list of seeds where the complete name, amount, quality, harvest year, and origin is visible.
+  - The user is able to edit or archive seeds of the list.
 - **Alternative scenario:**
-  The user accidentally deletes a seed from their list and uses the undo feature to correct it.
+  The user accidentally archives a seed from their list and uses the undo feature to correct it.
 - **Error scenario:**
-  There is an error when the user attempts to add a seed to their list, such as an invalid expiration date or a seed with the same name already existing.
-  In this case, the app validates while the user is typing and shows a validation error.
+  There is an error when the user attempts to add or edit a seed entry with invalid data such as an invalid price.
+  In this case, the app validates when saving the seed and shows a validation error.
 - **Postcondition:**
-  The user's seed list is updated with the added, deleted, or restored seeds.
+  The user's seed list corresponds exactly with the physical seeds in the user's seed box in reality.

@badnames please also add hover text for the two actions, "archive seed" and "edit seed" (to complete the archive functionality, added it to #872)

What is the linked issue here again?

I am very confused, where are the archived seeds going, how can I see the archive?

I am very confused, where are the archived seeds going, how can I see the archive?

Archived seeds stay in the database but are marked using an additional archive date property.
At this point in time archived seeds are not displayed to the user.
In the future they will be displayed seperatelay, allowing the user to unarchive them if desired.

When deleting two seeds back to back you can not restore both, maybe this is a very rare edge case, but still.

It would have been better to just show a warning before deletion, as there is no archive for the user at this point.

If there is an undo, we don't need a confirmation. (#900)

if we put the notes field next to generation

No, notes field should get bigger, so it does not fit.

Edit: It was because of older inserted seeds not having the archive attribute.

The PR should also work for older seeds inserted from previous versions. For old seeds, we can simply assume they are not archived. What exactly is wrong here or how is the behavior?

Can this be merged? @badnames

The PR should also work for older seeds inserted from previous versions. For old seeds, we can simply assume they are not archived. What exactly is wrong here or how is the behavior?

Its just that you cant restore seeds without the archive attribute

jenkins build please

Its just that you cant restore seeds without the archive attribute

Cannot reproduce. For me archive&restoring also works for seeds that were created before this PR.

Its just that you cant restore seeds without the archive attribute

Cannot reproduce. For me archive&restoring also works for seeds that were created before this PR.

At least in theory every existing seed should get the new archived_at column that is initially set to null.

@4ydan we also need test cases with more than 30 objects, as this is our page size.

@4ydan we also need test cases with more than 30 objects, as this is our page size.

@markus2330 Thank you for providing console output this time.
This makes troubleshooting much quicker and easier.
Also: the error had nothing to do with the amount of seeds on the page.
There was simply a missing enum value in the hook useTranslateQuantity (it says so right in the error message).


Using predict_proba yields values outside the 0-1 range

I am using the predict_proba function to get probabilities for a 2-class Classifier. The Classifier is a three layer MLP (Sigmoid/Tanh/Maxout) with Gaussian output. In some cases the output from predict_proba exceeds the 0-1 range, yielding values like: "False" : -1.2220444431, "True" : 2.2220444431. The values are always balanced such that their sum is 1, indicating to me that this is not normal behaviour.
The data I predict on is normalized before entering the neural network.
I am currently using np.clip to make sure the values at least conform to the expected format, but this is undesirable.
Does anybody have any idea what could cause this?

Indeed, this looks suspicious. Can you share your code or do you have another script that can reproduce this? (It'd save a lot of time.)

Thanks for the response. I'm using the code in a commercial project, so unfortunately I am not at liberty to share code in its entirety.
I'm basically just running clf.predict_proba(input). The input is a Numpy array created from a pandas object. The prediction values are not altered afterwards.
I will see if I can reproduce this behaviour in some sample code.

You mentioned Gaussian output, but that layer is not in the last two versions of the code. I can't reproduce the problem with the usual Softmax.
I added some additional checks to the tests to catch possible problems, nothing so far.

If you have any more information, let me know and I'll re-open. Otherwise I'm assuming it's an old version of the code.


Some small functions are missing.

@z------------- The software is very good.
Unfortunately, some small important functions are missing

A full dark theme.
A button to download all episodes of a podcast.
A better download overview, and the possibility to choose the download directory for the podcasts.
A German translation.

Hi ZeroDot1, glad you're liking CPod.
Points two and three, I'll get on them soon.
I'll split full dark theme into a separate issue as it will likely take a longer time. I'll split out the German translation as well, with the Help Wanted tag for people to contribute if they want to.
Thanks.

@z------------- Thank you for your good work.
The German translation is ready.
https://github.com/z-------------/cumulonimbus/pull/76


state:modified.vars

Resolves #

Problem

Solution

Checklist

[ ] I have read the contributing guide and understand what's expected of me.
[ ] I have run this code in development, and it appears to resolve the stated issue.
[ ] This PR includes tests, or tests are not required or relevant for this PR.
[ ] This PR has no interface changes (e.g., macros, CLI, logs, JSON artifacts, config files, adapter interface, etc.) or this PR has already received feedback and approval from Product or DX.
[ ] This PR includes type annotations for new and modified functions.

Closing in favor of: https://github.com/dbt-labs/dbt-core/pull/10793


fix: issues with function input names not matching the column name

@xzdandy @gaurav274 @jarulraj  Need some thoughts on this. Currently, I added a check to verify the input column defined for the function is valid. Otherwise, it raises a BinderError.
The implementation works fine, but the problem here is that it will create a lot of break changes to our test suite and existing applications. Currently, there exist many functions input column definitions that do not match with the table. Functions like HuggingFace also have auto-populated input column definitions. It will probably take a long time to fix everything.

@xzdandy @gaurav274 @jarulraj Need some thoughts on this. Currently, I added a check to verify the input column defined for the function is valid. Otherwise, it raises a BinderError.
The implementation works fine, but the problem here is that it will create a lot of break changes to our test suite and existing applications. Currently, there exist many functions input column definitions that do not match with the table. Functions like HuggingFace also have auto-populated input column definitions. It will probably take a long time to fix everything.

I have a similar concern when looking into string CONCAT, the input arguments are variable length.

Can you remind me of the need to verify the input column names?

The motivation is from this issue (https://github.com/georgia-tech-db/evadb/issues/1206). The UDF is using some random input column that does not exist in the table.
What do you mean by the order of inputs?

Open discussion: Can we enforce the access of the parameters in functions by index (.e.g, 0, 1, 2, 3, 4) instead of the name? In other words, we only support *args, not **kwargs. Would that be a good idea or not?

Open discussion: Can we enforce the access of the parameters in functions by index (.e.g, 0, 1, 2, 3, 4) instead of the name? In other words, we only support *args, not **kwargs. Would that be a good idea or not?

So you are suggesting that we skip the name checking but just do typing checking?

Open discussion: Can we enforce the access of the parameters in functions by index (.e.g, 0, 1, 2, 3, 4) instead of the name? In other words, we only support *args, not **kwargs. Would that be a good idea or not?

So you are suggesting that we skip the name checking but just do typing checking?

Yes.

Open discussion: Can we enforce the access of the parameters in functions by index (.e.g, 0, 1, 2, 3, 4) instead of the name? In other words, we only support *args, not **kwargs. Would that be a good idea or not?

So you are suggesting that we skip the name checking but just do typing checking?

Yes.

I see.

That will not solve the original issue that created this PR right?
The order of columns in the table definition and in the function definition can have a mismatch. Then, do we strictly enforce that order to be the same?

That will not solve the original issue that created this PR right?
The order of columns in the table definition and in the function definition can have a mismatch. Then, do we strictly enforce that order to be the same?

My idea is to access the args by index instead of name in the function. This by passes the problem, but I do not know whether there are cases that args have to be accessed by name
The batch concat in function expression reserved the order, so I don't think that will be problem. For example, SELECT FUNC(column_1, column_2) FROM Mycsv;. The order of column_1 and column_2 is reserved.

That will not solve the original issue that created this PR right?
The order of columns in the table definition and in the function definition can have a mismatch. Then, do we strictly enforce that order to be the same?

My idea is to access the args by index instead of name in the function. This by passes the problem, but I do not know whether there are cases that args have to be accessed by name.
The batch concat in function expression reserved the order, so I don't think that will be problem. For example, SELECT FUNC(column_1, column_2) FROM Mycsv;. The order of column_1 and column_2 is reserved.

We always preserve the order of the columns in a function call.


"AMARA" is listed in the drop-down menu

Description:
When user writes "AMARA" the location appears in the drop-down menu next to the comune and the county which is a part according to the law
Precondition:
The website is up an running.

Step 1
Write in the search bar "Amara"

Expected results
The location appears in the drop-down menu as "Oras AMARA, IALOMIȚA "


[AutoPR security/resource-manager] Adding resource definition for IoTSecuritySolutionsAnalytics

Created to sync https://github.com/Azure/azure-rest-api-specs/pull/6160

(message created by the CI based on PR content)


"Connect a drive" portion is not working?

Etcher version:
Operating system and architecture:
Do you see any meaningful error information on DevTools?

"Connect a Drive" portion is not working after you select image.

Hi @poohomar ,
"Connect a drive" is not a button. Etcher might be failing to recognise your drive, or it might think its not a removable drive, and therefore protecting you from writing to it.
Can you enable "unsafe mode" in the settings page (the cog in the top right corner) and see if that makes a difference?
If so, what operating system are you running?

Hello Jviotti,
I followed your instructions and it somewhat worked, now I can access the driver portion. But it won't allow me to select my DVD/CD bay.

Etcher doesn't write to optical disks (DVDs or CDs), those require a specific CD/DVD-burning program (I thought we had an issue discussing that but I can't find it now).
Etcher writes images to USB flash drives, SD cards, etc.


[FP]: PostgreSQL JDBC Driver 42.3.7 - CVE-2022-31197

Package URl
<EMAIL_ADDRESS>CPE
cpe:2.3:a:postgresql:postgresql_jdbc_driver:42.3.7:::::::*
CVE
CVE-2022-31197
ODC Integration
{"label"=>"Maven Plugin"}
ODC Version
7.3.0
Description
Hello,
According to GHSA-r38f-c4h4-hqq2, CVE-2022-31197 can be fixed by upgrading PostgreSQL JDBC driver to 42.3.7.
This is the version that Spring Boot Dependencies 2.7.5 uses.

Unfortunately github is not used as a source of truth and  https://nvd.nist.gov/vuln/detail/CVE-2022-31197 states that version is vulnerable

Closing per @mprins remark.


How can i create a client with AccessToken

Service Package Request
//import 	msgraphsdk "github.com/microsoftgraph/msgraph-beta-sdk-go"
//..
       cred := azidentity.NewTokenCredential(oauthToken.AccessToken)
	graphClient, err := msgraphsdk.NewGraphServiceClientWithCredentials(cred, []string{"User.Read"})
	if err != nil {
		fmt.Printf("Error NewGraphServiceClient client: %v\n", err)
		return nil, err
	}

How can I create a client with the access token that I have? i got lost

Presumably, azidentity.NewTokenCredential() is pseudocode as this doesn't exist in azidentity.  So the question is, "how do I create an azcore.TokenCredential from an existing access token?

@jhendrixMSFT correct.

There's nothing in azidentity however you should be able to easily write your own.  You just need a type that conforms to the azcore.TokenCredential interface.  Here's an example I came up with.
type accessToken azcore.AccessToken

func (a accessToken) GetToken(ctx context.Context, options policy.TokenRequestOptions) (azcore.AccessToken, error) {
	return azcore.AccessToken(a), nil
}

func ExampleAccessToken() {
	myTk := accessToken(azcore.AccessToken{
		Token:     "preexisting_token", // replace with real token
		ExpiresOn: time.Now(),          // replace with real expiration date
	})

	var _ azcore.TokenCredential = myTk
}

problem solved


Rename classes in channel.py to more intuitive names.

Rename Lieutenant to Controller and Soldier to Worker.

Duplicate of #16


What about adding carte-blanche?

I saw your talk https://www.youtube.com/watch?v=0IkWuXeKPV0 and I think this is a really great idea. Do you plan to add this in the boilerplate?
I think having a component's catalog could be really useful for integration testing with lib like Nightwatch.js.

Yes absolutely, I just haven't come around to doing it yet. There's an open issue over at the Carte Blanche repo about supporting some techniques we use here: https://github.com/carteb/carte-blanche/issues/285

Want to add this but getting some webpack error any snippet that I can follow?

There doesn't seem to be an issue for tracking the addition of carte-blance to the boilerplate. Any chance we'll see it soon? Would it be worth adding something to the v3.3 project for tracking?


Option to show session IP address in session details

As we already have an IP address for each session (viewable at /admin/analytics/session/) it would be useful to show that in the session details interface.

Implemented, thanks!


[Formatter] Formatting doesn't work properly when a part of the string is in a different line

Description:
Please consider the following scenario

When I format the above code snippet additional spaces are added to the string values as given below.

Steps to reproduce:
Affected Versions:
SLP9-snapshot
OS, DB, other environment details and versions:
Related Issues (optional):

Suggested Labels (optional):

Suggested Assignees (optional):

The code snippet given in the above scenario is parsed into a syntax tree with diagnostics containing multiple missing tokens. In simple terms, this is considered an invalid code by the parser. In a scenario like this, the formatter will not be able to format the code as implied in the issue description since there could be multiple different approaches to how the code could actually be formatted.
However, if the intention was to use multiline strings, the user could either use \n or a string template for this purpose.
On a separate note, there is an improvement that could be configured into the IDE to automatically add the additive operator and the respective quotes for string concatenation when pressing Enter in the middle of a string. This is available in IntelliJ and the following issue [1] is created to track this implementation in VSCode.
[1] https://github.com/ballerina-platform/plugin-vscode/issues/215

I think Formatter shouldn't format this code because it is a syntax error.


Missing property from the dotoptions.

I think you forgot update the src/types/index.ts file, when you introduce a new property (roundSize) in dotOptions

Thank you for noticing and fixing ❤
It was released in v1.8.1


Fuel Codes | Autocomplete must be lowercase |1|

https://trello.com/c/RY6NySMF/1259-fuel-codes-autocomplete-must-be-lowercase-1
Location:
IDIR user when adding or updating a fuel code, Administration section > Fuel Codes > "Fuel" drop-down menu
Bug Description:
The autocomplete function only works when you are inputting text in the autocomplete fields in lowercase. Inputting data in uppercase format breaks the autocomplete functionality.
Desired state:
An autocomplete function that is not case sensitive and works in all cases (upper, lower, some combination of both)

 Fuel Codes | Autocomplete must be lowercase |1|


Added new QA config. Added new config to CI workflow

Created new solution config - QA
The idea is that it will have debug information helpful in testing the game, but not using debug libraries (and therefore not requiring VS to run it)
Also added it to workflow for Create Package
Please test if:
QA version of the game can be ran on a PC without VS installed
if Create Package workflow can correctly create requested configs
And if there is no regression

Change not working.
Startup failure while running workflow in "Create package".
Invalid workflow file: .github/workflows/CreatePackage.yml#L26
The workflow is not valid. .github/workflows/CreatePackage.yml (Line: 26, Col: 16): Invalid input, debug is not defined in the referenced workflow. .github/workflows/CreatePackage.yml (Line: 27, Col: 13): Invalid input, qa is not defined in the referenced workflow.

@DaddyMilker issue seems to be fixed - there is a default package created now. Feel free to continue testing (i wonder what will happen if some nasty user decides to run the Create Package action without selecting any configuration, wink wink)


go/types/types2: generic functions must have a function body

Reminder issue: Currently, the type checkers permit generic functions without function body. We (probably) can't/won't permit external implementations of generic functions.
The linker will probably complain if a generic function body is missing, but we should report a nice error during type checking. The fix is trivial, but there are many generic function type checker tests that don't use function bodies.
cc: @findleyr, @mdempsky, @ianlancetaylor

@ianlancetaylor Do you see any reason why we would want to allow leaving away the function body for a generic function? (I don't know how an external implementation would work.)

I can't think of any way that it would make sense to omit the body of a generic function.  A generic function can only be used if it is instantiated, and the compiler can't instantiate without a body.


missing options in daemon.conf

Some options seem to be missing from the daemon.conf file support in 1.10.0-rc1 - I was trying to set --bip and it was ignored for example.
Cross referencing the docs at https://github.com/docker/docker/blob/master/docs/reference/commandline/daemon.md#daemon-configuration-file against the documented options, I think these are missing:
  -b, --bridge=""                        Attach containers to a network bridge
  --bip=""                               Specify network bridge IP
  --default-gateway=""                   Container default gateway IPv4 address
  --default-gateway-v6=""                Container default gateway IPv6 address
  -e, --exec-driver="native"             Exec driver to use
  --fixed-cidr=""                        IPv4 subnet for fixed IPs
  --fixed-cidr-v6=""                     IPv6 subnet for fixed IPs
  --icc=true                             Enable inter-container communication
  --insecure-registry=[]                 Enable insecure registry communication
  --ip=<IP_ADDRESS>                           Default IP when binding container ports
  --ip-forward=true                      Enable net.ipv4.ip_forward
  --ip-masq=true                         Enable IP masquerading
  --iptables=true                        Enable addition of iptables rules
  --ipv6=false                           Enable IPv6 networking
  --disable-legacy-registry=false        Do not contact legacy registries
  --registry-mirror=[]                   Preferred Docker registry mirror
  --userland-proxy=true

If you are reporting a new issue, make sure that we do not have any duplicates already open. You can ensure this by searching the issue list for this repository. If there is a duplicate, please close your issue and add a comment to the existing issue instead.
If you suspect your issue is a bug, please edit your issue description to include the BUG REPORT INFORMATION shown below. If you fail to provide this information within 7 days, we cannot debug your issue and will close it. We will, however, reopen it if you later provide the information.
For more information about reporting issues, see CONTRIBUTING.md.
You don't have to include this information if this is a feature request
(This is an automated, informational response)

BUG REPORT INFORMATION
Use the commands below to provide key information from your environment:
docker version:
docker info:
Provide additional environment details (AWS, VirtualBox, physical, etc.):
List the steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
Describe the results you expected:
Provide additional info you think is important:
----------END REPORT ---------
#ENEEDMOREINFO

/ping @calavera

gosh, how did I miss so many?? :pensive:


TableView gesturerecognizer disabled

Hi, apologies as this appears to be similar to a few other questions but I am still struggling with this.
I have the following gesture added to the tableview in viewDidLoad() ...
 override func viewDidLoad() {
        //some initialisation code

        let gesture = UISwipeGestureRecognizer(target: self, action: #selector(dismiss(fromGesture:)))
        tableView.addGestureRecognizer(gesture)
        }
    }

@objc func dismiss(fromGesture gesture: UISwipeGestureRecognizer) {
        navigationController?.popViewController(animated: true)
    }

the SwipeTableViewCellDelegate protocols adopted as follows ...
func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath, for orientation: SwipeActionsOrientation) -> [SwipeAction]? {
         if orientation == .right {
            let deleteAction = SwipeAction(style: .destructive, title: "Delete") { action, indexPath in
                self.dataController.deleteSession(for: self.sessions![indexPath.row])
            }

            deleteAction.image = UIImage(named: "delete_20pt")

            return [deleteAction]
        }
         return nil //this probably needs to return something else ??
    }

func tableView(_ tableView: UITableView, editActionsOptionsForRowAt indexPath: IndexPath, for orientation: SwipeActionsOrientation) -> SwipeTableOptions {
        var options = SwipeTableOptions()
        options.expansionStyle = SwipeExpansionStyle.init(target: .percentage(0.9), additionalTriggers: [.touchThreshold(0.8)], elasticOverscroll: false, completionAnimation: .fill(.automatic(.delete, timing: .with)))
        return options
    }

The delete button shows up fine when swiping from right-to-left and delete action is executed properly. However, the tableView gesture is disabled somehow and does not execute. It does execute outside of the cells (e.g. when I have no cells or after the last cell) so I know it works. What am I doing wrong here?

Just because you only have one swipe action on the right, doesn’t mean users won’t swipe left in relation to that action. They may want to swipe left to close it, they may swipe right and left in one motion, etc. That being said, what is happening is that the cells swipe gesture is taking priority over your own. So you can try the answers here: https://stackoverflow.com/questions/4875255/is-there-any-priority-condition-between-gesture-methods-pan-gesture-and-swipe-g?utm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa

thank you! that worked


Title and description got swapped on Discord

If this is for videos, then it's a limitation of discord's embed system, and there's not much I can do about it.
Image and Text posts should still display correctly


Add proof of concept high resolution audio syncing V2

Continuation of #27
I replaced the default synchronizer in this change, but I guess I should just create a InterpolatedSyncronizer and have the audio backends be able to choose between this and the DefaultSynchronizer?

Sorry, super busy these days, will get better next week.
If you want to implement this within audaspace and not within blender, then yes, this should be a separate class, definitely. It should be possible to plug this on top of another synchronizer, so that you can use it independently of the device and the device doesn't have to know about it.

I'm not quite sure how you want the API to look like.
Could you help a bit with this when you have time?

Sure! First, you should put your code into its own class that implements ISynchronizer and that also has an ISynchronizer it builds on (e.g. by getting another ISynchronizer pointer in the constructor).
Then, since you want to use this from the blender source code, you'll have to make this class accessible through the C API. Currently, the C API only has functions to work with the synchronizer of the device that is currently set within the DeviceManager. I see two options there: you either add functionality to set another synchronizer on top using either the DeviceManager or a new SynchronizerManager which then manages the instance of the ISynchronizer, or you create a straightforward C API for Synchronizers and then the instance has to be managed from within blender. The latter option might be the more difficult one though.

Updated so this can be set at run time via C bindings

Ok, then let me detail a little what I think of the DeviceManager route. I'll give you some steps of what would be to do there:

The following changes in your InterpolatedSynchronizer class are required to be able to "stack" synchronizers on top of each other as discussed above already:

You add a pointer to another synchronizer as a member m_synchronizer, that is set based on a parameter in the (newly added) constructor.
The interface methods that currently call the functions of the handle (handle->seek(time) in seek and handle->getPosition() in getPosition call the respective methods of that synchronizer instead of the handle directly.
The remaining interface methods (play, stop, setSyncCallback and isPlaying) also forward the call to m_synchronizer.

Revert all changes to device classes (IDevice, NULLDevice, SoftwareDevice, JackDevice and OpenALDevice), since the devices don't care if you want to use the InterpolatedSynchronizer on top of them and we thus don't want to change their API, as you do by changing IDevice.
Change the API of the DeviceManager to also manage a synchronizer instance as I meant above:

Add a new static std::shared_ptr<ISynchronizer> m_synchronizer; member to the DeviceManager class.
Add three static methods do set, get and clear it (setSynchronizer, getSynchronizer and releaseSynchronizer) as follows:
The getSynchronizer() method you should return an ISynchronizer* and not the shared_ptr and you also have to check the shared_ptr member first. If it's cleared/not set (i.e. the shared_ptr is a nullptr), you should return the device's synchronizer (`m_device->getSynchronizer()').
The setSynchronizer method expects a shared_ptr and simply sets m_synchronizer to it.
The releaseSynchronizer method simply releases m_synchronizer (m_synchronizer.reset()).

Finally, you can add (change) functions to the C API to be able to use your InterpolatedSynchronizer, changing AUD_Device.cpp/h:

Remove the parameter of AUD_setInterpolatedSynchronizer and in the function's body create a new instance of a InterpolatedSynchronizer in a shared_ptr passing in DeviceManager::getSynchronizer() as constructor parameter and then call DeviceManager::setSynchronizer() with it.
Add a function AUD_releaseSynchronizer() that simply calls DeviceManager::releaseSynchronizer().

That should be it, if I didn't miss something :sweat_smile:

Sorry for not being able to merge in your changes yet.
Before that though I did some more testing and have some questions as I think we might need to iterate a bit more on the core functionality.
I noticed that when starting to play, there is usually some lag before the audio starts. This is usually not an issue when playing back longer animations as the new sync code will make the animation catch up (or slow down) so it matches the audio.
However when playing back smaller loops or when trying to start playback at a critical point (like a audio cue or lip sync for example), this becomes quite annoying.
It seems like even when looping the audio is not prefetched (because we probably lack any way to communicate this...), so on each loop the sync is a bit different at the start.
This is really bad as it makes it kinda unusable just at the start of playback.
So in this sense the older method was better as the playback would remain at the start point until the audio system reported that it had advanced.
So I'm asking you if there perhaps is anyway we could make this nicer?
For just "cold starts" I'm guessing that SDL and OpenAL doesn't support reporting back when it actually starts playback?
If this is the case, then we could "warm up" the audio cache a bit by starting to play back some silence in the background and start playback. During my testing these cold starts have a lag time of around 50-300ms on my computer when starting playback.
But this is a bit tricky too as we probably can't tell exactly when the silent clip has finished playing... Hmm...
For loops though, I guess we could perhaps add some more communication between Blender and audaspace so we prefetch audio into the buffer before it loops around. This way we could hopefully eliminate the jerkiness when jumping from end to start.
Now this is just my initial thoughts. They might be horrible ideas or just flat out wrong. So this is why I am asking you as the audio guru for help.

Hmm, I'm honestly not a big fan of adding an artificial delay here. Maybe it's better to give a higher weight on the audio reported playback position when playback starts or is seeked, i.e. when looping and then gradually increase the correction of the timer?

Just so I don't leave you hanging:
I will probably not have time to work on this for a while now.
So it will take a while until I can continue with this.

Ok, no worries. I'll close this merge request for now. Feel free to open it again as soon, as you have time to work on it again.


Does not handle tcp requests greater than 1 packet

mountebank assumes all tcp requests are 1 packet in length.  Any tcp requests greater than 1 packet will be treated as multiple requests.
Not sure how to handle this, as it may rely on protocol-specific end-of-request sentinel data in the final packet?  If sender sends the FIN bit then it's just a matter of waiting for that to end the request - that can perhaps be controlled through another imposter parameter.

I believe this can only be solved in the general case by JavaScript injection to detect end of request.  Obviously having separate protocols is even better.

Resolved as of bb775b0


making @mui/material work ?

Hey there, we are trying to bring a set of components over that were built using @mui/material components, but we cannot seem to get them to work in fresh.
It seems as tho the context providers do not hydrate correctly.
Has anyone else managed to make this library work in Fresh ?

If someone can give us commercial support for this issue, we are happy to pay for it to be resolved

Can you please provide more details? Error messages, reproduction steps, a repo, etc

Yes of course - please find repro here: https://github.com/inverted-capital/fresh-mui
The file of interest is https://github.com/inverted-capital/fresh-mui/blob/main/islands/Counter.tsx
This is a fresh "fresh" project, and then I added an import for @mui/material along with react compatibility entries.
It would appear that something to do with context isn't being passed down to the component properly, however using these components exactly as here, without any providers for Theme or Cache or anything like that, works as expected since they have some defaults built in.

I did have a quick play around with this but I think the issue might be with using emotion under the hood. It seems the Emotion team aren't too concerned with keeping their API in line with preact.
I did try using goober in an island and that seemed to work. There is an open PR at looking to use goober as a style engine for Material UI, which might be a solution. But I also didn't really try reconfiguring MUI to use styled-components.

@inverted-capital in the Discord, the author of FreshNPM said he has building compatibility for @mui/materialon his to-do list.
Discord Message

Duplicate of https://github.com/denoland/fresh/issues/2219


environment variables with spaces in them unsupported

I noticed that if SSL_PROTOCOLS_OVERRIDE=TLSv1.2 PFS is attempted to be set with this action, it fails because of tokenization issues. It seems impossible to pass any environment variable with spaces in it (I could be mistaken).
I have some ideas implemented that I am using in:
https://github.com/Ambience-public/aptible-deploy-action/blob/master/entrypoint.sh
However, it would be great to see some sort of official support for variables with spaces in the values. I used a JSON serialization/deserialization approach but even a simple quoting approach could be helpful.
Thanks.

Hi,
Thank you for your report! We will add this to the backlog and report back when we expect an update.


Static pods upstream

WIP will convert tests tomorrow

General comment: test cases are missing for the scheduler and the executor parts.

cc for final review @jdef, @ConnorDoyle

other than minor TODO nit, LGTM. before merge we should make sure that this passes unit testing w/ race conditions enabled (I've been fixing these on upstream_k8sm all morning):
$ env KUBE_TEST_ARGS="-v -race" ./hack/test-go.sh plugin/contrib/mesos/pkg/executor

also, it looks like google has started reviewing the upstream PR as-is so we may want to hold off on merging this into upstream_k8sm for now do reduce review confusion. we can submit this as a parallel PR -- it won't build until upstream_k8sm is merged, but it'll still be reviewable.

Tests are failing for me.
$ make test
...
# github.com/GoogleCloudPlatform/kubernetes/plugin/contrib/mesos/pkg/archive
_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/plugin/contrib/mesos/pkg/archive/zip_test.go:27: import "github.com/GoogleCloudPlatform/kubernetes/plugin/contrib/mesos/pkg/archive" while compiling that package (import cycle)
ok  	github.com/GoogleCloudPlatform/kubernetes/pkg/volume/nfs	0.023s
ok  	github.com/GoogleCloudPlatform/kubernetes/pkg/volume/persistent_claim	0.026s
ok  	github.com/GoogleCloudPlatform/kubernetes/pkg/volume/rbd	0.027s
ok  	github.com/GoogleCloudPlatform/kubernetes/pkg/volume/secret	0.028s
ok  	github.com/GoogleCloudPlatform/kubernetes/pkg/volumeclaimbinder	0.026s
ok  	github.com/GoogleCloudPlatform/kubernetes/pkg/watch	0.017s
ok  	github.com/GoogleCloudPlatform/kubernetes/pkg/watch/json	0.025s
FAIL	github.com/GoogleCloudPlatform/kubernetes/plugin/contrib/mesos/pkg/archive [build failed]
ok  	github.com/GoogleCloudPlatform/kubernetes/plugin/contrib/mesos/pkg/election	0.019s
# github.com/GoogleCloudPlatform/kubernetes/plugin/contrib/mesos/pkg/scheduler/service
_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/plugin/contrib/mesos/pkg/scheduler/service/service.go:461: not enough arguments in call to election.Notify
_output/local/go/src/github.com/GoogleCloudPlatform/kubernetes/plugin/contrib/mesos/pkg/scheduler/service/service_test.go:137: undefined: manifests
ok  	github.com/GoogleCloudPlatform/kubernetes/plugin/contrib/mesos/pkg/executor	4.049s
...


Delete slot

This doc needs to be updated to mention that you can also delete slots.

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

ID: f07461b2-a8a2-ec6f-769b-14b384777be3
Version Independent ID: 2c72f09d-b198-461c-fc0d-1c3bd0a870c4
Content: Azure App Service Manage task - Azure Pipelines
Content Source: docs/pipelines/tasks/deploy/azure-app-service-manage.md
Product: devops
Technology: devops-cicd
GitHub Login: @RoopeshNair
Microsoft Alias: ronai

think this is still an issue unless - I am unable to "re open" though.

@dazinator: We accept contributions--if you have the info that needs added to the doc, can you open a pull request against the article? We have a team standing by to review and accept PRs.


Connecting Via AWS IAM Assume Role Not Working

Trying to utilize AWS Assume Role to access timestream. Confirmed put the .aws folder with the config and credentials file in the proper place in the home directory of the grafana user. Also made sure all permissions is 644. Also confirmed aws default profile works via:
$ sudo -u grafana aws timestream-write list-databases
{
    "Databases": [
        {
            "Arn": "xxxxxxxxxxxxxxxxxxxxx",
            "DatabaseName": "xxxxxxxxxxxx",
            "TableCount": 2,
            "KmsKeyId": "xxxxxxxxxxxxxxx",
            "CreationTime": "2020-10-05T11:48:06.024000-05:00",
            "LastUpdatedTime": "2020-10-05T11:48:06.017000-05:00"
        }
    ]
}

However, when trying from the grafana UI, I get the following:

NoCredentialProviders: no valid providers in chain. Deprecated. For verbose messaging see aws.Config.CredentialsChainVerboseErrors

Can you check with the 1.1.0 release?  the authentication method now matches cloudwatch  https://grafana.com/docs/grafana/latest/datasources/cloudwatch/#authentication

I can confirm this works now. NOTE: the solution does not honor ~/.aws/config. The config must be manually inputted into the connection details in the plugin settings page.
Assume Role ARN must be set to role_arn
Credentials Profile Name must be set to source_profile
from the config file.


z3 power function leads to nonlinear real arithmetic, colliding with quantifier formula

see from #59

using a custom, recursive power function makes the originating problem satisfiable again
; prepare pow(a,b) = a ^ b
(define-fun-rec pow ((a Int) (b Int)) Int
  (ite (= 0 b)
    ; a ^ 0 = 1
    1
    (ite (= 0 (mod b 2))
      ; b even
      (* (pow a (div b 2))(pow a (div b 2)))
      ; b odd
      (* a (pow a (- b 1)))
    )
  )
)
; prepare set = {1,2}
(declare-const set (Array Int Bool))
(assert (= set (store (store ((as const (Array Int Bool)) false) 1 true) 2 true)))
; prepare x
(declare-fun x () Int)
(assert (= (pow x 2) (* x x)))
; assert existence of y with y U set = set
(assert (exists ((y Int)) (let ((setUnion ((as union (Array Int Bool)) (store ((as const (Array Int Bool)) false) y true) set)))(= setUnion set))))
(check-sat)

We can not define a (recursive) function directly, so using (obtained via Context::parseSMTLIB2String(..)):
(declare-fun pow (Int Int) Int)
(assert (forall ((a Int) (b Int))
  (! (let ((a!1 (ite (= 0 (mod b 2))
                     (* (pow a (div b 2)) (pow a (div b 2)))
                     (* a (pow a (- b 1))))))
       (= (pow a b) (ite (= 0 b) 1 a!1)))
     :pattern ((pow a b))
     :qid |:rec-fun|)))

51f562958959df96649a40b528e5761eae98d748 makes all tests pass, but is it a good idea to go this way?

In fact, we have no idea if this is the way to go. So far, nobody has implemented a full-blown model checker for B using Z3. In consequence, the question how best to encode exponentiation has not been answered yet. This is the first commit really hitting an open research questions.

In the long run, different encodings have to be compared thoroughly. Furthermore, we might set up both translations at once and let Z3 pick the way to proceed?


Constant Execution of exec

Affected Puppet, Ruby, OS and module versions/distributions

Puppet:  2016.4.2
Ruby:
Distribution:
Module version: v2.0.2

How to reproduce (e.g Puppet code you use)
      iis::manage_binding { "${sitename}_all_HTTPS":
        site_name              => $sitename,
        protocol               => 'https',
        port                   => '443',
        ip_address             => '*',
        certificate_thumbprint => hiera("cert::www-${tier}_bna_com::thumbprint"),
        require                => [
          Iis::Manage_site[$sitename],
          Cert_pfxcertificate::Import["www ${tier} server cert"]],
      }

What are you seeing
exec { "Attach-Certificate-${title}":
  command   => "C:\\temp\\create-${name}.ps1",
  onlyif    => "C:\\temp\\inspect-${name}.ps1",
  require   => [File["inspect-${title}-certificate.ps1"], File["create-${title}-certificate.ps1"]],
  provider  => powershell,
  logoutput => true,
}

What behaviour did you expect instead
I would expect it to only execute once.
Output log
Any additional information you'd like to impart

Hi,
could you share the content of C:\temp\inspect-*.ps1 as generated on your agent system?

Here you go.  Thanks,
inspect-BnaCart-q - remove prod HTTPS binding.txt

here you go

inspect-BnaCartHTTPS.txt
inspect-BnaCartremoveHTTPS.txt

There you go,
Thanks,
Jacob

Cool, thanks. So there are two HTTPS bindings managed on this machine?
The inspect-BnaCartremoveHTTPS.txt looks weird, as though it was generated from the create- template rather than the inspect- one.
I'll have to look into the issue more closely...

More questions: Are all these HTTPS bindings firing on every run?
Also, could this be a duplicate of #33? Spaces in binding names seem to be an issue...?

yes they are firing on everyone and I do have a c;\temp directory so I don't think that is the issue.

2016-09-26
13:17 Z
notice
Local environment: 'production' doesn't match server specified node environment 'development', switching agent to 'development'.
Source:	Puppet
2016-09-26
13:18 Z
notice
Source:	/Stage[main]/Bna_iis::Bna::Cart/Iis::Manage_binding[BnaCart-a - all HTTPS]/Exec[Attach-Certificate-BnaCart-a - all HTTPS]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	48
2016-09-26
13:18 Z
notice

CategoryInfo : ObjectNotFound: (C:\temp\create-BnaCart-a:String) [], CommandNotFoundException
Source:	/Stage[main]/Bna_iis::Bna::Cart/Iis::Manage_binding[BnaCart-a - all HTTPS]/Exec[Attach-Certificate-BnaCart-a - all HTTPS]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	48
2016-09-26
13:18 Z
notice
FullyQualifiedErrorId : CommandNotFoundException
Source:	/Stage[main]/Bna_iis::Bna::Cart/Iis::Manage_binding[BnaCart-a - all HTTPS]/Exec[Attach-Certificate-BnaCart-a - all HTTPS]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	48
2016-09-26
13:18 Z
notice
C:\temp\create-BnaCart-a - all HTTPS.ps1
Source:	/Stage[main]/Bna_iis::Bna::Cart/Iis::Manage_binding[BnaCart-a - all HTTPS]/Exec[Attach-Certificate-BnaCart-a - all HTTPS]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	48
2016-09-26
13:18 Z
notice

Source:	/Stage[main]/Bna_iis::Bna::Cart/Iis::Manage_binding[BnaCart-a - all HTTPS]/Exec[Attach-Certificate-BnaCart-a - all HTTPS]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	48
2016-09-26
13:18 Z
notice
At line:1 char:1
Source:	/Stage[main]/Bna_iis::Bna::Cart/Iis::Manage_binding[BnaCart-a - all HTTPS]/Exec[Attach-Certificate-BnaCart-a - all HTTPS]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	48
2016-09-26
13:18 Z
notice
C:\temp\create-BnaCart-a : The term 'C:\temp\create-BnaCart-a' is not recognized as the name of a cmdlet, function,
Source:	/Stage[main]/Bna_iis::Bna::Cart/Iis::Manage_binding[BnaCart-a - all HTTPS]/Exec[Attach-Certificate-BnaCart-a - all HTTPS]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	48
2016-09-26
13:18 Z
notice
correct and try again.
Source:	/Stage[main]/Bna_iis::Bna::Cart/Iis::Manage_binding[BnaCart-a - all HTTPS]/Exec[Attach-Certificate-BnaCart-a - all HTTPS]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	48
2016-09-26
13:18 Z
notice
executed successfully
Source:	/Stage[main]/Bna_iis::Bna::Cart/Iis::Manage_binding[BnaCart-a - all HTTPS]/Exec[Attach-Certificate-BnaCart-a - all HTTPS]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	48
2016-09-26
13:18 Z
notice
script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is
Source:	/Stage[main]/Bna_iis::Bna::Cart/Iis::Manage_binding[BnaCart-a - all HTTPS]/Exec[Attach-Certificate-BnaCart-a - all HTTPS]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	48
2016-09-26
13:18 Z
notice
Applied catalog in 32.55 s

Ah, well, I was actually thinking of this comment. Could you try changing your resource title so that they don't contain spaces anymore.
E.g. manage_binding { 'BnaCart-a_-_all_HTTPS': ... } with underscores instead of spaces.
If this does the trick, I will address this by adding code to make sure spaces are no longer accepted in the first place. (Or, fix the script, but that sounds boring ;-)

I will try that and let you know

I refactored the names and pushed to my dev, but no change.
2016-09-29
13:05 Z
notice
Local environment: 'production' doesn't match server specified node environment 'development', switching agent to 'development'.
Source:	Puppet
2016-09-29
13:06 Z
notice
Source:	/Stage[main]/Bna_iis::Ecds::Messagebus/Iis::Manage_binding[backoffice-alp.services.bna.com_-net.msmq]/Exec[CreateBinding-backoffice-alp.services.bna.com-_net.msmq]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	22
2016-09-29
13:06 Z
notice

CategoryInfo : InvalidArgument: (:) [New-WebBinding], ParameterBindingException
Source:	/Stage[main]/Bna_iis::Ecds::Messagebus/Iis::Manage_binding[backoffice-alp.services.bna.com_-net.msmq]/Exec[CreateBinding-backoffice-alp.services.bna.com-_net.msmq]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	22
2016-09-29
13:06 Z
notice
FullyQualifiedErrorId : MissingArgument,Microsoft.IIs.PowerShell.Provider.NewWebBindingCommand
Source:	/Stage[main]/Bna_iis::Ecds::Messagebus/Iis::Manage_binding[backoffice-alp.services.bna.com_-net.msmq]/Exec[CreateBinding-backoffice-alp.services.bna.com-_net.msmq]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	22
2016-09-29
13:06 Z
notice

Source:	/Stage[main]/Bna_iis::Ecds::Messagebus/Iis::Manage_binding[backoffice-alp.services.bna.com_-net.msmq]/Exec[CreateBinding-backoffice-alp.services.bna.com-_net.msmq]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	22
2016-09-29
13:06 Z
notice

... vices.bna.com" -Port -Protocol "netmsmq" -HostHeader "" -IPAddress "*" -SslFlag ...
Source:	/Stage[main]/Bna_iis::Ecds::Messagebus/Iis::Manage_binding[backoffice-alp.services.bna.com_-net.msmq]/Exec[CreateBinding-backoffice-alp.services.bna.com-net.msmq]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	22
2016-09-29
13:06 Z
notice
At line:1 char:89
Source:	/Stage[main]/Bna_iis::Ecds::Messagebus/Iis::Manage_binding[backoffice-alp.services.bna.com-net.msmq]/Exec[CreateBinding-backoffice-alp.services.bna.com-net.msmq]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	22
2016-09-29
13:06 Z
notice
New-WebBinding : Missing an argument for parameter 'Port'. Specify a parameter of type 'System.UInt32' and try again.
Source:	/Stage[main]/Bna_iis::Ecds::Messagebus/Iis::Manage_binding[backoffice-alp.services.bna.com-net.msmq]/Exec[CreateBinding-backoffice-alp.services.bna.com-net.msmq]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	22
2016-09-29
13:06 Z
notice
executed successfully
Source:	/Stage[main]/Bna_iis::Ecds::Messagebus/Iis::Manage_binding[backoffice-alp.services.bna.com-net.msmq]/Exec[CreateBinding-backoffice-alp.services.bna.com-_net.msmq]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	22
2016-09-29
13:06 Z
notice
Applied catalog in

on another one I get this.
2016-09-29
12:42 Z
notice
Local environment: 'production' doesn't match server specified node environment 'development', switching agent to 'development'.
Source:	Puppet
2016-09-29
12:43 Z
notice
executed successfully
Source:	/Stage[main]/Bna_iis::Bna::Cart/Iis::Manage_binding[BnaCart-d_-all_HTTPS]/Exec[Attach-Certificate-BnaCart-d-_all_HTTPS]/returnsFile:	/etc/puppetlabs/code/environments/development/modules/iis/manifests/manage_binding.ppLine:	48
2016-09-29
12:43 Z
notice
Applied catalog in 41.00 seconds
Should it still be executing?

Humm, bummer. I cannot reproduce for lack of a Windows box. So I'm afraid I won't be able to dig into this any further.

alright, thanks

one last thing.
I think removing the spaces helped but now its still constantly executing.
executed successfully
Source:	/Stage[main]/Bna_iis::Bna::Cart/Iis::Manage_binding[BnaCart-q_-all_HTTPS]/Exec[Attach-Certificate-BnaCart-q-_all_HTTPS]/returnsFile:	/etc/puppetlabs/code/environments/testing/modules/iis/manifests/manage_binding.ppLine:	48
not sure why?

I also I have noticed that this.
Test-Path IIS:\SslBindings*!443,IIS:\SslBindings*!443!
returns
true
false
so none of the inspection is actually done.

Could you please edit your comments and add some formatting? It's hard to see what's going on, particularly the "returns true false" part. Thanks!

In the inspect-xxxx.ps1 is an if statement.
if((Test-Path IIS:\SslBindings*!443,IIS:\SslBindings*!443!) -eq $true)
This if statement returns two values, true and false
Test-Path IIS:\SslBindings*!443 returns true
Test-Path IIS:\SslBindings*!443! returns false
The if statement is not satisfied so the code is skipped and not test is done.

Oh, OK, now I got you. Thanks again.
Good catch, this might be an issue indeed. So in Windows, does exit 0 mean that the test failed?
This could be a bug, because the second query is expanded from
IIS:\SslBindings\<%= @ip_address %>!<%= @port %>!<%= @host_header %>

Perhaps this makes no sense if $host_header is empty?
I looked at the history, and this second query was introduced in the squash commit 762b8. I cannot easily tell the reasoning. I guess this is about SNI?
Could you try passing a sensible host_header parameter value? See if that helps?

I think the inspect-certificate-bindings.ps1.erb should be like this.
Import-Module WebAdministration
if((Test-Path IIS:\SslBindings\<%= @ip_address %>!<%= @port %>) -or (Test-Path IIS:\SslBindings\<%= @ip_address %>!<%= @port %>!<%= @host_header %>)) {
    $site = Get-Website | Where-Object { $_.Name -eq "<%= @site_name %>" }
    $store = "<%= @store %>"
    $certsAttachedToSite = Get-ChildItem IIS:\SSLBindings | ? { $site | Select-Object { $_ -contains $_.Sites.Value }} | % { $_.Thumbprint }
    $certificate = Get-ChildItem CERT:\LocalMachine\$store | ? { $certsAttachedToSite -contains $_.Thumbprint} | Where-Object { $_.Thumbprint -eq "<%= @certificate_thumbprint %>" }
    if ($certificate -ne $null ){
        exit 1
    }
    else {
        exit 0
    }
}
else {
    exit 0
}

Cool. Way to go @jwtdrjj thanks for the patch. Is this resolved then?

well I now get the correct exit code but its still consistently notifying.  I am starting to debug again.

ok new wrinkle
exec { "Attach-Certificate-${title}":         command   => "C:\\temp\\create-${name}.ps1",         onlyif    => "C:\\temp\\insert-${name}.ps1",         require   => [File["inspect-${title}-certificate.ps1"], File["create-${title}-certificate.ps1"]],         provider  => powershell,         logoutput => true,
This code returns an exit code of 1 and thats what we want but it still executes.
exec { "Attach-Certificate-${title}":         command   => "C:\\temp\\create-${name}.ps1",         onlyif    => "Import-Module WebAdministration;                       if((Test-Path IIS:\\SslBindings\\\'${ip_address}\'!\'${port}\') -Or (Test-Path IIS:\\SslBindings\\\'${ip_address}\'!\'${port}\'!$\'{host_header}\'));                       {;                         $site = Get-Website | Where-Object { $_.Name -eq \'${site_name}\' };                         $store = \'${store}\';                         $certsAttachedToSite = Get-ChildItem IIS:\\SSLBindings | ? { $site | Select-Object { $_ -contains $_.Sites.Value }} | % { $_.Thumbprint };                         $certificate = Get-ChildItem CERT:\\LocalMachine\\$store | ? { $certsAttachedToSite -contains $_.Thumbprint} | Where-Object { $_.Thumbprint -eq \'${$certificate_thumbprint}\' }; 	                      if ($certificate -ne $null ){exit 1};                         else {exit 0};};                       else {exit 0}",         require   => [File["inspect-${title}-certificate.ps1"], File["create-${title}-certificate.ps1"]],         provider  => powershell,         logoutput => true,
I take the code out of the erb and put it straight in the onlyif parameter and it no longer executes every run.
Does anyone have any thoughts?

I daresay it does not execute at all anymore. A piece of Powershell code is not a valid command, so it just silently fails and hence breaks the onlyif condition.

Hi. I'm going to close this Issue. We deprecated the module and the new version is available here: https://forge.puppet.com/puppetlabs/iis


add test_histogram_ci_plot

As per the chat from Slack, I will raise the PR first and see how it goes! Thanks

Looks good to me.

things look good to me too! I am going to merge them!


parsing text data (markdown) (parser module)

Parser module
A module for parsing markdown formatting into HTML inside of provided text. At this stage, the processed markdown tags could be really basic, such as bold, italics and headers only
Public methods

[ ] Parse markdown

nasty template just bounces back passed text for now

closed with #30


Nested loop bug. Uncaught TyperError

I have this variable.
const errors = {
  mail: ["can't be blank"]
  password: ["can't be blank"]
  username: [
    "can't be blank",
    "is too short (minimum is 1 character)",
    "is too long (maximum is 20 characters)"
  ]
}

Rendering that value will be error if it like this:
if errors
  <ul.error-messages>
    for field, value of errors
      for message in value
        <li>
          field + " " + message

And producing error like: Uncaught TypeError: $1.$iter is not a function. But, it would be fine if I insert some text between the nested loops like this:
if errors
  <ul.error-messages>
    for field, value of errors
      " " # Insert some whitespace. This works fine
      for message in value
        <li>
          field + " " + message

Just notice that inserting some whitespace ruining the order of array and doesn't even work on all cases. Well, for now I just had to merge multiple array into one variable before rendering it.


isoseq cluster2 crashes on "truncated" file generated by isoseq refine

Operating system
Which operating system and version are you using?
Red Hat Enterprise Linux 8.6 (Ootpa)
Conda environment
# Name                    Version                   Build  Channel
isoseq                    4.2.0                h9ee0642_0    bioconda
lima                      2.12.0               h9ee0642_1    bioconda
pbmm2                     1.16.0               h9ee0642_0    bioconda

Describe the bug
Hi, I am trying to process some Kinnex RNASeq data.
After isoseq refine, which ends without error, isoseq cluster2 runs for a while and then stops, I think at the sorting step, complaining for the file (generated by refine) to be corrupted. I tried running it a couple of times from scratch but with no success.  Could suggest how to fix this, please? :)
Thank you in advance!
Error message and to reproduce
pacbioerror.txt

Thanks for the reply!
Yes, the data is mounted via NFS. Do you have perhaps any pointers to see if it's an issue of the HPC?

Maybe the random access doesn't work properly. Is there any way to keep the intermediate files local to that node?

I'll talk with our admin. Thank you for the help!


fix(nuxt): deeply unwrap headers/query for useFetch key

🔗 Linked issue
resolves https://github.com/nuxt/nuxt/issues/24294
resolves https://github.com/nuxt/nuxt/issues/24300
❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme or JSdoc annotations)
[x] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
This makes sure we deeply unwrap headers/params objects when computing hash for automatic fetch key so we don't trigger a mismatch on client-side.
📝 Checklist

[x] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

wow that was fast :fire:


Read identity columns visibility from parent

By design, the visibility of an identity column cannot be changed using ManageColumns dialog. However we cannot assume it's constant: the parent component is free to hide/show any column.

a way it could be done differently as succinctly

succinctly, I'm going to use this word 👍


When specifying a transition, it should be possible to reference more than one card.

The problem: there may be several cards that transition, via the same logic, to a new card. Currently, there needs to be a decorator for each card. Such repetition is not helpful or expressive.
The proposed solution: it should be possible to specify a list of card names/instances to which a specific action and target. For example, imagine a situation where several cards all have a button with the id of checkout that, when clicked, takes them to the checkout card. Instead of multiple transitions, a single transition, with a list of cards, could be used instead:
@my_app.transition(["home", "basket", "results", ], "click", "checkout")
def to_checkout(app, card):
    ... common logic ...
    return "checkout"

This is a more constrained version of the "*" wildcard that could be passed in to specify all cards.
Clearly, depending on which card the user is currently viewing, the value of the card argument into the decorated function will be different depending on if the user is coming from the home, basket or results card.

Fixed, in record time by @mchilvers in #47. :rocket:


Move /tmp/symfony2app to some other location because /tmp is cleared after reboot.

https://github.com/by-examples/symfony-vagrant-box-factory/issues/1

Inside reload.sh add:
if (/tmp/symfony2app) doesnt exist
    mkdir -p ...
    chmod ...


Disable memory leak spec for TruffleRuby

GC.disable and GC.enable are mock implementations in TruffleRuby which causes this spec to fail.

In future we might do something about this in rspec-support for improving the detection of Rubies supporting such tweaks but for now I see no harm in merging this.

Thanks!

A conservative check for this would be to only try GC.enable/GC.disable if RUBY_ENGINE == 'ruby'.
Most VMs don't allow to disable GC dynamically because it's so dangerous.

Thanks for all of those patch for TruffleRuby


Report of cape_cocoa junction not working

https://cdn.discordapp.com/attachments/883443656651067473/883443900470149200/unknown.png
This switch isn't working right, according to a report.

The sign and detector rail were on different groups, probably because of a reinforcement rollback.


how to use dtreeviz in streamlit

i m working on a collage project on machine learning , where i want to show tree visualisation , help would be great.

hi @Anshufi, I'm not aware how dtreeviz could be used in Streamlit. If you succeed to do this or anyone from the community did it and willing to share, would be great !

https://discuss.streamlit.io/t/dtreeviz-on-streamlit/9970/6


powerSaveBlocker crash

Error: Parse Error
    at Error (native)
    at TLSSocket.socketOnData (_http_client.js:305:20)
    at emitOne (events.js:77:13)
    at TLSSocket.emit (events.js:169:7)
    at readableAddChunk (_stream_readable.js:146:16)
    at TLSSocket.Readable.push (_stream_readable.js:110:10)
    at TLSWrap.onread (net.js:520:20)
    at EventEmitter.ipc.sendSync (/Users/ivogeorgiev/linvo-cinematic/node_modules/electron-prebuilt/dist/Electron.app/Contents/Resources/atom.asar/renderer/api/lib/ipc.js:21:31)
    at RemoteMemberFunction [as stop] (/Users/ivogeorgiev/linvo-cinematic/node_modules/electron-prebuilt/dist/Electron.app/Contents/Resources/atom.asar/renderer/api/lib/remote.js:131:29)
    at EventEmitter.<anonymous> (file:///Users/ivogeorgiev/linvo-cinematic/services/player-core.js:106:46)

I get this message when using the power-save-blocker module, like this:
powerSaveBlocker.start("prevent-display-sleep")

Can you share a full example? The error is apparently from renderer process, but powerSaveBlocker is only available in the main process.

It's simply required before that with remote.

I can't reproduce, and from the stack trace the place that crash is from your code, not from Electron.

@zcbenz no, it is not. The last time my code worked in that stack trace is line 106 in player-core, which is:
        else if (blocker) { powerSaveBlocker.stop(blocker); blocker = null; }

And powersaveblocker is
var powerSaveBlocker = remote.require("power-save-blocker");

And it's not easy to reproduce because it doesn't happen often.

From the stack trace the exception came from net or http module. Due to #1966 Node's message loop is still running when calling a remote method while waiting for browser process to response, the exception happened to occur when calling powerSaveBlocker.start("prevent-display-sleep").
I suggest rechecking your code that use net or http module and catch all the errors in sockets and clients, it is very likely you didn't catch errors for a http request.
I'm closing this because the error apparently came from the client side and we can really do nothing if there is no reproducible example.


Trigger arbitrary PDF parsing manually

Use pdf.js to manually parse an arbitrary pdf currently open

Or manual form?
https://scholar.harvard.edu/files/dtingley/files/topicmodelsopenendedexperiments.pdf


Decoy drill level issue while incrementing a variable

On the decoy drill level this code works:

totalGold = 0
decoysBuilt = 0
while True:
coin = hero.findNearestItem()
if coin:
    hero.moveXY(coin.pos.x, coin.pos.y)
    totalGold = hero.gold
if totalGold >= 25:
    hero.buildXY("decoy", hero.pos.x-5, hero.pos.y)
    decoysBuilt += 1
if decoysBuilt >= 4:
    break

hero.say("Zakończono stawianie wabików!")
hero.moveXY(14, 36)
hero.say(decoysBuilt)

but if you change the line
totalGold = hero.gold
to
totalGold += coin.value
then the hero stucks after the first decoy is built. Also if you use totalGold = totalGold + coin.value.

You would have to decrement totalGold by 25 whenever you build a decoy if you wanted to use your own totalGold counter here, otherwise you think you still have 25+ gold after you built the first decoy.


Tempfile fails with FakeFS installed: Directory not found

Attempting to create a Tempfile when I have the FS faked gives me an error, because Tempfile is trying to make the lockfile in the current directory, which hasn't been created in the fake filesystem. I'm not sure what can be done about this, except maybe to have FakeFS redefine Dir::tmpdir and automatically create it. I'm working on a patch, but wanted this documented.

I am using @defunkt master branch. I am unable to create a Tempfile - No such file or directory - tmp. Is there any new knowledge about a fix for this?


[Feature]: Planned battery SOC at evening.

Contact Details
<EMAIL_ADDRESS>Description
I would like to set the planned SOC battery will have in the evening.
My safe SOC value is 60%.
The system has no priority to achieve this in the evening.
According to observation, the battery starts to charge during the lowest price. As long as it can charge, the SOC will be in the evening.
Suggested Solution
I suggest to start charging the battery in the morning. Priority to have SOC more than set in the evening. In the picture I marked in red.

Alternatives
No response
Additional Context
No response

This disables the grid when the battery below 60% SOC and turns it back on when battery is lower then 5% SOC :

Function :
if(msg.payload >60 || msg.payload < 5){
msg.payload = (3);
}
else{
msg.payload = (2);
}
return msg;

Thank you, very simple and inspiring. The problem is only in overload. Then the whole system crashes.  I have a Multiplus II 5kW and sometimes it happens that I overload it.  Any solution that would also work with the grid connected?

Only my usage above 5kW.  It is a overload of the inverter.

Add this if it's a one fase system :

This function :
if(msg.payload >4900){
global.set("state", (3));
}
else{
global.set("state",(2));
}
Function from previous message :
var state = global.get("state")
if(msg.payload >60 || msg.payload < 5 || state == 3){
msg.payload = (3);
}
else{
msg.payload = (2);
}
return msg;


Wrong smarty context in ProductTab

Fixing bug on hook productTab.
Wrong smarty context.

@icedocemile  Hi Thank you for your contribution. Could you fix the conflicting file in your PR (with rebase, if possible) ?


[270] GtR mapping (also table name typo)

Closes #270
Closes #206

[x] Address #206
[x] Add GtR schema transformation (tier_1/datasets/gtr.json)
[x] Add GtR ES mapping base (tier_1/mapping/datasets/gtr_mapping.json)

Note @mindrones that this PR is in advance of #271 where I will pipe the GtR data with this mapping into ES7, from where it can be validated, including deeper iteration on the schema as features are understood or desired.


MQLight monitoring should start a request for incoming messages

@sjanuary I should have picked this up during the PR review. In the following:
https://github.com/RuntimeTools/appmetrics/blob/master/probes/mqlight-probe.js#L130
the request is always set to being a root (ie, the start of a new request). That should only apply to messages received on a subscribed topic - outbound published messages may form part of a request but won't be the start of one.
Can you add a check for the method type and set true/false as appropriate?

Yes, I will take a look.  So a 'publish' method will be root, but otherwise false.

The desired behaviour is the reverse - an incoming message event can drive the application to do work, and therefore should be a request root, whereas an outgoing publish is likely to occur as a result of other work in the system, so should be an event in an existing request.

Ok, I think I understand the idea now.
Committed the fix to my mqlight branch:
https://github.com/sjanuary/appmetrics/commit/71cc4d7d99b58dc079a056530366735952a86601

That looks good. Can you open a PR?

Done, #88

Fixed by #88


fix(variant-group): when the content contains extra quotation marks, the replacement will not succeed

fix: #1215
revert #831 (Matching the content of quotes can get very complicated)
And Fix the problem that repeated use of MagicString.replace does not work. refer https://github.com/Rich-Harris/magic-string/issues/208

I think it's a bit no strictly.

I do like the improvement of magic string tho


raw response time without statistical processing

Hello, my team need raw response time without any processing. Namely, we don't need the traditional statistical information. Because we have self-defined metrics.
If it is possible, could you add an option for fetching raw response time?
Thank you!

The request event (https://docs.locust.io/en/stable/extending-locust.html) is ”raw”, so you might be able to use that. Like how it is done in https://github.com/SvenskaSpel/locust-plugins/blob/master/examples/timescale_listener_ex.py


Upgrade js-yaml to 4.1.0

This PR is in regards to this issue in js-yaml.
Our team would like to use js-yaml@v4 to process yaml files after conversion from this tool. However, when you load() a document with v4 that was dump()ed by v3, values with prepended zeros like 08 will get turned into 8. This means that value is now a YAML number instead of a string. With this PR, values like 08 will be wrapped in quotes and will be properly load()ed as a string by js-yaml@v4.
From what I can tell, this should not break any users who might now be dumping (with this tool) with v4 and loading afterwards with v3 because v4 dumps of 08 are wrapped in quotes to remove any ambiguity. It does remove quotes from other strings but I don't see any issues with those because they are not ambiguous.  It still probably worth a Minor version upgrade, though.

Thank you for detailed description!
Released as v1.14.0.


just a comment to kick off a travis run

NOTE: Please read the CONTRIBUTING.md guidelines before submitting your patch,
and ensure you followed them all:
https://github.com/Kong/kong/blob/master/CONTRIBUTING.md#contributing
Summary
SUMMARY_GOES_HERE
Full changelog

[Implement ...]
[Add related tests]
...

Issues resolved
Fix #XXX

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

Sorry.  Newb mistake.  Deleting.


Getting error while generating passcode

[DEBUG] Config File: C:\Users\Nilay.twilio-cli\config.json
[DEBUG] Using profile: nilTest
[DEBUG] -- BEGIN Twilio API Request --
[DEBUG] GET https://serverless.twilio.com/v1/Services
[DEBUG] Custom HTTP Headers:
[DEBUG] User-Agent: @twilio/cli-core/5.13.0 (twilio-node/3.53.0, node.js v14.15.1, win32 10.0.19041 x64, rtc:apps:video:deploy)
[DEBUG] -- END Twilio API Request --
[DEBUG] response.statusCode: 200
[DEBUG] response.headers: {"date":"Mon, 07 Dec 2020 11:06:05 GMT","content-type":"application/json; charset=utf-8; charset=utf-8","content-length":"1067","connection":"close","twilio-concurrent-requests":"1","twilio-request-id":"RQf8f9bb1253094b7a95af2462772442e8","twilio-request-duration":"0.024","access-control-allow-origin":"","access-control-allow-headers":"Accept, Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since","access-control-allow-methods":"GET, POST, DELETE, OPTIONS","access-control-expose-headers":"ETag","access-control-allow-credentials":"true","x-powered-by":"AT-5000","x-shenanigans":"none","x-home-region":"us1","x-api-domain":"serverless.twilio.com","strict-transport-security":"max-age=31536000"}
[DEBUG] -- BEGIN Twilio API Request --
[DEBUG] GET https://serverless.twilio.com/v1/Services/ZS98611d9174366825df226b9a3916e14e/Environments
[DEBUG] Custom HTTP Headers:
[DEBUG] User-Agent: @twilio/cli-core/5.13.0 (twilio-node/3.53.0, node.js v14.15.1, win32 10.0.19041 x64, rtc:apps:video:deploy)
[DEBUG] -- END Twilio API Request --
[DEBUG] response.statusCode: 200
[DEBUG] response.headers: {"date":"Mon, 07 Dec 2020 11:06:06 GMT","content-type":"application/json; charset=utf-8; charset=utf-8","content-length":"380","connection":"close","twilio-concurrent-requests":"1","twilio-request-id":"RQ80af8255e73343dd85d0b6e8abf82971","twilio-request-duration":"0.016","access-control-allow-origin":"","access-control-allow-headers":"Accept, Authorization, Content-Type, If-Match, If-Modified-Since, If-None-Match, If-Unmodified-Since","access-control-allow-methods":"GET, POST, DELETE, OPTIONS","access-control-expose-headers":"ETag","access-control-allow-credentials":"true","x-powered-by":"AT-5000","x-shenanigans":"none","x-home-region":"us1","x-api-domain":"serverless.twilio.com","strict-transport-security":"max-age=31536000"}
[DEBUG] Found command "rtc:apps:video:deploy" plugin: @twilio-labs/plugin-rtc
» twilio-cli encountered an unexpected error. To report this issue, execute the command with the "-l debug" flag, then copy the output to a new issue here: "https://github.com/twilio-labs/plugin-rtc"
[DEBUG] Cannot read property 'sid' of undefined
[DEBUG] TypeError: Cannot read property 'sid' of undefined
at DeployCommand.getAppInfo (C:\Users\Nilay.twilio-cli\node_modules@twilio-labs\plugin-rtc\src\helpers.js:78:64)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async DeployCommand.run (C:\Users\Nilay.twilio-cli\node_modules@twilio-labs\plugin-rtc\src\commands\rtc\apps\video\deploy.js:18:20)
at async DeployCommand._run (C:\Users\Nilay.twilio-cli\node_modules@oclif\command\lib\command.js:43:20)
at async Config.runCommand (C:\Users\Nilay\AppData\Roaming\npm\node_modules\twilio-cli\node_modules@oclif\config\lib\config.js:173:24)
at async Main.run (C:\Users\Nilay\AppData\Roaming\npm\node_modules\twilio-cli\node_modules@oclif\command\lib\main.js:27:9)
at async Main._run (C:\Users\Nilay\AppData\Roaming\npm\node_modules\twilio-cli\node_modules@oclif\command\lib\command.js:43:20)
»   Error: EEXIT: 1
»   Code: EEXIT

Thanks for the report @nilayAcquire
Could you please provide some additional context? Specifically, it would be helpful if you could provide the following information:

What steps did you take that produced this error?
What version of the Twilio CLI are you using?
What version of plugin-rtc are you using?
What OS and version are you running?

In the meantime, let's try upgrading your version of the plugin to see if that does the trick.
To upgrade your CLI plugins, run twilio plugins:update.
Once that is done, run twilio rtc:apps:video:delete to remove any video apps that have been deployed with an older version of the plugin.
Then, try deploying a new video app. I hope this helps!

Hey @nilayAcquire
I am closing this issue for now. Please let us know if you need any further assistance triaging this issue.
Thanks!

Hey @nilayAcquire
I am closing this issue for now. Please let us know if you need any further assistance triaging this issue.
Thanks!


cmd/update-reset: accept tap names as arguments

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.

[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

Currently, doing brew update-reset homebrew/core does nothing (not
even return an error). If you want to update-reset a given tap, you
must do (the equivalent of)
brew update-reset "$(brew --repository owner/tap_name)"

This isn't very intuitive, so let's do a bit more work in argument
parsing so that the user can just pass a tap name instead of a path to a
tap.
Passing a path to a tap is also still supported.

Review period will end on 2023-02-17 at 16:02:18 UTC.

This logic will not behave the same as the tap naming logic in Ruby and is likely to further confuse.

I don't follow. It does use the same tap naming logic as in Ruby. If you mean it allows you to refer to a tap as homebrew/homebrew-core instead of just homebrew/core, then that can be easily removed.

It does use the same tap naming logic as in Ruby.

It's not identical logic and it's not identical code.
I think this is much more easily and reliably fixed by updating documentation and error messaging rather than trying to parse a new format of input consistently.

Review period ended.

Instead, let's error out if we get no valid arguments.

Did this partially -- we now error out if any argument is invalid. We can continue if at least one argument is valid, but given that this update-reset is destructive it seems safer to err on not doing anything.

Oops, looks like this broke: https://github.com/Homebrew/brew/actions/runs/4293038788/jobs/7480240578#step:8:61

Well, now we know that command was quietly not doing anything! 😄


How do you add a new column to a table?

I'm using postgresql. The sql query should be ALTER TABLE ... , but the only place in the code base I see ALTER TABLE is in pypika\dialects.py for ClickHouseQueryBuilder

Pypika is not an ORM like SQLAlchemy or Django.   It will build a query to the new column, but will not generate ALTER TABLE statements for you based on some defined schema.

Thanksfor the reply.
I don't need it to be "smart" and know about the schema. I just need it as a convenience over writing the sql string myself and to avoid sql injection.


Empty Password

How in your fork  enable empty password?
In original i do this (Credential::GetSerialization )
PWSTR username = m_loginResult.Username().length() > 0 ? _wcsdup(m_loginResult.Username().c_str()) : NULL; 			//disable empty passwrd 			//PWSTR password = m_loginResult.Password().length() > 0 ? _wcsdup(m_loginResult.Password().c_str()) : NULL; 			//enable empty password 			PWSTR password = _wcsdup(m_loginResult.Password().c_str()); 			PWSTR domain   = m_loginResult.Domain().length()   > 0 ? _wcsdup(m_loginResult.Domain().c_str())   : NULL;
But in your fork this not work.
If in Provider::GetSerializedCredentials do this
if (password) 			{ 				if (SerializedPasswordAvailable()) 				{ 					*password = (PWSTR) LocalAlloc(LMEM_ZEROINIT, m_setSerialization->Logon.Password.Length + sizeof(wchar_t)); 					CopyMemory(*password, m_setSerialization->Logon.Password.Buffer, m_setSerialization->Logon.Password.Length); 				} 				else 				{ 					pDEBUG(L"SerializedPasswordAvailable false"); 						//*password = NULL; 				}}
All work, but password field have one default char

Take a look into the eventlog (application) you'll see that logonui.exe has crashed.
My early guess was the null pointer is causing some problems here and ....
if you fix lines
https://github.com/MutonUfoAI/pgina/blob/2d6f69fb7a7055c729ba136d9576f56686d8ff6f/pGina/src/CredentialProvider/Credential.cpp#L695
and
https://github.com/MutonUfoAI/pgina/blob/2d6f69fb7a7055c729ba136d9576f56686d8ff6f/pGina/src/CredentialProvider/Credential.cpp#L528
by replacing
password
by
(password)? password : L""
pgina CP wont crash any longer
tested it with logon and unlock
havent tried anything else ...


chore(main): release 0.1.1

:robot: I have created a release beep boop
0.1.1 (2023-06-16)
Bug Fixes

release 0.1.1 (1385d65)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/socialgene/sgpy/releases/tag/v0.1.1 :sunflower: