Update ProjectFile.GetTargetProfile to work with conditional nodes

Working on #1221 (cc/ @theggelund and @forki), the contents of the test file I changed in 73e6f8c686ca5a26fd9a7decee82435cad929daf appear to work as of b905c750d736a328931ac436359e8eddf18fa2a1.
The output looks correct to me, but I'll need one of you to confirm, as I'm not sure what the output from the paket_bug project is supposed to be. Just testing from an fsx file like so:
#r @"bin\Paket.Core.dll"
let proj = Paket.ProjectFile.LoadFromFile @"tests\Paket.Tests\ProjectFile\TestData\ProjectWithConditions.fsprojtest"
let profile = proj.GetTargetProfile()

profile outputs as SinglePlatform (DotNetFramework V4_6). If I change the TargetFrameworkProfile node's condition to check for framework v4.6 instead, then I get SinglePlatform (DotNetFramework V4_Client). Doesn't make sense since there isn't a client profile for 4.6 (that I know of?), but shows that the condition on the node is being evaluated.

this looks good to me. In debugger I see that the files are copiec twice - but the correct files. So it works as expected!


Document how to use same codebase for models with pure SQLAlchemy and Flask-SQLAlchemy

I believe this issue is a recurrent one, as it has been asked a lot, for example in
https://github.com/pallets-eco/flask-sqlalchemy/issues/60
https://github.com/pallets-eco/flask-sqlalchemy/pull/61
https://github.com/pallets-eco/flask-sqlalchemy/pull/255
https://github.com/pallets-eco/flask-sqlalchemy/issues/98
https://github.com/pallets-eco/flask-sqlalchemy/pull/250
https://github.com/pallets-eco/flask-sqlalchemy/pull/629
https://github.com/pallets-eco/flask-sqlalchemy/pull/791
but I still don't see it documented officially. Personally, I had to search through all these issues to find (hackish) ways to solve it ! (And I'm still not sure what to use)
I think that being able to use Models without Flask is a very important feature, as I feel like coupling models with flask violates the Single Responsibility principle of SOLID
I plan to do a blog post to help share code examples and solutions about this issue, but I believe writing about it in the official documenting would be more helpful

that you can simply init the Flask app and push an app context and then just use F-SA

IMO that's not a good solution because you still have a dependency on flask, for things that may be be totally unrelated.
For example, I do not want a database import script to have a dependency on Flask
A few things that comes to mind :

What if I need to use the models in a environment where Flask is not installed ?
What if I want to replace Flask with, say, Django, or another new framework that has support for SQLAlchemy ?
What if flask evolves to make the "app init" much bigger, and so I use a lot of computing power for nothing/the flask app crashes because not configured right ?

https://flask-sqlalchemy.palletsprojects.com/en/3.0.x/customizing/ shows how to use different models or model bases, and session classes. https://flask-sqlalchemy.palletsprojects.com/en/3.0.x/api/#flask_sqlalchemy.SQLAlchemy shows parameters for customizing the model, model base, session, and metadata.

I'm sorry, but I don't see anything in https://flask-sqlalchemy.palletsprojects.com/en/3.0.x/customizing/ that would help me to, for example, create models without Flask-SQLAlchemy, and then integrate them in Flask-SQLALchemy. Do you have any example please ?

You create a base class, then pass it as SQLAlchemy(model=MyBaseModel).

