[BUG] Manifest Download Error with Powershell 7

Please confirm these before moving forward

[X] I have searched for my issue and have not found a work-in-progress/duplicate/resolved issue.
[X] I have tested that this issue has not been fixed in the latest (beta or stable) release.
[X] I have checked the FAQ section for solutions.
[X] This issue is about a bug (if it is not, please use the correct template).

UniGetUI Version
3.1.4 Beta 1
Windows version, edition, and architecture
Microsoft Windows 11 Pro 10.0.22631 N/A Build 22631
Describe your issue
With the recent beta changes to fix the Powershell 7 Repos I can now see packages correctly, but noticed an error in the UnigetLogs mentioning a failure to download the manifest for one of the modules. (Also mentions a failure to download the manifest for the manager itself)

If this is just an expected intermittent error feel free to close this issue out I just wanted to mention it in case it was indicative of a problem.
Steps to reproduce the issue
No response
UniGetUI Log
[11/18/2024 5:27:05 PM]    __  __      _ ______     __  __  ______
                          / / / /___  (_) ____/__  / /_/ / / /  _/
                         / / / / __ \/ / / __/ _ \/ __/ / / // /
                        / /_/ / / / / / /_/ /  __/ /_/ /_/ // /
                        \____/_/ /_/_/\____/\___/\__/\____/___/
                            Welcome to UniGetUI Version 3.1.4-beta1
