ReportServerWeb - Broken with ConfigurationID method

Apologies if this should be on UserVoice instead of here. I'm happy to move it if need be.
The ReportServerWeb works perfectly fine when using RegistrationKeys but breaks when using Configuration IDs.
To prove this I created Sample_RegistrationKeys.ps1 which sets up a DSC Pull Server, configures a nodes LCM and then retrieves some report data.
I then cloned Sample_RegistrationKeys.ps1 to Sample_ConfigurationIDs.ps1 and simply commented out the registration key related stuff and added a configuration ID.
Sample_RegistrationKeys.ps1 (https://gist.github.com/Zuldan/c679bae20de0c2dcf1aa)
Sample_ConfigurationIDs.ps1 (https://gist.github.com/Zuldan/c0fd292838b8d35c6383)
In Sample_RegistrationKeys.ps1 I'm able to retrieve report data
In Sample_ConfigurationIDs.ps1 I cannot retrieve report data because the node cannot submit report data (see event log below)
I think the clue may sit here https://msdn.microsoft.com/en-us/powershell/dsc/pullserver

"The lack of the ConfigurationID property in the metaconfiguration file implicitly means that pull server is supporting the V2 version of the pull server protocol so an initial registration is required. Conversely, the presents of a ConfigurationID means that the V1 version of the pull server protocol is used and there is no registration processing."

I'm taking that as when a ConfigurationID is used, the reporting mode is v1 and the new Report Server only works with reporting mode v2? I could be totally wrong.
This error appears in the the DSC WinEvent log on the node when Sample_ConfigurationIDs.ps1 is used.
Log Name:      Microsoft-Windows-DSC/Operational
Source:        Microsoft-Windows-DSC
Date:          3/23/2016 4:32:51 PM
Event ID:      4260
Task Category: None
Level:         Error
Keywords:
User:          SYSTEM
Computer:      LABSERVER02
Description:
Job {AAFECED4-F0B8-11E5-80C7-005056B644A2} :
Http Client 1d545e3b-60c3-47a0-bf65-5afc05182fd1 failed for WebReportManager for configuration The attempt to send status report to the server https://LABSERVER01:8080/PSDSCPullServer.svc/Node(ConfigurationId='1d545e3b-60c3-47a0-bf65-5afc05182fd1')/SendStatusReport returned unexpected response code BadRequest..
Notice the "BadRequest" in the event. maybe this is because the reporting server is in report mode V1?

This is made worse by the fact you cannot use partial configurations with configuration names--the LCM doesn't pull configurations if you try to use partials with configuration name, you have to set ConfigurationID for partial configs to work.

@Zuldan
Looks like you are missing a step in ConfigurationId scenario that creates configuration document mof (guid.mof)  file and its checksum and place it on the pull server, in Configuration repository as documented in https://msdn.microsoft.com/en-us/powershell/dsc/pullserver

@NarineM I assume he's in the same boat as me. I have all the required MOF files and checksums, because configuration pulls fine. But it still can't send status report, same error as above.

@Narine, thank you so much for your response.
I purposely did not create a MOF file for the node. I simple wanted to configure the nodes LCM and then get a status report from the Report Server. The samples are to show that the Report Server does not function when the Pull Server is in ConfigurationID mode. As kamranayub has said, even if you create the MOF files and the node pulls the config, the node still cannot send a report status to the Report Server. 'BadRequest' is received from the Report Server. I'm now 95% sure this is a bug.
Http Client 1d545e3b-60c3-47a0-bf65-5afc05182fd1 failed for WebReportManager for configuration The attempt to send status report to the server https://LABSERVER01:8080/PSDSCPullServer.svc/Node(ConfigurationId='1d545e3b-60c3-47a0-bf65-5afc05182fd1')/SendStatusReport returned unexpected response code BadRequest
You should easily be able to replicate the issue in a test environment.

@NarineM, could you kindly confirm if this is a bug?

@Zuldan , @kamranayub
If the node is setup to use ConfigurationID , ConfigurationID.mof has to present on the pull/reporting server (in the DSCService\Configuration folder).  This ID is used by reporting server to authorize the client for send report operation. If a file with the name .mof does not present on the reporting server, the server would reject the client request to send a report. Since you do not have configurationId.mof in your environemnt you see "(ConfigurationId='1d545e3b-60c3-47a0-bf65-5afc05182fd1')/SendStatusReport returned unexpected response code BadRequest" error in the ETW event logs.

@Zuldan , @kamranayub
It is similar to registrationKey scenario where the node has to be setup with a registration key and that key is required to present on the reporting server (in DSCService\RegitrationKey.txt file) . This key is used by the reporting server to authorize the client for sending status report operations.

Hi Narine, thank you for your persistence with this. I feel a bit silly I can't get this working.
I updated the Sample https://gist.github.com/Zuldan/c0fd292838b8d35c6383 to include build a config for the Node Server (client) and place the mof file in C:\Program Files\WindowsPowerShell\DscService\Configuration, however the node is still unable to report to the Pull Server
Log Name:      Microsoft-Windows-DSC/Operational
Source:        Microsoft-Windows-DSC
Date:          4/5/2016 11:39:15 AM
Event ID:      4260
Task Category: None
Level:         Error
Keywords:
User:          SYSTEM
Computer:      LABSERVER01.lab.local
Description:
Job {2AD146A6-FACF-11E5-80CA-005056B6357A} :
Http Client 1d545e3b-60c3-47a0-bf65-5afc05182fd0 failed for WebReportManager for configuration The attempt to send status report to the server https://LABSERVER01:8080/PSDSCPullServer.svc/Node(ConfigurationId='1d545e3b-60c3-47a0-bf65-5afc05182fd0')/SendStatusReport returned unexpected response code BadRequest..
From LABSERVER01 (Pull Server)
PS C:\Users\labuser01\IisWebServer> Test-Path -Path 'C:\Program Files\WindowsPowerShell\DscService\Configuration\1d545e3b-60c3-47a0-bf65-5afc05182fd0.mof'
True
PS C:\Users\labuser01\IisWebServer> test-path -Path 'C:\Program Files\WindowsPowerShell\DscService\Configuration\1d545e3b-60c3-47a0-bf65-5afc05182fd0.mof.checksum'
True
Question 1: Is there anything else that is required for the reporting server to authorize the client for send report operation?
Question 2: You said "ConfigurationID.mof has to present on the pull/reporting". How would this work in a partial configuration setup where the filename is "MyConfigName.ConfigID.mof"? Which MOF file does it use to authorize the client?

Hi @Zuldan ,
Let us try the following steps to see what is wrong in your setup.
Make sure the 1d545e3b-60c3-47a0-bf65-5afc05182fd0.mof and its checksum present on the machine that is setup as a pull server under DSCService\Configuration folder.
Run iisreset on the machine that is setup as pull endpoint.
Since you are looking at ETW logs, can you delete all the existing ETW logs on the pull node ?
Then run Update-DSCConfiguration -Wait -Verbose on the node that is setup to pull 1d545e3b-60c3-47a0-bf65-5afc05182fd0 configuration document and tell what is the verbose you see in the console?

@NarineM, is there anything else you would like me to do?

Hi @Zuldan
What OS and WMF configuration you have on the pull server and the pull node?

@NarineM, for both I'm using Windows 2012 R2 Standard (Update) and WMF info is below...
Name                           Value

PSVersion                      5.0.10586.117
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.10586.117
CLRVersion                     4.0.30319.34014
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>�

@Zuldan
Was the pull server deployed on a machine with just WMF 5 RTM? Were there any older WMFs installed? After you installed WMF 5, did you re-install the pull server endpoint? Are you using xWebService resource for deploying an endpoint? Which version of xPSDesiredStateconfiguraiton module you have?

@NarineM, yes im using xWebService for deploying an endpoint. See https://gist.github.com/Zuldan/c0fd292838b8d35c6383
xPSDesiredStateConfiguration v<IP_ADDRESS>

Sorry, following the thread, but wanted to chime in and mention I am using
the exact same configuration as Zuldan as well. Fresh VMs, fresh installs,
latest versions of everything.
Narine, are you able to confirm this scenario works with partial configs?
Or are you attempting to reproduce this in a lab? Have you run the sample
code provided to reproduce? Appreciate the help!
On Tue, Apr 12, 2016, 06:52 Zuldan<EMAIL_ADDRESS>wrote:

@NarineM https://github.com/NarineM, yes im using xWebService for
deploying an endpoint. See
https://gist.github.com/Zuldan/c0fd292838b8d35c6383
xPSDesiredStateConfiguration v<IP_ADDRESS>
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/PowerShell/xPSDesiredStateConfiguration/issues/97#issuecomment-208863017

@kamranayub
After I fixed Sample_ConfigurationIDs.ps1  to deploy guid.mof and guid.mof.checksum in pull server configuration repository, I can not repro the issue. I see exact same error only when the guid.mof does not present in the pull server repository.

But does the pull client still pull the partial configuration appropriately
then? The documentation makes it seem like in WMF 5 partial MOFs MUST be
named Name.Guid.mof, not just Guid.mof.
On Tue, Apr 12, 2016, 14:17 NarineM<EMAIL_ADDRESS>wrote:

@kamranayub https://github.com/kamranayub
After I fixed Sample_ConfigurationIDs.ps1 to deploy guid.mof and
guid.mof.checksum in pull server configuration repository, I can not repro
the issue. I see exact same error only when the guid.mof does not present
in the pull server repository.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/PowerShell/xPSDesiredStateConfiguration/issues/97#issuecomment-209060903

@NarineM, Sample_ConfigurationIDs.ps1 (https://gist.github.com/Zuldan/c0fd292838b8d35c6383) already has code to deploy guid.mof and guid.mof.checksum (see below). Could you kindly post your version of Sample_ConfigurationIDs.ps1 so we can see what we're doing wrong?
#region Node Config
Configuration IisWebServer
{
Node $ConfigID
{
WindowsFeature IIS
{
Ensure="Present"
Name="Web-Server"
}
}
}
IisWebServer -OutputPath 'C:\Program Files\WindowsPowerShell\DscService\Configuration'
New-DSCChecksum -ConfigurationPath 'C:\Program Files\WindowsPowerShell\DscService\Configuration' -OutPath 'C:\Program Files\WindowsPowerShell\DscService\Configuration' -Verbose -Force
Update-DscConfiguration -ComputerName $NodeServer -wait -verbose
#endregion

Here is the part that needs to be changed:
$requestUri = "$serviceURL/Nodes(ConfigurationId= '$ConfigurationId')/Reports"
$request = Invoke-WebRequest -Uri $requestUri  -ContentType "application/json;odata=minimalmetadata;streaming=true;charset=utf-8"                 -UseBasicParsing -Headers @{Accept = "application/json";ProtocolVersion = "2.0"}
-ErrorAction SilentlyContinue -ErrorVariable ev
Needs to be changed to:
$requestUri = "$serviceURL/Node(ConfigurationId= '$ConfigurationId')/StatusReports"
$request = Invoke-WebRequest -Uri $requestUri  -ContentType "application/json;odata=minimalmetadata;streaming=true;charset=utf-8"              -UseBasicParsing -Headers @{Accept = "application/json";ProtocolVersion = "2.0"}
-ErrorAction SilentlyContinue -ErrorVariable ev

@NarineM, we are having a win! I can now report on the node thanks to your code change. I've updated the Sample https://gist.github.com/Zuldan/c0fd292838b8d35c6383
Question 1:How do I tell if the node is consistent/compliant?

JobId                : 574ab0d4-0163-11e6-80cb-005056b6357a
OperationType        : Consistency
ReportFormatVersion  : 2.0
ConfigurationVersion :
StartTime            : 04/13/2016 20:34:46
EndTime              : 12/30/1899 00:00:00
Errors               : {}
StatusData           : {{"IPV4Addresses":["<IP_ADDRESS>","<IP_ADDRESS>"],"CurrentChecksum":"67D79F2FFAAC8814DBD64F2A946D4FAFBBA58BC99F87117024E1F64543BC760A","MACAddresses":["00-50-56-E6-35-7B"
                       ,"00-00-00-00-00-00-00-E0"],"Type":"Consistency","HostName":"S12AUMDC01TST19","Locale":"en-US","StartDate":"2016-04-13T20:34:46.9590000+10:00","JobID":"{574AB0D4-0163-1
                       1E6-80CB-005056B6357A}","LCMVersion":"2.0","IPV6Addresses":["fe80::3caf:eb8e:790f:28e2%12","::2000:0:0:0","::1","::2000:0:0:0"]}}
IPV4Addresses   : {<IP_ADDRESS>, <IP_ADDRESS>}
CurrentChecksum : 67D79F2FFAAC8814DBD64F2A946D4FAFBBA58BC99F87117024E1F64543BC760A
MACAddresses    : {00-50-56-E6-35-7B, 00-00-00-00-00-00-00-E0}
Type            : Consistency
HostName        : LABSERVER02
Locale          : en-US
StartDate       : 2016-04-13T20:34:46.9590000+10:00
JobID           : {574AB0D4-0163-11E6-80CB-005056B6357A}
LCMVersion      : 2.0
IPV6Addresses   : {fe80::3caf:eb8e:790f:28e2%12, ::2000:0:0:0, ::1, ::2000:0:0:0}

Question 2: I've rebuilt the pullserver and node from scratch but I'm still receiving this error on the node and so are other people. Is this a bug?
Job {5253B19B-0161-11E6-80CB-005056B6357A} :
Http Client 1d545e3b-60c3-47a0-bf65-5afc05182fd0 failed for WebReportManager for configuration The attempt to send status report to the server https://LABSERVER01:8080/PSDSCPullServer.svc/Node(ConfigurationId='1d545e3b-60c3-47a0-bf65-5afc05182fd0')/SendStatusReport returned unexpected response code BadRequest..

@Zuldan,
If the consistency failed to apply the configuration you will see the errors in Errors field. That will tell that the node is not compliant.  Reporting using ConfigurationID in WMF 5 has limited StatusData content. When you switch to use registrationKey, reporting data contains additional fields such as the overall status of the operation in "Status" property, also populates detailed information about which resources are in desired state,which onces are not in desired state and the resource level errors if a particular resource instance failed.

@Zuldan
For your question #2. I do not think there should be an error about the node not being able to send reports to the reporting server when it actually does.
If your question is about a node that is not sending any reports with that error. then these are the possible causes:

Given configurationId,mof does not present on the pull server configuration repository
client is using WMF 5, but the server is using older version (like WMF 4) where reporting was not available. So the older server rejects requests it is not able to interpret.

Hi @NarineM,
As specified here #106, I'm having the same issue reported by @Zuldan regarding node reporting errors.
It seems quite clear to me that this is a bug.
I can confirm that in my configuration:

the mof and checksum files are there
WMF5 is installed on both client and server

Are we sure that the dll installed by the xDscWebService resource in the web service endpoint is the correct one? Where is this dll coming from? What is the version of the dll compatible with WMF5?

@gigi81
In @Zuldan 's scenario he is able to pull the node status records from the reporting server now (after changing the request URLs), but sill continues seeing BadRequest in ETW log.
Is it similar to what you are seeing?

Yes, I'm having the same BadRequest error in the log.

@gigi81,
I will look into this ETW message and see why it is being logged when the operation is sucesful, for now you can ignore it.

Closing the thread since original issue with not being able to send and retrieve reports got addressed. The remaining is the ETW events with BadRequest despite the operation is successful.

Hi @NarineM,
I tried to retrieve the status report with the powershell script by @Zuldan but the response returned by the server is empty (content.value is empty to be more precise).
Here is the ouput from the command:
StatusCode        : 200
StatusDescription : OK
Content           : {"odata.metadata":"http://localhost:8050/PSDSCPullServer.svc/$metadata#StatusReport","value":[]}
RawContent        : HTTP/1.1 200 OK
ProtocolVersion: 2.0
X-Content-Type-Options: nosniff
request-id: 860ff380-962d-0002-1eb2-10862d96d101
DataServiceVersion: 3.0;
Content-Length: 96
Cache-Control: no-cache
Content...
Forms             :
Headers           : {[ProtocolVersion, 2.0], [X-Content-Type-Options, nosniff], [request-id, 860ff380-962d-0002-1eb2-10862d96d101], [DataServiceVersion,
3.0;]...}
Images            : {}
InputFields       : {}
Links             : {}
ParsedHtml        :
RawContentLength  : 96
And here is the data in the esent database:

Hi,
I have almost the same problem.
I'm using ConfigurationID as my nodes are not named at the beginning
[DscLocalConfigurationManager()]
Configuration PullClientV2
{
Param (
[Parameter(Mandatory = $True)]
[String]$NodeGUID
)
$moduleversion="1.0"
Settings
{
	ActionAfterReboot = "ContinueConfiguration"
	AllowModuleOverwrite = $true
	ConfigurationID = $NodeGUID
    ConfigurationMode = "ApplyAndAutoCorrect"
    ConfigurationModeFrequencyMins = 15
	RebootNodeIfNeeded = $true
    RefreshFrequencyMins = 30
    RefreshMode = "Pull"
    StatusRetentionTimeInDays = 10
}

ConfigurationRepositoryWeb Configurations
{
	ServerURL = "https://$($DscPullServer)/psdscpullserver.svc"
	#RegistrationKey = "46d089c3-c145-4ebe-8b63-0c021e1ac04b"

}
ResourceRepositoryWeb Resources
{
	ServerURL = "https://$($DscPullServer)/psdscpullserver.svc"
	#RegistrationKey = "46d089c3-c145-4ebe-8b63-0c021e1ac04b"
}
ReportServerWeb Reports
{
	ServerURL = "https://$($DscPullServer)/psdscpullserver.svc"
	#RegistrationKey = "46d089c3-c145-4ebe-8b63-0c021e1ac04b"
}

}
PullClientV2 -NodeGUID $Guid -Output 'C:\DSC\PullClientV2'
Set-DscLocalConfigurationManager -ComputerName 'Localhost' -Path 'C:\DSC\PullClientV2' -Verbose -Force
When I do a local Get-DscConfigurationStatus, I get "ResourcesInDesiredState"
PS C:\Users\Administrator> Get-DscConfigurationStatus|fl
JobID                      : {806920BB-06C9-11E6-80C4-00155D013228}
HostName                   : WIN-BABJSO5643U
Error                      :
Locale                     : fr-FR
IPV4Addresses              : {<IP_ADDRESS>, <IP_ADDRESS>}
IPV6Addresses              : {fe80::e521:4830:be5:c43f%14, ::2000:0:0:0, ::1, ::2000:0:0:0}
MACAddresses               : {00-15-5D-01-32-28, 00-00-00-00-00-00-00-E0}
LCMVersion                 : 2.0
Mode                       : Pull
NumberOfResources          : 2
MetaData                   : Author: Administrator; Name: myConfiguration01; Version: 2.0.0;
04/20/2016 01:58:28; GenerationHost: WIN-E89T1RDB0VN;
MetaConfiguration          : MSFT_DSCMetaConfiguration
Type                       : Consistency
Status                     : Success
StartDate                  : 20/04/2016 09:28:42
DurationInSeconds          : 0
RebootRequested            : False
ResourcesInDesiredState    : {[File]HelloWorld, [WindowsFeature]TelnetClient}
ResourcesNotInDesiredState :
PSComputerName             :
When I browse the database or use  I only have a partial StatusData
function GetReport
{
param ($AgentId = "$($(glcm).AgentId)",
$ConfigurationID = "$($(glcm).ConfigurationID)",
$Uri = "https://$($DscPullServer)/psdscpullserver.svc/Node(ConfigurationId='$ConfigurationId')/StatusReports"
)
$response = Invoke-WebRequest -Uri $Uri `
							 -ContentType "application/json;odata=minimalmetadata;streaming=true;charset=utf-8" `
							 -UseBasicParsing `
							 -Headers @{ Accept = "application/json"; ProtocolVersion = "1.1" } `
							 -ErrorAction SilentlyContinue -ErrorVariable ev
$jobs = (ConvertFrom-Json $response.content).value
return $jobs

}
$jobs = GetReport
foreach ($job in $jobs)
{
Write-Host "JobID: $($job.JobId) StartTime: $($job.StartTime) Type: $($job.OperationType)" -ForegroundColor Green
[console]::ForegroundColor = 'Red'
$job.Errors | ConvertFrom-Json
[console]::ForegroundColor = 'White'
$job.StatusData | ConvertFrom-Json

}
JobID: 806920bb-06c9-11e6-80c4-00155d013228 StartTime: 04/20/2016 09:28:42 Type: Consistency
IPV4Addresses   : {<IP_ADDRESS>, <IP_ADDRESS>}
CurrentChecksum : 8F690215FA9679B4B3A8F4A3C5D7C70E9E368C5126C367A1A5C4687CF477123B
MACAddresses    : {00-15-5D-01-32-28, 00-00-00-00-00-00-00-E0}
Type            : Consistency
HostName        : WIN-BABJSO5643U
Locale          : fr-FR
StartDate       : 2016-04-20T09:28:42.7280000+02:00
JobID           : {806920BB-06C9-11E6-80C4-00155D013228}
LCMVersion      : 2.0
IPV6Addresses   : {fe80::e521:4830:be5:c43f%14, ::2000:0:0:0, ::1, ::2000:0:0:0}
JobID: fbe11054-06c9-11e6-80c4-00155d013228 StartTime: 12/30/1899 00:00:00 Type:
Locale       : Unknown
ErrorCode    : 0
ErrorMessage : Unknown
ResourceId   : DSCEngine
ErrorSource  : DSCEngine
HOW CAN WE GET ResourcesInDesiredState using CONFIGURATIONID ???
Thxs a lot


chirp: 0.4.0-unstable-2024-05-24 -> 0.4.0-unstable-2024-06-05

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for chirp is: A free, open-source tool for programming your amateur radio
meta.homepage for chirp is: https://chirp.danplanet.com/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4.0-unstable-2024-05-30 in filename of file in /nix/store/ylc8pqj905zcs62sr3qksl9lqp8pi1rb-chirp-0.4.0-unstable-2024-05-30

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

chirp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/ylc8pqj905zcs62sr3qksl9lqp8pi1rb-chirp-0.4.0-unstable-2024-05-30 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A chirp https://github.com/r-ryantm/nixpkgs/archive/c3cc5c66024e0b530d533ca8884424f4df0b4da7.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/c3cc5c66024e0b530d533ca8884424f4df0b4da7#chirp

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/ylc8pqj905zcs62sr3qksl9lqp8pi1rb-chirp-0.4.0-unstable-2024-05-30
ls -la /nix/store/ylc8pqj905zcs62sr3qksl9lqp8pi1rb-chirp-0.4.0-unstable-2024-05-30/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

chirp
chirp.dist

Maintainer pings
cc @Emantor for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for chirp is: Free, open-source tool for programming your amateur radio
meta.homepage for chirp is: https://chirp.danplanet.com/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4.0-unstable-2024-06-05 in filename of file in /nix/store/8br30445qcwyfyfgigp9pycxnxqg9lrf-chirp-0.4.0-unstable-2024-06-05

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

chirp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/8br30445qcwyfyfgigp9pycxnxqg9lrf-chirp-0.4.0-unstable-2024-06-05 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A chirp https://github.com/r-ryantm/nixpkgs/archive/52846f3b29359e60d218383f3b1d74deac37d10c.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/52846f3b29359e60d218383f3b1d74deac37d10c#chirp

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/8br30445qcwyfyfgigp9pycxnxqg9lrf-chirp-0.4.0-unstable-2024-06-05
ls -la /nix/store/8br30445qcwyfyfgigp9pycxnxqg9lrf-chirp-0.4.0-unstable-2024-06-05/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

chirp
chirp.dist

Maintainer pings
cc @Emantor for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for chirp is: Free, open-source tool for programming your amateur radio
meta.homepage for chirp is: https://chirp.danplanet.com/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4.0-unstable-2024-06-17 in filename of file in /nix/store/scjsvjq8jq4sqaa3rn12dngigs5z7mrl-chirp-0.4.0-unstable-2024-06-17

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

chirp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/scjsvjq8jq4sqaa3rn12dngigs5z7mrl-chirp-0.4.0-unstable-2024-06-17 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A chirp https://github.com/r-ryantm/nixpkgs/archive/4f30a8469ab4eb06689eb3efa37b0171cfce0ea7.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/4f30a8469ab4eb06689eb3efa37b0171cfce0ea7#chirp

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/scjsvjq8jq4sqaa3rn12dngigs5z7mrl-chirp-0.4.0-unstable-2024-06-17
ls -la /nix/store/scjsvjq8jq4sqaa3rn12dngigs5z7mrl-chirp-0.4.0-unstable-2024-06-17/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review --extra-nixpkgs-config '{ allowInsecurePredicate = x: true; }' run on x86_64-linux 1

2 packages built:

chirp
chirp.dist

Maintainer pings
cc @Emantor for testing.

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for chirp is: Free, open-source tool for programming your amateur radio
meta.homepage for chirp is: https://chirp.danplanet.com/
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4.0-unstable-2024-06-25 in filename of file in /nix/store/9hsm96k30j92k2ccgxkjy24d41gpcg1r-chirp-0.4.0-unstable-2024-06-25

Rebuild report (if merged into master) (click to expand)

2 total rebuild path(s)

2 package rebuild(s)

First fifty rebuilds by attrpath

chirp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/9hsm96k30j92k2ccgxkjy24d41gpcg1r-chirp-0.4.0-unstable-2024-06-25 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A chirp https://github.com/r-ryantm/nixpkgs/archive/e66e67ef402a7edc13819127eb9ee8d4c8ac5abd.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e66e67ef402a7edc13819127eb9ee8d4c8ac5abd#chirp

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/9hsm96k30j92k2ccgxkjy24d41gpcg1r-chirp-0.4.0-unstable-2024-06-25
ls -la /nix/store/9hsm96k30j92k2ccgxkjy24d41gpcg1r-chirp-0.4.0-unstable-2024-06-25/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages built:

chirp
chirp.dist

Maintainer pings
cc @Emantor for testing.


Update formatting.md

This adds ❌ and ✔ marks to make it clearer what's OK and Not OK.
A few minor adjustments to commentary
cc @luisquintanilla @nojaf @KathleenDollard
Preview Link

Thanks @luisquintanilla !


add to parameter to decide whether to print the command

This PR fixes #11024
for the commands that contains password, we shouldn't print the commands

Coverage decreased (-0.003%) to 34.689% when pulling f09d47dd6053e62c7e4880bb0470a22956618079 on alanren/hide-command into c9c4ec20355e62a2d62eb0da364d55aab0e3fe15 on main.


Overall Summary add columns

[x] No of Buyers
[x] No of Suppliers
[ ] Average bids per contract
[ ] Monopolization
[x] quantity of red flags
[x] total value of contracts with red flags
[x] quantity of equity contracts
[x] total value of equity contracts
[ ] total value per product category
[x] Time span
[x] GDP per captia
[x] healthcare budget
[x] % of GDP to healthcare budget
[ ] $ per covid case
[ ] Covid statistics per country Active cases, current
[ ] Covid statistics per country Total cases
[ ] Total death cases, cumulative

I assume that this feature will not be implemented, at this point, so closing.


Is it possitble to store image data in .fcs? How does FlowJo do it?

I think they don't directly save images in the fcs file, they use the index to search images in your given image folder

Thanks for commenting! This is interesting, is there any specification/documentation for this (What does FlowJo expect)? It would be interesting for users to export a directory with images alongside an .fcs file.

Maybe you can check with their FlowJo plugin called BD cell view Lens?

Oh sorry what I mean here is individual cell image..


feat: work with graphql-tools 6.x

BREAKING CHANGE: the library won't work with graphql-tools <=5.0 anymore.
Also, one of edge cases stop working. If you don't have a need for graphql-tools 6 don't update yet.
Let us know if you have any problems with this update.

:tada: This PR is included in version 3.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Enable Find command for tasks

@CS2103AUG2016-F09-C4/developers
I am thinking of doing a search KEYWORD [MORE_KEYWORDS]... rather than differentiate the task and event. So I will update both panels.
What do you guys think?

Yeah, that sounds good!


add schema manager tab in vtctld

The idea is that user could apply schema changes (DDLs) via schema manager tab.
Current code uses vtgate to do the schema change and this will be replaced by
an executor that applies directly to all vttablets.

lgtm


clang-cl program build issues

Brief Issue Summary
How to run vcvars64.bat before using clang-cl?
I want to debug cmake right click cmakelists.txt select debug, but I want to run vcvars64.bat before debugging the project.
CMake Tools Diagnostics
No response
Debug Log
No response
Additional Information
No response

@cctv130 To get more context on this, what is the full scope of your scenario? What are you needed vcvars.bat for?
We currently have some level of support (and are planning on improving it) for including the Visual Studio development environment with your presets, which may enable this. However, depending on your scenario, this may be a feature request.
THanks!

@cctv130 Could you test the workaround that I suggested here: https://github.com/microsoft/vscode-cmake-tools/issues/3502#issuecomment-2026064274

@cctv130 Are you using kits or presets?

Closing this in favor of other issues #3497 that are related to the VS environment, we plan to improve our "magic" which will resolve this issue.


feat: add the json% macro from ProofWidgets4

See Zulip discussion at https://leanprover.zulipchat.com/#narrow/stream/270676-lean4/topic/json.20elaborator

Do you have a suggestion to replace $(?

ideally it would be $(, but some research is needed to determine how to do this without messing up other uses of antiquotations. Perhaps the implementation in Qq could be helpful...

I made the easy changes but the quotation thing may be above my pay grade.

@gebner do you have any insight about reusing the antiquotation syntax coming from Qq?

Hello, I improved the antiquotation story here. Feel free to update the PR with those changes. I kept the PW4 variant scoped because even with the changes I am not confident that it won't break global syntax. Probably if you remove scoped here and both std4/mathlib4 still compile, then it's ok.

do you have any insight about reusing the antiquotation syntax coming from Qq?

Qq uses the same quotation syntax as Lean core.  Wojciech has now changed the json macro in proofwidgets to do the same. ^^

I tried to incorporate changes from ProofWidgets.

@digama0 this is good to go I think.


[WIP] Fixing replay pending bug

Previously, dispatch would be blocked if there was an interrupt while a cache request was being replayed.
RTL is good to go, but needs a test.  Maybe a bunch of L1 amoadds with an interrupt timer going off (edited)

Bugs are fixed, tests are added to bp_tests, but master doesn't build because of changes to libperch. Will bump submodule when available


Insufficient signer bonds to cover setup fee

Description:
Error on step 2 initial deposit
Steps to reproduce the behavior:

Go to https://dapp.test.tbtc.network/
Deposit
Connect Metamask
Choose 0.01Btc
Create address
Error in Metamask

Transaction error

After that refresh https://dapp.test.tbtc.network/deposit/new and new error appears

Environment details:
OS: Windows 10 Pro, Version 2004, build 19041.330, 64 bit OS
Web Browser: Mozilla Firefox, Version 78.0.2 (Official Build) (64-bit), Brave v 1.11.97
Wallet: Metamask (Chrome extension), Version 8.0.5
Console.log
tbts-log-2020-7-23_22-44-11.txt

Thanks for the issue! This is actually expected behavior when there are not enough bonded signers available in the system to back your new deposit. The error itself could definitely use some clarification and massaging, and ideally you would know this is something that could happen before starting the process in the first place. We're tracking some of that in #260; closing this issue in its favor, though we can reopen here if we decide there's something different going on.


[SPARK-13442][SQL] Make type inference recognize boolean types

What changes were proposed in this pull request?
https://issues.apache.org/jira/browse/SPARK-13442
This PR adds the support for inferring BooleanType for schema.
It supports to infer case-insensitive true / false as BooleanType.
Unittests were added for CSVInferSchemaSuite and CSVSuite for end-to-end test.
How was the this patch tested?
This was tested with unittests and with dev/run_tests for coding style

Merged build finished. Test FAILed.

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

retest this please

Test build #51713 has started for PR 11315 at commit 4ac73d9.

Test build #51713 has finished for PR 11315 at commit 4ac73d9.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/51713/
Test PASSed.

cc @falaki @yucheng1992 Would you review this please?

@HyukjinKwon I think it's good. Thanks!

@rxin @falaki Would you take a look please?

Test build #52308 has started for PR 11315 at commit b7fc39e.

LGTM pending tests

Test build #52308 has finished for PR 11315 at commit b7fc39e.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/52308/
Test PASSed.

cc @rxin

Thanks - merging in master.


[Assistance]  Number of problems in the OS dataset

Hi, I have counted the number of data samples or problems in the 'os_interaction' folder, and my count shows a total of 191 samples. However, the table that provides statistics reports a different number of samples, specifically 170 samples. Not sure if I was looking at the correct folder. Appreciate your help. thanks!

Thank you for your interest.

Could you provide the detail of the split whose count is wrong?
File data/os_interaction/data/6-backup.json is deprecated and we don't contain it in our dataset. Details are shown in main/configs/tasks/os.yaml.

apart form the 6-backup the total is 182, including 26 dev.
test 156
dev 26
but the stat here shows the test with 144 samples?


PartialEq and PartialOrd of Identifiable structures

Identifiable structures, such as Domain, derive their implementation of PartialEq, but have the following implementation of PartialOrd:
impl PartialOrd for Domain {
    #[inline]
    fn partial_cmp(&self, other: &Self) -> Option<Ordering> {
        Some(self.id().cmp(&other.id))
    }
}

Would it make sense to have equivalent implementation of PartialEq instead of deriving it?
Other Identifiable structures should be considered as well

What do you think about a blanket implementation for all identifiables?

Blanket impl would not work as well as I hoped. PartialOrd is a foreign trait, meaning that in order for impl <T:Identifiable> PartialOrd for T to work the Identifiable trait should be made private. This in and of itself wouldn't be a problem, but for the data_model restructuring to work, we'd also need to make every implementer of Identifiable foreign, so the orphan rule prevents a blanket impl from working as intended.
Kind of a workaround would be to make Identifiable object-safe, and implement for dyn Identifiable, but that is sub-optimal.

What do you think about a custom proc-macro, that derives Identifiable, Ord, Eq, Hash and enforces that all implementations are compliant?

sure, but why not a declarative macro? I find them way easier to both implement and read and this should be a very simple macro
actually, our current implementation could be buggy as per PartialEq documentation:

If PartialOrd or Ord are also implemented for Self and Rhs, their methods must also be consistent with PartialEq (see the documentation of those traits for the exact requirements). It’s easy to accidentally make them disagree by deriving some of the traits and manually implementing others.

sure, but why not a declarative macro? I find them way easier to both implement and read and this should be a very simple macro

We don't have to choose.
https://crates.io/crates/macro_rules_attribute


how to input model to dialog. not only string to dialog

I want input a json to dialog templete, but it get wrong.
and also the ngOnChange founction not work.

hi @751811032! Could you please specify the issue? It would be nice to see an example on stackblitz or a screenshot of the console with errors


Wrong request id returned on eth_subscribe

Ganache has issue with 64-bit integers in request id's
After connecting to ganache using websockets and sending eth_subscribe command reply contains wrong id
Current Behavior
> {"id":809894640329149302, "jsonrpc": "2.0", "method": "eth_subscribe", "params": ["newHeads", []]}
< {"id":809894640329149300,"jsonrpc":"2.0","result":"0x07"}

Steps to Reproduce (for bugs)

Create new folder
Install websocket npm i ws
Start node.js shell using node command.
Enter this commands:

const WebSocket = require('ws')
const ws = new WebSocket('ws://localhost:7545')
ws.on('message', (data) => console.log(data))
ws.send(JSON.stringify({"id":809894640329149302, "jsonrpc": "2.0", "method": "eth_subscribe", "params": ["newHeads", []]}))

< {"id":809894640329149300,"jsonrpc":"2.0","result":"0x07"}

Context
Couldn't correctly subscribe to ganache ws event.
Your Environment

Version used: Ganache CLI v6.1.8 (ganache-core: 2.2.1)
Environment name and version (e.g. PHP 5.4 on nginx 1.9.1): Node.js v 8.12.0
Operating System and version: MacOS 10.13.5

@konstantinzolotarev<PHONE_NUMBER>29149302 is not a valid JavaScript number. In fact,<PHONE_NUMBER>29149302 ===<PHONE_NUMBER>29149300 evaluates to true!
Because the number<PHONE_NUMBER>29149302 is greater than Number.MAX_SAFE_INTEGER the Number value is unreliable in JavaScript and you should use it. You can treat it as a string in your code, i.e. "809894640329149302", and Ganache will return it correctly in the subscription (as a string). If you need to use large numbers like this in JavaScript you should use a library like BN.js (or try JSBI, which polyfills the new native BigInt type) and then convert it to and from a string as needed (JSON, which is what Ganache and other Ethereum providers use to communicate, doesn't currently support any number type other than JavaScript's native Number, so you'll need to convert to a string first).


Remove notification "0" when you don't have claims (S)

Reproduce:

Go to your profile
Claim all open periods
Check the little notification "0"

Expected behaviour:
When I claim all periods the notification dot should disappear
Experienced behaviour:
When I claim all periods the notification dot shows "0"

@pugakn tried to test this on: https://dao-dev.hypha.earth/hypha/@johnnyhypha1
but got this error message:


isInternetReachable is null for reachable connection (iOS)

Ask your Question
I'm not sure about this but i'm testing the plugin in my iphone X (real device) using iOS 12.4 and when i debug the state of the connection i get the next output:
{
type: 'wifi',
isConnected: true,
details: { isConnectionExpensive: false },
isInternetReachable: null
}
My internet was reachable at the moment i tested it, why i'm getting null's value in that property, is this a normal behaviour?
I'm using RN 0.60.4, XCode 10.3 and the latest version of the plugin
BTW, I'm getting the right value in android but seems in iOS its always returning null.
Thanks

null means the state has yet to be determined. Are you subscribing to changes or just getting the current state? It's possible that you are checking on app launch and it has not yet had time to determine it yet. Maybe subscribing would show you a newer value soon after launch.
If that's not the case, can you send over the code you are using?

Ah that might be the issue, I'm doing NetInfo.fetch() once the app is initialized.
I will close the issue
Thanks


CVE Change History API

Hi,
any plans to include the brand-new CVE Change History API ?
CVE Change History API
The CVE Change History API is used to easily retrieve information on changes made to a single CVE or a collection of CVE from the NVD. This API provides additional transparency to the work of the NVD, allowing users to easily monitor when and why vulnerabilities change.
https://nvd.nist.gov/developers/vulnerabilities
https://services.nvd.nist.gov/rest/json/cvehistory/2.0?cveId=CVE-2019-1010218

Hi,
Yes. There are plans to include the other missing API endpoints such as the Change History API, Source API, and Match Criteria API. I do not have an ETA on when they will be released, but they are being worked on.


CAMEL-11056: Create a new camel-olingo4 component for supporting OData 4.0

This is a new camel-olingo4 component which supports OData 4.0 protocol via Olingo4 library.
It's was migrated from camel-olingo2 component to support backward compatibility except some deprecated and changed features.

Thanks I wonder if @oscerd have time to review this and merge the PRs about olingo?

Sure. I'll take a look ASAP

Looks good to me, I'll merge

Thanks the PR has been merged. Can you close the PR?

Thanks @oscerd, PR closed.


If it works Vice Versa? We want to migrate from Git-LAB to TFS.

-------Please read and delete this text before creating the issue-------
To report a good issue, please verify that you validate these points:

[ ] you have read the documentation about command line options and advanced use cases
[ ] upgrade and test with the last version
[ ] specify the version you are using
[ ] include steps you followed to reproduce the problem
[ ] if the problem occurs when using a git-tfs command, please provide the output of the command when using the --debug command line option (providing a gist could be a clever idea ;))

Hi,
You didn't have the time to search for the same question already answered.
You didn't have the time to ask for a real question describing your problem.
So, I also don't have the time to answer.
Sirry


WADI 2019 Result

The 2019 version of wadi dataset has an Attack tag. Would you like to try GDN's performance on this dataset. According to my test, it seems that there are some problems in the results, and I am confused about the causes

Hello, have you found the problem? I also encountered the same problem as you when using the 2019 version of wadi dataset has an Attack tag

Hi all, we haven't tried on the 2019 version ones. But I guess it would be helpful if the data is also processed with some similar preprocessing such as standard scaling, like what https://github.com/d-ailin/GDN/tree/main/scripts does.


TF Serving container doesn't handle MODEL_NAME environment variable

Running TF Serving container with test data from https://github.com/tensorflow/serving README:
git clone https://github.com/tensorflow/serving
TESTDATA="$(pwd)/serving/tensorflow_serving/servables/tensorflow/testdata"
docker run -t --rm -p 8501:8501 \
    -v "$TESTDATA/saved_model_half_plus_two_cpu:/models/half_plus_two" \
    -e MODEL_NAME=half_plus_two \
    emacski/tensorflow-serving:1.14.0-linux_arm_armv7-a_neon_vfpv3

shows following error:
2019-11-30 19:00:29.050035: I external/tf_serving/tensorflow_serving/model_servers/server.cc:82] Building single TensorFlow model file config:  model_name: model model_base_path: /models/model
2019-11-30 19:00:29.055819: I external/tf_serving/tensorflow_serving/model_servers/server_core.cc:462] Adding/updating models.
2019-11-30 19:00:29.059314: I external/tf_serving/tensorflow_serving/model_servers/server_core.cc:561]  (Re-)adding model: model
2019-11-30 19:00:29.066273: E external/tf_serving/tensorflow_serving/sources/storage_path/file_system_storage_path_source.cc:362] FileSystemStoragePathSource encountered a filesystem access error: Could not find base path /models/model for servable model
2019-11-30 19:00:30.066100: E external/tf_serving/tensorflow_serving/sources/storage_path/file_system_storage_path_source.cc:362] FileSystemStoragePathSource encountered a filesystem access error: Could not find base path /models/model for servable model

And the last error repeats.
It happens because the container doesn't handle MODEL_NAME environment variable. Mapping the model data to /models/model solves the issue.
I think it would be right to support it, so newbies like me could launch TF Serving example using sample from mainline README. We love to cut-and-paste )

