UseCompilerFolder with Azure DevOps Pipeline - Warnings and Errors Shown as Plain Text

When using Run-AlPipeline with a compiler folder in an Azure DevOps pipeline, warnings appear to be output as plain text. Errors are the same, but since the result contains "App Generation Failed" the pipeline at least still fails. FailOn Warning also does not appear to work in this scenario.
I believe the result returned from the compiler is being treated as one large block of text and failing to meet any of the regex conditions in Convert-ALCOutputToAzureDevOps, as opposed to being processed line by line, but I could be mistaken. This is just what I observed when copying the code out and running it myself.
I've taken out the irrelevant parts of the output for readability, but am happy to provide the whole thing if needed.
2023-11-17T17:32:35.9916164Z ##[section]Starting: Run Pipeline
2023-11-17T17:32:36.0049977Z ==============================================================================
2023-11-17T17:32:36.0050316Z Task         : PowerShell
2023-11-17T17:32:36.0050469Z Description  : Run a PowerShell script on Linux, macOS, or Windows
2023-11-17T17:32:36.0050803Z Version      : 2.231.0
2023-11-17T17:32:36.0050947Z Author       : Microsoft Corporation
2023-11-17T17:32:36.0051163Z Help         : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/powershell
2023-11-17T17:32:36.0051597Z ==============================================================================
2023-11-17T17:32:37.2463062Z Generating script.
2023-11-17T17:32:37.3092459Z Formatted command: . '[AgentDriveMapping]\426\s\scripts\DevOps\DevOps-Pipeline.ps1' -environment "AzureDevOps" -appRevision 106971
2023-11-17T17:32:37.3458014Z ========================== Starting Command Output ===========================
2023-11-17T17:32:37.3666616Z ##[command]"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -NoLogo -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -Command ". '[AgentDriveMapping]\_temp\0052bad3-a7cb-485a-af34-bc2a0bad3828.ps1'"
2023-11-17T17:32:39.0414616Z
2023-11-17T17:32:39.3776846Z BcContainerHelper version 6.0.0
2023-11-17T17:32:39.8300537Z Setting defaultNewContainerParameters = @{Isolation=hyperv}
2023-11-17T17:32:39.8347733Z Setting bcartifactsCacheFolder = E:\bcartifacts.cache
2023-11-17T17:32:39.8481372Z BC.HelperFunctions emits usage statistics telemetry to Microsoft
2023-11-17T17:32:45.5570991Z
**2023-11-17T17:32:46.4068378Z PARAMETERS**
2023-11-17T17:32:46.4079259Z Pipeline name                   [PipelineName]
2023-11-17T17:32:46.4089142Z Container name                  [MyContainer]
2023-11-17T17:32:46.4098687Z Image name                      bcimage
2023-11-17T17:32:46.4108429Z ArtifactUrl                     https://bcartifacts.azureedge.net/sandbox/23.1.13431.14006/us
2023-11-17T17:32:46.4117759Z SasToken                        Not Specified
2023-11-17T17:32:46.4135546Z BcAuthContext                   Not Specified
2023-11-17T17:32:46.4150482Z Environment
2023-11-17T17:32:46.4170300Z ReUseContainer                  False
2023-11-17T17:32:46.4192052Z KeepContainer                   True
2023-11-17T17:32:46.4215018Z useCompilerFolder               True
2023-11-17T17:32:46.4237425Z artifactCachePath               [CompilerCachePath]/sandbox/23.1.13431.14006/us
2023-11-17T17:32:46.4261426Z useDevEndpoint                  False
2023-11-17T17:32:46.4283010Z Auth                            UserPassword
2023-11-17T17:32:46.4319046Z Credential                      Specified
2023-11-17T17:32:46.4337749Z CompanyName
2023-11-17T17:32:46.4359358Z MemoryLimit                     12G
2023-11-17T17:32:46.4382824Z FailOn                          error
2023-11-17T17:32:46.4408501Z TreatTestFailuresAsWarnings     False
2023-11-17T17:32:46.4432228Z Enable Task Scheduler           False
2023-11-17T17:32:46.4455600Z Assign Premium Plan             True
2023-11-17T17:32:46.4478082Z Install Test Runner             False
2023-11-17T17:32:46.4498951Z Install Test Framework          False
2023-11-17T17:32:46.4518716Z Install Test Libraries          False
2023-11-17T17:32:46.4539126Z Install Perf. Toolkit           False
2023-11-17T17:32:46.4559530Z InstallOnlyReferencedApps       False
2023-11-17T17:32:46.4580929Z generateDependencyArtifact      False
2023-11-17T17:32:46.4600842Z CopySymbolsFromContainer        False
2023-11-17T17:32:46.4625121Z enableCodeCop                   True
2023-11-17T17:32:46.4647314Z enableAppSourceCop              False
2023-11-17T17:32:46.4667613Z enableUICop                     True
2023-11-17T17:32:46.4686505Z enablePerTenantExtensionCop     True
2023-11-17T17:32:46.4708121Z doNotPerformUpgrade             False
2023-11-17T17:32:46.4730900Z doNotPublishApps                True
2023-11-17T17:32:46.4751903Z uninstallRemovedApps            False
2023-11-17T17:32:46.4772087Z escapeFromCops                  False
2023-11-17T17:32:46.4792457Z doNotBuildTests                 False
2023-11-17T17:32:46.4815804Z doNotRunTests                   True
2023-11-17T17:32:46.4835436Z doNotRunBcptTests               False
2023-11-17T17:32:46.4856839Z useDefaultAppSourceRuleSet      False
2023-11-17T17:32:46.4877936Z rulesetFile                     [AgentDriveMapping]\426\s\app\.vscode\company.ruleset.json
2023-11-17T17:32:46.4899565Z enableExternalRulesets          False
2023-11-17T17:32:46.4920783Z azureDevOps                     True
2023-11-17T17:32:46.4942670Z gitLab                          False
2023-11-17T17:32:46.4963418Z gitHubActions                   False
2023-11-17T17:32:46.4978733Z vsixFile
2023-11-17T17:32:46.5002378Z License file                    Specified
2023-11-17T17:32:46.5023467Z CodeSignCertPfxFile             Specified
2023-11-17T17:32:46.5067806Z CodeSignCertPfxPassword         Specified
2023-11-17T17:32:46.5151734Z CodeSignCertIsSelfSigned        False
2023-11-17T17:32:46.5173474Z KeyVaultCertPfxFile             Not specified
2023-11-17T17:32:46.5197358Z KeyVaultCertPfxPassword         Not specified
2023-11-17T17:32:46.5213691Z KeyVaultClientId
2023-11-17T17:32:46.5229894Z BuildOutputFile
2023-11-17T17:32:46.5245928Z ContainerEventLogFile
2023-11-17T17:32:46.6463955Z TestResultsFile                 [AgentDriveMapping]\426\s\TestResults.xml
2023-11-17T17:32:46.6475763Z BcptTestResultsFile             [AgentDriveMapping]\426\s\bcptTestResults.json
2023-11-17T17:32:46.6486667Z TestResultsFormat               JUnit
2023-11-17T17:32:46.6507175Z AdditionalCountries
2023-11-17T17:32:46.6518019Z PackagesFolder                  [AgentDriveMapping]\426\s\.packages
2023-11-17T17:32:46.6529311Z OutputFolder                    [AgentDriveMapping]\426\s\.output
2023-11-17T17:32:46.6539500Z BuildArtifactFolder             [AgentDriveMapping]\426\a
2023-11-17T17:32:46.6550777Z CreateRuntimePackages           False
2023-11-17T17:32:46.6561659Z AppVersion
2023-11-17T17:32:46.6572014Z AppBuild                        20231117
2023-11-17T17:32:46.6582493Z AppRevision                     106971
2023-11-17T17:32:46.6593361Z SourceRepositoryUrl
2023-11-17T17:32:46.6603600Z SourceCommit
2023-11-17T17:32:46.6614040Z BuildBy                         BcContainerHelper,6.0.0
2023-11-17T17:32:46.6624067Z BuildUrl
2023-11-17T17:32:46.6634368Z Install Apps
2023-11-17T17:32:46.6646495Z - None
2023-11-17T17:32:46.6657033Z Install Test Apps
2023-11-17T17:32:46.6667076Z - None
2023-11-17T17:32:46.6678347Z Previous Apps
2023-11-17T17:32:46.6690689Z - None
2023-11-17T17:32:46.6703155Z Application folders
2023-11-17T17:32:46.6714987Z - [AgentDriveMapping]\426\s\app
2023-11-17T17:32:46.6728075Z Test application folders
2023-11-17T17:32:46.6740718Z - None
2023-11-17T17:32:46.6751724Z BCPT Test application folders
2023-11-17T17:32:46.6762732Z - None
2023-11-17T17:32:46.6774480Z BCPT Test suites
2023-11-17T17:32:46.6786328Z - None
2023-11-17T17:32:46.6797657Z Custom CodeCops
2023-11-17T17:32:46.6812014Z - None
2023-11-17T17:32:46.7346017Z
**2023-11-17T17:32:46.7446357Z CREATING CONTAINER**
2023-11-17T17:32:46.7460257Z Creating CompilerFolder
2023-11-17T17:32:46.7893894Z Copying DLLs from cache
2023-11-17T17:32:49.6218397Z Copying symbols from cache
2023-11-17T17:32:51.1445104Z Copying compiler from cache
2023-11-17T17:32:54.4524763Z CompilerFolder [ContainerCompilerFolder]\[MyContainer] created
2023-11-17T17:32:54.4571221Z
2023-11-17T17:32:54.4583434Z Creating container took 8 seconds
2023-11-17T17:32:54.5649048Z
**2023-11-17T17:32:54.5742414Z COMPILING APPS**
2023-11-17T17:32:54.6086506Z Using custom ruleset
2023-11-17T17:32:54.6170123Z Using Version 23.1.20231117.106971
2023-11-17T17:32:54.6368207Z
2023-11-17T17:32:54.6379166Z Compiling [AgentDriveMapping]\426\s\app
2023-11-17T17:32:54.6954099Z Using Symbols Folder: [AgentDriveMapping]\426\s\.packages
2023-11-17T17:32:54.7016837Z Enumerating Apps in CompilerFolder [ContainerCompilerFolder]\[MyContainer]\symbols
2023-11-17T17:32:54.7402839Z Getting .app info
2023-11-17T17:32:56.0050525Z - Microsoft_AMC Banking 365 Fundamentals_23.1.13431.14006.app (succeeded)
2023-11-17T17:32:56.0301261Z - Microsoft_Any_23.1.13431.14006.app (succeeded)
2023-11-17T17:32:57.6593414Z - Microsoft__Exclude_SyncBaseApp__23.1.13431.14006.app (succeeded)
2023-11-17T17:32:57.6740673Z - System.app (succeeded)
2023-11-17T17:32:57.6908777Z Enumerating Apps in Symbols Folder [AgentDriveMapping]\426\s\.packages
2023-11-17T17:32:57.6932090Z Getting .app info
2023-11-17T17:32:57.7038627Z Processing dependency Microsoft_Application_<IP_ADDRESS> ()
2023-11-17T17:32:57.7051560Z Dependency App not found
2023-11-17T17:32:57.7286922Z Copying [ContainerCompilerFolder]\[MyContainer]\symbols\Microsoft_Application_23.1.13431.14006.app to [AgentDriveMapping]\426\s\.packages
2023-11-17T17:32:57.7465957Z Processing dependency Microsoft_System_<IP_ADDRESS> ()
2023-11-17T17:32:57.7488888Z Dependency App not found
2023-11-17T17:32:57.7534208Z Copying [ContainerCompilerFolder]\[MyContainer]\symbols\System.app to [AgentDriveMapping]\426\s\.packages
2023-11-17T17:32:57.7564323Z Processing dependency Microsoft_System Application_<IP_ADDRESS> (63ca2fa4-4f03-4f2b-a480-172fef340d3f)
2023-11-17T17:32:57.7606909Z Dependency App not found
2023-11-17T17:32:57.7654981Z Copying [ContainerCompilerFolder]\[MyContainer]\symbols\Microsoft_System Application_23.1.13431.14006.app to [AgentDriveMapping]\426\s\.packages
2023-11-17T17:32:57.7734165Z Processing dependency Microsoft_Base Application_<IP_ADDRESS> (437dbf0e-84ff-417a-965d-ed2bb9650972)
2023-11-17T17:32:57.7747951Z Dependency App not found
2023-11-17T17:32:57.7795396Z Copying [ContainerCompilerFolder]\[MyContainer]\symbols\Microsoft_Base Application_23.1.13431.14006.app to [AgentDriveMapping]\426\s\.packages
2023-11-17T17:32:57.8176612Z Platform version: 23.0.13975.0
2023-11-17T17:32:57.8232949Z Compiling...
2023-11-17T17:32:57.8811284Z .\alc.exe /project:"[AgentDriveMapping]\426\s\app" /packagecachepath:"[AgentDriveMapping]\426\s\.packages" /out:"[AgentDriveMapping]\426\s\.output\[AppFileName]" /analyzer:[ContainerCompilerFolder]\[MyContainer]\compiler\extension\bin\Analyzers\Microsoft.Dynamics.Nav.CodeCop.dll /analyzer:[ContainerCompilerFolder]\[MyContainer]\compiler\extension\bin\Analyzers\Microsoft.Dynamics.Nav.PerTenantExtensionCop.dll /analyzer:[ContainerCompilerFolder]\[MyContainer]\compiler\extension\bin\Analyzers\Microsoft.Dynamics.Nav.UICop.dll /ruleset:[AgentDriveMapping]\426\s\app\.vscode\company.ruleset.json /BuildBy:"BcContainerHelper,6.0.0" /assemblyprobingpaths:[ContainerCompilerFolder]\[MyContainer]\dlls\OpenXML,C:\Program Files\dotnet\shared\Microsoft.NETCore.App\7.0.4,C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App\7.0.4,[ContainerCompilerFolder]\[MyContainer]\dlls\Service,[ContainerCompilerFolder]\[MyContainer]\dlls\Mock Assemblies
2023-11-17T17:33:09.3796707Z Microsoft (R) AL Compiler version <IP_ADDRESS>642
2023-11-17T17:33:09.3807045Z Copyright (C) Microsoft Corporation. All rights reserved
2023-11-17T17:33:09.3812030Z
2023-11-17T17:33:09.3824048Z Compilation started for project '[ProjectName]' containing '97' files at '17:33:00.965'.
2023-11-17T17:33:09.3828218Z
**2023-11-17T17:33:09.3950046Z [AgentDriveMapping]\426\s\app\src\codeunits\SomeCodeunit.Codeunit.al(276,21): warning AA0228: The local method 'SendEmail' is declared but never used.**

