Add support for unevaluatedProperties + a few other changes.

Closes #288.
This PR adds support for unevaluatedProperties when using the draft201909 or draft202012 feature flags.
Overall approach
I took a somewhat similar approach to the Python code linked in the issue for this feature, where the validator for unevaluatedProperties uses a subvalidator for each relevant keyword -- properties, patternProperties, dependentSchemas, $ref, etc -- that performs the relevant logic for determining if the given schema for the keyword would evaluate the property.
Each subvalidator exposes an interface that looks a lot like the Validate trait, but is oriented towards checking solely if a property would be valid against the schema, and has an optional return value to indicate evaluated vs not evaluated. The validator code, overall, is a bit verbose, not unlike additionalProperties... but there's a possibility of turning the API into an actual trait which would theoretically allow us to reduce a lot of boilerplate when we check each subvalidator in UnevaluatedPropertiesValidator::is_valid_property, and so on.
Code deduplication and refactoring
Beyond that, I ended up refactoring a little bit of the shared code between unevaluatedProperties and additionalProperties. I tried, initially, to carry over the logic for switching between a small and big validator map, but it got a little too complex when considering that UnevaluatedPropertiesValidator is inherently recursive, and it didn't make a lot of sense propagating a generic validator map type all the way through. I'm happy to try and revisit this if you think it matters enough.
Fixing $ref for draft 2019-09 and newer
In order to fully support unevaluatedProperties, I had to do a small bit of refactoring in terms of how $ref is handled. This also had the nice side effect of fixing $ref usage when using draft 2019-09 and newer, as now it can be evaluated alongside other keywords.
Beyond that, there's just a lot of boilerplate, and I tried to pick a code style/pattern and just stick to that and be consistent about it, but I'm happy to do any of the aforementioned refactoring ideas, or anything else, to bring the code more in line with your expectations.

Seeing the CI: I'll rebase this locally in a little while to get this using a proper conventional commit message.

Great PR and a great write-up! :) Thank you so much for this!

@Stranger6667 🙇🏻 Happy to be able to contribute back.
Do you have a typical release cycle for jsonschema? Just doing a little planning on my end if I should keep my fork around or not.

Great, I'll keep an eye out for when that happens.
Appreciate the timeliness on the review and the release; certainly did not expect my PR to be getting this much traction so quickly. 😂

My pleasure :) Happy to see your contribution and that's great that jsonschema is getting closer to the full Draft 2019-09 support :)

0.17.0 is released :)


CLI >> Implement the functionality for adding storybook

CLI >> Implement the functionality for adding storybook

New tasks created CLI >> Implement the functionality for adding storybook
so closing this task


Allow creation of an ExpenseLog

Expected Behavior
When using a MoneyLog one of the functions will be to log expenses that occur.  This would involve a number of situations
Planned expense
A user will have planned to acquire an item and will usually have added that item to a wishlist, then to a shopping list, then went ahead to purchase that item. After this purchase occurs a user will record the event.
Here we allow a user to log an expense that is associated with a LogCategory  and a payment method
Impromptu expense
A user will have planned to acquire an item and will usually have added that item to a wishlist, then to a shopping list, then went ahead to purchase that item. After this purchase occurs a user will record the event.
Here we allow a user to log an expense a PaymentMethod
Ideally, a mutation in the Schema with an input object that caters for the both of these situations would work here
Actual Behavior
This behavior is not implemented at the moment
Acceptance Criteria
Our Schema allows the creation of ExpenseLogs using a mutation
Steps to Reproduce the Problem

We cannot create an ExpenseLog from the Schema

Specifications

Version:

@WanjikuMac see this one should be straight forward one


Rectangular Movement (version 0.2.0)

Version 0.2.0

Added conditions to check which direction the object is moving (allows users to change animations, rotate object, etc)

IsMovingUp, IsMovingDown, IsMovingLeft, IsMovingRight
https://forum.gdevelop-app.com/t/solved-rectangle-function/35003/3

Updated movement so that "constant speed" and "variable speed" options will travel the same distance.

Allows gamedevs to easily try the different modes without recalculating the right movement values

Cleaned up some events to reduce repeated code (DRY principle)

Example
https://games.gdevelop-app.com/game-2a59f5cf-65c1-4d87-b2fa-b31d094d06d1/index.html
Extension file
RectangularMovementExtension_0.2.0.json.zip
Project folder
RectangularMovement_SourceFiles.zip
Video
https://user-images.githubusercontent.com/8879811/132960420-9a049059-a79a-448e-8940-50ed3cc1ebee.mp4

Nice! Sorry for the lead time on this, @AlexandreSi will take a look at this! :D

Hi @tristanbob, thank you for the evolution, seems good to me!
Would you be ok to add your example to Gdevelop examples?
If so, I can take it from here!

Yes, of course!  I haven't cleaned up the project for submission, but you can certainly do it. :)


Update DPI Awareness Gold bar topic to include enable/disable setting

Issue description
https://docs.microsoft.com/en-us/dotnet/framework/winforms/disable-dpi-awareness-visual-studio should be updated to include the new tools->options property which allows the user to stop seeing the DPI gold bar message.  We also changed the strings in the gold bar text. @KlausLoeffelmann can provide images.
Target framework
Check the .NET target framework(s) being used, and include the version number(s).

[ ] .NET Core
[x] .NET Framework
[ ] .NET Standard

If using the .NET Core SDK, include dotnet --info output. If using .NET Framework without the .NET Core SDK, include info from Visual Studio's Help > About Microsoft Visual Studio dialog.

dotnet --info output or About VS info
<replace>

@gewarren this was assigned to sprint 144. Is this done already or should I move?

Oops this fell off my radar. I can do it this week.

@merriemcgaw I assume this is the setting in Tools > Options > Windows Forms Designer?

@gewarren , you are correct. @KlausLoeffelmann  can answer any technical questions you may have.


There was a problem merging two.NIIs into one

Hello, I have a dicom sequence, use 3D slicer to load the dicom folder, and then mark labels on it using segmentation, but now I have two mask1 and mask2, how do I merge them into one? Am I using the following code correctly?
`
import numpy as np
import os
import SimpleITK as sitk
import random
from scipy import ndimage
from os.path import join
Rseg = sitk.ReadImage("R-mark-label.nii", sitk.sitkInt8)
Rseg_array = sitk.GetArrayFromImage(Rseg)
Lseg = sitk.ReadImage("L-mark-label.nii", sitk.sitkInt8)
Lseg_array = sitk.GetArrayFromImage(Lseg)
print(" Rseg = ", Rseg_array.shape, "Lseg = ", Lseg_array.shape)
unique_elements = np.unique(Rseg_array, return_counts=False)
print("Rseg 类别数=", unique_elements, "Rseg=0:", np.sum(Rseg_array == 0), "Rseg=1:", np.sum(Rseg_array == 1), "Rseg=2:",np.sum(Rseg_array == 2))
unique_elements = np.unique(Lseg_array, return_counts=False)
print("Lseg 类别数=", unique_elements, "Lseg=0:", np.sum(Lseg_array == 0), "Rseg=1:", np.sum(Lseg_array == 1), "Rseg=2:",np.sum(Lseg_array == 2))
merge_seg = np.add(Rseg_array, Lseg_array)
unique_elements = np.unique(merge_seg, return_counts=False)
print("merge_seg 类别数=", unique_elements, "merge_seg=0:", np.sum(merge_seg == 0), "merge_seg=1:", np.sum(merge_seg == 1), "merge_seg=2:",np.sum(merge_seg == 2))
out = sitk.GetImageFromArray(merge_seg)
sitk.WriteImage(out, 'seg-12.nii')
`

SimpleITK                 2.3.1

Hello @tanjia123456,
It is very hard to follow your code (long and not straightforward), please provide a minimal working example illustrating the problem you are having combining what looks to be two binary segmentation images.
Below are two options for combining two binary segmentations, depending on your needs.
import SimpleITK as sitk

#binary segmentation1
segmentation1 = sitk.Image([3,3], sitk.sitkUInt8)
segmentation1[0:2,0:2] = 1

# binary segmentation2
segmentation2 = sitk.Image([10,10], sitk.sitkUInt8)
segmentation2[1:3,1:3] = 1

# combine into binary segmentation
combined_binary_segmentation = (segmentation1 + segmentation2) != 0
print(sitk.GetArrayFromImage(combined_binary_segmentation))

# combine into segmentation with three arbitrary labels
segmentation1_label = 10
segmentation2_label = 20
intersection_label = 30

combined_multi_label_segmentation = segmentation1*segmentation1_label + segmentation2*segmentation2_label
combined_multi_label_segmentation[combined_multi_label_segmentation == segmentation1_label + segmentation2_label] = intersection_label
print(sitk.GetArrayFromImage(combined_multi_label_segmentation))

Finally, for questions, please post on the ITK discourse. The issue tracker is primarily intended for bug reports.

Hello @tanjia123456,
It is very hard to follow your code (long and not straightforward), please provide a minimal working example illustrating the problem you are having combining what looks to be two binary segmentation images.
Below are two options for combining two binary segmentations, depending on your needs.
import SimpleITK as sitk

#binary segmentation1
segmentation1 = sitk.Image([3,3], sitk.sitkUInt8)
segmentation1[0:2,0:2] = 1

# binary segmentation2
segmentation2 = sitk.Image([10,10], sitk.sitkUInt8)
segmentation2[1:3,1:3] = 1

# combine into binary segmentation
combined_binary_segmentation = (segmentation1 + segmentation2) != 0
print(sitk.GetArrayFromImage(combined_binary_segmentation))

# combine into segmentation with three arbitrary labels
segmentation1_label = 10
segmentation2_label = 20
intersection_label = 30

combined_multi_label_segmentation = segmentation1*segmentation1_label + segmentation2*segmentation2_label
combined_multi_label_segmentation[combined_multi_label_segmentation == segmentation1_label + segmentation2_label] = intersection_label
print(sitk.GetArrayFromImage(combined_multi_label_segmentation))

Finally, for questions, please post on the ITK discourse. The issue tracker is primarily intended for bug reports.

thanks for your code, it's work!

Hi, @zivy
Since the resolution of each subject is different, and some are even slightly crooked, I want to crop the middle cerebral artery (in the red box), then what needs to be done to make the mass cropping more accurate? The cropped code is shown below
'import os.path
import nibabel as nib
from nibabel.viewers import OrthoSlicer3D
def crop_save(nii_file):
img = nib.load(nii_file)
data = img.get_fdata()
x_min, x_max = 30, 30+256  # 替换为你的x轴边界
y_min, y_max = 64, 64+256  # 替换为你的y轴边界
z_min, z_max = 60, 120  # 替换为你的z轴边界

cropped_data = data[x_min:x_max, y_min:y_max, z_min:z_max]
print(data.shape, cropped_data.shape)