Currently, the tensorflow-serving-arm images contain no shell and use the exec form of the Docker ENTRYPOINT, so I believe that variable expansion is not possible here. The upstream version uses a full distro base image, where this project uses "distroless" base images. I'll see what I can do to include a shell (probably dash) in the next release. In the meantime, you can still use a custom model path with version 1.14.0 if you wish:
git clone https://github.com/tensorflow/serving
TESTDATA="$(pwd)/serving/tensorflow_serving/servables/tensorflow/testdata"
docker run -t --rm --init -p 8501:8501 \
    -v "$TESTDATA/saved_model_half_plus_two_cpu:/models/half_plus_two" \
    emacski/tensorflow-serving:1.14.0-linux_arm_armv7-a_neon_vfpv3 \
        --model_name=half_plus_two \
        --model_base_path=/models/half_plus_two

I see the point. I think it will be enough just mention that in README
Thank you for the great project and support.

Just FYI, in the 1.15.0 update (6170dc57db2ab11f3b762b61e2c43eb77d8d4ca1) I have added a posix shell to the docker images for variable expansion in the startup command and should now be functionally equivalent to the upstream.


Fixed jquery 3 promise handling to be compatible with ember promises

More info explained here, which has been found based on this ember issue

I'd rather us just drop replace this with ember-network like ember-simple-auth is doing now.

