[Bug] Copy-DbaDbTableDate does not copy table data between two different Azure SQL Databases

Environmental information
PowerShell Version        : 5.1.14393.3471
dbatools latest installed : 1.0.115
Culture of OS             : en-US

SQL Server:
Source = Microsoft SQL Azure (RTM) - 12.0.2000.8   Jul 31 2020 08:26:29   Copyright (C) 2019 Microsoft Corporation
Destination = Microsoft SQL Azure (RTM) - 12.0.2000.8   Jul 31 2020 08:26:29   Copyright (C) 2019 Microsoft Corporation

Source = us_english
Destination = us_english

Report

Host used

[ ] powershell.exe
[ ] ISE
[X] VS Code
[ ] Other (please specify)

If anything other than powershell.exe was used, please confirm that you can duplicate the issue with powershell.exe

[ ] Still buggy in powershell.exe

Errors Received
Screen output:
VERBOSE: [10:54:19][Connect-DbaInstance] Connecting to Data Source=TCP:source.database.windows.net,1433;User ID=serveradmin;Password=********;MultipleActiveResultSets=False;Connect
Timeout=30;Encrypt=True;TrustServerCertificate=False;Application Name="dbatools PowerShell module - dbatools.io"
VERBOSE: [10:54:19][Connect-DbaInstance] Connecting to Azure: source.database.windows.net
VERBOSE: [10:54:23][Connect-DbaInstance] Connecting to Data Source=TCP:destination.database.windows.net,1433;User ID=serveradmin;Password=********;MultipleActiveResultSets=False;Connect
Timeout=30;Encrypt=True;TrustServerCertificate=False;Application Name="dbatools PowerShell module - dbatools.io"
VERBOSE: [10:54:24][Connect-DbaInstance] Connecting to Azure: destination.database.windows.net
VERBOSE: Performing the operation "Truncating table [dbo].[TPGGLBrowseTransStagingDBATools]" on target "[TCP:destination.database.windows.net,1433]".
VERBOSE: [10:54:26][Connect-DbaInstance] Connecting to Data Source=TCP:destination.database.windows.net,1433;User ID=serveradmin;Password=********;MultipleActiveResultSets=False;Connect
Timeout=30;Encrypt=True;TrustServerCertificate=False;Application Name="dbatools PowerShell module - dbatools.io"
VERBOSE: [10:54:26][Connect-DbaInstance] Connecting to Azure: source.database.windows.net
VERBOSE: Performing the operation "Copy data from [dbo].[TPGGLBrowseTransStaging]" on target "[TCP:source.database.windows.net,1433]".
VERBOSE: Performing the operation "Writing rows to [dbo].[TPGGLBrowseTransStagingDBATools]" on target "[TCP:destination.database.windows.net,1433]".
WARNING: [10:54:28][Copy-DbaDbTableData] Something went wrong | Invalid object name 'dbo.TPGGLBrowseTransStaging'.

Stack Trace:
writeErrorStream      : True
PSMessageDetails      :
Exception             : System.Exception: Invalid object name 'dbo.TPGGLBrowseTransStaging'. ---> System.Data.SqlClient.SqlException: Invalid object name 'dbo.TPGGLBrowseTransStaging'.
                           at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action`1 wrapCloseInAction)
                           at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
                           at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler,
                        TdsParserStateObject stateObj, Boolean& dataReady)
                           at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
                           at System.Data.SqlClient.SqlDataReader.get_MetaData()
                           at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean
                        forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
                           at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task,
                        Boolean asyncWrite, Boolean inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)
                           at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method, TaskCompletionSource`1
                        completion, Int32 timeout, Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
                           at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior runBehavior, Boolean returnStream, String method)
                           at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
                           at System.Data.SqlClient.SqlCommand.ExecuteReader()
                           at CallSite.Target(Closure , CallSite , Object )
                           --- End of inner exception stack trace ---
TargetObject          : source.database.windows.net
CategoryInfo          : NotSpecified: (source.database.windows.net:PSObject) [Write-Error], Exception
FullyQualifiedErrorId : dbatools_Copy-DbaDbTableData,Stop-Function
ErrorDetails          : Invalid object name 'dbo.TPGGLBrowseTransStaging'.
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at Stop-Function, C:\Users\admin_gb\Documents\WindowsPowerShell\Modules\dbatools\1.0.115\allcommands.ps1: line 83636
                        at Copy-DbaDbTableData<Process>, C:\Users\admin_gb\Documents\WindowsPowerShell\Modules\dbatools\1.0.115\allcommands.ps1: line 7217
                        at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo : {0, 1}

Steps to Reproduce
Command I am running:
$SourceConnection = "source.database.windows.net"
$PasswordSource = ConvertTo-SecureString "sourcePW" -AsPlainText -Force
$AzureCredentialSource = New-Object System.Management.Automation.PSCredential("serveradmin"),$PasswordSource
$DestinationConnection = "destination.database.windows.net"
$PasswordDestination = ConvertTo-SecureString "destinationPW" -AsPlainText -Force
$AzureCredentialDestination = New-Object System.Management.Automation.PSCredential("serveradmin"),$PasswordDestination

$RunSettings = @{
    SqlInstance = $SourceConnection
    Destination = $DestinationConnection
    Database = 'ax_ods'
    DestinationDatabase = 'AX_ODS'
    Table = 'TPGGLBrowseTransStaging'
    DestinationTable = 'TPGGLBrowseTransStagingDBATools'
    Truncate = $true
    SqlCredential = $AzureCredentialSource
    DestinationSqlCredential = $AzureCredentialDestination
    Verbose = $true
}

Copy-DbaDbTableData @RunSettings

Expected Behavior
I expect the data in the source table to be copied to the destination table.
Actual Behavior
Errors out saying invalid object name.

Seems to potentially be an issue copying from Azure SQL DB to a SQL Server Instance, too.

My error:
writeErrorStream      : True
PSMessageDetails      :
Exception             : System.Exception: Invalid object name 'dbo.dimPosition'. ---> System.Data.SqlClient.SqlException:
Invalid object name 'dbo.dimPosition'.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection,
Action1 wrapCloseInAction)                            at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean                         callerHasConnectionLock, Boolean asyncClose)                            at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler,                         SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj,                         Boolean& dataReady)                            at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()                            at System.Data.SqlClient.SqlDataReader.get_MetaData()                            at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior,                         String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean                         shouldCacheForAlwaysEncrypted)                            at System.Data.SqlClient.SqlCommand.RunExecuteReaderTds(CommandBehavior cmdBehavior, RunBehavior                         runBehavior, Boolean returnStream, Boolean async, Int32 timeout, Task& task, Boolean asyncWrite, Boolean                         inRetry, SqlDataReader ds, Boolean describeParameterEncryptionRequest)                            at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior                         runBehavior, Boolean returnStream, String method, TaskCompletionSource1 completion, Int32 timeout,
Task& task, Boolean& usedCache, Boolean asyncWrite, Boolean inRetry)
at System.Data.SqlClient.SqlCommand.RunExecuteReader(CommandBehavior cmdBehavior, RunBehavior
runBehavior, Boolean returnStream, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader(CommandBehavior behavior, String method)
at System.Data.SqlClient.SqlCommand.ExecuteReader()
at CallSite.Target(Closure , CallSite , Object )
--- End of inner exception stack trace ---
TargetObject          : e000crbdw1sqls1.database.windows.net
CategoryInfo          : NotSpecified: (e000crbdw1sqls1.database.windows.net:PSObject) [Write-Error], Exception
FullyQualifiedErrorId : dbatools_Copy-DbaDbTableData,Stop-Function
ErrorDetails          : Invalid object name 'dbo.dimPosition'.
InvocationInfo        : System.Management.Automation.InvocationInfo
ScriptStackTrace      : at Stop-Function, C:\Program Files\WindowsPowerShell\Modules\dbatools\1.0.116\allcommands.ps1: line 83938
at Copy-DbaDbTableData, C:\Program
Files\WindowsPowerShell\Modules\dbatools\1.0.116\allcommands.ps1: line 7219
at , : line 1
PipelineIterationInfo : {0, 1}

Running into the same issue. I found it is fixed in this commit https://github.com/sqlcollaborative/dbatools/commit/a5c1417f754b0d5d6297696e7db1061c91f472e0#diff-6a1a2a29aba2fa26d4a038d408c6375e. We just need it released.

So pulling dev branch your issue goes away?

@sdecker if you can confirm your issue goes away using our dev branch it would be appreciated.
I can see if I can get a release out this weekend.

Yes, my issue goes away with the dev branch.
On Fri, Sep 11, 2020, 18:11 Shawn Melton<EMAIL_ADDRESS>wrote:

@sdecker https://github.com/sdecker if you can confirm your issue goes
away using our dev branch it would be appreciated.
I can see if I can get a release out this weekend.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/sqlcollaborative/dbatools/issues/6743#issuecomment-691333920,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABO4UDBTMIIJEMSKE27GFWTSFKOCLANCNFSM4QBZTYSQ
.

I'm trying to copy a table from SQL Server to Azure SQL Server and get this error: Table dbo.xxxx cannot be found in xxxx-db-test. Use -AutoCreateTable to automatically create the table on the destination.
The table exists, and when i add a new name to the destination table parameter, and use -AutoCreateTable, the new table is created, but when data should be copied, I get the same error:
Table dbo.[xxxx] cannot be found in xxx-db-test. Use -AutoCreateTable to automatically create the table on the destination.
At C:\Program Files\WindowsPowerShell\Modules\dbatools\1.0.126\allcommands.ps1:84595 char:9

    throw $records[0]

    ~~~~~~~~~~~~~~~~~

CategoryInfo          : NotSpecified: (:) [], Exception
FullyQualifiedErrorId : dbatools_Copy-DbaDbTableData

Could this be another issue with Azure SQL Server? (No success with the dev branch)

@Ncedia, I tried the scenario and it is working for me. I suggest running the Update-Dbatools command to ensure you have the latest build. If the issue still persists we'll need you to run the command with -Verbose and post the output here along with the command arguments being used.

@Ncedia, I tried the scenario and it is working for me. I suggest running the Update-Dbatools command to ensure you have the latest build. If the issue still persists we'll need you to run the command with -Verbose and post the output here along with the command arguments being used.

I will close this for now, but you can reopen it if this is still an issue with the current version.


Dependency on pyreadline may cause breaking incompatibility in Python 3.9

We've been noticing a deprecation warning in our python stack due to pyreadline, which is a dependency of this package. Unfortunately, pyreadline has not been updated in quite a bit and is likely abandoned at this point, which yields little hope the deprecation will be resolved by the release date of Python 3.9. It might make sense to remove the dependency on pyreadline for Windows with Python >= 3.9
Upstream issue for collections deprecation
https://github.com/pyreadline/pyreadline/issues/65

The upstream issue notes that this is currently a hard break in python 3.10. I'd like to use humanfriendly on windows for some simple parsing of file size strings, but having to add abandoned pyreadline and knowing it'll break with python 3.10 is more trouble than the benefits of not reinventing a small wheel. :-)

https://github.com/xolox/python-humanfriendly/pull/45 has now been merged so this issue should be resolved.


Discard the System generated Schemas in nswag

