Add printer arbitrary for scalacheck testing

Fixes #106

Codecov Report

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

@@            Coverage Diff            @@
##           master    #108      +/-   ##
=========================================
- Coverage   84.92%   84.7%   -0.23%
=========================================
  Files          24      24
  Lines         451     451
=========================================
- Hits          383     382       -1
- Misses         68      69       +1

Impacted Files
Coverage Δ

core/src/main/scala/config/model.scala
93.75% <0%> (-6.25%)
:arrow_down:

Continue to review full report at Codecov.

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


Eta September 2024 nvn/eea warning callout

Content storytime: https://trello.com/c/SwjCds1e/263-3-april-eta-callout-for-2-user-groups-on-check-if-you-need-a-uk-visa
Adding in a callout for non-visa national and EEA user groups that they may need an ETA if coming to the UK after September 2024.
Supersedes #6729, since the preview environment for that PR has expired.
⚠ This repo is Continuously Deployed: make sure you follow the guidance ⚠
Follow these steps if you are doing a Rails upgrade.

The first commit message has a "WIP" can we reword the message?

The first commit message has a "WIP" can we reword the message?

I guess this was a WIP commit, but to get rid of it now would involve messing with the entire branch history, which I don't really want to do at this point.


176034966 extend bittensor with error tracking system

Hey guys, we've got an error tracking system. Asyncio does not make this an easy job and it feels pretty hacky, but it should report any exceptions thrown (both in an async task as without).
This is merged with jakes 'examples' PR, so once that gets merged into master, this should merge as well.

You might have some testing issues, but otherwise lgtm.


Make the noise in the drift function of the motion model configurable

Is your feature request related to a problem? Please describe.

The current drift function of the motion model adds a noise to the measured drift. This noise should be configurable.
Describe the solution you'd like

The noise multiplied to the odometry signal in the motion model should be configurable by dyn reconf. . It is quite important to adapt this properly as it defines the measurement certainty of the odometry. For better usability, the (Gaussian I presume?) noise should be defined in a time delta of a whole second. Thus, it does not need to be changed with the rate of the filter. I think.

Closed in pull request #43.


Correct mangling hack for win32

r? @emilio

Yeah, sounds reasonable. If we need more target info we should add an API for that. Even if it contains the string for reference and only scans it once.
@bors-servo r+

:pushpin: Commit ef03b91 has been approved by emilio

:hourglass: Testing commit ef03b9194fe4bdb82d0e738819bc15ac52a5c9bc with merge d37fe132be5350ed1477b4e578a5d1b70c583666...

:sunny: Test successful - status-travis
Approved by: emilio
Pushing d37fe132be5350ed1477b4e578a5d1b70c583666 to master...


[BEAM-3286] Fix Go index parsing in the face of runner-generated keys

It turns out that Dataflow sometimes replaces the main input key with, say, "-23", when it mucks with the graph. Still more work to do before side input works on Dataflow.

Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

It will help us expedite review of your Pull Request if you tag someone (e.g. @username) to look at it.


chore: apply updates from npm audit

Problem
Security alerts have been raised and need to be addressed
Solution
run npm audit fix locally to address alerts
Additional Notes

Links
Ticket

GitHub issue:
Other links
Verification
Manual tests

Automated tests

[ ] Unit tests added/updated
[ ] E2E tests added/updated
[ ] N/A - (provide a reason)
[ ] deferred - (provide GitHub issue for tracking)

Housekeeping

[ ] No non-essential console logs
[ ] All new files contain license notice

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

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

Project coverage is 93.86%. Comparing base (c044fb9) to head (31ce9a2).

Additional details and impacted files

@@           Coverage Diff           @@
##             main    #1162   +/-   ##
=======================================
  Coverage   93.86%   93.86%
=======================================
  Files         150      150
  Lines        6114     6114
  Branches     1838     1838
=======================================
  Hits         5739     5739
  Misses        357      357
  Partials       18       18

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 c044fb9...31ce9a2. Read the comment docs.


Trunk cannot build with wasm that uses threads / bulk memory

[wasm-validator error in module] unexpected false: shared memory requires threads [--enable-threads], on
memory
[wasm-validator error in module] unexpected false: nonzero segment flags require bulk memory [--enable-bulk-memory], on
[wasm-validator error in module] unexpected false: nonzero segment flags require bulk memory [--enable-bulk-memory], on
[wasm-validator error in module] unexpected false: nonzero segment flags require bulk memory [--enable-bulk-memory], on
Fatal: error validating input
2024-09-07T05:47:45.715687Z ERROR ❌ error
error from build pipeline

Caused by:
    0: HTML build pipeline failed (1 errors), showing first
    1: error from asset pipeline
    2: running wasm-opt
    3: wasm-opt call to executable '/home/runner/.cache/trunk/wasm-opt-version_116/bin/wasm-opt' with args: '["--output=/home/runner/work/dactyl/dactyl/target/wasm-opt/release/dactyl_bg.wasm", "-O", "/home/runner/work/dactyl/dactyl/dist/.stage/dactyl-50e150da88065d87_bg.wasm"]' returned a bad status: exit status: 1

I propose adding another data-... option to rust assets, similar to these ones:
https://github.com/trunk-rs/trunk/blob/14b972f7369cf4e9d1b098e3afb4bc0e0ecd54d9/src/pipelines/rust/mod.rs#L157-L158

Similar to https://github.com/trunk-rs/trunk/issues/854#issuecomment-2334715828, it would have been really useful for me if Trunk offered an option to pass arbitrary extra flags to wasm-opt.


Paramspace: Hyphen in parameter name raises MissingInputError

Snakemake version

6.12.3
Describe the bug

Including a hyphen (-) in the column/parameter name in the dataframe used for parameter space exploration with the Paramspace helper raises MissingInputException. It is not clear that this is not allowed and the error is not helpful.
Logs

Output from running minimal example below.
MissingInputException in line 10 of /Users/pontus.hojer/analysis/BLR_Analysis/naibr_tuning/Snakefile:
Missing input files for rule all:
value-a~2.txt
value-a~1.txt

Minimal example

from snakemake.utils import Paramspace
import pandas as pd

paramspace = Paramspace(pd.DataFrame([
    {'value-a': 1},
    {'value-a': 2},
]))

rule all:
    input:
        expand("{params}.txt", params=paramspace.instance_patterns)

rule a:
    output:
        f"{paramspace.wildcard_pattern}.txt"
    params:
        params = paramspace.instance
    run:
        with open(output[0], "w") as f:
            for parameter, value in params.params.items():
                print(parameter, value, file=f)

Additional context

This actually has nothing to do with paramspace. The wildcard name doesn't match hyphens -- only word characters are allowed (a-z, A-Z, 0-9, and underscore "_" in ASCII). You can substitute hyphens with $, %, #, etc and none of them will work. The example below gives the same error:
rule all:
    input:
        "file_name1.txt"

rule a:
    output:
        "file_{value-a}.txt"
    shell:
     """
     touch {output}
     """

I can work on a PR to expand wildcards matching to include hyphens but I'm not sure 1) how much desire there is for this functionality and, 2) if this will interfere with other aspects of snakemake
Either awy, the documentation can probably be more transparent about what's alloed in wildcard name


fix build fail

What problem does this PR solve?
Issue Number: ref #5900
Problem Summary:
What is changed and how it works?
Check List
Tests

[ ] Unit test
[ ] Integration test
[ ] Manual test (add detailed scripts or steps below)
[ ] No code

Side effects

[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Breaking backward compatibility

Documentation

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Changes MySQL compatibility

Release note

None

/run-all-tests

/merge

/run-all-tests

/rebuild

/run-integration-tests

/run-integration-tests

/rebuild

/run-integration-tests

/merge

/merge

/run-unit-test


PHP Unit not working ,its throwing error

PHP Fatal error:  Uncaught Error: Call to undefined method PHPUnit_Util_Configur
ation::getTestdoxGroupConfiguration() in D:\xampp\htdocs\angular\Hello-API\vendo
r\phpunit\phpunit\src\TextUI\TestRunner.php:1076
Stack trace:
#0 D:\xampp\htdocs\angular\Hello-API\vendor\phpunit\

Solved ,its was version issue...need to upgrade phpunit version. but
phpunit does not test any case...
when I run "phpunit" command then output say No tests executed !

I don't know how you are trying to run your tests, probably you are calling the tests on the root directory, I got that folder "tests" back while migrating to Laravel 5.4. in case someone wants anything from it! Anyway check your phpunit.xml file.


ctr: error if tty && nullIO

Signed-off-by: Akihiro Suda<EMAIL_ADDRESS>

Codecov Report

Merging #1676 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #1676   +/-   ##
=======================================
  Coverage   48.92%   48.92%
=======================================
  Files          27       27
  Lines        4076     4076
=======================================
  Hits         1994     1994
  Misses       1667     1667
  Partials      415      415

Continue to review full report at Codecov.

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

updated PR @crosbymichael

LGTM

LGTM


connect clickhouse show tables error

Description
connect clickhouse show tables error,  comment not exists
Code: 47, e.displayText() = DB::Exception: Missing columns: 'comment' while processing query: 'SELECT name AS TABLE_NAME, engine AS TABLE_TYPE, database AS TABLE_SCHEM, comment AS REMARKS, database, name, uuid, engine, is_temporary, data_paths, metadata_path, metadata_modification_time, dependencies_database, dependencies_table, partition_key, sorting_key, primary_key, sampling_key, storage_policy, lifetime_rows, lifetime_bytes FROM system.tables WHERE database = 'test'', required columns: 'engine' 'database' 'sorting_key' 'lifetime_rows' 'comment' 'uuid' 'metadata_path' 'partition_key' 'lifetime_bytes' 'name' 'data_paths' 'metadata_modification_time' 'dependencies_database' 'is_temporary' 'storage_policy' 'dependencies_table' 'primary_key' 'sampling_key', source columns: 'sampling_key' 'primary_key' 'dependencies_table' 'storage_policy' 'is_temporary' 'dependencies_database' 'data_paths' 'name' 'metadata_modification_time' 'engine' 'uuid' 'lifetime_bytes' 'partition_key' 'metadata_path' 'lifetime_rows' 'sorting_key' 'database' (version 219.1.1)
DBeaver Version
Community Edition 22.2.1
Operating System
No response
Database and driver
clickhouse 219.1.1
Steps to reproduce
No response
Additional context
No response

The error happens inside Clickhouse JDBC driver itself (i.e. it is not DBeaver issue).
Perhaps it is because you have a quite old server version and use new driver.
Try Clickhouse (Legacy) driver instead.

fixed in the scope of #17879

system.tables  not match  comment column;
dbeaver source sql:
SELECT name AS TABLE_NAME, engine AS TABLE_TYPE, database AS TABLE_SCHEM, comment AS REMARKS, database, name, uuid, engine, is_temporary, data_paths, metadata_path, metadata_modification_time, dependencies_database, dependencies_table, partition_key, sorting_key, primary_key, sampling_key, storage_policy, lifetime_rows, lifetime_bytes FROM system.tables WHERE database = 'test';


update-help fails for 'ConfigDefenderPerformance, PSReadline'    -UICulture en-US.

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
When running update-help the following errors are seen...
PS C:\Windows\System32> update-help -force                                                                              Update-Help: Failed to update Help for the module(s) 'ConfigDefenderPerformance, PSReadline' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).
English-US help content is available and can be installed using: Update-Help -UICulture en-US.
running the recommended command produces the same issue
PS C:\Windows\System32> update-help  -UICulture en-US
Update-Help: Failed to update Help for the module(s) 'ConfigDefenderPerformance, PSReadline' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).
English-US help content is available and can be installed using: Update-Help -UICulture en-US.
Expected behavior
The update-help should not be showing these errors;
All the error text (mine is red) leads me to believe update-help as an operation has failed .