any update on this? causing me some headaches. getting race conditions in my acceptance tests. using a fork with this proposed fix for now.

@jeffhertzler we had some issues with the migration to ember-network. You could use a more updated version that is also patched on my fork if you want: https://github.com/morhook/ember-simple-auth-token/commits/fix_jquery_3_ember_2_10
Sorry for not having a better fix yet.

No problem. Yeah, your fork is what I'm using for now. Works great til there's a more permanent solution.

@morhook would you want to give this another try? Seems like the preferred alt is ember-fetch. https://github.com/simplabs/ember-simple-auth/pull/1288
If not, anyone else can step up or I'll give it a go in a couple of days.

Using ember-fetch seems like the right way to go, I can review a pull request for including ember-fetch.

@alechirsch https://github.com/jpadilla/ember-simple-auth-token/pull/200 although I'm not sure how to stub fetch, and fix the tests. Any guidance is appreciated.
Maybe something like http://www.wheresrhys.co.uk/fetch-mock/ ?

Closed by #226. Thanks again everyone!


Feature request: Add "Lock screen" as an action.

Thanks for a very needed tool (I'm normally a Mac user :-) )!
It would be very nice to be able to just move the mouse to the lower right corner and then leave the computer having it being locked and require pin code again.

I was able to do this with the "Custom command" feature, but it would be nice if it was built in. For anyone wondering, here's how you do it:

Right click WinXCorners -> Advanced
Under "Custom Command", put:
Command: Rundll32.exe
Parameters: user32.dll,LockWorkStationuser32.dll,LockWorkStation

I was able to do this with the "Custom command" feature, but it would be nice if it was built in. For anyone wondering, here's how you do it:

Right click WinXCorners -> Advanced
Under "Custom Command", put:
Command: Rundll32.exe
Parameters: user32.dll,LockWorkStation

Is there a way to achieve the reverse? Ie if the mouse is in that corner DO NOT lock the workstation, ie disable the timeout.


ImportError: Aspera SDK not installed

Very similar to #4.
python --version
Python 3.6.5 :: Anaconda, Inc.

pip freeze | grep aspera
cos-aspera==0.1.163682

Traceback (most recent call last):
  File "/anaconda3/lib/python3.6/site-packages/cos_aspera/faspmanager2.py", line 14, in swig_import_helper
    return importlib.import_module(mname)
  File "/anaconda3/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 994, in _gcd_import
  File "<frozen importlib._bootstrap>", line 971, in _find_and_load
  File "<frozen importlib._bootstrap>", line 955, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 658, in _load_unlocked
  File "<frozen importlib._bootstrap>", line 571, in module_from_spec
  File "<frozen importlib._bootstrap_external>", line 922, in create_module
  File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
ImportError: dlopen(/anaconda3/lib/python3.6/site-packages/cos_aspera/_faspmanager2.so, 2): Library not loaded: /Library/Frameworks/Python.framework/Versions/3.6/lib/libpython3.6m.dylib
  Referenced from: /anaconda3/lib/python3.6/site-packages/cos_aspera/_faspmanager2.so
  Reason: image not found

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/anaconda3/lib/python3.6/site-packages/ibm_s3transfer/aspera/futures.py", line 26, in <module>
    from cos_aspera import faspmanager2
  File "/anaconda3/lib/python3.6/site-packages/cos_aspera/faspmanager2.py", line 17, in <module>
    _faspmanager2 = swig_import_helper()
  File "/anaconda3/lib/python3.6/site-packages/cos_aspera/faspmanager2.py", line 16, in swig_import_helper
    return importlib.import_module('_faspmanager2')
  File "/anaconda3/lib/python3.6/importlib/__init__.py", line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
ModuleNotFoundError: No module named '_faspmanager2'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "server_api.py", line 16, in <module>
    import scheduler
  File "/Users/kaoru/git/translate_at_ibm_services/scheduler.py", line 7, in <module>
    import functions_checks
  File "/Users/kaoru/git/translate_at_ibm_services/functions_checks.py", line 4, in <module>
    import functions_cos
  File "/Users/kaoru/git/translate_at_ibm_services/functions_cos.py", line 3, in <module>
    from ibm_s3transfer.aspera.manager import AsperaTransferManager
  File "/anaconda3/lib/python3.6/site-packages/ibm_s3transfer/aspera/manager.py", line 36, in <module>
    from ibm_s3transfer.aspera.futures import AsperaTransferCoordinator
  File "/anaconda3/lib/python3.6/site-packages/ibm_s3transfer/aspera/futures.py", line 29, in <module>
    raise ImportError("Aspera SDK not installed")
ImportError: Aspera SDK not installed

There is no Python.framework directory under /Library/Frameworks; I've tried to create a symlink to my python install but that did not work.

@kaoru007 - we do not currently support installing Aspera through python version managers (pyenv or anaconda).  Can you re-attempt installing Aspera using vanilla python 3.6 version from the following website:
https://www.python.org/downloads/release/python-3610/

Internally tracking this: CSAFE-71238

I won't be able to compile vanilla 3.6 into my machine (lots of errors).
So I'll test my code in a Linux VM for now.
Closing, thanks.


Text protocol support

See #17 for the design.
This PR includes:

Limited support for text protocol.
Tests.
travis-ci support.

Closes #17.

@tfukaya Please take a look.

lgtm


es *beat6: Fix build on aarch64

Motivation for this change
Fix a build.
Sorry for butchering the commit title format. There's no better way, because it's really a bunch of attrs.
Things done

Built on platform(s)

[ ] x86_64-linux
[x] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 139194 at 68a8d864 run on aarch64-linux 1

1 package failed to build:

packetbeat (packetbeat6)

4 packages built successfully:

filebeat (filebeat6)
heartbeat (heartbeat6)
journalbeat (journalbeat6)
metricbeat (metricbeat6)

3 suggestions:

warning: license-missing
Package is missing a license.
Near pkgs/development/go-packages/generic/default.nix:257:5:
    |
257 |     meta = {
    |     ^

warning: name-and-version
Did you mean to pass pname instead of name to mkDerivation?
Near pkgs/misc/logging/beats/6.x.nix:4:7:
  |
4 |       name = "${package}-${version}";
  |       ^

Near pkgs/misc/logging/beats/6.x.nix:5:7:
  |
5 |       version = elk6Version;
  |       ^

warning: maintainers-missing
Package does not have a maintainer. Consider adding yourself?
Near pkgs/development/go-packages/generic/default.nix:257:5:
    |
257 |     meta = {
    |     ^

Note that build failures may predate this PR, and could be nondeterministic or hardware dependent.
Please exercise your independent judgement. Does something look off? Please file an issue or reach out on IRC.

The packetbeat failure is a preexisting problem not solved by this PR.


How many percent of machine learning = deep learning?

Deep learning is not a traditional machine learning approch.


[Action] Project Green Scraper - Fine-tune data that's being included to the event list

Description
Right now the event list that's being generated by Green Scraper includes conference agenda link, session title and session speakers. To make the content more useful and helpful for the users we need to look into what additional information should be included by the tool and modify implementation accordingly.
After initial discussions we have identified that following information also needs to be added to the event list:

Conference name
Session description
Direct link to the session page on the agenda website
Link to the session recording, if applicable

Outcome
Green Scraper tools generates the event list that contains the most relevant and helpful information, as per the community feedback.
To-Do

[ ] Identify what information is lacking from the current content that's generated by the tool
[ ] Update Green Scraper to include data that was identified in the previous point

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Comments
No response

Something else to consider here is picking up talks by people that work for energy companies. Sometimes their company names will include the word "energy" making the green scraper pick their talk up. However, sometimes their talks are relating to sustainability!


graphmize prepends $HOME directory to any relative path passed to -s

Describe the bug
$HOME should not be automatically prepended to paths passed to -s. Take a look at the examples below.
To Reproduce
 go run ~/go/src/github.com/hourglasshoro/graphmize/ -s $HOME/coding/myapp/charts/argocd/kustomize/

Error: cannot build graph: lstat /Users/devon.hakel-kinko/Users/devon.hakel-kinko/coding/myapp/charts/argocd/kustomize: no such file or directory
Usage:
  graphmize [flags]

Flags:
      --config string   config file (default is $HOME/.graphmize.yaml)
  -h, --help            help for graphmize
  -s, --source string   Directory to search
  -t, --toggle          Help message for toggle
  -v, --version         version for graphmize

cannot build graph: lstat /Users/devon.hakel-kinko/Users/devon.hakel-kinko/coding/myapp/charts/argocd/kustomize: no such file or directory
exit status 1

 go run ~/go/src/github.com/hourglasshoro/graphmize/ -s ~/coding/myapp/charts/argocd/kustomize
Error: cannot build graph: lstat /Users/devon.hakel-kinko/Users/devon.hakel-kinko/coding/myapp/charts/argocd/kustomize: no such file or directory
Usage:
  graphmize [flags]

Flags:
      --config string   config file (default is $HOME/.graphmize.yaml)
  -h, --help            help for graphmize
  -s, --source string   Directory to search
  -t, --toggle          Help message for toggle
  -v, --version         version for graphmize

cannot build graph: lstat /Users/devon.hakel-kinko/Users/devon.hakel-kinko/coding/myapp/charts/argocd/kustomize: no such file or directory
exit status 1

Additional thoughts
I don't know if this was an intentional design decision. But it feels like a non-standard way of handling paths.

@pydo
Thank you for reporting this.
Fixed a bug. It will be reflected in the next release.


Can't define a variable in for

The following code results in an error:
🦄 .editor
// Entering editor mode (^D to finish, ^C to cancel)
for(let i = 0; i < 5; i = i + 1) {

  }

Uncaught Error: Unknown identifier 'i'!
    at Object.<anonymous> (/Users/milimetr/Desktop/x/askql/dist/askvm/lib/run.js:47:15)
    at Generator.next (<anonymous>)
    at /Users/milimetr/Desktop/x/askql/dist/askvm/lib/run.js:8:71
    at new Promise (<anonymous>)
    at __awaiter (/Users/milimetr/Desktop/x/askql/dist/askvm/lib/run.js:4:12)
    at Object.run (/Users/milimetr/Desktop/x/askql/dist/askvm/lib/run.js:22:12)

Seems fixed with https://github.com/xFAANG/askql/pull/212

Right, thanks for noticing!


canonicalizeName(): use str_replace instead of strtr function

Hello,
After profiling my zf2 app, I saw that strtr() function in ServiceManager::canonicalizeName() was a little bit "too expensive": 3.41MB memory (48% of the memory used), almost 4ms CPU time (5% of the total time).
strtr function is actually called 500 times (in my app) from canonicalizeName method.
After some tests, it seems that str_replace function is far more efficient than strtr (in this particular case at least): 132KB for memory and 704µs for CPU time.
I'm not a suporter of "over-optimization", but I think this little enhancement could be interesting
I can create a PR if you want.
Benchmarks (BlackFire)
My app
Benchmark on a working zf2 app (499 services use the strtr function).
 VS
strtr() vs str_replace()
Isolated benchmark of str and str_replace functions. Almost 4 millions iterations. Use services string from existing zf2 app.
 VS

Arthur Schwaiger

The first example is not conclusive because one method was called half of times than other. So seems to be a comparison with different scenarios.
Please send a PR with your proposal and we'll review if its safe to make that replacement.

Yep, my bad. The screenshot is not good. Actually the 3.8ms are 95% used by strtr() from canonicalizeName() method.
I will send a PR :)

Interesting... I remember removing str_replace and using strtr for similar
(opposite) reasons. Did PHP just get better at it?
On Dec 5, 2015 03:49, "Arthur Schwaiger"<EMAIL_ADDRESS>wrote:

Yep, my bad. The screenshot is not good. Actually the 3.8ms are 95% used
by strtr() from canonicalizeName() method.
I will send a PR :)
—
Reply to this email directly or view it on GitHub
https://github.com/zendframework/zend-servicemanager/issues/57#issuecomment-162134107
.

This benchmark http://micro-optimization.com/strtr-vs-str_replace.html and this other https://3v4l.org/13N5N show different results for same PHP versions (first one look to be executed in a Mac platform)
And here there is an advice about possible secondary effects http://stackoverflow.com/questions/8177296/when-to-use-strtr-vs-str-replace

@Maks3w Actually I use the same code for the second benchmark. Except that I give two arrays (with all services names and all chars to replace): maybe that's the difference.
See these gists used for the second benchmark:
strtr(): https://gist.github.com/Colmea/3d7d73efaef493e1a6ab
str_replace(): https://gist.github.com/Colmea/d191cc512cfd93a9ee24
Maybe you could test it on your own server ?
Regarding secondary effects, it only happens when one char in the to array is also in the from array. That's not a problem for us since, in the end, we only want to remove these chars.
About that, str_replace allow us to avoid the use of an array for the 'to' param:
str_replace(array('-', '_', '\\', ...), '', $name);
That's not possible with strtr, which need the same length for from and to params.

this functionality is removed in ZF3
"In v3, service names are case sensitive, and are not normalized in any way."
https://github.com/zendframework/zend-servicemanager/blob/develop/doc/book/migration.md#case-sensitivity-and-normalization

@tasmaniski Yes, still useful for v2 :)
About that, how do you manage fixes that you need in v2 but not in v3 ? I have to send a PR in the master branch, right ?