cropped_img = nib.Nifti1Image(cropped_data, img.affine)
nib.save(cropped_img, os.path.join('crop', nii_file.split('/')[1]))

for i in range(1,10):
# 加载NII文件
nii_file1 = 'skull_seg/skull_seg_PA' + str(i) + '_SE1'+ '.nii'
nii_file2 = 'skull_seg/regis_PA' + str(i) + '_SE0' + '.nii'
print("\n", nii_file1, nii_file2)
crop_save(nii_file1)
crop_save(nii_file2)
'

Hello @tanjia123456,
You are mixing and matching nibabel and SimpleITK for operations that likely exist in both toolkits. Highly recommend that you use one toolkit and familiarize yourself with all its functionality. For SimpleITK, possibly skim the SimpleITK notebooks or go over the SimpleITK tutorial.
With respect to automated cropping, the following code will do it when added to the code above:
label_shape_filter = sitk.LabelShapeStatisticsImageFilter()
label_shape_filter.Execute(combined_multi_label_segmentation)
# The bounding box's first "dim=2 or 3" entries are the starting index and last "dim=2 or 3" entries the size
bounding_box = label_shape_filter.GetBoundingBox(intersection_label)
cropped_multi_label = sitk.RegionOfInterest(
        combined_multi_label_segmentation,
        bounding_box[int(len(bounding_box) / 2) :],
        bounding_box[0 : int(len(bounding_box) / 2)],
    )
print(sitk.GetArrayFromImage(cropped_multi_label))


CDK-937: Fix findbugs error.

The error is that datasets may be null and is always (not conditionally)
dereferenced. This is actually checked by a precondition so the code is
safe.

+1


Bugfix/18394 batch size finder max val batches

What does this PR do?

