[Remote rendering problem] Can't pass trough the ConnectToRuntime step on HoloLens 2, but it works on Unity

Describe the problem
I'm using Azure Remote rendering for an industrial project i'm working on. I started with version 0.1.78 and followed the tutorial as described in the online documentation. I recently upgraded my project to the version 1.0.1  and incorporated some of the features from the Showroom app. The project is working perfectly fine on Unity Editor (2019.4.19f1), I successfuly managed to connect and interact with a custom remote model as Intented.
The issue occurs only on HoloLens 2 after deploying both on ARM and ARM64 :
1 - Application passes Identification step
2 - Application launches or finds a remote session
3 - When the session is ready, the application is failing to pass the ConnectToRuntime step.
The ConnectRuntimeToRemoteSession function is called :

Here is the function that receive the status update event :

The logs are the following :

ConnectionStatus : CONNECTING | Runtime Connection status :  SUCCESS
ConnectionStatus : CONNECTING | Runtime Connection status : SUCCESS
ConnectionStatus : CONNECTING   | Runtime Connection status : SUCCESS
ConnectionStatus : DISCONNECT   |  Runtime Connection status :  FAIL

As read on the documentation i'm keeping the ARRSessionService Updated in the LateUpdate()

I'm really surprised about this bug as i didn't encounter any issue on Unity and as it used to work on HoloLens before the upgrade.
Any clues about what is causing the issue ?
Thanks for your help

Hello there,
In the end, I managed to make it works by updating to version 1.0.4 and re-importing all my librairies. I also increased the delay between each of my requests attempts.
I don't really know what causes the failure in the first place and I'm still surprised about the difference of behaviour between HoloLens and Unity.

Hi Cyhzault,
Glad to hear you could solve your problem. In general, you should only try to connect again once the previous attempt has failed. This can be observed by either the returned async task completing or the connection status changing back to disconnected.
The difference between Unity and HoloLens is mostly caused by Unity's cache.
We have had problems with Unity's cache being corrupted after upgrading packages, see compile failures when compiling Unity samples. Normally this results in compile errors but the same steps should be taken if things suddenly stop working for any clear reason to rule out Unity's cache. So after each major upgrade, clear the project's cache folders as described in the link and build the project into an empty folder.
Cheers,
Christopher

Hi Christopher,
Indeed, I'm waiting for the previous attempt to fails before trying again. You must be right, I think it was only a silent cache Issue, i will keep that in mind for the future upgrades.
Thanks for your feedback.
Problem solved, I'm closing the issue.
Regards,
Alexis.


Cannot remove missing photos from db

🐛 Bug Report

[x] 📁 I've Included a ZIP file containing my librephotos log files
[x] ❌ I have looked for similar issues (including closed ones)
[x] 🎬 (If applicable) I've provided pictures or links to videos that clearly demonstrate the issue

📝 Description of issue:
Pressing on the missing photos label asks to confirm removal of missing photos but nothing happens

The following shows up in my firefox console
TypeError: Request constructor: HEAD or GET Request cannot have a body.
    R3t https://DOMAIN/assets/index-BEl6n31b.js:708
    a6t https://DOMAIN/assets/index-BEl6n31b.js:708
    u https://DOMAIN/assets/index-BEl6n31b.js:708
    v https://DOMAIN/assets/index-BEl6n31b.js:708
    nbe https://DOMAIN/assets/index-BEl6n31b.js:708
    kFe https://DOMAIN/assets/index-BEl6n31b.js:708
    dispatch https://DOMAIN/assets/index-BEl6n31b.js:708
    m https://DOMAIN/assets/index-BEl6n31b.js:708
    kFe https://DOMAIN/assets/index-BEl6n31b.js:708
    P https://DOMAIN/assets/index-BEl6n31b.js:708
    q https://DOMAIN/assets/index-BEl6n31b.js:1220
    wdt https://DOMAIN/assets/index-BEl6n31b.js:82
    Odt https://DOMAIN/assets/index-BEl6n31b.js:82
    Pdt https://DOMAIN/assets/index-BEl6n31b.js:82
    afe https://DOMAIN/assets/index-BEl6n31b.js:82
    tRe https://DOMAIN/assets/index-BEl6n31b.js:82
    tH https://DOMAIN/assets/index-BEl6n31b.js:82
    Fte https://DOMAIN/assets/index-BEl6n31b.js:85
    PIe https://DOMAIN/assets/index-BEl6n31b.js:82
    tH https://DOMAIN/assets/index-BEl6n31b.js:82
    hte https://DOMAIN/assets/index-BEl6n31b.js:82
    Bdt https://DOMAIN/assets/index-BEl6n31b.js:82