About that, how do you manage fixes that you need in v2 but not in v3 ? I have to send a PR in the master branch, right ?

Correct.

Can be closed @Ocramius since v3 has been released.

Closing as invalid


Fuel model

We also need to decide what we call the stuff that we consume. I believe "gas" is disfavoured. "Fuel" would be fine. My semi-serious suggestion is "mana".

The two types of resources that I put as stand-ins right now in the example in the Plutus integration spec are

number of (beta-)reduction steps
units of memory needed

In order to validate, a script application computation has to use up to a certain amount of each of the two types of resources. A script has to declare the amount of each that it plans to use, and the computation is stopped as soon as it requires more.

@polinavino pointed me at this.  I've done a lot of work on resource analysis.  Happy to discuss any ideas :)
The correct technical term is probably "potential", but "fuel" is a reasonable analogy.  You can also use currency analogies (these are a better analogy than fuel if you have discrete values).  PlutoDollars? :)


A socket file causes 'restore' to skip all subsequent files in the directory.

Output of restic version
$ ./restic_0.8.3_linux_amd64 version
restic 0.8.3
compiled with go1.10 on linux/amd64
How did you run restic exactly?

$ ./restic_0.8.3_linux_amd64 -r restic-repo/ restore -t restoreDir 965ab679
What backend/server/service did you use to store the repository?
Local directory
Expected behavior

