New Validate tool error (v2.11.2): potential error writing to html file?

Testing the newest version on an incomplete database (complete except for DMU, Glossary, and DataSources table) and get the following error:
Looking at level 3 compliance
3.1 Table and field definitions conform to GeMS schema
3.2 All MapUnitPolys and ContactsAndFaults based feature classes obey Level 3 topology rules:
        no ContactsAndFaults overlaps, self-overlaps, or self-intersections.
3.3 No missing required values
3.4 No missing terms in Glossary
3.5 No unnecessary terms in Glossary
3.6 No missing sources in DataSources
3.7 No unnecessary sources in DataSources
3.8 No map units without entries in DescriptionOfMapUnits
3.9 No unnecessary map units in DescriptionOfMapUnits
3.10 HierarchyKey values in DescriptionOfMapUnits are unique and well formed
Traceback (most recent call last):
  File "C:\GIS\TOOLS\GeMS\gems-tools-pro-2.11\Scripts\GeMS_ValidateDatabase.py", line 1549, in <module>
    rule2_1_results = rule2_1(db_dict, is_gpkg)
  File "C:\GIS\TOOLS\GeMS\gems-tools-pro-2.11\Scripts\GeMS_ValidateDatabase.py", line 1477, in main
    val["errors_path"] = str(workdir / f"{gdb_name}-ValidationErrors.html")
ValueError: too many values to unpack (expected 2)
Failed script Validate Database...
Failed to execute (ValidateDatabase).
Failed at Monday, August 28, 2023 2:39:15 PM (Elapsed Time: 1 minutes 34 seconds)

It seems at least this time I am getting errors on valid lines...
I also ran the tool on a finished database that passed previous validations and the tool runs to completion without error.
UPDATE: Adding commented lines to the code causes the error to move around, so I am relatively confident that the script is running form the most recent file and not caching.

Good point. You should be able to use the tool on incomplete databases. I am surprised you got that far because when I deleted those three tables from a gdb, the tool bombed out much earlier. Anyway, I add some tests and got it to run to completion. In the cases where those tables are missing, many rules are irrelevant (I think? please let me know) and so the rule is not even checked.
To try this out, download from the green Code button, not the latest release. I will tag and post a new release if/when we get this worked out.

Well, the tables are not deleted, they are simply empty. Not sure if that makes a difference.  I will try to download again as you suggested. It'll get worked out!

Ok, that would. I will need to work on that.

OK, I just tested the latest version (2.11.3; copy pasted code directly from the Code page) again on the same incomplete database, and it finished, no problem! It recognized the empty tables and reported the missing entries in the DMU and Glossary tables, as expected:
2.4 MapUnits missing from DMU. Only one reference to each missing unit is cited
Mm, field MapUnit, table MapUnitPolys
Mfp, field MapUnit, table MapUnitPolys
Msl, field MapUnit, table MapUnitPolys
Mw, field MapUnit, table MapUnitPolys
Sbr, field MapUnit, table MapUnitPolys
Os, field MapUnit, table MapUnitPolys
Olcy, field MapUnit, table MapUnitPolys
2.6 Missing terms in Glossary. Only one reference to each missing term is cited
table ContactsAndFaults, field IdentityConfidence, certain
table ContactsAndFaults, field ExistenceConfidence, unspecified
table ContactsAndFaults, field IdentityConfidence, unspecified
table ContactsAndFaults, field ExistenceConfidence, certain
table ContactsAndFaults, field Type, contact approximate
table ContactsAndFaults, field Type, contact accurate
table MapUnitPolys, field IdentityConfidence, certain
table ContactsAndFaults, field Type, map neatline
2.8 Missing DataSources entries. Only one reference to each missing entry is cited
MapUnitPolys, field DataSourceID, TGSGQM_087NW_002
ContactsAndFaults, field DataSourceID, USGSMAPINDEX
ContactsAndFaults, field DataSourceID, TGSGQM_087NW_002

However, it is still tripping up on the Anno classes:
2.1 Missing required elements
Feature class ContactsAndFaultsAnno
2.2 Missing or mis-defined fields
MapUnitPolysAnno missing field MapUnit
MapUnitPolysAnno missing field IdentityConfidence
MapUnitPolysAnno missing field Label
MapUnitPolysAnno missing field Symbol
MapUnitPolysAnno missing field DataSourceID
MapUnitPolysAnno missing field MapUnitPolysAnno_ID

and
3.1 Missing or mis-defined fields
MapUnitPolysAnno_Points missing field Type
MapUnitPolysAnno_Points missing field Symbol
MapUnitPolysAnno_Points missing field Label
MapUnitPolysAnno_Points missing field LocationConfidenceMeters
MapUnitPolysAnno_Points missing field PlotAtScale
MapUnitPolysAnno_Points missing field StationsID
MapUnitPolysAnno_Points missing field MapUnit
MapUnitPolysAnno_Points missing field LocationSourceID
MapUnitPolysAnno_Points missing field DataSourceID
MapUnitPolysAnno_Points missing field MapUnitPolysAnno_Points_ID
NaturalResourcePoints missing field StationsID

Getting closer now!!

Is MapUnitPolysAnno an Arc-generated annotation class? The tool currently excludes annotation based on the 'featureType' property of a Describe object so it should be getting tagged as "Annotation"

Yes, it is generated in ArcGIS Pro from the Maplex label engine, converted to annotation.  I ran a bit of code in ArcGIS Pro Python window just to check:
import arcpy

# Get the layer as a parameter and describe it.

layerString = "MapUnitPolysAnno"
desc = arcpy.Describe(layerString)

# Print selected layer and describe object properties

print("Name: {}".format(desc.name))
if hasattr(desc, "layer"):
    print("Layer name: {}".format(desc.layer.name))
    print("Layer data source: {}".format(desc.layer.catalogPath))
    print("Feature type: {}".format(desc.layer.featureType))
else:
    print("Layer name: {}".format(desc.name))
    print("Layer data source: {}".format(desc.catalogPath))
    print("Feature type: {}".format(desc.featureType))

Name: MapUnitPolysAnno
Layer name: MapUnitPolysAnno
Layer data source: C:\GIS\PROJECTS\FY2022 STATEMAP Project\BelvidereTN_GeologicMap\BelvidereTN_GeologicMap.gdb\CartographicElements\MapUnitPolysAnno
Feature type: Annotation

Ok, could you double-check that the file GeMS_utilityFunctions.py in Scripts looks like this?
In particular, def gdb_object_dict(gdb_path) starting on line 282?

Alright! I double checked and refreshed the GeMS_utilityFunctions.py and it is now working: no trip-ups on the Annotation and the results are as expected, giving me lists of missing items so I can build my tables.
Awesome work, Evan! Thank you!!


login error message in pop-up dialog box

Thanks for that!
But as the app actually proceeds to show the attendance (if cached) after handling exceptions, toasting the error message is better than showing a popup.


Tariff card not loading

Ok, so I have a problem installing the network-tariff-card, well not installing as it should be installed, but rather displaying it on the Dashboard. the elektro-network-tariff is installed and I can see all the params under Dev tools -> states for sensor.elektro_network_tariff. I'm running HA v2024.9.2 and the error I get on the dashboard is: "i.setConfig is not a function;"

Thx, can you also include your yaml for card?

Please update, and report back if still an issue:
https://github.com/frlequ/network-tariff-card/releases/tag/1.0.1

Hi, sorry for late reply… was on vacations… I updated it and it’s working now.

Thx for feedback!


Suggested Controller

If the output of my model is a trajectory, how soon will the repo support converting the trajectory to the discrete action?
If it is not soon, what strategy will you suggest me to bridge the gap between trajectories and actions?

additionally, I notice that on one 3090, the  num of world can only be 300, which means I can only train my model on 300 scenes out of 3228 scenes. How can I iterate train the whole set?

Hi John, there is not one obvious and unique way to convert between a trajectory and discrete actions. We already support inverse kinematics so for a particular change in x-y position we can invert and compute the actions that will give you that. Perhaps you could be more specific about what exactly you're looking for?
As for the latter question, a PR is coming https://github.com/Emerge-Lab/gpudrive/pull/265

Is the dynamic world file reseting implemented automatically in the sb3 ppo algorithm provided? Or if I want to use it, I need to add it to my training pipeline manually?
By the way, I wonder why you choose the discrete action space instead of continuous ones?

Besides, in jupyter notebook 5, the expert policy use the continuous action, but I notice the continuous action is not supported. I am confused.

Dynamic world resetting is not supported yet. It will be after that PR is completed. We chose a discrete action space to default to as historically discrete RL is easier than continuous RL. However, continuous actions are supported!

Hi John, there is not one obvious and unique way to convert between a trajectory and discrete actions. We already support inverse kinematics so for a particular change in x-y position we can invert and compute the actions that will give you that. Perhaps you could be more specific about what exactly you're looking for? As for the latter question, a PR is coming #265

so， where is your implementation of inverse kinematics and how soon will the  Dynamic world resetting be available?

A little unclear, it's a tricky issue and we want to make sure it lands without bugs. In terms of inverse kinematics, we have a bunch of them here: https://github.com/Emerge-Lab/gpudrive/blob/main/src/dynamics.hpp