Unable to disable the system generated schemas in Nswag - such as exception, MethodBase, MethodAttributes

Json content:

Nswag version - 14.0.3
.Net core - 8

It worked for me.


Fix 'missing' dependency

Summary of the Pull Request
What is this about?
opentelemetry claims requests ~= 2.0 is not installed with the following message:
DependencyConflict: requested: "requests ~= 2.0" but found: "None"

This is false however, requests is installed and we should leave it up to pip to decide what's installed or not.

Codecov Report

Merging #3331 (75deae6) into main (85002a6) will decrease coverage by 1.51%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #3331      +/-   ##
==========================================
- Coverage   34.18%   32.67%   -1.51%
==========================================
  Files         141      174      +33
  Lines       17413    23049    +5636
==========================================
+ Hits         5952     7531    +1579
- Misses      11461    15518    +4057

see 56 files with indirect coverage changes


BZD Labs/Dobring API Sender Onboarding - CSV

We should prioritize this sender as they've been waiting a while.
CSV sample file is available in Sharepoint: https://cdc.sharepoint.com/:x:/t/USDSatCDC/ETPGZMcgHu9An_J_yxs2yPsBA444LhQ_sLKN4xVwzzCVpg?e=YN9mby
Message Sarah, Berni, or Sharon to get added to the email thread.

@GilmoreA6  The user Desiree Bock is looking for an update.  She can be reached at<EMAIL_ADDRESS>

James provided user an update on 8/25 at 6:54 PM, see response below:
Hi Desiree,
I have taken a look at the sample data provided and looks like we are in pretty good shape. There are a few additions/ things to be aware of that would be great if we could get added/ironed out.
If it is possible we have a few additional columns we would like to see (they are listed in the Programmer's Guide as optional and don't need to necessarily be valued but we would like to have the columns included in sent files even if they are not populated). The additional column headers are:
patient_middle_name
patient_street2
patient_preferred_language
testing_lab_specimen_received_date
ordering_provider_middle_name
ordering_provider_street2
testing_lab_street2
comment
The other thing to be aware of is the date/time fields. We prefer a format with a UTC offset (e.g. "20220825154000-0800" for 8/25/2022 3:40 PM PDT). For date/time fields without a UTC offset value, ReportStream will assume a UTC offset of +0000 (which will result in inaccurate date/times being reported if the timestamps do not correlate with that timezone)
Finally, do you have a preference for either token-based authentication or a shared secret key for connecting to the API? Both methods are described in the Programmer's Guide (https://reportstream.cdc.gov/resources/programmers-guide
CDC Prime ReportStream
ReportStream Dashboard Application
reportstream.cdc.gov
) with examples.
Please let me know if you have any questions that I can answer. After you make the changes described above if you could send a new sample file for validation that would be appreciated. Please use fake data in the sample file that does not include any PHI/PII
Thank you,
James Gilmore

Provided feedback to sender. Awaiting updated sample data with corrections.

Update from Sender 10/3/2022:
Hello!
I hear we are close to finalizing a connection. I am very excited. Can you confirm if we can add other CLIA numbers in the same file, or do I need to fill anything out for the new CLIA numbers? Also, for data that was before the connection, do we submit this a certain way? I just want to make sure we are covering everything once this is established.
Kindest Regards,
Desiree Bock, B.S., C(ASCP), MBA

Update from CA State - Ellaison on 10/7 at 8:45 PM:
Hi James,
Yes, for the CSV messages, please do use CDPH00085 in place of the CLIA and send the prod messages for us to review to our test environment.  Since we are currently getting a fair amount of data in our test environment, it would be helpful to know when you send the messages and the accession numbers which will make it easy for us to locate and review them.
I’ve added Teddy Fries on this email chain and she or one of her team members will be performing the review.  I’ve also cc’d Vanessa for awareness as she is familiar with ReportStream CSV uploads as well.
Thanks,
Ellaison

Hello,
All of this was sent and I received notification that it was successful. Can you please advise?
Thank you!
Qais Alkurdi


SignalR Functions Quick Start for JS: Failed to complete negotation with the server

I tried to follow the steps on https://docs.microsoft.com/en-us/azure/azure-signalr/signalr-quickstart-azure-functions-javascript#run-the-web-application
Locally, func start seems to work fine, but loading the page seems to give errors in the console, probably due to CORS issues.

My Browser Console
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:7071/api/negotiate. (Reason: CORS request did not succeed).

[2020-03-08T01:52:28.924Z] Warning: Error from HTTP request. 0: .
[2020-03-08T01:09:38.270Z] Error: Failed to complete negotiation with the server: Error Utils.ts:180:28
    log Utils.ts:180
    getNegotiationResponse HttpConnection.ts:247
    step signalr.js:2851
    verb signalr.js:2832
    rejected signalr.js:2824
[2020-03-08T01:09:38.270Z] Error: Failed to start the connection: Error Utils.ts:180:28
    log Utils.ts:180
    startInternal HttpConnection.ts:215
    step signalr.js:2851
    verb signalr.js:2832
    rejected signalr.js:2824
Error: ""
    signalr 1.1.2/dist/browser/signalr.js:1487
    signalr 1.1.2/dist/browser/signalr.js:1754

Terminal Log
% func start
Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell]
Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell]
Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell]

                  %%%%%%
                 %%%%%%
            @   %%%%%%    @
          @@   %%%%%%      @@
       @@@    %%%%%%%%%%%    @@@
     @@      %%%%%%%%%%        @@
       @@         %%%%       @@
         @@      %%%       @@
           @@    %%      @@
                %%
                %

Azure Functions Core Tools (2.7.2254 Commit hash: ae06bd1a6012aa6a0859b5f30d3077947267d2b6)
Function Runtime Version: 2.0.13017.0
Can't determine project language from files. Please use one of [--csharp, --javascript, --typescript, --java, --python, --powershell]
[3/8/20 1:09:29 AM] Building host: startup suppressed: 'False', configuration suppressed: 'False', startup operation id: '8c782dcb-b3a2-47a2-8909-964e1ecdcb52'
[3/8/20 1:09:29 AM] Reading host configuration file 'BASE_PATH/signalr-service-quickstart-serverless-chat/src/chat/javascript/host.json'
[3/8/20 1:09:29 AM] Host configuration file read:
[3/8/20 1:09:29 AM] {
[3/8/20 1:09:29 AM]   "version": "2.0",
[3/8/20 1:09:29 AM]   "extensionBundle": {
[3/8/20 1:09:29 AM]     "id": "Microsoft.Azure.Functions.ExtensionBundle",
[3/8/20 1:09:29 AM]     "version": "[1.*, 2.0.0)"
[3/8/20 1:09:29 AM]   }
[3/8/20 1:09:29 AM] }
[3/8/20 1:09:29 AM] Reading functions metadata
[3/8/20 1:09:29 AM] 2 functions found
[3/8/20 1:09:30 AM] Looking for extension bundle Microsoft.Azure.Functions.ExtensionBundle at /var/folders/ff/hhb7h3l1607gqyq17kq234bw0000gp/T/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle
[3/8/20 1:09:30 AM] Found a matching extension bundle at /var/folders/ff/hhb7h3l1607gqyq17kq234bw0000gp/T/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/1.1.1
[3/8/20 1:09:30 AM] Fetching information on versions of extension bundle Microsoft.Azure.Functions.ExtensionBundle available on https://functionscdn.azureedge.net/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/index.json
[3/8/20 1:09:30 AM] Skipping bundle download since it already exists at path /var/folders/ff/hhb7h3l1607gqyq17kq234bw0000gp/T/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/1.1.1
[3/8/20 1:09:30 AM] Loading Extention bundle from /var/folders/ff/hhb7h3l1607gqyq17kq234bw0000gp/T/Functions/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/1.1.1
[3/8/20 1:09:30 AM] Loading startup extension 'SignalR'
[3/8/20 1:09:30 AM] Loaded extension 'SignalR' (<IP_ADDRESS>)
[3/8/20 1:09:31 AM] Initializing Warmup Extension.
[3/8/20 1:09:31 AM] Initializing Host. OperationId: '8c782dcb-b3a2-47a2-8909-964e1ecdcb52'.
[3/8/20 1:09:31 AM] Host initialization: ConsecutiveErrors=0, StartupCount=1, OperationId=8c782dcb-b3a2-47a2-8909-964e1ecdcb52
[3/8/20 1:09:31 AM] LoggerFilterOptions
[3/8/20 1:09:31 AM] {
[3/8/20 1:09:31 AM]   "MinLevel": "None",
[3/8/20 1:09:31 AM]   "Rules": [
[3/8/20 1:09:31 AM]     {
[3/8/20 1:09:31 AM]       "ProviderName": null,
[3/8/20 1:09:31 AM]       "CategoryName": null,
[3/8/20 1:09:31 AM]       "LogLevel": null,
[3/8/20 1:09:31 AM]       "Filter": "<AddFilter>b__0"
[3/8/20 1:09:31 AM]     },
[3/8/20 1:09:31 AM]     {
[3/8/20 1:09:31 AM]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[3/8/20 1:09:31 AM]       "CategoryName": null,
[3/8/20 1:09:31 AM]       "LogLevel": "None",
[3/8/20 1:09:31 AM]       "Filter": null
[3/8/20 1:09:31 AM]     },
[3/8/20 1:09:31 AM]     {
[3/8/20 1:09:31 AM]       "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",
[3/8/20 1:09:31 AM]       "CategoryName": null,
[3/8/20 1:09:31 AM]       "LogLevel": null,
[3/8/20 1:09:31 AM]       "Filter": "<AddFilter>b__0"
[3/8/20 1:09:31 AM]     }
[3/8/20 1:09:31 AM]   ]
[3/8/20 1:09:31 AM] }
[3/8/20 1:09:31 AM] FunctionResultAggregatorOptions
[3/8/20 1:09:31 AM] {
[3/8/20 1:09:31 AM]   "BatchSize": 1000,
[3/8/20 1:09:31 AM]   "FlushTimeout": "00:00:30",
[3/8/20 1:09:31 AM]   "IsEnabled": true
[3/8/20 1:09:31 AM] }
[3/8/20 1:09:31 AM] SingletonOptions
[3/8/20 1:09:31 AM] {
[3/8/20 1:09:31 AM]   "LockPeriod": "00:00:15",
[3/8/20 1:09:31 AM]   "ListenerLockPeriod": "00:00:15",
[3/8/20 1:09:31 AM]   "LockAcquisitionTimeout": "10675199.02:48:05.4775807",
[3/8/20 1:09:31 AM]   "LockAcquisitionPollingInterval": "00:00:05",
[3/8/20 1:09:31 AM]   "ListenerLockRecoveryPollingInterval": "00:01:00"
[3/8/20 1:09:31 AM] }
[3/8/20 1:09:31 AM] HttpOptions
[3/8/20 1:09:31 AM] {
[3/8/20 1:09:31 AM]   "DynamicThrottlesEnabled": false,
[3/8/20 1:09:31 AM]   "MaxConcurrentRequests": -1,
[3/8/20 1:09:31 AM]   "MaxOutstandingRequests": -1,
[3/8/20 1:09:31 AM]   "RoutePrefix": "api"
[3/8/20 1:09:31 AM] }
[3/8/20 1:09:31 AM] Starting JobHost
[3/8/20 1:09:31 AM] Starting Host (HostId=MY_MACHINE_ID, InstanceId=b3133860-0156-4119-b377-3e48e4cfeccb, Version=2.0.13017.0, ProcessId=40197, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=(null))
[3/8/20 1:09:31 AM] Loading functions metadata
[3/8/20 1:09:31 AM] 2 functions loaded
[3/8/20 1:09:31 AM] Loading proxies metadata
[3/8/20 1:09:31 AM] Initializing Azure Function proxies
[3/8/20 1:09:33 AM] 0 proxies loaded
[3/8/20 1:09:33 AM] Starting worker process:node  "BASE_PATH/.volta/tools/image/packages/azure-functions-core-tools/2.7.2254/bin/workers/node/dist/src/nodejsWorker.js" --host <IP_ADDRESS> --port 52641 --workerId d53ee4cc-00b9-4659-a00b-ffa1941f098c --requestId 4bfd6441-5256-4ee7-b073-5b122febe260 --grpcMaxMessageLength 134217728
[3/8/20 1:09:33 AM] node process with Id=40203 started
[3/8/20 1:09:33 AM] Generating 2 job function(s)
[3/8/20 1:09:33 AM] [warn] The Node.js version you are using (v12.16.1) is not fully supported by Azure Functions V2. We recommend using one the following major versions: 8, 10.
[3/8/20 1:09:33 AM] Found the following functions:
[3/8/20 1:09:33 AM] Host.Functions.messages
[3/8/20 1:09:33 AM] Host.Functions.negotiate
[3/8/20 1:09:33 AM]
[3/8/20 1:09:33 AM] Initializing function HTTP routes
[3/8/20 1:09:33 AM] Mapped function route 'api/messages' [post] to 'messages'
[3/8/20 1:09:33 AM] Mapped function route 'api/negotiate' [all] to 'negotiate'
[3/8/20 1:09:33 AM]
[3/8/20 1:09:33 AM] Host initialized (2527ms)
[3/8/20 1:09:33 AM] Host started (2540ms)
[3/8/20 1:09:33 AM] Job host started
[3/8/20 1:09:33 AM] Worker d53ee4cc-00b9-4659-a00b-ffa1941f098c connecting on <IP_ADDRESS>:52641
Hosting environment: Production
Content root path: BASE_PATH/signalr-service-quickstart-serverless-chat/src/chat/javascript
Now listening on: http://<IP_ADDRESS>:7071
Application started. Press Ctrl+C to shut down.