Restore all files and directories.
In particular, I have this original directory:
$ ls -l site/logs/
total 82132
-rwxrwx--- 1 likebike likebike 22713576 Jan 25  2012 access_log
-rwxrwx--- 1 likebike likebike  3877663 Feb 22  2012 access_log_addon
srwxrwx--- 1 likebike likebike        0 Jan 25  2012 cgisock.30489
-rwxrwx--- 1 likebike likebike    86078 Feb 22  2012 cron_log
-rwxrwx--- 1 likebike likebike 11111670 Feb 22  2012 error_log
-rwxrwx--- 1 likebike likebike   651243 Feb 22  2012 error_log_addon
-rw-rwx--- 1 likebike likebike        4 Jan 25  2012 fcgid_shm
drwxrwx--- 2 likebike likebike     4096 Jan 25  2012 fcgidsock
-rw-rwx--- 1 likebike likebike        6 Jan 25  2012 httpd.pid
-rwxrwx--- 1 likebike likebike 45640374 Feb 22  2012 tunnel_log

Notice that it contains a "cgisock.30489" file.  I guess it's reasonable to skip that special file, but I'd like all the other normal files to be restored.
Actual behavior

Here is the 'logs' directory after a restore:
$ ls -l restoreDir/site/logs/
total 25972
-rwxrwx--- 1 likebike likebike 22713576 Jan 25  2012 access_log
-rwxrwx--- 1 likebike likebike  3877663 Feb 22  2012 access_log_addon