Why does the server respond with 404? Where did the help blob go?

Actual behavior
PS C:\Windows\System32> update-help
Update-Help: Failed to update Help for the module(s) 'ConfigDefenderPerformance, PSReadline' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).

Error details
PS C:\Windows\System32> Get-Error

Exception             :
    Type    : System.Exception
    Message : Failed to update Help for the module(s) 'ConfigDefenderPerformance, PSReadline' with UI culture(s)
{en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does
not exist.).).
              English-US help content is available and can be installed using: Update-Help -UICulture en-US.
    HResult : -2146233088
CategoryInfo          : InvalidOperation: (:) [Update-Help], Exception
FullyQualifiedErrorId : UnknownErrorId,Microsoft.PowerShell.Commands.UpdateHelpCommand
InvocationInfo        :
    MyCommand        : Update-Help
    ScriptLineNumber : 1
    OffsetInLine     : 1
    HistoryId        : 10
    Line             : update-help  -UICulture en-US
    PositionMessage  : At line:1 char:1
                       + update-help  -UICulture en-US
                       + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    InvocationName   : update-help
    CommandOrigin    : Internal
ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
PipelineIterationInfo :

Environment data
PS C:\Windows\System32> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.1.5
PSEdition                      Core
GitCommitId                    7.1.5
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

PS C:\Windows\System32> Get-Host

Name             : ConsoleHost
Version          : 7.1.5
InstanceId       : 846ec299-7473-4bfc-a77d-c75aea9c9931
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : en-US
CurrentUICulture : en-US
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

Visuals

PSReadline Ships with PowerShell itself and really should be tidied up. It has it's own repo and it might be good to cross post there.
Config Defender Performance is delivered as a part of Windows and depending on OS version the list of modules missing help will vary.  My Windows 11 machine lists ConfigDefenderPerformance, Dism, Get-NetView, Kds, NetQos, PcsvDevice, PKI, Whea and WindowsUpdate as missing in 7.2.2 and  5.1 adds  ConfigDefender, HostNetworkingService,  StorageBusCache, VMDirectStorage  - which I'm assuming PowerShell 7 won't load.  For a few that I've checked, the stub help that is present has a link to the web page with the help so it has been written, it just can't be downloaded locally.
Sadly this has been the case for a long time, and the chances of the PowerShell team getting the various Microsoft teams who deliver modules to do their jobs properly were never good, and seem to have grown worse.

PS C:\Windows\System32> $PSVersionTable
Name                           Value

PSVersion                      7.1.5
PSEdition                      Core
GitCommitId                    7.1.5
OS                             Microsoft Windows 10.0.19042
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0
PS C:\Windows\System32> Get-Host
Name             : ConsoleHost
Version          : 7.1.5
InstanceId       : 846ec299-7473-4bfc-a77d-c75aea9c9931
UI               : System.Management.Automation.Internal.Host.InternalHostUserInterface
CurrentCulture   : en-US
CurrentUICulture : en-US
PrivateData      : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy
DebuggerEnabled  : True
IsRunspacePushed : False
Runspace         : System.Management.Automation.Runspaces.LocalRunspace

Thank you for looking at this issue.   It seems that it is caused by required files available for download; however, the update worked overall.
Would it be possible to catch such 404 download errors and print a warning instead?  I would assume this will be written in the user's WarningForegroundColor  : Yellow and/or WarningBackgroundColor  : Black
Warning: Failed to update Help for the module(s) 'ConfigDefenderPerformance, PSReadline' with UI culture(s)
{en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).
This last line  leads the user to think the download file is available; when in fact its not.  Is this last line meaningful?
English-US help content is available and can be installed using: Update-Help -UICulture en-US.

I do suggest opening up an issue in the PSReadLine repo as that we can definitely fix. Marking as enhancement for the suggestion for catching the 404 error.

I added the improvement here... https://github.com/PowerShell/PSReadLine/issues/3317   Thanks for taking the time to look at this issue.

Just FYI, the issue about Update-Help PSReadLine is a known issue due to the in-box PSReadLine module folder name, which has been fixed in newer versions of Windows. Please see this blog for workarounds: https://devblogs.microsoft.com/powershell/updating-help-for-the-psreadline-module/

Does anyone know why "ConfigDefenderPerformance, Dism, Get-NetView, Kds, NetQos, PcsvDevice, PKI, Whea, WindowsUpdate" might fail with a 404?

Does anyone know why "ConfigDefenderPerformance, Dism, Get-NetView, Kds, NetQos, PcsvDevice, PKI, Whea, WindowsUpdate" might fail with a 404?

They fail because what is displayed and stored in your module path is actually folders incorrect names in terms of case-sensitivty:
PKI should be pki
Dism should be DISM
ConfigDefenderPerformance should be (even more strange) WindowsDefender
Kds should be KDS
and so on, a work-around is to rename them or remove them and update them with their newer version it seems - issue is tracked here:
https://github.com/MicrosoftDocs/windows-powershell-docs/issues/2247

Just FYI, the issue about Update-Help PSReadLine is a known issue due to the in-box PSReadLine module folder name, which has been fixed in newer versions of Windows. Please see this blog for workarounds: https://devblogs.microsoft.com/powershell/updating-help-for-the-psreadline-module/

