revalidatePath in payload config does not purge cached data

Link to reproduction
No response
Payload Version
3.0.0-beta.58
Node Version
v22.3.0
Next.js Version
15.0.0-rc.0
Describe the Bug
I am trying to use revalidatePath() function in the payload config file with a collection hook to purge the cache after an item in the collection is deleted.
// payload.config.ts
import { revalidatePath } from 'next/cache'

collections: [
 ...
hooks: {
    afterDelete: [
        async () => {
             revalidatePath('/')
	},
    ],
},

However, the path is not re-validated after the item is deleted.
@paulpopus tagging you here as we discussed.
Reproduction Steps
Call revalidatePath('/') in a collection hook, update/delete item in the collection but page is not re-validated. Must build first and then start the server to replicate the issue.
Adapters and Plugins
No response

This works for me, the revalidate functions from Next will not throw you any errors or success message if the revalidation itself succeeds or fails, it can only track the function itself.
My inclination is that the way you're caching your data is what's affecting revalidation here.
Have a look in our website template to see this working: https://github.com/payloadcms/payload/tree/beta/templates/website

@paulpopus I tried using the website template, you can follow these steps to reproduce this issue:

Create 4-5 sample posts
Create a page
In the content / Layout selection, add Archive
Select individual selection
Add the sample posts to it
run pnpm run build and pnpm run start
Visit the page and you should see the posts, now go to the dashboard and remove one of the posts
Visit the page again and removed items are still showing up

Yeah in that case you need to adjust your validation functions to revalidate the pages where this content is referenced. This isn't a payload issue.
You could set up your data cache to use tags instead in combination with unstable cache and that way your data should revalidate across the site fully.

@paulpopus Thanks! I discovered that something was acting up on my local machine. I deployed the changes to prod, and after deleting the record, the homepage was revalidated and updated with the recent changes. Thank you again for looking into the issue.


Fail creat shortcut icon in Desktop and in Start menu Windows 10 32 bit

When I setup atom 1.8.0, Windows 10 64bit created an shortcut but Windows 32bit didn't .

This is a duplicate of your previous Issue https://github.com/atom/atom/issues/11515. If this is still a problem, please reopen the original rather than creating a new Issue.


feat: auto-generate missing Tailwind CSS files

auto-generate missing Tailwind CSS files

Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[X] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC.
[X] This message body should clearly illustrate what problems it solves.
[ ] Ideally, include a test that fails without this PR but passes with it.

Tests

[X] Run the tests and other checks with pnpm ci

Changesets

[X] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features and fix bugs should all be patch before we release 0.1.0. Please prefix changeset messages with feat:, fix:, or chore:.

Edits

[X] Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.

Close #32

Thanks for PR! But hold first, I have some different ideas.


Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.

[x]  Dart SDK Version 2.2.0-dev.0.0
[x] AngularDart Version ^5.1.0
[x] build on macOS
[x] Browser Chrome and Safari

environment:
sdk: '>=2.1.0 <3.0.0'
dependencies:
angular: ^5.1.0
angular_router: ^2.0.0-alpha+20
ng_bootstrap: any
dev_dependencies:
angular_test: ^2.1.0
build_runner: ^1.1.2
build_test: ^0.10.3
build_web_compilers: ^0.4.4
test: ^1.5.1

when I use "webdev server" anything is ok.But the "webdev build -r" output files can't work fine after angular upgrade to v5.1. I got the error msg  like this:
EXCEPTION: Error: Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.
STACKTRACE:
TypeError: Failed to construct 'ResizeObserver': The callback provided as parameter 1 is not a function.

make the checkbox checked. :p

the project work fine when I remove all ResizeObserver function relative code.
resizeObserver = new ResizeObserver((List<ResizeObserverEntry> entries, ResizeObserver observer){
  canvas.width = reputationRootEl.clientWidth;
  //canvas.height = reputationRootEl.clientHeight;
  print("observer resize ...");
  draw();
});
resizeObserver.observe(reputationRootEl);

`

ResizeObserver is not part of AngularDart, so we aren't able to offer support here.


[Example] ggml: add multimodel example with CI

Hello, I am a code review bot on flows.network.
It could take a few minutes for me to analyze this PR. Relax, grab a cup of coffee and check back later. Thanks!

Let's use tinyllama + llava instead, to show that we can handle not only the chat model but also the image model.

Given that the performance of the tinyllama model is unsatisfactory, I will attempt to use the llava and llama2 models for this example.


3.0-preview7 validation

This issue will be used to collect all info related to the verification data for 3.0.0-Preview 7 release:
Build to use: daily build from https://github.com/dotnet/core-sdk#installers-and-binaries
If you plan to create any Azure resources specifically for the verification work, please create those in the 3.0-p7-validation resource group, in the ASP.NET Core Test subscription.
Make sure to create the issues in aspnet/AspNetCore repo and apply the proper area label and Validation label. Put the issue in 3.0.0-preview7 milestone.
The project to use to assign issues to:
After you create the issues, add them to the https://github.com/aspnet/AspNetCore/projects/4 project and unassign yourself from this issue.

 Will check back later in the week.

https://github.com/aspnet/AspNetCore/issues/11557

https://github.com/aspnet/AspNetCore/issues/11564

https://github.com/aspnet/AspNetCore/issues/11556, https://github.com/aspnet/AspNetCore/issues/11389, https://github.com/aspnet/AspNetCore/issues/11396, https://github.com/aspnet/AspNetCore/issues/11513
https://github.com/aspnet/AspNetCore/issues/11556

@ryanbrandenburg , @pranavkm , @javiercn , @dougbu , @rynowak , @SteveSandersonMS if you're done filing the issues, please unassign yourself from this issue.

https://github.com/aspnet/AspNetCore/issues/11586


Import errors

I am unable to use the following imported components,
import { Content, Page, Sidebar, SidebarItem } from '@mrblenny/react-flow-chart'
When I try to use the components, I get Error: Element type is invalid.
The following import also does not work.
import { Content, Page, Sidebar, SidebarItem } from './components'
The following import does work.
import { FlowChartWithState } from "@mrblenny/react-flow-chart";
I am trying to render DragAndDropSidebar https://github.com/MrBlenny/react-flow-chart/blob/master/stories/DragAndDropSidebar.tsx
Any help would be appreciated!

When you use npm install for this library it doesn't include the storybook demos. Notice how the imports that don't work are local to the storybook directory. You can download the project from github and add the storybook directory to your project to make this work.

Thanks, I got it!


SearchResponse Count is 0, although there are Items in the response

Reproduction steps

Create a credential and insert it into a wallet
From the WalletService call SearchAsync
The SearchResponse has a property named Count which is 0 even though the Items list has 1 item.
Items.Count is equal to 1

Could it be that the Count on the SearchResponse references a different count? In that case it is a bit ambigious IMHO.
Reproduction Code
No response

Could it be that the Count on the SearchResponse references a different count? In that case it is a bit ambigious IMHO.

It shouldn't reference something else, so it's not misleading, but that would be a bug. I'm conflicted on if I care about returning the count when you can just ask the List.Count or len(list) or [language of your choice here] to get the number of elements in the collection.

The intent for this field is to return the total number of elements in a query, as opposed to the current result set. The HashMore and ContinuationToken will have values, when the query has more elements then what it shown in the List.
This may not be possible using the current storage type. Let me investigate and get back on this.

Short term investigation says the .Count parameter isn't currently being populated. If you need to stream more results, check the .HasMore parameter. Otherwise, you can get the item count from the the .Items collection directly, as you described.

@Franklin89 the plan is to remove the .Count parameter, since the count of items returned is in the .Items collection. That being said, the backend will populate the .ContinuationToken and .HasMore properties if there are more items in the query than returned "over the wire".

.Count parameter removed as part of #598

@fundthmcalculus FYI
I just used the TemplateService to check if an issuer has a certain template. When using that service the response is a bit different compared to the other search responses. It also has the .Count parameter which is also set and then instead of an Items collection it just has an ItemsJson.

@fundthmcalculus FYI
I just used the TemplateService to check if an issuer has a certain template. When using that service the response is a bit different compared to the other search responses. It also has the .Count parameter which is also set and then instead of an Items collection it just has an ItemsJson.

Good catch, thanks! I'll update this endpoint to behave more like the other, which is more in line with what we would expect. Thanks! @tmarkovski do you agree?


Expand WebAssembly Test Coverage

Currently, our test suite includes only three WebAssembly-related tests, which cover a minimal portion of the WebAssembly standard. This limited coverage may not be sufficient to ensure compliance and robustness across the broader WebAssembly specification.
Would it be possible to integrate or leverage the official WebAssembly test suite, available at the following repository:
WebAssembly Specification - Test Suite [mirror]?
This suite could significantly enhance our test coverage and help validate our implementation against a more comprehensive set of scenarios.

We are already running all the baseline spec tests, passing all of them is a requirement for CI currently.
See https://github.com/LadybirdBrowser/ladybird/blob/master/Meta/CMake/wasm_spec_tests.cmake and https://ladybirdbrowser.github.io/libjs-website/wasm for results.


operators [CI] hive-operator

Sync with current team members.

[x] Did you create a ci.yaml file according to the update instructions?
[x] Is your submission signed?

what about me? do i get an entry in there?

/hold

what about me? do i get an entry in there?

sorry, fixed

/hold cancel

/merge possible


Create material for Beckn-ONIX masterclass

Description
Kathir wants the Beckn-ONIX part of the Beckn-ONIX master class presentation. Create it.

The document here has been filled with Beckn-ONIX details
https://docs.google.com/presentation/d/1da6_VoVr0C-NYJQLxiSzi9OX86p1tZSrkV5S5UnLPQo/edit#slide=id.g2893d3f2d33_0_38

Kathir has sent this to Ravi for review on Sep 12.

Its been 14 days. So closing this.


.NET Core support

Hello,
I'm writing for an issue related to .NET Core 5.0.1 and lastest PassCore version 4.2.4 hosted in Windows Server 2019 server.
I installed .NET Core 5.0.1 Windows Server Hosting bundle, as specified on PassCore project's page; however the website doesn't work and the error below appears on Event Viewer > Application log:
Source: IIS AspNetCore Module V2
Event ID: 1027
Could not find 'aspnetcorev2_inprocess.dll'. Exception message:
It was not possible to find any compatible framework version
The framework 'Microsoft.AspNetCore.App', version '3.1.0' was not found.
  - The following frameworks were found:
      5.0.1 at [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]

You can resolve the problem by installing the specified framework and/or SDK.

I tried to change the handler inside the web.config from AspNetCoreModuleV2 to AspNetCoreModule:
<handlers>
  <add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified" />
</handlers>

...but I get the 500 - Internal server error.
So my question is: is really supported the .NET Core 5.0.1 or should I install 3.1.0 version ?
Thank you,
Luca

Hey @lucafabbri365 the codebase was already mostly ready for .NET 5, so I finished updating what I needed & got that merged into source earlier today. If you did a git clone of the current master, you might be able to build it (step 3 on IIS install; I was doing a Linux install).

Hello @unquietwiki,
I'm going to clone it and build it. I'll give you feedback asap.
Thank you,
Luca

Hey @lucafabbri365 did the build work out for you?

Hello @unquietwiki,
the build worked fine: last PassCore is now running with .NET Core 5.0.1.
However with this latest version I'm experiencing change password issues for an AD standard user having "User must change password at next logon" selected (UseAutomaticContext set to true). Old version (currently in production) is working fine.
I have to investigate on the code.
Bye,
Luca


Add extension to HttpClient

Add support to get content of requests with 400 status from HttpClient and convert it to a notification list

Move to package https://github.com/andrebaltieri/Flunt.Extensions.AspNet


Monitor pod readiness and other health signals (restarts, etc.) during rolling update

Right now, rolling update is oblivious to damage it might do. We should at least automatically pause the rollout when there's an obvious problem.

I can take this up

@ironcladlou is adding support for "readiness" check in rolling update in https://github.com/GoogleCloudPlatform/kubernetes/pull/11942. It waits for the new pods to be ready before bringing the old ones down.
Right now, it just keeps waiting for the new ones to come up. We can expand that to detect an error and return that to the user: https://github.com/GoogleCloudPlatform/kubernetes/pull/11942/files#r36014233, incase new ones dont come up even after a long time.

We still need to surface this functionality through kubectl, AIUI.


Disable generating code coverage html

Why should it be disabled? ConnectionsBundle uses it.

Generating html in travis makes test process longer, but can't be viewed anywhere. That's why it should be disabled by default. If anybody needs it, they can copy phpunit.xml.dist -> phpunit.xml and uncomment generating html coverage line.
Also, i already fixed this issue, but forgot to close it, sorry, my bad :)

Code coverage is enabled in Travis using console command parameters. Code coverage is being uploaded and visible in Scrutinizer.
Parameters from phpunit.xml.dist is used only for local development and is included for the developer to conveniently comment / uncomment. Please, leave them intact.


compe: map_cr conflicts with automatic selection

When i enable auto-selection in nvim-compe <cr> completes the first item in the pum even if it isn't selected.
But enabling auto-selection makes autopairs completion unavailable.
Maybe this could be fixed by adding an auto-selection option in the setup?

Thanks! It works perfectly!

Just pointing out that in README.md on line 50 a comma is missing after the word true


paren_error_recovery

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[ ] N
[x] Y

2. What is the scope of this PR (e.g. component or file name):

3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[ ] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[x] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[ ] N
[x] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

6. Release note

Please refer to Release Notes Language Style Guide to write a quality release note.
None

recheck

I have read the CLA Document and I hereby sign the CLA

recheck

pls complete PR information：

add issue link
provide scope/description of this PR

At, kclvm folder, run make fmt to resolve the CI format check point

It might be better to change the name of this PR from 'paren_error_recovery' to 'feat(error_recovey): paren_error_recovery'.

When there are parentheses mismatched, the program will not just panic and exit. It will add close parentheses to make them matched.

Close this and reopen with #216


Get more unit tests working

Partially addresses https://github.com/IceCubeOpenSource/pisa/issues/586

@philippeller can you please run this code with your pipeline config(s) to make sure everything is still kosher with those after my changes?

Tested with DRAGON pipeline, works and reproduces results


OneRandom with GenderRequest

It would be nice to have an overload for generating a fødselsnumber with only gender request, as this is a scenario I often face in my test :)

Good idea, thank you! I will implement this as soon as time allows.

This is implemented now.

Thank you!
It works perfectly :)


New version: BioEnergeticFoodWebs v1.1.2

Registering package: BioEnergeticFoodWebs
Repository: https://github.com/PoisotLab/BioEnergeticFoodWebs.jl
Created by: @evadelmas
Version: v1.1.2
Commit: 1025bdc512ab4278b45a3a11c4c6a75533824287
Reviewed by: @evadelmas
Reference: https://github.com/PoisotLab/BioEnergeticFoodWebs.jl/commit/1025bdc512ab4278b45a3a11c4c6a75533824287#commitcomment-36642842

@evadelmas Can you please add the compat entries? You may find CompatHelper helpful.
[noblock]

@evadelmas Next time, please add the compat entries. You may find CompatHelper helpful.


Added remoteVideoTileMenuOptions in VideoGallery. Added showRemoteVideoTileMenu prop to CallCompositeOptions.

What

Added remoteVideoTileMenuOptions prop to replace prop showRemoteVideoTileContextualMenu in VideoGallery to allow developers using VideoGallery to define the remote video tile menu
Added showRemoteVideoTileMenu prop to CallCompositeOptions to allow developers using the CallComposite to not show remote video tile menu in the VideoGallery
Reflected these additions in API View revisions for ARB here: https://apiview.dev/Assemblies/Review/7276a0d82fce4755b833fc91def19dbc/8a35753f996445c28156396635624f28?diffRevisionId=80605558e3ea4faa8acc2db2edb2e3fa&doc=False&diffOnly=True

Why

https://skype.visualstudio.com/SPOOL/_workitems/edit/3091713
How Tested

Tested with locally on Calling sample
Process & policy checklist

[ ] I have updated the project documentation to reflect my changes if necessary.
[ ] I have read the CONTRIBUTING documentation.

Is this a breaking change?

[ ] This change causes current functionality to break.

Not this PR, but a bug in the 3 dots, they're below the existing participant name text:

And also seem either slightly bigger font or more bolded? (maybe because it's an ellipsis icon and not the font?)

If mobile is long press, does it still show the context menu?

If mobile is long press, does it still show the context menu?

Yes, you are right. My boolean logic was off. Fixed.


Update VTKm to v1.9.0. (#18384)

Merge from the 3.3RC to develop.
This was a fairly complex merge so it should be reviewed again. I think the main issues to review are associated with the build system since that differs the most from the 3.3RC.
I tested it by building on quartz and running the vtkm.py tests, which passed.

Just curious but do you know of a way on github to produce a diff of these changes on develop and the ones on 3.3RC? Probably not possible on GitHub but may be possible with a local clone.

I don't no of any direct way to do so. I just had 2 browser windows up with the differences for the 2 pull requests and compared them. Not very fancy, but I could see when I had the same changes on both.


Regorganzed confis & working on getting DBC demo to work

I was by no means finished with this ticket, but Bram requested a draft PR to take a look it it already to take a look at it.
I see there are things to address indeed. There should be no LAN IP addresses as those can be overridden with .env.local vars in local dev environments now.


Define evaluation metrics for model outputs

To chose among possible emulators for a digital twin, we have to decide which metrics are important.
For example:

model fit (rsme, r2)
time to run
computational resources needed

Closing this, as r2 and rsme are ok for now.


Omnisharp crashing / stops working and CodeLense does not display info

Still having issues with "latest" version:
CodeLense appears to not be working:

This is after having VSCode open untouched for like 1hour, so it should definitely have analyzed everything already.
It inserts the line where codelense would usually write the info, but there is no info being displayed
Originally posted by @RononDex in https://github.com/OmniSharp/omnisharp-roslyn/issues/1549#issuecomment-510427015

can you please provide the full OmniSharp log?

So far the issue did not occur anymore, will update this issue with logs once it happens again

So, after returning from my holiday and updating omnisharp / vscode, I now keep getting this error whenever I open the solution at work:

This crashes omnisharp and makes it unusable

can you share the repro? or at least provide a list of analyzer packages you use?

I can not share the repo, its a private repo (non open source) and is hosted on azure devops
The analysers I use:

thanks, if you start an empty project, with the same analyzer set, does it work?

Yes, I use the same analyers on my linux setup for private work and never had issues with them.
They also worked before my 3 weeks absence (haven't touched them since)

can you set "omnisharp.logelevel": "trace" post the full output of the omnisharp log?

Just tried that, however it does not show more:

Also it seems, the setting is unknown:

EDIT: Just realized there is a "omnisharp.loggingLevel", trying that now

oops sorry 😂

The last few entries:
[dbug]: OmniSharp.Stdio.Host
        ************ Request ************
{
  "Type": "request",
  "Seq": 220,
  "Command": "/v2/getcodeactions",
  "Arguments": {
    "FileName": "c:\\Development\\devinite\\OldMonolith\\devinite.Db\\DbLayer\\Classes\\Availability\\ProductAvailability\\ExpectedDateAtCustomerService.cs",
    "Line": 605,
    "Column": 13
  }
}
[dbug]: OmniSharp.Stdio.Host
        ************  Response ************
{
  "Request_seq": 220,
  "Command": "/v2/getcodeactions",
  "Running": true,
  "Success": true,
  "Message": null,
  "Body": {
    "CodeActions": [
      {
        "Identifier": "RR0094",
        "Name": "Remove braces"
      },
      {
        "Identifier": "RR0045",
        "Name": "Extract from containing statement"
      },
      {
        "Identifier": "RR0109",
        "Name": "Remove statement"
      },
      {
        "Identifier": "RR0033",
        "Name": "Duplicate statement"
      },
      {
        "Identifier": "RR0028",
        "Name": "Comment out statement"
      }
    ]
  },
  "Seq": 28552,
  "Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
        ************ Request ************
{
  "Type": "request",
  "Seq": 221,
  "Command": "/findusages",
  "Arguments": {
    "FileName": "c:\\Development\\devinite\\OldMonolith\\devinite.Db\\DbLayer\\Classes\\Availability\\ProductAvailability\\ExpectedDateAtCustomerService.cs",
    "Line": 470,
    "Column": 45,
    "OnlyThisFile": false,
    "ExcludeDefinition": true
  }
}
[dbug]: OmniSharp.Stdio.Host
        ************  Response ************
{
  "Request_seq": 221,
  "Command": "/findusages",
  "Running": true,
  "Success": true,
  "Message": null,
  "Body": {
    "QuickFixes": [
      {
        "FileName": "c:\\Development\\devinite\\OldMonolith\\devinite.Db\\DbLayer\\Classes\\Availability\\ProductAvailability\\ExpectedDateAtCustomerService.cs",
        "Line": 133,
        "Column": 28,
        "EndLine": 133,
        "EndColumn": 40,
        "Text": "return ComputeStock(expectedDateAtCustomerParameters, estimatedDeliveryBySupplierResult, delayDueToLogistics);",
        "Projects": [
          "devinite.Db"
        ]
      }
    ]
  },
  "Seq": 28556,
  "Type": "response"
}
[dbug]: OmniSharp.Stdio.Host
        ************ Request ************
{
  "Type": "request",
  "Seq": 222,
  "Command": "/findusages",
  "Arguments": {
    "FileName": "c:\\Development\\devinite\\OldMonolith\\devinite.Db\\DbLayer\\Classes\\Availability\\ProductAvailability\\ExpectedDateAtCustomerService.cs",
    "Line": 454,
    "Column": 45,
    "OnlyThisFile": false,
    "ExcludeDefinition": true
  }
}
[dbug]: OmniSharp.Stdio.Host
        ************  Response ************
{
  "Request_seq": 222,
  "Command": "/findusages",
  "Running": true,
  "Success": true,
  "Message": null,
  "Body": {
    "QuickFixes": [
      {
        "FileName": "c:\\Development\\devinite\\OldMonolith\\devinite.Db\\DbLayer\\Classes\\Availability\\ProductAvailability\\ExpectedDateAtCustomerService.cs",
        "Line": 136,
        "Column": 28,
        "EndLine": 136,
        "EndColumn": 58,
        "Text": "return ComputeStockAtCentralWarehouse(expectedDateAtCustomerParameters, delayDueToLogistics);",
        "Projects": [
          "devinite.Db"
        ]
      }
    ]
  },
  "Seq": 28559,
  "Type": "response"
}

Process is terminated due to StackOverflowException.

thanks, but can you please post the full log?

Where can I find that? the output console in vscode only shows the last X rows

it should be there, you can select everything with ctrl+a / cmd+a on a mac.
The output should start with something liket:
Starting OmniSharp server at 8/5/2019, 9:07:38 AM
    Target: ...... {path}

OmniSharp server started.
    Path: /Users/filipw/.vscode/extensions/ms-vscode.csharp-1.21.0/.omnisharp/1.34.0/run
    PID: 36349

Its bit different with vim shortcuts :P but here it is
Output.txt
As you can see it does not start there, the output only shows the last 96k lines

resolved in #1579


Fix for V3: Prevent a selected option from being removed when isDisabled is passed

Issue: on chakra-react-select v3 users can remove selected options when isDisabled is passed using
Reported here for v4:  https://github.com/csandman/chakra-react-select/issues/168
Fixed here for > v4: https://github.com/csandman/chakra-react-select/pull/169
This PR aims to fix this issue for v3

@csandman Thanks for the feedback, I've changed it now.

Great, looks good! Merged and released in v3.3.10!


Move ovs-p4rt.h header file

Moved ovs-p4rt.h from the include/openvswitch folder to  a new include/ovsp4rt folder. Updated the buildsystem to reflect the change.

Updated #include paths from "openswitch/ovs-p4rt.h" to "ovsp4rt/ovs-p4rt.h".

Implemented an install-data-hook buildsystem target to create a symbolic link to include/ovsp4rt/ovs-p4rt.h in the include/openvswitch folder of the install tree, to maintain backward compatibility with networking-recipe. Modified the dist-hook-git target to ignore the symlink.

This PR is part of the process of moving ovs-p4rt.h from the ovs repository to the networking-recipe repository.
It causes ovs to mirror the ovs-p4rt include directory structure:
include/
`-- ovsp4rt
    `-- ovs-p4rt.h

To provide backward compatibility during the transition, there are currently TWO copies of ovs-p4rt.h, which must be kept in sync.
A subsequent commit will change the --with-p4ovs parameter to accept an include directory path, falling back to the local copy if no path is provided.
The copy in the ovs repository will be removed after a suitable interval and before the P4OVS changes are upstreamed to the mothership.

This PR is part of the process of moving ovs-p4rt.h from the ovs repository to the networking-recipe repository.

Why does the ovs-p4rt.h need to move to networking-recipe?

Why does the ovs-p4rt.h need to move to networking-recipe?

Because ovs-p4rt.h is part of ovs-p4rt, and ovs-p4rt is currently part of networking-recipe.
A component owns its own external interface. The header files (and other collateral, such as pkg-config files) are published by the component in order for other pieces of software to use the component. ovs-p4rt.h is the header file that defines ovsp4rt's external interface.

I don't know if this helps, but it illustrates the dependencies and the build order this implies:


Refresh Archery project in preparation for a new release.

This project hasn't needed any updates for awhile, so I've let it be.
At this point, it seemed like it was time for an update, if only because of all the new versions. I ended up deciding to "modernize" the project based on my 2015-era sense of best Scala practices. So far this means:

☑ Bump versions of Scala, SBT, ScalaTest, ScalaStyle, sbt-bintray
☑ Use aggressive set of compiler flags
☑ Use Travis
☑ Use scoverage (and codecov.io)

After doing these, I was motivated to add a bunch of tests to improve our coverage. In the process I caught a minor bug, which helps justify this whole exercise.
Still on my list:

☐ Use sbt-release plugin
☑ Consider introducing scalastyle
☑ Move files around to slightly more standard locations
☑ Improve documentation
☐ Consider using tut to create a tutorial

OK, I think this is good to go.
Anyone interested in signing-off on this?
/cc @softprops @chrislewis @joshmarcus

I think I addressed most of @softprops's coments, I'm going to go ahead and merge now.


Magritte on Windows

I wanted to run Magritte on Windows using python. Could you show me the installation steps?

We do not have specific instructions, but Magritte is based on MediaPipe, which supports Windows and Python. Please refer to MediaPipe's Windows installation instructions and Python guide. You could then use Magritte graphs to redact your content.


Mac OS X support

Checklist

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

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@conda-forge-admin, please rerender

The issue is the line list(APPEND CMAKE_PREFIX_PATH $ENV{KIM_API_CMAKE_PREFIX_DIR}) in the cmake file, this overwrites the build prefix set by conda-forge.

The issue is that CC is different for Linux and MacOs:
CC=$BUILD_PREFIX/bin/x86_64-conda_cos6-linux-gnu-cc
CC=x86_64-apple-darwin13.4.0-clang

@jan-janssen Thanks for the work here.  To explain a bit.  The CMakeLists.txt file tries to use the same compilers that were used to build the kim-api package.  Generally this is needed to ensure that the models will work correctly with the kim-api library.  It gets complicated in build systems  like conda (and homebrew) that modify the system build environment.
I think what you have done here is the correct approach in this case.


Autoplay doesn't work

Compatible Device

[X] I'm running Raspotify on a compatible Device

Are you sure?

[X] I'm not trying to run Raspotify on a ARMv6 device

Compatible OS

[X] I'm running Raspotify on a compatible OS

Compatible Configuration

[X] I'm running Raspotify on a compatible Configuration

Latest Version

[X] I'm running the latest version of Raspotify

Are you sure?

[X] I'm not running Raspotify <IP_ADDRESS> on a Pi v1 or Pi Zero

Due Diligence

[X] I have done my due diligence

What happened?
When I play one song on spotify, raspotify stops playing afterwards, instead of playing similar songs.
I'm on raspotify the latest version (0.45.0):
$ apt search raspotify
Sorting... Done
Full Text Search... Done
raspotify/unknown,now 0.45.0~librespot.v0.5.0-84d28e8 arm64 [installed]
  Raspotify

I enabled autoplay in the config:
$ sudo grep AUTOPLAY /etc/raspotify/conf
LIBRESPOT_AUTOPLAY=on

I also found this issue, in which @dtcooper suggests to use the --autoplay flag of librespot. That sounds like a good suggestion (although the author of that issue disagrees), but I'm unaware how I should use that flag. I thought that setting LIBRESPOT_AUTOPLAY to on would set the librespot --autoplay flag, but it seems it doesn't. Do I simply change the in ExecStart in /lib/systemd/system/raspotify.service to something like ExecStart=/usr/bin/librespot --autoplay? Or is there a different place where I should insert the autoplay flag?
Note that I've included some logs, although I don't think that reveals any errors relating to the autoplay thing.
All tips are welcome!
Relevant log output and/or the contents of /etc/raspotify/crash_report if any ( sudo journalctl -u raspotify -b and sudo cat /etc/raspotify/crash_report )
$ sudo journalctl -u raspotify -b | grep "Dec 23"
Dec 23 08:26:04 volumio librespot[8595]: [2024-12-23T07:26:04Z ERROR librespot_connect::spirc] ContextError: Error { kind: NotFound, error: StatusCode(404) }
Dec 23 08:26:18 volumio librespot[8595]: [2024-12-23T07:26:18Z ERROR librespot_connect::spirc] ContextError: Error { kind: NotFound, error: StatusCode(404) }
Dec 23 08:26:31 volumio librespot[8595]: [2024-12-23T07:26:31Z ERROR librespot_connect::spirc] ContextError: Error { kind: InvalidArgument, error: StatusCode(400) }
Dec 23 08:26:33 volumio librespot[8595]: [2024-12-23T07:26:33Z WARN  librespot_playback::player] This track may exceed dBFS by 9.01 dB and be subject to 11.01 dB of dynamic limiting at its peak.
Dec 23 08:27:26 volumio librespot[8595]: [2024-12-23T07:27:26Z WARN  librespot_playback::audio_backend::alsa] Error writing from AlsaSink buffer to PCM, trying to recover, ALSA function 'snd_pcm_writei' failed with error 'Broken pipe (32)'
Dec 23 08:27:26 volumio librespot[8595]: ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
Dec 23 08:27:42 volumio librespot[8595]: [2024-12-23T07:27:42Z ERROR librespot_connect::spirc] ContextError: Error { kind: Unknown, error: StatusCode(502) }
Dec 23 11:15:46 volumio librespot[8595]: [2024-12-23T10:15:46Z ERROR librespot_connect::spirc] ContextError: Error { kind: InvalidArgument, error: StatusCode(400) }
Dec 23 11:15:47 volumio librespot[8595]: [2024-12-23T10:15:47Z WARN  librespot_playback::audio_backend::alsa] Error writing from AlsaSink buffer to PCM, trying to recover, ALSA function 'snd_pcm_writei' failed with error 'Broken pipe (32)'
Dec 23 11:15:47 volumio librespot[8595]: ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
Dec 23 11:16:52 volumio librespot[8595]: [2024-12-23T10:16:52Z ERROR librespot_connect::spirc] ContextError: Error { kind: Unknown, error: StatusCode(502) }
Dec 23 11:16:55 volumio librespot[8595]: [2024-12-23T10:16:55Z ERROR librespot_connect::spirc] ContextError: Error { kind: InvalidArgument, error: StatusCode(400) }
Dec 23 11:16:57 volumio librespot[8595]: [2024-12-23T10:16:57Z ERROR librespot_connect::spirc] ContextError: Error { kind: Unknown, error: StatusCode(502) }
Dec 23 11:19:52 volumio librespot[8595]: [2024-12-23T10:19:52Z ERROR librespot_connect::spirc] ContextError: Error { kind: Unknown, error: StatusCode(502) }
Dec 23 11:19:53 volumio librespot[8595]: [2024-12-23T10:19:53Z WARN  librespot_playback::audio_backend::alsa] Error writing from AlsaSink buffer to PCM, trying to recover, ALSA function 'snd_pcm_writei' failed with error 'Broken pipe (32)'
Dec 23 11:19:53 volumio librespot[8595]: ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
Dec 23 11:22:44 volumio librespot[8595]: [2024-12-23T10:22:44Z ERROR librespot_connect::spirc] ContextError: Error { kind: Unknown, error: StatusCode(502) }
Dec 23 11:22:45 volumio librespot[8595]: [2024-12-23T10:22:45Z WARN  librespot_playback::audio_backend::alsa] Error writing from AlsaSink buffer to PCM, trying to recover, ALSA function 'snd_pcm_writei' failed with error 'Broken pipe (32)'
Dec 23 11:22:45 volumio librespot[8595]: ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
Dec 23 11:25:17 volumio librespot[8595]: [2024-12-23T10:25:17Z ERROR librespot_connect::spirc] ContextError: Error { kind: InvalidArgument, error: StatusCode(400) }
Dec 23 11:25:26 volumio librespot[8595]: [2024-12-23T10:25:26Z WARN  librespot_audio::fetch::receive] Time to first byte 3175 ms exceeds maximum 1500, setting to maximum
Dec 23 11:25:29 volumio librespot[8595]: [2024-12-23T10:25:29Z WARN  librespot_playback::audio_backend::alsa] Error writing from AlsaSink buffer to PCM, trying to recover, ALSA function 'snd_pcm_writei' failed with error 'Broken pipe (32)'
Dec 23 11:25:29 volumio librespot[8595]: ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
Dec 23 11:25:41 volumio librespot[8595]: [2024-12-23T10:25:41Z ERROR librespot_playback::player] Skipping to next track, unable to get next packet for track <SpotifyId("spotify:track:2EjXfH91m7f8HiJN1yQg97")>: SymphoniaDecoder("Deadline expired before operation could complete { wait timeout exceeded }")
Dec 23 11:25:42 volumio librespot[8595]: [2024-12-23T10:25:42Z WARN  librespot_audio::fetch::receive] Time to first byte 12735 ms exceeds maximum 1500, setting to maximum
Dec 23 11:25:42 volumio librespot[8595]: [2024-12-23T10:25:42Z WARN  librespot_audio::fetch::receive] Throughput 0 kbps lower than minimum 8, setting to minimum
Dec 23 11:25:51 volumio librespot[8595]: [2024-12-23T10:25:51Z ERROR librespot_playback::player] Unable to read audio file: Symphonia Decoder Error: Deadline expired before operation could complete { wait timeout exceeded }
Dec 23 11:25:51 volumio librespot[8595]: [2024-12-23T10:25:51Z ERROR librespot_playback::player] Skipping to next track, unable to load track <SpotifyId("spotify:track:7vQbuQcyTflfCIOu3Uzzya")>: ()
Dec 23 11:26:07 volumio librespot[8595]: [2024-12-23T10:26:07Z WARN  librespot_audio::fetch::receive] Time to first byte 12373 ms exceeds maximum 1500, setting to maximum
Dec 23 11:26:07 volumio librespot[8595]: [2024-12-23T10:26:07Z WARN  librespot_audio::fetch::receive] Throughput 5 kbps lower than minimum 8, setting to minimum
Dec 23 11:26:08 volumio librespot[8595]: [2024-12-23T10:26:08Z ERROR librespot_audio::fetch::receive] Streamer error requesting range 1791612 +65140: Error { kind: Unknown, error: hyper_util::client::legacy::Error(SendRequest, hyper::Error(Io, Custom { kind: UnexpectedEof, error: "peer closed connection without sending TLS close_notify: https://docs.rs/rustls/latest/rustls/manual/_03_howto/index.html#unexpected-eof" })) }
Dec 23 11:48:43 volumio librespot[8595]: [2024-12-23T10:48:43Z ERROR librespot_connect::spirc] connection ID update selected, but none received
Dec 23 11:48:53 volumio librespot[8595]: [2024-12-23T10:48:53Z WARN  librespot_playback::player] This track may exceed dBFS by 3.59 dB and be subject to 5.59 dB of dynamic limiting at its peak.
Dec 23 11:48:53 volumio librespot[8595]: [2024-12-23T10:48:53Z WARN  librespot_playback::audio_backend::alsa] Error writing from AlsaSink buffer to PCM, trying to recover, ALSA function 'snd_pcm_writei' failed with error 'Broken pipe (32)'
Dec 23 11:48:53 volumio librespot[8595]: ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
Dec 23 11:49:00 volumio librespot[8595]: [2024-12-23T10:49:00Z WARN  librespot_audio::fetch::receive] Time to first byte 14966 ms exceeds maximum 1500, setting to maximum
Dec 23 11:49:00 volumio librespot[8595]: [2024-12-23T10:49:00Z WARN  librespot_audio::fetch::receive] Throughput 4 kbps lower than minimum 8, setting to minimum
Dec 23 11:49:01 volumio librespot[8595]: [2024-12-23T10:49:01Z ERROR librespot_connect::spirc] connection ID update selected, but none received
Dec 23 11:49:01 volumio librespot[8595]: [2024-12-23T10:49:01Z WARN  librespot_connect::spirc] Cannot flush spirc event sender when done.
Dec 23 11:49:01 volumio librespot[8595]: [2024-12-23T10:49:01Z ERROR librespot_core::session] Connection to server closed.
Dec 23 11:49:01 volumio librespot[8595]: [2024-12-23T10:49:01Z WARN  librespot_playback::audio_backend::alsa] Error writing from AlsaSink buffer to PCM, trying to recover, ALSA function 'snd_pcm_writei' failed with error 'Broken pipe (32)'
Dec 23 11:49:01 volumio librespot[8595]: ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
Dec 23 11:49:02 volumio librespot[8595]: [2024-12-23T10:49:02Z WARN  librespot_playback::player] This track may exceed dBFS by 3.59 dB and be subject to 5.59 dB of dynamic limiting at its peak.
Dec 23 11:49:07 volumio librespot[8595]: [2024-12-23T10:49:07Z WARN  librespot_audio::fetch::receive] Time to first byte 5702 ms exceeds maximum 1500, setting to maximum
Dec 23 11:49:07 volumio librespot[8595]: [2024-12-23T10:49:07Z WARN  librespot_audio::fetch::receive] Throughput 0 kbps lower than minimum 8, setting to minimum
Dec 23 11:49:09 volumio librespot[8595]: [2024-12-23T10:49:09Z ERROR librespot_connect::spirc] ContextError: Error { kind: Internal, error: RecvError(()) }
Dec 23 11:49:09 volumio librespot[8595]: [2024-12-23T10:49:09Z WARN  librespot_connect::spirc] Cannot flush spirc event sender when done.
Dec 23 11:49:10 volumio librespot[8595]: [2024-12-23T10:49:10Z ERROR librespot_core::session] Transport endpoint is not connected (os error 107)
Dec 23 11:49:21 volumio librespot[8595]: [2024-12-23T10:49:21Z WARN  librespot_core::spclient] Unable to get client token: Service unavailable { client error (Connect) } Trying to continue without...
Dec 23 11:49:23 volumio librespot[8595]: [2024-12-23T10:49:23Z ERROR librespot_connect::spirc] ContextError: Error { kind: InvalidArgument, error: StatusCode(400) }
Dec 23 11:49:23 volumio librespot[8595]: [2024-12-23T10:49:23Z ERROR librespot_core::session] Connection to server closed.
Dec 23 11:49:23 volumio librespot[8595]: [2024-12-23T10:49:23Z ERROR librespot_connect::spirc] user attributes mutation selected, but none received
Dec 23 11:49:23 volumio librespot[8595]: [2024-12-23T10:49:23Z WARN  librespot_connect::spirc] Cannot flush spirc event sender when done.
Dec 23 11:49:23 volumio librespot[8595]: [2024-12-23T10:49:23Z WARN  librespot] Spirc shut down unexpectedly
Dec 23 11:49:23 volumio librespot[8595]: [2024-12-23T10:49:23Z ERROR librespot_core::session] Broken pipe (os error 32)
Dec 23 11:49:25 volumio librespot[8595]: [2024-12-23T10:49:25Z ERROR librespot_core::audio_key] Audio key response timeout
Dec 23 11:49:25 volumio librespot[8595]: [2024-12-23T10:49:25Z WARN  librespot_playback::player] Unable to load key, continuing without decryption: Operation aborted { audio key response timeout }
Dec 23 11:49:27 volumio librespot[8595]: [2024-12-23T10:49:27Z ERROR librespot_playback::player] Unable to read audio file: Symphonia Decoder Error: end of stream
Dec 23 11:49:27 volumio librespot[8595]: [2024-12-23T10:49:27Z ERROR librespot_playback::player] Skipping to next track, unable to load track <SpotifyId("spotify:track:4KV9bM7a1KDc7b7OakFZic")>: ()
Dec 23 11:49:37 volumio librespot[8595]: [2024-12-23T10:49:37Z ERROR librespot_connect::spirc] ContextError: Error { kind: InvalidArgument, error: StatusCode(400) }
Dec 23 11:49:37 volumio librespot[8595]: [2024-12-23T10:49:37Z WARN  librespot_playback::audio_backend::alsa] Error writing from AlsaSink buffer to PCM, trying to recover, ALSA function 'snd_pcm_writei' failed with error 'Broken pipe (32)'
Dec 23 11:49:37 volumio librespot[8595]: ALSA lib pcm.c:8570:(snd_pcm_recover) underrun occurred
Dec 23 11:50:17 volumio librespot[8595]: [2024-12-23T10:50:17Z WARN  libmdns::fsm] error sending packet Os { code: 101, kind: NetworkUnreachable, message: "Network is unreachable" }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z ERROR librespot_connect::spirc] remote update selected, but none received
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot] Spirc shut down unexpectedly
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::session] Try another access point...
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::session] Try another access point...
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::session] Try another access point...
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::session] Try another access point...
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::session] Try another access point...
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z ERROR librespot_core::session] Tried too many access points
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z ERROR librespot] could not initialize spirc: Unknown error { failed to lookup address information: Temporary failure in name resolution }
Dec 23 11:52:43 volumio systemd[1]: raspotify.service: Main process exited, code=exited, status=1/FAILURE
Dec 23 11:52:43 volumio systemd[1]: raspotify.service: Failed with result 'exit-code'.
Dec 23 11:52:43 volumio systemd[1]: raspotify.service: Triggering OnFailure= dependencies.
Dec 23 11:52:43 volumio systemd[1]: raspotify.service: Consumed 38min 43.513s CPU time.
Dec 23 11:52:54 volumio systemd[1]: Started raspotify.service - Raspotify (Spotify Connect Client).
Dec 23 11:56:34 volumio librespot[12100]: [2024-12-23T10:56:34Z ERROR librespot_connect::spirc] ContextError: Error { kind: InvalidArgument, error: StatusCode(400) }
Dec 23 14:59:13 volumio librespot[12100]: [2024-12-23T13:59:13Z ERROR librespot_connect::spirc] ContextError: Error { kind: InvalidArgument, error: StatusCode(400) }
$
$
$
$
$
$
$
$ sudo cat /etc/raspotify/crash_report
-- System Info --

Linux volumio 6.6.62+rpt-rpi-v8 #1 SMP PREEMPT Debian 1:6.6.62-1+rpt1 (2024-11-25) aarch64 GNU/Linux
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

-- Logs --

Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z ERROR librespot_connect::spirc] remote update selected, but none received
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot] Spirc shut down unexpectedly
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::session] Try another access point...
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::session] Try another access point...
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::session] Try another access point...
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::session] Try another access point...
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::session] Try another access point...
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Failed to resolve all access points, using fallbacks
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z WARN  librespot_core::apresolve] Resolve access points error: Service unavailable { client error (Connect) }
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z ERROR librespot_core::session] Tried too many access points
Dec 23 11:52:43 volumio librespot[8595]: [2024-12-23T10:52:43Z ERROR librespot] could not initialize spirc: Unknown error { failed to lookup address information: Temporary failure in name resolution }
Dec 23 11:52:43 volumio systemd[1]: raspotify.service: Main process exited, code=exited, status=1/FAILURE
Dec 23 11:52:43 volumio systemd[1]: raspotify.service: Failed with result 'exit-code'.
Dec 23 11:52:43 volumio systemd[1]: raspotify.service: Triggering OnFailure= dependencies.
Dec 23 11:52:43 volumio systemd[1]: raspotify.service: Consumed 38min 43.513s CPU time.

-- Config --

LIBRESPOT_QUIET=on
LIBRESPOT_AUTOPLAY=on
LIBRESPOT_DISABLE_AUDIO_CACHE=on
LIBRESPOT_DISABLE_CREDENTIAL_CACHE=on
LIBRESPOT_ENABLE_VOLUME_NORMALISATION=on

-- Ouput of aplay -l --

**** List of PLAYBACK Hardware Devices ****
card 0: IQaudIODAC [IQaudIODAC], device 0: IQaudIO DAC HiFi pcm512x-hifi-0 [IQaudIO DAC HiFi pcm512x-hifi-0]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

-- Ouput of aplay -L --

null
    Discard all samples (playback) or generate zero samples (capture)
default
hw:CARD=IQaudIODAC,DEV=0
    IQaudIODAC, IQaudIO DAC HiFi pcm512x-hifi-0
    Direct hardware device without any conversions
plughw:CARD=IQaudIODAC,DEV=0
    IQaudIODAC, IQaudIO DAC HiFi pcm512x-hifi-0
    Hardware device with all software conversions
sysdefault:CARD=IQaudIODAC
    IQaudIODAC, IQaudIO DAC HiFi pcm512x-hifi-0
    Default Audio Device
dmix:CARD=IQaudIODAC,DEV=0
    IQaudIODAC, IQaudIO DAC HiFi pcm512x-hifi-0
    Direct sample mixing device

-- Ouput of librespot -d ? --

	Compatible alsa device(s):

	------------------------------------------------------

Hi @kramer65,
Actually LIBRESPOT_AUTOPLAY will have the exact same result as setting --autoplay, I confirmed this in the librespot source code. If you want to confirm then you can edit the systemd file like you suggest. But I don't think you'll have any luck.
To start, I suggest first updating to version Raspotify 0.46. Perhaps this behavior stems from a bug/protocol issue and is fixed in the latter version of librespot. Not sure.
Omitting the autoplay option will let the client control the autoplay. If you are you using an official client this will usually work just fine, probably for other clients too but I cannot tell. Perhaps your client has an option for this.
Let me know and I'll try to help you further.

As a side note you can also try running with LIBRESPOT_VERBOSE=on instead of quiet, this will produce more log that might shed some light on the problem.

Since a couple days the issue seems to be solved. I just noticed that it autoupgraded to version 0.46 and I guess that solved the issue for me. Thanks for creating raspotify! I'm using it for many hours every day now, and on new years eve it will power my home party! 🥳


[Vue warn]: You are using the runtime-only build...

I'm getting the following error when trying to use this package (with nuxt):

The issue is arised because templates should be precompiled before releasing dist, as is explained in the following issue: https://github.com/nuxt/nuxt.js/issues/1142#issuecomment-317273189

This question is available on Nuxt.js community (#c8)

The adsense module uses a render function and not a string template.


Logging in on a Cloudmin system puts me on the Webmin tab...

Without Authentic, when I log into my Cloudmin master, I am on the Cloudmin tab. When I use Authentic, I end up on the Webmin tab after login. And, this is even though I have "Cloudmin" set to the default tab in Authentic.
It doesn't even show the Cloudmin tab if I set a default Cloudmin system as well.
Thoughts?

Yes, you don't have login screen as well from Authentic Theme, and having old one, right? Well, this default tab options and other stuff can only work correctly in you set Authentic Theme as default globally, not for one user.

Oops -- I found the error: I went and selected Authentic under Webin:Webmin Configuration:Change Themes.
THANKS!!!!

;)


[ bug Report ] Dynamic lights on Lara in mirrors not reflected past 1 square + slight flicker

TombEngine version
Development Build
Tomb Editor version
Development Build
Describe the bug
Please ignore if this is intentional or if there is no easy way to fix it, it's only a minor visual quirk and can only really be noticed in a small threshold.
Description of observations:

Dynamic lights affect mirrored Lara within 1 square while she's near the mirror itself.
If you back away, there's a small threshold where light flickers on her mirrored image.
If you go further back over 1 square the light she carries lights up the environment in the mirror, but not Lara.

Video:
https://streamable.com/e5wvvk
To Reproduce
Light a flare or a torch and slowly back away from the mirror.
Expected Behaviour
Dynamic lights reflected on Lara just like her surroundings.
Additional Content
No response
Minimal reproduction project
https://www.dropbox.com/scl/fi/wlaq6l9tz68ua26c0vo00/Flare-and-lights.zip?rlkey=4di70rqqfhuszzfrs1u326z2q&dl=0

The reason for this bug is that reflected lights are not collected for reflected objects. To fix this, best option is to reflect lights in shader, not in C++ code.


Updates to index_points_to_lines

The function needs to be broken into a few sub components and made more flexible.

If the flowline match is known up front but the location along the line(s) is not known, we can pre-filter before running matcher. Could also parallelize in this case?
Need to support a non-aggregated case.
Generally need to refactor and simplify things. There's a lot of validation up front that is confusing things.

Should switch this over to using data.table and generally aim to reduce the memory footprint of the function.

Still need to refactor and support a non-aggregate use case. But much of this issue is done now.


Error: Cannot find module './Instrumentation.js' when running frontend service for local development

Bug Report
Which version of the demo you are using?
main (latest)
Symptom
I'm trying to follow the README for running the frontend service locally. After running
docker compose run --service-ports -e NODE_ENV=development --volume $(pwd)/src/frontend:/app --volume $(pwd)/pb:/app/pb frontend sh
I get this error:
Error: Cannot find module './Instrumentation.js'
Require stack:

internal/preload
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:956:15)
at Function.Module._load (node:internal/modules/cjs/loader:804:27)
at Module.require (node:internal/modules/cjs/loader:1028:19)
at Module._preloadModules (node:internal/modules/cjs/loader:1303:12)
at loadPreloadModules (node:internal/bootstrap/pre_execution:583:5)
at prepareMainThreadExecution (node:internal/bootstrap/pre_execution:95:3)
at node:internal/main/run_main_module:7:1 {
code: 'MODULE_NOT_FOUND',
requireStack: [ 'internal/preload' ]
}

It looks like npm start is being run (per package.json) as opposed to npm dev. Am I doing something wrong here?
Reproduce
Just follow the instructions for running the frontend service locally in the README file.

Are you running the command from the root folder of the project?
I mean not in the src/frontend folder.

@julianocosta89 - Correct, I'm running it from the root folder.

Cool, just to be sure.
I'll try to reproduce.
Thanks for reporting it!

I'm on the road ATM, I will take a look later.
Maybe @xoscar has an idea of what may be the root cause of that.

Thanks @julianocosta89. @xoscar all I can tell at this point is that npm is being run in production mode as opposed to dev. In package.json, there's the requirement for ./Instrumentation.js in "start" (which is referenced in the error above)
"start": "node --require ./Instrumentation.js server.js"
Whereas "dev" in package.json is what we're looking to run from what I can tell as it has the correct relative path to Instrumentation.js:
"dev": "npm run grpc:generate && NODE_OPTIONS='-r ./utils/telemetry/Instrumentation.js' next dev"
So, I think the answer lies in understanding why start is firing off instead of dev when running "docker compose run..." command in the frontend README file.

Oh I think it's because a change was made to move away from CMD in the frontend docker file to use ENTRYPOINT instead. And the problem with that is that it doesn't allow for command overwrite in this case when running the container it will always run npm start @julianocosta89 changes https://github.com/open-telemetry/opentelemetry-demo/pull/342/files

Hey @xoscar I may need your help here.
We can still overwrite the ENTRYPOINT but I faced some issues with the next steps.
1st to overwrite the ENTRYPOINT we need the following command:
docker compose run --service-ports -e NODE_ENV=development --volume $(pwd)/src/frontend:/app --volume $(pwd)/pb:/app/pb --entrypoint sh frontend
Once we sh into the container we have the 1st issue:
The user nextjs has no permission to create folder, so the mkdir -p ./protos fails.
I've tried switching to root USER, but then I get the 2nd issue:
Nothing happens. Looks like the npm run dev is not doing anything.
Any ideas?

Also, @puckpuck do you see any issue if we return the frontend to CMD instead of ENTRYPOINT.
I've tested locally and changing it back to CMDsolves the issue.

The only issue I see is consistency with the other services, which all use ENTRYPOINT

@puckpuck if consistency is the only issue, I'll go ahead and send a PR to use CMD as this solves the issue.

Hello all, I've just sent a PR fixing this :)


Update manage-retention-of-historical-data-in-system-versioned-tempor…

…al-tables.md
Update manage-retention-of-historical-data-in-system-versioned-temporal-tables.md example due to invalid syntax

@rwestMSFT
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

@ic248 Thanks for your feedback. We already caught this in an internal content review, but I'm happy for you to receive contributor credit.


Error on Ebike access utility

This expression line does not work as it was probably intended.
https://github.com/ActivitySim/sandag-abm3-example/blob/34935f121a85eb74a184455ff5fbb93f51868b12/configs/resident/tour_mode_choice.csv#L368
The + operator has higher precedence than the &, so you get effectively this...
@(microConstant + ~df.ebike_owner)&(microRentTime + df.micro_access_inb + df.micro_access_out))*df.time_factor

The constant is being added to the bool, and that (integer) value is bitwise-anded with the other values, which looks like a mess.
I think what is implied is actually this:
@(microConstant + np.where(df.ebike_owner, 0, microRentTime + df.micro_access_inb + df.micro_access_out))*df.time_factor

@dhensle  can you check?

I suspect you are correct.  Tagging @JoeJimFlood and @aletzdy for confirmation that the above fix is the desired behavior.

correct. this should be fixed. we can do the fix by replacing & with * as well, I believe. I will push an update sandag repo after testing.


Members in Discord don't have permissions to tag Moderators

Description

Oh this is so important, thank you 👍

Oh this is so important, thank you 👍

Fixed...

Fixed...


Request for a professional support.

Dear donald,
regarding issue https://github.com/codewars/codewars.com/issues/2246.
Please, take a look at my account and the bug solution in question.

From my account its clear im doing only low number of higher tier kata so no, whites wont happen.
Cheat solution is kata specific and its clear that anyone echoing debug data at some point can easily stumble upon the same thing i did and possibly submit without realizing hes cheating. All i did was press attempt to know if i shoud report it for possible fix.

From your response im not sure if you are reading closed tickets, so im creating a new issue.
Id like to know if there are any possible solutions like at least deleting the cheat solution from submissions and making me non-eligible for the kata, or if not then why.
Thanks.

Apologies, from your wording that you "lost all progress", I assumed that your rank and honor were reset to 8 kyu / 0 which only happens with repeat offenders, hence my action to close the issue. A quick peek at your account suggests otherwise.
From what you described in #2246 , what likely happened was that your solution was automatically marked as cheat for exploiting known loopholes in Codewars' testing environment itself, and your eligibility for that particular Kata was subsequently revoked. As it currently stands, there is no way to revoke or delete solutions which has passed "Attempt", since otherwise cheaters will be able to cover their tracks easily by later replacing their cheat/plagiarized solution with a different one.
Anyway, if you would like your case reviewed, please link to the Kata where the incident occurred so I may review your solution if I have completed that Kata as well and determine the severity of the cheat. For the time being, please refrain from submitting "clever" solutions along a similar line to other Kata lest your account is identified as a repeat offender leading to a full ban. Thanks!

Hello,
thanks for looking at the issue again.
This is the kata: https://www.codewars.com/kata/5d7169ce7bf8d000180c7fe9.
The kata is riddled with messages telling you what to do and what not to do. From the messages its obvious that you were expected to arrive at this point and then look for answers somewhere else, which is why i think its very likely that someone might output something that makes him pass by cheating by mistake, which is also why i tried the "attempt" button. Not sure at which point it got submitted though.

Also, is it possible to remove the solution but also make me ineligible for the kata?
I think by having multiple account people can still cheat this way anyway (one account becomes ineligible to look then copy-paste solution to the second account).

Hi @gimmeACookie
I think everyone is just confused, so I'll try to clarify.
Kata trainer buttons:

"Attempt": Attempt to complete the challenge using the solution. If that passes all tests, it marks the kata completed. Training again means starting a new solution.
"Submit": Submit the final version to be listed it in solutions page.

Even though it's confusing and it's not ideal for multiple reasons, this is currently how it works and it's not a bug.

I also lost all my progress and im not sure if it has something to do with the submission.

I'm assuming you meant it was reset to the original code. That's probably because you had opened the trainer after completing the kata (attempted and passed all tests). This is not a bug.

Cheat solution is kata specific

Please let the author know by commenting on the kata discussion.

Is it possible to fix my situation or am i gonna be "forever cheater"

No, you're not considered a cheater at all. If the kata is doing something unusual and allows solutions to pass accidentally, then the kata needs to be fixed. If it's something that affects all kata in that language, then please let me know by opening an issue at runner repo so I can try to fix it.

I'm closing this, but feel free to comment here instead of opening a new issue.


Integration with spatie/laravel-event-sourcing and PHPUnit

Hi!
I have a weird issue when using this package with spatie/laravel-event-sourcing. When I am running tests with PHPUnit everything fails after the first test.
Illuminate\Contracts\Container\BindingResolutionException: Unresolvable dependency resolving [Parameter #0 [  string $storedEventRepository ]] in class Spatie\EventSourcing\EventSubscriber
Looks like the singleton binding for the EventSubscriber isn't used/ran after the first test is run. The class doesn't receive the required $storedEventRepository parameter when created, which should contain the value in the config file (config('event-sourcing.stored_event_repository')).
If I hardcode a fallback inside the class the tests run, but this isn't a viable option obviously...
namespace Spatie\EventSourcing;

final class EventSubscriber
{
    /** @var \Spatie\EventSourcing\StoredEventRepository */
    private $repository;

    public function __construct(string $storedEventRepository = '')
    {
        if ( ! $storedEventRepository ) {
            $storedEventRepository = config('event-sourcing.stored_event_repository');
        }
        $this->repository = app($storedEventRepository);
    }

    // Other methods
}

My test isn't related to any functionnality provided by either of the two packages.
I know this is most likely not an issue with this package in particular, nor with spatie/laravel-event-sourcing but maybe a functionality that is used by both packages and therefore creates a conflict?
Hoping you have an idea of where this could come from, because I'm shooting dd() in the dark right now 😅
Happy holidays!

@fhusquinet can you share a repo that I can test with?

For sure, here is a basic Laravel installation with all the packages integrated into my project (which isn't too many as of now):
https://github.com/fhusquinet/test-multi-tenant-event-sourcing-integration
Running the unit test file should work because it is using PHPUnit's base TestCase file and not the one provided by Laravel. The feature test file will throw that error on the second test and the ones after.


Update README.md

Readme is out of date. I downloaded the wrong version because of this. Kept thinking 2.2 was the latest because Readme said so.

Hi @HHest, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

Thanks!


Update go to 1.20.4

/retest

previous error looked like a problem with olm not deploying in time

E2E Test for LTSR stream has not been resumed yet. Merge the PR since it passes other test.


Fix styles

Make styles "faster". Each vue dom component which is styled should be using css classes and not just div, a, ... It's a small tweak but let's keep things right.
Unify hover effects on layout buttons with todo list (same background)

done


could have better error message when training agents without responses

Issues
Similar to my last post #676, when training an agent without a response but have phrases, it just shows:

Would be better to say something like "A response is needed for the training phrases or the agent cannot be trained!"
Please describe the issue you are having here and answer the question below.

Did you download a release or pull from Master? Which release?
release 21.1
What operating system are you running?
10 ori
Are you running locally or in the cloud?
local
Which browser are you using?
FF

This is handled now.


Revert "image-sequencer, infragram + web-based RPi Cam software for use with Raspberry Pi camera"

Reverts publiclab/pi-builder#42

I've reverted that last one. Going to try again. Sorry!!!


Issue in boot with nvme ssd

After update to latest.
Nvme ssd is showing in nvme configuration
But nvme ssd not showing in boot option.

After update to latest.
Nvme ssd is showing in nvme configuration
But nvme ssd not showing in boot option.

Reinstall windows or change im bios csm support enable.

When I tried to install new windows from bootable pendrive.
Process stuck.
When I click on boot from pendrive. Windows logo appears then after process stuck. I can not go after this process.
I have changed pendrive and download new windows image but same issue.

Set
I have set
Network
Storage
Video
Other PCI devices
As Legacy
Now I can not able to go to  bios setting. When turn on computer. Below message show.

When I press shift F10 I got below details on screen. Now what can I do?

Enter bios press F9, after F10 and hit enter. This will restore defaults of the BIOS.
If your nvme don't work, you can try a HDD or SSD Sata with windows, boot and restore your own BIOS.

I have restored new bios with ch341a
My board is v1.31
And all problem solved.
In this link to program with ch340a.
ZX-DU99D4 V1.31.rom is not working and my mother board is dead
MICROCODE38REBARONUEFIFIX.ROM is working fine
https://github.com/jwagnervaz/DUAL-CPU-ZX-DU99D4-V1.31-BIOSMOD/tree/main/BIOS DUMP FOR FLASH WITH CH341A
In the latest firmware
https://github.com/jwagnervaz/DUAL-CPU-ZX-DU99D4-V1.31-BIOSMOD/tree/main/LASTEST
there is bug. After update latest firmware. It stuck at windows logo. While I am able to install ubantu.
I have tried with CSM enable and disable but in both case windows install stuck at windows logo.
Need to fix bug.
Thanks
My last question is I want to upgrade my bios because my motherboard was not boot when I use 3200mhz RAM. CAN  I Use 3200mhz ram in this motherboard?

I have restored new bios with ch341a
My board is v1.31
And all problem solved.
In this link to program with ch340a.
ZX-DU99D4 V1.31.rom is not working and my mother board is dead
MICROCODE38REBARONUEFIFIX.ROM is working fine
https://github.com/jwagnervaz/DUAL-CPU-ZX-DU99D4-V1.31-BIOSMOD/tree/main/BIOS DUMP FOR FLASH WITH CH341A
In the latest firmware
https://github.com/jwagnervaz/DUAL-CPU-ZX-DU99D4-V1.31-BIOSMOD/tree/main/LASTEST
there is bug. After update latest firmware. It stuck at windows logo. While I am able to install ubantu.
I have tried with CSM enable and disable but in both case windows install stuck at windows logo.
Need to fix bug.
Thanks
My last question is I want to upgrade my bios because my motherboard was not boot when I use 3200mhz RAM. CAN  I Use 3200mhz ram in this motherboard?

Yes u can use 3200mhz server ram on this motherboard, but the clock will be limited to your cpu support.
I think the problem is just above 4g support from your gpu side. Turn off it will make your mobo boot into windows.

i am using this ram but it is not working in it.
https://www.amazon.in/gp/product/B07W8ZDDKT/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1
is there any chance of working of this RAM?

i am using this ram but it is not working in it.
https://www.amazon.in/gp/product/B07W8ZDDKT/ref=ppx_yo_dt_b_asin_title_o04_s00?ie=UTF8&psc=1
is there any chance of working of this RAM?

This desktop ram stick may only works with a V3 xeon. If not .
It's not compatible with x99 chipsets.

Any ddr4 ram 2133 mhz will work with this cpu.
Am I right?
No matter it's ECC or regular.

Any ddr4 ram 2133 mhz will work with this cpu.
Am I right?
No matter it's ECC or regular.

Xeon V3 max 2133 mhz  Xeon V4 2400 MHz
But any 3200 mhz Ram ecc server or desktop would work if V3 if compatible.
I had desktop ram 3200 MHz working with 2x 2680 V4.
Só there's some rule for ram x99. There's a lot os info out there.

I have not received any manual with my purchase. Can I get manual for ZX-DU99D4 V1.31


Meson lemon

WIP adding lemon as a subproject to address #3

Seems to work!

Ugh, doesnt quite work as meson-python doesn't know where to place it in a wheel

It's all header files so maybe we can skip the installing?

Same here, I included the tarball as there's no obvious git upstream to
use. Happy to use your mirror :)
Yep, skipping install now :)
On Wed, 20 Sept 2023 at 10:05, Gabriel Gouvine @.***>
wrote:

It's all header files so maybe we can skip the installing?
—
Reply to this email directly, view it on GitHub
https://github.com/Coloquinte/PlaceRoute/pull/4#issuecomment-1727291465,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB4O4HWM7BIQJGWEWB62RLX3KWUVANCNFSM6AAAAAA467E7IE
.
You are receiving this because you authored the thread.Message ID:
@.***>

I pushed the submodule version to the meson branch


Add docs for installation from repository

If installing from source, one needs to manually build the JS components.
See https://github.com/developmentseed/lonboard/discussions/225

I'd prefer to keep the instructions in the main README.md as minimal as possible, because there will be a lot of less-technical people reading that, and it's also the front page for the website: https://developmentseed.org/lonboard/latest/.
How about:

To install from source, follow the contributor documentation.

And then we can improve the docs in that page if needed


tidy ControlCatalog.cspoj

Sure do you know which projects are affected?

should be better now, do you know of any other project files that need a clean up?

The other samples could do with being converted to the new csproj format, but we can do that separately.


Browser compatibility

It would be cool if this could run in the browser.  Then I could tee output from the Karma test runner to a txt file and process the timestamps.

I see you point @JesseAldridge, but it's not possible because we are using process.stderr and process.stdout to print the stamp it self, which is not supported in browsers.


Browser tests

Automated tests for browser regression is necessary, simply said. It's really painful — and avoidable — to get these repeated DOI regressions, etc. Browserstack is available, but I don't know how to run the current test suites in the browser.

I can help with this, give me more info what needs to be tested. thanks for this contribution, I will test and merge it when I get time https://github.com/xgirma/latex-javaScript/pull/7

It has gotten a bit more complicated since. Right now, it would be great if there was a way to run the existing Mocha test suite of the old repository in the browser (link). If that works, I can amend the process to work for this repository. There is/was a way to run Mocha in the browser, but I have not been able to figure out how to relay the results to whatever is running the browser (e.g. the CI).

https://github.com/larsgw/citation.js/pull/203 is my fist attempt. It adds a few more dependencies. It can be configured for Browserstack and also multiple browsers. To run:

npm run webdriver:update

npm run webdriver:start

npm run test:browser


Hitting "Escape" when in various fields does not "leave focus" as one would expect

It doesn't seem like VSCode is consistent with its treatment of the ESC key when you're in a text input field.
For the way that I'd expect it to work, let's take the Source Control panel as an example. When typing a commit message, if I hit ESC, the text input field is no  longer the focus, and thus VSCode's keybinding when clause sets inputFocus to false, which works as expected. Here's a gif explaining what I mean.
There are a number of input fields in the UI that don't behave this way. When pressing ESC, either nothing happens, or the text is selected but focus remains in the text field. Here's a gif explaining what I mean, using the "Search Extensions in Marketplace" text field as an example.
The text fields that I have found that exhibit this behavior are:

Search field in the "Extensions: Marketplace" pane
Global "Search" pane
"Problems" pane's filter box

There might be others, the above isn't an exhaustive list. Is any of this intentional?
Version Details

Version: 1.47.3
Commit: 91899dcef7b8110878ea59626991a18c8a6a1b3e
Date: 2020-07-23T13:08:29.692Z (1 wk ago)
Electron: 7.3.2
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Darwin x64 19.6.0
Steps to Reproduce

Put your text cursor in one of the text fields mentioned above.
Press ESC

I would typically expect that ESC would cause the input field to lose focus. In these fields, it doesn't.

Does this issue occur when all extensions are disabled?: Yes

Same behavior is exhibited in the "Settings" search text field and the "Keyboard Shortcuts" search text field. Input doesn't leave the field after hitting ESC.

I'm having this issue too, but only on my Linux machine.  The Linux PC is a ThinkPad X1 Carbon Gen 6 with Manjaro.  I first noticed it a couple weeks ago when it stopped working with the VIM extension, but I soon noticed the function of the escape key was not working globally within VSCode.
Still works fine on my Windows box.

To clarify, the ESC key works fine in the editor for me; just the behavior of input fields seems to be not what I would expect across the board. It doesn't seem to be consistent across all text input fields in VSCode.

The decision to lose focus on Escape is a per-feature decision. Consistency will be hard to achieve, since the expected result depends a lot on the main user interact around the feature.
You even mention that losing focus is expected on SCM. That was actually an accidental regression which was fixed last week: it should not lose focus at all.

That's a shame.
Would opening a feature request to add a command to "leave text input focus" make sense then? I'd really like this functionality, but I don't know if it already exists in VSCode or not. @joaomoreno

This is strange since that behavior doesn't align with most expectation surrounding text areas. Chrome URL bar, Github comment text box, etc. None of them have Escape losing focus.

I guess it's just my expectations then when I'm in a text editor that I never noticed before until I needed it.
Do you know if such a command to "lose focus if in input field" exist? If not, I'll open an issue for it, because it'd be really useful for my workflow. I'll explain more in the issue that I open why that'd be useful for me.

@joaomoreno I won't ask for this issue to be reopened because I already opened a new issue to ask for this functionality to be added as a bespoke command (which I think will satisfy all parties involved), however I did some more testing across many applications on the Mac and found that there are many places where Escape leaves text focus. In fact, at least on the Mac, apps that don't do it seem like outliers in this regard. Here's what I found based on my testing:
Applications where, if you're in a text field, a majority of the time the user is spending is in a field where pressing Escape will leave/unfocus the text field you're in
This is largely true for these apps, some exceptions - this is by no means an exhaustive list:

OmniFocus
Things 3
Finder
Forklift
Alfred
Due
Tot
Notion
Maps
Photos
Dash
Safari
Mailplane (granted, this is essentially just a native app wrapping around the Gmail website, but Escape works as expected pretty much anywhere and everywhere)
Most websites with textareas/input fields like Github (you mentioned that this doesn't work in Github comment boxes, but it seems to work fine for me?. I'd say a majority of websites work as expected when you hit Escape (the textarea/input field you're in loses focus).

Some of these apps, you'd have to hit Escape twice - once would clear the field if there was text in it, the second time it would leave focus (the Maps app comes to mind). I still count this as being able to hit Escape to lose focus.
Applications where, if you're in a text field, a majority of the time the user is spending is in a field where pressing Escape will do nothing
This is largely true for these apps, with some some exceptions - this is by no means an exhaustive list:

VSCode
Slack (the main function it performs, sending messages, doesn't allow you to lose focus when hitting Escape; most other input fields can be unfocused/dismissed by hitting Escape though, so honestly I could be persuaded to move this to the other group)
Discord (this falls into the same group as Slack; most fields unfocus/dismiss with Escape, but it's main functionality (sending messages) does not.)
HEY (only seems to work in search fields, not in compose view)
Ulysses (main text entry you can't Escape to unfocus, but in other fields like entering keywords, searching for things, you can unfocus)
Messages (main text you can't Escape to unfocus, search fields you can)

Lastly, I'd like to note a common theme for most apps that fell into the second camp were applications where the main function was entering text, which makes sense; I think that a user could reasonably expect in a text editor like VSCode or a messaging app like Slack, hitting Escape shouldn't lose focus if you're typing out a message or writing some code. However, this isn't a universal rule in those applications; pretty much every application that did this (like Slack/Discord/Hey/Messages/Ulysses/etc.) did NOT follow the same rule in what I would call "supplementary" fields, which is what I'd categorize something like the Search Panel or the SCM commit message field in VSCode.
As I said initially, at this point I think that everyone would be satisfied if there were just a command that would enable this functionality in VSCode (I'd map it to Escape everywhere I could, as you can imagine 😄), so I'm fine with #103845 being "the way forward". However (again, at least on macOS) this seems to be behavior that is not in line with the rest of the OS, at least from my testing.


Realm: HIP implementation of multi-affine accessor

As agreed during the Legion meeting, I am opening this issue to keep track of what is needed to make multi-affine accessors compatible with HIP.
@elliottslaughter, can you please add this issue to #1032?
Adding @pmccormick for visibility

@eddy16112 asked me to run some tests:
ROCm 5.4.3:
$ ./test_hip_host
host 0x7fc46f3e4010 dev 0x7fc351200010 equal? 0

ROCm 5.5.1:
$ ./test_hip_host
host 0x7fbcabe0a010 dev 0x7fbc8da00010 equal? 0

ROCm 5.6.0:
$ ./test_hip_host
host 0x7f392194d010 dev 0x7f392194d010 equal? 1

ROCm 5.7.1:
$ ./test_hip_host
host 0x7f7f9be06010 dev 0x7f7f9be06010 equal? 1

ROCm 6.0.0:
$ ./test_hip_host
host 0x7fa335b8b010 dev 0x7fa335b8b010 equal? 1

test_hip_host.cc:
#include <hip/hip_runtime.h>

#include <cassert>

int main() {
  size_t bytes = 1024 * 1024;
  void *host_buf = malloc(bytes);
  assert(host_buf);

  hipError_t ok = hipHostRegister(host_buf, bytes, hipHostRegisterDefault);
  assert(ok == HIP_SUCCESS);

  void *dev_ptr = NULL;
  ok = hipHostGetDevicePointer(&dev_ptr, host_buf, 0);
  assert(ok == HIP_SUCCESS);

  printf("host %p dev %p equal? %d\n", host_buf, dev_ptr, host_buf == dev_ptr);
}

@mariodirenzo https://gitlab.com/StanfordLegion/legion/-/merge_requests/1155 has been merged, please try this in latest master.

Works with me. Thanks for fixing this issue


Treat external name services pointing to k8s as standard internal services

Describe the feature request
The following is a pattern we observed in several enterprise environments (good or bad is a different question, but this is an existing k8s cluster without Istio):
Context: Users have several environments in the same cluster. (e.g., prod-uat in ns1, ns2, ns3.. and prod-public in ns4, ns5, ns6). As part of the standard 12 factor design, all hostname references are externalized in the config file. E.g., if a productpage service in ns1 calls details in ns2, the location of the details service is externalized in app-specific config files like this DETAILS_SERVICE=details.ns2.svc.cluster.local.
When this application is promoted from prod-uat to prod-public, users change all the configs in their applications to point to the services in the new namespaces, i.e. DETAILS_SERVICE=details.ns5.svc.cluster.local .
Problem: It seems the practice of embedding the exact location of the target service into application config files has resulted in a lot of outages and unnecessary complexity (one customer reported about 500+ config files per app that defined such env specific mappings!) as they have several cross namespace interactions across their fleet.
Solution adopted by the end user: What users have started doing is create an ExternalName services for all the cross namespace dependencies. For example,
apiVersion: v1
kind: Service
metadata:
  name: details
spec:
  type: ExternalName
  externalName: details.ns3.svc.cluster.local

so that the configuration for all consumers of this details service from ns1 can be DETAILS_SERVICE=details. When the application is promoted from uat to prod-public, there is no change to application configuration whatsoever. Only the external name services in each namespace have to be updated.
# in prod-public
apiVersion: v1
kind: Service
metadata:
  name: details
spec:
  type: ExternalName
  externalName: details.ns5.svc.cluster.local

How does it pertain to Istio: Unfortunately, with this pattern, we end up treating the external name services as external services. Or at the very least, we end up using the externalName as the service instance for this service rather than using all the pod IPs. As a result, mTLS to the externalName service now requires the end user to explicitly declare a destinationRule, defeating the purpose of auto-mTLS. Same applies to things like circuit breakers, subsets, etc.
what can we do:  We cannot solve this generically across service entries (with location mesh_internal) and kubernetes services. But we can certainly solve it within the context of kubernetes. We need to determine how though (esp when the user also creates configs for both services!)
cc @howardjohn / @ramaraochavali / @hzxuzhonghu / @diemtvu / @incfly
Describe alternatives you've considered
Additional context

This seems just a normal traffic splitting problem right? And the reason VirtualService/DestianationRule can't work, is it because customers staging/prod division are across namespaces, and our API addressing & selection by host does not work well with that?
If that's the reason, will hierarchical namespaces be relevant?

	// ServiceTypeExternalName means a service consists of only a reference to
	// an external name that kubedns or equivalent will return as a CNAME
	// record, with no exposing or proxying of any pods involved.
	ServiceTypeExternalName ServiceType = "ExternalName"

https://kubernetes.io/docs/concepts/services-networking/service/#externalname
It is not encouraged to use like this.  And also the tricky point is we have no way to know if this is an internal service wrapper.

Can’t we know by looking at the hostname in the external service ? If it points to a k8s service then we treat it as internal. If not, we treat it as external.

There is no explicit difference between external and cluster service domain. Normally, internal service can be accessed with FQDN(svcName.namespace.svc.cluster.local), however it can be accessed by ``svcName.namespace.svcor evensvcName` in some case.


fix timezone bug when persisting *gtime.Time to db #1714

gdb test succeeded on my Mac.

Codecov Report

Merging #1728 (364821d) into master (52d8371) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

:exclamation: Current head 364821d differs from pull request most recent head 36009b7. Consider uploading reports for the commit 36009b7 to get more accurate results

@@            Coverage Diff             @@
##           master    #1728      +/-   ##
==========================================
- Coverage   71.27%   71.24%   -0.04%
==========================================
  Files         452      452
  Lines       43310    43310
==========================================
- Hits        30869    30856      -13
- Misses      10466    10477      +11
- Partials     1975     1977       +2

Flag
Coverage Δ

go-1.15
?

go-1.16
?

go-1.17
71.24% <100.00%> (+0.03%)
:arrow_up:

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

Impacted Files
Coverage Δ

database/gdb/gdb_func.go
86.15% <100.00%> (ø)

os/gspath/gspath_cache.go
84.21% <0.00%> (-10.53%)
:arrow_down:

net/gtcp/gtcp_pool.go
34.09% <0.00%> (-4.55%)
:arrow_down:

os/glog/glog_logger_rotate.go
65.85% <0.00%> (-1.47%)
:arrow_down:

container/gtree/gtree_avltree.go
95.40% <0.00%> (-0.58%)
:arrow_down:

database/gdb/gdb_driver_mysql.go
64.86% <0.00%> (+2.70%)
:arrow_up:

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 52d8371...36009b7. Read the comment docs.


How can I get this program on mobile?

How can I get this program on mobile?
I want to use this program in an ios or android web browser, but I get an error.
Is there any way to improve it?

Currently ''WebGL is not supported in current Android webview", so this can't be viewed on Android


Skill Dialog processes incoming activities from the skill while still loaded (dotnet)

See parent

Moving this to R11

We will not be addressing at the moment.


How to reproduce the result？

Thank you for your awesome work, I did a simple test and it didn't work very well. What are the possible reasons?

Thank you for your feedback. When we run the dragging, we use Stable Diffusion v1.5 and train lora before the dragging. We do observed some distortion in image if lora is not trained or using other version of Stable Diffusion while lora parameters remian unchanged. Maybe this is the reason behind this distortion?


Show transaction guards in Settings only for Safes >=1.3.0

What it solves
Resolves #2848
How this PR fixes it
Avoid showing guard section in Settings for safes with a smart contract version lower than v1.3.0

Looks good to me:
https://pr2853--safereact.review.gnosisdev.com/rinkeby/app/#/
Safe 1.0.0: 0xE554dd1EdFbd8AF5bfADd2230B90f7b9Be871c8E
Safe 1.1.1: 0x9913B9180C20C6b0F21B6480c84422F6ebc4B808
Safe 1.3.0: 0x612DcD86cfa8AeA16C3B3f9E204694B51466F0F6


investigate why github actions do not work (maven build issues)

https://github.com/javaSlang/map2pojo/pull/44


🐛 Bug Report: TechDocs reloads current page before changing to new page

📜 Description
When viewing a TechDocs page, often (but not always) when clicking on another page from the techdocs navigation bar, it will first reload the current page before then loading the new page.
I was not able to repro this issue when loading techdocs locally, but when loading techdocs from an AWS S3 bucket this is something that I am seeing happen more often than not.
👍 Expected behavior
New document page should load without first reloading the current page
👎 Actual Behavior with Screenshots
Current techdoc page often is reloaded before the new page is loaded
👟 Reproduction steps

Load techdocs page for an entitiy which contains more than one techdoc page tied together through a navigation bar
Load another page for the same entity by clicking on a link in the navigation bar
Watch as current page briefly reloads (and quickly is replaced with the proper page)

📃 Provide the context for the Bug.
Techdocs are being loaded from an S3 bucket
🖥 Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?

[X] I checked and didn't find similar issue

🏢 Have you read the Code of Conduct?

[X] I have read the Code of Conduct

Are you willing to submit PR?
Yes I am willing to submit a PR!

Note: we were able to fix this by making these changes to the TechDocs plugin, but I'm uncertain if this is a proper approach or if it should be handled in another way:
`
+++ b/plugins/techdocs/src/reader/components/TechDocsReaderPageContent/dom.tsx
@@ -255,31 +255,33 @@ export const useTechDocsReaderDom = (
let shouldReplaceContent = true;
 // Pre-render

preRender(rawPage, path).then(async preTransformedDomElement => {

if (state === 'CONTENT_FRESH') {

 preRender(rawPage, path).then(async preTransformedDomElement => {

+++ b/plugins/techdocs/src/reader/components/useReaderState.ts

if (path !== state.path && !state.contentLoading) {
dispatch({ type: 'contentLoading' });
}
`


Added Troy

@jessepollak It looks like the build system is never starting so its not allowing PR's to be merged.  Can you disable the builds or at least the requirement that it has to pass before merging?


The fix is already merged.