_EXPECTED_ ##[warning][AgentDriveMapping]\426\s\app\src\codeunits\SomeCodeunit.Codeunit.al(276,21): warning AA0228: The local method 'SendEmail' is declared but never used.**

2023-11-17T17:33:09.4979443Z
2023-11-17T17:33:09.4990554Z Compilation ended at '17:33:09.299'.
2023-11-17T17:33:09.4995484Z
2023-11-17T17:33:09.5000421Z
2023-11-17T17:33:09.5012383Z [AgentDriveMapping]\426\s\.output\[AppFileName] successfully created in 15 seconds
2023-11-17T17:33:09.5015702Z
2023-11-17T17:33:09.5026553Z Compiling apps took 15 seconds
2023-11-17T17:33:10.8870096Z ##[section]Finishing: Run Pipeline

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Additional context**
- does it happen all the time? Yes.
- did it use to work? Not that I'm aware of.

OK, please create a PR with your change and I will have a look, thanks

Thanks so much to you both. I see the change has been merged in. I assume it will be included in the next release. If so, is there a date on which that can be expected?

It should be in BcContainerHelper preview / prerelease now.

Seems to work great in the preview version. I'll be on the lookout for the next 6.0.1 release.

Tested with 6.0.1-preview and worked as expected.


fix: added prop name to textarea element

Pull Request Test Coverage Report for Build 543

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 77.284%

Totals

Change from base Build 532:
0.0%

Covered Lines:
1243

Relevant Lines:
1539

💛  - Coveralls


Why (10-02, 15-02) intersect (10-02, 10-02) is null?

Hi, I believe this recent fix introduced this behavior, I want to know why
https://github.com/rotaready/moment-range/pull/215
Thanks

Simply because moment.range('10-02', '10-02') has length 0 so there isn't any intersecting period.
If the start and end had different times, there would be an intersection...
Eg.
const m = moment('10-02') // 10-02T00:00:00
const r = moment.range(m.startOf('day'), m.endOf('day'))

moment.range('10-02', '15-02').intersect(r) // 10-02T00:00:00 -> 10-02T23:59:59

// NB: Can do this with range.snapTo('day') after 4.0.0 release

Hope this helps :)

Ok, thanks. I was thinking of a 0 day range as 1 day. Overlaps with adjacent: true does what I was expecting though.


A programs screen

Type: Bug
the screen from program enabled for admin hosting i wanna what if a I start a my file and the screen see only admin! please repeat this
VS Code version: Code 1.82.0 (8b617bd08fd9e3fc94d14adb8d358b56e3f72314, 2023-09-06T22:07:18.759Z)
OS version: Linux x64 5.15.0-83-generic
Modes:

System Info

Item
Value

CPUs
AMD A6-4400M APU with Radeon(tm) HD Graphics (2 x 2695)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: disabled_offopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okvideo_decode: enabledvideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
1, 0, 0

Memory (System)
7.21GB (4.61GB free)

Process Argv
--unity-launch --crash-reporter-id b1bcf384-178f-4cf7-b2f4-d1f0780bf546

Screen Reader
no

VM
0%

DESKTOP_SESSION
cinnamon

XDG_CURRENT_DESKTOP
X-Cinnamon

XDG_SESSION_DESKTOP
cinnamon

XDG_SESSION_TYPE
x11

Extensions (9)

Extension
Author (truncated)
Version

html-snippets
abu
0.2.1

vscode-html-css
ecm
2.0.9

code-runner
for
0.12.1

debugpy
ms-
2024.0.0

python
ms-
2024.2.1

vscode-pylance
ms-
2024.3.1

vsliveshare
ms-
1.0.5918

LiveServer
rit
5.7.9

JavaScriptSnippets
xab
1.8.0

A/B Experiments
vsliv368:30146709
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscorecescf:30445987
vscod805:30301674
binariesv615:30325510
vsaa593cf:30376535
py29gd2263:30899288
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialogc:30910334
pythonidxpt:30866567
pythonnoceb:30805159
asynctok:30898717
pythontestfixt:30902429
pythonregdiag2:30936856
pyreplss1:30897532
pythonmypyd1:30879173
pythoncet0:30885854
pythontbext0:30879054
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:30979542
d34g3935:30971562
bg6jg535:30979843
ccp2r3:30993541
dsvsc020:30976470
pythonaic:30996667
dsvsc021:30996838

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.87.2. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

/gifPlease

Thanks for reporting this issue! Unfortunately, it's hard for us to understand what issue you're seeing. Please help us out by providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they are displayed inline on GitHub. You may find https://gifcap.dev helpful as a browser-based gif recording tool.
If the issue depends on keyboard input, you can help us by enabling screencast mode for the recording (Developer: Toggle Screencast Mode in the command palette). Lastly, please attach this file via the GitHub web interface as emailed responses will strip files out from the issue.
Happy coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


No sample/test test given for create_app

There's no sample file nor test file given with the command create_app. As the original repository is unavailable it's difficult to figured out how it works.

closing due to inactivity


Linux detection

This adds detection for RedHat-based distros as well as returning the lowest active UID after UID_MIN, as discussed in #1. I gave it some basic testing on CentOS and I'm confident it'll work fine on other distros, even when the two files don't exist (in which case we fall back to the hardcoded UIDs). I didn't see the need to support 4 year old Fedora, so that's not included.
Leaving this up for discussion, as it's pretty much a rewrite and also changes the behaviour to async (required by getos).

Also, a package rename might be in order, as it now does more than to just store default UIDs.

I have a few improvements in mind, to which I'll get tomorrow:

Simplify by removing the getDefaultUidMin function and removing the RedHat variables
OS X detection
Single argument support

After further consideration, I think the detection stuff is probably best done as another module. Will leave the code in this branch until I've decided how to proceed.

I think the detection stuff is probably best done as another module.

Agreed


python310Packages.goalzero: 0.2.1 -> 0.2.2

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for python310Packages.goalzero is: Goal Zero Yeti REST Api Library
meta.homepage for python310Packages.goalzero is: https://github.com/tkdrob/goalzero
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.2.2 with grep in /nix/store/c3kmna8s29zzcv5bpcvlby2cq5l51d1d-python3.10-goalzero-0.2.2
found 0.2.2 in filename of file in /nix/store/c3kmna8s29zzcv5bpcvlby2cq5l51d1d-python3.10-goalzero-0.2.2

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

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
home-assistant-component-tests.goalzero
python310Packages.goalzero
python311Packages.goalzero

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/c3kmna8s29zzcv5bpcvlby2cq5l51d1d-python3.10-goalzero-0.2.2 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

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

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/c3kmna8s29zzcv5bpcvlby2cq5l51d1d-python3.10-goalzero-0.2.2
ls -la /nix/store/c3kmna8s29zzcv5bpcvlby2cq5l51d1d-python3.10-goalzero-0.2.2/bin

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

3 packages built:

home-assistant-component-tests.goalzero
python310Packages.goalzero
python311Packages.goalzero

Maintainer pings
cc @dotlambda for testing.

Result of nixpkgs-review pr 242883 run on aarch64-darwin 1

4 packages built:

python310Packages.goalzero
python310Packages.goalzero.dist
python311Packages.goalzero
python311Packages.goalzero.dist


get the Root Management App Name

How can I get the root management app name? Is there a way to get it. ?

To clarify you're after more information about why a device fails the RootBeer.detectRootManagementApps()?  maybe a String[] of the detected Root management apps?

Sure. a String[] of the names of detected root management apps would be enough. Thanks


docs remove sql manual

Proposed changes
The document has been moved to doris-website repo last week.
And we are planning to move the sql-manual docs too.
But sql-manual docs is used for help operation, that is, when you execute help in mysql client.
It will show the docs of corresponding command.
In this PR, I temporarily remove the build of help-resource.zip, so that the help command can not be used.
After this, the sql-manual doc will be moved to doris-website.
We will find a way to enable help command again.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall

run buildall

run buildall

run buildall


The model can be unbounded under certain set-ups

What and Why
From the multi-year case, it is found that the model can be unbounded if a flow is used for both production and transport.
Image a user case of a wind-electrolyzer combination, where we want to invest in a offshore wind turbine, and its production goes exclusively to a electrolyzer/demand onshore. In this case, we can use one flow variable for that, i.e., flow wind-demand. Since this is flow also a transport asset, it, in principle, can go backwards (from demand to wind). But in this case, we want unidirectional flow.