Http Functions:

        messages: [POST] http://localhost:7071/api/messages

        negotiate:  http://localhost:7071/api/negotiate

[3/8/20 1:09:38 AM] Host lock lease acquired by instance ID '00000000000000000000000053EE8A2C'.

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

ID: 2bd09899-bf7e-da8d-921b-6770befa4b31
Version Independent ID: 058bf2f8-c0e1-f70e-3136-17d37b7c17f3
Content: Use JavaScript to create a chat room with Azure Functions and SignalR Service
Content Source: articles/azure-signalr/signalr-quickstart-azure-functions-javascript.md
Service: signalr
GitHub Login: @sffamily
Microsoft Alias: zhshang

For the record, I've tried to run this with the given URL
https://azure-samples.github.io/signalr-service-quickstart-serverless-chat/demo/chat-v2/

and by running locally with
npx http-server

and
npx http-server --cors

and every time I've loaded the page, it's failed on me.

I missed the instruction

Rename local.settings.sample.json to local.settings.json.

Which is definitely on me, but was pretty subtle. Is there any reason this can't just be named local.settings.json?

sigh. Okay, cloud development is hard and git doesn't help at all.

@DanielRosenwasser  Good to hear that you are unblocked.


Implement layer shader hooks

RFC
Change List

Add standard shader hooks to all layers
Documentation

For some reason upgrading luma from 7.2.0-alpha.1 to 7.2.0-alpha.2 is causing node tests to fail. A constant attribute buffer created using the default VAO is not deleted when the TripsLayer is finalized. @tsherif I can't locate any commit between the two releases that could cause this. Ideas?

Coverage increased (+0.1%) to 81.451% when pulling e68bdc326c0ce33b3ea53129b594abc8c2721b69 on x/layer-shader-hooks into ec15daccc8b82c8120a29cfaad312105b519febe on master.


Incorporate changes from robwi repo

Additions have been made to this module in a separate repo:
https://github.com/robwi/xSCSMA
HELP WANTED
If someone would like to review this work and incorporate changes back to the resource kit as a new PR, that would be a great project.

Labeling this as help wanted so that someone in the community can work on these.
There are new resource in robwi repository that should be moved here, and those existing resource should be verified for new functionality.


On demand - event date always 7 days old

On TV items show with the current date, as I would expect.  All On demand items show as current date minus 7 days.
For example, On TV now:  Eurosport 2: European Championship | Woman's 49kg.  First aired: 03/04/2021
Exactly the same item in On demand (latest item) in Weightlifting. First aired: 27/03/2021
This has been an issue for a while; present in version 0.2.1 and the previous version I had installed.
Tested after reboot and system clock/time is correct.

I'm not sure what issue you are raising here.
The addon has no control over what items Eurosport are broadcasting or making available to be viewed OnDemand.
All of the information displayed on screen is provided by Eurosport, so the dates and event titles are displayed as provided.
Are you sure exactly the same video was being shown on tv that was available on demand?
Was the item being shown on tv a repeat of an item that had been broadcast before?
Very often they will broadcast a number of items from the same tournament but give them the same name.  Could this have been different rounds of the same competition?


Please change the Power Toys Icons

Description of the new feature / enhancement
The actual icon has nothing related with a Power Tool/Toy...
In my opinio, we should replace it with another one that should suggest what it is.
I stay looking for my taskbar for many times to find PowerToys.

Scenario when this would be used?
Any time!
Supporting information
No response

Thanks for the feedback but no current plans to change our icon, if it is a outline based, tracked via https://github.com/microsoft/PowerToys/issues/3523
We could adjust the settings icon however but it would be still based on the existing icon.


Timesheet - 26/04/2021- Manish Ram

Task 1: Timesheets

Reviewed timesheets

Proof of Work

Commented "Approved" for approved timesheets or left other comments to ask for additional Infos to the timesheet issues dated 25/04/2021
https://github.com/thenewboston-developers/Contributor-Payments/issues

Time Spent
1 hour

Task 2: Audit Discuss

Private chat with Kristy on Projects/ Timesheets and other stuff

Proof of Work

Private chat

Time Spent
0.5 hours

Task 3 : Payments
Audit contributor payments for 19/04/2021 and 20/04/2021 [After Payment]

Checked sent payment amounts were equal to worked hours x hourly rate.
Checked payments made to the correct account.
Checked payments were not missed.
Labeled Paid timesheets and closed them.
https://docs.google.com/spreadsheets/d/1aKk4aVg_0nB5Ua2ZIxhJjPaZh2jviRp6ddD97AHItaA/edit#gid=0
https://docs.google.com/spreadsheets/d/1sqAx_6BtkdHV9w2FJtMmC0Ua1npvVgsfydQVPQdpoPo/edit#gid=0

Time Spent
1 hour

Total Time Spent
2.5 hours
Account Number
0f92e975101eb96cea80dce430d74efd3172fa229377818d467ded85dcf2ab6c

Approved


Candidate Release Comments (Organizational Diversity)

This issue was created to collect comments about the upcoming metrics release.
This thread is for comments about Organizational Diversity
GitHub location: https://github.com/chaoss/wg-common/blob/master/focus-areas/organizational-affiliation/organizational-diversity.md
Release candidate: https://chaoss.community/metric-organizational-diversity/
See all release candidates of metrics are at:
https://chaoss.community/metrics-rc/
Important Dates
Release Freeze: June 21st, 2019
Candidate Release: June 24th, 2019
Comments Close: July 24th, 2019
Release Date: August 1st, 2019

How do you account for accurate curation of multiple email address?

And individuals changing organization over time.

One way to deal with this problem is to encourage a centralized account system, for example, OpenStack uses a kind of one account whereby a contributor can be identified on several login system such as Gerrit, Launchpad, Storyboard with just one login credential.
This way, Even if persons change organization or add multiple emails, they will still be identified as one person.

In the strategies section, let's add the following bullet.

Depending on the needs of the project, you may want to consider such issues as how to handle multiple email addresses, affiliation changes over time, or contractor vs. employee.

PR to implement this change: https://github.com/chaoss/wg-common/pull/24

Issued #25 in order to align better with template order.

Under the "Quantitative" section, what's the difference between New Contributing Organizations (7th bullet) and New Contributor Organizations (8th bullet)?

Minor edit (2nd bullet under strategies):
"Identify contributor affiliations to get a good estimate of which organizations they belong to"

@geekygirldawn  and @bproffitt : Do you know what teh difference between the 7th and 8th bullets are intended to represent?

New Contributing Organizations (7th bullet) and
New Contributor Organizations (8th bullet)?

@sgoggins I believe we were differentiating between organizations that contribute as an organization and which organizations contributors belong to.

Could they be written like that:

New organizations that contribute to the project
Organizations that new contributors belong to

Ray's minor edit had been done: https://github.com/chaoss/wg-common/commit/ac5604be485ac1696394bb7f916baa0352404157#diff-a53884893cc68ad878af085699da79e9

I'll created a new issue #27 for the remaining discussion. Closing this thread because the comment period ended.


Fix for WorkspaceConfigurationService.lookup does not contain value 'null'

Fixes #21282 WorkspaceConfigurationService.lookup does not contain value 'null'

LGTM


#69 Adding a java system property to control the threadpool size

Hello Kunal,
A quick question: what is the difference between https://github.com/diirt and https://github.com/ControlSystemStudio/diirt ?
Which repository is the “official” one?
Best regards,
Claudio
Claudio Rosati
Software Engineer
European Spallation Source ERIC
P.O Box 176, SE-221 00 Lund, Sweden
Visiting address: Tunavägen 24, Lund
Phone: +46 46 888 34 24
Mobile: +46 721 79 24 24
E-mail: claudio.rosati<EMAIL_ADDRESS>www.esss.sehttp://www.esss.se/
[cid:EC9AC9A0-89C5-4CC1-89CE-908054AEC1B2]
From: Kunal Shroff <notifications<EMAIL_ADDRESS>Reply-To: ControlSystemStudio/diirt <reply<EMAIL_ADDRESS>Date: Monday 15 August 2016 at 20:00
To: ControlSystemStudio/diirt <diirt<EMAIL_ADDRESS>Subject: [ControlSystemStudio/diirt] #69 Adding a java system property to control the threadpool size (#25)

You can view, comment on, or merge this pull request online at:
https://github.com/ControlSystemStudio/diirt/pull/25
Commit Summary

#69 Adding a java system property to control the threadpool size

File Changes

M pvmanager/datasource/src/main/java/org/diirt/datasource/PVManager.javahttps://github.com/ControlSystemStudio/diirt/pull/25/files#diff-0 (10)

Patch Links:

https://github.com/ControlSystemStudio/diirt/pull/25.patch
https://github.com/ControlSystemStudio/diirt/pull/25.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/ControlSystemStudio/diirt/pull/25, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKVQAnH8pwLVvUdSv3qCPGQ3h-ss4Hywks5qgKlbgaJpZM4JknUo.