For what it's worth, I have a new work laptop and a new personal laptop and both still have problems updating PowerShell help for several modules, including PSReadLine/PSReadline. The "out-of-box experience" has not changed at all from what I can tell.
The personal laptop is running Windows 11 21H2 (OS Build 22000.739) and still has this problem. The work laptop is running a slightly older build at Windows 10 21H2 (OS Build 19044.1706). So while I'm glad people are paying attention to this (quite old) problem, it's really not solved in a way that works for end-users on a fresh install. These are the modules that will not update help on pwsh 7.2.5 on my Windows 11 laptop.
Get-Module -ListAvailable `
>>     Dism,
>>     Get-NetView,
>>     Kds,
>>     NetQos,
>>     PcsvDevice,
>>     PKI,
>>     PSReadLine,
>>     Whea,
>>     WindowsUpdate | Select Name, Version

Name          Version
----          -------
PSReadLine    2.1.0
PSReadline    2.0.0
Dism          3.0
Get-NetView   2<IP_ADDRESS>
Kds           <IP_ADDRESS>
NetQos        <IP_ADDRESS>
PcsvDevice    <IP_ADDRESS>
PKI           <IP_ADDRESS>
Whea          <IP_ADDRESS>
WindowsUpdate <IP_ADDRESS>

Please fix this up for British English.
After running: Update-Help
I get:
Update-Help: Failed to update Help for the module(s) 'ConfigDefenderPerformance, Dism,
Get-NetView, Kds, NetQos, PcsvDevice, PKI, PSReadline, Whea,
WindowsUpdate'
with UI culture(s) {en-GB} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).
English-US help content is available and can be installed using: Update-Help -UICulture en-US.

This was talked about in the PS Commuinity Call - July 21st 2022:
https://www.youtube.com/watch?v=GcPTjtybohM&t=2281s

Y'all are confusing the hell outta me, I renamed PSReadline to PSReadLine, had to uninstall and then reinstall PS cause it wouldn't just upgrade after I did that, and now I'm STILL getting
Update-Help: Failed to update Help for the module(s) 'ConfigDefenderPerformance' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (Not Found).). English-US help content is available and can be installed using: Update-Help -UICulture en-US.
Should I just live with this or is there some way to fix it.  I don't even need the help... I just wanted to know the command to run to upgrade powershell from within powershell... then I went down this fn rabbit hole

Hi @meyerovb! This issue is not about how to upgrade Powershell. There are several ways to do that, but none of them require running Update-Help or doing anything else we are talking about here. One way to upgrade PowerShell from a CLI is to use winget. However, this assumes you are on Windows, and you may need to install it first. Additionally, there are other things to keep in mind if you are scripting an upgrade - for example, the installer will need to close all your existing PS sessions (including the one that launched winget) or it will require a reboot when you're done.
If you do have winget and just want to perform the easiest upgrade possible, I'd recommend starting a cmd prompt (not PowerShell) and running winget install --id Microsoft.PowerShell --source winget --exact --interactive. Using cmd simplifies things because if you run winget (or any PowerShell installer) from inside PowerShell, then that PowerShell session will have to be shut down during the installation process. You can avoid this by using a different shell, like cmd.
If your needs go beyond that, please start another issue in this repo to discuss exactly what you need to do.

@meyerovb
The module ConfigDefenderPerformance is included with Windows PowerShell , not bundled with PowerShell 7
If you do get-module -list ConfigDefenderPerformance | fl *
You'll see the path to module is under  C:\Windows\system32\WindowsPowerShell\v1.0\Modules\
and help info URI for the module is http://go.microsoft.com/fwlink/?linkid=390762  but if you go to that link it returns a 404 error.  When update help tries to find the help files it gets the same 404 error and that is what you are seeing.
Some other modules bundled with Windows do the same (I listed ones I know about above).  The way to raise problems with these is via the Windows 10/11 feedback hub but that is slow to get any response, and the PowerShell team should report these ti the team which contributes the module to Windows - @daxian-dbw I think you have reported some  has anyone done the exercise of adding all Windows components, and running update-help from PowerShell 7,  and logging bugs with other MSFT teams whose components don't download help successfully ? It's a really boring job but it would do a lot for the perception of quality.

Linking similar issue: https://github.com/PowerShell/PowerShell/issues/13591

I'm investigating ways to improve the situation with Update-Help, so let me ask here: what if there was a way you could easily configure a 'block' list to prevent retrying an update for missing modules. The error messages would remain the same. This configurable list may initially ship with the modules that we know will not be updated in the future. You can add additional modules if that is needed. Would that be helpful?

why not just make these warnings?
On Mon, Aug 22, 2022 at 12:39 PM Jason Helmick @.***>
wrote:

I'm investigating ways to improve the situation with Update-Help, so let
me ask here: what if there was a way you could easily configure a 'block'
list to prevent retrying an update for missing modules. The error messages
would remain the same. This configurable list may initially ship with the
modules that we know will not be updated in the future. You can add
additional modules if that is needed. Would that be helpful?
—
Reply to this email directly, view it on GitHub
https://github.com/PowerShell/PowerShell/issues/17067#issuecomment-1222615219,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACYQVRGJNRO7WVXOG3X6DTV2OUKVANCNFSM5RUJN2TQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

That would be helpful. However, my opinion is that it's more important to get the help that is available instead of allowing me to hide legitimate messages telling me that I've failed to update help. Examples of this are the messages returned when attempting to update PSRead(L|l)ine.
To be more specific, in addition to giving options to squelch errors, I think it would be good to add more little intelligence to how potential upgrade modules are matched. Let me explain a proposal as a starting point for discussion.
Suppose that there is a signed module from author X called Abc, with version 1, and another signed module, also from author X, called ABC, with version 2. In this case, if you ask PowerShell to find modules named abc, it will tell you about both of these versions, even though abc does not match the case of either release. Using everyone's favorite example, PSRead(L|l)ine, I can search for psreadline in lower case and get back matches that are not lowercase, even in Linux:
Get-Module -Name PSReadLine -ListAvailable -All | Select-Object -Property Name, Version | Where-Object Version -ne "0.0"

Name       Version
----       -------
PSReadLine 2.1.0
PSReadline 2.0.0

It is an inconsistent user experience to have this consistently case-insensitive policy changed when we run Update-Help.
So I think that the best solution has two parts:

Make Update-Help case-insensitive with respect to module names, so that PSReadline matches PSReadLine, as it should in the context of the PowerShell user experience; and
Also implement a block list, and repopulate it with modules and versions that the PowerShell team knows to be "terminal," meaning that they do not , and will not/cannot work with Update-Help.

The end state would be that if I have help installed for PSReadline 2.0.0 and there is help available for PSReadLine 2.1.0, running Update-Help -Module PSReadLine should succeed (no matter how the user capitalizes PSReadLine) and there should be a list of known "offenders" that Update-Help will not generate errors for if they fail to process successfully, with users able to append to that list.

@cleonard-godaddy - Thank you for the additional suggestions.  W are investigating how best to fix update-help, and handling case is part of that investigation along with the block list.

@theJasonHelmick - thanks for the update, and thanks for giving us an unofficial mini-update. It is always encouraging to hear from the project team responsible for an issue!

@theJasonHelmick  Some sort of block list would provide relief from the symptoms
However the right fix is that any module which ships as part of Windows, but not from the PowerShell team gets its house in order and not ship with a broken link.  Having one part of Microsoft shipping things to hide other parts' bugs is masking the problem not fixing it.  If we use  ConfigDefenderPerformance  as an example: it has a link, http://go.microsoft.com/fwlink/?linkid=390762 which gives a 404 error.  Either whoever owns that link needs to figure out why it isn't going to the right place and fixes it  OR the owners ConfigDefenderPerformance  need to add something to the next cumulative windows update to move from 1.0 to 1.0.1 and have different, working link . I'm hoping someone from the PowerShell team has filed bugs internally for all the modules known to have broken help links.
Masking it while that happens is good (and addresses modules - MSFT or otherwise - which won't ever get updated) but the masking process needs to handle the link being fixed or a new version being made available.

Yeah I get that. Trying to figure out how to do that I ended up trying
help. Which told me I should run update-help. Which led me to this ticket.
So again, other than renaming that folder, what else should I do to fix
update-help? Which I really don’t need to use but am irritated that I can’t
just because.
--
Bryan Meyerovich
On August 15, 2022 at 7:01:24 PM, chris leonard @.***)
wrote:

Hi @meyerovb https://github.com/meyerovb! This issue is not about how
to upgrade Powershell. There are several ways to do that, but none of them
require running Update-Help or doing anything else we are talking about
here. One way to upgrade PowerShell from a CLI is to use winget. However,
this assumes you are on Windows, and you may need to install it first.
Additionally, there are other things to keep in mind if you are scripting
an upgrade - for example, the installer will need to close all your
existing PS sessions (including the one that launched winget) or it will
require a reboot when you're done.
If you do have winget and just want to perform the easiest upgrade
possible, I'd recommend starting a cmd prompt (not PowerShell) and
running winget install --id Microsoft.PowerShell --source winget --exact
--interactive. Using cmd simplifies things because if you run winget (or
any PowerShell installer) from inside PowerShell, then that PowerShell
session will have to be shut down during the installation process. You can
avoid this by using a different shell, like cmd.
If your needs go beyond that, please start another issue in this repo to
discuss exactly what you need to do.
—
Reply to this email directly, view it on GitHub
https://github.com/PowerShell/PowerShell/issues/17067#issuecomment-1215960453,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACYQVUYQIK36OFRSWTVJDTVZLD4JANCNFSM5RUJN2TQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Try Update-Help -Force -ErrorAction SilentlyContinue
For PSReadline module you need to rename PSReadline to PSReadLine in "C:\Program Files\WindowsPowerShell\Modules" and reload module PSReadLine in PowerShell

Try Update-Help -Force -ErrorAction SilentlyContinue

This worked for me

@yturbi iirc that may end up breaking DISM / CBS / sfc state, but I might confabulate it with a separate issue

And also iirc, that represents part of the reason for the issue with remediating that, because one'd end up having to deploy an INCREDIBLY strange and likely absurdly error prone Windows Update due to bootstrapping issues @jhoneill
(gets even worse once you start thinking about stuff like /resetbase & CompactOS)

See also #13591, via #2247 (thanks, @ehmiiz )

Update-Help -Force -ErrorAction SilentlyContinue
Not I said the ISE:

What if: Performing the operation "Update-Help" on target "Microsoft.PowerShell.
Core, Current Version: <IP_ADDRESS>, Available Version: <IP_ADDRESS>, UICulture: en-US".
Update-Help : Failed to update Help for the module(s) 'ConfigDefender,
ConfigDefenderPerformance, HostNetworkingService, PSReadline' with UI
culture(s) {en-US} : Unable to retrieve the HelpInfo XML file for UI culture
en-US. Make sure the HelpInfoUri property in the module manifest is valid or
check your network connection and then try the command again.
At line:1 char:1
+ Update-Help -Confirm -Force -WhatIf
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : ResourceUnavailable: (:) [Update-Help], Exceptio
   n
    + FullyQualifiedErrorId : UnableToRetrieveHelpInfoXml,Microsoft.PowerShell
   .Commands.UpdateHelpCommand```
   The fact if I am able to post this message should serve as enough "check-network connection".

This issue occurs for me as well and has on every version of PowerShell I've used. It seems to me that the solution to appease users is rather simple:

If a module fails to update, continue silently.

I honestly don't care much if a module fails to update. I just want to know the help that COULD be updated HAS been updated. The rest falls on the developers for these modules.

There is no reason to tell me I can run Update-Help -UICulture en-US when that is the exact command I just ran.

At the very least, detect what command I used, and skip this part if they match up.
Here's my output from 7.3.6 (x64) on Windows 11.
PS> Update-Help -UICulture en-US

Update-Help: Failed to update Help for the module(s) 'ConfigDefenderPerformance, DefenderPerformance, Dism, Get-NetView, Kds, LAPS, NetQos, PcsvDevice, Pester, PKI, Whea, WindowsUpdate' with UI culture(s) {en-US} : One or more errors occurred. (Response status code does not indicate success: 404 (The specified blob does not exist.).).
English-US help content is available and can be installed using: Update-Help -UICulture en-US.

Here's some additional information in case it is useful.
PS> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.6
PSEdition                      Core
GitCommitId                    7.3.6
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

This issue occurs for me as well and has on every version of PowerShell I've used.
the underlying fact for me is that there were no developers left to do any updates because evidently the PS module which could not be updated had been completely and utterly abandoned.

This issue occurs for me as well and has on every version of PowerShell I've used.
the underlying fact for me is that there were no developers left to do any updates because evidently the PS module which could not be updated had been completely and utterly abandoned.

This is the correct answer, if I remember right. The dumb part is that it's just a naming convention issue, essentially. Nothing needs refactored or anything, it just needs a few character replacements and you know, a working end point somewhere that doesn't 404.

This is a duplicate of the following issues:

#13591
#17067
#17534
#17577
#18064
#18869

Duplicate of:
#13591
#17067
#17534
#17577
#18064
#18869

Please reopen. Issue persists!

@sdwheeler
Sorry, I completely disagree.  This is a PowerShell issues, as the modules are shipped with it and the OS. It is up to the MS QA team to ensure that you are not shipping modules that can't be updated, and that the PowerShell dev's to report about it to them.
There are likely more than 2 dozen issues here, related to update-help failures, all being auto-closed by your silly bot.
Also, it's too complicated to use the feedback link, and apparently a waste of time since MS already know about this since years.

Adding to the list of @ehmiiz  items here.
Original Directory Names:
C:\Program Files\WindowsPowerShell\Modules\Pester\3.4.0
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\ConfigDefenderPerformance
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\DefenderPerformance
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Dism
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Get-NetView
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Kds
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\NetQos
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PcsvDevice
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PKI
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Whea
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\WindowsUpdate

