Consider using inclusive language in docs

From Words To Avoid in Educational Writing, the following words can be difficult for folks who are just getting started and have a steep learning curve to implementing suggestions which may seem trivial to advanced users:

Simply
Just
Obviously
Basically
Of course
Clearly
Easy

For example, here's some language choices in the September 2018 Release Notes:

Simply use a string array as the prefix property.
Returning the value undefined simply prevents the debug session from starting
Simply use the Preferences: Configure User Snippets command or create *.code-snippets file
Search for keybindings just by typing keystrokes
Now can you rename the referenced file just by renaming the import:
You can accept that current suggestion just by typing ;

Very little is lost by removing those words altogether:

Simply Use a string array as the prefix property.
Returning the value undefined simply prevents the debug session from starting
Simply Use the Preferences: Configure User Snippets command or create *.code-snippets file
Search for keybindings just by typing keystrokes
Now can you rename the referenced file just by renaming the import:
You can accept that current suggestion just by typing ;

Setting up language linting or including this in editorial reviews is definitely non-trivial, but just a suggestion to focus on inclusive and welcoming language.

I agree it is good to be welcoming and inclusive, but I followed the link, and the guy who wrote the article has zero qualifications in the subject and no data to backup anything he says. Why would anyone spend anytime implementing these ideas when there is no compelling evidence they have any benefit whatsoever?
A much better source to improve technical writing is William Zinsser - On Writing Well. He explains in the first part how to remove clutter and demonstrates how most writing can be cut in half and present the meaning in a far more concise and understandable manner.
Unfortunately someone has to go and study the book and spend the time learning how to write well. The idea of 'language linting' is just more santagate 1984 nonsense. If you want good writing then hire a good writer, don't start banning words for arbitrary reasons in case they upset/demotivate people.

I agree with @David-Else, since I believe that words such as "simple", "obviously", "basically", "of course", etc. do add meaning to the sentence. It does make a difference for me in the sentences that the author of https://css-tricks.com/words-avoid-educational-writing/ used to exemplify a "non-suggested" usage.

the following words can be difficult for folks who are just getting started and have a steep learning curve to implementing suggestions which may seem trivial to advanced users