Hi Claudio,
The fork was a result of the

The changing build system in ControlSystemStudio
The changes in diirt (extensive use to java SPI, the new configuration)
At the time it was agreed that this split would help us more easily address these issues without resulting in too much disruption to our development.

The diirt fork published to a p2 repository and is used by CS-Studio while the other repo published to maven central.
At one of the previous monthly meeting we have agreed that the time has come that we can now merge these two branches together and have a single 'official' repo which does both the publishing to p2 and maven repos.
Thank you for briging this up and I hope we can resolve this during the code-a-thon
Kunal


Ubuntu 20.04 - CSPM Scan

Description
The VHD built via GenerateResourcesAndImage.ps1 has some underlying dependencies that should be updated to latest version. I'll try fixing these in a fork and contributing back.
End Of Life Technology

Platforms affected

[X] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[X] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] macOS 11
[ ] macOS 12
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link
N/A
Is it regression?
N/A
Expected behavior
N/A
Actual behavior
N/A
Repro steps
N/A

Hey @iandvt!
Almost all of the packages in that list installed from official sources and generally because it was requested by other users. And we can do nothing about that. But we will appreciate any help, ideas and options.
Generally I have only one question. It is about Apache 1.2.17 - looks strange for me, I almost sure we install Apache2. It should be checked.

Gotcha!
{
   "name": "log4j",
   "SPDXID": "SPDXRef-Package-java-archive-log4j-7ce2f84f24d059a0",
   "versionInfo": "1.2.17",
   "downloadLocation": "NOASSERTION",
   "sourceInfo": "acquired package info from installed java archive: /usr/local/lib/android/sdk/patcher/v4/patcher.jar",
   "licenseConcluded": "NONE",
   "licenseDeclared": "NONE",
   "copyrightText": "NOASSERTION",
   "externalRefs": [
    {
     "referenceCategory": "SECURITY",
     "referenceType": "cpe23Type",
     "referenceLocator": "cpe:2.3:a:apache:log4j:1.2.17:*:*:*:*:*:*:*"
    },
    {
     "referenceCategory": "PACKAGE-MANAGER",
     "referenceType": "purl",
     "referenceLocator"<EMAIL_ADDRESS>    }
   ]
  }

So, it's a part of the bundle for SDK Patch Applier v4 of Android SDK. You may request a fix from the development team for it. And we can do nothing about all other mentioned vulnerabilities due to the fact that all of those packages are somewhat obligatory to install.


LXD Shutdown State Consideration

When viewing the code for containerShutdown, it seems there may be a small bug in relation to when the container's state is checked during lxd shutdown.
First the container's state is cached during shutdown:
https://github.com/lxc/lxd/blob/2d9eb5ddbadd87d80ea8131c3d86bdcb54a2416c/lxd/containers.go#L213
However, when the code actually considers whether or not the container should be shutdown, it does not use the cached copy of the state, preferring to request if the container is currently running:
https://github.com/lxc/lxd/blob/2d9eb5ddbadd87d80ea8131c3d86bdcb54a2416c/lxd/containers.go#L224
Ergo, when the container is either shutdown or left alone in the below lines, the data stored to "volatile.last_state.power" would seem to not be the last state considered by the shutdown code as it uses the cached copy of the state stored before checking IsRunning:
https://github.com/lxc/lxd/blob/2d9eb5ddbadd87d80ea8131c3d86bdcb54a2416c/lxd/containers.go#L239
https://github.com/lxc/lxd/blob/2d9eb5ddbadd87d80ea8131c3d86bdcb54a2416c/lxd/containers.go#L244
For reference this is the for loop I am referring to below:
https://github.com/lxc/lxd/blob/2d9eb5ddbadd87d80ea8131c3d86bdcb54a2416c/lxd/containers.go#L209
If this is indeed an issue, a possible fix would be to utilize the cached state variable instead of IsRunning.  Additionally, we could also consider caching state prior to the for loop in order to minimize the time that the code checks state in order to try to make lxd shutdown's behavior more predictable to the user because, if there were to be any long pause between caching the var and checking IsRunning, behavior may not be what is expected when the user issued the lxd shutdown command.

I don't think it's a particularly likely race condition given that this code is hit when the daemon is shutting down, usually as a result of the system itself going down, making it extremely unlikely that we'd get queries at that time.
That being said, it's an easy enough race to fix so I sent a fix :)


Resolve dependency issues from Debian Bookwrom and improve resolvconf update

This PR primarily intends to fix a problem that was introduced in Debian Bookworm, which broke the Ansible playbook. While setting this up on a Pi with the latest image, I was able to troubleshoot the pip dependency issues and replace them with apt. Additionally, my Pi did not have resolvconf installed which caused Ansible to blow up, so I added that to the Debian dependencies, and also used Ansible to create the resolvconf.conf file if it does not exist. Finally, I made a few tweaks in the README to fix a typo, reflect the current admin portal for Pihole, and update the setup instructions to fix the pip issue.
Note

I did not test this with Arch so I did not add resolvconf to the pacman dependencies, although it may need to be added there as well. It looks like Arch / pacman has docker-compose too
I tested this through trial and error with my own Pi running the latest Raspberry Pi OS based on Debian Bookworm. After these changes it looks like everything is up and running

@geerlingguy Would love to get a review on this so that we can fix the main setup here for anybody coming with a fresh Pi OS installation 🚀

I highly recommend using pip to install Ansible instead of apt. The maintenance of the Debian ansible repositories has been hit or miss over the years, and Pip is the source of truth for a full ansible install.
The better solution will be to follow this guide and get Debian to not be so persnickety.

@geerlingguy That makes sense, thanks for sharing. I'll try and push an update to the PR if I find time.


Migrate attachments in batches

See: https://github.com/alphagov/asset-manager/issues/441
There are around 1.5m assets under attachment_data/file. When we attempted to queue up jobs to migrate all of these assets we ran into issues with redis running out of memory. This PR allows us to specify a "batch" of assets to be migrated so that we hopefully avoid this problem again.

Thanks @floehopper - rebasing and force pushing before merging.


Automated cherry pick of #5014: fix: support empty dns domain

Cherry pick of #5014 on release/3.1.
#5014: fix: support empty dns domain

Codecov Report

:exclamation: No coverage uploaded for pull request base (release/3.1@74c272c). Click here to learn what that means.
The diff coverage is 0%.

@@              Coverage Diff              @@
##             release/3.1   #5020   +/-   ##
=============================================
  Coverage               ?   6.76%
=============================================
  Files                  ?     544
  Lines                  ?   95131
  Branches               ?       0
=============================================
  Hits                   ?    6433
  Misses                 ?   88160
  Partials               ?     538

Flag
Coverage Δ

#aFlag
6.76% <0%> (?)

Impacted Files
Coverage Δ

pkg/hostman/guestfs/fsdriver/linux.go
0% <0%> (ø)

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 74c272c...8536166. Read the comment docs.

/lgtm

/approve

/approve


ARROW-5947: [Rust] [DataFusion] Remove serde crate dependency

I added a dependency to serde_json early on so that I could serialize logical query plans because I wanted a way to pass them between processes. However, this was just a short term hack and is non-standard. I would like to remove this now.
I am now using gRPC in another project and serializing plans that way based on the Gandiva protobuf def. I will start a discussion on the mailing list in the next 1-2 weeks about pushing some changes into the Arrow repo related to this.

@nevi-me could you take a look ... thanks

Codecov Report

Merging #4879 into master will decrease coverage by 5.11%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##           master    #4879       +/-   ##
===========================================
- Coverage   87.43%   82.31%    -5.12%
===========================================
  Files         996       86      -910
  Lines      140278    24403   -115875
  Branches     1418        0     -1418
===========================================
- Hits       122646    20088   -102558
+ Misses      17270     4315    -12955
+ Partials      362        0      -362

Impacted Files
Coverage Δ

rust/datafusion/src/logicalplan.rs
48.89% <ø> (-3.17%)
:arrow_down:

rust/datafusion/src/sql/parser.rs
58.69% <ø> (ø)
:arrow_up:

python/pyarrow/ipc.pxi

cpp/src/arrow/csv/chunker-test.cc

cpp/src/parquet/column_page.h

cpp/src/parquet/bloom_filter-test.cc

cpp/src/arrow/array/builder_decimal.cc

r/src/symbols.cpp

cpp/src/arrow/io/test-common.h

cpp/src/arrow/util/int-util-test.cc

... and 902 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 486b97b...4c28ad6. Read the comment docs.


Document that Cloud SQL API must be enabled

The Cloud SQL starter doesn't work unless the Cloud SQL API is enabled.
Also, clarifies that either instance-connection-name or jdbc-url must be provided.
Fixes #152

@joaoandremartins updated ref doc and rebased. Can you take another look pls?


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1704 ms

Resolved: Bofrost.at performance has improved in 3167ed2 after 7 minutes.


Fonts Display not correct on Safari

Some fonts are not loading correctly using Safari
*** Slow Network is Detected - Looking for solution of handle it, maybe hosting pictures and fonts file instead of store in local.

Fixed on 7/20 Update.


Compliation errors: ‘r_core_annotated_code_print’ was not declared in this scope

Ubuntu 20.04
cmake output:
-- The C compiler identification is GNU 10.2.0
-- The CXX compiler identification is GNU 10.2.0
-- Check for working C compiler: /usr/bin/gcc-10
-- Check for working C compiler: /usr/bin/gcc-10 -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/g++-10
-- Check for working CXX compiler: /usr/bin/g++-10 -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Setting build type to 'Release' as none was specified.
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.29.1")
-- Checking for one of the modules 'r_core'
-- Found Radare2: Radare2::libr
-- Found PythonInterp: /usr/bin/python3 (found suitable version "3.8.5", minimum required is "3.4")
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG
-- Performing Test SUPPORTS_FVISIBILITY_INLINES_HIDDEN_FLAG - Success
-- Capstone: using remote Capstone revision.
-- Looking for pthread.h
-- Looking for pthread.h - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
-- Looking for pthread_create in pthreads
-- Looking for pthread_create in pthreads - not found
-- Looking for pthread_create in pthread
-- Looking for pthread_create in pthread - found
-- Found Threads: TRUE
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- LLVM: using remote LLVM revision.
-- YARA: using remote YARA revision.
-- YaraMod: using remote YaraMod revision.
-- Found OpenSSL: /usr/lib/x86_64-linux-gnu/libcrypto.so (found suitable version "1.1.1f", minimum required is "1.0.1")
-- -- Library stdc++fs NOT FOUND -> linking utils without stdc++fs library
-- Library stdc++fs NOT FOUND -> linking core_retdec without stdc++fs library
-- Configuring done
-- Generating done

/retdec-r2plugin/src/r2plugin/console/decompiler.cpp: In static member function ‘static bool retdec::r2plugin::DecompilerConsole::decompileCurrent(const string&, const retdec::r2plugin::R2Database&)’:
/retdec-r2plugin/src/r2plugin/console/decompiler.cpp:91:2: error: ‘r_core_annotated_code_print’ was not declared in this scope; did you mean ‘r_annotated_code_free’?
   91 |  r_core_annotated_code_print(code, nullptr);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |  r_annotated_code_free
