When creating a project that is loaded by VS2019 or VS2022, it will fail loading in Ionide until bin and obj dirs are deleted

Describe the bug
When creating a project that is loaded by VS2019 or VS2022, it will fail loading in Ionide until bin and obj dirs are deleted.
So, you load the proj for the first time in either VS's. They create bin and obj dirs. You then load up VSCode, and ionide won't be able to load it until those bin and obj dirs are deleted and recreated by VSCode
Steps to reproduce

dotnet new classlib -n Whatever -o Whereever -lang f#
Open in VS (19/22)
Open in VSCode (watch it fail)
Delete bin and obj dirs
Now works in VSCode (just loads, or restart VSCode)

Expected behaviour
Should load
Error
Error:
Build started. Project "DevOpsCentre.Shared.fsproj" (ResolveAssemblyReferencesDesignTime;ResolveProjectReferencesDesignTime;ResolvePackageDependenciesDesignTime;_GenerateCompileDependencyCache;_ComputeNonExistentFileProperty;CoreCompile target(s)): Target "AssignProjectConfiguration" skipped, due to false condition; ('$(CurrentSolutionConfigurationContents)' != '' or '@(ProjectReference)'!='') was evaluated as ('' != '' or ''!=''). Target "AddWindowsSdkKnownFrameworkReferences" skipped, due to false condition; ('$(TargetFrameworkIdentifier)' == '.NETCoreApp' And '$(TargetPlatformIdentifier)' == 'Windows') was evaluated as ('.NETCoreApp' == '.NETCoreApp' And '' == 'Windows'). Target "_NormalizeTargetPlatformVersion" skipped, due to false condition; ('$(TargetPlatformVersion)' != '' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp' and $([MSBuild]::VersionGreaterThanOrEquals($(TargetFrameworkVersion), 5.0)) and ('$(Language)' != 'C++' or '$(_EnablePackageReferencesInVCProjects)' == 'true')) was evaluated as ('' != '' and '.NETCoreApp' == '.NETCoreApp' and True and ('F#' != 'C++' or '' == 'true')). Target "_CheckForLanguageAndFeatureCombinationSupport" in file "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.RuntimeIdentifierInference.targets" from project "##REDACTED##\devops-centre\services\shared\code\DevOpsCentre.Shared.fsproj" (target "ProcessFrameworkReferences" depends on it):
Task "NETSdkError" skipped, due to false condition; (('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true') and $(OutputType) != 'library' and '$(TargetFrameworkIdentifier)' == '.NETCoreApp') was evaluated as (('F#' == 'C++' and '' != 'true') and Library != 'library' and '.NETCoreApp' == '.NETCoreApp').
Task "NETSdkError" skipped, due to false condition; (('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true') and $(EnableComHosting) == 'true') was evaluated as (('F#' == 'C++' and '' != 'true') and == 'true').
Task "NETSdkError" skipped, due to false condition; (('$(Language)' == 'C++' and '$(_EnablePackageReferencesInVCProjects)' != 'true') and $(SelfContained) == 'true') was evaluated as (('F#' == 'C++' and '' != 'true') and == 'true'). Done building target "_CheckForLanguageAndFeatureCombinationSupport" in project "DevOpsCentre.Shared.fsproj". Target "UpdateAspNetToFrameworkReference" in file "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.Shared.targets" from project "##REDACTED##\devops-centre\services\shared\code\DevOpsCentre.Shared.fsproj" (target "ApplyImplicitVersions" depends on it): Using "CheckIfPackageReferenceShouldBeFrameworkReference" task from assembly "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\..\tools\net6.0\Microsoft.NET.Build.Tasks.dll".
Task "CheckIfPackageReferenceShouldBeFrameworkReference" Done executing task "CheckIfPackageReferenceShouldBeFrameworkReference".
Task "NETSdkError" skipped, due to false condition; ('$(_ShouldRemoveAspNetCoreAll)' == 'true') was evaluated as ('False' == 'true').
Task "CheckIfPackageReferenceShouldBeFrameworkReference" Done executing task "CheckIfPackageReferenceShouldBeFrameworkReference".
Task "NETSdkWarning" skipped, due to false condition; ('$(_ShouldRemoveAspNetCoreApp)' == 'true') was evaluated as ('False' == 'true'). Done building target "UpdateAspNetToFrameworkReference" in project "DevOpsCentre.Shared.fsproj". Target "IncludeTargetingPackReference" skipped, due to false condition; ('$(TargetFrameworkMoniker)' != '' and '$(TargetFrameworkIdentifier)' == '.NETFramework' and '$(AutomaticallyUseReferenceAssemblyPackages)' == 'true') was evaluated as ('.NETCoreApp,Version=v6.0' != '' and '.NETCoreApp' == '.NETFramework' and 'true' == 'true'). Target "CheckForImplicitPackageReferenceOverrides" in file "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.Shared.targets" from project "##REDACTED##\devops-centre\services\shared\code\DevOpsCentre.Shared.fsproj" (target "ApplyImplicitVersions" depends on it): Using "CheckForImplicitPackageReferenceOverrides" task from assembly "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\..\tools\net6.0\Microsoft.NET.Build.Tasks.dll".
Task "CheckForImplicitPackageReferenceOverrides" Done executing task "CheckForImplicitPackageReferenceOverrides". Done building target "CheckForImplicitPackageReferenceOverrides" in project "DevOpsCentre.Shared.fsproj". Target "ApplyImplicitVersions" in file "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.DefaultItems.Shared.targets" from project "##REDACTED##\devops-centre\services\shared\code\DevOpsCentre.Shared.fsproj" (target "ProcessFrameworkReferences" depends on it): Using "ApplyImplicitVersions" task from assembly "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\..\tools\net6.0\Microsoft.NET.Build.Tasks.dll".
Task "ApplyImplicitVersions" Done executing task "ApplyImplicitVersions". Done building target "ApplyImplicitVersions" in project "DevOpsCentre.Shared.fsproj". Target "ProcessFrameworkReferences" in file "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.FrameworkReferenceResolution.targets" from project "##REDACTED##\devops-centre\services\shared\code\DevOpsCentre.Shared.fsproj" (target "ResolvePackageAssets" depends on it): Using "CheckForDuplicateFrameworkReferences" task from assembly "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\..\tools\net6.0\Microsoft.NET.Build.Tasks.dll".
Task "CheckForDuplicateFrameworkReferences" Done executing task "CheckForDuplicateFrameworkReferences". Using "ProcessFrameworkReferences" task from assembly "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\..\tools\net6.0\Microsoft.NET.Build.Tasks.dll".
Task "ProcessFrameworkReferences" Done executing task "ProcessFrameworkReferences". Using "ResolveAppHosts" task from assembly "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\..\tools\net6.0\Microsoft.NET.Build.Tasks.dll".
Task "ResolveAppHosts" Done executing task "ResolveAppHosts". Done building target "ProcessFrameworkReferences" in project "DevOpsCentre.Shared.fsproj". Target "_DefaultMicrosoftNETPlatformLibrary" in file "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.Shared.targets" from project "##REDACTED##\devops-centre\services\shared\code\DevOpsCentre.Shared.fsproj" (target "ResolvePackageAssets" depends on it): Done building target "_DefaultMicrosoftNETPlatformLibrary" in project "DevOpsCentre.Shared.fsproj". Target "_ComputePackageReferencePublish" in file "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.NET.Sdk.Shared.targets" from project "##REDACTED##\devops-centre\services\shared\code\DevOpsCentre.Shared.fsproj" (target "ResolvePackageAssets" depends on it): Done building target "_ComputePackageReferencePublish" in project "DevOpsCentre.Shared.fsproj". Target "_ResolveCompilerVersion" skipped, due to false condition; ('$(CompilerApiVersion)' == '' And ('$(Language)' == 'C#' Or '$(Language)' == 'VB') And Exists('$(RoslynTargetsPath)\Microsoft.Build.Tasks.CodeAnalysis.dll')) was evaluated as ('' == '' And ('F#' == 'C#' Or 'F#' == 'VB') And Exists('C:\Program Files\dotnet\sdk\6.0.100\Roslyn\Microsoft.Build.Tasks.CodeAnalysis.dll')). Target "ResolvePackageAssets" in file "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\Microsoft.PackageDependencyResolution.targets" from project "##REDACTED##\devops-centre\services\shared\code\DevOpsCentre.Shared.fsproj" (target "ResolveLockFileReferences" depends on it): Using "ResolvePackageAssets" task from assembly "C:\Program Files\dotnet\sdk\6.0.100\Sdks\Microsoft.NET.Sdk\targets\..\tools\net6.0\Microsoft.NET.Build.Tasks.dll".
Task "ResolvePackageAssets" Unable to find package FSharp.Core with version (>= 6.0.2) - Found 47 version(s) in nuget.org [ Nearest version: 6.0.1 ] Done executing task "ResolvePackageAssets" -- FAILED.
Done building target "ResolvePackageAssets" in project "DevOpsCentre.Shared.fsproj" -- FAILED.
Done building project "DevOpsCentre.Shared.fsproj" -- FAILED.
Build FAILED.

Machine info

OS: Windows
.NET SDK version: 6.0.100
Ionide version: 5.10.1 - 20.11.2021

Do you have vs2022 previews installed? Your problem is that the project file is requesting 6.0.2 of Fsharp.core, which doesn't exist, and that version is known to be incorrectly requested by the version of the SDK bundled with 2022 previews at the moment.

yeah it's that


Tasks stuck in processing state, lots of tasks

Describe the bug
I've run an indexing job of ~115k docs on meilisearch , now it has ~76k successfully indexed and
~35k tasks of type documentAdditionOrUpdate (in processing state)
it has been a day since it's stuck
indexing job took ~3 hours to complete
To Reproduce
Not an error, tasks are just stuck in processing state
Expected behavior
35k tasks should be processed swiftly like the previous 76k tasks
Screenshots
Index in indexing state for 2 days

Task queue have tasks from yesterday that are still processing but finished

task details
{
  "uid": 34856,
  "indexUid": "Vector_index",
  "status": "processing",
  "type": "documentAdditionOrUpdate",
  "canceledBy": null,
  "details": {
    "receivedDocuments": 4,
    "indexedDocuments": null
  },
  "error": null,
  "duration": null,
  "enqueuedAt": "2024-06-26T06:09:45.356074878Z",
  "startedAt": "2024-06-27T11:00:45.271060018Z",
  "finishedAt": null
}

Note: `startedAt` timestamp is updated to the current timestamp, i'm not sure why

Meilisearch version:
v1.8 with vectorStore enabled

Hey @0xMostafa, is it possible that meilisearch is crashing and restarting automatically?
That would make it try to process the same batch repeatedly; this can typically happen when you don't have enough RAM to run the indexing process you're trying to do.

I have also encountered the same problem. After exiting abnormally, asynchronous tasks are still being processed and cannot be completed. Shouldn't they be processed in batches to control the number of concurrent executions

Hello here
As @irevoire asked, do you see Meilisearch crashing and restarting?
Do you have the same issue with v1.9.0? Also, do you have the same issue without vectorStore if you tried?
Do you have a reproducible example, or an access to machine to share (in private) to help us debug this?

when generating documents in large quantities，meilisearch exit and restart
VectorStore is default in v1.9.0 run at docker
can provide machines or files

when generating documents in large quantities，meilisearch exit and restart

What's the resources of your machines? (RAM CPU).
It's probably a lack of RAM.
You can also try with this option: --max-indexing-memory 0
Let me know if it helps

4 cores 8g、Will restarting the task not continue if it exits abnormally during task execution? Will a restart that has already been queued become in progress and still not execute?

Will restarting the task not continue if it exits abnormally during task execution? Will a restart that has already been queued become in progress and still not execute?

I'm not sure I get your question.
But when restarting, Meilisearch will try to process the last processing task again and again. So can be stuck if there is a lack of resources.
Did you try to increase the RAM? Did you try with --max-indexing-memory 0

There are many unexecuted tasks piled up, which should be due to insufficient memory or other reasons. The exported program exited, but after restarting, it should continue with the unexecuted tasks, right

As you said, the last task was executed, but the nearly a thousand tasks piled up earlier did not move and remained stuck. Can we improve the number of task executions to control memory and concurrency, and can we restore execution of failed or abnormal tasks

but the nearly a thousand tasks piled up earlier did not move and remained stuck

What is stuck? What are their status? Use this route: https://www.meilisearch.com/docs/reference/api/tasks#get-tasks
If Meiliseach crashes and restart, it will try to re-process the current. But if the tasks is too big for the machine resources, it will crash in loop again and again.
Did you try to increase the RAM? Did you try with --max-indexing-memory 0?
What is the size of your machine (RAM and CPU)?

--max-indexing-memory 0 Parameters have been added、Data of approximately 100000 * 1300 tasks、finish 300+、other processing、The task queue should not be executed together with quantity control, otherwise it will never finish and crash

Can you try to reduce the number of tasks process at the same time:
https://github.com/orgs/meilisearch/discussions/713
with --experimental-max-number-of-batched-tasks 1 -> to process tasks one by one

Thank you, I'm looking forward to the official version of the parameter to be added to https://www.meilisearch.com/docs/learn/self_hosted/configure_meilisearch_at_launch This is a very useful tool compared to controlling memory  --max-indexing-memory.

Yes sorry, I should have suggested it first! I did not realized the batch queue was too big!
I opened an issue here: https://github.com/meilisearch/documentation/issues/2958

I close this issue since it seems to be fixed! Let me know if it's not


Attempt to fixup Github URLs

There are currently 39 geofeeds that are hosted on Github, but have the URL incorrectly set on their prefixes. This attempts to fixup these URLs so that those prefixes can be ingested. While the ideal solution would be for network owners to fix this themselves, this feels like a fairly easy fix that covers multiple network owners.

Thanks for reviewing this. Do you have suggestions for alternative names for this method?
I noticed that there were messages when HTML was encountered, so I thought that outputting logs when transforming the URL would be ok. Would you prefer that I remove the log message altogether?

Dear @andrewachen,
I really appreciate code contributions. However, I'm not going to merge this PR.
This tool has two main goals:

Provide a working implementation of RFC9092;
Provide a tool to tests geofeed setup.

By tampering with URLs to overcome operators' setup errors, I would be compromising both objectives (including breaking the validation process). Additionally, I would be further encouraging misuse. If operators direct whois entries to HTML pages instead of CSV files, contrary to what is prescribed by the RFC, it's likely they are not interested in resolving their geolocation issues.

@massimocandela that's very fair feedback, thank you. I noticed that there are command line arguments -u and -k that retain geofeeds that are technically invalid. Would this change be more acceptable if it were opt-in behind a flag?


Input is cleared when loses focus, if field value provided with jQuery.val(val)

I have a dataset of cities and if the user has geolocation enabled, I populate the city field with a city name from Gmaps Geocode results.
When the city field loses focus, the field value is cleared.
Should I set the field value some other way than $('.selector').val(currentCity); ?

thx @sandebert and @traone! I ran into the same 'issue'


Precompling Error: UndefVarError: PreallocatedLinearOperator

When I precompile the pkg, it raise ERROR: LoadError: LoadError: UndefVarError: PreallocatedLinearOperator not defined. I guess this have something to do with function approxcholSolver(P::PreallocatedLinearOperator, la::AbstractArray; tol::Real=1e-6, maxits=300, verbose=0) in solvers.jl?
Version info:

@Alim-faraji can you take a look when you get a chance? Are thkngs working on Julia 1.6 to our knowledge?
@AlalalalakiJust to ensure that you did an ] instantiate to have the latest versions