I would very humbly and honestly suggest those folks not to try running faster than their feet can endure. Should they have issues with reality letting them know that they are new in some area and that they need to learn (https://en.wikipedia.org/wiki/Dunning–Kruger_effect), it is very little helpful to be overpaternalistic.
That said, I'm all in with using inclusive, welcoming and supportive language. Where "supporting" means adding references for new users to understand why things are simple, obvious or basic; instead of hiding that information from them by removing adverbs/adjectives.

@David-Else
the guy who wrote the article has zero qualifications in the subject

"the guy" who wrote the article is Chris Coyier who started CSS-Tricks and has written over 3,000+ technical blog posts over the last 10 years, co-founded codepen, has done a podcast with 300+ episodes, has published books on web development, spoken at dozens of national conferences.  If it comes down to the three of us, I'm going to trust him on reaching an audience on technical writing.

   The idea is to be careful with word choice, a very common editorial practice, not ban words outright.  I've never even hinted at banning words; I said they can be hard for new users.

@David-Else
He explains in the first part how to remove clutter and demonstrates how most writing can be cut in half and present the meaning in a far more concise and understandable manner.

Yes, I totally agree. And even if you didn't find this language particularly unwelcoming, it's removal still accomplishes your desired goal of writing in a more "concise and understandable manner"
Oh well, it's not a hill I need to die on; just a suggestion.

the guy who wrote the article has zero qualifications in the subject

"the guy" who wrote the article is Chris Coyier who started CSS-Tricks and has written over...

We should be careful, as this looks like an ad hominem replied with an ad verecundiam...

If it comes down to the three of us, I'm going to trust him on reaching an audience on technical writing.

I believe we'd better think about how to make release notes of VSCode more friendly for new users; and propose/discuss enhancements to the guidelines of the project. Trust seems out of context. Naturally, Chris is so welcome to come by and contribute to the discussion, given his experience and expectedly interesting point of view.
Please, don't take me wrong: I am so interested on the outcome of this, since I am a new in the field of Electron/TS. This is to say that I am one of those users that would benefit from more inclusive notes. Nonetheless, I don't feel bad for it; just wish I had more time to learn and understand.

Let's be specific:

Returning the value undefined simply prevents the debug session from starting

Without "simply", I would read it and ask myself: what else does it (not) prevent/trigger? is there any other prevent/trigger at all? Hence, I'd expect some link to an issue or doc page where the "full" (as in "not simple") procedure is explained.
With "simply", I understand that it prevents the debug session and it has no other meaningful (non-)effect. This is reassuring for me: someone with better knowledge is explicitly telling me not to overthink.

   I've never even hinted at banning words;

You mentioned Setting up language linting, that is what I was referring to. To me that implies automated flagging of words for either deletion or modification.
Sorry, I didn't mean to come over so harsh. I am just very wary of people suggesting things like language linting after what has been happening lately in the open source world. In fact I will turn this positive, I think I will write a dystopian novel in which Google develops a real time 'language linter' so it can change what you say over the phone in real time. Eventually it can replace you with a sanitized automaton version of yourself :)


Unable to Reinstall Home Assistant OneDrive Backup Add-on - “layer does not exist” Error

Hi,
thank you for this fantastic add-on!
Description:
I’m using the Home Assistant OneDrive Backup add-on, which was working well for backing up. Recently, I had to reinstall HAOS and restore it from a full backup created by this add-on. While the restore went smoothly, the add-on did not start, and I was unable to get it running again. I decided to uninstall it and attempt a fresh installation. However, I am now unable to reinstall the add-on due to the following error:
Error Log:
2024-05-20 19:13:00.272 INFO (MainThread) [supervisor.host.apparmor] Adding/updating AppArmor profile: de91e161_hassio_onedrive_backup
2024-05-20 19:13:00.384 INFO (MainThread) [supervisor.docker.interface] Downloading docker image ghcr.io/lavinir/aarch64-hassonedrive with tag 2.3.1.
2024-05-20 19:13:01.360 ERROR (MainThread) [supervisor.docker.interface] Can't install ghcr.io/lavinir/aarch64-hassonedrive:2.3.1: 500 Server Error for http+docker://localhost/v1.44/images/ghcr.io/lavinir/aarch64-hassonedrive:2.3.1/json: Internal Server Error ("layer does not exist")

Steps to Reproduce:
1.	Reinstall HAOS.
2.	Restore from a full backup created by the OneDrive Backup add-on.
3.	Attempt to start the add-on (fails to start).
4.	Uninstall the add-on.
5.	Try to reinstall the add-on (installation fails with the above error).

Expected Behavior:
The add-on should start successfully after the restore and allow for reinstallation if uninstalled.
Actual Behavior:
The add-on fails to start post-restore and cannot be reinstalled due to a “layer does not exist” error.
System Information:
•	Home Assistant OS: 12.3
•	Supervisor: 2024.05.1
•	OneDrive Backup Add-on: Version 2.3.1
•	Hardware: RPi 3

Additional Context:
I have attempted several troubleshooting steps, including restarting the system and running ha su repair, but the issue persists.
Any guidance or assistance in resolving this issue would be greatly appreciated. Thank you!

I doubt there's actually a problem pulling the image but you can try manually to make sure (from another device):
docker pull ghcr.io/lavinir/aarch64-hassonedrive:2.3.1

Assuming that works, try to run it on the PI. If it fails and you're on the same network I would think it's probably some caching / corruption in the local daemon. (Possibly a side effect of the restore?)
You can try pruning all unused objects though I'm not sure if this may have other effects for other addons if they are stopped. Proceed here with caution but I would start looking at the docker cache on the PI.

I installed new HA and restored it from backup again in worked now.


Fixed based on proxy issue #292

As mentioned by user @oshingc, there is a bug in the proxy / auth proxy string validation with the Jira collector that needs to be resolved.  If a user has not set a proxy, but their property file has the proxy / auth proxy props set as blank, or not there at all, the tool will currently throw a URI syntax or null pointer exception, as indicated in the following issue:  https://github.com/capitalone/Hygieia/issues/292
This has now been fixed.  Please validate and merge as soon as possible.  I have also wrote additional test cases to cover these scenarios for Jira connections.

I am not using the URI constructors prior to my local constructor to support backwards compatibility.  If you look at my constructor, however, I am, in fact, directly leveraging the URI constructors.
StringUtils.isEmpty() did not work when I created this fix in this scenario for some reason.  However, let me try again and I will push an update.

I will switch to .isNullOrEmpty()
That section runs no matter what the user sets in their property file, and is run by the local clients.  For this reason, I have to validate all scenarios.  Did you have a suggestion on a better implementation here?

!= null definitely catch the case of a property with no value I tested that when proxyUrl was empty.
For now those validations are ok for solve the issue,
Thanks @amp5208

Thank you @oshingc.  I have just pushed an update with the style suggestions from @tabladrum and @jdamick  above.  I also included additional connectivity checks for Jira.  Please validate once more for your configuration, if you are able.  Thank you!

It's working @amp5208

That's true I suppose, but PMD did not print any violations to fail the CI checks.  @jdamick , is it okay if I leave the extra parenthesis in my logic statements for the last push?
That's great to hear, and thank you for closing the ticket.  @jdamick and @tabladrum :  Once you are good with code style, you can merge this pull.

I was avoiding throwing null pointers and rather handle... but let me see what I can do.

Updated based on suggestions by @tabladrum and @jdamick .  Pending review.  Tests pass and all cases set before this commit should work the same.

I have also pushed an important fix related to jira connection timeouts under production load.  Please accept this pull request to also get this fix.


Add workaround for python 2 % vs + presedence issue

The prompt showed '%s' instead of the list of engines without
this change.

It could also be solved using () around the string, but I went with this approach instead.


improve release process

Description
merging PR #10557 , the only remaining update is the maven-release-plugin version and configuration
rebuilding 4.0.0-RC1, https://github.com/jvm-repo-rebuild/reproducible-central/blob/master/content/org/apache/camel/camel/camel-4.0.0-RC1.diffoscope
the vast majority of issues are due to Jandex index
a few minor issue remain on 5 artifacts...
Target

[x] I checked that the commit is targeting the correct branch (note that Camel 3 uses camel-3.x, whereas Camel 4 uses the main branch)

Tracking

[x] If this is a large change, bug fix, or code improvement, I checked there is a JIRA issue filed for the change (usually before you start working on it).

Apache Camel coding standards and style

[x] I checked that each commit in the pull request has a meaningful subject line and body.

[x] I have run mvn clean install -DskipTests locally and I have committed all auto-generated changes

Thanks @hboutemy


OS List for some games seems to be inaccurate/outdated on SteamDB

While browsing SteamOS & Linux Products on Steam I noticed that few of the games listed as "Game Possibly Works" (namely Dystopia and Batla) do not list Steam (or Mac) as OS on Steam Store.
My guess is that the OS was listed at the point of initial scan and the list haven't been updated since.
Either way, it may be worth to look at, as the opposite may be true as well. Unfortunately, if it is based on scrapping the info Steam website (is it?), OS list for removed games may be unavailable, so you may want to take that info account if you decide to do a new scan (should the old info be kept? removed? kept with appropriate note?).

There are at least 3 different OS lists that developers fill in. The oslist site displays comes from the client info, not the store. It's not out of date.


Adding namespace and README

This does not require a code review because it changes no functional part

Coverage decreased (-0.006%) to 65.594% when pulling 3c38bd38ab31da9b0c66b26c0ddfa42c9cb47113 on wangziqi2013:master into 35f6854602ae7052dea552bc9d5dd9fb05afce51 on cmu-db:master.


adding Pair Sum solution cpp

solution to problem pairsum in cpp if you want me to make any changes pls notify or kindly merge.

later realized it has already been solved and merged so taking it down.


Add sort functionality

Add ability to sort the contacts in address book.
Contacts in the address book are sorted by name (lexicographic order) or by number of courses taken.
Command Format: sort [SORT_CRITERION]
Examples: sort name-ascending, sort name-descending, sort courses etc.
Closes #31

Adding sort by courses functionality, before writing the test cases. Shouldn't take me too long.
Are there any sort criteria you all would like to add too?

Will write the test cases for new classes by tomorrow, which should increase test coverage and stop CI from failing.


[Suggestion] Cancel chat event before login

My users are sending they pass before login, when forgot to use /, please fix this

I already cancel the chat event. Do you use the correct version?

It seems like it is cancelling commands only.
When I enter the server and type something in chat (before logging in) it is sent. Last sponge and plugin version.

What Minecraft version do you use?
What Sponge and FlexibleLogin version and do you tried?
Could you verify that this message is also visible to others not just the sender?
Could you try it again without any other plugins. This is what I tried
Do you use SpongeForge or SpongeVanilla?

SpongeForge 2281-5.2.0-BETA-2422
Minecraft 1.10.2
Flexible Login v0.13
Yes everybody can see the text, it is even sent to discord (discordintegration mod).
I'll test without any other plugins...

Well you are using the wrong version of FlexibleLogin. FlexibleLogin is only for:

Update to Sponge 7.0 (Minecraft 1.12) Fixes # 64

and previous builds from >0.12 are for 6.0

So API 5 (minecraft 1.10.2) support was dropped completely?

You could still use an older version.


Update 6.11 release notes with .1 update

Let's get this merged, so https://github.com/NuGet/docs.microsoft.com-nuget/pull/3344 can go live.


feat: Support PyTorch Nightly

Ex: https://download.pytorch.org/whl/nightly/cu121/

Hey!
I'd be happy to support this, and would accept a PR to that effect. Before we get there though, how'd you want to configure it?

Well you already have settings that configure the endpoints, so all you'd need is a way to handle the base URL. Maybe a --nightly arg and enable-nightly config option:
if self.enable_nightly:
            for cuda_version in self.cuda_versions:
                resolves[cuda_version] = (
                    f"https://download.pytorch.org/whl/nightly/{cuda_version}/",
                    f"+{cuda_version}",
                )

It shouldn't be hard to intuit.

Ack, just wanted to see if there was a specific problem you wanted to solve (e.g. "I use torch 2.1 but because of bug X my rocm needs to use nightly").


TODOs for tonight

Not an issue, just a reminder to myself.

[x] Open proposal edit
[x] Talk list page

done


Update Ansible Galaxy links

Ansible Galaxy is now Galaxy NG, all the previous link should be updated to this one:
https://galaxy.ansible.com/ui/search/?keywords=ibm_zos*

I just scanned through the entire /source folder. Seems like the Ansible Galaxy link only appears once, where it's used to demonstrate how the ansible-galaxy command works and doesn't not involve the actual link to the IBM z/OS collection.
For that reason, I don't think we have any Galaxy link to update on the doc site and hence will close this issue.


Sprite offset and texture mapping

Allows you to create an offset in the sprite and show only a part of the original image, useful for sprite sheets.
Allows you to select the texture mapping (Nearest or Linear) for renderer 2D.
Includes a tutorial.

Hello!
Thank you so much for contributing.
So.. from now, we have font support in Tyra 😄.
I added some fixes to your PR, please check if I didn't broke anything

XD I was just trying to make a commit, I just found out what the clang format is, I had some problems but don't worry I already fixed it.
By the way, I made the font simple and so that it would only be used for this tutorial and give others an idea to create their own font, that's why I put it in a class, otherwise I would have made it global, it doesn't bother me anyway.

Hello!
Thank you so much for contributing. So.. from now, we have font support in Tyra 😄. I added some fixes to your PR, please check if I didn't broke anything and respond to this comment. After your confirmation, I will merge this PR and add new assets to release zip file

I'm quoting this right now XD, sorry, I'm new to contributing projects.

Hello!
Thank you so much for contributing. So.. from now, we have font support in Tyra 😄. I added some fixes to your PR, please check if I didn't broke anything and respond to this comment. After your confirmation, I will merge this PR and add new assets to release zip file

I'm quoting this right now XD, sorry, I'm new to contributing projects.

Ok, at least you can learn here.

Hello!
Thank you so much for contributing. So.. from now, we have font support in Tyra smile. I added some fixes to your PR, please check if I didn't broke anything and respond to this comment. After your confirmation, I will merge this PR and add new assets to release zip file

I'm quoting this right now XD, sorry, I'm new to contributing projects.

Ok, at least you can learn here.

yeah, i hope i can contribute more to tyra.

lgtm

Hello!
Thank you so much for contributing. So.. from now, we have font support in Tyra 😄. I added some fixes to your PR, please check if I didn't broke anything and respond to this comment. After your confirmation, I will merge this PR and add new assets to release zip file

Lgtm commit.

Hello!
Thank you so much for contributing. So.. from now, we have font support in Tyra smile. I added some fixes to your PR, please check if I didn't broke anything and respond to this comment. After your confirmation, I will merge this PR and add new assets to release zip file

I'm quoting this right now XD, sorry, I'm new to contributing projects.

Ok, at least you can learn here.

yeah, i hope i can contribute more to tyra.

Be welcome.


[#122189093] Add collectd to bosh concourse

What
Configure Collectd on Concourse and Bosh VMs
How to review
Deploy agains existing or new environments. Start with bootstrap concourse to update your deployer concourse. Then watch deployer update bosh. After deployment, observe concourse and bosh metrics in graphite under collectd.<bosh/concourse>.collectd_0.<metrics>.
Who can review
not @mtekel or @HenryTK

The PR seems fine, but I am not happy with the collectd release PR: https://github.com/alphagov/paas-collectd-boshrelease/pull/1#issuecomment-233667311

Other PR is being addressed now.
@HenryTK also found a way to make it possible to consolidate the duplicate configs by using collectd.hostname_prefix so they're going to give it a try 😄

The collectd properties used across CloudFoundry, Bosh, and Concourse have now been unified into the same file, meaning a complete refactoring of the original commits for this pull request.

The collectd properties used across CloudFoundry, Bosh, and Concourse have now been unified into the same file, meaning a complete refactoring of the original commits for this pull request.

Thanks 👏
Looks like the "How to review" instructions need updating to mention the FIXME commit.

This is still wip, we need to do some more updates (e.g. unify deployment from tarball).

Ready for review again.

Do you mind rename manifests/cf-manifest/runtime-config/runtime-config.yml  to manifests/cf-manifest/runtime-config/runtime-config-base.yml or so?
It is a little bit confusing that you use spruce to merge that file and collectd config but the resulting file has the same name.

runtime-config.yml has now been renamed to runtime-config-base.yml to distinguish it from the final rendered file.

Everything seems good. Doing final checks of last changes but so far so good.

For some reason, travis test results are missing for this PR. I wonder if it is mergable...

For some reason, travis test results are missing for this PR. I wonder if it is mergable

Travis seems to be being quite slow in picking up builds at the moment. It is currently possible to merge PRs before Travis has picked them up. Whether that's desirable behaviour or not is a separate question...


Tags URL not working with Vietnamese language.

Hi Support,
I am using Articulate. It is working fine except tags field.
Actually I am using Vietnamese language in tags input.
When I click on tags on article page it did not open the page where same tags records exist. But when I use English Language in tags then its working fine. It goes to its same tags records page.
I did not understand why articulate not working with "tags url" in some languages.
Please Help. Thanks.
Best Regards,
Dile Ram

Can you tell me which words you are using in your tags that are not working ?
I've just tested with this word:
giới
and it works fine.

Thanks for reply.
I am using "Chính trị - Xã hội" in my tags and it is not working.
actually all keyword that is related to vietnamese language is not working.
Is any solution for this that I can apply in my project.
Thanks

Can you please test this with the latest Articulate (and Umbraco version) as i cannot reproduce this issue with those versions using a tag of "Chính trị - Xã hội"  - seems to work.

@Shazwazza I'm facing issue with Umbraco Multi language website English & Arabic. English (en-US) is working fine as default language. Arabic (ar-SA) secondary language is not working, showing 404 error.
Domains setting with Culture and Hostnames
http://localhost:4865
http://localhost:4865/ar
I did followed all steps in the below link:
https://www.youtube.com/watch?v=-vzxCdjq4FM&ab_channel=UmbracoHQ


Folder tree view & use workspace packages name

Is your feature request related to a problem? Please describe.
When working in a monorepo with many packages and many tests having all the files flattened makes it a little hard to navigate as well as running all the test for a specific package or area.
Describe the solution you'd like
It would be nice if

It would include the file structure in the tree view. So instead of having

packages/foo/src/area/subarea1/foo.test.ts/
   test1
   test2

packages/foo/src/area/subarea2/foo.test.ts/
   test1
   test2
...

we could have
packages/
  foo/
   src/
     area/
       subarea1/foo.test.ts/
         test1
         test2
       subarea2/foo.test.ts/
         test1
         test2
...

In the case of a vitest workspace it could be nice to have the top level be the vitest project name to reduce nesting( as this name must be unique in the workspace and is used when running vitest on the workspace it feels right to me).
From previous example:

  foo/
   src/
     area/
       subarea1/foo.test.ts/
         test1
         test2
       subarea2/foo.test.ts/
         test1
         test2
...

Describe alternatives you've considered
Additional context
Those 2 pieces are connected but could be treated as 2 different feature request if you prefer.

Really want this feature.
With current tree its nearly impossible to navigate if you have a lot of tests

This is fixed in pre-release 0.5.0 and higher. Note that the extension now requires Vitest 1.4.0 or higher.


How to change the advanced receyclerview to horizontal layout with drag & drop working?

Does anyone has a clue?

I managed to do just that. It is quite simple. Just replace getY with getX, translationY with translationX, getHeight with getWidth etc. You can look at this particular branch in my fork - https://github.com/vinayak-garg/android-advancedrecyclerview/tree/customize. I have customised it only for 'drag on long press' example.

@vinayak-garg thanks, it worked, helped a lot

The v0.8.0 is supporting horizontal layout.


fix: Revert "fix: Dashboard aware RBAC dataset permission (#24789)"

SUMMARY

This reverts https://github.com/apache/superset/pull/24789 due to a security issue that could allow any user to retrieve data from any datasource.
The issue is that the dashboard id being checked here for the dashboard context comes from the request payload from the client, not a trusted backend source.  Therefore a user can copy a valid request for a datasource they shouldn't have access to and simply change the dashboard id in the form data to a dashboard they have access to, bypassing this security check.
I can't think of a secure way to assert the presence of a dashboard context on the backend when retrieving chart data; the old approach may be the best we can do
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

[ ] Has associated issue:
[ ] Required feature flags:
[ ] Changes UI
[ ] Includes DB Migration (follow approval process in SIP-59)

[ ] Migration is atomic, supports rollback & is backwards-compatible
[ ] Confirm DB migration upgrade and downgrade tested
[ ] Runtime estimates and downtime expectations provided

[ ] Introduces new feature or API
[ ] Removes existing feature or API

Thanks @jfrag1 for raising this. I did wonder if the form-data was trustworthy, but had assumed (wrongfully) that it was given it came from either the query-context or visualization.
In https://github.com/apache/superset/pull/24804 I refactored the raise_for_access method so it could be dashboard aware and thus 🤞 that’s a viable trusted route, i.e., find the caller and pass in the dashboard.

Thanks @jfrag1 for raising this. I did wonder if the form-data was trustworthy, but had assumed (wrongfully) that it was given it came from either the query-context or visualization.
In #24804 I refactored the raise_for_access method so it could be dashboard aware and thus 🤞 that’s a viable trusted route, i.e., find the caller and pass in the dashboard.

I see what you're saying, but in the case of the chart data endpoint, I simply don't see a way to determine the dashboard to pass.  The only way we can determine a dashboard context is via the request payload, which is forgeable

@jfrag1 per https://github.com/apache/superset/pull/24789 with dashboard RBAC enabled access should only be granted in the context of a dashboard and thus in the case of the chart data endpoint dashboard RBAC shouldn't be a factor.

I spent a while trying to untangle this feature a while back and found there was a lot of undefined behavior or logic that was just blatantly wrong.
I think the previous PR was missing a check to ensure the dashboardId passed in the chart's formData hasn't been spoofed, ie the chart is in fact part of said dashboard. Otherwise an attacker you could find the id of a dashboard they have rbac access on and modify a chart's data request to include that id in the context. This boils down to the formData being generated client side and the integrity cannot be trusted.
Actually, it might even make sense to check the datasets being queried by the chart are a subset of the datasets of the dashboard. That would change the security model to "dashboard rbac grants a user access to all datasets contained in the dashboard" which is closer to superset's original data access model.

@jfrag1 let me look into an alternative formulation. The issue with reverting this PR is it reopens a previous security vulnerability.

@jfrag1 let me look into an alternative formulation. The issue with reverting this PR is it reopens a previous security vulnerability.

@john-bodley as you are looking into a fix forward, not sure if this issue I reported may be related to the original PR that this is reverting. Looks like it has a similar error message from the screenshot in your original PR.

/testenv up

@jfrag1 I authored https://github.com/apache/superset/pull/25008 as an alternative to this revert.

Closing in favor of the fix forward https://github.com/apache/superset/pull/25008


Make sure all helpers are exported

Size Change: +118 B (0%)
Total Size: 233 kB

Filename
Size
Change

dist/chart.js
85.1 kB
+52 B (0%)

dist/chart.min.js
60.7 kB
+24 B (0%)

dist/chunks/helpers.segment.js
19 kB
-3 B (0%)

dist/helpers.esm.js
1.13 kB
+45 B (+4%)


J1-J6 was only updated once during initialization and then never updated again.

Hi parak. I had a problem with the Unity3D_Robotics_ABB project. J1-J6 was only updated once during initialization and then never updated again. Do you know why? Sorry to bother you!

Thank you very much！


Fix for WSS-713: Support SubjectConfirmationData for SAML-SV v1

Adding support for SubjectConfirmationData-element in case of SAML-SV v1

@egelke Please respond to the comment above


Update e2e and ansible examples to use placement

[x] I have taken backward compatibility into consideration.

This PR migrates the remaining examples that used PlacementRule to Placement.

/hold
@lennysgarage just double checking. We still need to ensure support for PlacementRule as well so we shouldn't remove any existing tests/e2e_tests that was testing against PlacementRule. We can certainly add more Placement tests but not at the expense of removing PlacementRule tests.

@mikeshng I agree on ensuring that PlacementRule still works and I don't plan on removing any of the tests that use PlacementRule, but I assumed those were located in the test/e2e/ directory. I only changed the e2e_examples that we have stored in the examples directory. I couldn't find references to these being used in any actual tests, if they are i'll change them back, the name does make it a bit confusing.

/unhold
/approve
/lgtm


merge from arlac77/template-github-action,arlac77/template-kronos-component

README.md

docs(README): update from template

Codecov Report

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

@@           Coverage Diff           @@
##           master    #1369   +/-   ##
=======================================
  Coverage   76.92%   76.92%
=======================================
  Files           1        1
  Lines          39       39
  Branches        1        1
=======================================
  Hits           30       30
  Misses          9        9

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 20a74c7...6e62202. Read the comment docs.


Update README.md

Updated [an web] to [a web] in Step 1

:S lame typo. Thanks for fixing it @anupsati !


Add nginx logs to ELK

This commit updates the config for beaver and logstash so that the nginx
logs, generated by the repo server, are passed to elasticsearch thereby
making them accessible using kabana.
Closes-issue: https://github.com/rcbops/rpc-openstack/issues/116
(cherry picked from commit 1bbdddf7662ac9fec45789397000922b68abb131)

@git-harry can we get this rebased?


isilon: add Supported() to executor

Isilon clients NFS mount the volumes, so make sure that mount.nfs
is present.
FWIW, I was hesitant to implement this way, as it is Linux specific. At first I was just going to check if /usr/sbin/mount.nfs existed, but that could be distro specific. But the executor already parses files in /proc, which binds it to Linux. So I'm not adding any new restrictions.
Also, it seemed possible that a client could by using NFSv4, and if they were they would need mount.nfs4, but the Linux driver actually doesn't use mount -t nfs or mount -t nfs4, it just calls mount, and can't be overriden, so this is also not a current issue. It merely relies on the presence of a : in the device to infer it is NFS.
This was inspired by #296

Current coverage is 24.95% (diff: 0.00%)

Merging #297 into master will decrease coverage by 0.08%

@@             master       #297   diff @@
==========================================
  Files            46         46
  Lines          2708       2713     +5
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
- Hits            678        677     -1
- Misses         1960       1966     +6
  Partials         70         70

Powered by Codecov. Last update 08af1c0...56f7be1


Feature/ltakacs/r21c observed precip

Requires companions PR #169

Looks ok to me. One question, though: Should we change the default latitude band for tapering of precip corrections? With the IMERG-based corrections in R21C, the latitude band should be 50-60 N/S (rather than 42.5-62.5 N/S as in M-2). Below is a link to the MAPL_GetResource() hard-coded defaults. The same numbers are probably also in a GCM rc file somewhere. cc: @gmao-qliu
Precip corr Tech Memo: https://gmao.gsfc.nasa.gov/pubs/docs/Reichle1344.pdf
https://github.com/GEOS-ESM/GEOSgcm_GridComp/blob/3a337d43f120cb81e2f60456e85b779a04f7336f/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/GEOS_SurfaceGridComp.F90#L5957

Yes, Rolf, that is a good idea.  I will try to merge that into my feature branch.

Does this impact:
1. Coupled model configuration? I can't tell!

2. What is the difference (from what I get now) over ocean (and sea ice; even in atmosphere-only mode)?

   * liquid precip
   * frozen precip

If any difference !=0 why?

If you are NOT using an Observed Precip file, this code is zero-diff.  Otherwise, the code now uses a MAPL-2 interface to read the Observed Precip file.  The method of partitioning the observed precip has not changed.  For the case of R21C, the Observed Precip file is associated with IMERG data and is defined on the cubed-sphere.  The default values used for the latitudinal tapering have changed from (42.5-62.5) to (50-60).  The MAPL-2 interface may give round-off differences if reading the Lat/Lon MERRA-2 observed precip file.  I did not check this.

Random question: is this a configuration I should be running in my nightly tests for any reason? Or is it the sort of thing where it works or it doesn't rather than 'might change nightly'?

@mathomp4 from an AGCM standpoint, I don't think this needs to be a nightly test at this point. The default is off.

Doesn't affect landice. Good to go.

If you are NOT using an Observed Precip file, this code is zero-diff.

Thank you @lltakacs, that's great!
Based on what @sdrabenh says:

@mathomp4 from an AGCM standpoint, I don't think this needs to be a nightly test at this point. The default is off.

There is an option 👍
Thanks!

Doesn't affect landice. Good to go.

@zhaobin74 then please hit "approve" 😄


Please reupload and publish the updated version

@delianides, two months ago you obviously updated the neopixel dependency to v1.0.0 but the Particle Library repository still holds the version that depends on 0.0.14.
Can you please reupload and publish the updated version?
The required commands ...
particle library upload
particle library publish

... should be executed from the location of the library.properties file of that library.
Thanks

@ScruffR this is resolved now.


Remove the Distance and Surface commands

Resolves #118 and resolves #119
Some additional regressions (unrelated) will need to be fixed to get the tests passing. Out of scope for this PR which means we're going to have master failing for a bit. see #109 and #122

This is failing b/c of the Direction API v5 incompatibility which @critical-path addressed in https://github.com/mapbox/mapbox-cli-py/pull/122.
The plan is to merge this, then #122


License?

This looks really interesting - thanks for publishing it. Please add a license file to the package.

Sorry, forgot about this. Better late than never, done!


Need a bit of help with contact sensor

first, i'm a fan of this package!
second, i lack some clue and i'm hoping that someone can fix that. starting at https://github.com/homespun/homebridge-accessory-apcupsd/blob/master/index.js#L424
i know that addEntry is being called (i see over 220 entries in the persistance file), bu nothing ever shows for data:

what am i missing?
thank you!

Eve is very selective in recognizing the history. Since you want a “door” history you need to replicate as much as possible the custom characteristics for Eve door (see wiki or library from @ebaauw). Also, it may be possible that Eve does not like to have characteristics present in Eve Energy is the same accessory with a “door” history. Finally, check that you are not using forbidden characters in serial number and accessory name (see readme)

thanks!
i'll work on getting in all the door characteristics.
the serial number is probably pretty good, e.g., "5B1325T16968". the firmware revision is kind of odd, e.g., "871.O2 .I USB FW:O2" i think i'll shorten that to "871" (that's an "oh-two", not a "zero-two").

thanks for the help. https://github.com/homespun/homebridge-accessory-apcupsd/commit/341f7d5f518ee8e34423adfb56075067202c37f2 seems to work now. i'm going to turn the energy history back on and see if it interferes or not.

I believe that you cannot have two different history types on the same accessory, the characteristics used to manage history are the same for all the history types.

Indeed, I tried multiple history services (with different subtypes) on the same accessory, but no joy.  For the Hue motion sensor, which provides both motion and temperature, I ended up creating a separate accessory for the temperature to get history on both.

@ebaauw - yes, that's been my experience too. you get at most one history. perhaps i should rewrite https://github.com/homespun/homebridge-accessory-apcupsd as a platform plugin. i need to think about that.
btw - nice homebridge-lib repository... i really ought to submit a PR to you to include the types missing from https://github.com/homespun/hap-nodejs-community-types !!


Use more permanent URL for icon

Overview

Should reference the image from somewhere more permanent in case we ever change the image name/path on teloscan we don’t break everyone’s metamask.
https://github.com/telosnetwork/teloscan/blob/555e736b89291491a3f1d3730d82f8d370799ea0/src/pages/staking/staking-utils.js#L128
Acceptance criteria

Grab images from a single source of truth

Technical considerations

We have a repo for images, or could put it in the token-list repo
Tasks

[ ] Add the sTelos logo to the images repository
[ ] Use the raw link from github

Fixed in #227
It didn't actually work before that, it wasn't adding any icon to stlos in metamask


CDAT Migration Phase 2: Refactor tc_analysis set

Description

Closes #668

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] My changes generate no new warnings
[ ] Any dependent changes have been merged and published in downstream modules