/retdec-r2plugin/src/r2plugin/console/decompiler.cpp: In static member function ‘static bool retdec::r2plugin::DecompilerConsole::decompileWithOffsetsCurrent(const string&, const retdec::r2plugin::R2Database&)’:
/retdec-r2plugin/src/r2plugin/console/decompiler.cpp:104:2: error: ‘r_core_annotated_code_print’ was not declared in this scope; did you mean ‘r_annotated_code_free’?
  104 |  r_core_annotated_code_print(code, offsets);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
      |  r_annotated_code_free
/retdec-r2plugin/src/r2plugin/console/decompiler.cpp: In static member function ‘static bool retdec::r2plugin::DecompilerConsole::decompileJsonCurrent(const string&, const retdec::r2plugin::R2Database&)’:
/retdec-r2plugin/src/r2plugin/console/decompiler.cpp:119:2: error: ‘r_core_annotated_code_print_json’ was not declared in this scope
  119 |  r_core_annotated_code_print_json(code);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/retdec-r2plugin/src/r2plugin/console/decompiler.cpp: In static member function ‘static bool retdec::r2plugin::DecompilerConsole::decompileCommentCurrent(const string&, const retdec::r2plugin::R2Database&)’:
/retdec-r2plugin/src/r2plugin/console/decompiler.cpp:131:2: error: ‘r_core_annotated_code_print_comment_cmds’ was not declared in this scope
  131 |  r_core_annotated_code_print_comment_cmds(code);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [src/r2plugin/CMakeFiles/core_retdec.dir/build.make:141: src/r2plugin/CMakeFiles/core_retdec.dir/console/decompiler.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:2429: src/r2plugin/CMakeFiles/core_retdec.dir/all] Error 2
make: *** [Makefile:130: all] Error 2

i just merged the pr i did 2 years ago fixing this.


Image Renderer: Copy region not working

To reproduce:

Run Vapor with KatrinaMaster.nc
Create a Contour renderer and Image renderer.  Enable both.
In the Contour renderer's geometry tab, reduce its geometry on the X and Y axes
In the Image renderer's geometry tab, copy the region from the Contour renderer.  It' does not seem to copy.

Seems to be nondeterministic and is now working for me.  I'll update if I can pinpoint the cause.


Parsing quirk when using subcommand

I might be me, but I conldn't solve this one by myself...
Using Slap 1.2.0 On Ubuntu 12.04.
Given the following test.sh script:
#!/bin/bash

# shellcheck disable=SC2154

eval "$(slap parse bash _ -- "$@" <<-EOF
name: test

args:
    - path:
        help: "Where to search"
        long: path
        short: p
        default_value: "."

subcommands:
  - add_field:
      about: Add a new field below a given one
      args:
          - below:
              help: "The name of the field below which the new field is to be inserted."
              long: below
              takes_value: true
              required: true
              allow_hyphen_values: false
          - name:
              help: "The name of the new field"
              index: 1
              allow_hyphen_values: false
EOF
)"; [[ -z "${_success}" ]] && exit 1

if [ "${_subcommand}" == "add_field" ]; then
    printf "TEST: _add_field_below_vals=%s\n" "${_add_field_below_vals}"
    printf "TEST: _add_field_name_vals=%s\n" "${_add_field_name_vals}"
fi

Invoking it via ./test.sh -p path add_field "newfield" --below="oldfield" gives
TEST: _add_field_below_vals=oldfield
TEST: _add_field_name_vals=(newfield)_path_occurs=1

instead of the expected
TEST: _add_field_below_vals=oldfield
TEST: _add_field_name_vals=newfield

Thank you very much, fixed

Great, thanks !


Allow world owners to properly configure chat cooldown

Closed as duplicate
https://github.com/system2k/NodeWorldOfText/issues/127


Feat/insufficient gas

Check for gas when sending ERC20 tokens
depends on #1002
Type
Feat
Context
LL-1621
Parts of the app affected / Test plan
Send Flow

the text seems WWAAAAYYYY too long for me.
@gre @dekkaki @khalilbenihoud

That looks disgustingly long  👀

I think the point is more to start a discussion anyway, we're not sure what is the best solution yet but it's important we at least want to block at this point because you shouldn't be able to go farther than this if you can't spend the transaction right?
we should have an internal discussion what what would be a better UX if we want something better :)

=> probably need to move the error on the summary so we can change the gas afterwards and also handle case where you would augment the gas.

the issue seems fixed now closing this


Write install documentation

People don't know that there's a GUI for Exercism, since it's not documented on the site.
It would be useful to have a /gui page, that describes how to install it. We could then link to it in the places where we also link to the CLI documentation ('/cli').
See also:

https://github.com/exercism/exercism.io/issues/3077
https://github.com/exercism/exercism.io/issues/3442

@kytrinyx thank you for opening this issue!.
I'm preparing a PR for the exercism site to mention the GUI, but it has been going much slower than expected. I'll probably make some progress during the upcoming weekend.

@kytrinyx - I am confused on the part on what do I have to do? I mean what needs to be done with the Exercism Windows Installer?

The Windows Installer is for the CLI right?
Currently, if someone comes to the website, how do they know that there is a GUI? If they want to install the GUI, how would they do that? Imagine that they aren't particularly familiar with GitHub, and they have never used Exercism. What steps would they need to take?

@kytrinyx - Yes, the Windows Installer is for the CLI. Should I create the documentation for the Windows Installer of CLI which could be added to the Exercism.io so people know that there is a Windows Installer for CLI as well.
Regarding the GUI, I will see what I can come up with :)

Yes, the Windows Installer is for the CLI.

OK! That helps. I've opened an issue https://github.com/exercism/exercism.io/issues/3466 about the windows installer.
This issue should be about the GUI.


Unable to click/select the portal under a unique marker

If there is a unique marker on portal, that portal cant be selected.

It seems that this already worked on the CE version, but not on the iitc.me version.


GetAPNSToken returns null on some IOS devices

GetAPNSToken working well while I'm testing on several devices. But on some users it returns null token.

Use the FCM token instead, it works the same.

@AydinKaya80 did you consider, after opening the app, waiting a minute before executing GetAPNSToken()? It might be that the app has not yet retrieved a APNS token.
@AydinKaya80 Would you share a table like:

iOS version
Received APNS token
Received FCM token

X.X.X
Yes
Yes

X.X.X
No
Yes

X.X.X
No
NO

...
...
...

Have the same issue. iOS 12.4.6 iPhone 6 Plus (ASPN Token = NO, FCM Token = Yes)

@AydinKaya80 did you consider, after opening the app, waiting a minute before executing GetAPNSToken()? It might be that the app has not yet retrieved a APNS token.
@AydinKaya80 Would you share a table like:
iOS version	Received APNS token	Received FCM token
X.X.X	Yes	Yes
X.X.X	No	Yes
X.X.X	No	NO
...	...	...

Ok, I will try to wait longer and let you know what will happen. Because when I am testing on my testin ios devices and emulator there is no problem. I need to go live to test it. Thanks for advance.

Also @AbdullaevTimur  and @AbdullaevTimur,
If you grab the native log, you should see "Device APNS Token: [token]" (as expected on line https://github.com/andrehtissot/cordova-plugin-fcm-with-dependecy-updated/blob/master/src/ios/AppDelegate%2BFCMPlugin.m#L85)
If you do see it in the native log, than it's a JS bug or calling the getter before the value is defined.
If you don't see it in the native log, it might be:

a plugin error;
incompatible certification error;
running on a simulator, instead of a real device;
application not configure to allow remote-notification on background (should be automatic on install);
a network (very unlikely, but possible);

Issue closed due to inactivity.


Increase req version of scipy

My system:
Machine: Intel Macbook pro
OS: Big Sur
Python 3.9.4
Installing the required version of scipy, which is 1.4.1 throws the following error:
numpy.distutils.system_info.NotFoundError: No lapack/blas resources found. Note: Accelerate is no longer supported.
Other people are having similar issues
My proposed fix is to change the required version of scipy to scipy~=1.6.0.
I ran MAIN.ipynb after making this change without issues.
Thanks

Thanks!


The Quiet Collection [PCSE00775]

Game summary

Game name: The Quiet Collection
Game serial: PCSE00775
Game version: 01.00

Vita3K summary

Version: v0.1
Build number: 1316
Commit hash: https://github.com/vita3k/vita3k/commit/d5378b8

Test environment summary

Tested by: IllusionMan1212
OS: Windows 10 Pro
CPU: AMD Ryzen 5 1600
GPU: NVIDIA GTX 1050Ti
RAM: 8 GB

Issues
Same issue as all unity games
Screenshots
None at the moment
Log
vita3k.log

Vita3K summary

Version: v0.1.5
Build number: 2627
Commit hash: https://github.com/vita3k/vita3k/commit/a31fd85c
CPU backend: Dynamic

Test environment summary

Tested by: othmanead
OS: Windows 11
CPU: Intel i5-10300H
GPU: RTX 3060 mobile
RAM: 16 GB

Issue:

very unresponsive
stops working sometimes in menus
only got one mode to go ingame

Screenshots:

Log
vita3k.log
Recommended labels

Ingame-

as of https://github.com/Vita3K/Vita3K/commit/39bfd7642434e639763a596f1ec97906650c2447, all 4 modes are working (4th mode took a while to load). low 10s to 30s on the modes.
Screenshots

Logs
vita3k.log
Recommended Labels

Ingame +

Recommended Labels
playable


TooltipTweaks

Mod name
TooltipTweaks
CurseForge link
No response
Other links
https://modrinth.com/mod/tooltiptweaks
What it does
Shows bee info, shulker box contents etc
Why should it be in the modpack
Vanilla lacks bee info tooltip and shulker box contents are not displayed like bundles
Why shouldn't it be in the modpack
More features/options than needed, not in CF
Categories
New feature
Additional details
#66 #317 #2

https://github.com/bunten2005/tooltiptweaks-mod/issues/1

CurseForge upload added
https://github.com/bunten2005/tooltiptweaks-mod/issues/1#issuecomment-1137809111

this seems like a really cool mod, yet still has a vanilla feel. nice!

https://github.com/Fabulously-Optimized/fabulously-optimized/issues/2 and https://github.com/Fabulously-Optimized/fabulously-optimized/issues/317 were rejected, so this makes sense to close as well. Besides - abandonware :stuck_out_tongue:


Help Page - connect to help page according to work type

Need to navigate to help page according to work type

As a User
I want to be able to get and easy access to contextual help pages
so that I can get help if needed with the system
Acceptance Criteria
Scenario 1:
GIVEN I am on the workplan tab in
WHEN I click on the help button and click on support center
THEN I should be navigated to the help page that corresponds to the work type

@jadmsaadaot redirected to some other page that doesn't work

@maria-kuzmenko this is fixed


StatefulSets should be used for deployed server on OpenShift

This should be at least the case for HA application. Investigation should be made to see if it can become the default. We should follow WildFly Helm Charts default there.

We are using satefulSet for HA application in this PR: https://github.com/wildfly/wildfly-glow/pull/70


[Google Map Support] Prep work for #1527

Some prep work that I identified when doing a little prototype for #1527. This work can and should be mergeable/releasable at any given point, and should make implementing #1527 easier:

[ ] Review test suite and make sure map views and layer views are well tested.
[ ] Remove div_hack.
[ ] Vis is only reloaded when a CartoDB or Torque layer is added/removed.
[ ] Simplify this logic that sets layerView.isBase, which is then being used here and here.
[ ] LeafletCartoDBLayerGroupView and GMapsCartoDBLayerGroupView fetch tiles automatically (when initialised) if model has tile URLs.
[ ] Make sure native maps are correctly destroyed when map views are "cleaned".

cc: @rochoa @jorgesancha

Are you suggesting we break them up in different issues and prioritise independently? I'm all for that 👍  but I defer to @rochoa of course.

Are you suggesting we break them up in different issues and prioritise independently?
No, I think that'd add a lot of noise to the board, so I think I will "ship" this in one PR.


Don't want new activitiy

Greetings,
I don't want the pdf to be opened in a new activity. It will save in the background in my current activity and I want to upload it to the server later.
How can I trigger your class in current activity?

You can use html-to-pdf option. It is not as versatile as PdfCreatorActivity.
To use PdfCreatorActivity, you have to render it on screen.


feat(tracing): use @opentelemetry/exporter-collector

Pull Request Test Coverage Report for Build 1536

0 of 3 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-2.3%) to 75.735%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

