PfxImportPS - Update required permissions and .net version to 4.7.2

Update the list of required permissions in readme.md
Update .net version in PfxImportPS to 4.7.2
Fix a null reference exception in error logging
Update VS version hints in .sln to match requirement of VS2019+

My bad, was looking at the wrong branch.


[Dubbo-4183] Fix unstable tests in ConditionRouterTest

What is the purpose of the change
Make unit test stable
Brief changelog
Remove network dependency in unit test (ConditionRouterTest) close #4183
Ignore unstable test  (EtcdMetadataReportTest) refer #4185
Verifying this change
CI Pass
Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Make sure there is a GITHUB_issue field for the change (usually before you start working on it). Trivial changes like typos do not require a GITHUB issue. Your pull request should address just this issue, without pulling in other changes - one PR resolves one issue.
[ ] Format the pull request title like [Dubbo-XXX] Fix UnknownException when host config not exist #XXX. Each commit in the pull request should have a meaningful subject line and body.
[x] Write a pull request description that is detailed enough to understand what the pull request does, how, and why.
[x] Write necessary unit-test to verify your logic correction, more mock a little better when cross module dependency exist. If the new feature or significant change is committed, please remember to add sample in dubbo samples project.
[x] Run mvn clean install -DskipTests=false & mvn clean test-compile failsafe:integration-test to make sure unit-test and integration-test pass.
[x] If this contribution is large, please follow the Software Donation Guide.

Codecov Report

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

@@            Coverage Diff            @@
##             master    #4226   +/-   ##
=========================================
  Coverage          ?   62.89%
  Complexity        ?      505
=========================================
  Files             ?      769
  Lines             ?    33058
  Branches          ?     5217
=========================================
  Hits              ?    20791
  Misses            ?     9869
  Partials          ?     2398

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 7f7a289...a405a85. Read the comment docs.

testStoreProvider still need someone to have a look. that issue will not close by this PR

check CRLF or LF line separators in ConditionRouterTest.java.
Fixed


RANCHER cattle error

while building Rancher ui(cattle) i am getting an  #Error connecting to proxy
and
[ember-intl] cannot read path "/home/dev/ui/tmp/translation_reducer-input_base_path-CsIIuVWh.tmp/__addon__pipeline/ja-jp.yaml"
[ember-intl] cannot read path "/home/dev/ui/tmp/translation_reducer-input_base_path-CsIIuVWh.tmp/__addon__alert/ja-jp.yaml"

I guess it is a random issue.
Can you try ./scripts/update-dependencies and ./scripts/build-static -s?

I to build the RANCHER ui(cattle) with same command  # ./scripts/update-dependencies.
But while starting RANCHER ui(cattle) using  // yarn start  command i am getting the same error
#Error connecting to proxy
and
[ember-intl] cannot read path "/home/dev/ui/tmp/translation_reducer-input_base_path-CsIIuVWh.tmp/__addon__pipeline/ja-jp.yaml"
[ember-intl] cannot read path "/home/dev/ui/tmp/translation_reducer-input_base_path-CsIIuVWh.tmp/__addon__alert/ja-jp.yaml"

Not sure if it is related to node version. Please try to remove the /home/dev/ui/tmp/ folder and try again.

Please let us know in a comment if you can still reproduce the issue, and we'll reopen it


[C][Python] Vendor pythoncapi-compat instead of adjusting changes manually

Describe the enhancement requested
This issue is an enhancement follow up from this comment: https://github.com/apache/arrow/pull/42034#issuecomment-2158594109
Based on the discussion:
Vendoring it should be trivial: there is a single .h file.
Component(s)
C++, Python

Issue resolved by pull request 43767
https://github.com/apache/arrow/pull/43767


hass command not found

i have python 3.4 installed and i installed using command pip3 install homeassistant
but hass --open-ui does not work

Sounds like hass is not in your path. Are you able to find which directory home-assistant installed into?

there was problem in building PyYaml ....i installed libyaml-dev and its working now ..Thanks !

Hmm, I'm getting the same issue, and I have PyYaml installed just fine. I have home-assistant installed in /Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages

Try running this instead: python3 -m homeassistant
Your python 3 installed scripts probably are not getting added to the path.
On Thu, Mar 24, 2016 at 6:00 PM, Alex Price<EMAIL_ADDRESS>wrote:

Hmm, I'm getting the same issue, and I have PyYaml installed just fine. I
have home-assistant installed in
/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages [image:
screen shot 2016-03-24 at 5 58 11 pm]
https://cloud.githubusercontent.com/assets/1574151/14035328/12e57146-f1ea-11e5-97ae-0ef900112fac.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/701#issuecomment-201089137

--
PaulusSchoutsen.nl
It's nice to be important but it's more important to be nice.


Apply for Reviewer Role

I would like to nominate myself as a reviewer of KubeVela.
I'd be honored if I can continue my contributions as a reviewer and committed to make the community better.
These are my contributions:

https://github.com/kubevela/kubevela/pull/5143
https://github.com/kubevela/kubevela/pull/5187
https://github.com/kubevela/kubevela/pull/5201
https://github.com/kubevela/kubevela/pull/5555
https://github.com/kubevela/kubevela/pull/5206
https://github.com/kubevela/kubevela/pull/5780
https://github.com/kubevela/kubevela.io/pull/1094

+1 Great job! Welcome!

+1 Thanks for your contribution!

+1 thanks for your great contributions!

add:
https://github.com/kubevela/kubevela/pull/5865
https://github.com/kubevela/catalog/pull/684

+1 Good job!

+1 Good job!

@zhaohuiweixiao You can raise a PR in this repo to update your role.

@zhaohuiweixiao You can raise a PR in this repo to update your role.

Ok, thanks for the warning.


How to Open the Access Database File of MDW Used

Hi ,How to open an access database file using MDW, is there an example?

Sorry, the wrong place was mentioned. Please close it


Get-NAVAddIn BC -IncludeResource does not export Resource as Byte[]

It seems Get-NAVAddIn BC -IncludeResource does not export Resource as Byte[]
Steps to reproduce:
1.
$addins = (Get-NAVAddIn BC -IncludeResource) | Where-Object {$_.Description -eq "Microsoft Dynamics BusinessChart control add-in" }
$addins.Resource.GetType()
[Convert]::ToBase64String($addins.Resource)

brings error
Cannot convert argument "inArray", with value: "System.Byte[]", for "ToBase64String" to type "System.Byte[]": "Cannot convert value "System.Byte[]" to type "System.Byte[]". Error: "Cannot
convert value "System.Byte[]" to type "System.Byte". Error: "Input string was not in a correct format."""
    + CategoryInfo          : NotSpecified: (:) [], MethodException
    + FullyQualifiedErrorId : MethodArgumentConversionInvalidCastArgument

Use Case
Writing addins into XML file and import / insert addins into a other database, e.g. as a custom upgrade step (create XML file)
((Get-NAVAddIn BC -IncludeResource) | ForEach-Object { $_.ResourceBase64 = [Convert]::ToBase64String($_.Resource) }) | Export-Clixml -Path .\my\addins.xml

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

ID: 2ed8fecc-d4d1-eb37-e3fd-0bf7f39f096f
Version Independent ID: ca1fcab0-4eff-b883-7d64-bccd0e899ca8
Content: Get-NAVAddIn (Microsoft.Dynamics.Nav.Management)
Content Source: businesscentral-ps-15/Microsoft.Dynamics.Nav.Management/Get-NAVAddIn.md

Hello, this repo is for reporting documentation issues only, please file a bug through your usual support channel for this. Thanks.


[UX] [Publisher] Change the no certificates error message to info message

Description:
No certificates message is displayed in a error message format, add it as a info message as shown below

Info message

Suggested Labels:
UX, improvement
Affected Product Version:
2.2.0

PR - https://github.com/wso2/carbon-apimgt/pull/5474


Deprecate loginContext API and use https://localhost:9443/api/identity/auth/v1.1/data// API

In order to check whether a valid session is available currently we use loginContext API. We need to deprecate this API and use https://localhost:9443/api/identity/auth/v1.1/data// API.
Sample : curl -k -X GET "https://localhost:9443/api/identity/auth/v1.1/data/AuthRequestKey/9d020b80-ff15-4468-87e0-4fddf2cb6a1d" -H "Authorization: Basic YWRtaW46YWRtaW4" -H "accept:application/json"

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


HHH-7681 - Fake bidirectional collection changes lead to null audit values.

https://hibernate.atlassian.net/browse/HHH-7681

Applied upstream.


update multiple md files.

Resolve issue #425, #431, #433, #437, #518

@sarahg500 should be starting a pull request


Add support for C-p/C-n for prev/next in history.

This commit also makes some adjustments to the history code
that hopefully make it a bit clearer what is going on.
It also makes a change to cursor positioning. In most
readline-based programs (e.g. bash), if the cursor is
currently at the end of the line, it will remain at the
end of the line after moving through the history. The
current behavior leaves the cursor at position 0. With
this change, a specific check is made to see if the
cursor is at the end of line, and if so the cursor
is moved to the "new" end of the line.

In most readline-based programs (e.g. bash), if the cursor is currently at the end of the line, it will remain at the end of the line after moving through the history.

From my experimentation, it seems that in Bash/Python/ghci, the cursor is always set to the end of the line after navigating in history, no matter where it was before you navigated. Should we do that instead? It seems to me that would simplify things.

Thanks!


weights initialized two times

Hi,
I found that you initilized all weights twice:
The first one is in BertModel class:
https://github.com/huggingface/pytorch-pretrained-BERT/blob/3ba5470eb85464df62f324bea88e20da234c423f/pytorch_pretrained_bert/modeling.py#L586
And the second one is in classes of each tasks such as in BertForSequenceClassification class:
https://github.com/huggingface/pytorch-pretrained-BERT/blob/3ba5470eb85464df62f324bea88e20da234c423f/pytorch_pretrained_bert/modeling.py#L674
I think maybe you only need the second one?

I think it required for both the places. Because both of them can be used individually. As it is mentioned in the README.md file, the model can be loaded with 7 classes. In fact if you check BertForMaskedLM and BertForNextSentencePrediction classes it also has the weights initialised.
Please correct me if I am wrong :)

You are right @Arjunsankarlal :-)


Excel] (custom functions) remove 'UI-less' terminology

Docs Build status updates of commit 4d1041f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/json-manifest-overview.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-authentication.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-debugging.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-runtime.md
:white_check_mark:Succeeded
View

docs/includes/office-js-api-models.md
:white_check_mark:Succeeded
View

docs/resources/resources-glossary.md
:white_check_mark:Succeeded
View

docs/testing/debug-add-ins-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

docs/tutorials/share-data-and-events-between-custom-functions-and-the-task-pane-tutorial.md
:white_check_mark:Succeeded
View

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 338ba41:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/json-manifest-overview.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-authentication.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-debugging.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-runtime.md
:white_check_mark:Succeeded
View