It should work well on Julia 1.6.
I believe the error is due to inconsistencies with newer version of LinearOperators.jl. But it shouldn't be a problem if you don't update the packages. @Alalalalaki can you specify steps you take?

@Alim-faraji  we need a bound on that package in the project file if it isn't compatible with the newer versions?

@Alim-faraji @jlperla In case I messed up my environment, I completely reinstalled the Julia1.6. And then I run ] dev https://github.com/HighDimensionalEconLab/VarianceComponentsHDFE.jl and ] instantiate. Again I get the same error.

@Alim-faraji we need a bound on that package in the project file if it isn't compatible with the newer versions?

@jlperla I'm still not sure the issue is with the package inconsistencies. I look into that.

@Alalalalaki Try again. There shouldn't be any problems anymore.

@Alim-faraji Yes it works now. Thanks for fast response.

I'm closing this issue.


Ghost cannot read papers

Earlier it was possible via verb, now there is no verb for ghosts.

I did some debugging and found the code piece that is causing this.
Here is some kind of stack trace:
We start in ActivateableUISystem.cs

which leads to SharedUserInterfaceSystem.cs

BoundUserInterfaceMessageAttempt leads to SharedInteractionSystem.cs

which calls CanInteract(...)

This function returns true for Mobs or Aghosts, but false for ghosts.
This is already checked earlier in ActivateableUISystem.cs:

Simply removing the second check would probably break more stuff and I have no idea how to properly fix this, but I hope this will safe someone else some time.

Ok, I came up with something that works but looks super hacky in my opinion. Maybe someone else finds a better solution with this as a starting point:
https://github.com/slarticodefast/space-station-14/commit/e5b750a0b5bb80ae51305cfd3f674263a9b5fd7b

The code is currently hard to understand, so it's a good time to write out the cases in which a player can interact with an ActivateableUI and what the end result should be.
If not CanInteract
    Deny interaction
If not in the same container
    Deny interaction
If IsAdmin
    Allow interaction always
If not in range unobstructed
    Deny interaction

If ActivatableUIComponent does not exist
    This was not triggered by an activatable UI so there should be neither deny or allow.
    Return exit early
If user is a ghost and the ui allows ghosts to view
    Allow interaction
If UI requires hands and user does not have hands
    Deny interaction

And sorting it by priority
If ActivatableUIComponent does not exist
    This was not triggered by an activatable UI so there should be neither deny or allow.
    Return exit early

If IsAdmin
    Return Allow interaction always
If user is a ghost and the ui allows ghosts to view
    Return Allow interaction

If not CanInteract
    Deny interaction
// Slighly higher because the container and in range check are slightly more expensive
If UI requires hands and user does not have hands
    Deny interaction
If not in the same container
    Deny interaction
If not in range unobstructed
    Deny interaction


Minor typo

In readme,
"Findins of ACL"  should be "Findings of ACL"
Thank you

The typo is fixed now.
Thanks!


Preview thumbnail is not resized when player is resized

Expected behaviour
The preview thumbnail which is displayed while scrubbing is resized on change of player size.
Actual behaviour
The preview thumbnail doesn't change it's size.

Steps to reproduce
Pause the video, scrub to an arbitrary position and press fullscreen.
Environment

Browser: Chromium 87 and Firefox 83
Operating System: Linux

Link to where the bug is happening
e. g. https://plyr.io/

I'm struggling to reproduce this one. For me on Chrome 87 and Firefox 85, the thumbnails are full height and width.

I'm not sure what happens. I have a blurry upscaled preview image after pausing and then moving the slider. Sometimes it disappears very fast and the video looks crisp, sometimes the blurry thumbnail stays. If it is still there on a window resize, the bug occurs. It seems that the blurry image stays if I go to a complete new part of the video. If I have viewed a part close to the new position already, the error/the blurry preview image is not as likely to occur.

I'm not sure what happens. I have a blurry upscaled preview image after pausing and then moving the slider. Sometimes it disappears very fast and the video looks crisp, sometimes the blurry thumbnail stays. If it is still there on a window resize, the bug occurs. It seems that the blurry image stays if I go to a complete new part of the video. If I have viewed a part close to the new position already, the error/the blurry preview image is not as likely to occur.

I think I am running into the same thing, I will be able to push up an example.


Add 19h 37h to idecdr; do not interpolate pole hole by default for idecdr

these commits update the add_temporal_interp branch


pin scipy version in doc environment

This should fix our doc build.

[x] Closes #7434

LGTM. Merging to enable PRs during the Pangeo Hackathon at AMS.
Thanks @jhamman


Remove mapbox tile server support

This removes some internal definitions and special cases for Mapbox styles from the code. Mapbox is already basically not supported but this still remains in the codebase.

@nvanfleet Could you fix the tests for the MR?
@ntadej How do you feel about this now?

I still think that we should keep mapbox support as long as it works. Maybe we could make it as an optional plugin?

