Not able to implement with PowerShell or AZ CLI installed on my machine

When I try to create a Private zone using PowerShell, it gives me an error stating the New-AzureRmDnsZone does not have a parameter matching 'ZoneType'.  I am using version 4.1.1 of the AzureRM.Dns module and 5.4.1 of the AzureRM.Network module.  I also tried it using az cli from my machine locally and failed as well saying "--zone-type Private" was unrecognized.  I was able to take the same az cli command and create the Private zone using the Azure Cloud Shell.

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

ID: 4a52a9e1-30fe-a102-522f-f3794b5914de
Version Independent ID: 3a16c835-95cd-7552-f877-ce77ad7762f4
Content: Get started with Azure DNS private zones using PowerShell
Content Source: articles/dns/private-dns-getstarted-powershell.md
Service: dns
GitHub Login: @KumudD
Microsoft Alias: kumud

You may need to restart your powershell session if you manually installed those modules. For the CLI, did you make sure to install the dns extension as described in https://docs.microsoft.com/en-us/azure/dns/private-dns-getstarted-cli#to-installuse-azure-dns-private-zones-feature-public-preview ?

Also check if you have multiple versions of Dns or Network modules installed and if so perhaps your PS session is using an older version. Use the below command to check.
Get-installedmodule -allversions -name azurerm.dns

I do not
Sent from Ninehttp://www.9folders.com/

From: S Sarma<EMAIL_ADDRESS>Sent: Friday, March 30, 2018 13:02
To: MicrosoftDocs/azure-docs
Cc: Byron Boudreaux; Author
Subject: Re: [MicrosoftDocs/azure-docs] Not able to implement with PowerShell or AZ CLI installed on my machine (#6522)
Also check if you have multiple versions of Dns or Network modules installed and if so perhaps your PS session is using an older version. Use the below command to check.
Get-installedmodule -allversions -name azurerm.dns
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F6522%23issuecomment-377571042&data=02|01||de3c19fc341241f5345408d596600bc0|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636580261600792692&sdata=VMJ24Ccj3OS0HRmXgAtWmE7lyJNwPJ5RfrbpiDDcy4U%3D&reserved=0, or mute the threadhttps://nam02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQEFJ5ZpdpEZuFJ7uT-u-SbdaBT3oxplks5tjmUtgaJpZM4TBqs3&data=02|01||de3c19fc341241f5345408d596600bc0|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636580261600792692&sdata=sl82AIVeF1t6IxXv14Z5NAronDTcBN3iVwoFQ%2By1L5w%3D&reserved=0.

The machine has been rebooted since installing and I did do the DNS extension
Sent from Ninehttp://www.9folders.com/

From: S Sarma<EMAIL_ADDRESS>Sent: Friday, March 30, 2018 12:51
To: MicrosoftDocs/azure-docs
Cc: Byron Boudreaux; Author
Subject: Re: [MicrosoftDocs/azure-docs] Not able to implement with PowerShell or AZ CLI installed on my machine (#6522)
You may need to restart your powershell session if you manually installed those modules. For the CLI, did you make sure to install the dns extension as described in https://docs.microsoft.com/en-us/azure/dns/private-dns-getstarted-cli#to-installuse-azure-dns-private-zones-feature-public-previewhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fazure%2Fdns%2Fprivate-dns-getstarted-cli%23to-installuse-azure-dns-private-zones-feature-public-preview&data=02|01||5139bd8c23c649a3e9d808d5965e6c85|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636580254640651888&sdata=pCBxu1irdWrTvAiewMeIKUW0GXdxRTVjrry4Q%2FRuB1Y%3D&reserved=0 ?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoftDocs%2Fazure-docs%2Fissues%2F6522%23issuecomment-377568308&data=02|01||5139bd8c23c649a3e9d808d5965e6c85|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636580254640651888&sdata=YnU91I2UZ4IP74z5QOKhcpFc2L2rE0EMK9LSW0pc9aU%3D&reserved=0, or mute the threadhttps://eur01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAQEFJxvhaO6vu6aByrvIp7HM0d4-AtUxks5tjmJ2gaJpZM4TBqs3&data=02|01||5139bd8c23c649a3e9d808d5965e6c85|84df9e7fe9f640afb435aaaaaaaaaaaa|1|0|636580254640651888&sdata=EY%2BuYxupztWFTudQd5I4at%2F7276HlDgTY%2B5iO88pnqY%3D&reserved=0.

@Phydeauxman  - not sure what the issue is, but couple of things to try:

Try the Azure cloudshell from the Azure Portal: it uses the same modules behind the scenes
Try reinstalling Azure Powershell - latest version supports Azure DNS Private zones natively without the need to install custom modules as mentioned earlier: https://docs.microsoft.com/en-us/powershell/azure/install-azurerm-ps?view=azurermps-5.6.0

@Phydeauxman
Is this still an issue?

No


Adding in the ability to deal with multi-core

This is an attempt to deal with multi-core problem
Fixes #421

@tspayne87 thanks for the PR! I'm currently on holidays, I will review it at the end of the month.

Added in suggested change now you would do something like this.
services.AddSolrNet("http://solr.com/foobar");
services.AddSolrNet<TestingModel>("http://solr.com/testing");

However, calling the AddSolrNet without a generic class for a second time would result in nothing being changed or added.  Should I just remove the AddSolrNet option or just allow for that to happen and just put a note in for that.

@tspayne87 could perhaps throw an InvalidOperationException in that case

That would be a good idea, you got a specific message in mind?

Something like:

Only one non-typed Solr Core can be registered. In order to use multiple cores, use the typed AddSolrNet<>() overload.

Although non-typed is not the best wording, thought before about generic but that is confusing. Open to suggestions though, and I think that whatever we type will already help to user understand what is wrong.

Added in the exception operations, also I have been thinking about the class SolrCore.  Since we are breaking the cores up into separate overloaded methods I do no think that it is needed anymore since we are just using it to store the url and nothing else.  Just wanted to ask before removing the code.

Yeah, thats a good idea.

I went ahead and removed the SolrCore class and added in some more documentation to the methods.  Was there anything else you can think of that would be good to add or remove?

If it wouldn't be too much of a hassle , could you add an example of the new usage to here:
https://github.com/SolrNet/SolrNet/blob/master/Documentation/Initialization.md#microsoftextensionsdependencyinjection-aspnet-core
(Documentation/Initialization.md)
And here:
https://github.com/SolrNet/SolrNet/blob/master/Documentation/Multi-core-instance.md
That would really advertise your solution to the users.
Thanks a million!

Added in some documentation to the two files you suggested, sorry it took so long been bogged down pretty hard with work.

@tspayne87  Thanks a million!


Fix Timing Wheel Concurrency bug

As #15161 stated, there's a concurrency issue under timing wheel.
Considering 3 threads, running the following content

Thread I: Starts the timer, and spinning for sometime. Then Stops the timer.
Thread II: The timing wheel thread, ticking new tasks
Thread III: A task added to TaskManager and running asynchronously

Now Let's say Thread I stops the timer and reset task_ when Thread II has already run line 52 (timing_wheel.cc) & got an instance of the shared pointer. The only shared pointer task is only maintained in Thread II. Let's say somehow the scheduler haven't got enough resource to run Thread III and Thread II finished first. In this case, task_ is released.
If now, Thread III is scheduled by TaskManager and running line 60 (timing_wheel.cc) , since this callback is caught by task->callback, this is a heap-use-after-release problem. This could also be detected by ASAN.

 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.

Will check and feedback soon!


User Authentication

So once the user got back from oath of steemconnect we should check if that user exists in our system, if yes log him in and retrieve all the data needed about him otherwise create a new user in our db and retrieve his info to the front end.

I am already recieving access token and getting redirected back on the frontend

@bannik    You need to use the Access Token and call the sc2 api ( sc2.me route returns user object).
This returned object needs to be sent to the back end via /login route. the API is ready for this operation.

i´ve implemented the basic login including redirection to a user contribution page, will add a call to the login route soon.

is a user check right after login even neccessary? after login you directly get to the "my contributions" page, where a call to the backend api should happen. in that call, you can check if the user already exists. no need for an extra call imho.

@onozasi @ms10398 Close this issue since it is no longer relevant.
@ateufel Contact me via chat


Performance of useSyncExternalStore and React transitions

What version of React, ReactDOM/React Native, Redux, and React Redux are you using?

React: 18.2.0 (latest at time of writing)
Redux: 4.2.1 (latest at time of writing)
React Redux: 8.1.3 (latest at time of writing)

What is the current behavior?
Reduced test case: https://github.com/OliverJAsh/react-redux-useSyncExternalStore-perf
Despite wrapping calls to dispatch with startTransition, React will always render Redux state updates synchronously. This is in contrast to regular React state updates.
I suspect this is due to the behaviour of useSyncExternalStore. However I was wondering if you're aware of any plans for this to be addressed, either in React Redux somehow or React itself?
As it stands I think this is a significant performance issue. For example, here's a performance recording from Unsplash (the application I work on). We're able to benefit from concurrent rendering and "time slicing" for hydration, but then once hydration has finished we need to run some state updates through Redux, and this results in this very long task (hovered):

It would be great if we could benefit from transitions / concurrent rendering / time slicing.
In our case at Unsplash, if we could figure out a way to make these states updates non-blocking then we could significantly improve our page load performance and metrics such as TBT, TTI, and ITP.
If it helps, here's a demo of my reduced test case, comparing state updates for React vs Redux (both wrapped in startTransition):
https://github.com/reduxjs/react-redux/assets/921609/27d767e3-dfb1-469c-9c2c-f64a8b1e9038
What is the expected behavior?
N/A
Which browser and OS are affected by this issue?
No response
Did this work in previous versions of React Redux?

[ ] Yes

It is pretty much the React team's decision to deal with all external data sources like this - they created useSyncExternalStore for exactly the purpose of keeping "non-React" updates synchronous (to avoid tearing), and there is no other way (or only less performant ways) we could implement this without useSyncExternalStore.

That's what I thought. Do you know if there's been any further discussion in the React team about this? I understand the constraints but this seems like a pretty fundamental flaw to me.

Purely off the top of my head, this is basically the React team's intent.  The only way React can fully know that a state update is interruptible / low-pri is if it's built-in React state, in which case React controls when the render pass happens and when that queued state update gets applied.  React has no control over any external store, and those update synchronously, so there's no way to tie together a future pending React update with the external store somehow applying the change to itself later when React is ready to render.  So, React is forced to treat all external state updates and renders as synchronous and blocking too.

I'm suffering from the same issue too. This sync work blocks rendering for so much ms. Are there at least any recommended workaround? 👀
What I'm trying is using useDeferredValue to defer from original state whenever I need transitions.

In our case we were able to workaround the problem by moving the state out of Redux and into context. This does make me question the long term usage of Redux state in React. 🤔


For the DataTable type, the call to GetType() on a non-existent property returns a value

Steps to reproduce
[void][Reflection.Assembly]::LoadWithPartialName("System.Data.DataSetExtensions");
$Dt = New-Object System.Data.DataTable
[void]$Dt.Columns.Add( 'C1')
[void]$Dt.Columns.Add( 'C2')
[void]$Dt.Rows.Add( '1','2')
[void]$Dt.Rows.Add( 'Y','Z')
$Dt.xyz.GetType()
# IsPublic IsSerial Name                                     BaseType
# -------- -------- ----                                     --------
# True     True     Object[]                                 System.Array
$null -eq $Dt.xyz
#$False
Set-StrictMode -Version latest
$Dt.xyz
#PropertyNotFoundException: The property 'xyz' cannot be found on this object. Verify that the property exists.
Set-StrictMode -Off

Expected behavior
same behaviour as the following cases :
$i=10
$i.xyz
#$null
$i.xyz.gettype()
#InvalidOperation: You cannot call a method on a null-valued expression.
$null -eq $i.xyz
#True

$T=1..3
$T.xyz
#$null
$T.xyz.gettype()
#InvalidOperation: You cannot call a method on a null-valued expression.
$null -eq $T.xyz
#True

Actual behavior
The call to GetType() on a non-existent property returns one or more values :
$null -eq $Dt.xyz
#$False

Environment data
Windows 10
Name                           Value
----                           -----
PSVersion                      7.1.0
PSEdition                      Core
GitCommitId                    7.1.0
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0, 5.0, 5.1.10032.0, 6.0.0, 6.1.0, 6.2.0, 7.0.0, 7.1.0}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

This issue may be related to #6466

Even though the type itself doesn't implement IEnumerable, PowerShell treats instances of System.Data.DataTable as enumerable rather than requiring you to use their (enumerable) .Rows property (which to me is both surprising and consistently implemented - see bottom section).
Therefore, $dt.xyz - in the absence of .xyz property on the System.Data.DataTable instance itself -  performs member enumeration, i.e. it behaves like $dt.Rows.xyz == $dt.Rows | % { $_.xyz }.
In the absence of a .xyz property on the individual rows too, $null is returned for each, so with 2 rows you get a ($null, $null) array.
With strict mode in effect, you get an error, as expected.

Another manifestation of this behavior is that $dt.Count returns (1, 1), because - in given that System.Data.DataTable itself has no .Count property - .Rows.Count is returned, and each row - as a scalar -has a count of 1.
Also, indexing doesn't work as expected: $dt[0] is not the same as $dt.Rows[0]; instead, with indexing System.Data.DataTable is unexpectedly treated as a scalar, and [0] therefore returns the instance itself, i.e.. the whole table.

I understood that there could be a different behavior, which is not documented, so we have to find out to know.
This has been achieved :-)
In the following case (a bit twisted), the result is different:
 #Crée une fonction à partir d'une closure
