VM, package:vm_service_client and/or package:coverage fail to find source line/column

This is happening on Flutter commit https://github.com/flutter/flutter/commit/3fbd140e77601686acb336cd2af2838d03ba0572.
When we run tests with coverage, one of the tests fails with the following:
/b/build/slave/Linux/build/flutter/packages/flutter/test/widgets/binding_test.dart
Bad state: Couldn't find line and column for token 3230 in file:///b/build/slave/Linux/build/flutter/packages/flutter/lib/src/widgets/binding.dart.
#0      VMScript._lineAndColumn (package:vm_service_client/src/script.dart:243:5)
#1      _ScriptLocation._ensureLineAndColumn (package:vm_service_client/src/script.dart:314:26)
#2      _ScriptLocation.line (package:vm_service_client/src/script.dart:295:5)
#3      _getCoverageJson (package:coverage/src/collect.dart:103:46)
<asynchronous suspension>
#4      _getAllCoverage (package:coverage/src/collect.dart:51:26)
<asynchronous suspension>
#5      collect (package:coverage/src/collect.dart:35:18)
<asynchronous suspension>
#6      CoverageCollector.collectCoverage (package:flutter_tools/src/test/coverage_collector.dart:55:45)
<asynchronous suspension>
#7      CoverageCollector.handleFinishedTest (package:flutter_tools/src/test/coverage_collector.dart:27:11)
<asynchronous suspension>
#8      _FlutterPlatform._startTest (package:flutter_tools/src/test/flutter_platform.dart:649:30)
<asynchronous suspension>
#9      _FlutterPlatform.loadChannel (package:flutter_tools/src/test/flutter_platform.dart:408:36)
#10     PlatformPlugin.load (package:test/src/runner/plugin/platform.dart:65:19)
<asynchronous suspension>
#11     Loader.loadFile.<anonymous closure> (package:test/src/runner/loader.dart:245:36)
<asynchronous suspension>
#12     new LoadSuite.<anonymous closure>.<anonymous closure> (package:test/src/runner/load_suite.dart:92:31)
<asynchronous suspension>
#13     invoke (package:test/src/utils.dart:241:5)
#14     new LoadSuite.<anonymous closure> (package:test/src/runner/load_suite.dart:91:7)
#15     Invoker._onRun.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:test/src/backend/invoker.dart:403:25)
<asynchronous suspension>
#16     new Future.<anonymous closure> (dart:async/future.dart:176:37)
#17     StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:209:15)
#18     StackZoneSpecification._registerCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:119:48)
#19     _rootRun (dart:async/zone.dart:1120:38)
#20     _CustomZone.run (dart:async/zone.dart:1021:19)
#21     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#22     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#23     StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:209:15)
#24     StackZoneSpecification._registerCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:119:48)
#25     _rootRun (dart:async/zone.dart:1124:13)
#26     _CustomZone.run (dart:async/zone.dart:1021:19)
#27     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#28     Timer._createTimer.<anonymous closure> (dart:async/runtime/libtimer_patch.dart:21:15)
#29     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
#30     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)
#31     _RawReceivePortImpl._handleMessage (dart:isolate/runtime/libisolate_patch.dart:171:12)

Full log file.
/cc @JekCharlsonYu @a-siva @cbracken

Potentially relevant issue from when something similar came up last time:
dart-lang/coverage#194
I'd banged up dart-lang/coverage#216 at the time, but I didn't land it; I suspect because perhaps it didn't solve the issue.

Some more info: the vm_service_client is looking for token 3230 but seems to be receiving the following tokenPosTable from the VM:
  245, 8164, 3, 8165, 4
  246, 8181, 8, 8194, 21
  247, 8209, 11
  248, 8230, 5
  249, 8252, 5, 8263, 16, 8282, 35
  250, 8312, 8, 8319, 15, 8337, 33
  251, 8365, 8, 8372, 15, 8405, 48
  252, 8460, 20, 8471, 31, 8492, 52
  253, 8541, 20, 8548, 27, 8566, 45
  254, 8591, 3
  261, 8870, 3, 8896, 29, 8905, 38, 8908, 41, 8917, 50
  262, 8943, 25
  264, 8957, 3, 8958, 4
  265, 8974, 8, 8995, 29
  266, 9010, 11
  268, 9051, 16, 9065, 30, 9072, 37
  269, 9112, 5, 9117, 10
  270, 9140, 7
  272, 9220, 19
  273, 9235, 11
  274, 9261, 11, 9268, 18
  275, 9293, 10
  278, 9311, 7
  280, 9397, 17, 9400, 20
  281, 9411, 9, 9441, 39, 9472, 70
  282, 9490, 17, 9496, 23
  283, 9515, 11, 9530, 26, 9561, 57, 9564, 60
  284, 9583, 13
  285, 9633, 22, 9666, 55
  286, 9683, 11, 9690, 18
  287, 9716, 10
  291, 9745, 12
  292, 9756, 7
  294, 9836, 17, 9839, 20, 9842, 23, 9872, 53, 9897, 78
  295, 9915, 17, 9921, 23
  296, 9940, 11, 9955, 26, 9980, 51, 9983, 54
  297, 10002, 13
  298, 10052, 22, 10079, 49
  299, 10096, 11, 10103, 18
  300, 10129, 10
  304, 10221, 7
  306, 10304, 17, 10316, 29, 10341, 54
  307, 10359, 17, 10365, 23, 10378, 36
  308, 10390, 11, 10394, 15, 10420, 41, 10423, 44
  309, 10442, 13, 10470, 41
  310, 10486, 10
  313, 10527, 30, 10536, 39, 10558, 61
  315, 10592, 7
  316, 10610, 6, 10612, 8
  317, 10617, 3
  319, 10622, 3, 10635, 16, 10648, 29
  320, 10657, 5, 10661, 9, 10679, 27
  321, 10696, 7, 10707, 18, 10718, 29
  322, 10744, 7, 10751, 14
  324, 10773, 5
  325, 10804, 3
  329, 10924, 3, 10939, 18, 10950, 29, 10953, 32, 10964, 43
  330, 10985, 20, 10999, 34
  338, 11250, 3, 11267, 20, 11280, 33, 11283, 36, 11295, 48, 11307, 60
  340, 11347, 38, 11384, 75
  359, 12291, 3, 12296, 8, 12307, 19, 12331, 43, 12344, 56, 12355, 67, 12359, 71, 12368, 80
  369, 12714, 3, 12719, 8, 12733, 22, 12757, 46, 12770, 59, 12781, 70, 12788, 77, 12797, 86
  371, 12802, 3, 12803, 4
  372, 12819, 8, 12839, 28
  373, 12854, 11
  374, 12882, 5, 12910, 33, 12922, 45
  375, 12940, 7, 12949, 16
  376, 12971, 3
  378, 12976, 3, 12977, 4
  379, 12993, 8, 13021, 36
  380, 13036, 11
  381, 13072, 5, 13100, 33, 13112, 45
  382, 13130, 7, 13139, 16
  383, 13169, 3
  385, 13174, 3, 13175, 4
  386, 13191, 8, 13225, 42
  387, 13240, 11
  388, 13282, 5, 13310, 33, 13322, 45
  389, 13340, 7, 13349, 16
  390, 13385, 3
  397, 13552, 3, 13553, 4
  398, 13566, 4
  399, 13587, 8, 13606, 27
  400, 13615, 5, 13640, 30, 13647, 37
  401, 13658, 3
  409, 13937, 3, 13938, 4
  410, 13951, 4
  411, 13972, 8, 13993, 29, 14001, 37
  412, 14015, 5, 14043, 33, 14055, 45
  413, 14073, 7, 14082, 16, 14098, 32
  414, 14109, 3
  422, 14466, 3, 14467, 4
  423, 14480, 4
  424, 14501, 8, 14537, 44
  425, 14546, 5, 14574, 33, 14586, 45
  426, 14604, 7, 14613, 16
  427, 14649, 3
  443, 15314, 3, 15315, 4
  444, 15340, 16, 15354, 30, 15363, 39
  445, 15369, 5, 15397, 33, 15406, 42, 15443, 79
  446, 15464, 7, 15468, 11, 15474, 17, 15483, 26
  447, 15506, 9
  449, 15540, 21
  450, 15549, 3
  462, 16024, 3, 16025, 4
  463, 16038, 4
  464, 16067, 16, 16082, 31, 16090, 39, 16103, 52
  465, 16109, 5, 16137, 33, 16146, 42, 16183, 79
  466, 16204, 7, 16208, 11, 16214, 17, 16223, 26, 16236, 39
  467, 16252, 9
  469, 16268, 3
  471, 16273, 3, 16289, 19, 16316, 46, 16328, 58
  472, 16346, 5, 16354, 13, 16365, 24
  473, 16386, 12
  474, 16406, 9, 16413, 16
  475, 16442, 12
  476, 16463, 9, 16470, 16, 16486, 32, 16497, 43
  478, 16519, 5
  479, 16553, 3
  481, 16558, 3, 16559, 4
  482, 16575, 8, 16605, 38, 16624, 57
  483, 16643, 11, 16674, 42
  484, 16686, 5, 16714, 33, 16726, 45
  485, 16744, 7, 16753, 16, 16780, 43
  486, 16790, 3
  496, 17098, 3, 17103, 8, 17123, 28
  497, 17132, 5, 17160, 33, 17172, 45
  498, 17190, 7, 17199, 16
  499, 17226, 3
  501, 17231, 3, 17244, 16, 17264, 36, 17272, 44, 17293, 65
  502, 17326, 32, 17334, 40, 17336, 42
  503, 17368, 18, 17373, 23, 17375, 25, 17382, 32
  504, 17396, 5, 17404, 13
  505, 17423, 12
  506, 17449, 9
  507, 17481, 9
  509, 17498, 5
  510, 17508, 3
  512, 17518, 8
  513, 17556, 7
  514, 17591, 3, 17600, 12, 17618, 30, 17621, 33, 17649, 61, 17653, 65
  523, 17958, 3, 17967, 12, 17995, 40, 17998, 43, 17999, 44, 18022, 67
  531, 18342, 3, 18347, 8, 18368, 29
  532, 18384, 12, 18412, 40, 18416, 44
  533, 18423, 5, 18451, 33
  534, 18459, 3
  545, 18865, 3, 18870, 8, 18891, 29
  546, 18907, 12, 18935, 40, 18939, 44
  547, 18946, 5, 18974, 33
  548, 18982, 3
  550, 18987, 3, 18992, 8, 19013, 29
  553, 19140, 12
  554, 19151, 7, 19155, 11
  555, 19193, 9, 19199, 15
  573, 20285, 7
  574, 20303, 6, 20305, 8
  575, 20312, 5
  576, 20336, 3
  584, 20576, 4
  585, 20593, 8
  651, 23826, 3, 23827, 4
  652, 23843, 8, 23852, 17
  653, 23868, 12, 23869, 13, 23895, 39
  654, 23909, 12
  655, 23920, 7
  656, 23961, 7
  657, 23979, 6, 23981, 8
  659, 24000, 7, 24004, 11, 24022, 29
  660, 24039, 9, 24050, 20, 24061, 31
  661, 24093, 13
  662, 24112, 7, 24123, 18
  664, 24168, 14
  665, 24181, 9
  666, 24225, 9
  667, 24245, 8, 24247, 10
  671, 24421, 5, 24425, 9, 24452, 36
  672, 24498, 26
  673, 24557, 7, 24616, 66
  674, 24627, 7
  676, 24668, 3
  682, 24885, 3, 24897, 15, 24915, 33, 24918, 36, 24936, 54
  683, 24948, 11
  691, 25208, 3, 25213, 8, 25229, 24, 25237, 32
  692, 25255, 5, 25276, 26
  693, 25333, 18
  695, 25397, 14
  696, 25414, 7, 25433, 26, 25445, 38
  697, 25467, 3
  699, 25472, 3, 25473, 4
  700, 25497, 16, 25514, 33
  701, 25523, 5
  702, 25552, 5, 25556, 9, 25574, 27
  703, 25589, 7, 25600, 18, 25611, 29
  704, 25635, 5, 25648, 18, 25668, 38, 25673, 43, 25679, 49
  705, 25694, 7
  706, 25724, 6
  707, 25729, 3

