[v2] npm start, build fails with JavaScript out of memory because of huge files

🐛 Bug Report
npm start crashes with JavaScript out of memory error after 42%.
npm run build crashes with JavaScript out of memory error after 23%.
Error logs for npm start:
* Client █████████████████████████ building (42%) 3/5 entries 746/800 dependencies 92/379 modules 79 active
 babel-loader » mdx-loader » docs\contribute\guidelines-ui\icon.md

i ｢wds｣: Project is running at http://localhost:3000/
i ｢wds｣: webpack output is served from /
i ｢wds｣: Content not from webpack is served from ...
i ｢wds｣: 404s will fallback to /index.html

<--- Last few GCs --->

[16236:000001C176447760]   186754 ms: Mark-sweep (reduce) 2034.7 (2052.1) -> 2034.3 (2053.1) MB, 4644.7 / 0.1 ms  (average mu = 0.089, current mu = 0.002) allocation failure scavenge might not succeed
[16236:000001C176447760]   192112 ms: Mark-sweep (reduce) 2035.3 (2055.1) -> 2034.8 (2055.8) MB, 5350.2 / 0.1 ms  (average mu = 0.041, current mu = 0.001) allocation failure scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory
 1: 00007FF70D36046F napi_wrap+109311
 2: 00007FF70D305156 v8::internal::OrderedHashTable<v8::internal::OrderedHashMap,2>::NumberOfElementsOffset+33302
 3: 00007FF70D305F26 node::OnFatalError+294
 4: 00007FF70DBD2B4E v8::Isolate::ReportExternalAllocationLimitReached+94
 5: 00007FF70DBB792D v8::SharedArrayBuffer::Externalize+781
 6: 00007FF70DA61CCC v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1516
 7: 00007FF70DA4C86B v8::internal::NativeContextInferrer::Infer+59451
 8: 00007FF70DA31CFF v8::internal::MarkingWorklists::SwitchToContextSlow+56991
 9: 00007FF70DA4591B v8::internal::NativeContextInferrer::Infer+30955
10: 00007FF70DA3CA3D v8::internal::MarkCompactCollector::EnsureSweepingCompleted+6269
11: 00007FF70DA44B6E v8::internal::NativeContextInferrer::Infer+27454
12: 00007FF70DA48B2B v8::internal::NativeContextInferrer::Infer+43771
13: 00007FF70DA52472 v8::internal::ItemParallelJob::Task::RunInternal+18
14: 00007FF70DA52401 v8::internal::ItemParallelJob::Run+641
15: 00007FF70DA25C63 v8::internal::MarkingWorklists::SwitchToContextSlow+7683
16: 00007FF70DA3CEEC v8::internal::MarkCompactCollector::EnsureSweepingCompleted+7468
17: 00007FF70DA3B734 v8::internal::MarkCompactCollector::EnsureSweepingCompleted+1396
18: 00007FF70DA392B8 v8::internal::MarkingWorklists::SwitchToContextSlow+87128
19: 00007FF70DA67A91 v8::internal::Heap::LeftTrimFixedArray+929
20: 00007FF70DA69B75 v8::internal::Heap::PageFlagsAreConsistent+789
21: 00007FF70DA5EDE1 v8::internal::Heap::CollectGarbage+2033
22: 00007FF70DA5D005 v8::internal::Heap::AllocateExternalBackingStore+1317
23: 00007FF70DA7D2A7 v8::internal::Factory::NewFillerObject+183
24: 00007FF70D7ACC31 v8::internal::interpreter::JumpTableTargetOffsets::iterator::operator=+1409
25: 00007FF70DC5B50D v8::internal::SetupIsolateDelegate::SetupHeap+463949
26: 00007FF70DC35A68 v8::internal::SetupIsolateDelegate::SetupHeap+309672
27: 00007FF70DBEFDD1 v8::internal::SetupIsolateDelegate::SetupHeap+23825
28: 0000021D94260858

Error logs for npm run build:
[en] Creating an optimized production build...

* Client █████████████████████████ building (23%) 0/1 entries 1358/1378 dependencies 115/433 modules 140 active
 babel-loader » mdx-loader » docs\troubleshoot\faq.md

* Server █████████████████████████ building (35%) 0/1 entries 1302/1423 dependencies 303/600 modules 82 active
 babel-loader » mdx-loader » docs\contribute\guidelines-ui\ui.md

<--- Last few GCs --->

[14572:000001F439CA0710]   163441 ms: Mark-sweep (reduce) 2032.7 (2054.4) -> 2032.2 (2054.9) MB, 4677.5 / 0.1 ms  (average mu = 0.154, current mu = 0.128) allocation failure scavenge might not succeed
[14572:000001F439CA0710]   168904 ms: Mark-sweep (reduce) 2033.2 (2051.9) -> 2032.8 (2052.9) MB, 4305.5 / 0.1 ms  (average mu = 0.184, current mu = 0.212) allocation failure scavenge might not succeed

<--- JS stacktrace --->

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
 1: 00007FF70D36046F napi_wrap+109311
 2: 00007FF70D305156 v8::internal::OrderedHashTable<v8::internal::OrderedHashMap,2>::NumberOfElementsOffset+33302
 3: 00007FF70D305F26 node::OnFatalError+294
 4: 00007FF70DBD2B4E v8::Isolate::ReportExternalAllocationLimitReached+94
 5: 00007FF70DBB792D v8::SharedArrayBuffer::Externalize+781
 6: 00007FF70DA61CCC v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1516
 7: 00007FF70DA6D04A v8::internal::Heap::ProtectUnprotectedMemoryChunks+1258
 8: 00007FF70DA6A1F9 v8::internal::Heap::PageFlagsAreConsistent+2457
 9: 00007FF70DA5EDE1 v8::internal::Heap::CollectGarbage+2033
10: 00007FF70DA5D005 v8::internal::Heap::AllocateExternalBackingStore+1317
11: 00007FF70DA7D2A7 v8::internal::Factory::NewFillerObject+183
12: 00007FF70D7ACC31 v8::internal::interpreter::JumpTableTargetOffsets::iterator::operator=+1409
13: 00007FF70DC5B50D v8::internal::SetupIsolateDelegate::SetupHeap+463949
14: 00007FF70DC35A68 v8::internal::SetupIsolateDelegate::SetupHeap+309672
15: 00007FF70DBEFDD1 v8::internal::SetupIsolateDelegate::SetupHeap+23825
16: 000001B9069CD34E

Have you read the Contributing Guidelines on issues?
yes
To Reproduce

git clone https://github.com/covalentbond/docs-site.git
npm install
npm start

Actual Behavior
npm start does not crash and server starts running at port:3000.
npm run build successfully builds the app.
Your Environment

Public source code: https://github.com/covalentbond/docs-site/
Branch: migrate-docs .
Public site url: https://zowe-docs.netlify.app/
Docusaurus version used: 2.0.0-beta.0
Environment name and version (e.g. Chrome 90.0.4430.212, Node.js v14.16.1):
Operating system and version (desktop or mobile): Windows10pro 21H1

Have you tried increasing the memory that you allocate with the nodejs process?
Something like this might help for large sites:NODE_OPTIONS="--max-old-space-size=8192"

Tried changing the start script with node --max-old-space-size=8192 node_modules/@docusaurus/core/bin/docusaurus start.
But the process still freezes at 21%.
Also a note comes up:
[BABEL] Note: The code generator has deoptimised the styling of \docs-site\docs\appendix\tpsr.md as it
exceeds the max of 500KB.

hey @slorber - yes increasing the memory allocated seems to work!
But due to the file tpsr.md having around 23k lines of nearly 4MB is causing the app server to freeze at a certain percentage. Without this particular file the app is running as well as building fine.

We use MDX to parse the markdown content and transform it into React components.
Unfortunately, it is probably difficult to process a file of that size, but there might be other ways to create that page?
If the content is pure markdown, we'll enable later to provide an alternate md parser (https://github.com/facebook/docusaurus/issues/3018), which may be more memory efficient (but also more limited due to the inability to use React inside markdown).
Why does this page need to be so long in the first place? Can it be splitted into multiple pages? Is the content auto-generated?
My feeling is that this page is autogenerated, and generating markdown might not be the best solution in the first place. I would rather:

generate the table data as a json file
create a TsprTable React component, importing that json file and rendering the table in plain React
Use <TsprTable> inside the tspr.md file, leveraging the power of MDX

If the content is pure markdown, we'll enable later to provide an alternate md parser (#3018), which may be more memory efficient (but also more limited due to the inability to use React inside markdown).

Will this alternative md parser be the key to make Docusaurus v2 available for large doc site? Or is there any other workaround?
I've met similar problem when switching docusaurus v1 to v2. I have a very, very huge doc site (containing 7000+ md files, auto-generated by *.d.ts as api file). Docusaurus v1 generates the doc site in about one or two minutes. But Docusaurus v2 is unable to generate. The process breaks with a strange error after one hour.
Docusaurus v2 has more amazing features than v1 (actually in my opinion v1 is only "can-use" but missing many configurations). So I'm really looking forward to switching to v2. With some effort, I've resolved the parsing error in md syntax. But stuck at compiling time.

@adventure-yunfei here we talk about a very large file, not a lot of small files.
Docusaurus 2 compiles each md file to a React component by default (with MDX), so this adds a bit of overhead if you don't need MDX, and allowing a less powerful parser can be useful but also make it easier to adopt for sites using commonmark and not willing to change the docs during the migration.
I suggest opening another issue dedicated to your specific problem. It will be hard to troubleshoot that without a repro that I can run. Note we already have a few very large sites on Docusaurus but yes built time is definitively a pain point (ex: https://xsoar.pan.dev/docs/reference/index)

Closing in favor of #4765. We should work hard on reducing memory / build time as I've heard many complaints about it.


Convert 'url' and 'id' correctly

WHY
Currently pq2gorm converts url and id in field name to upper case. However, they are converted even if they are appeared in the top/middle/bottom of word (e.g. candidacy -> CandIDacy).
WHAT
Convert url, id, uid to upper case if they exist as independent word.

LGTM!!


Fix no such module 'FluentUI_ios' on MacCatalyst

Platforms Impacted

[x] iOS
[ ] macOS

Description of changes
In Swift Package, use FluentUI_ios target for MacCatalyst platform.
Binary change
N/A - Change to Package.swift
Verification
Before:
Build target on MacCatalyst will fail as no module FluentUI_ios configured for platform.

After:
MacCatalyst target with FluentUI dependency builds successfully.

Microsoft Reviewers: Open in CodeFlow

Apologies for the delay on getting to this one and thanks for contributing! The concern here is that we don't actually support catalyst. We have never actually tested it and have no idea if the controls work or come close to fulfilling the macOS project of Fluent design, though the existence of this PR suggests something remotely usable shows up, so that's cool if it does :).
If you are able to continue to prototype using the library with Catalyst without merging the change to main, we'd love to hear your feedback/results and can use that super helpful data to decide how to move forward with support and where we need touch-ups/banned controls/etc. If you need the change in main, we're happy to do so, but then we'll probably want to make corresponding updates to the README and the demo app to very clearly indicate that the macOS Catalyst controls are experimental and not actually supported.

Hi @anandrajeswaran,
Thank you for your detailed explanation. I've been using FluentUI in my personal MacCatalyst project for a while. From my own experience it works fine with MacCatalyst + Scaled to Match iPad, as in this mode it's basically still using iOS idioms and linked against UIKit.

Attaching some screenshots of FluentUI demo under MacCatalyst.

Cell
Nav Bar
Side Tab
Bottom Sheet

However if switching to Optimize for Mac idiom, it does throw exceptions as some code calling unavailable UIKit APIs under Mac idiom.

This change only adds macCatalyst platform to the target dependency so that users who use FluentUI with SPM on MacCatalyst can still build the project. I found firebase team has a similar issue indicating that this seems to be a new requirement for MacCatalyst projects introduced by Swift 5.7 toolchain. I think if we want to declare that FluentUI fully supports MacCatalyst, we should also change it in the package platforms as
platforms: [
    .iOS(.v15),
    .macCatalyst(.v15),
    .macOS(.v10_15),
],