IMO I feel like all these special cases should be external to the repo and somehow configured. IMO it's better to have a lot most simple maps codebase. But if there are users who use this I get it, I just didn't think anyone using Maplibre would be using Mapbox since I presumed they'd be using Mapbox 6.x or something since they are presumably paying

I think the next time we release a major version all vendor-specific code should be removed. Such code should not be maintained in the MapLibre Organization. Simultaneously, we should make it easy for vendors to plug in their custom logic for billing.

Completely agree @wipfli

Fully aligned @wipfli!

I agree. The main motivation to
keep basic Mapbox support are opensource users on platforms that Mapbox does not support anymore.


Bundling non-ts modules

I can't get a text module to get included in the output bundle.
Minimal repro case attached. The relevant code is
import text from 'text.dat'
console.log( text )

Running this javascript code in my web browser I get
Error: Fetch error: 404 Not Found
  Instantiating http://localhost:8082/text.dat
  Loading http://localhost:8082/main
  Loading main

And looking into bundle.js it seems that it assumes text.dat to be in the public folder as a separate file, however typescript does not copy it from the src folder.
What am I missing? What is the right way to use text modules and output bundles at the same time?
tstextassets.zip

You need a bundler (like Webpack, Rollup, or browserify) or a runtime loader (like Require.js, System.js), neither which TypeScript provides. StackOverflow may be able to assist better.

You need a bundler (like Webpack, Rollup, or browserify) or a runtime loader (like Require.js, System.js), neither which TypeScript provides. StackOverflow may be able to assist better.

What would that do? Copy the text module to the output folder? Is there no way to include the text module content in the typescript output .js?

Closed without solution and possibility to reopen. Great support...


[FEATURE REQUEST] Ability to upload local images through swatch service

Hi,
I was wondering if you can add support for internal paths like /config/dir for the Swatch service image_url parameter.

I'll probably just add a second parameter, but yeah I believe that should be doable

It looks like a direct path in HomeAssistant is not allowed as the integrations don't have direct access to the file structure. But passing something like media-source://media_source/local/audio/doorbell.mp3 like how the media player does it should already work. Will keep digging to see if this is possible.

It looks like a direct path in HomeAssistant is not allowed as the integrations don't have direct access to the file structure. But passing something like media-source://media_source/local/audio/doorbell.mp3 like how the media player does it should already work. Will keep digging to see if this is possible.

Is this the /media folder? /local usually means the /config/www folder which is unsafe for storing anything sensitive since it's accessible w/o authentication. The /config/www folder can be used in the form of a URL for image_url if that's what you meant.

It's the /media and I added /local/audio. It's not the www folder. Main point is I'm not sure the integration has access to the file system directly and may be required to use a url like that. Will have to see for sure though

So I tried with various forms and they all resulted in one sort of error:
I have a file in the /media dir called black.jpg
service: swatch.detect_object
data:
  image_url: media-source://media_source/black.jpg
target:
  entity_id: binary_sensor.door_stop_sign