[11/18/2024 5:27:05 PM]
[11/18/2024 5:27:05 PM] Build 71
[11/18/2024 5:27:05 PM] Encoding Code Page set to 437
[11/18/2024 5:27:06 PM] Using built-in UniGetUI Elevator
[11/18/2024 5:27:06 PM] Loaded language locale: en
[11/18/2024 5:27:06 PM] Lang files were updated successfully from GitHub
[11/18/2024 5:27:07 PM] Downloaded new icons and screenshots successfully!
[11/18/2024 5:27:07 PM] Command vcpkg was not found on the system
[11/18/2024 5:27:07 PM] Command npm was not found on the system
[11/18/2024 5:27:07 PM] Command cargo was not found on the system
[11/18/2024 5:27:07 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: vcpkg
                        █ Enabled: True
                        █ Found: False
                        █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                        █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[11/18/2024 5:27:07 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Npm
                        █ Enabled: False
                        █ THE MANAGER IS DISABLED
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[11/18/2024 5:27:07 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Cargo
                        █ Enabled: True
                        █ Found: False
                        █ THE MANAGER WAS NOT FOUND. PERHAPS IT IS NOT
                        █ INSTALLED OR IT HAS BEEN MISCONFIGURED
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[11/18/2024 5:27:07 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: .NET Tool
                        █ Enabled: False
                        █ THE MANAGER IS DISABLED
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[11/18/2024 5:27:07 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Pip
                        █ Enabled: False
                        █ THE MANAGER IS DISABLED
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[11/18/2024 5:27:07 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Winget
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: winget.exe
                        █ Executable path: C:\Users\Joshu\AppData\Local\Microsoft\WindowsApps\winget.exe
                        █ Call arguments:
                        █ Version:
                        █   System WinGet CLI Version: v1.9.25200
                        █   Using Native WinGet helper (COM Api)
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[11/18/2024 5:27:08 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: PowerShell7
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: pwsh.exe
                        █ Executable path: C:\Program Files\PowerShell\7\pwsh.exe
                        █ Call arguments:  -NoProfile -Command
                        █ Version:
                        █   PowerShell 7.4.6
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[11/18/2024 5:27:08 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Chocolatey
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: choco.exe
                        █ Executable path: C:\Users\Joshu\AppData\Local\UniGetUI\Chocolatey\choco.exe
                        █ Call arguments:
                        █ Version:
                        █   2.2.2
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[11/18/2024 5:27:08 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: Scoop
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: scoop
                        █ Executable path: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
                        █ Call arguments:  -NoProfile -ExecutionPolicy Bypass -Command scoop
                        █ Version:
                        █   Current Scoop version:
                        █   859d1db5 chore(release): Bump to version 0.5.2 (#6080)
                        █
                        █   'main' bucket:
                        █   eb2054e3f winget: Update to version 1.9.25200
                        █
                        █   'extras' bucket:
                        █   aa594f757 treesheets: Update to version<PHONE_NUMBER>9
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[11/18/2024 5:27:09 PM] ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
                        █▀▀▀▀▀▀▀▀▀▀▀▀▀ MANAGER LOADED ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
                        █ Name: PowerShell
                        █ Enabled: True
                        █ Found: True
                        █ Fancy exe name: powershell.exe
                        █ Executable path: C:\Windows\system32\windowspowershell\v1.0\powershell.exe
                        █ Call arguments:  -NoProfile -Command
                        █ Version:
                        █   Name                           Value
                        █   ----                           -----
                        █   PSVersion                      5.1.22621.4391
                        █   PSEdition                      Desktop
                        █   PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
                        █   BuildVersion                   10.0.22621.4391
                        █   CLRVersion                     4.0.30319.42000
                        █   WSManStackVersion              3.0
                        █   PSRemotingProtocolVersion      2.3
                        █   SerializationVersion           <IP_ADDRESS>
                        ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
[11/18/2024 5:27:09 PM] LoadComponentsAsync finished executing. All managers loaded. Proceeding to interface.
[11/18/2024 5:27:09 PM] Dependency Scoop-Search for manager Scoop is present
[11/18/2024 5:27:09 PM] Dependency Git for manager Scoop is present
[11/18/2024 5:27:09 PM] Found 1 installed packages from PowerShell7
[11/18/2024 5:27:10 PM] Ignored updates database was never loaded, so it is going to be loaded now
[11/18/2024 5:27:10 PM] Found 4 installed packages from Scoop
[11/18/2024 5:27:10 PM] Failed to download the PowerShell7 manifest at Url=https://marticliment.com/unigetui//Packages(Id='BurntToast',Version='1.0.0') with status code NotFound
[11/18/2024 5:27:10 PM] No manifest content could be loaded for package BurntToast on manager PowerShell7
[11/18/2024 5:27:10 PM] Found 2 installed packages from Chocolatey
[11/18/2024 5:27:10 PM] Found 0 available updates from Chocolatey
[11/18/2024 5:27:10 PM] Found 0 available updates from PowerShell7
[11/18/2024 5:27:11 PM] Found 3 installed packages from PowerShell
[11/18/2024 5:27:12 PM] Found 0 available updates from PowerShell
[11/18/2024 5:27:13 PM] Found 0 available updates from Winget
[11/18/2024 5:27:13 PM] Found 99 installed packages from Winget
[11/18/2024 5:27:13 PM] Found 4 installed packages from Scoop
[11/18/2024 5:27:14 PM] Found 0 available updates from Scoop

Package Managers Logs
Manager PowerShell 7.x with version:
PowerShell 7.4.6

——————————————————————————————————————————

Logged subprocess-based task on manager PowerShell7. Task type is ListSources
Subprocess executable: "C:\Program Files\PowerShell\7\pwsh.exe"
Command-line arguments: " -NoProfile -Command "Get-PSRepository | Format-Table -Property Name,SourceLocation""
Process start time: 11/18/2024 5:27:07 PM
Process end time:   11/18/2024 5:27:08 PM

-- Process STDOUT
  Name      SourceLocation
  ----      --------------
  PSGallery

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager PowerShell7. Task type is ListUpdates
Subprocess executable: "C:\Program Files\PowerShell\7\pwsh.exe"
Command-line arguments: ""
Process start time: 11/18/2024 5:27:09 PM
Process end time:   11/18/2024 5:27:10 PM

-- Process STDIN
  function Test-GalleryModuleUpdate {
      param (
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [version] $Version,
          [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Repository,
          [switch] $NeedUpdateOnly
      )
      process {
          $URLs = @{}
          @(Get-PSRepository).ForEach({$URLs[$_.Name] = If ($_.Uri) {$_.Uri.AbsoluteUri} Else {$_.SourceLocation}})
          $page = Invoke-WebRequest -Uri ($URLs[$Repository] + "/package/$Name") -UseBasicParsing -ea Ignore
          [version]$latest = Split-Path -Path ($page.BaseResponse.RequestMessage.RequestUri -replace "$Name." -replace ".nupkg") -Leaf
          $needsupdate = $Latest -gt $Version
          if ($needsupdate) {
                  Write-Output($Name + "|" + $Version.ToString() + "|" + $Latest.ToString() + "|" + $Repository)
          }
      }
  }
  Get-PSResource | Test-GalleryModuleUpdate

  exit

-- Process STDOUT
  PowerShell 7.4.6
  PS C:\Program Files\WingetUI> function Test-GalleryModuleUpdate {
  >>     param (
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Name,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [version] $Version,
  >>         [Parameter(Mandatory,ValueFromPipelineByPropertyName)] [string] $Repository,
  >>         [switch] $NeedUpdateOnly
  >>     )
  >>     process {
  >>         $URLs = @{}
  >>         @(Get-PSRepository).ForEach({$URLs[$_.Name] = If ($_.Uri) {$_.Uri.AbsoluteUri} Else {$_.SourceLocation}})
  >>         $page = Invoke-WebRequest -Uri ($URLs[$Repository] + "/package/$Name") -UseBasicParsing -ea Ignore
  >>         [version]$latest = Split-Path -Path ($page.BaseResponse.RequestMessage.RequestUri -replace "$Name." -replace ".nupkg") -Leaf
  >>         $needsupdate = $Latest -gt $Version
  >>         if ($needsupdate) {
  >>                 Write-Output($Name + "|" + $Version.ToString() + "|" + $Latest.ToString() + "|" + $Repository)
  >>         }
  >>     }
  >> }
  >> Get-PSResource | Test-GalleryModuleUpdate
  >>
  PS C:\Program Files\WingetUI>
  PS C:\Program Files\WingetUI> exit

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager PowerShell7. Task type is ListInstalledPackages
Subprocess executable: "C:\Program Files\PowerShell\7\pwsh.exe"
Command-line arguments: " -NoProfile -Command "Get-InstalledPSResource | Format-Table -Property Name,Version,Repository""
Process start time: 11/18/2024 5:27:09 PM
Process end time:   11/18/2024 5:27:09 PM

-- Process STDOUT
  Name       Version Repository
  ----       ------- ----------
  BurntToast 1.0.0   PSGallery

Return code: SUCCESS (0)

——————————————————————————————————————————

Logged subprocess-based task on manager PowerShell7. Task type is ListSources
Subprocess executable: "C:\Program Files\PowerShell\7\pwsh.exe"
Command-line arguments: " -NoProfile -Command "Get-PSRepository | Format-Table -Property Name,SourceLocation""
Process start time: 11/18/2024 5:27:33 PM
Process end time:   11/18/2024 5:27:34 PM

-- Process STDOUT
  Name      SourceLocation
  ----      --------------
  PSGallery

Return code: SUCCESS (0)

——————————————————————————————————————————

Relevant information
No response
Screenshots and videos
No response

Also just a note while looking at the code these new changes:

Will probably break pulling in source repos again with the newer versions of PowerShellGet as SourceLocation is no longer a valid property

You could do a calculated property there instead using the same logic added to Test-GalleryModuleUpdate function:
Get-PSRepository | Format-Table -Property Name,@{N='SourceLocation';E={If ($.Uri) {$.Uri.AbsoluteUri} Else {$_.SourceLocation}}}
Powershell 7 with PSGet v3

Powershell 5 with PSGet v2


Group renovate PRs

Inspired by https://github.com/open-telemetry/opentelemetry-go/pull/5772
Use https://docs.renovatebot.com/configuration-options/#groupname

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

Project coverage is 76.08%. Comparing base (16efa69) to head (d9bf22e).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3417      +/-   ##
==========================================
- Coverage   79.00%   76.08%   -2.92%
==========================================
  Files          88       88
  Lines        3405     2898     -507
==========================================
- Hits         2690     2205     -485
+ Misses        641      612      -29
- Partials       74       81       +7

Flag
Coverage Δ

Linux
?

Windows
?

macOS
76.08% <ø> (ø)

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

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


migrate-libs -> 2 versions of the same dependency

First of all, thank you so much for this tool! I'll try to use it in a few repositories and give more feedback if I can.
When using migrate-libs I got a suggestion for 2 versions of the same dependency, I guess is an error, see attached image:

Actually, it's not an error, but clearly, we can add a comment to explain why we propose more than one version!
So for scalatest, there are multiple versions that are compatible with 3.0.0-RC1, and we decided to show the closest to the version you are using, and also the last available. It seems too confusing, Do you think it could be cleared with an additional comment "Multiple versions are published for 3.0.0-RC1".

Oh, sorry then! I guess a comment can be useful, but in any case, I don't consider it a problem, while updating the dependency you'll add only one.
Thanks for the clarification!


Policy Implications - Form Response Retrieval API

To Do:  Analyse scenario and  develop policy questions

Legal opinion received and a summary of the considerations moving forward were shared with the team. Policy will provide more specific guidance as features are developed and design interventions are being contemplated.


Inconsistent datatypes in REST API

There is inconsistent handling of data types between classes in API.
e.g. Dataset.start is mapped as an Instant: https://github.com/Hyperfoil/Horreum/blob/829b8998d9a838fe2ea5044ec13ccdd2f4d52c26/horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/data/DataSet.java#L18
whereas DatasetService#DatasetSummary.start is mapped as a long:
https://github.com/Hyperfoil/Horreum/blob/829b8998d9a838fe2ea5044ec13ccdd2f4d52c26/horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/services/DatasetService.java#L94
The api data model should inherit from base types to ensure consistency between objects being sent/returned from the API

Another example of inconsistent mapping of Access:
https://github.com/Hyperfoil/Horreum/blob/829b8998d9a838fe2ea5044ec13ccdd2f4d52c26/horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/services/RunService.java#L214
vs
https://github.com/Hyperfoil/Horreum/blob/829b8998d9a838fe2ea5044ec13ccdd2f4d52c26/horreum-api/src/main/java/io/hyperfoil/tools/horreum/api/data/DataSet.java#L31

The API datatypes should be refactored to inherit correct mappings from base classes


Updated the README.md

Updated the links to reflect the Apache transfer

Changes Unknown when pulling ca2469df8c77e4c81d237ca25792584788ef909a on update-linkes into ** on master**.


I can't find the absolute encoders on US Digital site

Hi,
I can't find the absolute encoders on the US Digital site (E7 1/8 inch, 10 Bit Analog, Sleeve Bushing (N)). There is also no link in the bom. Is there a replacement type?
Thanks

The link is in the Master Parts list sheet: https://www.usdigital.com/products/encoders/absolute/rotary/shaft/MA3
Make the selections in the Product Configuration column on the right

I am too rational......i presume
Sent from my Samsung Galaxy smartphone.
-------- Original message --------From: xtream1101<EMAIL_ADDRESS>Date: 03/12/2018  9:20 p.m.  (GMT+05:30) To: nasa-jpl/open-source-rover<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: Re: [nasa-jpl/open-source-rover] I can't find the absolute encoders on US Digital site (#70)
The link is in the Master Parts list sheet: https://www.usdigital.com/products/encoders/absolute/rotary/shaft/MA3
Make the selections in the Product Configuration column on the right
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.
{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/nasa-jpl/open-source-rover","title":"nasa-jpl/open-source-rover","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/nasa-jpl/open-source-rover"}},"updates":{"snippets":[{"icon":"PERSON","message":"@xtream1101 in #70: The link is in the Master Parts list sheet: https://www.usdigital.com/products/encoders/absolute/rotary/shaft/MA3\r\n\r\nMake the selections in the Product Configuration column on the right"}],"action":{"name":"View Issue","url":"https://github.com/nasa-jpl/open-source-rover/issues/70#issuecomment-443758100"}}}
[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/nasa-jpl/open-source-rover/issues/70#issuecomment-443758100",
"url": "https://github.com/nasa-jpl/open-source-rover/issues/70#issuecomment-443758100",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Re: [nasa-jpl/open-source-rover] I can't find the absolute encoders on US Digital site (#70)",
"sections": [
{
"text": "",
"activityTitle": "xtream1101",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@xtream1101",
"facts": [
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "IssueComment",\n"repositoryFullName": "nasa-jpl/open-source-rover",\n"issueId": 70,\n"IssueComment": "{{IssueComment.value}}"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "IssueClose",\n"repositoryFullName": "nasa-jpl/open-source-rover",\n"issueId": 70\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/nasa-jpl/open-source-rover/issues/70#issuecomment-443758100"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n"commandName": "MuteNotification",\n"threadId": 419115765\n}"
}
],
"themeColor": "26292E"
}
]


Installing with CocoaPods

Trying to install with CocoaPods but getting this upon building: (Yes I've cleared the derived data/reinstalled with CocoaPods several times)
error: /Users/JDoubs/Library/Developer/Xcode/DerivedData/HList-fvhzfcrevwcftfajqktcdfqymaha/Build/Products/Debug-iphonesimulator/TNImageSliderViewController/TNImageSliderViewController.bundle: No such file or directory

+1


Use twisted.web.client.Agent instead of twisted.web.client.getPage

getPage still isn't deprecated!  It's amazing.  But it really should be and it probably will be.  Also Agent is a lot easier to interact with in tests, has certificate validation features almost by default, and is better in a bunch of other ways too.

Ah, someone did this already (mistakenly looked at my forked, out-of-date version of the code when filing this).

Yes, getPage() was just recently deprecated https://github.com/twisted/twisted/pull/643 :)


Platform Style Selectors: :windows(),:osx(), :linux()

What does the pull request do?
Implements new style selectors:
:windows()
:osx()
:linux()
Example:
Selector=":windows(Button.foo)"
...
Will only match Button.foo if running on windows.
What is the updated/expected behavior with this PR?

There are unit tests in the appropriate places. :)
How was the solution implemented (if it's not obvious)?
I looked at how the not selector was built.
Please check the XamlIlPlatformSelector as I'm not really sure about that one.
Uses RuntimeInformation
Checklist

[ x] Added unit tests (if possible)?
[ x] Added XML documentation to any related classes?
[ ] Consider submitting a PR to https://github.com/AvaloniaUI/Documentation with user documentation (I will when this is approved)

Breaking changes
Shouldn't be any.
Obsoletions / Deprecations
Shouldn't be any.

There are plans with media queries, like CSS has. Which also needs support for os queries https://github.com/AvaloniaUI/Avalonia/pull/7938
Syntax was not agreed though


Update grpc-java to version 0.7.2 [phab:D401]

Created by schroederc at 2015-07-14 23:16:20:

fromberger accepted this revision at 2015-07-15 13:59:53

schroederc closed via commit 9742ec98555db8533beab954dc809735b1963bab at 2015-07-15 15:45:23


Wrong text into section "Next steps"

I think there is a wrong text inside the "Next steps" section here:
"If you're using Business Central on-premises, the EnableTriStateLocking setting in the server configuration must also be set to false to enable tri-state locking. Learn more about configuring the server."
I think the bolded text should be changed from "enable" to "disable", because if you set the parameter to false it is to disable the feature "EnableTriStateLocking ".
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: b4682caf-1b4f-6dbf-4007-ce01a8130f97
Version Independent ID: b4682caf-1b4f-6dbf-4007-ce01a8130f97
Content: Tri-state locking in database - Business Central
Content Source: dev-itpro/developer/devenv-tri-state-locking.md
Service: dynamics365-business-central
GitHub Login: @jswymer
Microsoft Alias: jswymer

Good catch, thanks! The fix will be published soon.


Implemented an if() filter to conditionally pass data

I grew tired of writing:
<input type="text" name="email" {% if not hasEmail %}disabled{% endif %}>
I think the following syntax more concise:
<input type="text" name="email" {{ 'disabled' | if (not hasEmail) }}">
Or
<div class="{{ theme.separatorClass | if (loop.last) }}>

I like it, those if/endif or {{ foo ? 'bar' : '' }} are not so pretty and quite verbose.

Exactly


Weird behavior establishConnection with RxJava#timeout operator.

Describe the bug
Hi everyone, I'm getting a weird bug which I do not understand at all. I'm not really familiar with Rx and the behavior I'm observing is the exact opposite from what I learned. I hope you could help me.
To Reproduce
Here is the code I'm using for trying to get a TimeoutException if it has not been able to connect with 10 seconds.
val device = client.getBleDevice("D8:E4:A2:F1:6A:5F")

        device.observeConnectionStateChanges()
            .observeOn(AndroidSchedulers.mainThread())
            .subscribe { onConnectionStateChange(it) }
            .let { connectionStateChangesDisposable = it }

        device.establishConnection(false)
            .timeout(10, TimeUnit.SECONDS)
            .observeOn(AndroidSchedulers.mainThread())
            .doFinally { connection = null }
            .subscribe({ onConnectionSuccess(it) }, { onConnectionFailed(it) })
            .let { connection = it }

Here is the logcat output I get, As you can see the onConnectionSucess is called (which means an item has been emitted
and should not timeout) but you see that I got the error too.
    registerApp()
    registerApp() - UUID=3d05cead-2aed-4d03-9c79-08837da40896
D/BluetoothGatt: onClientRegistered() - status=0 clientIf=5
D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=D8:E4:A2:F1:6A:5F
D/onConnectionSuccess: Connected com.polidea.rxandroidble2.internal.connection.RxBleConnectionImpl@fa91090
D/BluetoothGatt: onConnectionUpdated() - Device=D8:E4:A2:F1:6A:5F interval=6 latency=0 timeout=500 status=0
D/BluetoothGatt: onConnectionUpdated() - Device=D8:E4:A2:F1:6A:5F interval=36 latency=0 timeout=500 status=0
D/BluetoothGatt: onConnectionUpdated() - Device=D8:E4:A2:F1:6A:5F interval=156 latency=0 timeout=400 status=0
E/onConnectionFailed: The source did not signal an event for 10 seconds and has been terminated.
D/BluetoothGatt: cancelOpen() - device: D8:E4:A2:F1:6A:5F
D/BluetoothGatt: onClientConnectionState() - status=0 clientIf=5 device=D8:E4:A2:F1:6A:5F
D/BluetoothGatt: close()

Expected behavior
In this situation I should not get the Timeout.
Smartphone

Device: One Plus 7 Pro
OS: Android 10
Library version: 1.11.0

Read .timeout() Javadoc which is a part of RxJava library. It should explain all to you.

Excuse me if it is Rx things and not appropriate to issues. I read the doc carefully.
"The Timeout operator allows you to abort an Observable with an onError termination if that Observable fails to emit any items during a specified span of time." from the Rx Documentation.
Isn't the case ? Where establishConnection emits a RxBleConnection..
What am I missunderstanding, please I really stuck on that. Can you point me to the right direction maybe ?

if that Observable fails to emit any items during a specified span of time

It is exactly as it is described:

Subscription
RxBleConnection emission
10 seconds
TimeoutException error emission

You want to unsubscribe from .timeout() after the first emission from .establishConnection() but keep .establishConnection() subscribed to sustain the connection. Check .publish() operator — it may be handy


Cherry-picked for 3.5.2.


parameter issue

Used defined parameters used in various functions are defined ad-hoc throughout the code or passed in the background as global variables. The code will be much easier to read if these parameters are defined in one place and passed as arguments.
e.g. omega in HamCenter1D,
lambda in HamSaddle1D,
flag_pert in HamDuffing1D (the code crashes for flag_pert values other than 1 and 2),
perturbation_params in HamDuffing1D

Yeah, I agree. At the moment, these are hard-coded or either taken from global variables.
In future versions of the modular version of the code, we will definitely consider these enhancements.
Thanks  @vkrajnak


on-device-diffusion-plugins ?

recently y'all posted excellent work: https://ai.googleblog.com/2023/06/on-device-diffusion-plugins-for.html
that article links to the MediaPipe image generation app but it redirects to /
https://mediapipe.page.link/on-device-diffusion-plugins
where's the code?
cc https://github.com/googlesamples/mediapipe/issues/181

@maceip,
As noted here, In the page,
"The MediaPipe Image Generator is coming soon! Get a sneak peek of its capabilities by trying out the Image Generator demo app."
You may now proceed to verify and install the prebuilt Image Generator demonstration application by using the guide here, Which will allow you to explore its capabilities.
Nevertheless, the remaining source codes and comprehensive documentation pertaining to supported platforms will be made fully accessible on the respective page once they have been finalised on our part. At present, we regret to inform you that we are unable to provide a specific timeframe for their availability. Thank you.

will support LCM to make model faster ?


Adding new layers

How would I add another layer to account for the lack of coverage within eeGeo. I would like to simply add a basic 2D map with a layer control as, on your api, it states that this is a useable function, but it makes no mention of how to get the eeGeo layer to add to the control. ie:
var esri2D = L.tileLayer('https://server.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer/tile/{z}/{y}/{x}', {attribution: 'Tiles © Esri'});

    var map = L.eeGeo.map("map", "myKey", {
        center: [53.364726, -1.485031],
        zoom: 6

    });

    var baseMaps = {
        "2D": esri2D,
        "3D": ??????
    };

    L.control.layers(baseMaps).addTo(map);

Have come up with a temporary fix involving hiding/showing 2 map divs and maintaining map position using setView with a L.easyButton applied on each map to toggle the functions:
    function show3D(){
        $j("#map3D").show();
        map3D.setView(map2D.getCenter(), map2D.getZoom()-1);
        $j("#map2D").hide();
    }

    function show2D(){
        $j("#map2D").show();
        map2D.setView(map3D.getCenter(), map3D.getZoom()+1);
        $j("#map3D").hide();
    }

Hi Josh, sorry we are unable to project 2D map layers onto our 3D maps. We are however expanding the coverage of our 3D maps all the time.


Ignore comment continuation for magic comment

Motivation
Hey! I had become more interested in editor tooling in the past month. With the ability to use it at a work now thanks to not needing the gem in bundle, I've had an opportunity to use this tool a lot more. I'm currently writing some greenfield code and find myself creating a lot of new files. As part of that, I end up typing out the magic comment to freeze string literals fairly often.
I find myself typing out the magic comment fairly often and having to remove the extra comment line it adds after hitting enter. Given that the literal freeze comment is like a method invocation (sort of), I figured it might make sense to exclude it from comment continuation logic. This PR puts that in place.
Implementation
I added a condition to the on-type formatter to ensure that the frozen string isn't included. If it might be useful to add this for other magic comments as well, we could also use a Regex instead and check for matches.
Automated Tests
Test added.
Manual Tests

Add a frozen_string_literal: true comment to the top of the document and hit enter.

As a note, I've never worked with Sorbet or dev tooling like this. I tried my best with getting some of this stuff right, but I'm still a bit confused on how to appropriately get the edited version of the gem running locally with the VSCode extension. I was also surprised to see the type annotation for the return of run accept an empty array as a valid input. I come purely from Ruby land, so my type knowledge is limited. I'm not sure if the extension can accept an empty response either.
Please do let me know what I can do better. I'd love to improve my skills with this tooling, so all criticism is welcome.

Signed CLA


How to integrate and use with instances created externally.

In my command-line application, a Config object is instantiated based on user input parameters. Currently, I’ve set up a Provider, and when I manually assign the config field and call provide, then encounter an error stating that   the trait bound Provider: Injectable<'_, Config, Provider> is not satisfied `. How should I proceed?

Hi @zzl221000,
There are multiple ways to inject external dependencies.

If the configuration is known before the instantiation of the provider:

use nject::{injectable, provider};

struct Configuration {
    name: String,
}

#[provider]
struct Provider(#[provide] Configuration);

#[injectable]
struct Dep<'a>(&'a Configuration);

fn main() {
    let configuration_from_input = Configuration {
        name: String::from("My Configuration"),
    };
    let provider = Provider(configuration_from_input);
    let dep = provider.provide::<Dep>();
}

If the configuration is only known afterwards, you can use a scope:

use nject::{injectable, provider};

struct Configuration {
    name: String,
}

#[provider]
#[scope(configuration: #[arg] Configuration)]
struct Provider;

#[injectable]
struct Dep<'a>(&'a Configuration);

fn main() {
    let provider = Provider;
    {
        let configuration_from_input = Configuration {
            name: String::from("My Configuration"),
        };
        let scope = provider.configuration_scope(configuration_from_input);
        let dep = scope.provide::<Dep>(); // The configuration is valid for the given scope.
    }
}

Let me know if the previous examples helped. Otherwise, could you provide a code example?

@nicolascotton
modified a slightly more complex example, and the following error occurred.
#[test]
fn inject_test() -> Result<(), Box<dyn std::error::Error>> {
    struct Configuration {
        name: String,
    }
    #[injectable]
    struct Client {
        #[inject( |o: Configuration| o.name)]
        config_name:String,
    }
    #[provider]
    struct Provider(#[provide] Configuration);
    #[injectable]
    struct Dep<'a>(&'a Client,&'a Configuration);
    let configuration_from_input = Configuration {
        name: String::from("My Configuration"),
    };
    let provider = Provider(configuration_from_input);
    let dep = provider.provide::<Dep>();
    Ok(())
}

error[E0277]: the trait bound `&resources::inject_test::Client: Injectable<'_, &resources::inject_test::Client, resources::inject_test::Provider>` is not satisfied
   --> src\storage\resources.rs:167:24
    |
167 |     let dep = provider.provide::<Dep>();
    |                        ^^^^^^^ the trait `Injectable<'_, &resources::inject_test::Client, resources::inject_test::Provider>` is not implemented for `&resources::inject_test::Client`, which is required by `resources::inject_test::Provider: nject::Provider<'_, Dep<'_>>`
    |
    = help: the trait `Injectable<'prov, resources::inject_test::Client, NjectProvider>` is implemented for `resources::inject_test::Client`

First, I will put some comment explaining why you get these issues :
#[test]
fn inject_test() -> Result<(), Box<dyn std::error::Error>> {
    struct Configuration {
        name: String,
    }
    #[injectable] // Injectable allow injection of its value type
    struct Client {
        #[inject( |o: Configuration| o.name)] // You are asking for the ownership of Configuration when only &Configuration is provided by the provider.
        config_name:String,
    }
    #[provider]
    struct Provider(#[provide] Configuration); // provide allow injection of &Configuration
    #[injectable]
    struct Dep<'a>(&'a Client,&'a Configuration); // You are asking for a &Client when only its value type Client is injectable
    let configuration_from_input = Configuration {
        name: String::from("My Configuration"),
    };
    let provider = Provider(configuration_from_input);
    let dep = provider.provide::<Dep>();
    Ok(())
}

Here are some possible solutions:
1.
use nject::{injectable, provider};

fn main() {
    struct Configuration {
        name: String,
    }

    #[injectable]
    struct Client {
        #[inject( |o: &'prov Configuration| o.name.to_owned())] // We take &Configuration from the provider
        config_name: String,
    }

    #[provider]
    struct Provider(#[provide] Configuration);

    #[injectable]
    struct Dep<'a>(Client, &'a Configuration); // Instead of &Client we inject Client

    let configuration_from_input = Configuration {
        name: String::from("My Configuration"),
    };
    let provider = Provider(configuration_from_input);
    let dep = provider.provide::<Dep>();
}

use nject::{injectable, provider};

fn main() {
    struct Configuration {
        name: String,
    }

    #[injectable]
    struct Client {
        #[inject( |o: &'prov Configuration| o.name.to_owned())] // Use &Configuration instead of its value type
        config_name: String,
    }

    #[provider]
    struct InitProvider(#[provide] Configuration); // Use another provider to inject the main provider

    #[provider]
    #[injectable] // Make the main provider injectable
    struct Provider<'a>(#[provide] Client, #[provide] &'a Configuration); // The main provider can now inject a &Client and a &Configuration

    #[injectable]
    struct Dep<'a>(&'a Client, &'a Configuration);

    let configuration_from_input = Configuration {
        name: String::from("My Configuration"),
    };
    let init_provider = InitProvider(configuration_from_input);
    let provider = init_provider.provide::<Provider>(); // Inject the provider
    let dep = provider.provide::<Dep>();
}

use nject::{injectable, provider};

fn main() {
    #[derive(Clone)] // Make Configuration cloneable to allow ownership
    struct Configuration {
        name: String,
    }

    #[injectable]
    struct Client {
        #[inject( |o: Configuration| o.name)]
        config_name: String,
    }

    #[provider]
    struct Provider(#[provide(Configuration, |x| x.clone())] Configuration); // Provide ownership of Configuration with clone

    #[injectable]
    struct Dep(Client, Configuration); // Inject values instead of refs.

    let configuration_from_input = Configuration {
        name: String::from("My Configuration"),
    };
    let provider = Provider(configuration_from_input);
    let dep = provider.provide::<Dep>();
}

Let me know if this helped!

@nicolascotton Thank you, it has perfectly resolved my issue.


#2 Add tags filter to project and library page

Support tag filtering in project and library page, same as the garden page

Very nice

Thanks a lot @nanqunchen, this looks great !
I'll close the issue related to this feature.


Fix error in upsertDeployment (currentspec.Tolerations wrong length)

Hello!
While updating my test Stunner to 0.19.0, I observed the container stunner-gateway-operator crashing.
After switching to the dev tag, I found this error stack trace in the log:
panic: runtime error: index out of range [1] with length 1

goroutine 42 [running]:
github.com/l7mp/stunner-gateway-operator/internal/updater.(*Updater).upsertDeployment.func1()
	github.com/l7mp/stunner-gateway-operator/internal/updater/client_util.go:254 +0xb5e
sigs.k8s.io/controller-runtime/pkg/controller/controllerutil.mutate(0x188c9e0?, {{0xc00022e800?, 0x1adde42?}, {0xc00022e7f0?, 0x1d954a0?}}, {0x1dabf40, 0xc000e46508})
	sigs.k8s.io/controller-runtime@v0.17.0/pkg/controller/controllerutil/controllerutil.go:426 +0x49
sigs.k8s.io/controller-runtime/pkg/controller/controllerutil.CreateOrPatch({0x1d954a0, 0xc00047cbe0}, {0x1d9fee0, 0xc00014d680}, {0x1dabf40, 0xc000e46508}, 0xc000e57b38)
	sigs.k8s.io/controller-runtime@v0.17.0/pkg/controller/controllerutil/controllerutil.go:361 +0x4f5
github.com/l7mp/stunner-gateway-operator/internal/updater.(*Updater).upsertDeployment(0xc00047cb90, 0xc000becf08, 0x1)
	github.com/l7mp/stunner-gateway-operator/internal/updater/client_util.go:207 +0x2c5
github.com/l7mp/stunner-gateway-operator/internal/updater.(*Updater).ProcessUpdate(0xc00047cb90, 0xc0004975e0)
	github.com/l7mp/stunner-gateway-operator/internal/updater/updater.go:136 +0xb86
github.com/l7mp/stunner-gateway-operator/internal/updater.(*Updater).Start.func1()
	github.com/l7mp/stunner-gateway-operator/internal/updater/updater.go:57 +0x18a
created by github.com/l7mp/stunner-gateway-operator/internal/updater.(*Updater).Start in goroutine 1
	github.com/l7mp/stunner-gateway-operator/internal/updater/updater.go:42 +0x9d

Following the lead, I found that currentspec.Tolerations was likely created with the wrong length value.
This change fixes the crashing in my setup :)

Thanks, merged right away.  We're already at 3 and it's still Friday...


Enhance README.md

Purpose of the PR
Let's add instructions on how to build and run limbo for first-time users:

Thanks, @seonWKim! Please rebase your PR to drop the database binary files, and let's merge this.

Sorry for the inconvenience. Removed the database binary files


.versatiles created from a GeoJSON isn't being displayed

Hi,
i published the worldmap and a geojson convertet to .versatiles to my google cloud run. Everything is displayed correctly on my server via versatiles frontend.
My map on versatiles frontend

My marked location converted from geojson on versatiles frontend

I am currently trying to display my marked location on my map using this code, but I keep receiving a 404 error from each request on my /tiles/testgeo/{z}/{x}/{y} versatiles map.
const style = VersaTilesStyle.styles.graybeard({
	  tiles: ['/tiles/osm/{z}/{x}/{y}','/tiles/testgeo/{z}/{x}/{y}'],
	  glyphs: '/assets/fonts/{fontstack}/{range}.pbf',
	  baseUrl: 'https://xxx/',
	});

const map = new maplibregl.Map({
	 container: 'map',
	 style : style,
    });

How i generated my .versatiles from geojson:

Added on QGIS some areas on a EPSG:3857 Layer.
Export Layer as GeoJSON - EPSG:3857
Convert the GeoJSON to a .mbtiles: tippecanoe -s EPSG:3857 -o testgeo.mbtiles testgeo.geojson
Convert .mbtiles to .versatiles : versatiles convert testgeo.mbtiles testgeo.versatiles

@MichaelKreil can you help me out please?

Ok, I'm still working on the frontend and its documentation. This part is not covered yet, because adding data layers on top of a basemap in MapLibre is a bit tricky. I haven't found a simple solution like a libray, yet. So we will propably have to write our own library at some point, or add features to the style generator.
But now for a solution to your problem:
With VersaTilesStyle.styles.graybeard({}) you generate a style for rendering the osm data. The parameter tiles allows you to set multiple subdomains for the same tile source, but not for different tile sources. So this will not work for adding other data sources, like your "testgeo".
The core of MapLibre is this style object (see spec).
It contains an object of data sources (sources), and an array of displayed layers (layers).
So if you want to put a data visualisation on top of a basemap, you need a style with both data sources in sources, and all layers of the basemap and the overlay in layers.
The easiest way to do this is to create the basemap style and then "extend" the style by adding the source and layer of the overlay. For example:
// style of only the basemap
const style = VersaTilesStyle.styles.graybeard({
   tiles: ['/tiles/osm/{z}/{x}/{y}'],
   glyphs: '/assets/fonts/{fontstack}/{range}.pbf',
   baseUrl: 'https://xxx/',
});

// To add testgeo as an overlay, we need to extend the style by:

// ... adding a source for "testgeo" (see: https://maplibre.org/maplibre-style-spec/sources/#vector)
style.sources.testgeo = {
   type: 'vector',
   url: 'https://xxx/tiles/testgeo/tiles.json'
}

// ... and adding a layer for "testgeo" (see: https://maplibre.org/maplibre-style-spec/layers/#circle)
style.layers.push({
	source: 'testgeo', // same name like the key in style.sources,
	source-layer: '...',
	type: 'circle',
	...
})

// create the map
const map = new maplibregl.Map({
   container: 'map',
   style: style,
});

Thank you! It's working now with some changes!
Here is my working code:
// Create the base map style
const mapstyle = VersaTilesStyle.styles.graybeard({
		tiles: ['/tiles/osm/{z}/{x}/{y}'],
		glyphs: '/assets/fonts/{fontstack}/{range}.pbf',
		baseUrl: 'https://xxx/',
	});

// Create the map
const map = new maplibregl.Map({
		container: 'map',
		style : mapstyle,
    });

// Wait for map style loaded and add the second layer
map.on('style.load', function() {

	  map.addSource('testgeo', {
		type: 'vector',
		tiles: ['https://xxx/tiles/testgeo/{z}/{x}/{y}.pbf']
	  });

	  map.addLayer({
		  'id': 'testgeo-layer',
		  'type': 'fill',
		  'source': 'testgeo-data',
		  'source-layer': 'testgeo',
		  'paint': {
			'fill-color': 'rgba(255, 0, 0, 0.5)',
			'fill-opacity': 0.5
		  }
		});

	});

Looks great.
Adding the source and layer of "testgeo" to the style object might reduce the startup time, since you don't have to wait for the style to load to add the overlay.


Are all ZIP codes shown on the geographical plots?

Consider the 15 most represented ZIPs in our data set:
first(sort(combine(groupby(jdf, :IDL_ZIPCODE), nrow), :nrow, rev=true), 15)

Why doesn't the first one show up as a single polygon in geo_sequences.png?

78ac4e48f6b6ee1b665868c037eb956d150d8d8e


Disable background tabs timer throttling

Purpose
Fix testing page freezing when Firefox window is hidden behind another window.
Approach
Decrease dom.min_background_timeout_value and dom.timeout.throttling_delay options to 4ms in a Firefox profile. The default values are 10s and 30s respectively.
Pre-Merge TODO

[ ] Write tests for your proposed changes
[ ] Make sure that existing tests do not fail

Maybe we should publish the new browser tools and close the task completely for all browsers (where we can control it)?

@testcafe-build-bot retest


Add PoseUploader to stream poses to a PoseService

Could throw in a description what this is for? Sounds interesting.

@gaschler Thanks for taking a look. My thinking around this feature actually changed so I will go ahead and close this pull request. I don't think this code should be living as part of Cartographer, rather it belongs into a separate binary. I will send a PR to add a gRPC method to MapBuilderService to subscribe to global SLAM updates (similar to what we have for local SLAM updates).
@ojura I was working on the possibility to hook up Cartographer to a system that keeps track of robotic poses.


GitHub search results for this repository

This package looks really useful, but it's surprisingly hard to find relative to how many stars it has. Here are some example searches that don't turn up this package:
keyring rust
keyring linux and filtering Rust repositories
keyring macos and doing an advanced search for Rust
keyring windows
windows credentials rust, which does turn up my own package that I wrote under the impression that no others existed
windows credential manager and doing an advanced search for Rust
crossplatform keyring
I only found this package by searching code for keyring macos rust.
In fairness, just searching keyring and doing an advanced search for Rust specifically does turn up this package at the top, but it's odd that none of the other searches show this anywhere in the results.
I think this problem would be solved by just adding some tags to the repository using some of the keywords I tried.

Hi @karashiiro thanks much for pointing this out.  I've never really looked at keyboarding a repository before, so this will be a good learning experience.  I think we are more interested in this being discoverable on crates.io than we are on GitHub, but it can't hurt to make it discoverable both places.

Hey @hwchen it looks like only the repository administrators can add topic keywords, so I've assigned this to you.  If you want to make me an admin, feel free to assign it back to me and I can take care of it.

I've added topic keywords @karashiiro, thanks for bringing this up.


[FEATURE] Add card combo popularity in cards dashboard display/sort

This must be implemented with database backed generated fields, available with Django 5

The original issue was #180


Frontend tests

Add some basic tests for the Flask frontend.

Codecov Report

Merging #58 (768456f) into develop (2e258ed) will decrease coverage by 1.05%.
The diff coverage is 91.53%.

:exclamation: Current head 768456f differs from pull request most recent head 8597aae. Consider uploading reports for the commit 8597aae to get more accurate results

@@             Coverage Diff             @@
##           develop      #58      +/-   ##
===========================================
- Coverage    85.72%   84.68%   -1.05%
===========================================
  Files           37       55      +18
  Lines         3075     3662     +587
===========================================
+ Hits          2636     3101     +465
- Misses         439      561     +122

Impacted Files
Coverage Δ

dtbase/webapp/app/models/routes.py
40.96% <43.58%> (ø)

dtbase/tests/conftest.py
86.15% <95.00%> (+1.53%)
:arrow_up:

dtbase/webapp/app/sensors/routes.py
96.46% <96.46%> (ø)

dtbase/backend/api/sensor/routes.py
84.21% <100.00%> (ø)

dtbase/tests/test_api_sensors.py
100.00% <100.00%> (ø)

dtbase/tests/test_frontend_home.py
100.00% <100.00%> (ø)

dtbase/tests/test_frontend_locations.py
100.00% <100.00%> (ø)

dtbase/tests/test_frontend_models.py
100.00% <100.00%> (ø)

dtbase/tests/test_frontend_sensors.py
100.00% <100.00%> (ø)

dtbase/webapp/app/__init__.py
84.48% <100.00%> (ø)

... and 3 more

... and 9 files with indirect coverage changes


MSRV: Bump Rust version in CI?

The latest version of nrf-hal has bumped its dependency on the fixed crate to a version that requires MSRV Rust 1.78. Shall I go ahead and update the CI infrastructure to use this version of Rust? Should we have a MSRV advertised for this crate?

I guess I'm confused — not uncommon, for sure. If you look at nrf-hal you can see that commit a7fed8e3 explicitly bumps fixed to version 1.25.1 in nrf-hal-common/Cargo.toml, before the change to 0.18. Won't this cause all the users of nrf-hal 0.18 to require that version as well?
In any case, let's bump the MSRV in CI here, and also add an MSRV for this crate and check in Cargo.lock. If you wouldn't mind doing these I will then revise my other patch.

As far as I can see the MSRV change happened in fixed 1.28.0 (see their changelog). fixed 1.25.1 should build fine with an older rustc, and indeed it was building fine here until 1.28.0 was released.


Cleanup controller config

Related with this PR in gazebo_ros2_control https://github.com/ros-controls/gazebo_ros2_control/pull/232
The controller config of the velocity and effort controllers (specializations of the forward_command_controller) had some non-existing parameters in the yaml.

https://github.com/Mergifyio backport humble


footnotes might want to be a normal part of an AST

Today, footnotes are collected into the footnotes map on the root node. I am not entirely sure that's the best approach:

footnotes are usually numbered and hence ordered. JSON however specifies that maps are unordered. If we keep them in the end of the doc, we probably want to use an array rather than a map.
footnote placement in the original document might be relevant. For example, I might want to do a single footnote section per document, or a footnote section per chapter. In this sense, having footnotes appear in the AST  where they are defined might be usful. The writer then has a choice between rendering the note at the definition place, or hoisting it to the end of the doc.

Curiously, link references are part of the AST. If anything, it should be thee opposite, because link refs are just data (urls) while footnotes are actual rendered content.

The ordering of the notes is generally determined by the ordering of their references. The references are in an ordered container (the document itself).
Pandoc puts the notes directly in the AST, but this has caused complaints throughout the years, by people who want to do things like have two references point to the same note, or have a reference to another note inside a note. Odd cases, but I'm not sure I really see the drawback of the current approach, given the above.  Nothing about the present setup prevents you from having footnotes printed per-section, for example.  You just collect the references in that section, look up the contents of the notes in the table, and render them there.

Yeah, that makes sense. Then wee probably should remove reference_definition from ast as well
for
[^note]: note
[link]: link

the ast looks oddly inconsistent:
doc
  reference_definition (2:1:15-nil)
    reference_key text="link"
    reference_value text="link"
references = {
  ["link"] = "link",
}
footnotes = {
  ["note"] =
    footnote (1:1:1-2:1:15)
      para (1:10:10-2:0:14)
        str (1:10:10-1:13:13) text="note"
}

The reason I kept reference_definition is to support rendering back to djot.
You might want the reference definitions to appear in the same place, rather than being all at the end.
Of course, the same applies to footnotes, so we should probably treat both cases the same, however we treat them.


Relationships/ Includes for collections

How do they work?

@Gerg is this really a duplicate of: https://github.com/cloudfoundry/cc-api-v3-style-guide/issues/35?

Closing as a duplicate


Proper handling of optional attributes

Right now, I am simply setting total to false, and then manually adding an invariant which checks whether the required properties are there.
It would also be nice to offer some built in useful invariants. A few I found myself using often were "prop A implies prop B" and "props A and B are mutually exclusive"

I was briefly considering overloading the meaning of optional, to mean not just mean null or T but to mean optional attribute.
Maybe optional should be configurable to be able to express optional attributes, but I found the UX of having to override each optional declaration terrible.

Closed by fdb14aee55b1cf7a0d166cc1cbb879dd4dfa7e34


API Link returns 404

The API Link returns a 404 error.

Hi, I am aware

I don't think it's something in the code that's faulty. It's probably the API link itself.

Yes, they have changed the API endpoint for TTS

How would this be fixed? Or is it unfixable?

Following

Is this fixable?

I don't know. Maybe if like a new link can be found or something? For the api cuz the api link returns a 404, meaning it doesn't exist anymore, maybe it got moved.

i believe if you sign up to become a tiktok devolper they give you the api info

@ItsFreshify I looked around and it's a very limited subset of their API that they give you access to. It does not include the TTS engine.

so does this mean that tiktok tts rip?
On Mon, Aug 29, 2022 at 6:03 PM Weilbyte @.***> wrote:

@ItsFreshify https://github.com/ItsFreshify I looked around and it's a
very limited subset of their API that they give you access to. It does not
include the TTS engine.
—
Reply to this email directly, view it on GitHub
https://github.com/Weilbyte/tiktok-tts/issues/10#issuecomment-1230909905,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AZRSAYXVDVCN6J2MED7JN3TV3UXSHANCNFSM57I3PHCQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

If I recall correctly, oscie57's python CLI tool.  Generally yes but I have not been successful in intercepting the HTTPS traffic from the app, because it crashes on every emulator I tried it on, now, the TikTok Lite app works but It doesn't seem to have TTS support so it's not making those requests anyway.
And I don't have a rooted Android phone at hand. Even if I did I'm pretty sure if this was a deliberate action towards tools like this, that they would have also added authentication requirements to the endpoint.

I have a device with root, and properly hiding it from tiktok, but can't intercept the requests too, it does work triggerint the tts when editing a video tho

@xfrcc which android version? iirc if above 6.0, you need to patch the APK to accept the MITM proxy's CA

@xfrcc which android version? iirc if above 6.0, you need to patch the APK to accept the MITM proxy's CA

7.1.2, i've tried patching with apk-mitm, but not working because apktool it's parsing bad the xml's

Got news, new endpoint is api22-normal-c-useast1a.tiktokv.com, however, you must replicate now the headers like if it was in the app, i will test which one is necessary and which one us redundant

Thank you!
I will attempt to reproduce and see how this can be implemented within this tool.

does this mean that the tts could work again?

couldn't you use the session id from the web on pc?

I get the Couldn't load speach, maybe it requires it to be a sessionid generated by logging in on phone? Not too sure, https://i.imgur.com/oPSNJiI.png

A solution is in the works and expected to be out by Friday, if everything goes smoothly.
@AdamAtomus the aid parameter is wrong, it needs to be 1233

A solution is in the works and expected to be out by Friday, if everything goes smoothly.
@AdamAtomus the aid parameter is wrong, it needs to be 1233

yeah same issue, what SID did you use? from the app or from website on pc

Thank you! @xfrcc  and @Weilbyte ! Cheers!


Using Custom Helpers with Handlebars

Hi,
I am using the latest version of the "Trigger Email" extension.
I am trying to use a custom helper by declaring it in my HTML but it doesn't work as I get the error

Error: Missing helper: "getProductUnit"

I am not sure how to implement those custom helper in the email-template, here is what I tried :
<html>
  <head>
    <meta name="viewport" content="width=device-width" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>.......</title>

    <script type="text/javascript" src="handlebars-v2.0.0.js"></script>
    <script type="text/javascript">
      Handlebars.registerHelper("getProductUnit", function(product) {
        return "hello"
      });
    </script>
  </head>
  <body class="">
    {{getProductUnit product}}
  </body>
</html>```

Thank you for your help

I'm not 100% sure, but shouldn't the Handlebars library only be used on a server environment and not on the client?

Correct -- Handlebars here is only being used in the Cloud Function created by the Extension. There is  currently no way to create custom helpers for the extension.
What I'd recommend you do instead is (depending on how your email needs to be triggered) create a callable Cloud Function that will generate the HTML for the email using whatever libraries you like and then adds the rendered HTML to the mail collection from the function.


Updating the README file (#6)

@zhzy0077,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


Self-signed/issued SAN certificates' verification too strict due to older Golang used

Using a self-signed/issued certificate with x509 v3 extension with Subject Alternative Name, can result in verification error if used on certain OSs, e.g.: Windows/Linux:
[Error] Get https://artifactorydev.local/artifactory/api/security/encryptedPassword: x509: certificate signed by unknown authority (possibly because of "x509: invalid signature: parent certificate cannot sign this kind of certificate" while trying to verify candidate authority certificate "devartifactory.jfrog.com")
Above error is originating from JFrog CLI version 1.20.1.

This did not reproduce on MacOS

A test build with Golang 1.11 resolved this issue.

Thanks for filing this @andreikom.
JFrog CLI has been built with go 1.7.1 up until now. 1.11 seems to fix this issue.
The upcoming release will be built with go 1.11 and will therefore include the fix.

@andreikom,
Version 1.21.0 has been released and includes this fix.
We'd appreciate your feedback for it.
Thank you.


Link the csv2db dags to the spire2csv dag

Using S3Key sensor so that when a file is available for the running day it is
read into the local postgres db

we should probably set up some CI for this repo!


Deprecate Microsoft.AspNetCore.All

Earlier this year, we announced the Microsoft.AspNetCore.App metapackage (see https://github.com/aspnet/Announcements/issues/287). That announcement said:

The existing Microsoft.AspNetCore.All meta-package will continue to be made available throughout the 2.x lifecycle, but we recommend customers move to the new Microsoft.AspNetCore.App meta-package and then add individual references to any of the removed packages if their app requires it.

We have begun working on ASP.NET Core 3.0, and as a part of that, we will stop producing the Microsoft.AspNetCore.All metapackage and the matching Microsoft.AspNetCore.All shared framework.
This package will still be available in ASP.NET Core 2.2 and will continue to receive servicing updates in ASP.NET Core 2.1.

Could you elaborate on the rationale please?

Would it be possible to address NuGet/Home#2867—especially the security aspects—before this change goes into the released product?  The more dependencies a project has, the more difficult it is to make sure none of them have outstanding security advisories, so not being able to use AspNetCore.All will add to end users' maintenance workloads.
NPM have really raised the bar on this by implementing npm audit, which automates the process of checking for vulnerable dependencies.  It would be fantastic to see something similar in Nuget.

The more dependencies a project has, the more difficult it is to make sure none of them have outstanding security advisories, so not being able to use AspNetCore.All will add to end users' maintenance workloads.

You do realize that using Microsoft.AspNetCore.App instead of Microsoft.AspNetCore.All gives you fewer dependencies, right?

It would be fantastic to see something similar in Nuget.

The feature is being worked on; https://github.com/NuGet/Home/wiki/Deprecate-packages

@PeteX I asked for that tool a year ago, but nothing has really happened so far. Created https://github.com/retirenet/dotnet-retire meanwhile.

Hi, can we use Microsoft.AspNetCore.App meta-package targeting Full .NET?
means to ha a csprojet look like that:
<Project Sdk="Microsoft.NET.Sdk.Web">

  <PropertyGroup>
    <TargetFramework>net472</TargetFramework>
    <DebugType>full</DebugType>
    <UserSecretsId>aspnet-TestApp-4265477E-A059-46D4-5678-E56D6G5J9DCE</UserSecretsId>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.AspNetCore.App" Version="2.1.2" />
    <PackageReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Design" Version="2.1.1" PrivateAssets="All" />
  </ItemGroup>

</Project>

@ikourfaln No, the meta packages only work with .NET Core. You will have to add all dependencies explicitly with the .NET Framework.

It's great news that deprecation in Nuget is being worked on!
@khellang, you're right of course!  What I meant was that you get fewer explicit dependencies.  I trust Microsoft to make sure the dependencies of Microsoft.AspNetCore.All are sufficiently up to date to be free of known security issues.


Deep notifyPath doesn't work

this.notifyPath('property.*');
It doesn't invoke property nor property.* observers.

This is not a supported syntax. The idea is that notifyPath should describe a change and changes to any sub-path can be observed via .*.


update session.py

Added support to recognize XR, lines 570 added IOS to show version. Certain XR platforms output multiple lines for the keyword Cisco, the output can be hundreds of lines to match on. Example, "iosxr-mcast, V 6.4.1[Default], Cisco Systems, at disk0:iosxr-mcast-6.4.1". Added "IOS" to slim down return string on XR.
Lines 586-587. Added elif to catch IOS XR and return as IOS OS.

Changing the command to "show version | i Cisco IOS" I'm pretty sure is going to break NXOS checks, because we won't get any output from its show version that way.  Also NXOS would require quotes around "Cisco IOS" so we'd also get a syntax error issuing that, which is a second reason why I think NXOS will break if I merge in that change.
Also, we need a new version tag ("IOS XR" probably), instead of just using "IOS".  IOS XE has the exact same command set and outputs as regular IOS so I haven't had a reason to differentiate it, but I'm nearly positive we'll have to for XR.  The reason is because many of the scripts will say "if session.os == 'IOS':" and choose the TextFSM template to parse the output for that OS.  Since IOS XR probably has a different output format then regular IOS, we'd have to be able to select a different template to parse the outputs.   Document_device doesn't do this because it only writes outputs to file, but many of the others do, and I'm trying to keep those in mind.
On the plus side, a co-worker who is familiar with EVE spun up an XR image in our lab, so I'll see if I can't get into an XR device tonight and make some updates, and then have you test against a real system for me.   I'll be sure to tweak the document_device script to handle XR as well since that seems to be the one you were using initially.

Perfect. I think a new instance for XR would be awesome. Thanks

Pull the latest ios-xr branch and give it a try.  I've tested that it still works with all the existing OSs, but I haven't tried it against an XR device yet (have to sync up with someone to get access).

I"ll give a try more at the office, but it failed at line 67. of the s_documents

Make sure you completely quit and re-open SecureCRT.  It seems to cache the imports that are called from scripts, so anytime I change anything in the securecrt_tools module folder you have to completely restart SecureCRT for them to take effect.

And I just made another small change.

Works great. I'll look at running some of the other scripts. Just made one change to the s_document_device.py in the IOS-XR branch. Thanks

Glad to hear it.  I've merged that pull request.   Any of the other scripts that process output to produce a file in a different format will probably require a decent amount of work, but it will be great to get them working.  I'm going to close this pull request, since we solved this differently.


Improve documentation related to Pool*Array value passing caveats

This closes https://github.com/godotengine/godot/issues/59598.

Thanks!


Clean up/ Sweep Frontend and Backend.

[ ] GADZWiki,
[ ] README.md, and
[ ] Code Sweep.

Also fix and clean the frontend with CSS, Bootstrap, and HTML.

[] Frontend Code
[] Backend Code
[] Fonts
[] Images
[] Mobile Responsive
[] Redis or IndexDB and LocalStorage
[] Downloadable
[] Animation
[] Bootstrap
[] GADZDevWiki
[] GADZWiki
[] README.md
[] Logo
[] SEO "Keywords"
[] Frontend Lighthouse Ratings
[] Convert all info from the old site to the new one
[] TypeScript - Mocha & Chai - Jest - OOP (class, constructors, prototype) - TDD - SQL


fix(versions): update Activiti/activiti-cloud-notifications-graphql versions into master

UpdateBot pushed maven dependency: org.activiti.cloud.notifications.graphql:activiti-cloud-notifications-graphql-dependencies to: 7.1.163

UpdateBot commands:
updatebot push-version --kind maven org.activiti.cloud.notifications.graphql:activiti-cloud-notifications-graphql-dependencies 7.1.163


Added two requirements to the INSTALL.md file

not a biggie, but you get:
libasn1compiler/Makefile.am:8: error: Libtool library used but 'LIBTOOL' is undefined
libasn1compiler/Makefile.am:8:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
libasn1compiler/Makefile.am:8:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
libasn1compiler/Makefile.am:8:   If 'LT_INIT' is in 'configure.ac', make sure
libasn1compiler/Makefile.am:8:   its definition is in aclocal's search path.
libasn1fix/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined
libasn1fix/Makefile.am:6:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
libasn1fix/Makefile.am:6:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
libasn1fix/Makefile.am:6:   If 'LT_INIT' is in 'configure.ac', make sure
libasn1fix/Makefile.am:6:   its definition is in aclocal's search path.
libasn1parser/Makefile.am:6: error: Libtool library used but 'LIBTOOL' is undefined
libasn1parser/Makefile.am:6:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
libasn1parser/Makefile.am:6:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
libasn1parser/Makefile.am:6:   If 'LT_INIT' is in 'configure.ac', make sure
libasn1parser/Makefile.am:6:   its definition is in aclocal's search path.
libasn1print/Makefile.am:7: error: Libtool library used but 'LIBTOOL' is undefined
libasn1print/Makefile.am:7:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
libasn1print/Makefile.am:7:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
libasn1print/Makefile.am:7:   If 'LT_INIT' is in 'configure.ac', make sure
libasn1print/Makefile.am:7:   its definition is in aclocal's search path.
skeletons/Makefile.am:21: error: Libtool library used but 'LIBTOOL' is undefined
skeletons/Makefile.am:21:   The usual way to define 'LIBTOOL' is to add 'LT_INIT'
skeletons/Makefile.am:21:   to 'configure.ac' and run 'aclocal' and 'autoconf' again.
skeletons/Makefile.am:21:   If 'LT_INIT' is in 'configure.ac', make sure
skeletons/Makefile.am:21:   its definition is in aclocal's search path.
autoreconf: automake failed with exit status: 1
If you don't have libtool installed. So having this will save people a minute, esp as I could not simply rerun the test -f configure || autoreconf -iv thing but need to reset it somehow (or delete stuff manually and start over).

The change doesn't mention other requirements: autoconf, make, C compiler etc. What is special about libtool?
The change is Ubuntu-centric.

You are very right. The reason I started doing the PR in the first place was since the configuration step failed after installing libtool one could not simply rerun the last command
test -f configure || autoreconf -iv
One needs to do a cleanup afterwards and since I did not have experience with the tooling i did not know how to do the ekvivalent of a  make clean.
Had it simply been:

run configuration
fail due to missing tool
install libtool
rerun
it works
I would not have bothered at all. But since it was a bit more tedious I figured a minor PR was worth it.

Yes, this is very Ubuntu-centric.. What about I spin this up on some other linux version(s) (with different package handlers) and write down what is needed and come back with that? Hopefully they dont differ too much?

Looking into autoreconf and how to clean it up I found that one can run
make maintainer-clean
to sortof remove everything that was created by autoreconf. In this mailing list where one asks how to go about making a aoutreconf --clean option there is an answer stating that
"Usually I would 'rm -rf' the source directory ..."
however make maintainer-clean does not work if ./configure fails (which it does if libtool-bin is missing) and you cannot run autoreconf again, it does nothing.
So you, the best solution I have found is to
rm -rf *
git checkout .

To get you back to a state where you can try again which is not optimal I guess.
When checking what is required on different linux distors I used versions taken from the official docker images which should be very minimal.

I noticed that not only was my branch only named patch-1 but that what I though was just a PR-comment on github became the comment for the commit or something. So in case we would want to have a better named branch and a commit that is not superlong and includes the error-log I have prepared a new one. So if this is ever cleared for a merge I can make a new PR from there with better naming.

I usually just do git clean -fdx if I want to remove garbage files :)
It would be great to see your version of the installation guide when it's ready.

Rejecting due to it being super OS specific. If you'd used a released version you'd have libtool stuff in it already so you wouldn't have had that problem in the first place. If you're using the straight github sources (not releases) I'd assume you know what libtool is.
I would accept a patch which details requirements in a separate INSTALL-REQS.md with a reference from INSTALL.md.


Lack of discussion of callback function in optimisation tutorial

At https://docs.sciml.ai/Overview/stable/getting_started/fit_simulation/#Step-4:-Solve-the-Optimization-Problem the tutorial says: "This step will look very similar to the first optimization tutorial, except now we have a new cost function. Just like in that tutorial, we want to define a callback to monitor the solution process." However there is no discussion of callback functions in the first optimization tutorial. Presumably such a discussion was planned to be included but then wasn't because the example chosen in that first tutorial was too simple to make a callback function useful.

Thanks for pointing that out, it should be better after #162

I elaborated in #197.


Introducing the code_ad folder

This pull request introduces the code_ad folder for adjoint compilation. It uses a basic adjoint configuration from this working configuration of a shelf seas model:
https://github.com/DaniJonesOcean/MCS
Unlike MCS, our BGC configuration uses the dic, gchem, and gmredi packages. So we have introduced header files and options for those.
Here are a few key features/notes:

DIC_OPTIONS.h:
-- (Line 25) #undef CARBONCHEM_SOLVESAPHE
-- (Line 31) #define CARBONCHEM_TOTALPHSCALE
GMREDI_OPTIONS.h:
-- (Line 28) #define GM_EXCLUDE_SUBMESO
-- Debugged issues related to the variables passkey and nobcs
Header files for AUTODIFF, CPP, CTRL, ECCO and tamc:
-- Used configurations from a MCS.

This adjoint case has been tested and does compile successfully. It has not been tested at runtime. It's a start!

Thank you for the pull request Dani (@DaniJonesOcean). I am glad the compilation worked out. One thing I am curious is about the differences in header files you copied from MCS configurations. MITgcm checkpoint differs so when I compared with the header files in the checkpoint I am using (68r) to configure this model, I see substantial changes but do these changes matter (perhaps not since you managed to compile the model)? What I will do is try compiling the adjoint with your files and also with the updated header files. Also could you follow up a bit more in details on debugged issues related to the variables passkey and nobcs? These might be solved by changing GMREDI_OPTIONS.h but just to be clear.

@DaniJonesOcean I manage to compile the adjoint code. No errors and executable file is generated. I checked all the codes carefully and related to the first comment, I would like to add notes on what we need to keep in mind for adjoint modeling (necessary header files, debugging tips from what we learned in this case etc.). Couple of notes on clarification,

CTRL_SIZE.h: How do you set this? What is set by this option?
DIC_VARS.h: Changing COMMON BLOCK does not impact the result? Perhaps not in this case since we turned the carbonate solver option off.
PTRACERS_SIZE.h: Adding lines below.
#ifdef ALLOW_AUTODIFF_TAMC
INTEGER    maxpass
PARAMETER( maxpass     = PTRACERS_num + 2 )
#endif
SIZE.h: Comment out nobsc lines.
tamc.h: What is the main point to keep in mind (changing from default)?

Once I made a note on changes, will merge to the main branch.

Hi Yohei,
Below is some text that I wrote about the nchklev parameters in tamc.h. We could add it to the README.md file for convenience.
Checkpointing
In an adjoint run, there is a balance between storage (i.e. saving the model state to disk) and recomputation (i.e. integrating the model forward from a stored state). Changing the nchklev parameters in the tamc.h file is how you control the relative balance between storage and recomputation.
A suggested strategy that has been used on a variety of HPC platforms is as follows.

Set nchklev_1 as large as possible, up to the size allowed by memory on your machine. (Use the size command to estimate the memory per process. This should be just a little bit less than the maximum allowed on the machine).
Next, set nchklev_2 and nchklev_3 to be large enough to accomodate the entire run. A common strategy is to set nchklev_2 = nchklev_3 = sqrt(numsteps/nchklev_1) + 1.
If the nchklev_2 files get too big, then you may have to add a fourth level (i.e. nchklev_4), but this is unlikely.

This strategy allows you to keep as much in memory as possible, minimising the I/O requirements for the disk. This is useful, as I/O is often the bottleneck for MITgcm runs on HPC.
Another way to adjust performance is to adjust how tapelevel I/O is handled. Although it is machine dependent, the following strategy by Gael Forget has worked well in the past:
C o tape settings
#define ALLOW_AUTODIFF_WHTAPEIO
#define AUTODIFF_USE_OLDSTORE_2D
#define AUTODIFF_USE_OLDSTORE_3D
#define EXCLUDE_WHIO_GLOBUFF_2D
#define ALLOW_INIT_WHTAPEIO

Defining the masks
The generic cost function approach allows one to define the objective function as an integral over space and time. We include some example scripts for creating masks in this repository. For more information, see this part of the MITgcm documentation:
https://mitgcm.readthedocs.io/en/latest/ocean_state_est/ocean_state_est.html#generic-cost-function

@ytakano3, I've added a couple new commits for changing the README.md


Blank results when resolving name that exists in public suffix list

Issue summary
Resolving a domain like 'co.za' or 'linode.com' results in a blank domain object, these both exist in some form or other on the public suffix list. However these are perfectly valid domain names and have websites attached. Adjusting the rules parameter "section" to ICANN_DOMAINS or PRIVATE_DOMAINS works but only for 'linode.com' and 'co.za' respectively.
System informations

Information
Description

Pdp version
5.6.0

PHP version
PHP 7.2.18-1+ubuntu16.04.1+deb.sury.org+1 (cli) (built: May  3 2019 09:23:41) ( NTS )

OS Platform
Ubuntu 16.04.1 LTS

Standalone code, or other way to reproduce the problem
use Pdp\Cache;
use Pdp\CurlHttpClient;
use Pdp\Manager;
use Pdp\Rules;
$manager = new Manager(new Cache(), new CurlHttpClient());
$rules = $manager->getRules()
->withAsciiIDNAOption(IDNA_NONTRANSITIONAL_TO_ASCII)
->withUnicodeIDNAOption(IDNA_NONTRANSITIONAL_TO_UNICODE);
$domain = $rules->resolve('linode.com');
echo 'Domain: '' . $domain->getContent() . ''';
Expected result
Domain: 'linode.com'
Actual result
Domain: ''

the following snippet should resolve your missunderstanding of how the library works
<?php

$manager = new Manager(new Cache(), new CurlHttpClient());
$rules = $manager->getRules();
echo $rules->resolve('toto.linode.com', Rules::PRIVATE_DOMAINS)->getPublicSuffix(), PHP_EOL;
echo $rules->resolve('toto.linode.com', Rules::ICANN_DOMAINS)->getPublicSuffix(), PHP_EOL;
echo $rules->resolve('toto.linode.com')->getPublicSuffix(), PHP_EOL;

the result is the following:
linode.com
com
linode.com

the explanation is simple.
linode.com is registered as a private domain. By default, the library uses the longest public suffix it can find for a given domain name. In your example, the longest public suffix is the domain itself hence it returns the empty string as stated in the documentation.
Depending on your business logic you should explicit against which section you want your domain name to be resolved against. Both results are correct you just need to adjust your requirement to distinguish which is fine for your use case.

I understand the intricacies of private vs ICANN TLDs. However this doesn't solve the fundamental user problem.
The user is asking the domain parser for the domain parts. The user is not aware of which company recently added its domain to an unofficial TLD suffix list. The user just wants to check whois for the registrable domain, or see which registry (TLD) the domain is registered under.
Why is it now the developer's problem to write a wrapper class to parse out "failures" so that the user gets what they expect?

That's because from your business point of view the default behaviour which is inline with how the PSL test suite works is not what you want.
$domain = $rules->resolve('linode.com');

The PSL was first created to resolve cookie issues and in this regards the default behaviour is better suited for that.
$domain = $rules->resolve('linode.com', Rules::ICANN_DOMAINS);

is what, most of the time, developer should be using in regards to domains resolution against TLD suffixes.  This should maybe be more explicit in the documentation.

The PSL was first created to resolve cookie issues and in this regards the default behaviour is better suited for that.
Ah ha! Thank you for that explanation. We use it predominantly to determine the registrable domain. I have adjusted all lookups to include ICANN_DOMAINS.


FA scraper as separate gem?

Scraping stuff from FA is a useful thing to be able do on its own, without serving it as a REST API.
In fact I myself would want to use it in a local script.
Would it be ok to extract the scraper into a ruby gem (needs its own repo or branch) on its own and then refactor the FAExport API rely on that gem?

That would require supporting two different APIs for this, one in a gem and on on the web.  The scraper file itself is designed to be incredibly easy to just drop into any project and use.  If you're interested in heading up a port to a gem and maintain it I'll give you my support but I just don't have the time right now to do it myself :(

That's ok.
Well, right now I'm running a BSD jail to run the API just for a periodic script, so in one way or another I do want to scrape without the full REST servings to make the whole thing more comfortable.
But you're right, I could just use the class from the scraper.rb directly, and drop that one file along with the main script. But since I am looking into Ruby anyway and was having fun, I was thinking of a more 'formal' solution to this as an exercise that's also productive.
You know what, I'll see what I'll do. In case I end up refactoring anything, I'll just come back with a pull request and you'll see what you think about it.

After choosing the easier way and getting it over with (I was hacking together a simple fav-archiver script btw, which can be run in cron even), and other things needing my attention, I totally forgot about this thread here.
So naw, I didn't gem it in the end, I just cut the scraper.rb out and used it. I probably won't too anytime soon, so sorry for the ruckus.

Cool, not a problem.  Glad it worked for you.


Update library version to 2.0 and python version to 3.7

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

Whenever possible python packages should use pip. See https://conda-forge.org/docs/maintainer/adding_pkgs.html#use-pip

I will merge now, because we need this package on conda, but in the near future, it would be good to fix also the linter suggestion from above ("Whenever possible python packages should use pip....")


Think about to fix the issues found by adapter checker

I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
https://adapter-check.iobroker.in/?q=https://raw.githubusercontent.com/instalator/ioBroker.lgtv-rs

[ ] [E114] No adapter are allowed in the repo without admin3 support

I have also found warnings that may be fixed if possible.

[ ] [W113] Adapter should support compact mode

Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info

fixed


buildah-unwrapped: 1.34.0 -> 1.34.1

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/containers/buildah/releases.
meta.description for buildah-unwrapped is: A tool which facilitates building OCI images
meta.homepage for buildah-unwrapped is: https://buildah.io/
meta.changelog for buildah-unwrapped is: https://github.com/containers/buildah/releases/tag/v1.34.1
Updates performed

Golang update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
Warning: a test defined in passthru.tests did not pass
found 1.34.1 with grep in /nix/store/wx5l5r2h9ap2x5kik6q3vlw933wr19nc-buildah-1.34.1
found 1.34.1 in filename of file in /nix/store/wx5l5r2h9ap2x5kik6q3vlw933wr19nc-buildah-1.34.1

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
buildah
buildah-unwrapped
krunvm

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/wx5l5r2h9ap2x5kik6q3vlw933wr19nc-buildah-1.34.1 \
  --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 buildah-unwrapped https://github.com/r-ryantm/nixpkgs/archive/e7ebae2b897ba5ac7d0cd23b0bad463d65c2b3af.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/e7ebae2b897ba5ac7d0cd23b0bad463d65c2b3af#buildah-unwrapped

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/wx5l5r2h9ap2x5kik6q3vlw933wr19nc-buildah-1.34.1
ls -la /nix/store/wx5l5r2h9ap2x5kik6q3vlw933wr19nc-buildah-1.34.1/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

3 packages built:

buildah
buildah-unwrapped
krunvm

Maintainer pings
cc @saschagrunert @vdemeester for testing.

Version test is failing.

Version test is failing.

How do we see it ? 🤔

Version test is failing.

How do we see it ? 🤔

Look into details.

@NickCao Thanks, I was looking for some reds check.. I scrolled to quickly 🤦🏼

I think #291603 will fix those issues 🙏🏼


Update storage-providers.md

Improve verbosity of Isilon provider parameters based on customer questions.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.

Current coverage is 25.03% (diff: 100%)

Merging #298 into master will not change coverage

@@             master       #298   diff @@
==========================================
  Files            46         46
  Lines          2708       2708
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
  Hits            678        678
  Misses         1960       1960
  Partials         70         70

Powered by Codecov. Last update 08af1c0...807f768

Hi @spiegela,
I went ahead and merged this PR into release/0.3.0 manually and made the fixes I suggested as a follow-up to your PR. Thank you again!

Cool. Thanks, @akutz. It's going to take me some time to get used to single-spacing a new sentence...


only check the first two segments of the kernel version

fixes #1136
@2opremio ptal

If we are going partly going to parse things manually, then I suggest we just ditch the version dependency and do something like https://github.com/ugorji/go/pull/148/files#diff-aec251e204a9b9ef2196c0937f1d8e03R1634

Good call.

very minor comments, otherwise LGTM.


The data is not JSON due to a typo.

Each id is missing a quote.
{             "id": akh-26815",             "title": "AKH",             "url": "https://www.myinstants.com/en/instant/akh-26815",             "mp3": "https://www.myinstants.com/media/sounds/akh.mp3"         },         {             "id": vine-boom-sound-70972",             "title": "VINE BOOM SOUND",             "url": "https://www.myinstants.com/en/instant/vine-boom-sound-70972",             "mp3": "https://www.myinstants.com/media/sounds/vine-boom.mp3"         },         {             "id": fart",             "title": "Fart",             "url": "https://www.myinstants.com/en/instant/fart",             "mp3": "https://www.myinstants.com/media/sounds/dry-fart.mp3"         },         {             "id": anime-wow",             "title": "Anime Wow",             "url": "https://www.myinstants.com/en/instant/anime-wow",             "mp3": "https://www.myinstants.com/media/sounds/anime-wow-sound-effect.mp3"         },

Thank you for submitting this issue, the problem is now fixed!


Modelica keywords

I think the keywords are not complete, initial algorithm is missing at least.
Also I am wondering why register is in the keyword list.
Is there more to fix?

pure and impure are missing.

I did not know pure and impure were in the Spec already, but if you looked it up then you are informed much better.
Is having initial, equation and algorithm sufficient or do composite keywords like initial algorithm have to be listed separately?
If there is no further discussion I would just accept your PR tomorrow (or you can do it yourself).

+1

initial is listed additionally as composite keyword since it should be displayed differently if it is used as function call or preamble of an initial equation/algorithm section.

Who will run apm publish patch ?

OK, I published v0.3.1


Doesn't work with android

Thank you so much for the great package.
it works well in PC/Editor, but i cannot get it to work on the phone (Android)
do you have any reason why that so?

It used system.drawing which not compatible with android


fix reading of mxOBJECT_CLASS

reading of class name was misplaced, resulting in corruption/errors.

cc @andreasnoack

Coverage remained the same at 90.485% when pulling 12d3bd1ac181a9a565a62f6046885ce72d964b23 on tanmaykm:fixobjread into 58ed350d4d275eba75b707d6a870826a0fef331c on simonster:master.

Would benefit from a test, if you can create a relevant file.

This file here https://www.dropbox.com/s/6b2hi253otmkonj/3255538_0001.mat?dl=0 displays the issue. I think it is too big to be included for tests. It can be trimmed (to just A that's in it), but I do not have access to matlab. It would be great if someone can trim it or make an equivalent one.

When I try to read it in matlab, I get:
Warning: Class 'Assoc' is an unknown object class or does not have a valid 'loadobj' method.  Object 'A' of this class has been converted to a structure.

So I can't trim it down either, the original author will have to do it.

Thanks for looking into this @tanmaykm. I didn't notice the warning when I loaded it in Matlab. I looked at the header and it seems that the file was generated in Octave. Maybe Octave are doing something wrong here?
This file is quite small and has the same issue so maybe we can use it for the test
https://www.dropbox.com/s/xrcl5idzvks1dh3/3700696_0079.mat?dl=0

Thanks! Have added it to the tests.

Coverage increased (+0.4%) to 90.874% when pulling c6bb8ffe8a2e6bbec353d1e5c6c6224c4e167ce5 on tanmaykm:fixobjread into 58ed350d4d275eba75b707d6a870826a0fef331c on simonster:master.

Maybe Octave are doing something wrong here?

Just to check, was the new file generated in Matlab or Octave?

Both are created in Octave. They give the same warning when loaded in Matlab, the same error in MAT.jl and no error in Octave.

Doesn't that suggest that Octave is the one that's broken? Isn't there some risk that you'll break Matlab by making this change?

@tanmaykm What are your thoughts? Matlab is able to read the file, but with a warning which seems better that erroring.

I checked https://maxwell.ict.griffith.edu.au/spl/matlab-page/matfile_format.pdf and @tanmaykm's correction looks right. The warning in MATLAB doesn't seem surprising since you don't have the .m file that defines the object class.

I had the same reasoning as @simonster and the changes seem correct as per
the format spec.
On Sat 21 May, 2016 2:26 am Simon Kornblith<EMAIL_ADDRESS>wrote:

I checked
https://maxwell.ict.griffith.edu.au/spl/matlab-page/matfile_format.pdf
and @tanmaykm https://github.com/tanmaykm's correction looks right. The
warning in MATLAB doesn't seem surprising since you don't have the .m file
that defines the object class.
—
You are receiving this because you were mentioned.
Reply to this email directly or view it on GitHub
https://github.com/simonster/MAT.jl/pull/57#issuecomment-220716422

:+1:

Thanks!


Changed VIM and Virtual Instrument Museum to UMIL

Affecting header and "about" section only, changed VIM to UMIL and Virtual Instrument Museum to Universal Musical Instrument Lexicon.

Affecting header and "about" section only, changed VIM to UMIL and Virtual Instrument Museum to Universal Musical Instrument Lexicon.

This pull request contains all frontend changes mentioned in #98


test(cadl): initial sdk for adp

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
APIView has identified API level changes in this PR and created following API reviews.
Azure.AutonomousDevelopmentPlatform

corresponding API view: https://apiview.dev/Assemblies/Review/f0323a0a0e7b4679896fd38c2baf6ec6


No option to Install Task in Marketplace

I have found extension in the "Extensions Shared With Me" group, and selected the extension link, which opens the link in the marketplace. Only, there is no option to install the extension as with other Marketplace Tasks - only an option to download the .vsix file that I uploaded to my Extensions. Where is the option to install instead of download?

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

ID: 44581f4a-93df-7507-3844-eadedf9a6cc4
Version Independent ID: 33c7bcf0-1512-975f-5ef8-9f2a192a84ad
Content: Add a Build or Release Task - Azure DevOps
Content Source: docs/extend/develop/add-build-task.md
Product: devops
Technology: devops-ecosystem
GitHub Login: @chcomley
Microsoft Alias: chcomley

@prashantvc, can you please help us with this issue? Thanks so much.

@cd83 This sounds like a feature request.
Could you elaborate the steps to reproduce the issue?

@cd83 This is the same experience I have once I have installed the extension in my org.  The only link you get then is to download the .vsix to install into Azure DevOps Server, is it possible that above that download link it informs you that you already have it installed?

Hey @pkuma-msft, any thoughts on this issue?

@cd83 Can you share the link to the marketplace? Also a screenshot of what do you see in Marketplace page?

Hi @cd83, Just following up on this - are you still experiencing issues? If so, can you please provide a screenshot of the Marketplace and a link? Thanks!

I'm closing this issue. Please feel free to @mention me if you feel it should be reopened, however it appears to me that this isn't necessarily a documentation issue and that you may get some helpful assistance from Support. Please go here, and then select Report a problem. Thank you.


Log and continue on missing map handle in Arc.loadRecipe.

Provides more information to the developer on failure.

Revised per in-person discussion with @shans to accumulate map handle errors, report them, and not proceed with arc instantiation.


[Suggestion] Update idf_component.yml in all examples to use idf version: ">=5.2.1" and esp-zboss-lib + esp-zigbee-lib "~1.2.1" (TZ-717)

Is your feature request related to a problem?
Development of esp-zigbee-sdk + esp-zboss-lib + esp-zigbee-lib is moving fast so examples work much better with later versions.
Suggest update to latest idf component in all examples, so use idf version: ">=5.2.1" and esp-zboss-lib + esp-zigbee-lib "~1.2.1"
https://github.com/espressif/esp-zigbee-sdk/tree/main/examples
https://github.com/espressif/esp-zigbee-sdk/tree/main/examples/esp_zigbee_HA_sample
For example ;
https://github.com/espressif/esp-zigbee-sdk/blob/main/examples/esp_zigbee_HA_sample/HA_on_off_light/main/idf_component.yml
## IDF Component Manager Manifest File
dependencies:
  espressif/esp-zboss-lib: "~1.2.1"
  espressif/esp-zigbee-lib: "~1.2.1"
  espressif/led_strip: "~2.0.0"
  ## Required IDF version
  idf:
    version: ">=5.2.1"

Describe the solution you'd like.
Update all the examples to use later min versions of idf, esp-zboss-lib, and esp-zigbee-lib compared to what they are using now.
Describe alternatives you've considered.
No response
Additional context.
No response

@Hedda To clarify these configurations:

Refer to range-specifications, the ~1.2.0 means 1.2.x, so we don't need to update the version for patch version updates
idf version ">=5.0.0" means these components will be downloaded when idf version matches, ">5.2.1" will prevent our customer from using other IDF versions.

Let us know if any follow up concerns.


Plan status history is being lost when a new version is created

The plan status history is attached to the plan's id, and references the oldest version of a plan, even after a new version of the plan is created with a different ID. Possible solutions are to reference the canonical ID of the plan instead, or version the plan_status_history table.

@LisaMoore1 Is this still an issue? I haven't noticed any weird behaviour with the status history for a while, but I wanted to check with you first.

@calebissharp I haven’t noticed it being an issue. I’ll keep my eye open but it can probably be closed now.

@LisaMoore1 Sweet, thanks.