That table is for this file: https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/widgets/binding.dart
Notice that the first line coincides with a mixin declaration, so it might be mixin-related. @kmillikin

/cc @jensjoha

Similar errors were reported from the Flutter buildbot when an attempt was made to roll Dart version ac6d4f7e653deba11d4836768376537893a9e9d6 into Flutter (this roll was reverted because of this).
Please see link for details.
Here is an extract from that buildbot output file
2:28 +325 -2: /b/build/slave/Linux/build/flutter/packages/flutter/test/cupertino/nav_bar_transition_test.dart: Bottom large title moves to top back label
02:31 +325 -2: /b/build/slave/Linux/build/flutter/packages/flutter/test/cupertino/nav_bar_transition_test.dart: Bottom large title moves to top back label
02:33 +326 -2: /b/build/slave/Linux/build/flutter/packages/flutter/test/cupertino/nav_bar_transition_test.dart: Bottom large title moves to top back label
unhandled error during test:
/b/build/slave/Linux/build/flutter/packages/flutter/test/cupertino/dialog_test.dart
Bad state: Couldn't find line and column for token 135177 in org-dartlang-sdk:///flutter/lib/ui/painting.dart.
#0      VMScript._lineAndColumn (package:vm_service_client/src/script.dart:243:5)
#1      _ScriptLocation._ensureLineAndColumn (package:vm_service_client/src/script.dart:314:26)
#2      _ScriptLocation.line (package:vm_service_client/src/script.dart:295:5)
#3      _getCoverageJson (package:coverage/src/collect.dart:103:46)
<asynchronous suspension>
#4      _getAllCoverage (package:coverage/src/collect.dart:51:26)
<asynchronous suspension>
#5      collect (package:coverage/src/collect.dart:35:18)
<asynchronous suspension>
#6      CoverageCollector.collectCoverage (package:flutter_tools/src/test/coverage_collector.dart:55:45)
<asynchronous suspension>
#7      CoverageCollector.handleFinishedTest (package:flutter_tools/src/test/coverage_collector.dart:27:11)
<asynchronous suspension>
#8      _FlutterPlatform._startTest (package:flutter_tools/src/test/flutter_platform.dart:649:30)
<asynchronous suspension>
#9      _FlutterPlatform.loadChannel (package:flutter_tools/src/test/flutter_platform.dart:408:36)
#10     PlatformPlugin.load (package:test/src/runner/plugin/platform.dart:65:19)
<asynchronous suspension>
#11     Loader.loadFile.<anonymous closure> (package:test/src/runner/loader.dart:245:36)
<asynchronous suspension>
#12     new LoadSuite.<anonymous closure>.<anonymous closure> (package:test/src/runner/load_suite.dart:92:31)
<asynchronous suspension>
#13     invoke (package:test/src/utils.dart:241:5)
#14     new LoadSuite.<anonymous closure> (package:test/src/runner/load_suite.dart:91:7)
#15     Invoker._onRun.<anonymous closure>.<anonymous closure>.<anonymous closure>.<anonymous closure> (package:test/src/backend/invoker.dart:403:25)
<asynchronous suspension>
#16     new Future.<anonymous closure> (dart:async/future.dart:176:37)
#17     StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:209:15)
#18     StackZoneSpecification._registerCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:119:48)
#19     _rootRun (dart:async/zone.dart:1120:38)
#20     _CustomZone.run (dart:async/zone.dart:1021:19)
#21     _CustomZone.runGuarded (dart:async/zone.dart:923:7)
#22     _CustomZone.bindCallbackGuarded.<anonymous closure> (dart:async/zone.dart:963:23)
#23     StackZoneSpecification._run (package:stack_trace/src/stack_zone_specification.dart:209:15)
#24     StackZoneSpecification._registerCallback.<anonymous closure> (package:stack_trace/src/stack_zone_specification.dart:119:48)
#25     _rootRun (dart:async/zone.dart:1124:13)
#26     _CustomZone.run (dart:async/zone.dart:1021:19)
#27     _CustomZone.bindCallback.<anonymous closure> (dart:async/zone.dart:947:23)
#28     Timer._createTimer.<anonymous closure> (dart:async/runtime/libtimer_patch.dart:21:15)
#29     _Timer._runTimers (dart:isolate/runtime/libtimer_impl.dart:382:19)
#30     _Timer._handleMessage (dart:isolate/runtime/libtimer_impl.dart:416:5)

I am trying to reproduce this failure with a local engine build in order to bisect the Dart changes but unfortunately I can't get it to fail with a local engine build.

@aartbik for dart roll

Should someone be assigned to work on this asap? This is a TODAY issue in Flutter https://github.com/flutter/flutter/issues/23225.

Disabling this new option 'unsafePackageSerialization' fixes the problem. I am going to upload CL that flips this to false.
This flag was added here  https://github.com/flutter/flutter/commit/4bd6ad73954e42a98003a6e23502df0487ff5dfd#diff-39538134dff328da5360691916bf0f06

flutter/pull/23280 has been created for this.

Here's what's happening:
When unsafe package serialization is enabled, the VM is given a concatenated dill file.
In this case, 3 scripts are created in the VM for the same absolute file.
One for the actual library, and 2 - I guess - for two separate mixin uses.
The reason we get 3 different ones instead of just 1, is because each live in a separate component inside the concatenated dill file.
One of them gets the url set as the import-url, the two others are kept as is, so we now have:

package:flutter/src/widgets/binding.dart (this script is attached to the library where the entire thing is compiled)
file:///[...]/flutter/packages/flutter/lib/src/widgets/binding.dart (this script is attached to a class and/or number of methods because of a mixin usage) (mixin WidgetsBinding, lines 244-708))
file:///[...]/flutter/packages/flutter/lib/src/widgets/binding.dart (this script is attached to a class and/or number of methods because of a mixin usage) (abstract class WidgetsBindingObserver, lines 78-241)

When asking for the SourceReport, the VM assumes that if two scripts urls are the same, the scripts are the same too (in the above that is not the case --- this cannot be assumed when supporting concatenated dill files) and reuses an existing (wrong) one, i.e. giving responsibility for both scripts to one of the scripts.
When asking that script for which token positions it has, it reports the ones it is responsible for --- it doesn't know about the other script(s).
The data given from the VM is something like:
URI: package:flutter/src/widgets/binding.dart
ID<EMAIL_ADDRESS>[78, 2484, 1]
[94, 3230, 3, 3243, 16, 3254, 27, 3257, 30, 3260, 33, 3285, 58]
[...]
[945, 34099, 3]

URI: file:///[...]/flutter/packages/flutter/lib/src/widgets/binding.dart
ID: objects/26
[245, 8164, 3, 8165, 4]
[246, 8181, 8, 8194, 21]
[...]
[707, 25729, 3]

