Only need first and last params/gradients

I saw the warning:

Beware that when unrolling your optimisation like this for k, all gradients and all activations of your model at each step is kept in memory, meaning the memory footprint of your model is k times greater.

but I do NOT want all of them. I only want the current and first. Anything else can be thrown away and NOT stored. How can I achieve that?

You need to compute and keep in memory the intermediate steps for the backward pass to be possible, much like you need to compute and retain the intermediate activations of an RNN in order to backpropagate loss from the final state to the first state. The intermediate states will be garbage collected after the (meta-)backward pass anyways, but the O(n) space complexity in the length n of the unrolled inner loop is inherent to all such gradient-based meta-learning methods.
Closing the issue, but please re-open and comment if this doesn't clarify things.


config-parquet-and-info crashes with OOM at pq files validation, presumably when there are a lot of files

bigcode/the-stack-v2 keeps failing at config-parquet-and-info step and seems that the problem is that there are too many parquet files to validate (there are about 1k of them).
It starts  retry_and_validate_get_parquet_file_and_size:

and then fails with OOM in about a minute:

See also https://github.com/huggingface/datasets-server/pull/2544 which didn't help.
Note that bigcode/the-stack-v2-dedup which is about 2-4 times smaller works at this step.
cc @anton-l

Could we refresh other datasets with the same issue (crash in config-parquet-and-info)?
Let me know if you want me to take care of it

@severo hm i don't know if we can easily find datasets with this specific issue because it happens when there are a lot of parquet files to read the metadata from (for example, the-stack-v2 has 1k parquet files) and it doesn't raise any specific error but missing heartbeats. and we don't have that many datasets like this. for comparison - the-stack-v2-dedup is ~3x smaller but still there are many files - assume 300 - and it worked fine.
but if we have resources we can try to refresh all missing heartbeats and see maybe something will work, why not

as of today:

If it will fix 95% of them, I would be ok to refresh them. If it will fix 5% of them, I think it's not worth it. What do you think?

Maybe do it incrementally, we currently have { _id: { kind: 'config-parquet-and-info' }, count: 442 } with JobManagerCrashedError (Launch first 50 will let us know if it helps or not)

Yes, good idea. Do you want to take care of it?

Yes, I can refresh them. I will let you know if the number of crashes decreases.

Well, it reduced only 77 datasets. Now we have 365 with JobManagerCrashedError.


Can we use SimNet to  train our model?

can we fine tune the simnet model or train from scratch if we have our own datasets.

you can refer to this page，https://github.com/baidu/AnyQ/blob/master/tools/simnet/train/tf/README.md

有没有训练数据集？@oyjxer


Sort DNS answers before returning a name with Get()

Partially fix #504 by sorting the DNS answers and getting the first one on Get()

I'm not sure this really fixes the problem; different hosts can have different ideas about what an IP reverse resolves to, and without making the end type a set, the merge will always be nondeterministic.  Does that make sense?
I think we need to make the reverse resolver store all the hostnames for a given IP, return all of them, and define proper merge semantics for this field, ideally using #417

@tomwilkie I know this does not fix the problem, that is the reason why this "Partially fixes #504..." :wink: This is a quick fix until we have a proper solution. I assume that, in the most common case, most of the probe s will be under the same upstream (caching) DNS server, so they will get the same reverse resolution, and a sort on those reverse resolutions should be enough...
But, as you said, a complete solution should follow in a different PR...

I'm not sure this bug is urgent enough to warrant such a partial fix; I'd prefer us putting in a full fix.
That being said, I don't have a problem with this change going in, so LGTM.
Be careful with saying 'partially fixes #xxx' and github will just see that as 'fixes #xxx'.


reduce outputs downloaded from remote builds

Change-Id: I84e4e649fe33acd36dcac3293bcf098ff0333539

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (a4a5958) 96.87% compared to head (dcab822) 96.87%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #17   +/-   ##
=======================================
  Coverage   96.87%   96.87%
=======================================
  Files           1        1
  Lines          32       32
  Branches        1        1
=======================================
  Hits           31       31
  Partials        1        1

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


New release with pyarrow 17 support

I need to use pyarrow 17 to fix a bug appearing with pyarrow 16:
File "[...]/.venv/lib64/python3.9/site-packages/pandas/compat/pyarrow.py", line 10, in <module>
    _palv = Version(Version(pa.__version__).base_version)
AttributeError: module 'pyarrow' has no attribute '__version__'

With the latest version of pymongoarrow 1.4.0 I can only get pyarrow 16 installed:

🔒 Lock failed.
ERROR: Unable to find a resolution for pyarrow
because of the following conflicts:
  pyarrow<16.1,>=16.0 (from<EMAIL_ADDRESS>  pyarrow>=17 (from project)

Could you please publish a new release?
Thanks in advance.

Done!  https://github.com/mongodb-labs/mongo-arrow/releases/tag/1.5.0


hide wolf collar crash my game

Which version of Minecraft and the modification have you used? And can you please send me the crash report?

1.20.1, hide wolf collar
crash report:

The error seems to be caused by OptiGUI. I can't see any correlation with NAIY.

Also the error you sent me is a startup error. Which can't be caused by clicking a button.

this one: link
the cat collar works fine, does it matter?

yay thank u

can u make 1.20.1 pls

It should support 1.20.* - any 1.20 version

See here: https://github.com/PanJohnny/NoArrowsInYou/blob/1.20.1/src/main/resources/fabric.mod.json#L28
I am locking this issue


Using  tensor2tensor to build Language model of another language

Hi,
I want to use tensor2tensor to build a Language model for another language based on over 1M sentences I have.
I couldn't find any example for what is the best way to do so - is it possible? How?

@afrozenator I tried but failed to understand what should be the format of the input and how I should pul it there. My corpus is a .txt file (that can obviously be easily converted to a list of string).
What should I do to make it work with this:
https://github.com/tensorflow/tensor2tensor/blob/master/tensor2tensor/data_generators/lm1b.py
?
Thank you very much


Drop docs folder and adjust links

Changes

Closes #729

Merge Requirements
For new features contributions please make sure you have completed the following
essential items:

[x] CHANGELOG.md updated to document new feature additions
[x] (N/A) Appropriate documentation updates in the docs

Maintainers will not merge until the above have been completed. If you're unsure
which docs need to be changed ping the @open-telemetry/demo-approvers.

/cc @open-telemetry/docs-approvers

We should keep the otel image for the main readme but maybe just create another folder. Otherwise lgtm

thanks for making these changes @chalin

We should keep the otel image for the main readme but maybe just create another folder. Otherwise lgtm

@cartersocha - would it be ok to address this separately? (We have at least two options, the details of which I'd rather discuss in the context of a followup PR or issue.)

LGTM. Just don't merge this before open-telemetry/opentelemetry.io#2270

Could one of y'all formally approve https://github.com/open-telemetry/opentelemetry.io/pull/2270?
In terms of merge order, this can land first since the demo docs are already hosted on the website. Deleting them from this repo won't impact the git submodule being referenced by the OTel website, but it will prevent folks from attempting to make changes to the docs in this repo.

@mviitane ☝

Thanks for the approval of https://github.com/open-telemetry/opentelemetry.io/pull/2270 @julianocosta89!

Thank you for this @chalin!


Add TileDB media type to item spec

A TileDB array is a prefix / folder and does not have an extension. As such the use of the type is required when linking to this media type.

We are waiting for a TileDB example in STAC. Closing for now until something has been added to the repo.

We are waiting for a TileDB example in STAC. Closing for now until something has been added to the repo.


Old version of WebSocket

13:03:21.766: [obs-websocket] [WebSocketServer::onMessage] Client [::ffff:<IP_ADDRESS>]:53666 appears to be running a pre-5.0.0 protocol.
13:03:21.767: [obs-websocket] [WebSocketServer::onClose] WebSocket client [::ffff:<IP_ADDRESS>]:53666 has disconnected with code 4010 and reason: You appear to be attempting to connect with the pre-5.0.0 plugin protocol. Check to make sure your client is updated.

Hooook, 2 years it has been, gonna probably not check this week, but soon when I redo my setup

This hasn't been updated for WebSocket 5.x right? I've been using the 4.x compatible WebSocket plugin:
https://github.com/obsproject/obs-websocket/releases
Of course, OBSKorgNanokontrol2 should be updated to use 5.x, but this works in the meantime.

Exactly. Working on the new version

https://github.com/C9Glax/OBSKorgNanokontrol2/releases/tag/v3.0
It should ™  work


Fix icn validation flash messages

The messages said things like

An ICN identifier number may be used by only one Name. ‘[number]’ is already used by ‘[name]’.

because I had neglected to make number and name into arguments.
Delivers https://www.pivotaltracker.com/story/show/182531179
NOTE: I didn't add a test; I don't think it's worth it.

Coverage remained the same at 85.857% when pulling 56909abf6807a2ef0c2cd72761f42acd0ca370e7 on jdc-fix-icn-validation-flash into bfbc929e76d2d59d7bb763e82b0d8fb253922ee1 on master.

Good catch, such an easy mistake to make.  I don't think a test is necessary, either.  Good to go.

Thanks. I'll merge (if you haven't done so already).
On Wed, Jun 22, 2022 at 8:24 PM Jason Hollinger @.***>
wrote:

Good catch, such an easy mistake to make. I don't think a test is
necessary, either. Good to go.
—
Reply to this email directly, view it on GitHub
https://github.com/MushroomObserver/mushroom-observer/pull/1048#issuecomment-1163882080,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAALDFC6QORZN6FQECVGWMLVQPKFXANCNFSM5ZSFEWQA
.
You are receiving this because you authored the thread.Message ID:
@.***>


[DEV] - Update time

This PR updates spiketools to default to and work with spike times in seconds.
Relates to #11, #12, #13

Hey @claire98han & @maestapereira - as I think I've mentioned to both of you, as an answer to the open question of which time unit to use as default (#11), the suggestion from NWB is to use seconds, and so that is the plan.
This PR updates various things to work with seconds. The biggest change is probably updating the management of spike trains, to handle seconds, and allow for setting the sampling rate. I think there should no longer be any discrepancy between different functions expecting different units.
Since this is a fairly big change (conceptually, if not really in code), could you both have a quick look through this and check that 1) it all makes sense to you, and seems to work, 2) that I haven't missed anything, and 3) whether you see any problems that this might introduce.
Thanks!

Hey @claire98han & @maestapereira - thanks for checking through things!
Originally, I  hadn't really figured out what to do with check_spike_time_unit. I also realized we are not actually using this function anywhere anyways - we never actually added it into usage.
For now, I've generalized check_spike_time_unit -> infer_time_unit, which will return an inferred time unit. Now, if we want to add a warning anywhere, we can add something like:
if infer_time_unit(spikes) == 'milliseconds':
    print('Oh No! Wrong time units!!')