If applicable:

[ ] New and existing unit tests pass with my changes (locally and CI/CD build)
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[ ] I have noted that this is a breaking change for a major release (fix or feature that would cause existing functionality to not work as expected)

@tomvothecoder this PR is ready for review. No .nc or .json files are saved in main, so I performed visual check comparing main vs development branch. Results are identical.

The CI/CD build is failing when attempting to download the integration test data from Chrysalis (HTTP Error 403: Forbidden).
in _call_chain
    result = func(*args)
  File "/usr/share/miniconda3/envs/e3sm_diags_ci/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 403: Forbidden
Downloading integration_test_data
url_prefix=https://web.lcrc.anl.gov/public/e3sm/e3sm_diags_test_data/integration
url_suffix=integration_test_data
(local) directory_prefix=tests/integration/
Downloading files from https://web.lcrc.anl.gov/public/e3sm/e3sm_diags_test_data/integration/integration_test_data; checking for links on tests/integration/integration_test_data.html
Downloading https://web.lcrc.anl.gov/public/e3sm/e3sm_diags_test_data/integration/integration_test_data to tests/integration/integration_test_data.html

@tomvothecoder It looks like an intermittent issue to access the lcrc data server. We can try run again later. Thank you for reviewing and cleaning up this PR!


Julia code not working on JuliaBox