Notice that the restore process stopped at the socket file, and also skipped all subsequent files and directories.
FORTUNATELY, the subsequent files are located in the backup, they just aren't being restored:
$ ./restic_0.8.3_linux_amd64 -r restic-repo/ ls -l 965ab679 | grep site/logs
enter password for repository:
drwxr-xr-x  1001  1001      0 2012-01-25 13:25:05 /site/logs
-rwxrwx---  1001  1001    342 2012-02-22 14:04:02 /site/logs/.oldcron
-rwxrwx---  1001  1001 22713576 2012-01-25 18:14:57 /site/logs/access_log
-rwxrwx---  1001  1001 3877663 2012-02-22 17:37:20 /site/logs/access_log_addon
Srwxrwx---  1001  1001      0 2012-01-25 13:25:04 /site/logs/cgisock.30489
-rwxrwx---  1001  1001  86078 2012-02-22 14:04:00 /site/logs/cron_log
-rwxrwx---  1001  1001 11111670 2012-02-22 17:32:21 /site/logs/error_log
-rwxrwx---  1001  1001<PHONE_NUMBER>-02-22 17:37:20 /site/logs/error_log_addon
-rw-rwx---  1001  1001      4 2012-01-25 13:25:05 /site/logs/fcgid_shm
drwxrwx---  1001  1001      0 2012-01-25 18:18:29 /site/logs/fcgidsock
-rw-rwx---  1001  1001      6 2012-01-25 13:25:05 /site/logs/httpd.pid
-rwxrwx---  1001  1001 45640374 2012-02-22 17:37:29 /site/logs/tunnel_log

...So if this bug is just fixed in the restore process, all data should be recoverable.
Steps to reproduce the behavior

You can easily re-create this kind of directory+socket structure like this:
$ mkdir -p test/x
$ touch test/{a,b,y,z}
$ python -c "import socket as s; sock = s.socket(s.AF_UNIX);

$ ls -l test
total 4
-rw-rw-r-- 1 likebike likebike    0 Apr 20 13:56 a
-rw-rw-r-- 1 likebike likebike    0 Apr 20 13:56 b
srwxrwxr-x 1 likebike likebike    0 Apr 20 13:56 c
drwxrwxr-x 2 likebike likebike 4096 Apr 20 13:56 x
-rw-rw-r-- 1 likebike likebike    0 Apr 20 13:56 y
-rw-rw-r-- 1 likebike likebike    0 Apr 20 13:56 z

Do you have any idea what may have caused this?
Do you have an idea how to solve the issue?
Did restic help you or made you happy in any way?

Yes!  Restic is a great solution to a problem we all have.  I like its design a lot!  Thank you.  :)

Related: #82

Thanks for the report! I'll look into it.


Adding Show pages for some import types.

What's this PR do?
This pull request adds a "show" page for individual Email Subscription and Mute Promotion import files:

It also does a little bit of cleanup on some styles, some directory naming and updates the ImportFileFactory to add in fake options data into the seeded records so they more closely match what a real record looks like and makes it easier to work on development of the new Admin UI.
How should this be reviewed?
👀
Any background context you want to provide?
...
Relevant tickets
References Pivotal #179016026.
Checklist

[x] This PR has been added to the relevant Pivotal card.
[ ] Documentation added for new features/changed endpoints.
[ ] Added appropriate feature/unit tests.

@DFurnes made a quick update in this commit to add a new FakerImportOptions class to handle what I previously had as a function in the ImportFilesFactory. I believe since I had defined it as a standalone function there, every time the factory ran it was recalling it and throwing an error since the function already existed. So I popped it out into it's own class, like some of those other faker providers we include :)


Add rocsolver for symmetric/hermitian eigenvalue problem

the rocsolver wrappers have been merged with the nlcglib pr.


Renamed variable to avoid confusion

Also referenced the corresponding section of the "Pattern matching" article.
Fixes #7030

@BillWagner

I'm 😥 in myself for using that variable name.

If you catch such names when reviewing my PRs (that name was introduced by me originally), please let me know. I would like to learn to come up with better names :).

@pkulikov

If you catch such names when reviewing my PRs (that name was introduced by me originally), please let me know. I would like to learn to come up with better names :).

I was sure that was me. At any rate, I missed it when reviewing.  We're moving in the right direction....


How can I get a access_token for activesync protocol。