client/src/shared/utils/initTracer.ts
0
3
0.0%

Totals

Change from base Build 1535:
-2.3%

Covered Lines:
93

Relevant Lines:
114

💛  - Coveralls


[PHPDoc] fix the return type

I found the return type is wrong during static analysis. Could you please merge it?

thanks


Feature/initial velocity directives

Initial PR with velocity directives.

good work, i'll do a first release now to get it on bower

cheers :smile:


affected/package: embed.FS

What version of Go are you using (go version)?

$ go version
go version go1.18.4 darwin/amd64

Does this issue reproduce with the latest release?
Don't know
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/nyap/Library/Caches/go-build"
GOENV="/Users/nyap/Library/Application Support/go/env"
GOEXE=""
GOEXPERIMENT=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/nyap/go/pkg/mod"
GONOPROXY=""
GONOSUMDB=""
GOOS="darwin"
GOPATH="/Users/nyap/go"
GOPRIVATE=""
GOPROXY="https://artifactory.ti-apps.aws.grail.com/artifactory/api/go/go,https://proxy.golang.org"
GOROOT="/Users/nyap/.gimme/versions/go1.18.4.darwin.amd64"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/nyap/.gimme/versions/go1.18.4.darwin.amd64/pkg/tool/darwin_amd64"
GOVCS=""
GOVERSION="go1.18.4"
GCCGO="gccgo"
GOAMD64="v1"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/dev/null"
GOWORK=""
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -arch x86_64 -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/mn/1htbtmgn4r724vrmwkp6xxg00000gp/T/go-build1820793196=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
Use embed.FS where some files in the file system are executable:
var (
	//go:embed mustache
	mustacheTemplateFS embed.FS
)

Create an embedded file system with executable files. Stat the executable file in the embedded file system. Observe that the file's mode has all execute bits off.
What did you expect to see?
The file's mode to have the execute bit(s) on.
What did you see instead?
The file's mode to have the execute bits off.

Go source files that import "embed" can use the //go:embed directive to initialize a variable of type string, []byte, or FS with the contents of files read from the package directory or subdirectories at compile time.

embed is for file contents, not replicating an entire filesystem.
Closing as working as intended.


Fix #297 add support for relative node.exe paths

Additionally...

Consolidated Node exe path resolution to reduce code duplication and fix other issues due to path resolution inconsistencies
added node.exe path resolution unit tests

Without whitespace: https://github.com/Microsoft/nodejstools/pull/325/files?w=1


Link to dataset is broken

Hi
I found that the link to dataset you provide in the article and in this repo is broken. https://wywu.github.io/projects/MEAD/MEAD.html
Could you provide a new one?

Sorry, I will inform the related staff to check the issue.

@uniBruce  could you provide the google drive link of mead dataset ？

Hi,
I am not related with the project however I have saved the Google Drive link for the dataset. It is:

@filby89 btw how did you download the folder into the local system (i.e not clicking the download button in the UI), but from script.

顺便说一句，您是如何将文件夹下载到本地系统的（即不是单击UI中的下载按钮），而是从脚本中下载的。

有个python的库叫gdown


CRAN message regarding:  runtime error: left shift of negative value

I received the following message from CRAN:

Dear maintainer,
Please see the problems shown on
https://cran.r-project.org/web/checks/check_results_GGIRread.html.
Please correct before 2022-08-30 to safely retain your package on CRAN.
The CRAN Team

Following the link shows:
AxivityNumUnpack.cpp:35:11: runtime error: left shift of negative value -23
AxivityNumUnpack.cpp:36:11: runtime error: left shift of negative value -24
AxivityNumUnpack.cpp:34:11: runtime error: left shift of negative value -10

I searched and found this post:
https://leetcode.com/problems/sum-of-two-integers/discuss/302977/C++:-the-evil-runtime-error:-left-shift-of-negative-value-reason-and-how-to-solve
which gives the impression to me that:
x = x << shift;
y = y << shift;
z = z << shift;

needs to be replaced by
int x = (unsigned int)x << shift;
int y = (unsigned int)y << shift;
int z = (unsigned int)z << shift;

But not sure if that solves it because these are signed integers
I will test this later today.
Another option might be to wrap the examples (not the unit-tests) by \donttest{} as the error seems to be triggered only for the tests.

Looks like this passed CRAN checks, so closing now.


Random Quote Machine template passing 12/12 test with barely any code

Affected page
https://www.freecodecamp.org/learn/front-end-development-libraries/front-end-development-libraries-projects/build-a-random-quote-machine
Build a Random Quote Machine
You can build your project by using this CodePen template and clicking Save to create your own pen
https://codepen.io/pen?template=MJjpwO

Your code

Expected behavior

I'm using the template provided and I’m getting 12/12 test passed so it’s difficult to keep track of my progress if it doesn’t display the passed tests properly.

Screenshots

System

Device: Laptop
OS: Windows 10
Browser: Firefox
Version: 96.0.3 (64-bit)

Additional context

Hello there,
Thank you, for taking the time to open this.
This issues should be closed by: https://github.com/freeCodeCamp/testable-projects-fcc/pull/1344


Upgrade to Node 18

Closes https://github.com/kamilkisiela/graphql-hive/issues/442
TODO

[x] Upgrade Docker images
[x] Upgrade integration ntests default setup
[x] Upgrade fnm/nvm defaults
[x] Update CI to use node18
[x] Update esbuild/tsup build flows to use node18
[x] Fix unit tests issues with fetch
[ ] Fix e2e cypress failure

Testing

[x] Staging

test


OpenCV image size error

I am trying to use the GUI version of cellpose, but it seems like there is an error with handling the input files. My files are quite large .tiff images, so I have tried a downsampled version and also exported it as .jpg which reduces the size, but neither seems to work. Here is the error:
ERROR: could not read file, OpenCV(4.4.0) /private/var/folders/nz/vv4_9tw56nv9k3tkvyszvwg80000gn/T/pip-req-build-v0h6zy15/opencv/modules/imgcodecs/src/loadsave.cpp:77: error: (-215:Assertion failed) pixels <= CV_IO_MAX_IMAGE_PIXELS in function 'validateInputImageSize'
Could you please help me resolve this? Thanks!

Don't know if it's the right fix, but a workaround could be setting the environment variable manually with a really high number before launching cellpose, like
export CV_IO_MAX_IMAGE_PIXELS=1099511627776
python -m cellpose

Can you open any other image using the Cellpose GUI?
I may be worng but if your image is super large (>30M pixles) that would trigger your issue. The environment var CV_IO_MAX_IMAGE_PIXELS should be set to a value higher than the number of pixels in your image but not larger than the max integer your OS supports.
If you're on a 32bit system you'll get an error going above ~2147483646 and on a 64bit system the limit should be something like ~9223372036854775806. Exceeding those limits will overflow the var when it's read by OpenCV and get you something that won't work. Additionally, your OS needs to be able to supoprt allocating that much memory to a process.
For further troubleshooting, try triggering the error from OpenCV without using cellpose:
import cv2
cv2.imread(path_to_your_image)

Do you get the same error?

thanks for the help here @prete, going to close this issue for now, but let us know if you're still having issues


can any one give me the link for elasticsearch implemenation in projects already done in yii2

no, please stop trolling us.


🐞 Build error "initializeFirestore()"

Can cause this error due to caching feature from commit 8ed6f37cd66f6e750a0e2b6e196bf8a41361b649 "use firestore offline cache".
[error] FirebaseError: initializeFirestore() has already been called with different options. To avoid this error, call initializeFirestore() with the same options as when it was originally called, or call getFirestore() to return the already initialized instance.

https://stackoverflow.com/questions/76360555/angular-16-enableindexeddbpersistence

Das Problem ist der localStorage, der nur in der SPA verfügbar ist. Damit macht auch der localCache Probleme.

Won't fix!
Converted to pure SPA, see commit.
PWA should be a SPA with enabled caching for possible offline usage.


Full image for re-flashing router?

