some quetions about approx_gaussian_bone_volumes

if the joint is a parent node，the way to generate the bone volume is by generating  a Gaussian distribution centered on the midpoint of the parent and child nodes。I don't understand the way ,because it means that the weight of the point closer to the joint is  smaller,which is unreasonable.Can you please elaborate it for me?
thanks
https://github.com/chungyiweng/humannerf/blob/7389c4049c0d5b14afdbac41a605ddad9d51dd4a/core/utils/body_util.py#L274

For a skeleton, a joint has an impact on the bone that attaches it. If a point is close to a joint, it might be affected by the two bones attaching to the joint, while if it is in the middle of a bone, it is less affected by the neighbor bones. We use a 3D Gaussian function centered on the midpoint of a bone to roughly leverage the intuition.


enable compilation on clang. __try is not supported on clang directly.

Add a build.sh similar to build.bat
meow_example.cpp uses macros use allow for __try only in case of _MSC_VER

Oof :-1:, this disables anything but 128 registers for systems other than windows.

and on clang for windows, there is _SEH_TRY, etc. macro
with a library from the reactos project (that library has a different licence)
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/master/tree/mingw-w64-libraries/pseh/
https://reactos.org/wiki/PSEH

No exceptions wouldn't work, this is a compilation step if I'm not mistaken.
There are compile time directives to detect SIMD instruction support on both windows and non windows.

No exceptions wouldn't work, this is a compilation step if I'm not mistaken.
There are compile time directives to detect SIMD instruction support on both windows and non windows.

Compile time directives to detect SIMD instruction support  should be based on target architecture. However, this mechanism is different from the Windows one, as SEH is a  run time sniff.

However, this mechanism is different from the Windows one, as SEH is a run time sniff.

Ah I didn't know that, I figured it was compile time.
However, my :-1: still stands - this doesn't really help users of clang, it just removes functionality for them unconditionally.

Or you know - use cpuid to detect CPU capabilities (+xgetbv to check OS support) and use correct function. No exceptions required.

I suppose, but that would require either a check on each hash operation or a global initializer, which mean you'll have to change the API.

User code should do that. Not inside hashfunction. Same way how it now does it with __try/__except outside it. You should not force user to use specific function, if they does not want it. Even if they are on machine that supports 512-bit variant one, they might want to call 128-bit variant.

a simple MeowGetBestHashFunction() that returns the best function that can be run based on the capabilities maybe?

Perhaps, yeah. Not sure about the benchmark because performance testing isn't guaranteed. I think ranking the available implementations and returning what is widely considered 'best' is the way to go.

Honestly, I am not sure what the best approach is here.  I definitely am not going to put any detection code into meow_hash.h because I think it is too project/compiler/target/etc. specific for that.  But I would like to have the one in meow_example.cpp be canonical for people to bang on.
Personally I'm not sure I like the idea of relying on CPUID results.  They seem to be pretty haphazard, if memory serves, and only sometimes do they turn out to be accurate in every case.  Just running the code and seeing if it crashes seems like the most robust option, but it is true that exception handling is not something everyone would want to have turned on (for a number of reasons).
So I'm not sure what the right answer is here yet :/
- Casey

Does v0.2 resolve the issues this pull request was meant to address, at least to the extent that the pull request addressed them?
- Casey

I'm going to close this pull request for now.  We can have a discussion later about the best way to do detection, but since it won't be going into the hash function, I'm not considering it a priority anyway - it will always just be in the example code.
- Casey


cusolver error: CUSOLVER_STATUS_EXECUTION_FAILED, when calling cusolverDnSgetrf( handle, m, n, dA, ldda, static_cast<float*>(dataPtr.get()), ipiv, info). This error may appear if the input matrix contains NaN.

I test according to readme.md and report an error.
"cusolver error: CUSOLVER_STATUS_EXECUTION_FAILED, when calling cusolverDnSgetrf( handle, m, n, dA, ldda, static_cast<float*>(dataPtr.get()), ipiv, info). This error may appear if the input matrix contains NaN."
There is a problem with "latents = self.scheduler.step(noise_pred, t, latents, **extra_step_kwargs, return_dict=False)[0]" in line 1151, pipelines/pipeline_pasd.py.
I hope you can give me some guidance, thank you very much!

Please install the latest torch (2.0.1), torchvision (0.15.2) and cuda (12.1)

Thanks for your response. It works, but the results are strange. I run python test_pasd.py with your default configuration and get the result shown below.
image_path example/dog.png

output_dir output/dog.png

This is weird. Please try to upgrade the latest diffusers and transformers. FYI, I use diffusers==0.20.0 and transformers==4.25.0


[UI] EVEREST-931: design review fix

https://perconadev.atlassian.net/browse/EVEREST-931
Now the edit buttons do not disappear, but become disabled when there is an error
https://github.com/solovevayaroslavna/everest-students-summer-practice/assets/126169546/2662f9d9-72fe-4c59-ad30-bf90c340d606

we can up this to upstream


Fix rendering issue in readme

Currently an eslint comment is seeking into readme. Seems like it should not be there.

Thanks!


[Bug] Modification to the Destination URLs in the Resident IdP doesn't reflect in the SAML metadata

When the customer modifies the Destination URLs of a tenant-specific Resident IdP, it is not reflected in the returned metadata of that tenant's Resident IdP.
We need to update idp-metadata file.

Thank you for your contribution!
We are closing this issue since it has not been prioritized for a long time. Chances are that it has already been solved in more recent versions. If not, we will be re-evaluating this when it becomes a priority.


travis: reduce CI jobs

Remove unnecessary ci jobs. As for 32-bit rust, rust-prometheus only supports stable channel.

I guess we can even not support 32-bit now.

PTAL @BusyJay

LGTM


Learning Supabase tracking

Watching this

[x] creating projects
[x] tables
[x] row level security
[x] auth
[x] user management
[x] crud
[ ] subscriptions
[ ] edge functions
[ ] webhooks

user management, provides functions like login,verify, logout, update, which can be called to do operations in backend, and get appropriate tokens

row level security, used ot configure access polices... basically who has what rights to read, write, delete, update which data

crud, provides funcitons to be used on client to create/remove/update/delete data in the tables

done with learning for now, closing the issue


New backend for Oracle SQL

For the implementation of the “OGC API – Features – Part 3: Filtering” in the Pygeoapi Oracle Provider, I expanded the geofilter to include support for Oracle. The Oracle backend also supports the use of bind variables.
Since the unit tests failed, I adapted the SQLAlchemy test.

@constantinius  Hi Fabian, can you please review and merge my pull request, so that i can create the pull request for the CQL changes in the Pygeoapi? Thanks in advance Andreas


feat: new Negative Controls implementation using strategies and manager

Negative Controls Refactor Module
Overview
The negative_controls_refactor module provides a flexible framework for applying negative control
strategies to medical imaging data, with a focus on radiomics. This framework allows for targeted
manipulation of images by combining control strategies with specific region definitions. The design
emphasizes modularity, extensibility, and ease of use.
With this module, users can:

Apply predefined or custom negative control strategies to 2D or 3D medical images.
Target specific regions (e.g., ROI, non-ROI, or the entire image) for the transformations.
Easily define and register their own strategies for specialized use cases.

Core Concepts
Negative Control Strategies
Negative control strategies define the type of manipulation applied to the image. These include:

Shuffled: Randomly shuffles pixel values within the specified region.
Sampled: Samples pixel values from the image's existing distribution.
Randomized: Generates entirely new pixel values within the range of the original image.

Users can also define custom negative control strategies by subclassing the NegativeControlStrategy
abstract base class and implementing the transform method.
Region Strategies
Region strategies define where the negative control strategy is applied. These include:

Full: Applies the strategy to the entire image.
ROI (Region of Interest): Targets only the region specified by a mask.
Non-ROI: Targets everything outside the region specified by a mask.

Region strategies are implemented by subclassing RegionStrategy and overriding the __call__ method.
How It Works
Workflow

Define the Negative Control Strategies (e.g., Shuffled, Randomized).
Define the Region Strategies (e.g., ROI, Non-ROI).
Use the NegativeControlManager to manage and apply these strategies to an image.

The NegativeControlManager handles:

Mapping string-based inputs to their respective strategies.
Applying all combinations of strategies (control × region) to a base image and mask.

Registry System
The module uses registries to map strategy names (strings) to their respective classes:

NEGATIVE_CONTROL_REGISTRY: Maps negative control strategy names (e.g., "shuffled") to classes.
REGION_REGISTRY: Maps region strategy names (e.g., "roi") to classes.

This design allows for extensibility, as new strategies can be added and registered dynamically.
Example Usage
Using Manager
from pathlib import Path
from negative_controls_refactor.manager import NegativeControlManager

# Create base image and mask
base_image = ...
mask = ...

# Define strategies
negative_control_types = ["shuffled", "randomized", "sampled"]
region_types = ["full", "roi", "non_roi"]

# Instantiate the manager
manager = NegativeControlManager.from_strings(
    negative_control_types=negative_control_types,
    region_types=region_types,
    random_seed=42,
)

#  Iterate through results
for transformed_image, control_name, region_name in manager.apply(base_image, mask):
    print(f"Applied {control_name} control to {region_name} region.")
    # do something with transformed_image

Use strategies directly
from readii.negative_controls_refactor import NonROIRegion, RandomizedControl

randomized_control = RandomizedControl(random_seed = 10)
result_image = randomized_control(base_image, mask, NonROIRegion())

Just tested out a new region (idk if dilation is the right way) but it works pretty straightforward
class NonROIWithBorderRegion(RegionStrategy):
	"""Region strategy to apply control outside the ROI, including a 2-pixel border."""

	region_name = "non_roi_with_border"
	# Add a 2-pixel border around the ROI
	padding = 2

	def __call__(self, image_array: np.ndarray, mask_array: np.ndarray) -> np.ndarray:
		"""
		Apply the region mask to the image array, adding a border of 2 pixels around the ROI.

		Parameters
		----------
		image_array : np.ndarray
			The base image as a numpy array.
		mask_array : np.ndarray
			The binary mask defining the ROI.

		Returns
		-------
		np.ndarray
			A binary mask with 1s outside the ROI and its 2-pixel border.
		"""
		# Ensure mask_array is binary (0s and 1s)
		binary_mask = (mask_array > 0).astype(np.uint8)

		roi_with_border = binary_dilation(binary_mask, iterations=self.padding)

		# Create the inverse mask for everything outside the ROI and its border
		region_mask = np.where(roi_with_border > 0, 0, 1)

		# Validate that there are non-zero pixels in the resulting mask
		if not region_mask.any():
			msg = "ROI with border mask is all 0s. No pixels outside ROI and its border to apply control."
			raise ValueError(msg)

		return region_mask