Core Library
MSAL Node (@azure/msal-node)
Core Library Version
1.0.0
Wrapper Library
MSAL Node Extensions (@azure/msal-node-extensions)
Wrapper Library Version
1.0.0
Description
According to Authenticate an IMAP, POP or SMTP connection using OAuth。we can get access_token for imap/pop3/smtp。but i can't find any document discuss how to get access_token for activesync
for example, i use scopes like this
 const requestScopes = ["offline_access", 'https://outlook.office.com/SMTP.Send'];

i can get an access_token to send mail with smtp protocal。what scopes should i use if i  want to get an access_token for activesync
MSAL Configuration
No response
Relevant Code Snippets
No response
Identity Provider
No response
Source
External (Customer)

@Leaking I'm not finding any information about this, unfortunately. Have you considered using the Microsoft Graph API to send email: https://docs.microsoft.com/en-us/graph/api/user-sendmail?view=graph-rest-1.0&tabs=http


Git-plus not working after update!

After updating Git-plus to 7.9.1 , it stops working.
Can not add and commit!!

what is the error you are receiving?

Have you tried doing rollback to see if it fixes? What system you running?

Darwin Mohammads-MacBook-Pro.local 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64

Same here. Atom 1.17 and git-plus 7.91. MACos ... 10.12.5

Yes correct. I thought I was crazy. The only thing I changed on Ubuntu was upgrading from Atom 1.16 to 1.17 and then applying the git-plus update to the latest 7.9.1 version
That's all. Before I was able to commit, add, pull, push, everything. Now nothing works. What is curious is that at the bottom it knows the changes on the remote master and it knows the changes I have done on several files.
Just in case right now am doing all git commands over the terminal while this gets fixed.

@Pageboy @luisalvarado @gholami-mohammad No commands work at all? Are you invoking them from the command palette or context menus or by keymappings?

Commands work from command palette but not work on context menus

I just pushed an update to fix #666. This may have been the same issue

Tanks. Solved for me.

Confirmed, everything is working on the context menu. Excellent work @akonwi
This is also confirmed by my 7 men crew of developers since updating to 7.9.2


BrokenPipeError - max_connection_lifetime using processor time in Python 2

Using Google AppEngine I've been getting repeatable BrokenPipeErrors after leaving a server instance alone for a while (~1 hour).  When the server instance is first spun up a new neo4j driver instance is created and running a query works as expected, then after being left idle any query raises a BrokenPipeError.
Driver version: Python driver 1.7.6
Operating System: Google AppEngine Python 2, also MacOS
Expected behavior
After setting max_connection_lifetime very low (5 seconds), connections should not be reused after long periods of time, causing BrokenPipeErrors.
Investigation
Based on the suggestions and explanations in https://github.com/neo4j/neo4j-python-driver/issues/131 and https://github.com/neo4j/neo4j-python-driver/issues/316 I've tried adjusting max_connection_lifetime, but the problem persists even setting it down to 5 seconds (Google AppEngine docs say sockets can be reclaimed after 2 minutes, so I'd expect 5 seconds to very safely under that).
Looking through the code to see how max_connection_lifetime is used, I see that it's used by neobolt.direct.Connection.timedout(), and it's using perf_counter() to determine how long the Connection object has existed.
perf_counter() is defined twice by neobolt.compat for Python 2 though.  First as time.time() then again as time.clock(), but time.clock() does not necessarily include sleep or idle time, which would be necessary for tracking how long a Connection has been alive.
In my case, after leaving a Connection idle for an hour Connection.timedout() thinks it's been a live for only a fraction of a second, but if it had been using time.time() instead of time.clock() it'd correctly know the Connection is too old to be reused.

@cadryden Hi, sorry for a late reply. This https://github.com/neo4j-drivers/neobolt/commit/9fadc295a00502e980af99223344838c31bb1857 should this issue.
Cheers Martin

Thanks @martin-neotech !

@cadryden a new version of neobolt have been released also today with this fix.


feat(prettier): addd trailing comma

Current dependencies on/for this PR:

main

PR #1422   👈

This stack of pull requests is managed by Graphite.


Admin Notice issue

Link for "Addons Tab" in admin notice "We have detected that you are using Maera with the Core shell active. Did you know there are more shells you can use to extend the Maera Framework? Visit the Addons tab in your theme options to explore more options." does not work
Further, themes must not add admin notices

Fixed


23 | Merge K Sorted List | Python

23. Merge K Sorted List -
What will change -
Add solution for problem no 23 in Python
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] Python

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

can you assign it to me ?


No field to edit Cluster comments

Issue type
[ ] Feature request
[X] Bug report
[ ] Documentation
Environment

Python version:  3.5.2
NetBox version:  origin/dev-2.2 e93129f1

Description
When you view Clusters you can see there is a 'comments' field.  However, when you create a Cluster there is no field to enter the comments. Ditto when you click Edit on an existing cluster (e.g. /virtualization/clusters/1/edit/).

Fixed by #1517


Fix Doxygen warnings

Fixes a few warnings due to missing files that were introduced when the docs site was split from dev-docs.

Coverage remained the same at 100.0% when pulling 87ad53009287228796febc5b7fc3a15a854e8ad5 on isaacbrodsky:docs-fix-warnings into 2765f173113ad55d9e03c31d859d9aa98c381453 on uber:master.


Dynamically get kitware asc key

Signed-off-by: Yang Keao<EMAIL_ADDRESS>What problem does this PR solve?
Fix #392
Another change is to use official ubuntu mirror default (rather than aliyun mirror). The source address can be controled by environment variable UBUNTU_MIRROR.
Check List
Tests

Manual test

/test

Codecov Report

Merging #395 into master will decrease coverage by 1.82%.
The diff coverage is 50.26%.

@@            Coverage Diff             @@
##           master     #395      +/-   ##
==========================================
- Coverage   60.40%   58.57%   -1.83%
==========================================
  Files          36       60      +24
  Lines        1985     3626    +1641
==========================================
+ Hits         1199     2124     +925
- Misses        692     1333     +641
- Partials       94      169      +75

Impacted Files
Coverage Δ

api/v1alpha1/iochaos_types.go
32.55% <ø> (ø)

api/v1alpha1/podchaos_types.go
32.55% <ø> (ø)

api/v1alpha1/timechaos_types.go
4.34% <0.00%> (-0.31%)
:arrow_down:

controllers/kernelchaos_controller.go
0.00% <0.00%> (ø)

pkg/chaosdaemon/netlink_linux.go
0.00% <0.00%> (ø)

pkg/chaosdaemon/server.go
44.44% <0.00%> (ø)

pkg/ptrace/ptrace_linux.go
65.92% <ø> (ø)

pkg/utils/coalescer.go
0.00% <0.00%> (ø)

pkg/utils/graph.go
0.00% <0.00%> (ø)

pkg/utils/grpc.go
0.00% <0.00%> (ø)

... and 56 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 4eb9108...a722834. Read the comment docs.


Running code only with RGB images