${Function:Test-GenericIEnumerable}=.{
    #On recherche le type ouvert de l'interface générique IEnumerable
    $GenericIEnumerable=[Type]'System.Collections.Generic.IEnumerable`1'

    Return {
     #La variable $InputObject implémente-t-elle l'interface générique IEnumerable ?
      param( $InputObject )
        foreach ($Interface in $InputObject.GetType().GetInterfaces())
        {
            #On suppose une seule implémentation de l'interface générique IEnumerable (https://stackoverflow.com/a/7852650)
           if ($Interface.IsGenericType)
           {
               if ($Interface.GetGenericTypeDefinition() -eq $GenericIEnumerable)
               {return $true}
           }
        }
        return $false
    }.GetNewClosure()
}

$Dt.Rows -is [System.Collections.IEnumerable]
# True

Test-GenericIEnumerable $Dt.Rows
# False
Test-GenericIEnumerable $Dt.xyz
# True

So is this the only type that behaves like this or how else can we identify them?

the result is different:

That is to be expected: $Dt.Rows, with .Rows being a type-native property of a [System.Data.DataTable] instance, is of type [System.Data.DataRowCollection] is an IEnumerable, but not a generic enumerable.
By contrast, $Dt.xyz, the result of member enumeration  is an [object[]] array (which it always is with two or more elements) , which is a generic enumerable.

So is this the only type that behaves like this or how else can we identify them?

Which types PowerShell considers enumerable is based on hard-coded rules:

Any type that implements the IEnumerable / IEnumerable`1 .NET interface(s)

Except the following, which are not automatically enumerated:

IDictionary / IDictionary`2, which notably includes [hashtable] (@{ ... }, as a literal) and its ordered cousin, OrderedDictionary ([ordered] @{ ... }, as a literal)

XmlNode, the base type for [xml] (XmlDocument)

Strings (String); note that 'foo'.Count is 1 (the intrinsic property reflecting that a string is considered a scalar (single thing)), whereas 'foo'.Length is 3 (the type-native property that returns the character count).

Additionally, System.Data.DataTable (which itself doesn't implement IEnumerable, only its .Rows property does).

See https://github.com/PowerShell/PowerShell/blob/48c7e112db8f0506a74555c83ecb8bec509b6597/src/System.Management.Automation/engine/LanguagePrimitives.cs#L523

Thanks for these explanations, however accessing a non-existent property should generate an error.

It does, if you use Set-StrictMode -Version 2 or higher, just with any other property access:
@{ Off = $true }, @{ Version = 2 }  | % {
  Write-Verbose -vb "-- With strict mode -$($_.Keys[0]):$($_.Values[0]):"
  Set-StrictMode @_
  ([pscustomobject] @{}).NoSuchProp
  [Data.DataTable]::new().NoSuchProp
}


Fix typo in setup.py

neessary seems to be a typo for necessary.

Thanks!
Jenkins, test this please.

Jenkins CI test (for commit d58562b1cca35706a9598b82ed6b8263e37278ee, target branch master) succeeded!

LGTM!


Fullscreen video doesn't rotate to landscape on iOS

When I click the video to go fullscreen it expands into portrait up, this only happens on iOS (both a real device, via TestFlight, and a simulator), yet it works correctly on android.
These are the contents of my build function for that particular screen.
return SingleChildScrollView(
  child: Padding(
    padding: widget.customBorder ?? EdgeInsets.zero,
    child: ClipRRect(
      borderRadius: BorderRadius.circular(13),
      child: FlickVideoPlayer(
        flickManager: flickManager,
        preferredDeviceOrientationFullscreen: const [
          DeviceOrientation.landscapeLeft,
          DeviceOrientation.landscapeRight,
        ],
        flickVideoWithControls: FlickVideoWithControls(
          controls: CustomVideoPlayerControls(),
        ),
        flickVideoWithControlsFullscreen: FlickVideoWithControls(
          controls: CustomVideoPlayerControls(
            fullscreen: true,
          ),
        ),
      ),
    ),
  ),
);

Do you have any idea of what could be happening? Any assistance would be greatly appreciated.
Please let me know if you require any additional information.

how did you solve this?


Database/Datasource caching?

Love the project. I am using this with a database as a source of points and got tiling working with some examples. Although I am confused as to why each tile requires a database call.
My map starts out zoomed out so every datapoint is needed (~200,000) this take about 10 seconds for my query to complete and mapnik does a good job. But when I zoom in just one level it loads (~100,000) points which takes 6-8 seconds for my database to complete. And so on and so forth. Mapnik already had every datapoint, why doesn't it just cache that and reuse it rather than relying on a new query for each tile? The bottleneck here is my database and the dataset, not mapnik.
Why does mapnik do this? Are there ways to solve this problem? I am open to other plugins/support or even suggestions of a cache service that will take my resultset and keep it in memory for mapnik to read,

This is by design. A key aspect of Mapnik's performance is its ability to support multithreaded rendering and to not bloat memory usage. Caching data to try to predict user behavior for what zoom levels are needed would fight against the ability for low-memory parallel rendering.
So, as you guess the solution is not for Mapnik to cache but for you to cache. So, how to cache the results of database queries? Well there are many ways. What I recommend is vector tiles. Jumping ahead: the fastest rendering of millions of points can be done with node-mapnik + Mapnik's dot symbolizer + vector tiles created with https://github.com/mapbox/tippecanoe (which has sophisticated point filtering to throw on points that will not be seen). This is how the map at https://www.mapbox.com/blog/twitter-map-every-tweet/ is able to be rendered on the fly.

These are interesting things I didn't know existed.
I understand the design behind Mapnik, but at the same time I find the paradigm shift to be memory and storage is cheap and CPU and time to be expensive.
It seems a lot of hoops to jump through to take data from the database and convert it to GeoJSON so tippecanoe can parse it into a mbtiles format (which is just another database) and then feed that into Mapnik. Especially if I planning on having dynamic data at runtime for each map request, with no tile caching possible.
I have 32 GB memory at my disposal, and I was hoping there would be a flag or a setting I could adjust in Mapnik that would solve my problem internally (albeit I didnt expect it to be optimal as a third party caching schemes). The expense of developing a working and flawless solution that works nicely with 3-4 systems far outweighs the cost of just buying more RAM for a perhaps "dumb" but good enough solution.
Please consider it. Thanks!

There is a lot of effort and design that is required in order to make a single datasource be access-able by different threads. I can promise you that we all have considered ways to make this possible, because every single person who uses this wants at times to make a large number of tiles. For several reasons, one of them development time, we have not been able to do anything like this. The biggest reason development time has not been put for this way is that vector tiles offer a more dynamic and better way for dealing with data, rather then having mapnik store a large dataset.
You are much better off using vector tiles as described using tippecanoe (or making a tileset using mapnik) for performance reasons as well, this prevents the search + clipping time required for each dataset as it is already in a friendly format for rendering quickly.

@flippmoke @Plasik I've successfully used pool2 to pool and cluster datasource connections based on variable parameters in the sql/table string for multi-threaded processes -> png/image generation. This can add vector (geojson/pbf) formats with the same workflow.
I can not attest to the overall performance yet since it's a POC and we've only hammered one node process with tile-requests.
I agree that vector tiles add more flexibility but the documentation for implementing them with and without datasource comparisons is quite sparse (in node).  This is what precipitated the primary focus of PNG generation with optional pbf and geojson through the same workflow.

Going to close this again. Don't see anything more to do here. Mapnik has a pluggable datasource system. Anyone wanting to cache data in memory should feel free to do that how they want, and then they can rig mapnik to read from that memory. At Mapbox we accomplish this in a highly parallelizable way over the network with vector tiles. Others that want to implement other solutions of feeding data into mapnik will likely need to use the Mapnik C++ API to accomplish this rather than node-mapnik.
@ddproxy would be great to have some links to what you accomplished as others may be very interesting. Can you post some?


Add function to retrieve current supported versions

As mentioned in #58 this is probably the easiest way to get the currently supported game versions.
It queries the API and filters for relevant information.
Returns a dict of game-version pairs:
{
    "truckersmp": "<IP_ADDRESS>.6",
    "ets2": "<IP_ADDRESS>",
    "ats": "<IP_ADDRESS>"
}

First of all, this PR only adds an unused function. I think it's better to merge this with new code that uses this function.
Next, this is what I wrote to test the API:
#!/usr/bin/env python3

import json
import urllib.request

with urllib.request.urlopen("https://api.truckersmp.com/v2/version") as f:
    version_api = json.load(f)

print("ETS2: {}\nATS: {}".format(
  version_api["supported_game_version"].replace("s", ""),
  version_api["supported_ats_game_version"].replace("s", "")
))

Output:
ETS2: <IP_ADDRESS>
ATS: <IP_ADDRESS>

I believe you can make it simpler.

this PR only adds an unused function. I think it's better to merge this with new code that uses this function.

Agreed. We should probably make a dev branch to stack up and combine the new things.
Although we won't get the new fancy GitHub actions :)

I believe you can make it simpler.

I guess my python knowledge lacks a lot everything.

Although we won't get the new fancy GitHub actions :)

Could you add the new branch name (dev) to branches: in 3 .yaml files?

I guess my python knowledge lacks a lot everything.

There's no need to worry, I think Python is very easy to learn.

Can I merge this?

Yes, a "squash and merge" is probably the best option here.

I'm sorry, I should have edited the (combined) description before merging.

No problem, doesn't matter.


Error logging for bash script

Goal: whenever one of the modules fails, the bash script should exit and write the error to a module-specific log-file.

Implemented in commit 8970e66.
At the moment, the script performs the following actions for each module:

reports "Starting X... "
writes functional output to a .naf file
writes runtime stdout to a .log file
writes stderr to a .err file, but if this file is 0 bytes, then it removes it again.
checks if .err file exists, and if so, exit with status 1. If not reports "complete."

Note: some of the modules don't have runtime stdout; I'm thinking of making logging optional.

New setup for error handling:
Both progress reporting and errors are sent to a .log file. If the exit status of the module is 0, then delete the log file, rename the temporary .naf output file and proceed.
If the exit status is not 0, then report the contents and name of the .log file and exit with code 1 to 13 for each module.


🐛 Bug Report: in tests; mocking @backstage/plugin-catalog-react fails since 1.19

📜 Description
After attempting to upgrade from 1.18 to 1.19, tests suddenly fail with ReferenceError: Cannot access '_useEntityde64059aesm' before initialization.
Reproduced in a fresh generated backstage instance with a new test file with the contents that are provided as Reproduction steps. I reduced the example down as much as possible.
👍 Expected behavior
test passes
👎 Actual Behavior with Screenshots

ReferenceError: Cannot access '_useEntityde64059aesm' before initialization

  10 |     () =>
  11 |         ({
> 12 |             ...jest.requireActual('@backstage/plugin-catalog-react'),
     |                     ^
  13 |         }) as unknown,
  14 | );
  15 |