📎  Implement selector-pseudo-class-no-unknown

Description
Implement selector-pseudo-class-no-unknown

[!IMPORTANT]

Please skip implementing options for now since we will evaluate users actually want them later.
Please ignore handling extended CSS language cases such as sass and less.
Please skip custom function since we haven't syntax model yet.

Want to contribute? Lets you know you are interested! We will assign you to the issue to prevent several people to work on the same issue. Don't worry, we can unassign you later if you are no longer interested in the issue! Read our contributing guide and analyzer contributing guide.

Can I work on this issue?

Hi can I work on this issue?

Has there been any progress on this issue?
If no one is currently working on it, I would like to take it on this weekend.

I assigned the issue to you @tunamaguro


Add my school to JetBrains

file.zip
create a pull request from the forked repository

@StevenBurnett This domain is blacklisted because the college allows to register an email address there even if you are not a student of the college. If you are the student of this college, please apply with official document ("OFFICIAL DOCUMENT" tab at https://www.jetbrains.com/shop/eform/students).


Router doesn't work in Analog v17

Please provide the environment you discovered this bug in.
Hey, I started a new app today step by step with documentation and I'm getting a blank welcome page.
Tried to add extra routes, but that didn't work as well.

Which area/package is the issue in?
create-analog
Description
Steps

npm create analog@latest
npm install
npm start

Getting blank page under http://localhost:5173/

Adding extra routes e.g pages/(home)/home.page.ts and then trying to access that under /home throws error as well.
Please provide the exception or error you saw
No response
Other information
Package.json
{
  "name": "app",
  "version": "0.0.0",
  "type": "module",
  "engines": {
    "node": ">=18.19.1"
  },
  "scripts": {
    "ng": "ng",
    "dev": "ng serve",
    "start": "npm run dev",
    "build": "ng build",
    "watch": "ng build --watch --configuration development",
    "test": "ng test"
  },
  "private": true,
  "dependencies": {
    "@analogjs/content": "^1.7.0",
    "@analogjs/router": "^1.7.0",
    "@angular/animations": "^18.0.0",
    "@angular/common": "^18.0.0",
    "@angular/compiler": "^18.0.0",
    "@angular/core": "^18.0.0",
    "@angular/forms": "^18.0.0",
    "@angular/platform-browser": "^18.0.0",
    "@angular/platform-browser-dynamic": "^18.0.0",
    "@angular/platform-server": "^18.0.0",
    "@angular/router": "^18.0.0",
    "front-matter": "^4.0.2",
    "marked": "^5.0.2",
    "marked-gfm-heading-id": "^3.1.0",
    "marked-highlight": "^2.0.1",
    "marked-mangle": "^1.1.7",
    "prismjs": "^1.29.0",
    "rxjs": "~7.8.0",
    "tslib": "^2.3.0",
    "zone.js": "~0.14.3"
  },
  "devDependencies": {
    "@analogjs/platform": "^1.7.0",
    "@analogjs/vite-plugin-angular": "^1.7.0",
    "@analogjs/vitest-angular": "^1.7.0",
    "@angular-devkit/build-angular": "^18.0.0",
    "@angular/cli": "^18.0.0",
    "@angular/compiler-cli": "^18.0.0",
    "jsdom": "^22.0.0",
    "typescript": "~5.4.2",
    "vite": "^5.0.0",
    "vite-tsconfig-paths": "^4.2.0",
    "vitest": "^1.3.1",
    "tailwindcss": "^3.3.1",
    "postcss": "^8.4.21",
    "autoprefixer": "^10.4.14"
  }
}

I would be willing to submit a PR to fix this issue

[ ] Yes
[X] No

Thanks @d-borys. If you're on Windows, I believe this is fixed in the latest beta release.
npm create analog@beta app

Try it out and let us know if it works. The fix release will go out today.

Yup, I'm on windows.
Installing latest beta helpef. Thanks!


Add info log entries for longer activities during node startup

Motivation
When watching go-spacemesh log output during startup, log output pauses after a "running migrations" log message while the node warms up the cache. Another time, log output pauses after "registered signing key", while the node initialises the tortoise. These pauses inadvertantly lead people to believe that it's the migrations or key registration that takes up time, where in truth it is another activity.
Changes
Add "starting" log messages for two activities which take a longer time during startup, to more accurately indicate what the node is doing.

(Rebased to develop to resolve the bors merge conflict.)

(Rebased to develop to resolve the bors merge conflict.)

It's not necessary to do this unless bors comments on the PR that there is a merge conflict it was already in the process of merging. 🙂

bors merge

bors merge


Add syntax highlighting to README.md

Before
After

The inline JSON with newline characters is also kind of impossible to read:

I wonder if it makes sense to have these as nicer JSON blocks within expanding <details> sections at the bottom of the readme, with headings that we link to from the table instead?

Done 👍🏻


Updates for CLI

Now pretty well set up for making axds catalog through CLI with OMSA. Also some fixes to docs and tests and more.

Codecov Report

Merging #31 (2d7f063) into main (0dc0c27) will increase coverage by 4.86%.
The diff coverage is 42.65%.

@@            Coverage Diff             @@
##             main      #31      +/-   ##
==========================================
+ Coverage   46.97%   51.84%   +4.86%
==========================================
  Files          11       12       +1
  Lines         447      488      +41
==========================================
+ Hits          210      253      +43
+ Misses        237      235       -2

Flag
Coverage Δ

unittests
51.84% <42.65%> (+4.86%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

ocean_model_skill_assessor/CLI.py
0.00% <0.00%> (ø)

ocean_model_skill_assessor/utils.py
42.85% <ø> (-7.15%)
:arrow_down:

ocean_model_skill_assessor/main.py
23.37% <33.33%> (+13.81%)
:arrow_up:

ocean_model_skill_assessor/__init__.py
67.85% <65.00%> (-12.15%)
:arrow_down:

ocean_model_skill_assessor/stats.py
95.29% <100.00%> (ø)

tests/test_main_axds.py
100.00% <100.00%> (ø)

ocean_model_skill_assessor/plot/map.py
0.00% <0.00%> (-17.78%)
:arrow_down:

ocean_model_skill_assessor/accessor.py
41.93% <0.00%> (-6.64%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Bring back OAuth bearer authentication

In the Katana implementation, there was a middleware piece that allowed for authenticating OAuth 2 bearer tokens, whether from the Authorization header, query string or form body. Although, that implementation seemed to be tied to having the token generated from the companion OAuth 2 server. ASP.NET Core has a Jwt bearer midddleware option, but that is too specific for OAuth 2 access tokens. Access tokens can be anything. Would it be possible to add back a middleware piece that would allow for validating generic OAuth 2 bearer tokens? This is important for doing APIs.

If your token is backed by the OAuth2 introspection spec, then there is already a middleware for that: https://github.com/IdentityModel/IdentityModel.AspNetCore.OAuth2Introspection

@chrisdrobison if you're looking for an OAuthBearerAuthenticationMiddleware equivalent in the vNext world, you can look at the aspnet-contrib validation middleware.

Those are some good suggestions. I will try those.


bumping esri-loader to 2.10

Do you have an estimate on when this PR will be approved?

@dreamfool
I'm working on this now, and should have it released later today. In the meantime, you can always explicitly use the latest version of the ArcGIS API by passing the version as an option.

@dreamfool
This has been released as emebr-esri-loader 3.0.0, so just follow the updated installation instructions to get the latest vesions of this and esri-loader and you should be good to go.


Create documentation

##https://www.markdownguide.org/cheat-sheet/
##What
Create documentation for the afp-de project. It should contain high level technical documentation.
##How
Simply create a README.md file in the root of the repo
##Why
Every project needs a good documentation.

First issue added.


Need to add consumer Proguard settings

App crashes if Proguard is enabled. Add the following line to proguard-rules.pro.
-keepclassmembernames class android.support.design.widget.TabLayout { *; }

Fixed in 0.6.1.


How to test the model?

I notice that "main.py" file don't have "skip-init-tests" parameter. It has only code about training the model.How to test the "scale_4_epoch_24.pth"?
usage: main.py [-h] [--epochs N] [--gpu GPU] [--start-epoch N] [-b N]
[--patches N] [--dataset DATASET] [--lr LR] [--momentum M]
[--threshold M] [--weight-decay W] [--mle] [--lsccnn]
[--trained-model PATH [PATH ...]]

I have the same question.

same question

Sorry for the delay. Please check now. The instructions have been updated.


Problem compiling in docker container

when I compile project in docker container, I get this error.
P.S. I have no problem with compiling ffmeg-next or in system environment.
ffmpeg-next v7.0.0
FROM rust:1.77-buster as builder
WORKDIR /usr/src/project
RUN apt update && apt upgrade -y && apt install -y tree \
                        ffmpeg clang libavcodec-dev libavformat-dev \
                        libavutil-dev libavfilter-dev \
                        libgl1-mesa-glx libavdevice-dev \
                        libsm6 libxext6 \
                        libvulkan1 \
                        libvulkan-dev \
                        vulkan-tools \
                        libgl1 pkg-config
COPY ./src/ ./src
COPY ./Cargo.lock .
COPY ./Cargo.toml .
RUN cargo build --release # <--- Error in this step
# another commandds
CMD ["project"]

I solved this problem)))
Rust:1.77-buster is debian-based image, so it's very old version libraries. So when I had built project from ubuntu:latest image, my problem was solved!


Chrome to iOS Native App call is not working

Hi Khan,
I am facing issues in chrome to iOS native call after chrome update
Working Case:

Chrome 65
iOS Native App
Both are in different network
Uses CoTurn
Call initiated from Chrome to iOS native and call connected
Call initiated from iOS native app to Chrome  and call connected

Failure Case:

Chrome 75
iOS Native App
Both are in different network
Uses CoTurn
Call initiated from Chrome to iOS native and call not connected (ice candidate failed)
Call initiated from iOS native app to Chrome  and call connected (working fine)

Only problem is When chrome initiates the call, it occurs after new Chrome new update
Thanks,
Raveendar Y


SPARK-2533 - Add locality levels (with tasks count) on job stages summary

Can one of the admins verify this patch?

Can you post a screenshot for the change?

Sure, give me 2 minutes ;)

Note the "new" Locality Levels column in the stage summary view. The format is:
locality_level(number_of_tasks)
For instance NODE_LOCAL(1), means one task in this stage with NODE_LOCAL locality level.

cc @pwendell @kayousterhout  thoughts on this?

ping @kayousterhout to me it's the normal issue - sure it's useful for some cases, but is it worth putting in the index page? It could be better to just put a locality summary on the stage page itself, if one doesn't already exist.