ERROR:swatch.http:Exception on /api/garage_cam/detect [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2077, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1525, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1523, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1509, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/opt/swatch/swatch/http.py", line 81, in detect_camera_frame
    result: Dict[str, Any] = current_app.image_processor.detect(camera_name, image_url)  # type: ignore[attr-defined]
  File "/opt/swatch/swatch/image.py", line 77, in detect
    imgBytes = requests.get(image_url).content
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 529, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 639, in send
    adapter = self.get_adapter(url=request.url)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 732, in get_adapter
    raise InvalidSchema("No connection adapters were found for {!r}".format(url))
requests.exceptions.InvalidSchema: No connection adapters were found for 'media-source://media_source/black.jpg'

service: swatch.detect_object
data:
  image_url: /media/black.jpg
target:
  entity_id: binary_sensor.door_stop_sign

ERROR:swatch.http:Exception on /api/garage_cam/detect [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2077, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1525, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1523, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1509, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/opt/swatch/swatch/http.py", line 81, in detect_camera_frame
    result: Dict[str, Any] = current_app.image_processor.detect(camera_name, image_url)  # type: ignore[attr-defined]
  File "/opt/swatch/swatch/image.py", line 77, in detect
    imgBytes = requests.get(image_url).content
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 75, in get
    return request('get', url, params=params, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 515, in request
    prep = self.prepare_request(req)
  File "/usr/local/lib/python3.10/site-packages/requests/sessions.py", line 443, in prepare_request
    p.prepare(
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 318, in prepare
    self.prepare_url(url, params)
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 392, in prepare_url
    raise MissingSchema(error)
requests.exceptions.MissingSchema: Invalid URL '/media/black.jpg': No scheme supplied. Perhaps you meant http:///media/black.jpg?

service: swatch.detect_object
data:
  image_url: <HA IP>/media/black.jpg
target:
  entity_id: binary_sensor.door_stop_sign

ERROR:swatch.http:Exception on /api/garage_cam/detect [POST]
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 2077, in wsgi_app
    response = self.full_dispatch_request()
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1525, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1523, in full_dispatch_request
    rv = self.dispatch_request()
  File "/usr/local/lib/python3.10/site-packages/flask/app.py", line 1509, in dispatch_request
    return self.ensure_sync(self.view_functions[rule.endpoint])(**req.view_args)
  File "/opt/swatch/swatch/http.py", line 81, in detect_camera_frame
    result: Dict[str, Any] = current_app.image_processor.detect(camera_name, image_url)  # type: ignore[attr-defined]
  File "/opt/swatch/swatch/image.py", line 82, in detect
    if img.size > 0:
AttributeError: 'NoneType' object has no attribute 'size'

I think this last one is expected as /media is inaccessible from URLs.

Thanks, this is helpful, either way those crashes should not be occurring so I will fix those. I will ask the HA devs and see if there is a way for an integration to get the images

Talked with the devs and unfortunately it seems from the integration I'm only able to get images from the www folder which as you pointed out is not secure. Hopefully this will be addressed in a future HA update but for the time being I am going to close this as it doesn't seem I can do anything about it.

Talked with the devs and unfortunately it seems from the integration I'm only able to get images from the www folder which as you pointed out is not secure. Hopefully this will be addressed in a future HA update but for the time being I am going to close this as it doesn't seem I can do anything about it.

Thanks. So how did you get the /media folder to work?

I haven't gotten it to work for a third party integration, only the first party Play Media action is what I was referencing, wondering if that would be possible


Pre-heat request returns "null" and manager log shows "x509: certificate signed by unknown authority"

Bug report:
Command:
curl --location --request POST 'http://x.y.z.162:8080/api/v1/jobs' --header 'Content-Type: application/json' --data-raw '{"type": "preheat","args": {"type": "image","url": "https://registry.com/v2/project/repo/image/manifests/latest"}}'
Error in the log -> "x509: certificate signed by unknown authority"
Expected behavior:

How to reproduce it:

Environment:

Dragonfly version: alpha.7
OS:
Kernel (e.g. uname -a):
Others:

Logs:
[manager_gin.log]

Can you give me all the logs including core etc.

manager core log:
manager_core.log

{"errors":[{"code":"MANIFEST_UNKNOWN","message":"OCI manifest found, but accept header does not support OCI manifests"}]}

This has not been resolved. Looks like there is no support of ORAS image format in pre-heat?
curl --location --request POST 'http://xyz.com/api/v1/jobs' --header 'Content-Type: application/json' --data-raw '{"type": "preheat","args": {"type": "image","url": "https://registry.com/v2/project/repo/manifests/latest"}}'
{"message":"mediaType in manifest should be 'application/vnd.docker.distribution.manifest.v2+json' not ''"}

@gaius-qi

A manifest of the oras image looks like this.
{"schemaVersion":2,"config":{"mediaType":"application/vnd.unknown.config.v1+json","digest":"sha256:blablabla","size":2},"layers":[{"mediaType":"application/vnd.sylabs.sif.layer.v1.sif","digest":"sha256:blablablablalbla","size":1389015040,"annotations":{"org.opencontainers.image.title":"image:tag"}}]}


[VC] Add supercluster namespace resource reconciling framework

This change adds basic framework for super cluster namespace downward reconciler using the syncer resource plugin mechanism.
A formal ResourceRegister type is introduced to allow initializing different plugin groups (e.g., one for virtual cluster resources, and another one for super cluster resources) in the scheduler.

/lgtm
/approve


Add z-index to the root

I don't think this change should be merged, as it overrides a default and can break lots of other users that use this component. Instead, you should add this style using the className prop.
I recommend closing this PR.


Search in Collections

Q
A

Bug?
yes

New Feature?
no

Sulu Version
1.2.1

Browser Version
All (Chrome, Safari)

Actual Behavior
On smaller displays the search field within the collections is too small to place the cursor inside.
Expected Behavior
It would be good if a user could place the cursor in the search field.
Steps to Reproduce

Since the redesign of the media section there is no too small search field anymore, so I am closing this issue.


Restructure: This buildpack should require needed launch dependencies

Dot Net Background
There are three ways to run a dotnet core application

A framework dependent deployment, which is a .dll file that can be run on any platform with the command dotnet <app>.dll
A framework dependent executable, which is an executable binary file that can be invoked directly on the platform it was compiled for. It relies on framwork libraries that are shipped with the dotnet cli
A self contained binary which is a binary file that can be run without any dependencies.

Buildpack Background
The buildpack currently requires itself on build, and icu on launch.
This is problematic because this buildpack needs the dotnet-runtime, dotnet-sdk, and dotnet-aspnetcore dependencies on launch, and gets them by being in the same language families are other buildpacks that require them. We should explicitly require them when we need them.
Proposal
Requirements
In order to conform the the restructure rfc,
If it will run a framework dependent deployment it should

Require a version of the dotnet-runtime dependency on launch
Require a version of the dotnet-sdk dependency on launch.
Require the correct version of the dotent-aspentcore dependency on launch if it is needed. See logic here. Note that we will need to get the version from the proj file.
Require the node dependency on launch if it is necessary. See logic here.
Require the icu dependencies on launch if it is needed. See logic here.

Here is the current logic to determine if a framework dependent deployment exists.
If it will run a framework dependent executable it should

Require a version of the dotnet-runtime dependency on launch
Require the correct version of the dotent-aspentcore dependency on launch if it is needed. See logic here. Note that we will need to get the version from the proj file.
Require the node dependency on launch if it is necessary. See logic here.
Require the icu dependencies on launch if it is needed. See logic here.

Here is the existing logic to determine if a framework dependent executable exists
If it will run a self contained executable, it should.

Require the node dependency on launch if it is necessary. See logic here.
Require the icu dependencies on launch if it is needed. See logic here.

Start command
Also, the buildpack should set the start command based on the following conditions:

If a compiled dll is provided by the dotnet-publish buildpack, it should run the dll with the dotnet <app>.dll command

If a compiled dll is not provided, it should run the compiled executable directly.


Default filter locations

I think these changes should take care of https://github.com/spotbugs/spotbugs-gradle-plugin/issues/5. I am not fluent with the extension API though, so please double check that indeed the issue is fine and fixed without problems.

I'll close this PR because the conflict is not resolved for years.
please recreate PR if necessary.


Remove trailing empty line in copyright comment (part 12)

Next part of https://github.com/helidon-io/helidon/pull/5324

/trigger

@romain-grecourt There is some temporary problem ( I suppose). Can you trigger this build again, please?


Fix Typings

Most of the types were missing. Eslint found more than 150 errors. You probably have a problem with your eslint configuration. I fixed all linter errors.

Thanks


processSolutionAsync test fails randomly

There seems to be some flakiness in the processSolutionAsync tests. Different parts of the test set fails randomly (sometimes no failure, sometimes fails, sometimes fails on different tests, sometimes fails with different failure messages).
To reproduce, run tests locally. Sometimes processSolutionAsync test will fail, sometimes it will pass. The same is observed when submitting commits to GitHub and running tests through Travis.

Fixed in #547, I think.


[SPARK-15736][CORE][branch-1.6] Gracefully handle loss of DiskStore files

If an RDD partition is cached on disk and the DiskStore file is lost, then reads of that cached partition will fail and the missing partition is supposed to be recomputed by a new task attempt. In the current BlockManager implementation, however, the missing file does not trigger any metadata updates / does not invalidate the cache, so subsequent task attempts will be scheduled on the same executor and the doomed read will be repeatedly retried, leading to repeated task failures and eventually a total job failure.
In order to fix this problem, the executor with the missing file needs to properly mark the corresponding block as missing so that it stops advertising itself as a cache location for that block.
This patch fixes this bug and adds an end-to-end regression test (in FailureSuite) and a set of unit tests (in BlockManagerSuite).
This is a branch-1.6 backport of #13473.

/cc @andrewor14, this is the branch-1.6 backport of my other patch.

Test build #59889 has started for PR 13479 at commit 8f04720.

Test build #59889 has finished for PR 13479 at commit 8f04720.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/59889/
Test PASSed.

Merged build finished. Test PASSed.

Merging into 1.6.

can you delete branch


✨: Add TanstackQueryClientProvider

Codecov Report

Merging #49 (b755f1b) into main (d7ed2dd) will decrease coverage by 0.86%.
The diff coverage is 92.13%.

:exclamation: Current head b755f1b differs from pull request most recent head 81571d5. Consider uploading reports for the commit 81571d5 to get more accurate results

Additional details and impacted files

@@            Coverage Diff             @@
##             main      #49      +/-   ##
==========================================
- Coverage   98.82%   97.96%   -0.86%
==========================================
  Files          23       31       +8
  Lines         255      344      +89
  Branches       38       57      +19
==========================================
+ Hits          252      337      +85
- Misses          3        4       +1
- Partials        0        3       +3

Impacted Files
Coverage Δ

src/bases/message/BundledMessages.ts
100.00% <ø> (ø)

src/bases/async/TanstackQueryClientProvider.tsx
80.00% <80.00%> (ø)

src/bases/async/defaultGlobalErrorHandler.ts
90.24% <90.24%> (ø)

src/apps/app/errors/handleError.ts
100.00% <100.00%> (ø)

src/bases/async/defaultCache.ts
100.00% <100.00%> (ø)

...c/bases/async/defaultGlobalMutationErrorHandler.ts
100.00% <100.00%> (ø)

src/bases/async/defaultGlobalQueryErrorHandler.ts
100.00% <100.00%> (ø)

src/bases/async/defaultOptions.ts
100.00% <100.00%> (ø)

src/bases/message/loadBundledMessages.ts
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


Too simple?

Hi @AndrewCarterUK, I understand the basic pedagogical point of the tutorial to come based on this library. But in my opinion there is an important part of the template concept that is left aside: this lib illustrates the fact that "PHP is a template engine in itself", as it is often heard from PHP-non-lovers.
I think that one of the main purposes of using templates, is to abstract from the programming language (and possibly let a pure HTML+CSS designer produce the files safely).
What do you think?

Hi @gabrielzerbib -
The debate between going for native templates and ones abstracted from the language is an interesting one. These were the components I was using for inspiration:
http://symfony.com/doc/current/components/templating/introduction.html
http://platesphp.com/
https://github.com/PHPixie/Template
I'm assuming your referring to libraries such as your own, Twig, Blade, etc...
These are essentially two completely different types of templating library. One is for native PHP templates and the other requires it's own syntax and markup language. There are benefits to each approach, but you have got me thinking.
What if we could have the best of both worlds?
What if we could have a separate templating component, built on top of this engine, that converted templates from this:
{# parent('app::layout', ['title': 'Blog Post:'.title]) #}

{# block content #}

{{ escape(caps(title)) }}

			{# foreach(paragraphs as paragraph) #}

{{ escape(paragraph) }}

			{# endforeach #}

{# endblock #}

To the form understood by this templating engine:
<?php $this->parent('app::layout', ['title' => 'Blog Post: '.$title]); ?>

<?php $this->block('content', function () { ?>

<?=$this->escape($this->caps($title));?>

            <?php foreach($paragraphs as $paragraph): ?>

                    <?=$this->escape($paragraph);?>

            <?php endforeach; ?>

<?php }); ?>

This way:

PHP programmers wouldn't need to learn a new synax.
Designers wouldn't need to learn PHP
Templates could retain the benefits of the opcache (you lose this when you move away from native templates)

Thoughts?

:+1:  this sound like a novel approach, one we could market as an advantage, and one that indeed does satisfy both camps. The question remains how the conversion happens - is it a manual build process? Automatic on rendering and then cached? Is there a way to "optimize build" as in build once and keep in cache indefinitely, skipping future reparsing?

We could mimic the approach of the opcache. I believe this has levels depending on your performance requirements.
The two methods I'm aware of are requiring a manual cache flush (optimum performance) and performing timestamp checking (requires additional hard disk operation).


feature: support pull image with authentication

credential directory include something about registry
username/password storage.
add credential infomations in pull image process.
remove default proxy http://<IP_ADDRESS>/5678. if proxy server
not exist, image pull will get error.

Signed-off-by: Ace-Tang<EMAIL_ADDRESS>
Ⅰ. Describe what this PR did

credential directory include something about registry
username/password storage.
add credential infomations in pull image process.
remove default proxy http://<IP_ADDRESS>/5678. if proxy server
not exist, image pull will get error.

Ⅱ. Does this pull request fix one issue?

Ⅲ. Describe how you did it
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

/cc @YaoZengzeng @zeppp
If this way for pulling images with credentials is reasonable for CRI side implementation?

hi, @YaoZengzeng , could you help me with the ci fails in cri test, I have no idea if the fail is related with pulling images

Codecov Report

Merging #755 into master will decrease coverage by 0.01%.
The diff coverage is 9.41%.

@@            Coverage Diff             @@
##           master     #755      +/-   ##
==========================================
- Coverage   13.29%   13.28%   -0.02%
==========================================
  Files         100      103       +3
  Lines        6054     6181     +127
==========================================
+ Hits          805      821      +16
- Misses       5195     5302     +107
- Partials       54       58       +4

Impacted Files
Coverage Δ

daemon/mgr/image.go
35.86% <0%> (ø)
:arrow_up:

client/image.go
0% <0%> (ø)
:arrow_up:

client/request.go
0% <0%> (ø)
:arrow_up:

client/network.go
0% <0%> (ø)
:arrow_up:

ctrd/image.go
0% <0%> (ø)
:arrow_up:

client/volume.go
0% <0%> (ø)
:arrow_up:

daemon/mgr/cri.go
0% <0%> (ø)
:arrow_up:

credential/file_store.go
0% <0%> (ø)

cli/pull.go
0% <0%> (ø)
:arrow_up:

client/container.go
0% <0%> (ø)
:arrow_up:

... and 9 more

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 815a4f9...ba555dd. Read the comment docs.

LGTM


state chart : Stack overflow infinite recursion

hello, I have tried the state charts addon (which is a very cool addon by the way) but for some reason when I run the game, it gives me a "Stack overflow infinite recursion" error message and the game does not run, This is without attaching any script.

I hope for this problem to be solved however this is a pretty good package

At first glance it would look like you have some transitions that form an infinite loop, e.g.
State A:
   Transition To B (Immediately)

State B:
    Transition To A (Immediately)

So whenever you enter either state A or state B this will constantly ping-pong between those states with no end. Please check your transitions. If you cannot find any problem, please attach a sample scene here which reproduces the problem so I can have a look at it. Thanks!

Yes this was exactly the problem, now it works pretty well
thanks :)

Awesome! Thanks for reporting back!


hadoop: up sdk ver

Codecov Report
Patch coverage has no change and project coverage change: -0.07 :warning:

Comparison is base (6dc7090) 60.95% compared to head (ebcfd2e) 60.88%.

Additional details and impacted files
@@               Coverage Diff               @@
##           release-1.0    #3408      +/-   ##
===============================================
- Coverage        60.95%   60.88%   -0.07%
===============================================
  Files              138      138
  Lines            26141    26141
===============================================
- Hits             15934    15917      -17
- Misses            8294     8308      +14
- Partials          1913     1916       +3

see 7 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[T4A7][F09-B2] Xu Chen

Ready for review

Some comments added. Please close the PR after reading comments.


[SPARK-41209][PYTHON] Improve PySpark type inference in _merge_type method

What changes were proposed in this pull request?

This PR updates _merge_type method to allow upcast from any AtomicType to StringType similar to Cast.scala (https://github.com/apache/spark/blob/master/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/Cast.scala#L297).
This allows us to avoid TypeError errors in the case when it is okay to merge types.
For instance, examples below used to fail with TypeError "Can not merge type ... and ..." but pass with this patch.
spark.createDataFrame([[1.33, 1], ["2.1", 1]])

spark.createDataFrame([({1: True}, 1), ({"2": False}, 3)])

It also seems to be okay to merge map keys with different types but I would like to call it out explicitly.
Why are the changes needed?

This makes the behaviour between PySpark and Arrow execution more consistent. For example, arrow can handle type upcasts while PySpark cannot.
Does this PR introduce any user-facing change?

Users may notice that examples with schema inference in PySpark DataFrames, that used to fail due to TypeError, run successfully. This is due to extended type merge handling when one of the values is of StringType.
When merging AtomicType values with StringType values, the final merged type will be StringType. For example, a combination of double and string values in a column would be cast to StringType:
# Both values 1.33 and 2.1 will be cast to strings
spark.createDataFrame([[1.33, 1], ["2.1", 1]])

# Result:
# ["1.33", 1]
# ["2.1", 1]

Note that this also applies to nested types. For example,
Before:
# Throws TypeError "Can not merge type"
spark.createDataFrame([({1: True}, 1), ({"2": False}, 3)])

After:
spark.createDataFrame([({1: True}, 1), ({"2": False}, 3)])

# Result:
# {"1": true}  1
# {"2": false}  3

How was this patch tested?

I updated the existing unit tests and added a couple of new ones to check that we can upcast to StringType.

@HyukjinKwon @xinrong-meng Could you review this PR? Thanks.

@HyukjinKwon I noticed that NullType in PySpark is on the list of atomic types which it is not, in fact, it is mentioned in the type's doc string. However, I tried to remove it but encountered test failures in pyspark.pandas.tests.indexes.test_base. I am going to keep it as is but could you comment on why NullType was added to _atomic_types list? Thanks.

Shall we add an example to elaborate Does this PR introduce any user-facing change?? The change might be in the 3.4 release note.

@xinrong-meng I have updated the PR description to clarify the user-facing change.

Merged to master.

Thanks @sadikovi !


Allow specifying the initial screen in secure conversations

It is important that by default, welcome screen should be started. Integrator should do nothing special to start welcome screen, and has to manually opt for the chat transcript in order to go there. Please note the public enum and suggest better names if needed.
MOB-1883

looks like after the latest changes there appeared Swiftlint vertical_whitespace issue.

!merge


Assign role to user type

I have three types of users , Admin , teachers and students. I want to assign roles to user types not only to an user id. How can I do this ?

@monirulalom You can't do it, because Entrust does not have implemented that 'group' assignment. But you could check this package, the group implementation is being made, but you can use it by pulling the dev-master branch.


Reference Manual only lists copyright of Trustwave but fails to mention other contributors

It is important to note that much of this content is generated from Ivan's book so this is highly misleading. But even if this wasn't the case, this project is licensed under Apache 2.0 license and if you're going to be listing contributors you need to indicate that this document was not just generated solely by Trustwave

Hi @csanders-git,
Thank you for bought this up. Can you refer to us other Apache projects where the copyright is also redirected to the contributors? For instance: HTTPD and/or any of its modules? The link to the copyright notice will be perfect.
About Ivan's book, do you mind to tell what contents are taken (or generated) from Ivan's book? I am going to need further information to move forward with this issue.

Closing this issue as we don't hear any feedback form @csanders-git


Array of arbitrary types

Is there any way to have an object with an ordered list of arbitrary types? I'm thinking of something like this:
blocks: {
  type: "object",
  items:[
    first:   { type: 'string' }
    second:  { type: 'number' }
    third:   { type: 'boolean' }
  ]
}

Where the each of the objects in items will get the appropriate form when you do
form: ['*']
If not how could I go about extending the schema to include this?

Sorry that it took so long for me to answer!
Proper support of anyOf is the correct solution. But you can probably hack an add-on together based on the array implementation. By adding custom buttons that add different form definitions (with their respective form.schema snippets attached) to the array.
How do you want the form to look? i.e. what is the UI you have/want?

Sorry that it took so long for me to answer, too ;-)
The UI you described is exactly what we want. I'm going to give this a shot and try to implement what you suggested – an add-on based on the array implementation. Just wanted to make sure that there haven't been any developments in that area in the meantime that would suggest another approach?
Thanks for your help!

@davidlgj also looking for something like this. I haven't find any jsonschema based form editors properly handling polymorphism (support for anyof / oneof as described at http://stackoverflow.com/questions/18375506/how-to-use-dependencies-in-json-schema-draft-04).
Imo, a good UI for this would be to have the user select the type (or alias) of the object to create from a dropdown. After the type has been selected the rest of the UI will be generated so the form can be edited.

We did manage to build something along these lines, but it's a bit of a hack as it uses multiple schema form instances because of the lack of support for anyOf. But it looks pretty cool:

Very cool! Would love to see support for this in the library / let me know if I can help with this

That is super slick.
On Tue, Apr 28, 2015 at 12:54 PM, Yousef<EMAIL_ADDRESS>wrote:

Very cool! Would love to see support for this in the library / let me know if I can help with this
Reply to this email directly or view it on GitHub:
https://github.com/Textalk/angular-schema-form/issues/163#issuecomment-97015208

@philippbosch thats super cool! Is it just as an add-on or did you have to modify asf?

We didn't modify ASF. We just wrote a controller with some glue code. Every block (text, image, quote, …) is a separate <form> with a separate schema and form definition. We keep an array of these forms on the scope, and when the user submits, we aggregate all the forms into one object and store that in the DB.
It is a hack, but it works. Ideally we would be able to just use anyOf … ;-)

Interesting! Yeah anyOf support is high on the list of todo's, at least implementing enough support so that it doesn't fail badly. That way we open up for making add-ons that use it. (as a side note I believe its hard to make a generic "default" type for anyOf that is actually useful out of the box, better to make a couple for different scenarios )

Should we reopen this issue?

Re-opening it as an enhancement request. Feel free to add comments about your needs. Especially UI wise and what the purpose of the form is.

First time looking at this library but coming from using the http://jeremydorn.com/json-editor/ library in hopes of an angular library I can integrate with a little easier and still make use of my json-schema setup i am using for my administrative forms.
I think the UI generated by that plugin is generally adequate for most situations I have used it for in the past if you are looking for a reasonable default UI for anyOf/oneOf situations. I have a couple different use cases where I am using json schema to describe a list of differing objects depending on what my administrative users decide to configure into the database.
I read in a different issue that this might have been slated for mid august but it was dated a bit old. Is support for oneOf/anyOf still on track for sometime in August or has it been deferred?
Thanks in advance and keep up the good work this library looks really promising.

I'm starting work on implementing oneOf/anyOf in a fork: https://github.com/DanielSchaffer/angular-schema-form
Feel free to give feedback on my progress. Thanks!

Good luck!


Footer

In our footer, we have three circular social icons that sit in the same row. Full screen they look fine, and work properly, but when pushed to mobile size they increase in size, even though we have defined a width on them and we can not seem to find a way for them to sit centered when on mobile and they also tend to stack.
Below I have included the footer and have attached a photo of how it appears when small vs. full screen

:

Contact Us: Online Admissions

(330) 474-3285

<EMAIL_ADDRESS>

Do you have HTML you can share?
I did something similar recently; I put the social links in a div within my column
`

`
In app.scss I had this
// Footer .footer-section {   vertical-align: middle; } div.social {   text-align: center;   padding: 40px 0 0 0; } a.social-link:not(:last-child) {   padding: 0 5px 0 0; }

Two questions:
Can you use divs with the foundations 2? I was under the impression they got rid of them.
Also why did you put an a in front of social-link css, out of curiosity?
Thank you for your help

As far as I know, yes, you can use divs. I use them for positioning and grouping content within the  tags. Everything has worked as expected when I run my tests across clients

I use it as a reference for myself; the CSS will be inlined, so selector performance doesn't really matter. I over-qualify selectors so it's easy to read for me.

Did you make another column with the remaining "6" for large?

Also what does "a.social-link:not(:last-child)" mean? not last-child?

Yes, there was another 6  tag as a sibling to the code I put up earlier
Yes, not last child. Again, stuff is getting inlined, so I'm writing CSS in ways that faster/easier for me.

for some reason it's now going vertical for me

Sorry, forgot the last rule
a.social-link {   display: inline-block; }

@sco-tt Great answers!
<div>'s don't work constantly other than to target elements wrapped in a div with a class. The <wrapper> component will work better. It will be in the 2.1 release this week.
The Foundation forum would be a great place to seek some help with discuss what might be going on here. Thanks!

What day does 2.1 come out? Do we have to download anything or will it automatically update? And will we receive any emails or documents that explain all new elements in the update?
Hollie Swidarski
Designer
<EMAIL_ADDRESS>From: Rafi <notifications<EMAIL_ADDRESS>Reply-To: zurb/foundation-emails <reply<EMAIL_ADDRESS>Date: Tuesday, April 19, 2016 at 6:27 PM
To: zurb/foundation-emails <foundation-emails<EMAIL_ADDRESS>Cc: Hollie Swidarksi <hswidarski<EMAIL_ADDRESS>Author <author<EMAIL_ADDRESS>Subject: Re: [zurb/foundation-emails] Footer (#369)
@sco-tthttps://github.com/sco-tt Great answers!
's don't work constantly other than to target elements wrapped in a div with a class. The  component will work better. It will be in the 2.1 release this week.
The Foundation forumhttp://foundation.zurb.com/forum/ would be a great place to seek some help with discuss what might be going on here. Thanks!
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHubhttps://github.com/zurb/foundation-emails/issues/369#issuecomment-212170088


Episode 019: Understand the flow control mechanism in Pulsar consumers

[x] Topic: Understand the flow control mechanism in Pulsar consumers

[x] Instructor: Sijie Guo

[x] Date: 2020/09/18

[x] Time: 1PM PDT

[x] Duration: 1h

[x] Registration link: zoom link(no)

[x] Live streaming link: https://www.youtube.com/channel/UCywxUI5HlIyc0VEKYR4X9Pg/live

@JipeiWang please take over this task, thank you.

I think we can close this issue since @SylviaBABY is back.


deps: Revert some version requirements

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

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

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
1572

Relevant Lines:
1801

💛  - Coveralls


docs(config) node config boolean only false allowed

only false is allowed via schema, clarifying it here.

ref: https://github.com/webpack/webpack/blob/master/schemas/WebpackOptions.json#L2005

Thnaks!


Simplify updating questions in the room

Need to merge endpoints to manipulate questions in the room.
Move this functionality as part of room update/creation
Remove the ability to create a text-only question. Now a separate endpoint must be used

Questions list should be in one field


Do not require compute restart to change pageserver connection string

Most of the relocation time is spent to stop/start compute endpoints. Lets avoid that.
We can still detach tenant from pageserver compute is being connected to. (I think this is fine, need to discuss it).
At this point reconnections on smgr side should hide the disconnects from user.
When attach is completed we change the connection string and restart compute.
For that we need to add support in postgres to allow changing this config variable with SIGHUP.
Context:  https://neondb.slack.com/archives/C03H1K0PGKH/p1687866020116189

Unassigning self: we think it makes sense for the compute team to do this work, pending @vadim2404 confirming.

Pageserver connection string is defined now as PGC_POSTMASTER GUC "neon.pageserver_connstring".
To be able to change it with alter system pg_reload_conf it is necessary to change it to PGC_SIGHUP.
Is it the only thing which should be done in this ticket?
If so, why it was not addressed in 3 month?
I can create online PR...

notes from Nov 6th 2023:
this is worked by Sasha in compute team, but for visibility putting 'in progress' in Storage team project too.

@save-buffer has already merged these changes

A change landed, but it doesn't fully work yet -- keeping this ticket open to track that.
https://github.com/neondatabase/neon/pull/5693

completed in https://github.com/neondatabase/neon/pull/5693


Could not download html-report-install.json file

Steps to replicate

0.8.1 Gauge installed.
Install Latest Gauge at custom location foo.
Uninstalled using the command rm -rf /usr/local/bin/gauge /usr/local/share/gauge /usr/local/share/gauge_screenshot ~/.gauge
Which gauge

which gauge
/home/<username>/install/install_latest/foo/bin/gauge

Gauge version

<username>@ubuntu:~/install/install_latest$ gauge -v
Gauge version: 0.8.2.nightly-2017-03-21

Plugins
-------
No plugins found
Plugins can be installed with `gauge --install {plugin-name}`

Install latest

<username>@ubuntu:~/install/install_latest$ ./install.sh
Installing gauge at /usr/local/bin
Enter custom install location :-
foo
Installed gauge binaries at /home/sswaroop/install/install_latest/foo
Creating /home/sswaroop/.gauge/config ...
Adding gauge to system path...
Adding GAUGE_ROOT to environment...
Gauge core successfully installed.

Enter comma(',') separated list of plugins which you would like to install :-
java
Installing plugin html-report ...
Gathering metadata for html-report
Failed to install plugin 'html-report'.
Reason: Invalid plugin. Could not download html-report-install.json file.

Work around

Install gauge-html plugin and the ./install

gauge --install html-report
Gathering metadata for html-report

Downloading html-report-3.1.0-linux.x86_64.zip
.......................
Installing plugin html-report 3.1.0
Successfully installed plugin 'html-report'.
sswaroop@ubuntu:~/install/install_latest$ ./install.sh
Installing gauge at /usr/local/bin
Enter custom install location :-
foo
Installed gauge binaries at /home/sswaroop/install/install_latest/foo
Adding gauge to system path...
Adding GAUGE_ROOT to environment...
Gauge core successfully installed.

Enter comma(',') separated list of plugins which you would like to install :-
java
Installing plugin html-report ...
Gathering metadata for html-report

Plugin html-report 3.1.0 is already installed.
Installing plugin java ...
Gathering metadata for java

Downloading gauge-java-0.6.1-linux.x86_64.zip
........................
Installing plugin java 0.6.1
Successfully installed plugin 'java'.

@sguptatw - is this still an issue?


JFXComboBox scroll to selected item

Hello,
Is it possible to scroll to selected item in JFXComboBox? If I run comboBox.getSelectionModel().select(i); the item is selected and focused but the scroll bar doesn't move to that item.
Thanks, Matías.

Hello,
I believe this behavior is inherited from Java ComboBox control. To achieve this behavior, the combo box list view skin needs to be updated. Feel free to add your own contribution to JFoenix.
Regards,


Many secs lag between subscription and first message

Hi,
I experience many seconds lag between opening a subscription and receving the first message, then following messages are coming live...
Anyone else has same issue ?
Thanks

Could this be as a result of the authentication requests that takes place on the first request? Once a token is retrieved from the API, all subsequent requests use that token and are more responsive and "real time".

Hard to guess, I can see the successful subscription callback and have to wait around 30 sec to see the first message delivered... then it flows. Looks like pubsub takes time to route messages to new subscriptions ?

Yeah that sounds like an issue not on our library's end. Have you tried to reproduce with another library, such as googleapis

Sorry I didn't have time to try it with another lib or tech, maybe we can wait to see if someone else experienced the same issue ?

I can't see our library introducing that much lag for that request specifically.

I will keep it open for now.

Closing because this sounds like an issue upstream and we haven't really heard any noise around it. Please re-open if needed!


Running synclounge offline

I've installed synclounge via docker container successfully and have connected it to my plex server successfully as well. I was wondering if there was a way to make it work offline (without internet).  I am trying to sync multiple screens on multiple accounts that are connected to my one server.
Thanks

The app authenticates against plex.tv which in turn handles our server/client discovery. Because we're in a browser environment the other methods of discovery are off limits and we'd have to fall back to manually entering client/server details.
In short it's possible but not without some sacrifices.

I was thinking about trying this for in-car synchronized video playback on android tablets. But, the car hotspot won't have internet access. Could this work?


5.10rcX break compilation of evdi module

[X] Are you using the latest driver?
[X] Are you using the latest EVDI version?

I'm running this on openSUSE Tumbleweed, but I suspect the kernel changes are distribution-independent. I'm trying to use it with kernel 5.10.0-rc2-1.ga51c4bb-default for now.
/var/lib/dkms/evdi/1.7.0+git20200512.6.9b124a6/build/evdi_gem.c: In function ‘evdi_prime_get_sg_table’:
/var/lib/dkms/evdi/1.7.0+git20200512.6.9b124a6/build/evdi_gem.c:309:33: error: passing argument 1 of ‘drm_prime_pages_to_sg’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  309 |  return drm_prime_pages_to_sg(bo->pages, bo->base.size >> PAGE_SHIFT);
      |                               ~~^~~~~~~
      |                                 |
      |                                 struct page **
In file included from /usr/src/linux-5.10.0-rc2-1.ga51c4bb/include/drm/drm_file.h:39,
                 from /usr/src/linux-5.10.0-rc2-1.ga51c4bb/include/drm/drm_vblank.h:32,
                 from /var/lib/dkms/evdi/1.7.0+git20200512.6.9b124a6/build/evdi_drv.h:25,
                 from /var/lib/dkms/evdi/1.7.0+git20200512.6.9b124a6/build/evdi_gem.c:16:
/usr/src/linux-5.10.0-rc2-1.ga51c4bb/include/drm/drm_prime.h:91:59: note: expected ‘struct drm_device *’ but argument is of type ‘struct page **’
   91 | struct sg_table *drm_prime_pages_to_sg(struct drm_device *dev,
      |                                        ~~~~~~~~~~~~~~~~~~~^~~
/var/lib/dkms/evdi/1.7.0+git20200512.6.9b124a6/build/evdi_gem.c:309:56: warning: passing argument 2 of ‘drm_prime_pages_to_sg’ makes pointer from integer without a cast [-Wint-conversion]
  309 |  return drm_prime_pages_to_sg(bo->pages, bo->base.size >> PAGE_SHIFT);
In file included from /usr/src/linux-5.10.0-rc2-1.ga51c4bb/include/drm/drm_file.h:39,
                 from /usr/src/linux-5.10.0-rc2-1.ga51c4bb/include/drm/drm_vblank.h:32,
                 from /var/lib/dkms/evdi/1.7.0+git20200512.6.9b124a6/build/evdi_drv.h:25,
                 from /var/lib/dkms/evdi/1.7.0+git20200512.6.9b124a6/build/evdi_gem.c:16:
/usr/src/linux-5.10.0-rc2-1.ga51c4bb/include/drm/drm_prime.h:92:26: note: expected ‘struct page **’ but argument is of type ‘size_t’ {aka ‘long unsigned int’}
   92 |            struct page **pages, unsigned int nr_pages);
      |            ~~~~~~~~~~~~~~^~~~~
/var/lib/dkms/evdi/1.7.0+git20200512.6.9b124a6/build/evdi_gem.c:309:9: error: too few arguments to function ‘drm_prime_pages_to_sg’
  309 |  return drm_prime_pages_to_sg(bo->pages, bo->base.size >> PAGE_SHIFT);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/src/linux-5.10.0-rc2-1.ga51c4bb/include/drm/drm_file.h:39,
                 from /usr/src/linux-5.10.0-rc2-1.ga51c4bb/include/drm/drm_vblank.h:32,
                 from /var/lib/dkms/evdi/1.7.0+git20200512.6.9b124a6/build/evdi_drv.h:25,
                 from /var/lib/dkms/evdi/1.7.0+git20200512.6.9b124a6/build/evdi_gem.c:16:
/usr/src/linux-5.10.0-rc2-1.ga51c4bb/include/drm/drm_prime.h:91:18: note: declared here
   91 | struct sg_table *drm_prime_pages_to_sg(struct drm_device *dev,
      |                  ^~~~~~~~~~~~~~~~~~~~~
/var/lib/dkms/evdi/1.7.0+git20200512.6.9b124a6/build/evdi_gem.c:310:1: error: control reaches end of non-void function [-Werror=return-type]
  310 | }
      | ^
cc1: some warnings being treated as errors
make[3]: *** [/usr/src/linux-5.10.0-rc2-1.ga51c4bb/scripts/Makefile.build:285: /var/lib/dkms/evdi/1.7.0+git20200512.6.9b124a6/build/evdi_gem.o] Error 1

I'd appreciate help, thanks!

Hi @l-mb
usually, rc2 is too early to look at, things can still change up2 rc4/5.
This is caused by
commit 707d561f77b5e2a6f90c9786bee44ee7a8dedc7e
Author: Gerd Hoffmann<EMAIL_ADDRESS>Date:   Mon Sep 7 13:24:25 2020 +0200

    drm: allow limiting the scatter list size.

Here is something totally untested:
diff --git a/module/evdi_gem.c b/module/evdi_gem.c
index cc411b9..9055481 100644
--- a/module/evdi_gem.c
+++ b/module/evdi_gem.c
@@ -305,7 +305,10 @@ evdi_prime_import_sg_table(struct drm_device *dev,
 struct sg_table *evdi_prime_get_sg_table(struct drm_gem_object *obj)
 {
        struct evdi_gem_object *bo = to_evdi_bo(obj);
-
+#if KERNEL_VERSION(5, 10, 0) <= LINUX_VERSION_CODE
+       return drm_prime_pages_to_sg(obj->dev, bo->pages, bo->base.size >> PAGE_SHIFT);
+#else
        return drm_prime_pages_to_sg(bo->pages, bo->base.size >> PAGE_SHIFT);
+#endif
 }

I have to say that, due to the high CPU load caused by DisplayLinkManager, I've now switched to a TB3 dock (which has different issues, but oh well ;-). Thanks for the offer!

Finally got 5.10 to install using 5.10.0-rc6 @abucodonosor
Will test patch now, but for reference, here's the same error:
cat: /etc/redhat-release: No such file or directory
CFLAGS="-Werror -Wextra -Wall -Wmissing-prototypes -Wstrict-prototypes -Wno-error=missing-field-initializers" make -C module
make[1]: Entering directory './evdi/module'
make -C /lib/modules/5.10.0-rc6-1-git/build M=$PWD
make[2]: Entering directory '/usr/lib/modules/5.10.0-rc6-1-git/build'
  CC [M]  ./evdi/module/evdi_drv.o
  CC [M]  ./evdi/module/evdi_modeset.o
  CC [M]  ./evdi/module/evdi_connector.o
  CC [M]  ./evdi/module/evdi_encoder.o
  CC [M]  ./evdi/module/evdi_main.o
  CC [M]  ./evdi/module/evdi_fb.o
  CC [M]  ./evdi/module/evdi_gem.o
./evdi/module/evdi_gem.c: In function ‘evdi_prime_get_sg_table’:
./evdi/module/evdi_gem.c:309:33: error: passing argument 1 of ‘drm_prime_pages_to_sg’ from incompatible pointer type [-Werror=incompatible-pointer-types]
  309 |  return drm_prime_pages_to_sg(bo->pages, bo->base.size >> PAGE_SHIFT);
      |                               ~~^~~~~~~
      |                                 |
      |                                 struct page **
In file included from ./include/drm/drm_file.h:39,
                 from ./include/drm/drm_vblank.h:32,
                 from ./evdi/module/evdi_drv.h:25,
                 from ./evdi/module/evdi_gem.c:16:
./include/drm/drm_prime.h:91:59: note: expected ‘struct drm_device *’ but argument is of type ‘struct page **’
   91 | struct sg_table *drm_prime_pages_to_sg(struct drm_device *dev,
      |                                        ~~~~~~~~~~~~~~~~~~~^~~
./evdi/module/evdi_gem.c:309:56: error: passing argument 2 of ‘drm_prime_pages_to_sg’ makes pointer from integer without a cast [-Werror=int-conversion]
  309 |  return drm_prime_pages_to_sg(bo->pages, bo->base.size >> PAGE_SHIFT);
      |                                                        ^
      |                                                        |
      |                                                        size_t {aka long unsigned int}
In file included from ./include/drm/drm_file.h:39,
                 from ./include/drm/drm_vblank.h:32,
                 from ./evdi/module/evdi_drv.h:25,
                 from ./evdi/module/evdi_gem.c:16:
./include/drm/drm_prime.h:92:26: note: expected ‘struct page **’ but argument is of type ‘size_t’ {aka ‘long unsigned int’}
   92 |            struct page **pages, unsigned int nr_pages);
      |            ~~~~~~~~~~~~~~^~~~~
./evdi/module/evdi_gem.c:309:9: error: too few arguments to function ‘drm_prime_pages_to_sg’
  309 |  return drm_prime_pages_to_sg(bo->pages, bo->base.size >> PAGE_SHIFT);
      |         ^~~~~~~~~~~~~~~~~~~~~
In file included from ./include/drm/drm_file.h:39,
                 from ./include/drm/drm_vblank.h:32,
                 from ./evdi/module/evdi_drv.h:25,
                 from ./evdi/module/evdi_gem.c:16:
./include/drm/drm_prime.h:91:18: note: declared here
   91 | struct sg_table *drm_prime_pages_to_sg(struct drm_device *dev,
      |                  ^~~~~~~~~~~~~~~~~~~~~
./evdi/module/evdi_gem.c:310:1: error: control reaches end of non-void function [-Werror=return-type]
  310 | }
      | ^
cc1: all warnings being treated as errors
make[3]: *** [scripts/Makefile.build:283: ./evdi/module/evdi_gem.o] Error 1
make[2]: *** [Makefile:1797: ./evdi/module] Error 2
make[2]: Leaving directory '/usr/lib/modules/5.10.0-rc6-1-git/build'
make[1]: *** [Makefile:71: module] Error 2
make[1]: Leaving directory './evdi/module'
make: *** [Makefile:13: all] Error 2


Add setting to hide a single tab

This PR adds a setting to hide the tab bar if there is only one tab. The default setting is the current behaviour.
Tabs are shown when there are more than one tabs or at least one pinned tab.
Closes: https://github.com/pengx17/logseq-plugin-tabs/issues/40

Great work, thanks!


[WIP] Feat/logging val

What does this PR do?

This PR adds logging within callbacks for evaluation.
Fixes #3813
Before submitting

[ x] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[x] Did you read the contributor guideline, Pull Request section?
[x ] Did you make sure your PR does only one thing, instead of bundling different changes together? Otherwise, we ask you to create a separate PR for every change.
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests?
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review
Anyone in the community is free to review the PR once the tests have passed.
Before you start reviewing make sure you have read Review guidelines. In in short, see following bullet-list:

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified; Bugfixes should be including in bug-fix release milestones (m.f.X) and features should be included in (m.X.b) releases.

Did you have fun?
Make sure you had fun coding 🙃

Hello @tchaton! Thanks for opening this PR.

In the file tests/trainer/logging_tests/test_eval_loop_logging_1_0.py:

Line 444:121: E501 line too long (124 > 120 characters)
Line 446:121: E501 line too long (124 > 120 characters)
Line 449:121: E501 line too long (125 > 120 characters)
Line 615:121: E501 line too long (124 > 120 characters)
Line 624:121: E501 line too long (125 > 120 characters)

Do see the Hitchhiker's guide to code style


Build docker images for ARM (+x86)

Unless this breaks something (or drastically increases build time?) I'd like us to build both x86 and arm docker images. This would make it much easier to use coiled-runtime on Coiled with ARM instances.

@ncclementi is there a way to trigger nightly build action for this MR? Or would it be simplest to merge? (If so, any concerns?)

Didn't work, I'll try what's described in https://github.com/docker/build-push-action/issues/302


Add missing files

Whoops. :laughing:

@homu r+

:pushpin: Commit 82dc929 has been approved by smo-key

:hourglass: Testing commit 82dc929 with merge e3d3307...

:sunny: Test successful - status


[Wikipedia] LaTeX not rendering properly

Extension
https://www.raycast.com/vimtor/wikipedia
Raycast Version
1.88.4
macOS Version
15.1.1
Description
When viewing a Wikipedia article containing LaTeX, the code is not being rendered properly.

Steps To Reproduce

Open Raycast
Type 'Wikipedia'
Press 'Tab'
Enter 'Euler-Lagrange equation'
Press 'Enter'
Scroll and see ;)

Current Behaviour
No response
Expected Behaviour
No response

Does Raycast markdown support LaTeX?

Nope, but the library that is used (wikijs) also doesn't properly render it. The way to probably properly render it is to take the HTML instead, remove the Latex (because the HTML has fallback images with proper rendering), reveal the images and transform the HTML to Markdown. That's the way I would do it (did a little bit of research), but haven't had time to properly build it. Also, in HTML I get a ton more unrelated stuff that shouldn't be in the markdown, so it means we'd have to filter more.


Failure analysis contains command hint, advertised to hooks

Closes #441
This PR adds, where possible, the failover command as part of the analysis structure, thereafter passed to external hooks as {command} or $ORC_COMMAND.
These commands can be:

graceful-master-takeover
force-master-failover
force-master-takeover
or empty, when failover was not initiated by a specific command.

This looks great! Thanks!


[Migrated] No way to stop async job on timeout

Originally from: https://github.com/Miserlou/Zappa/issues/2105 by jcomish

Context

Python 3.7
Expected Behavior

I have a async task in my Zappa project that has a wide range of possible execution times. If these timeout, I do not want the retry to take place. I have defined an exception handler in my application as such:
def exception_handler(e, event, context):
return True
Actual Behavior

When my async task times out, it retries twice, tripling the cost of invoking that async method.
Possible Fix

I have heard of an argument that can be passed to prevent retries "--maximum-retry-attempts n". Perhaps this could be exposed as a zappa setting?
Steps to Reproduce

Create an async job that takes longer than 900 seconds.
Create an exception handler method and set that in the zappa settings. Just have it return True
Run your async job, let it time out, and it will retry regardless of the exception handler.

Your Environment

Zappa version used: 0.51.0

Operating System and Python version: Linux, Python 3.7.5

The output of pip freeze:

Link to your project (optional):

Your zappa_settings.json:
"dev": {
"profile_name": "TestApplication",
"app_function": "app.app.app",
"exception_handler"; "app.app.exception_handler"
"aws_region": "us-gov-west-1",
"project_name": "TestApplication",
"runtime": "python3.7",
"keep_warm": false,
"api_key_required": false,
"use_precompiled_packages": true,
"slim_handler": true,
"manage_roles": false,
"role_name": "xxx",
"role_arn": "xxx",
"exclude": [xxx],
"memory": 1024,
"timeout_seconds": 900,
"vpc_config": {
"SubnetIds": [ "xxx" ],
"SecurityGroupIds": [ "xxx" ]
}
}

I suggest writing code in such a way that the function doesn't timeout.
closing.


Cannot run sidemenu starter app from fresh install of ionic.

Short description of the problem:
Cannot run sidemenu starter app from fresh install of ionic.
What behavior are you expecting?
Build the starer app.
Steps to reproduce:

npm install -g cordova ionic
ionic start webapp sidemenu
ionic serve

$ ionic serve
...
[08:06:46]  ionic-app-scripts 1.3.6
[08:06:46]  watch started ...
[08:06:46]  build dev started ...
[08:06:46]  clean started ...
[08:06:46]  clean finished in 1 ms
[08:06:46]  copy started ...
[08:06:46]  transpile started ...
[08:06:54]  transpile finished in 7.87 s
[08:06:54]  preprocess started ...
[08:06:54]  deeplinks started ...
[08:06:54]  ionic-app-script task: "serve"
[08:06:54]  Error: Cannot read property 'content' of undefined
Error: Cannot read property 'content' of undefined
    at BuildError.Error (native)
    at new BuildError (/webapp/node_modules/@ionic/app-scripts/dist/util/errors.js:16:28)
    at /webapp/node_modules/@ionic/app-scripts/dist/preprocess.js:18:21
...

Which @ionic/app-scripts version are you using?
1.3.6

Hi @rmgpinto,
I am unable to recreate this. It is running just fine for me.
Can you try this? Our new CLI is in the final stages of testing so maybe something went wrong there.
npm uninstall -g ionic (may require sudo)
npm install -g ionic@beta

and then try the project again?
I'll re-open if this is still an issue.
Thanks,
Dan

Did you modify your app to change the location of app.module.ts by any chance?
Thanks,
Dan

Now I get a Segmentation Fault:
`Starting app-scripts server: --port 8100 --livereload-port 35729 --address <IP_ADDRESS>
[16:29:21]  watch started ...
[16:29:21]  build dev started ...
[16:29:21]  clean started ...
[16:29:21]  clean finished in 2 ms
[16:29:21]  copy started ...
[16:29:21]  transpile started ...
[16:29:23]  transpile finished in 2.71 s
[16:29:23]  preprocess started ...
[16:29:23]  deeplinks started ...
[16:29:23]  deeplinks finished in 20 ms
[16:29:23]  preprocess finished in 22 ms
[16:29:23]  webpack started ...
[16:29:24]  copy finished in 3.01 s
[16:29:32]  webpack finished in 8.46 s
[16:29:32]  sass started ...
Segmentation fault
`
I've pinpointed this to sass, if I remove sass.config.js on app-scripts dir, ionic serve will go through, but then I have no css.

What version of node do you have? What are you doing that is unique that requires a custom sass config?
Thanks,
Dan

@danbucholtz
Node 7.2.1
I'm doing nothing really, this is a fresh install on an Alpine Linux.

It could have something to do with linux, I'm not sure.
Thanks,
Dan


when to support cluster and pipleline?

For cluster take a look at Redis-clustr which works with this module.
This module effectively auto-pipelines due to node.js being event-loop/async by nature. If you want to create an explicit pipeline, use client.batch().

Could I think auto-pipelines equivalent to client.batch()? or what situation should they apply to? @stockholmux

It's only a semantic difference. client.batch() behaves like client.multi() (you get all your results at once, it can be easier to write JS against, etc.).


GTC: GridTools C++ codegen IR + generator

Description
Describe the content of the PR and links to related issues, bugs of features.
Requirements
Before submitting this PR, please make sure:

[ ] The code builds cleanly without new errors or warnings
[ ] The code passes all the existing tests
[ ] If this PR adds a new feature, new tests have been added to test these
new features
[ ] All relevant documentation has been updated or added

Additionally, if this PR contains code authored by new contributors:

[ ] All the authors are covered by a valid contributor assignment agreement,
signed by the employer if needed, provided to ETH Zurich
[ ] The names of all the new contributors have been added to an updated
version of the AUTHORS.rst file included in the PR

replaced by #272


[Issue] Get deployment error detail that doesn't map to bicep files

[ ] Make sure you've installed the latest version using instructions in the wiki

Output from azd version
Run azd version and copy and paste the output here:
azd version 1.5.1 (commit 3856d1e98281683b8d112e222c0a7c7b3e148e96)
Describe the bug
Error after all resources provisioned. I believe the error is a false positive for something else happening.
   GET https://management.azure.com/subscriptions/19016922-4bf5-4c41-9553-8eff5da1500e/providers/Microsoft.Resources/deployments/dfberry-20240112-06-1705089354/operationStatuses/08584965175277940942?api-version=2021-04-01
   Authorization: REDACTED
   User-Agent: azsdk-go-armresources/v1.0.0 (go1.21.0 X:loopvar; linux),azdev/1.5.1 (Go go1.21.0 X:loopvar; linux/amd64)
   X-Ms-Correlation-Request-Id: a406082f23b20e658adcc54dc14d1e30
   --------------------------------------------------------------------------------
   RESPONSE Status: 200 OK
   Cache-Control: no-cache
   Content-Type: application/json; charset=utf-8
   Date: Fri, 12 Jan 2024 19:57:59 GMT
   Expires: -1
   Pragma: no-cache
   Strict-Transport-Security: REDACTED
   Vary: REDACTED
   X-Content-Type-Options: REDACTED
   X-Ms-Correlation-Request-Id: a406082f23b20e658adcc54dc14d1e30
   X-Ms-Ratelimit-Remaining-Subscription-Reads: REDACTED
   X-Ms-Request-Id: 4f6968dc-f14b-45cb-92a8-07ec80e8c3ef
   X-Ms-Routing-Request-Id: REDACTED

2024/01/12 19:57:59 main.go:48: Retry: response 200
2024/01/12 19:57:59 main.go:48: Retry: exit due to non-retriable status code
2024/01/12 19:57:59 main.go:48: LongRunningOperation: State Failed
2024/01/12 19:57:59 main.go:48: LongRunningOperation: END PollUntilDone() for *async.Poller[github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources.DeploymentsClientCreateOrUpdateAtSubscriptionScopeResponse]: succeeded, total time: 2m0.761906653s

ERROR: deployment failed: failing invoking action 'provision', error deploying infrastructure: deploying to subscription:

Deployment Error Details:
DeploymentNotFound: Deployment 'api' could not be found.

TraceID: a406082f23b20e658adcc54dc14d1e30

To Reproduce

Open branch in Codespaces
azd auth login
azd provision --debug - default provisions just main.bicep and nothing from api or web
Azure portal doesn't show any errors in deployment logs

Expected behavior
If the provision fails with an error - some way to figure out what the issue is. Since this is strictly a provision, is the term deployment in the error just about azure deployment logs, or is there something about the main.bicep conditional provisioning based on the provisionAll param.
Environment
Information on your environment:
* Language name and version
* IDE and version : [e.g. Visual Studio 16.3] - Codespaces in browser
Additional context
@jongio Helped me change the infra from provision all in one shot to separate base, api, and web deployments. Perhaps there is some error in bicep for that separation I don't see?

@dfberry was the DeploymentNotFound transient?
@v-xuto can you try reproducing this?

@rajeshkamal5050 , @dfberry - We can reproduce this error, but I think this is expected.
Because the condition deployment if(provisionAll) was added when creating the api and web modules.

And the boolean value provisionAll was set to false by default.

Therefore, this error actually occurs when referencing the api module in the web module.

If you use a reference or list function with a resource that is conditionally deployed, the function is evaluated even if the resource isn't deployed. You get an error if the function refers to a resource that doesn't exist. For specific information, please refer to the document here.
Quick workaround, can be changed as follows:

Closing since the workaround was provided above for the Bicep conditional deployment issue.


bug fix and Match() support

bug fix for parsing the case of {\n}
support Match() which matches only the ones we want.
early termination support to speed up json parsing.

NOTE: Readme may need to be updated to reflect these changes. @iOliverNguyen
Let me know if you have further questions

also, there are some format changes automatically done by vscode

Thank you for sending the PR! I appreciate the effort.
Just a comment for moving the file kube.go out of the PR, since it brings a ton of dependencies to this tiny package.

I close this PR and open a new PR #6


Issues in SCIM PATCH Request

Describe the issue:
Following valid patch operation payloads doesn't support as expected.

[ ] 1.

Operation:
{
  "op": "add",
  "path": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:manager.value",
  "value": "Ruth"
}

output:
{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:Error"
    ],
    "scimType": "noTarget",
    "detail": "According to SCIM specification max one sub attribute can be allowed for SCIM attribute. path: urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:manager.value",
    "status": "400"
}

[ ] 2. Simple Multivalued attribute add operation with the path param works as replace operation

Let assume urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:devices has values ["D1", "D2", "D3"]. After the following patch operation, the value should be ["D1", "D2", "D3", "D4", "D5"]. But it will become ["D4", "D5"].
Operation:
        {
            "op": "add",
            "path": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:devices",
            "value": ["D4", "D5"]
        }

but, the following request (without specifying the path) work as expected.
        {
            "op": "add",
            "value": {
                "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User": {
                    "devices": [ "D4", "D5" ]
                }
            }
        }

[ ] 3. Replacing a specific item in a multivalued simple attribute is not working,
Let assume urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:devices has values ["D1", "D2", "D3"]. The following patch operation gives 500 Response

{
            "op": "replace",
            "path": "urn:ietf:params:scim:schemas:extension:enterprise:2.0:User:devices[value eq \"D1\"]",
            "value": "D4"
 }

Response:
{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:Error"
    ],
    "detail": "Error in performing the patch operation on user resource.",
    "status": "500"
}

How to reproduce:
Perform PATCH requests {{baseUrl}}/scim2/Users/{{userId}} including the mentioned operations.
{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:PatchOp"
    ],
    "Operations": [
       Add your operations here
    ]
}

[ ] 4. Fail to replace specific attribute in the complex multi-valued attribute
Operation

{
    "op": "replace",
    "path": "emails[type eq home]",
    "value"<EMAIL_ADDRESS>}

Response:
{
    "schemas": [
        "urn:ietf:params:scim:api:messages:2.0:Error"
    ],
    "detail": "Error in performing the patch operation on user resource.",
    "status": "500"
}

Environment information (Please complete the following information; remove  any unnecessary fields) :

Product Version: IS 5.12.0-M18
OS: Linux
Database: H2
Userstore:LDAP,

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!