Does this make sense to y'all? I also fixed a couple other examples, and and updated convert_train_to_times to generalize to different sampling rates. From my end, I think this is ready to merge.


style changes to acl processing.

Just lil style updates to the acl processing.

lgtm. Thx for style updates


added example for integer to order documentation. closes #79

Hi there,
As promised a PR. I thought that simply giving an example for an integer value might clear it up for people new to the industry. I checked every translation for visual bugs, and I am not sure if the farsi one makes sense, this whole right to left thing confuses me, maybe @alihaddadkar may have a look at it.
Have a nice day and continue the good work all of you!

Thanks Daniel for the pull request, I'm sure the examples will be a big help to some of the new coders out there!


Font color for donut chart

How do i change the font color of the labels? My current working version is:
.ct-chart-donut {
stroke: red;
}
I think this is not the proper way.

.ct-chart-donut .ct-label {
fill: red;
}

Thanks a lot!


[opendistro-1.1][backport] Do not trim SAML roles

opensearch-security pull request intake form
Please provide as much details as possible to get feedback/acceptance on your PR quickly

Category: (Enhancement, New feature, Bug fix, Test fix, Refactoring, Maintenance, Documentation)
Maintenance

Github Issue # or road-map entry, if available:

Description of changes:
Backport for #1207

Why these changes are required?

What is the old behavior before changes and new behavior after changes? (Please add any example/logs/screen-shot if available)

Testing done: (Please provide details of testing done: Unit testing, integration testing and manual testing)