@pwendell the locality summary is on the stages page. I can also do a locality summary on the view of each stage (we have it in the tasks table, but a summary with the tasks count for each locality is helpful IMHO).

Yeah this was my thought - could we provide a summary in the stage page rather than in the stage index.    I do see how an aggregated summary is significantly more useful than just mentally aggregating based on the task table. Doing this on the stage page would avoid adding more columns to the index view, and this column could get complicated if stages have many locality levels in play. It might be nice to see an alternative patch that does that.

+1, let me update this PR according to @pwendell comment. Give me 10mn ;) Thanks Patrick !

Updated PR by moving locality level summary on stage details.

Gently reminder ... Thanks !

Two suggestions:

can we change the format of this to say "Process local: 2 tasks; Rack local: 4 tasks; Any: 15 tasks"? I think that's easier to read and more clear what it is.

I wonder if we should put this under the "Show additional metrics" drop down. Right now, it's one of the first things someone will see when they open the UI, and it's not clear to me that that's the right prioritization.

I rebased and updated the PR to improve the code according to Kay's comments.
Now, I'm starting to implement the two Kay's suggestions.
@kayousterhout thanks again for your support !

Rebase

Sorry for the noise

Crap I did a mistake, let me clean it up.

Let me close this PR and create a new one (easier to read).

Would you mind re-opening this and closing the new one?  You can change the code here to be equivalent to the code in your new branch by doing "git push --force origin SPARK-2533-2:SPARK-2533".  It's easier for us to track things if we keep the history in one pull request.
As an aside, when you're working on pull requests, it's helpful if you implement changes as new commits on top of your original one.  That way, reviewers can review the commits in the history to look at just what's changed since the last review.  When we merge things into Spark, we squash it all into one commit, so using a bunch of commits in a pull request won't pollute the git history later on.

OK no problem. I thought you would prefer a new clean one. My bad and sorry about that.

Unfortunately, github says the branch has been recreated or forced-pushed :/

And yes, I did a mistake (merge instead of rebase).

@kayousterhout I'm very sorry about my mistake (I worked on another project in the same time and mixed the git actions :(, probably too early on the morning for me ;)).

No problem -- at this point, just do whatever's easiest to get a pull request that's in an ok state!

Thanks @kayousterhout. I promise it's my last mistake ;)


feat: port Control.Fix

Mathlib Commit : 207cfac9fcd06138865b5d04f7091e46d9320432

Is there anything further to be done on this PR from my end?

bors merge


Integrate the data-index-webapp in the data-index image

Integrate the data-index-webapp from kie-tools created in the task below,  in the data-index image:

https://github.com/apache/incubator-kie-tools/issues/2544

Same comment as for the Jobs Service image... kogito-images cannot depend on kie-tools.

@tiagobento
cc: @ricardozanini
Does kogito-images go after kie-tools after 10 release?
Maybe we can discuss this issue in the proposal?
https://lists.apache.org/thread/5w20tkdwqr7lkpl1j6qt7t7bbdg8vmdr

@tiagobento I think we should merge this and the jobs-service one. As for now, the images must come after tools, as they always have. Once we figure out how we are going to set the CI and release, we can rearrange.

Please see the release procedure document... also: kie-tools currently depends on kogito-images. We can't go back to circular dependencies for yet another reason :/


Add contributing guide and issue templates

This PR adds a contributing guide and issue templates to Ackee.
I created two issue templates, a bug report and feature request template. I also added a link to Ackee's docs to the config.yml which will be shown when creating a new issue.
Let me know if I should also create a PR template or if there's something wrong with the changes.
Solves #179

Pull Request Test Coverage Report for Build 692

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 44.534%

Totals

Change from base Build 691:
0.0%

Covered Lines:
457

Relevant Lines:
823

💛  - Coveralls

Perfect 🤘


added propertyPack/materialFacts/energyEfficiency/certificate/validUntilDate & removed min_max for heading under googleStreetView

I have introduced the "validUntilDate" key within the certificate structure. This addition serves to include the expiration date, which is a significant attribute for a valid EPC certificate. The "validUntilDate" attribute aligns with other attributes present in the certificate. To provide a visual reference, I have attached a screenshot of an EPC certificate below.

2.I have eliminated the range specifications (0 to 360) from the "googleStreetView/heading" parameter. This adjustment is in response to our anticipation of negative values. In this context, negative values symbolize adjustments in the view for the property in an anticlockwise direction. Ordinarily, adjustments are made in a clockwise manner from the street view, thus positive numbers are typically encountered.

The EPC part of the schema is based on the parameters described here: https://epc.opendatacommunities.org/docs/guidance#glossary.
We already have the lodgementDate in the schema and the current validity period is 10 years, so would adding validUntil just duplicate this information, and potentially make it more fragile to changes in the validity period? It can be easily generated for any user in the UI.
The relaxation of the street view PoV makes sense - but would it now be -360 to +360, rather than completely unconstrained? Would +35000 not be invalid?

I don't agree with adding the valid until date because this is calculated using the lodgement date and the time period it is valid for could change in the future.
Also the valid until date is not part of the standard EPC data result received and thereby complicates using the schema when retrieving the EPC.

yeah, makes sense

@edmolyneux could you please re-check the changes

LGTM, we also, resolved two more issues in this pr, related to word case, correction in Street view object.


[Backport 2.1] Staging for version increment automation

Description
Manually backporting #442 to 2.1
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Codecov Report

Merging #474 (bc57736) into 2.1 (c924ab1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##                2.1     #474   +/-   ##
=========================================
  Coverage     84.02%   84.02%
  Complexity      911      911
=========================================
  Files           130      130
  Lines          3880     3880
  Branches        359      359
=========================================
  Hits           3260     3260
  Misses          458      458
  Partials        162      162

Help us with your feedback. Take ten seconds to tell us how you rate us.


Why can't I load my user define dictionary?

seg.LoadDict("zh, /Users/xxxxxx/go/src/github.com/go-ego/gse/data/dict/dictionary.txt")

2019/07/18 10:40:48 Could not load dictionaries: " /Users/xxxxxx/go/src/github.com/go-ego/gse/data/dict/dictionary.txt", open  /Users/xxxxxx/go/src/github.com/go-ego/gse/data/dict/dictionary.txt: no such file or directory

"zh" is ".../go/src/github.com/go-ego/gse/data/dict/dictionary.txt", please use "," to split the dictionary, check your path.


Sound not playing on Microsoft Edge

Hi. Sound is not working on Windows 10's Microsoft Edge browser. What I noticed is that, the request is not even send to grab the audio file.
Also, calling window.createjs.Sound.getCapabilities() returns null, so I get this is the problem? Will further investigate ..

Great. I really appreciate you taking a look!

@tehmaestro can you provide a reproduction case?  Testing with the demos at http://createjs.com/soundjs work using Edge 20.10240.16384.0

@wdamien the demos don't seem to work in my Microsoft Edge, using the version you mentioned

@raduca-adrian; Are you seeing any console errors when running that page?

@wdamien
Only one, but seems related to the font
HTTP403: FORBIDDEN - The server understood the request, but is refusing to fulfill it.
(XHR): GET - http://use.typekit.net/c/3b54bf/1w;effra,2,ZYf:R:i4,ZYd:R:n4,ZYj:R:n7;proxima-nova,2,b5x:R:i4,b61:R:i7,b5w:R:n4,bBh:R:n7/d?3bb2a6e53c9684ffdc9a9afe1d5b2a6262b4be0bfc491ced4e51babf615367c177f0d9460eb02f0cdecba30fed480ada2cf4f68c86d0fbcd7d4c3539816f4f0efa1b197ded903568ea273a9d779d4f6de02bdb949d814d

Thanks @raduca-adrian ! Yeah I see the same error, it would not affect playback.
We will keep looking into this on our side, its most likely a browser bug with specific systems. If you or @tehmaestro have any more details or insights, please post them here.

Hi, so I've further tested my project on a couple of others PC's that were updated to Windows 10, and all seems to be ok. No problems..
So it appears it would be a PC related issue.
Thanks.

In a related note, I just started testing soundjs and howler.js for sound support projects I am assigned to at work.  Everything was working fine until I upgraded to Windows 10 to test Edge, and upgrading to iOS 9 for Apple products.  Prior to that, the sound code working fine with Chrome, Firefox, Opera, IE11, mobile Chrome, and mobile Safari.  Got the iOS stuff working, but MS Edge still gives me trouble.   In my case soundjs is throwing a SoundJS is not currently supported in your browser. and linking me to this github tracker.  howler.js fails with a console output of "not supported" and pointing to JavaScript code that reads audiotest = new Audio() - which is standard Audio API access.  (howler references added for extra info for debugging sound in general, not bring the issue off-topic).


FindGuid helper function

Summary of the Pull Request
Adds a simple helper function to look up the GUID associated with a profile name.

References

PR Checklist

[x] Closes #3680
[x] CLA signed. If not, go over here and sign the CLA
[x] Tests added/passed. Yes, new test group in SettingsTests!
[ ] Requires documentation to be updated
[x] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #3680

Detailed Description of the Pull Request / Additional comments
Very simple function, for-each through profiles checking for a match. Returns the associated GUID if found, else returns the null GUID.
This function is marked as noexcept to comply with assumption made by other CascadiaSettings functions that Profiles::GetGuid does not throw, despite it throwing.

Validation Steps Performed
The new function is simple and can be visually validated, but added tests regardless. A new test group was added in SettingsTests called TestHelperFunctions to validate the new function FindGuid and older function FindProfile. This test group could be used to validate more helper functions in CascadiaSettings as they're added. The new test group passes after running te.exe TerminalApp.LocalTests.dll.

Does anyone know why the code formatting is failing? The Azure pipeline provides no feedback.

Look at this for code format : https://github.com/microsoft/terminal/blob/master/doc/building.md
There is a runformat command.

Thanks for the contribution!


Adobe Analytics Integration

Is your feature request related to a problem? Please describe.
Add an integration with Adobe analytics, similar to Mixpanel, Heap, Amplitude.
Describe the solution you'd like
Needs investigation into the Adobe Analytics functionality. Simple requirement is that we want to replicate what we have with the other analytics platforms.
Describe alternatives you've considered
Webhooks can be used until native integration is possible but it adds extra overhead for Flagsmith customers.
Additional context
N/a

Customer development in progress.


Use the natively built-in search engine plugin

What happened?
This over a component.
it’s self explanatory.
What browsers are you seeing the problem on?
Chrome
Code of Conduct

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

Can't do this unless the component has support for custom props

done


Added first example for benchmark