docs/includes/office-js-api-models.md
:white_check_mark:Succeeded
View

docs/resources/resources-glossary.md
:white_check_mark:Succeeded
View

docs/testing/debug-add-ins-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

docs/tutorials/share-data-and-events-between-custom-functions-and-the-task-pane-tutorial.md
:white_check_mark:Succeeded
View

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 9e30a9f:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/develop/json-manifest-overview.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-authentication.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-debugging.md
:white_check_mark:Succeeded
View

docs/excel/custom-functions-runtime.md
:white_check_mark:Succeeded
View

docs/includes/office-js-api-models.md
:white_check_mark:Succeeded
View

docs/resources/resources-glossary.md
:white_check_mark:Succeeded
View

docs/testing/debug-add-ins-overview.md
:white_check_mark:Succeeded
View

docs/toc.yml
:white_check_mark:Succeeded
View

docs/tutorials/share-data-and-events-between-custom-functions-and-the-task-pane-tutorial.md
:white_check_mark:Succeeded
View

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


Update README.md with cloudflare example

Great project !
I thought of an example to add in the readme

Thank you


LSNBLDR-637 Add option to personalize text in Lessons

Add feature and sakai property that controls the ability for users to personalize text in Lessons via {{firstname}}, {{lastname}}, or {{fullname}}.

I think this change as-is is "fine", but I don't consider it ideal. Since it's just specific to Lessons rather than usable in other tools (through something like kernel escapeHtml) and exporting it to any other system won't work since this is Sakai specific. I also don't think many users will know about this feature, especially if it's off by default.
It may be hard Sakai wide though because some tools may not filter on output, only filtering on input. So I guess that may just be a bigger feature request for a future issue.


Avoid taking ownership of Arc<Frame> in scenechange API

The current use of taking ownership of the passed in Arc<Frame<T>> in the scenechange module becomes problematic when trying to pass in a struct wrapped in ManuallyDrop, as it attempts to run the destructor and you can't coerce a ManuallyDrop<Arc<Frame<T>>> into an Arc<Frame<T>> that doesn't run the destructor.

There seems to be some issues with this PR when compiling with channel-api enabled. I'll try to look more into this tomorrow.

Coverage decreased (-0.9%) to 84.189% when pulling 896fea713af178d95dc57d2a24711f5c6ce31e37 on redzic:arc-ref-sc into 182bbff8c4398af56123977ac91f1f3f589fbd85 on xiph:master.


Iris does not recognise x and y coordinates of netCDF files with rotated mercator projection

🐛 Bug Report