Note how there are only two outputs.
Solution: Don't think Scripts are the same based on their url. Not in the VM, and not in any application of the service protocol.
With my CL (https://dart-review.googlesource.com/80821) applied the answer from the VM is now:
URI: package:flutter/src/widgets/binding.dart
ID<EMAIL_ADDRESS>[78, 2484, 1]
[94, 3230, 3, 3243, 16, 3254, 27, 3257, 30, 3260, 33, 3285, 58]
[...]
[945, 34099, 3]

URI: file:///[...]/flutter/packages/flutter/lib/src/widgets/binding.dart
ID: objects/56
[245, 8164, 3, 8165, 4]
[246, 8181, 8, 8194, 21]
[...]
[707, 25729, 3]

URI: file:///[...]/flutter/packages/flutter/lib/src/widgets/binding.dart
ID: objects/57
[94, 3230, 3, 3243, 16, 3254, 27, 3257, 30, 3260, 33, 3285, 58]
[...]
[240, 7948, 3, 7953, 8, 7983, 38, 7987, 42]

We now have 3 outputs.
Patching in https://github.com/dart-lang/coverage/pull/216 (thanks @cbracken) in [...]/.pub-cache/hosted/pub.dartlang.org/coverage-0.12.2/lib/src/collect.dart and running flutter with my patched VM everything seems to work (19:44 +3172 ~23: All tests passed!).
So while disabling unsafe package serialization does work that's hardly a good solution, and it more masks the problem than fixes it.

Oh, and also, probably one doesn't have to do a lot of hot-reloading before the assumption about one script per url goes out the window...

Is this still targeted for 2.1?

I've now landed my patch in the coverage package.

Flutter is unblocked with unsafePackageSerialization being turned off, moving milestore to 2.2 and dropping priority to P2

This is fixed by the following CLs
https://dart-review.googlesource.com/c/sdk/+/97104
https://dart-review.googlesource.com/c/sdk/+/97402

This issue still exists. The mixin class has not been fixed.

I don't believe this is required for 2.3 . If not, can you please move from milestone?

This is not blocking 2.3 - removing from milestone.


Still got events after deregister a socket.

After deregister a socket, I can still got events from that socket. So I am confused what exactly does deregister do? When should I close a socket after deregister?
My environment:

OS X 10.10.5
mio 0.5.1
rustc 1.13.0-nightly (acd3f796d 2016-08-28)

Would you be able to provide a small repro case?

Sorry, I changed a lot of my source code to bypass the problem, and I don't commit the original problematic source code.
But I remember that I misused register as reregister to change events on already listened sockets. Is this a possible reason? Any way, I'll close this issue because of my misuse.

I am confused why need reregister instead add a flag in register to remember the socket is registered or not.


Help community Gradle plugins adopt the configuration cache

With the introduction of the Gradle configuration cache, community plugins may need to be adjusted. The goal of this issue is to track the status of community plugins.
For configuration cache support in core Gradle plugins see https://github.com/gradle/gradle/issues/13454
For more information about the configuration cache, how to use it and troubleshoot problems, please read the dedicated user manual chapter.
Community plugins
The following table displays the state of the support for the configuration cache in various community Gradle plugins. We started this list with the topmost downloaded plugins and added others we stumbled upon in the builds we tested. The list is not exhaustive, keep reading if you don't find your favorite plugin in the list.
We will be updating that list continuously.
If you find a plugin that you use in this list, please upvote the linked issues to make the plugin authors aware of your interest.

Plugin
Open issue(s)
Support
Version/Branch

Android Gradle Plugin
N/A
✅
7.1.0-alpha12

Kotlin JVM
N/A
✅
1.5.0

Kotlin KAPT
N/A
✅
1.5.0

Kotlin Android
N/A
✅
1.5.0

Kotlin MPP (common)
N/A
✅
1.5.20

Kotlin JS
N/A
✅
1.5.20

Kotlin Native
KT-43293
✅🙈
1.7.0

org.gradle.test-retry
N/A
✅
1.1.2

org.gradle.android.cache-fix
N/A
✅
2.1.1

org.gradle.playframework
https://github.com/gradle/playframework/issues/138
❌
N/A

org.springframework.boot
N/A
✅
v2.4.0

io.spring.dependency-management
https://github.com/spring-gradle-plugins/dependency-management-plugin/issues/312
❌
N/A

org.sonarqube
TODO
❓
N/A

com.github.johnrengelman.shadowcom.github.johnrengelman.plugin-shadow
N/A
✅
6.1.0

com.moowork.gruntcom.moowork.gulpcom.moowork.node
N/A
🚫
Superseded by com.github.node-gradle.node

com.github.node-gradle.node
N/A
✅
3.0.0-rc7

com.jfrog.artifactory
https://github.com/jfrog/build-info/issues/356
:x:
N/A

com.github.spotbugs
TODO
❓
N/A

com.gorylenko.gradle-git-properties
N/A
✅
2.3.1

org.ajoberstar.grgit
TODO
❓
N/A

com.github.ben-manes.versions
https://github.com/ben-manes/gradle-versions-plugin/issues/410
✅🙈
v0.42.0

io.franzbecker.gradle-lombok
TODO
❓
N/A

de.undercouch.download
N/A
✅
4.1.0

org.flywaydb.flyway
TODO
❓
N/A

com.bmuschko.docker-spring-boot-applicationcom.bmuschko.docker-java-applicationcom.bmuschko.docker-remote-api
TODO
❓
N/A

io.gitlab.arturbosch.detekt
N/A
✅
v1.10.0-RC1

com.palantir.dockercom.palantir.docker-composecom.palantir.docker-run
TODO
❓
N/A

com.diffplug.gradle.spotless
https://github.com/diffplug/spotless/issues/1274
❌
N/A

net.ltgt.errorprone-javacpluginnet.ltgt.errorprone-basenet.ltgt.errorprone
N/A
✅
1.2.0

org.asciidoctor.*
https://github.com/asciidoctor/asciidoctor-gradle-plugin/issues/564
❌
N/A

com.github.hierynomus.license
TODO
❓
N/A

org.jlleitschuh.gradle.ktlintorg.jlleitschuh.gradle.ktlint-idea
N/A
✅
v9.3.0

com.google.cloud.tools.jib
https://github.com/GoogleContainerTools/jib/issues/3132
❌
N/A

com.google.protobuf
N/A
✅
0.8.15

com.jfrog.bintray
TODO
❓
N/A

org.liquibase.gradle
TODO
❓
N/A

com.google.gms.google-services
N/A
✅
4.3.5

com.google.firebase.crashlytics
N/A
✅
2.5.1

com.google.firebase.firebase-perf
N/A
✅
1.3.5

androidx.navigation.safeargsandroidx.navigation.safeargs.kotlin
N/A
✅
2.3.1

androidx.benchmark
N/A
✅
1.1.0

dagger.hilt.android.plugin
N/A
✅
2.29.1-alpha

realm-java
https://github.com/realm/realm-java/issues/7299
:x:
N/A

nu.studer.rocker
N/A
✅
2.0

nu.studer.jooq
N/A
✅
5.0

com.slack.keeper
N/A
✅
0.6.0

org.nosphere.apache.rat
N/A
✅
0.7.0

org.nosphere.gradle.github.actions
N/A
✅
1.2.0

marathon-gradle-plugin
https://github.com/Malinskiy/marathon/issues/378
❓
N/A

com.squareup.wire
N/A
✅
3.3.0

de.benediktritter.maven-plugin-development
https://github.com/britter/maven-plugin-development/issues/8
❓
N/A

com.jaredsburrows.spoon
N/A
✅
1.6.0

nebula.lint
https://github.com/nebula-plugins/gradle-lint-plugin/issues/309
❌
N/A

nebula.dependency-recommender
TODO
❓
N/A

nebula.plugin-plugin
N/A
✅
17.1.0

nebula.dependency-lock
TODO
❓
N/A

nebula.resolution-rules
TODO
❓
N/A

nebula.facet nebula.integtest
N/A
✅
v8.0.0

com.bmuschko.tomcat
TODO
❌
N/A

io.freefair.aspectj
TODO
❌
N/A

dev.nokee.*
https://github.com/nokeedev/gradle-native/issues/87
:x:
N/A

com.getkeepsafe.dexcount
N/A
✅
2.0.0-RC1

dev.jacomet.logging-capabilities
N/A
✅
v0.9.0

com.vanniktech.android.apk.size
https://github.com/vanniktech/gradle-android-apk-size-plugin/issues/96
🚫
Superseded by AGP

com.squareup.hephaestuscom.squareup.anvil
N/A
✅
v2.0.5

com.osacky.fladle
N/A
✅
0.11.0

org.jetbrains.dokka
https://github.com/Kotlin/dokka/issues/1217
:x:
N/A

com.bugsnag.android.gradle
N/A
✅
v5.0.0

com.osacky.doctor
N/A
✅
v0.6.0

de.fayard.refreshVersionsde.fayard.refreshVersions-core
https://github.com/jmfayard/refreshVersions/issues/228
✅🙈
v0.40.1

com.squareup.sqldelight
N/A
✅
1.4.4

me.champeau.gradle.jmh
N/A
✅
0.5.2

com.commercehub.gradle.plugin.avro
N/A
✅
0.22.0

com.google.osdetector
N/A
✅
1.7.0

jacoco-android
TODO
❓
N/A

com.jakewharton.butterknife
TODO
❓
N/A

net.saliman.properties
https://github.com/stevesaliman/gradle-properties-plugin/issues/39
❌
N/A

com.palantir.baseline-*
https://github.com/palantir/gradle-baseline/issues/1719
❌
N/A

de.thetaphi.forbiddenapis
N/A
✅
3.3

com.github.bjornvester.xjc
https://github.com/bjornvester/xjc-gradle-plugin/issues/20
❌
N/A

org.jetbrains.intellij
N/A
✅
1.1.4

com.avast.gradle.docker-compose
N/A
✅
0.16.0

com.github.sherter.google-java-format
https://github.com/sherter/google-java-format-gradle-plugin/issues/55
❌
N/A

biz.aQute.bnd.builder
N/A
✅
6.1.0

net.bytebuddy.byte-buddy-gradle-plugin
N/A
✅
1.12.3

org.unbroken-dome.xjc
https://github.com/unbroken-dome/gradle-xjc-plugin/issues/39
❌
N/A

org.jetbrains.kotlinx.kover
N/A
✅
0.5.1

com.alibaba.arouter
https://github.com/alibaba/ARouter/issues/984
❌
N/A

ru.vyarus.animalsniffer
https://github.com/xvik/gradle-animalsniffer-plugin/issues/26
❌
N/A

com.newrelic.agent.android
https://github.com/gradle/gradle/issues/13490#issuecomment-1049863419
❌
N/A

com.vanniktech.maven.publish
https://github.com/vanniktech/gradle-maven-publish-plugin/issues/259
❌
N/A

de.mannodermaus.android-junit5
N/A
✅
<IP_ADDRESS>

dev.icerock.mobile.multiplatform-resources
https://github.com/icerockdev/moko-resources/issues/311
❌
N/A

com.dropbox.focus
N/A
✅
0.4.0

com.dropbox.dependency-guard
https://github.com/dropbox/dependency-guard/issues/28
✅🙈
0.2.0

✅ Supported, works with no problem reported
🙈 Declares incompatible tasks, works but disables the configuration cache when used
⚠ Partially supported, works to some extent, reports problems
❌ Unsupported, fails
🚫 Abandoned, won't fix
❓ Untested
Reporting problems to community plugins
If you have tried the configuration cache on your build and found a problematic plugin, please report an issue to the plugin's bug tracker. The troubleshooting section of the dedicated user guide chapter explain how to reason about encountered problems.
A good way to report such problems to community plugin authors is by providing:

a link to the configuration cache documentation,
steps to reproduce, e.g. plugin version, configuration and which of the plugin's tasks you ran,
the HTML report for configuration cache problems you got, so the plugin author can easily reason about the problems,
a reproducer build, so the plugin author can easily reproduce the problems.

Here's a good example issue for a community plugin you can use as a template: https://github.com/michel-kraemer/gradle-download-task/issues/156
Then please comment on this issue with a link to the plugin issue so we can add it to the list.
A plugin is missing in the list?
If you have tried the configuration cache on your build and found a problematic plugin that is not in the list above, please report an issue to the plugin's bug tracker as explained in the previous section and comment on this issue with a link to that issue so we can add it to the list.
If you are the author of a plugin that you want to make support the configuration cache or that already supports it, please comment on this issue so we can add it to the list.

@eskatos I created https://github.com/JLLeitschuh/ktlint-gradle/issues/364 for org.jlleitschuh.gradle.ktlint

https://github.com/KeepSafe/dexcount-gradle-plugin/issues/303 for com.getkeepsafe.dexcount

dexcount gradle plugin fixed at 2.0.0-SNAPSHOT
a new issue created for: com.vanniktech.android.apk.size
https://github.com/vanniktech/gradle-android-apk-size-plugin/issues/96

https://github.com/google/play-services-plugins/issues/148 for google-services-plugin

com.vanniktech.android.apk.size archived, so it won't be fixed
Fair enough because I hasn't been maintained for years (and I should ask to my team why we are still using it)

@eskatos added https://github.com/ben-manes/gradle-versions-plugin/issues/410

The list contains com.squareup.hephaestus, which was renamed to com.squareup.anvil.

The bugsnag android gradle plugin is probably used in a lot of projects, filed this issue to track as they're in a big rewrite right now: https://github.com/bugsnag/bugsnag-android-gradle-plugin/issues/253

https://github.com/mannodermaus/android-junit5 for de.mannodermaus.gradle.plugins:android-junit5:
https://github.com/autonomousapps/dependency-analysis-android-gradle-plugin for com.autonomousapps:dependency-analysis-gradle-plugin

I'm the maintainer of refreshversions (de.fayard.refreshVersions and de.fayard.refreshVersions-core on the Gradle portal plugin), and I'd like to support configuration cache.
I created an issue: https://github.com/jmfayard/refreshVersions/issues/228

https://github.com/nebula-plugins/nebula-project-plugin/issues/67 Found this problem for nebula plugins family

https://github.com/nebula-plugins/nebula-project-plugin/issues/67 Found this problem for nebula plugins family

@eskatos With https://youtrack.jetbrains.com/issue/KT-43605 still open, shouldn't Kotlin still be listed with warnings?  And maybe link that issue into the list?  :)

@eskatos With https://youtrack.jetbrains.com/issue/KT-43605 still open, shouldn't Kotlin still be listed with warnings?  And maybe link that issue into the list?  :)

https://github.com/stevesaliman/gradle-properties-plugin/issues/39 unsupported configuration cache also occurred in this plugins

PR for com.gorylenko.gradle-git-properties: https://github.com/n0mer/gradle-git-properties/pull/164/

https://github.com/palantir/gradle-baseline/issues/1719

Please add forbiddenapis plugin to the list: https://github.com/policeman-tools/forbidden-apis/issues/179
It should be easy to fix, working on it. Still there needs some way to detect if build is running inside the gradle daemon or not.

xjc-gradle-plugin
Issue: https://github.com/bjornvester/xjc-gradle-plugin/issues/20

We just found this issue on AGP 4.2.1: https://issuetracker.google.com/issues/191303021

Thank you @guilherme-pereira-ifood
This is fixed in AGP 7.1.0-alpha03 see https://issuetracker.google.com/issues/189730917#comment5

https://github.com/avast/gradle-docker-compose-plugin/issues/307

I have just added support for the configuration cache to the biz.aQute.bnd.builder plugin in version 6.1.0 (which is currently still under development). See https://github.com/bndtools/bnd/blob/master/gradle-plugins/README.md#gradle-configuration-cache-support for how to configure the biz.aQute.bnd.builder plugin's tasks when using the configuration cache.

Jib: https://github.com/GoogleContainerTools/jib/issues/3132

The de.fayard.refreshVersions and de.fayard.refreshVersions-core plugins now support projects using configuration cache since version 0.40.0 (released several hours ago). ✅
⚠ The no usage of Task.project is impossible for us however, because the alternative APIs don't allow setting the dependencies of the configuration and buildscript configuration of allprojects, nor the repositories and buildscript repositories as task input.
Unless there's an okay API to allow us to have that, we'd like a way to tell Gradle to ignore configuration cache issues for our task, because it's just noise to our users and ourselves for something we can't address.

@LouisCAD, thanks for the update!
In Gradle 7.4 there will be an API to declare tasks incompatible with CC. If scheduled, CC will be automatically disabled, see https://github.com/gradle/gradle/issues/17464. It should work for your use case.

Filed a bug report with the kover plugin here: https://github.com/Kotlin/kotlinx-kover/issues/142

Filed a bug alibaba/ARouter/issues/984.

Link xvik/gradle-animalsniffer-plugin/issues/26.

@pjakubczyk Maybe you could report this to New Relic as their customer. 😉

@pjakubczyk Maybe you could report this to New Relic as their customer. 😉

I did. Unfortunately their tracking system is not public. I'll share any piece of information as soon I get the response from the support team.

Link https://github.com/vanniktech/gradle-maven-publish-plugin/issues/259.

Link https://github.com/mannodermaus/android-junit5/issues/265.

Running gradlew --configuration-cache help shows no problems for com.jaredsburrows.spoon.

@eskatos released with configuration cache support in https://github.com/jaredsburrows/gradle-spoon-plugin/releases/tag/1.6.0.

dropbox/focus plugin 0.4.0 compatible with config cache now - cc: @rharter
dropbox/dependency-guard plugin 0.2.0 compatible with config cache now - cc: @autonomousapps

@eskatos  Spotless works with config cache as of 6.0.0: https://github.com/diffplug/spotless/issues/644

Link https://github.com/AppLovin/AppLovin-MAX-React-Native/issues/100

Link https://github.com/google/play-services-plugins/issues/206

Link https://github.com/cashapp/licensee.

https://github.com/ReactiveCircus/app-versioning/issues/24

https://github.com/flyway/flyway/issues/3550

<EMAIL_ADDRESS>now supports configuration cache too https://github.com/mpetuska/npm-publish/issues/61

com.apollographql.apollo3 version 3.7.0 supports config cache (test here). Previous versions might support it too but the test was introduced more recently

Missing support for configuration cache in the Hibernate gradle plugin, https://hibernate.atlassian.net/browse/HHH-16078

Missing support for configuration cache in the Gradle License Report plugin, https://github.com/jk1/Gradle-License-Report/issues/255

com.vanniktech.maven.publish can be changed to partially supported, see https://github.com/vanniktech/gradle-maven-publish-plugin/issues/259#issuecomment-1509878175

gg.jte.gradle is fully supported now: casid/jte#204

cz.habarta.typescript-generator has no support.
https://github.com/vojtechhabarta/typescript-generator/issues/828

io.gitlab.arturbosch.detekt
should be ready for configuration cache since 1.22.0 https://github.com/detekt/detekt/releases/tag/v1.22.0
current version 1.23.0 https://github.com/detekt/detekt/releases/tag/v1.23.0

org.openrewrite.rewrite is not configuration-cache-compatible, but I'm seeing if I can fix this in https://github.com/openrewrite/rewrite-gradle-plugin/issues/227 and https://github.com/openrewrite/rewrite-gradle-plugin/pull/228.

net.researchgate.release might be worth listing in the description. Related ticket https://github.com/researchgate/gradle-release/issues/346.

Add dependency-analysis-gradle-plugin to the list, it's ✅ since 1.28.0.

The list needs to be the updated

Both KT-43293 and related KT-49933 were fixed for Kotlin Native

I found an issue when try to enabled configuration cache with AGConnect
https://github.com/AppGalleryConnect/agc-android-demos/issues/8

I think https://github.com/gradle/gradle/issues/22779 is the only thing blocking com.vanniktech.maven.publish from being fully supported.

I think https://github.com/gradle/gradle/issues/22779 is the only thing blocking com.vanniktech.maven.publish from being fully supported.

Yes.

Latest version of sonarqube plugin still has config cache issues:
see https://community.sonarsource.com/t/gradle-plugin-config-cache-issue-invocation-of-task-extensions-at-execution-time-is-unsupported/117984

Latest version of sonarqube plugin still has config cache issues:
see community.sonarsource.com/t/gradle-plugin-config-cache-issue-invocation-of-task-extensions-at-execution-time-is-unsupported/117984

This particular stack trace doesn't look as coming from Sonar though. I suspect there is something that disables CC (e.g a task marked as notCompatibleWithConfigurationCache) and it triggers #22481 in the test-retry plugin.

ah, possibly. It was an upgrade to sonar gradle plugin that triggered the issue.
So it is an issue with test-retry-plugin? should I file it there?

the jooq gradle plugin that is written by jooq themselves doesn't support gradle cache. I am talking to them to see what can be done. https://www.jooq.org/doc/latest/manual/code-generation/codegen-gradle/

jOOQ issue here:

https://github.com/jOOQ/jOOQ/issues/16997

org.openrewrite.rewrite still doesn't use the configuration cache - it requires such an extensive refactoring that it was too much for me to do on my own as an external contributor - but now it makes Gradle aware that it's configuration-cache-incompatible via notCompatibleWithConfigurationCache, which disables any warnings!

ch.acanda.gradle.fabrikt  supports the configuration cache since 1.0.0: acanda/fabrikt-gradle-plugin.

dev.icerock.mobile.multiplatform-resources supports configuraiton cache according to this comment of the linked issue.

FWIW Configueation Cache Compatibility is nominated for Hacktoberfest as a featured project, contributions are welcome! https://community.gradle.org/events/hacktoberfest/2024/

flyway issue is here: https://github.com/flyway/flyway/issues/3550

com.github.node-gradle.node broke their support somewhen between 3.0.0rc7 and 7.1.0 (nearly 4 years)

researchgate/gradle-release#389 for net.researchgate.release

https://github.com/jfrog/artifactory-gradle-plugin/issues/127 for com.jfrog.artifactory v5.2.5

Dokka 2.0 supports configuration cache.
See https://github.com/Kotlin/dokka/issues/1217#issuecomment-2545978295


Preserve HEAD method when using followAllRedirects

Fixes https://github.com/request/request/issues/1649

/cc @mikeal


Consider caching isbn definitions on load

The ISBN definitions seem to be updated fairly frequently as far as I can tell. Would it be possible to make a request on loading the library for the new definitions? The hard-coded ones could be used as back-up if the library is offline / the website is down. If that seems like something that we want to do I could make a PR.

maybe as a postinstall script or something of this kind?

I was thinking more of making the request as part of an init sort of thing. So the request is made once, when the application is started.

I wouldn't like it to be the default behaviour as that's making the startup much slower and adding a dependency on https://www.isbn-international.org status. I tried to improve the documentation on how one could update the groups without having to rely on those being updated by the module maintainers, could that be enough?

I added a CI action to auto-update groups data every 1st of the month: today was the first auto-update+patch version publication triggered that way.
This means that as long as this action is up and there is no breaking change in the isbn-international.org API, we [the maintainers] could well totally forget about this repo and it would still be periodically updated.

There has been change Dec 18, 2020. Is auto update working? (Top margin in pdf says so https://www.isbn-international.org/range_file_generation)

There has been change Dec 18, 2020. Is auto update working? (Top margin in pdf says so https://www.isbn-international.org/range_file_generation)

The action was disabled for some reason I don't get, but now it's reactivated, and I manually ran (8afee59) and published (v1.1.7) an update

The action was disabled for some reason I don't get, but now it's reactivated, and I manually ran (8afee59) and published (v1.1.7) an update


Major release

update java sdk to point to 9.0.2 and fix issues with STT

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


issues/284: Use one server for ACME and app

Use one server to handle ACME challenge requests and normal application requests.
Prior to this, we had an app server and an ACME server that were both listening on the same port.
This used to cause the two to clash since requests for one might end up been handled by http handlers for the other.

Fixes: https://github.com/komuw/ong/issues/284

Codecov Report
Patch coverage: 46.66% and project coverage change: +0.39 :tada:

Comparison is base (abf6729) 76.87% compared to head (9f8d319) 77.27%.

:exclamation: Current head 9f8d319 differs from pull request most recent head 98ba1a0. Consider uploading reports for the commit 98ba1a0 to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #287      +/-   ##
==========================================
+ Coverage   76.87%   77.27%   +0.39%
==========================================
  Files          36       36
  Lines        3460     3458       -2
==========================================
+ Hits         2660     2672      +12
+ Misses        672      652      -20
- Partials      128      134       +6

Impacted Files
Coverage Δ

middleware/middleware.go
95.45% <9.09%> (-4.55%)
:arrow_down:

server/tls_conf.go
56.37% <41.66%> (+9.66%)
:arrow_up:

client/client.go
84.07% <100.00%> (+0.28%)
:arrow_up:

server/server.go
75.40% <100.00%> (+0.30%)
:arrow_up:

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Chore/Bump client dependencies

Clean and bump the client dependencies. Also fixes semver for the ILP plugin to always grab the latest patch version.

tried it out and works


Terraform wrapper

The flakes in tf-ncl-examples define wrapper scripts for terraform which run nickel export before running terraform. Something like this should go into this repository to be reused.
Similarly, a flake template would be nice.

We have flake templates now. The wrapper scripts are still bespoke for each example though.


Displaying sidenotes and other items in the right margin on small screens

On a narrow screen, one possibility would be to have a hidden drawer off to the right side of the screen that the user can slide open to display anything in the right margin. This could come in and go out with a swipe.
This solution does not meet the ideal of having the note and the text it refers to visible at the same time, but if part of the text in the main column is still visible (e.g. its left edge), the reader will not have any trouble returning to precisely the point in the text where he/she left off to look at the material in the margin.
The off-canvas pattern illustrates the general idea:
https://developers.google.com/web/fundamentals/design-and-ui/responsive/patterns/off-canvas?hl=en
If I use a window that is less than 800 px wide with chrome on the mac and click on the screen, the drawer slides in from the right.
Note however that the code itself is buggy. It does not work on my Nexus, nor when I simulate the Nexus using Chrome's developer tools.

Ah, I see what you mean here. I'll keep this on the backburner for the time being as it deviates quite a bit from Tufte's intended UI/stylings. If you can demonstrate your proposal with a PR, I'll take a look at it and see if it works well enough to work as a substitute. Thanks :)


Minor  updates to Notes.txt

@mandopaloooza do we need to run some command to update the readme content based on this?

readme-generator takes values.yaml and README.md paths as arguments and it will automatically update the README.
mando at MacBook-Pro-13inch in ~/git/sdp-k8s-client on main
$ readme-generator -v k8s/chart/values.yaml -r README.md
INFO: Checking missing metadata...
INFO: Metadata is correct!
INFO: Found parameters section at: ## Parameters
INFO: Found section end at: This table above was generated using [readme-generator-for-helm](https://github.com/bitnami-labs/readme-generator-for-helm)
INFO: Inserting the new table into the README...


Support installing libraries

Thanks for creating this project which looks great!
I’m not (yet) using nix but this would be a perfect entry point for me/ using the binary nix store as a replacement for homebrew.
I would like to use this somewhat in the style of homebrew + venv such that each project can have its libraries installed in a local cache folder.
Does this already support installing libraries/ setting the search paths for them?

No, it only sets $PATH today. Adding support for arbitrary mutations to envvars is probably possible, but you'd never be able to replicate the various setuphooks properly, so it'd likely be quite fragile. At this point I think if you're building against nix-distributed libraries, it seems wiser to just use nix.
If you want to try it out though, I think you could make a derivation which sets whatever envvars you like and then runs bash or whatever, to drop into a nix-shell of your own making.

No, it only sets $PATH today. Adding support for arbitrary mutations to envvars is probably possible, but you'd never be able to replicate the various setuphooks properly, so it'd likely be quite fragile

On second thought it might not really be needed for runix to do these things because with homebrew one also needs to set LD_LIBRARY_PATH or CFLAGS -I to point to specific paths.
It would be good though to have a way for runix to query the nix package cache, like the example

nix-instantiate --eval -A jq.outPath ''
"/nix/store/wdyfn985sx8001qnsb525fbgm151wm2r-jq-1.6-bin"

but without requiring a nix install, with just runix.
This would also help with finding libraries like e.g. boost and then presumably they would be symlinked into something like ~/.cache/runix/boost and one could set ~/.cache/runix/boost/include or sth. similar in the environment to use it in a project.
A benefit over homebrew could be that each project can have the dependencies in a file and when activating that environment, runix could symlink the correct files into ~/.cache/runix/` or maybe even into a project lokal cache which would enable having multiple versions of the same library installed, much like with venvs in python.

nix-instantiate --eval -A jq.outPath

That can't really be done without a nix installation, runix needs to be told exact derivation names in order to fetch anything useful (there's no way to search a cache).
These are interesting ideas but I'm going to close since it's a fair way outside runix's scope today.

turns out what I was looking for actually exists and is called nixStatic https://matthewbauer.us/blog/static-nix.html https://search.nixos.org/packages?channel=23.05&show=nixStatic&from=0&size=50&sort=relevance&type=packages&query=nixStatic but it just works on linux for now


Page with Folder Numeric Prefix Disabled Not Showing in Menu

When Folder Numeric Prefix is disabled for a page, it does not display in the Menu (even though it is set to be Visible):

Specifically testing with Gantry 5 templates and Grav.

In non-Gantry5 setup i can't replicate this.  The visible override does indeed make it visible in the menu, however, as there's no numeric prefix, there's no order, so it's the last element in the menu.

Thank you verifying that. Is there anyway that Folder Numeric Prefix can be enabled by default globally? When a Child page is created with no siblings, it is disabled by default.

I would also note that if Folder Numeric Prefix is disabled and Visible is set to auto, it will not appear (whether G5 theme or Quark)

The first 'new page' window is just to set some defaults, if you wish to set visibility explicitly you have to enable it via the advanced -> options:

Of course, this is via the admin plugin.  It's simpler to do it in files, just put visible: true in your page frontmatter.

And I understand that. I could just see it being confusing for user(s) if Visible shows enabled in Advanced tab yet not checked off:

Since I'm more versed in Gantry, I only think of this (the above image) as the Master / Base setting (with Visible being Enabled globally). But it's really not that way...

No, Grav is a simpler beast... there's not higher level trickle down inheritance like in Gantry.  You will get a better understanding of what's going on if you flip back and forth between normal/expert mode.  Also, I strongly advise, you 'develop' with the files directly in an editor like ST3/Atom/VSC, things will make more sense to you as you build out your site.

Ok, understood.


Error: FormatException: SyntaxError: Expected property name or '}' in JSON at position 1.

I encountered this error when I set the maxTokens property as 4000, and upon investigation I managed to find and resolve the issue. The issue occurs in the file packages/dart_openai/src/core/networking/client.dart line 225 which resembles to final error = jsonDecode(data)['error'];. In my case setting maxTokens to 4000 fired an error: This model's maximum context length is 4097 tokens. However, you requested 4097 tokens (97 in the messages, 4000 in the completion). Please reduce the length of the messages or completion., and trying to decode this fired the error that's mentioned in the title instead.

I will reproduce and fix the issue ASAP.
Thank you!


Improve hook launcher

This PR improve hook script launcher.
See also: #27

Codecov Report

Merging #29 into master will increase coverage by 2.2%.
The diff coverage is 91.66%.

@@            Coverage Diff            @@
##           master      #29     +/-   ##
=========================================
+ Coverage   81.07%   83.28%   +2.2%
=========================================
  Files           5        6      +1
  Lines         280      317     +37
=========================================
+ Hits          227      264     +37
  Misses         53       53

Impacted Files
Coverage Δ

side_runner_py/main.py
84.44% <100%> (+2.96%)
:arrow_up:

side_runner_py/hook.py
89.18% <89.18%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 838d52d...6ef9100. Read the comment docs.


Not works without Nim installed

The nimscripter lib tries to import the Nim std lib from files.
The app will need to bundle everything

Solved at 6d3a129ca0d4b619848af92bfd433d00eaf81778


Fix incorrect CopyRuntimeDependencies.ProjectFile causing 'Could not find paket.dependencies'

The CopyRuntimeDependencies.ProjectFile member was incorrectly set to the outputPath variable, instead of the projectFile one. This caused the Dependencies.Locate function to search in the wrong folder for the project.dependencies file.

thanks!


'anchor.borrow.getCollateralValue' occurs an error with a random address.

Code
const address = 'terra1fpnt5t2094g3amcwdv3akl60jg9uafgtc38px8';

const borrowedValue = await anchor.borrow.getBorrowedValue({
  market: MARKET_DENOMS.UUSD,
  address,
});

const borrowLimit = await anchor.borrow.getBorrowLimit({
  market: MARKET_DENOMS.UUSD,
  address,
});

console.log(borrowedValue);
console.log(borrowLimit);

Output
0.000000000000000000
0.000000000000000000

It works but
Code
const address = 'terra1fpnt5t2094g3amcwdv3akl60jg9uafgtc38px8';

const collateralValue = await anchor.borrow.getCollateralValue({
  market: MARKET_DENOMS.UUSD,
  address,
});

console.log(collateralValue);

Output
TypeError: Cannot read property 'collateral' of null
    at C:\Users\HSK\programming\anchor-command-tools\node_modules\@anchor-protocol\anchor.js\src\facade\borrow\borrow.ts:95:39
    at Array.find (<anonymous>)
    at C:\Users\HSK\programming\anchor-command-tools\node_modules\@anchor-protocol\anchor.js\src\facade\borrow\borrow.ts:94:50
    at Array.reduce (<anonymous>)
    at Borrow.<anonymous> (C:\Users\HSK\programming\anchor-command-tools\node_modules\@anchor-protocol\anchor.js\src\facade\borrow\borrow.ts:93:31)
    at Generator.next (<anonymous>)
    at fulfilled (C:\Users\HSK\programming\anchor-command-tools\node_modules\@anchor-protocol\anchor.js\dist\facade\borrow\borrow.js:5:58)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

This code occurs an error.
I used a random address that were in my wallet history for test.
I changed the address to my wallet address. It worked well.
Are there addresses that can't get collateral value?

@hsk-kr true, a random address which has no collateral wouldn't have any collateral listed, making code to fail. I'll make a patch so that it returns an empty collateral

@hsk-kr true, a random address which has no collateral wouldn't have any collateral listed, making code to fail. I'll make a patch so that it returns an empty collateral

Thank you for your answer.
I'll close this issue.


Hot reload on linux stops working after 5+ reloads

[✓] Flutter (Channel master, v0.11.6-pre.22, on Linux, locale en_US.UTF-8)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.2)

In all cases I'm using IntelliJ.
After doing several (5 or more usually) hot reloads it will stop functioning. It will stall during the syncing phase:
Initializing hot reload...
Syncing files to device Android SDK built for x86...

There is no error and no other output.

[✓] Flutter (Channel beta, v0.11.3, on Mac OS X 10.14.1 18B75, locale en-BR)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.2)
[✓] iOS toolchain - develop for iOS devices (Xcode 10.1)
[✓] Android Studio (version 3.2)

Same here. After some hot reloads from Android Studio, the IDE just get stuck and I need to restart the app.

Me, too!
[✓] Flutter (Channel dev, v0.11.6, on Mac OS X 10.13.6 17G3025, locale en-US)
[✓] Android toolchain - develop for Android devices (Android SDK 28.0.3)
[✓] IntelliJ IDEA Ultimate Edition (version 2018.2.6)

I'm consistently hanging here: "[   +5 ms] Sending to VM service: _flutter.listViews({})"

cc @jonahwilliams You seem to have worked with hot reload recently?

The only changes I have made concerned flutter attach on fuchsia. I don't believe I changed a single line of code in the hot runner then: https://github.com/flutter/flutter/pull/23436/files.
I did add support for only supporting hot reload and not hot restart: https://github.com/flutter/flutter/pull/24122/files, but again - fairly modest changes

/cc @aam

Thanks for the report, sorry for the breakage(which seems to be affecting folks since v0.10.3), we are working on a fix.

same for me on Mac after upgrading to last beta 0.11.3 (don't remember from witch version but before all was ok) :(

On mac, and have to keep restarting app every 2-3 hot reloads. Flutter version 0.11.3

Fix was reverted due to breaking builds

Hot reload is a mess everywhere right now, just like the Program linking failed thing, as said by someone in the flutter discord, the last working build was 0.9.5, afterwards it's been a crashy mess (Need to build twice, need to reinstall the app, need to reboot the AVD, etc)

This fix should be visible in v0.11.7, currently available on both the dev and beta channels.


Update Composer dependencies (2024-02-17-00-17)

Visual regression test passed!
View the visual regression test report


i want to contribute for translation

hello materialize team
i want contribute for translation materialize home site to my own language
how i can contirbute for this purpose?please guid me

What language?
On Feb 4, 2015 1:34 PM, "tormahiri"<EMAIL_ADDRESS>wrote:

hello materialize team
i want contribute for translation materialize home site to my own language
how i can contirbute for this purpose?please guid me
—
Reply to this email directly or view it on GitHub
https://github.com/Dogfalo/materialize/issues/614.

Please post your language in this issue
https://github.com/Dogfalo/materialize/issues/233

we are using uyghur language on every day life
uyghur language like this : ئەسسەلامۇ ئەلەيكۇم ،مەن materialize نى تەرجىمە قىلماقچى
mean of that sentence is hello ,i want to translate materialize


PHP 8.X and Laravel 11 suport

composer require beyondcode/laravel-er-diagram-generator --dev
Using version ^3.0 for beyondcode/laravel-er-diagram-generator
./composer.json has been updated
Running composer update beyondcode/laravel-er-diagram-generator
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - doctrine/common[v2.4.0, ..., v2.5.3] require doctrine/inflector 1.* -> found doctrine/inflector[v1.0, ..., 1.4.4] but the package is fixed to 2.0.10 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - doctrine/common[v2.6.0, ..., v2.6.2] require php ~5.5|~7.0 -> your php version (8.3.4) does not satisfy that requirement.
    - doctrine/common[v2.7.0, ..., v2.7.3] require php ~5.6|~7.0 -> your php version (8.3.4) does not satisfy that requirement.
    - doctrine/common[v2.8.0, ..., v2.8.1] require php ~7.1 -> your php version (8.3.4) does not satisfy that requirement.
    - doctrine/common[v2.9.0, ..., 2.13.0] require php ^7.1 -> your php version (8.3.4) does not satisfy that requirement.
    - doctrine/dbal[v2.6.0, ..., v2.9.3] require php ^7.1 -> your php version (8.3.4) does not satisfy that requirement.
    - doctrine/common[2.13.1, ..., 2.13.3] require doctrine/inflector ^1.0 -> found doctrine/inflector[v1.0, ..., 1.4.4] but the package is fixed to 2.0.10 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - doctrine/dbal[v2.10.0, ..., 2.10.4] require php ^7.2 -> your php version (8.3.4) does not satisfy that requirement.
    - doctrine/dbal[2.11.0, ..., 2.11.3] require php ^7.3 -> your php version (8.3.4) does not satisfy that requirement.
    - laravel/framework is locked to version v11.0.5 and an update of this package was not requested.
    - carbonphp/carbon-doctrine-types 3.2.0 conflicts with doctrine/dbal 3.8.3.
    - beyondcode/laravel-er-diagram-generator 3.0.0 requires doctrine/dbal ~2.3|^3.3 -> satisfiable by doctrine/dbal[2.3.0, ..., 2.13.9, 3.3.0, ..., 3.8.3].
    - nesbot/carbon 3.1.1 requires carbonphp/carbon-doctrine-types * -> satisfiable by carbonphp/carbon-doctrine-types[3.2.0].
    - symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 3.5.4.
    - symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 3.4.6.
    - symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 3.3.8.
    - symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 3.3.5.
    - symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 2.13.9.
    - symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 2.13.8.
    - symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 2.13.1.
    - symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 2.12.1.
    - symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 2.3.5.
    - symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 2.3.2.
    - doctrine/dbal[v2.5.0, ..., v2.5.2] require doctrine/common >=2.4,<2.6-dev -> satisfiable by doctrine/common[v2.4.0, ..., v2.5.3].
    - doctrine/dbal[v2.5.3, ..., v2.5.5] require doctrine/common >=2.4,<2.7-dev -> satisfiable by doctrine/common[v2.4.0, ..., v2.6.2].
    - doctrine/dbal[v2.5.6, ..., v2.5.13] require doctrine/common >=2.4,<2.8-dev -> satisfiable by doctrine/common[v2.4.0, ..., v2.7.3].
    - doctrine/dbal[v2.4.0, ..., v2.4.5] require doctrine/common ~2.4 -> satisfiable by doctrine/common[v2.4.0, ..., 2.13.3].
    - laravel/framework v11.0.5 requires nesbot/carbon ^2.72.2|^3.0 -> satisfiable by nesbot/carbon[3.1.1].
    - laravel/framework v11.0.5 requires symfony/http-foundation ^7.0 -> satisfiable by symfony/http-foundation[v7.0.4].
    - Root composer.json requires beyondcode/laravel-er-diagram-generator ^3.0 -> satisfiable by beyondcode/laravel-er-diagram-generator[3.0.0].

I've used it on Laravel 11 PHP 8.2.16 without problem, but result is strange, I think an improvement is required

I'm having the same issue with Laravel 11 & PHP 8.2.2
./composer.json has been updated
Running composer update beyondcode/laravel-er-diagram-generator
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
- doctrine/dbal[v2.5.0, ..., v2.5.2] require doctrine/common >=2.4,<2.6-dev -> satisfiable by doctrine/common[v2.4.0, ..., v2.5.3].
- doctrine/dbal[v2.5.3, ..., v2.5.5] require doctrine/common >=2.4,<2.7-dev -> satisfiable by doctrine/common[v2.4.0, ..., v2.6.2].
- doctrine/dbal[v2.5.6, ..., v2.5.13] require doctrine/common >=2.4,<2.8-dev -> satisfiable by doctrine/common[v2.4.0, ..., v2.7.3].
- doctrine/dbal[v2.4.0, ..., v2.4.5] require doctrine/common ~2.4 -> satisfiable by doctrine/common[v2.4.0, ..., 2.13.3].
- laravel/framework v11.0.7 requires nesbot/carbon ^2.72.2|^3.0 -> satisfiable by nesbot/carbon[3.1.1].
- laravel/framework v11.0.7 requires symfony/http-foundation ^7.0 -> satisfiable by symfony/http-foundation[v7.0.4].
- beyondcode/laravel-er-diagram-generator[0.1.0, ..., 0.2.3, 1.0.0, ..., 1.5.0] require php ^7.1 -> your php version (8.2.2) does not satisfy that requirement.
- doctrine/common[v2.9.0, ..., 2.13.0] require php ^7.1 -> your php version (8.2.2) does not satisfy that requirement.
- doctrine/dbal[v2.6.0, ..., v2.9.3] require php ^7.1 -> your php version (8.2.2) does not satisfy that requirement.
- beyondcode/laravel-er-diagram-generator 2.0.0 requires nikic/php-parser ^2.0|^3.0|^4.0 -> found nikic/php-parser[v2.0.0, v2.0.1, v2.1.0, v2.1.1, v3.0.0, ..., v3.1.5, v4.0.0, ..., v4.19.1] but the package is fixed to v5.0.2 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- doctrine/common[v2.4.0, ..., v2.5.3] require doctrine/inflector 1.* -> found doctrine/inflector[v1.0, ..., 1.4.4] but the package is fixed to 2.0.10 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- doctrine/common[v2.6.0, ..., v2.6.2] require php ~5.5|~7.0 -> your php version (8.2.2) does not satisfy that requirement.
- doctrine/common[v2.7.0, ..., v2.7.3] require php ~5.6|~7.0 -> your php version (8.2.2) does not satisfy that requirement.
- doctrine/common[v2.8.0, ..., v2.8.1] require php ~7.1 -> your php version (8.2.2) does not satisfy that requirement.
- doctrine/common[2.13.1, ..., 2.13.3] require doctrine/inflector ^1.0 -> found doctrine/inflector[v1.0, ..., 1.4.4] but the package is fixed to 2.0.10 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
- doctrine/dbal[v2.10.0, ..., 2.10.4] require php ^7.2 -> your php version (8.2.2) does not satisfy that requirement.
- doctrine/dbal[2.11.0, ..., 2.11.3] require php ^7.3 -> your php version (8.2.2) does not satisfy that requirement.
- laravel/framework is locked to version v11.0.7 and an update of this package was not requested.
- carbonphp/carbon-doctrine-types 3.2.0 conflicts with doctrine/dbal 3.8.3.
- beyondcode/laravel-er-diagram-generator 3.0.0 requires doctrine/dbal ~2.3|^3.3 -> satisfiable by doctrine/dbal[2.3.0, ..., 2.13.9, 3.3.0, ..., 3.8.3].
- nesbot/carbon 3.1.1 requires carbonphp/carbon-doctrine-types * -> satisfiable by carbonphp/carbon-doctrine-types[3.2.0].
- symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 3.5.4.
- symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 3.4.6.
- symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 3.3.8.
- symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 3.3.5.
- symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 2.13.9.
- symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 2.13.8.
- symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 2.13.1.
- symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 2.12.1.
- symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 2.3.5.
- symfony/http-foundation v7.0.4 conflicts with doctrine/dbal 2.3.2.
- Root composer.json requires beyondcode/laravel-er-diagram-generator * -> satisfiable by beyondcode/laravel-er-diagram-generator[0.1.0, ..., 0.2.3, 1.0.0, ..., 1.5.0, 2.0.0, 3.0.0].
Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.
You can also try re-running composer require with an explicit version constraint, e.g. "composer require beyondcode/laravel-er-diagram-generator:*" to figure out if any version is installable, or "composer require beyondcode/laravel-er-diagram-generator:^2.1" if you know which you need.

yes, i have same issue, Laravel is too new.
Can someone make a new distribution with these patches to composer.json

   "php": "^7.1|^8.0",

   "php": "^7.1|^8.0|^8.1|^8.2",

   "doctrine/dbal": "~2.3|^3.3",

   "doctrine/dbal": "~2.3|^3.3|^3.8|^4.0",

   "phpunit/phpunit": "^7.0| ^8.0|^9.5.10",

   "phpunit/phpunit": "^7.0| ^8.0|^9.5.10|^10.5.20|^11.1.3",

thanks,
Noud

yes, same issue, Laravel is too new.
Can you make a new distribution with these patches to composer.json
-        "php": "^7.1|^8.0",
+        "php": "^7.1|^8.0|^8.1|^8.2",

-        "doctrine/dbal": "~2.3|^3.3",
+        "doctrine/dbal": "~2.3|^3.3|^3.8|^4.0",

-        "phpunit/phpunit": "^7.0| ^8.0|^9.5.10",
+        "phpunit/phpunit": "^7.0| ^8.0|^9.5.10|^10.5.20|^11.1.3",

thanks,
Noud

yes, same issue, Laravel is too new.
Can you make a new distribution with these patches to composer.json
-        "php": "^7.1|^8.0",
+        "php": "^7.1|^8.0|^8.1|^8.2",

-        "doctrine/dbal": "~2.3|^3.3",
+        "doctrine/dbal": "~2.3|^3.3|^3.8|^4.0",

-        "phpunit/phpunit": "^7.0| ^8.0|^9.5.10",
+        "phpunit/phpunit": "^7.0| ^8.0|^9.5.10|^10.5.20|^11.1.3",

thanks, Noud

it's now work (((

I am trying to install on Laravel 11 & PHP 8.3.9
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - doctrine/dbal[v2.5.0, ..., v2.5.2] require doctrine/common >=2.4,<2.6-dev -> satisfiable by doctrine/common[v2.4.0, ..., v2.5.3].
    - doctrine/dbal[v2.5.3, ..., v2.5.5] require doctrine/common >=2.4,<2.7-dev -> satisfiable by doctrine/common[v2.4.0, ..., v2.6.2].
    - doctrine/dbal[v2.5.6, ..., v2.5.13] require doctrine/common >=2.4,<2.8-dev -> satisfiable by doctrine/common[v2.4.0, ..., v2.7.3].
    - doctrine/dbal[v2.4.0, ..., v2.4.5] require doctrine/common ~2.4 -> satisfiable by doctrine/common[v2.4.0, ..., 2.13.3].
    - laravel/framework v11.20.0 requires nesbot/carbon ^2.72.2|^3.0 -> satisfiable by nesbot/carbon[3.7.0].
    - laravel/framework v11.20.0 requires symfony/http-foundation ^7.0 -> satisfiable by symfony/http-foundation[v7.1.3].
    - beyondcode/laravel-er-diagram-generator[0.1.0, ..., 0.2.3, 1.0.0, ..., 1.5.0] require php ^7.1 -> your php version (8.3.9) does not satisfy that requirement.
    - doctrine/common[v2.9.0, ..., 2.13.0] require php ^7.1 -> your php version (8.3.9) does not satisfy that requirement.
    - doctrine/dbal[v2.6.0, ..., v2.9.3] require php ^7.1 -> your php version (8.3.9) does not satisfy that requirement.
    - beyondcode/laravel-er-diagram-generator 2.0.0 requires nikic/php-parser ^2.0|^3.0|^4.0 -> found nikic/php-parser[v2.0.0, v2.0.1, v2.1.0, v2.1.1, v3.0.0, ..., v3.1.5, v4.0.0, ..., v4.19.1] but the package is fixed to v5.1.0 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - doctrine/common[v2.4.0, ..., v2.5.3] require doctrine/inflector 1.* -> found doctrine/inflector[v1.0, ..., 1.4.4] but the package is fixed to 2.0.10 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - doctrine/common[v2.6.0, ..., v2.6.2] require php ~5.5|~7.0 -> your php version (8.3.9) does not satisfy that requirement.
    - doctrine/common[v2.7.0, ..., v2.7.3] require php ~5.6|~7.0 -> your php version (8.3.9) does not satisfy that requirement.
    - doctrine/common[v2.8.0, ..., v2.8.1] require php ~7.1 -> your php version (8.3.9) does not satisfy that requirement.
    - doctrine/common[2.13.1, ..., 2.13.3] require doctrine/inflector ^1.0 -> found doctrine/inflector[v1.0, ..., 1.4.4] but the package is fixed to 2.0.10 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - doctrine/dbal[v2.10.0, ..., 2.10.4] require php ^7.2 -> your php version (8.3.9) does not satisfy that requirement.
    - doctrine/dbal[2.11.0, ..., 2.11.3] require php ^7.3 -> your php version (8.3.9) does not satisfy that requirement.
    - doctrine/dbal[2.13.0, ..., 2.13.8, 3.3.0, ..., 3.3.5] require doctrine/deprecations ^0.5.3 -> found doctrine/deprecations[v0.5.3] but the package is fixed to 1.1.3 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - laravel/framework is locked to version v11.20.0 and an update of this package was not requested.
    - carbonphp/carbon-doctrine-types 3.2.0 conflicts with doctrine/dbal 3.8.7.
    - beyondcode/laravel-er-diagram-generator 3.0.0 requires doctrine/dbal ~2.3|^3.3 -> satisfiable by doctrine/dbal[2.3.0, ..., 2.13.9, 3.3.0, ..., 3.8.7].
    - nesbot/carbon 3.7.0 requires carbonphp/carbon-doctrine-types * -> satisfiable by carbonphp/carbon-doctrine-types[3.2.0].
    - symfony/http-foundation v7.1.3 conflicts with doctrine/dbal 3.5.4.
    - symfony/http-foundation v7.1.3 conflicts with doctrine/dbal 3.4.6.
    - symfony/http-foundation v7.1.3 conflicts with doctrine/dbal 3.3.8.
    - symfony/http-foundation v7.1.3 conflicts with doctrine/dbal 2.13.9.
    - symfony/http-foundation v7.1.3 conflicts with doctrine/dbal 2.12.1.
    - symfony/http-foundation v7.1.3 conflicts with doctrine/dbal 2.3.5.
    - symfony/http-foundation v7.1.3 conflicts with doctrine/dbal 2.3.2.
    - Root composer.json requires beyondcode/laravel-er-diagram-generator * -> satisfiable by beyondcode/laravel-er-diagram-generator[0.1.0, ..., 0.2.3, 1.0.0, ..., 1.5.0, 2.0.0, 3.0.0].


Fix central directory file header CRC32

Archives are currently being created with an empty CRC value (00000000), which causes validation errors on extraction (non-zero exit codes using unzip on Debian, and Lambda was not able to unzip the file errors on AWS Lambda).
Fixes: #13

This fixes the issue for me, thanks @troyready.


Add tests for scopes methods

Proposed changes
Currently, we don't have any tests for the scopes methods. We need them added to the /tests folder.
Possible Implementation
See keys.test.ts for examples

@briancbarrow I'd be happy to work on this one as well


[FLINK-19435][connectors/jdbc] Fix deadlock when loading different driver classes concurrently using Class.forName

What is the purpose of the change
Fix deadlock when loading different driver classes concurrently using Class.forName.
Brief change log

Add hang test case to reveal deadlock when loading different sql driver classes concurrently using Class.forName.
Fix deadlock when loading different sql driver classes concurrently using Class.forName.

Verifying this change
This change added tests and can be verified as follows:

Add test SimpleJdbcConnectionProviderDriverClassConcurrentLoadingTest#testDriverClassConcurrentLoading.

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@flinkbot attention @wuchong @JingsongLi

@flinkbot

Sorry for the late response. We were on business trip of Flink Forward Asia. I will review this PR later today.

I have reported two failed test cases in building https://github.com/apache/flink/pull/14361/commits/0aa90c60d5e038daeb11b9ed90ef1226a4410613:

SQLClientSchemaRegistryITCase.testReading in FLINK-20432.
UnalignedCheckpointITCase.execute in FLINK-20389.

I will do an rebase on latest origin/master to squash fixup commit, reduce noise and trigger another ci run.

Azure is passed. Will merge this.


argument num_classess > 0 instead of > 1

Issue #, if available:
If our task is binary classification and evaluate by precision-recall, we might need to set num_classes = 1 and multilabel=true.
We may not want to set num_classes = 2 and multilabel=false for this case because precision-recall is computed on the positive class.
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Is this related to how precision-recall is implemented?

Is this related to how precision-recall is implemented?

Yes, precision recall only compute on positive score (https://scikit-learn.org/stable/modules/generated/sklearn.metrics.precision_recall_curve.html). So in this case, we may want 1-d prediction instead of 2-d for binary classification


installation errors on tkinter

hi, I tried to run your app on WSL2 linux subsytem. There is no python3.11 available on the minisystem. I installed it manually and succeeded, while the error still occurred after running python3 main.py. The message was as follows"root@DESKTOP-M6BE6MT:/home/aslanganriel/PyAMPA# python3 main.py
No protocol specified
No protocol specified
Traceback (most recent call last):
File "main.py", line 1090, in
app = Application()
File "main.py", line 705, in init
tk.Tk.init(self)
File "/usr/lib/python3.8/tkinter/init.py", line 2270, in init
self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
_tkinter.TclError: couldn't connect to display ":21.0"
root@DESKTOP-M6BE6MT:/home/aslanganriel/PyAMPA# python3.11 main.py
Traceback (most recent call last):
File "/home/aslanganriel/PyAMPA/main.py", line 1, in
import tkinter as tk
File "/usr/local/lib/python3.11/tkinter/init.py", line 38, in
import _tkinter # If this fails your Python may not be configured for Tk
^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named '_tkinter'
". Would you like to fix it? I appreciate it very much.

We did not test the software on WSL2 linux subsytem, pyAMPA is intended for use in a native linux environment (or mac). Did you try to install tkinter? { ModuleNotFoundError: No module named '_tkinter' } suggests that tkinter is not properly installed in your system. You can try to install tkinter to solve this issue:
sudo apt install python3-tk
This error { _tkinter.TclError: couldn't connect to display ":21.0" } suggests also that you're trying to execute tkinter in an environment with no graphical display available. Tkinter requires access to a display in order to function properly.
Please let us know if this helped to solve your problems.
Best regards,
The pyAMPA Team


Auth 401 re-fresh token issue

Hey @neozhu as reported in #611 & #635 I keep having issues with the token not refreshing/redirecting to login. I'm going to dive into this now but also want to report it and offer solution to everyone when/if we find it.
Yesterday I deployed my app to production, earlier today I had a blank screen and this in console log and now again. (Clearing the token helps but thats not a fix for end users)
blazor.web.js:1
 [2024-03-20T13:02:33.543Z] Error: There was an unhandled exception on the current circuit, so this circuit will be terminated. For more details turn on detailed exceptions by setting 'DetailedErrors: true' in 'appSettings.Development.json' or set 'CircuitOptions.DetailedErrors'

Set it to true and
blazor.web.js:1  [2024-03-20T13:14:46.262Z] Error: System.Net.Http.HttpRequestException: Response status code does not indicate success: 401 (Unauthorized).
   at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.NegotiateAsync(Uri url, HttpClient httpClient, ILogger logger, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.GetNegotiationResponseAsync(Uri uri, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.SelectAndStartTransport(TransferFormat transferFormat, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.StartAsyncCore(TransferFormat transferFormat, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnection.StartAsync(TransferFormat transferFormat, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Http.Connections.Client.HttpConnectionFactory.ConnectAsync(EndPoint endPoint, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsyncCore(CancellationToken cancellationToken)
   at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsyncInner(CancellationToken cancellationToken)
   at Microsoft.AspNetCore.SignalR.Client.HubConnection.StartAsync(CancellationToken cancellationToken)
   at XVI2.Server.UI.Hubs.HubClient.StartAsync(CancellationToken cancellation) in C:\Users\Jochem\Documents\XVI-2-NET8\XVI2\src\Server.UI\Hubs\HubClient.cs:line 74
   at XVI2.Server.UI.Components.Identity.UserLoginState.OnInitializedAsync() in C:\Users\Jochem\Documents\XVI-2-NET8\XVI2\src\Server.UI\Components\Identity\UserLoginState.razor.cs:line 36
   at Microsoft.AspNetCore.Components.ComponentBase.RunInitAndSetParametersAsync()
   at Microsoft.AspNetCore.Components.RenderTree.Renderer.GetErrorHandledTask(Task taskToHandle, ComponentState owningComponentState)

Little edit: You deserve so much love for this project, I'm so happy with it!
Edit 1:
As the exception states here the exception gets thrown (but I've very little knowledge about signalr and where the actual exception is thrown)
UserLoginState.razor
        await Client.StartAsync().ConfigureAwait(false);

Edit 2:
I'm curious why cause I didn't close this project really long ago but there is a difference between the UserLoginState.razor.cs class i've and is in the main repo (my version seems to be from 30-01-2024)
Note: it's quite hard to keep up to date with everything changing in here (and having thus proper support ability)
Edit 3:
I'm using SQL server to run this (not using in memory)
Setting up a fresh project to test/replicate issue
Edit 4:
When setting up a brand new clone of the project it seems to protect better and work better with 401's then whichever version I've (bit frustrating but good to see that with upgrading things will get solved).
A Note: When deleting the database and rebooting the app (it creates the new db) and i'm logged in with the same session as with the old database. Mainly this even works (which I think is a little bit odd) but when clicking on the user profile right above it crashes with a nullpointer.

thank you for your information, I will check it.


Add an ignored-worlds config option

I want explosions to regen in the overworld, but not the nether or the end.
Can you add an ignored-worlds config option?
ignored-worlds: []

There appears to already be an ignored worlds parameter (from config.yml):
# Explosions in these worlds will be ignored
ignored_worlds:
# - factions_world


Add Path_Name to the API output

Probably not essential for implementing with adjusted schedule, but doesn't hurt and potentially helps communicate Ops' intentions to ensure data are coming through as expected.

Can you tell me where this belongs? Is it a property of Adjustment.adjustment_shapes?


Use UID 1000 in the worker binary

I really have not done much investigation into what was preventing this from working before; I just tried adding the relevant line in the dockerfile.
In particular:

Volume mounts? AFAICT the only way to change the owner/permissions associated with mounts in kubernetes is with security contexts, and I know the init container needs to mount at least /pach-bin to work (to copy the worker binary there, so the user container can run it). Doesn't this mean that user 1000 shouldn't be able to copy the worker binary into /pach-bin and therefore that nothing works?
Worker service port? There were issues setting this previously, and I didn't change anything in this PR
This just changes the UID in the init container, but wouldn't it be necessary to change the default UID of user pipelines? That sounds completely insane though, and I'd expect this to break every pipeline.

I guess CI runs though?

Nice!

cc @actgardner

I really have not done much investigation into what was preventing this from working before; I just tried adding the relevant line in the dockerfile.

My hesitation to do this was basically because the UID of the init container and the user container may not match, and I wasn't 100% sure what the behaviour would be if they were both unprivileged. This prompted me to do some experimentation:

Doesn't this mean that user 1000 shouldn't be able to copy the worker binary into /pach-bin and therefore that nothing works?

AFAICT k8s changes the volume permissions such that the UID of the container has appropriate access. Otherwise it would be complicated to have volumes mounted in non-root containers.

Worker service port? There were issues setting this previously, and I didn't change anything in this PR

I changed the default in 2.0, we know this works because we have a test that runs both the whole pod with a non-root security context.

This just changes the UID in the init container, but wouldn't it be necessary to change the default UID of user pipelines? That sounds completely insane though, and I'd expect this to break every pipeline.

What happens is that, absent a security context, the init container runs as UID 1000, and the user container runs as whatever UID is baked in. I did some testing, and the files that the init container installs end up having 777 permissions, so they're executable even if the user container UID is a different, unprivilleged container. For instance, I ran a pipeline where the init container is UID 1000 and the user container is UID 1001 with no problem.
We should add an integration test which builds a non-root, non UID 1000 container and confirms that a pipeline runs end-to-end with that setup, in addition to the existing test that runs both containers with UID 1000 using a pod security context.

Since CI is passing, and non-root is better than root, I'll merge :shrug:
@actgardner thanks for the super-thorough explanation! Part of where my uncertainty was coming from was that, in the limited experimentation I did, I had some issues running a local pachd deployment as a non-root user due to the pach-disk HostPath volume we use instead of object storage; the pachd process couldn't access it (I was setting the UID in the Dockerfile instead of the pod security policy too, which might have mattered), and I was worried pach-bin would have the same problems. The fact that it's an EmptyDir resolves the main potential issue with this specific PR for me, though, and pach-disk clearly now works in master too, so even the related issue I've observed must be solveable; I think this is just an area where I need to improve my understanding of k8s volumes.

Part of where my uncertainty was coming from was that, in the limited experimentation I did, I had some issues running a local pachd deployment as a non-root user due to the pach-disk HostPath volume we use instead of object storage: the pachd process couldn't access the mount at /pach (I was setting the UID in the Dockerfile instead of the pod security policy too, which might have mattered).

This issue affects pachd and the sidecar container when running as non-root users, because they don't usually have the right permissions on the host filesystem. The way we've worked around that is to run as non-root by default, but add a pod security context when users do a minikube deployment that runs as root. In CI we do some prep work to set the permissions on the host so the host volume works without the pod security context. Hopefully that clarifies a bit!


Is this ready for GA?

I'm asking because I tried adding it to my project and the basic usage example in the README.md doesn't seem to work...
Also, what's with KafkaProducerBundler expecting the the dropwizard configuration type to inherit from javax.security.auth.login.Configuration rather than io.dropwizard.Configuration? Is this a bug?

@OOPMan can you clarify what doesn’t work from the example?

Also, what's with KafkaProducerBundler expecting the the dropwizard configuration type to inherit from javax.security.auth.login.Configuration rather than io.dropwizard.Configuration? Is this a bug?

That would be a bug, yes.

@OOPMan Also, I get the frustration. This library is a modified version of one we use internally at Apple, as we have a modified Kafka Client we use internally. When open sourcing this, I added the Bundles, as previously I would recommend users interact with the Factorys directly. So that's one area that I need to test better, and have an example project that illustrates (and verifies) usage.

1.3.12-3 released fixing the incorrect Configuration class issue
https://github.com/dropwizard/dropwizard-kafka/releases/tag/dropwizard-kafka-1.3.12-3

@mzamani1 Thanks for that quick fix. My issue around the example was that it shows:
private final KafkaProducerBundle<ExampleConfiguration> kafkaProducer = new KafkaProducerBundle<ExampleConfiguration>() {
    @Override
    public KafkaProducerFactory getKafkaProducerFactory(ExampleConfiguration configuration) {
        return configuration.getKafkaProducerFactory();
    }
};

but KafkaProducerBundle is defined with three type parameters and thus IntelliJ claims it won't compile (maybe it's wrong?)
Also, I think getKafkaProducerFactory also has three type parameters...
I'm working on JDK8, fyi...

@OOPMan yeah, that’s a doc issue, and is my bad. The three type parameters are:

The Key type for your producer
The Value type for your producer
The configuration type

I’ll fix the doc issue once I get to my office.

@OOPMan docs should be fixed now. Thanks for bearing with me.

@mzamani1 Thanks for the timely response, will try again :-)

@mzamani1 Much better, although the example still has a minor issue due to KafkaProducerBundle not having a default constructor, but that's not a train smash since it's easy to work out what to do :-)

@OOPMan Gotcha, I’ll look at that as well. Thanks for all of the feedback!


Add Sportschau

hope everything is ok...I am not really a python dev :S

May I ask why this hasn't been merged? Sportschau offers way higher quality streams than the "ard" stream does (even though they show the same event).
Also @m0ppers consider removing
self.logger.info("Metadata: {0}", stream_metadata)

As it adds unimportant extra data to the output. Thanks for your plugin!


Questions about pytest -x

Performed the following installation operations as required

but

Hi, this is because you need the URLs to be set before running pytest (as it needs access to these webpages for some of the tests).

I ran all the environment installation commands, but I don't have the _state.json file in .auth folder.

python browser_env/auto_login.py
After running the above command, the _state.json file was not created.


Introduce µ-service architecture

add eureka server
make current fat client register itsself @eureka server

feature no more requested


TemplateSyntaxError

Hello there!
After installing django-follow and syncdb'ing I'm getting the following error:
http://pastie.org/2788611
After a few minutes of debugging I'm not sure what's going on.
It seems that follow.utils.register() correctly adds the foreignkey to the model, but the new field is not created inside the DB.
In the python shell a new instance of models.Follow has a property called "post_id". However, the db table is not created (I verified this inside the db).
My env:

Django 1.3.1
South 0.7.3

Thanks for the help!

Did you try running the tests?
Did you register the model before or after the first syncdb?

If you registered it after the first time you synced, django-follow created the table without any additional fields. In that case you'd have to write a migration - or drop the table and resync. I'll have to add this to the README

After completely wiping the DB it works correctly.

Sorry, I accidentally closed the issue before seeing your reply.
I figured out the problem because all the tests were passing but manual navigation was throwing an exception.
Thanks for the help and for sharing this the code!

Cool


Dask LightGBM best practices

Hey! I've been experimenting a bit with Dask LightGBM and I have a couple questions. Apologies if this is not the right forum for questions like this.

First, what is the most recommended to pass data into LightGBM? Initially I followed the advice here [1] and persisted my data before fitting the DaskLGBMRegressor. Specifically, I would roughly use something like:

df_train = dask.dataframe.read_parquet("/my/glob/*/*.parquet", columns=features+[resp], engine="pyarrow")
X_train = df_train[features].to_dask_array(lengths=True)
y_train = df_train[resp].to_dask_array(lengths=True)
X_train, y_train = X_train.persist(), y_train.persist()
_ = dask.distributed.wait([X_train, y_train])

model = lgb.DaskLGBMRegressor(**blah)
model.fit(X_train, y_train)

But based on early observations I'm finding this to be slower than just dropping the persist and to_dask_array calls and giving LightGBM the read_parquet future. I don't really understand why persisting would be helpful anyway since from what I understand, LightGBM will first do some work to rearrange the data to ensure that X[i] and y[i] are on the same worker for all i [2], so doing any work to load data on the workers prior seems wasted? I.e. I now run something like this:
df_train = dask.dataframe.read_parquet("/my/glob/*/*.parquet", columns=features+[resp], engine="pyarrow")
model = lgb.DaskLGBMRegressor(**blah)
model.fit(df_train[features], df_train[resp])

I'm having trouble doing some kind of logging with Dask LightGBM. I'd be happy to know just how many iterations in training is, but passing in something like callbacks=[lambda env: print(env.iteration)] doesn't show anything in either scheduler or worker logs. Can I do some sort of logging in the dask regressor?

[1] https://github.com/jameslamb/lightgbm-dask-testing/blob/main/notebooks/demo-aws.ipynb
[2] https://www.youtube.com/watch?v=XFVcoBu1rNw

Tangentially I'm wondering if there is some way to affect load balancing? I think either Dask or LightGBM is currently causing a very unbalanced distribution of data for my use case.
I'm loading 500 parquet files of about 1GB each onto 160 workers each with 50GB of memory. I imagine that would be plenty but some workers get very little data while others  get so much it spills to disk. How does this happen? How can I fix it ?


Build guide doesn't include information about wireless builds

The build guide for the Hillside is fantastic, but it's missing a page describing how to hook up the battery, off switch, and capacitor. Which set of batt pos / gnd do you solder the battery leads to?
It's also missing info about closing the jumper for i2c things on the page on adding the resistors.

For those seeking info: The capacitor solders on near the top of the MCU area. Soldering the battery leads to the top pads on the PCBs, near the USB-C ports on your nice!nano, works. The on-off switch goes on just like you imagine it does.
I don't have the Pimoroni trackball working in ZMK on my board yet, so I don't know if I did the right thing by closing the jumpers on both halves for i2c yet.

Sorry I missed this. I added a wireless page to the build guide. And a page explaining the accessory power jumper.


Ensure read components can be discarded when COMPOSITE_CUMULATOR is u…

…sed.
Motivation:
ByteToMessageDecoder must ensure that read components of the CompositeByteBuf can be discard by default when discardSomeReadBytes() is called. This may not be the case before as because of the default maxNumComponents that will cause consolidation.
Modifications:
Ensure we not do any consolidation to actually be abel to discard read components
Result:
Less memory usage and allocations.

@danielnorberg FYI

@trustin @nmittler @Scottmitch PTAL

LGTM

LGTM

LGTM

Cherry-picked into 4.0 (c64fe509dd974a2061d46d7381dd216f43f0844a) and 4.1 (0b1c82b25444bb244a33008d23863d5a0e82a323)

Thanks for taking care @normanmaurer !


v2 migration

[!NOTE]
This is a tracker issue for H3 v2 release. You can try with h3-nightly@2x

Migration guide:

https://github.com/unjs/h3/blob/main/MIGRATION.md
https://main.unjs-h3.pages.dev/migration

Why did you stop using destr? It's prevention of prototype pollution seemed quite useful.

@AaronDewes mainly for bundle size. But i am up to add a replacement util for safe read (https://github.com/unjs/h3/issues/819, feel free to make a PR for it!)

What would you think of the following approach to handle Response manipulation, now that standard web Response is the de-facto representation:
defineEventHandler({
  // Here response type would always be Response
  onBeforeResponse(event, response: Response) {
    // We can then edit the response headers
	response.headers.set('X', 'Y');
    // Or even return a new one?
    return new Response(...);
  }
});

The benefits I see are:

Make most of Response utils deprecated, streamlining even more the v2 approach.

I'm working on a universal lib that would provide the same functionalities (i.e. manipulate Request and Response objects).

Allow tool authors to declare their middleware once in a universal manner, and have h3 (or any other server) ingest it without overhead.

@magne4000 With https://github.com/unjs/h3/pull/829 h3 will be web-first with event.response.headers to allow modification of headers. Creating multiple Response objects for middleware might have performance while h3 (v2) by design expects explicit return for body, other partials can be set via event.response and Web standard APIs.


ncurses dev files dependency not documented [debian 9]

If libncurses5-dev is not installed the build will fail with:
:: bazel build //:ced
INFO: Analysed target //:ced (0 packages loaded).
INFO: Found 1 target...
ERROR: /home/brandon/dev/ced/BUILD:126:1: C++ compilation of rule '//:ced' failed (Exit 1)
main.cc:14:10: fatal error: 'curses.h' file not found
#include <curses.h>
         ^~~~~~~~~~
1 error generated.
Target //:ced failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 5.587s, Critical Path: 2.06s
FAILED: Build did NOT complete successfully

After installing the package it builds fine.
This dependency is not documented anywhere (afaict).

Zomg someone tried this.
Yeah the dependency isn't documented anywhere... I'm actually debating whether I can get rid of it.
It'd be nice to be able to just name all the dependencies in the Bazel workspace and keep the build totally hermetic, and ncurses is really hard to get building in that environment - whereas it seems like I could just embed something like https://github.com/nsf/termbox and be happy forever.

The idea behind the ced is very appealing, so I wanted to try it out early! I haven't had much time to spend trying it out yet though, waiting until holidays to give it a proper go.
Yeah if you want all the dependencies covered by Bazel, then I guess ncurses is not great to that end. Well I see the readme has been updated with dependencies, so I will close this issue.
However since I have your attention :) it looks like ced uses compile commands with libclang for it's features beyond text editing. Is there a specific workflow for getting that setup for an existing project, or is it auto generating compile commands for Bazel projects?


PHP Fatal error:  Maximum execution time of 30 seconds exceeded

Laravel Version
11.31.0
PHP Version
8.3.14
Database Driver & Version
MariaDB 11.4 on Windows 11
Description
From time to time this error occurs while running the project:
PHP Fatal error:  Maximum execution time of 30 seconds exceeded in C:\Users\myuser\PhpstormProjects\myproject\vendor\symfony\finder\Iterator\SortableIterator.php on line 51
This error only occurs in the development environment and on Windows. When I run the same project on WSL or Standalone Ubuntu, there is no problem. Also, this problem does not occur in the server and production environment.
Sometimes this error does not occur, but the project execution speed is still slower than WSL and Ubuntu. The php.ini values are the same in all three environments.
I did some searching and found similar errors related to iterators and it was said that changing the session driver would solve it. I also changed the SESSION_DRIVER and CACHE_STORE to Redis. But the problem still persists.
If it helps, I use Livewire and MaryUI.
Steps To Reproduce
To be honest, I don't know exactly how to reproduce this error. The project is nothing special and is a simple store. It has nothing more than Laravel built-in authentication system and a few CRUD and checkout operations.
Is there a way to find out exactly which part of the code this error occurs during execution?

Hey there,
While this may be a legitimate issue, can you first try posting your problem or question on one of the support channels below? If this issue can be definitively identified as a bug, feel free to open up a new issue with a link to the original one and we'll gladly help you out.

Laracasts Forums
Laravel.io Forums
StackOverflow
Discord
Larachat
IRC

Thanks!


Support for summary metric type

Is there a technical reason summary is unsupported? It is the default summary type generated in phoenix projects. This is something I would be interesting in working on, but I thought I would ask before I spent time looking at it.

It's discussed at length in https://github.com/beam-telemetry/telemetry_metrics_prometheus_core/issues/11. Things have changed in the 2 years since it was last discussed.
Opentelemetry metrics will be completed relatively soon and I'd recommend switching when that happens. Rewriting a large chunk of the core library just isn't worth the effort imo.

There a lot of packages with similar names/functions and I haven't mastered it yet. When you say "opentelemetry metrics will be completed relatively soon" which package do you mean?

https://hex.pm/packages/opentelemetry_api


Symmetric NAT

Does this work if the SSH server is behind a symmetric NAT (i.e. NAT behavior & filtering are address & port dependant) ?

it should works.

Thanks. I will have to try; but, based on this, such a scenario would need a TURN (relay) server.

yes, maybe you don't need relay. try some public STUN sever like google's.  let's see if WebRTC works.