I was attempting to upgrade the firmware with a newer kernel so I could install OpenVPN (kmod_tun for the Archer C7 V2 requires a newer kernel than what's provided) and I've basically borked it... the thing is now stuck in a reboot loop every time I turn it on.
I've ben reading about reinstalling a full openwrt image by holding down the reset/wps button while turning the router on which then tries to poll a tftp server for the image, but the dropbox links in your scripts only seem to refer to the sysupgrade image and I think I need the full image. I'm planning to set up a tftp server when I have access to my windows machine tomorrow and am hoping you have the full image also in your drop box somewhere that I can grab it from... I've got the TP-Link Archer C7 v2 model, and I have the "openwrt-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin" file... what I think I need would likely be named something like "openwrt-ath79-generic-tplink_archer-c7-v2-squashfs-factory.bin" or similar.
Can this image be made available somewhere? Or is it, and I've just missed it?
If not, would using the stock 19.07.3 factory image and then upgrading with "openwrt-ath79-generic-tplink_archer-c7-v2-squashfs-sysupgrade.bin" work?
Thanks for any help or advice you can provide.

This is the Maxwell factory image needed for fresh install on archer c7 v2 (via tftp or from the stock firmware)...
https://www.dropbox.com/s/h7l87bhgryqatf4/openwrt-ath79-generic-tplink_archer-c7-v2-squashfs-factory-us.bin?dl=0

Thanks, that worked perfectly!

Since this request is similar, figured I'd keep it in the same post...
This time, my archer c7-v2 was damaged by power issues (the one device not on a ups wouldn't you know!). I have a TPLink Archer C7-V5 from a previous network I used to manage and figured I'd use it as a replacement since I see that its listed as being supported; however I need the initial factory image for a fresh install. Could you post that to dropbox as well?
Again, this time it's the Archer C7 V5 squashfs-factory image I need. Thanks!

https://www.dropbox.com/s/aisdwzw6nhlyxnd/openwrt-ath79-generic-tplink_archer-c7-v5-squashfs-factory.bin?dl=0


Forceroll can jump, spikes with shield and zero rings still death/hurt (shield/no rings) sound, Amy Rose isn't same sound, etc.

https://youtu.be/RvjUbD4YJ9E

It's much easier if you were to explain a lot of this in text rather than a long title and an unannotated, unembedded YouTube video.
I can, however, explain the sound with Amy's special moves. We currently don't have a way to get at the sounds from within Origins Plus, so we substituted with existing sounds we had access to. If you know a way to perfectly extract the new sounds for Amy, we'd love to have them so we can put them into Worlds Next!

Very confused by what you are pointing out here... spikes have always hurt you through shields.  I did notice that the swinging bar at the end of the video resulted in the player getting stuck. I'll look into that one before long... not sure what happened there.

I THINK the issue is a sound discrepancy? It's not playing the spike damage sound.

Closing due to inactivity on the part of the reporter.


Does utils.timeseries_HiTRes do the same thing as ModelScenario._calc_modelled_obs_HiTRes?

This code seems to be repeated in both openghg and openghg inversions. It might be worth comparing it to the ACRG code.

The function timeseries_HiTRes hasn't been modified since it was added to inversions, so presumably it is the same as the version in the ACRG repo.

...they are not exactly the same: the ACRG code is split over two functions: timeseries_HiTRes_setup and timeseries_HiTRes


Upgrade on freebsd from repo 1.4 to 1.6 left the database untouched

Gitea version (or commit ref): 1.6
Git version:
Operating system: freeBSD
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] MSSQL
[X] SQLite

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[X] Not relevant

Log gist:

Description
Upgrade using the repo from 1.4 to 1.6.
The "gitea admin change-password" command quit with an error.
It misses the columns:

user.must_change_password
user.language

Created the columns manually by using sqlite3 and the command ran successfully again.
Please check the migration process.
Screenshots

Closing. Please re-open if the above suggestion didn't work.


Resource Graph API Version for China Endpoint

Using Resource Graph, how can we fetch records for Azure China Endpoint ?
Looks like it is expecting specific API version of resource graph:
The resource type 'resources' could not be found in the namespace 'Microsoft.ResourceGraph'
for api version '2022-10-01'. The supported api-versions
are '2018-09-01-preview,2019-04-01,2021-03-01,2021-06-01-preview'

Error that I'm seeing
Err(
    Error {
        context: Full(
            Custom {
                kind: HttpResponse {
                    status: NotFound,
                    error_code: Some(
                        "InvalidResourceType",
                    ),
                },
                error: HttpError {
                    status: NotFound,
                    details: ErrorDetails {
                        code: Some(
                            "InvalidResourceType",
                        ),
                        message: Some(
                            "The resource type 'resources' could not be found in the namespace 'Microsoft.ResourceGraph' for api version '2022-10-01'. The supported api-versions are '2018-09-01-preview,2019-04-01,2021-03-01,2021-06-01-preview'.",
                        ),
                    },
                    headers: {
                        "expires": "-1",
                        "x-ms-correlation-request-id": "1ea7eb2e-4374-4ea7-b857-bd0dfa5e81ce",
                        "content-type": "application/json; charset=utf-8",
                        "content-length": "268",
                        "x-ms-failure-cause": "gateway",
                        "x-content-type-options": "nosniff",
                        "x-ms-request-id": "1ea7eb2e-4374-4ea7-b857-bd0dfa5e81ce",
                        "x-ms-routing-request-id": "CHINANORTH3:20230609T205622Z:1ea7eb2e-4374-4ea7-b857-bd0dfa5e81ce",
                        "strict-transport-security": "max-age=31536000; includeSubDomains",
                        "x-ms-ratelimit-remaining-tenant-reads": "14999",
                        "pragma": "no-cache",
                        "date": "Fri, 09 Jun 2023 20:56:21 GMT",
                        "cache-control": "no-cache",
                    },
                    body: b"{\"error\":{\"code\":\"InvalidResourceType\",\"message\":\"The resource type 'resources' could not be found in the namespace 'Microsoft.ResourceGraph' for api version '2022-10-01'. The supported api-versions are '2018-09-01-preview,2019-04-01,2021-03-01,2021-06-01-preview'.\"}}",
                },
            },
            "server returned error status which will not be retried: 404",
        ),
    },
)

Code sample that I'm using >

`// Using Azure Resource Graph, fetch Virtual Machine Records
use azure_identity::{ClientSecretCredential, TokenCredentialOptions};
use std::{env, sync::Arc};
use std::any::Any;
use std::borrow::Cow;
use std::future::IntoFuture;
use std::str::FromStr;
use azure_core::{AppendToUrlQuery, ClientOptions, ExponentialRetryOptions, new_http_client, RetryOptions};
use azure_core::auth::TokenCredential;
use azure_core::headers::content_type_from_headers;
use azure_core::query_param::API_VERSION;
use azure_core::resource_manager_endpoint::AZURE_CHINA_CLOUD;
use azure_identity::authority_hosts::{AZURE_CHINA, AZURE_PUBLIC_CLOUD};
use azure_mgmt_resourcegraph::models::{QueryRequest, QueryRequestOptions, ResourceChangesRequestParameters};
use azure_mgmt_resourcegraph::Client as AzureResourceGraphClient;
use azure_core::Url;
#[tokio::main]
async fn main() -> Result<(), Box> {
let my_options = TokenCredentialOptions::new(AZURE_CHINA.parse().unwrap());

let client_id = "<CLIENT_ID_FOR_CHINA>";
let client_secret = "<CLIENT_SECRET_FOR_CHINA>";
let tenant_id = "<CHINA_TENANT_ID>";

let client_sec_creds = ClientSecretCredential::new(
    azure_core::new_http_client(),
    my_http_client,
    tenant_id.parse().unwrap(),
    client_id.parse().unwrap(),
    client_secret.parse().unwrap(),
    my_options,
);

let mut creds = Arc::new(client_sec_creds);

let exponential_retry = ExponentialRetryOptions {
    initial_delay: Default::default(),
    max_retries: 100,
    max_total_elapsed: Default::default(),
    max_delay: Default::default(),
};

let retry_options = RetryOptions::exponential(exponential_retry);

let my_az_rg_client = AzureResourceGraphClient::builder(creds).endpoint(azure_core::resource_manager_endpoint::AZURE_CHINA_CLOUD).retry(retry_options).build();

// Fetch only the first 10 records

let my_top = 10;
let my_skip = 0;

let my_query = "Resources | where type =~ 'microsoft.compute/virtualmachines'".to_string();

let query_options = QueryRequestOptions {
    skip_token: None,
    top: Option::from(my_top),
    skip: Option::from(my_skip),
    result_format: None,
    allow_partial_scopes: None,
    authorization_scope_filter: None,
};

let custom_query_request = QueryRequest {
    subscriptions: vec![],
    management_groups: vec![],
    query: my_query,
    options: Option::from(query_options),
    facets: vec![],
};

let query_request = QueryRequest::from(custom_query_request);

let resources = my_az_rg_client.resources(query_request).await;

println!("{:#?}", resources);

Ok(())

}`

https://gist.github.com/giridharmb/06025f097c628e1672469a351b926f8e

If I replace:
    let client_id = "<CLIENT_ID_FOR_CHINA>";
    let client_secret = "<CLIENT_SECRET_FOR_CHINA>";
    let tenant_id = "<CHINA_TENANT_ID>";

With Credentials for US Region
And also replace this:
azure_core::resource_manager_endpoint::AZURE_CHINA_CLOUD

With
azure_core::resource_manager_endpoint::AZURE_PUBLIC_CLOUD

Then the code executes without any errors and I'm able to fetch records (in this case, Virtual Machines) using Resource Graph.

By the way, the required permissions (Microsoft Graph API)
have already been granted to <CLIENT_ID_FOR_CHINA>

Is there a way to over-ride Graph API Version while making Resource Graph requests ?

It is unfortunate that the latest stable API version is not supported. 😞

The supported api-versions are '2018-09-01-preview,2019-04-01,2021-03-01,2021-06-01-preview'."

Here are the versions that are published with this crate:
https://github.com/Azure/azure-sdk-for-rust/blob/5014404dff3cd77faf37a7077ec67bb6a2cf1f4c/services/mgmt/resourcegraph/Cargo.toml#L34-L43
I recommend trying package-preview-2021-06 as documented in tags.md. So it would be:
azure_mgmt_resourcegraph = { version = "0.12.0", default-features = false, features = ["package-preview-2021-06", "enable_reqwest"] }


Typescript Support

Are there any plans to include support for typescript with this package?

Didn't have any in mind but I'd probably consider a PR.


Add local registry publishing for isolated testing of npx scripts

relates to https://github.com/breadboard-ai/breadboard/issues/633

nearly 200 commits later...

@dglazkov I think this is good to merge now. I can squash the issues discovered by it in a new branch

Could you explain the high level goals here? Sorry if I missed some Discord conversations. My first reaction is: this seems like a lot of code, and I'm not quite sure what problem it's solving.

@aomarks sorry the information is somewhat dispersed as it's crossed over a few different issues and PRs. From several cases, I found out that the create and cli packages aren't working in isolation.
The pipeline now allows testing of various npx exec usages in completely clean environments.
A lot of the code is to do the chopping and changing is for the aliasing of the packages so the GitHub registry accepts them and they don't resolve to the "real" dependencies.
I've managed to track down a few of the issues such as https://github.com/breadboard-ai/breadboard/pull/665/
The remaining issues I think are related to bundling.
reference:
https://github.com/ExaDev-io/breadboard/actions/runs/7769652556/job/21188959255
https://github.com/breadboard-ai/breadboard/issues/633

this was a related discovery of this pipeline https://github.com/breadboard-ai/breadboard/issues/674

Yes. I should have at least left these in draft until I'd collected my thoughts and actually described things in full.
I shall go and actually add descriptions

Spent some time checking it out. Some more comments:

The huge list of files for the commands is kinda distracting, personally I would just have a main.ts and then commands.ts with all of the commands exported.
I worry about the publish step (even if it is to github). I was wondering if instead of publish we npm pack the packages we need to test when breadboard is getting built and store the assets, then in the test step we don't run actions/checkout but instead just download the assets and install them npm i <tar file> them in the fresh node environment.

Thank you for taking the time to look through.
I like the sound of that idea @PaulKinlan. It would be much more simple. I shall mark this PR as draft for the time being and have an experiment.


NonNullable not properly casting generic type when excluding nullish values

Bug Report
🔎 Search Terms
Generic types nonnullable
🕗 Version & Regression Information
This bug appears to exist ever since NonNullable was introduced (tested from 3.3.3 to 4.5.4)
⏯ Playground Link
Playground link with relevant code
💻 Code
function throwIfNullable<T>(
  value: T,
): NonNullable<T> {
  if (value !== undefined && value !== null) {
    return value;
  }

  throw Error('Nullable')
}

🙁 Actual behavior
The line return value raises a compilation error Type 'T' is not assignable to type 'NonNullable<T>'.
🙂 Expected behavior
No compilation error as the if clause properly guards against nullish values

Feels like #33912

An alternative construction that works would be:
function throwIfNullable<T>(value: T | null | undefined): asserts value is T
{
    if (value == null) throw Error("Nullable!");
}

declare let x: string | undefined;
throwIfNullable(x);  // x: string | undefined
x;  // x: string

See e.g. #22348


Pjax: custom object with form data

I want to post a form along with my custom object.
var myData = JSON.stringify(values);
console.log(myData);
$.pjax({
type: 'POST',
url: url,
container:'#' + pjax_id,
data: myData,
dataType: 'application/json'
});
custom data is not posted along with formdata.

concider using the pjax.submit method and adding your data to a field in the forum
 $(document).on('submit', 'form[data-pjax]', (event) => {
        $(selector).hide();
        $.pjax.submit(event, selector)
    });

@RichardTMiles Thank you


tokenize tagPattern to actually work

Both git tag and git ls-remote --tags take multiple arguments, but the Java implementation naively invokes as a single. This of course results in empty results in things like parameter-driven drop-downs. Amazingly nobody appears to have opened a defect against this trivially wrong implementation though problems with SVN tag lists go back a few years.
eg. specifying 2022\.* qa uat in the dialog box should result in multiple entries if exist. Not a blank screen.

Checklist

[x] I have read the CONTRIBUTING doc
[ ] I have referenced the Jira issue related to my changes in one or more commit messages
[ ] I have added tests that verify my changes
[x] Unit tests pass locally with my changes
[ ] I have added documentation as necessary
[ ] No Javadoc warnings were introduced with my changes
[ ] No spotbugs warnings were introduced with my changes
[ ] I have interactively tested my changes

Types of changes

[ ] Infrastructure change (non-breaking change which updates dependencies or improves infrastructure)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Further comments

Thanks for the pull request.  It may be a while before I can review it in depth to understand the impact of the proposed change.

Please remove the second commit from the pull request.  The contributing guide notes that the white space in the plugin is used inconsistently and accepts that is the state of affairs because of a large backlog of pull requests.  It says:

Please don’t reformat a file without discussing with the current maintainers. There are many closed pull requests with label 'Later' that may develop conflicts due to whitespace changes.


Update to securitylake paginator and service model

Codecov Report
Patch and project coverage have no change.

Comparison is base (34bdcf6) 93.29% compared to head (1d3ba79) 93.29%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2961   +/-   ##
========================================
  Coverage    93.29%   93.29%
========================================
  Files           64       64
  Lines        13592    13592
========================================
  Hits         12680    12680
  Misses         912      912

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


data files link

still valid? Look at abrensch/brouter#49

Thanks. Updated with f49178d7aeb7da8111e63691f28384d339e1b51d, still needs to be deployed.


Hive 3.x backport  readonly and ratelimit feature

:pencil: Description
Make sure that the 3.x branch and the main branch are not too far apart.
:link: Related Issues
https://github.com/ExpediaGroup/waggle-dance/discussions/319

@jmnunezizu @patduin pls take a look at it.  The audit log, HMSHandler.getThreadLocalIpAddress was removed because of this method in hive 3.x is not public.  It's not worth writing reflections for it alone.

This failed test case should have nothing to do with submission:Error:  Failed to execute goal org.sonatype.plugins:nexus-staging-maven-plugin:1.6.8:deploy (injected-nexus-deploy) on project waggle-dance-rpm: Failed to deploy artifacts: Could not transfer artifact com.hotels:waggle-dance-boot:jar:exec:4.0.0-20240626.031244-2 from/to sonatype-nexus-snapshots (https://oss.sonatype.org/content/repositories/snapshots): authentication failed for https://oss.sonatype.org/content/repositories/snapshots/com/hotels/waggle-dance-boot/4.0.0-SNAPSHOT/waggle-dance-boot-4.0.0-20240626.031244-2-exec.jar, status: 401 Unauthorized -> [Help 1]

@jmnunezizu Could you pls review this and merge it.

@flaming-archer – thanks for porting the new features to the Hive 3.x branch!


@zephraph: Clarify that release PRs appreciate titles

Lately many of our release PRs are just called the default Staging, so let's encourage more deliberate  choices.
(The other stuff is prettier.)

Cool, looks good!


Displaying systems with pretty tables in logger

It would be nice to display things nicely within logging statements.
Currently,
sys = System(100.0)
display(sys)  # shows the pretty tables output summarizing the system.
@info sys    # does not.

@daniel-thom it seems that to implement this we need to add some methods for the logger io

This issue will be resolve with the addition of a metadata file in PSY 2.0


Popcorn Time is missing runtime dependencies

Issue description
After the latest unstable channel update popcorntime doesn't run anymore: there are missing runtime dependencies. I tried adding every missing dynamic library (from the output of ldd) using patchelf but still the binary won't run. It produces the following output:
[10138:0430/193928:ERROR:browser_main_loop.cc(170)] Running without the SUID sandbox! See https://code.google.com/p/chromium/wiki/LinuxSUIDSandboxDevelopment for more information on developing with the sandbox on.
[18135:0430/211734:FATAL:udev_loader.cc(36)] Check failed: false.
[1]    18135 abort      ./result/bin/popcorntime
ATTENTION: default value of option force_s3tc_enable overridden by environment.
[18153:0430/211734:WARNING:file_descriptor_set_posix.cc(30)] FileDescriptorSet destroyed with unconsumed descriptors: 0/1

I tried linking libudev and also creating a symlink of the libudev.so but still persist.
@bobvanderlinden can you give me a hand here?

The FATAL error has occurred before: https://github.com/NixOS/nixpkgs/issues/8800#issuecomment-121357792
I can't reproduce that error here anymore and cannot rebuild popcorntime because the sources have moved. The package needs to upgrade to the community edition. I'll try to upgrade the package to 0.4.0-2 and nwjs 0.14.

I've got the old version to run with the changes from #15133.
The PR doesn't exactly fix a problem related to udev, but it does allow building/running popcorntime on nixpkgs/master. I'm not entirely sure that'll solve the problem for you, but it is running now here with the udev fix that was applied earlier.
0.4.0-2 also works (https://github.com/bobvanderlinden/nixpkgs/tree/popcorntime-0.4.0-2), but I'll wait with a PR until the nwjs changes are merged.

Thank you! It runs fine for me too with your changes.

#15154 is merged with popcorntime 0.4.0-2. Could you give nixpkgs/master a try too? That should be enough to close this issue.

It works just fine. It's a different fork though: I'm not sure what's the legit one anymore: they accuse each other of being a scam.

Ugh, I thought one of them was basically dead as the site was down at the time. I guess it isn't. Not sure which one to pick anymore. Suggestions? Should they both be packaged? :-/ (PopcornTime Official, PopcornTime CE, maybe Butter too)

I have found some information here but I honestly don't know: popcorntime.sh development is more or less active but there hasn't been a release in while.
On the other hand popcorntime.ag is lying: they (whoever they are) say the windows installer of the original version contains a malware and provide this scan as a proof. I checked myself with the same service they used and have found nothing and nothing. The hash in the analysis they present doesn't match so I can only think they submitted another file.
 Money laundering with an open source project is, by itself, ridiculous even more they only provide this bitcoin address 1Neb2kGPSgay4ETGcqFdXA7xjV8eqgjMJZ that has received a mere 0.00025 BTC.
They are probably just marketing their own fork but I don't really like this kind of behavior. That said,
popcorntime.ag application seem to use a different api and it didn't import the database of the original application (maybe it's just using a different path) so I'd rather a fork with retro-compatibility.

What are other package manager doing? Considering all the controversy and that we are packaging a binary (I mean we could expose users to possible malwares) I also think removing popcorntime from nixpkgs may be an option.

@rnhmjoj if that's even a remote possibility, it needs to be removed posthaste, IMO.

Yes, I agree. If no one else understanding all of this different forks situation it's better to leave it off nixpkgs.

Last I checked popcorntime.io was the only legit open source one. I think there was a threatened lawsuit so they closed the website and the git repos. So any of the other forks are pretty much just biding their time until they get popular enough to be threatened with another lawsuit. It might make sense to include "butter" because it supposedly takes all of the questionable parts of popcorntime out.

I've marked it as broken for now, next step is removal.

It isn't really broken though. It builds, it runs, etc. It's just a matter of choosing the right fork of PopcornTime. There are 3 of them, I recently switched to PopcornTime CE, as it seemed more up to date at the time. Both PopcornTime CE and PopcornTime Official now both seem questionable forks.
Butter indeed seems like the right way to go, but it doesn't have any stable releases yet.
Until Butter doesn't have a stable release, removing the PopcornTime package is probably the right thing to do, even though it'll be inconvenient and will probably confuse existing users.

Alright, #15245 was merged, which means Popcorntime was removed :cry::tada: Let me know when Butter gets a stable release and I'll happily attempt to create a package for it.
I'm guessing this issue can be closed.

Instead of removing it, perhaps replace the expression with a throw "Removed from nixpkgs. See https://github.com/NixOS/nixpkgs/issues/15120"?

@copumpkin Are there any other packages that already do something like this?

@bobvanderlinden #15357 might give us one

@copumpkin Thanks, that seems exactly what we needed.

It isn't really broken though. It builds, it runs, etc. It's just a matter of choosing the right fork of PopcornTime. There are 3 of them, I recently switched to PopcornTime CE, as it seemed more up to date at the time. Both PopcornTime CE and PopcornTime Official now both seem questionable forks.
Butter indeed seems like the right way to go, but it doesn't have any stable releases yet.
Until Butter doesn't have a stable release, removing the PopcornTime package is probably the right thing to do, even though it'll be inconvenient and will probably confuse existing users.

There is a new stable release from PopcornTime "Official" but don't know if it is working and legit https://github.com/popcorn-official/popcorn-desktop/releases/tag/v0.4.5


Video feature

Jiasi's video request

There's going to be an issue with how the videos are displaying I think so I can pull it and then repush when it's sorted.


Unnecessary display of time lapse when stopwatch not started

In stopwatch activity, unnecessary time-lapse is shown when mark button is clicked.

Okay. Not a serious issue but it seems that you're a fan of the Stopwatch activity :smiley:

Actually, I was observing this particular activity and raising issues, gonna raise issues in other activities soon.

Fixed in https://github.com/llaske/sugarizer/pull/639


Build(deps-dev): Bump webpack-dev-server from 4.7.4 to 4.8.0 (#3277)

Pull request opened by the merge tool on behalf of #3277

Merged in dab999838289bc0db0fda9062de5d8e66ccee8ed


fix: Dataclass field type not used correctly

Pull Request Checklist

[x] New code has 100% test coverage
[ ] (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
[ ] (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR
[x] Pre-Commit Checks were ran and passed
[x] Tests were ran and passed

Description

Get dataclass type information from field.type instead of using typing.get_type_hints

Close Issue(s)

Fixes https://github.com/litestar-org/polyfactory/issues/347

Any idea why this test would fail? I can't recreate the failure locally...
Maybe we got unlucky and added the same key to the dictionary twice?

Any idea why this test would fail? I can't recreate the failure locally...
Maybe we got unlucky and added the same key to the dictionary twice?

Ohhh this could very well be it. There's an issue #362, that's open regarding this. This has been happening for a while and for some reason I never realized that it could just be adding the same key twice.

@anthonyjgraff could you rebase from main? I've skipped that test for now.

I just have that one doubt. Everything else looks great!

@all-contributors add @anthonyjgraff for code

@anthonyjgraff could you rebase from main. I think you might have to undo almost all of what I mentioned regarding the setting of sqlalchemy dependency in pyproject.toml now that #369 is completed. Sorry about that.