[library:13851:25](https://DOMAIN/library)
Uncaught (in promise)
Object { error: {…}, isUnhandledError: true, meta: undefined }
[index-BEl6n31b.js:856:106934](https://DOMAIN/assets/index-BEl6n31b.js)
Source map error: Error: request failed with status 404
Resource URL: null

🔁 How can we reproduce it:
Have missing photos in the library. Press the label and accept. Notice that nothing happens
Please provide additional information:

💻 Operating system: Ubuntu 20.4
⚙ Architecture (x86 or ARM):  x86
🔢 Librephotos version: reallibrephotos/librephotos-gpu:dev
📸 Librephotos installation method (Docker, Kubernetes, .deb, etc.):  docker

🐋 If Docker or Kubernets, provide docker-compose image tag: dev

📁 How is you picture library mounted (Local file system (Type), NFS, SMB, etc.):  local
☁ If you are virtualizing librephotos, Virtualization platform (Proxmox, Xen, HyperV, etc.):

This is also happening to me

Pushed a fix :)


Generate and send b3 tracing headers per CLI command

What's the user value of this feature request?
A single CLI command may result in multiple CAPI API requests. A unique id (vcap-request-id) is generated by go-router per api request that allows tracing issues through the system. Additionally, when enabled go-router will generate b3-trace-headers per request.
However, if you want to trace ALL requests for a particular CF CLI command you cannot, since there is no trace id that is per command and not per API call. This makes it hard to debug issues with the CLI, or to understand all the requests made for a single command (e.g. cf push).
The CLI should generate a unique ID per command and utilise the distributed b3 trace headers, see here.
This means if there is an issue, a developer can run CF_TRACE=true and see the generated b3 trace headers which can then be correlated to logs in the CF system by opeators.
Headers to set per command:
X-B3-Traceid - 128-bit in length and indicates the overall ID of the trace. Every span in a trace shares this ID. The X-B3-TraceId header is encoded as 32 lower-hex characters.

Headers to set per api call
X-B3-Spanid - 64-bit in length and indicates the position of the current operation in the trace tree. The X-B3-SpanId header is encoded as 16 lower-hex characters.

These then will be logged in different CF components, including CAPI, e.g. capi log
{
  "timestamp": "2024-11-18T21:00:58.094638225Z",
  "message": "Completed 200 vcap-request-id: 424e6816-392a-4c68-5531-cfccd8508bad::32c7ffa4-30f3-490e-8c89-96722c952549",
  "log_level": "info",
  "source": "cc.api",
  "data": {
    "request_guid": "424e6816-392a-4c68-5531-cfccd8508bad::32c7ffa4-30f3-490e-8c89-96722c952549",
    "user_guid": "8f6fb41c-b334-45e8-ba25-ba3b909bbb70",
    "b3_trace_id": "a67d95354cc07e8a87d5706c44ff5a6e",
    "b3_span_id": "4b24d3227b42b0cb666995afcef772e6",
    "status_code": 200
  },
  "thread_id": 72620,
  "fiber_id": 72640,
  "process_id": 7,
  "file": "/var/vcap/data/packages/cloud_controller_ng/19f5e6515e03b9d0de46e7ce1e34451881bc74e6/cloud_controller_ng/lib/cloud_controller/logs/request_logs.rb",
  "lineno": 32,
  "method": "complete_request"
}

It should also be possible to explicitly set the trace header.
We should introduce the following new environment variable.
export CF_B3_TRACE_ID=<my_trace_id>

In addition to this, if someone explicitly sets the header via -H using a cf curl that should take priority.
So the order of priority of this header is:

cf curl -H B3_TRACE_ID=xxx
CF_B3_TRACE_ID environment variable
Auto generated

Who is the functionality for?
Operators debugging CF issues.
Who else is affected by the change?
Currently b3 headers are generated by go-router, this would mean that CLI requests no longer contain unique b3 headers per request but rather per command.

Would it be worth it to have a global parameter (e.g. --trace-id) which just prints the trace id/ vcap id without the full verbose output? I have seen cases where users seem to be overwhelmed and maybe even confused by the complete verbose output.

Would it be worth it to have a global parameter (e.g. --trace-id) which just prints the trace id/ vcap id without the full verbose output? I have seen cases where users seem to be overwhelmed and maybe even confused by the complete verbose output.

@johha Yeah thats a good idea and feedback we hear too. I wish CF_TRACE allowed for varying levels of verbosity.
For trace headers we have the following ids that could be output:

B3_TRACE_ID = per command
B3_SPAN_ID = per request
VCAP_REQUEST_ID = per response

If we output trace ids for every api call we'd likely still have a lot of spam since we'd need to show the request URL + trace ids for every request. Did you have something in midn?
One option would be to just output the per command request id. Something like:
cf apps --trace-id
TRACE_ID: 76513d6af5c0456c51ec04e848b323a4
Getting apps in org org-1 / space space-1 as admin...

name     requested state   processes             routes
dora     started           web:1/1, worker:0/0   dora.cocoanuts.app-runtime-interfaces.ci.cloudfoundry.org

Show only every API call trace ids and request url.

cf apps --trace-ids
REQUEST: [2024-12-05T10:03:31-07:00]
GET /v3/apps?order_by=name&per_page=5000&space_guids=71b2e041-2260-4f10-b8bd-cc02e29aa638 HTTP/1.1
B3_TRACE_ID: 76513d6af5c0456c51ec04e848b323a4
B3_SPAN_ID: c51ec04e848b323a4
VCAP_REQUEST_ID: 76513d6af5c0456:76513d6af5c0456

GET /v3/processes?app_guids=f9964a6b-5403-4f6f-a123-f9c48d86a576%2Cb232d389-7dae-4eb4-9bf1-b392ba749106 HTTP/1.1
B3_TRACE_ID: 76513d6af5c0456c51ec04e848b323a4
B3_SPAN_ID: c51ec04e848b323a4
VCAP_REQUEST_ID: 76513d6af5c0456:76513d6af5c0456

GET /v3/processes/b232d389-7dae-4eb4-9bf1-b392ba749106/stats HTTP/1.1
B3_TRACE_ID: 76513d6af5c0456c51ec04e848b323a4
B3_SPAN_ID: c51ec04e848b323a4
VCAP_REQUEST_ID: 76513d6af5c0456:76513d6af5c0456

GET /v3/processes/f9964a6b-5403-4f6f-a123-f9c48d86a576/stats HTTP/1.1
B3_TRACE_ID: 76513d6af5c0456c51ec04e848b323a4
B3_SPAN_ID: c51ec04e848b323a4
VCAP_REQUEST_ID: 76513d6af5c0456:76513d6af5c0456

GET /v3/processes/1b835eed-5a45-4627-b8f1-a56dfa6eb253/stats HTTP/1.1
B3_TRACE_ID: 76513d6af5c0456c51ec04e848b323a4
B3_SPAN_ID: c51ec04e848b323a4
VCAP_REQUEST_ID: 76513d6af5c0456:76513d6af5c0456

GET /v3/routes?app_guids=f9964a6b-5403-4f6f-a123-f9c48d86a576%2Cb232d389-7dae-4eb4-9bf1-b392ba749106
HTTP/1.1
B3_TRACE_ID: 76513d6af5c0456c51ec04e848b323a4
B3_SPAN_ID: c51ec04e848b323a4
VCAP_REQUEST_ID: 76513d6af5c0456:76513d6af5c0456

Getting apps in org org-1 / space space-1 as admin...

name     requested state   processes             routes
dora     started           web:1/1, worker:0/0   dora.cocoanuts.app-runtime-interfaces.ci.cloudfoundry.org

Or if we think theres value in both we could have trace-ids take a verbosity (e.g. trace_ids=1 outputs the first option, trace_ids=2 outputs the second).
Either way I think we can have that feature seperate from this issue/PR.

Since CF_TRACE already supports outputting to a file, we could enhance it by implementing log verbosity levels akin to Linux log levels.
Currently, the usage is as follows:
CF_TRACE=true                               Print API request diagnostics to stdout
CF_TRACE=path/to/trace.log         Append API request diagnostics to a log file

As proposed by @Samze, we could introduce an integer level ranging from 0 to 7, where 7 indicates the most detailed output. Lower levels, such as 6 or 5, would display the request path and headers without including the request body. One approach to achieve this would be introducing a new variable called CF_TRACE_LEVEL.


Remove deps folder in config when on Docker

Description:
Remove the deps folder when upgrading to 94b6 or beyond when running under Docker.
Checklist:

[x] The code change is tested and works locally.
[x] Local tests pass with tox. Your PR cannot be merged unless tests pass
[x] There is no commented out code in this PR.
[x] I have followed the development checklist

If the code does not interact with devices:

[x] Tests have been added to verify that the new code works.

I just installed 0.94.1 in a docker container and with a clean config dir, and ended up with an empty deps folder, shouldn't this PR prevent that from being created, or remove it if so?

Seems this PR only removes it when doing a config upgrade. So the question is why the folder is still created in  0.94.1


Typo: Change GiB to TiB in Premium Storage Disk Sizes

This issue was opened to address a small typo in one of the Azure Documentation articles regarding Disk Storage.
Article Title:
Azure premium storage: design for high performance: Premium Storage Disk Sizes
Article URL:
https://docs.microsoft.com/en-us/azure/virtual-machines/windows/premium-storage-performance#premium-storage-disk-sizes
Screenshot:
https://i.imgur.com/4LsRExp.png
Premium Disk Type P80 currently says: 32,767 GiB (32 GiB)
32,767 is 32 Terabytes not Gigabytes.
It should say: 32,767 GiB (32 TiB)

@roovyshapiro Thanks for your feedback! We will investigate and update as appropriate.

@roovyshapiro I think you already have opened a PR to update the document which under author's review.   Thanks for pointing this out, I am closing the issue based on this update, please let us know if there is something else that we can help you with.


Update image docker.io/ollama/ollama to v0.2.2

This PR contains the following updates:

Package
Update
Change

docker.io/ollama/ollama
patch
0.2.1 -> 0.2.2

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

Edited/Blocked Notification
Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.
You can manually request rebase by checking the rebase/retry box above.
⚠ Warning: custom changes will be lost.


How can I set startup page?    and  is there a recommend  way to manage my page?

each time i start a flutter app,i will see a white screen for seconds.
it's unacceptable for an nice app.
i want to use a picture to make the startup page more beautiful
how can i do it?
is there an example?(i mean code,such as in pub.dartlang.org i can find example in each package's github )
is there a recommend way to manage my page?

I have found way to set startup page
thx
i see the AndroidManifest.xml found there is annotation to help me to solve this problem.
but i still need help with the second problem
is there a recommend way to manager my pages?

Did you check https://stackoverflow.com/questions/43879103/adding-a-splash-screen-to-flutter-apps/48101776#48101776 ?


Update where clause

Description
Small syntactic change required by coordinated merge date of Friday 26th January.
This is in response to requirements of: JCSDA-internal/ufo/pull/3168
Issue(s) addressed
Resolves #69
Dependencies
List the other PRs that this PR is dependent on:

[ ] JCSDA-internal/ufo/pull/3168

Impact
None expected.
Checklist

[ ] I have  run mo-bundle  to check integration with the rest of JEDI and run the unit tests under all environments

Note, the ctest failures are expected as we can't yet run CI against a particular ufo branch. I might add this in the future, but for now I will settle for rerunning on Friday after the UFO change is merged.

FYI I ran the ctests for all affected branches, including this one. The results are here: http://fcm1/cylc-review/taskjobs/chthomas/?suite=refactor_where_params
Everything has passed.


Add a way to preview the styles

(Original issue 1394 created by Merwok on 2017-11-10T16:12:54.415812+00:00)
In the docs for Sphinx, it is very useful to see screenshots for all the themes, instead of having to try them one by one and rebuild.  It would be great to have something similar for Pygments styles.
This could be a simple change to the docs to include static images, or a change to the demo pastebin app to let people select style in addition to lexer.

This could be a simple change to the docs to include static images, or a change to the demo pastebin app to let people select style in addition to lexer.

They can.


Not able to upload any packages

Describe the bug
Not able to upload any packages on nuget.org - nothing happens.
To Reproduce
Steps to reproduce the behavior:

Go to https://www.nuget.org/packages/manage/upload
Upload package
Observe 404's in the console

Expected behavior
A clear and concise description of what you expected to happen.
Screenshots

Additional context
Add any other context about the problem here.

Hello, is your package particularly large? Could you try publishing it using the command line: https://docs.microsoft.com/en-us/nuget/nuget-org/publish-a-package#command-line

It is indeed pretty big; dotnet pack is multiplying my asset files a few times over for some reason and that's blowing up the size to about 300mb. Even the CLI upload is failing:
--timeout 900000
Pushing Hammer.0.0.2.nupkg to 'https://www.nuget.org/api/v2/package'...
  PUT https://www.nuget.org/api/v2/package/

An error was encountered when fetching 'PUT https://www.nuget.org/api/v2/package/'. The request will now be retried.
Error while copying content to a stream.
  Unable to write data to the transport connection: Connection reset by peer.
  Connection reset by peer
  PUT https://www.nuget.org/api/v2/package/

The maximum package size is 250mb on nuget.org, so you won't be able to upload your 300mb package. For more information, see: https://docs.microsoft.com/en-us/nuget/nuget-org/nuget-org-faq#what-is-the-maximum-size-of-packages-i-can-upload-to-nuget-org

NuGet.org allows packages up to 250MB, but we recommend keeping packages under 1MB if possible and using dependencies to link packages together. ... NuGet uses HTTP to download packages, so larger packages have a higher likelihood of failed installs than smaller ones.

Large packages are not all that well supported by NuGet. I recommend analyzing your package to see what's taking up so much space, and reducing its size if possible. If necessary, you can split your package into smaller packages that are linked together using dependencies.
Here are some suggestions if you still run into upload timeouts after reducing your package's size:

Use an internet connection with high upload speeds
If possible, try to upload your package from a machine in North America as this is physically closer to our servers that accept package uploads. You can do this using continuous integration providers, like GitHub Actions: https://docs.github.com/en/actions

I've been working through this, going with the split packages approach as it's not been possible to size the package down (nuget duplicating symlinked content is a blocker).
How can my application get a path to a dependant package in order to load the content? I understand for assemblies and native libraries nuget has magic that makes them visible, but in my case I my native code needs an actual path to load content from - and I'm not sure how to do that cross-package.

Hello @vadi2, I think the best path forward here is to take a look at this document which focuses on creating native packages:
https://docs.microsoft.com/en-us/nuget/guides/native-packages
In the document, there is a link to an example native package. Perhaps that can get you started in the right direction. This repository is more for the nuget.org website so we're not best equipped to answer specific packaging questions like this.
If you're still blocked by native packaging or referencing assemblies in dependencies, could you ask the question at https://github.com/NuGet/Home/issues?
Thanks!


'ERR_INCOMPLETE_CHUNKED_ENCODING' error on chrome console

I have a razor page
@using Microsoft.AspNetCore.Mvc.Localization
@inject IViewLocalizer Localizer
@{
    Layout = "~/Views/Shared/_ForgetPasswordLayout.cshtml";
    var redirectUrl = ViewBag.RedirectUrl ?? Url.Content("~/Account/Login");
}

<title>@Localizer["ConfirmEmail_Confirmation_Title"]</title>

@Localizer["ConfirmEmail_Confirmation_Title"]

            @Localizer["ConfirmEmail_Confirmation_Hint_1"] @Localizer["ConfirmEmail_Confirmation_Hint_2"]

when i request it ,an error 'ERR_INCOMPLETE_CHUNKED_ENCODING'  occurred on the Google console，
this error does not occur every time
my errorhandlingmiddleware get a error message:
Input string was not in a correct format.: System.FormatException: Input string was not in a correct format.
   at System.Text.StringBuilder.FormatError()
   at System.Text.StringBuilder.AppendFormatHelper(IFormatProvider provider, String format, ParamsArray args)
   at System.String.FormatHelper(IFormatProvider provider, String format, ParamsArray args)
   at System.String.Format(IFormatProvider provider, String format, Object[] args)
   at Microsoft.AspNetCore.Html.HtmlFormattableString.WriteTo(TextWriter writer, HtmlEncoder encoder)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.Internal.ViewBuffer.WriteToAsync(TextWriter writer, HtmlEncoder encoder)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderLayoutAsync(ViewContext context, ViewBufferTextWriter bodyWriter)
   at Microsoft.AspNetCore.Mvc.Razor.RazorView.RenderAsync(ViewContext context)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ViewContext viewContext, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewExecutor.ExecuteAsync(ActionContext actionContext, IView view, ViewDataDictionary viewData, ITempDataDictionary tempData, String contentType, Nullable`1 statusCode)
   at Microsoft.AspNetCore.Mvc.ViewFeatures.ViewResultExecutor.ExecuteAsync(ActionContext context, ViewResult result)
   at Microsoft.AspNetCore.Mvc.ViewResult.ExecuteResultAsync(ActionContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultAsync(IActionResult result)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResultFilterAsync[TFilter,TFilterAsync]()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResultExecutedContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.ResultNext[TFilter,TFilterAsync](State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeResultFilters()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeNextResourceFilter()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Rethrow(ResourceExecutedContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeFilterPipelineAsync()
   at Microsoft.AspNetCore.Mvc.Internal.ResourceInvoker.InvokeAsync()
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Session.SessionMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIIndexMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext)
   at IdentityServer4.Hosting.IdentityServerMiddleware.Invoke(HttpContext context, IEndpointRouter router, IUserSession session, IEventService events)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context)
   at IdentityServer4.Hosting.BaseUrlMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Localization.RequestLocalizationMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Cors.Infrastructure.CorsMiddleware.Invoke(HttpContext context)
   at GrapeLEAF.GLAS.ErrorHandlingMiddleware.Invoke(HttpContext context) in xxxMiddleware.cs:line 46

how can I resolve it?
lib -> .net core 2.1

Thank you for filing this issue, @cryeshiren. In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem.

I can't provide the project for you, because that project is a company internal project. But I can provide some detail for you.
I have a controller,  like 'AccountController', there are some method inside, like 'ForgotPassword', 'ConfirmEmail'...
That methods just show the simple page. The page contains elements of globalization. (But I dont't think the reason is globalization because this problem all occurs in English or other languages.)
Then, at sometimes, my error handle middleware catch the exception above.
I got some information from the above exception message. I think the ‘WriteToAsync’ method which in ViewBuffer.cs has an exception.
the code in ViewBuffer.CS
public async Task WriteToAsync(TextWriter writer, HtmlEncoder encoder)
    {
      if (writer == null)
        throw new ArgumentNullException(nameof (writer));
      if (encoder == null)
        throw new ArgumentNullException(nameof (encoder));
      for (int i = 0; i < this.Count; ++i)
      {
        ViewBufferPage page = this[i];
        for (int j = 0; j < page.Count; ++j)
        {
          ViewBufferValue viewBufferValue = page.Buffer[j];
          string str;
          if ((str = viewBufferValue.Value as string) != null)
          {
            await writer.WriteAsync(str);
          }
          else
          {
            ViewBuffer viewBuffer;
            if ((viewBuffer = viewBufferValue.Value as ViewBuffer) != null)
            {
              await viewBuffer.WriteToAsync(writer, encoder);
            }
            else
            {
              IHtmlContent htmlContent;
              if ((htmlContent = viewBufferValue.Value as IHtmlContent) != null)
              {
                htmlContent.WriteTo(writer, encoder);
                await writer.FlushAsync();
              }
            }
          }
        }
        page = (ViewBufferPage) null;
      }
    }

Please check it, thank you :)

Thanks, @cryeshiren.
@NTaylorMullen, is there enough data for you to investigate this?

Hi @cryeshiren this can occur when there's an unhandled exception thrown on the server. Could you add logging and see if there's an unhnadled exception in the log?
https://docs.microsoft.com/en-us/aspnet/core/fundamentals/logging/?view=aspnetcore-2.1

@NTaylorMullen Thanks, I solved this problem， this is a globalization problem. The resource file has some issues.


Change snippet references for csharp

Summary
Moved some of the references to code that was outside of the snippets folder, to the snippets folder.
Depends on dotnet/samples#2039

The samples repo PR copied the existing samples/csharp folder to samples/snippets/csharp
I updated all references (from the old build report) of the snippets referencing the old folder.
I will look at the new build report and correct any bad links that remain.

Related to #17297


Network request failed. Payload is not serializable: Converting circular structure to JSON

using createaApolloFetch() to merge schemas I am having Network request failed. Payload is not serializable: Converting circular structure to JSON error and I don't know if I am doing something wrong, this is my piece of code:
const remoteUrl = "http://my_url/graphql";
const fetcher = createApolloFetch({ uri: remoteUrl });
fetcher.use(({ request, options }, next) => {
    options.headers = {
        'Authorization': "token"
    };

    next();
});
return makeRemoteExecutableSchema({
    schema: await introspectSchema(fetcher),
    fetcher
});

}
export const schema = remoteExecutableSchema();`
This is the error I am getting:
Error: Network request failed. Payload is not serializable: Converting circular structure to JSON     at Object.checkResultAndHandleErrors ...node_modules/graphql-tools/dist/stitching/errors.js:69:36)     at Object.<anonymous> (/.../node_modules/graphql-tools/dist/stitching/delegateToSchema.js:92:52)     at step (.../node_modules/graphql-tools/dist/stitching/delegateToSchema.js:40:23)     at Object.next (.../node_modules/graphql-tools/dist/stitching/delegateToSchema.js:21:53)     at fulfilled (.../node_modules/graphql-tools/dist/stitching/delegateToSchema.js:12:58)     at <anonymous>     at process._tickCallback (internal/process/next_tick.js:188:7)

I already found a "solution" modifying the library:
function constructDefaultOptions(requestOrRequests, options) {
       var body;
        try {
            var cache = [];
            body = JSON.stringify(requestOrRequests, function(key, value) {
                if (typeof value === 'object' && value !== null) {
                    if (cache.indexOf(value) !== -1) {
                        // Circular reference found, discard key
                        return;
                    }
                    // Store value in our collection
                    cache.push(value);
                }
                return value;
            });
            cache = null; // Enable garbage collection
        }
    catch (e) {
        throw new Error("Network request failed. Payload is not serializable: " + e.message);
    }
    return __assign({ body: body, method: 'POST' }, options, { headers: __assign({ Accept: '*/*', 'Content-Type': 'application/json' }, options.headers || []) });
}

Are you guys gonna do a change there or should I try to find another different solution?

This worked for you @trivago-mbonilla  ?

yes, but as the change is in the lib I switched to apollo-link

Thanks, it worked here too. @trivago-mbonilla

Any updates on this?


"Unexpected token" error with SQS proxy

I'm using the SQS proxy and getting an "unexpected token" error invoking anything.  It appears as though nothing is getting through the proxy (both running on the same server in PM2 process manager).
The lambda function itself tests out okay with the presets test file:

{
"version": "1.0",
"response": {
"outputSpeech": {
"type": "PlainText",
"text": "OK"
},
"shouldEndSession": true
},
"sessionAttributes": {}
}

but I get an error in the log output:

START RequestId: 43ec0834-499b-11e7-9821-6fdd89621437 Version: $LATEST
2017-06-05T03:01:26.668Z	43ec0834-499b-11e7-9821-6fdd89621437	session applicationId: MYAPPID
2017-06-05T03:01:26.668Z	43ec0834-499b-11e7-9821-6fdd89621437	dispatch intent = PlayPresetIntent
2017-06-05T03:01:26.668Z	43ec0834-499b-11e7-9821-6fdd89621437	PlayPresetIntent received
2017-06-05T03:01:26.668Z	43ec0834-499b-11e7-9821-6fdd89621437	Sending SQS '/preset/test'
2017-06-05T03:01:26.828Z	43ec0834-499b-11e7-9821-6fdd89621437	SQS purged queue
2017-06-05T03:01:26.953Z	43ec0834-499b-11e7-9821-6fdd89621437	SQS successfully sent message /preset/test
2017-06-05T03:01:47.027Z	43ec0834-499b-11e7-9821-6fdd89621437	SQS successfully received response
2017-06-05T03:01:47.028Z	43ec0834-499b-11e7-9821-6fdd89621437	SQS '/preset/test' failed
2017-06-05T03:01:47.028Z	43ec0834-499b-11e7-9821-6fdd89621437	[TypeError: Cannot read property '0' of undefined]
END RequestId: 43ec0834-499b-11e7-9821-6fdd89621437
REPORT RequestId: 43ec0834-499b-11e7-9821-6fdd89621437	Duration: 20373.74 ms	Billed Duration: 20400 ms 	Memory Size: 128 MB	Max Memory Used: 43 MB

and if I test any utterance from the Alexa skills dashboard, I get the following:

"version": "1.0",
"response": {
"outputSpeech": {
"type": "PlainText",
"text": "The Lambda service encountered an error: Unexpected token T"
},
"shouldEndSession": true
},
"sessionAttributes": {}

I've tried using both root account keys and a separate user and neither seem to work.  My user account credentials aren't even getting hit -- when I look at IAM for the security credentials of my user (the keys of which are in settings.json) I see that the last use is "N/A".  I'm also using the default options.js with environment variable declarations in lambda vs. updating options.js directly.

Update: not any utterance.  I tested the play and pause intents, and those work fine.  Seems to be just on music searches (my default service is library).

Found my issue -- my echo-sqs-proxy was erroring out because it didn't have async installed.  Didn't realize it at first because I was running the script in PM2, which I eventually noticed had a high number of restarts.  Ran it on the command line with npm start and saw the error right away.  As soon as I installed async, all of my SQS messages from my tests came pouring through.
I submitted pull request #178 which adds async as a dependency for echo-sqs-proxy.


rewrite stuff more

make things better cause better is better

👷 Deploy Preview for cell-to-singularity-appeal processing.

Name
Link

🔨 Latest commit
feabb6874862447b0381876dc7d8cf018969a029

🔍 Latest deploy log
https://app.netlify.com/sites/cell-to-singularity-appeal/deploys/62832e2f5e145c00086bc3cc


Format init.lua using StyLua

@GaetanLepage mentioned it'd be nice to format init.lua using stylua. This PR does that by introducing a new derivation builder helpers.writeLua.
The options parameter is mostly there to allow for unforeseen future use-cases. It's currently unused.
This is currently only used for init.lua, the other files (e.g. ftplugins) will also need to migrate to writeLua to benefit.
In the future, we could expose an option to have either raw, minified, or prettified lua files, although this probably isn't really necessary.

This looks great to me.
The similar pkgs.writeShellApplication has the text as an argument in the "options" attrs.
Should we do that as well ?

The similar pkgs.writeShellApplication has the text as an argument in the "options" attrs.
Should we do that as well ?

Do you prefer using pkgs.writeText "name" "text" or its sister pkgs.writeTextFile { name = "name"; text = "text"; }?

The similar pkgs.writeShellApplication has the text as an argument in the "options" attrs.
Should we do that as well ?

Do you prefer using pkgs.writeText "name" "text" or its sister pkgs.writeTextFile { name = "name"; text = "text"; }?

Let's go for the first one now as it is the most compact.
There is no issue with changing it later as this is basically an internal helper.

There is no issue with changing it later as this is basically an internal helper.

Following that philosophy, is there any reason to include the options param at this point, or should we assume the defaults will always be used and simplify further by dropping the argument?

Following that philosophy, is there any reason to include the options param at this point, or should we assume the defaults will always be used and simplify further by dropping the argument?

Exactly.

Diff LGTM.
Have you tested this patch locally (on your config for instance) ?

Have you tested this patch locally (on your config for instance) ?

Tested by printing packages.x86_64-linux.nvim.config.initPath in nix repl and then opening the printed path in vim.
Vim still runs ok, and the init file appears to be formatted correctly.
I haven't checked if this affects the init file written to ~/.config/nvim (etc) by the home-manager/nixos/darwin modules, but I'm assuming that's just a copy of packages.x86_64-linux.nvim.config.initPath.

Have you tested this patch locally (on your config for instance) ?

Tested by printing packages.x86_64-linux.nvim.config.initPath in nix repl and then opening the printed path in vim.
Vim still runs ok, and the init file appears to be formatted correctly.
I haven't checked if this affects the init file written to ~/.config/nvim (etc) by the home-manager/nixos/darwin modules, but I'm assuming that's just a copy of packages.x86_64-linux.nvim.config.initPath.

Cool !

Looks like extraFiles will need a variant of writeLua that writes to a subdir within $out. pkgs.writeTextFile handles this with an optional destination attribute.

Looks like extraFiles will need a variant of writeLua that writes to a subdir within $out. pkgs.writeTextFile handles this with an optional destination attribute.
This can be refactored in a followup PR

Yeah I guess we need the same hierarchy of functions that writeTextFile & writeText.
I think we should do that in a subsequent PR


AVRO-2456: Add interop test for the snappy and zstd codec

Make sure you have checked all steps below.
Jira

[x] My PR addresses the following Avro Jira issues and references them in the PR title. For example, "AVRO-1234: My Avro PR"

https://issues.apache.org/jira/browse/AVRO-2456
In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

Tests

[x] My PR adds the following unit tests OR does not need testing for this extremely good reason:

This PR added snappy and zstd interop tests to the Java and Python2 bindings. It also fixed the Ruby bindings to run the interop tests only for null and deflate codecs so that its interop tests pass.
I ran ./build.sh test locally on the top directory and confirmed that all tests passed.
Commits

[x] My commits all reference Jira issues in their subject lines. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters (not including Jira issue reference)
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Documentation

[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain Javadoc that explain what it does

I've just noticed AVRO-2436 broke the data interop test. After that change, the interop test for Python2 came to generate snappy-compressed test data, but Java interop test fails to read it due to the lack of the dependent library.
This PR also fixes that problem by revising pom.xml, so I'd appreciate if you review it ASAP. :)

Good catch Seki. Thanks for the explanation.
Op vr 5 jul. 2019 om 07:22 schreef Kengo Seki<EMAIL_ADDRESS>
@sekikn commented on this pull request.
In lang/java/ipc/pom.xml
https://github.com/apache/avro/pull/573#discussion_r300543941:

@@ -142,6 +142,14 @@
javax.annotation-api
1.3.2

Thanks for the review and the comment @Fokko https://github.com/Fokko!
Hmm, I think we need to add dependencies on snappy-java and zstd-jni to
the avro-ipc module, since that module contains the data interop test for
Java, which reads snappy- and zstd-compressed Avro files generated by other
language bindings. Without those dependencies, ./build.sh test on the
top-level directory fails as follows:
[INFO]
[INFO] --- maven-surefire-plugin:3.0.0-M3:test (default-test) @ avro-ipc ---
[INFO]
[INFO] -------------------------------------------------------
[INFO]  T E S T S
[INFO] -------------------------------------------------------
Reading data files from directory: /home/sekikn/avro/lang/java/ipc/../../../build/interop/data
[INFO] Running org.apache.avro.DataFileInteropTest
Reading with specific:
Reading: py_snappy.avro
Reading with generic:
Reading: py_snappy.avro
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.349 s <<< FAILURE! - in org.apache.avro.DataFileInteropTest
[ERROR] testGeneratedSpecific(org.apache.avro.DataFileInteropTest)  Time elapsed: 0.333 s  <<< ERROR!
org.apache.avro.AvroRuntimeException: Unrecognized codec: snappy
In addition, I've just noticed we also have to add a dependency on
zstd-jni to the avro-tools module. Due to the lack of that, the currently
released avro-tools can't read zstd-compressed Avro files by itself. For
this module, snappy-java is already added to the dependencies.
$ curl -sLO https://www-us.apache.org/dist/avro/avro-1.9.0/java/avro-tools-1.9.0.jar
$ java -jar avro-tools-1.9.0.jar tojson build/interop/data/java_snappy.avro > /dev/null
19/07/05 14:09:01 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
$ echo $?
0
$ java -jar avro-tools-1.9.0.jar tojson build/interop/data/java_zstandard.avro
19/07/05 14:09:23 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Exception in thread "main" java.lang.NoClassDefFoundError: com/github/luben/zstd/ZstdOutputStream
at org.apache.avro.file.ZstandardCodec.decompress(ZstandardCodec.java:78)
at org.apache.avro.file.DataFileStream$DataBlock.decompressUsing(DataFileStream.java:379)
at org.apache.avro.file.DataFileStream.hasNext(DataFileStream.java:213)
at org.apache.avro.tool.DataFileReadTool.run(DataFileReadTool.java:80)
at org.apache.avro.tool.Main.run(Main.java:66)
at org.apache.avro.tool.Main.main(Main.java:55)
Caused by: java.lang.ClassNotFoundException: com.github.luben.zstd.ZstdOutputStream
at java.net.URLClassLoader.findClass(URLClassLoader.java:382)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:349)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 6 more
$ echo $?
1
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/apache/avro/pull/573?email_source=notifications&email_token=AAIU5KBMIE7ADUV5UVF37ILP53K7VA5CNFSM4H4M3NG2YY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOB5SDHRA#discussion_r300543941,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIU5KG3QWGIQVBCL5K4A7TP53K7VANCNFSM4H4M3NGQ
.

Thanks @Fokko! May I add a dependency on zstd-jni to avro-tools' pom.xml within this PR? Or should I do that on another JIRA issue and PR?


Update version Whoops

Thanks for this! Wasn't aware 2.0 had been released yet :smile:
I merged this along with some other fixes/updates in the new version 2.1.0.
In order to install it over an existing installation I had to manually remove the vendor/oldskool and vendor/filp folders and remove the according package blocks from the composer.lock file, since Whoops 1.x and 2.x cannot be installed "at the same time" and Composer will start complaining about this (and prevent the update from happening).


Add support for "offset and "limit" parameters in QIDO-RS

Expected Behavior
When sending a qido-rs request to the server with the query parameters "offset" and "limit" the server should return responses = to the "limit" parameter starting from the "offset" index
Actual Behavior
The server ignores the "offset" and "limit" parameters

This has been implemented.
For information of how this method works, I have updated the documentation here: https://dicomcloud.github.io/docs/dicomcloud/pagination/

Most importantly the server will always apply a limit to the returned query results which is by default 12


feat(deis-minio-*): add and use persistent volumes in minio

This PR only enables persistence on the host's disk.
Volumes Reference: http://kubernetes.io/v1.1/docs/user-guide/volumes.html#persistentvolumeclaim
Persistence reference: https://github.com/kubernetes/kubernetes/blob/release-1.1/docs/user-guide/persistent-volumes.md
Only modifies deis-dev charts.
Related: https://github.com/deis/minio/pull/46
Ref: https://github.com/deis/deis/issues/4809

Given Object Storage conversations. This is out of the v2 beta milestone.

Can we close this PR for now?

Yes, this was a spike to investigate the viability of running Minio against a persistent volume. Closing.


Sample code for AppBar.actions not formatted correctly

Steps to Reproduce
Go to https://docs.flutter.io/flutter/material/AppBar/actions.html
The sample code doesn't have the correct indentations (see the screenshot below):

In addition, it would be helpful to have a "Sample code" header above the code to match the "Implementation" header below.

cc @jcollins-g

This appears to be fixed (see https://docs.flutter.io/flutter/material/AppBar/actions.html) can it be closed?

Sure. Closed!


Create seasons.txt

password permutations of seasons

Very cool! How did you generate the permutations?

Combination of hashcat rules and a little bash
-------- Original message --------From: PinkDev1 @.> Date: 12/17/21  7:42 PM  (GMT-06:00) To: danielmiessler/SecLists @.> Cc: 5tr1x @.>, Author @.> Subject: Re: [danielmiessler/SecLists] Create seasons.txt (PR #679)
Very cool! How did you generate the permutations?
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

Now that I look at it, I think it'll be better if year permutations are not included on the list, as that makes this list require maintenance, and also extends it for no good reason. If anyone uses this list, they'll have to concatenate the year string themselves.

Also I was asking EXACTLY how you generated the permutations. (ie. With what script?) Maybe there is a way to generate even more permutations.

Ah yes the year thing makes sense. And you can check out the script I used under my repo - misc bash I think :)
-------- Original message --------From: PinkDev1 @.> Date: 12/19/21  6:08 PM  (GMT-06:00) To: danielmiessler/SecLists @.> Cc: 5tr1x @.>, Author @.> Subject: Re: [danielmiessler/SecLists] Create seasons.txt (PR #679)
Also I was asking EXACTLY how you generated the permutations. (ie. With what script?) Maybe there is a way to generate even more permutations.
—Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you authored the thread.Message ID: @.***>

Is this the script?
for i in `cat $1`; do echo ${i}; echo ${i}2019; echo ${i}2020; echo ${i}2021; echo ${i}2022; echo ${i}1; echo ${i}123; done >> n
for i in `cat n`; do echo ${i}; echo ${i}'!'; echo ${i}'@'; echo ${i}'#'; echo ${i}'$'; echo ${i}'%'; echo ${i}'^'; echo ${i}'&'; echo ${i}'*'; echo ${i}'?'; done >> s
hashcat s -r /usr/share/hashcat/rules/leetspeak.rule --stdout > hc
wordlister --input s --perm 1 --min 4 --max 48 --leet &>/dev/null
mv output.txt wl
cat hc wl | sort -u > vvv
wordlister --input vvv --perm 1 --min 4 --max 48 --cap --up &>/dev/null
cat output.txt | sort -u > $2
rm n s hc wl vvv output.txt

https://github.com/5tr1x/misc_bash/blob/main/create-wordlist.sh
If so, it doesn't have a input wordlist (reads argument one), what was the base input file?

Yes, that's the script. The input file was just a list of seasons in lowercase:
spring
summer
autumn
fall
winter

Thank you!


HF Spaces inference failing with error: huggingface_hub.utils._errors.LocalEntryNotFoundError

Describe the bug
I have set up a basic HF Space from an AutoTrain object detection model. The model is based on facebook/detr-resnet-101. The space builds and loads properly, but when i submit an image for inference it fails with the error I have added to the logs.
This is my app.py file, and I have not modified or added any other files.
import os
import gradio as gr

gr.load("models/rileybol/autotrain-1hkeo-o33ms", hf_token=os.environ.get('HF_TOKEN')).launch()

Reproduction
No response
Logs
===== Application Startup at 2024-05-24 17:49:05 =====

Fetching model from: https://huggingface.co/rileybol/autotrain-1hkeo-o33ms
Running on local URL:  http://<IP_ADDRESS>:7860

To create a public link, set `share=True` in `launch()`.
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 304, in hf_raise_for_status
    response.raise_for_status()
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api-inference.huggingface.co/models/rileybol/autotrain-1hkeo-o33ms

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 528, in process_events
    response = await route_utils.call_process_api(
  File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 270, in call_process_api
    output = await app.get_blocks().process_api(
  File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1908, in process_api
    result = await self.call_function(
  File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1485, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
  File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
    return await future
  File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run
    result = context.run(func, *args)
  File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 808, in wrapper
    response = f(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/gradio/external.py", line 371, in query_huggingface_inference_endpoints
    data = fn(*data)  # type: ignore
  File "/usr/local/lib/python3.10/site-packages/gradio/external_utils.py", line 174, in object_detection_inner
    annotations = client.object_detection(input)
  File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 1314, in object_detection
    response = self.post(data=image, model=model, task="object-detection")
  File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 273, in post
    hf_raise_for_status(response)
  File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 371, in hf_raise_for_status
    raise HfHubHTTPError(str(e), response=response) from e
huggingface_hub.utils._errors.HfHubHTTPError: 500 Server Error: Internal Server Error for url: https://api-inference.huggingface.co/models/rileybol/autotrain-1hkeo-o33ms (Request ID: 7vFuJSJB1qsRU2RQusCE7)

Could not load model rileybol/autotrain-1hkeo-o33ms with any of the following classes: (<class 'transformers.models.detr.modeling_detr.DetrForObjectDetection'>,). See the original errors:

while loading with DetrForObjectDetection, an error is thrown:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1238, in hf_hub_download
    metadata = get_hf_file_metadata(
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1631, in get_hf_file_metadata
    r = _request_wrapper(
        ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 385, in _request_wrapper
    response = _request_wrapper(
               ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 408, in _request_wrapper
    response = get_session().request(method=method, url=url, **params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_http.py", line 78, in send
    raise OfflineModeIsEnabled(
huggingface_hub.utils._http.OfflineModeIsEnabled: Cannot reach https://huggingface.co/timm/resnet101.a1h_in1k/resolve/main/pytorch_model.bin: offline mode is enabled. To disable it, please unset the `HF_HUB_OFFLINE` environment variable.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/transformers/pipelines/base.py", line 283, in infer_framework_load_model
    model = model_class.from_pretrained(model, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/transformers/modeling_utils.py", line 3550, in from_pretrained
    model = cls(config, *model_args, **model_kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/transformers/models/detr/modeling_detr.py", line 1479, in __init__
    self.model = DetrModel(config)
                 ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/transformers/models/detr/modeling_detr.py", line 1311, in __init__
    backbone = DetrConvEncoder(config)
               ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/transformers/models/detr/modeling_detr.py", line 353, in __init__
    backbone = create_model(
               ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/timm/models/_factory.py", line 117, in create_model
    model = create_fn(
            ^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/timm/models/resnet.py", line 1362, in resnet101
    return _create_resnet('resnet101', pretrained, **dict(model_args, **kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/timm/models/resnet.py", line 584, in _create_resnet
    return build_model_with_cfg(ResNet, variant, pretrained, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/timm/models/_builder.py", line 410, in build_model_with_cfg
    load_pretrained(
  File "/usr/local/lib/python3.11/site-packages/timm/models/_builder.py", line 190, in load_pretrained
    state_dict = load_state_dict_from_hf(pretrained_loc)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/timm/models/_hub.py", line 188, in load_state_dict_from_hf
    cached_file = hf_hub_download(hf_model_id, filename=filename, revision=hf_********)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1371, in hf_hub_download
    raise LocalEntryNotFoundError(
huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 304, in hf_raise_for_status
    response.raise_for_status()
  File "/usr/local/lib/python3.10/site-packages/requests/models.py", line 1024, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 500 Server Error: Internal Server Error for url: https://api-inference.huggingface.co/models/rileybol/autotrain-1hkeo-o33ms

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/gradio/queueing.py", line 528, in process_events
    response = await route_utils.call_process_api(
  File "/usr/local/lib/python3.10/site-packages/gradio/route_utils.py", line 270, in call_process_api
    output = await app.get_blocks().process_api(
  File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1908, in process_api
    result = await self.call_function(
  File "/usr/local/lib/python3.10/site-packages/gradio/blocks.py", line 1485, in call_function
    prediction = await anyio.to_thread.run_sync(
  File "/usr/local/lib/python3.10/site-packages/anyio/to_thread.py", line 56, in run_sync
    return await get_async_backend().run_sync_in_worker_thread(
  File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 2144, in run_sync_in_worker_thread
    return await future
  File "/usr/local/lib/python3.10/site-packages/anyio/_backends/_asyncio.py", line 851, in run
    result = context.run(func, *args)
  File "/usr/local/lib/python3.10/site-packages/gradio/utils.py", line 808, in wrapper
    response = f(*args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/gradio/external.py", line 371, in query_huggingface_inference_endpoints
    data = fn(*data)  # type: ignore
  File "/usr/local/lib/python3.10/site-packages/gradio/external_utils.py", line 174, in object_detection_inner
    annotations = client.object_detection(input)
  File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 1314, in object_detection
    response = self.post(data=image, model=model, task="object-detection")
  File "/usr/local/lib/python3.10/site-packages/huggingface_hub/inference/_client.py", line 273, in post
    hf_raise_for_status(response)
  File "/usr/local/lib/python3.10/site-packages/huggingface_hub/utils/_errors.py", line 371, in hf_raise_for_status
    raise HfHubHTTPError(str(e), response=response) from e
huggingface_hub.utils._errors.HfHubHTTPError: 500 Server Error: Internal Server Error for url: https://api-inference.huggingface.co/models/rileybol/autotrain-1hkeo-o33ms (Request ID: hglHrlyIAKP2NgfZINp7A)

Could not load model rileybol/autotrain-1hkeo-o33ms with any of the following classes: (<class 'transformers.models.detr.modeling_detr.DetrForObjectDetection'>,). See the original errors:

while loading with DetrForObjectDetection, an error is thrown:
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1238, in hf_hub_download
    metadata = get_hf_file_metadata(
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1631, in get_hf_file_metadata
    r = _request_wrapper(
        ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 385, in _request_wrapper
    response = _request_wrapper(
               ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 408, in _request_wrapper
    response = get_session().request(method=method, url=url, **params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 587, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/requests/sessions.py", line 701, in send
    r = adapter.send(request, **kwargs)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_http.py", line 78, in send
    raise OfflineModeIsEnabled(
huggingface_hub.utils._http.OfflineModeIsEnabled: Cannot reach https://huggingface.co/timm/resnet101.a1h_in1k/resolve/main/pytorch_model.bin: offline mode is enabled. To disable it, please unset the `HF_HUB_OFFLINE` environment variable.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/usr/local/lib/python3.11/site-packages/transformers/pipelines/base.py", line 283, in infer_framework_load_model
    model = model_class.from_pretrained(model, **kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/transformers/modeling_utils.py", line 3550, in from_pretrained
    model = cls(config, *model_args, **model_kwargs)
            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/transformers/models/detr/modeling_detr.py", line 1479, in __init__
    self.model = DetrModel(config)
                 ^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/transformers/models/detr/modeling_detr.py", line 1311, in __init__
    backbone = DetrConvEncoder(config)
               ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/transformers/models/detr/modeling_detr.py", line 353, in __init__
    backbone = create_model(
               ^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/timm/models/_factory.py", line 117, in create_model
    model = create_fn(
            ^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/timm/models/resnet.py", line 1362, in resnet101
    return _create_resnet('resnet101', pretrained, **dict(model_args, **kwargs))
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/timm/models/resnet.py", line 584, in _create_resnet
    return build_model_with_cfg(ResNet, variant, pretrained, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/timm/models/_builder.py", line 410, in build_model_with_cfg
    load_pretrained(
  File "/usr/local/lib/python3.11/site-packages/timm/models/_builder.py", line 190, in load_pretrained
    state_dict = load_state_dict_from_hf(pretrained_loc)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/timm/models/_hub.py", line 188, in load_state_dict_from_hf
    cached_file = hf_hub_download(hf_model_id, filename=filename, revision=hf_********)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/huggingface_hub/file_download.py", line 1371, in hf_hub_download
    raise LocalEntryNotFoundError(
huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.

System info
This is running in Hugging Face Spaces, on the default CPU hardware.

Hi @rileybolen, would it be ok to make this model public and retry? https://huggingface.co/rileybol/autotrain-1hkeo-o33ms
I want to confirm if it is a problem related to permissions or not. Also having it public would help me reproduce the error. If it's too confidential, let me know and we will figure out something.

Looks like making it public also made the InferenceAPI work properly. Just tried running the "Palace" example for instance and it worked on serverless API.

Hi @Wauplin

@NITHISH-Projects you are getting a warning about your package not been up to date: pip install -U langchain-huggingface. I'm not familiar with the error nor the package you're using but first thing I'd try is to upgrade and then open an issue in langchain_community repository since the failing call seems to be coming from there:
File "/usr/local/lib/python3.10/dist-packages/langchain_community/llms/huggingface_endpoint.py", line 265, in _call
response = self.client.post(

=> for what I understand, it's calling self.client.post (from huggingface_hub) with an incorrect task name for the model => can't help much here :confused:


Consider archiving this repo?

https://github.com/blog/2460-archiving-repositories
Might save @froschdesign some time replying to every new issue with the EOL message. :)

@jaydiablo
I had the same idea, but:

We recommend that you close all issues and pull requests…

https://help.github.com/articles/about-archiving-repositories/

@weierophinney
Seems to work without closing all issues and PRs. Compare with: https://github.com/thephpleague/json-guard/issues
What do you think? The forum is still open for questions related to ZF1. (A note in the readme could help.)

Doing it now...


What is the purpose of each folder?

We need to outline the purpose of each folder in order to better understand the PX4 repository layout.
Acceptance Criteria

[x] Each folder's & sub-folders purpose from the PX4 repository is outlined & documented

This has been transferred to the wiki.


add silkscreen for resistor values

don't use their names for the silkscreen, use their values. put them on tPlace.

done as of commit d8f06583e7917c512c09038e06807239232a6a9e


Some JS files not loaded in production after SSL / HTTPS enabling

I'm acutally facing a problem I did not have before. I've installed and deployed a domain on my current project deployed on Laravel Forge. Everything was working fine before. But after I've added the HTTPS / SSL certificate, some JS files can't be loaded.
php artisan backpack:version
    ### PHP VERSION:
PHP 8.2.10 (cli) (built: Sep  2 2023 06:59:22) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.2.10, Copyright (c) Zend Technologies
    with Zend OPcache v8.2.10, Copyright (c), by Zend Technologies

### LARAVEL VERSION:
<IP_ADDRESS>

### BACKPACK PACKAGE VERSIONS:
backpack/basset: 1.2.2
backpack/crud: 6.6.1
backpack/language-switcher: 1.0.1
backpack/logmanager: v5.0.1
backpack/permissionmanager: 7.1.1
backpack/pro: 2.1.1
backpack/theme-coreuiv2: 1.2.3

I'm facing some 404 errors, while files are present on the server. For example :
<EMAIL_ADDRESS>Then the website tries to load : https://mydomain.com/storage/basset/unpkg.com/jquery@3.7.1/dist/jquery.min.js?da0bb19700ee
But I get a 404 error. I've logged-in into SSH on my server, and I can confirm the file is there :
root<EMAIL_ADDRESS>ls jquery.min.js
I've tried to do a : php artisan basset:clear, then php artisan basset:cache or internalize, but still the same problem. Everything was working fine before.
Any ideas ?

Problem solved. Wrong storage:link when I changed the project name and URL.
To solve the problem :
rm public/storage
php artisan storage:link


opae.io: use opae_python_install in cmake

Replace regular cmake install directive with opae_python_install
Remove install step in legacy RPM spec file template (opae.spec.in)
Cleanup whitespace...

Coverage decreased (-0.06%) to 67.283% when pulling 969c57ca488c8f794c81ce821098ec20a45ad2bd on rrojo/opae.io-python_install into 3151e4b1f1970c7a6aee476e440120ad8a225389 on master.


Check if file exists

Hi,
is using Search the correct method to check if a file exists ?
~ Marc

The "best" method I've found so far is to try to get the file's metadata, which will throw an exception if the file does not exist, but of course there are more reasons why an exception may be thrown so I check the code of the exception for the 'not found' code.  This was achieved by trial and error so I'm not convinced it's the best way.
      try {
        $meta = $dropbox->getMetadata($filename);
      } catch (Exception $ex) {
        if ($ex->getCode() == 409) {
          // .. file does not exist
        } else {
          throw $ex; // re-throw any other exception
        }
      }

Yes, it's horrible :)


LDAP cache not clearing out

Summary:
I have the module configured to allow access to a URL if the user is in a specific LDAP group. I can successfully login with that user and be granted access to the URL page. However, if I remove the user from the LDAP group, I can still login and access the URL.
Configuration:
http {
    auth_ldap_cache_enabled on;
    auth_ldap_cache_expiration_time 100;
    auth_ldap_cache_size 1000;

    ldap_server LDAP1 {
        url "ldaps://ldap:3269/DC=test,DC=,DC=com?sAMAccountName?sub?";
        binddn "test\\user1";
        binddn_passwd "password";
        connect_timeout 5s;
        bind_timeout 5s;
        request_timeout 5s;
        satisfy any;
        require group 'CN=group1,CN=Users,DC=test,DC=com';
        group_attribute_is_dn on;
        group_attribute member;
    }
    server {
        access_log log/nginx/service_access.log;
        listen 80;
        server_name service.test.com;
        location / {
            proxy_pass http://service:3000;
        }
        auth_ldap "Enter AD credentials:";
        auth_ldap_servers LDAP1;
    }
}

Steps to :

Add user to LDAP group
Access http://service.test.com
Enter credentials and login

User is granted access as expected

Close the browser
Remove the user from LDAP group
Access http://service.test.com
Enter credentials and login

User is still granted access

Analysis:
It appears that the module is not expiring entries in the cache properly.
If I send nginx a SIGHUP, then the user is denied access as expected (but continues to be denied access if I re-add them to the LDAP group, unless I do another SIGHUP)
If I disable caching via: auth_ldap_cache_enabled off; then the problem goes away.

I had the same problem and thought that the cache wasn't clearing when the expiration_time was reached. But it turned out to be me who misunderstood that the auth_ldap_cache_expiration_time was in seconds and not milliseconds by default.

Fwiw, i second the OP - i experienced the same with caching (and afaict from reading the code, the cache expiration time is in milliseconds..cf https://github.com/kvspb/nginx-auth-ldap/blob/master/ngx_http_auth_ldap_module.c#L940 - seems it defaults to 10s/1000ms), and so far the only option i had found was to restart nginx to get a clean cache. Next time i'm removing some users from a group i'll try the SIGHUP way but that shouldnt be needed. Maybe something changed in nginx itself wrt cache expiration and this module wasnt updated ?

Dammit, seems @nicolaszordan is right and i'm wrong. When i look at my ldap server logs, it effectively seems that the cache expiration is in seconds... this doesnt make sense/match the code layout. crazy ?

We no longer use this solution for our LDAP authentication so are not in a position to re-test. Based on the above comments it appears that the bug is a misunderstanding on our part (i.e. the timeout is in seconds not milliseconds). As such we are closing this ticket.


Simulate a visible light

Hi guys, I'm trying to simulate a visible light like this one

Does your framework able to do such effect?
Any help or idea will be appreciated !

Hi Jacob,
The best way to do this would be to apply a Spotlight
https://developer.viromedia.com/virocore/reference/com/viro/core/Spotlight.html,
and position it near where the light is on the car. That would give the
"cone of light" effect you're looking for. In order to get the "glow" like
effect, I would experiment with bloom
https://developer.viromedia.com/virocore/reference/com/viro/core/Material.html#setBloomThreshold(float)
try adding a bloom threshold to the material associated with the light, if
possible.
We're also working on emissive textures, for a future release, that will
help as well.
On Tue, Feb 20, 2018 at 3:54 AM, Jacob<EMAIL_ADDRESS>wrote:

Hi guys, I'm trying to simulate a visible light like this one
[image:<PHONE_NUMBER>076]
https://user-images.githubusercontent.com/15327844/36414777-1b95d976-162c-11e8-9d56-e48b3f242e41.png
Does your framework able to do such effect?
Any help or idea will be appreciated !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/viromedia/virocore/issues/26, or mute the thread
https://github.com/notifications/unsubscribe-auth/AOOV6ywNqIOBxYxTyxsnB1ulxGfbAP6Vks5tWohUgaJpZM4SLmkX
.

Hi Jacob,
The best way to do this would be to apply a Spotlight, and position it near where the light is on the car. That would give the "cone of light" effect you're looking for. In order to get the glow-like effect, I would experiment with bloom -- try adding a bloom threshold to the material associated with the light, if possible.
We're also working on emissive textures, for a future release, that will help as well.

Hi @radvani, thanks for advice, I managed to do this

But bloom effect here is not so strong as I would like to have.
Is any idea how can I increase this effect ?
     AmbientLight ambientLight = new AmbientLight();
        ambientLight.setIntensity(200);
        mArScene.getRootNode().addLight(ambientLight);

        Vector position = new Vector(0, 0, -1);
        Spotlight spotlight = new Spotlight();
        spotlight.setPosition(new Vector(0, 0, 0));
        spotlight.setDirection(position);
        spotlight.setIntensity(1000);
        spotlight.setColor(Color.WHITE);
        spotlight.setAttenuationStartDistance(2);
        spotlight.setAttenuationEndDistance(10);
        spotlight.setInnerAngle(15);
        spotlight.setOuterAngle(45);
        mArScene.getRootNode().addLight(spotlight);

        Box box = new Box(0.3f, 0.3f, 0.3f);
        Material material = new Material();
        Bitmap bitmap = Helper.getBitmapFromAsset(ViroARActivity.this, "andy.png");
        Texture texture = new Texture(bitmap, Texture.Format.RGBA8, true, true);
        material.setSpecularTexture(texture);
        material.setBloomThreshold(0.9f);
        material.setLightingModel(Material.LightingModel.PHONG);
        box.setMaterials(Arrays.asList(material));
        Node node = new Node();
        node.setGeometry(box);
        node.setPosition(position);
        mArScene.getRootNode().addChildNode(node);

Have played with bloom threshold and light intensity - does not help

Hi @jacobwyn, unfortunately we don't yet have an API to change the intensity of the Bloom, but I've added a task to our backlog so we can investigate this. In the meantime, increasing the intensity of the Spotlight should help; you can try values larger than 1000.
Also, could you clarify what you mean by attenuating the node opacity? Do you mean, have the objects inside the Node slowly fade out as they move away from the center of the node? We don't have any API for this at the moment.

Also, could you clarify what you mean by attenuating the node opacity? Do you mean, have the objects inside the Node slowly fade out as they move away from the center of the node? We don't have any API for this at the moment.

Yes, exactly.

That's interesting; this is something that should be possible when we expose custom shader modifications, which is on our backlog for a future release.

Thanks in advance!


scheduled-messages: Add separate endpoint for editing existing scheduled messages.

Adds a new separate endpoint for editing scheduled messages: PATCH /scheduled_messages/<int:scheduled_message_id>.
Also, removes the scheduled_message_id parameter from POST /scheduled_messages, and updates that endpoint's operationId to be create-scheduled-message. Previously, it was create-or-edit-scheduled-message.
See this CZO conversation for more context.

Notes:

There is a prep commit that adds a second scheduled message to populate_db.py for Iago. This is because the api-test goes through the operationIds in alphabetical order, so the delete curl example happens before the update/edit curl example happens.
The final three commits can all be squashes before merging:

Removes the scheduled_message_id parameter from the create scheduled message path.
Adds the view and actions for the new edit scheduled message path, with tests.
Adds the API documentation for the new endpoint.

Questions:

I made some notes in the code as comments.
My main question / thought is whether there's a better way to organize the validation aspects of this code path.

Currently, if I could do the validation before accessing the scheduled message in question, I did that in the view function. For example, checking if a type parameter was sent without a to parameter.
Then, in the action edit_scheduled_message, I checked / validated for information that potentially needed details from the existing scheduled message. For example, if the server had failed to send the scheduled message, in which case we want to require the scheduled_message_timestamp to be updated for a time in the future.

Screenshots and screen captures:

API changelog note: feature level 183

Edit a scheduled message

Create a scheduled message

Self-review checklist

[ ] Self-reviewed the changes for clarity and maintainability
(variable names, code reuse, readability, etc.).

Communicate decisions, questions, and potential concerns.

[ ] Explains differences from previous plans (e.g., issue description).
[ ] Highlights technical choices and bugs encountered.
[ ] Calls out remaining decisions and concerns.
[ ] Automated tests verify logic where appropriate.

Individual commits are ready for review (see commit discipline).

[ ] Each commit is a coherent idea.
[ ] Commit message(s) explain reasoning and motivation for changes.

Completed manual review and testing of the following:

[ ] Visual appearance of the changes.
[ ] Responsiveness and internationalization.
[ ] Strings and tooltips.
[ ] End-to-end functionality of buttons, interactions and flows.
[ ] Corner cases, error conditions, and easily imagined bugs.

Updates:

Updated for @gnprice's feedback on the API documentation above. See individual comments for specific changes and updated screenshots below.
Also, added a bit to the topic parameter in the update-scheduled-message documentation to explicitly state that it's ignored for direct scheduled messages.

Updated screenshots:

Edit a scheduled message
Note that the Delete a scheduled message scheduled_message_id parameter description has been updated to match the changes here.

Updates:

Bumped the API feature level to 184 due to other API change PRs being merged; screenshots haven't been updated.

Merged, thanks @laurynmm! I posted a handful of comments on things that might be good follow-up improvements.


As a user, I should be able to understand what the mentioned feature that violates established guidelines means.

Duplicate Issue #7


Undocumented hard dependency on six

In a pure conda environment with only python 2 or 3 plus scipy we have a missing dependency:
Python 3.5.1 |Continuum Analytics, Inc.| (default, Dec  7 2015, 11:16:01)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pysal
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/serge/anaconda2/envs/pysal-1.11.3/lib/python3.5/site-packages/pysal/__init__.py", line 51, in <module>
    from pysal.esda.moran import Moran, Moran_BV, Moran_BV_matrix, Moran_Local, Moran_Local_BV
  File "/home/serge/anaconda2/envs/pysal-1.11.3/lib/python3.5/site-packages/pysal/esda/__init__.py", line 7, in <module>
    from . import moran
  File "/home/serge/anaconda2/envs/pysal-1.11.3/lib/python3.5/site-packages/pysal/esda/moran.py", line 7, in <module>
    from pysal.weights.spatial_lag import lag_spatial as slag
  File "/home/serge/anaconda2/envs/pysal-1.11.3/lib/python3.5/site-packages/pysal/weights/__init__.py", line 11, in <module>
    from .spatial_lag import *
  File "/home/serge/anaconda2/envs/pysal-1.11.3/lib/python3.5/site-packages/pysal/weights/spatial_lag.py", line 8, in <module>
    from six import iteritems as diter
ImportError: No module named 'six'
>>>

Installing six fixes this:
(pysal-1.11.3)~/tmp » pip install six
Collecting six
  Downloading six-1.10.0-py2.py3-none-any.whl
Installing collected packages: six
Successfully installed six-1.10.0
You are using pip version 8.1.1, however version 8.1.2 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.
(pysal-1.11.3)~/tmp » python
Python 3.5.1 |Continuum Analytics, Inc.| (default, Dec  7 2015, 11:16:01)
[GCC 4.4.7 20120313 (Red Hat 4.4.7-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pysal
Pandas adapters not loaded
>>>

Since six is a single file with a compatible license, one solution is for us to include it rather than have it as a hard dependency.

Fixed with https://github.com/pysal/pysal/pull/806/commits/37b78be3455bbf87cf9737dccb291dd03edb0364


Order of transactions in the tree

With IAVL I believe it was (is) a best practice to sort transactions before committing them to the tree.  Is this true for merk as well?   Looking through the code it doesn't appear that it's doing so.   Great work by the way...

Interesting, any idea why? That seems unnecessary as long as the operations are produced in a deterministic order.

I think determinism is the reason:  From the IAVL docs:

On the other hand, while IAVL+ trees provide a deterministic merkle root hash, it depends on the order of transactions. In practice this shouldn't be a problem, since you can efficiently encode the tree structure when serializing the tree contents.

I know in the past when using IAVL you'd sort keys in the cache before committing to the tree.

Cool well in that case, I think the contract with the consumer of merk should be to make operations in a deterministic order. IMO it shouldn't be the data store's job to enforce that.
Although this should probably be outlined in the README to prevent confusion.

Closing since the Rust rewrite was made to sort the data by default, but also have a method which takes presorted data for higher performance.


Allow redirect stdout

Two simple changes:
1, submodule link is https instead of ssh. This should make it easier for anyone trying to build the project.
2. When the debug flag is used, avoid repositioning cursor so if the user redirects stdout, it will not hang the program.

Closes issues #1 and #2.

Thanks for the bug report.  I fixed the console vs. "> log.txt" issue in a different way: by checking if I'm writing to the console or not.  If the console, it works normally.  If not the console, it avoids doing any of the DeltaTime writes.


Added PowerShell Logs

@ewalshmndt thanks for the proposed changes

They can be combined

Informational renamed it to WindowsXMLEventLogPowerShell to match other XML event log artifact definition naming convention.


Add exit for CLAS CLIF source serialization

As discussed in #2491.
Fixes #2321 if implemented.
Not too keen on the exit name, if there are any better suggestions...

I would probably just have made the exit return a flag, "FORCE_OLD_CLIF", but anyhow this is more flexible, but more work if someone wants to run the same scenario 🤷♂

for the documentation, suggest adding a link to a gist which solves the scenario

Updated with link to example


[lexical-table] [lexical-selection] Try to fix calling split on undefined

Second highest error rate leading to editor crashes we are observing is the following error:
"Cannot read properties of undefined (reading "split")..."
Unfortunately, I don't know how to reproduce the error.
Have gone through the whole codebase and everywhere we call 'split' and have narrowed it down to 3 places (insertRawText method + the 2 in this PR), my gut feeling is that it's probably the table cell method, but the other 2 also could do with the defensive if statement.
EDIT: Will start only with the table plugin and CSS parsing edits

I don't love adding defensive code that ignores input when the types are wrong, it's just hiding some incorrect cast somewhere else if these are anywhere near the actual problem. Maybe a better option would be to add a typeof string invariant to getStyleObjectFromRawCSS if that's a suspect and then you'd at least know that's where the failure is?
The textDecoration case seems awfully unlikely because that looks like a DOM node and those shouldn't have these kinds of surprises

Agreed, but I think for these 2 the changes make sense.


C# signals leak Orphan StringName

Godot version: 3.2.2.rc1.mono.official
OS/device including version: Win10 Pro 1909
Issue description: When you define a signal in C# (using the [Signal] attribute), something end up leaking out. When you exit the game (and verbose stdout is on) you can see a Orphan StringName: <Signal Name> message for every signal defined that way.
I saw something a bit similar got fixed with exports in #35097. As signals implementation was inspired by the exports one it may be related.
Steps to reproduce:

Set debug/settings/stdout/verbose_stdout to true.
Define a signal via the [Signal] attribute in a C# script.
Run the Game.
Exit.

Minimal reproduction project: OrphanStringNameMinimalRepro.zip

This is still occurring in 3.3.3 official

On 3.4.2 and still same issue.

Run still in the same issue
    internal sealed class Executor : Godot.Reference
    {
        [Godot.Signal] private delegate void ExecutionCompleted();

@MikeSchulze theoretically this should do it but alas it does not:
    public override void _ExitTree()
    {
        Disconnect(Constants.BROADCAST, this, Constants.BROADCAST_CALLBACK);
    }

@MikeSchulze theoretically this should do it but alas it does not:
    public override void _ExitTree()
    {
        Disconnect(Constants.BROADCAST, this, Constants.BROADCAST_CALLBACK);
    }

i will check thanks

update, sorry for the late response
I never connect to the signal so in do not need to disconnect.
I load the c# class inside a gd script and run it like
executor.execute()
yield(executor, "ExecutionCompleted")

I do the same code for a gd script implementation of Executor

only define the signal and never connect to them

I only define the signal and only await on it but i get the orphan message at exit
debugger-agent: Unable to listen on 1720
Mono: Finalized
Orphan StringName: ExecutionCompleted

Hello same message here with a project with only one empty scene
StringName: 558 unclaimed string names at exit.
Godot version: 4
OS/device including version: Ubuntu 22.04.2 LTS
I don't think it's an error
i'm using wine

I get an identical "558 unclaimed string names at exit" issue. Godot 4.0.2.stable.mono, running with --verbose.

Can you reproduce this in a normal Godot build (not the C# version)? If not, are you able to isolate the problem into a minimal reproduction project?

I'm aware. I was referring to their specific report.  The program '[8140] Godot_v4.0.3-stable_mono_win64.exe' has exited with code 1 (0x1).


feat: add support for poetry update commands

Codecov Report

Merging #12 (4b11515) into main (9b29171) will increase coverage by 0.87%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   97.36%   98.24%   +0.87%
==========================================
  Files           3        3
  Lines          38       57      +19
  Branches        4       10       +6
==========================================
+ Hits           37       56      +19
  Partials        1        1

Impacted Files
Coverage Δ

src/commands.ts
100.00% <100.00%> (ø)

src/types.ts
100.00% <100.00%> (ø)

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 9b29171...4b11515. Read the comment docs.


Themes folder is not monitored

I am developing a new theme. I have forked a theme and cloned it directly into my themes folder. When I tweak the sass etc, the changes are not picked up automatically so I have to restart gutenberg.
Not a show-stopper, but a bit of a time-waster.

Check out my repo - https://github.com/piedoom/feather
Keats recommends treating a theme as a blog so files can easily be reloaded.  Also check out this issue - https://github.com/Keats/gutenberg/issues/202

What @piedoom said. Themes are intentionally not watched. If you want to modify a theme, you should overwrite a theme file by creating it in your templates directory. If you really want to edit in the themes directory, you should be able to cd in it and run gutenberg serve if the themes is set up like recommended (going to write a page about that soon)


OSX maintainer

I have helped contribute multiple commits for the osx chef client, and help run our large fleet of macs at facebook. @jaymzh  and I were talking, and it seems like it makes sense that I get added.

:+1:
CC @jtimberman

@tduffield updated, let know know if this is what you were looking for

@mikedodge04 you need a signed-off-by line

If you can, can you also run the bundle exec rake maintainers command?

Great to have you on board!

Sweet! Totally missed this, sorry. Retroactive 👍 for sure :1st_place_medal:


test

@meganbradley-test : Thanks for your contribution! The author(s) have been notified to review your proposed change.

I guess @MightyPen is recognized - please disregard!


"not_home" to "unavailable" after reboot HA

version 0.6.8
my tracker status turns to "unavailable" from "not_home" if I reboot home assistant. Tracking of 2 devices act the same

Duplicate of #235
Hi @vakkerman you should find this is resolved in v0.6.9rc2, which you can install via hacs by enabling the "show beta versions".


TableSortLabel - Sort Arrow icon can be placed before the text based on position props (start/end)

I have use case to place the sort arrow icon before the header text of the table, but as per TableSortLabel logic it will automatically positioned based on alignment of header text (right aligned means label will be left aligned (Before) and left/center aligned header text - arrow will aligned right(After) Could you please add new props and update it if it is feasible for your other use cases.

We would encourage a customization for this use case.

Is there a solution for this issue? I also have a requirement to enforce positioning the icon to the right (or left) of the text. Thanks!

You can use flex direction in this case, for example:
flexDirection: cell.align === "left" ? "row" : "row-reverse",
See also here https://stackoverflow.com/a/68318088/7220665

 <TableHead style={{ backgroundColor: " #F3F4F6" }}>       <TableRow>         {headCells.map((headCell) => (           <TableCell             key={headCell.id}             // align={headCell.numeric ? "right" : "left"}             align="left"             // padding={headCell.disablePadding ? "none" : "normal"}             padding="normal"             sortDirection={orderBy === headCell.id ? order : false}           >             <TableSortLabel               active={orderBy === headCell.id}               direction={orderBy === headCell.id ? order : "asc"}               onClick={createSortHandler(headCell.id)}             >               {orderBy === headCell.id ? (                 <Box component="span" sx={visuallyHidden}>                   {order === "desc" ? "sorted descending" : "sorted ascending"}                 </Box>               ) : null}               {headCell.label}             </TableSortLabel>           </TableCell>         ))}       </TableRow>     </TableHead>
how to do left align the arrow icon in this?


Select dark theme if detected as a system preference.

Uses:

Rust dark-light crate to detect the system setting
GtkSettings set_gtk_application_prefer_dark_theme to configure the GTK behaviour.

Closes #121.

Tested successfully on Windows

and macOS

There were a few issues adding the dark-light crate as a dependency which are worth noting here:

This has the side effect of bumping our minimum supported Rust version from 1.74 to 1.75, not due to dark-light itself but to one of its dependencies. I think this makes very little difference for us in practice.

The dark-light crate is missing a license file and copyright notice, but their license is clearly specified in the README so I have added it manually with copyright lines for the two primary maintainers.

The malloc_buf crate is missing the LICENSE file in the crate download, but it's present in the repository, so I've added it manually.

One of the new dependencies upset the Windows installer build, because of an author name with characters that are present in UTF-8 but not in Windows code page 1252, which is the default encoding for stdout there. Fixed by passing the -X utf8 option to Python.


TypeScript complains about overwriting .d.ts files

TypeScript Version:  Version 3.8.0-dev.20191206

Search Terms: overwrite .d.ts declaration
Steps to reproduce
The repo is a minimal working example and contains practically no code.
git clone https://github.com/sguillia/ts-bug-repro
cd ts-bug-repro
tsc -p . # Ignore error about missing .d.ts
tsc -p .

Expected behavior:
Compiles without error, by ignoring the dist folder as specified in the tsconfig.json.
Actual behavior:
The second tsc run spits out an error.
error TS5055: Cannot write file '/home/user/ts-bug-repro/dist/main.d.ts' because it would overwrite input file.

Found 1 error.

Related Issues:
Not a valid duplicate because it is old, misses version information and misses easy-to-reproduce steps
https://github.com/Microsoft/TypeScript/issues/16749
Look for error TS5055. The FAQ mentions this error but takes the assumption that we have allowJs which is untrue in my case.
https://github.com/Microsoft/TypeScript/wiki/FAQ#common-bugs-that-arent-bugs

I'm not sure what to say; the error message is accurate and you've configured your project in a way to produce the problem described by the error message. TypeScript will not proceed with a compilation where an output overwrites an input; you can either fix this by having inputs in a different location or outputs in a different location, it's up to you.

Dear @RyanCavanaugh ,
I would like all my inputs to be in src.
I would like all my outputs to be in dist.
This means that I would like typescript to consider the .d.ts files as output files since they are in dist.
I did not manage to do this.
I am confused as I tried to set rootDir, outDir, include and exclude accordlingly here but I still have the error.
How can I get Typescript to not consider the .d.ts as input files?
Many thanks


Using the round 2.1 inch display: little change makes it work

I could not get the FT3267 working on the round display version.
Turned out to be another touch controller with I2C address 0x15. Just change the FT5x06_ADDR from 0x38 to 0x15 in the ft3267.cpp files and off you go!

Thank you for reminding me, but now I have no FT3267 for verification

The problem is solved, I will close it, if there is still a problem, please reopen it


Enable Arm64 release for ebpf on Windows

Describe the feature you'd like supported
hi @Alan-Jowett , filing a request as our discussion. can you please enable arm64 support for epbf on windows?
arm64 arch support for msvc
https://learn.microsoft.com/en-us/visualstudio/extensibility/arm64/target-arm64-visual-studio-extension?view=vs-2022
Proposed solution
windows support arm64 and we need ebpf support for windows on arm.
Additional context
No response

Blocked on #2430 as this is required to support arm64 for the installer.


Add nu_plugin_dpkgtable

This a plugin to convert the output of dpkg --list  (given the list of known packages in a GNU/Linux Debian system) to a nushell table

Oh, cool! Thanks. Could you please also add it to the readme.md as the last plugin in the plugin section?

Looks good. Thanks!