This example is meant to test system performance when dealing with a cyclical-like structure implemented through Java interfaces, while avoiding direct cyclical dependencies in the code. By using interfaces and constructor injection, we simulate a cyclic dependency that is handled dynamically at runtime without causing build-time cycles.
ClassA.methodA calls ClassB.methodB.
ClassB.methodB calls CallC.methodA.
ClassC, which implements InterfaceA, holds a reference to ClassA through the interface, allowing it to call methodA and complete the cycle.
To prevent infinite recursion and potential memory issues, the program limits the number of recursive methodA() calls, allowing the test to run safely.

Cyclical Dependency Example
Overview
This project is designed to evaluate and benchmark the performance of EngFlow's remote execution and caching services. It specifically focuses on testing scenarios involving cyclical-like structures in the dependency graph, which are handled through interfaces and constructor injection.
Purpose
The primary objectives of this project are to:

Generate Performance Data: Create examples with cyclical-like dependencies to test and gather performance data for EngFlow’s remote caching and execution services.
Benchmark Analysis: Compare the performance of local versus remote execution and caching to evaluate the efficiency and effectiveness of the service.
Support Automation Development: Contribute to the development of automation algorithms for resource assignment by providing valuable data on how cyclical dependencies impact performance.

Project Structure
The project is organized into several packages, each representing different components of the cyclical dependency example:

class_a: Contains ClassA which depends on ClassB through an interface.
class_b: Contains ClassB which implements InterfaceB and depends on ClassC.
class_c: Contains ClassC which implements InterfaceA and can be initialized with a reference to ClassA.
interface_a: Defines the interface InterfaceA implemented by ClassA and ClassC.
interface_b: Defines the interface InterfaceB implemented by ClassB.
main: Contains the Main class which processes the input file.
input: Contains the input text file used by the Main class.

How the Program Works
The program takes a text input file and recursively prints each word with each class (ClassA prints a word, then ClassB, and so on) until the string is empty. The input file should be specified in the data attribute of the java_binary rule in the BUILD file.

New Examples Added
Varying Input Example
The goal of this example project is to test the performance of Engflow's remote execution and caching service for different input sizes. The project involves creating using a class named  Writer to create a specified number of txt files, each containing 100 random characters, and then reading and printing out their contents with the Reader class.
Project Structure

java/com/engflow/internship/varyinginputs/input: Directory where the generated .txt files are saved.
java/com/engflow/internship/varyinginputs/main: Contains the Main class which orchestrates the file creation and reading process.
java/com/engflow/internship/varyinginputs/reader: Contains the Reader class responsible for reading the files.
java/com/engflow/internship/varyinginputs/writer: Contains the Writer class responsible for writing the files.

Usage Example
To create and read 10 files, you would run:
bazel run //java/com/engflow/internship/varyinginputs/main -- 10

This command will:

Use the Writer class to create 10 files, each containing 100 random characters, in the input directory.
Use the Reader class to read and print the contents of these files.

Set Input Example
Since the data dependencies in the previous examples are for files created during runtime. This example uses a genrule to write a set number of txt files instead of a Writer class. This way, the main binary can be built and run after the files are already created.
Project Structure

java/com/engflow/internship/setinput/genfile: Directory where the .txt files generated by the genrule are stored.
java/com/engflow/internship/varyinginputs/main: Contains the Main class which orchestrates the reading process.
java/com/engflow/internship/varyinginputs/reader: Contains the Reader class responsible for reading the files.

Usage
To generate the test files, build the filegroup target:
bazel build //java/com/engflow/internship/setinput/genfile

Then, the program can be run with the following command:
bazel run //java/com/engflow/internship/varyinginputs/main

To modify the amount of files generated, change the value of the NUM_FILES in the BUILD file inside the genfile directory.
Binary Input Example
The goal of this example project is to test the performance of Engflow's remote execution and caching service based on the number of input binary files in the dependency graph. The project contains a genrule that generates a specified number of Java binaries for the genbinary Java library, which are then listed as dependencies in the main binary. The Main.java file loops through each generated class and calls its greetNum method.
Project Structure

java/com/engflow/internship/binaryinput/Main.java: Main class that dynamically loads and invokes methods from generated classes.
java/com/engflow/internship/binaryinput/BUILD: Bazel build file for the main java binary and the genbinary library.

Usage
To generate the test files, build the genbinary library using the genrule:
bazel build //java/com/engflow/internship/binaryinput:genbinary

Then, the program can be run with the following command:
bazel run //java/com/engflow/internship/binaryinput:main

How It Works

Generation of Java Binaries:

The genrule in the BUILD file generates a specified number of Java classes (Hello1.java, Hello2.java, ..., HelloN.java).
Each generated class contains a greetNum method that prints a unique message.

Main Class Execution:

The Main.java file in binaryinput dynamically loads each generated class using reflection.
It then invokes the greetNum method of each class, printing the corresponding message.


feat: add copy to clipboard button in response

This is a proof of concept to show that I can take existing PRs from the upstream and merge them here. This is a PR originally here: https://github.com/iway1/trpc-panel/pull/28

This is fixed in #5 as copying JSON output is already supported in the viewer


flink StarRocks Connector has no data type mapping table

Enhancement
website link：https://docs.starrocks.com/zh-cn/main/loading/Flink-connector-starrocks
add: Flink and StarRocks data type mapping table
Reference:https://doris.apache.org/master/zh-CN/extending-doris/flink-doris-connector.html#使用方法

Thanks for the feedback, we'll add the type mapping table ASAP.
BTW, you could try out the smt which will help you to convert the table structure automatically, both for the flink and StarRocks.


Memory leak in JLI_StringDup

zcash4mac 1.0.4-208
Steps:
Launch zcash4mac.
What happened:
Memory leak in JLI_StringDup
https://www.dropbox.com/s/pf54fy2ge7yx5o9/zcash4mac.trace.zip?dl=0
Expected result:
No leaks.
Notes:
Unzip and open file with Apple Instruments (part of Xcode tools).

This project is dead so retracting.


Create a loader for people migrating from graphite

Currently, if one wants to migrate, they're on their own. I suggest we create a tool that helps to migrate any graphite installation to cyanite with ease.

+1

The good news is that without a loader you can still configure your graphite relays for doublewriting (the carbon-c-relay is particularly good for this) and then you can cutover when you're satisfied there's enough data in cyanite.


Cannot assign to bindable properties in unit tests.

I have a custom element declared like this, with some bindable property:
import {bindable, containerless} from 'aurelia-framework';

function clone(o) {
    return JSON.parse(JSON.stringify(o));
}

@containerless
export class SC{
    @bindable stream = null;

    constructor(){
    }

    edit(){
        this.backup = JSON.parse(JSON.stringify(this.stream));
    }

    cancelForm(){
        this.stream.editing = false;
        if (this.backup) {
            this.stream = clone(this.backup);
        }
    }
}

In my unit test, I initialize that property with the following:
import {engine} from '../test-globals';
import {SC} from '../../../src/streams/sc';

describe('the SC module', () => {
    let sut;

    beforeEach(() => {
        sut = engine.createModelForUnitTest(SC);
        sut.stream = {name: 'Fun', slug: 'fun', description: 'loads to be had'};
    });

    it('lets users edit a stream and cancel edition', () => {
        sut.edit();
        sut.stream = {name: 'Some new name'};

        sut.cancelForm();

        expect(sut.stream.name).toEqual('Fun');
    });

});

This is my test-globals.js:
// Contains objects that only need to be initialized/instantiated once for the
// whole test suite.

import {initialize} from 'aurelia-pal-browser';
import {templatingEngine} from 'aurelia-templating';
import {Container} from 'aurelia-dependency-injection';

// Initialize the browser PAL for tests
initialize();
export const container = new Container();
templatingEngine.initialize(container);
export const engine = templatingEngine;

