Add seccomp error metrics

What type of PR is this?
/kind feature
What this PR does / why we need it:
We now provide metrics about seccomp profile errors, while mapping the
event reasons to a label.
Which issue(s) this PR fixes:

Refers to #276
Does this PR have test?

None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

Added `seccomp_profile_error_total` metrics.

/retest

GitHub actions seems to be down, they do not get triggered. :thinking:

Codecov Report

Merging #461 (f1b4c9f) into master (0cee60c) will increase coverage by 0.22%.
The diff coverage is 52.63%.

@@            Coverage Diff             @@
##           master     #461      +/-   ##
==========================================
+ Coverage   36.48%   36.70%   +0.22%
==========================================
  Files          23       23
  Lines        1069     1087      +18
==========================================
+ Hits          390      399       +9
- Misses        664      673       +9
  Partials       15       15

/test pull-security-profiles-operator-test-e2e

/retest

The box 'fedora/33-cloud-base' could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp's Vagrant Cloud, please verify you're logged in via
`vagrant login`. Also, please double-check the name. The expanded
URL and error message are shown below:

@saschagrunert @jhrozek sounds like it's getting more and more urgent to switch to f34

@saschagrunert @jhrozek sounds like it's getting more and more urgent to switch to f34

Hm, it seems to work locally on my machine.

@saschagrunert maybe you just gotta re-kick it

@saschagrunert maybe you just gotta re-kick it

Yeah I already did this multiple times. Giving it another try.

/retest


InsecurePlatformWarning during builds

Recently urllib3 began emitting these warnings during our normal builds whenever python touches SSL. Looks like we can fix it by updating to Python 2.7.9 (or by explicitly silencing it). An example:
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
/tmp/tmp8K2oTh/pip.zip/pip/_vendor/requests/packages/urllib3/util/ssl_.py:79: InsecurePlatformWarning:
A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and
may cause certain SSL connections to fail. For more information, see
https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning.

While it's a huge pain to get anything but python 2.7.6 on Ubuntu 14.0.4, alpine:3.1 has python 2.7.9. Just sayin'. :smiling_imp:

@mboersma I know I'm taking crazy here, but is there any reason that you aren't using python 3? :smiling_imp:  :smile_cat:

aren't using python 3?