When loading a model that uses the rotated mercator projection, iris does not recognise the co-ordinate system and the resulting x and y coordinates of the iris cube are anonymous. No warnings or errors are printed.
How To Reproduce
Steps to reproduce the behaviour:
Load this file for example: /project/champ/data/cordex/output/SAM-44/ICTP/MOHC-HadGEM2-ES/historical/r1i1p1/RegCM4-3/v4/day/pr/v20151029/pr_SAM-44_MOHC-HadGEM2-ES_historical_r1i1p1_ICTP-RegCM4-3_v4_day_1970010112-1975123012.nc
> c = iris.load_cube('/project/champ/data/cordex/output/SAM-44/ICTP/MOHC-HadGEM2-ES/historical/r1i1p1/R
    ...: egCM4-3/v4/day/pr/v20151029/pr_SAM-44_MOHC-HadGEM2-ES_historical_r1i1p1_ICTP-RegCM4-3_v4_day_197601011
    ...: 2-1980123012.nc')

> print(c)
precipitation_flux / (kg m-2 s-1)                (time: 1800; -- : 199; -- : 189)
    Dimension coordinates:
        time                                          x          -         -
    Auxiliary coordinates:
        latitude                                      -          x         x
        longitude                                     -          x         x

Expected behaviour
The x and y co-ordinates of the cube should be recognised as the projection x and y coordinates and have the associated coordinate system metadata associated with them.
Environment

OS & Version: RHEL7
Iris Version: 3.1.0

Additional context
For info:
$ ncdump -h /project/champ/data/cordex/output/SAM-44/ICTP/MOHC-HadGEM2-ES/historical/r1i1p1/RegCM4-3/v4/day/pr/v20151029/pr_SAM-44_MOHC-HadGEM2-ES_historical_r1i1p1_ICTP-RegCM4-3_v4_day_1970010112-1975123012.nc
netcdf pr_SAM-44_MOHC-HadGEM2-ES_historical_r1i1p1_ICTP-RegCM4-3_v4_day_1970010112-1975123012 {
dimensions:
	time = UNLIMITED ; // (2160 currently)
	time_bnds = 2 ;
	y = 199 ;
	x = 189 ;
variables:
	double time_bnds(time, time_bnds) ;
		time_bnds:units = "days since 1949-12-01 00:00:00 UTC" ;
		time_bnds:calendar = "360_day" ;
	double lat(y, x) ;
		lat:standard_name = "latitude" ;
		lat:long_name = "Latitude at cross points" ;
		lat:units = "degrees_north" ;
	double lon(y, x) ;
		lon:standard_name = "longitude" ;
		lon:long_name = "Longitude at cross points" ;
		lon:units = "degrees_east" ;
	double x(x) ;
		x:standard_name = "projection_x_coordinate" ;
		x:long_name = "x-coordinate in Cartesian system" ;
		x:units = "m" ;
		x:axis = "X" ;
	double y(y) ;
		y:standard_name = "projection_y_coordinate" ;
		y:long_name = "y-coordinate in Cartesian system" ;
		y:units = "m" ;
		y:axis = "Y" ;
	int crs ;
		crs:grid_mapping_name = "rotated_mercator" ;
		crs:latitude_of_projection_origin = -22. ;
		crs:longitude_of_projection_origin = -59. ;
		crs:scale_factor_at_projection_origin = 1. ;
		crs:semi_major_axis = 6371229. ;
		crs:inverse_flattening = 0. ;
		crs:_CoordinateTransformType = "Projection" ;
		crs:_CoordinateAxisTypes = "GeoX GeoY" ;
		crs:false_easting = -25000. ;
		crs:false_northing = -25000. ;
	double time(time) ;
		time:standard_name = "time" ;
		time:long_name = "time" ;
		time:calendar = "360_day" ;
		time:units = "days since 1949-12-01 00:00:00 UTC" ;
		time:bounds = "time_bnds" ;
	float pr(time, y, x) ;
		pr:cell_methods = "time: mean" ;
		pr:standard_name = "precipitation_flux" ;
		pr:long_name = "Precipitation" ;
		pr:units = "kg m-2 s-1" ;
		pr:coordinates = "lat lon" ;
		pr:grid_mapping = "crs" ;

Thanks @thomascrocker. This has come up multiple times in the last few weeks. Unfortunately SciTools/cartopy#1618 blocks us implementing this in our current structure. #4643 offers a solution, but it's a big one - make sure you get your votes in for that!

Thanks for the heads up, have voted for #4643 !

Just to clarify: both available solutions there would still not support rotated_mercator directly, because that is not a recognised grid mapping in the CF conventions.
What they would support is oblique_mercator, which can be used to handle rotated mercator by setting the azimuth to 90.
How important is it to you that iris loads rotated_mercator directly @thomascrocker ? Instead of requiring you to make this modification in the files beforehand.

Ah I see. Ultimately this is model data that is part of a wider collection of model data available via ESGF. Having to modify the files beforehand is a bit of a pain if using something like ESMValTool for processing, since the model for that software is to work with a centrally downloaded collection of model data which is identical to the "official" files as downloaded from ESGF.
My knowledge of projections is not advanced enough to know how easy this would be... but a workaround would be adding a fix to ESMValTool that could modify the rotated_mercator projection to oblique_mercator as part of "on the fly" CMOR fixes that are applied at the point of loading a file.
Tagging @nhsavage for info.

Update: Cartopy now includes code supporting Oblique Mercator. Once that feature makes it into a release, this will enable development within Iris.

Big thanks @bjlittle!


Provide APIs to configure signup flow against applications and perform registration against it

Is your feature request related to a problem? Please describe.
The onboarding experience that one application wants to give its users may differ from another. So the application developer may configure their own flow for the registration.
These applications may need their own registration portals rather than redirecting users to the IS-provided registration page. Therefore, there should be an API that the developers can use to retrieve the configured registered flow and render the UIs accordingly.
Describe the solution you would prefer
Provide a set of APIs to configure a signup flow against an application and to perform the user registration against the configured signup flow.
First, priority should be given to the blocking use cases including

registering with username/pwd with/without verification based on identifier (like email/sms verification), social login and passwordless options (email magic link, email OTP, SMS OTP)
onboarding the second factor during the registration (TOTP)
attribute collection at the registration (prompt for firstname, lastname, country)

Additional context

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


[Recorder] Update the documentation based on all of the EPIC changes

Once https://github.com/Azure/azure-sdk-for-js/issues/4229 is finished, make sure the documentation has been properly updated. Make sure that no public method is undocumented.

not relevant anymore


Add ensemble panel plots to support RRFSE.

This reorganizes some of the code to slim-down create_graphics.py to organize data and setup parallelism for the most part. Utilities and graphics-building have been moved out to the adb_graphics package.
The code now supports plotting 12-panel plots to support 10-member forecast ensembles for RRFSE. It will also allow composite reflectivity observations to be plotted on the bottom left panel for those figures.
@cshartsough contributed the design aspect to this work, gathering feedback from the interested AVID ensemble folks and providing the prototypes for how the figures would be built.
Because this is a big structural change, I'll add some comments in-line after I open the PR.
The code has currently been tested for the ensemble case for the 7 major domains, and the same list of fields plotted as a 9-member ensemble in 2021. I will include examples below.
The tests to ensure single figures are still working are pending.

Examples!

Note: The ensemble data and observation data are from separate valid times and are only meant to show design aspects!

@Brian-Jamison The observations are the composite reflectivity observations. They come to us in grib2 format, so that was a mostly straightforward addition. It requires reading in an additional file, but nothing too major.


Fix logic: if user did not specify their own layout or template

This PR includes the needed test fixes missing in #26
The issue was that when the layout file was specified, the plugin was still using ink-docstrap even though it should have been overridden. Now that the logic is being correctly applied, JSDoc attempted to apply the path and theme options to its own template, ignoring the specified .tmpl file. Resetting those values mostly fixed things, but then module.list.html does not exist in the default template, instead we must look in index.html to see the layout file applied.

Coverage increased (+0.03%) to 98.246% when pulling 0a5a9dd180a9b5f425a925ead1011c73177d143c on AndrewGuenther:layout-logic into 19bc7cc2b57c89f96c6846c1f9bb8d11ac696235 on mlucool:master.

@mlucool Could you push new version with that fix to npm?

I will shortly - waiting for a pending PR to do this all at once.


SILGen: Fix bug with bridging peephole

When we peephole away a bridge from Objective-C followed by a
bridge to Objective-C where the destination type is AnyObject,
we need to force the source value if it was an optional.
Fixes rdar://problem/33669575.

@swift-ci Please smoke test

@rjmccall Tsk, tsk.

Hmm.  This is a reasonable short-term fix (and thank you for fixing it), but I wonder if we should just teach the peephole to introduce forces if they were there originally.


devrel looking at boxes, please ignore

Benchmark results
Metrics with a significant change:

batch_insert_into_indexed_tree_20_depth_ms (512): 383 (-32%)

Detailed results
All benchmarks are run on txs on the Benchmarking contract on the repository. Each tx consists of a batch call  to create_note and increment_balance, which guarantees that each tx has a private call, a nested private call, a public call, and a nested public call, as well as an emitted private note, an unencrypted log, and public storage read and write.
This benchmark source data is available in JSON format on S3 here.
Values are compared against data from master at commit 2bbf7a91 and shown if the difference exceeds 1%.
L2 block published to L1
Each column represents the number of txs on an L2 block published to L1.

Metric
8 txs
32 txs
128 txs

l1_rollup_calldata_size_in_bytes
45,380
179,492
716,036

l1_rollup_calldata_gas
221,168
866,360
3,447,764

l1_rollup_execution_gas
934,695 (+1%)
3,969,953 (+2%)
24,795,367 (+3%)

l2_block_processing_time_in_ms
1,434 (-11%)
5,334
21,965

note_successful_decrypting_time_in_ms
315 (-1%)
945 (+1%)
3,399 (+1%)

note_trial_decrypting_time_in_ms
24.4 (-5%)
73.6 (+20%)
146 (+4%)

l2_block_building_time_in_ms
16,158
64,084
256,547

l2_block_rollup_simulation_time_in_ms
11,748
46,664
187,216

l2_block_public_tx_process_time_in_ms
4,371
17,332
69,045

L2 chain processing
Each column represents the number of blocks on the L2 chain where each block has 16 txs.

Metric
5 blocks
10 blocks

node_history_sync_time_in_ms
15,878 (-1%)
30,243 (-2%)

note_history_successful_decrypting_time_in_ms
2,153
4,236 (-7%)

note_history_trial_decrypting_time_in_ms
113 (-4%)
178 (-14%)

node_database_size_in_bytes
3,582,172
3,642,234

pxe_database_size_in_bytes
29,923
59,478

Circuits stats
Stats on running time and I/O sizes collected for every circuit run across all benchmarks.

Circuit
circuit_simulation_time_in_ms
circuit_input_size_in_bytes
circuit_output_size_in_bytes

private-kernel-init
213
44,681
25,561

private-kernel-ordering
165
43,753
14,809

base-rollup
1,193
128,338
881

root-rollup
78.9 (-5%)
4,088
677

private-kernel-inner
292
71,208
25,561

public-kernel-private-input
206
31,863
25,561

public-kernel-non-first-iteration
204
31,905
25,561

merge-rollup
7.61
2,608
881

Tree insertion stats
The duration to insert a fixed batch of leaves into each tree type.

Metric
0 deployed contracts
1 deployed contracts

tx_size_in_bytes
15,455
32,219

Transaction processing duration by data writes.

Metric
0 new commitments
1 new commitments

tx_pxe_processing_time_ms
375 (-1%)
1,085

Metric
1 public data writes

tx_sequencer_processing_time_ms
536

superseded by some actual work in #4183


VSCode TypeScript error suggestions are slow

Issue Type: Performance Issue
Hello all! Sorry about the vague title.
Our project has had ongoing performance issues with TSC / VSCode, where VSCode is generally very sluggish to update its TypeScript error/warning state.
A few libraries we use may be culprits, but it's difficult to track down what's going on, or if this kind of performance is expected. Two libraries that may be causing us issues are<EMAIL_ADDRESS>and<EMAIL_ADDRESS>I've been able recently to isolate a specific example: when changing a token to something invalid, it takes ~2-3 seconds for a response from TS. This in itself feels slow, but possibly acceptable. However, performance in day-to-day work for our devs can sometimes become really bad, taking up to 10 seconds or just becoming unstable.
I've attached some logs from when I hit the s key on the token onChange, making it become invalid: Isolated Logs.txt
As the stats below show, we do have a large-ish file graph, but it's not too crazy.
I'm happy to provide as much information as needed. Really appreciate any help with this!
VS Code version: Code 1.43.2 (0ba0ca52957102ca3527cf479571617f0de6ed50, 2020-03-24T07:34:57.037Z)
OS version: Darwin x64 19.3.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i9-9980HK CPU @ 2.40GHz (16 x 2400)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
32.00GB (10.69GB free)

Process Argv
--disable-extensions

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   10	   131	 79867	code main
    5	    98	 79896	   gpu-process
    0	    33	 79909	   utility
    6	   393	 79911	   window (Isolated Logs.txt — client)
    0	    98	 79950	     extensionHost
    0	    66	 80458	       /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper (Renderer).app/Contents/MacOS/Code Helper (Renderer) /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=79950
    0	    98	 91429	       electron_node tsserver.js
    0	   819	 91430	       electron_node tsserver.js
    0	    66	 91431	         electron_node typingsInstaller.js typesMap.js
    0	    33	 91222	     watcherService
    0	    66	 91937	     searchService
   52	    98	 80062	   shared-process
    0	     0	 99638	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
   49	    66	 99630	   window (Issue Reporter)

Workspace Info
|  Window (Isolated Logs.txt — client)
|    Folder (client): 9241 files
|      File types: js(3185) map(2350) tsx(912) ts(875) svg(253) scss(193)
|                  png(71) css(40) jpg(36) json(18)
|      Conf files: package.json(4) tsconfig.json(1) tslint.json(1)
|                  settings.json(1);

Extensions disabled

Also, I tested this on Insiders build and it exhibited the same performance.


[PlayState] Add Windows notifications to show that the game is paused or not

Extension name
PlayState
Feature Description
On some games (like Valorant) using the pause feature will minimize the game to show that the game is paused. On Rainmeter I've been using Windows notifications thanks to a Rainmeter plugin and it shows the notification without minimizing the game. So, my suggestion is:

Add the option to change the actual information system to the Windows notification system to avoid minimizing some games.
(Optional) Maybe adding the option to choose what games should use one option and what games the other.

Screenshots
As an idea of what I'm talking about here I let you those screenshots from the Rainmeter skin I mentioned:
Playing:

Paused:

This uses this Rainmeter plugin which points to this Windows documentation page: https://docs.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/adaptive-interactive-toasts?tabs=builder-syntax

Closed with #194


[Bug]: llama 3.1 70b vs mistral-large generation speed

Your current environment
Tested with both v0.5.3.post1 and v0.5.4.
Collecting environment information...
PyTorch version: 2.3.1+cu121
Is debug build: False
CUDA used to build PyTorch: 12.1
ROCM used to build PyTorch: N/A

OS: Ubuntu 22.04.4 LTS (x86_64)
GCC version: (Ubuntu 11.4.0-1ubuntu1~22.04) 11.4.0
Clang version: Could not collect
CMake version: version 3.29.6
Libc version: glibc-2.35

Python version: 3.9.19 (main, May  6 2024, 19:43:03)  [GCC 11.2.0] (64-bit runtime)
Python platform: Linux-5.15.0-117-generic-x86_64-with-glibc2.35
Is CUDA available: True
CUDA runtime version: 12.1.66
CUDA_MODULE_LOADING set to: LAZY
GPU models and configuration:
GPU 0: NVIDIA L40
GPU 1: NVIDIA L40
GPU 2: NVIDIA L40
GPU 3: NVIDIA L40

Nvidia driver version: 535.183.01
cuDNN version: Could not collect
HIP runtime version: N/A
MIOpen runtime version: N/A
Is XNNPACK available: True

CPU:
Architecture:                         x86_64
CPU op-mode(s):                       32-bit, 64-bit
Address sizes:                        52 bits physical, 57 bits virtual
Byte Order:                           Little Endian
CPU(s):                               64
On-line CPU(s) list:                  0-63
Vendor ID:                            AuthenticAMD
Model name:                           AMD EPYC 9124 16-Core Processor
CPU family:                           25
Model:                                17
Thread(s) per core:                   2
Core(s) per socket:                   16
Socket(s):                            2
Stepping:                             1
BogoMIPS:                             5991.11
Flags:                                fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf rapl pni pclmulqdq monitor ssse3 fma cx16 pcid sse4_1 sse4_2 movbe popcnt aes xsave avx f16c rdrand lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs skinit wdt tce topoext perfctr_core perfctr_nb bpext perfctr_llc mwaitx cpb cat_l3 cdp_l3 invpcid_single hw_pstate ssbd mba ibrs ibpb stibp ibrs_enhanced vmmcall fsgsbase bmi1 avx2 smep bmi2 erms invpcid cqm rdt_a avx512f avx512dq rdseed adx smap avx512ifma clflushopt clwb avx512cd sha_ni avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves cqm_llc cqm_occup_llc cqm_mbm_total cqm_mbm_local avx512_bf16 clzero irperf xsaveerptr rdpru wbnoinvd amd_ppin cppc arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold avic v_vmsave_vmload vgif v_spec_ctrl avx512vbmi umip pku ospke avx512_vbmi2 gfni vaes vpclmulqdq avx512_vnni avx512_bitalg avx512_vpopcntdq la57 rdpid overflow_recov succor smca fsrm flush_l1d
Virtualization:                       AMD-V
L1d cache:                            1 MiB (32 instances)
L1i cache:                            1 MiB (32 instances)
L2 cache:                             32 MiB (32 instances)
L3 cache:                             128 MiB (8 instances)
NUMA node(s):                         2
NUMA node0 CPU(s):                    0-15,32-47
NUMA node1 CPU(s):                    16-31,48-63
Vulnerability Gather data sampling:   Not affected
Vulnerability Itlb multihit:          Not affected
Vulnerability L1tf:                   Not affected
Vulnerability Mds:                    Not affected
Vulnerability Meltdown:               Not affected
Vulnerability Mmio stale data:        Not affected
Vulnerability Reg file data sampling: Not affected
Vulnerability Retbleed:               Not affected
Vulnerability Spec rstack overflow:   Mitigation; safe RET
Vulnerability Spec store bypass:      Mitigation; Speculative Store Bypass disabled via prctl and seccomp
Vulnerability Spectre v1:             Mitigation; usercopy/swapgs barriers and __user pointer sanitization
Vulnerability Spectre v2:             Mitigation; Enhanced / Automatic IBRS; IBPB conditional; STIBP always-on; RSB filling; PBRSB-eIBRS Not affected; BHI Not affected
Vulnerability Srbds:                  Not affected
Vulnerability Tsx async abort:        Not affected

Versions of relevant libraries:
[pip3] flashinfer==0.1.1+cu121torch2.3
[pip3] numpy==1.26.4
[pip3] nvidia-nccl-cu12==2.20.5
[pip3] pyzmq==26.0.3
[pip3] torch==2.3.1
[pip3] torchvision==0.18.1
[pip3] transformers==4.43.3
[pip3] triton==2.3.1
[pip3] zmq==0.0.0
[conda] blas                      1.0                         mkl
[conda] flashinfer                0.1.1+cu121torch2.3          pypi_0    pypi
[conda] mkl                       2023.1.0         h213fc3f_46344
[conda] mkl-service               2.4.0            py39h5eee18b_1
[conda] mkl_fft                   1.3.8            py39h5eee18b_0
[conda] mkl_random                1.2.4            py39hdb19cb5_0
[conda] numpy                     1.26.4           py39h5f9d8c6_0
[conda] numpy-base                1.26.4           py39hb5e798b_0
[conda] nvidia-nccl-cu12          2.20.5                   pypi_0    pypi
[conda] pyzmq                     26.0.3                   pypi_0    pypi
[conda] torch                     2.3.1                    pypi_0    pypi
[conda] torchvision               0.18.1                   pypi_0    pypi
[conda] transformers              4.43.3                   pypi_0    pypi
[conda] triton                    2.3.1                    pypi_0    pypi
[conda] zmq                       0.0.0                    pypi_0    pypi
ROCM Version: Could not collect
Neuron SDK Version: N/A
vLLM Version: 0.5.3.post1
vLLM Build Flags:
CUDA Archs: Not Set; ROCm: Disabled; Neuron: Disabled
GPU Topology:
GPU0    GPU1    GPU2    GPU3    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      NODE    SYS     SYS     0-15,32-47      0               N/A
GPU1    NODE     X      SYS     SYS     0-15,32-47      0               N/A
GPU2    SYS     SYS      X      NODE    16-31,48-63     1               N/A
GPU3    SYS     SYS     NODE     X      16-31,48-63     1               N/A

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

🐛 Describe the bug
Tested with both v0.5.3.post1 and v0.5.4.
Comparing 3 models: Meta-Llama-3.1-70B-Instruct-FP8,llama-3.1-70b-instruct-awq and Mistral-Large-Instruct-2407-AWQ.
Afaik, Mistral Large shares the same architecture as Mistral Nemo which is supported.

Llama FP8
Llama AWQ
Mistral-L AWQ

# Params
70B
70B
124B

# Tokenizer
128k
128k
32k

Size
~70Gb
~35Gb
~60Gb

Avg ctx
~6k
~6k
~8k

Gen speed
~80-100 t/s
~80-100 t/s
200-250 t/s

Mistral Large also has random quality drops and often fails with guided_json (empty json).
Tested with different awq quants. Double checked configs.
Is Mistral-Large not supported at all?

any updates? @jon-chuang

Confirmed. There is something wrong with Mistral Large.

Has this issue been resolved? I sometimes encounter it too.


Make it easier to pass options via überscript

E.g., pipeline options (-skip_alignment), instance creation options (-o etc_hosts ...). We shouldn't have to add a new CLI option for each.

--pipeline-option=--skip_alignment
-P=--skip_alignment
--cgcloud-option=-O=etc_hosts_entries=foo=<IP_ADDRESS>
-C=-O=etc_hosts_entries=
This is simple to implement and relatively easy to use. -- would only work if there was one thing to forward options to. We have at least two. I've tried nargs='+' and ARGPARSE_REMAINDER and both have trouble with option arguments starting with dash.

The überscript should take a JSON-like config similar to the one we are adding in #265 to address #242. It remains open if the pipeline configs should be nested in the überscript config.

Fixed by config refactoring.


Docs: Add elevation guidelines page

Summary
What changed?
Add guidelines page for Elevation
Why?
After adding our elevation tokens, we've added a guidelines page on how to create elevation in different scenarios
Note: Dark mode support is coming next sprint
Links

Jira
Figma

Checklist

[x] Added unit and Flow Tests
[x] Added documentation + accessibility tests
[x] Verified accessibility: keyboard & screen reader interaction
[x] Checked dark mode, responsiveness, and right-to-left support
[x] Checked stakeholder feedback (e.g. Gestalt designers)

This can be confusing


Review sed replacements

We need to review how we inject variables into our configmaps and secrets in the provisioning process and standardize it.
Particularly for these two sed replacements:
https://github.com/airyhq/airy/blob/develop/infrastructure/scripts/provision/core.sh#L16
https://github.com/airyhq/airy/blob/develop/infrastructure/scripts/provision/core.sh#L20

Fixed by #404


DDLC window becomes permanently non-interactable and hidden

Already reported ? *

[X] I have searched the existing open and closed issues.

Regression?
No
System Info and Version
 System/Version info
Hyprland, built from branch main at commit 918d8340afd652b011b937d29d5eea0be08467f5  (flake.lock: update).
Date: 2024-06-25
Tag: v0.41.2, commits: 918d8340afd652b011b937d29d5eea0be08467f5

flags: (if any)

System Information:
System name: Linux
Node name: Zuse1
Release: 6.9.8-zen1
Version: #1-NixOS ZEN SMP PREEMPT_DYNAMIC Tue Jan  1 00:00:00 UTC 1980

GPU information:
01:00.0 VGA compatible controller [0300]: NVIDIA Corporation GP104 [GeForce GTX 1080] [10de:1b80] (rev a1) (prog-if 00 [VGA controller])

os-release: ANSI_COLOR="1;34"
BUG_REPORT_URL="https://github.com/NixOS/nixpkgs/issues"
BUILD_ID="24.11.20240721.68c9ed8"
DOCUMENTATION_URL="https://nixos.org/learn.html"
HOME_URL="https://nixos.org/"
ID=nixos
IMAGE_ID=""
IMAGE_VERSION=""
LOGO="nix-snowflake"
NAME=NixOS
PRETTY_NAME="NixOS 24.11 (Vicuna)"
SUPPORT_URL="https://nixos.org/community.html"
VERSION="24.11 (Vicuna)"
VERSION_CODENAME=vicuna
VERSION_ID="24.11"

plugins:

======Config-Start======

Config File: /home/leon/.config/hypr/hyprland.conf: Read Succeeded
source=$XDG_CONFIG_HOME/hypr/mocha.conf

# Refer to the wiki for more information.
# https://wiki.hyprland.org/Configuring/Configuring-Hyprland/

###################
### NVIDIA (fu) ###
###################
env = LIBVA_DRIVER_NAME,nvidia
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME,nvidia

cursor {
    no_hardware_cursors = true
}

env = NVD_BACKEND,direct
env = ELECTRON_OZONE_PLATFORM_HINT,auto

################
### MONITORS ###
################

# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=DP-1,highres,auto,auto,bitdepth,10

###################
### MY PROGRAMS ###
###################

# See https://wiki.hyprland.org/Configuring/Keywords/

# Set programs that you use
$terminal = kitty
$fileManager = dolphin
$menu = wofi --show drun

#################
### AUTOSTART ###
#################

# Autostart necessary processes (like notifications daemons, status bars, etc.)
# Or execute your favorite apps at launch like this:

#exec-once = waybar
exec-once = unlink $XDG_PICTURES_DIR/Wallpapers/current ; ln -s $XDG_PICTURES_DIR/Wallpapers/$(ls $XDG_PICTURES_DIR/Wallpapers | sort -R | tail -1) $XDG_PICTURES_DIR/Wallpapers/current && hyprpaper # Display random wallpaper
exec-once = mako
exec-once = hypridle

#############################
### ENVIRONMENT VARIABLES ###
#############################

# See https://wiki.hyprland.org/Configuring/Environment-variables/

env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24

#####################
### LOOK AND FEEL ###
#####################

# Refer to https://wiki.hyprland.org/Configuring/Variables/

# https://wiki.hyprland.org/Configuring/Variables/#general
general {
    gaps_in = 4
    gaps_out = 8

    border_size = 2

    # https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    # Set to true enable resizing windows by clicking and dragging on borders and gaps
    resize_on_border = false

    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
    allow_tearing = false

    layout = dwindle
}

# https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration {
    rounding = 10

    # Change transparency of focused and unfocused windows
    active_opacity = 1.0
    inactive_opacity = 1.0

    drop_shadow = true
    shadow_range = 4
    shadow_render_power = 3
    col.shadow = rgba(1a1a1aee)

    # https://wiki.hyprland.org/Configuring/Variables/#blur
    blur {
        enabled = true
        size = 3
        passes = 1

        vibrancy = 0.1696
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#animations
animations {
    enabled = true

    # Default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05

    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default
}

# See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
dwindle {
    pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = true # You probably want this
}

# See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
master {
}

# https://wiki.hyprland.org/Configuring/Variables/#misc
misc {
    force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
    disable_hyprland_logo = false # If true disables the random hyprland logo / anime girl background. :(
}

#############
### INPUT ###
#############

# https://wiki.hyprland.org/Configuring/Variables/#input
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options =
    kb_rules =

    follow_mouse = 1

    sensitivity = 0 # -1.0 - 1.0, 0 means no modification.

    touchpad {
        natural_scroll = false
    }
}

# https://wiki.hyprland.org/Configuring/Variables/#gestures
gestures {
    workspace_swipe = false
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
device {
    name = epic-mouse-v1
    sensitivity = -0.5
}

####################
### KEYBINDINGSS ###
####################

# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier
$subMod = SHIFT # Sets "Shift" key as sub modifier
$supMod = CONTROL # Sets "CTRL" key as sub modifier
$altMod = ALT	# Sets "ALT" as the alternative modifier.

# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Return, exec, $terminal
bind = $mainMod $subMod, Q, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod $subMod, V, pseudo, # dwindle
bind = $mainMod, C, fullscreen,
bind = $mainMod, R, exec, $menu
bind = $mainMod, J, togglesplit, # dwindle

# Move focus with mainMod + arrow keys
bind = $mainMod, left, movefocus, l
bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d

# Switch workspaces with mainMod + [0-9]
bind = $mainMod, 1, workspace, 1
bind = $mainMod, 2, workspace, 2
bind = $mainMod, 3, workspace, 3
bind = $mainMod, 4, workspace, 4
bind = $mainMod, 5, workspace, 5
bind = $mainMod, 6, workspace, 6
bind = $mainMod, 7, workspace, 7
bind = $mainMod, 8, workspace, 8
bind = $mainMod, 9, workspace, 9
bind = $mainMod, 0, workspace, 10

# Move active window to a workspace with mainMod + SHIFT + [0-9]
bind = $mainMod SHIFT, 1, movetoworkspacesilent, 1
bind = $mainMod SHIFT, 2, movetoworkspacesilent, 2
bind = $mainMod SHIFT, 3, movetoworkspacesilent, 3
bind = $mainMod SHIFT, 4, movetoworkspacesilent, 4
bind = $mainMod SHIFT, 5, movetoworkspacesilent, 5
bind = $mainMod SHIFT, 6, movetoworkspacesilent, 6
bind = $mainMod SHIFT, 7, movetoworkspacesilent, 7
bind = $mainMod SHIFT, 8, movetoworkspacesilent, 8
bind = $mainMod SHIFT, 9, movetoworkspacesilent, 9
bind = $mainMod SHIFT, 0, movetoworkspacesilent, 10

# Browser Workspace
workspace = special:browser, on-created-empty:firefox
bind = $mainMod, A, togglespecialworkspace, browser
bind = $mainMod SHIFT, A, movetoworkspacesilent, special:browser

# Music Workspace
workspace = special:music, on-created-empty:tidal-hifi
bind = $mainMod, S, togglespecialworkspace, music
bind = $mainMod SHIFT, S, movetoworkspacesilent, special:music

# Music Workspace
workspace = special:games, on-created-empty:steam & prismlauncher
bind = $mainMod, D, togglespecialworkspace, games
bind = $mainMod SHIFT, D, movetoworkspacesilent, special:games

# Scroll through existing workspaces with mainMod + scroll
bind = $mainMod, mouse_down, workspace, e+1
bind = $mainMod, mouse_up, workspace, e-1

# Move/resize windows with mainMod + LMB/RMB and dragging
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow

# Take screenshots
bind = $mainMod, P, exec, grim -l 9 -g "$(hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" - | wl-copy
bind = $mainMod $subMod, P, exec, grim -l 9 -g "$(slurp -d)" - | wl-copy
bind = $mainMod $supMod, P, exec, grim -l 9 - | wl-copy
# The same, but storing it as a file instead
bind = $mainMod $altMod, P, exec, grim -l 9 -g "$(hyprctl -j activewindow | jq -r '"\(.at[0]),\(.at[1]) \(.size[0])x\(.size[1])"')" "$XDG_PICTURES_DIR/Screenshots/$(date '+%F_%Hh%Mm%Ss%3Nms')_Window.png"
bind = $mainMod $subMod $altMod, P, exec, grim -l 9 -g "$(slurp -d)" "$XDG_PICTURES_DIR/Screenshots/$(date '+%F_%Hh%Mm%Ss%3Nms')_Region.png"
bind = $mainMod $supMod $altMod, P, exec, grim -l 9 -t png "$XDG_PICTURES_DIR/Screenshots/$(date '+%F_%Hh%Mm%Ss%3Nms')_Fullscreen.png"
# Steam
bind = ,F12,pass,.*Steam.*

# Multimedia
bindl = , XF86AudioRaiseVolume, exec, playerctl volume 0.1+
bindl = , XF86AudioLowerVolume, exec, playerctl volume 0.1-
bindl = , XF86AudioPlay, exec, playerctl play-pause
bindl = $mainMod, Space, exec, playerctl play-pause
bindl = , XF86AudioPrev, exec, playerctl previous
bindl = , XF86AudioNext, exec, playerctl next

# Lockscreeen
bind = $mainMod, L, exec, hyprlock

##############################
### WINDOWS AND WORKSPACES ###
##############################

# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
# See https://wiki.hyprland.org/Configuring/Workspace-Rules/ for workspace rules

# Special Workspaces
windowrulev2 = workspace special:browser silent, class:^(firefox)$
windowrulev2 = workspace special:music silent, class:^(tidal-hifi)$
windowrulev2 = workspace special:games silent, class:.*Steam.*
windowrulev2 = workspace special:games silent, class:^(prismlauncher)$
windowrulev2 = workspace special:games silent, class:^(prismlauncher)$

windowrulev2 = fullscreen, class:(steam_app_698780)

debug {
	disable_logs = false
}

Config File: /home/leon/.config/hypr/mocha.conf: Read Succeeded
$rosewater = rgb(f5e0dc)
$rosewaterAlpha = f5e0dc

$flamingo = rgb(f2cdcd)
$flamingoAlpha = f2cdcd

$pink = rgb(f5c2e7)
$pinkAlpha = f5c2e7

$mauve = rgb(cba6f7)
$mauveAlpha = cba6f7

$red = rgb(f38ba8)
$redAlpha = f38ba8

$maroon = rgb(eba0ac)
$maroonAlpha = eba0ac

$peach = rgb(fab387)
$peachAlpha = fab387

$yellow = rgb(f9e2af)
$yellowAlpha = f9e2af

$green = rgb(a6e3a1)
$greenAlpha = a6e3a1

$teal = rgb(94e2d5)
$tealAlpha = 94e2d5

$sky = rgb(89dceb)
$skyAlpha = 89dceb

$sapphire = rgb(74c7ec)
$sapphireAlpha = 74c7ec

$blue = rgb(89b4fa)
$blueAlpha = 89b4fa

$lavender = rgb(b4befe)
$lavenderAlpha = b4befe

$text = rgb(cdd6f4)
$textAlpha = cdd6f4

$subtext1 = rgb(bac2de)
$subtext1Alpha = bac2de

$subtext0 = rgb(a6adc8)
$subtext0Alpha = a6adc8

$overlay2 = rgb(9399b2)
$overlay2Alpha = 9399b2

$overlay1 = rgb(7f849c)
$overlay1Alpha = 7f849c

$overlay0 = rgb(6c7086)
$overlay0Alpha = 6c7086

$surface2 = rgb(585b70)
$surface2Alpha = 585b70

$surface1 = rgb(45475a)
$surface1Alpha = 45475a

$surface0 = rgb(313244)
$surface0Alpha = 313244

$base = rgb(1e1e2e)
$baseAlpha = 1e1e2e

$mantle = rgb(181825)
$mantleAlpha = 181825

$crust = rgb(11111b)
$crustAlpha = 11111b

======Config-End========

Description
While playing Doki Doki Literature club I tried taking a screenshot using grim & slurp. The window bugged while slurp was open and vanished. The Game did not crash and stayed open (the music is still playing). While trying to force the window back I noticed these things:

hyprctl clients  reports the window correctly, but hidden is set to 1, and I cannot change it and could not find any documentation about it.

Window 3f6e6a30 -> Doki Doki Literature Club!:
	mapped: 1
	hidden: 1
	at: 1926,10
	size: 1904,2140
	workspace: 2 (2)
	floating: 0
	pseudo: 0
	monitor: 0
	class: steam_app_698780
	title: Doki Doki Literature Club!
	initialClass: steam_app_698780
	initialTitle: Doki Doki Literature Club!
	pid: 10056
	xwayland: 1
	pinned: 0
	fullscreen: 0
	fullscreenmode: 0
	fakefullscreen: 0
	grouped: 0
	tags:
	swallowing: 0
	focusHistoryID: 4

When trying to use hyprctl setprop address:0x3f6e6a30 [...] I get the error message window not found, it works fine for other windows. I also tried it using different regex types, such as class:steam_app_698780.
I tried to focus the window using hyprctl dispatch focuswindow address:0x3f6e6a30, but it reported "ok" and did nothing.
Hyprland still tiles the window as usual and reports the correct size and position values in hyprctl clients , but the window does not render at all, and it is entirely unfocusable. I could not even use my movefocus hotkeys. I can push the "window" around, by openening and moving other windows within the workspace. The minimum size is even enforced. See Screenshot below[1].

The "hidden" variable seems to be the problem, but I could not change it, no matter what.
How to reproduce

Launch Doki Doki Literature Club
Go to Settings and enable fullscreen (Having the game in windowed and fullscreening it through hyprland does not seem to cause issues)
Change workspaces, or do a selection with slurp. There are probably a couple of other events, which might trigger the issue.

Crash reports, logs, images, videos
[1] Screenshot

what about launching it in gamescope

Seems to work fine with gamescope.

patch.txt
gamescope is a fine workaround I guess but try this


Add a python related question

Short Description
Add a python related question
Acceptance Criteria

[x] Question is not duplicate
[x] Question is relevant
[x] Question is important for interview

Amazing Work!


dataset problem

groundTruth's four numbers refer to tracked object center point coordinates, width and height?

The 4 numbers refer to the left-top corner coordinates, width and height of a target:
<bb_left>, <bb_top>, <bb_width>, <bb_height>

All coordinate values are 1-based.

These four numbers refer to left-top or top-left? I want to crop bbox from image , I find that top-left is more accurate than left-top

It's left-top, or (x, y).

Thanks


Admin for MiddlewareEvents doesn't display non-mw events

We need to track changes to a model that might happen both in normal views (so via middleware) and in shell or other operations.
As far as I can tell from the code and the docs, MiddlewareEvents should do just that, but what actually happens is this:

That is: the one event that I triggered via the admin is properly displayed; the other is filtered out and only counted.
Is there any workaround for this?

Fixed in v3.3.0


⚠ AnimeBytes has degraded performance

In 6583cc7, AnimeBytes ($AB) experienced degraded performance:

HTTP code: 598
Response time: 24220 ms

Resolved: AnimeBytes performance has improved in 860f6d6.


[Bug] Exceptions with Browser Context Menu

This bug is Very Rare I can not reduplicate the issue currently, but it happened at least once.
Details
An  Exception Error occurs, with the Context menu.

Pending Resolved, Update will be available in a few weeks


[bazel] Improve output artifact query

Integrate output files queries into bazelisk as the custom otquery
command.
Update CI scripts.

The outquery command provides a number of different query functions
that may be useful to scripts:
bazelisk.sh outquery //some:target       # Emit an output filename associated with the target.
bazelisk.sh outquery-all //some:target   # Emit all output filenames associated with the target.
bazelisk.sh outquery-foo //some:target   # Emit output filenames with the substring "foo".
bazelisk.sh outquery.foo //some:target   # Emit output filenames ending with ".foo".

Signed-off-by: Chris Frantz<EMAIL_ADDRESS>

Renamed otquery to outquery.  Even though this command is custom, it isn't necessarily OpenTitan specific.


Change unsafe builder inheritance to instantiation

Following the discussion under https://github.com/informalsystems/apalache/pull/1932, we have decided to change the way safe builders access the methods of unsafe builders. Concretely, instead of
trait XBuilder extends UnsafeXBuilder {
...
}

we should have
trait XBuilder {
val unsafeXBuilder = new UnsafeXBuilder
...
}

where unsafe builders are package-private.

@shonfeder @thpani @konnov please also pitch your method-name preferences under this issue.

I'd go with 1 > 2 > 3, 1 (unsafeXBuilder.method) being my preferred solution.

Same as Thomas.


Switch stream_executor to use portable dlopen()

Use the functions from port::Env rather than dlfcn.h, to make it easier to port stream_executor to Windows.

@vrv This is a step towards making stream_executor build on Windows. I haven't edited code in here before... is there any special process for modifying stream_executor code?


Create testing pipeline to run container-app-opertaor unit&e2e tests.

Fixes #41.
With this PR, we should be able to run unit&e2e tests using KinD clusters on every merge request so that the code can be tested before it is merged.

/lgtm
/approve


To discuss and choose between Electron and Node-Webkit for building a desktop application

electron : https://www.electronjs.org/
node webkit : https://nwjs.io/

desktop application build using electron
I tried to build Age-viewer as a desktop app using electron.js
I got some successful results.
I would like to develop more mature applications
https://github.com/shinhanbyeol/age-viewer/tree/build/desktop-app-electron/app

https://www.electronjs.org/docs/latest/development/electron-vs-nwjs
this may be a useful article to compare the frameworks ^
Electron js seems to have better overall support and may be better suited for this desktop app

@marodins
My forked branch is ready to set up a build using electron.
I am planning to request a pull request for this content someday.
Please pay a lot of attention to this in the future.
https://github.com/shinhanbyeol/age-viewer/tree/build/desktop-app-electron


Save evals in self hosted machine when running it from another machine

[Continuation of past issue as I do not seem to be able to reopen it: promptfoo/promptfoo/issues/578]
My team and myself want to be able to run the eval in their own machine and push the results to a machine which serves the promptfoo server.
Also for security reasons we cannot directly ssh to the other machine to manually copy the results and we can only reach predefined ports.

I understand what you're saying.  Right now promptfoo share is the best way to do this.  Are you saying that you'd prefer something that automatically shares/pushes to the remote machine?

Actually I thought share was not working (it was a config error on the server). It is ok then thanks


feat(prettier): wrap a group in BinaryExpression

Current dependencies on/for this PR:

main

PR #1369

PR #1370   👈

PR #1371

This stack of pull requests is managed by Graphite.

Once this PR is merged, I will create a PR that categorizes the snapshots by directories.
@Boshen Can you take a look here?

Use graphite at your advantage, just stack on top of this one :-)


Enabling Actor.TypeMetadata as a stable feature.

Enabling Actor.TypeMetadata as a stable feature.
Please reference the issue this PR will close: #4736
Checklist
Please make sure you've  completed the relevant tasks for this PR, out of the following list:

[ ] Code compiles correctly
[ ] Created/updated tests
[ ] Unit tests passing
[ ] End-to-end tests passing
[ ] Extended the documentation / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Specification has been updated / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]
[ ] Provided sample for the feature / Created issue in the https://github.com/dapr/docs/ repo: dapr/docs#[issue number]

/ok-to-test

/ok-to-perf


WIP: try to speed up jest by setting runInBand

PR Details
chore: try to speed up jest by setting runInBand
see: https://ivantanev.com/make-jest-faster/
Types of changes

[ ] Docs change / refactoring / dependency upgrade
[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist

[ ] My code follows the code style of this project.
[ ] I have updated changeset
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have read the CONTRIBUTING document.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

no significant difference.


[1.8 backport] drivers/ethernet/eth_mcux: Fix extra PHY debug Kconfig name.

Source had CONFIG_ETH_MCUX_PHY_DETAILED_DEBUG, while Kconfig had
CONFIG_ETH_MCUX_PHY_EXTRA_DEBUG. Use the shorter name consistently.
Signed-off-by: Paul Sokolovsky<EMAIL_ADDRESS>

@mike-scott : As you had a look at frdm_k64f Eth recently (https://github.com/zephyrproject-rtos/zephyr/pull/261), maybe you'll want to review this.
@mjs-arm: Please check too.

Looks sensible to me.


Get Target Infrastructure Architecture submitted for review to TRG

Definition of Done:

Data Products Team to provide a proposed technical documentation and support for submission to Technical Review Group (TRG).
Project Team to finalise the final submission.

13/7 - BC has told GC that it is not DP job  - already discussed with Gouri. Position has not changed.

Duplicate ticket https://github.com/NHSDigital/DataDictionaryPublication/issues/306. Issue closed.


Static Image Export Fails If Kaleido is Installed in a virtualenv with Spaces in the Path

Versions
Platform: macOS Catalina 10.15.7
Python: 3.8.5
Plotly:  4.14.3
Kaleido:  0.2.0
Description of the Problem
If kaleido is installed in a virtual environment with spaces in aitspath, an error will be generated. Here's a minimal reproducible example:
import numpy as np
import plotly.graph_objects as go

a = np.arange(10)
fig = go.Figure(go.Scatter(x=a, y=a))
fig.write_image('Foo.pdf')

Running this will produce the following error trace:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-6-c7394f7c2527> in <module>
----> 1 fig.write_image('Foo.png')

/path with venv with spaces/lib/python3.8/site-packages/plotly/basedatatypes.py in write_image(self, *args, **kwargs)
   3804         import plotly.io as pio
   3805
-> 3806         return pio.write_image(self, *args, **kwargs)
   3807
   3808     # Static helpers

/path with venv with spaces/lib/python3.8/site-packages/plotly/io/_kaleido.py in write_image(fig, file, format, scale, width, height, validate, engine)
    243     # -------------
    244     # Do this first so we don't create a file if image conversion fails
--> 245     img_data = to_image(
    246         fig,
    247         format=format,

/path with venv with spaces/lib/python3.8/site-packages/plotly/io/_kaleido.py in to_image(fig, format, width, height, scale, validate, engine)
    129     # ---------------
    130     fig_dict = validate_coerce_fig_to_dict(fig, validate)
--> 131     img_bytes = scope.transform(
    132         fig_dict, format=format, width=width, height=height, scale=scale
    133     )

/path with venv with spaces/lib/python3.8/site-packages/kaleido/scopes/plotly.py in transform(self, figure, format, width, height, scale)
    151         # Transform in using _perform_transform rather than superclass so we can access the full
    152         # response dict, including error codes.
--> 153         response = self._perform_transform(
    154             figure, format=format, width=width, height=height, scale=scale
    155         )

/path with venv with spaces/lib/python3.8/site-packages/kaleido/scopes/base.py in _perform_transform(self, data, **kwargs)
    291         """
    292         # Ensure that kaleido subprocess is running
--> 293         self._ensure_kaleido()
    294
    295         # Perform export

/path with venv with spaces/lib/python3.8/site-packages/kaleido/scopes/base.py in _ensure_kaleido(self)
    196                             self._get_decoded_std_error()
    197                         )
--> 198                         raise ValueError(message)
    199                     else:
    200                         startup_response = json.loads(startup_response_string)

ValueError: Failed to start Kaleido subprocess. Error stream:

/path with venv with spaces/lib/python3.8/site-packages/kaleido/executable/kaleido: line 4: cd: /path: No such file or directory
/path with venv with spaces/lib/python3.8/site-packages/kaleido/executable/kaleido: line 5: ./bin/kaleido: No such file or directory

Thanks for the report

I am having the same issues with the same package versions using Anaconda. My conda environment is located in a spot with spaces ('C:\Path\with spaces") and the error I receive is:
"C:\Path\with" is not recognized as an internal or external command, operable program or batch file.

i have similar issue.
i've already installed package kaleido using "pip install -U kaleido"
but it occurs error msg.
my code
fig1.to_image(f"{os.getcwd()[:-23]}/코드개발/0630_그림저장/{subject_idx}_fig1.png", engine='kaleido')
error msg
ValueError:
Image export using the "kaleido" engine requires the kaleido package,
which can be installed using pip:
    $ pip install -U kaleido

ver. plotly: 4.12.0
kaleido: 0.2.1

@huni1023, I had the same issue running kaleido on Google Colab. I ran !pip install -U kaleido, and got Successfully installed kaleido-0.2.1. But when I ran fig.write_image("fig1.png") I got the same error as you.
I solved it by running !pip uninstall kaleido (returned: WARNING: Skipping kaleido as it is not installed.) followed by
!pip install -q condacolab
import condacolab
condacolab.install()

Kernel restart,
!conda install -c conda-forge python-kaleido
Then fig.write_image("fig1.png") worked perfectly.
ver. Plotly: 5.5.0

Thanks for this useful conversation guys, @dgoppenheimer solution worked for me as well.
It seems getting Kaleido installed through conda rather than pip helped resolve my issue, too.

I have what seems to be the same problem, which I may have tagged onto a less-relevant Issue here: https://github.com/plotly/Kaleido/issues/131#issuecomment-1082472407
I am using a virtual environment through "pipenv", and a recent update in homebrew pipenv and python 3.9 (3.9.10 -> 3.9.12) seems to have surfaced this bug for me. When I move the project to a location with no spaces in the dir, it works just fine, but I cannot recreate @dgoppenheimer's fix in my pipenv virtual environment (using either pipenv or pip to uninstall/install). Downgrading versions of plotly (5.6.0 -> 5.5.0) and kaleido ( 0.2.1 --> 0.2.0) did not improve things.
Has anyone else run into this and/or found a fix?

You can install the Kaleido globally and use the package without any
virtual env.
On Wed, Mar 30, 2022 at 14:55 Drew Hill @.***> wrote:

I have what seems to be the same problem, which I may have tagged onto a
less-relevant Issue here: #131 (comment)
https://github.com/plotly/Kaleido/issues/131#issuecomment-1082472407
I am using a virtual environment through "pipenv", and a recent update in
homebrew pipenv and python 3.9 (3.9.10 -> 3.9.12) seems to have surfaced
this bug for me. When I move the project to a location with no spaces in
the dir, it works just fine, but I cannot recreate @dgoppenheimer
https://github.com/dgoppenheimer's fix in my pipenv virtual environment
(using either pipenv or pip to uninstall/install). Downgrading versions of
plotly (5.6.0 -> 5.5.0) and kaleido ( 0.2.1 --> 0.2.0) did not improve
things.
Has anyone else run into this and/or found a fix?
—
Reply to this email directly, view it on GitHub
https://github.com/plotly/Kaleido/issues/78#issuecomment-1082696810, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AF3F6DBPAYVFSRGULF263HLVCP3FFANCNFSM4YTNC5IQ
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Thanks @ZacksAmber. Unfortunately, I am working on a project that currently requires a virtual environment.
On the other hand, you did inspire me to confirm that this bug is indeed only in the virtual environment space -- running in my user environment works just fine.

You’re welcome.
Actually, I was trying to run Kaleido inside an virtual env many hours and
failed. If you do need the special plot formats that can only be generated
by Kaleido such as SVG, you can keep read the following solutions; If you
can accept traditional image formats such  as PNG, you don’t really need
Kaleido — just output the image by Plotly directly.
Here is my website http://zacks.cloud and
http://www.zacks.cloud/projects/disaster_response_pipelines/
For section SKILL LEVELS on http://zacks.cloud

I pre-generated the SVG by a global Python interpreter with Kaleido
since those images are rarely changed — I don’t need a real time plot here.

For section OVERVIEW OF TRAINING DATASET on
http://www.zacks.cloud/projects/disaster_response_pipelines/

I used Python Plotly low level API (import plotly.graph_objects as go)
to output plot into JSON, which was encapsulated into a docket image.
Unfortunately plotly.express here cannot work since it cannot output JSON.
Then built an API to return the JSON generated by step 1.
Finally, the Flask app (my website that is in another docker image)
calls the API from step 2. Then the Plotly JavaScript render the
interactive plot based on the JSON.

In conclusion:

If you need a web app, consider the second solution. In this case, you
don’t need Kaleido since you only use the interactive plots instead of a
static images;
If you do need static images, consider the first solution and you can
make a improvement. Build a Docker image with minimum required Python
packages such as Plotly, Kaleido, and API packages into a global Python
env. This docker image running as an API that returns SVGs. Then your main
project gets the SVG from that API.

Hope my experience can help you.
On Wed, Mar 30, 2022 at 23:52 Drew Hill @.***> wrote:

Thanks @ZacksAmber https://github.com/ZacksAmber. Unfortunately, I am
working on a project that currently requires a virtual environment.
On the other hand, you did inspire me to confirm that this bug is indeed
only in the virtual environment space -- running in my user environment
works just fine.
—
Reply to this email directly, view it on GitHub
https://github.com/plotly/Kaleido/issues/78#issuecomment-1083317895, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AF3F6DGT2USJH2T6PVL73ATVCR2E3ANCNFSM4YTNC5IQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

Hi all, any news on this thread? Actually I got the same error after more than 2 years from @dtoniolo report!

@huni1023, I had the same issue running kaleido on Google Colab. I ran !pip install -U kaleido, and got Successfully installed kaleido-0.2.1. But when I ran fig.write_image("fig1.png") I got the same error as you.
I solved it by running !pip uninstall kaleido (returned: WARNING: Skipping kaleido as it is not installed.) followed by
!pip install -q condacolab
import condacolab
condacolab.install()

Kernel restart, !conda install -c conda-forge python-kaleido Then fig.write_image("fig1.png") worked perfectly.
ver. Plotly: 5.5.0

My !pip uninstall kaleido takes forever. Has anyone resolved this issue?

happening to me too still.

I also ran into this issue, and for me the solution was in the title of this issue. I was using a virtual environment with poetry inside a folder with spaces (like `"My folder/.venv"). The error was fixed by simply removing spaces in the folder path to something like "My_folder/.venv". Maybe it is obvious, but for me this solution is a lot better than installing plotly and kaleido in your global environment.
Running on Ubuntu with:
Poetry (version 1.8.3)
Python 3.10.12
plotly==5.22.0
kaleido==0.2.1

An easy in-place fix is to quote the paths in the kaleido script in venv/lib/python3.x/site-pakacegs/kaleido/executable/kaleido, i.e.:
#!/bin/bash
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )"

export LD_LIBRARY_PATH="$DIR/lib:$LD_LIBRARY_PATH"
export FONTCONFIG_PATH="$DIR/etc/fonts"
export XDG_DATA_HOME="$DIR/xdg"
unset LD_PRELOAD

cd "$DIR"
./bin/kaleido "$@"


create protocol for single source multipartite entanglement

Ive reworked the protocol into two (source and reciever) as part of #3. Worth starting from that so that we dont have chaos with merging.

Ive reworked the protocol into two (source and reciever) as part of #3. Worth starting from that so that we dont have chaos with merging.

nice

nice


[PE-D][Tester A] [Application] Edit command: error message for invalid client index

The error message indicates "person" instead of "client", which does not match up with the application and user guide of referring to all contacts as clients.

Labels: type.FunctionalityBug severity.VeryLow
original: GiselleTan/ped#16

Noted, seems like more of a feature flaw as compared to a functionality bug that persons and clients are used interchangeably. Will add to our documentation.


Authenticate question

It's possible to connect to connect to soundcraft ui via APP? I wish to add an option in my React-Native app to auto login on soundcraft

Thanks for your question! This is a very generic JavaScript/TypeScript library, so you can use it in whatever environment you want. I'm actively using the lib in Node.js and Angular (browser).
I have never tried React Native, but as long as you can run JS code and open WebSocket connections, it should work.

thanks! i gonna try


Continuous and Passive Onboarding

A new and way to passively onboard people of color and web2 people to web3

Click funnel & free video tutorials


docker plugin wont install

Summary
Cannot install docker plugin for rexray which is described on the Rexray docs:
http://rexray.readthedocs.io/en/v0.8.0-rc2/user-guide/docker-plugins/
My goal is to install rexray to a VirtualBox and connect to it via Docker.
docker plugin install rexray/driver:latest
Error response from daemon: pull access denied for rexray/driver, repository does not exist or may require 'docker login'
Version
~ docker version
Client:
 Version:	18.02.0-ce
 API version:	1.35 (downgraded from 1.36)
 Go version:	go1.9.4
 Git commit:	fc4de44
 Built:	unknown-buildtime
 OS/Arch:	darwin/amd64
 Experimental:	false
 Orchestrator:	swarm

Server:
 Engine:
  Version:	17.12.1-ce
  API version:	1.35 (minimum version 1.12)
  Go version:	go1.9.4
  Git commit:	7390fc6
  Built:	Tue Feb 27 22:20:43 2018
  OS/Arch:	linux/amd64
  Experimental:	false
➜  ~

Expected Behavior
Plugin should be installed.
Actual Behavior
Plugin does not install.

Same here but a bit further.
Client:
 Version:	18.03.0-ce
 API version:	1.37
 Go version:	go1.9.4
 Git commit:	0520e24
 Built:	Wed Mar 21 23:10:06 2018
 OS/Arch:	linux/amd64
 Experimental:	false
 Orchestrator:	swarm

Server:
 Engine:
  Version:	18.03.0-ce
  API version:	1.37 (minimum version 1.12)
  Go version:	go1.9.4
  Git commit:	0520e24
  Built:	Wed Mar 21 23:08:35 2018
  OS/Arch:	linux/amd64
  Experimental:	false

# docker plugin install
Plugin "rexray/rbd" is requesting the following privileges:
 - network: [host]
 - mount: [/dev]
 - mount: [/etc/ceph]
 - allow-all-devices: [true]
 - capabilities: [CAP_SYS_ADMIN]
Do you grant the above permissions? [y/N] y
latest: Pulling from rexray/rbd
20d5e3d9f105: Download complete
Digest: sha256:4ea5ae92c7bfec0d7f7b227deddf6520019b9fb764663fd24782ba56bc9d4052
Status: Downloaded newer image for rexray/rbd:latest
Error response from daemon: dial unix /run/docker/plugins/aaaf72bea149f38f26c059f418e1179cd8c4a5b22de773fb9ada7e1f87c51675/rexray.sock: connect: no such file or directory

rbd works properly on the host computer.

Hello @exocode,
There is no VirtualBox docker plugin, so you will have to use it as a non-managed plugin. Check the VagrantFile's we have in the main directory.

@scapal Are you sure that the same ENV/Config variables are being populated if you are saying it works already outside of the managed plugin?

Ok for those who run into the same problems. I found the following Articles. It maybe helps someone.
My last questions are: when I setup rexray successfully in two Virtualboxes:

how to connect my Docker Apps to the rexray volumes?
maybe someone can suggest a link or provide a code snippet?

Many thanks in advance
Explanations to setup rexray in Virtualbox.
The suggested "Vagrant" file is to install create virtualboxes, installs rexray on it and starts rexray. The script scaffolds them. If you inspect that Vagrant file, you will see each step which is necessary to spin up Virtualbox and rexray, which is explained in the first three links.

https://github.com/thecodeteam/labs/tree/master/setup-virtualbox-dockermachine
https://rexray.readthedocs.io/en/stable/
https://stackoverflow.com/questions/41387121/unable-to-mount-persistent-volume-to-docker-container-using-rex-ray-and-virtualb
https://github.com/rexray/rexray/blob/02e0154f7b41dc6e56bf8b0ec2a131edef115c07/.docs/user-guide/storage-providers/virtualbox.md
https://github.com/rexray/rexray/blob/master/Vagrantfile

@clintkitson downgrading docker-ce from 18.03.0-ce to 17.12.1-ce make it work.

I have one small thing to note with this error:
"repository rexray/SuchAndSuch not found"

The environment variables being suffixed on the end of the plugin command matter. My experience on my docker swarm in Google Cloud, this command fails:
docker plugin install rexray/driver:latest

But if I add the GCEPD_TAG environment variable (per RexRay's documentation),
Then the command works. For example:
docker plugin install rexray/gcepd GCEPD_TAG=rexray

Plugin "rexray/gcepd" is requesting the following privileges:
 - network: [host]
 - mount: [/dev]
 - allow-all-devices: [true]
 - capabilities: [CAP_SYS_ADMIN]
Do you grant the above permissions? [y/N]

Thanks for this @langboost. In this case it sounds like the GCE driver is erroring when a rexray tag is not present at GCE or specified via RR. @codenrhoden is this accurate?

I'm getting this same issue.
Rexray is installed, s3fs is installed, I can create and mount a volume with "rexray volume create", so that works and it's tested and good. The docker plugin on the other hand....
Docker info excerpt:
Server Version: 18.09.0
Storage Driver: btrfs
 Build Version: Btrfs v4.7.3
 Library Version: 101
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
 Volume: local
 Network: bridge host macvlan null overlay
 Log: awslogs fluentd gcplogs gelf journald json-file local logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: c4446665cb9c30056f4998ed953e6d4ff22c7c39
runc version: 4fc53a81fb7c994640722ac585fa9ca548971871
init version: fec3683
Security Options:
 apparmor
 seccomp
  Profile: default
Kernel Version: 4.15.0-43-generic
Operating System: Ubuntu 18.04.1 LTS

Rexray has created a socket at /run/docker/plugins/rexray.sock
 $ ss -l | grep rexray
u_str             LISTEN              0                    128                                                                  /run/docker/plugins/rexray.sock 95292                                                      * 0
u_str             LISTEN              0                    128                                                                   /var/run/rexray/059978828.sock 94719

But docker is looking for it elsewhere:
$ sudo docker plugin install rexray/s3fs:latest
Plugin "rexray/s3fs:latest" is requesting the following privileges:
 - network: [host]
 - mount: [/dev]
 - allow-all-devices: [true]
 - capabilities: [CAP_SYS_ADMIN]
Do you grant the above permissions? [y/N] y
latest: Pulling from rexray/s3fs
b5ce7aed9a2b: Download complete
Digest: sha256:f06a8d9e64e6d616298646082c33252703af807b274288643e9668789d06cd1e
Status: Downloaded newer image for rexray/s3fs:latest
Error response from daemon: dial unix /run/docker/plugins/c262e0b2100b529478dd8b5f46228a3ee39cc800e155163a37694a42a94b0347/rexray.sock: connect: no such file or directory

Is there any way to specify the location of where the socket is? Because rexray/s3fs doesn't seem to be looking in the right place.


KDDI_API_KYC-Match_initial_contribution

What type of PR is this?

enhancement/feature

What this PR does / why we need it:

Provide an initial API definition from KDDI for discussion on KYC Match  YAML.

Which issue(s) this PR fixes:

N/A

Special notes for reviewers:

The YAML is almost same as the one currently provided by KDDI as commercial services.  As our original YAML has descriptions/remarks/notes written in Japanese, those have been translated into English.

Also, please note that it has some attributes/parameters that seem specific to Japanease language.  It is intentional, because these attributes/parameters are needed by our customers in Japan and we would like to discuss how to handle this kind of country/regional requirements in API specifications.

Changelog input
 release-note

Additional documentation

Closed as the initial version of KYC Match has been created.


fix: patch for std4#203 (more sub lemmas for Nat)

[x] depends on: https://github.com/leanprover/std4/pull/203

bors merge


Unmatched paths return Netlify page

First off, love this project.
I have an issue, but I'm not sure if its this project's responsibility or next in general. In my project, I have a single route that's a fully dynamic route /[businessUnit]/[pageSlug]/[hash] and locally if you hit /, /sales, /sales/qs it returns the error page, but once deployed it shows the Netlify no route found message instead of the error page. Any thoughts on how this should be approached with next-on-netlify?

Hey @ericchernuka,
Thanks for the kind words about next-on-netlify :blush:
Hmm, interesting...
The _redirects file not having a redirect for 404.html is normal and fine. Netlify automatically looks for a 404.html in the publish folder and makes that the default 404 for the page.
Do you have a repo I can clone? Or could you set up a very basic one where I can reproduce the error? That would be really helpful.
I'll look into this tonight! :slightly_smiling_face:
- Finn

@FinnWoelm Thanks for looking into this. I've made a sample repo here: https://github.com/ericchernuka/next-on-netlify-error-pages
I wonder if its cause I have a 404.tsx, but it gets compiled as a serverless function instead of 404.html.

Hey @ericchernuka,
Thank you for setting up a repo! That was incredibly helpful.
Your suspicion is right: The issue is that the 404.tsx file gets compiled as a serverless function rather than a 404.html.
You probably know this already: You can see what NextJS builds by running npm run build locally and looking at the .next folder:

Normally, the 404.js/404.tsx file gets compiled as a static 404.html file. But by adding getInitialProps in _app.js, all files get compiled as serverless functions rather than plain HTML files — including the 404 page.
Two options:

You move the getInitialProps from _app.tsx to [repoName].tsx. You can still use the custom render function to wrap your page in border-red-500. And you can keep the if(error) return <FourOhFour />, too. You'll just need to shift the responsibility for setting error: true from _app.tsx to [repoName].tsx.
You keep your code as is, meaning that the 404 page (and all other pages) are serverless functions. In that case, just add a catch-all redirect, similar to the one you have above. You just need to redirect to the Netlify Function rather than to /404. The redirect should be:

[[redirects]]
  from = "/*"
  to = "/.netlify/functions/next_404"
  status = 404

You can find out what the redirect destination should be from the build output of next-on-netlify:
...
🔀 Setting up redirects
   /404  /.netlify/functions/next_404  200
   /:org/:repoName  /.netlify/functions/next_org_repoName  200
   /_next/data/He6qRDFHlbXa4vp6B8igE/:org/:repoName.json  /.netlify/functions/next_org_repoName  200
...

The first one is the relevant line!
Does that make sense? Does that help? Let me know what you think! Curious to hear your thoughts on this.
Happy Friday,
Finn

This is immensely helpful. Thank you. Due to the way my project works I need the getInitialProps in _app to fetch an overall theme first so I'll most likely move towards a catchall redirect for this use case. Thanks again looking into this for me.

Hi Finn,
I have a similar issue and followed your instructions with option number two. I added the mentioned code to the netlify.toml file. Now it renders my custom 404 page, instead the netlify not-found page. But the response status code is still 200. I made several tests - seems to me that it is not possible to change the response of a netlify function within the _redirects or netlify.toml file - e.g. status code or even headers like cache-control.
Did I missed anything?

Hi @pgr86, interesting! You are right, setting the status to 404 via the netlify.toml file does not work for Netlify Functions.
Fix 1: Manually set 404 in getInitialProps in _app.js
I would have expected the Next 404 page to take care of setting the 404 status code. I think this is a bug in NextJS. Anyway, we can fix this ourselves by manually setting the 404 status in getInitialProps in _app.js like this :
// pages/_app.js

...

export default class MyApp extends NextApp<MyAppProps> {
  static async getInitialProps(appContext: AppContext) {

    // Manually set status 404 if rendering 404 not found page
    if(appContext?.ctx?.res && appContext?.ctx?.pathname === "/404") {
      appContext.ctx.res.statusCode = 404
    }

    // more code, like:
    // const appProps = await NextApp.getInitialProps(appContext);
    // etc ...

  }
}

...

Fix 2: Pre-render your 404 page to HTML
The solution above is not really not ideal because all 404 requests now invoke a Netlify function — when a route cannot be found, but also for any other unmatched requests (such as missing favicons or other assets). Ideally, of course, you can refactor your code to not use getInitialProps in _app.js. But that's not always possible. Another option is to manually pre-render your 404 page to HTML. You can do that using something like the following script:
// scripts/404ToHtml.js

const compat  = require("next-aws-lambda")
const page    = require("./out_functions/next_404/nextJsPage")
const fs      = require('fs')

// These two objects usually contain the HTTP request information and
// data about the environment in which the Netlify Function is invoked (AWS
// server ID, etc...). In this case, they don't matter and can just be empty.
const event = { requestContext: {} }
const context = {}

// This is our render callback handler. It writes the response body to 404.html
// in out_publish/
const writePageHtml = (_arg, response) => {
  fs.writeFileSync('./out_publish/404.html', response.body)
}

// Render the page
compat(page)(
  event,
  context,
  writePageHtml
)

The script is similar to the code of the Netlify Functions created by this package (see https://github.com/netlify/next-on-netlify/blob/master/lib/netlifyFunctionTemplate.js). We take advantage of the fact that the serverless NextJS pages are just JavaScript functions that we can invoke and get the HTML back. We then take that HTML and write the 404.html to out_publish/.
We can just add this script to our postbuild process in package.json, for example:
"postbuild": "next-on-netlify && node scripts/404ToHtml.js"

In this case, we of course do not need the catch-all redirect in netlify.toml and Netlify will automatically set status code 404!

I hope one of the solutions above works for you. Please let me know if it does :slightly_smiling_face: If not, don't hesitate let me know if you run into any issues. Happy to continue looking into this!

Hi @FinnWoelm
wow thank you so much for that detailed answer! I went the pre-render way and it works really well :-)
This approach is also very helpful for me to better understand how next-on-netlify works under the hood.
Thanks so much for your great work on this package!


Nexus Version of the Mod

Is there a way to create a version of this mod that can be download for non-Steam games?
I have a GOG version of the game and I am unable to find any version of the mod that I can use. Maybe a version on Nexus Mods like for your other mods?
Or if there is an easy way to take the source code and change the structure, that would work for me too
Thanks

Exact same issue, did anyone find a solution?


fixes issue 284

A fix for #284
distinct_until_changed:

Removed the invalid requirement for a type to be hashable.
operator== is used to determine if two elements are equal.
added test

This change is good!
The osx build is stuck in the queue on travisci, but I am going to pull the trigger based on the rest of the completed builds.

Thank you!


Return a Promise instead of accepting callbacks

Hi.
Considering the current approach used by many libraries and JavaScript APIs, I think it'd be beneficial for the library's methods to return a Promise instead of accepting a callback. Using Promises is more flexible and this approach gives developers more control about what happens when a request is performed.

Not sure I agree; the callback style is still used pretty extensively throughout Nodeland and changing them to return promises is a pretty major API change. Plus Octokat already does that, and you can use promises with Github.js by using Q.denodeify.
If both the callback style and promises are possible, then go for it. If it means breaking backwards compatibility, it's probably worth fixing everything else first and doing this for the next major version. Am pretty open either way, though.

I guess that from the point of view of the library it doesn't make much difference but it does for the users. The library always performs single, simple calls. So, it isn't a big deal for the library. The benefit is usually for users of the library when they have to run multiple actions one after the other or in parallel. In this case the code with callbacks becomes a mess.
In regard of your question, I think it needs a big change. Therefore, I'm fine in postponing it. However, I feel this is really something we should do.

Yeah, that's where javascript hurts still. ;) Promises are definitely making things better. However, still there's some overhead for the caller and a methods that returns promises are not so easy to write.
ES7 async/await syntax will make this finally nice and clear to write. It's already possible with ES6 and generators (but not so easy to understand).
Read this: https://jakearchibald.com/2014/es7-async-functions/
I wonder if Github.js would be suitable to be written in ES6 and compiled using Babel. I'm usually against this as each source compilation step makes things harder to debug and slower to develop. However given this is a like a single-file repo, this might not hurt much, debugging is still possible thanks to source maps.
Just mentioning this, as you may consider upgrading the lib to ES6 anyway at some point. And this would be a more sustainable solution than Promises probably. Babel has experimental support for ES7... in case you want to play with it a bit.

Hmm, for realz it would be rad to rewrite the lib as an ES2015 module. We could definitely do it as an ES2015 class for version 1.x, leaving the 0.1.x branch as the existent ES5 library. It would also really move the library forward into being more future-facing instead of just playing catch-up. I'm on board.
TBTH I'd say for legacy reasons we should get through 0.10.8 at least before considering that, making sure that the existing releases are more solid than they've been. But it's definitely an idea as we move into the future, and I'm completely down for doing so.
re: promises in ES6 — you can already do them with Babel, though it requires the polyfill in the browser. If that's too much, I really like kriskowal/q, and wouldn't feel too bad about adding it as a dependency in Node (even if added to a runtime via Browserify, it's only 3.5kb minified).
FWIW I didn't mean to pour cold water on the idea of promises so much as prioritise the outstanding queue first — I really dig the patterns you can do with promises, and if adding them won't increase the weight of the library too much, it should be able to do that. What if we used a pattern whereby it returns a promise if there's no callback supplied? Not entirely sure what is the most intuitive. Definitely something for discussion, though.

This can be closed as we'll manage async functions with Babel. At this stage, I'd probably say that we'll skip the Promises land altogether and move directly into async/await.

Is this being tracked in a separate issue?  I'm currently using another (abandoned) Github project, and I'm looking for a library that uses promises.  I have experience using Babel, Promises, and a little bit with async/await.  If I can help in any way, I'm more than willing to.

Hi.
We've currently put Promises aside. We're also focusing of fixing bugs and extending the features provided. So, if you wish to help try to fix one of the issues reported.

@AurelioDeRosa would you be opposed to me submitting a backwards-compatible PR introducing promises?  This is the biggest feature I'd be interested in.

I won't be opposed as it's your time and you can do whatever you wish. However, considering our plans to change the library, your request will need a lot of future rebase and work. Anyway, I'd like to hear the opinion of @aendrew, @michael, and @clayreimann on this matter.

:+1: I'll start investigating the codebase and I'll await feedback before submitting any PRs.