If no investments in transport are modeled, this can be coped by setting up the initial import capacity to 0.
If we want to model investments as well, then the investments will be for two directions, and we will have reverse flows, i.e.,  negative flow wind-demand.
Then It becomes a problem because the production flow will be unbounded (since it is a transport and currently we set transport flows free), so that it can go to minus infinity, unless there is a given bound for the transport which prevents the flow from going to minus infinity.

We can always avoid this, if we use a hub in-between, but it creates "unnecessary" constraints.
Points to discussion:

do we want to support such a use case?

If not, we need to add a validation.
If yes, the need to see how to change the model.

I have discussed this with @datejada, and we would like to discuss with everyone. It's more of a modeling choice so @g-moralesespana @clizbe.
Possible Drawbacks
No response
Related Issues
No response

To me this sounds like a use case we should support.
Am I understanding correctly that our current transport investments are the same for both directions?
And are production flows included in the transport investment decision?

We will support this case.
We should make sure the flows always have lower bounds (0) for producers, conversion, and storage.


'Watched' labels not correctly linked to their checkboxes

The issue should be in lessonCard.pug. On the class listing page https://communitytaught.org/class/all and on the dashboard, clicking on the 'watched' labels does not cause their corresponding checkboxes to become checked.

please assign me this issue :)

Done! :)

ok. So it means, when we check the "watched" checkbox, the "checked in" checkbox should be checked as well?

Not quite. When you click on the text associated with a checkbox, it should cause the checkbox to check/uncheck, like if you clicked on the checkbox itself. The 'checked in' label works correctly, but the 'watched' one doesn't.
Here's a video showing the issue:
https://github.com/labrocadabro/communitytaught/assets/5794319/1d55e2cd-5993-4d2e-ad0a-5873f9d7ff89

ok, i got it. thank you, laura


Output result to Slack

Is it possible to get the output from the audit and forward it to e.g Slack?

Hi there, apologies for the late response!
I don't have much experience with Slack and its API so it might be best to use an existing action for that, there seem to be quite a few:

https://github.com/marketplace/actions/slack-bot-action
https://github.com/marketplace/actions/post-slack-message
https://github.com/marketplace/actions/github-action-for-slack
https://github.com/marketplace?utf8=✓&type=actions&query=slack

...and then set the message using steps.<step id>.outputs according to the docs here. I have no idea if this would actually work but I can play around with this when I get a chance in the next few days.
Thanks for your patience!

Ok, thanks! Is steps.<step id>.outputs the complete message that is printed in stdout?

@dgattey @marcuslindblom Started working on it. Seems like Github Actions is smart enough to look into the docker output :) #19

@BrunnerLivio I can't get the example to work. Do I need an updated version of the action?

Oh, I can see in the PR that you made some changes. My bad


Update Service provider to expose the generic variable for accessing …

…the configuration

Hey @sauron , we have a problem with the view()->share(), adding it this way to the ServiceProvider makes it boot the whole Capsule and access the database every time we run the application, even if we are not using it. So I'm moving it to Helpers::viewShare() and adding some instructions to README.md.

That's perfect! Good catch!
Thank you.


Add Netlify and Browserstack logos to About page in Angular webapp

To ensure that we can continue to access the open source plans offered by Netlify and Browserstack, we should display their relevant logo badges and links.
After discussions with @d0choa, it was decided the best place for the logo badges and links is a technology-focussed section on the About page.
As such, can we please update the About page HTML code and do the following:

[ ] Include a page section and heading labelled Our technology stack with a corresponding link in the right-hand navigation menu

[ ] Under the section heading, show: The Open Targets Platform is powered by:

[ ] Underneath the text, show:

Netlify's Colour Background Badge

Browserstack's logo and link - please use the Browserstack logo used in the platform-app README.md file and link to Browserstack's main page at https://www.browserstack.com/

Thanks @LucaFumis! 👍


ZeroDivisionError when running xpedite record

hello,
I was trying out the Life App after setting up Xpedite. However , I get the following error when I run xpedite record
xpedite record -p profileInfo.py
[ERROR]: Detected mismatch in estimated TSC<PHONE_NUMBER>) vs raw frequency (0)
press RETURN key to, end live profile and generate report ...
scanning for samples files matching - /dev/shm/xpedite-Life-1548999708-*.data
loading counters for thread 19252 from file /dev/shm/xpedite-Life-1548999708-19252-00007ff2200a17c0.data -> 400 records | 100 txns loaded in 0.02 sec.
[ERROR]: failed to generate report
Traceback (most recent call last):
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/profiler/reportgenerator.py", line 115, in generateReport
histograms = self.generateHistograms(repo, classifier, app.runId)
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/profiler/reportgenerator.py", line 56, in generateHistograms
elapsedTimeBundles = self.analytics.buildElapsedTimeBundles(txnCollections, classifier)
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/analytics/init.py", line 48, in buildElapsedTimeBundles
lambda txnsc=txnSubCollection, txnCollection=txnCollection: TxnAggregator.groupElapsedTime(
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/util/init.py", line 38, in timeAction
retVal = delegate()
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/analytics/init.py", line 49, in
txnsc, txnCollection.cpuInfo, classifier=classifier
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/analytics/aggregator.py", line 142, in groupElapsedTime
time = cpuInfo.convertCyclesToTime(txn.getElapsedTsc())
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/types/init.py", line 101, in convertCyclesToTime
return cycles / self.cyclesPerUsec
ZeroDivisionError: float division by zero
[ERROR]: failed to generate report
Traceback (most recent call last):
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/profiler/runtime.py", line 275, in report
self.app, repo, classifier, resultOrder, reportThreshold, txnFilter, benchmarkPaths
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/profiler/reportgenerator.py", line 124, in generateReport
raise ex
ZeroDivisionError: float division by zeroTraceback (most recent call last):
File "/home/ravi.s/mylabs/Xpedite/scripts/bin/xpedite", line 248, in
app.run()
File "/home/ravi.s/mylabs/Xpedite/install/runtime/lib/python2.7/site-packages/cement/core/foundation.py", line 797, in run
return_val = self.controller._dispatch()
File "/home/ravi.s/mylabs/Xpedite/install/runtime/lib/python2.7/site-packages/cement/ext/ext_argparse.py", line 901, in _dispatch
return func()
File "/home/ravi.s/mylabs/Xpedite/scripts/bin/xpedite", line 89, in record
verbose=self.app.pargs.verbose
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/profiler/init.py", line 161, in record
duration=duration, cprofile=cprofile
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/profiler/init.py", line 125, in profile
, classifier=classifier, resultOrder=profileInfo.resultOrder, txnFilter=profileInfo.txnFilter)
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/profiler/runtime.py", line 279, in report
raise ex
ZeroDivisionError: float division by zero
Also, when we call xpedite list, we get the following error:
xpedite list
Traceback (most recent call last):
File "/home/ravi.s/mylabs/Xpedite/scripts/bin/xpedite", line 248, in
app.run()
File "/home/ravi.s/mylabs/Xpedite/install/runtime/lib/python2.7/site-packages/cement/core/foundation.py", line 797, in run
return_val = self.controller._dispatch()
File "/home/ravi.s/mylabs/Xpedite/install/runtime/lib/python2.7/site-packages/cement/ext/ext_argparse.py", line 901, in _dispatch
return func()
File "/home/ravi.s/mylabs/Xpedite/scripts/bin/xpedite", line 192, in list
eventsDb = _loadPerfEventsDb()
File "/home/ravi.s/mylabs/Xpedite/scripts/bin/xpedite", line 43, in _loadPerfEventsDb
return loadEventsDb(getCpuId())
File "/home/ravi.s/mylabs/Xpedite/scripts/lib/xpedite/pmu/eventsDb.py", line 138, in loadEventsDb
'to add support for this architecture'.format(cpuId)
Exception: failed to locate events database file for cpu GenuineIntel-6-0C. please consult xpedite devs to add support for this architecture

Thanks for reporting the issue.
It appears you are running Xpedite in a cpu model, that's missing in the PMU events database. Xpedite sources PMU events from Intel's opensource site , which has events for all cpu generations. However the model "GenuineIntel-6-0C", is not found in this website.
Can you share more details about the machine, where the test runs ? Is it a physical or a virtual machine. The performance counters may not be exposed by the underlying virtual machine runtime.
The ZeroDivisionError, happens due to failure to get advertised Cpu frequency. We have plans to improve this code, to make it more accurate. As a quick workaround, I can make a quick fix to fall back to estimated TSC, in case the advertised frequency is not available.

Thanks Mani for looking taking up this issue.
The test run was done on a physical machine.
Following are some other processor details:
Architecture:          x86_64
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 44
Model name:            Westmere E56xx/L56xx/X56xx (Nehalem-C)


Feature/pending application reviewapplication style button

Description
style improvement on Review application buttons in "pending application"
Video Link
https://www.loom.com/share/9ef8013462f841a3bb2fc7ad54a4353c
Type of change

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have removed unnecessary comments/console logs from my code
[x] My changes generate no new warnings
[x] I have checked my code and corrected any misspellings
[x] No duplicate code left within changed files
[x] Size of pull request kept to a minimum
[x] Pull request description clearly describes changes made & motivations for said changes

It looks good to me. Well done!


validation from json files

This is a feature request, it would be great if we can apply validation from json files like this:
{
  "name": "question",
  "columns": {
    "title": {
      "not_blank": true,
      "min": "5",
      "max": "50"
    },
    "text": {
      "not_blank": true,
      "min": "5",
      "max": "5000"
    }
  }
}

and json is the regular javascript object, which means you can implement this configuration to be used from regular javascript object..


Switched to using a consistent key format for citations

Description
This pull request changes the bibliography file (refs.bib) to use the BibTeX output of our shared Zotero reference library (found here). The links have been updated to match this new system of tags.
In future, whenever items are added to the bibliography they should be added to the shared Zotero library and the refs.bib file should be redownloaded and used to replace the previous refs.bib file.
Type of change

[ ] New feature (non-breaking change which adds functionality)
[ ] Optimization (back-end change that speeds up the code)
[x] Bug fix (non-breaking change which fixes an issue)

Key checklist

[x] Make sure you've run the pre-commit checks: $ pre-commit run -a
[x] All tests pass: $ poetry run pytest

Further checks

[x] Code is commented, particularly in hard-to-understand areas
[x] Tests added that prove fix is effective or that feature works

Yeah I can't find any setting that allows us to configure the format of the keys that Zotero spits out, so I guess we are stuck with them

Yeah I can't find any setting that allows us to configure the format of the keys that Zotero spits out, so I guess we are stuck with them

It is unusual but I think it might become handy in case we have several papers published in the same year by one author, the a b format always causes a bit of a mess. This way we can avoid this (assuming they start their papers with different words ;-) )


NativeYoutube v2 issues.

Video playback only works for live stream content
Audio works for everything including DRM-content
Custom WKView will be implemented. (in progress)
or switch entire workflow to IINA.
IINA needs to be installed in order to play, AVKit is bad D: can't it play certain files... so it's disabled

Good news:

No need to install home-brew anymore
No need to instal mpv and it's millions of dependencies anymore
No need to install YouTube-dl anymore.

Bad news:

v2 is Unstable. kinda

Meh news:

Mubbii branch still exits.

Video buffering issue in IINA

Video playback works now natively!


怎么设置自定义模型

如果设置了相关链接，是哪里出了问题

看了看docker日志没把我愁死，query=fasdf&model=gpt3.5&ask_type=search&model_token=" "，第一个问题，没有使用配置的自定义模型名称（但是确实改了base url），第二个问题压根就没用设置的token，也就是除非你本地模型不做token验证才能用。