Hi @JohnZhan2023, we have just merged the feature that enables dynamic setting traffic scenes in the simulator! This feature will allow you to train/iterate through the full dataset.
Please find the documentation [here] (https://github.com/Emerge-Lab/gpudrive/tree/main/pygpudrive/env#resampling-traffic-scenarios).

Closing this issue if there aren't updates here? Feel free to reopen.


Bug when getting the neg_mask

I assum that "x['spatial_query']['rand_shape'].to(self.device) & False)"  is to get the reverse map of the input masks. So when the area of the mask is True, it should reture False, otherwise, it return True. So that the neg_mask is representing the background area. But "False & False" is stilling False. Would this a bug? I guess we should use "==" here.

For & False, it will return all the neg_masks initialized with a blank mask. And the updating of neg_masks is happening at https://github.com/UX-Decoder/Segment-Everything-Everywhere-All-At-Once/blob/7b2e76dbb17d0b7831c6813a921fe2bc8de22926/modeling/architectures/seem_model_v0.py#L958


deps/docs: Update sphinx and friends

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

/docs


Support for updated Android Studios Gradle Plugin 3.0.0

Description
Please allow for an updated version of Android Studios & Gradle. In my current project, I have:
in my build.gradle:
com.android.tools.build:gradle:3.0.0
and in gradle-wrapper.properties:
distributionUrl=https://services.gradle.org/distributions/gradle-4.1-all.zip
How to repeat issue and example
Create any app, upgrade your android studios Gradle Plugin to version 3.0.0
Solution
update react-native-image-picker\android\build.gradle

change line 16 from
classpath 'com.android.tools.build:gradle:2.2+'
to
classpath 'com.android.tools.build:gradle:2+'
remove line 24
buildToolsVersion "25.0.2"

** I will try to submit a PR later this evening...
Additional Information

React Native version: 0.44.3, though I had the same issue with 0.50.0 (we are working on upgrading react native in a separate ticket)
Platform: [Android]
Development Operating System: MacOS
Dev tools:Android Studio version 3.0, Android SDK version 26.0.2

hey @GitHubTracey did you submit the pr?I still cannot see the changes in the project

hey @aayushanand99 , I got distracted with some bug fixes. I'll do my best to take a look at it again this afternoon.
Cheers!

I have a PR Ready, but I am unable to push to origin. Any hints would be great!
Permission to react-community/react-native-image-picker.git denied to GitHubTracey.

I have added  my SSH key to github (which allowed me to download the files), but am unable to submit the PR.
@marcshilling

Hey, Are you trying to push to master branch? Create a local branch and
push it to remote then submit a pr from your branch to master
On Dec 2, 2017 06:18, "Tracey"<EMAIL_ADDRESS>wrote:

I have a PR Ready, but I am unable to push to origin. Any hints would be
great!
Permission to react-community/react-native-image-picker.git denied to
GitHubTracey.
I have added my SSH key to github (which allowed me to download the
files), but am unable to submit the PR.
@marcshilling https://github.com/marcshilling
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/react-community/react-native-image-picker/issues/729#issuecomment-348652482,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AKakAdAdV5vEIppsiO4qXUmjVoa8BY9Jks5s8J5dgaJpZM4Qfv7H
.

I used ash to download the repo, then switched to develop, then created a local branch and attempted to push to remote. That’s where it told me I was unauthorized for my account. It didn’t prompt for a passcode or anything though... maybe I missed something? I haven’t had to use SSH to commit before. Any hints would be welcome.

*ssh

Has this been done?
Issue still open.

Wow. I am so embarrassed. I completely forgot about this ticket. Here is a PR:
https://github.com/react-community/react-native-image-picker/pull/952
You can do it manually, or just add this PR and then users won't need to go in and manually change it for themselves.
@Spetastian How do I find out who is the admin? It took me an hour to do this because I've been using bitbucket for so long I forgot how to do "all the things" in github. Yikes!


[Package Request]: Apache Httpd

Package Requested

[X] I would like someone else to build the manifest.
[ ] I would like help so I can submit the manifest.
[X] I have performed a search and couldn't find this package.
[x] I have checked that the installer for this package is not contained in a .zip file
[ ] I think there is a new version available and I have provided the URL.

Please provide the following information
Publisher: Apache Haus, Apache Lounge
Publisher Url: https://httpd.apache.org/docs/current/platform/windows.html
Package Name: Apache Httpd
Description: Apache HTTP Server on Microsoft Windows
Package Version: 2.4.54
Installer URL:

Apache Haus: https://www.apachehaus.com/cgi-bin/download.plx
Apache Lounge: https://www.apachelounge.com/download/

----- Updated 2023/03/04 -----
Publisher: https://archive.apache.org
Publisher Url: https://archive.apache.org/dist/httpd/binaries/win32/
Package Name: Apache Httpd
Description: Apache HTTP Server on Microsoft Windows
Package Version: ~2.2.25
Installer URL:

no_ssl version:

apache_2.0.35-win32-x86-no_ssl.msi
apache_2.0.36-win32-x86-no_ssl.msi
apache_2.0.39-win32-x86-no_ssl.msi
apache_2.0.40-win32-x86-no_ssl.msi
apache_2.0.42-win32-x86-no_ssl.msi
apache_2.0.43-win32-x86-no_ssl.msi
apache_2.0.44-win32-x86-no_ssl.msi
apache_2.0.45-win32-x86-no_ssl.msi
...
httpd-2.0.64-win32-x86-no_ssl.msi
httpd-2.0.65-win32-x86-no_ssl.msi
httpd-2.2.15-win32-x86-no_ssl.msi
httpd-2.2.16-win32-x86-no_ssl.msi
httpd-2.2.17-win32-x86-no_ssl.msi
...
httpd-2.2.25-win32-x86-no_ssl.msi

Current Package Identifier (for new versions):

@msftbot .zip

@hwhsu1231

Apache Haus: https://www.apachehaus.com/cgi-bin/download.plx
Apache Lounge: https://www.apachelounge.com/download/

These are blocked by Zipped-Binary issue
Regarding the MSI Installers:
I was going to add the two variants, the NoSSL and the OpenSSL ones in separate PackageIdentifiers as Apache.HttpServer.NoSSL and Apache.HttpServer.OpenSSL
The issue I see with this approach is that they have identical Registry values for DisplayName, Publisher, ProductCode etc. WinGet won't be able to distinguish between the two until Release Channels support is completed. In the current implementation, as the Registry values are same, users would be prompted for an upgrade to NoSSL version from an OpenSSL version and vice-versa
So, I guess the best option here would be to have the SSL installer in Apache.HttpServer in WinGet?

I'd like to chime in, sorry for dupe issue yesterday.
Apache httpd server release was blocked by ZIP packaging, but Winget moved forward and that issue has been resolved.
Thus I propose creating a ZIP based package.
There are just two packages on Apache lounge, and I believe we can ignore the 32bit one as all PCs running Winget should be 64bit.
Info from my other issue:
Please provide the following information
Download Page Url: https://www.apachelounge.com/download/
Publisher: https://httpd.apache.org/
Package Name: Apache HTTP Server
Description: One of most popular web servers in the world
Package Version: currently 2.4.62
Installer Url: https://www.apachelounge.com/download/VS17/binaries/httpd-2.4.62-240904-win64-VS17.zip
I believe this package should satisfy all current requirements for winget package. Thanks!

[Policy] Unblocked; Will require ManifestVersion: 1.9.0 with ArchiveBinariesDependOnPath: true


Don't hide breadcrumb root page for users with limited tree visibility (without breadcrumbs toggle)

Fixes #11451, closes #11520.
The previous PR results in different behaviour as per https://github.com/wagtail/wagtail/pull/11520#pullrequestreview-1846363456.
This PR takes the original approach further by eliminating the root page distinction completely, and instead enforcing the breadcrumbs to be expanded when there is only one item. This ensures the styling is consistent:

It also removes the extraneous right arrow when exploring the root page.
In the future, we might want to add left padding to make sure the title still aligns with the title column. For now I decided to not add the padding just yet, as that's how it has always looked for the Root page.
That said, it'd be nice to just get rid of page_breadcrumbs in the future and reuse the simpler pattern of the new generic breadcrumbs template tag that accepts a list of [{"url": str, "label": str}] objects.
I had a WIP PR here: #10876
Please check the following:

[x] Do the tests still pass?[^1]
[x] Does the code comply with the style guide?

[x] Run make lint from the Wagtail root.

[x] For Python changes: Have you added tests to cover the new/fixed behaviour?

Please describe additional details for testing this change.
See testing details in #11520.
[^1]: Development Testing
[^2]: Browser and device support
[^3]: Accessibility Target

Merged in 77c9a3a7c29748c6ee0c7709d5a7941b1f4545a0 (main) / 6612d4d1514153b6b3fced2d6c9a2cf69d6c482b (stable/6.0.x).


Add static analyzer for our project

Add Linter to our project.
Add Sonar Cloud.
Divide configuration of them on different branches.
Configure it for our project.
Make sure that all tests are passed by our main branch.
If some criteria of static analyzer are not satisfied, reformat code in such way that it will satisfy them.

Added linter. Created new branch for its configuration and fixes. Configured it. Found some issues that it informs us about and fixed them all.

In parallel added sonar cloud. Created the branch for for its configuration and fixes. Configured it. Found some issues with security. Analyzed them and unserstood that this issues are not releveant because all the issues that it found makes no sence for this features. For example, it requires to use https for main page, but we have no data on this page at all.


添加JustList: {JustList name}

提交之前请删除下面的话:
如果您没按照要求提交正确的JustList样式，您的issue将会被删除
您提交的JustList json格式必须满足下面链接中定义的例子格式
https://github.com/justswaporg/justlists/blob/main/example.justlists.ts
检查清单

[ ] 我已知晓此issue不是提交token而是提交JustList
[ ] 我已经测试粘贴JustList URL到justswap.org的添加列表中并能够正常展示.
[ ] 我已知晓提交的issue不能确保通过并且提交的JustList不确保能在jsutlists网站中显示.

请提供以下的信息
JustList的json URL必须以HTTPS开头.
JustList URL:
JustList 名称:
JustList 提交者的网站或主页:

Please submit the correct information, invalid information will cause the issue to close

I didn’t even mean to post anything on GitHub.. I’m clearly inexperienced and thst was a total accident
Sent from my iPhone
On Jul 7, 2022, at 9:53 PM, jerry @.***> wrote:

Please submit the correct information, invalid information will cause the issue to close
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.


[Bug]: Using 'Token Action HUD' has an overflow bug when sidebar macro module is 'hiding macro bar'

Expected Behavior
Hiding the macro bar should have no other knock-on effects.
Current Behavior
Hiding the macro bar causes the 'token action hud' to think the screen is a lot smaller than it is, causing it to think it needs to overflow (resulting in a scroll bar, instead of the list of spells etc filling the screen).
https://github.com/Drental/fvtt-tokenactionhud/issues/327
A link to the issue on their side.
Steps to Reproduce
See above.
Context
No response
Version
Current
Foundry VTT Version
10
Operating System
windows 11
Browser / App
Microsoft Edge
Game System
dnd5e
Modules Disabled

[X] I can confirm that disabling all of my other modules doesn't fix this issue.

I'm not doing anything other than removing the element and it would be Token HUD's responsibility to adjust its height to fit its contents regardless of whether the hotbar is present.


Fix errors in sqlite__dateadd in dbt-core v1.6.0

Here is the error I received during my test:
00:49:42  Completed with 1 error and 0 warnings:
00:49:42
00:49:42  Failure in test assert_equal_test_dateadd_actual__expected (models/test_dateadd.yml)
00:49:42    Got 4 results, configured to fail if != 0
00:49:42
00:49:42    compiled Code at target/compiled/test/models/test_dateadd.yml/assert_equal_test_dateadd_actual__expected.sql
00:49:42
00:49:42  Done. PASS=2 WARN=0 ERROR=1 SKIP=0 TOTAL=3

Here is the sample seed used for the test:
seeds__data_dateadd_csv = """from_time,interval_length,datepart,result
2018-01-01 01:00:00,1,day,2018-01-02 01:00:00
2018-01-01 01:00:00,1,month,2018-02-01 01:00:00
2018-01-01 01:00:00,1,year,2019-01-01 01:00:00
2018-01-01 01:00:00,1,hour,2018-01-01 02:00:00
,1,day,
"""

Since our existing dateadd macro only uses date we are not able to pass this test which has datetime in it.
{% macro sqlite__dateadd(datepart, interval, from_date_or_timestamp) %}

    date(
        {{ from_date_or_timestamp }},
        "{{ datepart }} {{ datepart }}"
        )

{% endmacro %}

I have resolved this issue in an updated dateadd.sql macro in our adapter files, which passes the assert_equal_test_dateadd_actual__expected test.
I have committed this change to a new compatibility branch for v1.6.0 here.


Clarified that basic ASR rules

Basic ASR rules should be in block mode.  That's the recommendation.
@denisebmsft

Docs Build status updates of commit 81083bb:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender-endpoint/built-in-protection.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 2ecf967:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender-endpoint/built-in-protection.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@denisebmsft I think this is ready to go

Docs Build status updates of commit d85b5ef:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender-endpoint/built-in-protection.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

Docs Build status updates of commit 0a57359:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-365/security/defender-endpoint/built-in-protection.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Add pulsar-version comment for future reference

Motivation
Broker/Client version-change comments helps to understand compatibility changes on each version. So, added comment for v13 version introduced in #2071

retest this please


Update Neutron Fee Tokens and Rates

Next time please use a descriptive PR title

Also note that I have to remove two assets from this list because they aren't registered under the assetlist.json, so there's no way to tell what they are:
"denom": "ibc/B559A80D62249C8AA07A380E2A2BEA6E5CA9A6F079C912C3A9E9B494105E4F81",
"low_gas_price": 0.008,
"average_gas_price": 0.008,
"high_gas_price": 0.008
},
{
"denom": "ibc/B7864B03E1B9FD4F049243E92ABD691586F682137037A9F3FCA5222815620B3C",
"low_gas_price": 0.0006,
"average_gas_price": 0.0006,
"high_gas_price": 0.0006


[feature] power management button

Cool project :) Would be nice to have a power management button.
On click the button would change to more buttons like  power off,  suspend,  back, etc. (like clock button changes from time to date).
On click any of this buttons the corresponding action is be executed systemctl poweroff, systemctl suspend, etc.