Hi all,
I am having troubles having a code run on JuliaBox.
The code was first written in Matlab, then translated to Julia and it runs successfully on both Juno/LT and from console.
I wanted to upload it on JuliaBox and I did what follows: uploaded all the .jl files, made a Main.ipynb file with the line include ("filename.jl") and ran it. I get an error in the solver for the Ax=b system of equations as if A were singular, but I do not get that error on Juno, nor in the console, nor in the Matlab code.
I am working on Julia v.0.4.2 Kernel, the same version I have on my laptop.
The message I get is the following:
LoadError: Base.LinAlg.SingularException(0)
while loading In[2], in expression starting on line 118
in umferror at sparse/umfpack.jl:22
in solve at sparse/umfpack.jl:200
in \ at linalg/factorization.jl:25
in \ at linalg/generic.jl:326
in mySolver at /home/juser/Code/mySolver.jl:39
[inlined code] from In[2]:144
in anonymous at no file:0
Latest update: right now the kernel Julia v.04.2 keeps dying without having the time to give the "run" command. Others kernel do not die but it looks the code is not compatible.

The kernel dying issue could be one of https://github.com/JuliaLang/JuliaBox/issues/345 or https://github.com/JuliaLang/JuliaBox/issues/337
The error message seems unrelated.

Issues referred to in #345 and #337 should not happen any more as JuliaBox has moved to Julia v0.4.3.
Closing this as fixed. Please reopen if this is unrelated and still occurs.