👟 Reproduction steps
Example failing test:
import {renderWithEffects, wrapInTestApp} from "@backstage/test-utils";
import React, {Suspense} from "react";
import {CatalogEntityPage} from "@backstage/plugin-catalog";

jest.mock(
    '@backstage/plugin-catalog-react',
    () =>
        ({
            ...jest.requireActual('@backstage/plugin-catalog-react'),
        }) as unknown,
);

describe('test', () => {
    it('should render', async () => {
        const rendered = await renderWithEffects(
            wrapInTestApp(
                <Suspense fallback="test">
                    <EntityProvider entity={{
                        apiVersion: 'backstage.io/v1alpha1',
                        kind: 'Component',
                        metadata: {
                            name: 'testEntity',
                        },
                    }}>
                        <CatalogEntityPage/>
                    </EntityProvider>
                </Suspense>,
            ),
        );
    });
});

📃 Provide the context for the Bug.
No response
🖥 Your Environment
OS:   Darwin 22.6.0 - darwin/arm64
node: v18.15.0
yarn: 1.22.19
cli:  0.23.0 (installed)
backstage:  1.19.0
Dependencies:
@backstage/app-defaults                                          1.4.4
@backstage/backend-app-api                                       0.5.6
@backstage/backend-common                                        0.19.8
@backstage/backend-dev-utils                                     0.1.2
@backstage/backend-openapi-utils                                 0.0.5
@backstage/backend-plugin-api                                    0.6.6
@backstage/backend-tasks                                         0.5.11
@backstage/catalog-client                                        1.4.5
@backstage/catalog-model                                         1.4.3
@backstage/cli-common                                            0.1.13
@backstage/cli-node                                              0.1.5
@backstage/cli                                                   0.23.0
@backstage/config-loader                                         1.5.1
@backstage/config                                                1.1.1
@backstage/core-app-api                                          1.11.0
@backstage/core-components                                       0.13.6
@backstage/core-plugin-api                                       1.7.0
@backstage/e2e-test-utils                                        0.1.0
@backstage/errors                                                1.2.3
@backstage/eslint-plugin                                         0.1.3
@backstage/frontend-app-api                                      0.2.0
@backstage/frontend-plugin-api                                   0.2.0
@backstage/integration-aws-node                                  0.1.7
@backstage/integration-react                                     1.1.20
@backstage/integration                                           1.7.1
@backstage/plugin-api-docs                                       0.9.12
@backstage/plugin-app-backend                                    0.3.54
@backstage/plugin-app-node                                       0.1.6
@backstage/plugin-auth-backend-module-gcp-iap-provider           0.2.0
@backstage/plugin-auth-backend-module-github-provider            0.1.3
@backstage/plugin-auth-backend-module-gitlab-provider            0.1.3
@backstage/plugin-auth-backend-module-google-provider            0.1.3
@backstage/plugin-auth-backend-module-microsoft-provider         0.1.1
@backstage/plugin-auth-backend-module-oauth2-provider            0.1.3
@backstage/plugin-auth-backend                                   0.19.3
@backstage/plugin-auth-node                                      0.4.0
@backstage/plugin-catalog-backend-module-scaffolder-entity-model 0.1.3
@backstage/plugin-catalog-backend                                1.14.0
@backstage/plugin-catalog-common                                 1.0.17
@backstage/plugin-catalog-graph                                  0.2.37
@backstage/plugin-catalog-import                                 0.10.1
@backstage/plugin-catalog-node                                   1.4.7
@backstage/plugin-catalog-react                                  1.8.5
@backstage/plugin-catalog                                        1.14.0
@backstage/plugin-events-node                                    0.2.15
@backstage/plugin-github-actions                                 0.6.6
@backstage/plugin-graphiql                                       0.2.55
@backstage/plugin-org                                            0.6.15
@backstage/plugin-permission-common                              0.7.9
@backstage/plugin-permission-node                                0.7.17
@backstage/plugin-permission-react                               0.4.16
@backstage/plugin-proxy-backend                                  0.4.3
@backstage/plugin-scaffolder-backend                             1.18.0
@backstage/plugin-scaffolder-common                              1.4.2
@backstage/plugin-scaffolder-node                                0.2.6
@backstage/plugin-scaffolder-react                               1.5.6
@backstage/plugin-scaffolder                                     1.15.1
@backstage/plugin-search-backend-module-catalog                  0.1.10
@backstage/plugin-search-backend-module-pg                       0.5.15
@backstage/plugin-search-backend-module-techdocs                 0.1.10
@backstage/plugin-search-backend-node                            1.2.10
@backstage/plugin-search-backend                                 1.4.6
@backstage/plugin-search-common                                  1.2.7
@backstage/plugin-search-react                                   1.7.1
@backstage/plugin-search                                         1.4.1
@backstage/plugin-tech-radar                                     0.6.9
@backstage/plugin-techdocs-backend                               1.8.0
@backstage/plugin-techdocs-module-addons-contrib                 1.1.1
@backstage/plugin-techdocs-node                                  1.9.0
@backstage/plugin-techdocs-react                                 1.1.12
@backstage/plugin-techdocs                                       1.8.0
@backstage/plugin-user-settings                                  0.7.11
@backstage/release-manifests                                     0.0.10
@backstage/test-utils                                            1.4.4
@backstage/theme                                                 0.4.3
@backstage/types                                                 1.1.1
@backstage/version-bridge                                        1.0.6
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Not entirely sure what the issue is, but are you able to remove the mock altogether? We try to provide the necessary utilities for mocks not to be necessary, in this case EntityProvider seems to do the trick?

Nice! 👍
It's not really the kind of thing we promise API stability for, but if it's a simple fix we could perhaps roll it out. Hesitant to make it a patch release though. It is indeed the kind of thing we discourage either way

Allright! I'll leave it be then and close this issue


[Compute] az vm extension set: Add note to use Azure Key Vault VM extension instead

Description
Add a note pointing users to product documentation. We want to suggest users use the Azure Key Vault VM extension instead of az vm add secret as it is more secure.
Testing Guide

History Notes

[Component Name 1] BREAKING CHANGE: az command a: Make some customer-facing breaking change.
[Component Name 2] az command b: Add some customer-facing feature.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

[x] I adhere to the Error Handling Guidelines.

Compute


ASTDemangler: Fix reconstruction of opaque result type defined in a constrained extension [5.3]

The mangling includes all generic parameters, even non-canonical ones.
Fixes rdar://problem/67949286.

@swift-ci Please test


Symmetric matrices written as MTX are converted to asymmetric

This is an issue with numpy, and it looks like a fix will be forthcoming soon.

This is marked as wontfix because it is a numpy issue which is being fixed upstream.

As of ba3188a, a workaround is now in place, thanks to the code of Steve Rubin. Note however that it requires python 2.X, as well as numpy for python 2.x. While the workaround is engaged automatically, it can be disabled by passing the --n argument to sparseConvert.py. Note that only sparseConvert uses this workaround currently. You will need to invoke it manually if you are not using sparseConvert.
Steve's code can be invoked with python generate_symmetric_matrices.py [name of mtx file. This will give you a .mtx.pmtx file containing the mtx formatted version, as well as a .pvalcol, which is another format. You then delete the original .mtx and the .pvalcol and then rename the .mtx.pmtx file.

Due to changes in the functionality of libhsm, this issue will soon become irrelevant, and will be closed at that time.

As of 39703a1, symmetric mtx writing now works correctly.

It should be noted that if scipy changes behavior to support symmetric matrices, mtx support may break again, as several pieces of program functionality operate on the assumption that mtx files are always read as asymmetrical by scipy.


HDDS-10902. Upgrade Docusaurus to 3.3.2

What changes were proposed in this pull request?
Docusaurus 3.3.2 is out. By upgrading to the 3.3.x line we can use the new createSitemapItems hook to remove the sitemap GitHub Actions job and make that part of the docusaurus build instead (in a follow up change).
What is the link to the Apache Jira?
HDDS-10902
How was this patch tested?

Manual preview of website locally seems to work fine.
Existing CI passes