It's a good question. Porting controller to py3 would be a bit of work, and in the other two cases where this shows up in the build it's not a Deis project directly (ceph-monitor, docker-registry). And sadly today's state of affairs is that py2 is still heavily preferred everywhere, despite our efforts to move things forward.
We could do it for the controller, but we might need to make the whole enchilada py2/3 compatible at the same time, or else require devs to install python3 in order to do make -C controller/ test-unit and the like. It's not totally unreasonable, but every time something like this comes up ("let's use Django 1.~7~8"), we find we would rather start rewriting things in Go if we're going to do anything disruptive.
(And having said all that, this is just a warning. Based on my reading of it, Deis probably doesn't trigger the actual security bugs referenced.)

Just to note this somewhere: the python buildpack does install Python 2.7.9, so if you had an app that uses ssl itself, it's covered already WRT this potential issue:
$ git push deis master
Counting objects: 28, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (23/23), done.
Writing objects: 100% (28/28), 4.95 KiB | 0 bytes/s, done.
Total 28 (delta 7), reused 0 (delta 0)
-----> Python app detected
-----> Stack changed, re-installing runtime
-----> Installing runtime (python-2.7.9)
-----> Installing dependencies with pip
...


Installing Alpha 132 broke my PowerShell

After launching and opening PowerShell in Terminus after installing, I'm greeted with this list or errors. I'm still getting these errors even after uninstalling and restarting. Very unhappy ☹
And this looked like such a cool product...
New-Object : The 'New-Object' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not
be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Program Files\WindowsPowerShell\Modules\posh-git\1.0.0\Utils.ps1:8 char:17
+ $invokeErrors = New-Object System.Collections.ArrayList 256
+                 ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (New-Object:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

Set-Alias : The 'Set-Alias' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not
be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Program Files\WindowsPowerShell\Modules\posh-git\1.0.0\Utils.ps1:26 char:1
+ Set-Alias ?? Invoke-NullCoalescing -Force
+ ~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Set-Alias:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

New-Object : The 'New-Object' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not
be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Program Files\WindowsPowerShell\Modules\posh-git\1.0.0\GitTabExpansion.ps1:4 char:26
+ $Global:GitTabSettings = New-Object PSObject -Property @{
+                          ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (New-Object:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

Write-Debug : The 'Write-Debug' command was found in the module 'Microsoft.PowerShell.Utility', but the module could
not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Program Files\WindowsPowerShell\Modules\posh-git\1.0.0\GitTabExpansion.ps1:78 char:5
+     Write-Debug "Search for 'flow' in 'git help' output failed with e ...
+     ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Write-Debug:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

new-object : The 'new-object' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not
be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Program Files\WindowsPowerShell\Modules\posh-git\1.0.0\TortoiseGit.ps1:12 char:31
+ $Global:TortoiseGitSettings = new-object PSObject -Property @{
+                               ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (new-object:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

New-Object : The 'New-Object' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not
be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Program Files\WindowsPowerShell\Modules\oh-my-posh\2.0.412\defaults.ps1:10 char:25
+ $global:ThemeSettings = New-Object -TypeName PSObject -Property @{
+                         ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (New-Object:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

The property 'ErrorCount' cannot be found on this object. Verify that the property exists and can be set.
At C:\Program Files\WindowsPowerShell\Modules\oh-my-posh\2.0.412\oh-my-posh.psm1:202 char:1
+ $sl.ErrorCount = $global:error.Count
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
    + FullyQualifiedErrorId : PropertyNotFound

Add-Type : The 'Add-Type' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not be
loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Program Files\WindowsPowerShell\Modules\Get-ChildItemColor\2.2.0\Get-ChildItemColor.psm1:135 char:1
+ Add-Type -assemblyname System.ServiceProcess
+ ~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Add-Type:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

Import-Module : Cannot bind argument to parameter 'Name' because it is null.
At C:\Program Files\WindowsPowerShell\Modules\oh-my-posh\2.0.412\oh-my-posh.psm1:12 char:19
+     Import-Module $sl.CurrentThemeLocation -Force
+                   ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Import-Module], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ImportModul
   eCommand

Write-Host : The 'Write-Host' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not
be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Program Files\WindowsPowerShell\Modules\oh-my-posh\2.0.412\oh-my-posh.psm1:129 char:9
+         Write-Host ''
+         ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Write-Host:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

Write-Warning : The 'Write-Warning' command was found in the module 'Microsoft.PowerShell.Utility', but the module
could not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Program Files\WindowsPowerShell\Modules\oh-my-posh\2.0.412\oh-my-posh.psm1:130 char:9
+         Write-Warning "Theme $name not found. Available themes are:"
+         ~~~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Write-Warning:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

Sort-Object : The 'Sort-Object' command was found in the module 'Microsoft.PowerShell.Utility', but the module could
not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Program Files\WindowsPowerShell\Modules\oh-my-posh\2.0.412\oh-my-posh.psm1:171 char:89
+ ... \Themes\*" -Include '*.psm1' -Exclude Tools.ps1 | Sort-Object Name |  ...
+                                                       ~~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Sort-Object:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

Import-Module : Cannot bind argument to parameter 'Name' because it is null.
At C:\Program Files\WindowsPowerShell\Modules\oh-my-posh\2.0.412\oh-my-posh.psm1:12 char:19
+     Import-Module $sl.CurrentThemeLocation -Force
+                   ~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidData: (:) [Import-Module], ParameterBindingValidationException
    + FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ImportModul
   eCommand

Set-Alias : The 'Set-Alias' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not
be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Users\*****\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:19 char:1
+ Set-Alias ls Get-ChildItemColor -option AllScope -Force
    + CategoryInfo          : ObjectNotFound: (Set-Alias:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

Set-Alias : The 'Set-Alias' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not
At C:\Users\*****\OneDrive\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1:21 char:1
+ Set-Alias -Name dc -Value docker-compose
+ ~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Set-Alias:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

Set-Alias : The 'Set-Alias' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not
be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\ProgramData\chocolatey\helpers\functions\Update-SessionEnvironment.ps1:98 char:1
+ Set-Alias refreshenv Update-SessionEnvironment
+ ~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (Set-Alias:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

New-Object : The 'New-Object' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not
be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\ProgramData\chocolatey\helpers\ChocolateyTabExpansion.ps1:21 char:33
+ $Global:ChocolateyTabSettings = New-Object PSObject -Property @{
+                                 ~~~~~~~~~~
    + CategoryInfo          : ObjectNotFound: (New-Object:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CouldNotAutoloadMatchingModule

Even trying to run "clear" gives me the following error:
The 'Write-Host' command was found in the module 'Microsoft.PowerShell.Utility', but the module could not be loaded. For more information, run 'Import-Module Microsoft.PowerShell.Utility'.
At C:\Program Files\WindowsPowerShell\Modules\Get-ChildItemColor\2.2.0\Get-ChildItemColor.psm1:209 char:17
+                 Write-Host ""
+                 ~~~~~~~~~~

And running "ls" gives me this error:
Unable to find type [System.ServiceProcess.ServiceController].
At C:\Program Files\WindowsPowerShell\Modules\Get-ChildItemColor\2.2.0\Get-ChildItemColor.psm1:186 char:27
+             elseif($_ -is [System.ServiceProcess.ServiceController])
+                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

I also just found out that this has left me with a dirty registry. I still have the "paste path into terminus" entry in the right click menu of my file explorer. I'm very unhappy that I tried this out at all and I could really use some help with fixing my PowerShell so I don't need to completely reinstall Windows 10.
I've tried SFC and DISM, both of which indicated that there were problems that they could not resolve.
Here's some more debug info I've aquired:
PS C:\Users\*****> Import-Module Microsoft.PowerShell.Utility
Import-Module : Could not load file or assembly 'Microsoft.PowerShell.Commands.Utility, Version=<IP_ADDRESS>,
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The module was expected to contain an
assembly manifest.
At line:1 char:1
+ Import-Module Microsoft.PowerShell.Utility
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Import-Module], BadImageFormatException
    + FullyQualifiedErrorId : System.BadImageFormatException,Microsoft.PowerShell.Commands.ImportModuleCommand

Although Terminus doesn't affect the Powershell installation in any way except running powershell.exe, some people point out that the error above means problems with PSModulePath:

https://docs.microsoft.com/en-us/troubleshoot/windows-server/system-management-components/enter-pssession-cmdlet-fails-psmodulepath-variable
https://github.com/PowerShell/PowerShell/issues/12040

Unfortunately, none of the fixes you mentioned above helped me. While the original error in those examples looks similar to mine, I don't think mine is the same. As shown in the description above, when I tried to directly run Import-Module Microsoft.PowerShell.Utility I got System.BadImageFormatException "The module was expected to contain an assembly manifest" and not "Failed to generate proxies for remote module 'Microsoft.PowerShell.Utility'". I'll provide my PSModulePath which confirms that I'm not using any network paths.
PS C:\Users\*****> $env:PSModulePath.split(';')
C:\Users\*****\OneDrive\Documents\WindowsPowerShell\Modules
C:\Program Files\WindowsPowerShell\Modules
C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules

Sounds like the module DLLs are damaged, or were added in one of the earlier paths (C:\Users\*****\OneDrive\Documents\WindowsPowerShell\Modules), overriding the stock ones.

I think it is a bad DLL, specifically Microsoft.PowerShell.Commands.Utility. I see several mentions of it in my CBS.log (from running sfc) referencing mismatched hashes and corrupted payloads.
I don't have any modules in C:\Users\*****\OneDrive\Documents\WindowsPowerShell\Modules. I tried removing the additional PowerShell modules I had previously downloaded that were located in C:\Program Files\WindowsPowerShell\Modules (even though everything was working previously)  but had no luck.
I'm not sure how I would go about repairing my broken DLL (and I really would like to avoid reseting my PC if I can). I can provide my CBS.log to you through email if you think that might help.

If your PS 5.1 DLLs are damaged, you can only replace them with identical ones from another Windows machine. For PS6+, you can just reinstall PowerShell itself. Just to reiterate, none of this has anything to do with Terminus itself, which by default installs into a self-contained directory in %APPDATA% without administrative permissions.

It does look like installing this shouldn't have caused this problem. I'm not sure why installing this happened to (directly or indirectly) result in this issue. I'll see if I can replace my bad DLL with a copy from a different machine since I'm using 5.1. If I can get it working again after doing that, I'll close this issue.
I'll note again here that I also discovered that the uninstaller left me with dirty values in my registry. The explorer context menu still showed up after uninstalling, and I had to manually remove the registry entries.

Probably final update here. Unfortunately I was never able to resolve my issue with PowerShell 5.1, and since I've spent the better part of a week trying to resolve (even copying a fresh copy of the WindowsPowerShell directry from Windows 10 VM). I've installed the latest (7.1.2) version of PowerShell Core, and that seems to be working for now.
While I'm still not sure whether installing Terminus directly caused my problem, I still don't think I can rule it out since it would have to be a heck of a coincidence for my PowerShell to break directly after installing. Maybe one day when I want to clean up my computer I'll do a full reset and be able to use standard PowerShell again.
Moral of the story is make FREQUENT backups.
@Eugeny Thank you greatly for your assistance debugging. I'm still a bit sad I could not find a solution, but I am glad I found a workaround for now. I'll leave this issue open for you to close. There is still the bit about dirty registry entries that has not been resolved, but you'll probably just want to close this issue and make a new one for that. I wish you the best. Perhaps I'll try Terminus another time (it does look pretty cool 😎 ).

Just by looking at the error, it might be an issue with Posh-Git Module not Terminus.
C:\Program Files\WindowsPowerShell\Modules\posh-git\1.0.0\Utils.ps1
Might try uninstalling Posh-Git and reinstalling. Does Powershell work in the default Powershell.exe application?

@cjerrington PowerShell does not work in the default Powershell.exe application.
I've already tried removing all additional modules that I had installed (posh-git, Get-ChildItemColor, oh-my-posh).  I don't think this error has anything to do with posh-git though. If you take a look closer at the last error in the description of this issue, you can see the core problem that I discovered.


Contenteditable wysiwyg

Fixes #271
I've found one problem: it allows to paste multiline text which is not supported yet

Not for this PR but leading, trailing and multiple consecutive whitespace are not counted in the measurement. We should replace them with   in the measure call.

This commit caused the caret to disappear when first focused on Safari MacOS :(


Failing Tests

Hello, we recently forked this gem and noticed there are a few failing tests:

test_create(AlCardTest)
test_03_getByTag(AkTransactionTest)

It appears to me that the second failing test can only be fixed by modifying the program configuration associated with the example credentials used for the test suite. Please confirm -- the API error response is:
code: 50902, message: ProgramId 9049 does not have a BIN mapped to it.


junit output invalid when there are no errors

When there are no errors, the junit formatter reports a single non-failing test case.  The output will look like this:
<?xml version="1.0" encoding="UTF-8"?>
<testsuites>
  <testsuite name="markdownlint-cli2-formatter-junit" time="0" tests="1" failures="0" errors="0" skipped="0">
    <testcase time="0"/>
  </testsuite>
</testsuites>

However, Azure DevOps isn't able to process this, with the error message

##[warning]Few results could not be published - No name attribute was found for some of the test cases

The single successful test case should have some name, so that it can be properly parsed.
I'm working a PR for this, right now I'm just going to give it the same name as the test suite, which is
path.basename(__filename).replace(/\.js$/u, "")

I'll see if there's any other properties that are need as well and add them in.

In addition to the warning printed, the Azure DevOps test explorer doesn't show any tests when the junit file with no testcase name is uploaded

With my change, Azure DevOps is able to see the one test result:

Publishing test results to test run '7751'.
TestResults To Publish 1, Test run id:7751
Test results publishing 1, remaining: 0. Test run id: 7751

And the test explorer shows tests (your able to click through this to see the single test case)

Fixed in latest published version 0.0.6 (and possibly the previous).


Adding search option to SettingsTab

Adds the option to search settings

@blueorangutan package

@davidjumani a Jenkins job has been kicked to build primate packages. I'll keep you posted as I make progress.

Packaging result: :heavy_check_mark:centos :heavy_check_mark:debian :heavy_check_mark:archive.
QA: http://primate-qa.cloudstack.cloud:8080/client/pr/521 (JID-2261)

LGTM did not test it though

LGTM


An suggestion to add 'data-id' attribute for each page with its number

So it will be easier to add pagination to pdf

Please check my comment in #104. I'm not sure if this change is really needed. Also using pageNum as data-id doesn't seem clear to me.


fix: iOS crash on blur

Summary

On iOS, there is currently a crash when the component unmounts and the blur method is called automatically. This is the error that appears:

Consumers like Bluesky have had to manually work around this by explicitly blurring the input themselves before unmounting it (see bluesky-social/social-app#56 for example).
I've put in a fix for this by creating an explicit blur command that issues viewCommands.blur() on the input reference, based on the other examples in that file. I don't know if this is the correct fix, but it seems to work in the simulator.
To better demonstrate this issue, I've modified the example app to have a button to show/hide the input box. Without this change, you'll see the crash mentioned above.
The other changes were automatically generated during the build/editing process.

Hello @loganrosen,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

I've investigated this further, and I found a couple things:

The crash doesn't happen on Android for the same test case. However:
After updating the test case to have an onBlur handler set for the input, I found that it doesn't get triggered on unmount on either platform (even with the "fix" on iOS). It does get triggered if you manually call .blur() on the input ref.

This makes me wonder if this logic to blur on unmount makes sense/would ever work based on how React works. It seems that the component unmount happens before onBlur would be triggered, even if the blur goes through successfully. Do we know why this was added to begin with and what the intentions were?

I've adjusted the example app to demonstrate the issue. Note how the focus state only gets changed when you click the other input I added (and not when clicking the "Hide Input" button, which calls blur() on the paste input). If the intention behind calling blur() on unmount is to allow onBlur hooks to be invoked, that doesn't seem to be working.

This makes me wonder if this logic to blur on unmount makes sense/would ever work based on how React works. It seems that the component unmount happens before onBlur would be triggered, even if the blur goes through successfully.

so is this PR needed ?

We definitely need to make some change, as the crash is happening on iOS when it tries to blur on unmount. But I was wondering if we should just remove the logic completely to blur on unmount on iOS and Android, as it doesn't seem to actually trigger the onBlur handler and has no apparent effect. Would you be open to that?

 Is that what is causing the crash?

That's what the current code is doing here. That leads to a crash without my fix. But then even with the fix, blurring the input on unmount doesn't seem to have a clear purpose, so I wonder if we can remove that block completely.

I see, it makes sense.. ok let's add the fix but remove the changes to the example app as they are not really needed.

Okay, I took a deeper look into this, and it turns out there's a simpler fix that doesn't risk breaking consumers of this blur behavior. This React Native commit is reflected in the Android code but not the iOS code, and it looks like we're hitting the exact condition mentioned there. So I made the iOS code mirror the Android code (by using useLayoutEffect), and now toggling the input visibility in the example app works fine.
I've reverted the other changes, such as displaying the onBlur behavior. I can also revert the change to add the visibility toggle in the example app, but I find it to be a useful test case to make sure that behavior is working. Let me know.


Test translators automatically

This PR is to address #168.

[x] Store translators so that they are later accessible.
[ ] Write a routine to generate a matching gate to a translator pattern.
[ ] Write the test routine.

This is being usurped by better technology in a different PR.


Make ModelExperimental.boundingSphere update when invoked

Fixes #10626. This Sandcastle should now appear the same for Model and ModelExperimental.

Thanks for the pull request @j9liu!

:heavy_check_mark: Signed CLA found.
:grey_question: CHANGES.md was not updated.

If this change updates the public API in any way, please add a bullet point to CHANGES.md.

Reviewers, don't forget to make sure that:

[ ] Cesium Viewer works.
[ ] Works in 2D/CV.

@lilleyse updated, could you take another look?

@j9liu updates look good, merging!


Current rate sticks

Describe the bug
I've been having this problem for quite a while
Now. But haven't had chance to narrow it down.
The current rate gets stuck and only starts updating again on a restart.
It will be fine for a number of hours then stick again.
Happens on latest release and latest beta.
To Reproduce
Don't know :-(
How can I get more logging ?
Set logger to debug but still didn't see anything in log.
Manually running half hour service doesn't update it either when broken. Consumption true or false doesn't affect it.
octopusagile:
region_code: "L"
mpan: !secret octopus_mpan
serial: !secret octopus_serial
auth: !secret octopus_auth
startdate: "2020-07-22"
consumption: false
Expected behavior
Half hour update of current rate.

I've seen the same bug; happy to help debug if someone can point me to how to turn the logs up?


Re-instate @HGWright as a maintainer

Checklist

[x] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@HGWright missed the email invitation the first time round.

@conda-forge-admin, please rerender

@conda-forge-admin, please rerender


Synonyms: change display of self

Synonyms in Detail display the synonymic "cloud" (synset), including the entity itself. We want to see it here indeed, but it is visually confusing to see it displayed in the same way as the others, because it can be read as if there was another entity still, with the same label (while it is in fact a self-pointer). Think of a special way how to display this self-pointer, so that it is still visible, but in such a way that the self-pointer is visually different from pointer-to-other, and thus does not confuse the human editor that there would be still another entity of the same label as the one s/he is looking at.

Once #1620 is implemented, I think the same graphical solution should also be used IDE.


Get viewChangeCounter at middleware is always undefined

https://github.com/gothinkster/react-redux-realworld-example-app/blob/cde269d554ac2f1f298c56dbeff1fbd12ee08b92/src/middleware.js#L14
https://github.com/gothinkster/react-redux-realworld-example-app/blob/cde269d554ac2f1f298c56dbeff1fbd12ee08b92/src/middleware.js#L20
https://github.com/gothinkster/react-redux-realworld-example-app/blob/cde269d554ac2f1f298c56dbeff1fbd12ee08b92/src/middleware.js#L30

viewChangeCounter belong to state.common https://github.com/gothinkster/react-redux-realworld-example-app/blob/cde269d554ac2f1f298c56dbeff1fbd12ee08b92/src/reducers/common.js#L23
so to get viewChangeCounter, you must through state.common
store.getState().viewChangeCounter;
should be store.getState().common.viewChangeCounter;
currentState.viewChangeCounter should be currentState.common.viewChangeCounter

Same.
BTW, in my mind, viewChangeCounter is not a nice way to track async function. Is there a better solution？

Same as well.
I was wondering why it isn't 'store.getState().common.viewChangeCounter'


Iterator feature

What it does: simplifies how users access query results.
Before it had to write 2 loops, one for buckets and one for rows in a bucket. Now they are provided with a java iterator. Also, the result of the call is AutoClosable which means it can be written in a try-with-resources statement. and close() will be automatically called to close resources at the end of the try block

ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project JavaNoSQL: Compilation failure
[ERROR] /home/dario_vega/JavaNoSQLv2/src/main/java/HelloWorld.java:[29,13] try-with-resources is not supported in -source 1.5
[ERROR]   (use -source 7 or higher to enable try-with-resources)
[ERROR]
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

1.8
1.8


How to fix a package version number tag?

There was a typo in an early release of a package, dotnet-runtime, where it was listed as 3.1.19 instead of 3.1.9 (https://github.com/conda-forge/dotnet-feedstock/issues/26). Now, anytime someone requests dotnet-runtime=3, they get this older one because a newer version than 3.1.19 doesn't exist. Is this the right place to change this version tag?
How would I do that? I see numerous examples in gen_patch_json.py and in the merged pull requests for changing dependency pins, for example, but I don't see how to change an already listed package version, so I'm not sure how to proceed.
This is the link that led me here in the first place: https://conda-forge.org/docs/orga/guidelines.html#fixing-broken-packages.

[x] I read the conda-forge documentation and could not find the solution for my problem there.

I think you are looking for something similar to https://github.com/conda-forge/conda-forge-repodata-patches-feedstock/blob/master/recipe/gen_patch_json.py#L558-L562
Here we replace the run dependency "pyarrow >=0.13.0,!=0.14.0,<2" with the new  dependency "pyarrow >=0.17.1,<2" for the kartothek package. This sounds like the thing you are trying to do.

Since the version is wrong, you need to mark it as broken. See https://github.com/conda-forge/admin-requests

Okay, done! https://github.com/conda-forge/admin-requests/pull/273
Thanks for the help.


FIX: Restore omp-nthreads calculation

Changes proposed in this pull request
This restores the default value of omp-nthreads based on n-cpus established in #500 and removed in #2018.
Fixes #2070.
Documentation that should be reviewed

I'll look into this tomorrow


Update to VC 2.0

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

Project coverage is 95.41%. Comparing base (60b54b8) to head (84fdcdb).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #25   +/-   ##
=======================================
  Coverage   95.41%   95.41%
=======================================
  Files           2        2
  Lines         414      414
=======================================
  Hits          395      395
  Misses         19       19

Files
Coverage Δ

lib/index.js
95.46% <100.00%> (ø)

Continue to review full report in Codecov by Sentry.

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

Leaving branch open until not used by other projects.


Clarifies contents of portfolio

Hello! This is mainly a test to see if Abhi can access everything. Should I request review from both of you or just Abhi? Also, I'm not sure if the image is going to work.

Sounds good!

@Ortiz-Sergio confirming that I have access. Thanks!


hooks silently doing nothing

not really sure if you should investigate this, but this project does not seem to work with https://github.com/chengsokdara/use-whisper, e.g.

{#if $store}
    {@const {count, setCount} = $store}

Count: {count}

    <button data-testid="add" on:click={() => setCount(count + 1)}>+</button>

    {@const {recording, speaking, transcribing, transcript, pauseRecording, startRecording, stopRecording} = $store}
    {console.log(recording)}

Recording: {recording}

Speaking: {speaking}

Transcribing: {transcribing}

Transcribed Text: {transcript.text}

		<button data-testid="wha3" on:click={() => dbg(startRecording())}>Start</button>
		<button data-testid="wha2" on:click={() => dbg(pauseRecording())}>Pause</button>
		<button data-testid="wha1" on:click={() => dbg(stopRecording())}>Stop</button>

{/if}

the setcount button will work, but the startrecording button does not appear to start any recording
sorry i don't have an immediate separable PoC available

That's not an issue in this library, useWhisper swallows errors.
The compiled code dist/chunk-32KRFHOA contains try catch blocks where instead of logging the error it does nothing.
The catch (err) { console.log(err) }  from src/useWhisper.ts is compiled to catch {} this is due to their tsup configuration:
 esbuildOptions: (options) => {
    options.drop = env === 'production' ? ['console', 'debugger'] : undefined
  },

TypeError: Cannot read properties of undefined (reading 'RecordRTCPromisesHandler')


InvalidOperationException FirebaseAuth.DefaultInstance Multiple Firebase services

[REQUIRED] Please fill in the following fields:

Unity editor version: 2019.4.12f1
Firebase Unity SDK version: 6.16.0
Source you installed the SDK: Unity Package Manager
Problematic Firebase Component: Auth
Other Firebase Components in use: App
Additional SDKs you are using: Applovin, Amplitude
Platform you are using the Unity editor on: Mac
Platform you are targeting: iOS
Scripting Runtime: IL2CPP

[REQUIRED] Please describe the issue here:
I'm seeing an error in about 30/40% of our users in iOS regarding firebase.
Non-fatal Exception: InvalidOperationException
0  ???                            0x0 ThrowIfCheckDependenciesRunning (Firebase.FirebaseApp)
1  ???                            0x0 GetInstance (Firebase.FirebaseApp)
2  ???                            0x0 get_DefaultInstance (Firebase.FirebaseApp)
3  ???                            0x0 get_DefaultInstance (Firebase.Auth.FirebaseAuth)
4  ???                            0x0 RegisterWithDeviceId (BigfootSdk.Backend.FirebaseAuthenticationService)
5  ???                            0x0 SeeIfThingsReadyToLoad (BigfootSdk.DependencyManager)

I have a class, that first checks and fixes dependencies:
FirebaseApp.CheckAndFixDependenciesAsync().ContinueWithOnMainThread(task => {

                var dependencyStatus = task.Result;
                    if (dependencyStatus == DependencyStatus.Available)
                    {
                        callback?.Invoke();
                    }
                    else {
                        LogHelper.LogError(string.Format(
                            "Could not resolve all Firebase dependencies: {0}", dependencyStatus));
                }
            });

Once that callback is called, I run the following, which is what causes the above error.
FirebaseAuth auth = FirebaseAuth.DefaultInstance;
Steps to reproduce:
I have no idea, it happens sometimes
Have you been able to reproduce this issue with just the Firebase Unity quickstarts (this GitHub project)? haven't tried
What's the issue repro rate? (eg 100%, 1/5 etc) around 40% I would say
What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
If you have a downloadable sample project that reproduces the bug you're reporting, you will
likely receive a faster response on your issue.
Relevant Code:
// TODO(you): code here to reproduce the problem

@gclaret
That exception is thrown when you try to use (almost) any Firebase API after you call CheckAndFixDependenciesAsync() and before it is finished.  Using Firebase SDK like FirebaseAuth auth = FirebaseAuth.DefaultInstance; in ContinueWithOnMainThread () callback should be totally safe.
Since it is flaky, it does seems to be a race condition. Once scenario I can think of is when FirebaseApp.CheckAndFixDependenciesAsync() is being called multiple time, like in MonoBehavior.Awake().
Could you provide the snippets of the code around the usage of Firebase SDK?  Also, please try to turn on verbose logging through Firebase.FirebaseApp.LogLevel = Firebase.LogLevel.Verbose; before you call CheckAndFixDependenciesAsync() and attach the log to your post.
Shawn


Long provision times for Binding should not Fail (expect Pending)

Example: postgresql

I tried with cloudant and got a Failed state as well. Might be related. Perhaps some resource bindings enter a Failed state, while others do not.
The cloudant failure message:
spec:
  serviceName: mycloudant
status:
  instanceId: 'crn:v1:bluemix:public:cloudantnosqldb:us-south:a/000:000::'
  keyInstanceId: IN PROGRESS
  message: |
    Request failed with status code: 400, ServerErrorResponse: {"message":"The resource instance is removed/invalid","status_code":400,"transaction_id":"bss-ce89a023fd071ab9"}
  state: Failed

I haven't tried Postgres yet, but we'll probably need the failure message to debug further.


Missing reclaim policy for PVC

The default reclaim policy for PVC from the operator is Delete https://github.com/Altinity/clickhouse-operator/blob/689d35c207b4b189adfa7d3171b9a606b6cfa44e/pkg/model/volumer.go#L39-L53. We don't have any reclaim policy set here https://github.com/SigNoz/charts/blob/150ff920803984a13e314adf374bea15dc724de6/charts/clickhouse/templates/clickhouse-instance/clickhouse-instance.yaml#L257-L274?
They say Use reclaimPolicy: Retain in all your cluster resource definitions. here https://altinity.com/blog/preventing-clickhouse-storage-deletion-with-the-altinity-kubernetes-operator-reclaimpolicy. Why do use the default Delete policy instead of Retain for PVCs also?

The retain policy of the PV falls back the retain policy of the used storage class.
Nevertheless, I think it's good to include the changes.
@srikanthccv do review the linked PR and let me know.

I am confused by your usage of PV and PVC here/Slack/Notion etc and points have been incoherent. We are trying to address the PVC policy. This doesn't affect the PV policies in any way.

We are trying to address the PVC policy. This doesn't affect the PV policies in any way.

yes, you are right. And the linked PR helps in that.
But I was talking wrt our previous environment, this didn't have much change in behaviour.
Let me share details about the same with you on DM.

PR with the changes are merged and part of clickhouse-23.12.3 release.
Will include this from next signoz chart release


Logging

This commit introduces a better logging facility. It adds some types to
allow the caller to customise logging, while not introducing
API-breaking changes.
It enables the user to disable logging for terraform commands and shell
commands. The user may also supply his own Logf function (or even
multiple Logf functions) to these packages to further customise the
output.
The default Logf function is kept and has changed to use testing.T.Logf
if the Go version is at least 1.14. This is because with Go 1.14,
streaming output for Logf has been introduced. The inability to print
the output during testing was why the logger package was created in the
first place. This is fixed now, so if the logger package can determine
the Go version and that version supports streaming Logf, it will be used
instead.
Furthermore, some default loggers have been created:

Discard:  discards all logging. Useful for functions where the output
is too large or or unnecessary.
TestingT: uses testing.T, if supplied (falls back to the "old" logger
if not). This means that users with pre-1.14 versions can
use testing.T.Logf anyway, if they want to.
Logger:   This is the "old" logger that has been used so far. Can be
used if, for example, the go version is >=1.14, but the
"default" testing.T.Logf should not be used for whatvever
reason.

This is all implemented while maintaining the old API. For users of that
API, nothing changes.
Signed-off-by: Ramon Rüttimann<EMAIL_ADDRESS>

PR is already based on commits from #502.
If you're not happy about the default behaviour to use Testing.T in Go 1.14, let me know.

Would also close #358

One thing that might need some fine-tuning is the shell command output.
i have the following usage / issue:
I'm executing terraform plan -out <file> and then terraform show <file> -json.
The terraform show spoils the output completely, so I used the logger.Discard to discard the logging.
However, now when that command fails, I just get a FatalError: exit code 1 info, I don't have any clue why it failed.
What I did to mitigate that is:
diff --git a/modules/shell/command.go b/modules/shell/command.go
index b4ac85c..82ee6d3 100644
--- a/modules/shell/command.go
+++ b/modules/shell/command.go
@@ -131,6 +131,11 @@ func readStdoutAndStderr(t testing.TestingT, logf logger.LogFunc, stdout, stderr
        wg := &sync.WaitGroup{}
        mutex := &sync.Mutex{}

+       stdErrLog := func(t testing.TestingT, format string, args ...interface{}) {
+               logger.TestingT(t, format, args...)
+               logf(t, format, args...)
+       }
+
        wg.Add(2)
        var stdoutErr, stderrErr error
        go func() {
@@ -139,7 +144,7 @@ func readStdoutAndStderr(t testing.TestingT, logf logger.LogFunc, stdout, stderr
        }()
        go func() {
                defer wg.Done()
-               stderrErr = readData(t, logf, stderrReader, mutex, storedStderr)
+               stderrErr = readData(t, stdErrLog, stderrReader, mutex, storedStderr)
        }()
        wg.Wait()

With this, StdErr is always printed, no matter which logger, at the end of the test.
This is okay for my usecase, but maybe defeats the point of providing logger.Discard?
I just want to discard stdout, but not stderr.
I could add an argument to RunShellCommand that's then passed through somehow, but I'm not sure if that's the cleanest solution.

Alright @yorinasub17 thanks for merging the other PR! This just has been rebased and is ready for review.

Thanks for your inputs @yorinasub17 !
I haven't seen the style from the base64 package before, but I really like it. I adjusted the code to use interfaces instead.
I had to wrap that interface in a concrete type to get the "no logger is given, do sane thing" behaviour, but it is quite similar now to the base64 package.
I also removed the last two commits from the command-output, sorry for that. Definitely should go in a separate PR.

any progress on this, @yorinasub17? Or is there anything else I can do?

Apologies! I was on vacation and then have been buried in catch up on various tasks and had put this off. I should be able to review this prior to the end of the week. Thanks for your patience!

No worries, thank you!

Ok I think this is ready for testing. Just a few more minor bugs, and then I'll kick off the build.

Thanks, missed those!
Fixed & ready 🙂

Ok build failed, but for a reason unrelated to this PR. Given that, I'll go forward with merging this in. Thanks for your contribution!

Isn't modules/k8s/kubectl_options.go missing the capability to use a custom logger as well?


list-group not working on Meteor install

I installed bootstrap via the Meteor package manager, and by and large it worked great. However, I'm trying to create a list-group, but the styling isn't appearing. My HTML is as follows:

	Students
	Teachers
	Administrators
	Places

However, the items only render as stacked links, not the richly styled list that is visible [http://getbootstrap.com/components/#list-group-basic](on the Bootstrap site). While inspecting the attributes applied to list-group and list-group-item on my site and on the Bootstrap site, there appear to be subtle differences that could be contributing to this. Any idea what gives?

Actually, this is probably an issue with the theme I am using. I'm closing this issue.


Still encountering issue #18, clicking Storage god mode breaks the game

I have the same issues as explained in issue 18, but i am on version 1.8.1
https://github.com/altmank/CaptainOfCheats/issues/18
Clicking the storage god mode breaks the game, after this I can't really interact with anything at all. Things do not get highlighted and are not clickable.
Any suggestions?

Please attach your game log file.
On Sun, Aug 28, 2022, 7:26 AM Rawhn @.***> wrote:

I have the same issues as explained in issue 18, but i am on version 1.8.1
#18 https://github.com/altmank/CaptainOfCheats/issues/18
Clicking the storage god mode breaks the game, after this I can't really
interact with anything at all. Things do not get highlighted and are not
clickable.
Any suggestions?
—
Reply to this email directly, view it on GitHub
https://github.com/altmank/CaptainOfCheats/issues/20, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFPL5EB7HVRM5ZU3PVFNEATV3NLJBANCNFSM5727TPBA
.
 But you're getting an error that looks related to the 0.4.11 experimental build. Please try two things:

Have Steam verify your game files
Try the 1.8.0 mod version, 1.8.1 was only created to try and preempt an issue in the upcoming 0.4.11 build and as far as I know has been stable before this point for several versions, so its a good fallback to try.

Also, see if 1.8.2 fixes your issue as well. https://github.com/altmank/CaptainOfCheats/releases/tag/v1.8.2


Allow derived predicates between static predicates and plain predicates

Use case is defining reference ranges (ie. lab values) depending on static variables (ie. sex).

Discussed in https://github.com/mmcdermott/MEDS-DEV/pull/25#pullrequestreview-2386049644


added support for PHP 7.3 up to PHP 8.0 and updated required dependencies

The following updates were implemented in this library

added support for PHP 7.3 up to PHP 8.0
updated flagception and doctrine DBAL to the latest version
updated dev dependencies to the latest version

Thanks for your contribution. Looks good to me.
I think we can remove Phing soon and call phpunit and co directly.

I tagged the changes as 1.1.0. ;-)

Thanks for your contribution. Looks good to me.
I think we can remove Phing soon and call phpunit and co directly.

That would be nice. I can do that in another PR in the upcoming days if that's ok with you

I tagged the changes as 1.1.0. ;-)

Awesome ☺

That would be nice. I can do that in another PR in the upcoming days if that's ok with you

Of course. Any help is welcome. :-)


driver identification by qrcode

The option to identify the driver by qrcode would be interesting. It would work as follows, each vehicle in the app would generate a qrcode that could be printed and pasted on the vehicle's dashboard, for example, then the driver allocated to that vehicle logged into traccar would take out his cell phone and read it. the qrcode and the add system that at that moment the vehicle is being driven by that driver, I've seen this on other platforms and it's very good for controlling companies.

I think that the whole driver revamp is needed, but I did not yet come to that - but maybe we could cooperate. Currently it's not even possible to 'manually' assign a driver to the device, as the driver is only 'recognised' from the device. So I think this would be the first step, and then we could add different (non device) ways of assigning a driver to the vehicle. Are you willing to put in any development hours for this?

I've already done this through an app, on the web you have to think about it.


How to (Can we) define events on nested object in array?

I have simply my model as below:
but this doesn't work.
    Items = new Mongo.Collection('items');

    Item = Astro.Class({
        name: 'Item',
        collection: Items,
        fields: {
            subItems: {
                type: 'array',
                nested: {
                    name: 'ItemSubItem',
                    fields: {
                        msg: 'string'
                    },
                    events: {
                        afterInsert(e){
                            console.log('create sub item~~')
                        },
                        afterUpdate(e){
                            console.log('update sub item ...')
                        },
                        afterRemove(e){
                            console.log('remove sub item !!!');
                        }
                    }
                }
            }
        }
    });

It's an interesting question - I was just wondering how I can/should be able to apply a behavior like timestamp to a nested model.

Yes it does not work. Unfortunately something (nested classes) that was intended to solve many problems is causing many other problems. I've decided that I in 1.3 version I will bring back the old way of defining nested fields. It will solve all the problems with nested events, behaviors etc. Both ways of defining nested fields will work however it will be recommended to use the new (old) way from the 1.3 version.


Support for passing in JSON as text files

Hello,
Is there currently any support for taking a file for JSON parameter inputs? If not, are there any plans for it?
It's quite a pain to escape quotes, etc, when passing in JSON inputs in command line :)
Thanks!

You should be able to load those files like so:
blah... --my-json-param @json_file.json

Prefix the filename with @

@tjprescott is there a specific version that we should be using now? I think we were on 0.1.1 for our CLI, any issues if we upgrade to the latest?

@samedder sorry, I thought this functionality was in Knack because it exists in the Azure CLI that Knack was based off of.  Currently this is not in Knack.

Hi,
I developed a fix to this issue, and have added a test for this fix to the testing suite. All tests are passing.
I have the input JSON file being loaded into the parameter as a dict.  Is this the desired behavior?
Just wanted to make sure I'm accurately addressing the issue before submitting a PR.

Hi @parkerduckworth the implementation for the @ feature is already in the Azure CLI and would basically be lifted from that. It would essentially allow you to use --my-param @some_file to load the contents of that file as a string.  If the developer wanted to transform or interpret that string (say, as a dict or JSON object) that would do that either in their command logic or in a validator.
https://github.com/Azure/azure-cli/blob/dev/src/azure-cli-core/azure/cli/core/commands/__init__.py#L64
Then it's simply a matter of having the main command flow call this at the appropriate time. Hope that clarifies things.
Thank you for your willingness to contribute!

This has been implemented in #142. Thanks @parkerduckworth! It will be in the next knack release.


Unable to start with docker run

What am I doing wrong, for some reason my port is being ignored? Even on port 8080 I cannot connect?
❯ docker run --name microbin -p 9696:8080  -v /home/mike/docker/microbin/microbin-data:/app/microbin_data danielszabo99/microbin
Emulate Docker CLI using podman. Create /etc/containers/nodocker to quiet msg.
2023-07-15T21:53:07 [INFO] - MicroBin starting on http://<IP_ADDRESS>:8080
2023-07-15T21:53:07 [INFO] - Starting 1 workers
2023-07-15T21:53:07 [INFO] - Actix runtime found; starting in Actix runtime

This is RHEL 9.2 with Podman.

Remember, -p 9696:8080 is a port mapping, it does not set which port MicroBin should run on. But in your case, this should work just fine and you should be able to access MicroBin at http://localhost:9696, so I am not sure what went wrong in your case. If you would like to change MicroBin's port, you can use environmental variables. You can set them with a .env file for example. You will find the variables on the website and a recommended .env file in the repository. You should try the quick docker setup script, it's in the README and on the website front page as well.

I wanted to set this up using Podman and Quadlet which I have now done.
Unsure why I could not connect but all is fine now. With this setup it's possible for the containers to update themselves automatically if you wish.
Here is my podman unit file in case its of any use to somebody with RHEL.
[Unit]
Description=Microbin
After=local-fs.target

[Container]
Image=docker.io/danielszabo99/microbin
Volume=/home/mike/docker/microbin/microbin-data:/app/microbin_data
PublishPort=9696:8080
Environment=TZ=Europe/London
EnvironmentFile=/home/mike/docker/microbin/environment.env
ContainerName=microbin
Label="io.containers.autoupdate=registry"
Exec=

[Install]
# Start by default on boot
WantedBy=multi-user.target default.target

Glad you managed to make it work in the end, if you find out later what was causing the connection issue please do share. Just something regarding the automatic container update, please be careful with that as some users have been reporting that MicroBin reinitialised the database when they updated the container manually. Until we figure out why that was happening, I would recommend manually updating MicroBin instead so you don't lose any important data if I push an update at the wrong time.
Also, thank you for becoming a sponsor 🙂


Missing field in search/2020-03-13

In the latest api-version (2020-03-13) of search, a nextLink is introduced to the QueryKeys_ListBySearchService operation, but the corresponding response model is not modified to possess a field named nextLink (here).
This issue is currently blocking the generation of go SDK.

FYI @tjacobhi

Hi, I am working blocked by this issue, could anyone could please fix that? Thanks for that!

This was fixed in this PR https://github.com/Azure/azure-rest-api-specs/pull/9085. Please let me know if you are still having trouble.

Closed since it should have been resolved.


javascript trap + better documentation of js and css

Actually : LibreJs block universal.js  :disappointed: .
I think  :thought_balloon: js and css must be well documented with jsdoc and cssdoc too  :notebook_with_decorative_cover:

See https://github.com/marmelab/universal.css/pull/26  :v:


Added Face Mask Algorithm

Pull Request Template
What have you Changed(must)
Added Face mask detection algorithm
Write here what you have changed in codebase
Issue no.(must) -
#649
Pr will be closed and marked as spam. If issue number not found or issue was assigned to someone else.
Marking as spam can block your account from HacktoberFest.
Self Check(Tick After Making pull Request)

[x] This issue was assigned to me if not it will marked as spam.
[x] My file is in proper folder.
[x] I am following clean code and Documentation.
[x] I have added title and what program will do first in the file.

README - How to Contribute

@div-bargali merge this Pr


isAccessible property for iterators?

Is your feature request related to a problem? Please describe.
This is not really a problem, but I noticed accessing an iterator's pointer causes users some confusion (e.g. #145).
From what I can tell, the correct way to check if an iterator's pointer can be accessed varies slightly for each collection, but is usually something like (given collection, collection, and the appropriate iterator instance, it):
!it.equals(collection.end())

Describe the solution you'd like
I wonder if it is a good idea to have an isAccessible boolean getter on all the iterators so you can check if it can be accessed.
Describe alternatives you've considered
Otherwise you can just try to access it and catch the RangeError, but this is not the best practice in JavaScript (errors are best used for genuine runtime errors etc. rather than for logic).
Users making sure they understand how the collection works and when the pointer can be accessed or not is always a good idea, of course :wink:.
Additional context
This could also help with enhancing the code readability and self-documenting, as there would be functions defined in the source providing definitive way of checking if the pointer can be accessed.

Looks good, I will consider adding this field in the next version.

Version 4.4.2 has been published. @x11x


Does RemoteData still exist?

Trying to follow this tutorial and bumping into following error:
Module not found: Error: Can't resolve './helpers/RemoteData' in ...

When trying:
{{#let
  (RemoteData
    "..."
  )
  as |request|
}}
  isLoading:
  {{request.isLoading}}
  data:
  {{request.value}}
{{/let}}

It does still exist! Tho it moved here:
https://reactive.nullvoxpopuli.com/functions/remote_data.RemoteData.html
That tutorial chapter should be updated to use the new import path, can you open an issue over there?
(Or a PR?)
Thanks!

Wanted to help out, but I'm bamboozled now. The path in the tutorial seems correct?

But the blame seems to be changed a while ago?
IDK, the status quo seems correct to me...

I may have updated it :sweat_smile:


The prefix name is duplicated in the schemaLocation typeName

Hi,
The GML response to a GetFeature request like this:
http://web.regione.toscana.it/wfsvector/com.rt.wfs.RTmap/wfs?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=sita:idcomuni&SRSNAME=EPSG:3003
has a schemaLocation attribute where the Typename has the prefix (read 'sita') duplicated.
This is the response it give:
<wfs:FeatureCollection xsi:schemaLocation="http://www.regione.toscana.it/
http://web.regione.toscana.it:80/wfsvector/com.rt.wfs.RTmap/wfs?service=WFS&version=1.0.0&request=DescribeFeatureType&Typename=sita:sita:idcomuni
http://www.opengis.net/wfs
http://schemas.opengis.net/wfs/1.0.0/WFS-basic.xsd
http://www.opengis.net/gml
http://schemas.opengis.net/gml/2.1.2/feature.xsd"
>
please, notice the double sita:sita in the typeName attribute.

This seems to be fixed earlier through this commit https://github.com/MapServer/tinyows/commit/f4345f886a5da620a7fe9185c64f8b92c403994c#diff-11417a4218e5fa9d2126912e7411fd9a69e986cc81735dc45914b44ae9879a5a
I cannot reproduce now.  Closing.


Use PDM for lockfiles & env management

This replaces our scripted together requirements management with PDM. Our current system has several limitations and can lead to upsies (see https://github.com/pydantic/pydantic/commit/fb2944808b2b216307fccd5babf11c44bfed55eb#diff-3362b72813f83c18d0f1be4e6039d1a1ddc4e16b1324c2a82700d74b990011f9).
I chose PDM because it can work with hatchling as the build backend, which minimizes the number of things that need to change in this PR (vs. something like Poetry which would require a lot more churn).
Selected Reviewer: @samuelcolvin

Okay I looked at the docs page for PDM and it looks pretty well-thought-out. I do think it's a good idea to rework the dependency management stuff, given the "upsies" lol

I'll say that while PDM seems well thought out, it is opinionated and seems to favor correctness over user friendliness. The docs are also not great in my opinion, they tell you an option exists but not how to use it or what it really means. Anyhow, it works.

please review

I also think there's something to be said for using a single tool (PDM?) for managing both the build backend, publishing and dependencies/lockfiles.

In principle I'm good with this - nice to have a solution to the requirements mess.
Can we update the contributions section to explain how to use this.
I'll try this out today.


Describe.appendAllAttributes() NPE check

In some cases "executeJavaScript()" may return NULL what can lead to NPE at "new TreeMap<String, String>(map);"

I found that NPE happens in IE. Merged it.


Crash

I placed down the creative purifier in a flatland test world.
https://paste.dimdev.org/inuqarelim.py

Don't do that. That's not meant to be used like that


b23+ resolve.modulesDirectories not in schema

I'm submitting a bug report
As of b23+, the new schema enforcement doesn't contain an entry for resolve.modulesDirectories. I thought this might be an oversight since nothing was specifically mentioned about it in any of the release notes, and like any schema validation issue, it breaks builds.
NOTE: This also breaks Wallaby
Webpack version:
2.1.0-beta.23 - 2.1.0-beta.25
OSX 10.11.6

http://webpack.js.org/how-to/upgrade-from-webpack-1/

Thanks. This is the first time I've seen this documentation for webpack 2. I'll file an issue over at Wallaby for this one.

It's new :smile:

It's awesome! Also, Wallaby just patched for 2.x schema!


Update mkdir method signature for CDH3 client.

Description
As of 2.6.2 mkdir fails when running on CDH3 and using the hadoopcli client.
Motivation and Context
We're currently running Luigi on CDH3 and just hit this very old issue: #520
Have you tested this? If so, how?
Yes, this change has been patched in locally and our tasks now run as expected.

Thanks!


Use upcloud firewall with ansible

Before this is useful we need to add upcloud-firewall role in wunderkraut/WunderMachina repository. See this PR: https://github.com/wunderkraut/WunderMachina/pull/137
To apply these changes for current project the inventory file needs to contain upcloud_uuid variables like this:
[wundertools-dev]
<IP_ADDRESS> upcloud_uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

[wundertools-stage]
<IP_ADDRESS> upcloud_uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

[wundertools-prod-db]
<IP_ADDRESS> upcloud_uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

[wundertools-prod-lb]
<IP_ADDRESS> upcloud_uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

[wundertools-prod-front]
<IP_ADDRESS> upcloud_uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
<IP_ADDRESS> upcloud_uuid=XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

Or we need to add the machines using dynamic inventory from: https://github.com/UpCloudLtd/upcloud-ansible/.

We have lot's of projects already created with the WunderTools and they only contain IP-addresses of the machines in the inventory file. There's plenty of manual labour involved in adding upcloud_uuid to all machines.
upcloud_firewall directive from https://github.com/UpCloudLtd/upcloud-ansible/ supports only hostname or uuid as identifier for the machine. I think we could create a PR which adds ip address into the options as well.
Upcloud has documented the API to retrieve uuid with given IP-address over here: https://www.upcloud.com/static/downloads/upcloud-apidoc-1.2.1.pdf#page=69
So adding the new option using ip into: upcloud_firewall seems like the easiest way to solve this.

Adding method to retrieve server details by ip would be great. As we are already including the upcloud ansible library to our repo shouldn't be a problem to add that and then pass the pr to upstream.


fix autocmd example

Thanks, but I think you introduced some new issues.

There seems to be an extra right paren on the print line
the 'end' is malformatted. It should be indented to the same level as the vim.schedule

All done fixed them up

thanks again!


An upload-only client

I'm building a doorway video monitor using a webcam and a Raspberry PI. I'm using motion (https://motion-project.github.io/) to capture video and images, and I'd like to use gdrive to upload those images to Google Drive for secure storage.
However, inherent in the gdrive tool is that a person with access to the pi might be able to use the same gdrive to delete images and video that have already be sent to Google Drive.
How difficult would it be to create an upload-only client, either by using a compile-time flag, or as a separate project?

@spierepf This should be possible by altering the permissions token you give to gdrive. If you gave an upload-only token, gdrive couldn't modify files in google drive. This would cause the CLI to fail with non-user-friendly errors when you attempted to do write operations, but it would work to prevent them from occurring.
Code to be modified would be the part that brings up the authentication bag in google when the cli is installed - doesn't sound that difficult!


making pushing to git optional

For #17
This allows running locally without the git side effect.

I removed the print statements for now, we should be using the logging package for those so that we can enable/disable at will but that doesn't belong in this PR which is about making push to git optional.


"Container.id" resource attribute is wrong

What version of OpenTelemetry are you using?
"telemetry.sdk.language": "nodejs",
"telemetry.sdk.version": "1.10.1",

  "dependencies": {
    "@grpc/grpc-js": "1.6.7",
    "@opentelemetry/api": "1.4.1",
    "@opentelemetry/auto-instrumentations-node": "0.36.4",
    "@opentelemetry/auto-instrumentations-web": "0.31.2",
    "@opentelemetry/context-zone": "1.10.1",
    "@opentelemetry/core": "1.10.1",
    "@opentelemetry/exporter-metrics-otlp-grpc": "0.36.1",
    "@opentelemetry/exporter-trace-otlp-grpc": "0.36.1",
    "@opentelemetry/exporter-trace-otlp-http": "0.36.1",
    "@opentelemetry/instrumentation": "0.36.1",
    "@opentelemetry/resources": "1.10.1",
    "@opentelemetry/sdk-metrics": "1.10.1",
    "@opentelemetry/sdk-node": "0.36.1",
    "@opentelemetry/sdk-trace-base": "1.10.1",
    "@opentelemetry/sdk-trace-node": "1.10.1",
    "@opentelemetry/sdk-trace-web": "1.10.1",
    "@opentelemetry/resource-detector-alibaba-cloud": "0.27.4",
    "@opentelemetry/resource-detector-aws": "1.2.2",
    "@opentelemetry/resource-detector-container": "0.2.2",
    "@opentelemetry/resource-detector-gcp": "0.28.0",
    ...

What version of Node are you using?
v18.16.0
What did you do?
We are using OpenTelemetry official demo:
https://github.com/open-telemetry/opentelemetry-demo/blob/main/kubernetes/opentelemetry-demo.yaml
We find the container.id resource attribute of my-otel-demo-frontend deployment (written by Node.JS) is wrong.
The expected value is: 00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb
The returned value is: cc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
Note: you can see the wrong value lose the first 6 characters and has a wrong suffix of ".scope"
The problem is similar to the issue reported by https://github.com/open-telemetry/opentelemetry-js-contrib/issues/1408
What did you expect to see?
We expect to see the real container ID. In this demo environment, it should be 00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb
What did you see instead?
We saw a wrong container.id: cc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
Additional context
There is no such issue of apps using other OTel language SDKs in the same demo:
https://github.com/open-telemetry/opentelemetry-demo/blob/main/kubernetes/opentelemetry-demo.yaml
The problem is probably a defect of code at:
https://github.com/open-telemetry/opentelemetry-js-contrib/blob/main/detectors/node/opentelemetry-resource-detector-container/src/detectors/ContainerDetector.ts#L62
The raw data is something like:
13:misc:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope

We expect to get the container id which is "00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb", while current OTel JS SDK gets the wrong value: "cc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope"
I did not create a PR for it because I do not know if there are other scenarios.

Here is the example of the whole file of  /proc/self/cgroup
# kubectl exec my-otel-demo-frontend-6fb55b5cb-mfj29 -- cat /proc/self/cgroup

13:misc:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
12:memory:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
11:blkio:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
10:cpuset:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
9:rdma:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
8:net_cls,net_prio:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
7:cpu,cpuacct:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
6:freezer:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
5:perf_event:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
4:pids:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
3:devices:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
2:hugetlb:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope
1:name=systemd:/kubepods.slice/kubepods-burstable.slice/kubepods-burstable-podef16c429_a6ae_4674_a08e_848717fd4555.slice/crio-00601ecc8806271163e6f8e8456d1614817bc5e6d7fa19025fea6fb0b373e7bb.scope

I am working on a monitoring tool to read the OTel data. I tried "https://github.com/open-telemetry/opentelemetry-demo/blob/main/kubernetes/opentelemetry-demo.yaml". For those OTel language SDKs who can report "container.id" resource attributes:

java, dotnet, and golang are doing well.
nodejs has a small defect.
php has a defect to use a wrong container id. I opened another ticket for them.

There are 2 versions of cgroup using the 2 system files as I mentioned in previous post. For example, in my environments Java is doing well with following code which you can refer to:
https://github.com/open-telemetry/opentelemetry-java-instrumentation/blob/main/instrumentation/resources/library/src/main/java/io/opentelemetry/instrumentation/resources/ContainerResource.java#L54-L60

I have made a PR https://github.com/open-telemetry/opentelemetry-js-contrib/pull/1682


Vulnerability roundup 73: libpng-1.2.57: 1 advisory

search, files

[ ] CVE-2017-12652 (nixos-unstable, nixos-19.03)

Scanned versions: nixos-unstable: 239fffc90d7; nixos-19.03: 31d476b8797. May contain false positives.

Closing as NixOS 19.03 is no longer supported and unstable is no longer vulnerable.


Sharding-jdbc supports multiple logic databases

Feature Request
For English only, other languages will not accept.
Please pay attention on issues you submitted, because we maybe need more details.
If no response more than 7 days and we cannot make decision by current information, we will close it.
Please answer these questions before submitting your issue. Thanks!
Is your feature request related to a problem?
No
Describe the feature you would like.
Since I've been using the Orchestration to manage sharding-jdbc configurations, the project depending on datasource connection only need to refer the logic db by this way:
sharding.jdbc.config.orchestration.name=db1
sharding.jdbc.config.orchestration.overwrite=false
sharding.jdbc.config.orchestration.registry.namespace=sharding-jdbc-business
sharding.jdbc.config.orchestration.registry.server-lists=10.x.x.x:2181

The Question is that some projects need to connect to multiple logic databases( for example the backend management system), and I what I want is to refer multiple logic databases like this way:
sharding.jdbc.config.orchestration.name=db1,db2,db3

So I can then change these logic databases in my projects dynamically.
By the way, after reading source code, I find there is only one logic db named logic_db existing in context by hard coding. I wonder If it can be renamed to the orchestration name which could make it more convenient to manage these logic databases.

If no response more than 7 days and we cannot reproduce it on current information, we will close it.


Data Collector should output JSON rather than an unmarshalled puts of a ruby Hash to the output file

I can't see how anyone ever successfully used the file output feature, since I don't see how you'd successfully parse the output that gets written to a file.
This should be changed to write JSON.
This is a "breaking change" in some sort of navel-gazing sense, but I can't see how the prior format was useful to anyone (I certainly can't figure out how to parse it).

fixed by #8063


Deployment Pane: .bicepparam file support

It would be great if this extension supported .bicepparam files as well as .parameters.json files. Thanks!

@jrskerrett - assuming this relates to the deployment pane because of the original title.
.bicepparam files are supported in the Deployment Pane - you just have to launch it from the .bicepparam file rather than the .bicep file:


Downsample full spectrum and use full ifft

By using a full (symmetric) spectrum, the symmetric flag can be avoided.
real() only deals with very small round-off errors now.

As we are now using signals that are doubled in length will this slow the calculation down?
For interpolate_ir() this might be important as you could imagine calling this function quite often.
By using this approach to avoid 'symmetric' altogether we also have to change this line in modal_weighting().

The symmetric option in combination with the number of output bins should do exactly the same.
As long as this is not optimized internally, this should make no distance.
There is no indication that this is the case, have a look at the computation times in https://github.com/sfstoolbox/sfs-matlab/issues/133

Should be patched.

Cool, thanks.
I will make a final test next week under Matlab and Octave.

Thanks, modal_weighting() works without the symmetric option now and returns the exact same results.
I added test_modal_weighting() to check for this.
@chris-hld: the new implementation of interpolate_ir() does not lead to the same results as before.
Please run test_interpolation_methods(1) for the master branch and your branch and compare Fig. 2, 3, 5, and 7. There you can easily find differences.

The problem was the phase unwrapping of the second part, i.e. indices greater idx_half, of the spectrum. It is now done for the first part only followed by a mirroring of magnitude and phase.

Cool, now there is now difference any longer.
I would like to squash the commits into two (one for the added test_modal_weighting() and one for the changes to interpolate_ir()), before merging. Is this fine with you?

Yep

Sure!
On Jul 12, 2017, at 9:14 AM, Fiete Winter <notifications<EMAIL_ADDRESS>wrote:
Yep

You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/sfstoolbox/sfs-matlab/pull/155#issuecomment-314819503, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AKVCOW5jaWAfnDPzIMCZaghAlEeYEh-Hks5sNPC3gaJpZM4OFsGW.


feat: add set_video for Embed

About
This pull request adds the set_video helper for Embed, which was missing :(
Checklist

[x] The pre-commit code linter has been run over all edited files to ensure the code is linted.
[x] I've ensured the change(s) work on 3.8.6 and higher.
[ ] I have added the versionadded, versionchanged and deprecated to any new or changed user-facing function I committed.

Pull-Request specification
I've made this pull request: (check all that apply)

[ ] For the documentation
[x] To add a new feature
[ ] As a general enhancement
[ ] As a refactor of the library/the library's code
[ ] To fix an existing bug
[ ] To resolve #ISSUENUMBER

This is:

[ ] A breaking change

Do videos work? I remember they don't work with bot-made embeds (rich embeds).

Oh you're right, bye PR


Tag 0.1.6 release in GitHub

Please tag your 0.1.6 release in GitHub

0.1.6 was a readme change

I went ahead and cut a release anyway


Documentation feedback

To improve the overall documentation for our iOS libraries, we would like to gather any comments, remarks or suggestions about the current documentation for our main libraries:

SRG Media Player: Overview and getting started guide.
SRG Analytics: Overview and getting started guide.
SRG DataProvider: Overview and getting started guide.
SRG Letterbox: Overview and getting started guide.

as well as the documentation for our companion libraries if you happen to use them:

SRG Logger: Integration guide.
SRG Appearance: Integration guide.

For example:

Did you read the documentation before starting integrating our components into your projects?
Did you find the documentation helpful and understandable?
How much time did you roughly need to perform a basic integration of our components into your application?
Was the documentation sufficient for you to get started with our components?
Is background information (purpose, scope) about a component sufficient or do you need more information?
Are headers sufficiently and accurately documented? Did you find inconsistencies between documentation and actual behavior?
What kind of documentation should we add?

Please post any suggestion or feedback within this thread. We will try to take into account as much feedback as possible to enhance the documentation for our upcoming library releases.
Thanks in advance for your help in improving our products.

We also created #135 which is quite related to #129. Other issues have been addressed.


optimize(config): accelerate daprd

default access policy set nil and unneccessarily get spiffeid proccessing to accelerator daprd.

The title is a little but ambiguous. What does it improve? Is there a metric? Sorry for asking these questions but I am just trying to avoid a premature optimization and cause a break in functionality.

@1046102779 ping


Added national animals of UK constituent countries / JSON fix

As pointed out by @wjdp the lion is not the national animal of the UK. Instead each constituent country has an animal so I've updated the file accordingly. I've also fixed the alphabetical ordering and a stray comma in the JSON.
http://www.worldatlas.com/webimage/countrys/europe/unitedkingdom/uksymbols.htm

nice one

Looks spot on, good work!

yes, thank you guys. I would like to also add another data, like geolocation (long/lat) and anything more you can think of.

Adding lat/long to each entry could be done with a script pulling from
Google Maps or similar
On 3 Jun 2015 20:08, "lei wulong"<EMAIL_ADDRESS>wrote:

yes, thank you guys. I would like to also add another data, like
geolocation (long/lat) and anything more you can think of.
—
Reply to this email directly or view it on GitHub
https://github.com/samayo/country.json/pull/9#issuecomment-108582418.


Fix netconf version matching logic when WithNetconfPreferredVersion is used

Fixes https://github.com/scrapli/scrapligo/issues/119

LGTM - tested w/ iosxe and does what it should 🥳


Update login to new API

After the discussion on https://github.com/magsol/garmin/issues/10 here is the resulting PR.
However I noticed that the activity download part is not working. Maybe the link changed? (I did not notice this on my fork since I download the original activity instead of the TCX.)

You are absolutely correct. It looks like it's a problem on the Garmin Connect side--I've tried downloading a couple of activities' TCX format through the web interface and still received 500 errors.


Print retires & display additional info

Fixes #717 #681 #738
Checklist

[ ] Documented
[ ] Unit tested
[ ] release_notes.md updated

AndroidArgs
    gcloud:
      results-bucket: test-lab-v9cn46bb990nx-kz69ymd4nm9aq
      results-dir: null
      record-video: false
      timeout: 15m
      async: false
      client-details:
      network-profile: null
      results-history-name: null
      # Android gcloud
      app: /Users/janek/projects/flank-project/flank/test_runner/src/test/kotlin/ftl/fixtures/tmp/apk/app-debug.apk
      test: /Users/janek/projects/flank-project/flank/test_runner/src/test/kotlin/ftl/fixtures/tmp/apk/app-multiple-flaky-debug-androidTest.apk
      additional-apks:
      auto-google-login: false
      use-orchestrator: true
      directories-to-pull:
        - /sdcard/
      other-files:
      performance-metrics: false
      num-uniform-shards: null
      test-runner-class: null
      test-targets:
      robo-directives:
      robo-script: null
      device:
        - model: NexusLowRes
          version: 28
          locale: en
          orientation: portrait
      num-flaky-test-attempts: 3

    flank:
      max-test-shards: 2
      shard-time: -1
      num-test-runs: 1
      smart-flank-gcs-path:
      smart-flank-disable-upload: false
      files-to-download:
        - .*/sdcard/[^/]+\.ec$
      test-targets-always-run:
      disable-sharding: false
      project: flank-open-source
      local-result-dir: results
      # Android Flank Yml
      keep-file-path: false
      additional-app-test-apks:
      run-timeout: -1
      legacy-junit-result: false
      ignore-failed-tests: false

RunTests

  Smart Flank cache hit: 0% (0 / 5)
  Shard times: 240s, 360s

  Uploading app-multiple-flaky-debug-androidTest.apk   Uploading app-debug.apk ..

  5 tests / 2 shards

  1 matrix ids created in 0m 7s
  https://console.developers.google.com/storage/browser/test-lab-v9cn46bb990nx-kz69ymd4nm9aq/2020-05-12_12-33-23.713000_vrEO/

Matrices webLink
  matrix-bxs7irgqf2mda https://console.firebase.google.com/project/flank-open-source/testlab/histories/bh.da0c237aaa33732/matrices/7945200213789677367

  0m  1s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd PENDING
  0m  1s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h PENDING
  0m 32s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Starting attempt 1.
  0m 32s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd RUNNING
  0m 32s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Starting attempt 1.
  0m 32s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h RUNNING
  1m 22s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Started logcat recording.
  1m 22s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Preparing device.
  1m 28s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Started logcat recording.
  1m 28s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Preparing device.
  1m 46s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Installing apps.
  1m 46s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Installing apps.
  1m 59s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Retrieving Pre-Test Package Stats information from the device.
  1m 59s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Retrieving Performance Environment information from the device.
  1m 59s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Started crash detection.
  1m 59s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Started crash monitoring.
  1m 59s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Starting instrumentation test.
  2m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Retrieving Pre-Test Package Stats information from the device.
  2m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Retrieving Performance Environment information from the device.
  2m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Started crash detection.
  2m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Started crash monitoring.
  2m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Starting instrumentation test.
  2m 11s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Completed instrumentation test.
  2m 11s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Completed instrumentation test.
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa PENDING
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Stopped crash monitoring.
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Retrieving Post-test Package Stats information from the device.
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Stopped logcat recording.
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Done. Test time = 14 (secs)
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Starting results processing. Attempt: 1
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd Completed results processing. Time taken = 2 (secs)
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-22t43h1j7e2wd FINISHED
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr PENDING
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Stopped crash monitoring.
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Retrieving Post-test Package Stats information from the device.
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Stopped logcat recording.
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Done. Test time = 10 (secs)
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Starting results processing. Attempt: 1
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h Completed results processing. Time taken = 2 (secs)
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-0 execution-2ppaxo6r1ve1h FINISHED
  2m 35s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u PENDING
  3m  0s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Starting attempt 1.
  3m  0s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa RUNNING
  3m  0s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Starting attempt 1.
  3m  0s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr RUNNING
  3m  0s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Starting attempt 1.
  3m  0s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u RUNNING
  3m 49s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Started logcat recording.
  3m 49s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Preparing device.
  3m 49s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Started logcat recording.
  3m 49s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Preparing device.
  4m  2s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Started logcat recording.
  4m  2s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Preparing device.
  4m 15s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Installing apps.
  4m 15s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Installing apps.
  4m 15s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Retrieving Pre-Test Package Stats information from the device.
  4m 15s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Retrieving Performance Environment information from the device.
  4m 27s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Retrieving Pre-Test Package Stats information from the device.
  4m 27s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Retrieving Performance Environment information from the device.
  4m 27s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Started crash detection.
  4m 27s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Started crash monitoring.
  4m 27s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Starting instrumentation test.
  4m 34s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Started crash detection.
  4m 34s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Started crash monitoring.
  4m 34s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Starting instrumentation test.
  4m 34s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Installing apps.
  4m 34s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Retrieving Pre-Test Package Stats information from the device.
  4m 34s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Retrieving Performance Environment information from the device.
  4m 34s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Started crash detection.
  4m 34s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Started crash monitoring.
  4m 34s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Starting instrumentation test.
  4m 40s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Completed instrumentation test.
  4m 40s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Completed instrumentation test.
  4m 53s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Completed instrumentation test.
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Stopped crash monitoring.
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Retrieving Post-test Package Stats information from the device.
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Stopped logcat recording.
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Done. Test time = 13 (secs)
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Starting results processing. Attempt: 1
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa Completed results processing. Time taken = 2 (secs)
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-15nt5nhl4twoa FINISHED
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Stopped crash monitoring.
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Retrieving Post-test Package Stats information from the device.
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Stopped logcat recording.
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Done. Test time = 15 (secs)
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Starting results processing. Attempt: 1
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr Completed results processing. Time taken = 2 (secs)
  5m  5s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-2ohsc9p6f57pr FINISHED
  5m 11s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Stopped crash monitoring.
  5m 11s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Retrieving Post-test Package Stats information from the device.
  5m 18s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Stopped logcat recording.
  5m 18s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Done. Test time = 13 (secs)
  5m 18s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Starting results processing. Attempt: 1
  5m 24s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u Completed results processing. Time taken = 2 (secs)
  5m 24s matrix-bxs7irgqf2mda NexusLowRes-28 shard-1 execution-3gvs6r96igw5u FINISHED
  5m 24s matrix-bxs7irgqf2mda FINISHED
FetchArtifacts
  .....
  Updating matrix file

CostReport
  Virtual devices
    $0.08 for 5m

MatrixResultsReport
  0 / 1 (0.00%)
  1 matrices failed

Error: Matrix failed: matrix-bxs7irgqf2mda FINISHED failure  https://console.firebase.google.com/project/flank-open-source/testlab/histories/bh.da0c237aaa33732/matrices/7945200213789677367

Process finished with exit code 1

I have added 2 additional styles for displaying single & multi line shortened output. On consoles which not honors ansi codes multi line output will not be display correctly so single line output can be used.

Single line output:
3m 35s Test executions status: FINISHED:2, PENDING:2 RUNNING:4

In both cases old output is overwritten when status has changed
Single line output is a port from gcloud MonitorTestMatrixProgress function
I will add new flank option output_style to allow force specific style.
And I have to add some unit tests also.

Codecov Report

Merging #779 into master will increase coverage by 0.53%.
The diff coverage is 78.76%.

@@             Coverage Diff              @@
##             master     #779      +/-   ##
============================================
+ Coverage     78.16%   78.69%   +0.53%
- Complexity      667      684      +17
============================================
  Files           127      131       +4
  Lines          2789     2896     +107
  Branches        401      416      +15
============================================
+ Hits           2180     2279      +99
+ Misses          353      349       -4
- Partials        256      268      +12


running out of disk quickly with default 32GB

How do I create a VM with larger disk space? I didn't find an option under crc config or crc start
General information

OS: macOS
Hypervisor: hyperkit
Did you run crc setup before starting it (Yes/No)? yes
Running CRC on: Laptop

CRC version
CodeReady Containers version: 1.17.0+99f5c87
OpenShift version: 4.5.14 (embedded in binary)

CRC status
CRC VM:          Running
OpenShift:       Running (v4.5.14)
Disk Usage:      26.11GB of 32.72GB (Inside the CRC VM)
Cache Usage:     13.2GB
Cache Directory: /Users/$USER/.crc/cache

oc debug node/
df -h
Filesystem                            Size  Used Avail Use% Mounted on
/dev/mapper/coreos-luks-root-nocrypt   31G   25G  6.4G  80% /
tmpfs                                 9.8G     0  9.8G   0% /sys/fs/cgroup
devtmpfs                              9.8G     0  9.8G   0% /dev
tmpfs                                 9.8G  168K  9.8G   1% /dev/shm
tmpfs                                 9.8G   16M  9.8G   1% /run

CRC config
- cpus                                  : 6
- memory                                : 20384

Steps to reproduce

crc setup
crc start
install openshift pipelines
run a few builds ~5 using buildah

Expected
Not run out of disk space so fast
Actual
Ran out of disk space on the VM
Please consider posting the output of crc start --log-level debug  on http://gist.github.com/ and post the link in the issue.

How do I create a VM with larger disk space? I didn't find an option under crc config or crc start

You cannot do it with current crc releases, but there's a PR for disk resize feature (https://github.com/code-ready/crc/pull/1607) should be part of the next release.

Closing as this is a duplicate of previous issues, including #127 to resolve this.
An upcoming release will resolve this.


Nova with benchmarks

Apply the implementation of Nova Scotia to image post-processing circuits. Currently have a few bugs about the integration of Nova Scotia

Fixed version of the integration with Nova Scotia will be in the following PR.


Adding people names from bulgaria

Hello I have added bulgarian names files and making PR please review it and suggest if I need to make any changes, thank you for assigning this issue to me!

hello, are you going to finish this PR?

I will close the PR after 3 days from now if not updated.