As an additional idea, there could be an option to hide the idle_inhibitor module in the power management module. It is a very useful module, but I don't use it that often.

in the interim this is what i've been using:
     "custom/power":{ 	"format":"",      	"on-click":"swaynag -t warning -m 'Power Menu Options' -b 'Logout' 'swaymsg exit' -b 'Suspend' 'systemctl suspend' -b 'shutdown' 'systemctl shutdown'"      },

I see an opportunity to have something more generic:
a button that when clicked gets replaced by multiple buttons (in a vertical menu?).
This way, user can customize power-off command (we don't hardcode the logic for systemd or else)
This gets even better if buttons and their actions can be generated by a script:
we then get easy-to-build wifi-managers, clipboard-managers, application-launchers-menus (and powerbuttons).
I know I'm not entitled to a gift-wish-list to santa though...

keyboard layout also* #66
... and I just saw #676 : is it what you're building, @Alexays?

You can easily do those things yourself, either use wlogout and
    "custom/wlogout": {
        "format": "",
        "interval": "once",
        "on-click": "wlogout -c 5 -r 5 -p layer-shell",
    }

or simply use wofi in dmenu mode and create a small script.

It would be cool if added

A much needed module that should be fairly easy to implement.

@chron-isch just wandering I tried adding that to my config and nothing shows, I added white text color and all. here is my dot files: https://github.com/TNTRedstone/waybar-dots

As of #2574, group drawers have been implemented and one of the demos on my video available on that PR is a power management menu. Although it works by mouse hover rather than clicking, I believe it resolves this issue without the need of implementing a custom module.
What do y'all think?
CC: @Alexays


[FEATURE REQUEST] Support K8S service creation

Which area is mainly impacted
Other
Requested Feature
It would be great if btp-sa would also support service creation for K8S (documentation for reference). Ideally as a native type for a usecase.json.
Use Case/Scenario
Setup service for K8S environments on BTP.
Would you like to support us?

[x] Yes, I would like to support you

Anything else?
No response

Currently the enhancements necessary are in evaluation. The current plan is to support the service instance creation for:

Environment "cloud foundry" via CF CLI
Environment "kyma" via kubectl and the corresponding yaml files.
Environment "other" via btp CLI

The detailed implementation would be hidden from the user of the BTP CLI (so no need to know which CLI will be used
In order to make the Kyma part work, we need to have the service operator (including the CRDs) rolled out to the Kyma cluster. This is currently in process (doa - not yet confirmed)
The creation of service keys/service bindings for the different environments follows the same approach
Known limitation for Kyma will be that the creation of the environment (i.e. the kyma cluster) and the creation of the services will not be possible in one go due to the OIDC logon mechanic of Kyma.

The BTP service operator is available on Canary landscape, so the fun of implementing the change can begin :-)

Implementation started; switched to branch https://github.com/SAP-samples/btp-setup-automator/tree/service-creation-rework

Status:

Creation of Services Instances via K8s Service Operator possible
Creation of Services Bindings via K8s Service Operator possible
Prune of Services Instances and Bindings via K8s Service Operator possible

Next steps:

Update of documentation for service creation on Kyma
Implementation of Service creation for target environment "other" i.e. via BTP CLI

The feature request is finished now. The scenario is supported now.
Be aware of shortcomings in the authentication to Kyma (issue of Kyma not of BTPSA) as described here:

FAQ - I cannot execute kubectl commands after the Kyma runtime got provisioned. Is this a bug?
FAQ - How can I create a service account?

The Docker Image is not yet built, so the functionality is only supported via build from source. I update the issue once the Docker image is available

Docker Image is built and available in the GH packages


Roll Flutter Engine from ef5c349f04d8 to 3e608274c952 (2 revisions)

https://github.com/flutter/engine/compare/ef5c349f04d8...3e608274c952
2023-05-12<EMAIL_ADDRESS>[Impeller] Make index buffer optional (flutter/engine#41962)
2023-05-12<EMAIL_ADDRESS>Roll Dart SDK from 7ad028c26344 to 4028c7d8b87c (8 revisions) (flutter/engine#41967)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-engine-flutter-autoroll
Please CC aaclarke@google.com,rmistry<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


#27193 -- Preserve ordering in subqueries containing select_for_update

A user should be able to control the rows' locking order on the DB when using select_for_update in a sub-query. One possible goal would be to prevent deadlocks.
Trac ticket: https://code.djangoproject.com/ticket/27193.

buildbot, test on oracle.

buildbot, test this please.

buildbot, test on oracle.

merged in 8ac115c730353dfc6bdbd03e0671a978dcc99e15, thanks!


Volume Music Assistant ( Sonos ) not changed by HA on iPhone.

What version of Music Assistant has the issue?
2.0.6
What version of the Home Assistant Integration have you got installed?
2024.6.2
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
When changing the volume on Macbook ( HA via Browser ) in Music Assistant playing on Sonos I can change the volume.
If I want to do this on my iPhone ( web and native app ) nothing happens when I change the slider.
How to reproduce
Re-started etc but no change.
Music Providers
Tune-In & Spotify
Player Providers
Sonos
Full log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2024.6.2
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
ODROID

Please update to 2.0.7, there was a bug introduced in 2.0.6

Yes, that works! Thanks for the update.
I really like Music Assistant instead of Sonos Native app.
Regards,
Robert


Adding pagination to Inbox page to improve the loading speed

Describe the solution you'd like
As the number of comments continues to grow, the loading speed of the Inbox page has become progressively slower, occasionally leading to issues with website access (requiring a restart of the Docker container to regain access).
Would greatly appreciate the implementation of a pagination feature, which would prevent the need to reload all comments each time the Inbox page is accessed. Thank you.
Type of feature
User Experience (UX)
Additional context
No response

Updated with https://github.com/usememos/memos/commit/14712b42fabf359d98817116fe2a97b2c4e59daa


introduce eslint for DOM XSS linting

For this to be immediately useful, one needs to:

[ ] fix existing violations (below) #621
[x] ~in package.json, add "script" to run eslint on all relevant source files~
[x] integrate script into CI

Existing violations:
zap-hud/src/main/zapHomeFiles/hud/display.js
  1116:5  error  Unsafe assignment to innerHTML  no-unsanitized/property
zap-hud/src/main/zapHomeFiles/hud/libraries/alertify.js
  1:2257  error  Unsafe assignment to innerHTML  no-unsanitized/property
  1:2897  error  Unsafe assignment to innerHTML  no-unsanitized/property
zap-hud/src/main/zapHomeFiles/hud/target/inject.js
  454:3  error  Unsafe assignment to innerHTML  no-unsanitized/property

Can't this be configured through xo?

For info have just raised #621re removing the use of innerHtml

xo seems to use eslint underneath, so theoretically yes. I haven't ever used or looked at xo before though.

OK, xo is already running by default (locally and CI) and (I think) it includes all relevant source files, so it would just need the plugin(s).

OK. Waiting for #621 then :-)

Can we whitelist the remaining 2 uses of innerHtml so that we can merge this PR?
If so we should add them to #608 so they dont get forgotten.
I think we should ignore everything under zap-hud/src/main/zapHomeFiles/hud/libraries/ as they are external libs.

Fine for display.js but I dont want to apply DOMPurify to the alertify.js library - no idea what impact that could have.

it seems alertify.js is already opted out of the linter. probably because it's minified?

And because its an external lib :)


Lockdown dalli to 3.0.6 while we address breaking changes in 3.1.0

Fixes #21593
Dalli 3.1.0 was released and had the following changes from 3.0.6:
https://github.com/petergoldstein/dalli/compare/v3.0.6...v3.1.0
Among these these changes:

destroy_session was renamed to delete_session
with_block is now with_dalli_client

This is important because we have monkey patches on these private methods to
ensure we can safely load code in threads from within them.  When these patches
aren't applied, we can get deadlocks.
Additionally, request.session_options[:id] is now a Rack::Session::SessionId
object that can't be cast in find_by calls so we may need to make this change in
user:
-    sessions << Session.find_or_create_by(:session_id => session_id)
+    sessions << Session.find_or_create_by(:session_id => session_id.private_id)

Related to https://github.com/rails/activerecord-session_store/issues/154
Note, even with local changes to account for the renames and this change in the
session_id, some pages were still hung so we'll just lock down to 3.0.6 until we
can resolve them.

@jrafanie A conflict occurred during the backport of this pull request to morphy.
If this pull request is based on another pull request that has not been marked for backport, add the appropriate labels to the other pull request. Otherwise, please create a new pull request direct to the morphy branch in order to resolve this.
Conflict details:
diff --cc Gemfile
index e790e7c7a1,2eb2ab589b..0000000000
--- a/Gemfile
+++ b/Gemfile
@@@ -30,8 -30,10 +30,12 @@@ gem "bcrypt"
  gem "bundler",                          "~> 2.1", ">= 2.1.4", "!= 2.2.10", :require => false
  gem "byebug",                                                :require => false
  gem "color",                            "~>1.8"
 -gem "connection_pool",                                       :require => false # For Dalli
  gem "config",                           "~>2.2", ">=2.2.3",  :require => false
++<<<<<<< HEAD
 +gem "dalli",                            "=2.7.6",            :require => false
++=======
+ gem "dalli",                            "~>3.0.6",           :require => false
++>>>>>>> d943a50285... Merge pull request #21595 from jrafanie/lock_down_dalli
  gem "default_value_for",                "~>3.3"
  gem "docker-api",                       "~>1.33.6",          :require => false
  gem "elif",                             "=0.1.0",            :require => false

@bdunne @jrafanie ^ - it seems we weren't on dalli 3 for morphy, so I don't think there's anything to backport for this. Is that correct?

Yeah, then morphy should be fine

Yeah, it's not worth it, we'd have to bring back
https://github.com/ManageIQ/manageiq/pull/21265
https://github.com/ManageIQ/manageiq-pods/pull/764
https://github.com/ManageIQ/manageiq/pull/21280


Create one Button ,and Remove one Button ,Avalonia.Rendering.Composition.Server.ServerCompositionSimplePen leak

Describe the bug
Create button, then delete button. Every time, a ServerCompositionSimplePen is added, but this resource has not been reclaimed
To Reproduce

Expected behavior
No response
Avalonia version
11.0.10
OS
Windows, Linux
Additional context
No response

Can you reupload minimal repro? Link is broken.
From the screenshots it doesn't seem like a leak.
Keep in mind, that just having objects in memory doesn't mean they are leaking. Garbage collector might not have collected them yet, or these objects might be pooled and will be reused.

I have tested it many times and also called GC Collect(), this will not be collected, it is indeed a leak. This object is an unmanaged resource, is there no dispose. Every time a Button is created and then destroyed, an additional one is added

I have tested it many times and also called GC Collect(), this will not be collected, it is indeed a leak. This object is an unmanaged resource, is there no dispose. Every time a Button is created and then destroyed, an additional one is added

AvaloniaApplication1.zip

Did you investigate this issue again? I have found that many controls in Avalonia have leaks of this resource, sometimes inexplicably. I hope to take it seriously

Did you investigate this issue again? I have found that many controls in Avalonia have leaks of this resource, sometimes inexplicably. I hope to take it seriously

Can you reupload minimal repro? Link is broken.
From the screenshots it doesn't seem like a leak. Keep in mind, that just having objects in memory doesn't mean they are leaking. Garbage collector might not have collected them yet, or these objects might be pooled and will be reused.

Did you investigate this issue again? I have found that many controls in Avalonia have leaks of this resource, sometimes inexplicably. I hope to take it seriously

Can you reupload minimal repro? Link is broken.
From the screenshots it doesn't seem like a leak. Keep in mind, that just having objects in memory doesn't mean they are leaking. Garbage collector might not have collected them yet, or these objects might be pooled and will be reused.

Can you reupload minimal repro? Link is broken.
From the screenshots it doesn't seem like a leak. Keep in mind, that just having objects in memory doesn't mean they are leaking. Garbage collector might not have collected them yet, or these objects might be pooled and will be reused.

I think the brush here should be a copy, as it also references resources, which would result in the inability to release


Rebirth blaster

Song Name
Rebirth blaster
Artist Name
Plexity
Source
Youtube
Youtube Link
https://youtu.be/Swzg3jgEAgk?si=vToBiRcT_ALITx3w
Direct File Link
No response
Song ID
574484
Start Offset [ms]
No response
Extra
No response

reject
duplicate request, no worries the song has been accepted


Bicep module with subscription target scope does not produce valid ARM template

Bicep version
Bicep CLI version 0.8.9 (33a85174de)
Describe the bug
The language expression property 'location' doesn't exist, available properties are 'name, properties'
I'm trying to reference an existing resource group within bicep module. Both the module and the parent .bicep file have targetScope = 'subscription'. If I correctly understand, the error is that the generated ARM json contains "location": "[deployment().location]" but the deployment() function does not return object with the location property. Based on the https://docs.microsoft.com/en-us/azure/azure-resource-manager/bicep/bicep-functions-deployment#return-value I believe this is a bug as I am deploying to the Azure subscription scope and from the docs:

When you deploy to an Azure subscription, management group, or tenant, the return object includes a location property.

To Reproduce
main.bicep
targetScope = 'subscription'

module servicePlan 'auto-serviceplan.bicep' = {
  name: 'auto-serviceplan'
}

auto-serviceplan.bicep
targetScope = 'subscription'

resource resourceGroup'Microsoft.Resources/resourceGroups@2021-04-01' existing = {
  name: 'resourceGroupName'
}

Additional context
Error from the Azure DevOps pipeline:
Deployment name is main-20220729-071647-557e
##[debug][POST]https://management.azure.com/subscriptions/<subscription>/resourcegroups/<resource_group_name>/providers/Microsoft.Resources/deployments/main-20220729-071647-557e/validate?api-version=2021-04-01
##[debug]Correlation ID from ARM api call response : f0efbfa3-5bfb-4015-9f3f-59648412e284
There were errors in your deployment. Error code: InvalidTemplate.
##[error]Deployment template validation failed: 'The template resource 'auto-serviceplan' at line '1' and column '2807' is not valid: The language expression property 'location' doesn't exist, available properties are 'name, properties'.. Please see https://aka.ms/arm-template-expressions for usage details.'.
##[debug]Processed: ##vso[task.issue type=error;]Deployment template validation failed: 'The template resource 'auto-serviceplan' at line '1' and column '2807' is not valid: The language expression property 'location' doesn't exist, available properties are 'name, properties'.. Please see https://aka.ms/arm-template-expressions for usage details.'.

From the ADO logs you've pasted, it looks like you're deploying a subscription-scoped template at a resourceGroup scope:
The POST URL contains:
/resourcegroups/<resource_group_name>/

Sorry, I think the resource group comes from a module that is also part of the auto-serviceplan.bicep and is resource group scoped, I'll edit also the original post. Full auto-serviceplan.bicep looks like this:
targetScope = 'subscription'

resource resourceGroup 'Microsoft.Resources/resourceGroups@2021-04-01' existing = {
  name: 'resourceGroupName'
  scope: subscription() // probably redundant
}

module serviceplan 'serviceplan.bicep' = {
name: '${AppResourceName}-serviceplan-${environment}'
  params: {
    ...
  }
  scope: resourceGroup
}

And the 'serviceplan.bicep' contains just a resource servicePlan 'Microsoft.Web/serverfarms@2022-03-01' = {...) and is resource group scoped.
I've omitted it originally because the error line '1' and column '2807' pointed to the generated resource groups arm template [deployment().location].

@martinjanocko - just to explain my response in more detail:

Your main.bicep file is the file that your pipeline is deploying, and because of the use of targetScope = 'subscription', the expectation is that this file will be deployed to a subscription (not to a resource group). If using AzureCLI, this would be the difference between az deployment subscription create and az deployment group create.
It looks like from the logs that whichever ADO task you're using is incorrectly deploying this template to a resourceGroup scope (e.g. issuing the equivalent to azure deployment group create), which is causing this problem to occur.

Here's an example of using ADO to deploy to a subscription scope:
https://github.com/Azure/azure-subscription-level-arm-deployment/blob/1a1896b7f2b5baabd2a140adb52f801cc5378735/sample/azure-pipelines.yml#L13-L23
The important things to note:

The task being used is AzureResourceManagerTemplateDeployment@3 (there is an older task named AzureResourceGroupDeployment@2 which will not work here which you may be using).
The deploymentScope is set to Subscription.
There is no resourceGroupName parameter being set in this task, because it is not relevant.

If that doesn't help, please could you share a link or a copy of the ADO task you're using to orchestrate this deployment?

Thank you for the explanation, you're right! After changing parameters of the deployment task the deployment works as expected. Thanks!


Generate JSON file of all syn types

The JSON file can be used by third party libs to build tools that
consume syn types.
The JSON is generated to syn.json. Link.
Follow up to #579.

I merged this with a few changes right after that make the json easier to follow (in my opinion). Let me know if any of those cause trouble for your use case.

LGTM. One issue I see is Span and Ident are now under syn it looks like? That probably should be fixed to be clasified as proc_macro2?

It comes from this: https://github.com/dtolnay/syn/blob/master/codegen/src/parse.rs#L15

I think that happens because we currently generate fold_ident and fold_span methods but not fold_literal or fold_token_stream. I would be on board with reclassifying them as "proc_macro2" as long as the generated Rust code doesn't change.

Ok 👍 let me try


Stuck on "analyzing audio"

When running python3 stammer.py SteamedHams.mp4 OnJulySecond1988.wav onjuly.mp4, the video is processed to have it's frames dumped into memory, but when it comes time to read the audio (of what?) and analyzing it, the process just gets stuck doing nothing using up one core and is unkillable by doing Ctrl+C.
Calculating video length
Separating video frames
frame=    0 fps=0.0 q=0.0 size=       0kB time=-577014:32:22.77 bitrate=  -0.0kb
frame= 4047 fps=245 q=-0.0 Lsize=N/A time=00:02:48.75 bitrate=N/A speed=10.2x
reading audio
analyzing audio

This is the current console output.
https://files.catbox.moe/79n9ks.wav
And this is the file "OnJulySecond1988.wav", am I doing something wrong?

Maybe try using a MP3 file instead of WAV?

@hello10293 This is unrelated to audio formats. When it's "reading audio", it's reading the audio of both files into memory as WAV. This is how Stammer matches frames by audio.
Unfortunately, right now the analyzing step can be extremely slow for long inputs, as it is completely single-threaded and does looped operations to match the frequencies of the entirety of both inputs.
It's probably possible to have threads working on chunks of the modulator input, to compare against the entirety of the carrier input. I'd like to experiment with that

Actually, kinda stumped. There is supposed to be a progress string being printed...
I'll have to look into this later, because a two minute carrier and a 30-sec modulator should not exhibit this.

I do have ffmpeg installed, so there shouldn't be any issues seeing as it does extract the frames.
I did test other formats, exported to 44khz, seeing if it did have problems with 22khz audio... I came around to the same result.

The input always gets converted to the same sample rate internally by stammer anyway


Root context session conflicts with existing sessions

Hi,
I have a problem with MemcachedSessionService#findSession code (memcached 1.8.3 + tomcat 7.0.26 + non sticky session + locking mode auto) and the below configuration
<Manager className="de.javakaffee.web.msm.MemcachedBackupSessionManager"
	memcachedNodes="n1:localhost:5701" sticky="false" sessionBackupAsync="false"
 	sessionBackupTimeout="30000" operationTimeout="60000" lockingMode="auto"
	requestUriIgnorePattern=".*\.(ico|png|gif|jpg|css|js)" />

I have a jsp in ROOT war which creates a session and whenever I access this, it causes findSession to return null for the existing sessions in different contexts. I tried commenting the below code in findSession to ensure session always loads from memcahed.
        if ( !_sticky && isContainerSessionLookup()
                && !_manager.contextHasFormBasedSecurityConstraint() ) {
            // we can return just null as the requestedSessionId will still be set on
            // the request.
            return null;
        }
        // If no current request is set (RequestTrackerHostValve was not passed) we got invoked
        // by CoyoteAdapter.parseSessionCookiesId - here we can just return null, the requestedSessionId
        // will be accepted anyway
        if(!_sticky && _currentRequest.get() == null) {
            return null;
        }

but that results in an exception in LockingStrategyAuto#onBeforeLoadFromMemcached as currentRequest.get returns null.
WARNING: Could not load session with id 0F7551F6E35C540E0532C863F37FA5C1-n1 from    memcached.java.lang.RuntimeException: There's no request set, this indicates that this findSessionwas triggered by the container which should already be handled in findSession.
I think there is an issue with findSession code when there is a JSESSIONID cookie with root context.
Thanks for any help,
Lavanya.

Hi Lavanya,
Am 23.09.2015 04:38 schrieb "lavanyakc"<EMAIL_ADDRESS>
I think there is an issue with findSession code when there is a
JSESSIONID cookie with root context.

Because it works well for many other people I'd assume that there's
something special/different with your application. Can you provide a simple
reproducable sample? You might try to reproduce this based on the samples
https://github.com/magro/memcached-session-manager/tree/master/samples
Cheers,
Martin

Thanks for any help,
Lavanya.
—
Reply to this email directly or view it on GitHub.

Hi Martin,
I created a reproducible sample with a similar configuration as our application. It is reproducible with a single server also.
The sample can be downloaded at memcahced-sample with all the required config, debug enabled. It is a simple app, with one jsp which writes to the session and the other reads from session. And the index.jsp in the ROOT redirects to read.jsp. Once you run the tomcat server, accessing http://localhost:8080/root-session-sample/write.jsp will write data in the session. http://localhost:8080/root-session-sample/read.jsp will read data, you can see that the value will be read properly but if one hits http://localhost:8080/ (root context), the next read will lose the session-data. The same will work fine if we remove memcached session manager configuration in tomcat context.xml.
Let me know if you need any other details.
Thanks in advance,
Lavanya.

Hi Martin,
Did you get a chance to look into the sample?
Thanks,
Lavanya.

Hi Lavanya, sorry that I didn't find time yet, hopefully on monday. Cheers,
Martin
Am 01.10.2015 07:18 schrieb "lavanyakc"<EMAIL_ADDRESS>
Hi Martin,
Did you get a chance to look into the sample?
Thanks,
Lavanya.
—
Reply to this email directly or view it on GitHub
https://github.com/magro/memcached-session-manager/issues/272#issuecomment-144621840
.

@lavanyakc At the url you shared (http://wikisend.com/download/207180/memcached-root-sample.zip) I'm only seeing a link to http://wikisend.com/download/207180/RegalBliss.rar - which only contains some images. Where is your sample (direct link)? You might just use github to prepare the sample... (Really sad that now I cannot work on this, I have 4 hours on a train, the next days are going to be very busy again...)

Hi Martin,
Can you try this link now http://wikisend.com/download/836392/memcached-root-sample.zip . Look into this if you get time. I was busy with other things so could not create a git sample, I will try to create a git sample later this week.
Thanks
Lavanya.

wget http://wikisend.com/download/836392/memcached-root-sample.zip
just gives me an html document. Please provide a direct link that does
not need any login or I don't know.
If possible please don't include tomcat itself in the archive, because
my internet connection currently is really really crappy.

Hi Martin,
This sample was created with hazelcast server and the tomcat has all the required libs for that and listener to start hazelcast. I thought it would be easier to run, so sent it with server. I will create a sample for memcached server and post again which may take some time for me.
Thanks,
Lavanya.

Ok. Is hazelcast involved in this issue, or is the issue unrelated to
hazelcast? Please provide a sample that includes only things, that are
needed to reproduce the issue. Everything that can be removed and the
issue is still there should be removed.
You can also build upon the samples here:
https://github.com/magro/memcached-session-manager/tree/master/samples -
this allows to have a mavenized/reproducable app running in tomcat.

It can be reproducible with memcached server. I will create a mavenized memcached only sample and will send you.
Thanks,
Lavanya.

Seems to be a duplicate of #197

@lavanyakc As long as there's no better solution in msm a possible workaround would be to use different session cookie names for different contexts.

For further discussion let's use #197.

Hi Martin,
We have already worked around this problem by using different cookie names for root context. So I am not looking for a fix for this right now.
Thanks,
Lavanya.

Ok, great!


Color problem - blue looks like purple [Ubuntu 18.10]

Describe the bug
I have a problem with the colors that the program shows in Whatsapp, Gmail, Calendar..
The blue looks like purple and colors like green and yellow look very bright.
I had the same problem with Chrome and I fixed it by changing "Force Color Profile" to sRGB in chrome://flags

Screenshots

Desktop (please complete the following information):

OS: Ubuntu 18.10
Laptop: Asus UX331UA

Thank you (:

Related to #10732

Thank you, i followed your description and fixed my problem.

haha yes ty lmao


pws doesn't work with ruby 2.2 because of cannot load such file -- digest/hmac (LoadError)

/home/rupert/.rvm/rubies/ruby-2.2.0/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require': cannot load such file -- digest/hmac (LoadError)

Thanks, fixed in 1.0.6

Thanks, fixed in 1.0.6


Remove version: Wesnoth.BattleForWesnoth version 1.15.11

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://sourceforge.net/projects/wesnoth/files/wesnoth/wesnoth-1.15.11/wesnoth-1.15.11-win64.exe/download
OK
(Automated message - build 923)

Close with reason: Package still available.;


"undefined" in frontend behind thermostat devices

Home Assistant release with the issue: 0.77.0b1
Last working Home Assistant release (if known): 0.76.x
Operating environment (Hass.io/Docker/Windows/etc.): Hass.io
Component/platform: Climate/Homematic (not sure which is the source, as all my sensors are Homematic based IP and not-IP)
Description of problem: After upgrading from last 0.76 version to 0.77.0b1 behind all thermostat and thermostat group temperatures it is written "undefined". See screenshot.

Problem-relevant configuration.yaml entries and (fill out even if it seems unimportant): -
Traceback (if applicable): -
Additional information: The temperature is shown, so basically it works. But before there was nothing behind the temperature where now it says "undefined". @danielperna84: Any changes in homematic.py? I have not seen a change in the Home Assistant changelog.

There is no change I am aware of. Could you please try to mock up a thermostat with the Generic Thermostat platform? At first sight this looks like an UI issue, which is not related to the HomeMatic component. If the test-thermostat also shows undefined, then this would be proof it's not caused by HomeMatic.

It's even with the generic dummy thermostat I just set up. So it seems you are right that it is not a Homematic component issue.

Ah it seems to be this change:
Remove unit_of_measurement from climate entities (@jeradM - #16012) (climate docs) (climate.generic_thermostat docs) (climate.knx docs) (climate.maxcube docs) (climate.sensibo docs) (breaking change)

So this in customize_domain.yaml fixed it:
climate:
  unit_of_measurement: '°C'

I'll look at this closer after work, but I assume you are getting an old version of the frontend. Do you have anything in your /config/deps folder? The frontend was updated to display whatever you have configured under homeassistant.unit_system in your configuration.yaml (defaults to metric) rather than unit_of_measurement.

Sorry I'm not understanding correctly and I have this issue currently. How do I resolve the 'Undefined' entries for my generic climate components? This began after a 0.77.1 update..

I also have this issue on 0.77.2

I resolved this issue by clearing the browser cache.
This also lead me to the page allowing me to create a new user account. I had previously only used the API password for login.


Add "Teekyuu 9"

Thanks. Looks like it's not yet certain how many episodes it's going to have. But judging from all the previous seasons, it should be safe to assume 12 episodes.


Module ‘Simplicity.Bitcoin.Primitive’ does not export ‘envTx’

Also, the other field accessors are not exported.

This is deliberate; PrimEnv is abstract and protected by the primEnv smart constructor.  I can probably be convinced to export projection functions for the fields of PrimEnv if that would be adequate for your purposes.


Chrysler updates 🚐🚐🚐

use can packer
more closely emulate stock LKAS messages
tests for chryslercan
ramp down steer angle on disengage to avoid fault

This relies on this OpenDBC PR: https://github.com/commaai/opendbc/pull/140

You're right. I also need to send a panda PR.
Was going to send one after https://github.com/commaai/panda/pull/151
but I can make a single larger Panda PR if you'd prefer.
On Thu, Feb 21, 2019, 9:32 AM rbiasini<EMAIL_ADDRESS>wrote:

@rbiasini commented on this pull request.
In selfdrive/car/chrysler/carcontroller.py
https://github.com/commaai/openpilot/pull/533#discussion_r259035956:

 if not lkas_active:

   apply_steer = 0

apply_steer = apply_toyota_steer_torque_limits(apply_steer, self.apply_steer_last,

                                              CS.steer_torque_motor, SteerLimitParams)

Mmm... I think panda does not let any non-zero going through immediately
after disengagement
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/commaai/openpilot/pull/533#pullrequestreview-206441904,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAb0y0SjbyQ1rU1UeFUlzX3zjLgqHw3Wks5vPtg7gaJpZM4bG3Wk
.

@adhintz commaai/panda#151 is merged. You sure that you have faults if you put the rate limiter before the lkas_active check?. I remember spending a bit of time on this and concluded it wasn't an issue.

TODOs:
1- https://github.com/commaai/opendbc/commit/ecf99e038c4518341486157b2f6980ac7fff8491 needs to be in this PR
2- update README with new car supports
3- update panda with modified safety code
We can make a patch for 1 and 2.

You're right. I reverted the change so it will now go down to 0 instantly. It worked fine on three drives this evening and didn't fault anything.

@adhintz commaai/panda#151 is merged. You sure that you have faults if you put the rate limiter before the lkas_active check?. I remember spending a bit of time on this and concluded it wasn't an issue.

Merged in #537. Thanks!


Architectural improvements were made. Logic has left the ui. Added do…

Hi,
I reviewed your project and wanted to make some changes. With the changes, you can expand the project more comfortably. I tried to implement the architectural structure suggested by Google.

Hi, I reviewed your project and wanted to make some changes. With the changes, you can expand the project more comfortably. I tried to implement the architectural structure suggested by Google.

It was an application that I developed quickly. Thank you so much, this is so much better. 🥳

When I click the Generate Password button, I can't get interaction without making a selection (uppercase or lowercase). Can you check it?

Let me test and check the bug

Let me test and check the bug

Thank you so much. Controls depended on the state of the switch structure being open. Password was not generated when uppercase or lowecase was not selected. For this, I tried to use the control you wrote by turning it into a method and giving it the necessary values. Seems to be ok now


Error handling for OS X system limits

If too many fsevents instances are spawned, the underlying system components start to print errors that can't be caught in node-land.
Node.js dealt with the same thing for fs.watch at https://github.com/joyent/node/issues/5463. The solution is in libuv at https://github.com/joyent/libuv/pull/894, but has not been backported to node 0.10.x.
The limit is 400-something, and I haven't come across any way to change it. As @indutny said, it almost seems like a practical joke Apple is playing on us.
I'm not sure that the fsevents module ought to be rearranged as substantially as was done there, but if it could at least catch these errors and expose them via regular node callbacks or events that would be a great start in being able to come up with more elegant solutions to this limitation.

Closing since there's little than can actually be done here right now.

Yeah it's ok, I was able to come up with a pretty good workaround for this within chokidar.

The real solution is in usage. You should watch the parent folder of all the ones you want to watch and then filter the events rather than watching many, many folders separately.


Improve look and feel (do not merge)

This is a PR for me to directly test the internal pr ci/cd process.
Don't merge.

Don't merge.


WIP: Deflake e2e tests

What type of PR is this?
/kind failing-test
What this PR does / why we need it:
Which issue(s) this PR fixes:
None
Does this PR have test?
None
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

Codecov Report

Merging #480 (d2106b4) into master (fd1f6ee) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #480   +/-   ##
=======================================
  Coverage   37.92%   37.92%
=======================================
  Files          23       23
  Lines        1110     1110
=======================================
  Hits          421      421
  Misses        674      674
  Partials       15       15

/test pull-security-profiles-operator-test-e2e

/test pull-security-profiles-operator-test-e2e

/test pull-security-profiles-operator-test-e2e

For the vagrant based test its DNS:
curl: (6) Could not resolve host: metrics.security-profiles-operator

/retest

/test pull-security-profiles-operator-test-e2e

/test pull-security-profiles-operator-test-e2e

/retest

/retest

/retest

/retest

@JAORMX @jhrozek PTAL

Following up in https://github.com/kubernetes-sigs/security-profiles-operator/pull/482


Error when i run the command to sign in

The name org.freedesktop.secrets was not provided by any .service files

oh pacman -S gnome-keyring seems to have fixed this issue

Hi @HeCodes2Much, you're running on Linux?

yes im running it on arch linux and yes it works right after i added gnome-keyring

Thanks for letting us know.  We'll update the README.md to include a note if you're running on Arch Linux.
@all-contributors please add @HeCodes2Much for userTesting


[TF Lite C API] XNNPACK option not available using C API

System information

Have I written custom code (as opposed to using a stock example script
provided in TensorFlow): yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04): macOS 11.4
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue
happens on a mobile device: Pixel 4
TensorFlow installed from (source or binary): binary
TensorFlow version (use command below): tensorflow-lite-2.5.0  AAR
Python version: 3.7
Bazel version (if compiling from source):
GCC/Compiler version (if compiling from source):
CUDA/cuDNN version: n/a
GPU model and memory:
Exact command to reproduce:

Describe the problem
I am using TFlite C API available with tensorflow-lite-2.5.0  AAR  binary downloaded from Maven. I can not find any way of setting XNNPACK.
I am looking for C API to enable XNNPACK (not ObjC, or Java), something like this:
TFL_CAPI_EXPORT extern void TfLiteInterpreterOptionsSetXNNPACK(TfLiteInterpreterOptions* options, bool enable);

unless it is already available in some form

@multiverse-tf @Maratyszcza could you take a look?

I think you may be able to enable XNNPACK in the C API by using the
TfLiteXNNPackDelegateCreate function from
tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h to create a delegate,
and then passing that delegate to the TfLiteInterpreterOptionsAddDelegate function
(or the TfLiteInterpreterModifyGraphWithDelegate function in older versions)?

@sivers2021 Could you please refer to the above comment and let us know the outcome? Thanks!


window.openFilesInNewWindow: 'default' update

VSCode Version: 1.13
OS Version: Windows 10 x64 pro

With window.openFilesInNewWindow now defaulting to off ; I would really like to see the behavior of the default option be retooled;
From the current: files will open in the window with the files' folder open or the last active window unless opened via the dock or from finder (macOS only)
To: If file is present in a folder which is open in an existing editor, open therein. Else file(s) will be opened in a new editor
Primary change being the removal of most recent editor
Specifically this becomes annoying for me when opening files from the context menu in Windows explorer.

This was annoying me as well. I proposed some ideas about that in #26216.

This feature request will not be considered in the next 6-12 months roadmap and as such will be closed to keep the number of issues we have to maintain actionable. Thanks for understanding and happy coding!


Add seed section into JSON formatter

I want to seed infomation in JSON output. Because, current RSpec default order option is rand.

huh, I could have sworn we already did this. LGTM, thanks for contribution!
Looks like some of the build failures are relevant due to line number shifting in the spec files(!?) There has to be a better way...

Thanks for your review. I'll try fix specs.

I fixed CI failure. How about this?

Great! Thanks.

Thank you!!


Improve test coverage

The matrix testing strategy builds the system under test with the following combination of nomad and consul acl values:

test (consul_acl_enabled, consul_acl_allow, nomad_acl_enabled)
test (consul_acl_enabled, consul_acl_allow, nomad_acl_disabled)
test (consul_acl_enabled, consul_acl_deny, nomad_acl_enabled)
test (consul_acl_enabled, consul_acl_deny, nomad_acl_disabled)
5.test (consul_acl_disabled, consul_acl_allow, nomad_acl_enabled)
6.test (consul_acl_disabled, consul_acl_allow, nomad_acl_disabled)

The task is to figure out if we have tests that cover each of the above mentioned combinations/paths. Also, it will be better to add these tests in a separate file(move them out of the bootstrap.yml) so that it is easier to locate them.

@pdmthorsrud : Does this main.tf cover both the cases when?

nomad_acl = true
nomad_acl = false

Also, does the following o/p from the test certifies that the job is running and is in healthy state? It says created so am not sure about the running state.
nomad_job.countdash: Creating... nomad_job.countdash: Still creating... [10s elapsed] nomad_job.countdash: Still creating... [20s elapsed] nomad_job.countdash: Still creating... [30s elapsed] nomad_job.countdash: Creation complete after 35s [id=countdash]

@pdmthorsrud : Does this main.tf cover both the cases when?

nomad_acl = true
nomad_acl = false

I believe this covers acls on and off, yes. If ACLs are on, but not working properly this code would fail.

Also, does the following o/p from the test certify that the job is running and is in healthy state? It says created so am not sure about the running state.
nomad_job.countdash: Creating... nomad_job.countdash: Still creating... [10s elapsed] nomad_job.countdash: Still creating... [20s elapsed] nomad_job.countdash: Still creating... [30s elapsed] nomad_job.countdash: Creation complete after 35s [id=countdash]

This indicates a job is running and healthy, correct. This task will not finish unless the task is healthy in nomad.

@pdmthorsrud :Great! I wonder if it would be useful to add a negative test here like where we expect the terraform to fail when the nomad_acl is set to true?

@pdmthorsrud :Great! I wonder if it would be useful to add a negative test here like where we expect the terraform to fail when the nomad_acl is set to true?

I agree

Also, does the following o/p from the test certify that the job is running and is in healthy state? It says created so am not sure about the running state.
nomad_job.countdash: Creating... nomad_job.countdash: Still creating... [10s elapsed] nomad_job.countdash: Still creating... [20s elapsed] nomad_job.countdash: Still creating... [30s elapsed] nomad_job.countdash: Creation complete after 35s [id=countdash]

This indicates a job is running and healthy, correct. This task will not finish unless the task is healthy in nomad.
This is only true if the job has a functioning health check. This example currently does not.

This indicates a job is running and healthy, correct. This task will not finish unless the task is healthy in nomad.
This is only true if the job has a functioning health check. This example currently does not.

You are totally right.
I would also like to point out that this does indeed fail if nomad acls are not working properly, but are not testing that directly. This code will actually fail if there has been some error with writing the tokens to nomad or creating the roles, which CAN fail even though the nomad ACLs might be working the way they should.

@fredrikhgrelland  @pdmthorsrud  @Neha-Sinha2305 Could we discuss case.1 and case.2  (consul_acl_enabled, consul_acl_allow, ...)
Is it realistic scenarios for setup when consul ACL enabled but default_policy=allow?

@fredrikhgrelland @pdmthorsrud @Neha-Sinha2305 Could we discuss case.1 and case.2 (consul_acl_enabled, consul_acl_allow, ...)

Are these two realistic scenarios for setup, when consul ACL enabled but default_policy=allow?
In which case and how we should test these cases?

First thought is a case where you want to test and get to know nomad ACLs, without necessarilly having to handle other restrictions within the hashistack.

1.I would like to answer this with a counter question : If this is not realistic scenario then why consul will have such a feature? They should only have the deny as the policy when acl is enabled.

We will never use default allow in a real world usecase, but it is very useful to be able to set it while using the box for development. e.g. intentions are enabled, but not enforced.
So - we do not need a test for allow, but we need a test to ensure acls are enabled and in use. I think you are right.. that leaves us with TESTING for acl_enabled(default_deny) and acl_disabled(whatever).

We will never use default allow in a real world usecase, but it is very useful to be able to set it while using the box for development. e.g. intentions are enabled, but not enforced.
So - we do not need a test for allow, but we need a test to ensure acls are enabled and in use. I think you are right.. that leaves us with TESTING for acl_enabled(default_deny) and acl_disabled(whatever).

Isn't acl_disabled the default configuration? Tests for this config could be skipped as we don not add any code to disable it so should work out of the box.

So Case #1 and #2 have been removed from the test matrix.


Incorrect automatic import path for React in JavaScript projects

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.66.0-insider (Universal)
OS Version: macOS 12.2.1 (21D62)

Steps to Reproduce:

Create a new Next.js project using npx create-next-app@latest (which is using React 17.0.2)
Open the project and type a React function such as useState

The suggestions all point to react/cjs/react.production.min, react/cjs/react.production or react/cjs/react.development.
Same problem as https://github.com/microsoft/TypeScript/issues/47601 but this is a JavaScript project, not a TypeScript project.

Please try upgrading your TS version as covered in the linked issue: https://github.com/microsoft/TypeScript/issues/47601#issuecomment-1021599387

It does fix the problem but there's no issue open I can see tracking this for JavaScript projects specifically in VSCode and it's still present in the latest Insiders. Do you have an issue open that people can follow for tracking the underlying problem or which VSCode version it's going to be fixed in please?

Thanks for testing. TypeScript powers VS Code's JS intellsense too so this is a duplicate of that linked issue
It will be fixed when we pick up the new TS version (or you can use the nightly TS extension until then)


Nuxt Build Error: The requested module 'node:module' does not provide an export named 'isBuiltin'

Describe the bug
Hi. I have some problem.
I have nuxt 3.8.2. Everything works well on the local machine, but when I install it on vps an error appears. The only thing I did that caused an error was to install Nuxt Simple Sitemap. Only on static site generation.
I looked for a solution, but all the suggestions did not help: I changed node versions, deleted the yarn.lock file, updated all packages using yarn upgrade. Maybe someone encountered an error?
Full error text:
ERROR  Nuxt Build Error: The requested module 'node:module' does not provide an export named 'isBuiltin'                                                          2:23:53 PM
import { isBuiltin } from 'node:module';
^^^^^^^^^
SyntaxError: The requested module 'node:module' does not provide an export named 'isBuiltin'
at ModuleJob._instantiate (node:internal/modules/esm/module_job:128:21)
at async ModuleJob.run (node:internal/modules/esm/module_job:194:5)
at async Promise.all (index 0)
at async ESMLoader.import (node:internal/modules/esm/loader:409:24)
at async bundle (node_modules/nuxt/dist/index.mjs:4512:76)
at async Promise.all (index 1)
at async build (node_modules/nuxt/dist/index.mjs:4388:5)
at async Object.run (node_modules/nuxi/dist/chunks/build.mjs:98:5)
at async Object.run (node_modules/nuxi/dist/chunks/generate.mjs:59:5)
at async runCommand$1 (node_modules/nuxi/dist/shared/nuxi.4fde776c.mjs:1648:16)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
package.json:
{
"name": "nuxt-app",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev --port 3005",
"generate": "nuxt generate",
"preview": "nuxt preview",
"postinstall": "nuxt prepare",
"lint:js": "eslint --ext ".ts,.vue" --ignore-path .gitignore .",
"lint:prettier": "prettier --check .",
"lint": "yarn lint:js && yarn lint:prettier",
"lintfix": "prettier --write --list-different . && yarn lint:js --fix"
},
"devDependencies": {
"@nuxt/devtools": "latest",
"@nuxtjs/eslint-config-typescript": "^12.0.0",
"@typescript-eslint/parser": "^6.4.1",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"nuxt": "^3.7.0",
"nuxt-simple-sitemap": "^4.1.7",
"prettier": "^3.0.2",
"typescript": "^5.2.2"
},
"dependencies": {
"@nuxt/image": "^1.0.0-rc.3",
"@pinia/nuxt": "^0.4.11",
"pinia": "^2.1.6",
"sass": "^1.69.5",
"sass-loader": "^13.3.2",
"vue3-carousel-nuxt": "^1.1.0"
}
}
nuxt.config:
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
ssr: true,
$production: {
routeRules: {
"/": { isr: true },
},
},
$development: {
routeRules: {
"/": { isr: true },
},
},
nitro: {
prerender: {
crawlLinks: true,
failOnError: false,
},
},
css: ["~/assets/css/reset.css", "~/assets/css/main.css"],
modules: [
"nuxt-simple-sitemap",
"@pinia/nuxt",
"@nuxt/image",
"vue3-carousel-nuxt",
],
carousel: {
prefix: "First",
},
site: {
url: "https://site.com",
},
});
Reproduction
Error immediately after installing Nuxt Simple Sitemap. When generating a site statically
System / Nuxt Info
System:
    OS: Linux 5.15 Ubuntu 22.04 LTS 22.04 LTS (Jammy Jellyfish)
    CPU: (2) x64 Intel(R) Xeon(R) Gold 6240R CPU @ 2.40GHz
    Memory: 1.01 GB / 1.92 GB
    Shell: 5.1.16 - /bin/bash
  Binaries:
    Node: 18.18.0 - ~/.nvm/versions/node/v18.18.0/bin/node
    Yarn: 1.22.18 - /usr/bin/yarn
    npm: 9.8.1 - ~/.nvm/versions/node/v18.18.0/bin/npm

Please see here https://github.com/nuxt/nuxt/issues/24402

yeap, I did everything from this issue nuxt/nuxt/issues/24402. Its't help in my case


挂载在域名子目录 下的博客，搜索结果路径问题

Expected behavior (预期行为)
next主题搜索功能，搜索内容打开，博客挂载在子目录如:xxxx.com/code，预期搜索文章路径为:
http://xxx.com/code/2016/08/22/xxxxxxx
Actual behavior (实际行为)
搜索帖子的连接为http://xxx.com/code/code/2016/08/22/xxxxxxx
Steps to reproduce the behavior (重现步骤)
NexT Informations
Add the  ✔  sign before an item which is affected by this behavior.
NexT Version:

Latest Release

NexT Scheme:

All schemes

Other Informations (Like Browser, System, Screenshots)

插件更新下试试

@laoqiren dont understand u, write in English if not solved. If solved, close it please. Thank's!


Only allow returned deleted branche to be on repo

This will only allow GetDeletedBranchByID to return deletedBranch
which are on the repo, and thus don't return a deletedBranch from
another repo.
This just should prevent possible bugs in the future when code is
passing the wrong ID into this function.

Codecov Report

Merging #17570 (edbc955) into main (ebaf4c4) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main   #17570      +/-   ##
==========================================
- Coverage   45.48%   45.48%   -0.01%
==========================================
  Files         793      793
  Lines       88846    88846
==========================================
- Hits        40410    40409       -1
  Misses      41921    41921
- Partials     6515     6516       +1

Impacted Files
Coverage Δ

models/branches.go
47.73% <100.00%> (+0.60%)
:arrow_up:

models/unit.go
41.09% <0.00%> (-2.74%)
:arrow_down:

modules/process/manager.go
72.83% <0.00%> (-2.47%)
:arrow_down:

modules/queue/queue_channel.go
95.00% <0.00%> (-1.67%)
:arrow_down:

services/pull/pull.go
41.78% <0.00%> (-0.41%)
:arrow_down:

modules/queue/workerpool.go
48.85% <0.00%> (+0.76%)
:arrow_up:

models/repo_list.go
79.21% <0.00%> (+0.78%)
: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 ebaf4c4...edbc955. Read the comment docs.


npm support?

Hi, great library, thanks for building it. Do you plan on adding npm support?

Sure, I can do that. I should probably refactor things a bit to bring it more up to date, but for now I'll see if I can't just get a package definition pushed and get it up on npmjs.com.

Thanks @bitwalker, much appreciated!

Done! https://www.npmjs.com/package/keys.js

@bitwalker How do you require keys?
I've tried these, no luck
require('keys.js');
require('keys');

@jamesfzhang Let me take a look, it should just work. Are you using ES6/2015-style require/import, or require.js/some variant?

I'm using ES6 style via https://github.com/browserify-rails/browserify-rails

@jamesfzhang cool, I'll take a look and get back to you soon

@jamesfzhang Found the issue, I can now require the script in Node, so it should work with browserify.
You can do either:
var Keys = require('keys.js');

// or

import {Key, Combo, Bindings} from 'keys.js';

Let me know if you are still running into problems!

@bitwalker I still can't seem to require it via browserify-rails. I suspect it might be related to the . in the library name? If I move the src file from node_modules into my assets pipeline, I can require it relatively. That'll do for now, thanks!

Hmm, I wouldn't think so as there are quite a few libs with the something.js naming scheme, perhaps I'm missing something else. I'll try and find some time to play with it in browserify.

@jamesfzhang I found the problem, I needed to add main to my package.json file. Just did a quick test and it appears to be working properly now. Let me know if you are still having trouble (published a new version 1.0.2 btw).

@bitwalker Works perfectly now, thanks a lot! Cheers.


GenesisData's FromJSON instance may be insufficiently strict, resulting in unevaluated thunks in gdStartTime

Link to relevant source: https://github.com/IntersectMBO/cardano-ledger/blob/14f8c026da66d9bc50cb4ec1147abb368256769a/eras/byron/ledger/impl/src/Cardano/Chain/Genesis/Data.hs#L96
When deserializing a GenesisData using fromJSON, the resulting record will contain unevaluated thunks in its gdStartTime :: UTCTime field, which can be discovered using its NoThunks instance.
I'm not sure whether this should be considered a bug, though, or if it's just unexpected behaviour, especially when it's a situation like this that's ultimately unlikely to result in a space leak.

Should the FromJSON instance force its result completely?
Should the NoThunks instance accept unevaluated thunks within gdStartTime?
Should we (i.e. consensus) just force the value after we fromJSON it?

Either of these approach will work just fine, since Byron era has very little overhead and any space leaks that could have happen can't pose a problem for us. That being said, can make the nothunks tests happy.

Should the FromJSON instance force its result completely?
Should the NoThunks instance accept unevaluated thunks within gdStartTime?

I am leaning towards the simplest solution of just forcing the field in FromJSON instance with (id <$!!> fromJSField obj "startTime")


Cannot convert undefined or null to object when onBeforeRender hook has no return

Description
Got the following error when I clicked on a page that client-side rendered in.
TypeError: Cannot convert undefined or null to object
    at Function.getOwnPropertyDescriptors (<anonymous>)
    at objectAssign (objectAssign.js?v=9689845f:6:41)
    at executeOnBeforeRenderHookClientSide (getPageContext.js?v=9689845f:140:5)
    at async getPageContextAlreadyRouted (getPageContext.js?v=9689845f:116:37)
    at async getPageContextUponNavigation (getPageContext.js?v=9689845f:69:39)
    at async getPageContext (getPageContext.js?v=9689845f:31:37)
    at async fetchAndRender (useClientRouter.js?v=9689845f:137:35)

The error was thrown because the onBeforeRender hook did not have a return value, since I was just calling a function that operates on the PageContext:
export async function onBeforeRender({ trpc }: PageContext) {
  await trpc?.participant.list.prefetch({ withIdentifiable: true })
  // had to add the following
  return { pageContext: {} }
}

Side tangent: this is a lovely pattern for tRPC and a proper example of this would have been great when I first put this together. I create some tRPC server-side helpers, pass it into the context (undefined on client), use that in some isomorphic onBeforeRender hooks (which only functions in SSR), and later on dehydrate the state and pass it with pageContext to the client:
async function render(pageContext: PageContextServer) {
  const { Page, pageProps } = pageContext

  // dehydrate any tRPC calls in onBeforeRender()
  pageContext.dehydratedQueryState = pageContext.trpc?.dehydrate()

  // ...rest of function
}

Thanks for opening the bug report — fix pre-released as<EMAIL_ADDRESS>
lovely pattern for tRPC

That does ineeded sound neat. Would you be up for putting together a little example? We could then add it to https://vike.dev/tRPC for others to benefit. (And I'm curious about it as well.)

Yeah, would be happy to. I'll figure out the best way to showcase. Would you prefer things stick to the V1 design?
Related to this discussion - when a client-side navigation occurs and the index.pageContext.json is fetched, is there a way to trigger my isomorphic onBeforeRender hook in *.page.tsx server-side? That pattern doesn't appear to be happening, and it may be better to populate dehydratedQueryState server-side in one request rather than client-side.

Yeah, would be happy to.

👍 Looking forward to it.

Would you prefer things stick to the V1 design?

Yea that'd be great as it's soon going to be the only supported design.

Related to this discussion - when a client-side navigation occurs and the index.pageContext.json is fetched, is there a way to trigger my isomorphic onBeforeRender hook in *.page.tsx server-side? That pattern doesn't appear to be happening, and it may be better to populate dehydratedQueryState server-side in one request rather than client-side.

Why not making it server only? You can toggle this on a page-by-page basis.
Btw. I probably told you this already in the past, but in case your company is up for it: https://github.com/sponsors/brillout.

I was trying to avoid multiple files. I'll give it a go.
Do you have a guide on transitioning to the V1 design?
(Also, sponsored 😀)

I've seen 🙂. Thanks a lot 💚.
Yes: https://vike.dev/migration/v1-design. Feel free to let me know if you stumble upon any issues while migrating.
The V1 design is already quite stable: there is only a minor breaking change (which is trivial to apply) coming before its stable release.


Issue with pixel representation

Mac OS Catalina 10.15.4
I get the following error when I change the representation to pixels, or grayscale pixels.
Traceback (most recent call last):

  File "train.py", line 4, in <module>
    env.reset()
  File "/Users/shehrum/Documents/football/football-env/lib/python3.7/site-packages/gym/core.py", line 230, in reset
    return self.env.reset(**kwargs)
  File "/Users/shehrum/Documents/football/football-env/lib/python3.7/site-packages/gym/core.py", line 258, in reset
    return self.observation(observation)
  File "/Users/shehrum/Documents/football/football-env/lib/python3.7/site-packages/gfootball/env/wrappers.py", line 209, in observation
    frame = observation['frame']
KeyError: 'frame'

Code:
import gfootball.env as football_env
import numpy as np
env = football_env.create_environment(representation='pixels',env_name="11_vs_11_hard_stochastic", stacked=False, logdir='logs', write_goal_dumps=False, write_full_episode_dumps=False,write_video=False ,render=False,number_of_left_players_agent_controls=1 ,number_of_right_players_agent_controls=1,rewards='scoring,checkpoints')
env.reset()
steps = 0
n_episodes=1
print(env.observation_spaces.shape)

It works fine if I use the default representation 'extracted'.

I tried with and without render=True but that didn't help

I can reproduce it on Mac and Ubuntu. The problem is gone if you control only one team:
number_of_left_players_agent_controls=1, number_of_right_players_agent_controls=0
@qstanczyk is it designed to be so? Or is it a bug?
@shehrum BTW, you have to use render=True with pixels representation.

Yes, pixel representation depends on the rendering and game renders only a single view. As observations for the right team are mirrored for convenience, we would have to render the scene twice as well. I will update the implementation adding more descriptive error.


NuGet.exe credential providers docs is inconsistent with the consuming packages from authenticated feeds

Especially the part about plugins is not obvious.
Read https://docs.microsoft.com/en-us/nuget/reference/extensibility/nuget-exe-credential-providers.
It's not obvious that https://docs.microsoft.com/en-us/nuget/consume-packages/consuming-packages-authenticated-feeds#nugetexe the env var for the new plugins is different.

@nkolev92 i rewrote the comsuming packages from authenticated feeds doc a few weeks/months ago. Do you still think this issue is relevant?

This issue is for https://learn.microsoft.com/en-us/nuget/reference/extensibility/nuget-exe-credential-providers, which I still think needs an update.


Re-use pyleoclim infrastructure

Currently, cfr only uses pyleoclim for spectral analysis. However, the ProxyRecord class is basically GeoSeries; only "seasonality' is missing.
Making ProxyRecord a child of GeoSeries would enable Pyleoclim functionalities, particularly:

pandas conversion with to_pandas()/from_pandas()
time unit conversions
standardize()
center()
bin()
and maybe more

would be easier to do with lightweight pyleoclim package; see this issue


Unable to startupGameFlowState whenever localization is used

Hi there,
I've been using Articy-Js for a project recently and its been an absolute lifesaver feature wise!
I am however running into an issue when implementing localization as mentioned in the docs.
First off all, due to a lack of webpack I am using an own way of supplying the localized key-value pairs.
I suspect this IS working, because whenever I request a text field for a given node it uses the text from the localization excel.
For reference, I created a single depth array where the key is the LocalD and the value is the string in the Value column.
But when using that same data, whenever I try to startup the gameflow (which is working without localization) it gives me the following error:
TypeError: `target` argument of Proxy must be an object, got undefined
Do you have any clue what might cause this to happen?
Thank you in advance!

Hey there,
First of all, really cool someone's using this. Glad it's (mostly) working for you.
As for your issue, any clue what line is triggering this?
I never ended up using localization in the projects I shipped with this so I'm not surprised there's some hidden bugs.
I'll try to snoop around this evening for the cause.

Hi,
Yeah, its been a really excellent tool for us to use so far, thank you for creating it!
As for the line where it breaks, it happens whenever I try to start a dialogue using startupGameFlowState using an id I know is valid.
And no rush for looking at it though! It would be a nice-to-have for us and we do not depend on it, but I appreciate the effort none the less.


Cannot run multiple processing in a task

If I create a simple task, which has some code which uses the multi processing module of Python, I found that Luigi limits it to one CPU processor, even if there are free CPU processors left.
For example:

def TestTask(luigi.Task):
    def requires(self):
        # some code

    def output(self):
        # some code

    def run(self):
        with Pool(processes=4) as pool:
            results = pool.starmap(func, parameters)

       # some other code

OS: Linux
Python: 3
CPU core: 4
When I run above example, I can clearly find that in System Monitor Pane, only 1 CPU core's occupied ratio is high, while others remain unchanged.
What I supposed is that, if there still are some free CPU, the multi processing module in Luigi should work, which should occupy the other CPUs to run codes.

I have numerous luigi tasks successfully running multiprocessing on multiple CPUs. Can you provide an example of code that has the behavior you expect outside of luigi, but fails when you launch it from within a task?

For anyone bumping to this issue: looks like you cannot use multiprocessing library with Luigi. This is because Luigi internally uses multiprocessing.Pool to launch worker processes which are daemons. These kind of processes are not allowed to launch child process, see docs https://docs.python.org/3.7/library/multiprocessing.html#multiprocessing.Process.daemon


NPM package should point to .min version

The NPM package should point to the minified version instead of the debug one.
The way things are at the moment, can't use for example the AutoTable plugin because that package does a require('jspdf') (when bundling with Webpack for example) -- so the jspdf debug version is getting embeded (which prints out debug statements etc).
It is also a bad practice to make the NPM package point to a debug version instead of the production version.

Agreed, thanks for this!


Add queue name validation

Resolves #39
This PR will add validation to queue names. This is made with a test against this regular expression: [a-z-_ ]{1,50} (from 1 to 50 characters long, only lowercase letters, blank spaces, dashes and underscores)
Also, the blank spaces are translated into dashes after the validation.
Tests are included.

@yeraydavidrodriguez the max length is 30, not 50 because 50 is the recommended max length for a git commit subject.


fix: set up the ci runner for doc deployment

Please read contributing guidelines and remove this line.

#6160  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @just-mitch and the rest of your teammates on  Graphite


mitmproxy: 4.0.4 -> 5.0.1

Motivation for this change
New mitmproxy release https://mitmproxy.org/posts/releases/mitmproxy5/.
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[x] macOS
[x] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

is there still anything to be done by me here?

Why are you adding the Python dependencies here instead of in python3Packages?

@alyssais no particular reason, I can move them python3Packages if it's better to have them there

Artur Cygan<EMAIL_ADDRESS>writes:

@alyssais no particular reason, I can move them python3Packages if
it's better to have them there

That's certainly what's usually done in Nixpkgs.

Looks like it's been already updated in https://github.com/NixOS/nixpkgs/pull/85458


Not meant to duplicate .workshop/scripts from separate repo.

The .workshop/scripts should be a git submodule linked to workshop-scripts repo. Have somehow managed to create it as a copy and not as git submodule, even though .gitmodule exists. So created the wrong way. Will do PR to fix.

Addressed by #24


Coalesce hosting model coverage

Fixes #12099

Internal Review Topic (Servers node overview, Hosting models section)
Internal Review Topic (IIS Overview; Hosting models section)

The live coverage today is spread among:

Web server implementations (Servers node overview)
IIS Overview
ANCM

This seeks to coalesce conceptual coverage under the IIS Overview. The ANCM topic continues to maintain the implementation guidance.
The Servers node overview is left with a quick paragraph on each and cross-links down to the IIS Overview and ANCM topic for the details.
[EDIT] Another way that occurred to me (if IIS is just waaay toooo long now) is to create a new topic under the IIS node for hosting model coverage ... then cross-link to it from these various locations. Let me know if you'd prefer that approach.

@shirhatti We'll hold this here until the "PU"-label issues are addressed. It's probably best if you look :eyes: and confirm that this is what you were hoping for to address the feedback that you received.

Hi @shirhatti Ur doing the doc-a-thon today? If so, is this on your radar?

@Rick-Anderson I recommend we go ahead with this. We can react to PU requests later.


Appearance settings not working properly

Describe the bug
Every time i select the option 1 or 2 (Mica or acrylic) from the "background" section in the appearance settings, they don't apply after restarting the application (option 3 and 4 do apply after a restart).
Steps to reproduce the bug

Run the app
Go to Settings > Appearance
Switch background settings to either option 1 or 2 (Mica or acrylic background)
Restart the application

Expected behavior
Application themes in the option 1 and 2 applying succesfully after selecting them in options and restarting the app
Environment
Windows 11 23H2 (Comp: 22631.4317)
Attachment
Here, in this video i record myself selecting the aforementioned options while switching languages to force a restart on the application.
https://github.com/user-attachments/assets/d0000e74-6152-41b6-867b-71682d27e56f

Please check if other apps with Mica/Acrylic are working properly
Mica/Acrylic may not work because the system settings are incorrect or the power saving mode is turned on

Oh, i didn't know those were applications, my bad. I'll close this one as well, thank you.


Automated minimal quality checks

Just putting this out here as a possible idea, but perhaps we can add some minimal test for working atlases?
These could include:

test on the atlas generation script, formatting, linting and trying to create the atlas (might be hard when it requires data that cannot be downloaded from a website)
test on atlas functionality: minimal tests for compatibility with the Atlas API, rendering in Brianrender etc...

Let me know your thoghts!

Yep, I think this is great idea. Ideally it could run in GH actions too, as part of improving the experience for new contributors.

also this could include a check so that https://github.com/brainglobe/bg-atlasapi/issues/163 can't happen again!


Convert AWS schema into localhost

Prerequisites

[ ] Can you reproduce the problem in safe mode?
[x] Are you running the latest version?
[ ] Did you check the debugging guide?
[ ] Did you check the FAQs on Discuss?
[ ] Are you reporting to the correct repository?
[ ] Did you perform a cursory search?

For more information, see the CONTRIBUTING guide.
Description
[Description of the bug or feature]
Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Versions
You can get this information from executing npm version.

Ho to convert amazon dynamodb schema into localhost that we can safely import into local dynamodb instance.