I ended up with this (https://gist.github.com/iTrooz/5cba78812013de8a6608fa665698a376) which works, thanks !
But I still do not see anything like this in https://flask-sqlalchemy.palletsprojects.com/en/3.0.x/customizing/ . There are example about the use of model_class, but none to actually define models
Would you accept a pull request to add one ?

No, I don't plan to expand that part of the documentation.


Pod Topology Spread Constraints

Syntax error in graphs will not render graphs in https://kubernetes.io/docs/concepts/scheduling-eviction/topology-spread-constraints/

/area web-development

It looks similar to issue #37357

/triage duplicate

/retitle Mermaid diagrams not working reliably in Pod Topology Spread Constraints topic

Also duplicates https://github.com/kubernetes/website/issues/31960

/close
Let's track via the original issue


Platform error sensor.aemet after upgrade to 2021.12.XX

Version: 2021.12.3
Alfter upgrade, AEMET sensor does not work anymore:

This is due to this change in HA.
https://github.com/home-assistant/core/pull/58380

Home Assistant now has native support for AEMET, so development of this component is stopped.
Home Assistant tiene ahora soporte nativo para AEMET, por lo que se detiene el desarrollo de este componente.


chore: testing new workflow private Update build-deploy.yml

Testing new workflow private Update build-deploy.yml
Summary

1 line explicite Summary equivalent to the PR title

Type

Check one that is relevant

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature and improvements (non-breaking change which adds/improves functionality)
[ ] Bug fix (non-breaking change which fixes an issue)
[x] Code Refactoring (internal change which is not user facing)
[ ] Documentation
[x] Test, CI, or build

Description

A longer description of all changes in this pull request.

Jira Link

Link to relevant Jira tickets, stories, epic

Checklist before submitting:

[ ] Have you followed the general guidelines of GitFlow or GitHub Flow?
[ ] Have you verified no Secrets/Credentials present in commit ?
[ ] Have you updated test cases relevants for your code changes?
[ ] Have you verified all test are passing?
[ ] Have you verified you code is compliant with best practices?

@cauesantos-hipages you might want to run pre-commit run -a on your local machine to fix the linting issues.
i just ran it, and pushed the linting fix

Update build-deploy yaml file to get token from private Hipages repo.


[Logic Apps] Creating and deleting rows in batch API fails

Which service(blob, file, queue, table) does this issue concern?
table
Which version of the Azurite was used?
Latest from table branch (42ff12135c8817acfb0725757207fd71fb63e70f)
Where do you get Azurite? (npm, DockerHub, NuGet, Visual Studio Code Extension)
Local npm build. Please see above.
What's the Node.js version?
v14.16.0
What problem was encountered?
Doing a batch operation that adds couple of new rows and deletes couple of existing rows fails. Please see attached log file.
Steps to reproduce the issue?

Create a table
Create 4 rows in the table sequentially
Do a batch operation to delete 2 rows from the ones that were created in previous step and also create 2 new rows in the same operation

Expected: operation should succeed
Actual: operation fails
Have you found a mitigation/solution?
No
table-batch-operation.log

I wrote a test that does exactly this, and do not get any errors.
Do we need to validate optional params, etags etc?

@edwin-huber I got a repro.
The following requests create 4 rows in a table.
<IP_ADDRESS> - - [06/Apr/2021:05:25:57 +0000] "PUT /devstoreaccount1/storagedataprovidercit(PartitionKey='71BE9',RowKey='ed40e69f-9a0b-45e5-99b5-c2e8c6e842c6_0A')?sv=2018-03-28&sig=1qR6YKCoNT8yvOAqIoj1TI6GQBRws5YgCLuGL%2BQSWSA%3D&se=2023-04-06T05%3A25%3A56Z&srt=sco&ss=bqt&sp=racupwdl&timeout=6 HTTP/1.1" 204 -
<IP_ADDRESS> - - [06/Apr/2021:05:25:58 +0000] "PUT /devstoreaccount1/storagedataprovidercit(PartitionKey='71BE9',RowKey='ed40e69f-9a0b-45e5-99b5-c2e8c6e842c6_1B')?sv=2018-03-28&sig=1qR6YKCoNT8yvOAqIoj1TI6GQBRws5YgCLuGL%2BQSWSA%3D&se=2023-04-06T05%3A25%3A56Z&srt=sco&ss=bqt&sp=racupwdl&timeout=6 HTTP/1.1" 204 -
<IP_ADDRESS> - - [06/Apr/2021:05:25:58 +0000] "PUT /devstoreaccount1/storagedataprovidercit(PartitionKey='71BE9',RowKey='ed40e69f-9a0b-45e5-99b5-c2e8c6e842c6_1C')?sv=2018-03-28&sig=1qR6YKCoNT8yvOAqIoj1TI6GQBRws5YgCLuGL%2BQSWSA%3D&se=2023-04-06T05%3A25%3A56Z&srt=sco&ss=bqt&sp=racupwdl&timeout=6 HTTP/1.1" 204 -
<IP_ADDRESS> - - [06/Apr/2021:05:25:58 +0000] "PUT /devstoreaccount1/storagedataprovidercit(PartitionKey='71BE9',RowKey='ed40e69f-9a0b-45e5-99b5-c2e8c6e842c6_2D')?sv=2018-03-28&sig=1qR6YKCoNT8yvOAqIoj1TI6GQBRws5YgCLuGL%2BQSWSA%3D&se=2023-04-06T05%3A25%3A56Z&srt=sco&ss=bqt&sp=racupwdl&timeout=6 HTTP/1.1" 204 -

However, the following batch request returns 404
<IP_ADDRESS> - - [06/Apr/2021:05:26:38 +0000] "POST /devstoreaccount1/$batch?sv=2018-03-28&sig=1qR6YKCoNT8yvOAqIoj1TI6GQBRws5YgCLuGL%2BQSWSA%3D&se=2023-04-06T05%3A25%3A56Z&srt=sco&ss=bqt&sp=racupwdl&timeout=6 HTTP/1.1"

--batch_02c12a4e-cd0a-4dfe-89e8-4c5aa6dd7af6
Content-Type: multipart/mixed; boundary=changeset_02c12a4e-cd0a-4dfe-89e8-4c5aa6dd7af6

--changeset_02c12a4e-cd0a-4dfe-89e8-4c5aa6dd7af6
Content-Type: application/http
Content-Transfer-Encoding: binary

PUT http://<IP_ADDRESS>:10002/devstoreaccount1/storagedataprovidercit(PartitionKey='71BE9',RowKey='ed40e69f-9a0b-45e5-99b5-c2e8c6e842c6_3D') HTTP/1.1
Accept: application/json;odata=nometadata
Content-Type: application/json

{"MyOtherKey":4,"CreatedTime":"2021-04-06T05:25:56.8616165Z","CreatedTime@odata.type":"Edm.DateTime","ChangedTime":"2021-04-06T05:25:58.0979327Z","ChangedTime@odata.type":"Edm.DateTime","DeletedTime":"1970-01-01T00:00:00Z","DeletedTime@odata.type":"Edm.DateTime","ChangedOperationId":"34d41f9d-d77f-4cfd-a70f-c7dcbf5781f2","UseCustomIndexes":false,"MyPartitionKey":"ed40e69f-9a0b-45e5-99b5-c2e8c6e842c6","MyRowKey":"3D"}
--changeset_02c12a4e-cd0a-4dfe-89e8-4c5aa6dd7af6
Content-Type: application/http
Content-Transfer-Encoding: binary

PUT http://<IP_ADDRESS>:10002/devstoreaccount1/storagedataprovidercit(PartitionKey='71BE9',RowKey='ed40e69f-9a0b-45e5-99b5-c2e8c6e842c6_4D') HTTP/1.1
Accept: application/json;odata=nometadata
Content-Type: application/json

{"MyOtherKey":5,"CreatedTime":"2021-04-06T05:25:56.8616192Z","CreatedTime@odata.type":"Edm.DateTime","ChangedTime":"2021-04-06T05:25:58.0979327Z","ChangedTime@odata.type":"Edm.DateTime","DeletedTime":"1970-01-01T00:00:00Z","DeletedTime@odata.type":"Edm.DateTime","ChangedOperationId":"34d41f9d-d77f-4cfd-a70f-c7dcbf5781f2","UseCustomIndexes":false,"MyPartitionKey":"ed40e69f-9a0b-45e5-99b5-c2e8c6e842c6","MyRowKey":"4D"}
--changeset_02c12a4e-cd0a-4dfe-89e8-4c5aa6dd7af6
Content-Type: application/http
Content-Transfer-Encoding: binary

DELETE http://<IP_ADDRESS>:10002/devstoreaccount1/storagedataprovidercit(PartitionKey='71BE9',RowKey='ed40e69f-9a0b-45e5-99b5-c2e8c6e842c6_1C') HTTP/1.1
Accept: application/json;odata=nometadata
Content-Type: application/json
If-Match: *

--changeset_02c12a4e-cd0a-4dfe-89e8-4c5aa6dd7af6
Content-Type: application/http
Content-Transfer-Encoding: binary

DELETE http://<IP_ADDRESS>:10002/devstoreaccount1/storagedataprovidercit(PartitionKey='71BE9',RowKey='ed40e69f-9a0b-45e5-99b5-c2e8c6e842c6_2D') HTTP/1.1
Accept: application/json;odata=nometadata
Content-Type: application/json
If-Match: *

--changeset_02c12a4e-cd0a-4dfe-89e8-4c5aa6dd7af6--
--batch_02c12a4e-cd0a-4dfe-89e8-4c5aa6dd7af6--


Grey screen on startup with version 1.0.3

I downloaded and extracted the currently latest version 1.0.3 and extracted it in the root of C:\
When I execute spektrum.exe I just get a window with a grey background as reported for earlier versions.
I have installed the Visual C++ Redistributable for Visual Studio 2012 as requested and rebooted my PC
I am running Windows 10
Trying version 1.0.2 I get the same but with an error message stating that the application can not find rtl-sdr device.
Device is working fine with SDR#

32bit or 64bit windows?

64 bit
On Wed, 28 Mar 2018, 14:49 Pavel Sorejs<EMAIL_ADDRESS>wrote:

32bit or 64bit windows?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pavels/spektrum/issues/11#issuecomment-376893497, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABMzqxkL46NeepZCuIZ5L2XX1gwTA3AZks5ti5TygaJpZM4S9mpM
.

I found an error in binary release and fixed it. Pleas download the archive again and try again. It should work now.

Sadly this had made no difference at all

Unfortunately only way to debug this problem for you would be getting processing ide  from https://processing.org/ and library from https://github.com/pavels/processing-rtlspektum-lib/releases/download/1.0.5/rtlspektrum.zip and try to run it this way
You will get some console output in processing - that will give us some clues.

Attached is what I get when launching the application.
To confirm I have installed the the Visual C++ Redistributable for Visual Studio 2012.
I can't see any logs from your application or anything written to the event logs that might shed some light.
Thanks for your help.

I have same grey background with 1.0.3 updated version too. 1.0.2 working well (win7 64-bit).
When i replace rtlpower and rtlsdr.dll to older 1.0.2 versions, 1.0.3 starts working.

Following on from what @artmaen discovered I have also discovered I can get past the grey screen by just taking rtlsdr.dll from version 1.0.2.
After this I can get to the device selection screen which shows two devices but unfortunately it does not matter which I select, the application complains it can not connect to the device which is the same issue I get with version 1.0.2 only I don't see the device selection screen (which is new to 1.0.3) in that case.

Hi
thanks for the feedback - there is clearly something messed up with the rtlsdr binaries bundled with 1.0.3 i will try to sort it out today or during the weekend
@iotlearner0level try to copy dlls from here https://github.com/pavels/processing-rtlspektum-lib/releases/download/1.0.3/rtlspektrum.zip and replace the ones in the library and try again please

@iotlearner0level yes - you need to replace only dlls, not jar files

grey windows with the following errors:
Loading libs from C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library.
Library rtlsdr file C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll.
Library rtlpower file C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlpower.dll.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\library\rtlsdr.dll : The specified module could not be found.
BridJ: LoadLibrary error when loading C:\Users\XYZ\Documents\Processing\libraries\rtlspektrum\processing.app.SketchException: UnsatisfiedLinkError: rtlspektrum.RtlsdrLibrary.rtlsdr_get_device_count()I
at processing.mode.java.JavaBuild.placeException(JavaBuild.java:650)
at processing.mode.java.runner.Runner.findException(Runner.java:814)
at processing.mode.java.runner.Runner.reportException(Runner.java:789)
at processing.mode.java.runner.Runner.exceptionEvent(Runner.java:709)
at processing.mode.java.runner.Runner$2.run(Runner.java:599)

A library relies on native code that's not available.
Or only works properly when the sketch is run as a 32-bit application.

Any progress?

I don't know if this thread is active or not but i downloaded the 1.0.3 release from the releases page and unzipped to f:/>software>spektrum and run the .exe as adminsitrator and it works!!!!

unfortunately it does not matter which I select, the application complains it can not connect to the device which i

Any progress? I have the same situation

I too am getting the same gray screen. I read above where rtlpower.dll and rtlsdr.dll were swapped out for the 2015 version and it worked. It seems the 2018 version is of the two .dll files do not like my machines (I tried on three different computers). With the older version of the .dll I do not know what I am missing since I cannot run the 2018 version. Is there anyway to test why the 2015 works but the  2018 does not work? Thanks in advance, and I really like this program. Wish it had equivalent RBW and VBW.


added logging and testing links in usage/README.md

Testing pages are not finished, we do not need to include them now.


Strange behavior with many tasks

When I have a Listr2 instance that is loaded up with a large-ish number of tasks, the output behavior is quite variable.
In the case where there's a reasonably deep terminal window, it has a phase of behavior where it 'eats' the oldest lines of text.
see here
On the other hand, if the available number of rows is smaller, it might just blank the output entirely until the very end:
see here - wait till the end - it does re-appear
In order to see this behavior, take a look at the video, you'll see where I've added the following lines to the demo.example.ts at line 186.
Here is what I added:
                ...(new Array(300).fill(undefined).map((v, i) => {
                  return {
                    title: `Title ${i} ipsum lorem stunum julius cesar julie ides of march rinse the blood off my toga`,
                    task: async (): Promise<void> => {
                      await delay(20000 * Math.random());
                    }
                  }
                })),

Hello @pbelbin ,
Thank you for this issue. This has been discussed here. This is mostly a problem of how we can handle the terminal and have no proper access to the lines that are not inside the seen window. So this deleting behavior of the lines is somewhat related to the underlying library log-update.
I plan to swap it out but still could not get it to work properly with the tests. The things I want to do before releasing a major version is listed in upcoming changes. So it will be a bit of time still this hits mainstream.

I will be closing this issue in favor of #296 . Feel free to reopen it any time. But the problem is acknowledged.


Original code didn't work. Fixed, tested and new code works

Missing $ to indicate variables
Syntax for For seemed to be quasi pseudo code. Corrected

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

@samsmithnz The provided sample is a CLI script, not PowerShell.
#please-close


⚠ Bofrost.at has degraded performance

In 0a3527c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1243 ms

Resolved: Bofrost.at performance has improved in 1a04ac1.


minor config script change (resolves path and reuses filename)

@thisconnect can you rebase?

Yep, happy to merge this once the merge conflict is resolved. Thanks @thisconnect.

I failed :) precommit and lint do not seem to like me


Possible double-counting p-value in causal_refuter.py