同样的问题，

开个Discord,一块研究研究

可以直接修改free_ask_internet.py文件，调用ollama等自定义的。再通过第三方，比如nextchat调用本项目的端口就可以。或者把这个项目的接口加入one-api，当作单独的search模型调用。

可以直接修改free_ask_internet.py文件，调用ollama等自定义的。再通过第三方，比如nextchat调用本项目的端口就可以。或者把这个项目的接口加入one-api，当作单独的search模型调用。

关键是one-api无法接入

可以直接修改free_ask_internet.py文件，调用ollama等自定义的。再通过第三方，比如nextchat调用本项目的端口就可以。或者把这个项目的接口加入one-api，当作单独的search模型调用。

关键是one-api无法接入

可以的

利用one-api自定义search模型

nextchat客户端选择search模型

用search模型回答

可以直接修改free_ask_internet.py文件，调用ollama等自定义的。再通过第三方，比如nextchat调用本项目的端口就可以。或者把这个项目的接口加入one-api，当作单独的search模型调用。

关键是one-api无法接入

可以的

利用one-api自定义search模型

> nextchat客户端选择search模型

用search模型回答

用oneapi接入时报错，直接在free_ask_internet_ui里调用正常
model='search' messages=[ChatMessage(role='user', content='霍尔')] temperature=0.5 top_p=1.0 max_length=None stream=True
2024-04-14T12:19:39.928153497Z INFO:     <IP_ADDRESS>:53486 - "POST /v1/chat/completions?path=v1&path=chat&path=completions HTTP/1.1" 200 OK
2024-04-14T12:19:42.246322601Z ERROR:    Exception in ASGI application
2024-04-14T12:19:42.246345855Z Traceback (most recent call last):
2024-04-14T12:19:42.246348700Z   File "/usr/local/lib/python3.9/site-packages/sse_starlette/sse.py", line 281, in __call__
2024-04-14T12:19:42.246350644Z     await wrap(partial(self.listen_for_disconnect, receive))
2024-04-14T12:19:42.246352237Z   File "/usr/local/lib/python3.9/site-packages/sse_starlette/sse.py", line 270, in wrap
2024-04-14T12:19:42.246353910Z     await func()
2024-04-14T12:19:42.246355764Z   File "/usr/local/lib/python3.9/site-packages/sse_starlette/sse.py", line 221, in listen_for_disconnect
2024-04-14T12:19:42.246357467Z     message = await receive()
2024-04-14T12:19:42.246359040Z   File "/usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 535, in receive
2024-04-14T12:19:42.246360563Z     await self.message_event.wait()
2024-04-14T12:19:42.246362025Z   File "/usr/local/lib/python3.9/asyncio/locks.py", line 226, in wait
2024-04-14T12:19:42.246384008Z     await fut
2024-04-14T12:19:42.246386052Z asyncio.exceptions.CancelledError: Cancelled by cancel scope 7fd034609e20
2024-04-14T12:19:42.246387675Z
2024-04-14T12:19:42.246389338Z During handling of the above exception, another exception occurred:
2024-04-14T12:19:42.246390851Z
2024-04-14T12:19:42.246392423Z   + Exception Group Traceback (most recent call last):
2024-04-14T12:19:42.246393876Z   |   File "/usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 407, in run_asgi
2024-04-14T12:19:42.246395479Z   |     result = await app(  # type: ignore[func-returns-value]
2024-04-14T12:19:42.246396932Z   |   File "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
2024-04-14T12:19:42.246398465Z   |     return await self.app(scope, receive, send)
2024-04-14T12:19:42.246399908Z   |   File "/usr/local/lib/python3.9/site-packages/fastapi/applications.py", line 1054, in __call__
2024-04-14T12:19:42.246401451Z   |     await super().__call__(scope, receive, send)
2024-04-14T12:19:42.246403034Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/applications.py", line 123, in __call__
2024-04-14T12:19:42.246404597Z   |     await self.middleware_stack(scope, receive, send)
2024-04-14T12:19:42.246406019Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 186, in __call__
2024-04-14T12:19:42.246407552Z   |     raise exc
2024-04-14T12:19:42.246408945Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 164, in __call__
2024-04-14T12:19:42.246410457Z   |     await self.app(scope, receive, _send)
2024-04-14T12:19:42.246411900Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/cors.py", line 85, in __call__
2024-04-14T12:19:42.246413483Z   |     await self.app(scope, receive, send)
2024-04-14T12:19:42.246415647Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 65, in __call__
2024-04-14T12:19:42.246417210Z   |     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2024-04-14T12:19:42.246418693Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
2024-04-14T12:19:42.246420236Z   |     raise exc
2024-04-14T12:19:42.246421689Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-04-14T12:19:42.246423642Z   |     await app(scope, receive, sender)
2024-04-14T12:19:42.246425175Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 756, in __call__
2024-04-14T12:19:42.246426688Z   |     await self.middleware_stack(scope, receive, send)
2024-04-14T12:19:42.246428341Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 776, in app
2024-04-14T12:19:42.246432679Z   |     await route.handle(scope, receive, send)
2024-04-14T12:19:42.246434272Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 297, in handle
2024-04-14T12:19:42.246435945Z   |     await self.app(scope, receive, send)
2024-04-14T12:19:42.246437589Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 77, in app
2024-04-14T12:19:42.246439092Z   |     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2024-04-14T12:19:42.246440555Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
2024-04-14T12:19:42.246442088Z   |     raise exc
2024-04-14T12:19:42.246443631Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-04-14T12:19:42.246454611Z   |     await app(scope, receive, sender)
2024-04-14T12:19:42.246456384Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 75, in app
2024-04-14T12:19:42.246457907Z   |     await response(scope, receive, send)
2024-04-14T12:19:42.246459340Z   |   File "/usr/local/lib/python3.9/site-packages/sse_starlette/sse.py", line 281, in __call__
2024-04-14T12:19:42.246460983Z   |     await wrap(partial(self.listen_for_disconnect, receive))
2024-04-14T12:19:42.246462426Z   |   File "/usr/local/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 678, in __aexit__
2024-04-14T12:19:42.246463979Z   |     raise BaseExceptionGroup(
2024-04-14T12:19:42.246465412Z   | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
2024-04-14T12:19:42.246466874Z   +-+---------------- 1 ----------------
2024-04-14T12:19:42.246468317Z     | Traceback (most recent call last):
2024-04-14T12:19:42.246469760Z     |   File "/usr/local/lib/python3.9/site-packages/sse_starlette/sse.py", line 270, in wrap
2024-04-14T12:19:42.246471292Z     |     await func()
2024-04-14T12:19:42.246473086Z     |   File "/usr/local/lib/python3.9/site-packages/sse_starlette/sse.py", line 251, in stream_response
2024-04-14T12:19:42.246474639Z     |     async for data in self.body_iterator:
2024-04-14T12:19:42.246476162Z     |   File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 65, in iterate_in_threadpool
2024-04-14T12:19:42.246477724Z     |     yield await anyio.to_thread.run_sync(_next, as_iterator)
2024-04-14T12:19:42.246479187Z     |   File "/usr/local/lib/python3.9/site-packages/anyio/to_thread.py", line 56, in run_sync
2024-04-14T12:19:42.246480720Z     |     return await get_async_backend().run_sync_in_worker_thread(
2024-04-14T12:19:42.246482293Z     |   File "/usr/local/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
2024-04-14T12:19:42.246483836Z     |     return await future
2024-04-14T12:19:42.246486070Z     |   File "/usr/local/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 851, in run
2024-04-14T12:19:42.246492543Z     |     result = context.run(func, *args)
2024-04-14T12:19:42.246495790Z     |   File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 54, in _next
2024-04-14T12:19:42.246499246Z     |     return next(iterator)
2024-04-14T12:19:42.246502452Z     |   File "/app/server.py", line 152, in predict
2024-04-14T12:19:42.246505558Z     |     for token in free_ask_internet.ask_internet(query=query):
2024-04-14T12:19:42.246508594Z     |   File "/app/free_ask_internet.py", line 204, in ask_internet
2024-04-14T12:19:42.246511669Z     |     prompt = gen_prompt(query,content_list,context_length_limit=6000,debug=debug)
2024-04-14T12:19:42.246514785Z     |   File "/app/free_ask_internet.py", line 108, in gen_prompt
2024-04-14T12:19:42.246517741Z     |     ref_content = [ item.get("content") for item in content_list]
2024-04-14T12:19:42.246534422Z     |   File "/app/free_ask_internet.py", line 108, in <listcomp>
2024-04-14T12:19:42.246538580Z     |     ref_content = [ item.get("content") for item in content_list]
2024-04-14T12:19:42.246540643Z     | AttributeError: 'list' object has no attribute 'get'
2024-04-14T12:19:42.246542277Z     +------------------------------------

怎么设置页面都不一样😂

可以直接修改free_ask_internet.py文件，调用ollama等自定义的。再通过第三方，比如nextchat调用本项目的端口就可以。或者把这个项目的接口加入one-api，当作单独的search模型调用。

关键是one-api无法接入

可以的

利用one-api自定义search模型

> nextchat客户端选择search模型
![利用search回答](https://private-user-images.githubusercontent.com/57277605/322271897-212919d1-9f87-415f-8eeb-90fd25b3872c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTMwOTc0MDMsIm5iZiI6MTcxMzA5NzEwMywicGF0aCI6Ii81NzI3NzYwNS8zMjIyNzE4OTctMjEyOTE5ZDEtOWY4Ny00MTVmLThlZWItOTBmZDI1YjM4NzJjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDE0VDEyMTgyM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTI1Mzc5M2IxZGNjYjFkN2Y3MzMxNWI2ZTYxNjcyMzU1NDJlOGMxMWFlMTVjYjFkNTllMzEyNDk3MjNkYTEzYzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.j7R84RcTcOIIHUic3ciqg6M6zMd12QdZ_QRpSZ4kn2c)
> 用search模型回答

用oneapi接入时报错，直接在free_ask_internet_ui里调用正常
model='search' messages=[ChatMessage(role='user', content='霍尔')] temperature=0.5 top_p=1.0 max_length=None stream=True
2024-04-14T12:19:39.928153497Z INFO:     <IP_ADDRESS>:53486 - "POST /v1/chat/completions?path=v1&path=chat&path=completions HTTP/1.1" 200 OK
2024-04-14T12:19:42.246322601Z ERROR:    Exception in ASGI application
2024-04-14T12:19:42.246345855Z Traceback (most recent call last):
2024-04-14T12:19:42.246348700Z   File "/usr/local/lib/python3.9/site-packages/sse_starlette/sse.py", line 281, in __call__
2024-04-14T12:19:42.246350644Z     await wrap(partial(self.listen_for_disconnect, receive))
2024-04-14T12:19:42.246352237Z   File "/usr/local/lib/python3.9/site-packages/sse_starlette/sse.py", line 270, in wrap
2024-04-14T12:19:42.246353910Z     await func()
2024-04-14T12:19:42.246355764Z   File "/usr/local/lib/python3.9/site-packages/sse_starlette/sse.py", line 221, in listen_for_disconnect
2024-04-14T12:19:42.246357467Z     message = await receive()
2024-04-14T12:19:42.246359040Z   File "/usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 535, in receive
2024-04-14T12:19:42.246360563Z     await self.message_event.wait()
2024-04-14T12:19:42.246362025Z   File "/usr/local/lib/python3.9/asyncio/locks.py", line 226, in wait
2024-04-14T12:19:42.246384008Z     await fut
2024-04-14T12:19:42.246386052Z asyncio.exceptions.CancelledError: Cancelled by cancel scope 7fd034609e20
2024-04-14T12:19:42.246387675Z
2024-04-14T12:19:42.246389338Z During handling of the above exception, another exception occurred:
2024-04-14T12:19:42.246390851Z
2024-04-14T12:19:42.246392423Z   + Exception Group Traceback (most recent call last):
2024-04-14T12:19:42.246393876Z   |   File "/usr/local/lib/python3.9/site-packages/uvicorn/protocols/http/h11_impl.py", line 407, in run_asgi
2024-04-14T12:19:42.246395479Z   |     result = await app(  # type: ignore[func-returns-value]
2024-04-14T12:19:42.246396932Z   |   File "/usr/local/lib/python3.9/site-packages/uvicorn/middleware/proxy_headers.py", line 69, in __call__
2024-04-14T12:19:42.246398465Z   |     return await self.app(scope, receive, send)
2024-04-14T12:19:42.246399908Z   |   File "/usr/local/lib/python3.9/site-packages/fastapi/applications.py", line 1054, in __call__
2024-04-14T12:19:42.246401451Z   |     await super().__call__(scope, receive, send)
2024-04-14T12:19:42.246403034Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/applications.py", line 123, in __call__
2024-04-14T12:19:42.246404597Z   |     await self.middleware_stack(scope, receive, send)
2024-04-14T12:19:42.246406019Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 186, in __call__
2024-04-14T12:19:42.246407552Z   |     raise exc
2024-04-14T12:19:42.246408945Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/errors.py", line 164, in __call__
2024-04-14T12:19:42.246410457Z   |     await self.app(scope, receive, _send)
2024-04-14T12:19:42.246411900Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/cors.py", line 85, in __call__
2024-04-14T12:19:42.246413483Z   |     await self.app(scope, receive, send)
2024-04-14T12:19:42.246415647Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/middleware/exceptions.py", line 65, in __call__
2024-04-14T12:19:42.246417210Z   |     await wrap_app_handling_exceptions(self.app, conn)(scope, receive, send)
2024-04-14T12:19:42.246418693Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
2024-04-14T12:19:42.246420236Z   |     raise exc
2024-04-14T12:19:42.246421689Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-04-14T12:19:42.246423642Z   |     await app(scope, receive, sender)
2024-04-14T12:19:42.246425175Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 756, in __call__
2024-04-14T12:19:42.246426688Z   |     await self.middleware_stack(scope, receive, send)
2024-04-14T12:19:42.246428341Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 776, in app
2024-04-14T12:19:42.246432679Z   |     await route.handle(scope, receive, send)
2024-04-14T12:19:42.246434272Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 297, in handle
2024-04-14T12:19:42.246435945Z   |     await self.app(scope, receive, send)
2024-04-14T12:19:42.246437589Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 77, in app
2024-04-14T12:19:42.246439092Z   |     await wrap_app_handling_exceptions(app, request)(scope, receive, send)
2024-04-14T12:19:42.246440555Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/_exception_handler.py", line 64, in wrapped_app
2024-04-14T12:19:42.246442088Z   |     raise exc
2024-04-14T12:19:42.246443631Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/_exception_handler.py", line 53, in wrapped_app
2024-04-14T12:19:42.246454611Z   |     await app(scope, receive, sender)
2024-04-14T12:19:42.246456384Z   |   File "/usr/local/lib/python3.9/site-packages/starlette/routing.py", line 75, in app
2024-04-14T12:19:42.246457907Z   |     await response(scope, receive, send)
2024-04-14T12:19:42.246459340Z   |   File "/usr/local/lib/python3.9/site-packages/sse_starlette/sse.py", line 281, in __call__
2024-04-14T12:19:42.246460983Z   |     await wrap(partial(self.listen_for_disconnect, receive))
2024-04-14T12:19:42.246462426Z   |   File "/usr/local/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 678, in __aexit__
2024-04-14T12:19:42.246463979Z   |     raise BaseExceptionGroup(
2024-04-14T12:19:42.246465412Z   | exceptiongroup.ExceptionGroup: unhandled errors in a TaskGroup (1 sub-exception)
2024-04-14T12:19:42.246466874Z   +-+---------------- 1 ----------------
2024-04-14T12:19:42.246468317Z     | Traceback (most recent call last):
2024-04-14T12:19:42.246469760Z     |   File "/usr/local/lib/python3.9/site-packages/sse_starlette/sse.py", line 270, in wrap
2024-04-14T12:19:42.246471292Z     |     await func()
2024-04-14T12:19:42.246473086Z     |   File "/usr/local/lib/python3.9/site-packages/sse_starlette/sse.py", line 251, in stream_response
2024-04-14T12:19:42.246474639Z     |     async for data in self.body_iterator:
2024-04-14T12:19:42.246476162Z     |   File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 65, in iterate_in_threadpool
2024-04-14T12:19:42.246477724Z     |     yield await anyio.to_thread.run_sync(_next, as_iterator)
2024-04-14T12:19:42.246479187Z     |   File "/usr/local/lib/python3.9/site-packages/anyio/to_thread.py", line 56, in run_sync
2024-04-14T12:19:42.246480720Z     |     return await get_async_backend().run_sync_in_worker_thread(
2024-04-14T12:19:42.246482293Z     |   File "/usr/local/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
2024-04-14T12:19:42.246483836Z     |     return await future
2024-04-14T12:19:42.246486070Z     |   File "/usr/local/lib/python3.9/site-packages/anyio/_backends/_asyncio.py", line 851, in run
2024-04-14T12:19:42.246492543Z     |     result = context.run(func, *args)
2024-04-14T12:19:42.246495790Z     |   File "/usr/local/lib/python3.9/site-packages/starlette/concurrency.py", line 54, in _next
2024-04-14T12:19:42.246499246Z     |     return next(iterator)
2024-04-14T12:19:42.246502452Z     |   File "/app/server.py", line 152, in predict
2024-04-14T12:19:42.246505558Z     |     for token in free_ask_internet.ask_internet(query=query):
2024-04-14T12:19:42.246508594Z     |   File "/app/free_ask_internet.py", line 204, in ask_internet
2024-04-14T12:19:42.246511669Z     |     prompt = gen_prompt(query,content_list,context_length_limit=6000,debug=debug)
2024-04-14T12:19:42.246514785Z     |   File "/app/free_ask_internet.py", line 108, in gen_prompt
2024-04-14T12:19:42.246517741Z     |     ref_content = [ item.get("content") for item in content_list]
2024-04-14T12:19:42.246534422Z     |   File "/app/free_ask_internet.py", line 108, in <listcomp>
2024-04-14T12:19:42.246538580Z     |     ref_content = [ item.get("content") for item in content_list]
2024-04-14T12:19:42.246540643Z     | AttributeError: 'list' object has no attribute 'get'
2024-04-14T12:19:42.246542277Z     +------------------------------------

free_ask_internet.py文件中的 219行，改content_list = search_web_ref(query,debug=debug)为conv_links, content_list = search_web_ref(query,debug=debug)。直接用python server.py在本地试。searxng模型，还有其他gpt或者glm模型用本地已经搭建好的，也就是38行和172行要改成本地的

怎么设置页面都不一样😂

我没有用freeaskinternet ui这个，我是把本项目当api调用的。

我知道问题出在哪里了，问了作者，他的接口不是标准的openai-api，需要你的one-api接口地址后面加个/v1/

我知道问题出在哪里了，问了作者，他的接口不是标准的openai-api，需要你的one-api接口地址后面加个/v1/

一针见血的，有用的👍


bevy_reflect: Add ReflectFromReflect (v2)

Objective
Resolves #4597 (based on the work from #6056 and a refresh of #4147)
When using reflection, we may often end up in a scenario where we have a Dynamic representing a certain type. Unfortunately, we can't just call MyType::from_reflect as we do not have knowledge of the concrete type (MyType) at runtime.
Such scenarios happen when we call Reflect::clone_value, use the reflection deserializers, or create the Dynamic type ourselves.
Solution
Add a ReflectFromReflect type data struct.
This struct allows us to easily convert Dynamic representations of our types into their respective concrete instances.
#[derive(Reflect, FromReflect)]
#[reflect(FromReflect)] // <- Register `ReflectFromReflect`
struct MyStruct(String);

let type_id = TypeId::of::<MyStruct>();

// Register our type
let mut registry = TypeRegistry::default();
registry.register::<MyStruct>();

// Create a concrete instance
let my_struct = MyStruct("Hello world".to_string());

// `Reflect::clone_value` will generate a `DynamicTupleStruct` for tuple struct types
let dynamic_value: Box<dyn Reflect> = my_struct.clone_value();
assert!(!dynamic_value.is::<MyStruct>());

// Get the `ReflectFromReflect` type data from the registry
let rfr: &ReflectFromReflect = registry
  .get_type_data::<ReflectFromReflect>(type_id)
  .unwrap();

// Call `FromReflect::from_reflect` on our Dynamic value
let concrete_value: Box<dyn Reflect> = rfr.from_reflect(&dynamic_value);
assert!(concrete_value.is::<MyStruct>());

Why this PR?
Why now?
The three main reasons I closed #4147 were that:

Registering ReflectFromReflect is clunky (deriving FromReflect and registering ReflectFromReflect)
The ecosystem and Bevy itself didn't seem to pay much attention to deriving FromReflect
I didn't see a lot of desire from the community for such a feature

However, as time has passed it seems 2 and 3 are not really true anymore. Bevy is internally adding lots more FromReflect derives, which should make this feature all the more useful. Additionally, I have seen a growing number of people look for something like ReflectFromReflect.
I think 3 is still an issue, but not a horrible one. Plus it could be made much, much better using #6056. And I think splitting this feature out of #6056 could lead to #6056 being adopted sooner (or at least make the need more clear to users).
Why not just re-open #4147?
The main reason is so that this PR can garner more attention than simply re-opening the old one. This helps bring fresh eyes to the PR for potentially more perspectives/reviews.

Changelog

Added ReflectFromReflect

I like the idea but can't say I'm a fan of this name, "ReflectFromReflect" doesn't seem very intuitive to me. Maybe ConvertFromReflect, CastFromReflect, ValueFromReflect, TypeFromReflect?

I like the idea but can't say I'm a fan of this name, "ReflectFromReflect" doesn't seem very intuitive to me. Maybe ConvertFromReflect, CastFromReflect, ValueFromReflect, TypeFromReflect?

Yeah, I don't love the name. Unfortunately, there's not much we can do about this as the #[reflect(FromReflect, Default, ...)] attribute automatically prepends each identifier with Reflect (e.g. ReflectFromReflect, ReflectDefault, etc.).
It'd be great if there was a way to get the types directly from the trait (e.g. <Default as GetTypeData>::type_data()), but I don't think that's possible as you can't implement a trait for a trait (and besides, not all type data are based on traits).
So I think it's best to just keep this as is for now. You could maybe argue that ReflectFromReflect works fine since you're converting from one dyn Reflect to another haha.


merge package from arlac77/npm-package-template

package.json

chore(package<EMAIL_ADDRESS>chore(scripts): cover@#overwrite c8 --temp-directory build/coverage ava && c8 report -r lcov --temp-directory build/coverage
chore(package): add nyc from template
chore(package): set $.ava.require='esm' as in template
chore(package): set $.ava.files='tests/-test.js,tests/-test.mjs' as in template
chore(package): set $.ava.extensions='js,mjs' as in template

Codecov Report

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

@@           Coverage Diff           @@
##           master     #344   +/-   ##
=======================================
  Coverage   85.04%   85.04%
=======================================
  Files           1        1
  Lines         214      214
=======================================
  Hits          182      182
  Misses         32       32

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 da6c54e...da563f4. Read the comment docs.

Coverage remained the same at 85.654% when pulling da563f4529046a2adf157f63cfbbc1c7ac151821 on template-sync-1 into da6c54e0942432fac71c41cff6cc39614f994c05 on master.

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


feat: update_context_versions_variables_outputs

:tada: This PR is included in version 1.1.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Examples don't compile

After finally managing to compile and install DSH (see #5) I cannot get examples to run. There are missing imports (Database.DSH.Backend, Database.HDBC.Types) but once these are sorted there are missing functions (disconnect) and instances (Database.DSH.Backend.Backend Connection). I managed to solve the former but not the latter.

Examples in DSH/examples are outdated. Please consider examples in .


DIFFBASE(#611): Serialize ArraySink according to "of" class

Plz comment on #619 (continued from this PR, but with diffbase=master)


Do not allow someone to add them self to a chat

Check on the back end before making a chat that the tutor is not adding themself to the chat. Currently I can add myself on the front end to my own chat when booking grooups


WMAgent creating jobs for invalid files

Andrew Lahiff reported today that jobs are created for invalid/non-existent files in the pileup sample.
The example was for this file:
/store/mc/TP2023SHCALGS/MinBias_TuneZ2star_14TeV-pythia6/GEN-SIM/DES23_62_V1-v1/20000/4EA851D4-776C-E411-9D45-842B2B186684.root
where we can see marked as invalid in DBS [1] and non-existent (probably deleted) in TMDB/PhEDEx [2].
We need to enforce WMAgent not to create jobs (both primary and secondary source) jobs for invalid files.
[1]
https://cmsweb.cern.ch/dbs/prod/global/DBSReader/files?logical_file_name=/store/mc/TP2023SHCALGS/MinBias_TuneZ2star_14TeV-pythia6/GEN-SIM/DES23_62_V1-v1/20000/4EA851D4-776C-E411-9D45-842B2B186684.root&detail=True
[2]
https://cmsweb.cern.ch/phedex/datasvc/xml/prod/data?file=/store/mc/TP2023SHCALGS/MinBias_TuneZ2star_14TeV-pythia6/GEN-SIM/DES23_62_V1-v1/20000/4EA851D4-776C-E411-9D45-842B2B186684.root

@ticoann , I'm cooking something and I'll ask you to take a look at it soon this evening

I drafted this fix amaltaro@9570df4d4d4d . Then when listing files it only returns a list of valid ones.

@yuyiguo, ccing Yuyi, I though by default dbs only returns valid files. (Is it only in dataset level). I wonder how we get invalid file at the first place.

DBS returns all files. you can use detail=1 to check the is_file_valid= 1 or 0 if you want to know if the file is valid or not.

Thanks Yuyi, so there is no api option to get only valid files? In that case, Alan, the patch looks good.
src/python/WMComponent/DBSUpload/DBSInterface.py doesn't have to be updated though. We need to remove that package.

Ok, I'll roll back my changes in DBSInterface then.
I still need to test it though and maybe also update some unit tests. Will try to do so tomorrow :-)


Oref1 autotune still reporting null/0 CSF

I updated my three rigs yesterday to the dev version. I looked at autotune reports for each of these rigs  this morning and am still seeing CSF as N/A. (I'm also confused to see that one of my rigs ("rig3")has different autotune results than the other two. Rig3 has been our primary rig and seems to offer truncated and slightly varying results. (This may be an entirely different issue, though important for folks who regularly use different rigs.) I looked at one of the closed issues reports (#484) and user ceben80 states the fix worked, but the attached photo shows CSF still at N/A. I am posting a picture of the three reports for our rigs as one pic so it is easier to compare.

Can you confirm what steps you did to update to dev? Did you npm global
install, etc?
On Thu, Jun 8, 2017 at 7:20 AM hilarykoch<EMAIL_ADDRESS>wrote:

I updated my three rigs yesterday to the dev version. I looked at autotune
reports for each of these rigs this morning and am still seeing CSF as N/A.
(I'm also confused to see that one of my rigs ("rig3")has different
autotune results than the other two. Rig3 has been our primary rig and
seems to offer truncated and slightly varying results. (This may be an
entirely different issue, though important for folks who regularly use
different rigs.) I looked at one of the closed issues reports (#484
https://github.com/openaps/oref0/pull/484) and user ceben80 states the
fix worked, but the attached photo shows CSF still at N/A. I am posting a
picture of the three reports for our rigs as one pic so it is easier to
compare.
[image: screen shot 2017-06-08 at 10 07 44 am]
https://user-images.githubusercontent.com/11912289/26933251-faf33ea6-4c33-11e7-8e73-5e4251efad4a.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/openaps/oref0/issues/492, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHH0hU4vPn-TkCHs8C7v-JvxCvNoyyBYks5sCAMdgaJpZM4N0JDB
.

--
Dana Lewis | http://OpenAPS.org | http://DIYPS.org http://diyps.org |
@DanaMLewis http://www.twitter.com/danamlewis |
http://www.linkedin.com/in/danalewis
"Doing something for someone else is more important than anything you would
do for yourself."

I copied the dev version and changed a few things (nothing with autotune) and saved it in my repo. I named it "myversion" (you can take a look at it if you like.)

Looked to see if I wanted to change anything in my preferences.

I actually checked autotune last night to see what it might look like and noticed the null csf - I thought perhaps that the new changes would take effect with the updated dev version only after midnight. But again, when I checked this morning, it had not.

Try doing 1b...install dependencies again? (phase 2, step 0)

@hilarykoch Why are you using your own branch?  Do you have custom code that's not in oref0 dev?  Or was that just a hold-over from when we didn't have everything you needed merged yet?  You might want to remove your oref0 directory and re-clone it from oref0 dev to make sure you've got all the fixes.

Scott- I was working with her yesterday to show her how she could do compares and pulls in Github.  Also, how to save your own branch in your own repo to save your preferences if you are doing multiple rigs' loops again.  She did a fresh pull of the dev branch yesterday as the basis of the branch/repo she pulled from.  It was an opportunity to practice/play with how GitHub compares/merges/pulls work.

Ah, perfect.  So in that case, you'll just need to confirm that your branch has the fix, and then if so, (and re-installing dependencies doesn't fix it) we can dig in further.  I usually use git log -p and then search for the change I want to make sure it's in my local copy (~/src/oref0).

Yup, fix is definitely there https://github.com/hilarykoch/oref0/blob/myversion/bin/oref0-autotune.sh#L228

I'm running on the bolus snooze update dev version and Autotune is running with no issues.

I deleted everything, installed dependencies and installed as before. CSF is still at null. The autotune report looks fine - CSF is the only thing that looks incorrect. I don't know what else to try. It isn't a problem for me as long as autotune works as it should - Dana actually caught it when she was helping me with something - otherwise I probably wouldn't have noticed at all. I can verify I had CSF with numbers before trying dev version. And I'm still unclear as user ceben80's picture shows N/A in the closed issue report, but indicates that the fix worked. (#484) Am I missing something?

@hilarykoch when you're back, let me know if this is still happening, and if it still happens with a more-recent-dev, too?

I haven't loaded a newer dev since posting this issue. But I can confirm that CSF always at n/a for us. And I'm fairly certain I've seen it when other have posted screenshots, but asking about different autotune questions. If I get a chance, I'll see if I can find an example for you. When we get home (next week) I would like to load the more recent dev and I can certainly report back then.

CSF is supposed to be N/A for the pump, because the pump doesn't report CSF. Would it make more sense if we reported pump ISF / CR as pump CSF?

Is this issue now resolved?  Are we good to close it?

Sorry. Just got home from our trip. Yes. I think so. Thank you!


Tui version

Hello. Is it possible to provide tui version as well?

Maybe in the future but for now, there is too much to do on GhostBSD that unless someone steps up to add the feature, it might take years before it gets implemented.


WFS sample is not working.

De xml parser returns:
System.Exception: 'A service exception occured: Unknown namespace [p_bz-cadastre]'
As a consequence I can not test the NTS port for WFS. I do not want to dig into this right now so created this issue to keep track of it.

Yeah, I also noticed this recently. Looks like the layers have changed in the WFS service that is used there. I'm looking into it ...


Missing attributes.txt file in firmware folders

The last time I used this library about two years ago, the gatt.xml only had 2 gatt characteristics for the the data transceiver service, and the slave stub sketch reflects that. The gatt.xml has since been updated to have 4 gatt characteristics, but with no attributes.txt file, it's impossible to know what the gatt handles are for these characteristics without reflashing the firmware.
The commit that removed them has the hash: e0f1dbeb849faaacd768aae68b6b3fdd5a7378ab
The commit adding the new characteristics is: ea3e9188f7eb26256ce5cfb8a5cc848eaaf8a796
Do you happen to have the attributes.txt file handy? Thanks.

The firmware doesn't need to be reflashed, but simply recompiled. This will generate all of the bgbuild.exe output files. The output from that GATT structure is attached here.
attributes.txt


Pull methodName Up refactoring no longer available since release 1.38.2

Issue Description
The "Pull methodName Up" refactoring is no longer available on methods.  This is one of the refactorings I use the most and have had to revert to 1.24.1 to use it.
Steps to Reproduce
Create an empty class that implements an empty interface.  Add a method to the class and Ctrl-. to get the refactorings list.  It should show "Pull methodName Up" but does not.
Expected Behavior
"Pull methodName Up" refactoring option should be available in the list.
Actual Behavior
Logs
OmniSharp log
Starting OmniSharp server at 4/11/2022, 9:14:31 PM
    Target: c:\code\allocate.co\allocate-web-api\allocate-web-api.sln
OmniSharp server started with .NET 6.0.100
.
Path: c:\Users\Jeremy.vscode\extensions\ms-dotnettools.csharp-1.24.2-win32-x64.omnisharp\1.38.2-net6.0\OmniSharp.dll
PID: 6864
    Starting OmniSharp on Windows 10.0.19043.0 (x64)

    Checking the 'DOTNET_ROOT' environment variable to find a .NET SDK

    Using the 'dotnet' on the PATH.

    DotNetPath set to dotnet

    Located 1 MSBuild instance(s)
        1: .NET Core SDK 6.0.100 17.0.0 - "C:\Program Files\dotnet\sdk\6.0.100\"

    Registered MSBuild instance: .NET Core SDK 6.0.100 17.0.0 - "C:\Program Files\dotnet\sdk\6.0.100\"

    Invoking Workspace Options Provider: OmniSharp.Roslyn.CSharp.Services.CSharpFormattingWorkspaceOptionsProvider, Order: 0

... loading lots of projects - snipped...
Received response for /quickinfo but could not find request.

C# log
Installing C# dependencies...
Platform: win32, x86_64
Downloading package 'OmniSharp for Windows (.NET 6 / x64)' (39624 KB).................... Done!
Validating download...
Integrity Check succeeded.
Installing package 'OmniSharp for Windows (.NET 6 / x64)'
Finished

Environment information
VSCode version: 1.66.1
C# Extension: 1.24.2
Dotnet Information
.NET SDK (reflecting any global.json):
 Version:   6.0.100
 Commit:    9e8b04bbff
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.19043
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\6.0.100\
Host (useful for support):
Version: 6.0.0
Commit:  4822e3c3aa
.NET SDKs installed:
5.0.301 [C:\Program Files\dotnet\sdk]
6.0.100 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 5.0.7 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 5.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 5.0.7 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Microsoft.WindowsDesktop.App 6.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET runtimes or SDKs:
https://aka.ms/dotnet-download

Visual Studio Code Extensions

Extension
Author
Version

bar
olback
0.2.0

Bookmarks
alefragnani
13.2.4

codestream
CodeStream
12.15.0

copilot
GitHub
1.12.5517

csharp
ms-dotnettools
1.24.2

csharpextensions
jchannon
1.3.1

csharpsortusings
jongrant
0.0.3

debugger-for-chrome
msjsdiag
4.13.0

docomment
k--kato
0.1.30

dotnet-core-commands
matijarmk
1.0.6

dotnet-core-essentials
KishoreIthadi
0.0.8

dotnet-test-explorer
formulahendry
0.7.7

gitlab-workflow
GitLab
3.42.0

gitlens
eamodio
12.0.5

jupyter
ms-toolsai
2022.3.1000901801

markdown-pdf
yzane
1.4.4

markdown-preview-enhanced
shd101wyy
0.6.2

msbuild-project-tools
tintoy
0.4.3

namespace
adrianwilczynski
1.1.2

npm-intellisense
christian-kohler
1.4.1

open-html-in-browser
peakchen90
2.1.9

powershell
ms-vscode
2021.12.0

python
ms-python
2022.4.1

remote-containers
ms-vscode-remote
0.231.5

remote-wsl
ms-vscode-remote
0.66.0

sort-lines
Tyriar
1.9.1

theme-cobalt2
wesbos
2.2.5

todo-tree
Gruntfuggly
0.0.215

vetur
octref
0.35.0

vscode-coverage-gutters
ryanluker
2.9.1

vscode-docker
ms-azuretools
1.21.0

vscode-duplicate
mrmlnc
1.2.1

vscode-eslint
dbaeumer
2.2.2

vscode-markdownlint
DavidAnson
0.47.0

vscode-npm-script
eg2
0.3.24

vscode-nuget-package-manager
jmrog
1.1.6

vscode-pylance
ms-python
2022.4.0

possibly related to https://github.com/OmniSharp/omnisharp-roslyn/pull/2343 or https://github.com/OmniSharp/omnisharp-roslyn/pull/2363

I don't know who wrote the comment that this provides no additional value, but they could not be more wrong.  if my class already implements an interface then extracting a new one does nothing for me.  Please restore this ASAP and remove that erroneous comment.

@tony-dwire-paradigm They don't care.  Honestly I wish they'd just admit it and close the issue already rather than keeping it open & ignored forever.

Testing with C# 1.24.1 and 1.24.0, I was unable to get this refactoring be offered with the following test file and the cursor at various places on the public void Run() line.
namespace TestConsole
{
    public interface IPerson
    {
    }

    public class Person : IPerson
    {
        public void Run()
        {
        }
    }
}

After looking at the Roslyn code for pull member up, I am unsure how this would have ever worked. The RefactoringProvider and CodeAction require a workspace service that has no default implementation and has not had an implementation in O#. To support this feature, we would need to expose the internal IPullMemberUpOptionsService from Roslyn through the ExternalAccess layer and provide an implementation on our end.
The open questions are what to return since we have no UI. Would a member go to a base class over an interface when both are specified? If there are multiple interfaces implemented by the class, would it go to the first specified? etc...

Thanks, I'll try rolling back too.  I might have had the version numbers wrong though?  filipw changed the title to say 1.38.2 on Apr 12, 2022

filipw changed the title to say 1.38.2

1.38.2 is the O# version used by C# ext 1.24.2 where you saw the issue.


wrong Firmware build date

Hi,
I opened an issue because in the GUI of Zigbee2MQTT is displayed the wrong firmeware build date: see
https://github.com/nurikk/z2m-frontend/issues/140
The developer answert, no, please check the firmware of the CC2530.

see: https://github.com/Koenkk/zigbee2mqtt/issues/5006


vs2019?

is this broken in vs2019? i don't see the 'install new npm packages...' menu in the solution explorer any more.

@Spongman It should still work in VS 2019.  If you confirm that you've installed the Node Tools workflow and you're still not seeing the option, I'd suggest running Repair on your VS installation.

Hi,
I was playing around with this new VS 2019 to see if it fits me more than VS Code. But I just can't get it working as it should be.

How to make editorconfig & tslint working? The .editorconfig and tslint.json is working fine in VS Code, but it is seems VS 2019 didn't pick up these settings. And how to make it auto format on save based on editorconfig and tslint?

Debuging new TypeScript project using template is working fine, but how about existing project? I tried to create new project using From Existing Node.js code (typescript version), set an ts file as start up file, then i tried to launch debugging (F5), it always show error saying that Failed to launch debug adapter... Attribute 'program' does not exist... ...\project\src\app.js (shouldn't it pointed to app.ts instead?). Is there any additional configuration must be set up?

I had plenty console.log logging, and some pino logging (using console) where i can see the logging output?

NTVS Version: 1.5.10301.2
Visual Studio Version: Visual Studio 2019 Community Edition (16.0.0)
Node.js Version: 10.15.1

To answer my own question:

It is seems the .editorconfig is picked up automatically by VS and the formatting must be triggered manually (format document). Luckily, there is an extension to trigger format on save. I still cannot get tslint.json working though.

This because I set outDir in my tsconfig.json, the startup file must point to compiled js file, not the ts file, in my case it was dist\src\main.js. Still, i cannot get the hot reload working, any advice? My tsconfig.json is:

{
  "compileOnSave": true,
  "compilerOptions": {
    "module": "commonjs",
    "declaration": true,
    "removeComments": true,
    "emitDecoratorMetadata": true,
    "experimentalDecorators": true,
    "target": "es6",
    "sourceMap": true,
    "outDir": "./dist",
    "baseUrl": "./"
  },
  "exclude": [ "node_modules", "./dist" ]
}

It's appear in node window!


Update Cloud Storage documentation with bug fix

The original code does not compile. There is a missing call to the iterator() method to obtain an Iterator instance.

I signed it!

Changes Unknown when pulling 0bb943894b60da91ed5aa46ce344b1285df8f8ab on wallaceicy06:patch-1 into ** on GoogleCloudPlatform:master**.

This sample has been fixed in a different way in the meantime. Sorry your PR wasn't accepted earlier! I'm going to close this out now.


test: add ~ alias to fixture

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[ ] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
In working on https://github.com/unjs/nitro/pull/1532, I noticed we have an api route that uses an alias that doesn't exist.
📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

It is strange that ~ is not working... (will double check locally)

Alias exists
https://github.com/unjs/nitro/blob/1e134c1f05f5bd646ef209c929ccc5db2cf5c881/src/rollup/config.ts#L331
Creating testfixture/routes/index.ts:
export { default } from "~/routes/modules";

pnpm nitro dev test/fixture works! (but types are broken).

the issue is that we don't resolve aliases in writing types. I have resolved the issue in the type PR.


sample that shows how we can implement additional authorization requirements with an external authorization service

EDIT by @Rick-Anderson :
Fixes #27317

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.:x: seekdavidlee sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

@seekdavidlee please sign the Contributor License Agreement before we can accept your contribution.

@seekdavidlee

@seekdavidlee

This is completed.

@adityamandaleeka please assign a reviewer

@HaoK Can you please review this when you have some time?

@HaoK Can you please review this when you have some time?

Hi @HaoK @adityamandaleeka - Wanted to ping again to see if we have an update. Thanks!


Tables with linebreaks become inline

For example:
    local limits = {
        {
            inf = radRef + rad,
            mid = radRef + rad - radT,
            sup = radRef + 0.5 * rad,
        },
        {
            inf = radRef + 0.5 * rad,
            mid = radRef + radT,
            sup = radRef,
        },
    }

becomes
local limits = {{inf = radRef + rad, mid = radRef + rad - radT, sup = radRef + 0.5 * rad}, {inf = radRef + 0.5 * rad, mid = radRef + radT, sup = radRef}}

return {
    updateFn = updateFn,
    params = params
}

becomes
return {updateFn = updateFn, params = params}

This bug can be extended for similar case like:
    return group
        * pipe.map(pipe.map(fMake))
        * pipe.flatten()
        * pipe.flatten()
        * pipe.flatten()

become
return group * pipe.map(pipe.map(fMake)) * pipe.flatten() * pipe.flatten() * pipe.flatten()

or
        local upperPolys = pipe.new
            + junction.generatePolyArc(group1.upper.walls, "inf", "mid")(0, 0)
            + junction.generatePolyArc(group2.upper.walls, "mid", "sup")(0, 0)

becomes
local upperPolys = pipe.new + junction.generatePolyArc(group1.upper.walls, "inf", "mid")(0, 0) + junction.generatePolyArc(group2.upper.walls, "mid", "sup")(0, 0)

I think the table issue you were having was fixed a while ago, as I can't reproduce it. Can you verify with the latest version? In this case, the latest version of vscode-lua will suffice.
As for the pipe snippets, I think that is addressed in #15, or am I misreading that?


can you provide data FB.csv you used in stock market prediction

You can generate the file FB.csv for all the stock prices from 1990 to present time using the script fetch_stock_data.py. It requires as input 3 things:

params file: This file contains the information that you want to fetch via the stock prediction api like ps_ratio, dividend_yield, etc. An example for this file is in the input directory of the project source directory.
symbols file: This is a text file with the symbols that you want the output of seperated by newlines.
output dir: path to output directory. In this directory the files will be created and saved as symbol_1.csv,  symbol_2.csv, etc.


Spaces are cut in prompt and chat names on panels, Share, Publish; folders , e.g. "Prompt     1" is shown as "Prompt 1"

EPAM AI DIAL chat version
0.7.0
What happened?
Create a prompt with the name  Prompt       1  -> Note that on Prompt panel is looks like Prompt 1

Note: the same issue is for conversations and prompt/chat folders
Note: the same issue if to open Share pop-up, please check also Publish
Expected: spaces should not be cut on panels view
Confidential information

[X] I confirm that do not share any confidential information

@denys-kolomiitsev , @VolhaBazhkova  I fixed in sidebar, but we need to doube-check all places where chat/propmpt/folder/file names are displayed

Reported #1090

Verified on staging successfully


Recommended changes done and added 'remove' command

Type in --select flag before the LOCATION argument when using 'air search' command so that user doesn't need to go through the whole table.

@nsn39 Thank you for the contribution. Can you please go through the reviews, make the changes 🙂

@nsn39  I see you have added the remove command as well, if you read the issue #3 to properly address the removing of stations.
We need to store uid along with station_name as a Tuple for the search query key. So that we can show a list of stations to allow users to choose which station to delete.

Now, the stations are saved in a list of dicts with attributes 'name' and 'uid' to for name and uid. About the place where the AQI was exceeding expected cap is shown in the screenshot above. It was the only location I found where AQI was higher than 500.

@nsn39 application has been rewritten in Go. Closing this, thank you for the contribution. :slightly_smiling_face:


Fixed some issues and merged latest codes.

Coverage decreased (-0.007%) to 52.154% when pulling 3a621faba33667fbb95bfdaf20640f4b2dfe5315 on wknet123:harbor-clarity-integration into e829b04f1f50d0025cc11eab642bd699beab32a3 on vmware:harbor-clarity-integration.


(exp) Automate image creation workflow

The Windows 2022 ISO must be used and exported to a qcow2 format. Validation and automatic creation can be tested in the CI
Github Actions already exists, after creating the initial packer specification, it should be automatic tested and validated using a similar action
https://github.com/iamenr0s/packer-qemu-action

https://actuated.dev/blog/automate-packer-qemu-image-builds

/assign


:bug: fix cursorTickness is not defined

Thanks! :)

New version with this fix included should be up now :)


[tests] Less functional, more speed

This is a beginning for moving our tests off mostly-functional and into proper unit tests.
I will continue this work incrementally as per llvm commit guidelines.
It was an accident that our tests became mostly functional: it happened because that was where we had the most mature testing-infrastructure. But now our tests are so slow I get regular pings from swift-core that are not happy!
/cc @ddunbar

@swift-ci please test

/home/buildnode/jenkins/workspace/swift-package-manager-PR-Linux/swiftpm/Tests/LinuxMain.swift:27:14: error: use of unresolved identifier 'ModuleTests'
    testCase(ModuleTests.allTests),
             ^~~~~~~~~~~

:-/

@swift-ci please test


ERROR: Overflow in RID validator

Tested versions
This error occurred after I exported a 3D experiment using physics that runs without interaction (a simulation) for an extended period. The target platform was Linux Ubuntu 22.04, updated up to the date of this post. The following data was reported in the terminal:
Godot Engine v4.2.1.stable.mono.official.b09f793f5 - https://godotengine.org
Vulkan API 1.3.242 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1050 Ti

ERROR: Overflow in RID validator
   at: _allocate_rid (./core/templates/rid_owner.h:120)

================================================================
handle_crash: Program crashed with signal 4
Engine version: Godot Engine v4.2.1.stable.mono.official (b09f793f564a6c95dc76acc654b390e68441bd01)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /home/gilzamir/tmpbin/data_Emobit_linuxbsd_x86_64/libcoreclr.so(+0x4de1a7) [0x77d28b4de1a7] (??:0)
[2] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x77d2d5642520] (??:0)
[3] /home/gilzamir/tmpbin/Demo1.x86_64() [0xe5cb77] (??:0)
[4] /home/gilzamir/tmpbin/Demo1.x86_64() [0x26ca800] (??:0)
[5] /home/gilzamir/tmpbin/Demo1.x86_64() [0x20dd699] (??:0)
[6] [0x77d21274be93] (??:0)
-- END OF BACKTRACE --
===============================

System information
Godot Engine v4.2.1.stable.mono.official.b09f793f5 - https://godotengine.org Vulkan API 1.3.242 - Forward+ - Using Vulkan Device #0: NVIDIA - NVIDIA GeForce GTX 1050 Ti
Issue description
I performed a simulation by exporting it to Linux. I ran the simulation for approximately three hours when the error occurred and interrupted it. There is no user interaction in the simulation.
Steps to reproduce

Create a project using version 4.2.1 for .NET.
Create a 3D scene by adding a RigidBody object that moves randomly within a plane surrounded by walls. Model the walls using StaticBody3D, CollisionShape (Cube type), and a MeshInstance (Cube3D).
From a specific position of the RigidBody, continuously emit 62 x 3 rays.
Draw the rays using the following code (autoloaded):

using System.Collections.Generic;
using System.Diagnostics;
using Godot;

class Line
{
	public int id;
	public Color color;
	public float thickness;
	public Vector2 a;
	public Vector2 b;
	public float originSize;
	public Color originColor;
	public Line(int id, Vector2 a, Vector2 b, Color c, Color oc, float th, float originSize = 10)
	{
		this.id = id;
		this.a = a;
		this.b = b;
		this.color = c;
		this.originColor = oc;
		this.thickness = th;
		this.originSize = originSize;
	}
}

partial class LineDrawer: Node2D
{
	public List<Line> lines;
	public Camera3D Camera_Node;

	public override void _Ready()
	{
		Camera_Node = GetViewport().GetCamera3D();
		lines = new List<Line>();
		SetProcess(true);
	}

	public void Redraw()
	{
		QueueRedraw();
	}

    public override void _Draw()
	{
		foreach(Line line in lines)
		{
			if (line.originSize > 0)
			{
				DrawCircle(line.b, line.originSize*0.5f, line.originColor);
			}
			DrawLine(line.a, line.b, line.color, line.thickness);
			if (line.originSize > 0)
			{
				DrawCircle(line.a, line.originSize, line.originColor);
			}
		}
	}

	public void Draw_Line3D(int id, Vector3 vector_a, Vector3 vector_b, Color color, Color originColor, float thickness, float originSize)
	{
		foreach(Line line in lines)
		{
			if (line.id == id)
			{
				line.color = color;
				line.a = Camera_Node.UnprojectPosition(vector_a);
				line.b = Camera_Node.UnprojectPosition(vector_b);
				line.thickness = thickness;
				line.originColor = originColor;
				line.originSize = originSize;
				return;
			}
		}

		var new_line = new Line(id, new Vector2(), new Vector2(), color, originColor, thickness, originSize);
		new_line.id = id;
		new_line.color = color;
		new_line.a = Camera_Node.UnprojectPosition(vector_a);
		new_line.b = Camera_Node.UnprojectPosition(vector_b);
		new_line.thickness = thickness;
		lines.Add(new_line);
	}

	public void Remove_Line(int id)
	{
			int i = 0;
			bool found = false;
			Line removed = null;
			foreach(Line line in lines)
			{
				if (line.id == id)
				{
					found = true;
					removed = line;
					break;
				}
				i += 1;
			}
			if (found)
				lines.Remove(removed);
	}
}

Run the simulation during 3 or more hours.

Minimal reproduction project (MRP)
I already described it above.

This is done by design as reusing RIDs is not safe, unsure what is generating RIDs here though so that needs to be investigated
Please upload a project to make this easier to test

Thanks. My project is more than 250 MB. It's a lot of files. I will try to create a reduced version of the project that causes the same error. I don't know when, because my time is limited. But soon, I will return.

So looking at some of the rendering code this could be due to how the renderer allocates RIDs when drawing polygons, which also includes circles, but that still seems extreme in this case, but it depends on how your scene is set up
That is a larger problem that might not be easy to solve, however I'd say that even with that in normal usage this shouldn't be an issue, and that it sounds like you're doing something not quite right in your code
So the basic issue might be here that you draw a lot of circles all the time, you should probably update the rendering only when you need it, and in this case I'd suggest not using circles at all, if you need this specific case I'd suggest instead drawing a circle sprite for the ends, instead of a circle, this is going to be better performance wise anyway, alternatively you could use a mesh of a circle directly and draw it, that shouldn't allocate any data as far as I know, this would mean a lot better performance, and reduce the risk of this
So while there might be some issue underlying this and that the engine might handle its resources better, this sounds like it's not a bug as such, but unsupported usage, but that would depend on more details from your project, 3 hours is still not necessarily going to add a lot of data, though it depends entirely on how much data you have in your scene, but adding 63 x 3 lines (each with two circles) does mean a lot of stuff is drawn, so I'd suggest changing how you do things here, if nothing else because it sounds extremely inefficient :)

Indeed, that's exactly what you said. And the error originates precisely in the LineDrawer class. I reran my experiment without this class; it's a training using reinforcement learning. Notice that the cyan line represents the experiment running without the LineDrawer (which I used for debugging), while the dark line is the experiment that encountered the issue. Note that the experiment without LineDrawer continued beyond 600K, whereas the one with LineDrawer was the one that encountered the bug I posted here. The only difference between the two codes is the use of LineDrawer. I think this thread can be closed. Thank you very much for the interaction.


I can build Android direct from web code, not use gulp?

In tut build phonegap, gulp i don't understand put .css file where. I can copy web code to www folder and not using gulp, and build android direct. What error may be happy ?

If u copy all the files you need you should be fine.

Closing as solved, feel free to reopen if needed


Ninemangaen not working

Source information
Ninemangaen 1.4.19
Source language
English
Steps to reproduce

Go on Ninemangaen extension
Open a manga
Select any latest chapter

Expected behavior
It should load the chapter
Actual behavior
All pages are replaced by a single image uploaded below

Mihon/Tachiyomi version
0.16.5
Android version
Android 14
Other details
It has been like this for the past week

Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Update your extension


fix: Fix icon color in Edge

Jira
http://vjira2:8080/browse/WWWD-2624
http://vjira2:8080/browse/WWWD-2625
Summary
Fix incorrect icon color in Edge
How to test
Reproduce the bug

In Edge, go to pattern-lab/?p=components-headline-link-variations on the 2.x branch before this commit.  Confirm the icons are missing.

Confirm the fix

In Edge, go to pattern-lab/?p=components-headline-link-variations on this branch.  Confirm the icons are present.

@remydenton @sghoweri
I feel like we should be using straight up color: inherit here.

@remydenton
Actually, color: currentColor; is not valid.
This is valid:
color: blue;
border: 1px solid currentColor;

currentColor can't be used if color itself is not defined. When color: currentColor; doesn't work, it just defaults back to color: inherit.
Here's how we should fix this
Current Fix:
Remove color: currentColor; and only define CSS variable.
color: var(--bolt-theme-icon);

Deprecation Phase (find and replace all --bolt-theme-icon to --bolt-icon-color):
color: var(--bolt-icon-color, --bolt-theme-icon);

Final Method with Renamed Var:
color: var(--bolt-icon-color);

@remydenton check out Mike’s last comment 👆🏼 — that was what we came up with after picking this apart a little and testing to see what minimum amount of CSS was actually needed for this for.
Assuming there’s no hidden gotchas I’m good with approving this overwise.


GET and SET the accelerator device (cpu-gpu-tpu) more concise.

Environments:
TensorFlow: 2.7

Feature
Documents:

use gpu: https://www.tensorflow.org/guide/gpu
use tpu: https://www.tensorflow.org/guide/tpu

Can we make it more concise to automatically get and set the accelerator without dragging some kind of initialization code for the end-user, especially for tpu? Currently, for tpu, it needs to be as follows after import tf.
resolver = tf.distribute.cluster_resolver.TPUClusterResolver(tpu='')
tf.config.experimental_connect_to_cluster(resolver)
# This is the TPU initialization code that has to be at the beginning.
tf.tpu.experimental.initialize_tpu_system(resolver)
print("All devices: ", tf.config.list_logical_devices('TPU'))

Will it change the API? Yes.
But what if we have functions that do the job behind. Something like as follows:

import tensorflow as tf

tf.keras.utils.set_device(device='gpu',  mixed_precision=True, xla_accelerate=True)
or
tf.keras.utils.set_device(device='tpu',  mixed_precision=True, xla_accelerate=True)
or
tf.keras.utils.set_device(device='cpu',  mixed_precision=True, xla_accelerate=True)

Such as when mixed_precision and xla_accelerate is True, we'll have
# for mixed_preci
policy = tf.keras.mixed_precision.Policy('mixed_float16')
tf.keras.mixed_precision.experimental.set_policy(policy)

# for xla acc
tf.config.optimizer.set_jit(True)

Isn't it possible to have such a feature?


[stable/nginx-ingress] Added update strategy for controller daemonset and deployment

By default updateStrategy is OnDelete which needs manual deletion of all daemonsets for change to take affect. This also lets users determine what settings they want when using a deployment

/ok-to-test

It looks like #2455 also bumped the version to 0.8.10. @unguiculus I'll open up a follow-on PR that just bumps the version again


CommandManager implementation

So the command manager will have to manage the commands given in the UI by the player such as move character to point A. Moving a character will require to show the character's move range using a different color than the one used to render the map.  When the point as been selected, inside the move range of a character,moving a character will then change the character's position in the map.
When the player decides to make an action with a player, it will cost him/her action points that are defined by a character's job, those points will be reduced until they hit 0 and then the player will have no other choice but to end the character's turn.
While attacking and deffending, the equipment usage and weapon hit limit will be reduced in time too !