Route middleware not working correctly when defined on a client side plugin

Environment
Nuxt CLI v3.0.0-rc.6
RootDir: /Users/thomas/Documents/tests/nuxt-middleware-bug
Nuxt project info:

Operating System: Darwin
Node Version:     v16.16.0
Nuxt Version:     3.0.0-rc.6
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
Please, see a complete reproduction here (with Stackblitz link in README): https://github.com/CodoPixel/nuxtjs-issue-report
Describe the bug
As you can see, on the reproduction, everything seems to be working fine if you're starting your app on index.vue. However, if you go to page2.vue and reload the page, it will raise a 500 error at the middle of the page.:
500
Unknown route middleware: 'named-test'. Valid middleware: .

And a scary error in the terminal of VSC:
[Vue Router warn]: uncaught error during route navigation:
Error: Unknown route middleware: 'named-test'. Valid middleware: .
    at eval (file:///home/projects/github-55ybba/.nuxt/dist/server/server.mjs:2544:17)
[h3] [unhandled] H3Error: Unknown route middleware: 'named-test'. Valid middleware: .
    at createError (file:///home/projects/github-55ybba/node_modules/h3/dist/index.mjs:254:15)
    at Server.nodeHandler (file:///home/projects/github-55ybba/node_modules/h3/dist/index.mjs:444:21) {
  statusCode: 500,
  fatal: false,
  unhandled: true,
  statusMessage: 'Internal Server Error'
}
[nuxt] [request error] Unknown route middleware: 'named-test'. Valid middleware: .
  at createError (./node_modules/h3/dist/index.mjs:254:15)
  at Server.nodeHandler (./node_modules/h3/dist/index.mjs:444:21)
[Vue Router warn]: uncaught error during route navigation:
Error: Unknown route middleware: 'named-test'. Valid middleware: .
    at eval (file:///home/projects/github-55ybba/.nuxt/dist/server/server.mjs:2544:17)
[Vue Router warn]: uncaught error during route navigation:
Error: Unknown route middleware: 'named-test'. Valid middleware: .
    at eval (file:///home/projects/github-55ybba/.nuxt/dist/server/server.mjs:2544:17)
[h3] [unhandled] H3Error: Unknown route middleware: 'named-test'. Valid middleware: .
    at createError (file:///home/projects/github-55ybba/node_modules/h3/dist/index.mjs:254:15)
    at Server.nodeHandler (file:///home/projects/github-55ybba/node_modules/h3/dist/index.mjs:444:21) {
  statusCode: 500,
  fatal: false,
  unhandled: true,
  statusMessage: 'Internal Server Error'
}
[nuxt] [request error] Unknown route middleware: 'named-test'. Valid middleware: .
  at createError (./node_modules/h3/dist/index.mjs:254:15)
  at Server.nodeHandler (./node_modules/h3/dist/index.mjs:444:21)
[Vue Router warn]: uncaught error during route navigation:
Error: Unknown route middleware: 'named-test'. Valid middleware: .
    at eval (file:///home/projects/github-55ybba/.nuxt/dist/server/server.mjs:2544:17)

According to my tests, the problem comes from the fact that I am using addRouteMiddleware inside a client side plugin test.client.ts. The problem goes away when I remove .client from the file name.
Therefore, as the documentation doesn't say anything about a difference between client side and server side plugin, I guess it's an issue.
You're probably wondering why I'm not using middleware directory instead as a work-around, well, see this question on stackoverflow and you'll understand my despair.
Additional context
I'm trying to use Firebase with NuxtJS 3. Authentication seems to be working fine... but if I want to prevent users from accessing a specific part of the website with a middleware (which would abort the navigation if the user is not admin or if he's not authenticated) it doesn't work. More details on stackoverflow.
I hope you'll help me find a work-around for my project I'd like to finish before September.
A work around I had found is to use await navigateTo('/') in setup script on secret pages but it doesn't work when accessing the page via the URL, as you can see on this other stackoverflow question.
If the behaviour I described is indeed an issue you didn't know, then I'm glad I could help.
Logs
No response

Hi, I try to use middleware on client side, just easy example of 'sign-out.ts' in /middleware defineNuxtRouteMiddleware... and use it in page
definePageMeta({
  middleware: 'sign-out',
});
``` but its never called at all. It seems as the aut-registration doesn't work or something else. Any idea?


Analyzer problems with an Android ARM64 binary

Describe the bug
Analyzer runs into problems when analyzing an Android ARM64 binary.

As a consequence, not all functions are discovered in the binary.
To Reproduce
Steps to reproduce the behavior:

Grab the .apk from https://apkpure.net/apple-music/com.apple.android.music/download URL.

unzip Apple\ Music_4.6.0-beta_Apkpure.apk

Load the extracted 'lib/arm64-v8a/libandroidappmusic.so' file in Ghidra and analyze it.

Expected behavior
Things should just work as usual.
Screenshots

Environment (please complete the following information):

OS: Ubuntu Linux
Java Version: OpenJDK 17.0.9 2023-10-17
Ghidra Version:  11
Ghidra Origin: Official GitHub distro

Additional context
Thanks for the help!

Reproduced it in 11.0, but not in the patch branch for the upcoming 11.0.1 release.  Trying to track down what exactly fixed it.

Fixed by 2848eb56a531ef9f366fb1209f11f6172504331d.
Duplicate of #6047.
Duplicate of #6068.


ESP-IDF Eddystone Example (IDFGH-11963)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

General issue report
Hello eveyone,
I am trying to make the "BLE_eddystone" example from ESP-IDF sample projects with ESP32 Wroom and I did not change anything in the code, I ran the example directly, but my phone does not see my ESP32 device. What could be the reason for this?

The ble-eddystone example is not an example of advertising as an eddystone beacon, but rather an example of scanning for them.   Since both that example and your phone are scanning for beacons rather than advertising beacon packets, neither will detect the other.
I'm not seeing an eddystone beacon example in esp-idf, you could take the existing ibeacon example and modify it to eddystone packet format and behavior instead.
Perhaps if you look around online you'll find a 3rd party example for transmitting as an eddystone type beacon.


.github/workflows/editorconfig.yml: Don't use GitHub API for PR diff.

This caused ratelimits for large PRs (reformatting PRs)

Motivation for this change
Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Test at https://github.com/mohe2015/nixpkgs/pull/13

This caused ratelimits for large PRs (reformatting PRs)

Can you list some PRs where this happened?

Test at ...

What about testing some large PRs?

This caused ratelimits for large PRs (reformatting PRs)

Can you list some PRs where this happened?

https://github.com/NixOS/nixpkgs/pull/147608 see https://github.com/NixOS/nixpkgs/runs/4342305588?check_suite_focus=true though we're not sure if the ratelimit is caused by the editorconfig specifically. It seems like it does quite a few requests though.

Test at ...

What about testing some large PRs?

Will do when github is more responsive. Need to do this on a fork as you need the updated workflow files and it's really annoying.

Also https://github.com/NixOS/nixpkgs/pull/146798 https://github.com/NixOS/nixpkgs/runs/4275079944?check_suite_focus=true
Note that this also affects PRs that are open at the same time as the ratelimit is global. There were complaints about that in the Matrix https://app.element.io/#/room/#infra:nixos.org channel afterwards. The other PR I linked was supposed to circumvent that with the [skip ci] but unfortunately that didn't work.

This caused ratelimits for large PRs (reformatting PRs)

Can you list some PRs where this happened?

Without the canceled EditorConfig jobs, then #147623 and #147608 would cause rate limiting.
It failed in #121490 run and #146798 run.

https://github.com/mohe2015/nixpkgs/pull/14 is a test a big formatting PR. I also fixed a second bug - namely that the argument list got too big (the github action environment variable actually).

What about PRs with only deleted file(s)? The if: env.PR_DIFF conditions that have been removed were a guard to cover that case.

New tests at https://github.com/mohe2015/nixpkgs/pull/16 and https://github.com/mohe2015/nixpkgs/pull/17
Diff between base is just the if deleted https://github.com/mohe2015/nixpkgs/compare/editorconfig-prevent-ratelimits...mohe2015:editorconfig-prevent-ratelimits-base

What about PRs with only deleted file(s)? The if: env.PR_DIFF conditions that have been removed were a guard to cover that case.

Should be fixed by --no-run-if-empty

Sorry, this is now obscuring the actual editorconfig-checker command.
I intentionally made it so it was visible and easily understood without needing to click to expand anything.

Sorry, this is now obscuring the actual editorconfig-checker command.
I intentionally made it so it was visible and easily understood without needing to click to expand anything.

So I should switch back to the "pipe a file" method?
So it's cat $HOME/changed_files | xargs --no-run-if-empty editorconfig-checker -disable-indent-size ?
And should I use a shorter input file name? Unfortunately there doesn't even seem to be any documentation which files are persisted between steps.
Also I should probably use the shorthand -r for --no-run-if-empty ?
Feel free to push that change to this branch - I will maybe be able to do this tomorrow but not sure.

cat $HOME/changed_files | xargs -r editorconfig-checker -disable-indent-size should be fine.

@zowoq done the requested change and updated the test PRs

Thanks @mohe2015!

Thanks, now crunching on #147623 with succes. :heart:

Reverting in https://github.com/NixOS/nixpkgs/pull/147959.
Causing errors:
https://github.com/NixOS/nixpkgs/runs/4360989140?check_suite_focus=true
https://github.com/NixOS/nixpkgs/runs/4360965902?check_suite_focus=true
https://github.com/NixOS/nixpkgs/runs/4360946550?check_suite_focus=true

Some failures due to renames. --diff-filter=ACMTUXB
Could be also reversed to exclude deleted and renamed: --diff-filter=dr

I was wondering how long it would take until something breaks ...

Do we maybe have to compare the filelist of the current master / commit into which to merge with the merge commit? And then only check these files?

These sorts of problems is why I switched to using the simpler github API.
I think if we're going to try this again it will need to be tested much more prior to merging so we don't unnecessarily annoy other contributors.

These sorts of problems is why I switched to using the simpler github API.

Now I see :D

I think if we're going to try this again it will need to be tested much more prior to merging so we don't unnecessarily annoy other contributors.

I was not awake at merge time otherwise I would've looked too. But it seems like you resolved it pretty quickly.
There is really bad documentation on which of the branches is what at which time (e.g. does the base branch get updated on check run or when?) etc.
I was just testing a bit and I think pretty weird shit happens additionally: The base branch of https://github.com/mohe2015/nixpkgs/pull/21 only contains https://github.com/mohe2015/nixpkgs/commit/a6e493123cdb85687b0d0ba7fd876a3eff734fc6  but to me it seems like it cat's the change_files file in https://github.com/mohe2015/nixpkgs/runs/4374828551?check_suite_focus=true although I only added that change in a different branch. Maybe I'm looking wrong but to me this looks incorrect.
I'm pretty sure though I found a mistake I just need to find out how to fix it.
Also annoying to run the checks as you have to rebase and push and stuff.

Ohh nice github, clicking the "View workflow file" shows a totally different workflow which doesn't contain the "-r" yet

But it seems like you resolved it pretty quickly.

Yes, this time.
I spent more time than I care to think about testing it and then monitoring it for months after if was merged to ensure it worked reliably.

I appreciate that you're taking the time to try and fix this but giving how rarely the actual problem that you want to resolve occurs (API issues caused by massive PRs) another attempt is going to need to be tested very thoroughly before I would be willing to merge it.

What is the reason we don't just fix all editorconfig issues in this repository and then just always check all files? As far as I remember there weren't too many

The better solution is probably to add a [CI skip] check and call it a day

What is the reason we don't just fix all editorconfig issues in this repository and then just always check all files? As far as I remember there weren't too many

Yeah, this would be easier but we don't want to start failing every PR because one bit of whitespace slipped in, e.g because it was pushed straight to master or reintroduced via a reverted PR. We may be able to do this in the future (required checks, protected branches, merge bots, etc) but I don't see that it is feasible at the moment.

The better solution is probably to add a [CI skip] check and call it a day

This would likely be easier to do. IIRC Github handles it automatically for push and pull_request events but we use pull_request_target so we don't need to approve and then re-approve subsequent action runs on PRs from first time contributors to this repo (of which I discovered there are actually a lot of).
If you like I'm happy to do it myself but I probably won't get around to it for a few days.

If you like I'm happy to do it myself but I probably won't get around to it for a few days.

That would be great! Thanks again for all the help.

No problem, thanks anyway for you work on this.
I'll try to reuse the $HOME/changed_files method as that did address another bug.

https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs

[skip ci]
[ci skip]
[no ci]
[skip actions]
[actions skip]

Alternatively, you can end the commit message with two empty lines followed by either skip-checks: true or skip-checks:true.

As this only needs to be implemented for the editorconfig check (and I guess we may be able drop it after the formatting PRs are merged) I might just use [skip editorconfig], trying to match all of the github conditions will be a bit tedious and also using a generic [skip ci] may be a bit confusing for contributors. ofborg has its own behaviour for skipping builds as well just to make it more confusing.
Using a label may also be possible but it's probably not a good idea as it would need to be applied before the PR is opened to avoid the API issue.

I'll try to reuse the $HOME/changed_files method as that did address another bug.

May as well do this separately in case the skip ci thing turns out to be problematic for whatever reason.
PR: https://github.com/NixOS/nixpkgs/pull/148099

I think this will likely be the easiest option:
diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml
index 01a6d736c13..f7c96a7dd20 100644
--- a/.github/workflows/editorconfig.yml
+++ b/.github/workflows/editorconfig.yml
@@ -11,7 +11,7 @@ on:
 jobs:
   tests:
     runs-on: ubuntu-latest
-    if: github.repository_owner == 'NixOS'
+    if: github.repository_owner == 'NixOS' && "!contains(github.event.pull_request.title, '[skip editorconfig]')"
     steps:
     - name: Get list of changed files from PR
       env:

Checking commit messages becomes complicated when there is more than one commit unless we require that the skip be set in e.g. the HEAD commit.
Also for git history it may be better to avoid cluttering commit messages with CI directives?

PR: https://github.com/NixOS/nixpkgs/pull/148327


Goroutine leak in aws-sdk-go library

@embano1 brought to our attention this issue that reported a goroutine leak in the aws-sdk-go library see https://github.com/aws/aws-sdk-go/issues/3606. It looks like the bug was fixed in aws-sdk-go-v2 but no the v1 library. We need to bring this in our next community meeting 10-20-22.
/cc @aws-controllers-k8s/runtime-maintainer

We don't think that we have a codepath where we have yet seen this happen.  Setting this to a long-term priority

we're moving to aws-sdk-go v2 - closing as this is no longer relevant
/close


Task/npm upgrade

Issue #, if available:
Description of changes: upgraded versions/libraries/CI/github action to use npm 9.x and node 18.x
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/do-e2e-tests

/do-e2e-tests


How to access the RestAPI?

Hello,
The system is working fine on my system. I want to know how can I use this system for mobile app using RestAPI?

@hirenreshamwala There is no API support at this stage. Possibly in sooner future

Thanks for reply.
Probably when you can introduce API support?
Regards.
On Sun, Jun 25, 2017 at 11:32 AM, Purvesh<EMAIL_ADDRESS>wrote:

@hirenreshamwala https://github.com/hirenreshamwala There is no API
support at this stage. Possibly in sooner future
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/mage2/laravel-ecommerce/issues/43#issuecomment-310884627,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABsVzLWJkInSBKiTbvYH-IyUAZfujpevks5sHfftgaJpZM4OEhhd
.

I would guess around 3-6 months

@hirenreshamwala Just added a first api implementation
/api/category

Slowly will add more soon. Because basic setup has been done. Thanks you for your patients and support.

I am too looking this API feature please give some important on this.

@indpurvesh  I can involve to this task.If you have architecture I can follow it.Else I can do create architecture & response .

@nteej first of all thanks for it.
If you wanted to do an API: Yes architecture is done using an laravel/passport.
I have done basic Category API that i have implemnted it.
https://github.com/avored/ecommerce
In the Above Repository you can find an routes/api.php but i think middleware suppose to be admin.api.auth (I am not sure with it because i did that very long time ago) as its registered into src/Provider.php I hope it gives you an starting point.
But one more think i would suggest you to change on API/CategoryController.php is to use  CategoryRepository instead of Eloquent Model avored/framework/src/Models/Repository/CategoryRepository.php I hope it make sense.

@indpurvesh thnanks.I'll check them all.


[Bug]: App displays a server error when loaded in quick succession

Is there an existing issue for this?

[X] I have searched the existing issues

Description
App returns a 503 when refreshed in quick succession but loads correctly when the page is refreshed again.
Steps To Reproduce

When logging in using a shared app link, the app initially loads with a server error as seen in the video. Refreshing the page loads the app correctly OR
Refresh any app in quick succession

Public Sample App
No response
Environment
Release
Issue video log
https://www.loom.com/share/98b239568ea5431e92c0df58a8b3f750
Version
Cloud

@ramsaptami this is an issue with NGINX 429 error (too many requests), it is not related to login. This happens only on release at any time.

@ginilpg requesting assistance for devops pod here

@ramsaptami this even occurs if we refresh any page on release multiple times due to too many requests.
https://user-images.githubusercontent.com/25542733/229697949-bfd7d0f7-0e3c-4b32-bb31-507eb8db7d48.mov

@pratapaprasanna @sum35h can you pls check this

@pratapaprasanna disabled the NGINX rate limiting and post that the issue is not reproducible.
https://user-images.githubusercontent.com/25542733/229985407-6777ae6f-72a3-4b6e-b101-00428eed11fb.mov

RPS limit has been increased to avoid this scenario hence closing the issue


adding the PandasXml Reader and Writer Class

This code is for ticket #352 where I will adding Pandas XML functionality to read and write to that file format. The methods used and kwargs are described:

Reader: https://pandas.pydata.org/docs/reference/api/pandas.read_xml.html
Writer: https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_xml.html

Changes
The changes are to the following files:

test_pandas_extensions.py ==> I added a few tests that I will run to test the functionality of both new methods
pandas_extensions.py ==> added the classes for reading and writing to xml
test_load_from_data.xml ==> a new file with some data in XML format to test

How I tested this
I have read the dev guidelines and contribution notes and installed to test locally. Unfortunately, I am still struggling with getting Circleci to run on my branch, and will make another attempt to test this at a later stage.
Notes
This commit is still a work-in-progress (WIP) and has not been tested.
When I run circleci local execute --job=JOB_NAME where I change JOB_NAME to be run tests according to the confing.yml or even build-py37 I get the error: Error: unknown flag: --job
Checklist

[x] PR has an informative and human-readable title (this will be pulled into the release notes)
[x] Changes are limited to a single goal (no scope creep)
[x] Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
[x] Any change in functionality is tested
[ ] New functions are documented (with a description, list of inputs, and expected output)
[ ] Placeholder code is flagged / future TODOs are captured in comments
[ ] Project documentation has been updated if adding/changing functionality.

For the pre-commit ones, please install the pre-commit hook see this doc.

When I run circleci local execute --job=JOB_NAME where I change JOB_NAME to be run tests according to the confing.yml or even build-py37 I get the error: Error: unknown flag: --job

Ah we might need to update our documentation. I think circleci updated their CLI. and now you don't need the --job= argument.

I see, I'll run the tests tomorrow after your recommendation. I can also change the docs once I get it working as well. Thank @skrawcz

I needed to change the assertion test I was running since I had incorrectly included the column heading as part of the count for when I was conducting the test. As shown in the image below there are 4 data columns, not 5.

@skrawcz this ticket is ready for review. I saw that in issue #346 the only files that were changed were the pandas_extension.py file and the test_pandas_extensions.py file. I'm not sure where you would like me to document the added functionality to meet the last 3 requirements before this code can be merged.
Thank You
Jordan

@skrawcz this ticket is ready for review. I saw that in issue #346 the only files that were changed were the pandas_extension.py file and the test_pandas_extensions.py file. I'm not sure where you would like me to document the added functionality to meet the last 3 requirements before this code can be merged.

Sure, take a look at https://github.com/DAGWorks-Inc/hamilton/commit/abd96448d7acc10c3ff79da3cfa6d9eef19c5288. Basically it adds to the https://github.com/DAGWorks-Inc/hamilton/tree/main/examples/pandas/materialization example.


Only discard document buffer exceeding length when entire buffer is scanned

@rickardp
Fixes a bug where the scan/in-progress-document buffer could be discarded if the buffer ever exceeded the max document size. If a document was found by scan() (i.e., end > 0), then we should not discard the in-progress document (s->doc), because whatever remained in s->doc was not scanned, so we don't know if it contains a document (of valid length). This can happen if bufsize is much larger than maxdocsize, because a huge amount of data will be read out of the file (causing the amount of data left in the buffer after a scan to exceed the max document size).

Thanks for the contribution!
The idea from the beginning was that documents larger than max should always be discarded, but this did not hold before either, so I believe your change makes things better!


Empty vs. generated package documentation

Reported by beutlich on 16 Jul 2013 08:27 UTC
I noticed that Dymola for e.g. Modelica.Magnetic.FluxTubes.Examples displays a generated table of the Examples package content whereas SimulationX just displays an empty HTML page as defined by the package documentation annotation (Documentation(info="")). This is not useful as e.g. the documentation of Modelica.Magnetic.FluxTubes.UsersGuide or Modelica.Magnetic.FluxTubes links to the examples documentation.
So questions are:

Does Dymola check the HTML string if it is empty and generates a package content?
Should empty HTML strings be deleted as they are not useful?
Should empty HTML strings be replaced by something like the generated package content?

Migrated-From: https://trac.modelica.org/Modelica/ticket/1213

Comment by dietmarw on 16 Jul 2013 08:42 UTC
Replying to [ticket:1213 beutlich]:

So questions are:

Does Dymola check the HTML string if it is empty and generates a package content?

As far as I can tell Dymola (and OpenModelica documentation generation script (but not OMEdit)) always generates the package contents table independent on there being an info layer present or not.

Should empty HTML strings be deleted as they are not useful?

I would say yes they really should be deleted because people used this trick to cheat Dymola's style checker that would complain otherwise about non-existing documentation.

Should empty HTML strings be replaced by something like the generated package content?

If you mean to generate his inside the tool, sure why not. But don't put this content that can be easily generated dynamically inside the static HTML of the packages/models. That will just lead to diversion of content and documentation over time.

Comment by otter on 17 Jul 2013 13:18 UTC
Replying to [comment:1 dietmarw]:

Replying to [ticket:1213 beutlich]:

So questions are:

Does Dymola check the HTML string if it is empty and generates a package content?

As far as I can tell Dymola (and OpenModelica documentation generation script (but not OMEdit)) always generates the package contents table independent on there being an info layer present or not.

Dymola generates automatically from the class content (package, model, record, ...) a default documentation (list of classes in a package, list of parameters in a model etc.). This default is independent of the info-layer.

Should empty HTML strings be deleted as they are not useful?

This doesn't matter. Fine to delete empty strings or keep them.

I would say yes they really should be deleted because people used this trick to cheat Dymola's style checker that would complain otherwise about non-existing documentation.

I am not aware of "this trick" and it would not help either: Dymolas check function checks for a (configurable) minimum number of characters in the documentation and default is around 100 characters.

Should empty HTML strings be replaced by something like the generated package content?

If you mean to generate his inside the tool, sure why not. But don't put this content that can be easily generated dynamically inside the static HTML of the packages/models. That will just lead to diversion of content and documentation over time.

As Dietmar pointed out, this information should always be automatically generated when needed, in order to always show the actual status and note something old. It should definitely not be stored in the package itself (especially, since tools might display the class content in different ways and in different quality).


Intro Example should not be broken

I tried intro example and bumped into a few problems:

vitext 0.0.1 is deleted, so I had to update it to 0.0.2 in the intro/package.json
next, npm run dev failed to start due to: Error: Cannot find module 'react-refresh/cjs/react-refresh-runtime.development.js'. I Resolved it with npm add -D react-refresh
next, while npm run dev brought the server up and running, it does not work well ("increase" and "decrease" buttons do not work), and I see the following error in the terminal, if that helps:

Environment:

Arch Linux, x86-64
node.js 16.6.1
npm 7.20.5
vitext example from master branch

P.S. Cool project! :+1:

Thank you @frol, That's really helpful. I'll fix it soon.

@frol Could you share a simple reproduction?

Hey @frol, How are you doing?
Sorry for the late response; I was infected by covid.
I pushed #13, check out the new release & see if it works for you!

@Aslemammad Hey! I hope you are doing well now :pray:
I tried it again:
$ git clone https://github.com/Aslemammad/vitext.git
$ cd vitext/packages/examples/intro
$ npm install
$ npm run dev

$ npm install tslib
$ npm run dev

Open the browser and see the same (or very similar error):

$ node --version
v16.8.0
$ uname -a
Linux ram 5.13.13-arch1-1 #1 SMP PREEMPT Thu, 26 Aug 2021 19:14:36 +0000 x86_64 GNU/Linux

Still does not work for me

OH, I think you need to do yarn install on the root (vitext dir & not vitext/packages/vitext) first because it's a yarn monorepo!

Still does not work:
$ git clone https://github.com/Aslemammad/vitext.git
$ cd vitext
$ yarn

$ yarn run dev

That's really weird!
Since I cannot reproduce the error, could you debug it if you're interested?
You need to check the resolveId/load functions in the plugin.ts files.
BTW, why does the error shows `import p from './@vitext/_app'? because I changed it from a simple import to a dynamic import in the latest release! Link

@Aslemammad Here is the Dockerfile to reporduce the issue:
FROM node

RUN git clone https://github.com/Aslemammad/vitext.git
RUN cd vitext && \
    yarn && \
    cd packages/examples/intro && \
    yarn

WORKDIR /vitext/packages/examples/intro
CMD ["yarn", "dev", "--host"]

$ docker build --tag vitext-intro-example
$ docker run -it --rm -p 3000:3000 vitext-intro-example


ESP-HIDH: free is called on uninitialized data (IDFGH-6643)

Environment

Custom HW
ESP32-WROVER
Module or chip used: ESP32-WROVER-I
IDF version (run git describe --tags to find it): v4.3
Build System: CMake
Compiler version (run xtensa-esp32-elf-gcc --version to find it): xtensa-esp32-elf-gcc (crosstool-NG esp-2020r3) 8.4.0
Operating System: Windows
(Windows only) environment type: MSYS2 mingw32

Problem Description
https://github.com/espressif/esp-idf/blob/faf0f61cdba67fa5f7e680f2f5b0966c8d69ce9a/components/esp_hid/src/ble_hidh.c#L110
I ran into codepaths where the device, was freed by calling: esp_hidh_dev_resources_free(), without report_maps ever being initialized.
https://github.com/espressif/esp-idf/blob/release/v4.3/components/esp_hid/src/esp_hidh.c#L372
This function will free() report_maps[x].data which may be uninitialized
Solution: initialize report_maps to 0. free(NULL) is allowed.

Hi @jgeudens
I don't quite understand what you mean. Will a crash happen?
Thanks

Issue seems to be resolved with https://github.com/espressif/esp-idf/commit/453ecbe9f249c9578b37f58f2820b888551f1452


Crashes when I miss.

Describe your bug here.
If I miss, the mod/engine displays this window and closes immediately afterwards.

Command Prompt/Terminal logs (if existing)
No response
Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No.

something might be wrong with the mod itself, check the scripts files and see if anythings unusal


Remove abstractions (because they were garbage).

I pulled all references of abstractions out for the most part. I may try again when I have more time, but I want to clean up the project a whole.

i completly forgot how robust Rider's git client is. I made this PR from my IDE :)

Overhaul was done in #264. Closing this.


Page buttons not appearing on mobile

On mobile devices the page buttons on the bottom of the screen don’t appear with part of the table being cut off. The footer however is still visible.

Page buttons appear, but the margin is broken with it clipping partially into the footer.


CLI validation: Scope flows

We made several changes in 1.0.0. We should validate that the cli works as expected before releasing.
QA INSTRUCTIONS
Part 1
docker run --rm -it cribl/scope:<VERSION_ID>
apt update && apt install -y curl
scope watch --interval=1s curl wttr.in
# Quit after a few seconds, then:
scope flows --help
# This task is to verify that scope flows still works as expected. Try multiple command variations now.

Expect:
Everything works as expected.

Tested on 1.0.0-rc0, some commands are not functioning properly.

-r does not change the order

-p does not return results after providing proper IP

--in / --out does not find any file

-s does fails to search by existing field

Closing. Tracking here: https://github.com/criblio/appscope/issues/763


For inpainting model, Mask

For inpainting model,  there's a 4 channels input,  mask will be one of them and the output is 3 channels data. I'm wondering does this mask contribute to the network, or I can delete it and make input for 4 channels as well. Best regards, Thanks.

The four channel input contains masked image and mask. I just follow the LaMa and do not validate the contribution of mask.


Add Unit tests to book and label

In this PR I have made the following changes:

Added unit tests for Book class in book_spec.rb
Added unit tests for Label class in label_spec.rb
Removed read_booklabel method from app.rb

Hi @kaizipaul
Your changes are approved!  There is nothing else to say other than... it's time to merge the branch :shipit:
Congratulations! 🎉
Status: Approved ✔✔✔
Cheers and Happy coding!👏👏👏


fix: add configuration files for c10s and el10

Enhancement: Start ansible-pcp porting to el10
Reason: Missing config files and likely other issues
Result: ansible-pcp works on el10
Issue Tracker Tickets (Jira or BZ if any):
https://issues.redhat.com/browse/SYSROLES-67

Merged.


Download image of the room with embedded  heatmap

Issue solved with the help of dom-to-image js library.


using fastrand instead of rand crate

refer to http-rs/http-types#357 for reasoning, just implementing here to
allow testing and validating the implementation.

Thanks!

Could this be released?


How do I change this width?

How do I change this width and put another editor on the side?

There is some css basics. Find selector and write css.
Join us on Slack
Get Invitation
Login

See multi column dialog sample.


omatcopy much slower than copy in OMP loop

I'm trying to use cblas_domatcopy to transpose large row-major matrices.
I'm finding that the function is slower than a simple loop of cblas_dcopy calls parallelized with OpenMP (with number of threads set to number of logical cores, otherwise OMP loop is much slower).
Function cblas_domatcopy appears to be especially slower when the inputs have more columns than rows - in this sense, in a dcopy loop, there's also a large timing difference according to whether the copies are by rows of the input or of the output, and I'm guessing that perhaps omatcopy always follows the same order.
(code is provided at the end of this post)

Timings in seconds on an intel 12700H, average of 7 runs:

Input size: 100,000 x 5x000

OpenBLAS cblas_domatcopy: 3.12
OpenMP dcopy loop: 2.38
MKL MKL_Domatcopy: 1.26

Input size: 5,000 x 100,000

OpenBLAS cblas_domatcopy: 3.74
OpenMP dcopy loop: 1.23
MKL MKL_Domatcopy: 1.27

Timings in seconds on an amd ryzen 7840HS, average of 7 runs:

Input size: 100,000 x 5x000

OpenBLAS cblas_domatcopy: 0.922
OpenMP dcopy loop: 0.586
MKL MKL_Domatcopy: 0.560

Input size: 5,000 x 100,000

OpenBLAS cblas_domatcopy: 1.12
OpenMP dcopy loop: 0.402
MKL MKL_Domatcopy: 0.516

OpenBLAS version: 0.3.26, OpenMP variant.
Code that I'm using for the OMP dcopy loop:
void transpose_mat(const double *A, const int nrows, const int ncols, double *B, int nthreads)
{
    if (nrows >= ncols)
    {
        #pragma omp parallel for schedule(static) num_threads(nthreads)
        for (int row = 0; row < nrows; row++)
            cblas_dcopy(ncols, A + (size_t)row*(size_t)ncols, 1, B + row, nrows);
    }

    else
    {
        #pragma omp parallel for schedule(static) num_threads(nthreads
        for (int col = 0; col < ncols; col++)
            cblas_dcopy(nrows, A + col, ncols, B + (size_t)col*(size_t)nrows, 1);
    }
}

related to #1243 - the current ?matcopy code is indeed just a fairly poorly optimized stopgap implementation


Parts array in compound objects is getting .jp2 file extensions for all child objects

Parts array in compound objects is getting .jp2 file extensions for all child objects.  Extension should be .tif

Fixed.  Removed code that was appending .jp2 extension to object links in parts array


Update sbt-microsites to 1.3.0

Updates com.47deg:sbt-microsites from 1.2.1 to 1.3.0.
GitHub Release Notes - Changelog - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.47deg", artifactId = "sbt-microsites" } ]

labels: sbt-plugin-update, semver-minor

Superseded by #198.

Superseded by #198.


Added Intersection Point of LL in Java

Have you read the Contributing Guidelines on Pull Requests?
(Write your answer here.)
Description
(Write your answer here.)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
(Write your answer here.)

Actually there is some problem in the file itself , many people who have contributed various programs in this repo , those files are showing errors in my VS Code , pls look into this one .

Actually there is some problem in the file itself , many people who have contributed various programs in this repo , those files are showing errors in my VS Code , pls look into this one .


nix-update: remove nixpkgs-fmt

Description of changes
See https://github.com/Mic92/nix-update/pull/251

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.11 Release Notes (or backporting 23.11 and 24.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Shouldn’t this add nixfmt-rfc-style as its replacement?

Shouldn’t this add nixfmt-rfc-style as its replacement?

I would not make it a runtime dependencies, users would have to install nixfmt themself if they want to use this feature. GHC blows up your build closure quite a bit and also hurts portability as of now. The --format feature is not so widely used to justify the inclusion by default. Often enough it is desirable to decouple formatting and updates anyway into different commits.


[QUESTION] about the toHandle(int bitmapIdx)  method of PoolSubpage

private long toHandle(int bitmapIdx) {
    return 0x4000000000000000L | (long) bitmapIdx << 32 | memoryMapIdx;
}

When I study the code, at first I just cant figure out what is “ 0x4000000000000000L”  here for ??
Then I googled it, someone explained that it is used to help distinguish whether the init operation is for subpage or not:
void initBuf(PooledByteBuf<T> buf, long handle, int reqCapacity) {
    int memoryMapIdx = memoryMapIdx(handle);
    int bitmapIdx = bitmapIdx(handle);
    if (bitmapIdx == 0) {
        byte val = value(memoryMapIdx);
        assert val == unusable : String.valueOf(val);
        buf.init(this, handle, runOffset(memoryMapIdx) + offset, reqCapacity, runLength(memoryMapIdx),
                 arena.parent.threadCache());
    } else {
        initBufWithSubpage(buf, handle, bitmapIdx, reqCapacity);
    }
}

private static int bitmapIdx(long handle) {
       return (int) (handle >>> Integer.SIZE);
}

here if bitmapIdx == 0 means init normal buffer , if not then init subpage buffer.
private void initBufWithSubpage(PooledByteBuf<T> buf, long handle, int bitmapIdx, int reqCapacity) {
    assert bitmapIdx != 0;
    int memoryMapIdx = memoryMapIdx(handle);PoolSubpage<T> subpage = subpages[subpageIdx(memoryMapIdx)];
    assert subpage.doNotDestroy;
    assert reqCapacity <= subpage.elemSize;

    buf.init(
        this, handle,
        runOffset(memoryMapIdx) + (bitmapIdx & 0x3FFFFFFF) * subpage.elemSize + offset,
            reqCapacity, subpage.elemSize, arena.parent.threadCache());
}

so the only reason of this action( "bitmapIdx & 0x3FFFFFFF" ) is to eliminate the effect of  “ 0x4000000000000000L” , am I right？
Because there is no javadoc about this , so I think it's a little bit obscure to understand
Since I'm not a English native speaker ,maybe my expression is a bit clumsy，I‘m not sure if I make my point clearly?@trustin @normanmaurer

Yeah you are right.


Instance Segmentation Support

🚀 Feature Request
Will there be an instance segmentation support in the near future?
Proposed Solution (Optional)
No response

I had this question too .
I have a dataset of some bird disease in their fecal . so the task is instance segmentation .
can i train my dataset with your semantic segmentation model ?
if not, then will you support instance segmentation in future ?


Finetuning concode task using finetuned checkpoints

I'm trying to finetune the concode task using 'code' as both input & output, instead of 'nl' & 'code'. I wanted to know if we can directly use the concode finetuned checkpoints of concode task and some more information about using tokenizers and embeddings?
Also, where are all changes need to be done here to load concode model instead of the base codet5 model ??
parser.add_argument("--model_tag", type=str, default='codet5_base',
choices=['roberta', 'codebert', 'bart_base', 'codet5_small', 'codet5_base', 'codet5_large']).
Thanks!!

Hey @SBhat2615, did you figure it out?


Deps update

Codecov Report

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

@@           Coverage Diff           @@
##           master      #80   +/-   ##
=======================================
  Coverage   82.83%   82.83%
=======================================
  Files          32       32
  Lines        1544     1544
  Branches      256      232   -24
=======================================
  Hits         1279     1279
  Misses        265      265

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 837469d...f25ca0a. Read the comment docs.


[BUG] Gemini Advanced@Bardo / dont show all answer

Describe the bug / 描述问题
dont show all answer:
https://drive.google.com/file/d/1LeJ1kVcIf_ZbRQjtf-loV66hESwkZMwY/view?usp=drivesdk
To Reproduce / 复现步骤
https://drive.google.com/file/d/1LeJ1kVcIf_ZbRQjtf-loV66hESwkZMwY/view?usp=drivesdk
Expected behavior / 期望行为
https://drive.google.com/file/d/1LeJ1kVcIf_ZbRQjtf-loV66hESwkZMwY/view?usp=drivesdk
Screenshots / 截图
No response
Devtools Info / 开发者工具信息
https://drive.google.com/file/d/1LeJ1kVcIf_ZbRQjtf-loV66hESwkZMwY/view?usp=drivesdk
OS and version / 操作系统版本
Windows 10
ChatALL version / ChatALL 版本
v1.59.89
Network / 网络
No
Additional context / 其它相关信息
No response

same with ChattALL v1.59.89

same here

same with ChattALL v1.59.89

For me it's a problem about Gemini free

Gemini Advanced is a paid service. Have you bought it?

Yes I have subscription

fixed in 325b210398cdcf1fe631fa0068cda8716a19c1b9


⚠ Jenkins Plugins Artifactory has degraded performance

In 0c49a84, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1256 ms

Resolved: Jenkins Plugins Artifactory performance has improved in a40fdbb after 25 minutes.


"Upserting" to MySQL doesn't work

When drop_database=False, real sql statements get dumped to file but it's imported by mysqlimport. That ends up in inserting the whole statement into the first column of the table.
Is it a known issue or a non supported feature?

Interesting...this feature (upserting) was a bit experimental, but this sounds like an easy enough fix. I've really only tested this on PostgreSQL, so it may be that MySQL behavior is iffy. Would you be willing to take a stab at fixing this with a Pull Request?

sure, will do.


Add an API that fires after all documents are saved as part of a Save All action

I have some functionality in Dart Code that reloads on-save. Currently I use onDidSaveTextDocument but this fires multiple times if you use Save All so I have to de-bounce it to fire my reload only once. While this works, it introduces an artificial delay and is also a bit of a race - depending on the timing of saving it may still fire multiple times (finding a value that works perfectly is impossible).
It would be great if there was something like a vs.workspace.onDidSaveTestDocuments that fired after all saves are complete from a single operation (whether it be save all or an individual save that only affected one file, including when saves are a result of hitting F5).

The easiest workaround is to listen on onDidSave and to iterator over all document and to check the dirty state.


chore: bdd-spring-1585571876 to 0.0.1

chore: Promote bdd-spring-1585571876 to version 0.0.1

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approvers:
If they are not already assigned, you can assign the PR to them by writing /assign  in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment


issue-36: Add Fetch ENS Names Toggle switch

Added async module to handle asynchronous fetching of multiple ENS names to filter addresses array


[Feature] -Implementing color change for correct and wrong answers

What feature would you like to see?
Feature:-
when clicking on the right answers makes the box turn green, and clicking on the wrong answers  makes it turn red.
@jdwilkin4  will you please  assign me this issue under hacktoberfest'23.

HI @Dimple-Choudhary !
We currently have this new feature here where there is a change in the flow and change in the buttons.
https://github.com/freeCodeCamp/Developer_Quiz_Site/pull/856
so, adding a new additional color I think would be to much in that situation, so we are not going to go with this suggestion at this time.
Thank you for your understanding


When adding an O13 to a parent, email is optional, but password is mandatory

@DanielBrierton ping, status?

@DanielBrierton bump :)

Doesn't reproduce on /my-children and FTB will override the "quick-adding" children flow from the profile page.
Added to FTB flow to remove this once it's finished

FTB flow is published since .. Months. Closing as the original issue cannot be executed anymore (option removed)


Fix read preference using pymongo 3+

@dcrosta Did you like this PR?

Hi, did you saw my changes?

Any questions about this PR?

This doesn't fix the read preference provided in URL.

Please see the announcement about Flask-PyMongo 2.0 in #110 -- I believe that that work will obviate the fix here, and will simplify future maintenance of Flask-PyMongo, as you'll just use a URI or keyword arguments to configure PyMongo, without having to have the strange layer in between from Flask-PyMongo.
I'm going to close this to keep things tidy, but thanks for the contribution nonetheless!


13.1 开启metric，启动失败

1、13.1启动报错java.lang.IllegalArgumentException: Collector already registered that provides name: quantity。
2、13.0按照官方文档启动metrc，只能有两个选项，而非五个。
3、13.0按照官方文档集群启动,并开启metrc，只能看到cluster_uncommitted_log指标集，其他无法看到

我的默认配置，开启true，也是两个选项，选一个选项，也会报一样的错java.lang.IllegalArgumentException: Collector already registered that provides name: quantity。

上述问题使用版本为apache-iotdb-0.13.1-all-bin

@SpriCoder

You can try latest version to use metric on rel/0.13(to get latest binary one, you can see this repo).

This problem is fixed on #6824 .
v0.13.1 fail on metric , iotdb start throw exception "java.lang.IllegalArgumentException: Collector already registered that provides name: quantity"

This problem is fixed on #6824 .

v0.13.1 fail on metric , iotdb start throw exception "java.lang.IllegalArgumentException: Collector already registered that provides name: quantity"

Get it, you can try the latest version on rel/0.13, this is already fixed in code. to get the binary one, you can see repo

how use? excute start.sh?

Get it, you can try the latest version on rel/0.13, this is already fixed in code. to get the binary one, you can see repo

how use? excute start.sh?


[1] Create navigation menu

Create a navigation menu that allows users to open all of the pages you created.


Use Symfony Console Component for the CLI interface.

It's a familiar interface for a lot of developers as many projects use it. It also helps with documenting how the tool is used and has lots of nice helper functions.

I have worked a bit on this:

@troelskn What do you think about the parameters?
The biggest difference is that it now doesn't allow you to write to a specified file but only the original file, or output it directly in the terminal.
The reason for this is that it can now process directories as well as single files, complicating taking a specific file name as the output path.

It's definitely nicer to have it as a cli app. I like that we can have both tools as sub-commands under the same executable as well.
On the single file vs. tree, if it's possible to do both that might be the most flexible?


Fix ninja in ci images

This now builds ninja from source to avoid the requirement for a newer libstdc++ from the prebuilt ninja binaries.
I'm also incrementing all ci image versions as this is a change that happens upstream of all currently used ci images.
Fixes #34
Unfortunately I'm facing image build failures when building anything against Qt due to the 10GB hard drive limit on Azure pipeline machines, these jobs used to go through before and I should be able to manually run them, but know that I might have to force merge this branch if I can't find a quick solution...

Good news I fixed the side issue with Qt (I had left debug symbols on which bloated the docker image by a huge amount!). The builds are now going through, a few too many unrelated changes in this PR...


sensor.home_iu_indoor_blower_rpm invalid device_class

Describe the bug
In HASS developer tools / statistics I see this message "The state class '' of this entity is not supported.", so we must be returning an empty string for the device class rather than none
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots/Logs
If applicable, add screenshots to help explain your problem.
Version

Home Assistant: 2023.5.7
This Integration: 2023.6.1

**Integration Configuration **

Cloud or Local Connection: local
Inverter or Sensor Diagnostics Enabled: yes

Additional context
Add any other context about the problem here.

Is this why the blower history doesn't show a line graph?
My history shows this:

Yes, that is an aspect of the issue.
As a temporary workaround you can customize the entity and give it a unit_of_measurement, once you do that and restart HASS it will chart it as a line graph.
https://www.home-assistant.io/docs/configuration/customizing-devices/

I looked, but can't find where the entity is defined to customize it. Can tell me where I can find it?

I got this temporary workaround to work by adding these lines into my configuration.yaml file. A few things to note:

The "customize:" section must be under the homeassistant: line and indented 2 spaces to show it is a child node of homeassistant.
My thermostat is name is "s40" hence my sensor is called "s40_iu_indoor_blower_rpm". Replace the "s40" in the entity name with your actual thermostat name in HA.

homeassistant:

  customize:
    sensor.s40_iu_indoor_blower_rpm:
      unit_of_measurement: rpm

Thanks. That works. I had created a template sensor, but I like this solution better.

https://github.com/PeteRager/lennoxs30/releases/tag/2023.10.0


Error upon scrollback to pin location

Pinning works ok, but when i go back to the pinned lines and reach the point where the separator would be removed I get this error:
Error detected while processing WinScrolled Autocommands for "*":
Error executing lua callback: Vim:E315: ml_get: invalid lnum: 1
stack traceback:
        [C]: in function 'bufload'
        vim/_editor.lua: in function 'region'
        ...ar/neovim/0.9.4/share/nvim/runtime/lua/vim/highlight.lua:35: in function 'range'
        ...share/nvim/lazy/nvim-ts-rainbow/lua/rainbow/internal.lua:86: in function 'update_range'
        ...share/nvim/lazy/nvim-ts-rainbow/lua/rainbow/internal.lua:194: in function 'cb'
        ...4/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:746: in function '_do_callback'
        ...4/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:180: in function 'invalidate'
        ...4/share/nvim/runtime/lua/vim/treesitter/languagetree.lua:898: in function '_on_detach'
        ...r/neovim/0.9.4/share/nvim/runtime/lua/vim/treesitter.lua:73: in function <...r/neovim/0.9.4/share/nvim/runtime/lua/vim/treesitter.lua:69>
        [C]: in function 'nvim_buf_delete'
        .../fdlcueva/.local/share/nvim/lazy/TreePin/lua/treepin.lua:54: in function 'update'
        .../fdlcueva/.local/share/nvim/lazy/TreePin/lua/treepin.lua:276: in function <.../fdlcueva/.local/share/nvim/lazy/TreePin/lua/treepin.lua:276>

Let me know if I can provide additional context, info or debugging.
NVIM info:
$ nvim --version
NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1696795921

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/opt/homebrew/Cellar/neovim/0.9.4/share/nvim"

Run :checkhealth for more info

Config (via Lazy):
  -- Pin a tree
  {
    'KaitlynEthylia/TreePin',
    dependencies = 'nvim-treesitter/nvim-treesitter',
    init = function()
      require('treepin').setup {
        hide_onscreen = true, -- Hide's the pin buffer when the text of the pin is visible.
        max_height = 30, -- Prevents the pin buffer from displaying when the pin is larger than x lines.
        position = 'relative', -- May be 'relative', 'top', or 'bottom'. Determines the position of the pin buffer within the window.
        icon = '>', -- The icon to display in the sign column at the top of the pin. Set to nil to prevent the sign column being used.
        zindex = 50, -- The Z-index of the pin buffer.
        separator = '+', -- A single character that may be used as a separator between the editing buffer and the pin buffer.
      }

    end,
  },

I just tested with hide_onscreen = false, and it does not happen.

Sorry for only just seeing this. i cant seem to recreate the issue? it makes sense that it works without hide_onscreen enabled, the error occurs when trying to get rid of the buffer, but i dont know what's causing that function to error.
Does thas happen every time you try and scroll back up to the pin? or only after doing something?


控制台日志中出现多个相同输出

原因是控制台内容改变时，脚本会快速请求1.3秒，这个时候因为发送的log_id相同，返回的内容就是相同的，但是正常情况下有一个函数能把这个情况过滤掉，目前不知道为什么没起作用
[2024-01-07 23:31:55:600 INFO] Content logging to console is enabled.
[2024-01-07 23:31:56:271 INFO] Opening level 'worlds/Bedrock level/db'
[2024-01-07 23:31:56:271 INFO] Opening level 'worlds/Bedrock level/db'
[2024-01-07 23:31:56:271 INFO] Opening level 'worlds/Bedrock level/db'
[2024-01-07 23:31:58:083 INFO] IPv4 supported, port: 19132: Used for gameplay and LAN discovery
[2024-01-07 23:31:58:118 INFO] IPv6 supported, port: 19133: Used for gameplay
[2024-01-07 23:31:58:131 INFO] Server started.
[2024-01-07 23:31:58:131 INFO] ================ TELEMETRY MESSAGE ===================
[2024-01-07 23:31:58:132 INFO] Server Telemetry is currently not enabled.
[2024-01-07 23:31:58:132 INFO] Enabling this telemetry helps us improve the game.
[2024-01-07 23:31:58:132 INFO]
[2024-01-07 23:31:58:132 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2024-01-07 23:31:58:083 INFO] IPv4 supported, port: 19132: Used for gameplay and LAN discovery
[2024-01-07 23:31:58:118 INFO] IPv6 supported, port: 19133: Used for gameplay
[2024-01-07 23:31:58:131 INFO] Server started.
[2024-01-07 23:31:58:131 INFO] ================ TELEMETRY MESSAGE ===================
[2024-01-07 23:31:58:132 INFO] Server Telemetry is currently not enabled.
[2024-01-07 23:31:58:132 INFO] Enabling this telemetry helps us improve the game.
[2024-01-07 23:31:58:132 INFO]
[2024-01-07 23:31:58:132 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2024-01-07 23:31:58:083 INFO] IPv4 supported, port: 19132: Used for gameplay and LAN discovery
[2024-01-07 23:31:58:118 INFO] IPv6 supported, port: 19133: Used for gameplay
[2024-01-07 23:31:58:131 INFO] Server started.
[2024-01-07 23:31:58:131 INFO] ================ TELEMETRY MESSAGE ===================
[2024-01-07 23:31:58:132 INFO] Server Telemetry is currently not enabled.
[2024-01-07 23:31:58:132 INFO] Enabling this telemetry helps us improve the game.
[2024-01-07 23:31:58:132 INFO]
[2024-01-07 23:31:58:132 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2024-01-07 23:31:58:083 INFO] IPv4 supported, port: 19132: Used for gameplay and LAN discovery
[2024-01-07 23:31:58:118 INFO] IPv6 supported, port: 19133: Used for gameplay
[2024-01-07 23:31:58:131 INFO] Server started.
[2024-01-07 23:31:58:131 INFO] ================ TELEMETRY MESSAGE ===================
[2024-01-07 23:31:58:132 INFO] Server Telemetry is currently not enabled.
[2024-01-07 23:31:58:132 INFO] Enabling this telemetry helps us improve the game.
[2024-01-07 23:31:58:132 INFO]
[2024-01-07 23:31:58:132 INFO] To enable this feature, add the line 'emit-server-telemetry=true'
[2024-01-07 23:31:58:083 INFO] IPv4 supported, port: 19132: Used for gameplay and LAN discovery
[2024-01-07 23:31:58:118 INFO] IPv6 supported, port: 19133: Used for gameplay
[2024-01-07 23:31:58:131 INFO] Server started.
[2024-01-07 23:31:58:131 INFO] ================ TELEMETRY MESSAGE ===================
[2024-01-07 23:31:58:132 INFO] Server Telemetry is currently not enabled.
[2024-01-07 23:31:58:132 INFO] Enabling this telemetry helps us improve the game.
[2024-01-07 23:31:58:132 INFO]
[2024-01-07 23:31:58:132 INFO] To enable this feature, add the line 'emit-server-telemetry=true'

https://github.com/minimouse0/DLSWebConsole/commit/6f4d4affc1e1c36a7d674fe87f61b67fd5fb99b3


@sourceloop/core documentation incomplete

Describe the bug
As of now, the sourceloop/core readme only provides an overall idea of the module, lacking any of the specific details.
Expected behavior
The readme should provide details of all the components, sequences, etc the module provides.

Moving it on https://github.com/sourcefuse/loopback4-microservice-catalog/issues/1440


is there any plan to support kopia

https://github.com/vmware-tanzu/velero/releases/tag/v1.12.0-rc.1

We would like to support Kopia eventually, particularly given some of the early performance improvements benchmarking we're seeing, but we do not yet have a timeline established for that work. Though the default path switched to kopia, restic is still supported in Velero 1.12 (https://velero.io/docs/v1.12/file-system-backup/#path-selection).

ok, thank you. looking forward to :)

just noting https://github.com/vmware-tanzu/velero/issues/6197 would also close this issue.


XLS template for upload

@alejandromumo @slint Where can I find a template XLS to be used to upload articles to BLR?
We need in the TNA projects in BiCIKL these XLS to hand it out to the awardeed so that they can add their publications in a format that saves us time to then upload.
thanks for a link
Donat

@myrmoteras here's the example XLS we used at the Arcadia sprint for 5 records: https://docs.google.com/spreadsheets/d/16F5tO0MvDuzD5aFoqdH_Vwbt6vtJT9fsJRTUP5d_NTo/edit#gid=0
Here's a read-only empty version of it, which we should probably permalink somewhere so that people can easily clone.
One issue that we have to address in case we share this is that it doesn't include yet all the possible metadata fields that we might want, and it's also lacking somewhat in terms of rich examples for each field.


Use the lastest R version in Windows in a dynamic fashion

fixes #766

I see Non-standard file/directory found at top level: 977  'duckdb_0.2.0.zip'

Thanks!


2D Physics excessive collision pairs, regardless of layer/mask.

Godot version:

9ef4699
OS/device including version:

Win10 64-bit
Issue description:

When profiling my characters, I found that regardless of the hit area masks I'm using, the project was generating a few thousand collision pairs.  I haven't traced this deep enough to know if these pairs are actually considered, but there seems to be at small dip in FPS with just one character with a lot of conditional hit areas when they overlap level geometry.
Hard to say yet without a bigger test, but even if they don't, doesn't seem like a good thing to create pairs when there will never be collision.  It clogs up the monitor, and would be hard to distinguish between an actual excessive pairing problem.
In the simplest form, an isolated test with two bodies on different masks and layers entirely.  The monitor reports a collision pair.

Then with no layers or masks, and 30 Area2Ds, there are 435 pairs.

Steps to reproduce:
Overlap bodies or areas that shouldn't mask to one another, and observe collision pairs in the monitor.
Minimal reproduction project:

Collision Pairs.zip

Try it with an area above a (big) tilemap with colliders for even more collision pairs!
Also, could be related to https://github.com/godotengine/godot/issues/7644

This might be expected though, since I believe the bitmask might be checked after all collisions are computed.

@groud: Even if that's the case, I believe the monitor should only show us the number of collisions that actually matter?

Well no, not really. Because the computational cost is still there.
But another entry showing only "valid" collisions might make sense.

@groud Do you mean after the pairs are calculated or after the collision tests are done?  I can't imagine why the intersections would be done on things that are flagged to never collide, but maybe there is some reason for accumulating the pairs before throwing them out?

@PetePete1984 Has that had any performance impact for you?

For now it seems like the pairs are computed before the bitmask evaluation. I don't know if it is the best solution, but if it is, it is normal that the pairs are being counted without considering the bitmask.

@groud Then I like your suggestion of having another field for the contacts.

@avencherus I don't believe so, but it was only a quick test in a pretty much empty scene after poking around in the profiler with Dean (from discord), created because his 3000x3000 tilemaps were getting slowdowns (for most likely other reasons at the time) and we noticed thousands of collision pairs.


Ability to clear URL field

There is currently no way to clear the text in the URL field.
Ideally, when selecting the URL field it should highlight the entire text and delete on typing the next character. To be researched if the component supports text selection in the first place.
An alternative, easier solution might be an additional button next to the URL field that resets its text.

Implemented, with pseudo-text selection by "selecting" the entire URL bar.
The URL bar component does not support text selection, nor does it even seem possible to draw text with a background color in the first place, so a "real" highlight of only the text is not easily possible without rewriting parts of libnsfb and netsurf-base. This solution seem good enough.


2017 Honda Ridgeline

This is very similar to the Pilot, dbc PR here. Will need the person with Ridgeline to verify the TX message for the radar once they get their EON/giraffe set up. I am assuming it matches the Pilot for now.

Nice! @energee , let me know when it's ready to be reviewed.

@rbiasini This is looking like its ready to be merged, can you send me the checklist again?

@energee , the checklist in the Toyota port pretty much applies to the Honda as well.
https://medium.com/@comma_ai/openpilot-port-guide-for-toyota-models-e5467f4b5fe6

Squashed the port and put the dbc in another commit in case you want to throw that part away when merging

The RTL-E and Black Edition have Honda sense with ACC and LKAS. Its the same as your existing ridgeline guy (I saw his utube video...very thrilled to see this come together)

@BlaineHa you should join the slack for more details http://slack.comma.ai

Nice job guys, merging.


Governance. Delegations. There is no loading state

Description
When user switch between networks - there is no loading state for delegations
Steps to Reproduce

Go to Governance page
Switch networks

Expected Behavior
Has loading state for delegations plate
Actual Behavior
Always shows "Add delegation"
Environment
https://github.com/novasamatech/nova-spektr/commit/733af1a94c903c8ed3dde4fb4ce25bd01f02ff97

That was already fixed
https://github.com/novasamatech/nova-spektr/commit/7f64428dcce82b54baa5296debd837c4c77d7ed7


.api file import Golang models

Is your feature request related to a problem? Please describe.
.api file coupling models. I think models should independence.
Describe the solution you'd like
I hope .api file can import Golang models, not only import .api
Describe alternatives you've considered
I have try to realize myself, but it's hard for me. I have no time for this job.
Additional context

No support plans yet