TO-DOs, if any: (Please describe pending items and provide Github issues# for each of them)

Is it backport from main branch? (If yes, please add backport PR # and commits #)

By making a contribution to this project, I certify that:
(a) The contribution was created in whole or in part by me and I
have the right to submit it under the open source license
indicated in the file; or
(b) The contribution is based upon previous work that, to the best
of my knowledge, is covered under an appropriate open source
license and I have the right under that license to submit that
work with modifications, whether created in whole or in part
by me, under the same open source license (unless I am
permitted to submit under a different license), as indicated
in the file; or
(c) The contribution was provided directly to me by some other
person who certified (a), (b) or (c) and I have not modified
it.
(d) I understand and agree that this project and the contribution
are public and that a record of the contribution (including all
personal information I submit with it, including my sign-off) is
maintained indefinitely and may be redistributed consistent with
this project or the open source license(s) involved.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #1219 (836bd12) into opendistro-1.1 (1ca82de) will increase coverage by 0.01%.
The diff coverage is 87.50%.

@@                 Coverage Diff                  @@
##             opendistro-1.1    #1219      +/-   ##
====================================================
+ Coverage             63.27%   63.28%   +0.01%
  Complexity             3001     3001
====================================================
  Files                   235      235
  Lines                 16522    16515       -7
  Branches               2961     2957       -4
====================================================
- Hits                  10454    10452       -2
+ Misses                 4553     4551       -2
+ Partials               1515     1512       -3

Impacted Files
Coverage Δ

...dlic/auth/http/saml/AuthTokenProcessorHandler.java
46.48% <87.50%> (-1.44%)
:arrow_down:

...OpenDistroSecuritySSLNettyHttpServerTransport.java
68.75% <0.00%> (-3.13%)
:arrow_down:

.../dlic/auth/ldap2/LDAPConnectionFactoryFactory.java
56.48% <0.00%> (-1.53%)
:arrow_down:

...search/security/tools/OpenDistroSecurityAdmin.java
46.91% <0.00%> (-0.27%)
:arrow_down:

...earch/security/auditlog/impl/AbstractAuditLog.java
75.00% <0.00%> (+1.07%)
:arrow_up:

...transport/OpenDistroSecuritySSLRequestHandler.java
55.84% <0.00%> (+6.49%)
: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 1ca82de...836bd12. Read the comment docs.


Inertia link blocks the toggle menu and nav of my template admin

I use inertia with laravel, and I have a template manager. When you load the site, the browser and the toggle menu work. However, when I click on an internia link it disables the entire browser and toogle-menu
https://github.com/inertiajs/inertia-laravel/assets/22689367/129e68af-5eb6-4e10-9cfb-d7e45cccae9c

Hi there,
Thanks for reporting the problem you are encountering, but it looks like this is a question that may be better suited for a support channel. We only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use the functionality provided by this repository, you can try one of the following channels:

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

However, this issue will not be locked, and everyone is free to discuss solutions to your problem!


TypeError: Cannot read property 'entries' of undefined

Possibly related to #61
When I'm running the p2o CLI to convert a Postman collection to OpenAPI document, it throws an error:
TypeError: Cannot read property 'entries' of undefined

I'm using the latest version, 1.12.1 and Notion's Postman collection.
As I'm new to the Postman collection, I have no idea where to look for. I just assume that the collection itself should be working.

HI @justinyoo,
I have test downloading the collection from the URL that you provide https://www.postman.com/notionhq/workspace/notion-s-public-api-workspace/overview and works fine for me using 1.12.1, could you attach here in github the collection that you are using, just to test exactly what you are doing?
Best Regards.

https://user-images.githubusercontent.com/1319632/125586873-6de58038-7118-43ab-9ce6-83e8b30dce56.mp4
Here you see the step that I follow to try to reproduce, but no error.

HI @joolfe closed due to inactivity

@joolfe Oops! I've been further digging down what has caused this error.
I was able to convert the Postman collection when download it directly from the web UI.
However, if I use the curl command, it has caused the error.
curl "https://api.getpostman.com/collections/<collection-id>?apikey=<api-key>" > notionapi.json

When I downloaded the collection through the API, the collection has another wrapper attribute called collection. I suspect this causes the error.


SMTP Sends from address does not allow sending if address is not same domain as Portal Settings

If you have one administrator and 2 SMTP portals both with separate email accounts and domains to authenticate and send emails<EMAIL_ADDRESS>+<EMAIL_ADDRESS>for SMTP authentication account.  1 Super User Account that manages both and has one email<EMAIL_ADDRESS>Email server wants to authenticate prior to sending.
DNN sends an email from the Administrator email instead of from the smtp server settings causing the mail not to get sent for the second portal.
A solution is to have an option in SMTP server settings to set the default "From" Portal Email account to use similar to what you can set in the Host SMTP server settings.
You can't change the "From" address sending emails.  Work around is to set the administrator account to the same email as the SMTP settings, but why not just use the From address as the one from the SMTP server settings and allow an administrator to have any email account they desire.
Generally I would have things sent from<EMAIL_ADDRESS>or<EMAIL_ADDRESS>so now I need to set the administrator up with that account email, but I would rather use a more personal email for the site.
Does this make sense?  Can any one confirm?  My tests say my SMTP settings work emails sent correctly but when someone registers my server blocks the mail being sent.  I am using the host account to run 2 portals both with that account as the host and admin account of the portals.
This is a long time issue.  I can date it back to when I first started using DNN.  Whatever settings and conditions used to send a verification email should be used in the test.  Also possibly a test email for testing out emails going to different addresses would be great in order to test live, gmail and other mail servers to see if your registration emails are being properly sent and test/modify what they look like.
Please make sense of this for me edit the post to make sense or make a new bug report to reference this one.  Any questions for clarity please ask.

Ok, for clarity here I am going to assume the host has an email of<EMAIL_ADDRESS>and then PortalA has<EMAIL_ADDRESS>PortalB<EMAIL_ADDRESS>The Global SMTP server settings are a fallback for sites that do not have their own settings, and there is a field to enter the host email. The most common use case for this is when providing a mail relay for all tenants.
Then for each site, you can enter their own STMP settings, the from address will depend on the use case (module, notifications, etc) so unless we have a context we do not know exactly what from address is used for the email you are talking about. The fact that it defaults to the portal administrator email is by design, not a workaround. For instance many modules have settings for the from email, and sometimes it is even the email of the actual visitor filling a form.
The fact that the email server may refuse to send emails if they don't come from an existing user on the email server is a setting on the email server and not Dnn specific.
What could be a workaround is if you don't want site notifications to come from the site owner, then you can have more than one administrators, but the default is the email address of the site owner by design.

Oh, I started with examples and did not use them. What I was going to say is that the email server if the email server at host.com refuses to send emails from PortalA.com (or vice-versa) is a security setting on the email server, not Dnn related. If the from email is<EMAIL_ADDRESS>, the email server at PortalA.com may very well refuse to send it (opposite too), etc. This is email servers security settings, not a Dnn thing.

It is DNN related in a way we should be able to set the email for registrations.
We should be able to set the email used for about any type of mail communication there is.
Besides the point the "From" address should be the SMTP user account address unless otherwise specified.  Why not send from that address for DNN system function related sending?
My work around of coarse is to create an admin account with the address I want.  But what if I want mail messages from things such as notifications and user registrations one<EMAIL_ADDRESS>the other<EMAIL_ADDRESS>There is no way to set this currently in DNN but any other module created for DNN would have this feature like you said and for a reason, to allow you to setup your system no matter to work with your email server and needs easier.   And what if I want my admin account to be a personal moderator account people communicate differently to the notifications account the one that does not take replies.
How do you set this?  I would have to create two accounts one for sending the emails and a second account for the moderator.
I can tell by the answer "Not a dnn things" that you understand what I am talking about at least.
Maybe a feature request as it does not break things.   SMTP settings I can send mail from I just have to be sending from the same domain it can be any from address, just needs the domain.   This is very common mail setting that avoids spam.  Otherwise your using an open relay.
There is a HOST email setting, there should be a PORTAL email setting issue solved makes my world make sense to me.   I been fighting on this a long long long long long time and now there is a Host Email so I can tell this issue is coming up in other tickets for years now.
Put this to bed, please :)

I would love to see Portal Email and change SMTP Enable SSL to SMTP Enable SSL/TLS

@thabaum,
registration and password reset mails are sent from the email address of the user specified as admin in Site Settings. If the SMTP server account being used has been granted "relaying", the account may send using any "from" address. If the SMTP server host does not grant this permission, you may specify an account per DNN website, which should have same domain as the admin email address of the website. You may, however, face issues with modules trying to send from a different address (but this is not a use case, which can be fixed by DNN platform).

Ok, so we now have 3 parts to this issue and it is still not actionable per it's title.
The first part is regarding permissions of the mail server, so not dnn related.
The second part is for adding a UI to set emails for different things like registrations vs notifications, vs using the site owner email for all system emails regarding a site.
And the third is to change the ssl wording for ssl/tls.
I will close this issue, could you please open new issues (1 for each) for the other 2 items please. Makes it easier for someone to pickup a well defined single thing and implement.


Used app / router does not exec params middleware without call from within app / router

I was just creating a router with only a param in it and found out the hard way that it doesn't execute in the app it's app.use in.
Here's the code:
function myRouter () {
  const router = Router({mergeParams: true})
  router.param('appId', async (req, res, next, appId) => {
    console.log('hi')
    return next()
  })
  router.all('/:appId/*', (req, res, next) => {
    return next()
  })
  return router
}

This will not log hi without.
  router.all('/:appId/*', (req, res, next) => {
    return next()
  })

Which seems a bit unintuitive.

Right, the router.params are confined to the router they were declared in. This is one of the purposes for creating new routers rather than reusing existing routers: because you want to create your own parameters. This allows for each router to have it's own parameter scope and allows for composability by not having routers interfere with each other.

Thanks @dougwilson for the clarification.


Adds 'end' when autocompleting blocks

Sorry if I'm misunderstanding something - this could turn out to just be my settings.
It seems like language-haml calls into various autocompletions from the language-ruby.
When a line ends with do, it adds a line below with end, which would be correct in Ruby but not in Haml. The same thing doesn't happen for if-statements so I'm guessing whatever override you have for those should also apply to blocks?

Good catch. I'll try and see what is causing this. I'm thinking it's something inside: https://github.com/ezekg/language-haml/blob/master/snippets/language-haml.cson.

Thanks! I've never worked in Atom's snippets code so I'm afraid I'd be at a loss but let me know if there's anything I can do re: reproducing it etc.

Fixed in v0.25. 👍


Support Scale to fit

Hi Scott,
I have an existing canvas app which is enabled scale to fit. I cannot turn it off as it affects the design. Is there anyway to use this PCF with scale to fit enabled?
Thank you

Hi @DavidPaf, due to the way that Power Apps performs scale transformations with 'scale to fit' turned on, I can't support your scenario.
I can only suggest considering using a responsive design without scale to fit.
Thank you for support and help with PowerDragDrop!
Scott

I'm closing this due to inactivity. Please re-open if needed!


ERROR: Every RelationInfo should have a complementary RelationInfo on the opposite relation field

Prisma schema loaded from schema.prisma
thread '<unnamed>' panicked at 'Every RelationInfo should have a complementary RelationInfo on the opposite relation field.', libs\datamodel\connectors\dml\src\datamodel.rs:165:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error: Unexpected token E in JSON at position 0

schema.prisma-error.txt

Thanks, this is known already and being tracked at https://github.com/prisma/prisma/issues/9141


[FEATURE] ShortUrl to result of AsyncOpenSearch(...) search

hey
I creating async client
client = AsyncOpenSearch(
            hosts=[{"host": host, "port": port}],
            http_auth=(user, password),
            use_ssl=True,
            verify_certs=False,
            ssl_show_warn=False,
        )

then performing search
  search_results = await self.client.search(
      size=self.max_hit_to_search,
      q=f'request_id: "{reference}"',
      index=self.index_name,
      timeout=DEFAULT_HTTP_TIMEOUT
  )

is there a way to get shorturl to result like in browser? if not -- is it in near plans?
thanks

Is shorturl an OpenSearch Dashboards feature or is it something returned from the API? I am not familiar with it.

@S0NNER10N I am not familiar with how that's implemented, want to dig that up?


feat(recipes): Add the FixJellyIssues recipe.

Adds XML declaration to Jelly files and create index.jelly if it doesn't exist thanks to the addjellyxmldeclaration and createindexjelly recipes.
This is an attempt to solve #349.
Walkthrough
The changes introduce a new recipe in the recipes.yml file for the Jenkins plugin modernizer, specifically io.jenkins.tools.pluginmodernizer.FixJellyIssues. This recipe ensures that the XML declaration <?jelly escape-by-default='true'?> is included in all .jelly files and creates an index.jelly file if it is absent. The recipe is categorized under 'chore' and includes references to two existing recipes for handling these tasks.
Changes

File Path
Change Summary

plugin-modernizer-core/src/main/resources/META-INF/rewrite/recipes.yml
Added a new recipe io.jenkins.tools.pluginmodernizer.FixJellyIssues to enforce XML declarations in .jelly files and create index.jelly files.

Testing done

Submitter checklist

[ ] Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
[ ] Ensure that the pull request title represents the desired changelog entry
[ ] Please describe what you did
[ ] Link to relevant issues in GitHub or Jira
[ ] Link to relevant pull requests, esp. upstream and downstream changes
[ ] Ensure you have provided tests - that demonstrates feature works or fixes the issue

The recipe supposed to fix the missing XML declaration has been released, but it looks like it's doing nothing. 😢
java -jar plugin-modernizer-cli/target/jenkins-plugin-modernizer-999999-SNAPSHOT.jar --plugins BlazeMeterJenkinsPlugin --recipes FixJellyIssues --skip-pull-request --skip-build
Starting Plugin Modernizer
Forking plugin BlazeMeterJenkinsPlugin locally from repo blazemeter-plugin...
Synced the forked repository for plugin BlazeMeterJenkinsPlugin
Fetching plugin code locally BlazeMeterJenkinsPlugin...
Fetched repository from https://github.com/gounthar/blazemeter-plugin.git to branch refs/heads/master
Collecting metadata for plugin BlazeMeterJenkinsPlugin... Please be patient
Done
Running recipes io.jenkins.tools.pluginmodernizer.FixJellyIssues for plugin BlazeMeterJenkinsPlugin... Please be patient
Done
No JDKs found in metadata for plugin BlazeMeterJenkinsPlugin. Using same JDK as rewrite for verification
Skipping formatting for plugin BlazeMeterJenkinsPlugin as it is not using Spotless
Skipping verification for plugin BlazeMeterJenkinsPlugin
Plugin BlazeMeterJenkinsPlugin verified successfully with JDK 17
Collecting metadata for plugin BlazeMeterJenkinsPlugin... Please be patient
Done
No commits to push for plugin BlazeMeterJenkinsPlugin
Skipping pull request for plugin BlazeMeterJenkinsPlugin
*************
Plugin: BlazeMeterJenkinsPlugin
Skip pull request mode. Changes were pushed on https://github.com/gounthar/blazemeter-plugin but no pull request was open on https://github.com/jenkinsci/blazemeter-plugin
*************
Plugin Modernizer finished.

and
~/.cache/jenkins-plugin-modernizer-cli/BlazeMeterJenkinsPlugin/sources (plugin-modernizer-tool)$ head ./src/main/resources/hudson/plugins/blazemeter/PerformanceBuilder/global.jelly
<j:jelly xmlns:j="jelly:core"
         xmlns:st="jelly:stapler"
         xmlns:d="jelly:define"
         xmlns:l="/lib/layout"
         xmlns:t="/lib/hudson"
         xmlns:f="/lib/form">
    <!--
 Copyright 2018 BlazeMeter Inc.

 Licensed under the Apache License, Version 2.0 (the "License");

Even the recipe itself outside of plugin-modernizer does nothing:
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jenkins:RELEASE -Drewrite.activeRecipes=org.openrewrite.jenkins.AddJellyXmlDeclaration -Drewrite.exportDatatables=true
and
~/.cache/jenkins-plugin-modernizer-cli/BlazeMeterJenkinsPlugin/sources (plugin-modernizer-tool)$ head ./src/main/resources/hudson/plugins/blazemeter/PerformanceBuilder/global.jelly
<j:jelly xmlns:j="jelly:core"
         xmlns:st="jelly:stapler"
         xmlns:d="jelly:define"
         xmlns:l="/lib/layout"
         xmlns:t="/lib/hudson"
         xmlns:f="/lib/form">
    <!--
 Copyright 2018 BlazeMeter Inc.

 Licensed under the Apache License, Version 2.0 (the "License");

Still no <?jelly escape-by-default...

@gounthar I think it's because of the *.jelly files are quarks (not idenfied as files)
We need to thread them as text file I think
https://github.com/openrewrite/rewrite-maven-plugin/blob/3dcec7f65e46c6740ca32f4dfd24e2d8d511a914/src/main/java/org/openrewrite/maven/ConfigurableRewriteMojo.java#L118
Can you try via maven plugin directly using `-Drewrite.additionalPlainTextMasks=**/*.jelly' ?
If yes we can add this CLI argument on plugin modernizer

Thanks, Valentin, let me try that. 👍

Or perhaps even added on https://github.com/openrewrite/rewrite-maven-plugin/blob/3dcec7f65e46c6740ca32f4dfd24e2d8d511a914/src/main/java/org/openrewrite/maven/ConfigurableRewriteMojo.java#L127
I see svg files are also added as text file. Not XML. So would make sense to have *.jelly files as text by default

Okay, the new command line parameter did the trick with the recipe:
mvn -U org.openrewrite.maven:rewrite-maven-plugin:run -Drewrite.recipeArtifactCoordinates=org.openrewrite.recipe:rewrite-jenkins:RELEASE -Drewrite.activeRecipes=org.openrewrite.jenkins.AddJellyXmlDeclaration -Drewrite.exportDatatables=true -Drewrite.additionalPlainTextMasks=**/*.jelly
gave
@@ -1,3 +1,4 @@
+<?jelly escape-by-default='true'?>
 <j:jelly xmlns:j="jelly:core"
          xmlns:st="jelly:stapler"
          xmlns:d="jelly:define"
diff --git a/src/main/resources/hudson/plugins/blazemeter/PerformanceReportMap/index.jelly b/src/main/resources/hudson/plugins/blazemeter/PerformanceReportMap/index.jelly
index e9c3040..29b598c 100644
--- a/src/main/resources/hudson/plugins/blazemeter/PerformanceReportMap/index.jelly
+++ b/src/main/resources/hudson/plugins/blazemeter/PerformanceReportMap/index.jelly
@@ -1,3 +1,4 @@
+<?jelly escape-by-default='true'?>
 <j:jelly xmlns:j="jelly:core" xmlns:st="jelly:stapler" xmlns:d="jelly:define"
          xmlns:l="/lib/layout" xmlns:t="/lib/hudson" xmlns:f="/lib/form">
     <!--
diff --git a/src/main/resources/index.jelly b/src/main/resources/index.jelly
index 5c942f0..d127448 100644
--- a/src/main/resources/index.jelly
+++ b/src/main/resources/index.jelly
@@ -1,3 +1,4 @@
+<?jelly escape-by-default='true'?>
 <!--
  Copyright 2018 BlazeMeter Inc.

I will create a new PR on OpenRewrite.

My PR has been merged, but no version has been released yet.

My PR has been merged, let's retry it!

And it worked! 🚀
https://github.com/jenkinsci/blazemeter-plugin/compare/master...gounthar:blazemeter-plugin:plugin-modernizer-tool


Create the Unique Names validation plugin

Create the "Unique Names" validator plugin. This validator plugin verifies that every definition has a unique name.
AC:

[ ] The validator plugin implements the following plugin hooks

[ ] get_plugin_aac_definitions()
[ ] register_validators()

[ ] The validator contains acceptance scenarios for

[ ]  validation success
[ ]  validation failure

[ ] Validation fails if another definitions in a context shares the same name
[ ] The validation is tied to the data definition and should be applied to every definition

This seems to basically achieve the same thing as #270. Closing as duplicate.

This seems to basically achieve the same thing as #270. Closing as duplicate.

Whoops! Thanks for catching that. We can repurpose any of these duplicate plugin stories, I have a couple more validator plugin ideas. 💡


Backport of Curl 8.1.0 https://github.com/iTwin/imodel-native/pull/290

Updated Curl to 8.1.0 from https://github.com/curl/curl/archive/refs/tags/curl-8_1_0.tar.gz

Adjusted for changes in Curl files.

https://github.com/iTwin/imodel-native/pull/290


kmesh L4 should support detailed query interface

kmesh should support capabilities to observe it's running status by daemon interface

@jezhang2014 Can you test if the status interface now satisfies your requirements


chore: store publish context on volume publish

Signed-off-by: Abhinandan Purkait<EMAIL_ADDRESS>

bors try

bors try

bors try

bors try

bors try

bors merge


I can't get the polyfill to work

Hello,
I designed a scroll-timeline animation to create horizontal scroll indicators on a list of tabs.
Here's the result : https://codepen.io/raphaelgoetter/pen/vYvMaOZ

Code is working fine on Chrome, but I don't understand what's preventing the polyfill from working on Firefox or Safari.
@supports (animation-timeline: view()) {
  .nav-tabs {
    &::after {
      content: "";
      position: sticky;
      right: 0;
      flex-shrink: 0;
      align-self: stretch;
      animation: fade-right linear both;
      animation-timeline: scroll(nearest inline);
      animation-range: 0 50px;
      transform-origin: right;
      background-image: linear-gradient(
        to right,
        transparent,
        rgba(255, 255, 255, 0.5) 50%,
        #fff 80%
      );
    }
  }
}
@keyframes fade-right {
  from {
    width: 100px;
    scale: 1 1;
  }
  to {
    scale: 0 1;
  }
}

Did I do something wrong?

You are using animation-range with a ScrollTimeline. Currently this is not supported.
Duplicate of https://github.com/flackr/scroll-timeline/issues/151

Well, I tried the polyfill with View() animations on these Codepen :

https://codepen.io/raphaelgoetter/pen/VwqjGav
https://codepen.io/raphaelgoetter/pen/wvReGKK

I added the Polyfill this way :

But none of these showcases is working on Firefox or Safari.

This Codepen is applying ScrollTimeline without animation-range and Polyfill doesn't seem to work on Firefox neither:
https://codepen.io/raphaelgoetter/pen/QWzRXgZ
Note : I love scroll-driven animations and all the great stuffs you do, @bramus  and  @flackr  !

@raphaelgoetter I see a few problems with that last demo you shared:

You are including the polyfill twice: once via the head (Pen Settings > JS) and once in the HTML. This explains the error you’re seeing on the console.
You are using CSS Nesting. The polyfill’s CSS Parser can’t deal with CSS Nesting.

Fixing these two issues already gets me somewhere, as demonstrated in this fork: the top element does something driven by scroll in Safari (but not in Chrome for some reason … 🤔)
Unfortunately I don’t have time right now to investigate this further, but this should already get you on track …

Thank you for these clues !

the top element does something driven by scroll in Safari (but not in Chrome for some reason … 🤔)

Actually it's weirder than ever, your fork :

is OK on Safari
is very strange on Firefox (background jumps at the end of the scroll)
isn't working at all in Chrome

(testing on MacOs)

Hi!
Does someone know if the polyfill works with next js? I have tried multiple configurations but have not been able to make it. I was thinking it may not work because of the next js class renaming😅.


Mentioning users in message & link with text

How do I mention users in the content/title of a message?
I tried doing:
@My Name
@my_email
@microsoft_user_id
<at>My Name</at>
<at>my_email</at>
<at>microsoft_user_id</at>

return MicrosoftTeamsMessage::create()
            ->to(config('services.microsoft_teams.webhook_url'))
            ->type($contents[1])
            ->title($contents[0])
            ->content($contents[0], [
                [
                    'entities' => [
                        [
                            'type' => 'mention',
                            'text' => '<at>' . $this->users[0]->getFullName() . '</at>',
                            'mentioned' => [
                                'id' => $this->users[0]->email,
                                'name' => $this->users[0]->getFullName()
                            ]
                        ],
                        [
                            'type' => 'mention',
                            'text' => '<at>' . $this->users[0]->email . '</at>',
                            'mentioned' => [
                                'id' => {microsoft_user_id}',
                                'name' => $this->users[0]->getFullName()
                            ]
                        ]
                    ]
                ]
            ])

But I just can't seem to get a proper mention.

MessageCard does not support mentions.
You need Adaptive Card to mention users.

@Tahiaji your comment does not respond to my question. I know you need an adaptive card since I done the research myself but I am asking this in this package since this is the package I'm using. So if you could explain me how to do it within this package please let me know.

evajavor There is no way to achieve this using this package.

Hi @evajavor & @Tahiaji ,
thanks for your input. Since this an open-source project feel free to contribue with a PR and we will review it
Please check the contribution guidelines before: https://github.com/laravel-notification-channels/microsoft-teams/blob/master/CONTRIBUTING.md

I do not have complete solution for Adaptive Messages - too many options here. And unfortunately, my current implementation already has too many differences to be fully compatible with the current package.

I am stuck in the same problem. I want to use @mention functionality but I can't with this package.

@evajavor @Tahiaji  if you have done it then please let me know.

Seems like Teams is not supporting adaptive cards (yet).

https://learn.microsoft.com/en-gb/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook#add-an-incoming-webhook-to-a-teams-channel
If you find another way feel free to contribute with a PR

Seems like Teams is not supporting adaptive cards (yet).

But Teams supports.
I even send some with mentions

@Tahiaji  please share code of ac-test-hook
...  currently i am using incomming webhook but @mention channel is not working for me...
My codes is :
{
"type":"message",
"attachments":[
{
"contentType":"application/vnd.microsoft.card.adaptive",
"contentUrl":null,
"content":{
"$schema":"http://adaptivecards.io/schemas/adaptive-card.json",
"type":"AdaptiveCard",
"version":"1.2",
"body": [
{
"type": "TextBlock",
"size": "ExtraLarge",
"weight": "Bolder",
"text": "Happy Birthday Name",
"wrap": true,
"style": "heading"
},
{
"type": "TextBlock",
"text": "Wishing you the best on your birthday and everything good in the year ahead.",
"wrap": true
},
{
"type": "Image",
"url": "https://birthdaycake24.com/uploads/worigin/2019/10/29/birthday-gif5db83c5a86e02_62a1f6b87b5f3a789a88ae423be83bc4.gif"
}
]
    }
   }
],
 "entities": [
        {
          "type": "mention",
          "text": "<at>Testing Notification in laravel</at>",
          "mentioned": {
            "id": "2b2bd1bd-dcdd-4652-8b67-e434113c915a",
            "name": "Testing Notification in laravel"
          }
        }
      ]

}

@Tahiaji please share code of ac-test-hook ...

This is not package or ready solution, but you can use it as example:
https://github.com/Tahiaji/microsoft-teams-component

Hello, I would like to send an online message after a task, is it possible? Could you give me an example?
Note: I have not been able to send without creating a Controller, that's why my query.
Thank you

What I would suggest is instead of relying on the package(as it doesn't include the mention feature yet), just create a new channel in your Laravel application as such:
`<?php
namespace App\Channels;
use App\Helpers\HandleExceptionHelper;
use GuzzleHttp\Client;
use Illuminate\Notifications\Notification;
class MicrosoftTeamsCustomChannel
{
public function send($notifiable, Notification $notification)
{
    $message = $notification->toMicrosoftCustomTeams($notifiable);

    $to = $notifiable->routeNotificationFor('microsoftTeams', $notification);

    $response = $this->sendMessageToTeams($to, $message);
    return $response;
}

private function sendMessageToTeams($teamsWebhookUrl,$message)
{
    try {
        $client = new Client();
        $request = $client->request('POST', $teamsWebhookUrl, [ 'json' => $message]);
        $request->getBody()->getContents();
        return true;
    } catch (\Exception $e) {
        HandleExceptionHelper::handler($e, true);
        return false;
    }
}

}`
register it in your service provider as such:
$this->app->when(MicrosoftTeamsCustomChannel::class)         ->give(function ($app) {             return new MicrosoftTeamsCustomChannel();         });
now you can just add this function to your notification modal
public function routeNotificationForMicrosoftTeams()
{
// return webhook
}
then
return payload with mentions
https://adaptivecards.io/designer/
Then just call the notifier from your desired
as @umer-448
Then you can just call the notifier class,

Closed due to inactivity


[Bug]: all mods stopped working/loading

Operating System
windows 11
BG3 Mod Manager Version
<IP_ADDRESS>
BG3 Game Version
Full Release
Bug Summary
All of my mods have suddenly stopped working/loading. Game says no mods are active even though they are on the active side in mod manager. When I try to refresh or reload them in the manager they all go back to the inactive side. I dont know how to fix this.
Links

This has been an ongoing issue ever since BG3 had the last major update (or even before then) and no amount of things that I have done have prevented this from continuing to happen after I got the game file to work.
All I can say is, when you boot up the game and it has them all turned off, screenshot your list and then put all of the mods back in order listed. This worked for me, but it isn't a COMPLETE fix because after some time after playing it will do this again (turning them all off, etc. etc.) and you will likely have to go through the process all over again.


It seems that ruapu has broken the std::chrono clock of mingw64

使用mingw64 gcc13.2 (Windows 11)，运行 ruapu_init() 后会让std::chrono无法正确计算时间，返回nan
mingw64 Clang也有问题, 详见godbolt

I'm using mingw64 with gcc 13.2 (Windows 11), and run  ruapu_init() will make std::chrono clock return nan.
mingw64 with Clang also has this issue, example in godbolt

#include <chrono>
#include <cstdio>

#define RUAPU_IMPLEMENTATION
#include "ruapu.h"

struct Timer {
    std::chrono::time_point<std::chrono::high_resolution_clock> start = std::chrono::high_resolution_clock::now();
    ~Timer()
    {
        auto end = std::chrono::high_resolution_clock::now();
        std::chrono::duration<double, std::milli> duration = end - start;
        std::printf("Timer took %lfms\n", duration.count());
    }
};

int main()
{
    ruapu_init();
    {
        Timer timer{};
    }
    return 0;
}

confirmed

修好了，请测试下


Return error when doesn't have a password.

When I'm connected on a public wifi and execute the wifi-password, returns:
Error: Your network doesn't have a password
    at ChildProcess.exithandler (child_process.js:203:12)
    at emitTwo (events.js:87:13)
    at ChildProcess.emit (events.js:172:7)
    at maybeClose (internal/child_process.js:818:16)
    at Socket.<anonymous> (internal/child_process.js:319:11)
    at emitOne (events.js:77:13)
    at Socket.emit (events.js:169:7)
    at Pipe._onclose (net.js:469:12)

I believe this is not a error and it should return to the screen. This is normal behavior.
What do you think about this? Maybe we can predict the behavior inside the code and sending a report with a better way..

It should just print the message without the stacktrace :+1:


Abstract core KEM functionality out of DHKEM

Hi, I'd like to be able to use HPKE with alternative KEMs, but it's currently not usable because there's no public facing KEM  abstraction and HPKE currently hard codes the initial set from RFC9180. To accomplish this, I've pulled the public functions from DHKEM into the KEM abstract class, modified HPKE to use a KEM instead, and added a new constructor that doesn't require an RFC9180 KEM.

Hi @roy-basmacier,
I'm a bit confused as to why the pull request was closed without any comment or merge. Could you please provide some insight or feedback on this? I want to make sure I'm following the correct procedures and address any issues that might have led to this decision.
Thank you!


hlint customization confusions, HLint.hs error reporting

Trying to customise hlint, I've run into some confusion and questions.
https://github.com/ndmitchell/hlint#customizing-the-hints gives a brief example of a Hlint.hs file:
import "hint" HLint.Default
import "hint" HLint.Dollar

Should that package name be "hlint" rather than "hint" ?
Is the file name case sensitive ? hlint.hs also works here, but perhaps that's because I'm testing on a mac.
In my current project (a stack project with hlint installed), the package name qualifier is required, I'm not sure why.
More error reporting about HLint.hs issues would be useful. Eg anything following the import keyword is accepted without error, even with -v.
Is HLint.hs actually a haskell file, or a custom config syntax ?
Thank you very much for hlint!

More (please excuse the laundry list):
it seems both "hint" and "hlint" work after import, but not anything else.
Without the HLint.hs file, I see some hints. With a HLint.hs file importing HLint.Default, I expected to see the same hints, but I see none. If I import HLint.Dollar, I do see the dollar hints. It would be good to know which hints hlint is currently using. Also a --list command, or an easy way to see the data directory path, would be useful to see which hints are available.

It seems hlint uses data-dir/HLint.hs by default. Adding import "hint" HLint.Builtin.All to my HLint.hs reproduces the default warnings. I'm wondering whether importing HLint.Default adds anything to this.

I originally said you had to import "hint". Later on I realised that typing that as "hlint" is almost inevitable, given the concepts going around people's head at that point. So I accept both.
Any import which doesn't have "hint" or "hlint" in it is considered to be a declaration of scoping, so if you do import Data.List you are saying that some of the identifiers in this file might come from Data.List, and you aren't going to qualify them.
There are "builtin" hints, e.g. eta reduction, which are wired into HLint. Those can be obtained through HLint.Builtin.All. There are also hints defined in terms of the ==> language, e.g. map f . map g ==> map (f . g)., those are available from HLint.Default, and won't be in scope if you don't import them.
Certainly the config file declaration format is a bit of a mess. I have never really got to grips with what its semantics should be or who should be extending it - quite a few of the open tickets are around this area.

I entirely rewrote the configuration mechanism with .hlint.yaml files. By no longer abusing Haskell syntax hopefully all the confusing bits have gone away. If not, please do reopen this ticket with more suggestions.


[question] how does it react to route param change

Hello
How doest the saga associated to a route let say:
/post/:id
React if route change from
/post/1
To
/post/3
?
Thanks

Hi, @acateland.
Any route change should trigger if there's a matching route and saga. So, changing the id param of the post in your example would trigger the saga again, assuming your route is /post/:id.

Seems to be answered. Close, @jfairbank?

Closing due to inactivity. Thanks for noticing @visusnet.


Add command line option to select which modules to adapt

This is coming up because of
/home/gareth/Documents/simplestform/.tup/mnt/@tupjob-49105/home/gareth/Documents/simplestform/node_modules/babel-core.js:1
(function (exports, require, module, __filename, __dirname) { define(['./babel
                                                              ^
ReferenceError: define is not defined
    at Object.<anonymous> (/home/gareth/Documents/simplestform/.tup/mnt/@tupjob-49105/home/gareth/Documents/simplestform/node_modules/babel-core.js:1:63)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)
    at Module.load (module.js:355:32)
    at Function.Module._load (module.js:310:12)
    at Module.require (module.js:365:17)
    at require (module.js:384:17)
    at Object.<anonymous> (/home/gareth/Documents/simplestform/.tup/mnt/@tupjob-49105/home/gareth/Documents/simplestform/node_modules/babel/bin/babel/index.js:5:24)
    at Module._compile (module.js:460:26)
    at Object.Module._extensions..js (module.js:478:10)

which happens since babel-core is being used from node, but it's being adapted/transformed to prime it for amd/browser usage. When someone (in this case babel) tries to require('babel-core') from within node, the amd wrapper chokes.

Ideally it would just create the .js files that I specify and not transform all of them.


Paddle size setting in Difficulty adjust doesn't change paddle size

https://youtu.be/IpTaYu5B8ls

Hard Rock and Easy mods don't change it either


alarm_control_panel entity missing

Before submitting this form

[X] I have checked that there hasn't been a similar issue submitted in the past

[X] I have updated the issue title to something relevant and clear to understand the bug I'm facing

Description of the bug
I am able to see sensor entities and they work but I am missing the alarm_control_panel entity.

My apps.yaml file is:
hello_world:
module: hello
class: HelloWorld
qolsys_panel:
module: gateway
class: QolsysGateway
panel_host: redacted
panel_token: redacted
panel_mac: redacted
panel_user_code: redacted
mqtt_namespace: mqtt
log_level: DEBUG
My appdaemon.yaml is:

appdaemon:
latitude: redacted
longitude: redacted
elevation: redacted
time_zone: redacted
plugins:
HASS:
type: hass
MQTT:
type: mqtt
namespace: mqtt # needed
verbose: True
client_host: core-mosquitto
client_port: 1883
client_id: localad
client_user: mosquito
client_password: redacted
event_name: MQTT_MESSAGE # the event you will listen in your module
client_topics: NONE
app_dir: /homeassistant/appdaemon/apps
http:
url: http://<IP_ADDRESS>:5050
admin:
api:
hadashboard:
Expected behavior
I would expect to see the alarm_control_panel entity in addition to the sensor entities that show up.
DEBUG logs
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting

Add-on: AppDaemon
Python Apps and Dashboard using AppDaemon 4.x for Home Assistant
Add-on version: 0.16.6
You are running the latest version of this add-on.
System: Home Assistant OS 12.3  (aarch64 / raspberrypi4-64)
Home Assistant Core: 2024.5.5
Home Assistant Supervisor: 2024.06.0
Please, share the above information when looking for help
or support in, e.g., GitHub, forums or the Discord chat.
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service legacy-cont-init: starting
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-appdaemon: starting
s6-rc: info: service init-appdaemon successfully started
s6-rc: info: service appdaemon: starting
s6-rc: info: service appdaemon successfully started
s6-rc: info: service legacy-services: starting
[22:05:36] INFO: Starting AppDaemon...
s6-rc: info: service legacy-services successfully started
2024-06-07 22:05:41.583086 INFO AppDaemon: AppDaemon Version 4.4.2 starting
2024-06-07 22:05:41.583406 INFO AppDaemon: Python version is 3.11.9
2024-06-07 22:05:41.583671 INFO AppDaemon: Configuration read from: /config/appdaemon.yaml
2024-06-07 22:05:41.583978 INFO AppDaemon: Added log: AppDaemon
2024-06-07 22:05:41.584349 INFO AppDaemon: Added log: Error
2024-06-07 22:05:41.584662 INFO AppDaemon: Added log: Access
2024-06-07 22:05:41.584966 INFO AppDaemon: Added log: Diag
2024-06-07 22:05:41.893621 INFO AppDaemon: Loading Plugin HASS using class HassPlugin from module hassplugin
2024-06-07 22:05:42.217381 INFO HASS: HASS Plugin Initializing
2024-06-07 22:05:42.217704 WARNING HASS: ha_url not found in HASS configuration - module not initialized
2024-06-07 22:05:42.217993 INFO HASS: HASS Plugin initialization complete
2024-06-07 22:05:42.218526 INFO AppDaemon: Loading Plugin MQTT using class MqttPlugin from module mqttplugin
2024-06-07 22:05:42.332456 INFO MQTT: MQTT Plugin Initializing
2024-06-07 22:05:42.332785 INFO MQTT: Using 'localad/status' as Will Topic
2024-06-07 22:05:42.333003 INFO MQTT: Using 'localad/status' as Birth Topic
2024-06-07 22:05:42.333841 INFO AppDaemon: Initializing HTTP
2024-06-07 22:05:42.334564 INFO AppDaemon: Using 'ws' for event stream
2024-06-07 22:05:42.340131 INFO AppDaemon: Starting API
2024-06-07 22:05:42.344745 INFO AppDaemon: Starting Admin Interface
2024-06-07 22:05:42.345433 INFO AppDaemon: Starting Dashboards
2024-06-07 22:05:42.369800 INFO HASS: Connected to Home Assistant 2024.5.5
2024-06-07 22:05:42.401105 INFO MQTT: Connected to Broker at URL core-mosquitto:1883
2024-06-07 22:05:42.405718 INFO AppDaemon: App 'qolsys_panel' added
2024-06-07 22:05:42.407831 INFO AppDaemon: Found 1 active apps
2024-06-07 22:05:42.408814 INFO AppDaemon: Found 0 inactive apps
2024-06-07 22:05:42.409353 INFO AppDaemon: Found 0 global libraries
2024-06-07 22:05:42.409879 INFO AppDaemon: Starting Apps with 1 workers and 1 pins
2024-06-07 22:05:42.411403 INFO AppDaemon: Running on port 5050
2024-06-07 22:05:42.416611 INFO AppDaemon: Got initial state from namespace mqtt
2024-06-07 22:05:42.417279 INFO MQTT: MQTT Plugin initialization complete
2024-06-07 22:05:42.466895 INFO HASS: Evaluating startup conditions
2024-06-07 22:05:42.482081 INFO HASS: Startup condition met: hass state=RUNNING
2024-06-07 22:05:42.482679 INFO HASS: All startup conditions met
2024-06-07 22:05:42.520710 INFO AppDaemon: Got initial state from namespace default
2024-06-07 22:05:44.421369 INFO AppDaemon: Scheduler running in realtime
2024-06-07 22:05:44.428376 INFO AppDaemon: Adding /homeassistant/appdaemon/apps to module import path
2024-06-07 22:05:44.430753 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/qolsysgw to module import path
2024-06-07 22:05:44.432072 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/qolsysgw/mqtt to module import path
2024-06-07 22:05:44.432818 INFO AppDaemon: Adding /homeassistant/appdaemon/apps/qolsysgw/qolsys to module import path
2024-06-07 22:05:44.445250 INFO AppDaemon: Loading App Module: /homeassistant/appdaemon/apps/qolsysgw/gateway.py
2024-06-07 22:05:44.579202 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/mqtt/listener.py - ignoring
2024-06-07 22:05:44.580565 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/mqtt/updater.py - ignoring
2024-06-07 22:05:44.581985 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/mqtt/utils.py - ignoring
2024-06-07 22:05:44.583247 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/mqtt/exceptions.py - ignoring
2024-06-07 22:05:44.584345 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/qolsys/observable.py - ignoring
2024-06-07 22:05:44.585558 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/qolsys/partition.py - ignoring
2024-06-07 22:05:44.586714 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/qolsys/control.py - ignoring
2024-06-07 22:05:44.588126 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/qolsys/events.py - ignoring
2024-06-07 22:05:44.589341 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/qolsys/sensors.py - ignoring
2024-06-07 22:05:44.590588 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/qolsys/utils.py - ignoring
2024-06-07 22:05:44.591960 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/qolsys/socket.py - ignoring
2024-06-07 22:05:44.593245 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/qolsys/exceptions.py - ignoring
2024-06-07 22:05:44.594498 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/qolsys/actions.py - ignoring
2024-06-07 22:05:44.595842 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/qolsys/config.py - ignoring
2024-06-07 22:05:44.597130 WARNING AppDaemon: No app description found for: /homeassistant/appdaemon/apps/qolsysgw/qolsys/state.py - ignoring
2024-06-07 22:05:44.598301 INFO AppDaemon: Loading app qolsys_panel using class QolsysGateway from module gateway
2024-06-07 22:05:44.601290 INFO AppDaemon: Calling initialize() for qolsys_panel
2024-06-07 22:05:44.698707 INFO qolsys_panel: Starting
2024-06-07 22:05:44.708768 WARNING qolsys_panel: No mac address found for '<IP_ADDRESS>'
2024-06-07 22:05:44.725490 INFO qolsys_panel: Started
2024-06-07 22:05:44.726801 INFO AppDaemon: App initialization complete
2024-06-07 22:05:44.744238 INFO qolsys_panel: Establishing connection to <IP_ADDRESS>:12345
2024-06-07 22:05:44.927967 INFO AppDaemon: New client Admin Client connected
Additional context
No response

Never mind. I updated homeassistant and it shows up now


Huge sync progress lost

Describe the bug
In our Prater node 100,000 slots of sync progress were lost after a node restart.

Expected behavior
States should be persisted more regularly and just a few epochs would have to be re-processed
Steps to Reproduce
?
Screenshots

It happened again. Seems that for two weeks the node hasn't persisted anything to disk

Looking at the logs:
Jun-30 10:25:02.161 [CHORES]          error: Error processing finalized checkpoint epoch=17537 message=No block found for root 0x37487efdbfbeeb82d7d35c6eb96438c4576f645b0f4c0386184592abab4b1736
Error: No block found for root 0x37487efdbfbeeb82d7d35c6eb96438c4576f645b0f4c0386184592abab4b1736
    at /usr/app/packages/lodestar/src/tasks/tasks/archiveBlocks.ts:75:19
    at async Promise.all (index 183)
    at ArchiveBlocksTask.processCanonicalBlocks (/usr/app/packages/lodestar/src/tasks/tasks/archiveBlocks.ts:71:7)
    at ArchiveBlocksTask.run (/usr/app/packages/lodestar/src/tasks/tasks/archiveBlocks.ts:52:7)
    at TasksService.processFinalizedCheckpoint (/usr/app/packages/lodestar/src/tasks/index.ts:79:7)
    at Object.job (/usr/app/packages/lodestar/src/tasks/index.ts:74:43)
    at Timeout._onTimeout (/usr/app/packages/lodestar/src/util/queue/index.ts:106:22)

Jun-30 10:25:15.780 [CHORES]          error: Error processing finalized checkpoint epoch=17538 message=No block found for root 0x37487efdbfbeeb82d7d35c6eb96438c4576f645b0f4c0386184592abab4b1736
Error: No block found for root 0x37487efdbfbeeb82d7d35c6eb96438c4576f645b0f4c0386184592abab4b1736
    at /usr/app/packages/lodestar/src/tasks/tasks/archiveBlocks.ts:75:19
    at async Promise.all (index 214)
    at ArchiveBlocksTask.processCanonicalBlocks (/usr/app/packages/lodestar/src/tasks/tasks/archiveBlocks.ts:71:7)
    at ArchiveBlocksTask.run (/usr/app/packages/lodestar/src/tasks/tasks/archiveBlocks.ts:52:7)
    at TasksService.processFinalizedCheckpoint (/usr/app/packages/lodestar/src/tasks/index.ts:79:7)
    at Object.job (/usr/app/packages/lodestar/src/tasks/index.ts:74:43)
    at Timeout._onTimeout (/usr/app/packages/lodestar/src/util/queue/index.ts:106:22)

I synced the node to the head with a weak subjectivity state and it still was unable to archive
Jun-30 13:14:10.920 [CHORES]          error: Error processing finalized checkpoint epoch=22265 message=No block found for root 0x1654d3d939ac98216be951c65cfb497716ccfa236192b56c66886e1a43196a23
Error: No block found for root 0x1654d3d939ac98216be951c65cfb497716ccfa236192b56c66886e1a43196a23
    at /usr/app/packages/lodestar/src/tasks/tasks/archiveBlocks.ts:75:19
    at async Promise.all (index 29)
    at ArchiveBlocksTask.processCanonicalBlocks (/usr/app/packages/lodestar/src/tasks/tasks/archiveBlocks.ts:71:7)
    at ArchiveBlocksTask.run (/usr/app/packages/lodestar/src/tasks/tasks/archiveBlocks.ts:52:7)
    at TasksService.processFinalizedCheckpoint (/usr/app/packages/lodestar/src/tasks/index.ts:79:7)
    at Object.job (/usr/app/packages/lodestar/src/tasks/index.ts:74:43)
    at Timeout._onTimeout (/usr/app/packages/lodestar/src/util/queue/index.ts:106:22)

When we start from a weak subjectivity checkpoint, we don't have the respective block in block db so the issue happens consistently.
I think we have same issue somewhere, but it does not always happen.

Explanation
So I traced the issue to the beginning of the log file in contabo-5, the archiveBlock task really failed from the beginning
Jun-30 09:02:02.660 []                 ^[[32minfo^[[39m: Initializing beacon state slot=549120, epoch=17160, stateRoot=0xb021a96da54dd89dfafc0e8817e23fe708f5746e924855f49b3f978133c3ac6a

7027 Jun-30 09:07:38.550 [CHORES]          ^[[31merror^[[39m: Error processing finalized checkpoint epoch=17161 message=No block found for root 0x85d7534b470b817c5b1a65e9eeec8dc712a1f11014232ebf01970444d75ddcf7

0x85d7534b470b817c5b1a65e9eeec8dc712a1f11014232ebf01970444d75ddcf7 is the root of block slot 549120
once we fail to process a run, it keeps failing for all next run because some blocks are moved toblockArchive db but forkchoice still retain them.
Root cause
Currently, we try to make block db to be synchronized to forkchoice and it works fine until we restart the node.
When we restart from an anchor state, if we have the finalized block in db then issue does not happen, otherwise the issue happens.
Solution
Make block db to be synchronized to stateArchived db instead of the forkchoice. Although forkchoice contains the old finalized block, ArchiveBlock should not process it, it should process that in the previous run.
When we restart, ArchiveBlock should not work on the finalized block of the anchor state since that block is finalized already.


Expanding large groups on the dashboard should probably load in multiple "pages"

The host.down alert is displayed on the dashboard in one large group with 222 members for our production environment. When you expand this group it tries to load the data for all 222 members, which takes a few minutes. Might be better to support some sort of paging, where it will load the first 25 members, then you have to click to load the next 25 or have another option to load all members.
We've often seen that interacting with these large groups can cause issues (like errors in haproxy) or other side effects, so defaulting to only loading 25 alerts when expanding the group may help prevent problems.
Screenshot from devtools showing all the api calls when expanding the group:

This also prevents me from being able to close alerts.


Update CODE_OF_CONDUCT.md

update CODE_OF_CONDUCT 2.0 to 2.1
this PR fixes #1194

@iamrahulmahato can you merge my PR?


Remove v4 from abi migration as it is not supported anymore

See https://github.com/ignition-tooling/release-tools/issues/600 and https://github.com/ignitionrobotics/docs/blob/1ebf12f8f98e41b9174f158679051fb97b10070a/tools/versions.md .

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


RequestEntityTooLarge

When i try to serialize sitecore items using sitecore-cli i get below error. could you please help?
Unexpected HttpResponseMessage with code: RequestEntityTooLarge

Hi @antonyalfred,
Have you had the CLI working with any other solutions? e.g. Does the Getting Started Template work for you?
Thanks,
Rob

Hi @robearlam,
I have not tried "Getting Started Template" yet.
Thanks,
Antony Alfred.

Can you give that a try so that we can see whether you're having an issue with the CLI in general, or specifically with the MVP Solution. Also can you please post the output from the following two commands:
dotnet --info
docker info
Cheers 👍

Hi @robearlam ,
I will try the getting started solution.
Please find the details below
dotnet --info:
.NET Core SDK (reflecting any global.json):
Version:   3.1.201
Commit:    b1768b4ae7
Runtime Environment:
OS Name:     Windows
OS Version:  10.0.17763
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.1.201\
Host (useful for support):
Version: 3.1.3
Commit:  4a9f85e9f8
.NET Core SDKs installed:
3.1.201 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.17 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.17 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.1.3 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
To install additional .NET Core runtimes or SDKs:
https://aka.ms/dotnet-download
docker info:
Client:
Debug Mode: false
Plugins:
cluster: Manage Docker clusters (Docker Inc., v1.2.0)
Server:
Containers: 15
Running: 0
Paused: 0
Stopped: 15
Images: 159
Server Version: 19.03.5
Storage Driver: windowsfilter
Windows:
Logging Driver: json-file
Plugins:
Volume: local
Network: ics internal l2bridge l2tunnel nat null overlay private transparent
Log: awslogs etwlogs fluentd gcplogs gelf json-file local logentries splunk syslog
Swarm: inactive
Default Isolation: process
Kernel Version: 10.0 17763 (17763.1.amd64fre.rs5_release.180914-1434)
Operating System: Windows Server 2019 Datacenter Version 1809 (OS Build 17763.1577)
OSType: windows
Architecture: x86_64
CPUs: 4
Total Memory: 16GiB
Name: sitecoredocker
ID: IXI7:6LX2:O3CS:JQEM:LVDS:LXV4:RXJY:XI4M:EJGN:FI66:TYL4:CXJW
Docker Root Dir: C:\ProgramData\docker
Debug Mode: false
Registry: https://index.docker.io/v1/
Labels:
Experimental: false
Insecure Registries:
<IP_ADDRESS>/8
Live Restore Enabled: false
Thanks,
Antony Alfred.

Hey Antony,
I was getting this error in one of my projects, later it turned out to be an WAF rule that was blocking the request. So worth checking your n/w restrictions.
Thanks,
Eshwar

hI @antonyalfred,
Are you still having issues here, did you check your WAF rules as per @EshwarBV9's suggestion?
Cheers

Hey Guys,
We were able to fix this issue, by updating the Nginx "proxy-body-size" to
100MB.
Thanks,
Eshwar
On Mon, Jun 7, 2021 at 1:39 AM Rob Earlam @.***> wrote:

hI @antonyalfred https://github.com/antonyalfred,
Are you still having issues here, did you check your WAF rules as per
@EshwarBV9 https://github.com/EshwarBV9's suggestion?
Cheers
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/Sitecore/MVP-Site/issues/15#issuecomment-855497043,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ATYSJ5YQ6UEF2G456WLPHOLTRQIMRANCNFSM4TXBZOQQ
.

Hi @antonyalfred,
Can you please try the fix listed by @EshwarBV9 and see if this solves the issue for you?
Cheers,
Rob

Closing due to lack of activity.


Don't let Thumbs auto-squash

Discussed with the team. We would rather not have Thumbs auto-merge, and we're not a fan of squashing by default either. Editing the config to match our preferences.

+1

+1

@thumbot merge

@thumbot merge


feat: support transaction

part of https://github.com/datafuselabs/databend/issues/14789

[x] waiting for https://github.com/datafuselabs/databend/pull/14802

cc @youngsofun plz help review it 😄

test

txn fail (once a stmt fail, the remaining fail untill commit/rollback)
interleaved txns: https://github.com/SkyFan2002/test-scripts/blob/main/txn/src/main.rs


Automate helm chart creation from config directory

Use helmify to automatoically generate helm chart from config directory.
Ref - https://github.com/Azure/azure-workload-identity/blob/main/manifest_staging/charts/workload-identity-webhook/README.md#contributing-changes
/good-first-issue

I would like to work on this issue.
/assign


What do you mean by "toy example of Mask R-CNN with two features"?

Is not equivalent to torchvision maskrcnn?

No. Compared with torchvision maskrcnn, this model is simplified and intuitive, for its backbone is without FPN and it only supports batch_size =1. It's just a template which is as easy as possible to show the architecture of maskrcnn.


perf(animation): improve animation perfomance

We can significantly improve slider performance by letting chrome little hint about our goals - making animations.
https://developer.mozilla.org/ru/docs/Web/CSS/will-change
In another PR https://github.com/zefoy/ngx-swiper-wrapper/pull/221 was suggested that here will be better place for that improvement.

@nosovk would be good to see live example or JSFiddle comparing swiper without it and with will-change where it will clearly illustrate performance improvements. From my experience, it can (and probably will) make it even worse. Also check the notes and MDN page:

Don't apply will-change to too many elements. The browser already tries as hard as it can to optimize everything. Some of the stronger optimizations that are likely to be tied to will-change end up using a lot of a machine’s resources, and when overused like this can cause the page to slow down or consume a lot of resources.

Use sparingly. The normal behavior for optimizations that the browser make is to remove the optimizations as soon as it can and revert back to normal. But adding will-change directly in a stylesheet implies that the targeted elements are always a few moments away from changing and the browser will keep the optimizations for much longer time than it would have otherwise. So it is a good practice to switch will-change on and off on using script code before and after the change occurs.

Don't apply will-change to elements to perform premature optimization. If your page is performing well, don't add the will-change property to elements just to wring out a little more speed. will-change is intended to be used as something of a last resort, in order to try to deal with existing performance problems. It should not be used to anticipate performance problems. Excessive use of will-change will result in excessive memory use and will cause more complex rendering to occur as the browser attempts to prepare for the possible change. This will lead to worse performance.

Give it sufficient time to work. This property is intended as a method for authors to let the user-agent know about properties that are likely to change ahead of time. Then the browser can choose to apply any ahead-of-time optimizations required for the property change before the property change actually happens. So it is important to give the browser some time to actually do the optimizations. Find some way to predict at least slightly ahead of time that something will change, and set will-change then.

Be aware, that will-change may actually influence the visual appearance of elements, when used with property values, that create a stacking context (e.g. will-change: opacity), as the stacking context is created up front.

I have a heavy page, where switching slides is quite common, after adding 'will-change' its improved the performance on mobile greatly. Now if I have 20 exercises + it's quite smooth, and even 40 exercise + have decent performance. so in my case, it was worth it.

Closing due to inactivity and/or no responses from issue author

@nolimits4web just not ready to argue. Because of significant improvement in perfomance we just  added those changes directly to projects where we use swiper. Because of css nature we can do it without modifications into the library.
About demo:
I created branch with reverted commit about will-change optimization link
there is swiper slider in header without will-change on it.
On master branch will-animate fix is precent.
Comparing them on ios you may see that ios devices have sufficient problems in sliding big images.

Don't apply will-change to elements to perform premature optimization

If we use css transform in infinite loop (like typical slider behaviour) that wouldnt be premature optimizatiom


Unexpected behaviour: given language key is automatically reformatted

Refactoring Report
This report details a refactoring required due to unexpected behaviour of the library. May it serve as an RFC.
Problem
Language keys passed to the library are not honoured by default - they are reformatted. This creates problems on certain systems, where filesystems are case sensitive and so reformatting causes the internationalisation files to not be found. This is considered unexpected behaviour.
Expectations
The default behaviour should be to use the provided keys as they are, not to transform them or mutate them in any way automatically. Such behaviours should either be opt-in or left to the end user.
Proposed Solutions
In order of descending difficulty (which is proportional to effectiveness):

Remove automatic formatting from the base library altogether, and move to a plugin of its own

Rationale: It should be left to the end user. As per the philosophy that libraries should be general tools from which users can build programs, specialized features merely add to overhead. See: "UNIX Style, or cat -v Considered Harmful" by Robert Pike.
Implementation: It would be relatively easy to remove from the base library, as all that takes is to rip out all the involved code and redirect the following functions to use the given keys directly rather than the output. It would also be relatively easy to convert to its own program.
Compatibility: This is a breaking change, and should be done as part of a major release. Until the next major release, the functions should remain present, but with a warning added that they will be removed and put into their own plugin.

Make using the given keys the default behaviour, and make all others opt-in rather than opt-out

Rationale: It would be much less problematic to implement and require less changes to make these features the opt-out and to make the expected behaviour, which is already implemented, the default.
Implementation: All that is required would be to make the opt-out behaviour the default, and convert the alternate behaviours to their own opt-in switches.
Compatibility: This is perfectly backwards compatible - all that is necessary to port end projects from the prior version to this proposed version would be to invert the options, assuming they want this behaviour. Code that is already opting-out or does not need the alternate behaviours but just uses the default anyway would remain intact.

Additional Context
See: i18next-fs-background#14.

Add an init option formatLanguageCode: function(code) {} which if set will be used here: https://github.com/i18next/i18next/blob/master/src/LanguageUtils.js#L36 in form if (this.options.formatLanguageCode) return this.options.formatLanguageCode(code)

PR welcome.

@jamuhl that's essentially just option 2, thanks though.


OpenRGB crashes

Describe the bug
Attempting to connect to local OpenRGB server.
Connection attempt failed
Local OpenRGB server unavailable.
Running standalone.
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
*** buffer overflow detected ***: terminated

Steps To Reproduce
Steps to reproduce the behavior:

nix shell 'self#openrgb'
sudo openrgb

Expected behavior
OpenRGB should not crash.
Notify maintainers
@jonringer
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.0, NixOS, 23.11 (Tapir), 23.11.20231112.e44462d`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(root): `"nixos"`
 - channels(suhr): `""`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

I'm facing the same problem. I first got it to run without any problems, but after upgrading my setup with some new fans OpenRGB has been failing on my NixOS machine. Now I get the same error as shown by @suhr.

Does services.hardware.openrgb.enable work?
Although this looks like a potential packaging issue, or upstream issue

I got the OpenRGB server to run with this config:
{ config, pkgs, ... }:

{
  boot = {
    kernelParams = [ "acpi_enforce_resources=lax" ];
    kernelModules = [ "i2c-dev" "i2c-piix4" ];
  };

  hardware = {
    i2c = {
      enable = true;
    };
  };

  environment.systemPackages = with pkgs; [
    i2c-tools
    liquidctl
  ];

  services = {
    hardware.openrgb = {
      enable = true;
      motherboard = "amd";
    };
  };
}

It now runs consistently when logging in, but still has some problems with crashes where I need to restart the computer to get the server running again. Those mostly happen when changing configs in the OpenRGB GUI.
It does work most of the time though, so I'm happy for now.

I was able to resolve crashing by not detecting my GPU. Is it possible that this is an upstream issue? Or maybe a NixOS-unique permissions issue?


Rename to fish-plugin

For consistency across the ecosystem and Fisher's documentation.

@jorgebucaran a link from Fisher README perhaps can be useful for new users and would be greatly appreciated🙏

Want to add this to https://git.io/awsm.fish too?

@jorgebucaran I think it's more useful for Fisher plugin devs so it would be more appropriate in Fisher README (as a continuation of Creating a plugin section), awesome lists, at least in my mind, are more about actual projects/plugins, but it's your call.
I would love to make a PR for adding my Docker images repo in the awesome list though🤗


improve pjit pytree error involving Nones (and PytreeLeafs)

When pjit's in_axis_resoures is not a pytree prefix of the corresponding arguments' pytrees, we attempt to raise a good error. But at least two things can be improved:

[ ] don't mention PytreeLeaf instances in the error message
[ ] handle None specially (since it's surprising for the error message to refer to it as a container)

Looked into this briefly. It looks like 'in_axis_resources' is being deprecated in favor of in_shardings. Is this still an issue?

Hey, mattjj, can you assign this issue it to me, I am interested to work on it?


Chrome - Textfield Placeholder Bug

There appears to be a bug with the placeholder field. I'm using Chrome Version 64.0.3282.167 (Official Build) (64-bit)

Thanks for reporting this, the front-end will be completely re-written using Angular, so this whole screen will be replaced soon 👍 I'll close this for now.
Keep those reports coming, really appreciated :)

Closed for the reasons @KrauseFx mentioned.

Oh whops, I meant to close it, thanks @nakhbari 👍


Replace \markdownRendererHorizontalRule with \markdownRendererThematicBreak

Closes #14.

Looks good, will be merged after Markdown 2.18.0 is released.

Markdown 2.18.0 has been released last Tuesday.

@drehak Should be good to merge. Please, feel free to review and merge at your convenience.


Correct types of component labels

Avoid using as string, it's reducing type safety, we can just narrow down the type.

Right, this is definitely better, that as there wasn't really correct.

Oh, just an optional thing for this, as we don't have to omit label the omission there for value and onChange can also be removed if we want to since those prop types are overriden.


CORE-6656 Remove ledger-obsolete,

Readd (slightly modified) notary info as part of membership

Merging as this has already been approved merged on release/os/5.0


Basics/keywords like "if" and "match" are not in the F4 help

Godot version:
3.1.1-stable-win64
Issue description:
Language basics like "if" and "match" are not in the F4 help menu. This is especially important in the case of things like "match" that have unusual (as far as modern languages go) syntax and features.
Steps to reproduce:

open godot editor
press F4
type "match"
notice the match keyword is not listed

Duplicate of #18579


Website tech setup

Tech setup for building the team website mvp

[x] Investigate jekyll, hugo, GH pages, Netlify
[x] Jekyll setup
[x] Website pages - index.html, css, js files
[x] Catwatch data
[ ] Travis CI setup
[ ] greenhouse jobs api

Watch the "Jekyll" setup task here: #9

Investigated the greenhouse api - seems like the job pages uses a jobs.zalando.de proxy which only support a basic search against location.
Would suggest the pragmatic solution to this, is to manually add/remove jobs to the web site for now.

@perploug Great, let's do it manually. Thank you for investigating!


[6.0][PackageLoading] Support deserialization of manifests that used `swif…

…tLanguageVersion`

Explanation:
Follow-up to https://github.com/swiftlang/swift-package-manager/pull/7620
This is important for the manifest cache - make sure that older manifests that used original spelling of the build setting are still deserializable.

Main Branch PR: https://github.com/swiftlang/swift-package-manager/pull/7827

Resolves: rdar://132484168

Risk: Very Low (This change is very narrow and affects only people who adopted swiftLanguagVersion while building with 6.0 snapshot and had their manifests cached).

Reviewed By: @bnbarham

Testing: Local testing only since there are no convenient affordances to test this.

(cherry picked from commit<PHONE_NUMBER>6d6c2835b1c3dc38f79c21997b2c34)

@swift-ci please test

@swift-ci please test Windows platform


Flutter app is slow performing UI rendere after success api request on physical device (iPhone 12 pro max) compare to simulator (iOS)

Details
We have an app written with openAPI generator. We also use  pull-to-refresh pub ( https://pub.dev/packages/pull_to_refresh ) It worked fine until we migrated the app to null-safety handling.
Now we see the app is doing the auto refresh, but takes very long on a physical device compare to running the app in a simulator.
We do not see error messages. Any suggestion how to debug?
Target Platform: Flutter Mobile
Target OS version/browser: iOS 15.x
Devices: iPhone 12 Pro Max

Hi @cpuell, thanks for filing the issue.
Can you provide the output of flutter doctor -v?

Now we see the app is doing the auto refresh, but takes very long on a physical device compare to running the app in a simulator.

Is this referring to the network request or is it something else?
Also, what mode are you experiencing this issue with? debug/profile/release?
Since you're experiencing this with a third party package, I believe it would be best to file an issue with them so they can properly investigate.
Thank you

Hello @danagbemava-nc
the refresh is on page change (open page) also on drag down to refresh, it is a network refresh.
I would assume it has something to do with openAPIGenerator, which got manually adjusted instead of using the generator, but worth noting, it is working fine on simulator.
Below is the flutter doctor:
`usernameDevicee ios % flutter doctor -v
[✓] Flutter (Channel stable, 2.8.1, on macOS 12.2 21D5039d darwin-x64, locale de-DE)
• Flutter version 2.8.1 at /Users/username/Development/tools/flutter
• Upstream repository https://github.com/flutter/flutter.git
• Framework revision 77d935af4d (vor 6 Wochen), 2021-12-16 08:37:33 -0800
• Engine revision 890a5fca2e
• Dart version 2.15.1
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/username/Library/Android/sdk
• Platform android-31, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
• Xcode at /Applications/Xcode.app/Contents/Developer
• CocoaPods version 1.11.2
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 2020.3)
• Android Studio at /Applications/Android Studio.app/Contents
• Flutter plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/9212-flutter
• Dart plugin can be installed from:
🔨 https://plugins.jetbrains.com/plugin/6351-dart
• Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
[✓] VS Code (version 1.63.2)
• VS Code at /Applications/Visual Studio Code.app/Contents
• Flutter extension version 3.32.0
[✓] Connected device (3 available)
• iPhone (mobile) • 00008101-001454861E01001E • ios            • iOS 15.2.1 19C63
• macOS (desktop)       • macos                     • darwin-x64     • macOS 12.2 21D5039d darwin-x64
• Chrome (web)          • chrome                    • web-javascript • Google Chrome 97.0.4692.99
! Error: iPhone is busy: Preparing the watch for development via iPhone. Xcode will continue when iPhone is finished. (code -10)
• No issues found!`

I'm not entirely sure I understand.
Can you share some screen recordings of how the app behaves on the simulator vs how it behaves on the physical device?


Crash when writing Yolol : UTF-8 Not enough space

Description of Issue
Yodine crashes when some UTF-8 characters are typed in the Yolol Editor.
Those characters includes (tested) : ² é è à ° € ñ
Error Dump

Error
lfeditor.lua:123: UTF-8 decoding error: Not enough space
Traceback
[C]: in function 'getWidth'
lfeditor.lua:123: in function 'draw'
libs/loveframes/objects/base.lua:83: in function 'draw'
libs/loveframes/objects/base.lua:83: in function 'draw'
libs/loveframes/init.lua:193: in function 'draw'
main.lua:137: in function 'draw'
[C]: in function 'xpcall'

This should be fixed in the coming UI update.
I decided this is a bit more priority because it causes a crash.


How to know when running inside the TWA vs Browser vs PWA.

Thanks for the great project.  It's awesome for us web-only guys.
My question concerns how to identify that the user is viewing the website from inside the TWA.  I know that there is a referer during the launch, but setting a cookie or local storage based upon that referer to identify the TWA in the user's session is no good because that data is shared with Chrome as well as the PWA, if installed.
Perhaps there a way to set a custom header?  I found a conversation on SO to this effect:
https://stackoverflow.com/questions/54580414/how-can-i-detect-if-my-website-is-running-inside-a-trusted-web-actvity
With this solution:
    Bundle headers = new Bundle();
    headers.putString("key", "value");
    customTabsIntent.intent.putExtra(Browser.EXTRA_HEADERS, headers);

If we could send a custom header with the request from the TWA, or a custom user agent, it would be a breeze to identify the environment.
Maybe there is a better way that I haven't come across.
Thanks for any help!

I use the referrer approach and store my "isTWA" flag in session storage. This avoids sharing that data with Chrome. I use it to add a back button to my UI only in the TWA, and I can browse my site in parallel in Chrome and in the TWA and see the back button only in the TWA, as desired.

I use the referrer approach and store my "isTWA" flag in session storage. This avoids sharing that data with Chrome. I use it to add a back button to my UI only in the TWA, and I can browse my site in parallel in Chrome and in the TWA and see the back button only in the TWA, as desired.

The setting a session cooking on the first request would be my suggestion too.

Thanks guys.  I thought that session storage was shared between the TWA and Chrome.  Time to give that another try.

The localStorage is shared. A TWA behaves like another tab/window open, do it doesn't share the sessionStorage.

Thank you again.  Just the direction we needed.

In chrome os the referrer is empty

https://github.com/GoogleChrome/android-browser-helper/issues/64

https://github.com/GoogleChrome/android-browser-helper/issues/64


Add SOCK Token logo file

In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:

[x] Filename in the lowercase format
[x] Image format: png
[x] Image size: 256 by 256 px

Nice socks.
Also, you can use these graphics to say that your ERC20 token fully compatible with Trust Wallet (https://trustwallet.com/logo-assets). Tokens will show up automatically once the user receives them.
Feel free to share this on social media and tag Trust Wallet:

Twitter: @trustwalletapp

Facebook: @trustwalletapp


feat(distrobox): Add Bluefin CLI & Wolfi (DX)

Allows users to assemble Bluefin CLI and Wolfi distrobox images

@EyeCantCU shouldn't this include an rpm spec version bump?

Yup. Will get that up

@EyeCantCU force pushing burned you here
You need to merge from main branch to get updates... you are a few versions behind on that spec version.

Thanks for the heads up :). Rebased my changes


Add example github projects to documention

Would it be helpful to add a page with expressive based github projects to the documentation?
Examples

https://github.com/codeliner/php-ddd-cargo-sample
https://github.com/AndrewCarterUK/AstroSplash

Personal blogs

https://github.com/weierophinney/mwop.net
https://github.com/xtreamwayz/xtreamwayz.com
https://github.com/acelaya/website-expressive

of course +1 from my side ;)

Don't forget https://github.com/RalfEggert/zend-expressive-tutorial when its ready... ;-)

See pull request #233


How to use Constant Binding functionality?

Hi, great addon.
I have found binding to the vertical FOV value in the vertex shader Constant binding tab.
It is encoded in the projection matrix (https://ogldev.org/www/tutorial12/tutorial12.html) and can be extracted to the FOV with the following formula:
90°=2*atan(1/0.5625 * 9/16), where 0.5625 is the matrix value, and 9/16 is to convert it to in-menu (see background) 90° vertical FOV, from horizontal matrix's FOV.
How do I use that value inside a shader like PerfectPerspective.fx?

You can define a uniform matrix variable in your effect with a custom source and add a binding at the matrix offset for it (you can then select that variable under "Add variable binding" with the offset you see in the editor), REST will then feed it into that variable
Like so: uniform float4x4 fov < source = "MY_FOV"; >;, but you can also use just use a float if you need a singular value


Undefined array key "transient"

Suddenly I'm getting this error - Undefined array key "transient"
Here's my code:
$client = \OpenAI::client(getenv('OPENAI_API_KEY'));
$response = $client->audio()->transcribe([
    'model' => 'whisper-1',
    'transient' => false,
    'file' => fopen($filePath, 'r'),
    'response_format' => 'verbose_json',
]);
return $response;

Are you on 0.6.4+?

I was just going to post this issue. This solution was generated by ChatGPT:
It looks like the OpenAI API response may not always include the 'transient' key, leading to a "Undefined array key 'transient'" warning when the PHP client tries to access it directly. Also, the constructor of the TranscriptionResponseSegment class strictly requires a bool for the $transient parameter, leading to a "TypeError" when null is provided if 'transient' key is not present.
Here is an alternative way to handle the absence of the 'transient' key, while also ensuring that $transient is of type bool:
// In the file: /vendor/openai-php/client/src/Responses/Audio/TranscriptionResponseSegment.php

public static function from(array $attributes): self
{
    $transient = $attributes['transient'] ?? false;

    return new self(
        $attributes['id'],
        $attributes['seek'],
        $attributes['start'],
        $attributes['end'],
        $attributes['text'],
        $attributes['tokens'],
        $attributes['temperature'],
        $attributes['avg_logprob'],
        $attributes['compression_ratio'],
        $attributes['no_speech_prob'],
        (bool) $transient
    );
}

This manual adjustment worked on my end.