We have the new names:
*           Pester
=           ConfigDefenderPerformance
Defender    DefenderPerformance
DISM        Dism
*           Get-NetView
KDS         Kds
NetQoS      NetQos
PCSVDevice  PcsvDevice
pki         PKI
WHEA        Whea
*           WindowsUpdate

Where * need special treatment as their correct naming can't be found.
Also, Pester has a good description of the issue here (and how to fix it.)
Most of the correct info I got from looking at this page:

https://learn.microsoft.com/en-us/powershell/module/activedirectory/?view=windowsserver2022-ps

Fixing a few of these:
Rename-Item -Path "C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PKI" -NewName "pki" -Force
Rename-Item -Path "C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Kds" -NewName "KDS" -Force
Rename-Item -Path "C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Dism" -NewName "DISM" -Force
Rename-Item -Path "C:\Windows\system32\WindowsPowerShell\v1.0\Modules\PcsvDevice" -NewName "PCSVDevice" -Force
Rename-Item -Path "C:\Windows\system32\WindowsPowerShell\v1.0\Modules\NetQos" -NewName "NetQoS" -Force
Rename-Item -Path "C:\Windows\system32\WindowsPowerShell\v1.0\Modules\Whea" -NewName "WHEA" -Force

So the reamianing list of items to fix are:
Pester
ConfigDefenderPerformance
DefenderPerformance
Get-NetView
WindowsUpdate

Clearly the update function is case sensitive while someone has been using some weird Camel-case during dev...

For trouble modules you may want to list them separately:
$m = Get-Module -ListAvailable ConfigDefenderPerformance, DefenderPerformance, DeliveryOptimization, Get-NetView, Pester, WindowsUpdate
$m | select Version, Guid, Name, ProjectUri, HelpInfoUri, ModuleBase | sort Name | ft -AutoSize

# tru to update this list.
foreach ($i in $m) { Update-Help -UICulture en-US -Module $i  }

Adding a summary of answers for this issue is being before closing out comments.
The workaround for the PSReadline module is documented in the following blog post:

https://devblogs.microsoft.com/powershell/updating-help-for-the-psreadline-module-in-windows-powershell-5-1/

This other thing to try is to unload the module, then reload it with the properly-cased name. Then update the help.
Remove-Module PSReadline
Import-Module PSReadLine
Update-Help PSReadLine -Force

The error is expected for the following Windows modules.

ConfigDefenderPerformance
Dism
Get-NetView
Kds
NetQos
PcsvDevice
PKI
StartLayout
Whea
WindowsSearch
WindowsUpdate

The Windows modules are not maintained by the PowerShell team. To prevent the error, the module owners on the Windows team must fix the modules. For modules that ship in Windows, open a support case with Windows Support or send feedback via the Windows Feedback Hub. For more information, see Send feedback to Microsoft with the Feedback Hub app.
 PowerShell TeamPage not found - PowerShell Team


Mobile homepage issues

On an iPhone 12 mini, the homepage has text wrapping beyond the size of its box:

In addition, the icons for the GitHub, Discord, and Ko-Fi are all white on white. The search bar also extends past the edge of the page.

(This is my first time leaving an issue on an open-source repo, feel free to provide feedback on better naming of issues and other problems with this.)

Hey! Thank you so much for reporting this. The issue was great!
This has all been fixed as of 1ed4599d91924da406b2962f2d2be437062df9d5. Let me know if there are any more issues you encounter!


Add option to distinguish between the same entry points in the tree

We should add an option to not aggregate entrypoints - pairs (address, selector) - if they are in different branches of the trace tree.
Maybe it should be the default option as its better for inspecting resources - if we decide on that we could add a flag to aggregate entrypoints and only display number of calls made, as resources don't make much sense after the aggregation

Not a use case of profiler, closing


Integrate with ElasticSearch

Create ElasticaSearchingContext that can be used to integrate searcher with ElasticSearch.
Link to start with: https://packagist.org/packages/ruflin/elastica.

@ustrugany will take care of this in https://github.com/krzysztof-gzocha/searcher-bundle/issues/3

Closing the issue. Feature was implemented in #23


Catch empty queries.

Multi-blast currently allows empty sequences through as long as full query is not empty (the query contains only header lines).
This should catch that issue and prevent empty jobs from making it through.
Resolves #105

Reopening as the "missed" case is actually handled.  The query is broken into separate sequences upstream and the validate method is only validating a single sequence in the query.


Missing escape in CVS v3

"pattern": "CVSS:3\.[0-9]/AV:[NALP]\/AC:[LH]\/PR:[NLH]\/UI:[NR]\/S:[UC]\/C:[NLH]\/I:[NLH]\/A:[NLH]"
should be                   "pattern": "CVSS:3\.[0-9]\/AV:[NALP]\/AC:[LH]\/PR:[NLH]\/UI:[NR]\/S:[UC]\/C:[NLH]\/I:[NLH]\/A:[NLH]"
fixed in a PR.
But more worryingly this indicates a lack of test data/harness, is there a test harness/data somewhere outside of this repo?

https://github.com/ossf/osv-schema/pull/164

But more worryingly this indicates a lack of test data/harness, is there a test harness/data somewhere outside of this repo?

Not to my knowledge, @oliverchang ?
I think we can call this specific issue resolved by #165


Mapping lines from a region visually look off until a region is clicked

After region R2 was created on the Essential genome, the lines are initially mis-aligned until clicking on one of the regions.

partial fix pushed, proper fix later

appears fixed, reopen if a repo is found to cause this again


View and SetRuler shown undeclared

Description
View and SetRuler options are shown not declared when tried to use inside SetSheetViewOptions

Output of go version:
go version go1.17.3 windows/amd64

Excelize version or commit ID:
2.5.0

Thanks for your issue. The feature of support specifies sheet should display ruler will be released in the next version, please upgrade to the master branch code currently.

I'll close this issue. Since v2.6.0 was released, the library supported workbook views mode and ruler display settings.


Allow extends

An option allowExtends could enable extending.
The model I have in mind is https://github.com/stylelint/stylelint/blob/master/src/postcssPlugin.js#L69. Hopefully we can avoid using require() directly, though, because it is synchronous. Open to other implementation ideas, of course, if they are comparably simple.
Whatever the implementation, key requirements are:

extend configurations of JSON or YAML format.
extends accepts a single string or an array of strings.
extends lookups can be absolute or relative paths, or a node_module name.
merging of extends occurs in the order of the array, so the last item takes priority over the first item (merges on top of it).

Once the path of an extending config is found (i.e. one that is being extended), it could be loaded with loadDefinedPath().
One of the challenges will be getting all the async business to work.

This is underway, just needs more tests.

I've released chrisblossom/ex-config to handle the processing and extending of loaded configurations.

@davidtheclark Are you open to reconsidering this? I was thinking the API could look like this:
Basic example, will merge extended config with Object.assign
cosmiconfig('my-module', {
  extends: true,
});

Advanced example, pass a custom merge function:
cosmiconfig('my-module', {
  extends: (parent, child) => _.mergeDeep(parent, child),
});

🤔The ESLint RFC I found through the Prettier issue is very interesting. I agree with the premise that ESLint's current configuration complexity should be considered a warning to others, rather than something to emulate. And I really like the idea of demanding a JS file, allowing people to implement their own imports, merges, transforms, etc., rather than trying to appease every developer's desire with configuration-loader magic.
I've looked at a few packages that try to implement generic extends patterns, and they just don't seem generic enough that I want to include them in Cosmiconfig.
I'm not completely opposed to the idea of adding an extends option that always expects a custom merge function as its argument. Thinking through what that means, though ...

We look at an extends property in the loaded configuration. (What about those who will want a different property name, or a nested property?)
We expect the value of extends to be an array of strings. (What about those who will want to require() modules directly into their extends array?)
We resolve all of the strings to corresponding configuration files. (What about those who will want special resolution algorithms, as happened with both ESLint and Babel, the posterchildren of extends?)
We recursively use Cosmiconfig to find and load those files.
We merge them together with the provided merge function.

Cosmiconfig's value really lies in step 4: the rest is highly likely to vary across implementations, and is fairly straightforward to implement. So I still lean towards not trying to add a generic extends pattern in Cosmiconfig, instead allowing users who want extends, or some extends-like system, to use Cosmiconfig behind the scenes to look up and load files.

Yep you're totally right. We found a better way.


JavaScript error after successful Windows build

After building the win32-ia32 package I got the following error when tried to run the client:

Then I was stuck on the "loading the future" screen.
To reproduce it:
1, Follow the build instructions
2, npm run package:windows
3, Run Breeze.exe

That's because you have to add the .NET daemon in the assets folder ;)


tooltip contained by {overflow:hidden / auto} not fully displayed

I am displaying a calendar heatmap inside a sidebar with {overflow: auto} for vertical scrolling. Because the tooltip is also contained by the sidebar, it is cut off at the edges (screenshot attached).
A frequent practice for tooltips is to insert them at the end of body, with more JS for finding and maintaining their position as the user scrolls or elements move around. Are there any plans for this? Would this be a welcome pull request?