This is the error I get:
ERROR [Chrome 46.0.2490 (Mac OS X 10.9.5) | the stream-card module | lets users edit a stream and cancel edition]: TypeError: Cannot read property 'setValue' of undefined
    at StreamCard.descriptor.set [as stream] (http://localhost:9876/base/jspm_packages/github/aurelia/templating@0.16.0/aurelia-templating.js:2892:42)
    at Object.<anonymous> (http://localhost:9876/base/test/unit/streams/stream-card.spec.js:31:32)
ERROR [Chrome 46.0.2490 (Mac OS X 10.9.5) | the stream-card module | lets users edit a stream and cancel edition]: TypeError: Cannot read property 'getValue' of undefined
    at StreamCard.descriptor.get [as stream] (http://localhost:9876/base/jspm_packages/github/aurelia/templating@0.16.0/aurelia-templating.js:2888:49)
    at StreamCard.edit (http://localhost:9876/base/src/streams/stream-card.js:94:49)
    at Object.<anonymous> (http://localhost:9876/base/test/unit/streams/stream-card.spec.js:35:25)

If the property is not @bindable, the test passes. But the custom element of course doesn't work as I intend...

Update: this error happens when this test is run as part of a larger suite, but not if this is the only test I run.

(this is a follow-up of a discussion with @PWKad on gitter)

That is not how the templating engine is used anymore. That was a breaking change. See this set of tests for an example of proper usage: https://github.com/aurelia/templating/blob/master/test/behavior-testing.js

Thanks! I just updated to latest pre-beta. I am now getting this error when using the new TemplatingEngine method:
engine = container.get(TemplatingEngine);
sut = engine.createViewModelForUnitTest(UserMenu);
...
TypeError: _aureliaPal.DOM.createMutationObserver is not a function

Are you still initializing pal-browser?

No. Should I?

Yes, that's where the implementation of that missing method comes from.
import {initialize} from 'aurelia-pal-browser';
initialize();

Cool. Thanks for the quick response!

Still, unfortunately, that doesn't solve my original issue. I still get:
ERROR [Chrome 46.0.2490 (Mac OS X 10.9.5) | the SC module | lets users edit a stream and cancel edition]: TypeError: Cannot read property 'setValue' of undefined
    at SC.descriptor.set [as stream] (http://localhost:9876/base/jspm_packages/github/aurelia/templating@0.17.1/aurelia-templating.js:2937:42)
    at Object.<anonymous> (http://localhost:9876/base/test/unit/streams/sc.spec.js:18:32)

...when assiging the bindable property in the test above.

can you post your full, updated code?

For that example, I updated sc.spec.js to:
import {engine} from '../test-globals';
import {SC} from '../../../src/streams/sc';

describe('the SC module', () => {
    let sut;

    beforeEach(() => {
        sut = engine.createViewModelForUnitTest(SC);
        sut.stream = {name: 'Fun', slug: 'fun', description: 'loads to be had'};
    });

    it('lets users edit a stream and cancel edition', () => {
        sut.edit();
        sut.stream = {name: 'Some new name'};

        sut.cancelForm();

        expect(sut.stream.name).toEqual('Fun');
    });

});

And test-globals to:
import {TemplatingEngine} from 'aurelia-templating';
import {Container} from 'aurelia-dependency-injection';
import {initialize} from 'aurelia-pal-browser';

initialize();
export const container = new Container();
export const engine = container.get(TemplatingEngine);

Is the fact that I am reusing a container an issue?

I wouldn't re-use the container.

OK. I'll try with that and report back.

Yes, looks like re-creating the container doesn't get me into that issue. Many thanks again!

This issue seems to have resurfaced after I updated to beta1.
inner error: TypeError: _aureliaPal.DOM.createMutationObserver is not a function
    at makeRequestFlushFromMutationObserver (http://localhost:9876/base/jspm_packages/npm/aurelia-task-queue@1.0.0-beta.1/aurelia-task-queue.js:13:36)
    at new TaskQueue (http://localhost:9876/base/jspm_packages/npm/aurelia-task-queue@1.0.0-beta.1/aurelia-task-queue.js:59:41)
    at Object.invoke (http://localhost:9876/base/jspm_packages/npm/aurelia-dependency-injection@1.0.0-beta.1/aurelia-dependency-injection.js:334:14)
    at InvocationHandler.invoke (http://localhost:9876/base/jspm_packages/npm/aurelia-dependency-injection@1.0.0-beta.1/aurelia-dependency-injection.js:309:168)
    at Container.invoke (http://localhost:9876/base/jspm_packages/npm/aurelia-dependency-injection@1.0.0-beta.1/aurelia-dependency-injection.js:557:25)
    at StrategyResolver.get (http://localhost:9876/base/jspm_packages/npm/aurelia-dependency-injection@1.0.0-beta.1/aurelia-dependency-injection.js:145:37)

Is this because of changes introduced in beta?

Nevermind, my mistake. I had two versions of aurelia-pal-browser in JSPM, including the old one from<EMAIL_ADDRESS>With the version<EMAIL_ADDRESS>all works well.


How about adding mouse double click method

Please provide listener for mouse double click event!
Thank you

Can be used to un-hide or bring application to focus


[Build from Git + prisma_client_rust_cli] Error compiling rust-postgres (tokio-postgres)

error[E0599]: no method named `with_interval` found for struct `TcpKeepalive` in the current scope
  --> /home/onlycs/.cargo/git/checkouts/rust-postgres-a0ce567e7550f063/00d4815/tokio-postgres/src/keepalive.rs:17:43
   |
17 |             tcp_keepalive = tcp_keepalive.with_interval(interval);
   |                                           ^^^^^^^^^^^^^ method not found in `TcpKeepalive`

error[E0599]: no method named `with_retries` found for struct `TcpKeepalive` in the current scope
  --> /home/onlycs/.cargo/git/checkouts/rust-postgres-a0ce567e7550f063/00d4815/tokio-postgres/src/keepalive.rs:22:43
   |
22 |             tcp_keepalive = tcp_keepalive.with_retries(retries);
   |                                           ^^^^^^^^^^^^ help: there is a method with a similar name: `with_time`

For more information about this error, try `rustc --explain E0599`.
error: could not compile `tokio-postgres` (lib) due to 2 previous errors

Fixed when I went into the checkout folder and added the all feature to socket2 in the Cargo.toml
Built on latest nightly

This fix helped solved my issue, thank you.
It seems like this error coming from https://github.com/prisma/rust-postgres. I hope they put up a fix soon

cargo update should fix this


Handling multiple SUT processes

Happened with IE but not with Chrome:
SUT has a modal popup that is another process, and TESTAR tries to bring original process to foreground and that does not work because of modal popup.

The SUTProcesses setting has been refactored to allow the connection with multi-processes SUTs #388
The TESTAR user can indicate with regular expressions which processes conform to the SUT
https://github.com/TESTARtool/TESTAR_dev/wiki/3-TESTAR-configuration-and-settings#connect-with-a-multi-processes-sut-advanced-dialog


Problem with multiple active components in the same target layout when switching perspectives

The issue arises when there there are multiple components registered to the same target layout and you switch between perspectives. When switching to another perspective and then back, the components are added to the target layout in a different order or missing entirely.
In my example the target layout container is supposed to be a StackPane. Let's say you have 3 components A,B,C with C being displayed on top in the StackPane. When switching to another perspective and back you get C only. You do it again and you get A,B. And after a couple of times you get A,B,C again.
I came across the following code in PerspectiveHandlerImpl:
private static void bringRootToFront(final int index, final ObservableList<Node> children, final Node root) {
   if (index != 0) {
      children.remove(index);
      GridPane.setHgrow(root, Priority.ALWAYS);
      GridPane.setVgrow(root, Priority.ALWAYS);
      children.set(0, root);
   }
}

This looks as if the root node is actually not brought to the front but to the back and furthermore
if the root node is found at index > 0 it is removed and overwrites the existing child node at index 0.
Shouldn't it rather be like this?
private static void bringRootToFront(final int index, final ObservableList<Node> children, final Node root) {
   if (index != children.size()-1) {
      children.remove(index);
      GridPane.setHgrow(root, Priority.ALWAYS);
      GridPane.setVgrow(root, Priority.ALWAYS);
      children.add(root);
   }
}

(Issue is related to version 2.1.)
On a side node:
Is there a way to switch between components registered to the same target layout in a way that only a single one is visible? What I do so far is activate the component I want to be visible and deactivate all others by context.setActive() (or more precisely: by sending "activate"/"deactivate" messages to the components which use context.setActive() in their handle() methods).
From what I gathered from the current master version context.setActive() isn't part of the regular Context interface anymore but instead there is an updateActiveState()  in the InternalContext which I'm probably not supposed to use as an application developer.

Hi, it is not intended to put multiple components to one target layout. The idea is (in your case) to add containers to your StackPane and define them as target Layout (I know that you get one more container)... you could do:
StackPane main = ...
Group one =...
Group two = ...
main.getChildren().addAll(one,two);
perspectiveLayout.registerTargetLayoutComponent("one", one);
perspectiveLayout.registerTargetLayoutComponent("two", two);

Hi Andy,
OK. I'll try it the way you described and check if it works.
Thanks.
Concerning the PerspectiveHandlerImpl... Does that mean the code of bringRootToFront() is actually correct?

Can you please document this behaviour in http://jacpfx.org/documentation_main.html ? Today, I have spend a couple of hours for this issue.

OK
Andy

Am 28.09.2016 um 13:51 schrieb tranquility79<EMAIL_ADDRESS>Can you please document this behaviour in http://jacpfx.org/documentation_main.html ? Today, I have spend a couple of hours for this issue.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.


FR: allow jj log to update its output

Is your feature request related to a problem? Please describe.
I'm working on cleaning up a complex series of commit, I keep the jj log output in a separate terminal to orient myself. Whenever I'm done working on a commit and I move to edit another commit, the jj log output is semi-stale at this point (it displays the wrong "current" commit), I need to manually close it and rerun it.
Describe the solution you'd like
I would like a way to get the jj log output to update continuously, or a keybinding to easily "refresh" the output.
jj log currently just pipes its output to the pager. Most pagers do not support interactive features that would let the user request an output update. But they do support closing the pager without closing the process itself. So an easy way to implement this would be to have jj log work in a loop, instead of just once: (1) produce output, (2) call the pager, (3) when the pager closes, go to (1) again.
Continuous update could be implemented by jj log somehow watching the repository and closing the pager itself when there is a change. But this is more complex and probably overkill, it is okay if the user has to ask for an update by pressing the "close the pager" keybinding. (In less this is just q.)
Of course, it should still be possible/easy to close jj log permanently, for example it should close completely (not just stop the pager and loop) when receiving a C-c signal. (Maybe users would find it surprising if the loop mode was enabled by default, as they expect C-c and close-the-pager to behave in the same way. It's okay to ask for an explicit option, jj log --loop for example.)
Describe alternatives you've considered

watch jj log does not work at all, because the output of watch is not meant to be interactive, the pager cannot be used there
jj log; jj log; jj log more or less does what I would expect, in that q updates the log output -- at most twice. But doing this in a loop requires more complex shell syntax than most users are familiar with, and is not so easy to document/recommend in a portable way.
According to the documentation, jj knows how to work with a built-in pager called minus, so it would be possible to implement a specific UI protocol in minus for output update or continuous update. To me this sounds more complex and less easy to adapt to user's pager preference than simply supporting a loop mode when the user closes the pager.

Note: as suggested above, it is possible to emulate the behavior of this proposed jj log --loop at the shell level:

bash: while true; do jj log; done
fish: while true; jj log; end

This behaves as expected, q refreshes the output and C-c closes the log.

If I might suggest an alternative, I have recently been using viddy (which was mentioned by someone on Discord) as an alternative to watch for this kind of case, and it has a major advantage in that it supports acting like/supporting pager features, so you can do things like scroll with your mouse to look through the output interactively while it updates. It also works on Windows, it seems, and natively supports color and even record/replay. My only complaint with viddy is that it seems to use a weirdly large amount of CPU (I haven't investigated, but I guess that's why I have 16 cores...)
I believe jj-fzf also provides support for automatic updates, but I don't use it.
I agree with Yuya that I don't think this is really necessary to include in jj log by default. I would dearly love a web UI that auto-updated though, and abandon my terminal for it immediately.

I believe jj-fzf also provides support for automatic updates, but I don't use it.

jj-fzf displays the log by default and updates it when the history was modified via one of its key bindings.
If the repo is modified in a different terminal, the user can press F5 in jj-fzf to reload the log view.


[iOS App] Decks > My decks displays "No results found"

In the iOS app, the "My decks" section displays "No results found", while on the website, all decks are displayed and the stats can be viewed without problems.
App:

Website:

Thank you for the information. We will check that.

We have already find the solution. Everything should be okay.

Thanks for checking it out! But in my case, it still says „No results found“. Do I need to re-sync before my decks are displayed? I‘m not able to run my computer at the moment.


Limit the size of C string literals produced by the futhark-opencl compiler

The C spec limits the length of string literals to at most 65536 characters.  Sometimes, the embedded OpenCL program will be bigger than that.  In these cases, we should generate multiple literals and concatenate them at runtime.  According to a comment on issue #355, Visual Studio further limits the length to about 16 thousand characters, so we should aim at staying below that.

Oh, it's actually worse.  From https://msdn.microsoft.com/en-us/library/sx08afx2.aspx:

While an individual quoted string cannot be longer than 2048 bytes, a string literal of roughly 65535 bytes can be constructed by concatenating strings.

That's just great...


Add cases to Form_IpAddress for host and IP

combinations, so we can specify that entry of a particular IP address family or host name is required, and give the user an appropriate bit of hover text and regex pattern match.
Make first use of it for input of NTP servers.

Once the ALIAS cases are finally sorted out in #3242 then this one will have conflicts anyway, after that I will sort it out and also remove the bits of JavaScript lowercase() stuff. Then it can be looked at again.

Depends of #3242

Closing in favour of #3248


Use early bailing to improve 3D shadow filtering performance in GLES3

Early bailing makes PCF13 much faster than it previously was. The performance difference between PCF5 and PCF13 is now much lower.
Subtle artifacts may be visible in shadow corners, but they're unnoticeable in actual gameplay (especially with textures added):

I've tried to implement a similar approach in the PCF16 filter used in GLES2, but I couldn't get a convincing result (even by making two extra samples to match the diamond pattern used by GLES3). It brought noticeable performance improvements just like in GLES3, still.
Preview
Performance metrics are included in the top-left corner of each screenshot.

Old PCF13
New PCF13
PCF5 (for comparison)
Disabled (for comparison)

GLES2 (not included in this PR for quality reasons)
Just to give an idea of the performance improvements:

Old PCF13
New PCF13
PCF5 (for comparison)
Disabled (for comparison)

Thanks!


[MC] AWS - upgrade china

[MC] AWS - upgrade china

I tried deployng:

flatcar without any ignition config
amazon linux
ubuntu 20.04

not even one of the VMs was reachable via SSH nor via web console.
I have no clue why this thing does not work.

as soon as I switched to a different VPC, everything worked immediately

it was a drift in the VPC config. I can access bastions now!

[ ] giraffe
[ ] akita
[ ] argali

DONE


ci: see if setup-nim is faster than choosenim

I like that it:

avoids this problem https://github.com/jiro4989/setup-nim-action/issues/38 with jiro4989/setup-nim-action
avoids the slow osx installation times noted in https://github.com/nim-lang/fusion/issues/69#issuecomment-755010291

are there any downsides?

I like that it:

avoids this problem https://github.com/jiro4989/setup-nim-action/issues/38 with jiro4989/setup-nim-action
avoids the slow osx installation times noted in https://github.com/nim-lang/fusion/issues/69#issuecomment-755010291

are there any downsides?

None as far as I can tell. @disruptek has been using this on all of his projects and so far it seems fine.

None as far as I can tell. @disruptek has been using this on all of his projects and so far it seems fine.

None as far as I can tell. @disruptek has been using this on all of his projects and so far it seems fine.

LGTM 👍

None as far as I can tell. @disruptek has been using this on all of his projects and so far it seems fine.

LGTM 👍

Run<EMAIL_ADDRESS>Error: Could not find any release named 'latest-version-1-2'. The provided branch (version-1-2) might not be tracked by nightlies, or is being updated.
Error: Process completed with exit code 1.


Unable to update vault config

Describe the bug
When we make changes to spec.config in the crd, the deployment doesn't get updated.
To Reproduce
Download https://raw.githubusercontent.com/banzaicloud/bank-vaults/master/operator/deploy/cr.yaml
Run kubectl create -f cr.yaml
Change ui: true to ui: false
Run kubectl apply -f cr.yaml
Do a describe on the deployment and see that VAULT_LOCAL_CONFIG haven't change.
If you do a describe on the vault crd you can see that it has changed.
Expected behavior
That the deployment gets updated so kubernetes can do a rolling-update

Thx @blazed for reporting this. We pushed a fix, let us know how it works for you.

The fix is in the latest image, tagged with master.

@matyix works as expected now, thanks!


bluestacks-np@nightly: download via aria2 failed

Hello, this is my log:
> scoop install bluestacks-np
WARN  Scoop uses 'aria2c' for multi-connection downloads.
WARN  Should it cause issues, run 'scoop config aria2-enabled false' to disable it.
WARN  This is a nightly version. Downloaded files won't be verified.
Installing 'bluestacks-np' (nightly-20200805) [64bit]
Starting download with aria2 ...
Download: [#7dfa4f 0B/0B CN:1 DL:0B]
Download: 08/05 22:54:53 [ERROR] CUID#8 - Download aborted. URI=https://cloud.bluestacks.com/get_offline_download?os_arch=x64#/setup.7z
Download: Exception: [AbstractCommand.cc:351] errorCode=3 URI=https://cdn3.bluestacks.com/downloads/windows/bgp/<IP_ADDRESS>01/3d2d8c206fa709bad421ffba6ad0e59d/x64/BlueStacks-Installer_<IP_ADDRESS>01_amd64_native.exe?filename=BlueStacks-Installer_<IP_ADDRESS>01_amd64_native_d7900d5e4a625034630ee32d7c4e7643.exe
Download:   -> [HttpSkipResponseCommand.cc:219] errorCode=3 Resource not found
Download: Download Results:
Download: gid   |stat|avg speed  |path/URI
Download: ======+====+===========+=======================================================
Download: 7dfa4f|ERR |       0B/s|C:/Users/username/scoop/cache/bluestacks-np#nightly-20200805#https_cloud.bluestacks.com_get_offline_download_os_arch_x64_setup.7z
Download: Status Legend:
Download: (ERR):error occurred.
Download: aria2 will resume download if the transfer is restarted.
Download: If there are any errors, then see the log file. See '-l' option in help/man page for details.
ERROR Download failed! (Error 3) Resource was not found
ERROR https://cloud.bluestacks.com/get_offline_download?os_arch=x64#/setup.7z
    referer=https://cloud.bluestacks.com/get_offline_download?os_arch=x64#/
    dir=C:\Users\username\scoop\cache
    out=bluestacks-np#nightly-20200805#https_cloud.bluestacks.com_get_offline_download_os_arch_x64_setup.7z

ERROR & 'C:\Users\username\scoop\apps\aria2\current\aria2c.exe' --input-file='C:\Users\username\scoop\cache\bluestacks-np.txt' --user-agent='Scoop/1.0 (+http://scoop.sh/) PowerShell/5.1 (Windows NT 10.0; Win64; x64; Desktop)' --allow-overwrite=true --auto-file-renaming=false --retry-wait=2 --split=5 --max-connection-per-server=5 --min-split-size=5M --console-log-level=warn --enable-color=false --no-conf=true --follow-metalink=true --metalink-preferred-protocol=https --min-tls-version=TLSv1.2 --stop-with-process=13368 --continue

Please try again or create a new issue by using the following link and paste your console output:
https://github.com/TheRandomLabs/scoop-nonportable/issues/new?title=bluestacks-np%40nightly%3a+download+via+aria2+failed

I tried to disable aria2 and it works. I think it was a network error.
Sorry for unnecessary issue


Delete network status controller

Deletes the network status controller and removes all references thereto.

I don't know why it keeps doing this, but the status checks aren't happening even though the pipeline is passing: https://app.circleci.com/pipelines/github/MetaMask/controllers?branch=delete-network-status-controller


libpam-python unmet dependency on Ubuntu 20.04

Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 howdy : Depends: libpam-python but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Have you googled the Depends: * but it is not going to be installed error? Seem to be quite a lot of solutions online


Sorting in python without sort function

A way to sort in python without sort function by ujjwal pratap singh

Wut

lol


Handle invalid HTML better

Bump the version of HTMLCleaner (not technically required but there's been a few bug fixes) and add another setting - to decode <!==> into <!==>
Fixes #2074

+1


Issues in release mode when running Flutter Web

Steps to Reproduce
running: flutter run -d chrome --release --local-engine=host_debug_unopt --web-port=8080
We saw two issues running in release mode today:

The runner doesn't use the given web-port put uses a random port.
After making a change, to make it visible, I needed to run flutter clean to remove the cache. Otherwise my change didn't took effect.

Thanks!

Is it fixed now?

The first issue is fixed, the second issue requires  https://github.com/flutter/flutter/pull/41447 first

Reopen due to rollback


Fix summoning of BSONHandler[Seq[Int]]

Fixes
Fixes implicit resolution of BSONHandler[Seq[Int]] due to a problem in reactivemongo.bson.DefaultBSONHandlers#findWriter

Thanks, rather check the new BSON API. This one will be remove after next major release.

The 2nd commit has the fix...

Hi @cchantep!
I am aware of the new API, and I think it is definitely an improvement over the current API. I am also aware of the compat layer that helps the migration...
The background of this fix is that I am working on using magnolia to derive BSONWriters/BSONReaders/BSONHandlers, and this bug was preventing me to do it for BSONHandlers.
This bug is not a problem for the BSON API...
I will let you know when I have a more polished version, but meanwhile having this bug fixed would be awesome...

Effort based on the old API are not recommended.


Update tables.jl

Pretty sure this is the correct order

Thanks for submitting this PR. This package was created by @jiegillet who is not using Julia anymore, which is why I asked him to move it to JuliaImages last winter. Revisiting and refreshing this package on top of JuliaImages ecosystem is planned as a part of the OSPP (GSoC-like) project. https://julialang.org/jsoc/gsoc/images/#better_qr_code_support_open_ended
There's a potential student on this project, I'll check this out with him by then.

That said, if you are confident about the QR codes details and if you want to maintain and improve this package, I can send you an invitation.

Hi, sorry about not being more informative in my PR, I assume that whoever was responsible for the repo would be able to easily verify it.
Thanks for taking care of the repo @johnnychen94!
I noticed that the google lense app wasn't able to read the QRcodes generated here correctly. I found the same table as @jiegillet and changed the code accordingly, but I couldn't find a more authoritative source. However, the apps I tried works correctly with this fix so it should be fine to merge.

I need to set up CI first before merging this PR; I'll see if I can manage to do it this weekend. I've added this PR to my todo-list but still feel free to ping me if I forget about it.

I'll tag a new minor release for this and it will be very likely to be the last minor release.
In the future, we'll rename this package to QRCodes.jl to introduce the type QRCode for dispatch purposes (#8).
The QR decode is a part of the OSPP project and will be added here as well.


Ignore exp get return on error - 30

[Auto generated]
Number: [#30]

pyhelper-utils(A4Mc4)[PR 30]: Closing issue for PR: Ignore exp get return on error.
PR was closed.


Overlapping with Tree Count due to rendering the respective overlays at different locations on the tree

Hey! I'm attaching a screenshot to demonstrate. Basically, depending on the camera angle, I end up with the timer from this plugin and the count of woodcutters on the tree from Tree Count overlapping each other. I can partially mitigate the issue by changing the colors of each plugins' respective text outputs but its still difficult to read.

You can see the green underneath the yellow here.
I was wondering if you'd be open to considering relocating the timer in this plugin to the same attachment point on the tree as the count from Tree Count?
I looked and while I'm not great with Java, I'm learning, and it looks like line 80 in TreeDespawnTimerOverlay.java is setting the point to the base of the tree point from line 43, while Tree Count attaches to the center of the tree's click box. This causes the two to overlap instead of moving together seamlessly when the camera angle changes.
Thanks in advance.

Hi. I'd like to understand the use-case of having both the Tree Count plugin and the Tree Despawn Timer plugin installed? As far as I understand, the Tree Despawn Timer plugin should address the main use cases of the Tree Count plugin (the timer changes to indicate when 10+ people are chopping a tree).

Sure! Primarily, I use a couple of debug options in that plugin in an unconventional way. I have sight issues so I use the tree hull drawing debug option to make the click box more visible. I also use the Show Player Orientation indicator when I'm in the wild to make it easier for me to tell if someone is about to try to PK me; like let's say their direction changes from south to northeast, and I'm northeast of them at the fountain of rune, I'll see that and know to get ready for a fight.
Additionally, the exact count of choppers is helpful to visually know exactly how many people over the maximum bonus are on a tree so I can decide to hop to another tree with fewer people actively chopping (to try to maximize the bonus across an area).
Now that I'm thinking about this, I have a feature request for Tree Count I'll be submitting as well for my sight issue. It would be helpful if the tree's click box changed to a different color when there are more than 10 players.
Anyway, those are the use cases I have. It would be great if the two overlays can play better together regardless of my own personal use-cases though.

Thank you for sharing! I ask because I don't think the two plugins are ideal to be used together. They totally can be, but they are designed to be used just one or the other because they have a huge overlap of features for most people.
I don't think there's a great way to have them not overlap. I think if either plugin moved the anchor point, they'd overlap all the time since they'd always be placed on top of each other.
Technically, the only solution I can think of is if both plugins anchored to the same world space, but one of them offset the position in screen space so the text would have the same origin and rotate together, but one would be placed above the other on the screen. For that, the plugin would likely need to detect the presence of the other to know to move out of the way. But then it'd only work for that specific plugin. If any other plugin in the future added some overlay on a tree, it'd have the same issue again.

Understood, thanks. No worries.
Since this is more for my own personal accessibility issues, I have another idea.
Would you consider accepting a PR to have your overlay display the exact count? Typically, if I see there's over 10 people chopping on one tree, but only 1 person chopping a second tree, I'll stay where I am but if there's over 10 on one and 8 or 9 on another, I'll move over to the second tree. So the exact count feature is really handy for distribution of the bonus.
I was thinking if Tree Despawn Timer would display the exact count, then I can just disable Tree Count or hot patch its primary use-case (the count overlay) to not display in my local copy while repurposing its debug features for my personal accessibility needs :)

There is a debug mode for Tree Despawn Timer which can show additional information like the number of players chopping a tree. It has slightly more information than what you want, but it's already built-in so you can easily enable it without any code changes.
In the settings set Debug Level to Verbose and you'll be able to see something like this:

perfect, thanks!

Oh, whoa, lots of chat spam with that option. Not quite as perfect. :(

The chat messages should be properly tagged as game chat so if you switch to a different chat tab then you won't see those.
But yeah there are debug messages in chat since this is a debug mode intended for developers unfortunately.


[explorer] task: apply eslint rules in test folder

What was the issue?

e2e and tests are not apply eslint rules

What's the fix?

implement eslint rules from _symbol submodule
fixed lint error

Note: It will wait for PR #1109 to merge.

I had rebased with the latest dev branch.
patch some fix for lint issue


Apply for authorization to publish with the Chinese version of Minecraft

the Chinese version minecraft https://mc.163.com/
Apply for authorization to publish with the Chinese version of Minecraft
Published in mod version of Minecraft
forge：1.16 and 1.15
fabric：Since the Chinese version of Minecraft does not have a fabric core
minecraft china agent   https://mc.163.com/
Chinese translation：
我的世界中国版
申请授权发布Minecraft中国版
申请授权发布版本
forge：1.16 和 1.15
fabric ：由于Minecraft中文版没有fabric
minecraft 中国版  代理商： https://mc.163.com/

Contact email<EMAIL_ADDRESS>


concurrent editing of maps

Describe the Bug
concurrent editing of maps does not work with the same user
Steps to Reproduce the Problem
with two browsers:

log in in each of them
go to the same map
do changes

Expected Result
that the changes are also shown in the other browser
Actual Result
the changes are not shown
PermaplanT version
master
Operating System
Linux
Browser
Firefox
Versions of other relevant software/extensions
No response
Additional info/logs
No response

@Bushuo does concurrent editing of a map works for you? Are there some restrictions someone should know?

@Bushuo does concurrent editing of a map works for you? Are there some restrictions someone should know?

Currently it only works with different users.


error connecting to settings repository

new installation of vscodium on ubuntu
I install "Sync Settings"
Sync Settings: Open the repository settings
set the git repository
Sync Settings: Download (repository -> user)
[info] repository: {"type":"git","url":"https://github.com/beauxq/settings","branch":"master"}
[info] profile: main
[error] Error: /usr/bin/gh auth git-credential get: line 1: /usr/bin/gh: No such file or directory
fatal: could not read Username for 'https://github.com': No such device or address

[error] The git repository can not be pulled
[error] Error: The repository wasn't successfully initialized so the current operation can't continue. Please check the previous error.

It says /usr/bin/gh: No such file or directory but that file does exist on my system.
$ which gh
/usr/bin/gh
$ gh --version
gh version 2.51.0 (2024-06-13)
https://github.com/cli/cli/releases/tag/v2.51.0

If I use the "Clone Git Repository" on the vscodium welcome page, it is able to download the repository.

Do you have an alias to replace git with gh?
https://github.com/beauxq/settings needs to exists.
Did you use snap to install VSCodium?
You will need to do Sync Settings: Upload (user -> repository) (save your current config) before any download.

Do you have an alias to replace git with gh?

No, gh is https://cli.github.com/

https://github.com/beauxq/settings needs to exists.

You will need to do Sync Settings: Upload (user -> repository) (save your current config) before any download.

It exists, and I have uploaded settings to it from a different (Windows) computer.  Only this Ubuntu computer has the problem.

Did you use snap to install VSCodium?

flatpak is what I used.

It exists, and I have uploaded settings to it from a different (Windows) computer. Only this Ubuntu computer has the problem.
flatpak is what I used.

I switched to the .deb version and it works. So this seems to be a problem with flatpak.


Toolchain: Preloaded assets ignored?

I've started getting these errors in the VM's console.

It is true, our assets are being loaded twice.

To contrast, the real website works fine. The preloads get converted in to HTTP/Push requests.

There's still a lot of curious idle time though. Why?


Platform Engineering Maturity Model v1

This is the culmination of WG Platforms' last few months of effort to provide a next step for readers of the Platforms White Paper. We'll merge this to main to finalize publication and represent final acceptance by the TAG and CNCF TOC.

@cjyabraham can you please force the Netlify site to render for this PR? In fact it would be great if from now on it rendered for everything even if outside of the website dir - could you do that now? Thanks!

Looks like my attempt to always force builds has worked. Here is the preview.
I'll close out the PR I created for this as the change is now included in this PR.

Thank you @cjyabraham, looks great and already very helpful in discovering issues!
Changes to the base branch for this PR will be a perfect way to test your changes :wink:, as I understand they should each trigger a redeploy.

@cjyabraham can you please trigger a rebuild following the latest PR merge? Thanks.

@cjyabraham can you please trigger a rebuild following the latest PR merge? Thanks.

Which PR merge are you referring to?

Personally, seeing it live, I think it's a little bit funky to have the Context tab alongside the other aspects. It feels like something that needs to be separated or perhaps precede that functional section of tabs. Placing the Context content before the aspects table seems like an appropriate place and could give the web content some needed length.
Separately, those tabs are going to be difficult for some users to notice at first, so a quick instruction statement or tooltip prior to the tabs section might be nice.
Quick note, the target hashes in the links in the aspects table (first column), don't match the tab targets (which look like random chars)

Personally, seeing it live, I think it's a little bit funky to have the Context tab alongside the other aspects. It feels like something that needs to be separated or perhaps precede that functional section of tabs. Placing the Context content before the aspects table seems like an appropriate place and could give the web content some needed length.
Separately thought, those tabs are going to be difficult for some users to notice at first so a quick instruction statement or tooltip prior to the tabs section might be nice.
Last note, the target hashes in the links in the aspects table (first column), don't match the tab targets (which look like random chars)

I feel like the same,  tabs should look different than the links, at first look the same, but super difficult to differentiate at the very first notice.

@joshgav @roberthstrand
Hey All - I don't know if you're still accepting requests in terms of some edits, but I wanted to run something by you in terms of the overall definition of Platform Engineering.
I came up with the following definition:
"Platform Engineering is a list of integrated capabilities that are created according to what the platform user needs (the platform user is the internal engineer/developer using the platform)."
From what I've seen, it's really the ability to create internal systems for internal use. It's like the employees working in other engineering teams are your customers, and they should almost be treated as such from a product perspective... that product being the internal platform you're creating to make processes more repeatable for them.
Just my two cents! Please let me know if this sounds good and I'm happy to answer any questions.

Adding another comment/extension to my comment from two days ago.
I did extensive research this weekend in all avenues of forums to comments to articles to really nail down exactly how people are viewing Platform Engineering right now and it turns out that the majority of people aren’t 100% sure what it is. There’s still a lot of confusion around it. The majority of the confusion comes from wondering what the differences are between DevOps, SRE, and the other avenues of engineering out there.
I believe the best differentiation is: Platform Engineering provides a focus for building internal tools (like self-service tools) to make the lives of internal engineers easier. They have a self-service method (a UI, CLI, or some automation/repeatable process) of creating the exact environment they need in a way that they don’t need to be bogged down by the details of how it’s done. It’s treating internal engineering as a product within itself.

@AdminTurnedDevOps These are fantastic points and absolutely love that you are identifying the needs in the community and turning them into opportunities for this group to help give clarification!
I believe that the points you have raised are best suited to a revamp on the Glossary which I believe we are going to undertake post KubeCon taking on board what we have heard recently on group calls preparing this paper, your comments, and anything we can gather while at the event in Chicago. I have added you as a cc on the issue here: https://github.com/cncf/tag-app-delivery/issues/485

@abangser Thank you! I appreciate it :).

Code owners PTAL, we need your approval to merge today:

@roberthstrand
@AloisReitbauer
@AlexsJones
@lianmakesthings
@kgamanji
@justincormack
@angellk


DFBUGS-922: [release-4.15-compatibility] Fix security issue: Backtracking regular expressions

Fixes: https://issues.redhat.com/browse/DFBUGS-922

/approve
/lgtm


input cannot trigger search on some mobile browsers

When I type the input in the search box, there is no dropdown showing the message "Searching" or "Result not found". Only until I add a space would would the dropdown box appears.
This issue can be easily reproduced on the demo page http://ghiden.github.io/angucomplete-alt/ on the following mobile browsers:
chinese input on iPhone Safari
chinese input on iPhone Chrome
any input on Android Firefox
[cross post from https://github.com/darylrowland/angucomplete/issues/78]

+1, have same issue with Android - no dropdown.

For the people using Iphones.  Are you using IOS 8 with a custom keyboard?  If so, this is a issue I have found out exactly what the problem is.

Hello I have some problem, but only in iphone and only in one view.
How it possible ?

I have same problem, we are testing our application over mobile safari dropdown text is "searching" without any result. Its works on all other browsers

I just tested on my iPhone 6 and works fine. Not sure about Chinese characters though.

It's really a issue, because after choose a Chinese word, the keyup event will not triggered.

@charlesLin I wish I could help but I can't really do this as I don't speak Chinese.
Is this only for mobile or does this happen on desktop too?

It happen at Windows and OSX desktop.
I temporary change the following code
// register events
inputField.on('keydown', keydownHandler);
inputField.on('keyup', keyupHandler);
to
// register events
inputField.on('keydown', keydownHandler);
inputField.on('input', keyupHandler);
to avoid this issue.

I changed code by @charlesLin 's way. It's success .great!

I have the same problem on Firefox for Android, but It was working well few days ago. After I did an update to my web app, It doesn't work.
Now, It shows dropdown when I write a letter and a white space.

I'm having an issue specific to Android phones. I am only seeing "Searching.." when I click the input box. It never shows the results - even as I type. I had the same issue on iPhone but fixed it by adding on-tap="selectResult(result) to the "angucomplete-row" div.
Making the change @charlesLin suggested above doesn't seem to be working for me and in face breaks functionality on Desktop Chrome. I'm sure anyone using angucomplete-alt is having this same issue on Android devices. Does anyone have a fix?

i am using this plugin in my ionic app i have add   to run social authentication (google) in inapp browser all works perfectly
but angucomplete not able to search using mobile keyboard
Pls  help !

anyone solved this issue ?


Support optional External Trigger for counting reference.

Hello, me again.
To better measure the accuracy of my 10 MHz xtal, I wanted to use an external 1PPS reference signal (from a GPS receiver) to trigger the pulse counts.  This change enables this mode, selected by a different initializer call.
I found that the internal interval counter was ~15ppm slow compared to the external 1PPS reference.  That's insignificant for many applications, but I'm trying to measure accuracy in the parts per billion.
This change is layered on top of my previous PR to use the ESP32 hardware pulse counter (to allow it to count frequencies as high as 10MHz).  However, the change is in principal independent of that change.

Also, FYI, I ported all this to the RP2040:
https://github.com/dpwe/FreqCountRP2

Thanks for your work 👍


Store wrapped node dependencies in Nova extension global storage, instead of within extension directory

https://docs.nova.app/api-reference/extension/#globalstoragepath
This should avoid crazy reloads that crash the extension service during development, and seems more like the right thing to do generally.

Done in https://github.com/apexskier/nova-typescript/commit/80fb5a69357440efa54f88a5928f24b8ffc53337


2 WBTCs on moonbeam

https://moonscan.io/address/0x922d641a426dcffaef11680e5358f34d97d112e1
https://moonscan.io/address/0x1DC78Acda13a8BC4408B207c9E48CDBc096D95e0
how should I handle alias in the addressbook?

marking aWBTC for the anyswap WBTC, leaving existing one unchanged


hasPaid should be persistent

i will look at this since i have some experience in json storage for lessons


JS select() not working in Chrome or Chromium

After showing or hiding the criteria DIV, expected behavior is that the eventDate field will be select()ed, and this is not working in Chromium.

No workarounds found...

Appears to be a bug in the browser.  No known fix.  Leaving this open for a while.

Fixed.  The issue is that only Opera and Chrome support input[type=date] and input[type=time] fields, and those fields do not support .select().  Since Firefox, Safari, and Internet Explorer don't support those field types, they're treating them as regular text input fields, which DO support .select().
What I have found is that the date and time field types support .focus(), which is good enough for us.  So what I've done is turned each .select() call that references a date or time field into a focus and then a .select().  This way, at a minimum we will see the desired .focus() behavior, and those browsers which lack support for date and time fields will then do a .select():
document.getElementById('eventTime').focus();  /* for Chrome, Opera */
document.getElementById('eventTime').select();  /* for all other browsers */

Issue considered resolved.


Consider resolving IAuthenticationSchemeProvider from DI in Invoke in AuthenticationMiddleware

In short, accepting the IAuthenticationSchemeProvider as a ctor to the AuthenticationMiddleware forces it to be a singleton. I know the default is deigned that way and put in DI that way, but if someone wants to replace it (say with something that hits a DB) then it's difficult.

Interesting. You wouldn't be able to use most of the AddFacebook/OIDC extensions with that pattern as they all rely on the singleton. It would be a pretty sharp one-or-the-other divergence.
You may be better off replacing the IAuthenticationService with something that doesn't use IAuthenticationSchemeProvider at all, and IAuthenticationService is already scoped.

Parking in backlog. We will look into this again when we eventually embark on proper multi-tenant support.


Autocompletion Password Manager

⚠ Please verify that this bug has NOT been raised before.

[X] I checked and didn't find similar issue

🛡 Security Policy

[X] I agree to have read this project Security Policy

Description
When I am using my password manager to fill my login data, then I get every time the message that my credentials are wrong.
When I type the exact credentials manually, then it works.
👟 Reproduction steps
Fill your credentials automatic via your password manager.
👀 Expected behavior
User get logged in.
😓 Actual Behavior
Get an error message that the credentials are wrong.
🐻 Uptime-Kuma Version
1.18.5
💻 Operating System and Arch
Raspbian Arch64
🌐 Browser
Firefox 105.0.3
🐋 Docker Version
Docker 20.10.5+dfsg1
🟩 NodeJS Version
No response
📝 Relevant log output
No response

Firefox's password manager?

Cannot reproduce.

(Working) Firefox 105.0.3 on Windows
(Working) Firefox ESR 91.13.0 on Raspbian (32bit)
(Working) Firefox for Android 105.2.0

And I think it is just two very simple  html tags, nothing can be fixed. I assume that it is a problem of your side. I change it to help.

Bitwarden is my password manager.

Cannot reproduce.

(Working) Firefox 105.0.3 on Windows

(Working) Firefox ESR 91.13.0 on Raspbian (32bit)

(Working) Firefox for Android 105.2.0

And I think it is just two very simple  html tags, nothing can be fixed. I assume that it is a problem of your side. I change it to help.

I can show you the problem if you want.

Also cannot reproduce using Bitwarden.
Please check using Developer Tools, you can see what data sent to your server here.

 that is request if my pw manager fill it and i click login

the password is correct

It sounds weird, because the client is sending the same data to the server and only reject Bitwarden one.
Copy and paste this line in the text editor.
And then type the password manually, and also copy an paste the line in the same text editor.
Try to compare two lines, check whether they are 100% match using tools.
If they are matched, I honestly don't know what is happening.


[Security] Fix ReDoS

Fix ReDoS
Reported in https://www.huntr.dev/bounties/423e2208-6064-4150-b6f5-22f15f540259/, you can access this using GitHub.
Please validate using Mark as valid and also confirm the fix. Thank you.

@ready-research please provide a test

done here: https://github.com/vpulim/node-soap/pull/1169

Please validate the above huntr link using Mark as valid and also confirm the fix. Thank you.

@jsdevel - A test was already merged from #1177 / #1169. Just need to merge the fix itself and respond to @ready-research to "mark as valid" in their form.

Hi @smokhov , @jsdevel, is there any plan to merge this and release a new version with the vulnerability fixed?

@ready-research please rebase/get the build to pass.

Hi All,
Provided links on PRs do not contain any test, so I don't really get it. As @jsdevel requested it requires a test.

Odd, I really thought the mentioned PR(s) really provided a test.
@w666 -- what kind of test and in which file would be suitable for this? I could maybe look into creating a test, but I am not at all an expert here. Does handleResponse() itself have a test? Would the test be in client-test.js, server-response-event-test.js, or some place elsewhere?

Hi @smokhov,
I looked on this PR again, then on the example code provided on the huntr.dev, then double checked locally the provided fix and then unfixed code. In both cases it works about the same way.
I will investigate this CVE when I have time, but at this point there is not enough evidence.
Please correct me if I am wrong.
Example below: first is not fixed code, then provided fix

It grows consistently from your samples. The fixed code's lowest 308/395 ms is 23% improvement. The other two are more significant 33-37%. It is possible it were worse before #1177 were merged? The higher you go is where it becomes more problematic (assuming busy environments with lots calls, but tbf I am not sure how prevalent those are to be DoS'ed...).
Overall, however, the fix is an improvement in runtime, if a proper test is provided, IMO it should be merged, but otherwise will leave it up to you to make the final determination.

Okay, looked into it, provided description and the example on huntr is not redos, it does not fix the issue, maybe it was the case some time ago, but not now.
The real redos issue looks like this
let regexp = /^(\d+)*$/;

let str = "012345678901234567890123456789z";

console.log(regexp.test(str));

it consumes 100% cpu and runs for a very long time.
I agree that provided solution work a bit faster, but still need to take look on other options.

Description for this PR should be like
Improve regex to handle nested comments more efficiently, ensure that the regex does not backtrack excessively

I think files in Dummy__should_ignore_commented_envelope_in_response validate that regex still works. So, yeah, fix can be accepted, we already have a test.
Will keep this PR open for a bit, just in case.

I had to revert this commit because it there was an error in the regex, somehow missed that.


Using single nginx for routing traffic to all services

Closes #6
All services are reachable accordint to the spec, but the full stack request doesn't seem to work yet :(

Django is broken it seems 🤔 accessing the http://localhost:8000/cfg/admin/ panel is not possible in the current setup

I tried this locally the other day @Uxio0 but seems to be broken for me. Was there a change to the env vars too?

Hi @jpalvarezl , there were changes to env vars but they are uploaded to git. No changes in .env. What's the error?

I think that the web containers cannot find each other 🤔

I think I am also missing the correct contents for cfg.env , cgw.env and txs.env. For example, cgw.env the value for CONFIG_SERVICE_URI would have to somehow point to the container but since we are routing all through nginx I am not sure what value to give it. We will have the same issue when setting the vpcTransactionService and the transactionService URLs
Note: I was able to fix the above problem by setting the db container port.

You don't need to set ports to be able to access them inside docker, so just using the service name should do it