Improvement: new value for reveal to allow users to display only the AR button

In our case we already have some image galleries so the viewer is not needed since we just want to display the AR button to use that functionality if the mobile device is an AR candidate.
At te moment we're using the reveal='interaction' attribute, and we are hiding the poster until AR button is tapped , for that case if AR fails we're displaying it otherwise it keeps hidden for all the user interaction.
So would be great to have a new value for the reveal attribute, to allow us as users to decide if we just want to have the AR button functionality.

@Esteban26 we have talked about potentially adding a reveal="manual" mode, where the model will only be loaded and revealed if you (the content author) invokes a JavaScript API like modelViewer.reveal() or modelViewer.dismissPoster(). Does that sound suitable?
(I also mentioned this in https://github.com/GoogleWebComponents/model-viewer/issues/502#issuecomment-486856384)

But for that case will the AR button be displayed?
As you can see on this screenshot, for that example we already have a viewer, that viewer was  built with images so we don't need the model or poster to be displayed.

So, we just need the AR button to trigger the Scene viewer and if it fails then its ok if poster is displayed on fullscreen, but it should be hidden  again when fullscreen is disabled.

Yes, in the case I described, the AR button will be displayed. It is always displayed on top of the poster.
If we can come up with a good event to signal that there are no external AR apps available (via #567), that event could be used as a signal to begin inline rendering.

For context sharing I'd like to bring up my suggestion of using playsinline #502
Although I think using something like reveal="manual" is extremely flexible it does add the extra constraint of having to write JS to handle this case where using something like AR Quicklook by default requires no knowledge of JS.
I'm still processing this stuff but to me it might make sense to handle this case through an html attribute or a combo of attributes.
playsinline came from iOS not rendering video inline in the page. It would open a native video player that you could not customize. I believe this was done for performance/ux reasons on early devices that were low power/resolution. playsinline was introduced to allow developers to allow video rendering inline as screen resolutions and device capabilities increased.

Hi @mikkoh looks good, just one comment... we also had some problems with the ARQuickLook implementation, because they didn't allow us to modify/remove their AR button and our clients wanted to modify it, so was a little tricky to create a custom AR button because they force us to use an image as an AR link. Hopefully , we were able solve that issue by creating an  with the src attribute empty... IMO  that behavior should be extremely flexible  so we can decide which element and event will open the AR view. What I think the easiest and flexible way to handle AR on ecommerce sites is to make public and document the Android Intent implementation you already have for the model-viewer / Scene viewer integration.


RequestSpecification.basePath is ignored during form authentication

I've noticed that RequestSpecification.basePath is ignored when using form
authentication.

Consider two scenarious below:
1) working snippet:

RestAssured.basePath = "/my-app";
given()
  .auth().form(userName, password, FormAuthConfig.springSecurity())
  .when()
  .get("tested-api")

2) non working snippet:
====================
RequestSpecification mySpec= new RequestSpecBuilder()
  .setBasePath("/my-app")
  .build();
given()
  .spec(mySpec)
  .auth().form(userName, password, FormAuthConfig.springSecurity())
  .when()
  .get("tested-api")

In working snippet (1) authentication form sent to
/my-app/j_spring_security_check
While in non-working snippet (2) authentication form sent to
/j_spring_security_check
actual GET request does respect basePath in both cases.

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 27 May 2015 at 3:15

Interesting, thanks for reporting.

Original comment by<EMAIL_ADDRESS>on 28 May 2015 at 6:31

Changed state: Accepted


Bring back user join date

Hi, so there used to be an expression to get the date a user joined the server in v3 but it doesn't seem to be here in v4. Would be great to have it back.

^ There only seems to be creation date for now

added


Which version of ElastAlert does support Elasticsearch 6.3.0 and Kibana 6.3.0?

Hi,
I am a newer of ElastAlert.  Which version of ElastAlert does support Elasticsearch 6.3.0 and Kibana 6.3.0?
Thank you.

ElastAlert v0.1.38 & v0.1.39 should work against Elasticsearch 6.X. I think a lot of people have reported that these versions don't work with Elasticsearch 7.X though.

ElastAlert v0.1.38 & v0.1.39 should work against Elasticsearch 6.X. I think a lot of people have reported that these versions don't work with Elasticsearch 7.X though.

Thank you for your answer.


RF 7.0a2 fails to import keywords having parameters with Literal type

Tested with Python 3.10 and RF 7.0a2
EquipmentSection = Literal["csi", "rec", "other", "simulator"]

# And keyword later:
    @keyword
    def fetch_additional_equipment(self, additional: str, key: EquipmentSection = "other") -> None:
        <code>

With RF 7.0a2 it will cause following ERROR:
Error in library 'tafrf.utils.equipment_logger.EquipmentLogging': Adding keyword 'fetch_additional_equipment' failed: 'Literal' does not accept parameters, 'Literal[csi, rec, other, simulator]' has 4.

Above will not fail with RF6.