Hi guys,
I'm looking at this function in causal_refuter.py.
def perform_bootstrap_test(self, estimate, simulations):

        # Get the number of simulations
        num_simulations = len(simulations)
        # Sort the simulations
        simulations.sort()
        # Obtain the median value
        median_refute_values= simulations[int(num_simulations/2)]

        # Performing a two sided test
        if estimate.value > median_refute_values:
            # np.searchsorted tells us the index if it were a part of the array
            # We select side to be left as we want to find the first value that matches
            estimate_index = np.searchsorted(simulations, estimate.value, side="left")
            # We subtact 1 as we are finding the value from the right tail
            p_value = 1 - (estimate_index/ num_simulations)
        else:
            # We take the side to be right as we want to find the last index that matches
            estimate_index = np.searchsorted(simulations, estimate.value, side="right")
            # We get the probability with respect to the left tail.
            p_value = estimate_index / num_simulations

        return p_value

https://github.com/microsoft/dowhy/blob/master/dowhy/causal_refuter.py#L171
estimate.value is a float, simulations is a list of floats. It figures out what portion of the array is bigger or smaller, and then it reports this as a p-value. It's a two-sided test though, so shouldn't it report the p-value as 2*quantile?
E.g., right now, it will report a p-value of 0.1 when estimate.value is at the 10th percentile of simulations or at the 90th percentile, but 20% of the data is below the 10th percentile or above the 90th percentile. So, it should report a p-value of 0.2.
Am I just confused here? If not, I will fix this.

Ah, that's a good catch, @leo-ware. Yes this is a bug. Will be great if you can help fix it.


Nuget packages get DLL not found

Godot version
3.4.2-stable and 3.4.4-stable
System information
Windows 10
Issue description
For more information about the problem see the following post.
https://godotengine.org/qa/126026/locating-relevant-versions-different-dllnotfoundexception?show=133954#c133954
System.TypeInitializationException: The type initializer for 'NameOfMyGame.ItemSystem' threw an exception. ---> System.TypeInitializationException: The type initializer for 'Microsoft.Data.Sqlite.SqliteConnection' threw an exception. ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.DllNotFoundException: e_sqlite3 assembly:<unknown assembly> type:<unknown type> member:(null)   at (wrapper managed-to-native) SQLitePCL.SQLite3Provider_e_sqlite3+NativeMethods.sqlite3_libversion_number()   at SQLitePCL.SQLite3Provider_e_sqlite3.SQLitePCL.ISQLite3Provider.sqlite3_libversion_number () [0x00000] in <c8abe0a57b5d47729446d36fda905c02>:0    at SQLitePCL.raw.SetProvider (SQLitePCL.ISQLite3Provider imp) [0x00008] in <48e2fc1a816a43c782710c9d5294f283>:0    at SQLitePCL.Batteries_V2.Init () [0x00005] in <96e36818db56412d8f718eb231f5f2f7>:0    at (wrapper managed-to-native) System.Reflection.RuntimeMethodInfo.InternalInvoke(System.Reflection.RuntimeMethodInfo,object,object[],System.Exception&)   at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x0006a] in <1400ea11d6fd49d4939be686a9549fb4>:0     --- End of inner exception stack trace ---   at System.Reflection.RuntimeMethodInfo.Invoke (System.Object obj, System.Reflection.BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00083] in <1400ea11d6fd49d4939be686a9549fb4>:0    at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in <1400ea11d6fd49d4939be686a9549fb4>:0    at Microsoft.Data.Sqlite.Utilities.BundleInitializer.Initialize () [0x0003b] in <5b86b115209b43b592cf8c1857a6ae31>:0    at Microsoft.Data.Sqlite.SqliteConnection..cctor () [0x00000] in <5b86b115209b43b592cf8c1857a6ae31>:0     --- End of inner exception stack trace ---   at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_generic_class_init(intptr)   at NameOfMyGame.ItemSystem.CreateDataBase () [0x0000d] in G:\FancyPath\NameOfMyGame\Code\ItemSystem.cs:44    at NameOfMyGame.ItemSystem..ctor () [0x00008] in G:\FancyPath\NameOfMyGame\Code\ItemSystem.cs:22    at NameOfMyGame.ItemSystem..cctor () [0x00000] in G:\FancyPath\NameOfMyGame\Code\ItemSystem.cs:15     --- End of inner exception stack trace ---   at NameOfMyGame.Main._Ready () [0x0013e] in G:\FancyPath\NameOfMyGame\Code\Main.cs:144
I'm quite sure I had a similar issue with the MS JSONSerializer and I ended up just using the Newtonsoft one.
As a workaround I can place the e_sqlite3.dll in the following directory:
Godot_v3.4.4-stable_mono_win64\GodotSharp\Mono\bin
I tried the usual stuff to solve this like nuget restore etc. without any success. I have multiple nuget packages working without any problems, it might be a pattern that the packages that have problems are the MS ones.
A list of the packages that work just fine:
<PackageReference Include="KdTree" Version="1.4.1" /> <PackageReference Include="Newtonsoft.Json" Version="13.0.1" /> <PackageReference Include="OptimizedPriorityQueue" Version="5.1.0" /> <PackageReference Include="PcgRandom" Version="1.1.0" />
Steps to reproduce

Create a new Godot Mono project.
Add the Microsoft.Data.Sqlite, System.Data.SQLite or a similar package.
The project compiles without any problems in Godot/Rider (probably Visual Studio also), but as soon as you run the game and it makes a call to create a database connection you get the dreaded dll not found.

Minimal reproduction project
No response

Same issue with Godot Mono v3.5 on Windows 10 using VS 2022


The documentation section "Can I move the Storage Migration Service database?" contains an error.

The database will not be found in the new location if the quoted instructions are followed. This results in the SMS service not starting. The folder (e.g. d:\NewLocation\StorageMigrationService) also needs access given to the "networkservice" user as per:

ICACLS d:\NewLocation\StorageMigrationService  /GRANT networkservice:F /T /C

ICACLS d:\NewLocation\StorageMigrationService /GRANT networkservice:(GA) /T /C

If the above steps are completed in addition, then the moved database will be detected and the service can restart.

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

ID: bfb84ea4-a463-b510-d87f-c24d625c3d58
Version Independent ID: 120c0010-b9a1-d60d-d56f-b57cf43d5a06
Content: Storage Migration Service frequently asked questions (FAQ)
Content Source: WindowsServerDocs/storage/storage-migration-service/faq.yml
Product: windows-server
GitHub Login: @nedpyle
Microsoft Alias: nedpyle