Asset minification: --minify, Webpack

Is there a recommended way to minify CSS and JS assets?
Lighthouse [1] identifies a number of data transfer and time savings that asset minification could accomplish.
Is there already a way to do this?
AFAIU, a tool like webpack [2][3] could/would need to minify and optionally bundle:

everything in static/{css, js, img}
the output from partials/css/academic.css
all <script> and <link> tags

[1] https://developers.google.com/web/tools/lighthouse/
[2] https://webpack.js.org/
[3] https://webpack.js.org/guides/getting-started

Hugo supports asset minification; but it's not AFAICT it's not webpack i.e. with bundled, cacheable external resources:
https://gohugo.io/hugo-pipes/minification/ :
{{ $css := resources.Get "css/main.css" }}
{{ $style := $css | resources.Minify }}

Is there a better way to do this?

Ways to do asset concatention (bundling) with hugo:
"Assets concatenation" https://github.com/gohugoio/hugo/issues/432

Local CSS and JS is already minified in the current Academic version.
Also, there is Academic Admin for minifying all assets:
https://github.com/sourcethemes/academic-admin
One of the USPs of Hugo is to avoid dependencies, so there is no plan to use Node/Webpack in  Academic. Please raise an issue with Hugo if you would like to see functionality implemented in Hugo that is similar to Webpack.

Also, there is Academic Admin for minifying all assets:
https://github.com/sourcethemes/academic-admin

Thanks!


Correct spelling least

This is a small PR to fix a spelling error.
Thanks

coverage: 99.865%. remained the same when pulling b1d24dedaeabbec68fe6936326d316da0f223785 on aktasfatih:master into f3d049c86e5914c626d040080e6bf48b2a59fd42 on maxatome:master.

Thanks!


Ignore Storybook in workspaces/calendar-widgets/.npmignore

To ensure that only the necessary files are included in our package, we need to update our .npmignore file to ignore Storybook.
The following changes should be made:

[ ] Storybook files should be ignored in the .npmignore file.

This issue is open to anyone who wants it! Feel free to reach out if you have any questions or encounter any issues. Many thanks!

Hey,
I'd take this further.


Adding Grill Thermometers