Forgot to mention here, that I decided to implement Literal support (#4633) and it will be part of RF 7.0 beta 1. The main motivation was that fixing this issue required handling Literal so that adding actual conversion support was pretty easy. Well, creating a well working prototype was easy, but then there were all sorts of corner cases especially with Libdoc...


fixed rounding errer calculating steps in fadeTo function

I noticed that for some values for duration and steps the lamp faded in way to quickly. Turns out this has to do with the decimals disappearing in the steps calculations. For example, If I want the color to fade from 0 to 255 under 2000 ms in 20 steps, the steps per second should be 12,75 but this is rounded down to 12. The first step in the fading process should be 12,75 but using 12 as step size it is instead 27 which is a notable difference. When I was doing 100 steps in 2000 ms we start at 57 as the first step instead of 2,5...
Another solution is to not use integers in the calculations but I think this fix is easy enough to comprehend.

Thank you!


(Bug) Uncaught messages in the console related to the feed & gun.decrypt

[x] fix non-unique keys for feed items (fix with createdDate doesn't working)

[x] fix incorrect .putAck logs ("[object Object]" is logged instead of the error message

[x] a lot of "u is not a function" / "cb is not a function" uncaight messages appearing during app run

This is related to the feed indexes. For some accounts there are items with duplicated ids stored in the index. So, then getting feed item by it returns the same item objects and they're included in the feed collection. To solve this correctly we have to fix getFeedPage. We should take the items with unique ids only  form the indexes before we getting items by id

When GUN rejects, ack.err could be different. In most cases it's an string but it could be an JS error and the plain object with shape { errno, code, syscall, path }. We have to catch each possible case and create an Error with the correct message

This happens when .decrypt / .secret is called with empty value to encrypt/decrypt and do not pass callback. If source value is empty., GUN immediately calls callback. If callback isn't passed we getting an error.

for decrypt it could be fixed in gun-extend. when we getting encrypted value for the key we have to check is it empty or not. If it is empty - do not decrypt it, immediately throw 'missing key' exception
for secret it could be fixed in promisifyGun. the 'x is not a function is syncronous error, so we have just to try .. catch callback passed to promisifyGun and call onAck({ error:  }) on error


Start markdown

This is an <h1> header, which is the largest
This is an <h2> header
This is an <h6> header, which is the smallest

Introduction to Markdown

Introduction to Markdown


GCC Availability

Is this available in GCC?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4deb6978-b47f-3860-ea17-442759744c0e
Version Independent ID: 9cabdd98-d0cf-cf2a-ae01-ed3dc3acdfb0
Content: Manage SharePoint page approvals with Power Automate - Power Automate
Content Source: articles/customize-sharepoint-page-approvals.md
Service: flow
GitHub Login: @MSFTMan
Microsoft Alias: deonhe

Hi @pagejustin . Thanks for submitting Docs feedback. Looking at the Power Automate GCC section, it looks like approvals are available, but subject to certain limitations described here. If that doesn't answer it fully, the best place to ask this type of question is on the Power Automate Community forums. Thanks!


Implementation of new ComponentSegment definition in CPACS

The ComponentSegment definition in CPACS will change soon. Since they are a main part of the wing definition the TIGL functions need to be changed accordingly in order to provide an updated interface to all TIGL users.

We should discuss, how the change will be introduced. As this will break lots of user code, I suggest to release this change as a major CPACS release (i.e. CPACS 3).
Then, we could create a TiGL 3 release as well. The question is, how we will deal with old CPACS files:

discard them?
keep old api (+ deprecated old functions) and add new functions for the new definition

I would be interested in checking out the new definition. I'm considering using a subset of CPACS for a project of mine. Is there a place I can check it out?

We are still working on the new definition for the ComponentSegments in CPACS. A first CPACS version should be available at the end of this year. The TiGL developments can only start once the CPACS definition is fixed.
The CPACS developments can be followed on https://github.com/DLR-LY/CPACS.

The new math for the GetPoint functions is implemented now as of 945a1c7aafaa1d989ded952d061628ab8c17aa83 and b6965421e4dace8049e5bfb47c11032e2916bd54.
What remains to be done is to use segment coordinates alternatively for positionings. This requires still changes to the cpacs schema, see https://github.com/DLR-LY/CPACS/issues/495.
I'll close this issue now. For the new feature, we'll open a new issue.


Login is not working

I can register a user succesfully and re authentication also works.
but on login, the authenticator shows no passkeys are available

Which browser/OS?

Google Chrome browser and Window 10.

Could it be this? Any chance to test on Windows 11? https://stackoverflow.com/questions/73558951/webauthn-only-shows-option-for-usb-security-dongle-in-windows-10-no-option-for


update packages

:x: Build TheIdServer 8.0.0-fix-dependencies1-0282 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/5f32ad5e83 by @invalid-email-address)

:x: Build TheIdServer 8.0.0-fix-dependencies1-0283 failed (commit https://github.com/Aguafrommars/TheIdServer/commit/93d1e24816 by @invalid-email-address)

:white_check_mark: Build TheIdServer 8.0.0-fix-dependencies1-0284 completed (commit https://github.com/Aguafrommars/TheIdServer/commit/e7cf374a0b by @invalid-email-address)


Upgrade brunch-typescript and typescript-brunch.

Hey, @baptistedonaux, @jpoehls, @xtity, @colinbate and @kripod! Hello from @brunch team!
We've noticed that there are two plugins for TypeScript in Brunch ecosystem:

typescript-brunch
brunch-typescript

The first one has a correct name (in according to plugin's styleguide), but it seems like this plugin was abandoned. The second one (this plugin) has more downloads, better API and seems like the most popular solution for TypeScript with Brunch.
We would like to update this plugin a bit (in corresponding to brunch/brunch#1666) and merge this one with typescript-brunch. Would be great (if you agree, of course) to move this plugin under @brunch organization, where we will take care of this plugin.
This PR introduce few changes for merging this plugin with typescript-brunch. Also, I've noticed #28 — gonna keep in mind those changes.
I need your confirmation. Do you agree with that? Would you like to move this plugin under @brunch org?
Hey, @joshheyse! We need you help to get NPM ownership for typescript-brunch package. Could you help us with that?

I'd be happy transfer the typescript-brunch package over to new ownership. Please let me know who I should coordinate with.
Keep up the good work!

Ultimately the organizational decision belongs to @baptistedonaux, but I do like the idea of getting the name in line with other brunch plugins.
Also, while this plugin may be the best option for TypeScript with Brunch at the moment, it does lack proper integration with the TypeScript language server. Currently it just compiles each file in isolation. While this works, it makes normal error reporting essentially useless. I mention this because of your intention to standardize that (with line/col numbers, etc).
As it stands, the only practical way to use this plugin is with ignoreErrors: true set in the plugin config.
That said, the plugin works, but you typically need another mechanism to ensure your whole code base is free of compiler errors. And for incremental building, that might be all we need. However, I would like to support full language server integration when doing a full brunch build. I just haven't had the time unfortunately.
I'm not sure if everyone agrees, but I think that should be a priority if things move organizations.

@joshheyse please, add @paulmillr as an owner to your package.

@colinbate I've updated this plugin a bit. Didn't change logic. You are welcome to collaborate.
@baptistedonaux what do you think about transfer this plugin under Brunch org? If you agree, then here is a simple to-do:

[ ] Merge this PR
[ ] Transfer ownership of this repo to me (you don't have permissions to Brunch org, so you can't transfer this repo directly)
[ ] Rename package to typescript-brunch (I'll do it by myself)
[ ] Deprecate brunch-typescript on NPM
[ ] Publish new version of typescript-brunch

Waiting for your response.

Initially this plugin has been created to give a TypeScript compilator up-to-date for Brunch project. I think that to help Brunch organization to grow, this plugin must be integrated in Brunch stack.
Thank @colinbate for your features and improvements.

@denysdovhan Can you removed your fork ? I can't transfer it to you.

@baptistedonaux done. I've deleted my fork.

@baptistedonaux got it. Thank you. Moving to the Brunch repo.

@baptistedonaux done. Repo is under Brunch org.

@denysdovhan How can I "Deprecate brunch-typescript on NPM" ? Do I have remove repository ?

@baptistedonaux nonono, just execute this command:
npm deprecate brunch-typescript "brunch-typescript is unsupported, use typescript-brunch instead"

But let's wait for a while. We have to publish new version of typescript-brunch plugin before.

Perfect ! I wait your feedback.

@baptistedonaux I've asked @paulmillr to publish new version of typescript-brunch. Waiting for response from him.
@joshheyse, did you give NPM ownership to @paulmillr?

I gave @paulmillr access today. Let me know if there are issues

2.2 is out

@baptistedonaux please, deprecate old brunch-typescript plugin.

@denysdovhan Done

@joshheyse @colinbate @baptistedonaux thanks you all!


Option to make Obsidian the entire sidebar without requiring a root node.

Is your feature request related to a problem?
I want to use Obsidian as the entirety of my Astro site, I have been hacking together my own sub-par version of this but want to switch to this ASAP. It is small annoyance that I can't seem to have my obsidian subfolders be the root nodes of the sidebar and must have them nested under a singular root node.
Describe the solution you'd like
A configuration option disableRootNode: true | false to tell the plugin to not generate the subfolders under a root node.
Describe alternatives you've considered
I've tried looking at the obsidianSideBarGroup array but it's empty at the time I can access it before startlight/astro have started up.
Additional Context
Happy to help code this with a pointer or two if you're too busy on more important things. Massive props for making this plugin.

Thanks for the feedback, I think this makes sense. Unfortunately, I don't think this is something I can implement at the moment as this would require a change in Starlight.
The current sidebar generation relies on Starlight autogenerated groups which are always a group.
The only possible workaround at the moment would be to duplicate the sidebar generation code from Starlight and manually generating it from the plugin which is not ideal.
I think this is a valid use case that I have already encountered multiple times so I think the best solution would be to open a feature request on the Starlight repository and see if this is something that can be implemented in the future.
I'll keep thinking a bit more about this, list various use cases that could benefit from this and how API-wise this could be supported in Starlight. When I have a clearer idea, I will propose a solution there, and implement it if this is something of interest.

Hmm - what if the user provided a folder depth underneath the root node to the plugin and then it could run the file tree, work out which folders should be at the "root" and then return back multiple groups for each folder at that depth.
Happy to draw a diagram if that isn't clear enough?

Couldn't you achieve this through simple configuration?
In my first tests, this worked perfectly with both referenced images and links.
I simply referenced the subdirectories from the Obsidian root directly in astro.config.mjs and commented out the obsidianSidebarGroup...

@nmboris that's a creative way to get around it indeed - let me try that and see the results in my repo :D

Couldn't this be achieved simply through configuration?

This is indeed doable through configuration, altho it has several downsides depending on who is in charge of handling the configuration:

If it's the user, that means they need to learn about the configuration options and how to use them and manually set them up. It also does not scale well depending on the number of root folders and files.
If it's the plugin, this adds more complexity for plugin authors.

Hitting this limitation with multiple plugins is what is making me think that a Starlight solution would be beneficial for everyone.

If it's the user, that means they need to learn about the configuration options and how to use them and manually set them up. It also does not scale well depending on the number of root folders and files.

Yeah have to agree with this - even trying to maintain this for a few folders was annoying enough so I can't image if I had to maintain more than 5 if it would be worth it - I decided to write my own function that spat out autogenerated group of the subfolders of the root of my vault - works a treat and lets me decorate the titles with emojis which is nice.
Happy to close this issue if you think this is better solved within starlight @HiDeoo

Happy to close this issue if you think this is better solved within starlight @HiDeoo

I would prefer to keep it open.
If Starlight implement something to help with this issue, it will be a good reminder to update the plugin and add support for this. If not, it will also be a good reminder that the plugin should be updated to solve this issue as I still think it's a totally valid use-case encountered already a few times.


Update to ejs 3.1.10

This fixes CVE-2022-29078.

I see the CI tests pass, but the ejs releases don't seem to contain changelogs, so I'm not sure if TerriaMap depends on some old behavior and this update silently breaks that.


Set PYTHONPATH for nrnivmodl-core workflow

when cmake is run, PYTHONPATH is setup correctly and nmodl
with sympy can be used.
for nrnivmodl-core workflow, PYTHONPATH needs to be set
in the makefile so that nrnivmodl is self contained.

LGTM!


Added Longest Palindromic Substring [JavaScript]

Fixes #400
By submitting this pull request I confirm I've read and complied with the below declarations.

[x] I have read the Contribution guidelines and I am confident that my PR reflects them.
[x] I have followed the coding guidelines for this project.
[x] My code follows the skeleton code structure.
[x] This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.
[x] This pull request will be closed if I fail to update it even once in a continuous time span of 7 days.

This should be good, @Monal5031 ?

Maybe we've gone too far with short forms @Monal5031 :laughing:

IMHO short forms are nice to use 😆

@Anshuman-Verma conflicts!

@aviaryan fixed!


Please provide a license

This could be a very useful little module, but I can't use it without a license. Can you please provide one? An obvious one to use would be postgres' own license: https://www.postgresql.org/about/licence/. Alternatives would be MIT or Apache2.0. Apologies if you already provided a license and I'm somehow not seeing it. Thanks.

@mpnally I will get this added for you this week.

Added license.txt


Connection refused on Celery health checks

Getting a connection refused error when trying to send either a ping or a task to Celery via the health check.
But creating a simple view that directly invokes ping on my celery works fine.
Python 3.12.2
django==5.03
django-redis==5.4.0
celery==5.3.6
amqp==5.2.0
kombu==5.3.5
billiard==4.2.0
redis==5.0.3
hiredis==2.3.2

django      | 2024-03-14T23:09:43.198232Z [info     ] request_started                [django_structlog.middlewares.request] ip=<IP_ADDRESS> request=GET /test/ request_id=19693212-3ffe-49c7-a3ad-af8913676e64 user_agent=Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36 user_id=None
django      | [{'celery@efa73fb42c24': {'ok': 'pong'}}]
django      | 2024-03-14T23:09:44.255825Z [info     ] request_finished               [django_structlog.middlewares.request] code=200 ip=<IP_ADDRESS> request=GET /test/ request_id=19693212-3ffe-49c7-a3ad-af8913676e64 user_id=None

unavailable: Unknown error
django      | Traceback (most recent call last):
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 472, in _reraise_as_library_errors
django      |     yield
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 459, in _ensure_connection
django      |     return retry_over_time(
django      |            ^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/utils/functional.py", line 318, in retry_over_time
django      |     return fun(*args, **kwargs)
django      |            ^^^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 934, in _connection_factory
django      |     self._connection = self._establish_connection()
django      |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 860, in _establish_connection
django      |     conn = self.transport.establish_connection()
django      |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/transport/pyamqp.py", line 203, in establish_connection
django      |     conn.connect()
django      |   File "/usr/local/lib/python3.12/site-packages/amqp/connection.py", line 324, in connect
django      |     self.transport.connect()
django      |   File "/usr/local/lib/python3.12/site-packages/amqp/transport.py", line 129, in connect
django      |     self._connect(self.host, self.port, self.connect_timeout)
django      |   File "/usr/local/lib/python3.12/site-packages/amqp/transport.py", line 184, in _connect
django      |     self.sock.connect(sa)
django      | ConnectionRefusedError: [Errno 111] Connection refused
django      |
django      | The above exception was the direct cause of the following exception:
django      |
django      | Traceback (most recent call last):
django      |   File "/usr/local/lib/python3.12/site-packages/health_check/contrib/celery_ping/backends.py", line 15, in check_status
django      |     ping_result = app.control.ping(timeout=timeout)
django      |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/celery/app/control.py", line 563, in ping
django      |     return self.broadcast(
django      |            ^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/celery/app/control.py", line 776, in broadcast
django      |     return self.mailbox(conn)._broadcast(
django      |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/pidbox.py", line 330, in _broadcast
django      |     chan = channel or self.connection.default_channel
django      |                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 953, in default_channel
django      |     self._ensure_connection(**conn_opts)
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 458, in _ensure_connection
django      |     with ctx():
django      |   File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
django      |     self.gen.throw(value)
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 476, in _reraise_as_library_errors
django      |     raise ConnectionError(str(exc)) from exc
django      | kombu.exceptions.OperationalError: [Errno 111] Connection refused
django      | unavailable: Unknown error
django      | Traceback (most recent call last):
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/utils/functional.py", line 32, in call
django      |     return self.value
django      |            ^^^^^^^^^^^^^^
django      | AttributeError: 'ChannelPromise' object has no attribute 'value'. Did you mean: 'call'?
django      |
django      | During handling of the above exception, another exception occurred:
django      |
django      | Traceback (most recent call last):
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 472, in _reraise_as_library_errors
django      |     yield
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 459, in _ensure_connection
django      |     return retry_over_time(
django      |            ^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/utils/functional.py", line 318, in retry_over_time
django      |     return fun(*args, **kwargs)
django      |            ^^^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 934, in _connection_factory
django      |     self._connection = self._establish_connection()
django      |                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 860, in _establish_connection
django      |     conn = self.transport.establish_connection()
django      |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/transport/pyamqp.py", line 203, in establish_connection
django      |     conn.connect()
django      |   File "/usr/local/lib/python3.12/site-packages/amqp/connection.py", line 324, in connect
django      |     self.transport.connect()
django      |   File "/usr/local/lib/python3.12/site-packages/amqp/transport.py", line 129, in connect
django      |     self._connect(self.host, self.port, self.connect_timeout)
django      |   File "/usr/local/lib/python3.12/site-packages/amqp/transport.py", line 184, in _connect
django      |     self.sock.connect(sa)
django      | ConnectionRefusedError: [Errno 111] Connection refused
django      |
django      | The above exception was the direct cause of the following exception:
django      |
django      | Traceback (most recent call last):
django      |   File "/usr/local/lib/python3.12/site-packages/health_check/contrib/celery/backends.py", line 17, in check_status
django      |     result = add.apply_async(
django      |              ^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/sentry_sdk/integrations/celery.py", line 228, in apply_async
django      |     return f(*args, **kwargs)
django      |            ^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/celery/app/task.py", line 594, in apply_async
django      |     return app.send_task(
django      |            ^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/celery/app/base.py", line 799, in send_task
django      |     amqp.send_task_message(P, name, message, **options)
django      |   File "/usr/local/lib/python3.12/site-packages/celery/app/amqp.py", line 518, in send_task_message
django      |     ret = producer.publish(
django      |           ^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/messaging.py", line 186, in publish
django      |     return _publish(
django      |            ^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 556, in _ensured
django      |     return fun(*args, **kwargs)
django      |            ^^^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/messaging.py", line 195, in _publish
django      |     channel = self.channel
django      |               ^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/messaging.py", line 218, in _get_channel
django      |     channel = self._channel = channel()
django      |                               ^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/utils/functional.py", line 34, in call
django      |     value = self.value = self.contract()
django      |                              ^^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/messaging.py", line 234, in
django      |     channel = ChannelPromise(lambda: connection.default_channel)
django      |                                      ^^^^^^^^^^^^^^^^^^^^^^^^^^
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 953, in default_channel
django      |     self._ensure_connection(**conn_opts)
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 458, in _ensure_connection
django      |     with ctx():
django      |   File "/usr/local/lib/python3.12/contextlib.py", line 158, in exit
django      |     self.gen.throw(value)
django      |   File "/usr/local/lib/python3.12/site-packages/kombu/connection.py", line 476, in _reraise_as_library_errors
django      |     raise ConnectionError(str(exc)) from exc
django      | kombu.exceptions.OperationalError: [Errno 111] Connection refused

Here are three issues on kombu that seem quite similar to yours. Maybe they will provide some insight.
https://github.com/celery/kombu/issues/1582
https://github.com/celery/kombu/issues/1751
https://github.com/celery/kombu/issues/369
Wish I had more to offer.

Having similiar issue. Any luck tracking it down?


Can you add a step of 2.5khz in shortwave AM?

Hello, I would like to make a suggestion. Can you add a step of 2.5khz in shortwave AM? This will make it easier to adjust the channel. Thank you for the excellent firmware.

A new release is scheduled for this week, and 5Khz, 50Khz, and 500Khz Steps
have been added.
On Wed, Mar 13, 2024 at 3:08 PM freeleeman @.***> wrote:

Hello, I would like to make a suggestion. Can you add a step of 2.5khz in
shortwave AM? This will make it easier to adjust the channel. Thank you for
the excellent firmware.
—
Reply to this email directly, view it on GitHub
https://github.com/phdlee/uvk5cec/issues/35, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AE4DZPCKRAQAXAPP2TZXYJDYX7UPBAVCNFSM6AAAAABETQPAMOVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE4DGMJZGIYDMOI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Ensure the connectPromise is failed in all cases if the connect is st…

…ill pending
Motivation:
We need to ensure we always notify the connectPromise
Modifications:
We sometimes missed to propagate the exception to the promise
Result:
Ensure the connect promise is always notified

Found as part of https://github.com/netty/netty-incubator-codec-quic/pull/141/files

Found as part of https://github.com/netty/netty-incubator-codec-quic/pull/141/files


[Pledge] Small enhancements following beta release

@### Additional enhancements:

[ ] Ability to add a logo from a file the user uploads
[ ] Addition of a “Report this dashboard” feature.  Likely a small clickable link in the footer that goes to a simple form
[ ] The website of the organization should be an option to include in the pledge dashboard

These will need designs first @theprofessora

upload profile pic: https://www.figma.com/file/moDUIfGjQaISUGDjLxyko4?node-id=1:3#276250186

report a pledge: https://www.figma.com/file/moDUIfGjQaISUGDjLxyko4?node-id=1:3#276252768

@Atmosfearful designs above for review and dev assignment

@theprofessora added this one to this ticket:
The website of the organization should be an option to include in the pledge dashboard
This should be optional so should be designed on the UI to support either being there of not.
One thought is to just make the profile logo clickable is a URL is provided??

optional addition of website: https://www.figma.com/file/moDUIfGjQaISUGDjLxyko4?node-id=144:2704#278550135

@jabby09 let's break these into separate tickets.

photo upload - this is a rabbit hole that needs some research (IPFS uploads vs firebase, expected costs etc.)

Report this pledge - this we need to figure out who the reports go to and via which form-- let's pass this to Sy

website url for pledge looks good to go, let's assign that to @MColl92

@jabby09 let's break these into separate tickets.

photo upload - this is a rabbit hole that needs some research (IPFS uploads vs firebase, expected costs etc.)
Report this pledge - this we need to figure out who the reports go to and via which form-- let's pass this to Sy
website url for pledge looks good to go, let's assign that to @MColl92

@Atmosfearful sure no problem

@0xemc as suggested by @Atmosfearful I have broken the original issue into 3 different ones and this (as the original) has been renamed. Ignore the design link comments that were for other tasks, those are now captured in new issues.

@0xemc as suggested by @Atmosfearful I have broken the original issue into 3 different ones and this (as the original) has been renamed. Ignore the design link comments that were for other tasks, those are now captured in new issues.

@jabby09 could you assign me to the new issue related to the website url for pledge? I can see this issue has been renamed but unsure if the designs are up to date.

https://www.figma.com/file/moDUIfGjQaISUGDjLxyko4?node-id=144:2704#278550135

@0xemc this issue is now focused on the website url for pledge and you are already assigned. Figma design in the desc above but also shared here: https://www.figma.com/file/moDUIfGjQaISUGDjLxyko4?node-id=144:2704#278550135
Let me know if any questions!

Perfect, thanks @jabby09 🙏

@0xemc is this on your radar for this week? thanks


Error while training

Hi @GostInShell ,
Thank you for sharing the code.
I am getting following error during training on last batch (4920 /4921) of first epoch
Could you take a look at the code and help me resolve the error?
Appreciate your help
para_num is: 1.849128 MB
CosineAnnealingLR

[0: 4920/4921] train loss:  3.0886149406433105 Ellapsed Time: 0.07949230167600844h ETL: 23.775468789989244h

Traceback (most recent call last):
  File "train.py", line 44, in <module>
    main()
  File "train.py", line 23, in main
    trainer.train_epoch()
  File "PaRI-Conv/trainer.py", line 192, in train_epoch
    self.train_iteration()
  File "PaRI-Conv/trainer.py", line 175, in train_iteration
    pred = self.network(self.data)
  File "/python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "PaRI-Conv/Networks/model.py", line 194, in forward
    x = F.leaky_relu(self.bn6(self.linear1(x)), negative_slope=0.2)
  File "python3.7/site-packages/torch/nn/modules/module.py", line 1102, in _call_impl
    return forward_call(*input, **kwargs)
  File "python3.7/site-packages/torch/nn/modules/batchnorm.py", line 179, in forward
    self.eps,
  File "python3.7/site-packages/torch/nn/functional.py", line 2280, in batch_norm
    _verify_batch_size(input.size())
  File "python3.7/site-packages/torch/nn/functional.py", line 2248, in _verify_batch_size
    raise ValueError("Expected more than 1 value per channel when training, got input size {}".format(size))
ValueError: Expected more than 1 value per channel when training, got input size torch.Size([1, 512])

Thank you,
Supriya

I'm terribly sorry for the late reply. (Maybe it's time to subscribe the notification. :( )
I could not reproduce the error. But a quick guess is inappropriate batch size. You should set batch size > 1. If it's not the case, maybe try setting drop_last=True here.
Sorry again. Feel free to raise other concerns.

Thank you for the reply.
The solution you suggested solved my problem.
I was using batch_size of 2.
Now I changed it to 8 as well as set drop_last=True in DataLoader on L106 and L112 in trainer.py.
The code is now running without any errors.
Thank you,
Supriya


[WIP] feat(di-guide): move code to examples

Copied from ideablade pr 5.
Pascal says: Please review this one.
I haven't moved all code snippets to examples yet since I'm not really sure how we want to handle this for simple one liners. Sometimes I also have the feeling it doesn't really make sense/gives us any additional value to move a simple snippet out to the examples folder.
Thoughts and feedback welcome!

@googlebot it's alright

@wardbell I've updated the PR with all snippets being moved to examples.
Awaiting review.

I took it the rest of the way with #748. Let's look at the difference together and learn.


nitdoc: display constructors list in MClass page

Nitdoc now displays a list of available constructors for a class.
Fixes #875
Demos from Jenkins::CI-nitdoc:

Standard library
Nit compilers and tools

Démo comming soon

Nice ! :shipit:

Demo is ready.
A good example should be the Array class I guess. Notive the Constructors section.

+1

from http://gresil.org/jenkins/job/nit_test_tools/699/consoleFull
Runtime error: Receiver is null (doc/html_templates/html_model.nit:505)

when trying to full-doc:
bin/nitdoc --dir doc/full `misc/jenkins/listnit.sh -I`

It will fix #1195 too. I'm late but +1 anyway.

Reroll

fixes the crash
adds #1195 as fixed

+1


[Discussion]Metrics in Fescar

Hi everyone, as we know Metrics is in fescar roadmap, it used to improve system observability, here is my idea:
Concepts

Fescar is a middle-ware and will integrated into other system, so must import other lib(jar) as less as possible in order to reduce the risk of dependency conflicting;
The implement of the metrics must high-performance and low resource-usage, otherwise will reduce the throughput of original system;
Plug-In style activation, whether metrics take effect depend on whether has any metrics implement jar had imported;
Do not use spring, because there are so many released version of spring and easy make dependency conflicting;
First we can export small number of core metrics into prometheus, then we can add more metrics and connect to more monitor system as requirement from community.

New Modules
I will add two new modules:

fescar-metrics: basic metrics api module without implement,include interface ofGauge,Counter,Timer,Registry,Publisher etc... we can implement them with many components such as spectator, dropwizard metrics, and implement publish metrics data to prometheus, zabbix etc...

Meter Type
Description

Gauge
Single value often used to record the current(latest) value like temperature, live users etc...

Counter
Often used to record count value, need output total, count, max, average and tps, the average = total / count, and the tps = total / cycle(window time)

Timer
Often used to record time delay, need output total,count,max and average, the average = total / count, it's increment method include TimeUnit and support microsecond precision

All metrics type will inherited from Meter, and export data to Measurement when measure() called.

fescar-metrics-prometheus: metrics implement with a simple meter implement and publish to  prometheus for default scenario, will implement as higher formance as possible and reduce the resource usage.

How Metrics Module Load
Will use EnhancedServiceLoader not Spring because Spring will remove at v1.5.x, so whether metrics is enabled depends on any metrics implement module is imported.
Default Export Metrics
I think we can export TC metrics first, included :

fescar.transaction(role=tc,meter=gauge,status=active/committed/rollback) : current active/committed/rollback transaction count
fescar.transaction(role=tc,meter=counter,statistic=count,status=committed/rollback) :  current cycle(window time) committed/rollback transaction count
fescar.transaction(role=tc,meter=counter,statistic=tps,status=committed/rollback) : current cycle(window time) committed/rollback transaction per second
fescar_transaction(role=tc,meter=timer,statistic=total,status=committed/rollback) : current cycle(window time) committed/rollback total transaction milliseconds
fescar_transaction(role=tc,meter=timer,statistic=count,status=committed/rollback) : current cycle(window time) committed/rollback transaction count
fescar_transaction(role=tc,meter=timer,statistic=average,status=committed/rollback) : current cycle(window time) committed/rollback average transaction milliseconds
fescar_transaction(role=tc,meter=timer,statistic=max,status=committed/rollback) : current cycle(window time) committed/rollback max transaction milliseconds

TM:
coming soon.. , such as
fescar.transaction(role=tm,name={GlobalTransactionalName},meter=gauge,status=active) : current active transaction number separated by transaction name
RM:
coming soon.. , such as
fescar.transaction(role=rm,name={BranchTransactionalName},mode=at/mt,meter=gauge,status=active) : current active branch transaction number separated by transaction name

I'll take a look at this issue.

I'll take a look at this issue.

I don't think it is a good idea to create a metric api module in seata.
Seata is not a  framework or an application container.
I recommend  that Seata provides some ways to expose its status ,and  make actions which can change key statuses can be intercepted.
For example, the coordinator can emit an event when executes a  global Commit, a metric listener can registed and observe the event.
we can create many metric modules for metric providers. such as: "seata-metrics-promethues","seata-metrics-Dropwizard"...
对于 seata 创建一套自有 metrics api (包括注册表，时钟等组件概念)的方式感觉过重了，不是个好主意。 实际上 seata 核心代码部分不引入和管理维护这些概念，也可以达到度量的目标。 推荐 seata 完善提供一些扩展机制，比如事件机制，或一些拦截器的注入等方式，方便外部能感兴趣和响应 seata 的重要状态变更行为。 Metrics 代码埋点工具有很多既有方案（比如 promethues,Dropwizard,lookout...）都可以面向 seata 的扩展机制实现相应的埋点接入（当然我们可以默认提供一种实现，但所有三方工具都是平等的）。  而且上述扩展的机制，后续可以带来更多的可能性，不止是 metrics。

从开发者角度来看非常赞成先做扩展机制，再考虑metrics的实现；
从使用者（用户）角度来看是否提供默认metrics实现也许需要重新审视roadmap。


After completing the fine-tuning of 'visionbranch stage2', what should be its loss value to be considered as having correctly converged?

Hi guys,
Now I can fine-tune 'visionbranch_stage2_finetune.yaml' on four A100 80GB GPUs using gradient accumulation.
I'd like to know at what point the Loss is considered to have converged?
For example, is it 0.7, 0.5, 0.1...?
Currently, the Loss I'm observing during training fluctuates between 0.8 and 1.0.
Any suggestions would be very helpful.
Thanks!!

Here is my configuration:
model:
  arch: video_llama
  model_type: pretrain_vicuna
  freeze_vit: True
  freeze_qformer: True

  # Q-Former
  num_query_token: 32

  # If you want train models based on LLaMA-2-chat,
  # some ckpts could be download from our provided huggingface repo
  # i.e.  https://huggingface.co/DAMO-NLP-SG/Video-LLaMA-2-13B-Finetuned
  llama_model: "../ckpt/Video-LLaMA-2-13B-Pretrained/llama-2-13b-chat-hf"
  imagebind_ckpt_path: "../ckpt/Video-LLaMA-2-13B-Pretrained/imagebind_huge.pth"

  # The ckpt of vision branch after stage1 pretrained,
  ckpt: '../ckpt/Video-LLaMA-2-13B-Pretrained/VL_LLaMA_2_13B_Pretrained.pth'   # you can use our pretrained ckpt from https://huggingface.co/DAMO-NLP-SG/Video-LLaMA-2-13B-Pretrained/

  # only train vision branch
  equip_audio_branch: False  # whether equips the audio branch
  frozen_llama_proj: False
  frozen_video_Qformer: False
  frozen_audio_Qformer: True

  fusion_head_layers: 2
  max_frame_pos: 32
  fusion_header_type: "seqTransf"

  max_txt_len: 320

  # vicuna and llama_2_chat use different template !!!

  # for llama_2_chat:
  end_sym: "</s>"
  prompt_path: "prompts/alignment_image.txt"
  prompt_template: '[INST] <<SYS>>\n \n<</SYS>>\n\n{} [/INST] '

  # for vicuna:
  #end_sym: "###"
  #prompt_path: "prompts/alignment_image.txt"
  #prompt_template: '###Human: {} ###Assistant: '

datasets:
  cc_sbu_align:
    data_type: images
    build_info:
      storage: ../datasets/MiniGPT-4/cc_sbu_align/
    vis_processor:
      train:
        name: "blip2_image_train"
        image_size: 224
    text_processor:
      train:
        name: "blip_caption"

  llava_instruct:
    data_type: images
    build_info:
      anno_dir: ../datasets/LLaVA/llava_instruct_150k.json
      videos_dir: ../datasets/LLaVA/train2017/
    vis_processor:
      train:
        name: "blip2_image_train"
        image_size: 224
    text_processor:
      train:
        name: "blip_caption"
    num_video_query_token: 32
    tokenizer_name: "../ckpt/Video-LLaMA-2-13B-Pretrained/llama-2-13b-chat-hf"
    model_type: "llama_v2"  # need to set, as vicuna and llama_2_chat use different template

  webvid_instruct:
    data_type: video
    build_info:
      anno_dir: ../datasets/VideoChat/videochat_instruct_11k.json
      videos_dir: ../datasets/VideoChat/videos/
    vis_processor:
      train:
        name: "alpro_video_train"
        n_frms: 8
        image_size: 224
    text_processor:
      train:
        name: "blip_caption"
    num_video_query_token: 32
    tokenizer_name: "../ckpt/Video-LLaMA-2-13B-Pretrained/llama-2-13b-chat-hf"
    model_type: "llama_v2"  # need to set, as vicuna and llama_2_chat use different template

run:
  task: video_text_pretrain
  # optimizer
  lr_sched: "linear_warmup_cosine_lr"
  init_lr: 3e-5
  min_lr: 1e-5
  warmup_lr: 1e-6

  weight_decay: 0.05
  max_epoch: 3
  iters_per_epoch: 3000
  accum_grad_iters: 3
  batch_size_train: 3
  batch_size_eval: 3
  num_workers: 3
  warmup_steps: 1000

  seed: 42
  output_dir: "output/videollama_stage2_finetune"

  amp: True
  resume_ckpt_path: null

  evaluate: False
  train_splits: ["train"]

  device: "cuda"
  world_size: 1
  dist_url: "env://"
  distributed: True

Same question here.

Any updates on this?


Fix toggled content

Rather than setting display:none and display:block using show(); and
hide(), add and remove the .js-hidden class.
I think this was introduced by this change to the GOV.UK template, which sets both display:none and visibility:hidden, and the visibility:hidden isn't removed when show and hide are used.
This fixes #197.
I've also removed .js-enabled .js-hidden from GOV.UK elements as this is defined in the template.
It is worth noting that #183 has a much better implementation of the JS for toggles.
cc. @robinwhittleton @edwardhorsford.

Happy with this, will merge.


Example of $node_info[version] in a prompt?

Are there any demos of using $node_info[version] in a prompt, as described in the node module?
I'm trying to use it and am unable to do so. echo $node_info[version] shows me the correct value and format, I just am unable to get it to show up in my prompt.

You could probably do something similar to the way ruby is done.
https://github.com/sorin-ionescu/prezto/blob/master/modules/prompt/functions/prompt_peepcode_setup#L19


Adding a macos github actions ci step

This is a reproduction of the appveyor ci checks for macos. The reason is the appveyor is slow, but also they kill/fail tests rather than any sort of queue if push more than a few commits.
Making this purely additive as a new check to start with, then could remove appveyor if unneeded.

Merged. Thanks!


Fix overriding of PYTHON variable (IDFGH-2602)

Making this variable existentially conditional allows for overriding PYTHON and CONFIG_SDK_PYTHON without side effects

Hello @anthony-smartnora. I'm sorry to tell you that we have to reject this change because it causes significant behavior change and the make build system is already a legacy build system since v4.0 and we are not planning to make big changes in it. The PYTHON variable is intended to be internal from the beginning which can be overwritten from menuconfig if it is necessary.
Note that you can set CONFIG_SDK_PYTHON permanently in sdkconfig.defaults of your project if this helps.
Another good option is to create a Python environment for your builds (for example https://pypi.org/project/virtualenv/).
If you describe your use case and why do you need this change then maybe we can recommend you some better option.


Pushed pkg cut 2 days further for release v0.20

Followup of https://github.com/knative/pkg/pull/1803
As explained in https://github.com/knative/pkg/pull/1803#discussion_r512828976, the 2020-01-06 is epiphany in most european countries, so it might be problematic to reach out eu folks. I think it's safer if we cut pkg the 2020-01-07
/cc @tcnghia @evankanderson @nak3 @markusthoemmes
Signed-off-by: Francesco Guardiani<EMAIL_ADDRESS>

/lgtm


Problems with POST-requests using routeRules in h3 > 1.7.1

Environment

Operating System: Darwin
Node Version:     v20.5.0
Nuxt Version:     3.6.5
Nitro Version:    -
Package Manager<EMAIL_ADDRESS>Builder:          vite
User Config:      devtools, modules, routeRules, colorMode, runtimeConfig, app, imports, i18n, content, image, veeValidate, ui, googleFonts
Runtime Modules<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Build Modules:    -

Reproduction
As stated at https://github.com/nuxt/nuxt/issues/22645, I got an issue sending POST requests to proxied routes (routeRules with proxy).
routeRules: {
        '/api/v1/**': {
            proxy: `${process.env.NUXT_PUBLIC_BACKEND_URL}/api/${process.env.NUXT_PUBLIC_API_VERSION}/**`,
        },
        '/web/**': {
            proxy: `${process.env.NUXT_PUBLIC_BACKEND_URL}/**`,
        },
        '/csrf': {
            proxy: `${process.env.NUXT_PUBLIC_BACKEND_URL}/sanctum/csrf-cookie`,
        },
    },

The error only occurs, when these criteria are matched:

h3 > 1.7.1 is installed. Pinning h3 to 1.7.1 fixes the problem
Type of request is POST
Post request contains a body - without body, the error does not occur (but - of course - the request is quite useless)

Describe the bug
The following error is thrown:
[nuxt] [request error] [unhandled] [500] fetch failed (http://api.app.test/auth/login)
  at async sendProxy (./node_modules/h3/dist/index.mjs:1017:20)
  at async Object.handler (./node_modules/h3/dist/index.mjs:1683:19)
  at async Server.toNodeHandle (./node_modules/h3/dist/index.mjs:1893:7)

Sending a CURL request gives the same result:
curl 'http://web.app.test/web/auth/login' \
-X 'POST' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Accept-Encoding: gzip, deflate' \
-H 'Accept-Language: de-DE,de;q=0.9' \
-H 'Host: web.app.test' \
-H 'Origin: http://web.app.test' \
-H 'User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/16.6 Safari/605.1.15' \
-H 'Connection: keep-alive' \
-H 'Referer: http://web.app.test/auth/signin' \
-H 'Content-Length: 48' \
-H 'Cookie: XSRF-TOKEN=...%3D; laravel_session=...%3D; i18n_redirected=en-US' \
-H 'x-xsrf-token: ...=' \
--data-binary '{"email":"test@example.org","password":"secret"}'

Additional context
Utility used to make requests to Laravel:
export async function $larafetch<T, R extends ResponseType = "json">(
    path: RequestInfo,
    {
        redirectIfNotAuthenticated = true,
        redirectIfNotVerified = true,
        useApiMiddleware = true,
        ...options
    }: LarafetchOptions<R> = {}
) {
    const {frontendUrl, apiVersion} = useRuntimeConfig().public
    const backendUrl = useApiMiddleware ? `${frontendUrl}/api/${apiVersion}` : `${frontendUrl}/web/`
    const router = useRouter()

    let token = useCookie(CSRF_COOKIE).value

    // on client initiate a csrf request and get it from the cookie set by laravel
    if (
        process.client &&
        ["post", "delete", "put", "patch"].includes(
            options?.method?.toLowerCase() ?? ""
        )
    ) {
        await initCsrf()
        token = useCookie('XSRF-TOKEN')?.value
    }

    let headers: any = {
        accept: "application/json",
        ...options?.headers,
        ...(token && {[CSRF_HEADER]: token}),
    }

    if (process.server) {
        headers = {
            ...headers,
            ...useRequestHeaders(["cookie"]),
            referer: frontendUrl,
        }
    }

    try {
        return await $fetch<T, R>(path, {
            baseURL: backendUrl,
            ...options,
            headers,
            credentials: "include",
        })
    } catch (error) {
        if (!(error instanceof FetchError)) throw error

        // when any of the following redirects occur and the final throw is not caught then nuxt SSR will log the following error:
        // [unhandledRejection] Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client

        const status = error.response?.status ?? -1

        if (redirectIfNotAuthenticated && [401, 419].includes(status)) {
            await router.push("/login")
        }

        if (redirectIfNotVerified && [409].includes(status)) {
            await router.push("/verify-email")
        }

        if ([500].includes(status)) {
            console.error("[Error]", error.data?.message, error.data)
        }

        throw error
    }
}

Logs
No response

I am having same trouble. Upgrading from 1.7.1 to 1.8.0 breaks it even more.
When I send POST request via proxy, it goes through. If I include file, I get same error:
[nuxt] [request error] [unhandled] [500] fetch failed (http://localhost:8000/api/form/1/submit)                                                                                1:59:36 PM   at async sendProxy (./node_modules/.pnpm/h3@1.7.1/node_modules/h3/dist/index.mjs:521:20)     at async Object.handler (./node_modules/.pnpm/h3@1.7.1/node_modules/h3/dist/index.mjs:1284:19)     at async Server.toNodeHandle (./node_modules/.pnpm/h3@1.7.1/node_modules/h3/dist/index.mjs:1359:7)

same issue when upgrading from 1.7.1 to 1.8.0

Hi. Sorry for the inconvenience with upgrading.
Since there is no minimal reproduction, I cannot confirm if https://github.com/unjs/ofetch/issues/269 > https://github.com/unjs/ofetch/pull/273 solved the same issue as you had but it seems was related (as you seem using proxy rules which was using ofetch as well) it would be nice if you could try to refresh your lockfile with latest dependencies to see if a problem exists.
In case it still exists, and you can make a reproduction, please consider making a new issue in nuxt repository and ping me to investigate 🙏🏼

@ahoiroman I just updated to Nuxt 3.7.0 which uses<EMAIL_ADDRESS>and my problem was solved, maybe you could give it a try, but my problem was only wich files, other way it worked

Yep, works with Nuxt ^3.7. Thanks :-)

Please reopen, this does not work when it comes to DELETE requests.


Setting concurrent_announcers = 0 causes daemon to fail startup

The Issue
This setting is required for Android to disable DHT, see below for error:
Tagging @akinwale for awareness.
2018-07-10 15:35:31,165 INFO     lbrynet.daemon.Daemon:242: Starting lbrynet-daemon
2018-07-10 15:35:31,187 INFO     lbrynet.daemon.ExchangeRateManager:217: Starting exchange rate manager
2018-07-10 15:35:31,313 INFO     lbrynet.daemon.Daemon:284: Platform: {"lbrynet_version": "0.20.3", "platform": "Windows-10-10.0.15063", "os_system": "Windows", "python_version": "2.7.15", "os_release": "10", "lbryum_version": "3.2.3", "ip": "<IP_ADDRESS>", "lbryschema_version": "0.0.16", "processor": "Intel64 Family 6 Model 60 Stepping 3, GenuineIntel", "build": "release"}
2018-07-10 15:35:31,315 INFO     lbrynet.daemon.Daemon:487: Loading databases
2018-07-10 15:35:31,319 INFO     lbrynet.daemon.Daemon:542: Using lbryum wallet
2018-07-10 15:35:31,334 WARNING  lbrynet.core.Session:210: UPnP failed. Reason: ConflictInMappingEntry
2018-07-10 15:35:31,335 ERROR    lbrynet.daemon.DaemonControl:118: Failed to start lbrynet-daemon
Traceback (most recent call last):
  File "site-packages\lbrynet\daemon\DaemonControl.py", line 115, in start_server_and_listen
  File "site-packages\twisted\internet\defer.py", line 1297, in _inlineCallbacks
  File "site-packages\twisted\python\failure.py", line 389, in throwExceptionIntoGenerator
  File "site-packages\lbrynet\daemon\DaemonServer.py", line 52, in start
  File "site-packages\twisted\internet\defer.py", line 1297, in _inlineCallbacks
  File "site-packages\twisted\python\failure.py", line 389, in throwExceptionIntoGenerator
  File "site-packages\lbrynet\daemon\Daemon.py", line 252, in setup
  File "site-packages\twisted\internet\defer.py", line 651, in _runCallbacks
  File "site-packages\lbrynet\core\Session.py", line 135, in <lambda>
  File "site-packages\lbrynet\core\Session.py", line 227, in _setup_dht
  File "site-packages\lbrynet\dht\hashannouncer.py", line 21, in __init__
  File "site-packages\twisted\internet\defer.py", line 1576, in __init__
ValueError: DeferredSemaphore requires tokens >= 1
2018-07-10 15:35:31,358 INFO     lbrynet.daemon.DaemonServer:56: Stopping the reactor
2018-07-10 15:35:31,358 INFO     lbrynet.daemon.Daemon:420: Closing lbrynet session
2018-07-10 15:35:31,358 INFO     lbrynet.daemon.Daemon:421: Status at time of shutdown: loading_wallet
2018-07-10 15:35:31,359 INFO     lbrynet.core.Session:141: Stopping session.
2018-07-10 15:35:31,359 INFO     lbrynet.core.Wallet:208: Stopping wallet.

Steps to reproduce

set concurrent_announcers: 0 in daemon_settings.yml file
run daemon

Expected behaviour
Tell us what should happen
Actual behaviour
Tell us what happens instead
System Configuration

LBRY Daemon version:
LBRY App version:
LBRY Installation ID:
Operating system:

Anything Else

Screenshots

This no longer fails, but you still get the error below. Tried announcing a blob and it doesn't, which is good.
Traceback (most recent call last):
  File "site-packages\twisted\internet\defer.py", line 1297, in _inlineCallbacks
  File "site-packages\twisted\python\failure.py", line 389, in throwExceptionIntoGenerator
  File "site-packages\lbrynet\daemon\Component.py", line 63, in _setup
ValueError: DeferredSemaphore requires tokens >= 1


Upgrade jsdom to 11.4

Summary
This updates JSDOM to a version which includes support for {request,cancel}AnimationFrame out of the box.

Test plan
I verified that the deleted test worked with the new code before deleting it.

Codecov Report

Merging #4919 into master will increase coverage by 0.02%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #4919      +/-   ##
==========================================
+ Coverage   59.98%   60.01%   +0.02%
==========================================
  Files         198      198
  Lines        6563     6555       -8
  Branches        4        3       -1
==========================================
- Hits         3937     3934       -3
+ Misses       2626     2621       -5

Impacted Files
Coverage Δ

packages/jest-environment-jsdom/src/index.js
41.46% <ø> (+0.64%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 9303ecf...0ed02dc. Read the comment docs.

Nice work @SimenB, so happy you pushed on this.


Bridge Validator App Scaffold

Does nothing but read and validate a config file.

Therefore I would argue to at least check the types of the user configuration. A named tuple could help here.

Type hints don't do anything at runtime, so a named tuple wouldn't help. I've added individual validation functions though. In addition, I played around a little with TypedDict but couldn't come up with anything that added any value, so I kept the plain dict. Open for suggestions though (which we could also implement in a future PR).

Moreover I think using abbreviations within the code is fine if everyone is aware about it or it is just common to use. But on user interactions/output I would always prefer to write them out. I refer here to config -> configuration. Ignore it if you don't feel the same.

Agree in general, but IMO config is common enough to use it.

Oh, and about RPC URL validation: I think there's quite a lot of different formats and I'd rather not try to validate this. If we want it and it's possible, we should open a PR to web3.py. I think the proper place to do it would be the instantiation of the HTTPProvider (so not only at the first request).

Added a Makefile and hvae mypy and pytest run in CI. I've mostly copy and pasted and have no idea what I actually did, but it seems to work. Please have another look

I think there's quite a lot of different formats and I'd rather not try to validate this.

Probably try to parse the url and validate the protocol is a simple alternative?

Probably try to parse the url and validate the protocol is a simple alternative?

I don't see a good reason for limiting the protocols one may use, but I'd be up for the urlparse approach. However, I played around with it a little but couldn't produce an invalid URL. Is there actually one? If not validating wouldn't make sense again.

We're not in the business of writing validating config file parsers. I think the configuration file validation is good enough already.


TxId means two different things.

Summary
TxId from plutus-ledger-api-<IP_ADDRESS> can be at least two different things, according to usages in plutus-apps:

double-sha256 hash of a plutus transaction stripped from input witnesses. As documented.
but also a cardano TxId, the bytestring refering to tx in raw blockchain data. This is different as first of all it is a blake2b_256 hash.

One can get the first using txId exported from plutus-ledger.
The second is for example what is visible inside TxInfo context of a plutus validation script.
Then there is getCardanoTxId or getCardanoApiTxId which act on These Plutus.V1.Ledger.Tx.Tx Cardano.Api.Tx (more or less) by applying one or the other hashing function (double-sha256 of the Plutus.Tx for Both). It is used for example in Tutorial.Escrow.
Steps to reproduce the behavior
No response.
Actual Result
There are no clear invariants of TxId.
Expected Result
Is this expected? I can't asses if this is problematic, but certainly looks so.
Describe the approach you would take to fix this
No response
System info
Plutus-<IP_ADDRESS>
Plutus-apps: fdb0eec47

Good point. We only use txId in plutus-ledger for the emulator (testing plutus contracts). This function shouldn't be used with transaction that are going to be submitted in the real blockchain.
Eventually, Plutus.Tx and txId will be deleted and replace with Cardano.Api.Tx types.


Third party build cannot be uploaded

Hello Stephan,
I hope you are well.
I managed to build the blink_led example on Segger's EmbeddeStudio, however when I upload it to NEORV32 via UART I receive error_0 which is related to the executable signature. Is there a way to resolve this? Is this approach actually valid? I used the settings you recommend like ilp32 ABI and rv32i in the IDE and used your linker and startup file also in the IDE.
Thanks a lot!

I am using ARM-USB-TINY-H adapter.
I will try to add the -d flag and see what happens
Many thanks 👍

Do you have still problems to get the blink_led examples running on "Segger Embedded Studio for RISC-V"?
I could successful get it to work. But you must have to use a J-Link.
Regards,
Michael

Do you have still problems to get the blink_led examples running on "Segger Embedded Studio for RISC-V"? I could successful get it to work. But you must have to use a J-Link.
Regards, Michael

Hi,
Thanks for reaching out. I tried with the J-link and it failed also. Do you use any special settings in the IDE?

I think my ARM-USB-TINY-H adapter does not support the J-link. What debugger adapter did you use?
Best regards

The Segger Embedded Studio works only with a J-Link.

@AbdulrahmanKH7
The on-chip debugger's "debug transfer module" (the actual JTAG "PHY") has been reworked (#216) because there were some timing issues in the external interface. That's why the Jlink EDU could not connect to the chip. Maybe this was also the cause of your troubles with your debugger.

I think this can be closed. Feel free to open another issue if you have further questions/problems.


add setting for density (allow the todos to be more dense) / add more user interface settings

Feature Request
What problem does it solve?
coming from a plain text file with 10 to 12px text height the sleek is using quite a lot of vertical space for design reasons (i assume).  i already  set the zoom to the lowest level but still the space between the "tags" and the horizontal lines is rather big.
How does the user interface change to accommodate this request?
adding a setting to configure the line height / density would be awesome. maybe even add a setting to hide the horizontal lines

Hi @c33s. If you know your way around CSS, you can adjust the styling to your needs. It is documented here: https://github.com/ransome1/sleek/wiki/Custom-CSS
Let me know if it doesn't work as expected.

thanks for your feedback. this is very helpful.
would you consider shipping 2 or 3 default themes so a non-css user can still easily switch between a more narrow design?

@c33s I am absolutely not against it. I think the impediment here is currently my low capacity.
In sleek 1.x, but not yet re-implemented in 2.x, we had a compact mode for users who prefer the interface more tiny and narrow. And there is at least another feature request asking for similar changes.
All I can say right now is, that some kind of compact mode (not multiple themes) is on the roadmap, but I cannot say when this will be available :/


OpenNI2 not working on Ubuntu 15.10 x64

Hi i downloaded and installed OpenNI2 and wanted to make it work with a kinect 1473, but cant see it with the tools :/

The model 1473 is problematic due to how they've changed the USB hub inside the sensor. There was an extended discussion about this on the libfreenect boards: https://github.com/OpenKinect/libfreenect/issues/316

@cjdg did you have success following the link posted by @SirDifferential?


[Improvement] improve the user interface

As apparent from the screenshot, the user interface is very mis-aligned. I can work on this under the hacktoberfest label

sir im working for the improvements currently thanks for your offer for help


Possible issue with fpmath.atan2

Hello!
Thank you for creating this library, I am using it in an attempt to make a small 2d car game with replays in Unity.
I am neither a very good programmer or good at maths, so this might just be me using the library incorrectly. I also have no solution or any idea what could be wrong - if anything is wrong. I tried looking at the code in this library but I'm not sure what's going on. Sorry.
However, I have discovered that strange things happen to values that make use of fpmath.atan2.
I used the code from here to make my car turn, and if I use the regular Mathf.Atan2 it works fine, but not with fpmath.atan2.
I also tried converting an atan2 method I found here into this:
    fp Atan2(fp y, fp x){
        fp a = 0;

        if(x > 0){
            a = fpmath.atan(y/x);
        }else if(x < 0 && y >= 0){
            a = fpmath.atan(y/x) + fpmath.PI;
        }else if(x < 0 && y < 0){
            a = fpmath.atan(y/x) - fpmath.PI;
        }else if(x == 0 && y > 0){
            a = fpmath.PI_OVER_2;
        }else if(x == 0 && y < 0){
            a = fpmath.PI_OVER_2_INV;
        }

        return a;
    }

If I use that method the car behaves as expected. Not sure what to do next, I have never created an Issue on github before.
Sorry again for not being very helpful. Let me know if more details are needed.

Hi!
Thank you for taking the time to create an issue and explain the case. I'm happy you found some use of this little library.
The Atan2 implementation is ported straight from FixedMath.Net and I haven't examined it too closely yet. Since you mention both Mathf and the implementation you provide above both behave as you expect, it is probably an issue with the current Atan2.
Christmas is coming up and I don't think I'll have time to look into it right now, but I would probably:

Create a few tests to validate fp.atan2 vs Math.Atan2
Find the cases which are problematic with the current implementation (either very bad precision or just incorrect)
Run the same tests with your implementation to see how it holds up.

From a first look it seems like the FixedMath.Net implementation handles a few more edge cases. But that doesn't help if it is incorrect. :)
You are very welcome to try this out and open a PR if you want.


Copyright violation

You clearly copied code from https://github.com/letmaik/vscode-netron and removed the license. However, since the MIT license requires attribution could you add it back please?

Readded
בתאריך שבת, 10 ביולי 2021 ב-20:29 מאת Maik Riechert <
@.***>:

You clearly copied code from https://github.com/letmaik/vscode-netron and
removed the license. However, since the MIT license requires attribution
could you add it back please?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/talshalti/netron/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABFZTSVNLFLECM7Y6N77CL3TXB7PZANCNFSM5AENM7FQ
.


misc: util: Allow conditional macros to depend on whether a property in DTS exists

This implements an idea from C Preprocessor tricks, tips, and idioms to allow for conditional compilation of code depending on whether a parametrically assembled macro resolves to a real defined macro (from DTS) or not.
E.g. newer Atmel sam0 parts have 4 interrupts associated with a SERCOM peripheral while older ones only had one. The Interrupt setup code is assembled in a macro already to prevent copy & paste for all SERCOMs. This allows to use a nested macro for the actual interrupt enablement.  If the Interrupt exists, the corresponding setup code is inserted. If it doesn't exist, the macro resolves to nothing.
@Sizurka expressed interest in this too - https://github.com/zephyrproject-rtos/zephyr/pull/14685#pullrequestreview-217031740

Codecov Report

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

@@           Coverage Diff           @@
##           master   #14788   +/-   ##
=======================================
  Coverage   52.51%   52.51%
=======================================
  Files         309      309
  Lines       45048    45048
  Branches    10419    10419
=======================================
  Hits        23656    23656
  Misses      16584    16584
  Partials     4808     4808

Impacted Files
Coverage Δ

include/misc/util.h
50% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ebd9b4...31ac3f8. Read the comment docs.


pub's version solver should only backtrack on solving errors

It looks like the version solver tries to backtrack on any error, not just solver-related errors. For example, if you run "pub install" against a local server where "/packages/<name>.json" or "/api/packages/<name>" return non-200 responses, the verbose logs indicate that pub makes two HTTP requests to that URL.

This issue has been moved to dart-lang/pub#571.


Address issues arising from testing with a cisco router.

Router was running  C1900 Software (C1900-UNIVERSALK9-M), Version 15.1(4)M4.
No longer require hello element to have an explicit namespace.
Prepend xml document declaration to all messages.

Pull Request Test Coverage Report for Build 138

13 of 13 (100.0%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.01%) to 95.462%

Files with Coverage Reduction
New Missed Lines
%

v2/netconf/common/codec/codec.go
1
95.45%

Totals

Change from base Build 135:
0.01%

Covered Lines:
1704

Relevant Lines:
1785

💛  - Coveralls

Pull Request Test Coverage Report for Build 138

13 of 13 (100.0%)  changed or added relevant lines in 3 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.01%) to 95.462%

Files with Coverage Reduction
New Missed Lines
%

v2/netconf/common/codec/codec.go
1
95.45%

Totals

Change from base Build 135:
0.01%

Covered Lines:
1704

Relevant Lines:
1785

💛  - Coveralls


putting faq updates live

@phil-davis I'll put this live already but your input is still very welcome - I'd like to make sure I have no errors in here ;-)
@RealRancor your input also welcome, what do you think?

Havn't checked if for spelling but :+1: for the statement itself.
It might be also fitting in here:
http://owncloud.10557.n7.nabble.com/Information-for-users-of-Weuxels-Gentoo-owncloud-client-Repository-td16533.html#a16539
as the user there is moving away from ownCloud mainly because of the broken calendar and contacts stuff.

I could only notice just those 2 little things I have commented on.


op-guide: add command for checking if there's any v3 data

Fixes #7681

lgtm

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@6ad9d16). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #7754   +/-   ##
=========================================
  Coverage          ?   75.59%
=========================================
  Files             ?      331
  Lines             ?    26008
  Branches          ?        0
=========================================
  Hits              ?    19661
  Misses            ?     4926
  Partials          ?     1421

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 6ad9d16...cf8ab8c. Read the comment docs.


fix(getting-started): install wasm-proc from crates-io

It was addressed in another PR: https://github.com/gear-foundation/vara-wiki/pull/126


Addition of Total Required Credits field to Program Plan object

Note: FOR INTERNAL USE ONLY. For support questions, please use the HEDA Chatter group in The Power of Us Hub.
For feature requests, please use the Ideas tab in The Power of Us Hub.

Do you want to request a feature or report a bug?

Feature

What is the current behavior?

This functionality does not currently exist in HEDA.

What is the expected behavior?

A new Number field, named "Total Required Credits" will be added to the Program Plan object.

What is the motivation/use case for changing the behavior?

This field will indicate the number of credits its program plan requires for completion, serving as a counterpart to the Credits field on the Plan Requirement object.

**lurch: add

Tracking W-031393

Included in production release 1.71

@aligeez @jacebryan I think this issue and #730 can be closed now, per our discussions in Quip? They should have been automatically closed but weren't, since they were attached to the PRs late.

Closing per @robertbwatson last comment. Thanks.


License issue

According to poppler-rs all crates using it should be GPL licensed, but your crate is MIT license

Sorry, I believe you have confused popper-rs by GNOME with poppler-rs by DMS.rs.

https://poppler.freedesktop.org/ use xpdf.. which is GPL

Also, about XPDF, you have to know what you're talking about:

@chardoncs All that chart and screenshot does is prove the Gnome poppler-rs crate is breaking the license.


f.DynamicPageTitle causes mouseover janks

URL (minimal example if possible):
https://openui5nightly.hana.ondemand.com/#/entity/sap.f.DynamicPage/sample/sap.f.sample.DynamicPageFreeStyle
Steps to reproduce the problem:

Get a standard mid-budget 2015ish laptop
Open the above sample page
Hover your mouse over the action buttons from left to right:
Edit > Delete > Copy > Toggle Footer

What is the expected result?
Jank free mouse hover effect
What happens instead?
https://github.com/SAP/openui5/blob/2a30bd2186b1a38d3188e73c9bb7379464ee704f/src/sap.f/src/sap/f/DynamicPageTitle.js#L535-L542
https://github.com/SAP/openui5/blob/68ea42cbb2fc1d967a045457c7d98426f3b122c7/src/sap.f/src/sap/f/DynamicPage.js#L1661-L1676
The handlers for mouseover and mouseout are called too many times during the mouse movement. The browser is too busy with the instruction to add/remove the CSS class. It's probably doing it multiple times before it has even a chance to get to the next paint event.

Wrapping the handler bodies with requestAnimationFrame did help a bit, but I don't know if that's sufficient and what it means in terms of compatibility.

If it helps..: https://developers.google.com/web/fundamentals/performance/rendering/

Hi @boghyon,
thank you for your bug report. I created an internal incident with number<PHONE_NUMBER> to track the progress of the fix for this issue.
Best regards,
Jiawei


Tests and setuptools setup.py file

We could run tests with py.test and maybe use a setup.py file, with setuptools and release it as a Python package so people could grab it with pip install paleopy.

I have added a requirements.txt file to the repo, now need to write some tests...

setup.py added and allows install by:
python setup.py install


Credential Service changes

Added the credential Service changes and a required check for input parameter - Tag Key.
Description
Update listed Azure policy to support the credential service. The changes include-
-Replace auth declaration with the credential declaration.
-Remove long_description field and use new info hash for Version, providers and service.
-Update readme to replace credential instructions with instructions to use credential service.
-Update CWF definitions as needed.
Issues Resolved
Added new credential service
Contribution Check List

[x] All tests pass.
[x] New functionality includes testing.
[x] New functionality has been documented in the README if applicable
[x] New functionality has been documented in CHANGELOG.MD

Running template Link
Azure: Tag Resources with Resource Group Name
https://governance.rightscale.com/org/1105/projects/60073/policy-incidents/5e4be30a4ec7b30001a865ac

          1 Error

:no_entry_sign:
compliance/tags/azure_rg_tags/README.md:11: MD009 Trailing spaces
A detailed description of the rules is available at https://github.com/markdownlint/markdownlint/blob/master/docs/RULES.md

  Generated by :no_entry_sign: Danger

Added the credential Service changes and a required check for input parameter - Tag Key.
Description
Update listed Azure policy to support the credential service. The changes include-
-Replace auth declaration with the credential declaration.
-Remove long_description field and use new info hash for Version, providers and service.
-Update readme to replace credential instructions with instructions to use credential service.
-Update CWF definitions as needed.
Issues Resolved
Added new credential service
Contribution Check List

[x]  All tests pass.
[x]  New functionality includes testing.
[x]  New functionality has been documented in the README if applicable
[x]  New functionality has been documented in CHANGELOG.MD

Running template Link


cmd/go: confusing error when using cgo with Go assembly code

Currently if a package has a import "C" all .s files will be compiled by the C compiler, which of course rejects Go assembly.

When the Go tool sees that one or more Go files use the special import "C", it will look for other non-Go files in the directory and compile them as part of the Go package. Any .c, .s, or .S files will be compiled with the C compiler.

clang -I . -fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=$WORK=/tmp/go-build -gno-record-gcc-switches -fno-common -I $WORK/github.com/FiloSottile/cgo-assembly/_obj/ -g -O2 -o $WORK/github.com/FiloSottile/cgo-assembly/_obj/add_amd64.o -c ./add_amd64.s
# github.com/FiloSottile/cgo-assembly
./add_amd64.s:1:24: error: unexpected token in memory operand
DATA p256const0<>+0x00(SB)/8, $0x00000000ffffffff
                       ^

I suspect this is asking too much, but it would be useful if there was a way to still compile assembly files with the Go assembler in a cgo package.
As a lower bar, it would be useful to get more meaningful error messages, as syntax errors appearing when adding import "C" in a different file are pretty obscure.

In retrospect perhaps we should have always assembled .s files with the Go assembler and .S files with the system assembler, but I think it's too late now.  Changing things now would be too likely to break too many existing packages.
Generating a more meaningful error message sounds good, but I'm not sure how.  I'm open to suggestions.

What do you think of adding a new suffix for code to be always assembled by the Go assembler? Like _go.s. It's unlikely to break existing packages, and can be made even more unlikely by picking something more complex like _goasm.s.

I can't say that I'm particularly fond of it, but I suggest that you send a message to the golang-dev mailing list and see what people think about the idea.

I'm loathe to introduce new semantics here when we've gotten this far without them. But I will add a heuristic test to produce a better error in this case.


Add composed route locators

Until now it's not easy to configure additional RouteLocators to the existing one's configured by spring cloud.
This PR contains two commits to allow composing of RouteLocators:
The first commit adds a CompositeRouteLocator implementation and adds it by default as primary RouteLocator.
The second commit removes the behaviour for simple routes from the DiscoveryClientRouteLocator.  The SimpleRouteLocator (for simple routes) and the DiscoveryClientRouteLocator (for discovered routes) are composed to preserve the current behaviour and to align with the "favor composition over inheritance" principle.
If you think the second commit with quite a lot changes is to risky, I would appreciate if at least the first commit is accepted.

Current coverage is 74.79% (diff: 84.41%)

Merging #1448 into master will increase coverage by 0.14%

@@             master      #1448   diff @@
==========================================
  Files           189        191     +2
  Lines          5814       5844    +30
  Methods           0          0
  Messages          0          0
  Branches        880        885     +5
==========================================
+ Hits           4340       4371    +31
+ Misses         1156       1150     -6
- Partials        318        323     +5

Powered by Codecov. Last update e6298f8...402114a

@joshiste appreciate the PR, but it is pretty daunting.  Do you mind separating it out into to PRs?

Ok then I will revert this PR to the first commit. Depending on your decision I'll file the second one.

Thanks!

@joshiste sorry for the delay. I'm looking to clear the queue this week in time for the milestone or RC


syntax error with freshly installed releasetool

After addressing #145, trying to use releasetool, I get the following error:
$ releasetool start
Traceback (most recent call last):
  File "/home/ofrobots/.local/bin/releasetool", line 7, in <module>
    from releasetool.main import main
  File "/home/ofrobots/.local/lib/python3.5/site-packages/releasetool/main.py", line 82
    prompt=f"Which language ({', '.join(_language_choices)})?",
                                                             ^
SyntaxError: invalid syntax

This would be a duplicate of #68, but given that is closed and I still ran into the issue means that the issue has not really been addressed. My understanding is that I need python 3.6, and the README should make this (or other disposition) clearer.

cc @theacodes

I re-wrote the installation steps to make it more clear that Python >=3.6 and pip are needed. I am closing this now, but please let us know if you have any other issues running releasetool @ofrobots.


Switch for disabling managed blocking for UFS

Is your feature request related to a problem? Please describe.
There could be cases where managed blocking would decrease the performance in an environment where UFS is fast. An ability to disable UFS could easily recoup such performance degradation.
Describe the solution you'd like
Configuration to skip managed blocking on UFS.
Describe alternatives you've considered
Enable managed blocking only on ObjectStoreUnderFileSystem implementations.

@ggezer I think this could be a good mount level option.

@calvinjia Do you think UnderFileSystemConfiguration would suffice? Or you are thinking some place else?

@ggezer has the PR for fixing this been merged?

@ggezer has the PR for fixing this been merged?
Yes, this issue can be closed.


Replay set statements for the recovery test after recovering

          It seems `deterministic simulation e2e, ci-3cn-2fe-3meta, recovery, batch` runs slower than before.

Originally posted by @chenzl25 in https://github.com/risingwavelabs/risingwave/issues/8274#issuecomment-1451376344

cc @wangrunji0408


5.8-inch Display on App Store

Please use below picture to replace the current 5.8-inch Display,

@zhangzhongnan928 this requires a new submission, will do it on the next one.

Included in next submission


Plugin system #26

This PR add plugin support for this project.

Introduce new command line and config options to specify the plugin script.
Refactor interceptor.
Add plugin example in plugin_examples directory.

Coverage decreased (-4.2%) to 67.125% when pulling 970f6001c23207d46b1b3175cec93f05fd00e0bc on plugin-system-#26 into 6e60594a2368ed5a96fd7b017ae3abe797b43f3f on master.

Coverage decreased (-2.2%) to 56.861% when pulling 18d9ac87ec6b308d531d30df038ddb993673c195 on plugin-system-#26 into 42df707dacc3a1f622607523183be98850b42b19 on master.


bug: ion-title not centering

Type: bug
Ionic Version: 2.x
Platform: desktop browser
ion-title is not centering the title text

My Title

I am using ionic serve and viewing in my Chrome browser.

As far as I know, if the Ionic framework detects no mobile user agent it defaults to Android behaviour. On Android the Title is always left-aligned. In Chrome you can use the developer tools to view the app with different user agents. Using an iOS user agent will show a centered Title.

Hello! Thanks for opening an issue with us! As this seems like more of a support question I will urge that you ask this question on our forum or on our slack channel. Thanks for using Ionic!


Fix sse2 problem

I forgot to run the regression tests before pushing this.
Unfortunately, it fails almost all regression tests because it causes linking errors.
I will need to revisit this and try again.


Activity Selection in C

Have you read the Contributing Guidelines on Pull Requests?
YES
Description
Issue no: #826
Activity selection in c.
Approach : Greedy Algorithm.
Time Complexity -
The complexity of this problem is O(n log n) when the list is not sorted.
When the sorted list is provided the complexity will be O(n).
Below is the output of given code.
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.)

Output of above code

kindly review this PR @Kajol-Kumari @SKAUL05 @siddharth25pandey @iamrajiv @HarshCasper
I made all the changes as per the requirement in my last PR.

kindly review this pr @Kajol-Kumari @siddharth25pandey

@yashaswibiyahut How you are using Malloc without including stdlib header.
Can you explain me briefly.
Thanks!

@siddharth25pandey  Its my mistake.
I make changes on my IDE at the time of compilation but forgot to update here.
To use the malloc() & calloc() functions, the standard header file “stdlib.h" must be present inside the code.
kindly review this.

@yashaswibiyahut Approving this PR but don't do these type of silly mistakes in future, it's my personal suggestion

Sure I will take care of this from the next time @siddharth25pandey
Thanks!

@Kajol-Kumari  kindly review this PR

Kindly merge this PR @siddharth25pandey @HarshCasper


Minimal Mili datasets

Is your feature request related to a problem?
A Mili user is trying to use the old visit plugin to read in datasets that only contain a mesh (only the "A" file; no time steps), and visit doesn't know how to interpret this. The new plugin also doesn't know how to interpret this because it wasn't an expected case.
This sounds like a rare use case, but it's something we should handle.
Impact
(Please click check boxes AFTER submitting ticket)

[ ] High - User productivity significantly improved
[x] Medium - User productivity partially improved
[ ] Low - User productivity trivially improved

Is your feature request specific to a data set?
I have the dataset that the users were trying to load.
Describe the solution you'd like.
We need the plugin to recognize when a dataset only contains the A file. It should generate a single time state mesh from this.
Describe alternatives you've considered.
Additional context

There appears to be an issue with a call to the mili library. It's unclear what should be handed to mc_read_results for the time state. I've asked Kevin about this and am waiting for a reply.


add generic gw-compatible support

hiya! im making a generic arduino-compatible floppy disk read/write library and one of the modes is 'greaseweazle compatibility' - this PR makes it so that fluxengine can successfully detect USB CDC serial ports when there is no exact VID/PID match, fixes a small packing bug in readflux, and also makes generic CDC windows 'activate' by enabling the DTR line. i also added zip upload on PR so folks can test without a release/build.

update CI to add zip on commit for quick testing
fix gw readflux command (should be 8 bytes long but was packed as 10)
add support for non-gw VID/PID (generic serial port that is gw compatible)
manually set/clear DTR on serial port devices - this seems to be essential for tinyusb/arduino CDC

not tested with a gw but ought not to have broken anything!
     Tracks -> 1         2         3
H.SS<PHONE_NUMBER>012345678901234567890123456789
0. 1 ........................................
0. 2 ........................................
0. 3 ........................................
0. 4 ........................................
0. 5 ........................................
0. 6 ........................................
0. 7 ........................................
0. 8 ........................................
0. 9 ........................................
1. 1 ........................................
1. 2 ........................................
1. 3 ........................................
1. 4 ........................................
1. 5 ........................................
1. 6 ........................................
1. 7 ........................................
1. 8 ........................................
1. 9 ........................................
Good sectors: 720/720 (100%)
Missing sectors: 0/720 (0%)
Bad sectors: 0/720 (0%)
IMG: wrote 40 tracks, 2 sides, 360 kB total

Hello --- thank you for this!
Re the DTR change: I've ported this to Linux (and hopefully OSX as well --- we'll see). The only devices I've got are a FluxEngine and a real GreaseWeazle; I notice that toggling DTR doesn't reset the GreaseWeazle stream. Do you know if it's supposed to?
Re the serial port detection: I'm not actually keen on this implementation, as the serial ports are only tried if no FluxEngine or GreaseWeazle are plugged in. Plus, if you have one generic USB serial device on your machine then the client will try to talk the GreaseWeazle protocol to it which is liable to end up badly (e.g. if I have my 3D printer plugged in). I'll tinker with this.
(I suspect the CY8CKIT-059 is going to be EOL'd by Cypress, as it's out of stock everywhere, so alternative hardware is definitely required. I'd like to pivot the FluxEngine client towards being a general client for as many different flux-level readers as I can manage, so I'm definitely interested in supporting your hardware. However I'll note that the GreaseWeazle protocol does have some limitations, such as not supporting hard-sectored disks, so if your hardware has a native protocol I'd prefer to use that instead.)

hiya! the DTR doesn't reset the stream. with the CDC implementation we've got - if you dont set DTR the CDC driver just never sends data from the device to the host - that is, DTR is respected! it could be a 'bug' in TinyUSB but its also pretty harmless and we found the DTR set code in a  minimal/boilerplate windows CDC example.
i agree that the generic serial method isnt great - note that we can't force a VID/PID in Arduino. greaseweazle project has a --device arg that allows specifying/forcing a COM port and we use that for gw. a similar technique would be great but we figured it would be a bigger PR so wanted to start with this instead. if ya want we can try to add --device or --port?
right now we just have a script that emulates a gw device, we sorta like maintaining compatibility with existing projects instead of re-inventing everything - especially since y'all are clearly floppy experts :) for hard-sectors, we do want to add support for those at some point, since i've got a shugart 801... but maybe gw would be interested in adding a new command to handle them!
in this case, as the hardware for fluxengine (and anything with an stm32) is unobtainium, we wanted to do a generic arduino-ese port that would be less hardware dependent - i did find a cypress dev kit but its a bit $ these days. the library we've got currently supports RP2040 and SAMD51. do you have an RP2040 board of some kind, maybe a $4 pico board?
whew! so i guess, let me know if you want --port added and we could do that this weekend

That's now merged, with some tweaks. To use GreaseWeazle mode with a manual serial port you can now do --usb.greaseweazle.port=/dev/tty... (or COM... on Windows). This bypasses the USB layer entirely. That seemed like the cleanest way to do things.
I've got some experience with the RP2040 --- I did the Fuzix port to it last year --- and it should be a decent machine for working with floppies. The IO processor looks ideal for timing flux pulses, which would let you DMA them straight into memory, freeing up the CPU to stream them via USB back to the host. There's probably also enough memory, just, to store a complete track in RAM (with the FluxEngine bytecode that's about 90kB for a IBM 1440kB disk) and enough CPU to do the decode on-board, opening up the possibility to use it as a generic mass storage device for lots of floppy disk formats. Which would be cool.
The bit that concerns me is that it's a 3.3V part. I picked the Cypress chip partly because it's the only 5V FPGA-ish microcontroller currently on the market that I know about. I know early versions of the GreaseWeazle made do without a level shifter, and it worked, but the RP2040 doesn't seem to be 5V tolerant. This is very much outside my comfort zone; I would expect there to be a current flow from the RP2040 to the drive if they both let a pin float high, but don't know whether this will cause any damage. (Another reason for using the Cypress chip is that I can solder the connector directly onto it without having to think about hardware!)

i dont think there's any pullups on floppy drives, so far i've had to enable the pullups on a board. pico's are also $4, they're...kinda disposable ;) its hard to find anything that is 5V-compliant that is inexpensive and fast these days.
we have also created a demo of 'on the fly MFM-decoded' USB Mass Storage for 3.5/5.25 diskettes since you just have to offer up the blocks one by one. doing any other file format is, of course, a total nightmare and left as an exercise for the reader :)
https://github.com/adafruit/Adafruit_Floppy/blob/main/examples/msd_test/msd_test.ino
right now im fighting mac800k diskettes - all my disk drives just Do Not Like when the floppy has 10 or 11us pulses. very exciting!

Some 5.25" drives have jumper-controlled pullups which can be as strong as 150R. keirf says these need buffering. https://github.com/keirf/Greaseweazle/wiki/Hardware-Setup#drive-terminations I'm not actually sure what the FluxEngine hardware has internally; I'll have to check (this might explain an issue someone reported). Modern drives use 10K. https://www.hermannseib.com/documents/floppy.pdf
Regarding Mac800k disks: yeah, have fun with GCR and the crazy checksum routine. I eventually gave up trying to understand the latter and just borrowed Mame's code. https://github.com/davidgiven/fluxengine/blob/master/arch/macintosh/decoder.cc

Oh, yeah, and regarding long pulses, there's some FluxEngine tooling for analysing drive pulse response that might be useful. See http://cowlark.com/fluxengine/doc/driveresponse.html. If you're having problems you might want to try making sure you have a DD disk.

5.25" are definitely a different beast - we're planning to have buffered output for those.
im going to dig up some proper DD disks, because my co-coder had no problems reading a commercial DD disk


More methods on the way text should be the same size and weight as other methods

I can't tell for sure, but the weight of the white text looks larger to me  - is it?

Closing as it's the same for font-weight, font-size, and line-height as the other methods and on QA.