as a library user if the platform availability not specifically declared here, I'd assume that this library doesn't officially support MacCatalyst and I'm just leveraging the compatibility with my own risk.
I think this decision should be left to FluentUI team as I understand this is adding compatibility to another unofficially supported platform. Personally I would prefer to have this in master or even investigate support of MacCatalyst so that users like me won't need to maintain a fork just to build our MacCatalyst projects.
Thanks

Hi @anandrajeswaran,
Thank you for your detailed explanation. I've been using FluentUI in my personal MacCatalyst project for a while. From my own experience it works fine with MacCatalyst + Scaled to Match iPad, as in this mode it's basically still using iOS idioms and linked against UIKit.

Attaching some screenshots of FluentUI demo under MacCatalyst.
Cell	Nav Bar	Side Tab	Bottom Sheet

However if switching to Optimize for Mac idiom, it does throw exceptions as some code calling unavailable UIKit APIs under Mac idiom.

This change only adds `macCatalyst` platform to the target dependency so that users who use FluentUI with SPM on MacCatalyst can still build the project. I found [firebase team has a similar issue](https://github.com/firebase/firebase-ios-sdk/issues/11119) indicating that this seems to be a new requirement for MacCatalyst projects introduced by Swift 5.7 toolchain. I think if we want to declare that FluentUI fully supports MacCatalyst, we should also change it in the package platforms as
platforms: [
    .iOS(.v15),
    .macCatalyst(.v15),
    .macOS(.v10_15),
],

as a library user if the platform availability not specifically declared here, I'd assume that this library doesn't officially support MacCatalyst and I'm just leveraging the compatibility with my own risk.
I think this decision should be left to FluentUI team as I understand this is adding compatibility to another unofficially supported platform. Personally I would prefer to have this in master or even investigate support of MacCatalyst so that users like me won't need to maintain a fork just to build our MacCatalyst projects.
Thanks

Thanks for the reply and additional detail. For the timebeing we'd like to hold off on having this in the repo because it's something of a partial state that suggests we have thought about macCatalyst but have an impartial implementation. Since we don't officially support it yet, we'd like to keep that clearly apparent in our project definition.
We will keep the investigation of the catalyst implementation on our backlog though and hopefully have some time in the future to do some investigation on how close that gets us to the intended macOS representation of the fluent design language.


If the password contains special characters, the atlas execution fails

When I used atlas, I failed to export the data structure when the password contained @ or #
Executed command:
atlas schema inspect -u "mysql://root:aG2^eM5#qD@localhost:3306/atlas_test" --format "{{ json . }}" > d:\atlasgo\ttt\result.json

Hello @QuanZi123, you need to encode user:password with the function encodeURLComponent function from the browser as described in URI spec. Or access this link
The result will look like this: encodeURIComponent('aG2^eM5#qD') -> aG2%5EeM5%23qD

Hey @QuanZi123 👋🏻
Adding here a link to @rotemtam’s comment: https://github.com/ariga/atlas/issues/1034#issuecomment-1212003157:

As the command accepts a URL, the standard way for dealing with odd characters is using URL encoding, see IETF RFC 1738, (see section 2.2) which defines URLs formally. I don't think Atlas should encode the URL for the user as this is a one-time operation (e.g doesn't change unless the password itself changes).

Thanks


Japanese: additional units commonly used in medical notes to be identified as Measurement

As of iknowpy v1.1.1, Measurement attribute is now available in Japanese.
Dr. Noguchi from Gunma University Hospital (@Rei_hub) has been kindly trying it out against his doctor's notes data and has found a few additional units and number expressions that would improve Measurement identifications in such medical text. Sample data that can be used for improvement of Measurement detection is attached.
iKnow Measurement用サンプルデータ_20210916.xlsx

I've encountered a few additional missing units (US customary) while working on another issue
インチ
フィート
ヤード
マイル
Although it's more common to use metric system, for certain items, such units are more commonly used, so they should be included.

@Rei_hub - thanks to the data samples you provided, this issue is now closed. Please try it out. Feedback is welcome for further discussions & improvements.


Adding BUNDLE_WITHOUT env variable for modules GHAs

Summary

Adding BUNDLE_WITHOUT in release-prep so as to avoid installation of cyclic dependencies of gem affecting the REFERENCE.md generation.
Added BUNDLE_WITHOUT in other files to keep the modules other GHAs unaffected.

Additional Context
Add any additional context about the problem here.

[ ] Root cause and the steps to reproduce. (If applicable)
[ ] Thought process behind the implementation.

Related Issues (if any)
Mention any related issues or pull requests.
Checklist

[ ] 🟢 Spec tests.
[ ] 🟢 Acceptance tests.
[ ] Manually verified.

I'm running into an issue with the module release prep workflow that would be addressed by this PR. Are you able to merge this PR, or are there still dependency issues?


Variable failure condition?

I see that you have implemented oWoD (/r 3d10>=6f1) as one of the dice rolling variations. I have experimented with the command and whilst the size of the die can be varied I have been unable to adjust the failure condition sucessfully.
The whilst changing the number after the f will change the number that consititutes a failure I have been unable to get it to treat multiple results as a failure. For example I would like to be able to roll multiple d10s and treat 9 and 10 as a success, but 1,2 and 3 as failures (for example).
If this is not already implemented would it be possible to do this, or if it is (as I suspect) user error can you confirm the correct format for the command?

it would also be interesting to use something like this for Shadowrun's glitch mechanics (e.g. rolling more than 50% of your dice pool as ones -- or in some cases ones and twos).

Backed by Cerxi.


c/driver/sqlite: Column type is always int64 with empty table

With the following SQL, the SQLite driver returns number:int64, string:int64 schema not number:int64, string:string schema:
CREATE TABLE data (number int, string text);
SELECT * FROM data;

It's kind of a consequence of it inferring/guessing column types instead of trying to leverage metadata (since SQLite doesn't enforce types). We could have it use specified types as a starting point/as a restriction (erroring if data differs).