Could the grill thermometers be added as devices?  I have included the information on the two that I have from the log in Homebridge:
{"device":"E5:D8:A4:C1:38:BF:97:15","deviceName":"Oven Thermometer","model":"H5183","httpInfo":{"groupId":0,"device":"E5:D8:A4:C1:38:BF:97:15","sku":"H5183","spec":"","versionHard":"1.00.01","versionSoft":"1.03.19","deviceName":"Oven Thermometer","deviceExt":{"deviceSettings":"{"address":"A4:C1:38:BF:97:15","bleName":"GVH5183_BF9715","ic":0,"sku":"H5183","device":"E5:D8:A4:C1:38:BF:97:15","deviceName":"Oven Thermometer","versionHard":"1.00.01","versionSoft":"1.03.19"}","lastDeviceData":"{"online":false}","extResources":"{"skuUrl":"","headOnImg":"","headOffImg":"","ext":"","ic":0}"},"goodsType":29},"isAPIDevice":false}
[17/12/2021, 14:15:04] [Govee] [Grill Thermometer] is not currently supported, do create a Github issue with the following info:
{"device":"5E:81:C6:31:30:30:04:5B","deviceName":"Grill Thermometer","model":"H5198","httpInfo":{"groupId":0,"device":"5E:81:C6:31:30:30:04:5B","sku":"H5198","spec":"","versionHard":"3.02.02","versionSoft":"1.00.11","deviceName":"Grill Thermometer","deviceExt":{"deviceSettings":"{"wifiName":"SUSA","address":"C6:31:30:30:04:5B","bleName":"GVH5198_30045B","topic":"GD/4e639d939a43738d635344106bdc8c58","pactType":1,"pactCode":1,"wifiSoftVersion":"2.00.16","wifiHardVersion":"1.02.00","ic":0,"secretCode":"BlsEMDAxxgA=","sku":"H5198","device":"5E:81:C6:31:30:30:04:5B","deviceName":"Grill Thermometer","versionHard":"3.02.02","versionSoft":"1.00.11"}","lastDeviceData":"{"online":false}","extResources":"{"skuUrl":"https://d1f2504ijhdyjw.cloudfront.net/sku-img/86609e7abca785e37937f654675b881a-add_list_type_device_5198.png\",\"headOnImg\":\"\",\"headOffImg\":\"\",\"ext\":\"\",\"ic\":0}"},"pactType":1,"pactCode":1,"goodsType":85},"isAPIDevice":false}
It would be great if nothing else we could use a temp being hit to trigger something like a light changing color, or a sound from a HomePod.

Hi @ShaunRoberts543
This plugin does not use bluetooth to connect to thermometers since there is already a plugin that does this. Have you checked out homebridge-plugin-govee to see if either of your H5183 or H5198 work with this plugin?
I have noticed that your H5198 also includes a "topic" in its data, so there is a chance that I could support this (using AWS over wifi rather than bluetooth).
Could we message on Discord about this? I would need to add some extra logging to the plugin to see if the current temperature is sent via this method?
https://discord.gg/cMGhNtZ3tW
Thanks!


Add hint in docs on recompiling a single module

Add a hint about single module recompilation in the developers docs. Knowing these commands would have saved me a lot of time. Thanks to @lkiesow for pointing me in the right direction.
Your pull request should…

[x] have a concise title
[x] close an accompanying issue if one exists
[x] be against the correct branch (features can only go into develop)
[x] include migration scripts and documentation, if appropriate
[x] pass automated testing
[x] have a clean commit history
[x] have proper commit messages (title and body) for all commits
[ ] have appropriate tags applied

Nevermind.. I just realized here the process is already documented.


Import Errors in Swift

I'm getting an error when importing this library in Swift `'NUIParse.h' file not found.
This is fixed by changing all import statements from #import "NUIParse.h" to #import <NUIParse/NUIParse.h>.
Does this change break anything for Objective-C users?

No, it shouldn't cause any problem for Objective-C users. If you could submit a pull request with these changes I'd be happy to merge it in.

Handling that now 👍

It looks like this is actually fixed on master using:
#if __has_include(<NUIParse/NUIParse.h>)
#    import <NUIParse/NUIParse.h>
#else
#    import "NUIParse.h"
#endif

@timbodeit Your thoughts on this? Considering we are both awfully inactive on this project these days, it may make sense to roll out a 0.5.x release to tie people over until we can get 0.6.0 ready and working.


Remove maven-changes-plugin from pom file and site.xml

The maven-changes-plugin has not been updated since 2016. it is dependent on a number of very much outdated libraries wit lots of vulnerabilities that we rather do not install on our servers when compiling or testing a new version. Furthermore, changes are not kept in a separate changes.xml file anymore, but maintained using github issue management. The changes that are displayed using the changes.xml file are outdated and will not be updated in the file itself.
Therefore, the maven-changes-plugin is taken out from the pom file and site.xml files for now.
By commenting it out, it can be brought back later when the plugin is updated and potentially linked to github issue management.

Done.


DOC: added Requirements section in README

Added Requirements section that would have saved me some time when installing this project from scratch

Thanks @kwunyeung for your prompt response. Being a newcomer to this community and trying to install, that's the first way I could make it work. If this is not the recommended way, it would be great to have good documentation on what is that recommended way.
I started on a newly provisioned Ubuntu 18.04 machine on AWS.  I had no idea how to fix. Online searching led me to this solution. Feel free to close this PR, and open a documentation request that others can improve upon.
Thank you

@kwunyeung:
Removed Node/NVM requirements, leaving only Meteor for now.
Feel free to merge, or close without merging.


SAK-40519 change Hibernate log to remove constant showWarnings calls

The JIRA has links.
This is a giant performance boost.

Wow! Good catch :-)

It certainly looks like lots of projects dependent on Hibernate were stunned as well.....


[docs] Fix Popper demo link typo

[x] I have followed (at least) the PR section of the contributing guide.

👍


Bugged Google signin loop on mobile

System Details

OS: [Android 12 go edition]
Thorium Version [e.g.117.0.5938.157]

Problem
When You Login to Thorium with Google account On Desktop, It syncs. but if your using android it will crash. And if you try to sign in again, it will tell you this account already exists on your device.
Screenshots
Sorry i dont have any screenshots
Additional Notes
i am using thorium 32bit build for android I will switch to your browser when this bug gets fixed.

This issue has been mentioned repeatedly in multiple repo


Collection-level validator functions

I've already been POC-ing this idea, but creating an issue now for tracking. Essentially, allow the user to write a function that validates a update event.

The full DB access story is a bit unwieldy... so, breaking it down here:
Collection writes

NewCollection: Touches thread via CreateThread (Net.ValidateWrite)
DeleteCollection: Touches thread via DeleteThread (WriteValidator + Net.ValidateWrite)
UpdateCollection: Does not touch thread, but will when collection info is persisted to thread records (WriteValidator + Net.ValidateWrite)

Collection reads

GetCollection: Does not and won't ever touch thread (ReadFilter + Net.ValidateRead)
ListCollections: Does not and won't ever touch thread (ReadFilter + Net.ValidateRead)

Data reads

Find: Does not and won't ever touch thread (InstanceReadFilter + Net.ValidateRead)
FindByID: Does not and won't ever touch thread (InstanceReadFilter + Net.ValidateRead)
Has: Does not and won't ever touch thread (InstanceReadFilter + Net.ValidateRead)
Listen: Does not and won't ever touch thread (InstanceReadFilter + Net.ValidateRead)

Data writes

Create: Touches thread via CreateRecord (InstanceWriteValidator + Net.ValidateWrite)
Save: Touches thread via CreateRecord (InstanceWriteValidator + Net.ValidateWrite)
Delete: Touches thread via CreateRecord (InstanceWriteValidator + Net.ValidateWrite)


Angular template: add browser AppModule

It would be awesome to have an AppModule that we can use to add only browser supported modules if SSR enabled. The idea is to have a shared AppModule that the server AppModule and the browser AppModule use. The browser one only bootstrapped in the browser not on the server.
You can find a great example in @MarkPieszak's repo: https://github.com/MarkPieszak/aspnetcore-angular2-universal

Thanks for contacting us, @dominikfoldi.
@danroth27 what are your thoughts regarding this?

@SteveSandersonMS

The goal for the template is to be as close to Angular CLI defaults as possible, and doesn't have SSR enabled by default. Hence I'd suggest it would make more sense for an AppModule or similar to be provided in the form of a blog post or wiki so that people who want to go in that direction can add it.

@SteveSandersonMS okay this makes sense. I think the best place for it would be in the Angular project template documentation at Microsoft Docs: https://docs.microsoft.com/en-us/aspnet/core/client-side/spa/angular?view=aspnetcore-2.1&tabs=visual-studio

This issue was moved to aspnet/Docs#7971


test: update k8s versions to the latest patched releases

Also update k8s libraries to v0.23.10
Signed-off-by: André Martins<EMAIL_ADDRESS>

/test-backport-1.11

/ci-gke-1.11


cached failed ID2's in ChatUI mode

don't ever write them out to disk
cache them for only 1 hr (rather than 6)

R? @mmaxim


Blur on Linux (Ubuntu 24.04)

Hi,
I put this theme on Zed on Ubuntu, and I realized it isn't the same as the pictures on MacOS.

We saw the calculator app behind the window's Zed, it isn't blurry, but it's transparent.
Can you fix this because I love this theme and i would like to use it ?

This is Zed/OS issue, not theme issue


SweetAlert and Modal component issue

Hi,
I have some problems to integrate Sweet Alert or Modal component to the View with Jquery Datatables.
Here part of my code:
import React, {Component} from 'react';
// jQuery plugin - used for DataTables.net
import $ from 'jquery';
import {Grid, Row, Col} from 'react-bootstrap';
import Card from 'components/Card/Card.jsx';
import Button from 'elements/CustomButton/CustomButton.jsx';
import SweetAlert from 'react-bootstrap-sweetalert';
require('datatables.net-responsive');
$.DataTable = require('datatables.net-bs');
class Main extends Component {
constructor(props){
super(props);
this.state = {
alert: null
};
}
warningWithConfirmMessage(){
this.setState({
alert: (
<SweetAlert
warning
style={{display: "block",marginTop: "-100px"}}
title="Are you sure?"
onConfirm={() => this.successDelete()}
onCancel={() => this.hideAlert()}
confirmBtnBsStyle="info"
cancelBtnBsStyle="danger"
confirmBtnText="Sí, bórralo!"
cancelBtnText="Cancelar"
showCancel
>
¿Esta seguro de borrar el usuario?

)
});
}
successDelete(){
this.setState({
alert: (
<SweetAlert
success
style={{display: "block",marginTop: "-100px"}}
title="Deleted!"
onConfirm={() => this.hideAlert()}
onCancel={() => this.hideAlert()}
confirmBtnBsStyle="info"
>
Your imaginary file has been deleted.

)
});
}
hideAlert(){
this.setState({
alert: null
});
}
return (

        <Card title="Usuarios del sistema" content={<div className = "fresh-datatables" >
         <Button fill onClick={this.warningWithConfirmMessage.bind(this)}>Try me!</Button>

The main problem is that I dont get any errors, but the component is never showed..
in other parts of my project does not work either.
Can you help me??
regards

I am also facing the same problem...
In my project, I have a datatable which has a delete icon. When the user clicks on the icon the sweetalert should show for confirmation.
The code is {             data: "id",             title: "Action",             render: id =>

<i class="fa fa-trash" aria-hidden="true" style="color:black;"  onclick=${() =>
this.setState({ show: true })}>
           }
I have to set the state to show the alert message...

Hello there, @sagarjayashankar ,
Thank you for your interest in working with our products.
Unfortunately, on our product, we do not make use of data tables.
Maybe you are on the wrong repository?
Best,
Manu


Fixes #2225. MenuBar leaves trails when mounted in a Window.

Fixes #2225 - The Window and his sub-views weren't marked with NeedDisplay.
Pull Request checklist:

[x] I've named my PR in the form of "Fixes #issue. Terse description."
[x] My code follows the style guidelines of Terminal.Gui - if you use Visual Studio, hit CTRL-K-D to automatically reformat your files before committing.
[x] My code follows the Terminal.Gui library design guidelines
[x] I ran dotnet test before commit
[ ] I have made corresponding changes to the API documentation (using /// style comments)
[x] My changes generate no new warnings
[x] I have checked my code and corrected any poor grammar or misspellings
[x] I conducted basic QA to assure all features are working

Also Fixes #2238.

@BDisp all the PR merging has caused a conflict on this one. Can you please fix?

@BDisp all the PR merging has caused a conflict on this one. Can you please fix?

@tig I already resolved the conflicts.


Meteorite - low brightness and white tones issues

Hi @syssi , thanks again for your fast help in getting the meteorite up and running with esphome.
Finally a functioning and responsive light! :-)
When using the light today i found out, that when the main light is used with a low brightness and then changing the white tones somewhere to the middle, the shown white tone is very warm or cold (depending if you move the slider a bit to the right or left). Changing tones are happening very aprubtly by the light while on low brightness, while for a very short time, the right (mixed) color is flashing for about half a sec.
There seems to be something off, because if you improve the brightness by quite a bit (let's say half), changing white tones go very smoothly and are correctly mixed (through the ww and cw leds).
Attached you'll find my yaml-file.
Anyone got the same issues on lower brightness levels?
substitutions:
  name: yeelight_light_ceiling10

esphome:
  name: ${name}
  platform: ESP32
  board: esp32doit-devkit-v1
  platformio_options:
    platform<EMAIL_ADDRESS>    platform_packages: tasmota/framework-arduinoespressif32 @ 3.10006.210420

wifi:
  ssid: xxxx
  password: xxxx
  fast_connect: true

ota:
api:
logger:

output:
  - platform: ledc
    pin: GPIO19
    id: output_warm
    power_supply: power
#    min_power: 0.13
    max_power: 0.82
  - platform: ledc
    pin: GPIO21
    id: output_cold
    power_supply: power
#    min_power: 0.13
    max_power: 0.82

  - platform: ledc
    pin: GPIO23
    id: output_nightlight
    power_supply: power

  - platform: ledc
    pin: GPIO33
    id: output_red
    power_supply: power
  - platform: ledc
    pin: GPIO26
    id: output_green
    power_supply: power
  - platform: ledc
    pin: GPIO27
    id: output_blue
    power_supply: power

power_supply:
  - id: power
    pin: GPIO22
    enable_time: 0s
    keep_on_time: 0s

light:
  - platform: monochromatic
    name: "${name} night light"
    id: night_light
    output: output_nightlight
    gamma_correct: 0
    on_turn_on:
      - light.turn_off: ceiling_light
  - platform: cwww
    name: "${name} ceiling light"
    id: ceiling_light
    cold_white: output_cold
    warm_white: output_warm
    cold_white_color_temperature: 6500 K
    warm_white_color_temperature: 2700 K
    constant_brightness: true
    gamma_correct: 0
    on_turn_on:
      - light.turn_off: night_light
  - platform: rgb
    name: "${name} ambient light"
    red: output_red
    green: output_green
    blue: output_blue
    gamma_correct: 0
    effects:
      # Use default parameters:
      - random:
      # Customize parameters
      - random:
          name: "Slow Random Effect"
          transition_length: 30s
          update_interval: 30s
      - random:
          name: "Fast Random Effect"
          transition_length: 4s
          update_interval: 5s
      - pulse:
          name: "Fast Puse"
          transition_length: 0.5s
          update_interval: 0.5s
      - pulse:
          name: "Slow Puse"
          # transition_length: 1s      # defaults to 1s
          update_interval: 2s
      - strobe:
          name: "Green Strobe"
          colors:
            - state: True
              brightness: 100%
              red: 0%
              green: 100%
              blue: 0%
              duration: 500ms
            - state: False
              duration: 250ms
      - strobe:
          name: "Red Strobe"
          colors:
            - state: True
              brightness: 100%
              red: 100%
              green: 0%
              blue: 0%
              duration: 500ms
            - state: False
              duration: 250ms
      - strobe:
          name: "Blue Strobe"
          colors:
            - state: True
              brightness: 100%
              red: 0%
              green: 0%
              blue: 100%
              duration: 500ms
            - state: False
              duration: 250ms
      - strobe:
          name: "Police Strobe"
          colors:
            - state: True
              brightness: 100%
              red: 0%
              green: 0%
              blue: 100%
              duration: 500ms
            - state: True
              brightness: 100%
              red: 100%
              green: 0%
              blue: 0%
              duration: 500ms
      - flicker:

Please remove all gamma_correct: 0 lines, reflash and try again. ;-)

I tried that out and now the light only turns on, when i pull the brightness lever to about 40%. Interestingly the white tones still occur that flashing behavior when pulling it to about 50%. It seems the light tries to mix the warm and cold diodes, suceeds for about half a sec and then falls back to colder or warmer tones.
Might the frequency setting change a thing?

I've disabled (value: 0) the gamma correction in the past because of this behavior / issue: https://github.com/esphome/esphome-core/issues/190
I will try to reproduce the issue at my device to get a better understanding. I must admit I don't use the color temperature slider.
Could you try to play around with the frequency setting? I think it could improve the situation (especially if driving the light with more brightness is working fine).

Take a look at this issue for some additional informations:
https://github.com/syssi/esphome-yeelight-ceiling-light/issues/8
I think the usability of every supported device / esp32 driven yeelight can optimized easily by playing around with gamma_correct, min_power, max_power and the frequency setting. May be some custom code is required to fix/improve the lower brightness limit (brightness=1).

I'm sorry, that i didn't give you a response yet. I really appreciate your support and will try out your suggestions on the coming weekend. Can i freely test out these settings like frequency/power etc. on the device itself without the risk of destroying it?

With the actual yaml if light is under 13-15% can happen few situations:

under 13% always turn off
on 14% leds on are always white cold (sometimes flickering)
on 15% normal function for cold and warm light

I have uncomment line 29 & 35 and now it's looking that everything is working fine.
Thanks and nice work!!

I just want to say I have the same issue with the stock firmware. Changing the color of the white Mainlight on low brightness causes color flickering. Feels like the old light bulbs in the office.
So the ESPhome firmware could fix this problem according to the last post?
Also on of my yeelight arwen 550 forgets all the settings and the link to my Xiaomi account. But I barely use this lamp. Could ESPhome here also improve the behavior?

Also on of my yeelight arwen 550 forgets all the settings and the link to my Xiaomi account. But I barely use this lamp. Could ESPhome here also improve the behavior?

There is an EEPROM on the daughter board to store some key material and may be account numbers. This EEPROM isn't used if you flash the ESPHome based firmware so the chance is high to improve the usability/stability of your device.

Also on of my yeelight arwen 550 forgets all the settings and the link to my Xiaomi account. But I barely use this lamp. Could ESPhome here also improve the behavior?

There is an EEPROM on the daughter board to store some key material and may be account numbers. This EEPROM isn't used if you flash the ESPHome based firmware so the chance is high to improve the usability/stability of your device.

Thanks for you fast respond. I will definitely try it. Something is coming to my mind:
If I use ESPhome on the yeelight, could I connect a DHT22 and read humidity and temperature (one big disadvantage: I guess only when the lamp is on)?

If I use ESPhome on the yeelight, could I connect a DHT22 and read humidity and temperature (one big disadvantage: I guess only when the lamp is on)?

Yes, the number of possibilities is huge here. :-) In best case the device is powered always.

Hi, I think I've found the solution to 100% replicate the stock firmware behaviour.
First of all, I've recalculated min_power and max_power using the voltage info here. So, with my i-dont-know-if-correct-but-it-works calculations, max_power for the warm output must be 0.77 (if 0 is 0 and 1 is 3.3v, so 2.55v must be 0.77), and 0.76 for the cold output.
So:
`output:

platform: ledc
pin: GPIO19
id: output_warm
power_supply: power
min_power: 0.13
max_power: 0.77
frequency: 1220Hz
platform: ledc
pin: GPIO21
id: output_cold
power_supply: power
frequency: 1220Hz
min_power: 0.13
max_power: 0.76`

With this settings, my brightness slider is working perfect (no more turning off at 12-13%, no more "no more brightness" from 9x% up". Then I found that, with that settings, if you turn off the light when at low brightness, it flicks strangely, as @rafasanz said.
The solution? For me was just using the zero_means_zero parameter.
So:
output:
  - platform: ledc
    pin: GPIO19
    id: output_warm
    power_supply: power
    min_power: 0.13
    max_power: 0.77
    frequency: 1220Hz
    zero_means_zero: true
  - platform: ledc
    pin: GPIO21
    id: output_cold
    power_supply: power
    frequency: 1220Hz
    zero_means_zero: true
    min_power: 0.13
    max_power: 0.76

Awesome! I will give it a try!

@PsychoRS Thank you so much, my meteorite now also produces really perfect results!!


Unicode "\uFEFF" getting copied from CodeMirror to IDE

I'm experiencing a strange unicode character being copied over with text from CodeMirror to my IDE.
Here is the SQL window
https://ibb.co/cU1ZRv
And the pasted result in the development IDE:
https://ibb.co/iUuAzF
Any thoughts on what could be causing this?

In which browser is the CodeMirror instance running?

We are using our python web app on top of Qt WebEngine 5.9.

That's not one of the supported browsers—if you can reproduce this in a major browser, let me know, but if not, you'll have to try to debug it yourself. (It sounds like CodeMirror's copy handler is somehow not running, and webengine's native copy behavior is happening instead.)

Okay, Thanks.


fix many things

added .vs/ to gitignore, not important.

1>D:\vs2022\VC\Tools\MSVC\14.40.33807\include\vadefs.h(194,27): error C2338: static_assert failed: 'va_start argument must not have reference type and must not be parenthesized' and LNK1120 4 unresolved externals	game_shader_generic_deferred need to be fixed

since all the tests fail can you change the merge rules?


New command: retract specified app from the app catalog

Retract the specified app from the app catalog using the ALM API: <appCatalogUrl>/_api/web/tenantappcatalog/AvailableApps/GetById({id})/Retract

command name: spo tenant app retract --id <appId> --confirm
requires connection to a SharePoint site

More information: https://github.com/SharePoint/PnP-Sites-Core/blob/73c703c507d480142ec18c241e6e72aae67982cc/Core/OfficeDevPnP.Core/ALM/AppManager.cs

@erwinvanhunen is working on this


makes sure devices are listed if node-red has httpAdminRoot configured

this needs to be tested with and without the httpAdminRoot to make sure it works.
Related to #46

Sadly its not working in both situations. Without httpAdminRoot there is a / to much and then you will get a 404
http://localhost:1880//z2m.....
But I have an idea. I will try and come back later.

Did you tried the following?
$.getJSON(window.location.pathname + 'z2m/devices/'...

It's much simpler and I think its doing the same.

Just tried it and it also works, I have sent a new commit.


Remove version: OpenJS.NodeJS.LTS version 10.23.3

Replaced by another Pull Request
Microsoft Reviewers: Open in CodeFlow

https://www.github.com/microsoft/winget-pkgs/pull/143386#issuecomment-1986949152 [Policy] Needs-Author-Feedback

Close with reason: See discussion in above linked issue;


Improve the Hindi translation for MP petition

Looks good.  Please resolve conflicts and repost so that I can do a final test and merge it.

I have closed this one and opened #74 since for some reason this PR kept showing the conflict even after resolving.


Polymer 2 Suggestion: Custom Attributes.

Description
I was thinking that it would be useful if Polymer (although it could also be a native browser feature) supported custom attributes (kind of like Angular 2 directives that are used as attributes). Essentially, they would be defined much like a custom element, but they'll receive the host element and react to the host element life-cycle events, as well as their own value change.
This will allow users of custom elements to add behavior to,  and style the host element, without sub-classing it. Basically, extension behaviors that the component user can write and apply, not the component author.
Example
<link rel="import" href="../polymer/polymer.html">

<script>
    class CustomAttribute extends Polymer.Attribute {
        static get is() { return 'custom-attribute'; }

        // el is a reference to the host element.
        constructor(el) {
            super();
        }

        // Host element connected.
        connectedCallback() {
            super.connectedCallback();
        }

        // Host element disconnectedCallback.
        disconnectedCallback() {
            super.disconnectedCallback();
        }

        // Host element attribute changed.
        attributeChangedCallback(attrName, oldVal, newVal) {
            super.attributeChangedCallback(attrName, oldVal, newVal);
        }

        // The value of the custom attribute changed.
        valueChangedCallback(oldVal, newVal) {
            super.valueChangedCallback(oldVal, newVal);
        }
    }

    window.customAttributes.define(CustomAttribute.is, CustomAttribute);
</script>

<!-- Use it like this -->
<my-element custom-attribute="foo"></my-element>

There is no Custom Attributes spec. In fact, you can use whatever attributes you want, the only restriction about using data-* attributes is passing HTML validator. Right now, event if attribute is not declared in properties, you can still use attribute bindings $= and corresponding attribute will receive value.

@PaulHMason you might want to take a look at https://github.com/matthewp/custom-attributes. It's almost exactly what you've described, but without the attributeChangedCallback

@PaulHMason also worth noting that if you wanted to pierce through the Shadow DOM you'd need to manually set up observers on each shadow root, or perhaps make a mixin for your Polymer elements to observe their shadow roots automatically. See https://github.com/matthewp/custom-attributes/issues/3

@bedeoverend Ah, thanks - this is pretty much exactly what I want :)
@web-padawan That's not what I want - I want to be able to author an attribute that can modify the behavior of an element I didn't write.

This is an interesting suggestion, but I'm not sure that this is something we would provide in Polymer.
As @web-padawan points out, there is no specification for this feature, so any implementation would end up being a maintenance burden that might never go away.
I would rather people try to use subclassing to extend element functionality until such time that there is enough feedback to suggest something more special, like directives, is required.

Too much statefulness based on webspec for 504 (wai) standard
They open themselves up to suit and the defensive 504 position is produce lowest possible experience so experience is degraded for no one
It's s shame no other country ever makes anything so we might escape this race to the bottom is law system
Sent from my iPhone

On Mar 24, 2017, at 5:45 AM, Paul Mason<EMAIL_ADDRESS>wrote:
@bedeoverend Ah, thanks - this is pretty much exactly what I want :)
@web-padawan That's not what I want - I want to be able to author an attribute that can modify the behavior of an element I didn't write.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

Maintain sets on an iterator
Sent from my iPhone

On Mar 24, 2017, at 3:51 AM, Bede Overend<EMAIL_ADDRESS>wrote:
@PaulHMason also worth noting that if you wanted to pierce through the Shadow DOM you'd need to manually set up observers on each shadow root, or perhaps make a mixin for your Polymer elements to observe their shadow roots automatically. See matthewp/custom-attributes#3
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

A set does a deep property compare on massive messy combined objects pulled through to map gets
An object keys record or size call that steps through map allows an array reverse to get change log order
Sent from my iPhone

On Mar 24, 2017, at 3:51 AM, Bede Overend<EMAIL_ADDRESS>wrote:
@PaulHMason also worth noting that if you wanted to pierce through the Shadow DOM you'd need to manually set up observers on each shadow root, or perhaps make a mixin for your Polymer elements to observe their shadow roots automatically. See matthewp/custom-attributes#3
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

If you use string templates and follow author spec that requires you remove them and then do... With them and replace them with new "typed" but structually the same strings.
You already have a multiday. Until computer shut down Dom strong record in the window
So while a conventional observer might be plus plus regular folk might be able to cooperate to take the massive, some might say wasteful data record that is just there to aide their implementation .
The Dom keeps a hell of a set of records
Sent from my iPhone

On Mar 24, 2017, at 3:51 AM, Bede Overend<EMAIL_ADDRESS>wrote:
@PaulHMason also worth noting that if you wanted to pierce through the Shadow DOM you'd need to manually set up observers on each shadow root, or perhaps make a mixin for your Polymer elements to observe their shadow roots automatically. See matthewp/custom-attributes#3
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

I played around with https://github.com/matthewp/custom-attributes and it works very well with Polymer,  and is easily extensible. Basing a separate "framework" with a Polymer like interface would be easy enough. I'll put a POC together for my own use and pop it on GitHub.


Performance issues in utils/data_loader.py (by P3)

Hello! I've found a performance issue in utils/data_loader.py: batch() should be called before map(), which could make your program more efficient. Here is the tensorflow document to support it.
Detailed description is listed below:

data_loader.py: train_dataset.batch(batchsize)(line 103) should be called before train_dataset.map(parse_data, num_parallel_calls=2)(line 101).
data_loader.py: val_dataset.batch(batchsize)(line 140) should be called before val_dataset.map(parse_data_without_augmentation)(line 138).
data_loader.py: train_dataset.batch(batchsize)(line 194) should be called before train_dataset.map(parse_single_record, num_parallel_calls=4)(line 192).

Besides, you need to check the function called in map()(e.g., parse_single_record called in train_dataset.map(parse_single_record, num_parallel_calls=4)) whether to be affected or not to make the changed code work properly. For example, if parse_single_record needs data with shape (x, y, z) as its input before fix, it would require data with shape (batch_size, x, y, z).
Looking forward to your reply. Btw, I am very glad to create a PR to fix it if you are too busy.

Hello, I'm looking forward to your reply~


Model's voice doesn't come out the same as in the dataset

Does anyone have a problem when you train a model but the voice comes out vastly different from the dataset? (Yes I have tested whether it was the pitch but it was not)

I've also been having this problem so if someone could give an answer that'd be great. (also tested the pitch, no dice)

Does anyone have a problem when you train a model but the voice comes out vastly different from the dataset? (Yes I have tested whether it was the pitch but it was not)

I've tried 5 different voices with different epochs and different dataset sizes and still producing the same exact voice. were you able to figure out this issue?