Resets the CombinedLoader attribute of the eval loop to trigger a re-initialization with the correct val_limit batches.
Fixes #18394
(Adapted from #17636)

Before submitting

Was this discussed/agreed via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
Did you make sure to update the documentation with your changes? (if necessary)
Did you write any new necessary tests? (not for typos and docs)
[x] Did you verify new and existing tests pass locally with your changes?
Did you list all the breaking changes introduced by this pull request?
Did you update the CHANGELOG? (not for typos, docs, test updates, or minor internal changes/refactors)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing, make sure you have read the review guidelines. In short, see the following bullet-list:

Reviewer checklist

[ ] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

:books: Documentation preview :books:: https://pytorch-lightning--18854.org.readthedocs.build/en/18854/

Thanks @BoringDonut, good call to carry over the same fix from the LR finder. Could you also add a changelog entry in the bugfix section?

@awaelchli added a changelog entry ~


Jobs display should provide more information to users

Three updates to the jobs display:

There should be a pop-up when you hover over the server image that says "Jobs" or something to that effect
The table should show which study or analysis the job is related to
The table should show when the job started in addition to the heartbeat

If this is too much to display in the window, then when a user clicks the plus button, this information should be shown.

We should also consider color-coding the jobs based on status for easy user-feedback


Wasm32 porting related problems

I successfully use nphysics and ncollide in wasm32 target :
[live demo] (https://edwin0cheng.github.io/unigame_demo/)
However, there are some minor issues:

rand crate version 3 do not work in wasm target (4.1 + will works)
rustc-serialize do not work too (maybe change it to serde?)
The performance is a little bit worse than bullet js port. I tried 500 boxes which only 10fps but ammo.js (bullet wasm) could go up to 60fps), I am going to investigate more.

The good parts:

Size! The size is around 300k (included my webgl code), bullet port is around 600k , 100% size reduced.

Thank you for making this demo and for the feedbacks! I will update rand and get rid of rustc-serialize in the next release. Regarding performances, I am not surprised that nphysics is slower than a bullet port, though a gap of 50fps seems quite a lot. I have not focused too much on performances for the moment though I will get to it after March.


Update description of State in schema.

Minor updated to schema for description of State.
Signed-off-by: dmatch01<EMAIL_ADDRESS>

/cc @kyleschlosser
@kyleschlosser Requesting your review.

@dmatch01 I see the travis build failed. Is that due to the changes? Or is that another problem?

@dmatch01 I see the travis build failed. Is that due to the changes? Or is that another problem?

Resolved with #148


Switching dependencies has caused execution time to increase ~10x

Description:
I've switched front-end parser for Pigeon from using dart:mirrors to the analyzer and found that even when there is no change to the logic that gets executed, the execution time has greatly increased.  I assume this has to do with the runtime loader.
In the executions below the logic never actually executes anything from dart:mirrors or analyzer.  It is exiting early because of the lack of input (code).
PR: https://github.com/flutter/packages/pull/381
before:
$ time pub run pigeon

Pigeon is a tool for generating type-safe communication code between Flutter
and the host platform.

usage: pigeon --input <pigeon path> --dart_out <dart path> [option]*

options:
--input                    REQUIRED: Path to pigeon file.
--dart_out                 REQUIRED: Path to generated Dart source file (.dart).
--dart_test_out            Path to generated library for Dart tests, when using @HostApi(dartHostTestHandler:).
--objc_source_out          Path to generated Objective-C source file (.m).
--java_out                 Path to generated Java file (.java).
--java_package             The package that generated Java code will be in.
--[no-]dart_null_safety    Makes generated Dart code have null safety annotations
                           (defaults to on)
--objc_header_out          Path to generated Objective-C header file (.h).
--objc_prefix              Prefix for generated Objective-C classes and protocols.
--copyright_header         Path to file with copyright header to be prepended to generated code.

real	0m0.910s
user	0m1.032s
sys	0m0.191s

after:
$ time pub run pigeon

Pigeon is a tool for generating type-safe communication code between Flutter
and the host platform.

usage: pigeon --input <pigeon path> --dart_out <dart path> [option]*

options:
--input                    REQUIRED: Path to pigeon file.
--dart_out                 REQUIRED: Path to generated Dart source file (.dart).
--dart_test_out            Path to generated library for Dart tests, when using @HostApi(dartHostTestHandler:).
--objc_source_out          Path to generated Objective-C source file (.m).
--java_out                 Path to generated Java file (.java).
--java_package             The package that generated Java code will be in.
--[no-]dart_null_safety    Makes generated Dart code have null safety annotations
                           (defaults to on)
--objc_header_out          Path to generated Objective-C header file (.h).
--objc_prefix              Prefix for generated Objective-C classes and protocols.
--copyright_header         Path to file with copyright header to be prepended to generated code.

real	0m8.514s
user	0m10.907s
sys	0m0.877s

Expected result:
I expect the runtime loader to be lazy such that dependencies and imports incur almost no cost unless they are actually used.
Tested Dart versions:

Dart SDK version: 2.12.4 (stable) (Thu Apr 15 12:26:53 2021 +0200) on "macos_x64"
Dart SDK version: 2.13.3 (stable) (Wed Jun 9 12:44:44 2021 +0200) on "macos_x64"

One thing that is weird about pigeon is that it is launching this code in an Isolate.  That might be bypassing some optimization that would happen otherwise?
I might be able to remove that Isolate now that I'm using the analyzer.

cc @mkustermann @aam I think one of you would have a better idea of what might be happening and who would know the most about it.

@gaaclarke dart:mirrors is a built-in library that has modest size. The package:analyzer is gigantic and pulls in a lot of code.
pub run pigeon is effectively executing dart bin/pigeon.dart. One can compile that to a kernel (dill) file and see the size differences:
Before:
% measure dart --snapshot-kind=kernel --snapshot=bin/pigeon.dart.dill bin/pigeon.dart
Info: Compiling without sound null safety
        Memory: 229296 kB  -    0:00.51 real,   0.60 user,      0.17 sys

% ls bin/pigeon.dart.dill
405K bin/pigeon.dart.dill

% measure dart bin/pigeon.dart.dill

Pigeon is a tool for generating type-safe communication code between Flutter
and the host platform.

usage: pigeon --input <pigeon path> --dart_out <dart path> [option]*

options:
--input                    REQUIRED: Path to pigeon file.
--dart_out                 REQUIRED: Path to generated Dart source file (.dart).
--dart_test_out            Path to generated library for Dart tests, when using @HostApi(dartHostTestHandler:).
--objc_source_out          Path to generated Objective-C source file (.m).
--java_out                 Path to generated Java file (.java).
--java_package             The package that generated Java code will be in.
--[no-]dart_null_safety    Makes generated Dart code have null safety annotations
                           (defaults to on)
--objc_header_out          Path to generated Objective-C header file (.h).
--objc_prefix              Prefix for generated Objective-C classes and protocols.
--copyright_header         Path to file with copyright header to be prepended to generated code.
        Memory: 228404 kB  -    0:00.49 real,   0.52 user,      0.18 sys

After
# After (gh pr checkout 381)
% measure dart --snapshot-kind=kernel --snapshot=bin/pigeon.dart.dill bin/pigeon.dart
Info: Compiling without sound null safety
        Memory: 593972 kB  -    0:08.45 real,   11.20 user,     1.13 sys

% ls bin/pigeon.dart.dill
16M bin/pigeon.dart.dill

% measure dart bin/pigeon.dart.dill

Pigeon is a tool for generating type-safe communication code between Flutter
and the host platform.

usage: pigeon --input <pigeon path> --dart_out <dart path> [option]*

options:
--input                    REQUIRED: Path to pigeon file.
--dart_out                 REQUIRED: Path to generated Dart source file (.dart).
--dart_test_out            Path to generated library for Dart tests, when using @HostApi(dartHostTestHandler:).
--objc_source_out          Path to generated Objective-C source file (.m).
--java_out                 Path to generated Java file (.java).
--java_package             The package that generated Java code will be in.
--[no-]dart_null_safety    Makes generated Dart code have null safety annotations
                           (defaults to on)
--objc_header_out          Path to generated Objective-C header file (.h).
--objc_prefix              Prefix for generated Objective-C classes and protocols.
--copyright_header         Path to file with copyright header to be prepended to generated code.
        Memory: 569572 kB  -    0:04.56 real,   5.82 user,      0.91 sys

Basically that PR will increase bin/pigeon.dart from a small 400 KB program to a 16 MB program. Since Dart 2.0 our CFE (common frontend) will compile the entire transitive closure of the import graph from source to a kernel (dill) file. The VM is then given this dill file to run.
If the CFE has to analyzer ~ 16 MB of source code, emit roughtly the same amount in kernel file and then the VM has to parse that amount, it's just not going to be fast.

@gaaclarke So I'm afraid, it's working as intended.
(Back in Dart 1.0 there was no CFE and the VM would read sources directly. It had much more lazyness built-in and would not churn through the entire transitive import graph before running. But since Dart 2.0 we do have that issue. It's a known and accepted regression of time-to-main, in particular for large apps.)
You could try to compile bin/pigeon.dart to kernel (actually pub is supposed to do this caching optimization) or to an App-JIT / AOT snapshot for faster startup.

Thanks @mkustermann for looking at it.  I'll try eliminating the Isolate to see if that makes pub's caching work better.  If that doesn't make it faster it might be a deal breaker since people are suppose to use pigeon as a dev_dependency, compiling and using a kernel would be pretty clumsy.

I eliminated the isolate call and it made things a bit faster, it's still potentially unacceptable at 5 seconds:
$ time pub run pigeon

Pigeon is a tool for generating type-safe communication code between Flutter
and the host platform.

usage: pigeon --input <pigeon path> --dart_out <dart path> [option]*

options:
--input                    REQUIRED: Path to pigeon file.
--dart_out                 REQUIRED: Path to generated Dart source file (.dart).
--dart_test_out            Path to generated library for Dart tests, when using @HostApi(dartHostTestHandler:).
--objc_source_out          Path to generated Objective-C source file (.m).
--java_out                 Path to generated Java file (.java).
--java_package             The package that generated Java code will be in.
--[no-]dart_null_safety    Makes generated Dart code have null safety annotations
                           (defaults to on)
--objc_header_out          Path to generated Objective-C header file (.h).
--objc_prefix              Prefix for generated Objective-C classes and protocols.
--copyright_header         Path to file with copyright header to be prepended to generated code.

real	0m5.181s
user	0m6.469s
sys	0m0.600s

Removing the isolate and precompiling the executable made the runtimes fast.  I can do that CI at least to make it fast.
$ time dart bin/pigeon.dart.dill

Pigeon is a tool for generating type-safe communication code between Flutter
and the host platform.

usage: pigeon --input <pigeon path> --dart_out <dart path> [option]*

options:
--input                    REQUIRED: Path to pigeon file.
--dart_out                 REQUIRED: Path to generated Dart source file (.dart).
--dart_test_out            Path to generated library for Dart tests, when using @HostApi(dartHostTestHandler:).
--objc_source_out          Path to generated Objective-C source file (.m).
--java_out                 Path to generated Java file (.java).
--java_package             The package that generated Java code will be in.
--[no-]dart_null_safety    Makes generated Dart code have null safety annotations
                           (defaults to on)
--objc_header_out          Path to generated Objective-C header file (.h).
--objc_prefix              Prefix for generated Objective-C classes and protocols.
--copyright_header         Path to file with copyright header to be prepended to generated code.

real	0m0.420s
user	0m0.406s
sys	0m0.083s

(actually pub is supposed to do this caching optimization)

do you mean this is an eventual feature request or did Aaron hit some bug in that logic? Or does it only target some usages of pub?

@gaaclarke how did you install pigeon from path or from pub? IIRC pub does not precompile/cache your binary if you install from path, but should precompile and cache it if you install it from pub. So you should see that second run of pigeon is much faster compared to first run.

do you mean this is an eventual feature request or did Aaron hit some bug in that logic? Or does it only target some usages of pub?

At least for pub global activate it does that immediately:
% pub global activate pigeon
Resolving dependencies...
+ args 2.1.1
+ path 1.8.0
+ pigeon 0.2.2
Downloading pigeon 0.2.2...
Building package executables...
Built pigeon:pigeon.
Activated pigeon 0.2.2.

The Building package executables... is basically doing the dart-to-kernel compilation.
It might do that only for global and not locally installed packages though.
@gaaclarke Could you propose to users to use pub global activate pigeon instead of using dev_dependencies?

One thing that is weird about pigeon is that it is launching this code in an Isolate. That might be bypassing some optimization
that would happen otherwise?
I might be able to remove that Isolate now that I'm using the analyzer.

After looking at the code: Since the original code uses Isolate.spawnUri on custom source code the VM will have to compile the entire app to kernel - our work on lightweight isolates will not affect this (it only makes Isolate.spawn() faster)

how did you install pigeon from path or from pub?

I didn't publish the change yet, so that's me executing from the source directory.  It sounds like maybe when people use it as a dev_dependency and get it from pub it might actually cache the kernel?

Could you propose to users to use pub global activate pigeon instead of using dev_dependencies?

That makes things a bit more awkward when working with other people in the team since you'll have to communicate these steps instead of just getting everything you need when you say flutter pub get.  It sounds like maybe once the change is published the kernel will get cached even if it's a dev _dependency?  It might be that it's just a problem because I'm running from a local path.

I was going to say pub global activate pigeon sounds a lot easier to get started than having to edit the pubspec first but you make a good point. For bigger teams, having the same version of pigeon locked could produce more consistent output between re-generates.

Adding @jonasfj - there's a question about about whether pub run foo will use the same caching (compile the app once) that pub global run foo does.
I'm assuming that is does cache the compile.

I'm assuming that is does cache the compile.

dart run foo and dart pub global run foo will not do any caching if any dependency of foo is mutable, that is if the foo command you're running:

Is from the root package (ie. if your local package is foo and you run dart run foo there is no caching),
Is from a path-dependency (ie. if your local package is bar and you have a path-dependency on foo),
Has a transitive dependency for which a dependency_override exists that uses a path-dependency, or,
Is activated from a path-dependency (in case dart global run).

To test it without publishing to pub.dev or a custom pub-repository, you probably have to do dart pub global activate --source git <git-url> (at present dart pub global activate does not support git refs, but you can try forking the repo and creating a master branch). I think activated packages from git should be cached.

It sounds like maybe once the change is published the kernel will get cached even if it's a dev _dependency? It might be that it's just a problem because I'm running from a local path.

Yes, if you have a path-dependency there is no caching. But dev_dependencies should be cached, as long as it's not a path-dependency.
This complicates performance testing before publishing. But you can compile to kernel using dart compile kernel and test it, that should be reasonably close to the performance you'll get.
Note. any dependency_overrides that creates path-dependencies are also likely to prevent caching, because we check that entire transitive dependency graph under the foo command is immutable, before we do any caching.
Alternatively, you can try to make a git-dependency for local testing with caching, but then you'll have to push the change to a github branch. And remember to use dart pub upgrade when you want to fetch the latest from said branch.


Develop a detailed plan for fast rendering of documents

User story
As a staff developer, I want to be able to render MDN documents quickly so we can re-render large chunks (if not all) of the documents on a regular schedule or on demand. For example, it's common to occasionally re-render all of documents that use the compat macro, or, less frequently, all of the documents. I'd like to do some research and testing in order to formulate a plan for accomplishing this.
Acceptance criteria
A detailed plan, documented within this issue, for doing fast document rendering has been reviewed and shared.

low priority but still necessary to improve perf.

closin' it!


etl does not support creating bidirectional light weight edges - request for enhancement

Refer to this topic for more information :
https://groups.google.com/forum/#!topic/orient-database/FOxNd-TTCvw

This is not necessary. I'm going to answer on that Topic.

I saw the reply :
"Use the "edge" transformer in ETL, not LINK."
but using edge doesn't create a lightweight edge , I need to create bidirectional lightweight relations .
EDGE transformer --
joinFieldName OK
direction - I don't need this :)
class Edge's class name string false 'E'  - I do not want to do this :(
lookup - OK
unresolvedLinkAction OK
Please help
thanks

Please read the problem statement again . Thanks a lot .

Have you read the docs about http://orientdb.com/docs/last/Loader.html#orientdb ? Set "useLightweightEdges": true in configuration.

Can the link transformer in orientDB ETL be enhanced to take INVERSE as an option key:value pair in the json .
Ref : http://orientdb.com/docs/last/SQL-Create-Link.html
INVERSE, tells to create the connection on the opposite direction. This is common when you've imported 1-N relationships from a RDBMS where they are mapped at the opposite direction .
If this enhancement can be done , it solves our purpose .
Regards
Anmol


Issue templates

Change Summary
Overview
Adding a template for issues and this is a test. Is this the correct forking method?
New Files

A markdown

The purpose is to have a general template for issues

It looks like this PR may have been branched off from main instead of dev?  We may need to switch some things around.  We can work through it during our meeting today.

Closing this PR in favor of #18


[YouTube] subtitle format inconsistent

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.06.06
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

~  youtube-dl -v --skip-download --write-auto-sub https://www.youtube.com/watch\?v\=-bt_y4Loofg
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['-v', '--skip-download', '--write-auto-sub', 'https://www.youtube.com/watch?v=-bt_y4Loofg']
[debug] Encodings: locale UTF-8, fs utf-8, out utf-8, pref UTF-8
[debug] youtube-dl version 2021.06.06
[debug] Python version 3.8.10 (CPython) - Linux-5.8.0-59-generic-x86_64-with-glibc2.29
[debug] exe versions: ffmpeg 4.2.4, ffprobe 4.2.4, rtmpdump 2.4
[debug] Proxy map: {}
[youtube] -bt_y4Loofg: Downloading webpage
[debug] Default format spec: bestvideo+bestaudio/best
[info] Writing video subtitles to: MongoDB in 100 Seconds--bt_y4Loofg.en.vtt

Description

The Video
https://www.youtube.com/watch?v=-bt_y4Loofg
The Problem
Each time i try to download the subtitles for this video, i get one of two differently formatted files. I added examples for the results in the attached file.
not sure if related to the issue, the video only has Russian auto-generated subtitles, but the content looks mostly in English (and unrelated to the video)
subtitles.zip

This seems to be a problem of YouTube, not youtube-dl.
I opened your video URL in Firefox and from the video Settings, selected Russian (auto-generated) and then Auto-translate English. Subtitles shown is the same as your '2-MongoDB in 100 Seconds--bt_y4Loofg.en.vtt' and --write-auto-sub.

ok, thanks


Ignore cache directories in root of build directory when deploying

Fixes https://github.com/netlify/buildbot/issues/1131
Previously, we were moving directories like node_modules to the cache after the build was finished but before deploying, so they weren't present at deploy time.
With build plugin steps that run after the site is live, we need to keep these directories around longer. This ignores them from the build directory root during deploy to maintain existing behavior.

Testing in a production build and looking good.

Testing in a production build and looking good.


Theme requires a non existent version.

The theme is reporting it needs webmin version 1.883:

I have version 1.881, and webmins git has a tag for version 1.880 (And there's no other branches).
What's going on?

It states exactly what it is in the message.
You can either force install the theme anyway (should work in most cases) or upgrade Webmin using console script.

You can see the current version of Webmin at README.

Is this version of the theme the "stable" or development release? The stable release should really always be relying on a stable release of Webmin (the one available on Webmin.com) if you're going to encourage people to update to it. The development release can obviously depend on development version of Webmin.

You can see the current version of Webmin at README.

Which funny enough, still isn't version 1.883, and matches the 1.880 tag:

And while yes it does say how I can force it, It does concern me that the theme author says it's meant for a version that doesn't seem to exist. And that somehow the ubuntu repo has a version higher than what the master is.

You can either force install the theme anyway (should work in most cases) or upgrade Webmin using console script.

As I explained, I somehow have a version that's ahead of the git. That shouldn't be happening as far as I know.
I don't understand what's happening with the mismatched versions between the git, the ubuntu repo, and the theme.

@swelljoe
The force update option on the Webmin UI for the theme allows me to choose the stable branch of the theme, which I've done. I'm not aware of any development version of Webmin.

@swelljoe Okay, I will try to make sure that theme release version will work with current Webmin release version. However, it's not always possible, apparently. When Jamie does changes to the repo, sometimes on request, I catch up on the theme, by adding features that are dependent on yet unreleased version of Webmin. It takes for me about a month to make a release and for Webmin it's about three months usually.
@jcameron Is planning to make a release but hasn't done it yet, I think. Theme development goes ahead and whenever new Webmin version is ready to go, it fetches the latest theme version to be the part of the new stable package.
The message clearly states, that it's depended on the version that is possibly unreleased (git version - unreleased as stable package). Jamie changes the minor version number that stays within the branch. For example, release version 1.880 has the branch with the same name; most of the time other development versions would include 1.88x, where x is the number from 0-9. When I create the version of the theme that is dependent on yet unreleased version of Webmin, I rely on what Webmin's repo provides on README file, at that particular time.
I understand that right now it's confusing, as it's 1.890, and it looks like something went wrong or happened to be unfinished.

Whoops, I misread the readme version.
Hmm. I wonder how this all ties in with Ubuntu's repo. Does it get updated at regular times rather than versions?

As far as I know Webmin is not in any repo provided by Ubuntu, and so it has nothing to do with the discussion.

It's just a poor user experience to be told to update and then receive an error (and there have been tons of tickets about this kind of mismatch). If a feature needs a new Webmin version, leave it in the development version of the theme until the new Webmin comes out. No error message text can make it a nice experience to receive an error when trying to update...users really need to feel safe and confident that updates will always work without trouble (even if nothing else is perfect, the install/update process absolutely needs to be).
Development version can require anything it wants, as it targets more technical users.

No, it's not in the main repo, but it's available to be added and managed by apt via
deb http://download.webmin.com/download/repository sarge contrib
And by adding the signing key:
wget http://www.webmin.com/jcameron-key.asc
sudo apt-key add jcameron-key.asc
To me this is webmin's ubuntu repo, is signed by the creator, and is a valid release.
A release that is seemingly out of date.
It's only adding to my confusion, do I stop using this and just use git? But then what's the point of the repo?
I'll admit, it's not the issue I came here for, but it is related to the problem of versions, which is why I mentioned it.

I'll close the issue as I can see the git has a higher version.
Thank you for pointing where I can find the correct? version number.

Most folks should use the apt repo (whether it's the Webmin.com one or the Virtualmin.com one, if using Virtualmin). The git version is  only appropriate for developer environments (I don't run it on any system except my development laptop...all of our servers are running the current release from the Virtualmin or Webmin repos). This is just Authentic suggesting a Webmin version that it shouldn't.

@swelljoe Okay, I will always keep new, dependent features with development branch. I will also rethink the notification message to be less error-like, as it's not an error.


feat: implement Debug for DatabaseComponentError if supported

When you #[derive(Debug)] for a type Foo<T> with generic type parameters, then the proc macro will implicitly add impl<T: Debug> Debug for Foo<T> for you. This means that the manual implementation of Debug is the same as the derived one. Proof:
use std::fmt::Debug;

#[derive(Debug)]
enum Foo<T, U> {
    State(T),
    BlockHash(U),
}

enum Bar<T, U> {
    State(T),
    BlockHash(U),
}

impl<T: Debug, U: Debug> Debug for Bar<T, U> {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        match self {
            Self::State(arg0) => f.debug_tuple("State").field(arg0).finish(),
            Self::BlockHash(arg0) => f.debug_tuple("BlockHash").field(arg0).finish(),
        }
    }
}

fn main() {
    let foo_state: Foo<&str, &str> = Foo::State("Hello");
    let foo_blockhash: Foo<&str, &str> = Foo::BlockHash("World");
    let bar_state: Bar<&str, &str> = Bar::State("Hello");
    let bar_blockhash: Bar<&str, &str> = Bar::BlockHash("World");

    println!("{foo_state:?}");
    println!("{foo_blockhash:?}");
    println!("{bar_state:?}");
    println!("{bar_blockhash:?}");
}

Output:
❯ cargo run
   Compiling check_debug v0.1.0 (/home/janis/dev/scratchpad/check_debug)
    Finished dev [unoptimized + debuginfo] target(s) in 0.16s
     Running `target/debug/check_debug`
State("Hello")
BlockHash("World")
State("Hello")
BlockHash("World")

@SuperFluffy does that still allow instances of the type that don't implement Debug for T?

Of course! The #[derive(Debug)] is only relevant for the actual impl <Trait> for Type block, it does not affect the type definition itself. The derive macro literally boils down to what you wrote. Here is the output of cargo expand for my example above:
enum Foo<T, U> {
    State(T),
    BlockHash(U),
}
#[automatically_derived]
impl<T: ::core::fmt::Debug, U: ::core::fmt::Debug> ::core::fmt::Debug for Foo<T, U> {
    fn fmt(&self, f: &mut ::core::fmt::Formatter) -> ::core::fmt::Result {
        match self {
            Foo::State(__self_0) => {
                ::core::fmt::Formatter::debug_tuple_field1_finish(f, "State", &__self_0)
            }
            Foo::BlockHash(__self_0) => {
                ::core::fmt::Formatter::debug_tuple_field1_finish(f, "BlockHash", &__self_0)
            }
        }
    }
}

You are probably thinking of something like struct Foo<T: Debug>, which would indeed restrict Foo to only contain T: Debug. I wrote some code like that a few years ago and it was awful. :D

Good to know, thanks!

Applied all suggestions

@SuperFluffy nice!


Group member provider

Hi,
I've been using out this cookbook and it works just great. I did miss a feature to add users to a group in a simpler way, hence this pull request.
It would already be possible to add/remove a user to/from a group with the current group provider.
However, using the parameters available to dsmod group, one would have to specify the distinguished name of the user in full.
This would mean that to specify the creation of a user, one would set a user name a domain name and a organisational unit in the form of "ou1/ou2/ou3". But then to make the user a member of a group one would have to specify the distinguished name of the user in the form of "CN=username,OU=ou3,OU=ou2,OU=ou1,DC=domain".
The provider group_member attempts to improve on this, by introducing logic that computes the distinguished name of the user and the group based on attributes similar to the ones used in the group and user providers.
The provider has been tested using vagrant, but I did not include the testing files because I saw that Vagrantfile was listed in .gitignore. I will be more than happy to include the test config I have if that would be desired.

Looks good, looks like you forgot to update the author block on the resource.

@lolindirfalasion Thanks. It is now up to date.


Polyline on Terrain in IE causes renderer to crash

Sandcastle example
The sandcastle from the Polyline on Terrain blog post here: https://cesium.com/blog/2018/07/23/polylines-on-terrain/
Browser: IE11
Operating System: Windows
It appears that it does not work on IE causing the renderer to crash.
An error occurred while rendering. Rendering has stopped.
TypeError: Unable to get property '_target' of undefined or null reference
TypeError: Unable to get property '_target' of undefined or null reference
   at UniformSampler.prototype.set (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:94053:9)
   at ShaderProgram.prototype._setUniforms (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:95370:13)
   at continueDraw (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:171970:9)
   at Context.prototype.draw (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:172007:9)
   at DrawCommand.prototype.execute (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:91119:9)
   at executeCommand (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:239186:13)
   at executeCommands (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:239427:17)
   at executeCommandsInViewport (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:239963:9)
   at updateAndExecuteCommands (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:239756:13)
   at render (https://cesiumjs.org/Cesium/Build/CesiumUnminified/Cesium.js:240396:9)

If there is anything to quick fix it, to at least get it running on IE that be great help to me 👍 . I'm looking into this for some of our code now and can update if I figure out anything in particular that causes it so IE at least doesn't crash the renderer.
Thanks!

#7103
I believe it is related to this issue or the same issue?

Apologies, I cannot seem to consistently reproduce it on a sandcastle now.

Ah I believe it is just with the primitives API is the issue.

I see, I believe the issue is that due to limitations of WebGL on IE the polylines on terrain can't be supported?

@carsnwd, yes, IE does not support polylines on terrain.  You can check Cesium.GroundPolylinePrimitive.isSupported to determine if polylines on terrain are supported for the browser in which your app is running.
In the future, please ask questions like this on the forum:https://groups.google.com/forum/?hl=en#!forum/cesium-dev
We use GitHub exclusively for tracking bugs and planning new features.  Thanks!


Support nested tuple access

See this issue: https://github.com/lpil/glance/issues/21
If I understand correctly, any two numbers with a dot in between are seen as floats:
pub fn main() { wobble.12.3 }

is tokenized as
[Dot(Position(22)), #(Float("12.3"), Position(23))]

I would expect:
[Dot(Position(22)), #(Int("12"), Position(23), Dot(Position(25)),  #(Int("3"), Position(26))]

Float parsing should be excluded for accessors (i.e. a dot after a non-numeric value will never be followed by a float).

Thanks for the opening the issue!
This definitely isn't ideal, apologies if it is blocking you at all. I've got a pretty busy week ahead but I'll see if I can carve out some time to resolve this!

That's a fast response! I would love to help out if possible and convenient: some pointers and a desired approach would be appreciated (unfamiliar with this library).

It's been a while since I've worked on this so I can't quite recall what the best way to approach this would be.
I have a branch version-2 that fixes an issue with integer parsing that I never got around to finishing that might be useful for helping resolve this issue.

I'm not sure how to approach this best.
One option I see is to expand the dot lexer and/or create a number lexing mode for accessors (i.e. add separate dots and integers, never floats).

It looks like I need to slightly overhaul this library anyways so I'm happy to tackle this

I've just slightly rewritten the project as gleam/iterator is deprecated and the public API made use of this, I added your sample code as a test case and it appears to pass!
It's 1AM my time so I'll work on adding more tests when I'm available and will hopefully get this published sometime this week. Unfortunately this will be a major version bump so Glance will need updating.

Thanks a bunch! The new API looks good to me.
Closing this issue.


Use Edtr.io by default

This PR includes edtr.io by default for entities, taxonomy, user and new pages.
Also closes https://github.com/serlo/athene2/issues/882

What's the state of this PR @Knorrke? CI is failing

Merged & deployed the fix for the semantic solution plugin last night. So this PR should be done after we updated the fixtures to the new plugin states.

The e2e-tests are passing again (please check it on your computer since i sometimes had problems in the headless mode (in non-headless mode everything worked); I guess due to not waiting enough for DOM changes to take place). From my point of view the most important change requests are implemented and this PR can be merged (Follow ups can be collected in a new issue).

Follow ups: #293 #294 #295


Add optional url site option

Starting April 14, 2020, Netlify changed the default site deployments from your-site-name-netlify.com to your-site-name-netlify.app. In order to support those changes, we need alter the default generation of site urls. Furthermore, it would be nice to be able to set your own site urls (in case of custom domains).
I took some time in order to refactor SiteItem component to use hooks and to add some tests ! ;)

Anything we can do to help get this merged in?

@kmelve 👀

Thank you so much for contributing this! I've pulled your changes in and applied some formatting changes, and published a new version, v1.1.0 which includes your changes - thanks again!

🙏


need help with Anonymous class

Does this work for Anonymous class?

Does it produce the same output? 🤔

But should work.

yes it give the same output

Now let’s say you call decompose more than needed
Get Outlook for iOShttps://aka.ms/o0ukef

From: Tan Jian Feng @.>
Sent: Wednesday, May 1, 2024 6:56:30 PM
To: nus-cs2030/2324-s2 @.>
Cc: Zhang Hao Dong @.>; Comment @.>
Subject: Re: [nus-cs2030/2324-s2] need help with Anonymous class (Issue #826)
yes it give the same output
image.png (view on web)https://github.com/nus-cs2030/2324-s2/assets/68832631/76ab6f59-2aad-4324-a341-6368a1538d2d
—
Reply to this email directly, view it on GitHubhttps://github.com/nus-cs2030/2324-s2/issues/826#issuecomment-2088287870, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBRJ5GSKZH5272HBBQVUDBLZADC55AVCNFSM6AAAAABHBYWYD6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAOBYGI4DOOBXGA.
You are receiving this because you commented.Message ID: @.***>

finals is over you can close this issue


QPDF produces wrong PDF

Hello, I've got a special PDF file that QPDF 8.4.1 can not process. The produced PDF is empty. The PDF can be opened with the Adbe reader or with the PDF24 Reader or with Ghostscript, but  QPDF fails here. The PDF is attached.
qpdf_error.pdf
I use the following simple command:
qpdf.exe qpdf_error.pdf xxxxx.pdf
QPDF output is the following:
WARNING: qpdf_error.pdf (object 8 0, offset 121): stream keyword not followed by proper line terminator
WARNING: qpdf_error.pdf (object 8 0, offset 1759): expected endstream
WARNING: qpdf_error.pdf (object 8 0, offset 121): attempting to recover stream length
WARNING: qpdf_error.pdf (object 8 0, offset 121): recovered stream length: 1642
qpdf: operation succeeded with warnings; resulting file may have some problems

Can QPDF be optimized so that the output is not an empty PDF file?

Thanks for sharing your file. I will study it and see if I can make qpdf able to recover it. I'm planning some qpdf time in mid to late June, so it will like be then before I can look at it. The file has errors, but I see other readers can handle it, and I always want qpdf to be able to recover from as many kinds of errors as possible.

This is definitely a broken file, but I think I can make qpdf able to handle this particular type of damage.


Filters only run for visible columns (Again)

This is a loss of functionality that is present in the previous version. I don't know why you closed this as a non-bug.
In the previous version, it's possible to use a filter like "a:this b:that" and it will filter regardless of columns being visible.  This is very useful functionality, as the alternative is to filter the entire data array elsewhere and replace the grid's data every time a change in filtering is needed.  That is inefficient and has other side-effects.
The filter for the non-visible column is being provided by setting, for example:

$scope.gridApi.grid.columns[1].filters[0].term

It would obviously be nice if there were a better way to set that, but that's a different issue.

It's not a bug, it's an enhancement request.  It seems to me that someone consciously chose to make the filtering per-column and only for visible columns, so I probably closed it on the basis that it wasn't the intended direction.
I can leave this open as a future enhancement, but like any code base enhancements it will depend on someone wanting to contribute a pull request that includes it.

Looking at some other things in filtering, I was in the http://ui-grid.info/docs/#/tutorial/103_filtering tutorial today.
The third column here has a filter term set in code.  If I make this column hidden, the filter appears to still be being applied.  For what reason do you think that filters aren't applied to non-visible columns?

Maybe something about the noTerm implementation addressed that?  The hidden column I noticed this problem with is one that had a term, but was initially hidden (with no mechanism provided to ever display it).
If "add noTerm" is a work-around, that's cool.  But it's not obvious that one would need to "hide" the term for a column that's not displayed at all to get that column filter to work.  Perhaps this just got fixed at some point without me re-checking it against new code.  (Since it didn't work, I'd adjusted the application a bit to avoid the issue.)

setting (or not setting) the noterm option doesn't seem to make a difference. however, if I simply do this
$scope.gridApi.grid.columns[1].filters[0].term
$scope.gridApi.grid.queueGridRefresh();

it works fine.

Looks like this is resolved, and the ability to create a single filter box for the grid is now provided: http://ui-grid.info/docs/#/tutorial/321_singleFilter.  Closing.


[Feature request] Rendering markdown in the cards

Great plugin, thank you for making it!
Do you plan to work to extend the plugin that the wiki-links [[ ]] may be rendered as links, and they will be clickable?
Also, the same with  Markdown [Description](Link), would be great to have a possibility to click on it.

Indeed a very much anticipated feature for Logseq, with an impressively simple interface. With linked titles being on card titles, this allowed for a very quick two-dimensional skimming of Kanbans with browsing the links' hover cards.

Thanks all for your suggestion! Unfortunately. this implementation uses the MacroRenderer method in the plugin, which does not actually manipulate Logseq's blocks, i.e. it does not actually create blocks in the Kanban board, hence it's not possible to implement things like linking, etc.
Perhaps @cannibalox's Kanban implementation maybe more suitable for your use case as it uses CSS to re-render the blocks in columns (https://github.com/cannibalox/logtools).
Apologies!


Is there a configuration to exclude folders from formatting/linting?

This might be staring me in the face, but when I run swift-format . -i --recursive that includes all the .build folders that are created in my process (including checkouts and whatever else).
So, what should be an instantaneous format turns into a minute or so.
I was hoping there was a config key or command line argument that would allow exclusions to certain folders.

I have a local branch that I need to finish up that would make --recursive ignore any dot-files/directories that it encounters during file system traversal. (You would still be able to format dot-files/directories if you passed them directly on the command line.)
I imagine that would cover the majority of users' needs without having to introduce explicit exclusions. Someone running swift-format should get the right behavior by default without having to think about the .build directory in their project's directory.

That would be awesome! That would cover the majority of use cases, for me anyways.
Another case I can think of would be excluding unrelated files if that might provide a small perf boost. e.g. A large folder of generated web docs, or maybe a monorepo situation.
However that could possibly also be solved by giving each project of interest in the monorepo a swift-format instance on a core/thread - since SPM projects are generally well defined.
And I suppose if you can change the generated docs folder, hiding that under a .docs could work too.
In any case, just having dotfiles/dotfolders excluded is a huge perf boost for me.

Hi team,
is there any update in excluding whole custom-defined directories like it is possible with the swiftformat (yes, confusing name collision)?


TypeAliases causes Collisions with AccessMethods

Description

Since the AccessMethods depend on the SideEffect signature, they can be grouped wrongly if TypeAliases are in the mix.
This can cause an additional AccessMethod which collides with a correctly added Method.
Possible Fixes are:
Either use only the abbreviate type or it only when creating the keys for the AccessMethods.

Done with the Release of 0.2.0


Added empty annotation to AnnotationSeq

Oftentimes, you don't wanna specify any annotation, but you need to use the code, which requires AnnotationSeq on input.
An example is a Verilog emitter with the following call:
class Emiter() {

  private lazy val stage = new chisel3.stage.ChiselStage

  def emit(path: String, ann: AnnotationSeq, form: Form): Object = form match {
    case Verilog => stage.execute((Array("-td", path, "-X", "verilog")), ann)
    case High    => stage.execute((Array("-td", path, "-X", "high")), ann)
    case Low     => stage.execute((Array("-td", path, "-X", "low")), ann)
    case _       => new Exception("Unsuppored output format")
  }
}

To call this, one needs to do the following:
object Emit extends App {
  val emiter = new Emiter {}
  emiter.emit("out", AnnotationSeq(Seq.empty[Annotation]), Verilog)
}

Which can be considerably simplified with the following call: emiter.emit("out", AnnotationSeq.empty, Verilog)
So this PR Adds AnnotationSeq.empty

One possible alternative: does Seq.empty or Nil already fill this role adequately?
For the situation in the example code, either of the following are options:
emiter.emit("out", Seq.empty, Verilog)
emiter.emit("out", Nil, Verilog)

Seq.empty won't compile, since it requires a type to construct an empty sequence, thus Seq.empty[T] should work
Nil is smth used in lists and may be confusing to use in annotations.
AnnotationSeq is a type and an object. I see a perfect case for an "empty" object, which is similar to an identity function, commonly used in FP.
Maybe other opinions should be here. Anyways, AnnotationSeq.empty would compile, but fail at runtime. Thus, a common use case is  refactoring and testing

Doesn't the type get inferred for Seq.empty in that case?
Something like: https://scastie.scala-lang.org/6xDde5GZTRWwLDWfQB0uNg

Oh yeah, Seq.empty indeed gets inferred. Should I close this ?

Thanks! Seems to be solved by current approaches ! THanks @seldridge

Sounds good @tampler. I'm glad you have a solution that works. And... I'm not necessarily against this, just seeing if the current approaches are sufficient.


fix: add missing nodiscard attributes

Signed-off-by: DNKpp<EMAIL_ADDRESS>

Codecov Report

Merging #15 (978ef3c) into development (afe4f41) will not change coverage.
The diff coverage is n/a.

@@              Coverage Diff              @@
##           development       #15   +/-   ##
=============================================
  Coverage       100.00%   100.00%
=============================================
  Files               10        10
  Lines              939       939
=============================================
  Hits               939       939

Impacted Files
Coverage Δ

include/Simple-Utility/functional.hpp
100.00% <ø> (ø)

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 afe4f41...978ef3c. Read the comment docs.


Compatibility with symfony/yaml 5

I am currently not able to install the package because it depends on pragmarx/yaml which in turn depends on symfony/yaml 4.
Is there any way to make this (or the dependend project) compatible with symfony/yaml 5?

Should be fixed now.


Investigate performance impact and overhead of enabling Wireguard

Is your feature request related to a problem? Please describe.
WireGuard is not enabled in ck8s by default, but why not? It is very simple to enable and offers an extra layer of security by encrypting node-to-node communication. I believe it does not have any notable performance impact but I have not compared this.
Describe the solution you'd like
Add calico_wireguard_enabled: true to config/common/group_vars/k8s_cluster/ck8s-k8s-cluster.yaml
migration step:
./bin/ck8s-kubespray run-playbook wc|sc upgrade-cluster.yml -b --tags=network,calico
Definition of done:
WireGuard is enabled by default

Maybe @cristiklein has some thoughts on this, I couldn't find your investigation document.

Hi @davidumea. Thanks for bringing this up.
I would recommend against enabling WireGuard by default. Why?

The security benefits are unclear. We do regular provider audits on the providers we work with, so we know the network can be trusted. If we cannot trust the providers, they can easily circumvent WireGuard encryption by dumping the VM memory.
It adds complexity and overhead.
It creates a sort of "blindness", where the network is opaque for the data-center.

The NIST Application Container Security Guide, Section 3.3.3 seems to recommend against network encryption by default:

Although an encrypted overlay network provides many operational and security benefits, it can also create a security
‘blindness’ scenario in which organizations are unable to effectively monitor traffic within their
own networks.

Makes sense?
@lucianvlad Whether we decide for or against network encryption by default, feels like this is ADR worthy. :smile: Can you draft one?

On the contrary, I think we ought to do it, as per the NSA's Kubernetes Hardening Guide, Page 20. I value their judgement of security higher than that of NIST. And we actually also say that NSA's guide has influenced our architectural choices right on the overview picture (the one with the ISO controls and such).

@llarsson Thanks for pointing that out!
I get the feeling that NSA's Kubernetes Hardening Guide, Page 20 insists on control plane traffic encryption, which is on by default (can one disable it at all nowadays? :smile:).
From what I understood, the NSA guide is rather vague on whether data plane traffic encryption is a must have:
While service meshes are not necessary, they are an option that is highly suitable to the
Kubernetes environment. [...]

Another major benefit of modern service meshes is encryption of service-to-service
communications. [...] Some service meshes even perform this service-to-service encryption by default.

I see no wording suggesting that this is a MUST HAVE.
Let's bring it up at the next arch meeting.

Administrators should configure all traffic in the Kubernetes cluster—including between
components, nodes, and the control plane—to use TLS 1.2 or 1.3 encryption.
Encryption can be set up during installation or afterward using TLS bootstrapping,
detailed in the Kubernetes documentation, to create and distribute certificates to nodes.
For all methods, certificates must be distributed among nodes to communicate securely.

I don't read words such as "all traffic" and "between nodes" as being limited to the control plane.

If anything, "between components" ought to mean that even Pods on the same machine should have encrypted traffic. So it would go beyond WireGuard.

We just bumped into this with a project. Seems like WireGuard needs a smaller MTU to make room for the extra headers. This definitely has some performance implications:

Source: https://docs.tigera.io/calico/latest/networking/configuring/mtu


Custom SNI value (peer hostname) being overwritten by Platform.configureTlsExtensions

We have, I think, a unique requirement that the SNI value sent in the client hello be a custom value not matching the hostname on the request. We find the address through internal means and connect directly with the server and the server needs the SNI value to connect the client to the appropriate service. So the hostname we are using for the request in this case is an invalid SNI value on our server.
So far I have a custom SSLSocketFactory implementation that internally uses SSLCertificateSocketFactory to create the sockets and set the SNI to the value we need. Once the SSLSocket is created, however, Connection hands it off to Platform.configureTlsExtensions which overrides the SNI value that I set:
// Enable SNI and session tickets.
if (hostname != null) {
  setUseSessionTickets.invokeOptionalWithoutCheckedException(sslSocket, true);
  // this overrides the SNI value I set on the SSLSocket
  setHostname.invokeOptionalWithoutCheckedException(sslSocket, hostname);
}

I'd like to find out before I start hacking my way to a solution whether there is some configuration or built-in strategy I can employ to get OkHttp to do what I want here. Thanks!

The closest we can come is using your SNI value in the URL’s hostname, and then customizing Dns to resolve that to the actual hostname.
You probably want to fix your design. Whatever your reasons are for cheating SNI, you should probably stop. It is going to be a continued source of pain, and it isn’t HTTP.

@swankjesse Thanks for the quick reply. We're definitely aware of the challenges but the design is intentional and born from very unique requirements. It works great in all our cases except for developing Android and iOS clients to work with it! :(  Thanks for the Dns tip. I wasn't aware it could be configured inside OkHttp.
Cheers!


"Welcome admin" cannot be translated

"Welcome admin" cannot be translated.

Fixed: https://github.com/dignajar/bludit/commit/3165ee94a1efe2b1f938dc625344bc01e7ed3490


Scaling issue with virtual desktops on 4K screens.

Current state:
When using the Linux virtual desktops from a Windows laptop, independently of the Linux OS, virtual session are only rendered properly when connecting directly from a web browser. When using the DCV client, the auto scaling won't work on a 4K screen, leading to a very small font size. Thanks for looking into it!

Hi Fabrice, I checked the DCV Forum (https://forums.aws.amazon.com/forum.jspa?forumID=366) and was not able to find matching thread. The DCV support team should be best suited to determine what the issue may be, they can be reached via<EMAIL_ADDRESS>.

Closing ticket. Let us know if contacting NICE Helpdesk solved your issue.


[AUTOPATCHER] Patches CVE-2021-44574 for libsolv

        Patches CVE-2021-44574 for libsolv.
        This patch and PR was automatically generated and needs human verification before merging.

Fixed by:

#1724


No need to create a variable for length in linear_search.py

(Put an X inside the [ ] to denote check mark [X].)

[ ] If creating a new file :

[ ] added links to it in the README files ?
[ ] included tests with it ?
[ ] added description (overview of algorithm, time and space compleixty, and possible edge case) in docstrings ?

[x] if done some changes :

[x] wrote short description in the PR explaining what the changes do ?
In linear_search.py, a new variable is created for the length of the array, but only used once. So I figured, why not just get rid of the variable instead?

[ ] Fixes #[issue number] if related to any issue

[ ] other

Pull Request Test Coverage Report for Build 733

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.03%) to 71.504%

Files with Coverage Reduction
New Missed Lines
%

algorithms/linkedlist/is_palindrome.py
1
93.33%

Totals

Change from base Build 729:
0.03%

Covered Lines:
4306

Relevant Lines:
6022

💛  - Coveralls

@arnavb thank you PR. Merge


Fix spacing issue

https://github.com/gotmax23/ansible-role-pass/blob/580213dc70b022c302cd8635386ac05b6a771cd2/molecule/playbooks/verify.yml#L29

Closed in 1bdd280


Smartmi Evaporative Air Humidifier - Downgrade

Hey guys!
I have problem with my smartmi humidifier.
It's reporting "insufficient water" after upgrade to 1.6.7 (I think that's the cause, as it was working before). Device is not able to start due to this error.
Model: CJXJSQ02ZM / V1.0-180508-Y
Is there any way to downgrade to older firmware using miio or other software/method?
Cheers

I see this is closed. Did you find solution?

@isabellaalstrom To be honest it got fixed itself... unsure why.


Implement general Erlang term printer

In order to provide output functions which pretty print values of type Term, we need a pretty printer. Internally in Rust, we have Debug (and sometimes Display) implementations for the various term types, but we should probably have a trait especially for Erlang term printing, something like PrettyPrint or DisplayErlang, etc. In addition to the trait, we'll need a Formatter implementation that provides helpers to make writing implementations of PrettyPrint (or whatever) relatively simple and straight forward.

Has been implemented


e2e: introduce phase function to split cases

Currently our e2e case has a lot of duplicate code snippets, which will be harder to maintain as time goes on.
A Phase function is a simple func() type function. Phase functions can be shared between different e2e cases.
For a typical case, we may have a "data preparation" phase, and a "validation" phase to verify that our controller is working properly.
However, during the data preparation phase, we may need to support several different CRDs, such as ApisixRoute and Ingress.
We simply copy and paste the entire case now. If we had the concept of phase, we could split the data preparation into a shared data preparation function and a specific CRD preparation function. In this way, we can share other code snippets without any copy and paste.
This can reduce a lot of duplicate code and also greatly improve code readability.

SGTM

+1

If we had the concept of phase, we could split the data preparation into a shared data preparation function and a specific CRD preparation function.

From my point of view, CRD preparation function can generate all kinds of Resource's yaml. But, what's shared data preparation function? Can you show me the specific test case?

The general idea is that our e2e cases are a combination of many small cases. We can achieve complex cases by combining small cases.
Here are some possible code snippets that describe how I think this proposal would work
Let's assume that we have a type called Tester that will contain the automation features we need.

Code snippet of basic functionality

// Assuming we are testing the ApisixRoute match rule
tester := CreateRouteTester(&RouteTesterOption{header: "X-Foo", headerMatch: "bar", url: "/ip"})
// data preparation
tester.ApplyRoute() // ApisixRoute will be generated automatically base on the route rule and other options will remain default.
// validation
tester.ExpectAccess() // make a request to the route base on our route rule and expect it to succeed.
tester.ExpectAccessFailedWithWrongRule() // make a request to the route but with a wrong options and expect it to failed

Here we can notice that both ExpectAccess and ExpectAccesFailedWithWrongRule should always be called together in our validation.
So we provide another function ExecuteAllValidators() to do this.

Code snippet of update functionality

// data preparation
tester.ApplyWrongRoute() // Create a wrong ApisixRoute that doesn't match our route rule
// validation
tester.ExpectAccessFailed() // make a request to the route with correct route rule, and expect it fail
// data update
tester.ApplyRoute() // Apply the correct ApisixRoute, it's a update behavior here
// validation
tester.ExecuteAllValidators() // It should be OK now

Some other cases may also need to use ApisixRoute. They can reuse the tester now.
For example, we need to verify that namespace selector is working correctly.
ns := "test-namespace"
namespaceTester := CreateNamespaceTester(&NamespaceTesterOption{name: ns})
routeTester := CreateRouteTester(&RouteTesterOption{namespace: ns})
// data preparation
namespaceTester.CreateWithWatchLabel()
routeTester.ApplyRoute()
// validation
routeTester.ExecuteAllValidators()

// data preparation
namespaceTester.CreateWithoutWatchLabel()
routeTester.ApplyRoute()
// validation
routeTester.ExpectAccessFailed()
// update to watch
namespaceTester.AddWatchLabel()
// validate it works
routeTester.ExecuteAllValidators()
// update to unwatch
namespaceTester.RemoveWatchLabel()
// validate it doesn't work
routeTester.ExpectAccessFailed()

We have only tested that the request is working as expected so far. What if we want to make sure the route resource is actually removed in APISIX? Suppose we have a ExpectNoRouteInAPISIX function to do this.
In this case, we notice that the ExpectedAccessFailed function is always called together with ExpectNoRouteInAPISIX.
Here is my solution.
tester := CreateTester() // a generic test runner
tester.RegisterPhase("data-preparation", function() {
  namespaceTester.CreateWithoutWatchLabel()
  routeTester.ApplyRoute()
})
tester.RegisterPhase("watch", namespaceTester.AddWatchLabel)
tester.RegisterPhase("unwatch", namespaceTester.RemoveWatchLabel)

tester.RegisterValidatorForPhases([]string{"data-preparation", "unwatch"}, function() {
  routeTester.ExpectAccessFailed()
  routeTester.ExpectNoRouteInAPISIX()
})
tester.RegisterValidatorForPhases([]string{"watch"}, function() {
  routeTester.ExecuteAllValidators()
})

tester.RunPhases("data-preparation", "watch", "unwatch") //  all done!

The API design is very early and unproven, any suggestions are welcome!


refactor: change top-level process call in proxy.ts

Related to https://github.com/chakra-ui/ark/discussions/2609
Avoid calling process at top level to avoid crash in web environment (where process is not defined)

Isn't this be more of a bundling-related problem for zag-js specifically? Shouldn't the dev-related code be treeshaken before zag-js is bundled and published?

Thanks!
I mean, it might be also great to be consistent in the code base? Here, isDev is a function as well: https://github.com/chakra-ui/zag/blob/992bc3df40d4fc08fc467544b8b5effebe313e6c/packages/utilities/core/src/guard.ts#L1

I think it's fine to add this PR. Thanks for working on this @baptisteArno
@Jonas-C Yes, that's the intent. We don't want to add that env replacement on our end since we lose the warning/error features.


/object/operational/usage Endpoint not supported

Is your feature request related to a problem? Please describe.
We use extended ACLs for RAVPN DAP implementation. The find usage in the GUI is broken in dark mode and pretty lack luster in light mode - it'll show you if an object is in an extended ACL but won't let you pivot/open the ACL to show you where/how its used. So we're going to build our own find usage app tailored to our needs.
Describe the solution you'd like
I'll be working on a contribution that will support this api endpoint. This endpoint also uses the query filters handling referenced in #158
Describe alternatives you've considered
There isn't really an alternative to using this endpoint to grab every location than an object is referenced.

Merged.


Pick a useful library and contribute a Getting Started Tutorial to it

@punchagan would be useful to provide a list of libraries so that a beginner can get started. A beginner may not know what library is useful.

I searched around to try and find some popular libraries that could use a "Getting Started Tutorial", but couldn't find a good list of libraries. It would help if you and others contributed to this list.

Some examples of a Getting Started tutorial:

Cmdliner
Lwt
Jsoo
bonsai


Choose color for different calender queries

Discussed in https://github.com/VolkovLabs/volkovlabs-calendar-panel/discussions/22

Originally posted by fmuell2 May 31, 2021
If you add multiple queries for calender entries in the new 0.4.2 panel version the entries are shown in different colors. Is there any way to set the used color for each query?
E.G. i would like to change the color of emergency change entries to red.

Is this a feature that could be prioritized via some sort of sponsorship?
We've been looking for this for months now - just the simple ability to set the color of a calendar entry based on some sort of field input.
I know it was scheduled for release a few months back, but haven't had any update since.

@mpowelltech Last two months, we have been working on improving documentation for all our maintained plugins to support future developments: https://volkovlabs.io/plugins/. We are overwhelmed with the inflow of questions and have ~50 outstanding issues to deal with.
We are finishing documentation as we speak and will start working on plugins one by one releasing new versions. The calendar is one of our top priorities to improve this week.
You are welcome to sponsor using GitHub sponsorship.

@mpowelltech Colors will be a part of the upcoming release 1.2.0 later today.
Here are examples:

Let me know if there is anything else.


Subviewport Window PopupPanel doesn't allow movement of child nodes via editor

Godot version
4.0 beta 10
System information
win 11
Issue description
sorry if this is a repeat
There is no cross icon that shows where the node is located. When I click on it nothing (the popup, child node) moves.
Steps to reproduce
make one of the nodes listed and add a child with a position
Minimal reproduction project
none

A related proposal: https://github.com/godotengine/godot-proposals/issues/5422


alvr_vrcompositor_wrapper compile error with gcc 10 on linux (includes fix)

Description
error: failed to run custom build command for `alvr_vrcompositor_wrapper v20.6.1 (/opt/alvr/ALVR-20.6.1/alvr/vrcompositor_wrapper)`

Caused by:
  process didn't exit successfully: `/opt/alvr/ALVR-20.6.1/target/release/build/alvr_vrcompositor_wrapper-e2d402ed9c819b12/build-script-build` (exit status: 101)
  --- stderr
  $ bash -c "g++ -shared -fPIC $(pkg-config --cflags libdrm) drm-lease-shim.cpp -o /opt/alvr/ALVR-20.6.1/target/release/build/alvr_vrcompositor_wrapper-0209ba2599334275/out/../../../alvr_drm_lease_shim.so"
  drm-lease-shim.cpp: In function ‘void open_drm_fd()’:
  drm-lease-shim.cpp:70:35: error: ‘std::filesystem’ has not been declared
     70 |     for(auto cardCandidate : std::filesystem::directory_iterator("/dev/dri")) {
        |                                   ^~~~~~~~~~
  thread 'main' panicked at alvr/vrcompositor_wrapper/build.rs:11:41:
  called `Result::unwrap()` on an `Err` value: command exited with non-zero code `bash -c "g++ -shared -fPIC $(pkg-config --cflags libdrm) drm-lease-shim.cpp -o /opt/alvr/ALVR-20.6.1/target/release/build/alvr_vrcompositor_wrapper-0209ba2599334275/out/../../../alvr_drm_lease_shim.so"`: 1
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

General Troubleshooting

[x] I carefully followed the instructions in the README and successfully completed the setup wizard
[ ] I read the ALVR Wikis here and here

Environment
Hardware
irrelevant
CPU:
irrelevant
GPU:
irrelevant
GPU Driver Version:
irrelevant
Audio:
irrelevant
Installation
20.6.1
Install Type:

[ ] Packaged (exe, deb, rpm, etc)
[ ] Portable (zip)
[x] Source

Gentoo/Linux
Build fails with the error above with gcc (Gentoo 10.3.0-r2 p3) 10.3.0
adding  -std=c++17 parameter to the g++ build command in alvr/vrcompositor_wrapper/build.rs fixed the issue for me and compiled fine

updated my system and on current Gentoo with GCC13 this isn't a problem anymore.
So i guess i'll mark this as closed.

I got a same problem on Ubuntu 20.04.6 LTS focal
Could you tell me what was the problem and solution of it?

don't use a older than latests LTS would probably help

I got a same problem on Ubuntu 20.04.6 LTS focal Could you tell me what was the problem and solution of it?

my solution is described in the last sentence of the first post


[WFCORE-636] Minor clean-up of resolving runtime values.

Core - Full Integration Build 753 is now running using a merge of d0d40addd907f0088a26366049ce1546a5d189ba

Windows Build 1152 is now running using a merge of d0d40addd907f0088a26366049ce1546a5d189ba

Linux Build 1496 is now running using a merge of d0d40addd907f0088a26366049ce1546a5d189ba

Windows Build 1152 outcome was SUCCESS using a merge of d0d40addd907f0088a26366049ce1546a5d189ba
Summary: Tests passed: 3079, ignored: 67 Build time: 0:20:56

Linux Build 1496 outcome was SUCCESS using a merge of d0d40addd907f0088a26366049ce1546a5d189ba
Summary: Tests passed: 3079, ignored: 67 Build time: 0:23:51

Core - Full Integration Build 753 outcome was SUCCESS using a merge of d0d40addd907f0088a26366049ce1546a5d189ba
Summary: Tests passed: 2840, ignored: 416, muted: 1 Build time: 0:52:07

Core - Full Integration JDK8 Build 8058 outcome was FAILURE using a merge of d0d40addd907f0088a26366049ce1546a5d189ba
Summary: Exit code 1 (Step: Build & test core (Maven)) Build time: 00:00:49


cleanup chainspec value parsers

atm the chainspec parsers are still in the utils crate
https://github.com/paradigmxyz/reth/blob/9c9b1fdf849992f0fa277e5135be3cbf8feb0139/crates/node/core/src/args/utils.rs#L27-L42
but they are no longer used in this crate. They should be moved to where the chainspec parsers are defined (chainspec crates).
we also need to rename:
https://github.com/paradigmxyz/reth/blob/9c9b1fdf849992f0fa277e5135be3cbf8feb0139/crates/node/core/src/args/utils.rs#L76-L76
to EthereumChainSpecParser

Yeah I can do this

Hey @mattsse it appears these parsing functions already exist in their corresponding crates
crates/ethereum/../chainspec.rs
https://github.com/paradigmxyz/reth/blob/6cb26f72afa478ae72c0988383b62a924ebed521/crates/ethereum/cli/src/chainspec.rs#L10-L12
crates/optimism/../chainspec.rs
https://github.com/paradigmxyz/reth/blob/2aa3dd0fd8b02b067eb39631bc30de47c434f0f0/crates/optimism/cli/src/chainspec.rs#L12-L14
Wondering how these functions inutils.rs are used and if we want this duplication/ can they be removed?

I think these are duplicated and we can remove if possible


Sending widgets to tiler closes #6448

This closes #6448.
cc @javisantana

@gfiorav CR this, please.

@xavijam , added layer_id:

Retest this, please.

@xavijam , last commit should fix the "named map not updated on widget change" issue #6616 (and varnish caching indeed). Please let me know if you have any issue.

Retest this, please.

In the frontend part, only pending this PR -> https://github.com/CartoDB/cartodb.js/pull/1130

@gfiorav CR the backend code of this PR, please.

It looks :+1: to me


Remove shaded Preconditions import

Description
Unsure why this was originally favored but it is seemingly unnecessary and doesn't work with the new version of AutoValue 1.10 in #3635
/usr/src/server/app/controllers/applicant/RedirectController.java:3:1: package autovalue.shaded.com.google$.common.base does not exist
Was added in https://github.com/civiform/civiform/commit/68db4b29dc31de11c764ef469c47f9ebb3472eca#diff-f4a4a51a33b341f6a641a7e55f3ca6b53da6af19bc2083ff114d04113cfc16c4
Release notes:
Fix import by removing shaded checkNotNull usage in AutoValue
Checklist

[x] Added the correct label: < feature | bug | dependencies | infrastructure | ignore-for-release >
[ ] Created tests which fail without the change (if possible)
[ ] Extended the README / documentation, if necessary

Issue(s)
Fixes #<issue_number>; Fixes #<issue_number>; Fixes #<issue_number>...

Codecov Report

Merging #3641 (4c3a0d0) into main (b9d913b) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main    #3641   +/-   ##
=========================================
  Coverage     80.53%   80.53%
  Complexity     2431     2431
=========================================
  Files           295      295
  Lines          9618     9618
  Branches        658      658
=========================================
  Hits           7746     7746
  Misses         1619     1619
  Partials        253      253

Impacted Files
Coverage Δ

.../app/controllers/applicant/RedirectController.java
56.09% <ø> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Have cen feedback  github conversion got to the correct repository

Cen feedback Github conversions to to Freereg
Need to check website problem conversion as well

Only affected the test sites. Corrected


Request to Permanently Unlock Mode 4 and Enable "LOCK" Feature on iOS

Hi Team,
I would like to request the ability to permanently unlock Mode 4 on my Super73 bike so that it remains active every time I start the bike.
I have installed your application on iOS using TestFlight. I noticed that I do not have access to the "LOCK" mode, which allows the settings to be saved permanently. Is this expected behavior?
Could you please add this feature to the iOS version of the app? Unfortunately, I do not have an Android phone. While I have several Android devices, the Superduper app is not available for download in their respective app stores.
Thank you for your assistance!
Best regards,
Denys

Hey! Yes, unfortunately Apple does not allow this function to work the same way it works on Android. This actually happens a lot with Apple.

Thank you for your quick response.
I am frantically searching for a way to achieve what I want with my bike.
Is there a solution using your app to reprogram the bike's firmware and keep mode 4 activated all the time without draining the battery (even on Android)?
Alternatively, do you know if there is another way to reprogram the firmware to keep it as original but with mode 4 always activated? This is my preference since I only ride on dirt trails.
If there is no solution, I will look for a friend with an Android phone. However, the fact that it drains the battery when stationary is a bit concerning for me.

While this app makes it much more convenient to set the mode, just open the app with the bike on, there's currently no permanent solution.
If you do find a way to modify the bike firmware, please let us know!

The Super73 are locked to mode 1 on boot, this most likely due to legal issues. I doubt Super73 will push a firmware update which will save the modes.
In the meanwhile, use SuperDuper as its pretty fast to connect and set to mode 4.

For my part, I use my bike only in nature and I do not wish to carry a mobile phone with me when I use it.
Therefore, I am still looking for a permanent solution that does not require a phone. If you have a solution, even in a few months, please respond to this topic as it would be very helpful. Thank!

For my part, I use my bike only in nature and I do not wish to carry a mobile phone with me when I use it.
Therefore, I am still looking for a permanent solution that does not require a phone. If you have a solution, even in a few months, please respond to this topic as it would be very helpful. Thank!

You can find custom Super73 controllers online, but it requires some technical know-how. Be sure to research and proceed carefully as it makes your bike not super73 (but with Super73 parts).
If a better solution becomes available in the future, I'll let you know.

So yeah, this request is out of scope for SD for now.


fix: passing upload_artifacts to py-test job

#106  👈
main

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

Join @tazarov and the rest of your teammates on  Graphite


fix(cli): guard against possible nil Route

Fixes #707
Signed-off-by: Aslak Knutsen<EMAIL_ADDRESS>

/test openshift


Output path stuck at 1080p60

When I change the render quality (in the file with config.quality = "..._quality") to other than "high_quality", there's no output and an error saying that no file is in the 1080p60 folder, which is normal.

Which file did you change the option in?

I meant the python file, where the code is.

Ah, yes, the extension does not look into options set in the source code, rather, if you want the extension to realize the change, you should use an external manim.cfg file.

well, thank you for the quick fix, as easy as it seems to be


[Feature][PyDevlake] Use CamelCase field name in raw_data_params

Search before asking

[X] I had searched in the issues and found no similar feature requirement.

Use case
Python is using snake_case in raw_data_params. It's not breaking anything, but it goes against the convention of Go plugins. For the sake of consistency, use CamelCase there. And if we ever have to introduce a standardized field in there, we won't be able to write a simple query for it (Currently we have ConnectionId  (Go) vs connection_id (Python) as an example, but we're not querying for it). Edit: Actually in #5541 we do start querying it.
Description
No response
Related issues
Part of #5541
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

[X] I agree to follow this project's Code of Conduct

Done in #5551


Update Export-SPBusinessDataCatalogModel.md

Fix #1592

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

sharepoint/sharepoint-ps/sharepoint-server/Export-SPBusinessDataCatalogModel.md
:white_check_mark:Succeeded
View (sharepoint-ps)

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


feat: next with fix reReRun

:tada: This PR is included in version 3.1.1-beta.1 :tada:
The release is available on:

GitHub release
v3.1.1-beta.1

Your semantic-release bot :package::rocket:

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

GitHub release
v3.2.0

Your semantic-release bot :package::rocket:


Stack

Create a program to implement a stack

Please assign me this issue under Hacktoberfest!

Hello Ankit, can you assign me this issue!


README.md please 😭🎨

Screenshots
Let it be clear that is a straight-up clone from pomofocus.io
and that also got incentive from luiz otavios course
drop the @ at them if possible

Issue completed with commit Update README.md 🎨.
🎉


Issue with README.md

I think its a issue with badges?

I think its a issue with badges?

A similar issue is already open, Please don't open duplicate issues :(

Sorry, didn't see. Please link the initial issue.
On Wed, 2 Mar 2022 at 22:09, Riddhi Suteri @.***> wrote:

I think its a issue with badges?
[image: image]
https://user-images.githubusercontent.com/84712013/156224436-2c411410-acef-4447-a767-8865aea13546.png
A similar issue is already open, Please don't open duplicate issues :(
—
Reply to this email directly, view it on GitHub
https://github.com/ridsuteri/Awesome-Chrome-Extensions/issues/42#issuecomment-1057131640,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUGJUTI2VWKHH474RZYGRJ3U56KVLANCNFSM5PUYP2SA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Sorry, didn't see. Please link the initial issue.
…
On Wed, 2 Mar 2022 at 22:09, Riddhi Suteri @.> wrote: I think its a issue with badges? [image: image] https://user-images.githubusercontent.com/84712013/156224436-2c411410-acef-4447-a767-8865aea13546.png A similar issue is already open, Please don't open duplicate issues :( — Reply to this email directly, view it on GitHub <#42 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AUGJUTI2VWKHH474RZYGRJ3U56KVLANCNFSM5PUYP2SA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you authored the thread.Message ID: @.>

issue #23 fixed by #44


Retry on md5 mismatch in GCS

We ran into this during nightly builds:
The above exception was caused by the following exception:
google.resumable_media.common.DataCorruption: Checksum mismatch while downloading:

  https://storage.googleapis.com/download/storage/v1/b/internal-zenodo-cache.catalyst.coop/o/eia923%2F10.5281-zenodo.7236677%2Feia923-2020.zip?alt=media&userP
roject=catalyst-cooperative-pudl

The X-Goog-Hash header indicated an MD5 checksum of:

  7IwB5H1MDI+hT3YKRrmGQw==

but the actual MD5 checksum of the downloaded contents was:

  w2YhJ2+m55W/tHh5l3/fow==

I downloaded the actual file and it had a different checksum from what's in the error:
MD5 (eia923-2020.zip) = ec8c01e47d4c0c8fa14f760a46b98643

And that matches the md5 listed in the GCP console for internal-zenodo-cache.catalyst.coop/eia923/10.5281-zenodo.7236677/eia923-2020.zip.
So that leads me to believe there's something funny going on with chunked downloading & that this might just be a transient issue with the download (though, shouldn't TCP/IP be making sure that we get the data that we expect to get from Google? I guess things can and do break sometimes.)
So, I added DataCorruption to the list of additional retryable errors. The GCS client automatically does exponential backoff with a total timeout limit, so this shouldn't suddenly cause our nightly builds to take even longer.

The checksums from the Goog look like maybe they're encoded somehow, not in hexadecimal like normal MD5 sums and the one you created (which matches my local copy of the file). Are there ways to output the hash in like, base64?
Hmm, that doesn't look like it.
echo "ec8c01e47d4c0c8fa14f760a46b98643" | base64
ZWM4YzAxZTQ3ZDRjMGM4ZmExNGY3NjBhNDZiOTg2NDMK

Oh, good point with the base64! I ran this and got something that makes sense:
> echo "7IwB5H1MDI+hT3YKRrmGQw==" | base64 --decode | hexdump -C                         (pudl-dev)
00000000  ec 8c 01 e4 7d 4c 0c 8f  a1 4f 76 0a 46 b9 86 43  |....}L...Ov.F..C|
00000010
> echo "w2YhJ2+m55W/tHh5l3/fow==" | base64 --decode | hexdump -C                         (pudl-dev)
00000000  c3 66 21 27 6f a6 e7 95  bf b4 78 79 97 7f df a3  |.f!'o.....xy....|
00000010

So this still looks like "whoops, got bad data once" but at least we see the matching md5 in the error!


Adopter Registration: Preview Data before submission

Description of Feature Request / Enhancement
Location: Admin UI > "?" > Adopter Registration
In the registration dialogue it would be great to be able to get precise information about what will be sent. In addition to the more general descritpion within the "privacy policy and terms of use" it would be valuable to see e.g.
a) a JSON "sceleton" file that shows the data fields
or better yet:
b) the exact statistical data that would be sent at the time of registration
This could be offered as downloadable JSON file in the dialogue.

Making the submission client-side (i.e. load the data from Opencast into the browser and then send a cross-site XHR to the registration server, which could be also a plain form submission) would also allow you to bypass firewall restrictions between Opencast servers and the world.

The major issue with that is a lack of automation, and part of the point of this is to keep the adopter registration data up to date.
See #4321

This got done a while back.


Suggestion: We pre-select one of the OCR mode, and after we took a screenshot, the result is automatically copied.

Here is the workflow:

If we only want to use Mixed OCR, then there is a setting for making it to be default mode,
After we set Mixed OCR as default mode,
If we took a screenshot, the result is also automatically copied to clipboard.

Pros:

It can boost productivity, and do the operation without clicking the menu bar icon to select the mode.

Thanks for the suggestion. However, this operation needs to set a specific shortcut key or it will recognize all the screenshot images in the clipboard. I don't know how to set specific shortcuts yet 😅.


Feature Request:  Export as SVG/PNG

If the graph beautifier had the ability to export directly to svg/png format files,
these could be embedded into our terrform repos readme.md

@Marcus-James-Adams I'm sorry for taking so long to answer you, I did not had time to work on this project lately.
The tool has been designed in the Unix command line philosophy to be integrated in a command pipeline, combining several minimal tools to achieve the expected behavior. This means that, by default, it reads the graph to process from the standard input (stdin) and produces the cleaned version on the standard output (stdout).
In that spirit, in order to keep the tool as minimal as possible, I would rather not add exports that already can be achieved otherwise. To generate a SVG or PNG from the output of the tool you could use the dot command, available when installing Graphviz. For example:

# SVG
terraform graph | terraform-graph-beautifier --output-type=graphviz | dot -Tpng:cairo:cairo > config.png

# PNG
terraform graph | terraform-graph-beautifier --output-type=graphviz | dot -Tsvg:cairo:cairo > config.svg

I'm closing this issue as there has been no feedback on the proposed solution.