Thanks for the quick review @kerneltime. I'll merge this so the follow up PR can go up. If there is a regression it's not a big deal since this is still on a feature branch.


multi-set: improve iterator typing

Hello @yoursunny. Thanks for your PR. I guess a lot of other structures from the lib could benefit from the same modifications. Would you be willing to make them? If not just tell me and I will of course merge and release.

I'm unfamiliar with other data structures, but I did as requested. Please check carefully.
From what I can see, everything is either using obliterator or Map, and both kinds are safe to change to IterableIterator.
However, I did not verify the correctness of type parameters.

Thanks @yoursunny. Will merge and release now.


pip cannot resolve requirements to be able to build devcontainer

Remember to label the issue with the appropriate area, and also assign it to yourself if you plan to work on the issue in the near future.
Describe the bug
Building the devcontainer from a fresh install fails because of conflicting requirements for opentelemetry.
Steps to reproduce

Check out a fresh version of the code
fire up Visual Studio, let it build the devcontainer
build fails, with the following error:

[...]
  Downloading types_python_dateutil-<IP_ADDRESS>40106-py3-none-any.whl.metadata (1.8 kB)
Requirement already satisfied: pycparser in /usr/local/lib/python3.8/site-packages (from cffi>=1.12->cryptography>=2.5->azure-identity==1.14.1->-r /tmp/pip-tmp/api_app/requirements.txt (line 5)) (2.21)
Requirement already satisfied: requests-oauthlib>=0.5.0 in /usr/local/lib/python3.8/site-packages (from msrest>=0.6.10->azure-monitor-opentelemetry-exporter~=1.0.0b18->azure-monitor-opentelemetry==1.1.0->-r /tmp/pip-tmp/api_app/requirements.txt (line 10)) (1.3.1)
INFO: pip is looking at multiple versions of opentelemetry-sdk to determine which version is compatible with other requirements. This could take a while.
Collecting opentelemetry-sdk~=1.21 (from azure-monitor-opentelemetry-exporter~=1.0.0b18->azure-monitor-opentelemetry==1.1.0->-r /tmp/pip-tmp/api_app/requirements.txt (line 10))
  Downloading opentelemetry_sdk-1.21.0-py3-none-any.whl.metadata (1.5 kB)
Collecting opentelemetry-api~=1.12 (from opentelemetry.instrumentation.logging==0.41b0->-r /tmp/pip-tmp/api_app/requirements.txt (line 18))
  Downloading opentelemetry_api-1.21.0-py3-none-any.whl.metadata (1.4 kB)
Collecting opentelemetry-resource-detector-azure~=0.1.0 (from azure-monitor-opentelemetry==1.1.0->-r /tmp/pip-tmp/api_app/requirements.txt (line 10))
  Downloading opentelemetry_resource_detector_azure-0.1.0-py3-none-any.whl.metadata (4.6 kB)
ERROR: Cannot install -r /tmp/pip-tmp/api_app/requirements.txt (line 18) and azure-monitor-opentelemetry because these package versions have conflicting dependencies.

The conflict is caused by:
    opentelemetry-instrumentation-logging 0.41b0 depends on opentelemetry-instrumentation==0.41b0
    opentelemetry-instrumentation-django 0.43b0 depends on opentelemetry-instrumentation==0.43b0
    opentelemetry-instrumentation-logging 0.41b0 depends on opentelemetry-instrumentation==0.41b0
    opentelemetry-instrumentation-django 0.42b0 depends on opentelemetry-instrumentation==0.42b0

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts

The line causing this is RUN pip3 --disable-pip-version-check --no-cache-dir install -r /tmp/pip-tmp/requirements.txt, if I comment this out and let the build proceed, I can then enter the container with a terminal, re-issue that command, and get the same result.
Azure TRE release version (e.g. v0.14.0 or main):
Main branch, commit c382f3daa041f337455ec47fef24eedad5ce55e6
Deployed Azure TRE components - click the (i) in the UI:
n/a

Hi @TonyWildish-BH
Can you try with the latest from main, we fixed this up in the last PR that was merged (it should have had its own issue, but wanted to get the PR in). I think something has changed in a package dependency without a version change of the top level package we are using.
Let us know. Thanks.

Hi @marrobi,
yup, that fixed it, thanks. Apologies for not having noticed I was behind the HEAD.
Tony


autofire / turbo option

is it possible to add an autofire / turbo option for the digital buttons?

No plans so far, but this might make it into the 4.x versions.


Identified my i9 9900k as 8th Gen Core 8-core Desktop Processor

That's not Hackintool that's the pci.ids database. If there is an error you should submit a correction

That's not Hackintool that's the pci.ids database. If there is an error you should submit a correction

I submitted a correction, and now they have updated their database and errors are corrected.


Implement INTERSECT & INTERSECT DISTINCT

Which issue does this PR close?

Closes https://github.com/apache/arrow-datafusion/issues/1082
Rationale for this change

What changes are included in this PR?

Are there any user-facing changes?

Yes, APIs relate to Join are changed.

As @Dandandan has mentioned in https://github.com/apache/arrow-datafusion/issues/1082#issuecomment-942674160, "Complication with using things like is distinct from will not supported by a equi-join implementation (which only supports A=B type of expressions)", so I am considering how to solve it.

Inspired by spark which has a condition expr in Join to show if null equal is safe. So I add a bool type named null_equal_safe to indicate if null equal is safe.
PTAL @alamb @Dandandan @houqp, thanks!

Am I correct that in the current design, the null_equal_safe argument will apply to all join key pairs? i.e. will we be able to have JOIN ON t1.col1 = t2.col1, t1.col2 <=> t2.col2?

Am I correct that in the current design, the null_equal_safe argument will apply to all join key pairs? i.e. will we be able to have t1 JOIN t2 ON t1.col1 = t2.col1, t1.col2 <=> t2.col2?

Yes, the null_equal_safe argument will apply to all join key pairs.

I am sorry -- I will review this PR tomorrow
On Wed, Nov 3, 2021 at 1:06 AM Carlos @.***> wrote:

Am I correct that in the current design, the null_equal_safe argument
will apply to all join key pairs? i.e. will we be able to have t1 JOIN t2
ON t1.col1 = t2.col1, t1.col2 <=> t2.col2?
Yes, the null_equal_safe argument will apply to all join key pairs.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/arrow-datafusion/pull/1135#issuecomment-958658978,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADXZMKGWTP33NKTQAS6VTTUKC7N3ANCNFSM5GDUT2SA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Fixed! PTAL @alamb

@houqp Would you like to take another look? 😄

Will merge when tests pass


Update standard workflow files.

This PR was created automatically by the repo_checks tool.

@feanil, I've already added commitlint to the develop branch; I was about to merge it to the main on Monday.

Sounds good, feel free to adjust and take whatever makes sense from here, or just close this PR, it was created via automation but we want to make sure all these workflows are in every repo.

Closing this PR. I've added workflow files to the develop branch, and we will soon release it to the master.


Missed Images context menu item

Hi,
As seen in the following image, I came upon a "This Frame" asset when right clicking an image and I could not find it in any of the providedd CSS files.
https://i.postimg.cc/MK7XzBrs/This-Frame.jpg

That image was embedded in an iframe.
See this for hiding stuff.

"#frame"
That took care of it.
Thanks for pointing me in the right direction.


homebrideg restart issue

Hi.
Every time I restart homebridge I have to re-add my TV. I can see "Please add [LoungeTV] manually in Home app. Setup Code: 031-45-154" show up each time. Any ideas?
homebridge v1.1.6
homebridge-bravia-tvos v4.1.5
Thanks

If you already added the tv to HomeKit you dont need to add it again. It will always show up because it is an external accessory and Homebridge will print the info everytime on restart

What happens is when I restart homebridge the TV in Home stops responding, the channel scroll list disappears and they turn into accessories giving me the option to show as separate tiles. These tiles don't work and I get "On" displayed at the top above the power button (which also doesn't work). If I delete and re-add it works again.

@shannonpasto
thats normal for external accessories like tv's. Its not a bug. Force close of the home app is enough after restart to show the input list again
Read here: https://github.com/SeydX/homebridge-bravia-tvos/issues/108

Strange behaviour though as no other accessory does that but restarting Home fixed it. Thanks.


dyndns Cloudflare API Token support

Cloudflare has announced general availability of their API tokens supporting the principle of least privilege. It would be great if this functionality could be added to OPNsense. This would allow more secure access to the API without exposing the whole Cloudflare account.
https://blog.cloudflare.com/api-tokens-general-availability/

duplicate https://github.com/opnsense/plugins/issues/1614

I'm a bit confused why this issue would be a duplicate of #1614 , which concerns accessing the CloudFlare API for DNS-01 ACME validation, whereas this issue concerns accessing the CloudFlare API for DDNS updating.
On 20.1.7, I'm still unable to update a DDNS entry via a limited-access CloudFlare API token.  Using a general-access CloudFlare API key works.

@seanho00 Thank you for commenting. It flew under my radar that this issue was marked duplicate and closed.
@AdSchellevis Please re-review closure of this issue as it is not a duplicate of #1614. However, since that issue was resolved, it would seem equally important and relevant to support the Cloudflare token here.

best open a new one using our FR template (https://github.com/opnsense/plugins/issues/new?assignees=&labels=&template=feature_request.md&title=)

Just to let you all know, I have added support for Cloudflare API token.
It works great, I'm using it for half a year now.
check here: #1726 but noone ever merged it.
It is assigned to @fichtner btw...


Warnings when running deployment example

When I am deploying the hello world service, I see the following warnings:
WARNING: Missing strong random number source; using weak randomBytes
Warning: XMLHttpRequest is not defined

I think it would be nice if that would not happen? Cannot we provide strong random source and mock XMLHttpRequest?

@armaniferrante

Here it says that this should not be happening with node module?


Add use cases and manual testing for next sem

Codecov Report

Merging #214 (81c2057) into master (40ba48d) will increase coverage by 2.91%.
The diff coverage is n/a.

@@             Coverage Diff              @@
##             master     #214      +/-   ##
============================================
+ Coverage     75.14%   78.05%   +2.91%
- Complexity      913      959      +46
============================================
  Files           132      132
  Lines          2885     2885
  Branches        360      360
============================================
+ Hits           2168     2252      +84
+ Misses          652      561      -91
- Partials         65       72       +7

Impacted Files
Coverage Δ

...main/java/seedu/address/model/module/Tutorial.java
94.11% <0.00%> (+11.76%)
:arrow_up:

src/main/java/seedu/address/model/module/Lab.java
70.58% <0.00%> (+11.76%)
:arrow_up:

...c/main/java/seedu/address/model/person/Person.java
95.90% <0.00%> (+15.57%)
:arrow_up:

...c/main/java/seedu/address/model/module/Lesson.java
65.62% <0.00%> (+15.62%)
:arrow_up:

.../seedu/address/model/person/user/ExistingUser.java
95.45% <0.00%> (+17.27%)
:arrow_up:

.../main/java/seedu/address/model/module/Lecture.java
41.17% <0.00%> (+23.52%)
:arrow_up:

...in/java/seedu/address/model/module/Recitation.java
41.17% <0.00%> (+23.52%)
:arrow_up:

src/main/java/seedu/address/model/Timetable.java
51.72% <0.00%> (+51.72%)
:arrow_up:

...a/seedu/address/model/module/LessonComparator.java
100.00% <0.00%> (+100.00%)
:arrow_up:

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


Visualizer doesn't work properly because some coordinates are dropped out of the optimization loop

@itbellix
I think the issue is now solved and the states of all the coordinates are updated at each time instants. Now I think the visualization as well looks reasonable.

I have pushed all the finals edits, kindly double check and let me know if you experience any issue.

Nice @imihasan, thank you! I will check as soon as possible :)