Note I have resolved this issue in my project by using Tipsy (http://onehackoranother.com/projects/jquery/tipsy/) instead of Cal Heatmap's tooltips.

Note I have resolved this issue in my project by using Tipsy (http://onehackoranother.com/projects/jquery/tipsy/) instead of Cal Heatmap's tooltips.

I would like to ask you how you replaced the CalHeatMap tooltip to Tipsy tooltip

Fixed in v4, now using popperjs

Fixed in v4, now using popperjs

Is there any newset version of cdn.js, thank you

Not yet, build is till in beta
On Thu, Dec 1, 2022 at 12:37 Chia-Yu Su @.***> wrote:

Fixed in v4, now using popperjs
Is there any newset version of cdn.js, thank you
—
Reply to this email directly, view it on GitHub
https://github.com/wa0x6e/cal-heatmap/issues/131#issuecomment-1333401542,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADZAXPXTLGDKWHZ74J7XKDWLBPULANCNFSM4A3GUKFA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>


Speed up CI

Currently, the CI takes up ~20ish minutes which is too slow for my liking.

We should try using https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows to speed up zombodb's build time.

I believe it would be an iterative process with a lot of hacks. Let's start with what we know right now.
Let me know if you want to start working on this.

Sure, I'd be happy to start working on this.

@ChakshuGautam, I have reduced the build time of WarpSQL to under 2 minutes when rebuilding the same image by implementing Docker layer caching. The improvement can be seen here: https://github.com/PiyushRaj927/WarpSQL/actions/runs/5165400680/jobs/9304900040#logs. I will create a pull request soon.
Regarding the ZomboDB cache, I realized that my initial idea would be challenging to implement. Utilizing Docker's built-in layer caching to cache the ZomboDB build is a more effective solution.

Great find!!!
This is something that we are already doing on some of our other projects as well. Completely forgot this one.


memory tracker for merge mutate is not correct

pod memory cost is 32G, but memory tracker show 1T and never decrease

Let me add lianwenlong to confirm it.

this metric

https://github.com/ClickHouse/ClickHouse/pull/10449 could we merge this PR, to remove the unused and incorrect metric?

@qusijun

We are merging this PR from ck community.

We will merge this week.

This merge is still on the way

The PR from ck community has been merged. (https://github.com/ClickHouse/ClickHouse/pull/48787)


Add TokenStore capabilities

Is your feature request related to a problem? Please describe.
I'm trying to get custom authentication to work, I've managed to get the login to work, I've got an x-ms-principal but I need to get refresh and access tokens from this authentication so that I can call other services in our backend.
Right now there seems to be support for this in appservice, https://docs.microsoft.com/en-us/azure/app-service/configure-authentication-provider-openid-connect.
I cannot find anywhere that it is possible to enable this tokenstore for static web apps?
Describe the solution you'd like
Support the token store setting like app-service does.
Additional context
I might have missed some configuration, but I think this feature is not available right now?

Currently we don't have token store offered or plans to have it offered in the near future for static web apps. Can you elaborate on how you'd use the refresh and access tokens for us to better understand the need?

Hi mkmark,
First of all, thanks a lot for Azure Static Web Apps, it is really easy to get started with and fills a lot of standard use cases.
I'm unsure if what I want to achieve is a common use case in other micro-service systems. We have multiple micro-services that perform different set of tasks, some hold information, others perform operations and mutations of data. If we make a simple page where we can integrate some of these micro-service functions, we must handle the signin so as to get a an access token when using the services. Some of these websites might be small, could possibly also be internal pages just developed for a specific team, since it is so easy to create.
My idea was to use the SWA as frontend+backend-signin and handling of the user session, something that has been troublesome if you only have a static web app, then configure the proxies.json to forward requests to other microservices, attaching the x-ms--access-token.
For me it feels like this authentication feature in SWA is very powerful, it is otherwise quite tedious to setup manually, and you really want to get it right as to not expose any vulnerabilities.
I will continue and explore the App Service instead, but it would have been nice to have the serverless architecture.

It sounds like the piece you want auth for is the microservice functions. If that's the case one way you can continue to use SWA is through our Bring Your Own Function functionality. You can have each of those functions gated with App Service Authentication which does have token store enabled and then use SDKs like MSAL to authenticate with those function apps. Does that sound like a use case that will work?

I'm not familiar that much with MSAL so I'll have to study that more, also read up on App Service. The APIs I need to access are hosted on different platforms. By using the token store and the proxy functionality I was thinking my webpage could access other external APIs with minimal implementation in the backend. I'll see if I can get something up an running! Thanks for the help, hopefully once I read some more I understand exactly what I need to do!

Hi @mkarmark I have a related question to this topic of @torepaulsson.
I have the following setup:

An Static Web App authenticated against a custom OpenID Connect provider.
A linked (bring your own) function authenticated against the same custom OpenID Connect provider (using the authentication/authorization features from the App service aka EasyAuth).
I see the following behavior:
The SWA authenticates at the IPD using the Authorization Code Flow. The code is exchanged as the IPD token endpoint for ID/Access/Refresh tokens.
When I call the function API from the SWA I see the incoming headers like “X-MS-AUTH-TOKEN” and “X-MS-CLIENT-PRINCIPAL” from the internal authentication gateway being populated on the incoming function API request header.
What I was expecting:
I was also expecting that the tokens from the custom IDP where added to the incoming request headers of the function API. Under “X-MS-TOKEN-idpname-ACCESS-TOKEN”, “X-MS-TOKEN-idpname-REFRESH-TOKEN” etc. But this is not the case.

Other finding what pointed me in the direction:

When I enable the TokenStore on the linked (bring your own) function EasyAuth setup. I navigate to the function directly, authenticate etc. The tokens are populated being populated on the incoming function API request header.
After closing the browser, open a incognito browser to the SWA authenticate etc. Call the function API from the SWA the incoming request headers “X-MS-TOKEN-idpname-ACCESS-TOKEN”, “X-MS-TOKEN-idpname-REFRESH-TOKEN” etc are populated but contain information of authentication request that I did navigating directly to the function API.

Other finding:

The SWA is having his own authorization layer, returning auth tokens. When I have a linked (bring your own) function the audience of the token is (aud claim of token) is the function. This looks like the same token the EasyAuth layer of the function is using.
I tried to use the SWA “X-MS-AUTH-TOKEN” token to as Zumo token to call the Easy Auth "/.auth/me" endpoint of the function directly using the token as “X-ZUMO-AUTH” header. But this was not working.

The question I have:

Is it possible to populate the tokens of the custom IDP to the incoming request to the function API?

I have the following use case:

I like to have server-driven authentication using the Authorization Code Flow. I don’t like to have a js lib running on the SWA using the PKCE flow.
I like to use the API function as Backend of Frontend (creating ViewModels etc), that will get information from Backend services on behalf of the user (not under as server 2 server authentication).

I did not get any response on this. @anthonychu, can you add this as an feature request? I think this will be great added value to the product. This way can have the SWA running server-driven authentication and access the Backend service “on behalf of the user” by sending the access-token from the Bring Your Own function to the Backend. In this case the Function needs to get access to the Access-token using the tokenstore/or internal header value?
Can this be added to the Backlog? Or do you like to set up a teams-call to discuss this feature?

Thanks. I think there's enough info here. We'll review internally to see if we can support these scenarios and prioritize. To set expectations, we don't have this in our near-term plans so it's unlikely it'll be supported soon.

I have a SWA and a separate function app. Function app has custom auth configured with openid, token store enabled. I've linked this function app to the SWA as "bring your own". Now trying to authenticate the client SWA through function app auth.
Reading the above responses, does this mean that I can use "bring your own function app" with my static web app but I can't login to the auth provider setup in the function app through the web app?
I would expect when you register your own function app to use in static web app, if the function app has easyauth configured on it, it'd replace existing SWA auth module or hook up to the static web app authentication directly instead.
There is zero documentation regarding this configuration (if at all possible that is)


EPG outdated

The UK EPG is for 31 Aug when it should be for 1 Sep. E.g.
<programme start="20210831143000 +0000" stop="20210831151000 +0000" channel="ITVBe.uk"><title lang="en">The Only Way Is Essex</title></programme>

Thanks for the report, I already found the bug and tomorrow everything should be back to normal.

Good to know, thanks. I guess tonight I'll just have to flick through the old TV guide, lol!


Runtime Error On Circular Signal Reference

I realize that this is probably a non-trivial fix and/or bad practice, but I'm designing a turn-based game that uses a different coordinate system depending on whose turn it is, and thought I was really clever using a gameState -> position -> gameState -> ... reference: https://github.com/micmarsh/xiangqi/blob/3e17891326de5eaebf4786bdd12078afb0a84af2/GameState.elm
Unsurprisingly, this throws "Cannot read property 'value' of undefined" at runtime. If it's possible to throw a compiler warning when this kind of thing happens, that would be great, but I figured it was good to let you know regardless.
Keep up the good work!

Centralize this into #873 which describes the viable fixes.


Allow tgenv to list and install older terragrunt releases

Why? 🤔
tgenv can only fetch terragrunt versions as old as 0.29.10 (at time of writing) due to the fact that it doesn't handle pagination when fetching versions.
This change is derivative of @NathanTindle's change raised by against the original project.(https://github.com/cunymatthieu/tgenv/pull/25/files)
What? :hammer_and_wrench:
This change uses git ls-remote to list all terragrunt releases.
Additional Links 🌐

None

@iokiwi really thanks for the fix. I believe this change has already been tested, right?
I'm also taking advantage of the moment and I've sent you an invitation to be one of the project's maintainers.

Hey @weyderfs yep, tested locally similar to your test.
And yes, It's intentional and desirable that this change result in tgenv listing a lot more versions. Or really, The fact that the old version of tgenv show a limited subset of terragrunt versions I believe is an unintentional design flaw/lack of support for pagination.
My motivation for fixing this was that I need to be able to install and manage older versions of terragrunt while I upgrade them.
No worries RE maintainership


Extracted Barcode in lr_bc_matches does not match queried Barcodes

Hello,
I was testing scTagger with 10X Visium Data and was a little confused by the Output of "match_lr_bc-trie.py".
What are the Column Names for the Output? I assumed it should be: ReadID, Edit Distance, Strand, Adapter, Barcode, is this correct ?
How come it matches Barcodes, that are not in the short reads ? Are those the error riddled Barcodes from the read itself or how to understand this ?
Is there any order in the matched barcodes separated by ',' or are they all equally good matches ?

Hi,
The output of "match_lr_bc-trie.py" is:

First column: Read id
Second column: Minimum edit distance
Third column: Number of short reads barcodes that match with the long read
Fourth column: Long-read segment
Fifth column: List of all short-read barcodes with minimum edit distance (without any order)

Thanks for clarifying !
I also wondered why I see barcode marchds in the final output file that are not in the queried sr-bc file ? Where do they come from ?

Can you check if the extra barcodes are just the reverse complement of existing barcodes? it's probably that

Hello,
I actually did check for the matching complement as well as reverse complementary but that did not resolve it...
Might it be possible to standartize scTaggers Output to just the forward barcodes used for Input. Would make analysis later on easier.

Hi, I checked for forward, reverse, complement and reverse complement and indeed all bcs are now found.
Is there any reason why not only the matching input barcodes are reported by scTagger ?
I just think it Would make analysis later on easier and more straightforward.


Not installing

So I’m a bit of a ham when it comes to tech but I’ve installed non steam launcher and when I go to game launches check the one I wanna install it just sits on the installing screen

Ok now they are installed but they won’t launch
Uploading<PHONE_NUMBER>3__A00A08EB-3D6F-487D-BA4F-DB353C1C09B8.MOV…

@Huntedkiwi what has been working and what are you using Desktop or Plugin?

Just decky loader has been working for me..I’m using plugin
Get Outlook for iOShttps://aka.ms/o0ukef

From: Roy @.>
Sent: Saturday, November 16, 2024 9:27:48 PM
To: moraroy/NonSteamLaunchers-On-Steam-Deck @.>
Cc: Huntedkiwi @.>; Mention @.>
Subject: Re: [moraroy/NonSteamLaunchers-On-Steam-Deck] Not installing (Issue #493)
@Huntedkiwihttps://github.com/Huntedkiwi what has been working and what are you using Desktop or Plugin?
—
Reply to this email directly, view it on GitHubhttps://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck/issues/493#issuecomment-2480477645, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BM3F4PO3P4VTWB3EZVGFQ232A36YJAVCNFSM6AAAAABRSWBJRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQGQ3TONRUGU.
You are receiving this because you were mentioned.Message ID: @.***>

@Huntedkiwi how did you install the plugin? Do you have the latest version of the plugin? Meaning, you ran the NSLPlugin.desktop file?

@Huntedkiwi oh OK cool, so what launchers are you trying to install also make sure your proton GE is updated, there is a button that says update, also, currently Amazon games won't install properly anymore with the recent updates still working on a fix.

Yea it just didn’t work I googled the hell out of it but noting worked I eventually installed some but they wouldn’t load and so I just gave up
Get Outlook for iOShttps://aka.ms/o0ukef

From: Roy @.>
Sent: Saturday, November 16, 2024 9:41:39 PM
To: moraroy/NonSteamLaunchers-On-Steam-Deck @.>
Cc: Huntedkiwi @.>; Mention @.>
Subject: Re: [moraroy/NonSteamLaunchers-On-Steam-Deck] Not installing (Issue #493)
@Huntedkiwihttps://github.com/Huntedkiwi oh OK cool, so what launchers are you trying to install also make sure your proton GE is updated, there is a button that says update, also, currently Amazon games won't install properly anymore with the recent updates still working on a fix.
—
Reply to this email directly, view it on GitHubhttps://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck/issues/493#issuecomment-2480480804, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BM3F4POIKKE5CBT46LZTKVT2A4AMHAVCNFSM6AAAAABRSWBJRCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIOBQGQ4DAOBQGQ.
You are receiving this because you were mentioned.Message ID: @.***>

@Huntedkiwi but what didn't work, like just Amazon games? Or no launchers at all are installing or? Nothing is working at all on the plugin?


Need transpile to ES2015 for IE11

Hi,
This plugin use ES6, which is not supported by IE11.
Could you transpile your ES? to ES2015 using Babel ?
Using nuxt i was able to add the plugin to the 'tanspile' build option and make it work, but NPM dependency should already be transpiled.

Not sure if this works also in NuxtJS, but in classic VueJS app you can specify transpileDependencies in vue.config.js
module.exports = {
  transpileDependencies: [
    /node_modules[/\\\\]vue-sticky-directive[/\\\\]/
  ],
  publicPath: "/"
};


END and HOME are different on xterm-based terminals

This tiny PR makes all the keys work on XTerm based terminals (GNOME Terminal and Konsole are both xterm-256color compatible terminals).
Fix #3.

Thanks! :)


0_generate_predictions_for_other_notebooks.ipynb can not work, since flipGradient module Error.

Hi kelly,   @kellycochran @shaunmahony
Can you share flipGradientTF.py file you use in "0_generate_predictions_for_other_notebooks.ipynb" ?
Since the flipGradientTF.py I downloaded from GitHub only works with Tensorflow <2.0.0
In the '0_generate_predictions_for_other_notebooks.ipynb' script,
from flipGradientTF import GradientReversal didn't work.
Any suggestion for getting the updated flipGradienTF.py file?
Thanks in advance.
Xuan

Hi Xuan,
The flipGradientTF.py file that is at https://github.com/seqcode/cross-species-domain-adaptation/blob/main/3_manuscript_figure_and_table_notebooks/flipGradientTF.py should work using Tensorflow 2.1.0. Could you share the error message that results when you try to run the notebook as-is?

Hi Kelly,
Many thanks, The problem is solved.
Best,
Xuan


Incorrect type. Expected "string | array | object(Azure Pipelines)" when using number parameter

Current behaviour
Pipeline validation raises an error stating Incorrect type. Expected "string | array | object(Azure Pipelines)" when using a parameter with the number type and a default value. For example:
parameters:
  - name: timeoutInMinutes
    type: number
    default: 60

Expected behavior
Pipeline validation does not raise an error for a number parameter having a numerical default.
Suggestion
Potentially resolved by adding "type": "number" to the list of types in the #definitions/any/anyOf section of the schema

Hi @james-woodbridge, thank you for reporting the issue, we will take a look at it in order of priority

@james-woodbridge, I can't reproduce this behavior.
I have created azure-pipelines.yml with the next content:
parameters:
  - name: timeoutInMinutes
    type: number
    default: 60

jobs:
  - name: Run a one-line script
    script: echo Hello, world!

This YAML passed as valid.

Hi @james-woodbridge,
Could you please confirm that you still facing this issue?

Hi @kirill-ivlev and @ivanduplenskikh
I am still seeing this issue. My parameters block looks like this:
parameters:
  - name: environment_name
    default: ''
  - name: environment_slug
    default: ''
  - name: dependsOn
    default: 'Precheck'
  - name: condition
    default: "succeeded('Precheck')"
  - name: agentPool
    default: 'ubuntu-20.04'
  - name: timeoutInMinutes
    type: number
    default: 60
  - name: build
    default: $(Build.BuildNumber)
  - name: terraformVersion
    default: 1.2.2
  - name: apply_condition
    default: "in(variables['Build.SourceBranch'], 'refs/heads/master', 'refs/heads/main')"
  - name: service_connection
    default: ''
  - name: storage_account_rg
    default: ''
  - name: storage_account_name
    default: ''
  - name: infrastructure_pipeline_repository
    type: string
    default: SharedPipeline
  - name: azure_subscription
    default: ''
  - name: keyVault_name
    default: ''
  - name: sops_kv_name
    default: ''

and I'm using v1.208.0 of the Azure Pipelines extension and v1.78.2 of vscode.
picture of the error here:

@james-woodbridge, are you using a custom service schema in your project workspace?

I'm seeing a similar issue:

Seeing this on:
Azure pipelines version v1.228.0
vscode version:
Version: 1.83.0-insider (user setup)
Commit: e7e037083ff4455cf320e344325dacb480062c3c
Date: 2023-10-03T13:48:08.540Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.22621

Okay, I think I know what's going on here. Please make sure that the file language is set to "Azure Pipelines", not YAML. My hunch is that if you also have the YAML extension installed (and have the language set to YAML), you'll get the YAML extension's schema detection which doesn't work because the Pipelines schema is a little non-standard. (Which is also, incidentally, why we needed to fork the YAML language server.)

I'll close this for now but please let me know if you continue to see this even when the language is set correctly.


[BSO] Cant use --cf flag to sacrifice GP. You can in OSB

🐛 Bug Report
What title says.
It could be intentional in BSO, so you dont accidentally sac stuff but this makes sacrificing GP for Hammys rolls very tedious. And it should be on the user for sacrificing an item with --cf, a failsafe seems unnecessary unnecessary.
You can sac other items with --cf flag, so its only saccing GP that causes the issue.

may have forgot that favoriting items means they cant be sacrificed with a --cf flag (as they should!).... no bugs here! (ty pum)


Support for other languages

Netlify seems awesome! I saw this:

Currently, we're generating client code for Go, but we're planning on releasing libraries in any language that can generate code from the spec.

.. but creating an issue anyway, so that I can track and be notified when other languages are supported.
I am particularly looking for Scala / Java support.
Thanks!

I think you can easily generate a Java / Scala client with swagger's code generator:
https://github.com/swagger-api/swagger-codegen#to-generate-a-sample-client-library
I'd be ok with keeping that code here in a subdirectory, like we do with Go. However, we'll have to add commands and docs so people know how to rebuild other languange clients.

I was able to build a Java API really simply. I would like to open a PR so it becomes a part of this repository. Could you please describe in more details what 'commands and docs' I should be adding to the PR - I see none of that for JS & Go. Thanks!


Hi, I'd like to request the option to pin app but still be able to touch with unfrozen screen

I'm a mobile gamer and I mainly using 4 claws fingers which will looked like this: https://www.youtube.com/watch?v=W2NVEIE-zXI
As you can see the way I play my games with 4 fingers which is prone to accidentally swipe down the notification bar during gameplay and most of the time this will ruin my game. There is a fix for that by enabling screen pinning options: https://www.youtube.com/watch?v=UnWjgXV6-9Q
However, for xiaomi - miui phone in general, the company has disabled this option on all of their newer phones released post 2020 , even setedit can't fix it. I almost gave up then came across your app. Your app can actually pin the app but the screen would freeze and i couldn't touch anything (i suppose this is a feature).
I believe by giving an option to just pinning the app alone without blocking touch and freezing the screen could be a great solution for Xiaomi phone users in the long run. Since many users have the same problem as me and they still can't find a fix yet (https://www.youtube.com/watch?v=ZjG194DY49A) <- solution which only work with 2019 and early 2020 xiaomi phones, u can check the comment to find those users who are struggling.

I understood the necessity of the functionality.
Unfortunately, It's probably impossible for this app to pin another app.
This app is implemented by pinning a completely transparent screen, which is owned by this app, so technically this app pins my app rather than other apps.
Alternatively, you may be able to pin arbitrary apps by connecting your phone to your computer.
$ adb shell am task lock <your app's task id here>

https://android.stackexchange.com/questions/118731/how-do-i-screen-pin-an-app-in-android-lollipop-using-command-line


Create new dialog - should let me start with an example

When creating a new dialog, we currently show an empty dialog with 2 fields. We no longer allow people to start the dialog with a sample. Can we show the 'create new' for create new dialog.

We want to evaluate this scenario in the effort to create a Asset Library where designers can selectively pull-in Dialog, LG, & LU into their workflow.

Closing as a duplicate


fixes memory leak related to reused range

Hi team 👋 ,
I create PM instance in a dialogue, so in my use case PM instance is created and destroyed quite often. I've noticed that after destroying PM, some references to DOM are still kept in memory - this is due to reusedRange not being cleared.
This small change below should help to remove the memory leak caused by the above.

some references to DOM are still kept in memory

The code looks like it will hold onto a single DOM text node (and never more, since the next editor will continue to reset the existing range). Is this really causing any concrete problem for you?

Yes, because of this single node, the entire dialogue DOM structure is not garbage collected. In my case, the dialogue with the prose mirror editor is quite complex, and it ends up keeping a lot of DOM detached elements and event listeners in memory. Cleaning up the reusedRange solves this problem.

@marijnh, just wanted to bump this PR. Can we merge it or can I help anyhow to make it happen? Thanks

I guess you're ending up with the range pointing at a text node that has a pmViewDesc property, which can indeed keep an entire editor alive. Merged and released as 1.33.2.


Translation: Developers (pt)

What would you like us to improve?
Translation of the Developers section into Brazilian Portuguese.
[2024-07-30] Starting...

Copy of the /en directory;
Translation of index.mdx;
Creation of translation.json pt-br;
Added pt-br language option to astro-i18next.config.ts & menu.ts;
Correction of ISO 639 language code, pt-br to pt.

[2024-07-31]

Copy of the remaining sections and translation of the home page;
Small fix on the developer section index page;
Pointing to the pt language folder in other sessions, in the specific object for the pt language menu.ts.

How important it is?
Brazilians are eager for the world of blockchain, I intend to contribute to the knowledge of these same Brazilians and intensify the dissemination of Scroll in some way.

ok


PHP 5.3 non-compatible syntax being used (short array)

PHP Parse error:  syntax error, unexpected '[' in sculpin/src/Sculpin/Bundle/MarkdownBundle/MarkdownConverter.php on line 51
A couple of classes are using PHP 5.4's short array syntax which is not backwards compatible with PHP 5.3. I noticed there has been some discussion here of removing support for PHP 5.3.x, but unless/until such a change occurs this issue should be addressed, especially for such a trivial code change.
I'm submitting a fix now, but figured it might be useful to have an issue to attach it to.

Fixed in #240


Calculate the angle of the 0 and 1/2 rays passing through 0 in a Julia set

Conjecture: it’s the same as the angle of the 0 and 1/2 external rays

Another phrasing of this question: take the map which conjugates the dynamics around zero to squaring. By what factor does this map rotate?

Now that we can embed Hubbard tree's edges, we could approximate this angle


RT-1.54 bgp_override_as_path_split_horizon_test.go

Hi,
Fixing issue with route policy, it was commented out in previous git pull.
If we dont add condition install protocol eq to BGP, all direct routes will be installed and sent prefixes does not match.
Thanks,
Prabha

Pull Request Functional Test Report for #3626 / 4522ab05462cbe92c7594bee3d2f6d335926bf6e
Virtual Devices

Device
Test
Test Documentation
Job
Raw Log

Arista cEOS

RT-1.54: BGP Override AS-path split-horizon

Cisco 8000E

RT-1.54: BGP Override AS-path split-horizon

Cisco XRd

RT-1.54: BGP Override AS-path split-horizon

Juniper ncPTX

RT-1.54: BGP Override AS-path split-horizon

Nokia SR Linux

RT-1.54: BGP Override AS-path split-horizon

Openconfig Lemming

RT-1.54: BGP Override AS-path split-horizon

Hardware Devices

Device
Test
Test Documentation
Raw Log

Arista 7808

RT-1.54: BGP Override AS-path split-horizon

Cisco 8808

RT-1.54: BGP Override AS-path split-horizon

Juniper PTX10008

RT-1.54: BGP Override AS-path split-horizon

Nokia 7250 IXR-10e

RT-1.54: BGP Override AS-path split-horizon

Help

Pull Request Test Coverage Report for Build<PHONE_NUMBER>6
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 55.268%

Totals

Change from base Build<PHONE_NUMBER>8:
0.0%

Covered Lines:
1983

Relevant Lines:
3588

💛  - Coveralls


add password to the jwt.yml as the secret.yml is removed

 add password to the jwt.yml as the secret.yml is removed light-oauth2 master


Move ingress config to daskhub values.yaml

So there is no need to reconfigure the ingress after every change to dask gateway.

@guillaumeeb please test

Wow, this would be really cool to have the ingress configured into Helm values.yaml!
Trying this on the current platform I'm trying to deploy (and with an already applied ingress), I get:
Error: UPGRADE FAILED: rendered manifests contain a resource that already exists. Unable to continue with update: Ingress "jupyterhub" in namespace "daskhub" exists and cannot be imported into the current release: invalid ownership metadata; label validation error: missing key "app.kubernetes.io/managed-by": must be set to "Helm"; annotation validation error: missing key "meta.helm.sh/release-name": must be set to "daskhub"; annotation validation error: missing key "meta.helm.sh/release-namespace": must be set to "daskhub"

Try deleting the previous ingress and reapply the config.

Really nice, that worked! :partying_face:
This would be much more simple. I propose to take your changes in my PR in order to simplify things, OK for you?

Not a problem.
Closing in favor of


Cannot add a null child view to a ViewGroup

`val mySteps = arrayOf("Name", "Email", "Phone Number")
val colorPrimary = ContextCompat.getColor(applicationContext, R.color.colorPrimary)
val colorPrimaryDark = ContextCompat.getColor(applicationContext, R.color.colorPrimaryDark)
    VerticalStepperFormLayout.Builder.newInstance(vertical_stepper_form, mySteps, this, this)
            .primaryColor(colorPrimary)
            .primaryDarkColor(colorPrimaryDark)
            .displayBottomNavigation(true) // It is true by default, so in this case this line is not necessary
            .init()`

i try this code and get cannot add a null child view to a ViewGroup.
can you tell me where it wrong?

You have to add the view to your steps in createStepContentView(int stepNumber)
Like this
    @Override     public View createStepContentView(int stepNumber) {         View view = null;         switch (stepNumber) {             case 0:                 view = createFirstStep();                 break;             case 1:                 view = createSecondStep();                 break;             }         return view; //and then rerturn the view you created
the createFirstStep is a method which returns the view which then provided to the vertical stepper view group
   private View createFirstStep() {         // Here we generate programmatically the view that will be added by the system to the step content layout         TextView  name = new TextView(this));         name.setSingleLine(true);         name.setHint(R.string.select_location);         return name;     }

This issue seems to have been already solved, so I will close it now.


Remove failing slack alerts

It was noted that slack alerts for staging are no longer needed to the integrity channel. Given that this is currently causing force master to be red (but not necessarily blocking deploys) it'd be good to go ahead and remove this.

Ooh thanks for this - removed the keys to disable the message but forgot this step!


Add ability to pass values into the text field (e.g. editing already-entered data)

Will get to work on this today. Shouldn't take long.

This feature is now available with version 1.1.0.


Support continuous profiling feature

Features:

Collect process-level-based metrics from continuous profiling.
Implement continuous profiling related query(GraphQL) and data collection(gRPC) query.

@lujiajing1126 The Continuous profiling policy is using the property type to store into the BanyanDB, please help to recheck. Also, for now, the BanyanDB cannot query property with multiple IDs, maybe we can add it.

[ ] If this pull request closes/resolves/fixes an existing issue, replace the issue number. Closes #.
[x] Update the CHANGES log.

I suppose property-related features may block due to #10442

I suppose property-related features may block due to #10442

Due to this, policy reading should be fail, right?

@mrproliu Do we have e2e support for this? I think rover side is ready. We need CLI for testing?

I suppose property-related features may block due to #10442

Due to this, policy reading should be fail, right?
@mrproliu Do we have e2e support for this? I think rover side is ready. We need CLI for testing?

I'm working on adapting the query protocol to the CLI, then I will create the E2E for testing this feature in difference storage.

Notice, due to https://github.com/apache/skywalking/issues/10366, MySQL DAO could be impacted.
Let's hold this PR for a while, I think @kezhenxu94 will make https://github.com/apache/skywalking/issues/10366 passed in this week.

Also, I would remove this from 9.4.0 release. Because it is impossible we could provide UI for this in time. WDYT? @mrproliu

Also, I would remove this from 9.4.0 release. Because it is impossible we could provide UI for this in time. WDYT? @mrproliu

Sure.

Also, for now, the BanyanDB cannot query property with multiple IDs

The API provides listing multi-ids in a single request. @lujiajing1126 Java client should support it accordingly.

@mrproliu @wu-sheng Could we set up a meeting to discuss how to store profiling data to BanyanDB in an appropriate way? The BanyanDB project will kick off the design process of distribution. We should align some issues before that.

Sure, ping me, I am flexible these days.

Sure.

profiling.md doc should be updated about continuous profiling, right?

Yes, I will update it.


Knowledge - Inform users about files that do not get synced because of file restriction (> 50 mb)

Steps to reproduce the problem:

Create an agent with knowledge files from onedrive link which has files > 50 mb size.

Once sync is completed , notice that the files > 50 mb size do not get synced.
There is no indication to the user about these files being not synced.
Expected Behavior:
It would be good to let the user know that we have skipped syncing files > 50 mb  and may be also provide the names of files that were skipped

I could see something generic like "Files over 50mb were skipped." We don't necessarily need to enumerate them

If we're going to stick with this restriction, we should probably put a disclaimer on the knowledge source as well (where you paste the link in the first place), right?


usage understanding

I'm trying to put to words how this works.
I originally thought that this was set up such as:

Roles: Admin, User, Guest
Permissions: Create, View, Update, Destroy

However, going through the docs it seems that I haven't gotten the premiss of how this works.
Is it?

Permissions:  Access, Manage, ???
Roles == Models; user, blog, task, todo +++

Also, just wondering ... I created roles and permission controllers so that I can have a web interface for these. Should I extend the roles, and permission models based on yours?
And ..
I did have an issue of access the package models since I had the trait attached to the model but I'm using a repository and had to include it.
Hope you don't mind checking my homework :blush:

Your original thought/assumption is correct. Roles can be "User", "Moderator", "Administrator", etc.
And yes, you may extend the role and permission models for use with your own model/repository set up - this is pretty much required as the relationships between everything are defined in the models provided by Shinobi.
Not sure I completely follow your last statement - because everything is Namespaced, you'll always need to point to class locations either through the use statement or reference the full namespace path of the class (e.g. \Caffeinated\Shinobi\Traits\ShinobiTrait). Otherwise PHP thinks you're referencing a file within the same directory as the one it's currently in.

What about the permissions?
Actually, this is what confused me:
'access.admin'

if my original understanding was correct is that "permission:role" ?
I was up for too long and understanding just went out the door. Which means I probably pooched the namespace.
Thanks!

Permissions can be called and follow any convention you like as well :) they're just slugs linking to any given action you wish to check for. I personally try to use a simple verb/group approach:
create.user or create_user, following a verb_group convention.
So in that example, a "group" could be a reference to a module (aka, a users module), wheres the "verb" links to the action being taken (e.g. creating a user).
Usage would be:
Auth::user()->can('create_user');

This would return either true or false depending on if the role associated with the user has the given permission.
But again, permissions can be called whatever you like that makes sense to you.

Ah! I get it now. Thanks!
The dot threw me off. I was thinking in routes/views/config/trans dot usage.
Also, I was adding 1 more separate layer into this: role::model::permission (role : verb : group) and in turn was making things difficult for myself.
So, thinking out loud, I should just be doing role::permission_model (role : verb_group) <--makes sense now
Thanks!


Suggestion: uppercase in team.html

Suggestion: uppercase in team.html
(testing issues and PR in GH)

Kindly tell me about this issue. I will solve it.

any progress @javpintos ????

I would like to contribute to this issue as a GSSOC'21 participant. Please assign it to me, hoping for a positive reply soon.

Go ahead, check the requested changes in #38.


"ReferenceError: Can't find variable: Teaspoon" after upgrading to 0.8.0

Hello.
I've performed the following steps to upgrade from 0.7.9 to 0.8.0 (Rails 3.2.22). I've followed the described steps in the CHANGELOG  and I get the following error when trying to run the tests:
$ RAILS_ENV=test bundle exec teaspoon --suite=default
ReferenceError: Can't find variable: Teaspoon
  # http://<IP_ADDRESS>:52072/teaspoon/default?reporter=Console:11 -- global code

ReferenceError: Can't find variable: Teaspoon
  # http://<IP_ADDRESS>:52072/teaspoon/default?reporter=Console:75 -- global code

Failed to load: http://<IP_ADDRESS>:52072/teaspoon/default?reporter=Console

The exception is thrown when #execute calls #execute_without_handling. The exception is then rescued a little later.
Grabbing the backtrace of the exception at that point, gives us:
> e.backtrace
=> ["/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/runner.rb:53:in `on_exception'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/runner.rb:34:in `notify_formatters'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/runner.rb:17:in `process'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/drivers/phantomjs_driver.rb:24:in `block in run_specs'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/drivers/phantomjs_driver.rb:31:in `each'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/drivers/phantomjs_driver.rb:31:in `block in run'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/drivers/phantomjs_driver.rb:31:in `popen'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/drivers/phantomjs_driver.rb:31:in `run'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/drivers/phantomjs_driver.rb:23:in `run_specs'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/console.rb:45:in `run_specs'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/console.rb:35:in `block in execute_without_handling'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/console.rb:33:in `each'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/console.rb:33:in `inject'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/console.rb:33:in `execute_without_handling'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/console.rb:21:in `execute'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/console.rb:17:in `failures?'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/lib/teaspoon/command_line.rb:13:in `initialize'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/bin/teaspoon:6:in `new'",
 "/Users/agis/.gem/ruby/2.1.5/gems/teaspoon-0.8.0/bin/teaspoon:6:in `<top (required)>'",
 "/Users/agis/.gem/ruby/2.1.5/bin/teaspoon:23:in `load'",
 "/Users/agis/.gem/ruby/2.1.5/bin/teaspoon:23:in `<main>'"]

I've added my relevant configuration files in this gist (also included the actual location of the files).
Note that before I've made the changes to go to 0.8.0, my spec_helper file was actually namedspec/javascripts/spec_helper.js.coffee (notice the .js part); not sure if this is relevant.

I've followed the steps described in https://github.com/modeset/teaspoon/issues/397#issuecomment-127433338 and I get this page: http://f.cl.ly/items/3U0s300B2n0t0E1Z2r3Z/Image 2015-08-07 at 3.30.19 PM.png (I've slightly changed the paths but they look fine anyway).

I think that I've found the issue but not sure why it's happening. The host that Teaspoon uses is wrong:

Just tried running teaspoon without the RAILS_ENV=test part and it works!
Are we supposed to run this command on development or test environment? Note that this was running with RAILS_ENV=test up until 1.7.x and on our CI server.

Check your test env, it's probably oddly configured. Only thing that makes sense.

Jeremy Jackson

On Aug 7, 2015, at 7:55 AM, Agis Anastasopoulos<EMAIL_ADDRESS>wrote:
Just tried running teaspoon without the RAILS_ENV=test part and it works!
Are we supposed to run this command on development or test environment? Note that this was running with RAILS_ENV=test up until 1.7.x and on our CI server.
—
Reply to this email directly or view it on GitHub.

Yep, just found out that we're doing this in config/environments/test.rb:
config.action_controller.asset_host = "http://assets.test.host"

Which is not wrong in terms of the Rails app but it breaks up with teaspoon. However, the question is: what is the standard way to run the command (supposing this is about a CI server)? With RAILS_ENV='test' or without it?

Do you have any integration tests? Like cucumber or capybara? Those wouldn't work either, because your asset host does not exist. How is that a correct configuration? Locally, and via the browser it should run using the dev env because you get the shared asset cache. On CI, it should be test. To be honest, I don't see how it ever worked.

Jeremy Jackson

On Aug 7, 2015, at 7:59 AM, Agis Anastasopoulos<EMAIL_ADDRESS>wrote:
Yep, just found out that we're doing this in config/environments/test.rb:
config.action_controller.asset_host = "http://assets.test.host"
Which is not wrong in terms of the Rails app but it breaks up with teaspoon. However, the question is: what is the standard way to run the command (supposing this is about a CI server)? With RAILS_ENV='test' or without it?
—
Reply to this email directly or view it on GitHub.

Not sure but since it resolved I'm closing this. I've left the asset host to the default one. Thanks.


[gui] PrintPreview How to provide comment and title to items?

https://github.com/vasole/pymca/issues/385
The API is still there but the silx implementation simply ignores it.
The simplest way to recover the functionality I see is to modify PrintPreviewToolButton method _plotToPrintPreview  by checking if the plot has a method to return the graphics item, the title and the comment instead of just doing the work on its own.
Would it be acceptable? I could easily code it and it would not break anything by implementing that.
Any other idea?

I first thought that the simplest method would be the make the  PrintPreviewToolButton._plotToPrintPreview public so that applications cans just add additional info (comments) to the self.printPreviewDialog.addSvgItem(...) call. But actually it is not that simple, because _plotToPrintPreview calls _getSvgRendererAndViewbox (which calls _getViewBox...). so if someone wanted to overload plotToPrintPreview he would need to know to call a few private method, or need to reimplement them. At the end, it is equivalent to reimplementing the entire toolbutton on the application side.
It would be the same issue with your idea of letting the application plot returning the graphics item, it would come to rewriting most of the toolbutton's code on the application side anyway.
Making _plotToPrintPreview check if the plot has a method to provide only additional information (title and comments, but not the graphics item) would be the solution with the least amount of code duplication.

I think it is better to add some methods one can override in the PrintPreviewToolButton to provide the title and comment (e.g., getTitle, getComment or computeTitleAndComment) rather than expecting a method to be defined in the plot.

Good idea.


TS-993: OpenBSD sbindir should be ${exec_prefix}/sbin

FreeBSD build successful! See https://ci.trafficserver.apache.org/job/Github-FreeBSD/1407/ for details.

Linux build successful! See https://ci.trafficserver.apache.org/job/Github-Linux/1300/ for details.

Thanks @zwoop! Merged.

You want this for 7.1.x?

Ah wth, it seems safe, cherry-picking.


MINOR: Resuming Tasks should not be initialized twice

additionally: removes race condition in StreamThreadTest plus cleanup

\cc @bbejeck

Triggered a system build for this: https://jenkins.confluent.io/job/system-test-kafka-branch-builder/1262/

StreamThreadTest.java:424:65: '{' is not preceded with whitespace. [WhitespaceAround]

retest this please

Added one commit with a minor internal renaming of a method.

Retest this please.

Merged to trunk and cherry-picked to 1.1 branch.


some packages mentioned in the paper are missing from results.csv

I see nginx mentioned in the paper, but its not in results.csv or projects_to_examine.csv, did it get lost in the process?
Risk index should be ~8 points if I counted right:

website: 0 points
CVE : 3 points (17 CVEs since 2010)
Contributor: 0 points (according to scm history, 22 contributors in 12 months)
popularity: 1 point (popcon vote: 126928)
Network exposure: 2 points
Dependencies: 2 points (~20 unique reverse depends for nginx, nginx-light, nginx-extras, nginx-full)
Patches: 0 point (1 patch)
ABRT crash statistics: don't know where to get this from

Hello,
Thanks for pointing out nginx.  It will be included into the list. Our initial list primarily included packages in Standard System Utilities and Web Server.
Please note: we are not yet including Dependencies, Patches and ABRT crash statistics into the risk index.  These are suggested but not yet implemented [1].
Can you please advise how you obtain popcon vote of 126928 for nginx? As per [2], it is 6428.
[1] https://www.coreinfrastructure.org/programs/census-project
[2] http://popcon.debian.org/by_inst

I was looking here for nginx popcon and got confused that at the top it says in bold green Vote (122307). Turns out that is the vote for libc6, not nginx (why would they show the vote for libc6 on the popcon page for nginx?).
Your number looks more correct, although I'm still confused on why the number of installs for nginx + number of installs for nginx-full is more than the number of installs for nginx-common.

Hello,
I think the vote for libc6 on the popcon page for 'nginx' is displayed for one to see the highest ranked item in that category (for comparison, etc).  Thus, for 'vote' it is 'libc6' and for 'inst' it is 'debianutils'.
Current popcon votes for nginx:
nginx-common 6817
nginx 6315
nginx-full 5816
It is okay for number of installs for 'nginx' + number of installs for 'nginx-full' to be more than the number of installs for 'nginx-common' because dependencies are as follows:
nginx depends on nginx-full or nginx-light
nginx-full depends on nginx-common