Dear all,
I was able to run the code with the Kaggle image set, I would like to perform some predictions on sattelite photos of mine, but they are only in RGB (I don't have any Panachormatic  and others wavelength images), is this possible?
Thanks
G.

I was thinking about training the network with orthophotos, kind of higher quality images, but they are only RGB and as you mentioned they are 8bit with a resolution of 17500*12000. The positive think is that they are really geolocalized.

This is fine. There is no problems with running this solution only on RGB data. While IR channels are very valuable to differentiate greenery because of its special spectral characteristics, it is totally fine to use only high resolution RGB for any task. Basically, if human eye could see it, network will too.
However, different kind of images will require full retrain or at least fine tuning.

I downloaded the dataset from spacenet, do you have any good tip to prepare the training data to be compliant with the code?


No header displayed

Hello,
I just got the AO app and so far I love it, but I have a problem with the Interface, I can't see the header. I just have the Search Bar and the profile picture of the E-Mail Account and the background is blue.
How can I add the header like in the pictures?
I am running Zorin OS 15.
Regards

Same issue. I can't see the coloured headers for each list either.


add move-text-internal and keybindings from the-efs-config(i think thats where i got it)

this is what i had in my config that was based on emacs-from-scratch
(defun move-text-internal (arg)
  (cond
   ((and mark-active transient-mark-mode)
    (if (> (point) (mark))
        (exchange-point-and-mark))
    (let ((column (current-column))
          (text (delete-and-extract-region (point) (mark))))
      (forward-line arg)
      (move-to-column column t)
      (set-mark (point))
      (insert text)
      (exchange-point-and-mark)
      (setq deactivate-mark nil)))
   (t
    (beginning-of-line)
    (when (or (> arg 0) (not (bobp)))
      (forward-line)
      (when (or (< arg 0) (not (eobp)))
        (transpose-lines arg))
      (forward-line -1)))))

(defun move-text-down (arg)
  "Move region (transient-mark-mode active) or current line
   arg lines down."
  (interactive "*p")
  (move-text-internal arg))

(defun move-text-up (arg)
  "Move region (transient-mark-mode active) or current line
   arg lines up."
  (interactive "*p")
  (move-text-internal (- arg)))

(global-set-key [\M-\S-down] 'move-text-down)
(global-set-key [\M-\S-up] 'move-text-up)

An alternative is to use the move-text package.

An alternative is to use the move-text package.

sure, but isnt part of the idea to use as much builtin functionality as possibe?

Maybe use both solutions then?  Or ask David.

Maybe use both solutions then?  Or ask David.

Yeah
Let the user decide

It is probably worth noting that Emacs has been moving some functionality which use to be in 'core' emacs into the GNU ELPA package repository.  So wanting to use 'core' Emacs functionality doesn't mean not using packages. It probably means we should prioritise packages from GNU ELPA (and maybe NONGNU ELPA) over other sources, such as MELPA or Github/Gitlab repositories?

closing (to cleanup) because its easy to implement yourself, install that package mentioned or copy from somewhere else
feel free to mention if anyone wants to do it


[fixes #2724] Increase priority of Builder annotation removal

Otherwise they may run after HandleDelegate. This is problematic as
HandleDelegate parses the compulation unit and @Builder may contain imports
(eg AccessLevel) that were already removed by other processors, eg @Getter.

Thanks, this is indeed a problem.

Please add your name the the AUTHORS file so we are legally covered
A simple test case for this would be great, can you add one?

Thanks, this is indeed a problem.

Please add your name the the AUTHORS file so we are legally covered
A simple test case for this would be great, can you add one?

Oops, had alerts on mute. I'll add my name to the AUTHORS.
Not sure how to do the test case, but I'll try.

@md-5 Any news?

@Rawi01 the patent grant in the AUTHORs file is far broader than I think intended.

By adding your name to this list, you grant full and irrevocable copyright and patent indemnity to Project Lombok and all use of Project Lombok, and you certify that you have the right to do so for all commits you add to Project Lombok.

The problem being I don't read the patent indemnity as just being limited to my contributions, it suggests that I would indemnify Project Lombok in relation to any claims.

@md-5 Thats obviously not intended but I agree that it is possible to misunderstand that part.
I modified that sentence a little bit, do you think that it is better?

By adding your name to this list, you grant full and irrevocable copyright and patent indemnity to Project Lombok and all use of Project Lombok for all commits you add to Project Lombok and you certify that you have the right to do so.

@rzwitserloot @rspilker WDYT?

@Rawi01 I'd probably suggest:

By adding your name to this list, you grant full and irrevocable copyright and patent indemnity to Project Lombok and all use of Project Lombok in relation to all commits you add to Project Lombok and you certify that you have the right to do so.

But the above language is probably OK.
An alternative would be to consider a proper CLA, I quite like the Harmony agreements which provide for a copyright assignment option: http://selector.harmonyagreements.org/
As for a test case, #2724 has one though I'm not 100% sure how to unit-test-ify it

@Rawi01 I've rebased to master and added passing unit tests

Also signed the amended AUTHORS, so hopefully this can be merged now

Legendary, thanks :)


[CHALLENGE SUBMISSION] Challenge 18

Please provide the following information for your submission:
What is your name?
Mandar Dharmadhikari
Where is your GitHub Repo ?
https://github.com/mandardhikari/25DaysOfServerlessChallange18
What Challenge is this for?
Challenge 18
(Optional) Anything else we should know? e.g., language used, location, blog post?
The solution discusses two approaches to trigger azure functions, one using event grid and another using Blob Trigger

From all of us on the Cloud Advocacy team at Microsoft, thank you for creating this issue!
Have a Happy Holiday season!
Feel free to share your solution on Twitter with the tag #25DaysOfServerless


#140 make Prop and Proposition synonyms when searching for measures

Update to search/populate_data.py, to define a custom analyzer and filter to define the synonym.
Just rerun the script the redefine and populate the indexes.
Tested locally using:
curl 'localhost:9200/measures/_analyze' -d '{ "analyzer" : "measure_synonyms", "text" : "prop 52" }'
and
curl 'localhost:9200/_search?pretty&q=prop%2052'

👍  Thank you Udi!


Improve reporting of PR-merge jobs skipped because of staleness

This PR makes the following changes to the way we report skipping a PR-merge job because of staleness.

On Jenkins, it reports NOT_BUILT, resulting in a grey ball (instead of the current FAILED / red ball)
On Github, it reports FAILED, to prevent accidental merging based on a stale result (currently we silently ignore stale builds, and continue reporting the last status).

Test run: https://jenkins-mbedtls.oss.arm.com/job/mbed-tls-pr-ci-testing/job/PR-759-merge/15/

@gilles-peskine-arm The manual test run has passed. Are you fine with merging this PR now?


Feat: Ability to view resulting model layer by layer

I'm building all of my models in survival, most of the time bottom up. Its super helpful in some more complex models to be able to view them layer by layer, much like mineprints.net for example supports.

My naive take would be to limit the resulting mesh to a certain height, settable through a slider. If you could give me one or two hints on where to start looking, I would try to do this :)

Firstly you'll need to pass a new uniform variable to the voxel mesh shader called something like u_sliceHeight, this would be in Renderer._drawBlockMesh. Then you'll need to modify the vertex shader file block_vertex.vert to check if the vertex position height is above u_sliceHeight and if so discard the vertex (or set it's position to (0, 0, 0)).
That leaves actually creating a UI element for a slider that sets the u_sliceHeight, there's already a SliderUIElement that could be tweaked and placed on the viewpoint toolbar somewhere.
Hope this helps.

Thanks :) Will check and go on an adventure :D

OK. Making some progress, but I need a little input if possible please :)
I am at a point where the model is cut off X blocks above the grid (the last blocks are cut in half and miss the closing surface, but I hope that changes when my question is answered :D). However my model does not start at y=0. How would I be able to find the lowest block's starting Y coordinate? I need that offset so I can add the number of blocks I want to show in height.

That results currently in something like this:

The +/- buttons I added are currently simply incrementing, decrementing sliceHeight on the shader. That would need to change obviously :D

How would I be able to find the lowest block's starting Y coordinate?

The block mesh is to the renderer in chunks in Renderer.useBlockMeshChunk, it's passed a RenderNextBlockMeshChunkParams.Output parameter which contains a dimensions member variable which is the dimensions of the whole mesh. You can then cache this value somewhere and use it where you need to. An important thing to note is that if dimensions.y is 35, for example, it means the block mesh is 36 blocks tall.
Hope this helps.

As for the other problem what you can do is subtract half of the normal from the vertex to get the actual block position instead of the vertex position.
The problem is that if a block is at (0.0, 30.0, 0.0), the vertices are (-0.5, 29.5, -0.5), (0.5, 29.5, -0.5), (0.5, 29.5, 0.5), (-0.5, 29.5, 0.5), (-0.5, 30.5, -0.5), (0.5, 30.5, -0.5), (0.5, 30.5, 0.5), (-0.5, 30.5, 0.5). (That's before they're multiplied by u_voxelSize). So if your u_sliceHeight is 30, then the bottom vertices will be drawn but the top vertices will be discarded. When you subtract half of each vertex's normal from its position the vertices become (0.0, 30.0, 0.0), (0.0, 30.0, 0.0), (0.0, 30.0, 0.0), (0.0, 30.0, 0.0), (0.0, 30.0, 0.0), (0.0, 30.0, 0.0). Which should then allow you to treat all vertices of the same block in the same manner.
Hope this helps.

There will most definitely be floating-point precision issues, however, so you'll need to incorperate some nearly equals when checking the height of the normal-corrected vertex as.

My initial take on this is at https://github.com/mduft/ObjToSchematic/commit/b5328d091eecdc903db4fa8900384d7745c3f10c - however I'm unable to cope with the half-block-rendering issue xD I'm completely lost on where to correct the vertex positions, and how to deal with that in the shader. Maybe what I have so far is of use to someone...

No problem, I can take a look and fix up the rest and get it merged in sometime soon! Thanks for getting this in a good position 😁

Heyaaa, that sounds incredible :D It will be easier than ever to build things in minecraft :D Thanks a ton for all the advice (even though that resulted in less lines of code than advice written by you xD), and for having a look at it. Feel free to pick the commit and/or tell me if I should open a PR with the unfinished changes.

Opened PR #104, adding to new /0.8-slice-viewer branch.

Closed with 901e83e9871f0013fafe5e122d2ddafef091b2e8.


Lots of modifications and things done different, would love to discuss.

I've made my own version and went quite a different route, would love to have a chat and discuss ideas on how things can be done more intelligent in both ways. I use computer vision and a template file to find the captcha buttons and to escape those. Furthermore I made all links independant from the CSS classes since those random strings are changed all the time I noticed and work with a .env file containing the following info (you can use 3 notifiers), I actually haven't tested auto_purchase yet.
example.env.txt
ticketswap_bot.py.txt

Drop me a mail at<EMAIL_ADDRESS>if you want to discuss ;)

Hey @johnneerdael, was just looking for a TicketSwap bot and came across your recent comment. Wondering if it works, and, if so, if I could use it? :) I don't have much experience with Python tbh so would appreciate the help. Thanks in advance either way!

Otherwise I wouldn't have posted it, it's definitely not perfect yet, but it does work for me, my buddy had issues with identation and a small bug, so without any python you are going to struggle with them unless you have a coding buddy to help (ChatGPT ;)

Hey @johnneerdael: how do you bypass the captcha? I see that you have attached the 'click again' image. Is this image needed by the code? Thanks in advance.

@johnneerdael I notice that I get the following notification: 'Hmm, too many refreshes...
You’ve lost access to this page. You’ll automatically get access again soon – no need to contact us'. Did you also encounter this problem when using your code?

Yes friends have same issues, seems for the rest you got it running dandy fine if you get that far. I have some  ideas to work around this and will update when done

ticketswap_bot.py.v2.txt
You were completely right and I fixed at least those things ;)

hi. I ended here because pablo's version didn't worked for me and I tried this last yours. I don't know pretty much about python so I need kind of help if you can :)
I'm getting this problem:

Exception has occurred: OSError
Environment variable<EMAIL_ADDRESS>is not set
File "C:\Users\Enrique\Desktop\ticketswap_bot.py.v2.txt", line 46, in validate_env_vars
raise EnvironmentError(f'Environment variable {var} is not set')
File "C:\Users\Enrique\Desktop\ticketswap_bot.py.v2.txt", line 21, in init
self.validate_env_vars()
File "C:\Users\Enrique\Desktop\ticketswap_bot.py.v2.txt", line 316, in main
bot = TicketSwapBot()
^^^^^^^^^^^^^^^
File "C:\Users\Enrique\Desktop\ticketswap_bot.py.v2.txt", line 326, in
main()
OSError: Environment variable<EMAIL_ADDRESS>is not set

So it's not possible to use your bot? Or it doesn't work anymore if I got it right? thanks in advance

Thank you for submitting this issue @johnneerdael If you want to elecit your changes or have anything specific to discuss please feel free to do so. In the meantime, I'll be sure to close this issue for housekeeping purposes.

Thank you for submitting this issue @johnneerdael If you want to elecit your changes or have anything specific to discuss please feel free to do so. In the meantime, I'll be sure to close this issue for housekeeping purposes.


Credit Transactions | Click on transaction to open |1|

https://trello.com/c/sLg4Drzo/989-credit-transactions-click-on-transaction-to-open-1
Story:
As a TFRS user, I want to be able to easily open a credit transaction so that I can view the details of the transaction.
Scenario:
GIVEN that I am a TFRS user
AND I am on the Credit Transaction webpage
WHEN I click **anywhere ** on a transaction entry row within the Credit Transactions table
THEN the transaction view screen opens
AND I am able to view the details of the transaction
Additional Design Requirements:

Highlight the entire row when you move your mouse over it
Change the mouse cursor to indicate that the row is clickable

 Credit Transactions | Click on transaction to open |1|


[SQL][minor] move resolveGetField into a object

The method resolveGetField isn't belong to LogicalPlan logically and didn't access any members of it.

Can one of the admins verify this patch?

cc @marmbrus, it's a follow-up of https://github.com/apache/spark/pull/5304.

ok to test

Test build #30096 has started for   PR 5435 at commit 9a66c83.

Test build #30096 has finished for   PR 5435 at commit 9a66c83.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/30096/
Test PASSed.

Awesome, thanks!  This looks much cleaner.  Merging to master.


Sytax error in current build =>Need small correction in InMemoryIdentityManagerService.cs

updateprops.AddRange(PropertyMetadata.FromType());
Need the following correction:
updateprops.AddRange(PropertyMetadata.FromType(""));

The latest code builds fine. Where is this that is failing?

Any update?

It is working now. Thanks