Hi @imihasan, I checked your modifications and they look alright to me, thank you!
I think above you sent a screenshot of wheelchair trial, not the Upright_Lateral_Raise_90.trc, right? Since on my computer I see the model standing and not sitting:

Hi @itbellix ,
Thanks for double checking!
Yes indeed it's the same motion file. I just locked the hip angles at 60 flexion because I collected the data in a seated configuration. In your case I think the hip flexion angle was set to zero. So in both cases the model is sitting, but the hip flexion angle is different.


Add style check

Codecov Report

Merging #60 (3888120) into main (5714aed) will decrease coverage by 0.01%.
The diff coverage is 72.88%.

@@            Coverage Diff             @@
##             main      #60      +/-   ##
==========================================
- Coverage   85.55%   85.54%   -0.02%
==========================================
  Files          79       79
  Lines        2596     2594       -2
  Branches      246      246
==========================================
- Hits         2221     2219       -2
  Misses        307      307
  Partials       68       68

Flag
Coverage Δ

test-macOS-latest-3.8
?

test-ubuntu-latest-3.8
85.54% <72.88%> (-0.02%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

src/pyfx/cli_utils.py
60.00% <0.00%> (ø)

src/pyfx/logging.py
50.00% <0.00%> (ø)

src/pyfx/model/io/datasource.py
57.89% <0.00%> (ø)

src/pyfx/view/components/help_bar/help_bar.py
100.00% <ø> (ø)

...fx/view/components/help_page/detailed_help_page.py
0.00% <ø> (ø)

src/pyfx/view/json_lib/json_composite_node.py
86.56% <ø> (-0.20%)
:arrow_down:

src/pyfx/view/json_lib/json_simple_node.py
100.00% <ø> (ø)

src/pyfx/view/json_lib/node_factory.py
88.23% <0.00%> (ø)

...yfx/view/keymapper/abstract_component_keymapper.py
100.00% <ø> (ø)

src/pyfx/view/theme/theme_config_parser.py
80.95% <0.00%> (ø)

... and 19 more

Continue to review full report at Codecov.

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


Doesn't run on windows powershell

On startup of the windows release binary, i get the following:
> .\uchess_0.1.0_windows_x86_64.exe
panic: theme: no theme found

goroutine 1 [running]:
main.main()
    /Users/traviswhitton/Projects/uchess/cmd/uchess/main.go:25 +0x753

Trying to run via the source code on windows attempts to find stockfish at /usr/bin/stockfish, which is a linux path.
Do i need to manually install stockfish and edit the path?
Either way, i assume something went wrong with pkger during built of your windows release executable.

Confirmed. Looks like the bug is not limited to Windows. There's something wrong with the way I'm trying to embed the themes asset via pkger. Will investigate. Also, for Windows, you'll need to install Stockfish on your machine, generate a uchess config, and let it know where Stockfish is installed.
$ uchess -tmpl > uchess.json

Relevant config section.
    "uciEngines": [
        {
            "name": "stockfish",
            "engine": "C:\\Users\\yourusername\\Desktop\\win\\stockfish.exe",
            "hash": 128,
            "ponder": false,
            "ownBook": false,
            "multiPV": 4,
            "depth": 0,
            "searchMoves": "",
            "moveTime": 3000,
            "options": [
                {
                    "name": "skill level",
                    "value": "20"
                }
            ]
        }

I will cut a new release and report back when I figure out the pkger issue.

Confirmed. Looks like the bug is not limited to Windows. There's something wrong with the way I'm trying to embed the themes asset via pkger. Will investigate. Also, for Windows, you'll need to install Stockfish on your machine, generate a uchess config, and let it know where Stockfish is installed.
$ uchess -tmpl > uchess.json

Relevant config section.
    "uciEngines": [
        {
            "name": "stockfish",
            "engine": "C:\\Users\\yourusername\\Desktop\\win\\stockfish.exe",
            "hash": 128,
            "ponder": false,
            "ownBook": false,
            "multiPV": 4,
            "depth": 0,
            "searchMoves": "",
            "moveTime": 3000,
            "options": [
                {
                    "name": "skill level",
                    "value": "20"
                }
            ]
        }

I will cut a new release and report back when I figure out the pkger issue.

pkger and packr have been a pain in the ass for me too.  Look forward to go 1.16, it comes with a built-in embeding framework ;)

I found the root cause, and it is resolved. There was a race condition related to the default config referencing data that should have existed in pkger prior to it being materialized. I have built a new release, and I have tested it on Windows. Please confirm that it works for you, and I will close this issue.
uchess v0.2.0
Thank you for the feedback, and yes, looking forward to 1.16 as well!

I found the root cause, and it is resolved. There was a race condition related to the default config referencing data that should have existed in pkger prior to it being materialized. I have built a new release, and I have tested it on Windows. Please confirm that it works for you, and I will close this issue.
uchess v0.2.0
Thank you for the feedback, and yes, looking forward to 1.16 as well!

Will check on monday, thanks.

Will check on monday, thanks.

Can you confirm that the issue is resolved on your side?

Can you confirm that the issue is resolved on your side?

Ah sorry, forgot.

Ah sorry, forgot.

Either way, I've downloaded stockfish and put the executable on my path, which uchess doesn't find.
I think uchess should check the PATH variable as well.
However, passing it via a parameter doesn't seem to be possible either. I don't think anybody installs stuff on C:/ directly 😬

Either way, I've downloaded stockfish and put the executable on my path, which uchess doesn't find.
I think uchess should check the PATH variable as well.
However, passing it via a parameter doesn't seem to be possible either. I don't think anybody installs stuff on C:/ directly 😬

Hi,
I've incorporated your feedback into the most recent release (v0.2.1). The latest version will search for stockfish using the PATH variable, and it will also offer to download the Stockfish binary if it cannot be found. Can you try this version and see if it works for you? I have tested it on my Windows 10 machine and using Parallels, and it is working for me, but it would helpful if you can confirm. Thanks!

Nice, works fine, thanks.


Bug: Infinity Scroll View

When I'm using the Tab Container and Tab Bar I'm getting an infinity scroll/height.
I have to say it's not working event with the example (without using map)

Tabs.jsx
import React from 'react';
import {StyleSheet} from 'react-native';
import Styled from './styles';
import {Tab, TabBarProps, Tabs} from 'react-native-collapsible-tab-view';
import {Typography} from '@library';

type Tab = {
  panel: JSX.Element;
  label: string;
};
export interface ITabs {
  tabs: Array<Tab>;
  Header: JSX.Element;
}

const TabsApp = ({tabs, Header}: ITabs) => {
  return (
    <Styled.Tabs>
      <Tabs.Container
        renderHeader={() => Header}
        containerStyle={styles.container}
        headerContainerStyle={styles.header}>
        {tabs.map(tab => {
          return (
            <Tabs.Tab name={tab.label} label={tab.label} key={tab.label}>
              <Tabs.ScrollView>{tab.panel}</Tabs.ScrollView>
            </Tabs.Tab>
          );
        })}
      </Tabs.Container>
    </Styled.Tabs>
  );
};

TabsApp.defaultProps = {
  Header: React.Fragment,
  tabs: [],
};

export default TabsApp;

const styles = StyleSheet.create({
  container: {},
  tabBar: {},
  header: {
    shadowOpacity: 0,
    elevation: 0,
  },
  content: {},
});

SingleListingsScreen.jsx
import React from 'react';
import {ListingModel} from '@domains/listings/model/listingsModel';
import ListingCard from '@domains/listings/view/ListingCard/ListingCard';
import {Screen, Tabs, Header} from '@library';
import {useRouter} from '@services/routing';
import {CommentsPanel, DetailsPanel, GalleryPanel, NearbyPanel} from './panels';

interface Props {}

const SingleListingsScreen = (props: Props) => {
  const {params: listing}: {params: ListingModel} = useRouter();

  const tabs = [
    {
      label: 'Details',
      panel: <DetailsPanel listing={listing} />,
    },
    {
      label: 'Gallery',
      panel: <GalleryPanel listing={listing} />,
    },
    {
      label: 'Comments',
      panel: <CommentsPanel listing={listing} />,
    },
    {
      label: 'Nearby',
      panel: <NearbyPanel listing={listing} />,
    },
  ];

  return (
    <Screen spacing="none" scrollable>
      <Header title={listing.name} />
      <Tabs
        tabs={tabs}
        Header={<ListingCard item={listing} variant="single" />}
      />
    </Screen>
  );
};

export default SingleListingsScreen;

It's also give me this weird flickers

I also encountered the weird flicker and it was related to using styled-components and flex={1} which I assume you're also using. Try flexGrow instead, flex with styled components doesn't do what you'd expect.
The issue is probably related to styled components induced problems.
See: https://github.com/styled-components/styled-components/issues/1158
Please reopen otherwise.


Skin tone on some emojis not working correctly

Hi guys,
So I'm using the 'NotoColorEmoji.tff' file on a webpage. Whilst for the most part everything is working great, I'm having issues with some of the emojis with skin tones. When applying a skin tone, some don't seem to work, whilst others are completely fine
Any thoughts on this?

could you please provide more information, e.g. what's the font version, where did you download it from, where is that screenshot being taken from, is that a web page in a browser or a desktop app, if so which one?
If you could attach a reproducer (e.g. a static html page with those problematic combinations set using the given NotoColorEmoji.ttf) would be great, thanks!

Hi @anthrotype sorry for not giving as much detail as possible earlier
Just to answer your questions:

I'm using the latest font version and downloaded it directly from this repo
Screenshot was taken from a webpage I'm developing using Chrome on Windows 10

@font-face {
    font-family: Noto Emoji;
    src: url('../fonts/Noto-Emoji/NotoColorEmoji.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

Thankfully, I've been able to fix the issue, sorry for premature alarm. What was happening was that I was pulling my list of emojis from a .json file with the actual emoji image i.e.
[
  { "emoji": "😀" },
  { "emoji": "😃" }
]

From there I was displaying them in Chrome and they seemed to have worked well. However, when adding the skin tones some of the emojis as seen in my previous screenshot.
I went and then converted the emojis into their respective HEX values. That, coupled with the skin tones as HEXs too seems to have resolved the issue
[
  { "emoji":"😀", "hex":"1f600" },
  { "emoji":"😃", "hex":"1f603" }
]

Much appreciated for the quick response!


Remove paginate

I removed the obsolete Paginate method from issue Remove obsolete Paginate builder action..
Hope this change was sufficient.

Hey @MarkusGnigler,
Thank you for your help. In the issue, I also mentioned the IsPagingEnabled property. Please can you remove that too? It's no longer necessary.

Hy @fiseni,
oh sure, it's a better exception message. Thanks for your guidance.
I also remove the IsPagingEnabled prop, sorry for the overlooking.

Should I also refactor the skip and take builder tests to use more the FluentAssertion library, or is using classic assertions the preferred approach since it's shorter?
Tests are located in:

Ardalis.Specification.UnitTests.SpecificationBuilderExtensions_Skip
Ardalis.Specification.UnitTests.SpecificationBuilderExtensions_Take

[Fact]
public void ThrowsDuplicateSkipException_GivenSkipUsedMoreThanOnce()
{
    Assert.Throws<DuplicateSkipException>(() => new StoreDuplicateSkipSpec());
}

[Fact]
public void ThrowsDuplicateSkipException_GivenSkipUsedMoreThanOnce()
{
    Action sutAction = () => new StoreDuplicateSkipSpec();

    sutAction.Should()
        .Throw<DuplicateSkipException>();
}

I don't mind really. Since we're using fluent assertions in all other places, you can refactor it if you want, so we're consistent.

The consistent aspect was my first intention.
Should i scan other plaeses as well?
By me it's already evening, I'll try to commit in the next few days.
Wish you a happy new year

No worries, take your time. Yes, you can refactor other places too. Thank you for the help, it's appreciated.
Happy New Year!

Hey @MarkusGnigler. You requested a review but I don't see any new commits. Do you want me to merge it as it is, or do you want to work on the tests?

Hey @MarkusGnigler. You requested a review but I don't see any new commits. Do you want me to merge it as it is, or do you want to work on the tests?

Hi @fiseni.
Sry, i think the requested review was a mistake.
I don't know, should i create a new PR for the test refactoring or should i stick to the existing one?

Hi @fiseni.
Sry, i think the requested review was a mistake.
I don't know, should i create a new PR for the test refactoring or should i stick to the existing one?

Hi @fiseni
I've decided to commit the test assertions to this pr as well, since it's not that big impact.
I hope it's ok for you?

Thanks for the help!

Thank you as well for your friendly communication and guidance!


Show full enum name when not on the same doc page

Removes the prefix only when it's the same as the current class name

The original e.get_slice_count(".") condition is only false when e is empty, but "".get_slice(".", 1) returns "" anyway.
The slice count is still checked to avoid lots of string comparison, as most enum names don't have a . separator.

Rationale:
Variant.Type and Variant.Operator enums are documented on the @GlobalScope page.
In the online API Reference, they are correctly listed by their full name. But in editor's built-in help, they are listed as Type and Operator, leaving no clue of Variant.
The Variant. prefix should only be omitted if listed on the Variant page.

Thanks!


Add static routes with unit in capvcd/flatcar

At the moment, if a node reboots, the routes aren't installed as it happens in kubeadm.
It should be a unit in ignition.
https://gigantic.slack.com/archives/C02EVLE9W/p1714374192860579

https://github.com/giantswarm/cluster-cloud-director/pull/293

we need to finish this before 1st of June (frozen period for panamax)

Currently waiting for Oasis investigation on the issue where the metadata fails to be set on the VM. production was upgraded fine though.

Disabling teleport fixes the issue. My assumption is that we are at the limit of the default maximum metadata size supported by VCD and adding the teleport contents take us over that limit.
leopard/production didn't have that issue and the only difference is that it has less NICs/routes than staging and testing.
We made a request for Oasis to increase the default limit but we'll have to wait until the end of the frozen period.
In the meantime, teleport is disabled in staging and testing.

Closing this as it's unrelated to the metadata issue


fix: Update MG location parameter name

Overview/Summary
Some bug fix for the code example in the Update ALZ Custom Policies to Latest WIKI article.
This PR fixes/adds/changes/removes

For the last code example in the Wiki article, uses the correct POSH parameter name, $policySetDefinitionLocation

Breaking Changes
N/A
Testing Evidence
Validated code by running it in my lab to update Deploy-MDFC-Config policy initiative.
Testing URLs
N/A
As part of this Pull Request I have

[x] Checked for duplicate Pull Requests
[ ] Associated it with relevant issues, for tracking and closure.
[x] Ensured my code/branch is up-to-date with the latest changes in the main branch
[x] Performed testing and provided evidence.
[x] Ensured contribution guidance is followed.
[x] Updated relevant and associated documentation.
[ ] Updated the "What's New?" wiki page (located: /docs/wiki/whats-new.md)

@jtracey93, I found an error with the code example in the Update Custom ALZ Policy Wiki doc. Fixed it and validated it runs correctly now. Appreciate your blessing. :)


Game crash upon starting world 1.19.4

when I start a world on MC version 19.4 whether it be new or existing it crashes before it can load and says shaders null
crash-2023-06-17_03.04.41-client.txt

You are using OptiFine, which is not supported. It causes many incompatabilities, which are impossible to fix. Try disabling it and see if you still crash

yeah that worked thank you


[#2567, #2569] Add status indicator to accordions, fix jump on sheet re-render

Adds an indicator that helps indicate whether the accordion is open or closed (#2569)
Fixes a jump that occurs when sheet is re-rendered (#2567)
Fixes spacing for empty accordions that are expanded

https://github.com/foundryvtt/dnd5e/assets/19979839/55c19eda-7fd7-4d11-9177-9d787e048361

This is incredibly minor, but can we have the accordion transition time match the time for item details on the actor sheets (which are noticeably faster).


Focus los after Firebase initialization

I am working on a webapp for ios. If I set a focus to a specific input it works well. But if firebase is initialized (firebase.initializeApp()), the focus is lost. Is there any reason / workaround for that behaviour?
Reopen of firebase/quickstart-js#62
To test:

Open https://app-framework.scriptpilot.de/
Open page Form Handling
Type something in text field, do not leave focus on that input
Close, reopen app

Focus will be restored, within seconds lost (after Firebase init).
Tested on iPhone SE.

Mhm, any clue?

Closing this since it is outside of the scope of a quickstart. For questions like this, try asking on https://firebase.community/


Update Requests Discord API example to use settings.toml

One API at a time. @kattni my contributions that have API in the example file name are not included in any learn guides or documentation. This is a good way to take baby steps with the update to settings.toml by first changing all of my contributions over.
Most likely @FoamyGuy will be reviewing this one again. This is the web scrape example that requires you to get the auth key from the request header with a browser developer tool. Still works fine.
Unsure if I should embed the Web Workflow credentials for getenv in the example or just wifi?

Thanks @DJDevon3!


DA API sign attestations in full replication

Implements extended Certificate and Attestation definitions from https://github.com/logos-co/nomos-node/pull/598.

Updated this PR to implement Verifier definitions from https://github.com/logos-co/nomos-node/pull/598 - now DA Mempool uses DaCertificateVerifier that checks Certificate Attestations when a new item is being added to the da mempool.
To keep the same trait for the TxMempool, MockTxVerifier was added - it assumes that every transaction is verified and valid.


Greek (EL) OCR support

Hello!
I see in the supported languages that the Greek one is not included
https://github.com/run-llama/llama_parse/blob/main/llama_parse/utils.py#L16
Is there a roadmap or are you going to support it soon?
It is very important for our product!

https://github.com/run-llama/llama_parse/pull/454

Probably not soon because the language is not supported by the OCR we're using. You should still have good results using Premium Mode or a 3rd party multi-modal model.

Thank you, we use gemini flash vendor model and it works perfect.

to fix your trouble check this solution click
maybe this will solve your problem.


Real-time-processing Tf_lite inference program ERROR

Hi I loaded a noisy one channel .wav file to perform inference using real_time_processing_tf_lite.py.
I got the following Dimension mismatch error.

Traceback (most recent call last):
File "real_time_processing_tf_lite.py", line 70, in
interpreter_1.set_tensor(input_details_1[0]['index'], states_1)
File "/Users/cyberon/anaconda3/envs/dtln_py/lib/python3.7/site-packages/tflite_runtime/interpreter.py", line 399, in set_tensor
self._interpreter.SetTensor(tensor_index, value)
File "/Users/cyberon/anaconda3/envs/dtln_py/lib/python3.7/site-packages/tflite_runtime/interpreter_wrapper.py", line 148, in SetTensor
return _interpreter_wrapper.InterpreterWrapper_SetTensor(self, i, value)
ValueError: Cannot set tensor: Dimension mismatch. Got 4 but expected 3 for input 0.

Any inputs on this will be helpful!

Should be fixed now.

Should be fixed now.

Thanks for the quick fix!
The audio file is denoised finally.

Hi, even after changing the input_details as you did in the file, the code is still giving an error
  File "real_time_processing_tf_lite.py", line 97, in <module>
    interpreter_2.set_tensor(input_details_2[0]['index'], estimated_block)#input_details_2[0]
  File "/home/purna/.local/lib/python3.6/site-packages/tflite_runtime/interpreter.py", line 399, in set_tensor
    self._interpreter.SetTensor(tensor_index, value)
  File "/home/purna/.local/lib/python3.6/site-packages/tflite_runtime/interpreter_wrapper.py", line 148, in SetTensor
    return _interpreter_wrapper.InterpreterWrapper_SetTensor(self, i, value)
ValueError: Cannot set tensor: Dimension mismatch. Got 512 but expected 257 for dimension 2 of input 0.

@breizhn I just did the convert_weights_to_tf_lite.py then on a model I had just trained that is also default.
        self.fs = 16000
        self.batchsize = 32
        self.len_samples = 15
        self.activation = 'sigmoid'
        self.numUnits = 128
        self.numLayer = 2
        self.blockLen = 512
        self.block_shift = 128
        self.dropout = 0.25
        self.lr = 1e-3
        self.max_epochs = 200
        self.encoder_size = 256
        self.eps = 1e-7

Then run
python real_time_processing_tf_lite.py
Traceback (most recent call last):
  File "real_time_processing_tf_lite.py", line 69, in <module>
    interpreter_1.set_tensor(input_details_1[0]['index'], in_mag)
  File "/home/stuart/DTLN/venv/lib/python3.8/site-packages/tflite_runtime/interpreter.py", line 705, in set_tensor
    self._interpreter.SetTensor(tensor_index, value)
ValueError: Cannot set tensor: Dimension mismatch. Got 3 but expected 4 for input 0.

Its tflite_runtime 2.7.0 trained on 2.7.1 @breizhn Am I doing something wrong or have things regressed?

@StuartIanNaylor I am facing the same issue. Please help me out if you have solved it.

@breizhn

Nope apols haven't got round to trying yet.


[Req] Always open Explorer to This PC

Hi,
Have been using your script and/or reg files for some time now. Very handy.
Would appreciate this new addition:
reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v LaunchTo /t REG_DWORD /d 1 /f

Cheers

Thanks for this suggestions, as of 04e313a Win11Debloat provides an option to change the default open location of File Explorer to Home, This PC, Downloads or OneDrive.


How to set Zoom Functionallity on the edges of scanner from which corners can be easily visible while cropping?

+1

Yeah, I too agree its a good to have feature, but unfortunately we don't have such functionality.

Hi. does anyone implemented this feature?


ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp

Step 3. Compute energy lookup table
Load step 2 output file step2_out.pdb...
Done
Reporting non integer conformer charge ...
Passed, no non-integer charges
Done
Creating connectivity table...
Done
Preparing DelPhi runs at epsilon 4.00 ...
3 focusing runs required for this protein.
Done
Computing pairwise from conformer 1 to 365 of 365 total conformers
see progress.log for progress...
Done
Computing RXN from conformer 1 to 365 of 365 total conformers
see progress.log for progress...
ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp
ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp
ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp
ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp
ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp
ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp
ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp
ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp
ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp
ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp
ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp
ERROR: Mismatch GLU-1A0007_005 and GLU-1A0007_005-56844.898 in NTR01A0001_001.opp

Not sure whether @hatem-amer is a legitimate GH account; looks very much bot-like...


Hardening Jump Server

Hello, i wanted to create a RDP Jump Server and hardening  it with hardeningKitty but i dont which lines i should alter without affecting the security level. Env : Windows 10 pro  x64

Can you please elaborate on what security level you mean?

Closed after inactivity


Syntax Section

LL(1) formal grammar is the centerpiece. It could be a challenge to strike the right balance between background info on that and describing the syntax itself.

UTF-8 string

"dstrings" ?

encodes a depth-first traversal

branches
closures (C1CC1), "closure digit" = rnum (blech)
disconnections (C.C)

allows multiple components

formal grammar

LL(1)
listing

changes from before

--, ++ charge disallowed
only @ and @@ configuration
closure, disconnection

data types

Integer(n)

-n -> +n, inclusive

PositiveInteger(n)

0 -> n, inclusive

Boolean
AtomicSymbol

list published by IUPAC

LowercaseSymbol
Star
Configuration
None

atoms

bare

"organic subset"

bracketed [ ... ]

virtual hydrogens

default values

isotope: None
hcount: 0
charge: 0
configuration: none
extension: none

lowercase

eligibility
may occur inside or outside brackets

bonds

single -, double =, triple # quadruple $
elided

none ``, :
always two-electron

up /, down /

two-electron

closures

closure digits: 1..99
balancing not easily expressable in syntax

it could be done, but with a lot of effort

explain

re-use digits
interaction with up/down bonds
errors

loops (C11)
up/down mismatch

disconnection .

"no bond"

not "zero order bond", but no bond
explicitly allows zob extension (link)

to enable disconnected components

other uses

example

may occur within cycle

examples

may not occur immediately before ring junction

using the formal grammar

reading

recursive descent parser
scanner-driven parser development
parser generator
parentheses vs. ring closure digits

writing

no counterpart to scanner-driven parser development

Including BNF in LaTex:

Which package can be used to write BNF grammars?

When a suitable LaTeX package is found, it will need to be activated. This can (hopefully) be done by adding the appropriate entry in the header-includes section of the manuscript front matter.


As an Industrial Operator (IO), I want to set up my operator (organization) as a new operator in the dropdown so that I can register for BCOBPS

Closing because it's captured in Epic 40


[BUG/INVESTIGATE] Updating app overwrites state

Describe the bug
When installing an update (happened from the 1.0.2 to 1.0.3) the app overwrites all vault share leaving it with a blank app. Possibly losing all access if no backup was done.
To Reproduce
Steps to reproduce the behavior:

Update from 1.0.2 to 1.0.3
open app
Scroll down to '....'
See error

Expected behavior
ALWAYS make sure that vault state is kept

Version 1.0.3

Additional context
Trying to reproduce the issue after installing the 1.0.3 the first time it is not possible to reproduce and vaults are kept. Need to verify on 1.0.4

closing


Apply sphinx_toolbox.installation to automatically add installation instructions

This experimental PR enables sphinx_toolbox.installation, which is a Sphinx extension that allows us to automatically include robust installation instructions from PyPI, conda-forge, etc.  This will eliminate the need to maintain our own installation instructions.
It also enables sphinx_toolbox.github so that we can include how to install XRTpy from GitHub.  (There's a chance that this will overlap with another extension.)

Hm...I was hoping that this would include like a full page of installation instructions, but it only included the tabs with the commands themselves. It'll be more work than I thought to implement, so I'll pass on this for now.


Companion deity selection is not showing up

Describe the bug
With this mod active, only PC deity selection is correctly shown, all other companions have a generic icon with question mark. I suspect It's because deity selection UI was changed. If this issue is purely cosmetic, it's OK, What I fear it might break something in game, if deity reference is invalid.
To Reproduce
Steps to reproduce the behavior:
Start a new game with this mod enabled and check Seelah deity in Class view.
Additional context
I encountered this bug with Deity feature disabled.
I'm running the following mods:

Dark Codex
Expanded Content
Tabletop Tweaks
Respec
Bubble Tweaks
Bubble Buff

Game version is 1.4.x, compatible version of all mods are installed.

This is purely cosmetic for now but it is something I keep an eye on.
If you look in features your selected deity should be there as normal.


EOS-24483: Added CONF_HA_RECOVERED() message and corresponding HA states

Added CONF_HA_RECOVERED() sent from the motr side to hax
The reaction on the previous message is the transition
of motr processes into ONLINE state
The reaction on CONF_HA_STARTED() message is the transition to
RECOVERING state

The changes are covered by another PR https://github.com/Seagate/cortx-hare/pull/1927. Closing this one.


Flow with only Year and Month, not calendar

Even setting the flow to have only month and year, it automatically adds the calendar... But I don't want the calendar, the picker I need is only month and year, and if a day is required, then we could use any day, like 01, just hide the calendar from the picker...
<template>
    <VueDatePicker v-model="date" :flow="flow"  />
</template>

<script setup>
import { ref } from 'vue';

const date = ref();
const flow = ref(['month', 'year']);
</script>

I'm not entirely sure if that's what you meant, but sounds to me like the month-picker mode should solve your problem?
Docs: https://vue3datepicker.com/props/modes/#month-picker


same icon for multiple windows while using the awesome bar patch

awesomebar patch
I am using this patch and what I get is this:

although alacritty and brave are different windows I get the same icons for them
can you suggest any work around?

you probably need to change m->sel-> to c->

thanks this did the work


[unitaryHACK] Strawberry Fields: Gaussian Merge

Adds hybrid Gaussian Merge compiler that merges gaussian operations into Gaussian Tranform operations in a program with non-Gaussian and Gaussian operations.
Github Issue: https://github.com/XanaduAI/strawberryfields/issues/574
Before submitting
Please complete the following checklist when submitting a PR:

[ ] All new features must include a unit test.
If you've fixed a bug or added code that should be tested, add a test to the
test directory!

[ ] All new functions and code must be clearly commented and documented.
If you do make documentation changes, make sure that the docs build and
render correctly by running make docs.

[ ] Ensure that the test suite passes, by running make test.

[ ] Ensure that code is properly formatted, by running make format or black -l 100     strawberryfields. You will need to have the Black code format installed: pip install     black.

[ ] Add a new entry to the .github/CHANGELOG.md file, summarizing the
change, and including a link back to the PR.

[ ] The Strawberry Fields source code conforms to
PEP8 standards.
We check all of our code against Pylint.
To lint modified files, simply pip install pylint, and then
run pylint strawberryfields/path/to/file.py.

When all the above are checked, delete everything above the dashed
line and fill in the pull request template.

Context:
Description of the Change:
Benefits:
Possible Drawbacks:
Related GitHub Issues:

Hi @federico0112 : as a first suggestion, I'd like to ask you to start looking into the CodeFactor issues reported by the first bot.

@federico0112 : it looks like you are almost there in terms of linting. You only need two three more docstrings and a whitespace issue.

@federico0112 : can you pass black -l 100 in these two files:
strawberryfields/compilers/__init__.py
strawberryfields/compilers/gaussian_merge.py

@federico0112 : for what I can see you have not added new tests. A trivial tests this compiler should have is that it should pass all the tests the Gaussian compiler passes. Then you should create a new test file in tests/frontend/compilers that tests the new functionality.

Can this test be the one you gave me? Would that be enough or do I need more test cases

That is a potential tests, but more are needed. For those I suggest you for example try to compile the program showed in the issue [#574]. Keep in mind that you will want to use small parameters for all the gates that generate photons so that you don't need gigantic photon number cutoff. Moreover, you will want to modify tests for gaussian_unitary so that your now compiler also passes. For example this test you should can repurpose for your compiler by something like
@pytest.mark.parametrize("depth", [1, 3, 6])
@pytest.mark.parametrize("width", [5, 10, 15])
@pytest.mark.parametrize("compiler", ["gaussian_unitary", "gaussian_merge"])
def test_gaussian_program(depth, width, compiler):
    """Tests that a circuit and its compiled version produce the same Gaussian state"""
    eng = sf.LocalEngine(backend="gaussian")
    eng1 = sf.LocalEngine(backend="gaussian")
    circuit = sf.Program(width)
    with circuit.context as q:
        for _ in range(depth):
            U, s, V, alphas = random_params(width, 2.0 / depth, 1.0)
            ops.Interferometer(U) | q
            for i in range(width):
                ops.Sgate(s[i]) | q[i]
            ops.Interferometer(V) | q
            for i in range(width):
                ops.Dgate(np.abs(alphas[i]), np.angle(alphas[i])) | q[i]
    compiled_circuit = circuit.compile(compiler=compiler)
    cv = eng.run(circuit).state.cov()
    mean = eng.run(circuit).state.means()

    cv1 = eng1.run(compiled_circuit).state.cov()
    mean1 = eng1.run(compiled_circuit).state.means()
    assert np.allclose(cv, cv1)
    assert np.allclose(mean, mean1)

Ah I see, thats interesting I've never done test coverage in Python. Ill work on getting the test coverage up. Is this required for the bounty? I am going to be busy all tonight and I don't know if I'll be able to finish it by midnight tonight. It's okay if it is required, just curious.

HI @federico0112 : Great progress so far. There are still a few lines of gaussian_merge that are not being covered by the tests: https://app.codecov.io/gh/XanaduAI/strawberryfields/compare/591/diff#diff-c3RyYXdiZXJyeWZpZWxkcy9jb21waWxlcnMvZ2F1c3NpYW5fbWVyZ2UucHk=
It seems like most of them are related to displacements.

I made a change to the unit test. It should increase the code coverage

Hi @federico0112 : there still some part of the compiler not covered by the tests (https://app.codecov.io/gh/XanaduAI/strawberryfields/compare/591/diff#diff-c3RyYXdiZXJyeWZpZWxkcy9jb21waWxlcnMvZ2F1c3NpYW5fbWVyZ2UucHk=). You might need to design some specific tests to cover those edge cases.

I just realized that I left out a function that was not being used anymore (figured out a better way to achieve the same thing). Thats why it wasn't covered by the unit tests.

Great work so far @federico0112! I just had a look at the coverage (link here: https://app.codecov.io/gh/XanaduAI/strawberryfields/compare/591/tree/strawberryfields/compilers/gaussian_merge.py) and it looks like there are a couple of lines still not being tested:

Do you think you could modify existing tests where it makes sense to ensure that these parts of the logic are being tested?

Looks like all the checks are now passing, awesome work @federico0112. However, don't forget to also update the .github/CHANGELOG.md! You will need to add three things:

A small summary of the addition (as well as a short example to illustrate how it is used for interested SF users 🙂 )
A link back to this PR,
Your name to the contributors section!

Would I add it under the development release section?

@federico0112 : yes

Finished updating CHANGLOG.md let me know im missing anything

Hey @federico0112  and the PennyLane team! I wanted to let folks know I am extending the unitaryHACK deadline till the end of this week for PRs that were already in progress to give some time to iterate with maintainers. Let me know if you have questions, or if I can be of help in getting this issue closed!

Thanks @crazy4pi314!

This is a fantastic addition to Strawberry Fields, thanks for all the hard work @federico0112 .

Dear @crazy4pi314 --- The fantastic addition by @federico0112 is now merged into SF. It was a lot of fun being part of the unitaryhack this year. Looking forward to the next one!


Remove LinuxMain.swift to enable automatic test discovery on non-Darwin

As of https://github.com/apple/swift-package-manager/pull/3053, test discovery is on by default for non-Darwin platforms unless a LinuxMain.swift file is present. If we remove the LinuxMain and XCTTestManifest files, we should be able to adopt it now since swift-driver already more or less requires a nightly toolchain.

@swift-ci please test

Linux: Executed 218 tests, with 10 tests skipped and 0 failures (0 unexpected) in 19.174 (19.174) seconds
macOS: Executed 218 tests, with 4 tests skipped and 0 failures (0 unexpected) in 49.202 (49.218) seconds


make u128 from felt impl match cairo to casm one

https://github.com/starkware-libs/cairo/blob/b47c0fafae61a67e8944943fd2f6711c2db2e56d/crates/cairo-lang-sierra-to-casm/src/invocations/int/unsigned128.rs#L234
maybe our current impl is buggy and may help with the overflow bugs
Checklist

[ ] Linked to Github Issue
[ ] Unit tests added
[ ] Integration tests added.
[ ] This change requires new documentation.

[ ] Documentation has been added/updated.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 88.57%. Comparing base (0b77a8b) to head (99e6600).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #768   +/-   ##
=======================================
  Coverage   88.57%   88.57%
=======================================
  Files         120      120
  Lines       35393    35401    +8
=======================================
+ Hits        31349    31357    +8
  Misses       4044     4044

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Can I use command line or use in jsdoc conf.json?

Only program API?

@EdmundTheRadiance unfortunately, there isn't command line API.
Feel free to do it and send a PR. Regards

Since we are sunseting this repo and this request has a clone on vsg, I will close.
Please follow the referenced request.


Generate guitar chord midi

What I mean by guitar chord is to have guitar chord represented as midi. Like if it was Em chord. It will be E2 B2 E3 G3 B3 E4.
You get the idea. It will be easy to use midi instead finding what to play for a chord manually.  And emulate guitar using instrument plugins.

That would be very nice, for this I need an algo that take a MIDI piano chord and make it look like a guitar one


Cannot drag crop targets with touch

On a mobile device with touch gestures, the crop targets won't fluidly move when trying to drag them:
https://user-images.githubusercontent.com/6435238/231855208-30f46b92-34b5-4025-b0c9-51a3aedaaacc.mp4

Taking a look now (will hopefully resolve in the next few hours or so).
If you have any initial ideas, please feel free to share!
I appreciate this part of the code is a little in the weeds.

Fixed in 3.18.0.
Please shout if you have any further issues 👍

@ljwagerfield Thank you for incredible response time on these! 🙌


Feature request. Zoom

Can u add zoom for images?

I'll look into it.  No promises.

It's a performance issue.   To zoom I need the entire image.   Keeping the entire image uses lots of space and it takes longer to render the image into a small space.  For those reason I create a smaller thumbnail (512x512) when needed and only keep the thumbnail around.  And thumbnail generation is done in the background.


Coverage distribution multisample

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/727/
Test FAILed.

Coverage remained the same at 71.934% when pulling 16bde17ab0175ecc9f9bc3920aa20dca5834b6aa on akmorrow13:coverage-distribution-multisample into 2c297481274281635a0dd10aa6731bc2cadc27f4 on bigdatagenomics:master.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/mango-prb/728/
Test FAILed.

Closing in favor of https://github.com/bigdatagenomics/mango/pull/468


[Bug] cant create user at hestiacp

What happened?
I have set up two servers, one is VestaCP, the other is HestiaCP, both show they are set up correctly (status: connected), but after activating the order for the HestiaCP server, the user did not register.
VestaCP module is working properly.
BoxBilling Version
v4.22-beta.1.5
What version of PHP are you running?
PHP 8.0
Additional Notes
Another HestiaCP server shows the error "Connection to server failed Error: API has been disabled" at the connection check stage.

In the settings make sure you have "API access" enabled and enter your public ip of the "Boxbilling" server inside the text box.

And is "Legacy API" enabled?

Add <IP_ADDRESS> to the allowed ip list?

If you check /var/log/hesita/auth.log or /var/log/hesita/nginx-error.log what kind of error do you see?

v-generate-api-key and enter it in access hash will solve the issue.
It looks like:
https://github.com/boxbilling/boxbilling/blob/f777d037fe667353ce1723e1083deded47a42f92/src/bb-library/Server/Manager/Hestia.php#L73-L78
Return not false even when it is empty

Solved!
Thank you very much I appreciate it

v-generate-api-key and enter it in access hash will solve the issue.

working properly


fix: snappable will be properly snapped to snapzones when thrown

Description
throwing things into the snapzone made it force snap before the normal snap behavior was triggered. Fixed by only force snapping when the object was, beforehand grabbed.

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Typo in Dockerfile.debug for nodeJSTypeScript sample

In file Dockerfile.debug for nodeJSTypeScript sample ther is the following typo that refers to .NET Uno templates
https://github.com/toradex/vscode-torizon-templates/blob/1256dec394eaf04ae675d1499fd04c2cc159c571/nodeJSTypeScript/Dockerfile.debug#L31
I suggest to change it either to
# Deploy Step

as done in cppConsole
or to
# Deploy Step Node.js Typescript

It was fixed by 8f1483e41e875f23fe6f9c9d24064265efa785ca


Font related improvements

This exposes player's terminalLineHeight in the form of number input on asciicast settings page, which addresses:

#282
#413

Also allows selecting Nerd Font (Fira Code or JetBrains Mono) instead of default font for a recording, which addresses:

#395
#383
#290

Awesome

Any chance we can get this in the self-hosted version as well? Or is there an option to configure this manually via custom.exs?

Hey @jonpetersathan, this is included in the self-hosted version. You don't see those new options in the recording settings form?

@ku1ik Ah yeah, sorry, there I do see the settings indeed! But is there a way to change the default settings? Like you can on https://asciinema.org/user/edit, because on the self hosted version, I can only change the terminal theme in the user settings form.

I've released new version yesterday: https://github.com/asciinema/asciinema-server/releases/tag/v20240324
And yes, there's no global setting (yet), but I plan to add it.


Standardize configuration directory according to XDG_CONFIG_DIR specification

Standard config directory specification. Supporting the standard basically means storing our default configuration in $XDG_CONFIG_HOME/coda/ and searching other standard locations on disk if this directory/file does not exist.
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Separate out user config for daemon config folders

Could we expand this to comply fully with the XDG Base Directory specification?
Also worth noting that the specification changed in May 2021 to include two new standard directories (XDG_RUNTIME_DIR and XDG_STATE_HOME). Consequently, it will be necessary to update any XDG Base Directory spec compliance libraries.

See #9308 for a previous approach.


Travel

We could use API's like Skyscanner to find out travel information to a certain country. Maybe include the weather and a few accommodation links, maybe with the TripAdvisor API https://www.tripadvisorsupport.com/hc/en-us/articles/200615457
Could do something like :
Travel to Bali
Response:
Bali prices : Emirates $2000...etc
Weather: ...
Hotel links: [] [] []

@UshalNaidoo Sorry to reply so late!
Nice idea. But won't travel be a bit of a large module in itself? I mean, it can be subdivided into modules like weather, hotel, etc. What do you think?

I would like to start with developing a module for flights with the Skyscanner API; is anyone else already working on this?

@zeynepakkalyoncu You may go ahead! 😄

is anybody working on this?


Fix: Tutorials link on site

See Dead link: http://pythonhosted.org/pyriemann/auto_tutorials/index.html

Tutorial link has been removed with this commit:
https://github.com/pyRiemann/pyRiemann/commit/9ff48f0e4b9b090034f53105a45fc75cf69a6cef#diff-3161f66a61b9ed68303607f1dbdce1c7bdcc69c42f8ea1c2051a07a579ebcf5dL88


Refactored AlvrEvent thread and World Tracker outside of renderer + Swift UI Lobby

Moved the AlvrEvent thread and WorldTracker into their own files to more easily initialize them before rendering the immersive view.  Also added volumetric window entry point.
The volumetric window shows connection status and waits for a connection before you can enter the immersive view for now.  Can use that system to build a more in depth menu and stats on the client.

Are you wanting the UI to remain only 2D instead of volumetric or to default in the ImmersiveSpace?

Yes, the lobby UI should be a 2d window and the immersive space should launch when the connect button is pressed.

Updated

Whitepace in renderer changed to minimize diff

I guess since we already have an LGTM, and since I tested it I'll throw in an LGTM and get it merged


Fixed up mysql and added init option to initialize with either pg or mysql

fixed mysql migrations so they work now.
wrote mapping table for column types between databases.
added --db mysql or pg option to init app.
fixed docker setup to work with mysql as well.
added database options to readme and added some instructions on how to use.
modified specs to create test project inside of project folder and delete if when done.
added spec to test that database options worked.

I'll work on sqlite3 this weekend. I'll look at the docker-compose file a bit more when I have a chance.