Good eye, correcting this article. Thanks for the comment
NP | PM
From: le-taff @.>
Sent: Monday, July 3, 2023 4:21 AM
To: MicrosoftDocs/windowsserverdocs @.>
Cc: Mention @.***>
Subject: [MicrosoftDocs/windowsserverdocs] The documentation section "Can I move the Storage Migration Service database?" contains an error. (Issue #7362)
The database will not be found in the new location if the quoted instructions are followed. This results in the SMS service not starting. The folder (e.g. d:\NewLocation\StorageMigrationService) also needs access given to the "networkservice" user as per:

ICACLS d:\NewLocation\StorageMigrationService /GRANT networkservice:F /T /C
ICACLS d:\NewLocation\StorageMigrationService /GRANT networkservice:(GA) /T /C

If the above steps are completed in addition, then the moved database will be detected and the service can restart.

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

ID: bfb84ea4-a463-b510-d87f-c24d625c3d58
Version Independent ID: 120c0010-b9a1-d60d-d56f-b57cf43d5a06
Content: Storage Migration Service frequently asked questions (FAQ)https://learn.microsoft.com/en-us/windows-server/storage/storage-migration-service/faq
Content Source: WindowsServerDocs/storage/storage-migration-service/faq.ymlhttps://github.com/MicrosoftDocs/windowsserverdocs/blob/main/WindowsServerDocs/storage/storage-migration-service/faq.yml
Product: windows-server
GitHub Login: @nedpylehttps://github.com/nedpyle
Microsoft Alias: nedpyle

—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/windowsserverdocs/issues/7362 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEM52NYQA5SNC2YMPE2XS73XOKTJHBFKMF2HI4TJMJ2XIZLTSWBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJLJONZXKZNENZQW2ZNLORUHEZLBMRPXI6LQMWBKK5TBNR2WLKRSGQZDMMBUHE4TIM5ENZQW2ZNJNBQXGX3MMFRGK3ECUV3GC3DVMWVDENBVHE4TEMZWGUZKI3TBNVS2S2DBONPWYYLCMVWIFJLWMFWHKZNEORZHKZNENZQW2ZNOO5QXIY3IL5QWG5DJOZUXI6NMON2WE2TFMN2F65DZOBS2KSLTON2WLJTUN5YGSY3TSSBKI5DZOBS2U4TFOBXXG2LUN5ZHTJLWMFWHKZNIHA4DQOJYGYYTBAVEOR4XAZNFNFZXG5LFUV3GC3DVMWVDCNZYGU4TOMBTHEZYFJDUPFYGLJLMMFRGK3FFOZQWY5LFVIZDIMRWGA2DSOJUGOBKI5DZOBS2K3DBMJSWZJLWMFWHKZNKGI2DKOJZGIZTMNJSU52HE2LHM5SXFJTDOJSWC5DF.
You are receiving this email because you were mentioned.
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.

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


"ERROR: invalid character 'C' looking for beginning of value" when using CLI with remote node

This is the first time I got this error when I run a CLI operation via a remote node. All operations give me this error.
ERROR: invalid character 'C' looking for beginning of value
Here is the stack trace.
ERROR: invalid character 'C' looking for beginning of value
error unmarshalling rpc response
github.com/tendermint/tendermint/rpc/lib/client.unmarshalResponseBytes
	/Users/creativeworks/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/rpc/lib/client/http_client.go:362
github.com/tendermint/tendermint/rpc/lib/client.(*JSONRPCClient).Call
	/Users/creativeworks/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/rpc/lib/client/http_client.go:208
github.com/tendermint/tendermint/rpc/client.(*baseRPCClient).ABCIQueryWithOptions
	/Users/creativeworks/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/rpc/client/httpclient.go:175
github.com/cosmos/cosmos-sdk/client/context.CLIContext.query
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/client/context/query.go:91
github.com/cosmos/cosmos-sdk/client/context.CLIContext.QueryWithData
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/client/context/query.go:42
github.com/cosmos/cosmos-sdk/x/auth/types.AccountRetriever.GetAccountWithHeight
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/auth/types/account_retriever.go:45
github.com/cosmos/cosmos-sdk/x/auth/types.AccountRetriever.GetAccount
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/auth/types/account_retriever.go:32
github.com/cosmos/cosmos-sdk/x/auth/types.AccountRetriever.EnsureExists
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/auth/types/account_retriever.go:60
github.com/cosmos/cosmos-sdk/x/auth/client/utils.PrepareTxBuilder
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/auth/client/utils/tx.go:304
github.com/cosmos/cosmos-sdk/x/auth/client/utils.CompleteAndBroadcastTxCLI
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/auth/client/utils/tx.go:49
github.com/cosmos/cosmos-sdk/x/auth/client/utils.GenerateOrBroadcastMsgs
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/auth/client/utils/tx.go:40
github.com/cosmos/cosmos-sdk/x/bank/client/cli.SendTxCmd.func1
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/bank/client/cli/tx.go:53
github.com/spf13/cobra.(*Command).execute
	/Users/creativeworks/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826
github.com/spf13/cobra.(*Command).ExecuteC
	/Users/creativeworks/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914
github.com/spf13/cobra.(*Command).Execute
	/Users/creativeworks/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
github.com/tendermint/tendermint/libs/cli.Executor.Execute
	/Users/creativeworks/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/libs/cli/setup.go:89
main.main
	/Users/creativeworks/Projects/desmos/cmd/desmoscli/main.go:64
runtime.main
	/usr/local/Cellar/go/1.13.4/libexec/src/runtime/proc.go:203
runtime.goexit
	/usr/local/Cellar/go/1.13.4/libexec/src/runtime/asm_amd64.s:1357
ABCIQuery
github.com/tendermint/tendermint/rpc/client.(*baseRPCClient).ABCIQueryWithOptions
	/Users/creativeworks/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/rpc/client/httpclient.go:179
github.com/cosmos/cosmos-sdk/client/context.CLIContext.query
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/client/context/query.go:91
github.com/cosmos/cosmos-sdk/client/context.CLIContext.QueryWithData
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/client/context/query.go:42
github.com/cosmos/cosmos-sdk/x/auth/types.AccountRetriever.GetAccountWithHeight
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/auth/types/account_retriever.go:45
github.com/cosmos/cosmos-sdk/x/auth/types.AccountRetriever.GetAccount
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/auth/types/account_retriever.go:32
github.com/cosmos/cosmos-sdk/x/auth/types.AccountRetriever.EnsureExists
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/auth/types/account_retriever.go:60
github.com/cosmos/cosmos-sdk/x/auth/client/utils.PrepareTxBuilder
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/auth/client/utils/tx.go:304
github.com/cosmos/cosmos-sdk/x/auth/client/utils.CompleteAndBroadcastTxCLI
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/auth/client/utils/tx.go:49
github.com/cosmos/cosmos-sdk/x/auth/client/utils.GenerateOrBroadcastMsgs
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/auth/client/utils/tx.go:40
github.com/cosmos/cosmos-sdk/x/bank/client/cli.SendTxCmd.func1
	/Users/creativeworks/go/pkg/mod/github.com/cosmos/cosmos-sdk@v0.37.3/x/bank/client/cli/tx.go:53
github.com/spf13/cobra.(*Command).execute
	/Users/creativeworks/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826
github.com/spf13/cobra.(*Command).ExecuteC
	/Users/creativeworks/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914
github.com/spf13/cobra.(*Command).Execute
	/Users/creativeworks/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
github.com/tendermint/tendermint/libs/cli.Executor.Execute
	/Users/creativeworks/go/pkg/mod/github.com/tendermint/tendermint@v0.32.7/libs/cli/setup.go:89
main.main
	/Users/creativeworks/Projects/desmos/cmd/desmoscli/main.go:64
runtime.main
	/usr/local/Cellar/go/1.13.4/libexec/src/runtime/proc.go:203
runtime.goexit
	/usr/local/Cellar/go/1.13.4/libexec/src/runtime/asm_amd64.s:1357

The closest issue I found on SDK GH is this one. https://github.com/cosmos/cosmos-sdk/issues/3900

This was an error inside the configuration of the node host

@RiccardoM it has been fixed in https://github.com/tendermint/tendermint/issues/4051


Document external Telegraf plugins

Using the execd plugin(s), you can use "external" Telegraf plugins. Document exists in the Telegraf repo, but we need to document how to use these plugins in the docs.
Relevant URLs

List of external plugins: https://github.com/influxdata/telegraf/blob/master/EXTERNAL_PLUGINS.md
What are external plugins: https://github.com/influxdata/telegraf/blob/master/docs/EXTERNAL_PLUGINS.md
How to write your own (including using the Go shim): https://github.com/influxdata/telegraf/tree/master/plugins/common/shim#telegraf-execd-go-shim

Topics we need to cover:

What is an external plugin? Where can I find them?
How can it be used with the execd?
How can I write my own external plugin?

Using the Go Shim

This should also be in the concepts section of the Telegraf docs.  There is no conversation about this at all in our current doc set.

Just adding some things:
The two main ideas around this would be 1) how to write my own external plugin 2) how to run external plugins with execd. Have both of these ideas on a main concept page of this would be very useful.
--
All contributed plugins should have their own configuration and installation steps that would include (sorta what's mentioned in here: https://github.com/influxdata/telegraf/tree/master/plugins/common/shim#steps-to-build-and-run-your-plugin)

cloning the external plugin repo
building the binary
how to use the external plugin with Telegraf by adding execd to telegraf.conf

[[inputs.execd]]
  command = ["/path/to/rand", "-config", "/path/to/plugin.conf"]
  signal = "none


Remove references to authy initializer

There are a few places where the authy initializer is referenced. One major one is the DeviseAuthyGenerators::InstallGenerator. Make sure to remove that and any other place it is used.

@BintLopez should we add a twilio initializer here instead?


WAS-541 fix bucket name

The S3 bucket name must not contain uppercase characters.

If you tested it, good to go!


doc: Documentation issue in 'hardware/peripherals/i3c'  Incorrect detail for SETDASA I3C CCC usage

On https://docs.zephyrproject.org/latest/hardware/peripherals/i3c.html, it is mentioned as
Do SETDASA to use static addresses as dynamic address if so desired

But it should rather be as below:
Do SETDASA to assign a dynamic address using the static address of the device
Environment

Page: hardware/peripherals/i3c
Version: main
SHA-1: 512dc9ff38d8dad84b340712e71a20185fe59819

@quic-bkulkarn Could you submit a PR for fixing this?

Sure, I will be submitting a PR soon. @dcpleung can you please assign this issue to me?

fixed with #78537


NoMethodError…in_house? when using enterprise in sync_code_signing

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description
Getting the following when running sync_code_signing with type: "enterprise"
NoMethodError: [!] undefined method `in_house?' for nil:NilClass

Command executed
sync_code_signing(
    git_url: ENTERPRISE_SIGNING_REPO_URL,
    git_branch: SIGNING_REPO_BRANCH,
    type: "enterprise",
    app_identifier: ALPHA_INHOUSE_APP_IDENTIFIER,
    readonly: false,
    team_id: TEAM_ID_ENTERPRISE,
    verbose: false,
    force: false,
    skip_confirmation: false,
    shallow_clone: false,
    clone_branch_directly: false,
    force_for_new_devices: false,
    skip_docs: false,
    platform: "ios",
  )

Complete output when running fastlane, including the stack trace and command used
bundler: failed to load command: fastlane (/Users/thunky-monk/.rbenv/versions/2.7.2/bin/fastlane)
NoMethodError: [!] undefined method `in_house?' for nil:NilClass
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/match/lib/match/runner.rb:73:in `run'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/actions/sync_code_signing.rb:14:in `run'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/runner.rb:263:in `block (2 levels) in execute_action'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/actions/actions_helper.rb:69:in `execute_action'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/runner.rb:255:in `block in execute_action'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/runner.rb:229:in `chdir'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/runner.rb:229:in `execute_action'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/runner.rb:157:in `trigger_action_by_name'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/fast_file.rb:159:in `method_missing'
  Fastfile:184:in `block in parsing_binding'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/lane.rb:33:in `call'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/runner.rb:49:in `block in execute'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/runner.rb:45:in `chdir'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/runner.rb:45:in `execute'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/lane_manager.rb:47:in `cruise_lane'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/command_line_handler.rb:36:in `handle'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/commands_generator.rb:108:in `block (2 levels) in run'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:178:in `call'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/command.rb:153:in `run'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/runner.rb:476:in `run_active_command'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane_core/lib/fastlane_core/ui/fastlane_runner.rb:76:in `run!'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/commander-fastlane-4.4.6/lib/commander/delegates.rb:15:in `run!'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/commands_generator.rb:352:in `run'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/commands_generator.rb:41:in `start'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/fastlane/lib/fastlane/cli_tools_distributor.rb:119:in `take_off'
  /Users/aaron/.rbenv/versions/2.7.2/lib/ruby/gems/2.7.0/gems/fastlane-2.170.0/bin/fastlane:23:in `<top (required)>'
  /Users/aaron/.rbenv/versions/2.7.2/bin/fastlane:23:in `load'
  /Users/aaron/.rbenv/versions/2.7.2/bin/fastlane:23:in `<top (required)>'

Environment

### Stack

Key
Value

OS
10.15.7

Ruby
2.7.2

Bundler?
true

Git
git version 2.22.0

Installation Source
~/.rbenv/versions/2.7.2/bin/fastlane

Host
Mac OS X 10.15.7 (19H15)

Ruby Lib Dir
~/.rbenv/versions/2.7.2/lib

OpenSSL Version
OpenSSL 1.1.1g  21 Apr 2020

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
12.0.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL
en_US.UTF-8
✅

LANGUAGE

fastlane gems

Gem
Version
Update-Status

fastlane
2.170.0
✅ Up-To-Date

Loaded fastlane plugins:

Plugin
Version
Update-Status

fastlane-plugin-firebase_app_distribution
0.1.4
🚫 Update available

fastlane-plugin-sentry
1.6.0
🚫 Update available

Loaded gems

Gem
Version

did_you_mean
1.4.0

bundler
2.1.4

uri
0.10.0

rake
12.3.3

CFPropertyList
3.0.3

concurrent-ruby
1.1.7

i18n
0.9.5

minitest
5.14.2

thread_safe
0.3.6

tzinfo
1.2.7

activesupport
<IP_ADDRESS>

public_suffix
4.0.6

addressable
2.7.0

httpclient
2.8.3

json
2.3.1

algoliasearch
1.27.4

atomos
0.1.3

aws-eventstream
1.1.0

aws-partitions
1.405.0

aws-sigv4
1.2.2

jmespath
1.4.0

aws-sdk-core
3.110.0

aws-sdk-kms
1.39.0

aws-sdk-s3
1.86.0

babosa
1.0.4

claide
1.0.3

fuzzy_match
2.0.4

nap
1.1.0

netrc
0.11.0

ffi
1.13.1

ethon
0.12.0

typhoeus
1.4.0

cocoapods-core
1.9.3

cocoapods-deintegrate
1.0.4

cocoapods-downloader
1.4.0

cocoapods-plugins
1.0.0

cocoapods-search
1.0.0

cocoapods-stats
1.1.0

cocoapods-trunk
1.5.0

cocoapods-try
1.2.0

colored2
3.1.2

escape
0.0.4

fourflusher
2.3.1

gh_inspector
1.1.3

molinillo
0.6.6

ruby-macho
1.4.0

nanaimo
0.3.0

xcodeproj
1.19.0

cocoapods
1.9.3

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

declarative
0.0.20

declarative-option
0.1.0

digest-crc
0.6.2

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20190701

dotenv
2.7.6

emoji_regex
3.2.1

excon
0.78.1

multipart-post
2.0.0

ruby2_keywords
0.0.2

faraday
1.1.0

http-cookie
1.0.3

faraday-cookie_jar
0.0.7

faraday_middleware
1.0.0

fastimage
2.2.0

jwt
2.2.2

memoist
0.16.2

multi_json
1.15.0

os
1.1.1

signet
0.14.0

googleauth
0.14.0

mini_mime
1.0.2

uber
0.1.0

representable
3.0.4

retriable
3.1.2

google-api-client
0.38.0

google-cloud-env
1.4.0

google-cloud-errors
1.0.1

google-cloud-core
1.5.0

google-cloud-storage
1.29.1

mini_magick
4.11.0

plist
3.5.0

rubyzip
2.3.0

security
0.1.3

naturally
2.2.0

simctl
1.6.8

slack-notifier
2.3.2

terminal-notifier
2.0.0

unicode-display_width
1.7.0

terminal-table
1.8.0

tty-screen
0.8.1

tty-cursor
0.7.1

tty-spinner
0.9.3

word_wrap
1.0.0

rouge
2.0.7

xcpretty
0.3.0

xcpretty-travis-formatter
1.0.0

fastlane-plugin-firebase_app_distribution
0.1.4

fastlane-plugin-sentry
1.6.0

How are you authenticating with Apple?

Hey thanks for helping @max-ott. Also I want to tag @MattYY so he sees updates here.
I was mistakenly trying to use the App Store Connect API and a key but I realize the enterprise accounts don't support this. However, the same error also occurs with username and password authentication.

@thunky-monk how did you switch from App Store Connect API to user+pass credentials? Are you sure it is correctly picking up the user+pass instead of the ASC api token? If you could provide a new stack trace and command executed (with --verbose), that'd help a lot 🙏


Docker improvements

Make improvements to dockerization:

Modify dockerfiles to be more efficient when being rebuilt, even if it means duplicating code between backend and frontend. Put copying of Python code and building of MLTE package at the very end, NPM dependencies at the very beginning for frontend, and NPM static frontend site building in between.
Ensure that printouts are not buffered
Fix bug where env store uris are not being used

Addressed in #434


Fix Zap issue

Issue #, if available:
Description of changes:
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

What exactly was the issue?


Error running go install ./cmd/capdctl

/kind bug
root@capd:~/cluster-api-provider-docker# go install ./cmd/capdctl
can't load package: package sigs.k8s.io/cluster-api-provider-docker/cmd/capdctl: unknown import path "sigs.k8s.io/cluster-api-provider-docker/cmd/capdctl": cannot find package
What steps did you take and what happened:
[A clear and concise description of what the bug is.]
What did you expect to happen:
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

capdctl version (use capdctl version):
capd-manager version (use kubectl -n docker-provider-system get pods/docker-provider-controller-manager-0 -ojsonpath='{.status.containerStatuses[0].image}{"\n"}{.status.containerStatuses[0].imageID}{"\n"}'):
Kubernetes version (use kubectl version):
OS (e.g. from /etc/os-release):

@sb1975 it looks like capdctl was removed in https://github.com/kubernetes-sigs/cluster-api-provider-docker/pull/193, but it looks like the README still references it.
Were you trying to use capdctl to set up a management cluster to get going with? In that case you may want to look into either kind or Docker for X (where is your OS) and running kustomize build config/default | kubectl apply -f - against that cluster.
Mind you, you'll also need CAPI and CABPK running in that cluster.


Is there a Scala Binder somewhere out there?

Was just chatting with @jackkoenig who asked if there is a Scala Binder out there. Anybody seen one? Maybe @betatim or @jzf2101 has? If not, it'd be a cool proof of concept to put together, there are lotsa scala users out there!

(if nobody has figured this out yet, and somebody wants to spend the time getting an install to work w/ postBuild in a Binder repo, that'd be awesome! In case you figure it out @jackkoenig let us know and we can add it to binder-examples or something!)

I'd look at the stuff BeakerX has. https://mybinder.org/v2/gh/twosigma/beakerx/1.1.0?filepath=StartHere.ipynb

Thanks for the pointer!


python setup.py develop fails

Following the setup instructions, I run python setup.py develop. This fails with an error, because it can't write to a file under /usr/local/.
Should this command in fact be run with sudo? Or is it actually supposed to write to the home folder (and there's probably something wrong with my setup)?
Thanks,
--Tom

Have you tried running it with sudo? Did it work?
Also what version of Python are you using?

I'm using python 2.7.6.
I did try it with sudo, and it got further, but I got some strange errors that make me wonder whether I should be using python 3 instead. I had a couple like these during the install:
warning: no previously-included files matching '*.py[co]' found under directory '*'
  File "build/bdist.linux-x86_64/egg/rlp/utils_py3.py", line 6
    class Atomic(metaclass = abc.ABCMeta):

And at the end, this:
./gen_context
  CC       src/libsecp256k1_la-secp256k1.lo
  CCLD     libsecp256k1.la
  CC       src/tests-tests.o
  CCLD     tests
error: [Errno 9] Bad file descriptor
error: [Errno 2] No such file or directory <built-in function listdir> /tmp/easy_install-Zzkfrw/c_secp256k1-0.0.4/egg-dist-tmp-ZPVjHI
error: [Errno 2] No such file or directory <built-in function listdir> /tmp/easy_install-Zzkfrw/c_secp256k1-0.0.4/egg-dist-tmp-ZPVjHI
error: [Errno 2] No such file or directory <built-in function listdir> /tmp/easy_install-Zzkfrw/c_secp256k1-0.0.4/egg-dist-tmp-ZPVjHI
error: [Errno 2] No such file or directory <built-in function listdir> /tmp/easy_install-Zzkfrw/c_secp256k1-0.0.4/egg-dist-tmp-ZPVjHI
error: [Errno 2] No such file or directory <built-in function listdir> /tmp/easy_install-Zzkfrw/c_secp256k1-0.0.4/egg-dist-tmp-ZPVjHI```

In the end, hydrachain didn't run:

```Traceback (most recent call last):
  File "/usr/local/bin/hydrachain", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3080, in <module>
    @_call_aside
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3066, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3093, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 651, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 952, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 839, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'c-secp256k1' distribution was not found and is required by hydrachain```

Any guidance would be appreciated.

I'm doing this in a vagrant ubuntu VM that starts out with basically nothing, so it's possible I'm just missing some dependency. I've already been through this with a number of things (python-pip, autoconf, python-dev, libtool, libffi-dev, libssl-dev).

Thanks,

--Tom

Okay. Thanks for the error messages. You should not be using python3 at the moment and I don't think you're doing anything wrong. It seems we broke the c-secp256k1 lib. I will look into fixing it tomorrow. It's a bit late in Europe right now, so I hope you can hang tight until then.

Great, thanks. No problem about waiting - my own time zone is BST! I've just been working funny hours today :)
--Tom

I removed the dependency for now.

Regarding sudo, the recommended way to install it is using virtualenv.
For your plans, consider to take a look at the Dockerfile: https://github.com/HydraChain/hydrachain/tree/master/docker

Hi,
I am quite a beginner programmer, but I had all of the exact same issues with the error messages and not being to run.  I also tried with both python 2.7 and 3.4.  I just cloned the git today.  Did you already remove the dependency on c-secp256k1 lib?
    pkg_resources.DistributionNotFound: The 'c-secp256k1' distribution was not found and is required by hydrachain

Never mind.  Works fine when using the docker template.


Added names of visible players to tooltip of server bar

Thought it would be nice to take advantage of the server bar tooltip feature to show player names of visible players.

thanks


Share PyPI ownership

hey @zacharyburnett are you able to add me as an owner to pypi?

sure thing, what PyPI username?

"Cadair" Thanks!

Thanks!


Adding Custom Up and Down Arrow images for the Scrollbar

I am trying to add custom arrow button image in the css. But unable to do so. Request you lemme know how this is done. The images are not reflecting.
.mCSB_buttonDown{
border: 1px solid #898888;
background-position: center;
background-repeat: no-repeat;
background-size: 18px 18px;
background-image: url('../Images/Icons_6x/Down-Grey.png');
}
.mCSB_buttonUp{
border: 1px solid #898888;
background-position: center;
background-repeat: no-repeat;
background-size: 18px 18px;
background-image: url('../Images/Icons_6x/Down-Grey.png');
}
Thanks.

+1


Automated testing CDP

Is your feature request related to a problem? Please describe.
Figure out if we can run some sort of automated testing on CDP.
In the very least be able to do it at release time to make sure we don't miss any of our regular testing:

integration tests (including the cache test and udf testing)
profiling and qualification tool testing
ucx/shuffle testing

Moving to 22.02 as we did not end up setting up automated CDP testing in 21.12, will continue to manually test this distribution.

We're trying to get the information about where to get the package and how to set up the CDP cluster. Also we need to request the instances. I think it'll take some times.

@zhanga5 I think we have the CDP test CI job. Can we close this issue?

yes, CI job was created and enabled weekly run for integration test on CDP including ucx/shuffle testing, however, still missing profiling and qualification tool testing and udf testing probably

Move to 22.06 to finish the profiling and udf testing.

now udf testing is included from weekly CI job and also would trigger profiling tool testing to test event logs generated from integration testing. Qualification tool testing is not included currently because it can't support GPU event logs. Not sure whether there's issue to track this (@tgravescs please help provide issue info if yes or I can create one if need)

Closing, as the qualification and profiling tool validation is tracked in another issue.


[Mobil] how to show link preview?

My issue is about [Mobile]
I want to show link preview. is there way to show link preview???
if there is not way to show link preview, I will use any_link_preview library. it is needed url.
how to get url from flutter-quill document??

This require re-implementing the feature from scratch
Thank you for the report, this issue has been open for a while and since there are no interactions with it, we had to close it
but if you still facing this issue, or other issues or you have any other questions, feel free to contact us anytime you want.


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-dependencies" workflow

AWS CodeBuild CI Report

CodeBuild project: GitHubPipelineAutoBuildProj-XK8ItpxnSow5
Commit ID: f5eb30572021f0907de0557d21b9f91f38d58467
Result: SUCCEEDED
Build Logs (available for 30 days)

Powered by github-codebuild-logs, available on the AWS Serverless Application Repository


chore(Python): added Binary Tree

What kind of change does this PR introduce? (check at least one)

[ ] Bugfix
[x] New algorithm
[ ] Optimization in previous algorithms
[ ] Code style update
[ ] Refactor
[ ] Documentation
[ ] Other, please describe:

Briefly describe the changes in this PR

Other information:

@Mo-Shakib , Looks like you might wanna sync your fork with upstream.

@Arsenic-ATG check now


Feat: Add scroll up button

Describe the feature
A scroll-up button is a user interface element typically located at the bottom right corner of a webpage. When clicked, it automatically scrolls the page back to the top, enhancing user navigation and improving overall user experience by providing a quick way to return to the top of long pages.
Add ScreenShots
https://github.com/mdazfar2/HelpOps-Hub/assets/95361125/c3b675d4-7cc1-49df-8704-3b1de7957d3f
something like this
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC'24 contributor
[ ] I'm a VSoC'24 contributor
[X] I want to work on this issue

@heli0707 As of now, we do not need it. We will let you know in the future if there is a need. Please search for another issue and raise it, which I'm happy to assign to you.


Implement business process manager / sagas

Implement a business process manager that can be used to implement event driven business processes and distributed eventually consistent transactions.
Example would be an order process which does something like:

Listens for an order placed event from the order service
Listens for a payment received event from the payment service
When both the above received, send a command (HTTP/REST?) to the picking service to pick the order
Listen for order picked event
When above event received send a command to the delivery service to deliver the order
Listen for order delivered event
Process complete

Processes can consist of multiple stages and to process from one stage to another conditions must be met.
Conditions include waiting for a set of events from different services. Events can be correlated by their fields (e.g.. joining on a customer id or order id). Time windows and timeouts should be supported.
A process can be implemented as a set of projections on the server which listen to certain events and manipulate a document which represents the state of the process.

In addition to Tim's explanation above It is also necessary to consider failure cases. In which certain calls that form part of a business process fail. Which implies that we need to be able to undo certain operations that succeed or fail partially. There seems to be general agreement about the necessity for this and sadly little agreement about the central aspects and processes.
Chris - https://www.youtube.com/watch?v=YPbGW3Fnmbc
Udi - https://www.youtube.com/watch?v=fWU8ZK0Dmxs
Caitie -https://www.youtube.com/watch?v=xDuwrtwYHu8


Adds hopefully non-offensive rustfmt config.

Hopefully this config file addresses https://github.com/rusoto/rusoto/issues/188 .
Would like more info in a README or other doc on how to use it.  If not how to plug in to various editors (vim, Sublime, Atom, etc...), how to run it manually.
Ideally we could have Travis run this for us, maybe even fail the build if it finds anything.

Speaking of running manually, this is how I got a diff for the hand crafted S3 code:
rustfmt --write-mode diff src/s3.rs.old

Eh running cargo fmt -- --write-mode diff shows there's still more tweaking to be done.  I'm not thrilled with this, for example:
-        let mut provider = ProfileProvider::with_configuration(⏎
-            "tests/sample-data/multiple_profile_credentials",⏎
-            "not_a_profile",⏎
-        );⏎
+        let mut provider = ProfileProvider::with_configuration("tests/sample-data/multiple_profil\⏎
+                                                                e_credentials",⏎
+                                                               "not_a_profile");⏎
``

Still wraps things a bit eagerly but on a whole I can live with it.  I think this version addresses #188 well.

The bizarre way it squishes long expressions or statements to the right is the main thing that I don't like about the current rustfmt style. I haven't looked at it in detail myself to see if there is a way to stop doing that by changing configuration. I kinda assumed the whole thing was still in flux.
#188 specifically can probably be addressed in a more simple way by adding a simple shell command like this one to check for files with whitespace errors and failing the build if there are any found. Perhaps Git even has a plumbing tool that does this, as it seems to be good at identifying whitespace errors in diffs.

Sounds like we're both still not sold on rustfmt as it stands.  I'll take another look at this PR when I get a chance to see if I can make it match our coding style better.

@jimmycuadra have you had a chance to look at the latest version of this PR?  I think it addresses the squishing of long statements by allowing them to be longer than default before reverting to vertical formatting.

Pretty good, overall. There are a few things that are different than the style I prefer, but since this is not my project, I wouldn't care. There are still some cases where it makes things look really bad, though. Here is one example:
fn parse_xml<'a, T: Peek + Next>(tag_name: &str, stack: &mut T) -> Result<PutBucketNotificationRequest, XmlParseError> {
    try!(start_element(tag_name, stack));
    let mut obj = PutBucketNotificationRequest::default();
    loop {
        let current_name = try!(peek_at_name(stack));
        match current_name.as_ref() {
            "NotificationConfiguration" => {
                obj.notification_configuration = try!(NotificationConfigurationDeprecatedParser::parse_xml("Noti\
                                                                                fica\
                                                                                tion\
                                                                                Conf\
                                                                                igur\
                                                                                atio\
                                                                                n",
                                                                                stack));
                continue;
            }
            "Content-MD5" => {
                obj.content_md5 = Some(try!(ContentMD5Parser::parse_xml("Content-MD5", stack)));
                continue;
            }
            "Bucket" => {
                obj.bucket = try!(BucketNameParser::parse_xml("Bucket", stack));
                continue;
            }
            _ => break,
        }
    }
    try!(end_element(tag_name, stack));
    Ok(obj)
}

If I were writing that by hand, I'd do this for the ugly part:
obj.notification_configuration = try!(NotificationConfigurationDeprecatedParser::parse_xml(
    "NotificationConfiguration",
    stack,
));

Haha that is pretty terrible.  I'll tweak it some more and see if I can get that to be not terrible.
We may just have to set the max width of things to int32.maxvalue. :smile:

A new version of rustfmt was released today. Maybe it has some new stuff that will help us.

The new version certainly takes longer to install as well as run on the S3 code.  Bumped line width up again.
Most of the terrible, terrible things it did before are now gone and the worst offenders are in the S3 code, which will eventually be generated so I'm not super concerned about them.
I'll take another look at what's new in rustfmt 0.4.0 and see if there are things added to address our specific concerns.

I shared my concern (including the example I called out here) on https://users.rust-lang.org/t/please-help-test-rustfmt/5386. If there are other things we're having trouble with, might be worth mentioning them there, too.

The absolute string mangling is taken care of with the latest commit but it still eagerly wraps to the right.  That's my biggest issue with it right now and @jimmycuadra 's comment in the rust-lang forum covers our problem well.  Hopefully it can be addressed.
I am starting to think this is still too immature for us.

nrc sez:

...for large blocks of code, we no longer push it right, which solves a lot of the rightward drift issues and is probably the biggest pain point for many users. We also block-indent rather than visual-indent chains of method and field calls (another source of rightward drift). I'll publish a new version with all these changes soon.

This may yet be useable soon!

Rustfmt 0.5.0 came out a few days ago, this probably needs rework and rechecking.

With Rustfmt 0.5.0 this branch still causes eager wrapping to the right, I need to poke at the options available and find the "do what I want" feature and set it.
Also a bonus of third party subcommand cargo-fmt exited unsuccessfully for cargo fmt -- --write-mode diff on rusoto/src/kms.rs.

I'm going to shelve this until a new version of rustfmt is out.


should use https and not http

Many browsers will not connect to http.  Heroku supports https without any issues.

seeems to work


Run last executed test

Add a command to run last executed test. Whether it failed, or not shouldn't matter.
Currently, I'm using the "Run failed test" command (i've bound it to a hotkey), but I'd really like one that executes the last one. If no tests have run, it could run all of them or do nothing.
Also, when I have the Output Console focused and I run test, it focusses the test view on failure. Whereas I'd like to stay focused on the Output console since that is where the errors are being logged.

Thank you for the suggestion! We have marked this issue as "needs decision" to make sure we have a conversation about your idea. We plan to leave this feature request open for at least a month to see how many 👍 votes the opening comment gets to help us make our decision.

It'd be nice to add a "Run last executed test" command that would allow for that. If no tests have run, then it'd do nothing.

This should be fixed via #16769


Update to support newest brainflow version (4.5.0)

I added support for the newest Brainflow version which includes support for the Neurosity Crown. I also fixed an issue where the newest brainflow would cause stim markers to not save in the CSV file.
Resolves #127

Just tested on the Crown and worked for me - triggers are sending for the N170 task!


kube3d: 4.1.1 -> 4.2.0

Motivation for this change
Bump kube3d to 4.2.0
Things done

[X] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[X] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 112575 run on x86_64-linux 1

1 package built:

kube3d


Refactor config parsing.

Right now, config parsing is rudimentary
We should provide better error messages when the config file is invalid

c7a4b4b and 02eccf6 makes the entire config parsing logic more robust and less error-prone.
Using demp for templating.
Also using shellwords for splitting the command.
Thus removed 2 comlpex custom algorithms and replaced them with well-tested libraries.


Is there a way to send a message back to sender after persisting?

I understand how I would return messages to a non actor with the ask pattern, but is it possible to do that after persisting?
  fn receive(&mut self,
                ctx: &Context<Self::Msg>,
                msg: Self::Msg,
                sender: Option<ActorRef<Self::Msg>>) {
        ctx.persist_event(msg);
    }

    fn apply_event(&mut self, _ctx: &Context<Self::Msg>, evt: Self::Msg) {
       // how could I access `sender` here?
    }

#44
Added a pull request for reference of maybe what that would like. Unfortunately a breaking change

Hi @jpopesculian thanks for your contribution. I know that others are including sender in the event and then not serializing the actor ref, leaving it as None when it is replayed. That isn't quite right and I like your approach to this. I wonder about naming here. Is sender accurate, or something else make sense?
@kitsuneninetails I remember you were using a flow similar to @jpopesculian and had some input around this.

@leenozara yeah I just super quickly threw that together, but I agree the sender name is a little confusing, especially since its being passed around alot. just wanted to get your input on it, and I'd be happy to change it as necessary if its something you see could be useful!

It looks like the idea of the PR is to enhance persist_event to take a single sender.  I'm guessing this will work, since the actor ref is passed along with the event.  Using a single Option object, etc. in the struct doesn't work, because another event can be persisted, which would cause any sender ref option in the main struct to be over-written.
Another way to accomplish this (if you aren't trying to reply to asker actors) is through actor Channels and broadcasting notice messages in a channel.  Your target actors can be listening and accept this broadcast.  This won't work if you are trying to reply to an ask actor, however.
In my case, I didn't want to make a breaking change, and I did indeed need to reply to the ask actor, so I added a Hash Map of actor ref IDs to actor refs on the actor struct itself.  I add the ref of the actor I would like to send a message to in this map (keyed on ref ID) during the main message handling (before I call persist_event, and fetch it during apply_event.  It works without a breaking change, but I'm thinking if a change were to be introduced, this PR seems like a good way to do this.
As for the naming, as Lee pointed out, this could be ANY actor ref passed in at will from the actor; and in fact, should it be limited to only one?  But it indeed seems to be mostly useful in exactly the situation I had, where I was trying to hold off replying to the ask actor (and sending an HTTP response back via my HTTP server) until after the event was persisted.  In that use case, sender does seem appropriate IMHO.

I still think there's power in allowing the user to use the sender after persistance... but I actually just implementing a kind of meta object on all protocol messages that keeps track of a stack of ActorRef's so that I can return up the stack when necessary. I'm honestly new to Actors and things, so I don't know if that's the best pattern for all of this but it made sense to me. As the sender list isn't used in replay events, it just deserializes to a blank list....

I like @jpopesculian 's separate function parameter for passing in an ActorRef. If we wanted to expand this to pass a 'stack' or 'context' that can contain multiple ActorRef what would that look like? If that makes sense, then where else other than apply_event would that also apply?

This makes a lot of sense to me. I might be naive but I think the ActorRef is all that is needed @leenozara
The PR might collide on a line a bit with https://github.com/riker-rs/riker/pull/40 which is a one line fix... but critical in my opinion. If anything, it simplifies the PR and makes replay not have side effects, which it has right now.

@leenozara sorry that I'm taking a look at this so late. I mean I came up upon kind of a conceptual difference between someone waiting on a reply and the sender. For example:
REST Endpoint
     |
     v
   Actor [ sender: Endpoint, waiting: Endpoint ]
     |
     V
   Child [ sender: Actor, waiting: Actor ]
     |
     V
   Child [ sender: Child, waiting: Actor ]
     |
     V
   Actor [ sender: Child, waiting: Endpoint ]
     |
     V
REST Endpoint

By the way, I think #40 is much more critical and ready to be merged...

Again, I'm new to event sourcing, I don't know if this is the right way to be looking at this...

Hi @jpopesculian thank you for being so patient and my apologies for letting this slide for so long. I'm going to get this merged in this week. I've been reluctant to do so up until now because there's some fairly significant changes on a separate branch that impact how sender ActorRef is used in general. Work on that branch is taking much longer than I expected and it's already been too long to get your contribution merged - so I'll get this done this week - thanks!

Hey no worries @leenozara ! Let me know if you need help with anything, I like the project! Again I solved this problem personally, so I don't find the change as critical but #47 should be fixed as soon as possible. Thanks for all the good work!


Update to geojs 0.10.1

I briefly tested this.  Someone else should give it a try as well.

I also cherry-picked my sinon fix to get the tests to pass.

@jbeezley When I tried this branch, I can no longer render an uploaded geojson file, but I can do so with current minerva master.
From Adapters.js

TypeError: Cannot read property '0' of undefined

For a file with polygons, I was getting a different error.  For some reason, switching to the unminified source for debugging fixed the issue.  There might be something wrong with the minified sources on npm.  See if this works for you.  Otherwise send me the geojson file your using, and I'll do some more exploration.

Thanks for looking into it @jbeezley, it works now.  Turns out I had an invalid GeoJson file, but one that I had been using for quite a while to test Minerva.  Perhaps GeoJs used to be more tolerant of the invalidity.
LGTM.

We could probably throw a more useful error, but trying to correct errors in invalid files means slower parsing and more complexity.  The file you were using doesn't load in geojson.io, and geojsonlint can always be used to debug the file.


improve python distribution artifacts

References

fixes #183

Code changes

[x] adds dist:twine doit tasks which runs twine check on each dist wheel

flit sdists don't pass twine check :crying_cat_face:

[x] patch up the metadata

[x] description-file
[x] classifiers
[x] license
[x] keywords

[x] make jsonschema an optional dependency

[x] throw some warnings but don't fail

[x] copies the root README to py/jupyterlite before building

[x] adds a short table about installing, using the CLI

[x] smoke tests the CLI on each platform before installing test dependencies

linux and osx build the same sha256sum, a la :tada: https://github.com/jtpio/jupyterlite/pull/172#issuecomment-867625254

User-facing changes

users should see something on PyPI :blush:

Backwards-incompatible changes

n/a

Ha, turns out I wrote the test poorly. Also, flit sdists are apparently flagged as non-comforming by twine check... i'm really hoping it pulls it off the wheel... i shan't be writing any rst today, thanks.

I appear to have gummed up the RTD works, but otherwise this is good to go

Just pushed a minor change to use python instead of python3 for the user facing pip commands.

Yeah, I prefer python better as well, but ran into at least one problem
during that mess of commits. Also apparently some distros are dropping the
python alias, which seems kinda crazy to me but I don't make the rules. I
guess Ubuntu 20.04 will be with us for a good while.
I'm fine with changing it back in docs, but would keep in ci... And
probably didn't even do it in dodo...

I'm fine with changing it back in docs, but would keep in ci... And probably didn't even do it in dodo...

Yes it's just for docs and README.md, since we rarely use python3 for user facing docs these days.


TreeError [VariablesView] Data tree node not found: Locals

Error: TreeError [VariablesView] Data tree node not found: Locals
at ne.getDataNode in src/vs/base/browser/ui/tree/asyncDataTree.ts:721:10
at ne.expand in src/vs/base/browser/ui/tree/asyncDataTree.ts:580:21
at async P.runner in src/vs/workbench/contrib/debug/browser/variablesView.ts:107:5

Go to Errors Site

https://github.com/microsoft/vscode/issues/157254


how to link taxon pages to type pages

@Daniel-Mietchen  @jhpoelen
I am interested in linking pages that talk about species to type data specimen pages in wikidata.
For example, https://www.wikidata.org/wiki/Q66098689 is the paratype of Leucothoe trulla.
Leucothoe trulla is found at https://www.wikidata.org/wiki/Q21276621 which can be found by the property of the scientific name.
Taxon is defined in the type specimen page, but the inverse is not defined. I would like to be able to define/link the inverse (taxon page to type). How would this be included? Below is a screen shot of a failed attempt to create the link from the taxon page to the type specimen. Thanks!

from https://www.wikidata.org/wiki/Q66098689#p2868


Support raw index for multi-valued columns

Related issues: #6473, #8750

hey @Jackie-Jiang - there is another related issue here https://github.com/apache/pinot/issues/7870
I had discussed the point (4) in that issue with @somandal  and we are planning to do it in one of the two ways:

Support for general purpose compression on dictionary encoded columns. So, for a dictionary encoded column it is not absolutely necessary to dictionary encode the forward index as well. The raw data in forward index can be compressed using LZ4 / SNAPPY etc just like we would have done for a noDictionary column
The other way we are thinking is to also add support for no forward index.

I think both approaches can be implemented and will benefit the case where forward index can be huge (like the MV column example in my issue) and the column is only used in filtering so ok to have the forward index compressed or not have it at all.

@siddharthteotia Any update on this?

@Jackie-Jiang IIRC, we have a very high cardinality MV column on which we want to turn off dict encoding. However, do so does not let us define inverted index on these columns. So we want to be able to have the inverted index WHILE having the option to turn off the dictionary for this column. The dictionary ends up occupying around 50% of the segment size.

@Jackie-Jiang Further description here.

Since the topic of this issue is already supported, closing this one and use other issues to track the specific feature request


[Windows] Implement minor improvements, rev 2

Description
This PR brings minor improvements to Windows image generation:

Make sure that MSYS2 installation works correctly if no mingw, msys packages are specified in toolset
Install-WDK.ps1 and Install-Wix.ps1  should fail on different platforms because they are not compatible with them
Don't run TLS tests in scope of images/win/scripts/Installers/Update-DotnetTLS.ps1 because changes are not applied immediately
Exclude Cached Docker images section from docs if no containers are cached

Related issue:
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run windows2016, windows2019

/azp run windows2016, windows2019


MINIFICPP-1389 - Upgrade librdkafka to version 1.5.0

The current version of librdkafka we use has cherry-picked patches applied to it and also does not support transactions required for the implementation of ConsumeKafka processor.

I think we need to update the LICENSE file with the new versions of the licenses.

I think we need to update the LICENSE file with the new versions of the licenses.

Updated the librdkafka license files. However I am not sure if we should also include the licenses from the dependencies of librdkafka itself. Opened a JIRA ticket for the Apache legal team here:
https://issues.apache.org/jira/browse/LEGAL-546
If the current format is not acceptable, I will open a separate correction PR.

I'm pretty sure the answer is yes: we need to include all transitive dependencies' licenses and notices. Otherwise it would be trivial to circumvent these requirements by creating a wrapper project that depends on the software and exposes all of its components.

@fgerlits @szaszm updated the transitive licenses.


chore: pin GitHub actions with their SHA-1 instead of their version number

Ref: https://github.com/jenkins-infra/helpdesk/issues/3402

You're right, these actions shouldn't be concerned by the SHA-1 pinning.
See my comment agreeing with you here: https://github.com/jenkins-infra/helpdesk/issues/3402#issuecomment-1443742488


Use Mantine Anchor for all links

This fixes link styles with Mantine themes.

Coverage remained the same at 94.093% when pulling 11c49732ec0e31a3a60df42093e12db7fa3f2dc4 on cody-use-mantine-anchor-for-links into 3389b2ef18f0eaf27faf558f3a6a0b38ea066e4e on main.


Not every playlist is showing up

Issue Description
As the name says, when typing sp playlist it only lists about half of the playlists it should, and searching for playlists that were not listed but that I'm following will result in the plugin saying it found no results.
Functionality Affected
Please mark the functionality of the plugin that is affected by the issue:

[ ] Controlling the local Spotify client (changing track, pausing, skipping, muting)
[X ] Searching Spotify for albums, artists or songs

Software Versions
Please fill in the following information:

Spotify client version (Help > About Spotify): <IP_ADDRESS>8.gf13cde74
Wox version (Wox Settings > About): 1.3.578

Hey Kamefrede, I don't think I found a way to efficiently paginate the playlist results so it may be searching an incomplete subset of all accessible playlists. Let me investigate further.

Hey Kamefrede - I'm not sure the best way to solve this in the meantime other than just having Wox pull a larger number of playlists. Currently I just grab 50, so I'll bump it up to grabbing up 500 user playlists. It's an arbitrary limit but I assume most standard users don't have 500+ Spotify Playlists... so it'll have to do

@Kamefrede I "updated" the SpotifyPremium from 1.0.0 to 0.9.1... can you uninstall and reinstall spotifyPremium and confirm the playlist(s) you were looking for show up now?

@Kamefrede Ok - it should be working now if you want to uninstall and reinstall the Plugin. The initial playlist request may take a while (like, more than 10 seconds) because it needs to cache images for your playlists, but after that it should return pretty quickly. Let me know if your experience is different

Sp playlist shows me a bunch of playlist that aren't mine, could it be any chance showing me someone else's?

Update: Yeah upon trying to see the devices available with sp device it shows me two that are not my devices

I left my temporary token in the deployment package... 🤦♂
Should be fixed now

Seems to display all my playlists now so I'd call it fixed!

Great! Thanks for working with me on this one.


[JS] ARRAY_CALLBACK_RETURN_MISSING (new query)

Query Info
Query Name: Array callback doesn't return value
Description: Array callbacks like map and filter expect a value to be returned, so code should never omit a return value in any execution path.
Kind: problem
Severity: warning
ID: js/array-callback-doesnt-return-value
Precision: very-high
Tags: correctness
What is the English description of the problem to analyze?
Problem Structures: An array method which requires a callback that returns a value, is called using a callback that does not return a value.
What is the reason this is a problem that deserves a query?
Many array methods, such as map and filter, take callback arguments which are expected to return values.
Use of a callback that can sometimes returning nothing is an indication that the programmer may have meant to use some other function, such as forEach, which makes no use of the returned value.
Where side effects are concerned, map and forEach are identical, so such confusion is understandable.
What are the main concepts and potentially relevant libraries?

Methods and Calls: function utils (to be able to reference the method by name, independent of how it's called, whether its directly called or called via call or apply)
Callbacks: referring expressions / data flow (for indirect reference to callbacks)
Return Values: function utils / control flow (for finding returns)

Recommendations
Replace the empty returns with a value return, or possibly replace the method with one that doesn't expect the callback to return a value.
References
ARRAY_CALLBACK_RETURN_MISSING

I've run it on the query console and there are a lot of false positives, mainly since the query doesn't check if the receiver is actually an array. It flags a lot of calls to unrelated methods called map, filter, find, etc.
Not knowing the type of the receiver is a recurring problem when analyzing JavaScript. Sometimes we can get away with just assuming it's the type we're looking for, but usually such assumptions need to be coupled with other criteria that make it unlikely to result in a false positive.
Then there is a result like this one where the filter callback either returns true or falls over the end, returning undefined, which becomes false. Here it's a matter of style and probably code size. I would consider this to be a false positive.
I'm not sure what concretely can be done to make the true positive rate high enough. If you want to continue work on this query, I'd recommend using the query console a lot more.

Yeah, there's a level at which some things are ok b/c of the behavior of JS but which may also be indicative of a problem. The undefined cases are a good example of this. I think what I can do is add a check to see if the expression is in a null-sensitive context, which would tell us at a minimum whether or not the thing is for-certain problematic.
Dealing w/ the issue of types is tricky tho. I'll close the PR for now, but keep looking at how that could be handled in a sensible way.