Ah, I thought that sqlite3_column_type() can work with an empty table. So I thought that we can improve the current implementation by:
diff --git a/c/driver/sqlite/statement_reader.c b/c/driver/sqlite/statement_reader.c
index 694b8cc..21fb20f 100644
--- a/c/driver/sqlite/statement_reader.c
+++ b/c/driver/sqlite/statement_reader.c
@@ -495,7 +495,7 @@ void StatementReaderRelease(struct ArrowArrayStream* self) {

 /// Initialize buffers for the first (type-inferred) batch of data.
 /// Use raw buffers since the types may change.
-AdbcStatusCode StatementReaderInitializeInfer(int num_columns, size_t infer_rows,
+AdbcStatusCode StatementReaderInitializeInfer(sqlite3_stmt *stmt, int num_columns, size_t infer_rows,
                                               struct ArrowBitmap* validity,
                                               struct ArrowBuffer* data,
                                               struct ArrowBuffer* binary,
@@ -507,7 +507,21 @@ AdbcStatusCode StatementReaderInitializeInfer(int num_columns, size_t infer_rows
     ArrowBufferInit(&data[i]);
     CHECK_NA(INTERNAL, ArrowBufferReserve(&data[i], infer_rows * sizeof(int64_t)), error);
     memset(&binary[i], 0, sizeof(struct ArrowBuffer));
-    current_type[i] = NANOARROW_TYPE_INT64;
+    int sqlite_type = sqlite3_column_type(stmt, i);
+    switch (sqlite_type) {
+    case SQLITE_FLOAT:
+      current_type[i] = NANOARROW_TYPE_DOUBLE;
+      break;
+    case SQLITE_TEXT:
+      current_type[i] = NANOARROW_TYPE_STRING;
+      break;
+    case SQLITE_BLOB:
+      current_type[i] = NANOARROW_TYPE_BINARY;
+      break;
+    default:
+      current_type[i] = NANOARROW_TYPE_INT64;
+      break;
+    }
   }
   return ADBC_STATUS_OK;
 }  // NOLINT(whitespace/indent)
@@ -835,7 +849,7 @@ AdbcStatusCode AdbcSqliteExportReader(sqlite3* db, sqlite3_stmt* stmt,
   enum ArrowType* current_type = malloc(num_columns * sizeof(enum ArrowType));

   AdbcStatusCode status = StatementReaderInitializeInfer(
-      num_columns, batch_size, validity, data, binary, current_type, error);
+      stmt, num_columns, batch_size, validity, data, binary, current_type, error);
   if (status == ADBC_STATUS_OK) {
     int64_t num_rows = 0;
     while (num_rows < batch_size) {

But sqlite3_column_type() always returns SQLITE_NULL with the case. :<
We may want to use sqlite3_column_decltype()...

Yes, decltype would work. I think the hard part there will be that SQLite doesn't really check the type name so we would have to replicate 3.1.1 here: https://www.sqlite.org/datatype3.html
Also it looks that decltype will fail if it's something like x + 1 so in that case the user might still get a type that is a little unexpected.
On Mon, Apr 10, 2023, at 10:10, Sutou Kouhei wrote:

Ah, I thought that sqlite3_column_type() can work with an empty table. So I thought that we can improve the current implementation by:
diff --git a/c/driver/sqlite/statement_reader.c b/c/driver/sqlite/statement_reader.c
index 694b8cc..21fb20f 100644
--- a/c/driver/sqlite/statement_reader.c
+++ b/c/driver/sqlite/statement_reader.c
@@ -495,7 +495,7 @@ void StatementReaderRelease(struct ArrowArrayStream* self) {
/// Initialize buffers for the first (type-inferred) batch of data.
/// Use raw buffers since the types may change.
-AdbcStatusCode StatementReaderInitializeInfer(int num_columns, size_t infer_rows,
+AdbcStatusCode StatementReaderInitializeInfer(sqlite3_stmt stmt, int num_columns, size_t infer_rows,
struct ArrowBitmap validity,
struct ArrowBuffer* data,
struct ArrowBuffer* binary,
@@ -507,7 +507,21 @@ AdbcStatusCode StatementReaderInitializeInfer(int num_columns, size_t infer_rows
ArrowBufferInit(&data[i]);
CHECK_NA(INTERNAL, ArrowBufferReserve(&data[i], infer_rows * sizeof(int64_t)), error);
memset(&binary[i], 0, sizeof(struct ArrowBuffer));

current_type[i] = NANOARROW_TYPE_INT64;

int sqlite_type = sqlite3_column_type(stmt, i);
switch (sqlite_type) {
case SQLITE_FLOAT:

 current_type[i] = NANOARROW_TYPE_DOUBLE;

 break;

case SQLITE_TEXT:

 current_type[i] = NANOARROW_TYPE_STRING;

 break;

case SQLITE_BLOB:

 current_type[i] = NANOARROW_TYPE_BINARY;

 break;

default:

 current_type[i] = NANOARROW_TYPE_INT64;

 break;

}
}
return ADBC_STATUS_OK;
}  // NOLINT(whitespace/indent)
@@ -835,7 +849,7 @@ AdbcStatusCode AdbcSqliteExportReader(sqlite3* db, sqlite3_stmt* stmt,
enum ArrowType* current_type = malloc(num_columns * sizeof(enum ArrowType));

AdbcStatusCode status = StatementReaderInitializeInfer(

 num_columns, batch_size, validity, data, binary, current_type, error);

 stmt, num_columns, batch_size, validity, data, binary, current_type, error);

if (status == ADBC_STATUS_OK) {
int64_t num_rows = 0;
while (num_rows < batch_size) {
But sqlite3_column_type() always returns SQLITE_NULL with the case. :<

We may want to use sqlite3_column_decltype()...
—
Reply to this email directly, view it on GitHub https://github.com/apache/arrow-adbc/issues/581#issuecomment-1501267541, or unsubscribe https://github.com/notifications/unsubscribe-auth/AACQB36Y4GKADDJHBM6LKXLXANMXJANCNFSM6AAAAAAWYK5JDU.
You are receiving this because you commented.Message ID: @.***>

Not really. There's also not a great way to pass in a schema currently.
We don't need a SQL parser. It's just that SQLite is rather fuzzy about what type names it accepts. The rules are simple, but surprising.


Tags Achieves Amazing Cubic Complexity During BNDB Load

There is a performance sinkhole when loading a bndb with a good number of tag types, functions, and tags.

Fixed in 2.4.2889-dev


Specify location without range

Hello,
In my server I would like to use "go to definition" to open included files.
It works, my problem is when I go to an opened file it returns to first line, instead I would like to keep the cursor position.
I tried setting range to 0,0,00 and to 0,0,10000,10000 without no luck.
I tried also specifying undefined as range, and the location is ignored.
I am trying with Visual Studio Code, I tried Location and LocationLink.
What is the correct way to do it? is it a VSCode issue?

@dbaeumer @rcjsuen no news about it? I don't think it is a big deal...

This either needs a separate request or we need to relax the result of the definition request to not include a positions. Both cases need to be guarded by capabilities. I am happy to accept a PR here. But please note that this can't only be a spec update. You need to provide an implementation of any kind of client as well (see https://github.com/microsoft/language-server-protocol/blob/master/contributing.md)


Fix distribution gff errors

reinstate iterating through all exons to remove leaves with pcall remove_leaf
I believe this was the cause of an error further downstream where jobs were failing during make_distribution_gff process. Genes were being incorrectly split in split_splice_models_at_gaps, which meant that child features were not contained in the range of the parent gene.

Tested successfully on dev


Compile go-pluginserver with docker

When we follow the kong guidelines for building kong with go support (using the alpine-docker image) we found that we can not build the go-plugin server and our kong image (with go support) fails, affecting our images
I just opened this issue https://github.com/Kong/go-pdk/issues/62 as a change in go-pdk broke the go-pluginserver last night.
As the go-pluginserver is part of the kong ecosystem, It would be nice that it were compiled and distributed with the kong docker images.
This is the dockerfile we have developed for doing this (maybe you can do something similar):
FROM golang:1.13.14-alpine3.11 as compiler

# Install dependencies for installing custom plugins (needs compilation)
RUN apk add --no-cache build-base libgcc make bash git

# Follow kong compile guide as go dependencies with mod is a hell
RUN go get github.com/Kong/go-pluginserver

# Workaround for the issue https://github.com/golang/go/issues/31354
# following https://github.com/Kong/docker-kong/issues/326
# as we dont use go.mod from now, this is not a problem
COPY apigw/kong/go-plugins /tmp/go-plugins
RUN go get gopkg.in/square/go-jose.v2
RUN cd /tmp/go-plugins; go build -buildmode plugin jwe.go

FROM kong:2.0.4-alpine
...

Hi @ealogar , go get outside a go mod directory ignores the go.mod of the installed module, as the link to go issues
stated inside the dockerfile. So it always find the master branch if it's a git repository.
Though go-pdk has changed the API and go-pluginserver is lagging behind, generally you should honor
the go.mod defined in the module you are installing. As we follow semantic versioning in both repos, there
could always be breaking change introduced. It's dangerous to a introduce potentially imcompatible dependency.
So the solution will be to tell go get to honor the go.mod here:
RUN GO111MODULE=on go get github.com/Kong/go-pluginserver
This will also get rid of the RUN go get gopkg.in/square/go-jose.v2 later.
I will open a PR to update our doc. I will leave to @javierguerragiraldez about the plan for newer version
of go-pluginserver. You will probably also want to take a look on using the embedded server btw, it will give you
better management of dependencies.

thanks @fffonion , I will check your proposal

HI @ealogar
It seems your issue comes from go-pdk v0.7.0-beta1, since go-pluginserver does not work with it.  Please check which version you have.
I concur with @fffonion in that you need to use Go modules.  In particular, modules won't pull any "prerelease" version unless specifically asked.
I've just verified that on a clean Alpine Linux container go get github.com/Kong/go-pluginserver pulls go-pdk v0.7.0-beta1 (and fails to compile), while GO111MODULE=on go get github.com/Kong/go-pluginserver uses go-pdk v0.6.1
Finally, we do suggest to use the embedded server, as it follows the "normal" (and better supported) style of statically-linked executables; avoiding a lot of interdependencies issues between go-pluginserver and plugins (which is why we can't ship a compiled go-pluginserver)

Thanks @fffonion and @javierguerragiraldez
I have been testing the use of GO111MODULE with success. Before I just export the environment variable and this was not working but launching in the same go get module seems to work.
I have also changed my go plugin to use go.mod and sum
In future I will change to kong 2.3 (now we are in 2.0.4) and use emebedded server ...

Feel free to close this, the embedded server is the way to do this as you suggest

Closing this. Thanks for reporting, @ealogar.


Trimester 2 Pre Tree Review Ticket

Hacks
3.1 - 3.2 Lesson (My Lesson)
3.3 - 3.4 Lesson Hacks
3.5 - 3.7 Lesson Hacks
3.8 and 3.10 Lesson Hacks
3.9 and 3.11 Lesson Hacks
3.12 - 3.13 Lesson Hacks
3.14 - 3.15 Lesson Hacks
3.16 Lesson Hacks
3.17 - 3.18 Hacks
Notes for Each Week
Week 1 Notes
Week 2 Notes
Week 3 Notes
Vocabulary Terms
Vocabularly Terms
Tags
I used Lesson for all Hacks
I used Notes for all the notes I took and the vocabularly terms
I used CB for all College Board related things (that were not the lessons)
I used Trimester 1 for all posts that we did for Trimester 1
I used Webapp for all things related to the creation for our project in N@tM

Your notes are look pretty good.   I just don't understand titles.   Organization of Blog is look pretty minimal for being past 16th week.  Not being able to organize information more effectively is a weakness, I would expect more effort.  Review ticket is missing scores, thus work is Incomplete.


fix: add default route on customer vnets and provide default route from CNS to CNI

Reason for Change:

This PR is to fix one issue in swiftv2 Windows scenario:
When a pod is created, the default route is added on infra vnet:
root@swiftv2-pod-3:/# ip route
default via <IP_ADDRESS> dev eth0 metric 1
It leads to ping a VM IP in the same VNET that cannot work.
There are two issues::
1.CNS does not provide the default route to CNI;
2.CNI should only add the default route to secondary interface customer vnet; on Swiftv2 scenario, skipDefaultRoutes is set to true for infraNIC interface and false for a secondary interface; so if !info.skipDefaultRoutes, then add default route.
Issue Fixed:

Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] relevant PR labels added

Notes:

/azp run Azure Container Networking PR

/azp run Azure Container Networking PR

will use another PR for long-term solution


add memcached provider

This adds a memcached provider for use with nginx's memcached module.

Hello there!
Thank you for providing this!
Would it be possible to add unit tests to the provider?

Would it be okay to edit the travis config so that memcached is running in travis where the tests will run? Or is there an expectation that the tests can be run without any external dependencies? If so I'll have to find some good way to mock a memcached instance.

I don't have any objections against adding memcached to travis if that's possible.
The only requirement I have is that go test ./... does also function without the dependecy. Basically as most of the DNS providers are doing based on if an ENV variable is set or not. Doing it via an ENV variable is not required though, that's up to you.

Rebased and added tests.


Replace node with nvm

Add NVM instead of just node. NVM then installs the latest stable node.

@angusfretwell sorry about that! fixed + squashed commits

Node was already included, but python was not. Should these be separate pull requests?

@blainesch Could you be more specific? This PR is more about installing node via nvm instead of just getting the latest version. Devs often have to switch between different node versions...

I'm suggesting adding pyenv should be it's own pull request. Node was previously installed by laptop, so that's an upgrade. Python was not, so that's a new feature.

I see! I can do that, np.

@blainesch Sorry for late response! Forgot about this. OK now?

We're already using rbenv and are about to add pyenv, so for consistency, wouldn't it be better to use nodenv instead of nvm?

@andersonvom I disagree... NVM is pretty much the golden standard these days with ~16 000 stars on GitHub vs nodenv with ~300.

We used to have nvm in Laptop and removed it in https://github.com/thoughtbot/laptop/pull/363. Asking around to see if others are using nvm at the moment.

I do use it

I use nodenv regularly and its very stable, installable via homebrew (unlike nvm), and has feature parity with pyenv and rbenv which made scripting and usage easier for me.

@dplummer not true. However, stable has been deprecated lately and should be replaced with node which it is currently an alias for.

I'm working on a branch to use asdf for version management. This will let us use one version manager for a whole host of languages and prevent us from having to install a new one with its own conventions for every language we get interested in.

See #502

https://github.com/asdf-vm/asdf-plugins Node listed as supported.


How to only generate static with symbol?

Hi,
Is it possible to only output dynamic or static with only stack or symbol? Ideally, I only want to render the static symbol sprite.
Also, is it possible to set a totally custom output path? I would like to render my static sprite to a custom path like static/sprites/icons.svg.
The current output looks like:
static/sprites/
├── dynamic
│   └── symbol
│       ├── icons-stack.svg
│       └── icons.svg
└── static
    └── symbol
        ├── icons-stack.svg
        └── icons.svg

Whereas I only want:
static/sprites/
└── icons.svg

Apologies if I missed this in the docs, I tried a few things like setting a custom dest and setting sprites.stack to false in the config but wasn't able to achieve the above.

How about to process some special nodes if so? You can confirm that your svg icons without these special nodes?

Moreover, I think use svg icons in css is a better solution, you only want to use svg sprite?

Thanks for the quick reply @yunsii! Yeah I think a symbol sprite is what suites our needs best. All of our icons are monochrome, they use whatever the current colour of the parent element is.
We're using the sprite in a React component and want it to be loaded in a dedicated SVG file over the network rather than embedding it in the page so it can be cached.
It essentially works like this:
import spritePath from<EMAIL_ADDRESS>// converted to path string and cache busted by bundler.

export const Icon = ({ name, ...props }) => {
  return (
    <svg {...props}>
      <use href={`${spritePath}#${name}`} />
    </svg>
  );
};

// Usage
<Icon name="alert" />

I'm a bit of a noob in regards to sprites so I'm open to suggestions if there's a better way to do things 🙌

I think you should read https://antfu.me/posts/icons-in-pure-css firstly, just use svg icons in pure css. You can use it with UnoCSS or TailwindCSS plugin.

Thanks @yunsii, much appreciated! I'll close the issue and see if CSS sprites would work for us.


Updated to bevy 0.5

hi, this is a small update to bevy 0.5.
thanks for this crate!

closed for commit: #b6c18c54b2e4831cac5df1b2934ac6c744d12005


Fix operations precendence

Closes #263

[x] I have updated CHANGELOG.md
[x] I have added unit tests to demonstrate the contribution is correctly implemented
[x] I have run all the tests locally and no test failure was reported
[x] I did not do unrelated and/or undiscussed refactorings

Perfect!


TypeError: split() got an unexpected keyword argument 'expand' | string split function doesn't work [TypeError] | dask 0.20

Hi,
I'm trying to split a column by space as follows:
 df.CUSTOMER.str.split(expand=True)
here is the error I get:
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-35-07645d325084> in <module>()
----> 1 df.CUSTOMER.str.split(expand=True).head()

TypeError: split() got an unexpected keyword argument 'expand'

when I perform it on the top 5 records, it works perfectly.
 df.head().CUSTOMER.str.split(expand=True)
i'm using python 3.6 and dask 0.20

Perhaps your pandas version is too old?  Otherwise I don't know what might
be wrong.  I recommend providing a minimal failing example.
On Tue, Nov 6, 2018 at 4:18 AM Ziyad Moraished<EMAIL_ADDRESS>wrote:

Hi,
I'm trying to split a column by space as follows:
df.CUSTOMER.str.split(expand=True)
here is the error I get:

TypeError                                 Traceback (most recent call last)
 in ()
----> 1 df.CUSTOMER.str.split(expand=True).head()
TypeError: split() got an unexpected keyword argument 'expand'
when I perform it on the top 5 records, it works perfectly.
df.head().CUSTOMER.str.split(expand=True)
i'm using python 3.6 and dask 0.20
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/4179, or mute the thread
https://github.com/notifications/unsubscribe-auth/AASszEntIFKOO659itQQB3yvs2ds1ZEEks5usVPsgaJpZM4YQCWL
.

pandas version is 0.23.4
here is a quick failing example:
dask_df = dd.from_pandas(pd.DataFrame({'name' :['Ziyad Moraished']*1000000 }), npartitions= 10000)

dask_df['name'].str.split(' ', exapnd=True)

TypeError                                 Traceback (most recent call last)
<ipython-input-22-2833952eac0a> in <module>()
----> 1 dask_df['name'].str.split(' ', exapnd=True)

TypeError: split() got an unexpected keyword argument 'exapnd'

Reproduced.  Thank you @ZiyadMoraished .
At first it looked like we could just pass through the expand= keyword from our version to Pandas' (though we would want to verify that this works well on previous pandas versions as well).  However when I tried this it looked like we weren't getting the metadata correct.  Presumably we don't correctly infer that this produces a dataframe rather than a series.
If you start diving in from here:
https://github.com/dask/dask/blob/113457b692034d8a15f521a33be88a1183bcfae0/dask/dataframe/accessor.py#L119-L120
You'll eventually get to here:
https://github.com/dask/dask/blob/113457b692034d8a15f521a33be88a1183bcfae0/dask/dataframe/accessor.py#L61-L62
Which should be a dataframe with a few text columns, but seems not to be.
If anyone wants to investigate this further that would be welcome.

@mrocklin after adding expand arg to split function it failed meta data check here
https://github.com/dask/dask/blob/113457b692034d8a15f521a33be88a1183bcfae0/dask/dataframe/core.py#L3691-L3694

What are the differences between meta.columns and df.columns (arguably this should also be in the exception).  I wonder if that information would direct you to the fix.

meta.column is RangeIndex(start=0, stop=1, step=1) where as df.column  is RangeIndex(start=0, stop=2, step=1)

@mrocklin we could make num splits parameter mandatory if expansion is required, that way we can be sure. Let me know what your thinking.

@TomAugspurger, do you have thoughts on this issue?

Fixed in https://github.com/dask/dask/pull/4744


conflict with duolingotreeenhancer

Hi, so i use this script https://github.com/camiloaa/duolingotreeenhancer, mainly so  I can listen to the text in base language. Well, the issue is when the script is on your extension does not work :(
Even if i turn all options off in the script, the extension does not work.
Can you look into it? Thanks.

Thanks for the report! This is fixed by eceee45c8b0d67580db94d3787c268021c718031 (the userscript modifies the structure of the page, which made some values undetectable for the extension).


Fix example 87 in Spring's R2dbc reference documentation

The "Example 87. @Configuration class to configure R2DBC mapping support" contains the following example, which seems to be wrong:
...
@Override
protected List<Object> getCustomConverters() {

  List<Converter<?, ?>> converterList = new ArrayList<Converter<?, ?>>();
  converterList.add(new org.springframework.data.r2dbc.test.PersonReadConverter());
  converterList.add(new org.springframework.data.r2dbc.test.PersonWriteConverter());
  return converterList;
}

Results in:

Required type: List<Object>
Provided type: List<Converter<?,?>>

While looking at this example, I was also wondering why we cannot inject the Converters instead of creating them within the getCustomConverters() method.

Fixed by https://github.com/spring-projects/spring-data-relational/commit/f5989e1cfcc64a8481ec87154e5cb710a12dbca1


numpy, pandas, PyYAML? stale dependencies

Hello there - I tried to build the project locally on a fresh Python 3.12 install.  There are a number of stale dependencies that encounter pip errors during the build (read more at https://stackoverflow.com/questions/77364550/attributeerror-module-pkgutil-has-no-attribute-impimporter-did-you-mean ) that can be fixed by tweaking the requirements.txt file.
My local diff looks like
@@ -3,13 +3,13 @@ hdbscan==0.8.33
 ipywidgets==8.1.2
 langchain==0.1.5
 nltk==3.8.1
-numpy==1.23.5
-openai==1.23.1
-pandas==2.2.0
+numpy==1.26.4
+openai>=1.23.1
+pandas>=2.2.0
 pathos==0.3.0
 protobuf==4.25.2
-PyYAML==6.0
+PyYAML>=6.0
 tqdm==4.66.1
 traitlets==5.14.1
 umap-learn==0.5.5

... I wasn't totally methodical about this, but these changes got me past the pip install errors.

Thanks for raising this, and apologies for the delayed response! I'll update the requirements file so that others can get set up with local development more easily. Also, I've been using Python 3.10 for local development, but I can check later if anything breaks with Python 3.12.


Error: Since this type definition includes a header (a comment starting with // Type definitions for), assumed this was a DefinitelyTyped package.

When upgrading @definitelytyped/dtslint from 0.0.182 to 0.0.183, I am getting the dtslint error:
<EMAIL_ADDRESS>Error: Since this type definition includes a header (a comment starting with `// Type definitions for`), assumed this was a DefinitelyTyped package.
But it is not in a `DefinitelyTyped/types/xxx` directory: /home/runner/work/html-react-parser/html-react-parser
    at assertPathIsInDefinitelyTyped (/home/runner/work/html-react-parser/html-react-parser/node_modules/@definitelytyped/dtslint/dist/index.js:186:15)
    at runTests (/home/runner/work/html-react-parser/html-react-parser/node_modules/@definitelytyped/dtslint/dist/index.js:119:5)
    at main (/home/runner/work/html-react-parser/html-react-parser/node_modules/@definitelytyped/dtslint/dist/index.js:79:15)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

See https://github.com/remarkablemark/html-react-parser/pull/1093

Oh, eek, you're actually using this infra. We just did a huge refactor to make heavy use of pnpm and the header is now expected to be in package.json.
https://github.com/DefinitelyTyped/DefinitelyTyped/pull/67085

Probably just remove the headers entirely; but I haven't actually found the file with the header in your repo.
I'm more wondering what you're using dtslint for, and if you'd be better served by tsd or something.

I'm using dtslint to type check my custom declaration files since it's a JavaScript repo. Would tsd work better here?

If you're just looking for ExpectType, probably, though I know that we have more lint rules that may be useful. But, those change based on DT's needs to I'm not totally sure how useful they are externally.

Thanks I'll look it


New: added gometalinter for travis

Current coverage is 67.42% (diff: 100%)

No coverage report found for master at 2dd6447.

Powered by Codecov. Last update 2dd6447...5aebbd0


Refactor constructor of DialogBox and handleUserInput

Fixes #23

@se-edu/summer-2024-pr-reviewers for your review please ...

As proposed in #23

Use these keywords instead.

LGTM too. Good job on spotting this issue. It does decrease dependency and increase code readability. In fact, It just makes more sense for the Dialog Box constructor to create the Label and ImageView. This change should be safe and should not cause any major issues in the future.


dip25 compliance

see https://github.com/dlang/dmd/pull/9154/

@thewilsonator you da man!

Hmm, I need to look at those CI failures.

Thanks!

dlang/tools PR: https://github.com/dlang/tools/pull/360


TableWidget: update number of items after removal

When an item is removed from a TableWidget (which is implemented as a DataTable), the total number of records shown below the table is not updated. One way to achieve an update of that number would be to reload the table contents after removal, just as it is reloaded after editing an item (and thereby, after adding one).
Possibly, though, there is a better way by making better use of the DataTables API. It should be investigated whether using the API correctly affects the total number of records displayed after removal (and addition) of an item, and whether items can be modified in a way that keeps sorting intact at all times. If that is possible, reloading table contents would not be necessary at all. Such a change might require a little refactoring as adding and removing items is implemented by the basic ListWidget and would now need to be specialised for the TableWidget.

Hey Thomas,
thanks a lot for detailing the problem. Would you mind writing a test for that case? That would make it easier for us to reproduce the problem and find a solution.
Thanks in advance,
Sebastian


ALTER TABLE ... IF EXISTS ... RENAME COLUMN has incorrect description

Spotted by a Cockroach user:

Hi, noticed a possible docs issue. In https://www.cockroachlabs.com/docs/stable/rename-column.html it says about IF EXISTS, "Rename the column only if a column of current_name exists; if one does not exist, do not return an error."
But actually this only renames the column if the table exists. Renaming a column that doesn't exist still fails.

This observation aligns with the code, so the docs look off here.

Thanks, @nvanbenschoten.
@ericharmeling, this is quick fix.


Installing via npm fails

Hi folks,
I have a problem installing this plugin.
Environment:

Windows 10 Home
npm 6.14.4
nodejs v13.11.0
preact-cli 2.2.1

So, here is what I did (STR):

install preact-cli npm install -g preact-cli
create a project from the default template preact create default my-project
change directory to my-project cd my-project
ensure that build is working npm run build
install the preact-cli-plugin-flow npm install preact-cli-plugin-flow --save-dev
create the preact.config.js file and put there

const preactCliFlow = require('preact-cli-plugin-flow');
export default function (config) {
	preactCliFlow(config);
}

Then I tried to execute npm run build and it failed. The console output:
><EMAIL_ADDRESS>build C:\my-project
> preact build

× ERROR C:\my-project\node_modules\preact-cli-plugin-flow\src\index.js:1
Error: Cannot find module 'babel-plugin-transform-flow-strip-types'
Require stack:
- C:\my-project\node_modules\preact-cli-plugin-flow\src\index.js
- C:\my-project\preact.config.js
- C:\my-project\node_modules\preact-cli\lib\lib\webpack\transform-config.js
- C:\my-project\node_modules\preact-cli\lib\lib\webpack\run-webpack.js
- C:\my-project\node_modules\preact-cli\lib\commands\build.js
- C:\my-project\node_modules\preact-cli\lib\commands\index.js
- C:\my-project\node_modules\preact-cli\lib\index.js
    at Object.<anonymous> (C:\my-project\node_modules\preact-cli-plugin-flow\src\index.js:1)
    at Generator.next (<anonymous>)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1167:10)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `preact build`
npm ERR! Exit status 1

So after all these steps, I tried removing the node_modules directory and then installing the dependencies again. The installation succeeded and I tried to run the npm run build again. Now, I'm getting another error:
><EMAIL_ADDRESS>build C:\my-project
> preact build

× ERROR Error: TypeError: Cannot read property 'filter' of undefined
    at preactCliFlow (C:\my-project\node_modules\preact-cli-plugin-flow\src\index.js:8:33)
    at default (C:\my-project\preact.config.js:4:2)
    at module.exports (C:\my-project\node_modules\preact-cli\lib\lib\webpack\transform-config.js:117:10)
    at async prodBuild (C:\my-project\node_modules\preact-cli\lib\lib\webpack\run-webpack.js:83:2)
    at async module.exports (C:\my-project\node_modules\preact-cli\lib\commands\build.js:37:14)
    at module.exports (C:\my-project\node_modules\preact-cli\lib\lib\webpack\transform-config.js:128:10)
    at async prodBuild (C:\my-project\node_modules\preact-cli\lib\lib\webpack\run-webpack.js:83:2)
    at async module.exports (C:\my-project\node_modules\preact-cli\lib\commands\build.js:37:14)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR<EMAIL_ADDRESS>build: `preact build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Looks like the versions incompatibility issue.
Here is the repo to reproduce it:
https://github.com/eugenesimakin/preact-cli-plugin-flow-issue-reproduce

Update on the version of preact-cli.
Despite the fact that I installed the 2.2.1 version of CLI the default template has another version 3.0.0-rc.6.
Here is the reference to the template's package.json https://github.com/preactjs-templates/default/blob/6fc0ee89e33ea080ce7570843763dd3a31571967/template/package.json#L27
Thanks, any advice would be appreciated.


Print Android Studio logs for Performance tests on sync failure

Fixes https://github.com/gradle/gradle/issues/25916

@bot-gradle test and merge

Your PR is queued. See the queue page for details.

I've triggered a build for you. Click here to see all failures if there's any.


Cube barrier changes from GH #1033

I left in the ACCESS_MEMORY_READ bit but can easily remove it if it's decided it's wrong.  I do get validation warnings specifying a srcAccessMask with LAYOUT_UNDEFINED.

The acquire barrier should not need any access masks at all, since it does not need to create a memory dependency anyway (the contents of the image need not be preserved, hence the UNDEFINED layout). I'm still unclear about the presentation barrier though.

So we don't need/want to transition the image's layout to COLOR_ATTACHMENT_OPTIMAL?

The renderpass can do the layout transitions (by setting initial layout UNDEFINED, first subpass layout COLOR_ATTACHMENT_OPTIMAL, final layout PRESENT_SRC) as per the spec in 7.1, page 126:

The implementation will automatically perform layout transitions as needed between subpasses to make each subpass use the requested layouts.

Since we ONLY need to do layout transition after the image is acquired (i.e. no memory dependency and no ownership transfer), the renderpass can take care of that by itself and should require no extra barrier. Do note that this is not the case for presentation, as we (potentially) need to pass the image over to the presentation queue, which can only be done via a pipeline barrier.
So, to summarize, the acquire barrier should be dropped and the initial layout for both attachments in the renderpass description should be switched to UNDEFINED since we don't care about the initial contents.

Ok - changes pushed.

Looks good to me. Since this is supposed to be sample code, perhaps it would be beneficial to add a comment or two explaining why there is no barrier and why the initial layout is UNDEFINED, to serve as a better tutorial.

Cherry picked to master


[Backport #9452] Account memory for undefined and undefined array types.

Summary of the changes / Why this improves CrateDB
Backport #9452
Checklist

[ ] User relevant changes are recorded in CHANGES.txt
[ ] Touched code is covered by tests
[ ] Documentation has been updated if necessary
[ ] CLA is signed
[ ] This does not contain breaking changes, or if it does:

It is released within a major release
It is recorded in CHANGES.txt
It was marked as deprecated in an earlier release if possible
You've thought about the consequences and other components are adapted
(E.g. AdminUI)

test this please


Hass.io ngrok Client

Hi Dylan,
I am I user of your ngrock addon it needs to be updated to work by mid January (client version issues.)  I am happy to do this and take over and publish the addon(I maintain a few already)  as you don't support this any more.  Are you happy for me do do so or are you going to update the addon?
Thanks
Phill.

Dear Dylan
I have been using your ngrok integration in HA for a long time, but unfortunately since January 15, 2024 ngrok asks to update the client. Consider updating your integration so you can reuse it after that date. Thanks for your time.

Hi Dylan,
I am I user of your ngrock addon it needs to be updated to work by mid January (client version issues.) I am happy to do this and take over and publish the addon(I maintain a few already) as you don't support this any more. Are you happy for me do do so or are you going to update the addon?
Thanks
Phill.

Hello Phil, I would be very glad if you could fork this Add as I am also using it quite a lot, and I have no skills to do such a thing !!!
thx a lot

Hey all, as is posted on the readme for the ngrok add-on, I've deprecated this particular add-on and have no plans to continue working on it. I've not used ngrok in a few years myself and if they're completely redoing their client it is likely that the add-on would need to be completely re-done as well. If someone else would like to take the add-on and update it to the current state they can fork it and update it. I kept the add-on on the page because I know many people were still using it, but tried to make it clear that it would not be getting any more updates.
I'm currently using other solutions such as SSH tunnels using the Tunnels add-on or Cloudflare tunnels using the Cloudflare add-on. Both accomplish a similar goal, are still working, and if any bugs are found in either I'd be happy to fix them. The official Nabu Casa remote access now offers custom domain support as well, and should be considered as an option as well.
I'll be closing this issue as I do not plan on updating the add-on.

@dy1io thanks @dy1io yes well I use this in HA for other things TM not HA itself where Cloudflare and SSH are not appropriate. I guess up to this point it just worked (tm),  but anyway thank you for your work and providing clarity.


empty again

@MichaelKim2000 Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.


Performance improvement of draw_slice and draw_iter

This implements the proposition to fix #43

It is done normally, I rebased my fork repo so now it is cleaner.


Account Request "Custom Fields" should be written to aft-request-metadata table,

In the documentation it is stated that:
The parameter custom_fields captures custom keys and values. You may want to collect additional metadata that can be logged with the account request. This metadata can trigger additional processing, either during provisioning or when updating an account
However the data is not written to the: "aft-request-metadata" table, instead it is written to the "aft-request table".
This is a two fold problem

It is inconsistent with the other metadata that is written to the "request-metadata" table
It makes it harder to use as intended, as the partition key of the aft-request table is NOT the account ID, and therefore cannot easily be used in the account customization's pipelines. Giving the customer a second class experience compared to the expectations used by the proved built-in pipeline.

The codebuild pipelines are given the ACCOUNT ID as an environment variable, and this is already used by the buildspec to get data from the corresponding item from the metadata data table.
e.g. CUSTOMIZATION=$(aws dynamodb get-item --table-name aft-request-metadata --key "{\"id\": {\"S\": \"$VENDED_ACCOUNT_ID\"}}" --attributes-to-get "account_customizations_name" | jq --raw-output ".Item.account_customizations_name.S")
However, if I want to run a script, or terraform local-exec to grab some useful metadata, as part of my account/global customizations (as per the documentation).  I first have to query the account metadata table, extract the email address, then pass that into another dynamodb call to the other table to get the custom fields.
Please can we add the custom data to the metadata dynamodB and then I can just make use of the $VENDED_ACCOUNT_ID to get ALL the metadata I need for my customizations

#11 Linked

We've opened a backlog item to track this feature request, thanks for the details here!


sort-json.ascendingSort in runOnSave seems to cause an infinite autoSave loop

Hi,
Thank you for creating the sort-json extension.
I think that sort-json overwrites the file content, regardless of whether the sort has resulted in changes to the file. This causes the autoSave to trigger, which in turn triggers my RunOnSave ("pucelle.run-on-save") config, which runs sort-json.ascendingSort, which cause autoSave to trigger, which...
I have other formatters and linters turned off so that they cannot interfere.
Assuming that my suspicion is valid, and given that two or more identically configured, consecutive sorts must result in an unchanging file; would it be possible to have sort-json check if its output has changed the input, and if so, only then write it back to the editor?
A .vscode/settings.json configuration that should reproduce the scenario (NOTE: .vscode is skipped by globMatch, so it will not show on settings.json itself):
...
  "runOnSave.commands": [
    {
      "command": "sort-json.ascendingSort",
      "globMatch": "**/*.json",
      "runIn": "vscode"
    }
  ],
...
  "sort-json.settings.contextMenu": {
    "ascendingSort": true,
    "sortJsonSubMenu": false
  },
  "sort-json.settings.isCaseSensitive": true,
  "sort-json.settings.sortMode": "Objects Only",
...

@mlao-pdx,
Thanks for pointing out this issue.
I have fixed and release a fix version 17.0.2.
Please update the extension and try it again.

@mlao-pdx,
Thanks for pointing out this issue. I have fixed and released a fix version 17.0.2. Please update the extension and try it again.

Tested 17.0.2. Works like a charm.


Real-time stats with multiple log files

I'd like to create real-time stats over multiple log files. Most of the logfiles are compressed using gzip and only the 2 newest files are uncompressed.
For a one-time analysis, I cat just execute
$ cat access.log access.log.1 <(zcat access.log.*.gz) | goaccess

but this won't create real-time statistics since the cat operation is only performed once when starting the command.
Is there a way to use multiple logfiles where some of them are compressed and some aren't?

Have you tried passing the log as?
# zcat access.log.*.gz | goaccess access.log access.log.1 -

Cool thanks. This seems to work fine.


Draft a rough project plan

https://nus-cs2103-ay1920s1.github.io/website/schedule/week7/project.html#5-draft-a-rough-project-plan

Done


it is possible to use backend tfjs-backend-wasm or webgl?

it is possible to use backend tfjs-backend-wasm or webgl?
performance is much better
https://github.com/tensorflow/tfjs/tree/master/tfjs-backend-wasm

The WebGL backend is utilized by default, I didn't try tfjs-backend-wasm yet, but if all the ops are supported by the backend yet then yes you should be able to use it as well.

It looks like the fill op is a dependency for tinyFaceDetector and tfjs-backend-wasm doesn't yet support it:
Uncaught (in promise) Error: 'fill' not yet implemented or not found in the registry. Did you forget to import the kernel?

(I didn't forget to import the kernel 😄)


add firing measurement modified event

Please check if the PR fulfills these requirements

[x] The commit message follows our guidelines
[x] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

issue #774
This is fixed with #786 in version 2.4.x. But not yet in version 3.
I fix this issue in version3 because i need this feature. by reference to #786.

What is the current behavior? (You can also link to an open issue here)

The freehand tool doesn't fire the cornerstonetoolsmeasurementmodified event as the other measurement tools

What is the new behavior (if this is a feature change)?

The event "cornerstonetoolsmeasurementmodified" be fired and the handler is called.

I think it is done. Could you review this?

@JamesAPetts, I think I've resolved the CI issue. Please feel free to merge this if it has your green light.

:tada: This PR is included in version 3.5.3 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Buffers preview is not working

Thanks for the plugin.
Is there some config I'm missing? When I try to execute FzfPreviewBuffers, the error bellow happens:

I seem to be getting the same error when trying to execute:

FzfPreviewBuffers
FzfPreviewMruFiles

FWIW let files = systemlist(g:fzf_preview_filelist_command) works if I run it in command mode. I also tried explicitly setting fzf_preview_filelist_command to 'rg --files --hidden --follow --no-messages -g \!"* *"' from the docs which didn't help.

It's a typo. You can fix easily for yourself...
Looksy at lines 60 & 61 in autload/fzf_preview.vim. Line 61 should read, return s:convert_for_fzf(buffers) (it currently incorrectly lists "files" instead of "buffers"

It's a typo. You can fix easily for yourself...
Looksy at lines 60 & 61 in autload/fzf_preview.vim. Line 61 should read, return s:convert_for_fzf(buffers) (it currently incorrectly lists "files" instead of "buffers"

Nice! Made a PR to fix it. Thank you 🙏


netdna.bootstrapcdn.com

This breaks a bunch of CSS sites like cleancss.com
This is a false positive

thank you very much for your bug reports!


[Feature]How to write the can embrace GitOps best practises by using this operator using ArgoCD

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Describe alternatives you've considered

Environment details:

Kubernetes version: [Version number]
Kubernetes distribution: [Vanilla, EKS, GKE, AKS, Rancher, OpenShift, k3s, KIND...]
mariadb-operator version: [Version number]
Install method: [helm, OLM, or static manifests]
Install flavor: [minimal, recommended, or custom]

Additional context

I'm running the operator with ArgoCD, but I really don't know what kind of info you want.

After running the mariadb operator using Helm chart, How to creat a Mariadb-instance, database, user and grants and so on, like you see the mariadb-operator github we follow the quick start section in the README.md file and I want the information about how to perform that all operations in the ArgoCD??

This has been discussed here:

https://mariadb-community.slack.com/archives/C06AWJBAC1H/p1719407979965279

After talking with @sennerholm, we concluded that an ArgoCD example will help. Something similar to our current flux example.

Yes, I have solved the issue, thanks to sennerholm.
On Fri, 19 Jul, 2024, 8:20 pm Martin Montes, @.***>
wrote:

This has been discussed here:

https://mariadb-community.slack.com/archives/C06AWJBAC1H/p1719407979965279
After talking with @sennerholm https://github.com/sennerholm, we
concluded that an ArgoCD example will help. Something similar to our
current flux example
https://github.com/mariadb-operator/mariadb-operator/tree/main/examples/flux
.
—
Reply to this email directly, view it on GitHub
https://github.com/mariadb-operator/mariadb-operator/issues/697#issuecomment-2239395057,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3YHVBNMA7LVEKPB3WMXNC3ZNERU5AVCNFSM6AAAAABJ5IMF6GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZZGM4TKMBVG4
.
You are receiving this because you authored the thread.Message ID:
@.***>


Typing changes to please Pyright

Summary of Changes
This is not intended to be merged as is, I'm not that familiar with the falcon codebase.
The code is passing the Pyright checks in basic mode.
In standard mode there are a few more errors. These are mostly related to the unbound variables defined only in some branch of if/else. Pyright is strict here and insist for variables to be always defined. I "fixed" one of these errors in CompiledRouter.
I run the tests. All of them are either green or skipped (?).
The type for headers of falcon.errors was made more strict: dict[str,str] | list[tuple[str, str] instead of Mapping[str, str] | Iterable[tuple[str, str]]. The catch is that dict is iterable too, so dict keyed by tuple of two strings (i.e. dict[tuple[str, str], Any]) is accepted, while should not.
I moved _logger to the separate module. The _logger was used in falcon.asgi/app, but root falcon module was never imported there.
I replaced hasattr() applied to some optional methods with getattr(). Pyright is strict here too: hasattr success means nothing :-)

I had also made some changes. Will create a new PR

I've pushed them here https://github.com/falconry/falcon/pull/2379
Everything should pass there. Could you take a look @jkmnt ?
thanks for getting the ball rolling!

No complains from pyright on my check in both standart and basic modes.
Personally I'm not a big fan of silencing the typechecker, but in internal code it's ok.
I think
meth: Anno = getattr(obj, 'meth_name', None);
if meth:
    meth()

vs
 if hasattr(obj, 'meth_name'):
     ob.meth_name()

is still better from both the typecheck and performance standpoints: one attribute lookup vs two.
Though the try: obj.meth(); except ... if even faster )

I've pushed them here #2379
Everything should pass there. Could you take a look @jkmnt ?
thanks for getting the ball rolling!

I agree getatrr. I will cherry pick your chane in the other one


Only solid color in wallpaper and apps doesnot open like firefox and VS code

Already reported ? *

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

Regression?
Yes
System Info and Version
 System/Version info
•   hyprctl systeminfo -c
Hyprland, built from branch main at commit bc299928ad5571300180eb8edb6742ed3bbf0282  (output/xdg-output: avoid sending events to released globals).
Date: Wed Oct 9 01:26:40 2024
Tag: v0.44.0-20-gbc299928, commits: 5319
built against aquamarine 0.4.2

flags: (if any)

System Information:
System name: Linux
Node name: eve
Release: 6.11.2-zen1-1.1-zen
Version: #1 ZEN SMP PREEMPT_DYNAMIC Sun, 06 Oct 2024 03:15:15 +0000

GPU information:
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 620 [8086:5916] (rev 02) (prog-if 00 [VGA controller])
00:13.0 Non-VGA unclassified device [0000]: Intel Corporation Sunrise Point-LP Integrated Sensor Hub [8086:9d35] (rev 21)

os-release: NAME="Arch Linux"
PRETTY_NAME="Arch Linux"
ID=arch
BUILD_ID=rolling
ANSI_COLOR="38;2;23;147;209"
HOME_URL="https://archlinux.org/"
DOCUMENTATION_URL="https://wiki.archlinux.org/"
SUPPORT_URL="https://bbs.archlinux.org/"
BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues"
PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
LOGO=archlinux-logo

plugins:
  hyprgrass by horriblename ver 0.7

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

Config File: /home/evan/.config/hypr/hyprland.conf: Read Succeeded
# This file sources other files in `hyprland` and `custom` folders
# You wanna add your stuff in file in `custom`

#      ░▒▒▒░░░░░▓▓          ___________
#    ░░▒▒▒░░░░░▓▓        //___________/
#   ░░▒▒▒░░░░░▓▓     _   _ _    _ _____
#   ░░▒▒░░░░░▓▓▓▓▓▓ | | | | |  | |  __/
#    ░▒▒░░░░▓▓   ▓▓ | |_| | |_/ /| |___
#     ░▒▒░░▓▓   ▓▓   \__  |____/ |____/
#       ░▒▓▓   ▓▓  //____/

$scrPath = $HOME/.local/share/bin # set scripts path

# █ █▄░█ █▀█ █░█ ▀█▀
# █ █░▀█ █▀▀ █▄█ ░█░

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

input {
    kb_layout = us
    follow_mouse = 1

    touchpad {
        natural_scroll = true
    }

    sensitivity = 0.7
    # force_no_accel = 1
}

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

device {
    name = epic mouse V1
    sensitivity = -0.5
}

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

gestures {
    workspace_swipe = true
    workspace_swipe_fingers = 3
}

# Defaults
source=~/.config/hypr/hyprland/env.conf
source=~/.config/hypr/hyprland/execs.conf
source=~/.config/hypr/hyprland/general.conf
#source=~/.config/hypr/hyprland/rules.conf
#source=~/.config/hypr/hyprland/colors.conf
# source=~/.config/hypr/hyprland/keybinds.conf

# Custom
source=~/.config/hypr/custom/env.conf
source=~/.config/hypr/custom/execs.conf
source=~/.config/hypr/custom/general.conf
# source=~/.config/hypr/custom/rules.conf
#source=~/.config/hypr/custom/windowRules.conf
source=~/.config/hypr/custom/keybinds.conf
source=~/.config/hypr/custom/touchKeybinds.conf

Config File: /home/evan/.config/hypr/hyprland/env.conf: Read Succeeded
# ######### Input method ##########
# See https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland
env = QT_IM_MODULE, fcitx
env = XMODIFIERS, @im=fcitx
# env = GTK_IM_MODULE, wayland   # Crashes electron apps in xwayland
# env = GTK_IM_MODULE, fcitx     # My Gtk apps no longer require this to work with fcitx5 hmm
env = SDL_IM_MODULE, fcitx
env = GLFW_IM_MODULE, ibus
env = INPUT_METHOD, fcitx

# ############ Themes #############
env = QT_QPA_PLATFORM, wayland
env = QT_QPA_PLATFORMTHEME, qt5ct
# env = QT_STYLE_OVERRIDE,kvantum
# env = WLR_NO_HARDWARE_CURSORS, 1

# ######## Screen tearing #########
# env = WLR_DRM_NO_ATOMIC, 1

# ############ Others #############

Config File: /home/evan/.config/hypr/hyprland/execs.conf: Read Succeeded
# Bar, wallpaper
exec-once = swww-daemon --format xrgb
exec-once = /usr/lib/geoclue-2.0/demos/agent & gammastep
exec-once = ags &

# Input method
exec-once = fcitx5

# Core components (authentication, lock screen, notification daemon)
exec-once = gnome-keyring-daemon --start --components=secrets
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 || /usr/libexec/polkit-gnome-authentication-agent-1
exec-once = hypridle
exec-once = dbus-update-activation-environment --all
exec-once = sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # Some fix idk
exec-once = hyprpm reload

# Audio
exec-once = easyeffects --gapplication-service

# Clipboard: history
# exec-once = wl-paste --watch cliphist store &
exec-once = wl-paste --type text --watch cliphist store
exec-once = wl-paste --type image --watch cliphist store

# Cursor
exec-once = hyprctl setcursor Bibata-Modern-Classic 24

Config File: /home/evan/.config/hypr/hyprland/general.conf: Read Succeeded
# MONITOR CONFIG
# monitor=,preferred,auto,1
# monitor=,addreserved, 0, 0, 0, 0 # Custom reserved area

# HDMI port: mirror display. To see device name, use `hyprctl monitors`
# monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1

input {
    # Keyboard: Add a layout and uncomment kb_options for Win+Space switching shortcut
    kb_layout = us
    # kb_options = grp:win_space_toggle
    numlock_by_default = true
    repeat_delay = 250
    repeat_rate = 35
    accel_profile = flat
    sensitivity = 1

    touchpad {
        natural_scroll = yes
        disable_while_typing = true
        clickfinger_behavior = true
        scroll_factor = 0.7
    }
    special_fallthrough = true
    follow_mouse = 1
}

binds {
    # focus_window_on_workspace_c# For Auto-run stuff see execs.confhange = true
    scroll_event_delay = 0
}

gestures {
    workspace_swipe = true
    workspace_swipe_distance = 700
    workspace_swipe_fingers = 4
    workspace_swipe_cancel_ratio = 0.2
    workspace_swipe_min_speed_to_force = 5
    workspace_swipe_direction_lock = true
    workspace_swipe_direction_lock_threshold = 10
    workspace_swipe_create_new = true

    # workspace_swipe_touch= true

}

general {
    # Gaps and border
    gaps_in = 4
    gaps_out = 5
    gaps_workspaces = 50
    border_size = 1

    # Fallback colors
    col.active_border = rgba(0DB7D4FF)
    col.inactive_border = rgba(31313600)

    resize_on_border = true
    no_focus_fallback = true
    layout = dwindle

    #focus_to_other_workspaces = true # ahhhh i still haven't properly implemented this
    allow_tearing = true # This just allows the `immediate` window rule to work
}

dwindle {
	preserve_split = true
        # no_gaps_when_only = 1
	smart_split = false
	smart_resizing = false
	pseudotile = true
}

decoration {
    rounding = 20

    blur {
        enabled = true
        xray = true
        special = true
        new_optimizations = true
        size = 1
        passes = 1
        brightness = 1
        noise = 0.01
        # contrast = 1
        popups = true
        popups_ignorealpha = 0.6
    }
    # Shadow
    drop_shadow = true
    shadow_ignore_window = true
    shadow_range = 20
    shadow_offset = 0 2
    shadow_render_power = 4
    col.shadow = rgba(0000002A)

    # Shader
    # screen_shader = ~/.config/hypr/shaders/nothing.frag
    # screen_shader = ~/.config/hypr/shaders/vibrance.frag

    # Dim
    dim_inactive = false
    dim_strength = 0.1
    dim_special = 0
}

animations {
    enabled = true
    # Animation curves

    bezier = linear, 0, 0, 1, 1
    bezier = md3_standard, 0.2, 0, 0, 1
    bezier = md3_decel, 0.05, 0.7, 0.1, 1
    bezier = md3_accel, 0.3, 0, 0.8, 0.15
    bezier = overshot, 0.05, 0.9, 0.1, 1.1
    bezier = crazyshot, 0.1, 1.5, 0.76, 0.92
    bezier = hyprnostretch, 0.05, 0.9, 0.1, 1.0
    bezier = menu_decel, 0.1, 1, 0, 1
    bezier = menu_accel, 0.38, 0.04, 1, 0.07
    bezier = easeInOutCirc, 0.85, 0, 0.15, 1
    bezier = easeOutCirc, 0, 0.55, 0.45, 1
    bezier = easeOutExpo, 0.16, 1, 0.3, 1
    bezier = softAcDecel, 0.26, 0.26, 0.15, 1
    bezier = md2, 0.4, 0, 0.2, 1 # use with .2s duration
    # Animation configs
    animation = windows, 1, 3, md3_decel, popin 60%
    animation = windowsIn, 1, 3, md3_decel, popin 60%
    animation = windowsOut, 1, 3, md3_accel, popin 60%
    animation = border, 1, 10, default
    animation = fade, 1, 3, md3_decel
    # animation = layers, 1, 2, md3_decel, slide
    animation = layersIn, 1, 3, menu_decel, slide
    animation = layersOut, 1, 1.6, menu_accel
    animation = fadeLayersIn, 1, 2, menu_decel
    animation = fadeLayersOut, 1, 4.5, menu_accel
    animation = workspaces, 1, 7, menu_decel, slide
    # animation = workspaces, 1, 2.5, softAcDecel, slide
    # animation = workspaces, 1, 7, menu_decel, slidefade 15%
    # animation = specialWorkspace, 1, 3, md3_decel, slidefadevert 15%
    animation = specialWorkspace, 1, 3, md3_decel, slidevert
}

misc {
    vfr = true
    vrr = 1
    animate_manual_resizes = false
    animate_mouse_windowdragging = false
    enable_swallow = false
    swallow_regex = (foot|kitty|allacritty|Alacritty)

    disable_hyprland_logo = true
    force_default_wallpaper = 0
    new_window_takes_over_fullscreen = 2
    allow_session_lock_restore = true

    initial_workspace_tracking = false

    layers_hog_keyboard_focus = true

}

# # Overview
# plugin {
#     hyprexpo {
#         columns = 3
#         gap_size = 5
#         bg_col = rgb(000000)
#         workspace_method = first 1 # [center/first] [workspace] e.g. first 1 or center m+1

#         enable_gesture = true # laptop touchpad, 4 fingers
#         gesture_distance = 300 # how far is the "max"
#         gesture_positive = true
#     }
# }

Config File: /home/evan/.config/hypr/custom/env.conf: Read Succeeded
# You can put extra environment variables here
# https://wiki.hyprland.org/Configuring/Environment-variables/

Config File: /home/evan/.config/hypr/custom/execs.conf: Read Succeeded
# You can make apps auto-start here
# Relevant Hyprland wiki section: https://wiki.hyprland.org/Configuring/Keywords/#executing

# exec-once = hyprpm reload -n
exec-once = playerctld daemon
exec-once = systemctl start wluma --user

Config File: /home/evan/.config/hypr/custom/general.conf: Read Succeeded
# Put general config stuff here
# Here's a list of every variable: https://wiki.hyprland.org/Configuring/Variables/

monitor = eDP-1,preferred,0x0,1
monitor = DP-1, preferred,1920x0,1

# Below are useful when you are connecting your laptop in external display
# Suggest you edit below for your laptop display
# From WIKI This is to disable laptop monitor when lid is closed.
# consult https://wiki.hyprland.org/hyprland-wiki/pages/Configuring/Binds/#switches

# bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, 0x0, 1"
# bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable"

bindl = , switch:on:Lid Switch, exec, /home/evan/.config/hypr/scripts/monitorSleep.sh on
bindl = , switch:off:Lid Switch, exec, /home/evan/.config/hypr/scripts/monitorSleep.sh off

Config File: /home/evan/.config/hypr/custom/keybinds.conf: Read Succeeded
# You can put your preferred keybinds here
# https://wiki.hyprland.org/Configuring/Binds/

# █▄▀ █▀▀ █▄█ █▄▄ █ █▄░█ █▀▄ █ █▄░█ █▀▀ █▀
# █░█ ██▄ ░█░ █▄█ █ █░▀█ █▄▀ █ █░▀█ █▄█ ▄█

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

# Main modifier
$mainMod = Super # super / meta / windows key

# Assign apps
$term = kitty
$editor = code
$file = dolphin
$browser = firefox
$scriptsDir = $HOME/.config/hypr/scripts

# Window/Session actions
bind = $mainMod, Q, exec, $scrPath/dontkillsteam.sh # close focused window
bind = Alt, F4, exec, $scrPath/dontkillsteam.sh # close focused window
bind = $mainMod + Shift, Delete, exit, # kill hyprland session
bind = $mainMod, W, togglefloating, # toggle the window between focus and float
bind = $mainMod, G, togglegroup, # toggle the window between focus and group
bind = $mainMod, Return, fullscreen, # toggle the window between focus and fullscreen

bind = $mainMod, L, exec, loginctl lock-session # launch lock screen
#bind = $mainMod, L, exec, swaylock
bind = $mainMod+Shift, F, exec, $scrPath/windowpin.sh # toggle pin on focused window
bind = $mainMod, Backspace, exec, $scrPath/logoutlaunch.sh # launch logout menu
bind = Ctrl+Alt, W, exec, killall waybar || waybar # toggle waybar

bind = $mainMod+Shift, L, exec, loginctl lock-session
bindl = $mainMod+Shift, L, exec, sleep 1 && systemctl sleep  # Suspend system
# bind = $mainMod+Ctrl, L, exec, ags run-js 'lock.lock()' # [hidden]

####################### window Custom from end-4############################

bind = Super+Alt, F, fullscreenstate, 0 3 # Toggle fake fullscreen
# bind = Super, F, fullscreen, 0
bind = Super+ Shift,D, fullscreen, 1 # Maximize
bind = Super+Shift+Alt, Q, exec, hyprctl kill # Pick and kill a window
bind = Ctrl+Super, G, exec, for ((i=0; i<$(hyprctl monitors -j | jq length); i++)); do ags -t "crosshair""$i"; done # Toggle crosshair
# bind = Super+Shift+Alt, S, exec, grim -g "$(slurp)" - | swappy -f - # Screen snip >> edit

bind = $mainMod, Period, exec, pkill fuzzel || ~/.local/bin/fuzzel-emoji # Pick emoji >> clipboard
bind = Alt + Shift, T, exec, ~/.config/ags/scripts/color_generation/switchwall.sh # Change Agd Color and wallpaper
bind = Super, Comma, exec, ags run-js 'openColorScheme.value = true; Utils.timeout(2000, () => openColorScheme.value = false);' # View color scheme and options

# AGS shortcuts

bindr = $mainMod+Shift+Alt, R, exec, hyprctl reload; killall ags ydotool; ags & # Restart hyprland [hidden]
bindr = Alt+ Shift, R, exec, killall ags ydotool; ags & # Ags Restart widgets
bind = Ctrl+Alt, Slash, exec, ags run-js 'cycleMode();' # Ags Cycle bar mode (normal, focus)
bindir = Super, Super_L, exec, ags -t 'overview' # Ags Toggle overview/launcher
# bind = $mainMod + Shift, Tab, exec, ags -t 'overview' # Ags overview

bind = Super + Alt, a, exec, ags -t 'sideleft' # Ags Toggle left sidebar
# bind = Alt, b, exec, ags -t 'sideright' # Ags Toggle right sidebar

# bind = $mainMod + Alt,I, invertactivewindow

######################################################################################
# Application shortcuts
bind = $mainMod, T, exec, $term # launch terminal emulator
bind = $mainMod, E, exec, $file # launch file manager
bind = $mainMod, C, exec, $editor # launch text editor
bind = $mainMod, F, exec, $browser # launch web browser
bind = Ctrl+Shift, Escape, exec, $scrPath/sysmonlaunch.sh # launch system monitor (htop/btop or fallback to top)

# Rofi menus
bind = $mainMod, A, exec, pkill -x rofi || $scrPath/rofilaunch.sh d # launch application launcher
bind = $mainMod, Tab, exec, pkill -x rofi || $scrPath/rofilaunch.sh w # launch window switcher
bind = $mainMod+Shift, E, exec, pkill -x rofi || $scrPath/rofilaunch.sh f # launch file explorer

# Audio control
bindl  = , F10, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute
bindel = , F11, exec, $scrPath/volumecontrol.sh -o d # decrease volume
bindel = , F12, exec, $scrPath/volumecontrol.sh -o i # increase volume
bindl  = , XF86AudioMute, exec, $scrPath/volumecontrol.sh -o m # toggle audio mute
#bindl  = , XF86AudioMicMute, exec, $scrPath/volumecontrol.sh -i m # toggle microphone mute
bind = CTRL, F7, exec, $scrPath/volumecontrol.sh -i m # toggle microphone mute
bindel = , XF86AudioLowerVolume, exec, $scrPath/volumecontrol.sh -o d # decrease volume
bindel = , XF86AudioRaiseVolume, exec, $scrPath/volumecontrol.sh -o i # increase volume

# Media control
bindl  = , XF86AudioPlay, exec, playerctl play-pause # toggle between media play and pause
bindl  = , XF86AudioPause, exec, playerctl play-pause # toggle between media play and pause
bindl  = , XF86AudioNext, exec, playerctl next # media next
bindl  = , XF86AudioPrev, exec, playerctl previous # media previous

bind   = $mainMod, mouse:275, exec, playerctl next  # Media Next mouse
bind   = $mainMod, mouse:276, exec, playerctl previous # Media Previous mouse

# Brightness control
bindel = , XF86MonBrightnessUp, exec, $scrPath/brightnesscontrol.sh i # increase brightness
bindel = , XF86MonBrightnessDown, exec, $scrPath/brightnesscontrol.sh d # decrease brightness
bindel = Alt , XF86MonBrightnessUp, exec, $scrPath/brightnesscontrol.sh ci # contrast increase
bindel = Alt , XF86MonBrightnessDown, exec, $scrPath/brightnesscontrol.sh cd # contrast decrease

# Move between grouped windows
bind = $mainMod CTRL , H, changegroupactive, b
bind = $mainMod CTRL , L, changegroupactive, f

# Screenshot/Screencapture
bind = $mainMod, P, exec, $scrPath/screenshot.sh s # partial screenshot capture
bind = $mainMod+Ctrl, P, exec, $scrPath/screenshot.sh sf # partial screenshot capture (frozen screen)
bind = $mainMod+Alt, P, exec, $scrPath/screenshot.sh m # monitor screenshot capture
bind = , Print, exec, $scrPath/screenshot.sh p # all monitors screenshot capture

# OCR
bind = $mainMod+Alt,T,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l eng "tmp.png" - | wl-copy && rm "tmp.png" # OCR (English)
bind = $mainMod+Shift,J,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l jpn "tmp.png" - | wl-copy && rm "tmp.png" # OCR (Japanese)
bind = Ctrl+$mainMod+Shift,S,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract "tmp.png" - | wl-copy && rm "tmp.png" # OCR all

# Recording stuff
bind = $mainMod+Alt, R, exec, ~/.config/ags/scripts/record-script.sh # Record region (no sound)
bind = Ctrl+Alt, R, exec, ~/.config/ags/scripts/record-script.sh --fullscreen # [hidden] Record screen (no sound)
bind = Super+Ctrl+Alt, R, exec, ~/.config/ags/scripts/record-script.sh --fullscreen-sound # Record screen (with sound)

# Custom scripts
bind = $mainMod+Alt, G, exec, $scrPath/gamemode.sh # disable hypr effects for gamemode
# bind = $mainMod+Alt, Right, exec, $scrPath/swwwallpaper.sh -n # next wallpaper
# bind = $mainMod+Alt, Left, exec, $scrPath/swwwallpaper.sh -p # previous wallpaper

bind = $mainMod+Alt, Right, exec, ~/.config/ags/scripts/color_generation/randomwall.sh /home/evan/Pictures/Pictures/Wallpaper/Dark/ # next wallpaper
bind = $mainMod+Shift+Alt, Right, exec, ~/.config/ags/scripts/color_generation/randomwall.sh /home/evan/Pictures/Pictures/Wallpaper/Aniwall/ # previous wallpaper

bind = $mainMod+Alt, Up, exec, $scrPath/wbarconfgen.sh n # next waybar mode
bind = $mainMod+Alt, Down, exec, $scrPath/wbarconfgen.sh p # previous waybar mode
bind = $mainMod+Shift, R, exec, pkill -x rofi || $scrPath/wallbashtoggle.sh -m # launch wallbash mode select menu
bind = $mainMod+Shift, T, exec, pkill -x rofi || $scrPath/themeselect.sh # launch theme select menu
bind = $mainMod+Shift, A, exec, pkill -x rofi || $scrPath/rofiselect.sh # launch select menu
bind = $mainMod+Shift, W, exec, pkill -x rofi || $scrPath/swwwallselect.sh # launch wallpaper select menu
bind = $mainMod, V, exec, pkill -x rofi || $scrPath/cliphist.sh c # launch clipboard
# bind = Super, V, exec, pkill fuzzel || cliphist list | fuzzel  --match-mode fzf --dmenu | cliphist decode | wl-copy # Clipboard history >> clipboard
bind = $mainMod, K, exec, $scrPath/keyboardswitch.sh # switch keyboard layout
bind = $mainMod, slash, exec, $HOME/.local/share/bin/keybinds_hint.sh
bind = $mainMod+ Alt, Slash, exec, for ((i=0; i<$(hyprctl monitors -j | jq length); i++)); do ags -t "cheatsheet""$i"; done # Show cheatsheet

# Move/Change window focus
bind = $mainMod, Left, movefocus, l
bind = $mainMod, Right, movefocus, r
bind = $mainMod, Up, movefocus, u
bind = $mainMod, Down, movefocus, d
bind = Alt, Tab, movefocus, d

# Switch workspaces
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

# Switch workspaces to a relative workspace
bind = $mainMod+Ctrl, Right, workspace, r+1
bind = $mainMod+Ctrl, Left, workspace, r-1

# Move to the first empty workspace
bind = $mainMod+Ctrl, Down, workspace, empty

# Resize windows
# binde = $mainMod, equal , resizeactive, 30 0
# binde = $mainMod, minus , resizeactive, -30 0

binde = $mainMod, equal , splitratio, +0.1
binde = $mainMod, minus , splitratio, -0.1

# Move focused window to a workspace
bind = $mainMod+Shift, 1, movetoworkspace, 1
bind = $mainMod+Shift, 2, movetoworkspace, 2
bind = $mainMod+Shift, 3, movetoworkspace, 3
bind = $mainMod+Shift, 4, movetoworkspace, 4
bind = $mainMod+Shift, 5, movetoworkspace, 5
bind = $mainMod+Shift, 6, movetoworkspace, 6
bind = $mainMod+Shift, 7, movetoworkspace, 7
bind = $mainMod+Shift, 8, movetoworkspace, 8
bind = $mainMod+Shift, 9, movetoworkspace, 9
bind = $mainMod+Shift, 0, movetoworkspace, 10

# Move focused window to a relative workspace
bind = $mainMod+Ctrl+Alt, Right, movetoworkspace, r+1
bind = $mainMod+Ctrl+Alt, Left, movetoworkspace, r-1

# Move focused window around the current workspace
bind = $mainMod+Shift, Left, movewindow, l
bind = $mainMod+Shift, Right, movewindow, r
bind = $mainMod+Shift, Up, movewindow, u
bind = $mainMod+Shift, Down, movewindow, d

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

# Move/Resize focused window
bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow
bindm = $mainMod, Z, movewindow
bindm = $mainMod, X, resizewindow

# Move/Switch to special workspace (scratchpad)
bind = $mainMod+Alt, S, movetoworkspacesilent, special # Move to special workspace
bind = $mainMod, S, togglespecialworkspace, # Toggle special workspace

# Toggle focused window split
bind = $mainMod, J, togglesplit

# Move focused window to a workspace silently
bind = $mainMod+Alt, 1, movetoworkspacesilent, 1
bind = $mainMod+Alt, 2, movetoworkspacesilent, 2
bind = $mainMod+Alt, 3, movetoworkspacesilent, 3
bind = $mainMod+Alt, 4, movetoworkspacesilent, 4
bind = $mainMod+Alt, 5, movetoworkspacesilent, 5
bind = $mainMod+Alt, 6, movetoworkspacesilent, 6
bind = $mainMod+Alt, 7, movetoworkspacesilent, 7
bind = $mainMod+Alt, 8, movetoworkspacesilent, 8
bind = $mainMod+Alt, 9, movetoworkspacesilent, 9
bind = $mainMod+Alt, 0, movetoworkspacesilent, 10

# minimize window

bind = Alt, Q, movetoworkspacesilent, special:minimized
bind = Alt + Shift, D, togglespecialworkspace, minimized
bind = Alt + Shift, D, submap, minimized
submap = minimized
bind = , F4, killactive
bind = , Return, movetoworkspace, +0
bind = , Return, submap, reset
bind = , mouse:272, movetoworkspace, +0
bind = , mouse:272, submap, reset
bind = , escape, togglespecialworkspace, minimized
bind = , escape, submap, reset
submap = reset

# game launcher
bind = $mainMod+Shift, G, exec, pkill -x rofi || $scrPath/gamelauncher.sh # launch steam game launcher // install steam

# From JakooLit

bind = $mainMod ALT, E, exec, $scriptsDir/QuickEdit.sh # Quick Edit Hyprland Settings
bind = $mainMod SHIFT, M, exec, $scriptsDir/RofiBeats.sh # online music

bind = $mainMod ALT, O, exec, hyprctl setprop active opaque toggle #disable opacity to active window
bind = $mainMod ALT, C, exec, $scriptsDir/RofiCalc.sh # calculator (qalculate)

# bind = $mainMod, B, exec, pkill -SIGUSR1 waybar # Toggle hide/show waybar
# bind = $mainMod CTRL, B, exec, $scriptsDir/WaybarStyles.sh # Waybar Styles Menu
# bind = $mainMod ALT, B, exec, $scriptsDir/WaybarLayout.sh # Waybar Layout Menu

Config File: /home/evan/.config/hypr/custom/touchKeybinds.conf: Read Succeeded

input {
    touchdevice{
        output = "eDP-1"
    }
}

plugin:touch_gestures {

        sensitivity = 7.0
        workspace_swipe_fingers = 5
        # workspace_swipe_edge = r
        long_press_delay = 250
        edge_margin = 10

        # swipe left from right edge
        hyprgrass-bind = , edge:r:l, workspace, r+1
        # hyprgrass-bind = , edge:r:l, movetoworkspacesilent, r+1

        # swipe right from left edge
        hyprgrass-bind = , edge:l:r, workspace, r-1

        # swipe up from bottom edge
        hyprgrass-bind = , edge:d:u, exec, kitty

        # swipe down from left edge
        hyprgrass-bind = , edge:l:d, exec, pactl set-sink-volume @DEFAULT_SINK@ -10%

        # swipe up from left edge
        hyprgrass-bind = , edge:l:u, exec, pactl set-sink-volume @DEFAULT_SINK@ +10%

        # swipe down from right edge
        hyprgrass-bind = , edge:r:d, exec, ags run-js 'brightness.screen_value -= 0.05; indicator.popup(1);'

        # swipe up from right edge
        hyprgrass-bind = , edge:r:u, exec, ags run-js 'brightness.screen_value += 0.05; indicator.popup(1);'

        # swipe down with 4 fingers
        # NOTE: swipe events only trigger for finger count of >= 3
        hyprgrass-bind = , swipe:4:d, killactive
        hyprgrass-bind = , swipe:4:u, movetoworkspacesilent, special

        hyprgrass-bind = , swipe:3:r, movewindow,r
        hyprgrass-bind = , swipe:4:r, movetoworkspace,e+1

        hyprgrass-bind = , swipe:3:l, movewindow,l
        hyprgrass-bind = , swipe:4:l, movetoworkspace,e-1

        hyprgrass-bind = , swipe:3:u, movewindow,u
        hyprgrass-bind = , swipe:3:d, movewindow,d

        # swipe diagonally left and down with 3 fingers
        # l (or r) must come before d and u
        hyprgrass-bind = , swipe:3:ru, movetoworkspacesilent,r+1
        hyprgrass-bind = , swipe:3:ld, movetoworkspacesilent,r-1

        # tap with 3 fingers
        # NOTE: tap events only trigger for finger count of >= 3
        hyprgrass-bind = , tap:3, exec, konsole
        # hyprgrass-bind = , tap:3, exec, kitty

        # longpress can trigger mouse binds:
        hyprgrass-bindm = , longpress:2, movewindow
        hyprgrass-bindm = , longpress:3, resizewindow
}

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

Description
When I change the wallaper with swww the wallpaper changes but the wallpaper is only single solid color instead of image.
and when I try to change with hyprpaper, I get this error
Couldn't connect to /run/user/1000/hypr/bc299928ad5571300180eb8edb6742ed3bbf0282_1728453736_1323778987/.hyprpaper.sock. (3)

when trying to open zen-browser (firefox fork), it never opens and after terminating it this comes in console
^CExiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: CompositorBridgeChild receives IPC close with reason=AbnormalShutdown (t=3.88111) Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: CompositorBridgeChild receives IPC close with reason=AbnormalShutdown (t=4Exiting due to channel error.
Exiting due to channel error.
Crash Annotation GraphicsCriticalError: |[C0][GFX1-]: CompositorBridgeChild receives IPC close with reason=AbnormalShutdown (t=3.89292) Exiting due to channel error.

when trying to open firefox, this comes in console
 [GFX1-]: RenderCompositorSWGL failed mapping default framebuffer, no dt

Exiting due to channel error.
Exiting due to channel error.
Exiting due to channel error.

and when trying to open Vs code the code opens in quarter of top left screen.
I would love to post the screenshot of it but it seems the screenshot is also not working. when i try all i get is 8kb blank image only.
Even though firefox and zen-browser doesnot work, firedragon works
All these problem are only in hyprland. It works perfectly fine in Kde Plasma.
How to reproduce
Changing wallpaper through swww or hyprpaper
swww
swww img /path/to/img

hyprpaper
hyprctl hyprpaper wallpaper /path/to/img

opening Firefox, zen-browser, vs code,
Crash reports, logs, images, videos
No response

AMDGPU same issue. Also, when changing something in the config file, wallpaper from hyprpaper shows up, but the browser doesn't open

After bisecting:

Bad version : 0.44.0-20-bc299928
Good version : 0.44.0-19-ac658500

fixed on git


Does this also expose Request charge?

Can we also get the request charge for the copy activity to and from Cosmos Db via data factory? Can this be obtained by data factory through portal/.net/python sdk?

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

ID: 43cac5a8-aa7f-8aba-d47e-e78249efa031
Version Independent ID: 09c34890-b4f0-be28-9813-bb8066631f6f
Content: Copy data to or from Azure Cosmos DB (SQL API) by using Data Factory
Content Source: articles/data-factory/connector-azure-cosmos-db.md
Service: multiple
GitHub Login: @linda33wj
Microsoft Alias: jingwang

@karthiksubramanians . At this time we are reviewing the ask  and will get back to you as soon as we can .

@karthiksubramanians Thank you for your inquiry. Could you please elaborate what is meant by "Request charge for the copy activity to and from Cosmos DB via ADF"?

I am copying data from a SQL database table (Postgresql/MySQL) into Cosmos DB. Will I get the RUs cost for inserting/upserting into Cosmos DB table? (RU write/upsert consumed like we get from Query stats). Also from copying from Cosmos DB?
Additionally, if I am using a For Each activity in the pipeline , will it expose the RUs for each loop of that pipeline.
I am trying for this as I want measure the throughput and peak load for Cosmos DB design. Is it possible to get these values using the SDK or portal?

@karthiksubramanians Thank you for your response. Currently, you can measure the consumption only by using the Azure portal or by inspecting the response sent back from Azure Cosmos DB through one of the SDKs mentioned in this doc : Find the request unit charge in Azure Cosmos DB
Additional info:
I believe you can use a Custom Activity to get the Request Unit charge.
The below doc explains about response headers which are common to all responses from the SQL API.
x-ms-request-charge will provide the RU value for a given request. Please refer this doc
Hope this helps.

@karthiksubramanians We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.
Thank you.

@KranthiPakala-MSFT Just to clarify, you are saying the Copy Data operation from SQL Database to Cosmos DB or from Cosmos DB does not expose the RU utilized as part of the data factory response / output?
And that probably the only way would be to use Custom Activity to obtain the RU information?

@karthiksubramanians Yes, the Copy activity does not expose RU utilized. The better way is to go with the SDK's mentioned in this doc : Find the request unit charge in Azure Cosmos DB

@KranthiPakala-MSFT My confusion arises from the fact that here it says that Data factory copy activity with cosmos DB integrates with bulk executor library.
And here we can see that as a response to one of the methods of the bulk executor library of cosmos db , we get a request charge.
My questions that still remains is whether I would be able to get the request charge as a part of the pipeline response if I run the data factory via SDK?

@karthiksubramanians Thanks for your response. I have reopened the issue and assigned it to the content author for further clarification.

@linda33wj Could you please take a look at the ask from @karthiksubramanians ?

Are there any updates to this? @KranthiPakala-MSFT @linda33wj

@linda33wj Could you please have a look into the above ask from @karthiksubramanians?

Are there any updates to this? @KranthiPakala-MSFT @linda33wj

Hi @linda33wj, Could you please have a look at the ask from user and provide some insights? - Thanks!

Closing issue as it does not seem like there is a direct way to get the request charge from Data Factory.


Added German Language Options

Please confirm this pull request meets the following requirements:

[x] I tested my code and it is running perfectly
[x] I updated README.md and example\lib\main.dart due to the changes

Which change are you proposing?

[x] Suggesting edits to an existing style or feature
[ ] Curating a new feature
[ ] Something that does not neatly fit into the binary options above

To  enable German users to also use the package.

Please note: we will close your PR without comment if you do not check the boxes above and provide ALL requested information.

Any updates?

Thanks.