v5 Documentation

Hey, we are still using the v5 styling evergreen and are wondering where we could find the component documenation
As the main website has been updated to the latest version but it's not clear where to find it from previous versions
Regards,

You can download the v5.1.2 source code from this link  and run the docs locally form the docs folder.

You can download the source code  for v5.1.2 from this link and run the docs locally from the docs folder.

Yeah, that's one way - for what it's worth component APIs also haven't changed too much between v5 and v6 (just visual styles...and even then, we've provided a way to get backwards-compatible styling via classicTheme).
If you're mostly looking for component props APIs, then you should just be able to use the EG website as-is. Let me know if this doesn't work for your use cases though!


Release 0.10.2

I dont see any breaking changes, since 0.10.1

Me neither.

Published: https://crates.io/crates/gif/0.10.2


Dependency issue when deploying with Netlify after upgrade to Astro 3.0

With the latest updates in #76 there have been some issues with the deployment on Netlify:
7:30:20 PM: build-image version: 73f16e520fdddf409be6f578c8c2c8941bdf32d3 (focal)
7:30:20 PM: buildbot version: a11acbb405af91d225b392f15bc00822dbffb366
7:30:20 PM: Fetching cached dependencies
7:30:20 PM: Starting to download cache of 177.4MB
7:30:24 PM: Finished downloading cache in 3.8s
7:30:24 PM: Starting to extract cache
7:30:26 PM: Finished extracting cache in 2.414s
7:30:26 PM: Finished fetching cache in 6.264s
7:30:26 PM: Starting to prepare the repo for build
7:30:27 PM: Preparing Git Reference refs/heads/main
7:30:28 PM: Starting to install dependencies
7:30:28 PM: Python version set to 3.8
7:30:28 PM: Attempting Ruby version 2.7.2, read from environment
7:30:29 PM: Using Ruby version 2.7.2
7:30:29 PM: Started restoring cached go cache
7:30:29 PM: Finished restoring cached go cache
7:30:29 PM: go version go1.19.12 linux/amd64
7:30:30 PM: Using PHP version 8.0
7:30:31 PM: Started restoring cached Node.js version
7:30:31 PM: Finished restoring cached Node.js version
7:30:31 PM: Attempting Node.js version 'v20.5.1' from .nvmrc
7:30:32 PM: Downloading and installing node v20.5.1...
7:30:32 PM: Downloading https://nodejs.org/dist/v20.5.1/node-v20.5.1-linux-x64.tar.xz...
7:30:32 PM: Computing checksum with sha256sum
7:30:32 PM: Checksums matched!
7:30:34 PM: Now using node v20.5.1 (npm v9.8.0)
7:30:35 PM: Enabling Node.js Corepack
7:30:35 PM: Started restoring cached build plugins
7:30:35 PM: Finished restoring cached build plugins
7:30:35 PM: Started restoring cached corepack dependencies
7:30:35 PM: Finished restoring cached corepack dependencies
7:30:35 PM: No npm workspaces detected
7:30:35 PM: Started restoring cached node modules
7:30:35 PM: Finished restoring cached node modules
7:30:35 PM: Installing npm packages using npm version 9.8.0
7:30:38 PM: npm ERR! code ERESOLVE
7:30:38 PM: npm ERR! ERESOLVE could not resolve
7:30:38 PM: npm ERR!
7:30:38 PM: npm ERR! While resolving<EMAIL_ADDRESS>7:30:38 PM: npm ERR! Found<EMAIL_ADDRESS>7:30:38 PM: npm ERR! node_modules/@astrojs/mdx
7:30:38 PM: npm ERR!   dev<EMAIL_ADDRESS>from the root project
7:30:38 PM: npm ERR!
7:30:38 PM: npm ERR! Could not resolve dependency:
7:30:38 PM: npm ERR! dev<EMAIL_ADDRESS>from the root project
7:30:38 PM: npm ERR!
7:30:38 PM: npm ERR! Conflicting peer dependency<EMAIL_ADDRESS>7:30:38 PM: npm ERR! node_modules/astro
7:30:38 PM: npm ERR!   peer<EMAIL_ADDRESS>from<EMAIL_ADDRESS>7:30:38 PM: npm ERR!   node_modules/@astrojs/mdx
7:30:38 PM: npm ERR!     dev<EMAIL_ADDRESS>from the root project
7:30:38 PM: npm ERR!
7:30:38 PM: npm ERR! Fix the upstream dependency conflict, or retry
7:30:38 PM: npm ERR! this command with --force or --legacy-peer-deps
7:30:38 PM: npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
7:30:38 PM: npm ERR!
7:30:38 PM: npm ERR!
7:30:38 PM: npm ERR! For a full report see:
7:30:38 PM: npm ERR! /opt/buildhome/.npm/_logs/2023-09-09T17_30_35_533Z-eresolve-report.txt
7:30:38 PM: npm ERR! A complete log of this run can be found in: /opt/buildhome/.npm/_logs/2023-09-09T17_30_35_533Z-debug-0.log
7:30:38 PM: Error during npm install
7:30:38 PM: Build was terminated: dependency_installation script returned non-zero exit code: 1
7:30:38 PM: Failing build: Failed to install dependencies
7:30:38 PM: Finished processing build request in 17.78s

I wonder if its just a cache issue. I just went to test it on a clean install out of curiosity and deployment went fine.
The only difference seems to be that nothing is cached for this new deploy build:
11:28:01 AM: build-image version: e70ad4c6ce38c2b84143366f988574c7090c7a66 (focal)
11:28:01 AM: buildbot version: 2bc8aa20325a7d9f0a817afc04cb3ec2786cb171
11:28:02 AM: Fetching cached dependencies
11:28:02 AM: Failed to fetch cache, continuing with build
11:28:02 AM: Starting to prepare the repo for build
11:28:02 AM: No cached dependencies found. Cloning fresh repo
...

Deploy logs here
Maybe one of the clear cache and deploy options instead of a regular deploy?

@david-abell you are right! 😊 Ran another deploy with the option 'clear cache' and this time around, it worked! Noticed a small bug with the modal on Safari, so I'll address that in the components repo. Thanks again David!

No problem, glad it was an easy fix!


Random test failures during integration tests with SQLite

Describe the bug
When running the .NET integration tests, there are random errors in the SQlite driver that cause a "BadRequest" to be returned, instead of an "OK"
To Reproduce

Run the Integration test suite
If no failure, run it again

Expected behavior
Tests should all return successfully.
What platforms?

Server (ASP.NET Framework, ASP.NET Core, NodeJS): .NET Core 5.0.0-beta.10 or beyond
.NET Integration Test project

Additional context
Likely an issue with the SQLite EF driver when used in in-memory mode, but since the errors are transient, it's going to be hard to debug.

Fixed in #272
The root cause was that when comparing DateTimeOffset, I did not specify the culture.  The fix was to specify a specific culture (Invariant).


How to implement the swe agent on local issues and local repo path inside local machine?

Describe the issue
I want to know which command will be used to operate the swe agent on the local repo inside the local machine. Also how to give the data_path repo_path to agent? The  sample I got is below but do not know how to give data path and repo path from local machine
python3.9 run.py --model_name gpt4 --data_path  " " --repo_path " "   --config_file config/default.yaml --per_instance_cost_limit 2.00 --apply_patch_locally
Suggest an improvement to documentation
No response

Sorry, I'm a bit confused to by the question. Does this not work?
python3.9 run.py --model_name gpt4 --data_path /path/to/a/textfile.md --repo_path /path/to/your/repo --config_file config/default.yaml --per_instance_cost_limit 2.00 --apply_patch_locally

Just to double check, you're using the local installation of swe-agent, right? (for the docker one, you'd have to make sure to mount things into the container first and then point to the mount points -- but we don't really recommend using the all-in-docker installation anymore because it's just easier to install swe-agent properly)

No, I am confused in giving the data_path and repo_path in this command.
Let's say I have a repo(project) in Local disk D space and I want to
resolve the issue inside of it. How can I give the path in this command?
That I want to ask.
On Mon, 20 May 2024 at 20:50, Kilian Lieret @.***>
wrote:

Sorry, I'm a bit confused to by the question. Does this not work?
python3.9 run.py --model_name gpt4 --data_path /path/to/a/textfile.md
--repo_path /path/to/your/repo --config_file config/default.yaml
--per_instance_cost_limit 2.00 --apply_patch_locally
—
Reply to this email directly, view it on GitHub
https://github.com/princeton-nlp/SWE-agent/issues/376#issuecomment-2120727848,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX5LCHOQXRP6Z4AYX67JNFLZDILU3AVCNFSM6AAAAABH75BBYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRQG4ZDOOBUHA
.
You are receiving this because you authored the thread.Message ID:
@.***>

I have cloned your repo and put the keys inside it and just ran the
setup.sh. Now, the Question is! I want to resolve the issue of the project
which is not on Git Hub, it is located on my local machine. So in this way,
I want to resolve the local issue in the local repo. But I am stuck between
giving the data_path and repo_path.
On Mon, 20 May 2024 at 20:51, Kilian Lieret @.***>
wrote:

Just to double check, you're using the local installation of swe-agent,
right? (for the docker one, you'd have to make sure to mount things into
the container first and then point to the mount points -- but we don't
really recommend using the all-in-docker installation anymore because it's
just easier to install swe-agent properly)
—
Reply to this email directly, view it on GitHub
https://github.com/princeton-nlp/SWE-agent/issues/376#issuecomment-2120729657,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AX5LCHK3PIID4GHZOJPVSXLZDILZHAVCNFSM6AAAAABH75BBYSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMRQG4ZDSNRVG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

You simply give it the paths on your local machine. It doesn't have to be on github. data_path needs to point to a text file containing the issue, repo_path needs to be the path to your directory with the code.

Can you put any video link how to do that?


[UI/INPUT] expose/change mouseOverElement as public property

PR Details
Exposes the determined mouseOverElement as public property UIElementUnderMouseCursor.
This could be used to consume a click when handling mouse input.
Description
in file UIRenderFeature.Picking.cs:
the variable mouseOverElement (in private UpdateMouseOver() ) will be a public property with the name UIElementUnderMouseCursor
Related Issue
#508
Motivation and Context
I havent found a method to get the control under the mouse,
which i need to consume a click in my input handling when the click occured over an uiElement.
example:
if the mouseclick is over an ui-button,
currently the linked buttonevent will be fired and IsMouseButtonPressed is true
resulting in my selected unit moving AND a fired button event.
in this case only the button even should fire
and the test of IsMouseButtonPressed should be "blocked"
if ( uiRenderFeature.UIElementUnderMouseCursor == null )
now does the job now for me.
Types of changes

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

Checklist

[x] My change requires a change to the documentation.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.

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


android can't connect to fake tls proxy

Hi, i have some strange problem - on IOS/MAC proxy works perfectly but on Android - they can't connect, android devices have last telegram version from GPlay, i tested it with 3 different phones....

Hi, does it work with ad tag disabled?

@alexbers
found problem (not in proxy), when you copy link from android and tg desktop vs iOS client - you have different link.
From desktop and android it start with ee
From ios it start from another data (but in UI you see ee)
iOS client works with all link (for iOS and for Android) but desktop and android only works with true ee secret...

interesting, that in you proxy link example in https://habr.com/ru/post/461171/ you post incorrect link (looks that from iOS client) - this is same bug, links with 7 only iOS can add

tg://proxy?server=<IP_ADDRESS>&port=3256&secret=7gAAAAAAAAAAAAAAAAAAAABnb29nbGUuY29t


Scrolls To Top

For some reason it keeps on scrolling to the top. Here is a link to the page and the repository
https://creation.cortain.com/about/
https://github.com/ChrisStayte/Cortain-Creation
It's what you click on "Our Philosophy, Mission, Vision" Tabs in the middle of the page.

The tab script and Smooth Scroll are conflicting with each other.
At the time that SmoothScroll runs, the target .tab-pane has display: none. Smooth Scroll thinks it doesn't exist, and scrolls you to the top.
I couldn't find any JS controlling the tabs, though, so I'm not sure how to fix it.

This was an issue with integrating it with bootstrap. I changed it from href to anything else and functionality worked both on smooth scroll and bootstrap.


Missing dependencies in pyproject.toml

For converting to a conda package down the line, the dependencies must be properly specified.
At quick glance I see imports from napari, so that should be listed.
Also I see an import from dask.array, so listing dask[array] and zarr.
(these are obviously dependencies of dependencies, but should be made explicit in pyproject.toml if they are directly imported)

Thanks for your recommendation @psobolewskiPhD!
Certainly, the idea is to convert it into a conda package in the near future, so it is helpful to reduce the requirements down the line.
The list of dependencies was updated in #5. I'll continue checking for dependencies that are still missing in pyproject.toml later.


Implement ruby logical statement

From the Ruby::LogicalStatement class
Logical Statements are guaranteed to return boolean
either :and or :or, which may be written as && and ||
Also they guarantee that the right expression does not get evaluated
if the whole expression fails on the left expression.
ie: false && non_existant_method
will never call the non_existant_method , but instead evaluate to false
Vool has no concept of this, so the Statement is expanded into the if
that it really is

Hi!
We want to start making small contributions to the project Rubyx under Rgsoc 2020.
If possible, please explain the issue so that we can get started.
Thanks for your time.


Add Function Support Page

Add an illustrated HTML version of the KaTeX function support page.
Add buttons to the KaTeX home page that link to the proposed function support page.

I’ve put a temporary preview version of the proposed function support page here.

@ronkok looks good except there seems to be an encoding issue with function-support.html.  Github is showing it as a single line and there are ^M.  Could you have a look at that?

Done.

Thanks.  Looks great!


dhparam app only allows generation of 2048 bit keys

The default algorithm is now fips186_4 which only allows 2048 bit keys.
1024 bit keys are no longer secure.
What should this app do with 1024, 3072, and 4096 bit sizes? As it will currently produce an error.
We could generate legacy for the 1024 case with a warning?
It could spit out a named group for larger sizes.
Ideally this app should die at some point since 'named group' safe primes are a better option.
If it produces values for these other sizes then a warning would also be needed..
NOTE: genpkey handles all of the dh options for fips186_2, fips_1864, group, generator specified in EVP_PKEY-DH.pod

The default algorithm is now fips186_4 which only allows 2048 bit keys.

In #13228, I propose that we change this to be PKCS3 instead for backwards compatibility reasons.

I think that this can be closed now?

Yes.


Track player-applied debuffs on enemies

Due to way events are currently requested from fflogs, debuff statuses applied to the boss by players other than the one being parsed (such as TA, Foe Req, etc) are not reported at all.
It'll be good to tweak/extend the event data to include these, as they can have a marked effect on output, and as such, what should be reported.
Currently known debuffs w/ IDs:
819  - Slashing Resistance Down (various)
820  - Piercing Resistance Down (Disembowel)
638  - Vulnerability Up (Trick Attack)
821  - Blunt Resistance Down (Dragon kick)
1221 - Chain Stratagem
140  - Foe Requiem (Debuff)
1208 - Vulnerability Up (Hypercharge)
493  - Physical Vulnerability Up (Radiant Shield)
494  - Magic Vulnerability Up (Contagion)
1291 - Ruination

Implemented as part of 8a204d4. Events should just be there now.
Let me know if there's any issues, or any missing.


API fails for projects with spaces in names when columns are enabled

Environment

Phabfive version: 0.4.0
API/Endpoint: Conduit
Operating System: Ubuntu 24.04.1 LTS

Steps to Reproduce

Use the Conduit/Phabricator API to make a request for a project with a name containing spaces.
Ensure the "projects" constraint is enabled.
Ensure the "column" attachment is enabled.
API fails to return a response (no output).

Config
maniphest.py line 46:
constraints["projects"] = [str(project)]

maniphest.py line 49:
"columns": True

Expected Behavior

The API should return a valid response for a project with names that contain spaces when the 'columns' attachment is enabled.

Observed Behavior

The API fails to return a response or outputs an empty result when requesting a project with spaces in their names while 'columns' is enabled.

Additional Info

No error messages were detected.
This issue does not occur for projects without spaces in their names.

Duplicate of dynamist/phabfive#65


Setting JSON return type nullfies any filters

curl --silent "https://ec2.shop?filter=m4" --header 'accept: json'
will seemingly return all instance types whereas
curl --silent "https://ec2.shop?filter=m4"
will return just m4 instances

@hahuang65 Sorry for the issue. It should be fixed now.

Awesome! Thanks for the quick fix!

``


Change Source for Streaming video

i folow tutorial http://codepen.io/sampotts/pen/JKEMqB for set player from streaming.
So when video is ended, i need change source of streaming for play next video.
So how can i do that.

Hi,
You will need to subscribe to the 'ended' event of the HTML5 video element, and add the new HLS source  in its callback function.
Something like this:
(function () {
  var video = document.querySelector('#player');

  if (Hls.isSupported()) {
    // add video end event listener
    video.addEventListener('ended',function(event){
          if(count == 0){   // prevent looping
                 hlsPlyrLoadVideo('https://mnmedias.api.telequebec.tv/m3u8/29880.m3u8');
                 count++;
          }
    });
    var count = 0;
    var hls = new Hls();
    hlsPlyrLoadVideo('http://content.jwplatform.com/manifests/vM7nH0Kl.m3u8');

    function hlsPlyrLoadVideo(url){
         hls.loadSource(url);
         hls.attachMedia(video);
         hls.on(Hls.Events.MANIFEST_PARSED,function() {
         video.play();
        plyr.setup(video);
     });
  }
  }
})();


feat: ability to report with dynamic columns list

There was a problem in TableBuilder, that it treats block result as
current result row. Instead it MUST use instance variable defined in
builder for each row. And ther return that array as result.

@isqad88 @artofhuman

looks good to me

nice

@Napolskih

ок


Bug report: LocalSend's Linux client cannot send files to Windows and Android

Describe the bug
Under the same LAN, LocalSend's Linux client cannot send files to Windows and Android, but can receive files from them. (Communication between Windows and Android clients is normal.)
Port 53317 is opened in Linux：

Error information:
DioException [unknown]: null
Error: HandshakeException: Connection terminated during handshake

To reproduce

Select a file to drag into Localsend
Click the device you want to receive the file from
Wait
See error

Expected behavior
The receiving device should receive a send request.
Screenshots

Desktop (please complete the following information)

OS: Ubuntu
Version: 23.04

Smartphone (please complete the following information)

Device: Honor Play 4
OS: Android
Version: 8.1

Additional context
No response

It seems that I meet a similar problem, I can not send files from ubuntu to windows, while I can send files from windows to ubuntu.
I run localsend with AppImage on ubuntu, and I got these error messages:
`[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: DioException [connection timeout]: The request connection took l
onger than 0:00:02.000000. It was aborted.
#0      DioMixin.fetch. (package:dio/src/dio_mixin.dart:507)
#1      _RootZone.runUnary (dart:async/zone.dart:1661)
#2      _FutureListener.handleError (dart:async/future_impl.dart:174)
#3      Future._propagateToListeners.handleError (dart:async/future_impl.dart:852)
#4      Future._propagateToListeners (dart:async/future_impl.dart:873)
#5      Future._completeError (dart:async/future_impl.dart:649)
#6      _SyncCompleter._completeError (dart:async/future_impl.dart:60)
#7      _Completer.completeError (dart:async/future_impl.dart:26)
#8      Future.any.onError (dart:async/future.dart:620)
#9      _RootZone.runBinary (dart:async/zone.dart:1666)
#10     _FutureListener.handleError (dart:async/future_impl.dart:171)
#11     Future._propagateToListeners.handleError (dart:async/future_impl.dart:852)
#12     Future._propagateToListeners (dart:async/future_impl.dart:873)
#13     Future._completeError (dart:async/future_impl.dart:649)
#14     Future._chainForeignFuture. (dart:async/future_impl.dart:550)
#15     _microtaskLoop (dart:async/schedule_microtask.dart:40)
#16     _startMicrotaskLoop (dart:async/schedule_microtask.dart:49)
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Null check operator used on a null value
#0      ConnectivityPlusLinuxPlugin._startListenConnectivity (package:connectivity_plus/src/connectivity_plus_linux.dart:65)
`


Clarify B2 Application Keys once again

This is my view of documentation about Application Keys in Backblaze B2.
What is the purpose of this change? What does it change?
Changes documentation about Backblaze's new feature implemented in #1914 as there was some misunderstanding about the new functionality.
Was the change discussed in an issue or in the forum before?
#1923
Checklist

[x] I have read the Contribution Guidelines
[ ] I have added tests for all changes in this PR
[ ] I have added documentation for the changes (in the manual)
[ ] There's a new file in changelog/unreleased/ that describes the changes for our users (template here)
[ ] I have run gofmt on the code in all commits
[ ] All commit messages are formatted in the same style as the other commits in the repo
[x] I'm done, this Pull Request is ready for review

@fd0 That's my view. I think it's more clear if you write less :)

Codecov Report

Merging #1924 into master will decrease coverage by 4.6%.
The diff coverage is n/a.

@@            Coverage Diff            @@
##           master   #1924      +/-   ##
=========================================
- Coverage    50.6%     46%   -4.61%
=========================================
  Files         170     170
  Lines       13213   13213
=========================================
- Hits         6687    6078     -609
- Misses       5518    6187     +669
+ Partials     1008     948      -60

Impacted Files
Coverage Δ

internal/backend/b2/b2.go
0% <0%> (-78.54%)
:arrow_down:

internal/backend/swift/swift.go
0% <0%> (-78.45%)
:arrow_down:

internal/backend/gs/gs.go
0% <0%> (-73.61%)
:arrow_down:

internal/backend/azure/azure.go
0% <0%> (-69.46%)
:arrow_down:

internal/backend/swift/config.go
36.95% <0%> (-54.35%)
:arrow_down:

internal/checker/checker.go
64.54% <0%> (-3.87%)
:arrow_down:

Continue to review full report at Codecov.

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


validate is not strict enough

I have a file that failed validation when updating to BigQuery because a non-leaf node was set to null, rather than omitted. zschema validate does not currently catch this, and passes the file with no errors.

Can you please commit a test for this? (it'll fail on master) I'll commit a fix and then once we're in place we should be good.

Actually, can you first check and see if this is currently a problem on master? It looks like this already checked.


Global git ignore breaks if .gitconfig is outside %UserProfile% in Windows

Issue Type: Bug
Steps to reproduce:

Add to your .bashrc or .bash_profile: export HOME=/c/Users/<usename>/home
Enter git config --global core.excludesfile ~/.gitignore_global in console
Add a file pattern to ~/.gitignore_global
Add/Edit a file matching pattern in step 3 to the git repo
Enter git status in console to verify global ignore works
Load VS Code

Expected behavior: VS Code should ignore the modified file like git does in the console.
Actual behavior: VS Code shows the modified file under the Source Control tab.
It appears .gitconfig is not parsed if it is placed outside of %UserProfile% on the Windows platform.
VS Code version: Code 1.56.2 (054a9295330880ed74ceaedda236253b4f39a335, 2021-05-12T17:13:13.157Z)
OS version: Windows_NT x64 10.0.19042

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-10710U CPU @ 1.10GHz (12 x 1608)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledskia_renderer: enabled_onvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
15.76GB (4.46GB free)

Process Argv
--crash-reporter-id 87146db6-51dd-47a9-a9fe-074405a51226

Screen Reader
no

VM
0%

Extensions (6)

Extension
Author (truncated)
Version

path-intellisense
chr
2.3.0

gitlens
eam
11.4.1

vscode-ts-whitespace-converter
joh
1.2.1

prophet
Sqr
1.4.17

sort-lines
Tyr
1.9.0

remove-empty-lines
use
0.0.6

One observation: when I right-click on the unstaged file in VS Code, I do NOT see a "Copy Path" command -- only "Copy Remote File Url", which contains this value:
https://bitbucket.org/path/to/repo/src/<hash>/path/to/ignored/dir/<newfile>
Strange. This is only a recent issue -- this file has been ignored by VS Code for awhile now, so I'm wondering if it's a regression after updating to new version.

The search setting search.useGlobalIgnoreFiles isn't actually relevant to the features in the git viewlet

@roblourens  ah then it makes sense that this file was properly ignored by vscode as recently as last week without me not setting search.useGlobalIgnoreFiles in my personal settings.json. I only looked into search.useGlobalIgnoreFiles because I thought the file is no longer ignored because this new setting was introduced and I needed to set it to true.
Strange... if we rule out it's not related to search.useGlobalIgnoreFiles then do you know any other explanation why this file that is in my global gitignore file is correctly ignored by git in the console but is still showing up under unstaged changes in vscode?

I've been pondering recent changes I made over the weekend that might have led to this issue, and the only one I can think of is that I changed my git bash $HOME from %UserProfile% to %UserProfile%/home -- would this have an effect on vscode?

UPDATE: I think I have identified the root cause, and it could be a bug: on the Windows platform, if you put your .gitconfig file outside of %UserProfile% folder, then VS Code will not parse the global git ignore file. As soon as I moved my .gitconfig file from %UserProfile%\home back to %UserProfile%, the global ignore is recognized by VS Code again.

@thdoan, apologies for not getting back to you on this issue until now. Looking at the messages in this issue it seems to me that your have tracked down the root cause of the issue and you have a workaround in place. As this is an edge case, and there was not much traffic on this issue from other users, I would like to go ahead and close this issue as we are not planning on making any improvements in this area in the near future.


Exception when scrolling page

Not sure if it relates to the other issue I raised, but there's an exception when scrolling.  It's pretty easy to replicate, create a diagram (you could use the project I provided earlier), use the mousewheel to scroll down/up randomly near the bottom of the page, letting the zoom effect occur on the diagram.  I'm not sure what triggers the diagram to 'unobserve' resizing - perhaps when it become no longer visible?

Sorry for logging 3 things so quickly, I'm just exploring your awesome work, and at the moment lack the understanding to diagnose what's causing them.

Yep this is a known issue. It has been fixed in 3.0.0

Great, thanks!


Add allocate method for BlockDataContainer

https://github.com/TomographicImaging/CIL/blob/c489ec7d672ed38c0f2e1bf6ca2c4d22ded3fd16/Wrappers/Python/cil/framework/BlockDataContainer.py#L23
I'm using this currently in my own work
Something like:
def allocate(self, value=0):
    """ Return BLockDataContainer with constant values"""
    out = self.copy()
    for im in out:
        im = im.allocate(value)
    return out

I thought it might be useful for others

@samdporter could you please expand in what context you are using this? Our DataContainers don't have an allocate method, it's the geometries which have allocate. In SIRF geometries are called templates.
You could achieve a similar result with multiplying the BlockDataContainer by 0 ?

Our DataContainers don't have an allocate method, it's the geometries which have allocate. In SIRF geometries are called templates.

Ah OK. Thanks

Just to clarify, the GradientOperator will allocate both domain and range, right?

This was a mistake in my code.
I'd defined th range geometry for a ZeroOpeator as aBlockDataContainer somewhere

I believe we can close this. Please reopen if issue is not resolved.


Is it possible to increase the 100 rule limit on the rules size for a Lifecycle Management Policy?

According to (the docs here)[https://docs.microsoft.com/en-us/azure/storage/blobs/storage-lifecycle-management-concepts?tabs=azure-portal#policy], a policy can only have a rules of size 100. Is there a possibility to increase that, either by enabling some option or even paying for  a higher tier subscription?
Our org creates several containers and, on creation, we automatically create a rule that deletes block blobs older than a certain number of days. We need to be able to support more than 100 rules per resource group if possible...
Thank you

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

ID: 9a558a9e-10d0-ea34-8780-d9084f87f952
Version Independent ID: 60dda4e0-7630-f358-aa3a-6a992eae61e2
Content: Managing the Azure Storage lifecycle
Content Source: articles/storage/blobs/storage-lifecycle-management-concepts.md
Service: storage
Sub-service: common
GitHub Login: @mhopkins-msft
Microsoft Alias: mhopkins

@ali-elgabri Thanks for the question! We will review and get back to you!

Thank you @PramodValavala-MSFT! Appreciate the support :)

@PramodValavala-MSFT Any news? :)

@ali-elgabri one policy per account, 100 rules max, each rule can have up to 10 prefixes defined

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


bio dependencies

@pjotrp besides the namespacing, does this library require code outside of /lib? My superficial assessment is that it doesn't.
It's been a while since I've dived into /bio, so this is an ignorant question, but could you briefly highlight reasons for not extracting this library to a stand-alone gem without the overhead of the rest of bio?

Nexml is a phylogenetic format that can be used outside bio. I don't think there are any real dependencies on bio. Feel free to remove.

Sorry, there is. bio-nexml's trees are derived from bio's.
Any problem with dependencies is with the xml parser (libxml-ruby).

So, if you want to move out, create another tree object. Should not be too hard. Bio is pure Ruby, so hardly a real issue.

I think this issue can be closed. It is not really a bug.

I agree, but since when are issues always bugs?


Ampersands now supported; nicer link to full list :)

Ampersand supported, drop help text
More linky to spreadsheet
appNew => app

@ccpricenytimes

Two 👍 !

Resolves #1


feat: bump minimal agent version for agent upgrade scenarios

The new minimum version is supported by SUSE 15.6, else the pipelines will fail on the agent upgrade scenario.

Closing as this will be done when a new release needs to be published.


Update pester tests

Description Of Changes
Update the pester tests to be consistent with the other Chocolatey repositories.
Motivation and Context
Consistency in Pester test location and behaviour.
Testing
These pester tests are not currently part of any Test Kitchen environment. As such, the only tests we have are a manual running of these tests:

Install Chocolatey CLI in Windows Sandbox.
Install chocolateygui and pester packages.
Run Invoke-Pester in the tests/pester-tests directory.

Operating Systems Testing
Windows 10 22H2
Change Types Made

[ ] Bug fix (non-breaking change).
[ ] Feature / Enhancement (non-breaking change).
[ ] Breaking change (fix or feature that could cause existing functionality to change).
[ ] Documentation changes.
[ ] PowerShell code changes.
[x] Pester test changes

Change Checklist

[ ] Requires a change to the documentation.
[ ] Documentation has been updated.
[ ] Tests to cover my changes, have been added.
[x] All new and existing tests passed?
[ ] PowerShell code changes: PowerShell v2 compatibility checked?

Related Issue
N/A

@corbob thanks for getting these fixed up!


[Android] Fix SingleShareIntent to always call super.open

Fixes #337

@jgcmarins thanks for the review! Would it be possible to merge it to master?


(preview alpha build) Won't save/load/edit values from the JSON for an added weapon

I assumed based on the presence of the LK-05 and Service Rifle that this was an intended feature, I apologize if I am mistaken, but as far as I can tell, while my actual save file seems to save positioning info for the Chinese Assault Rifle, it is not transferring it to the "Chinese Assault Rifle" JSON file I made. It doesn't change from session to session.
It uses the proper name from what xedit shows (FULL - Name value). Or am I mistaken and the LK-05 and the Service Rifle are just bonuses?
Thanks!

Check the frik log to see what it thinks the rifle is. We're using the name reported by the weapon to create the JSON.
I'm not saving any data in the save, so if your positioning is working, it's from a JSON file.

Wow, I didn't even think to check the log, that's embarrassing. Yep-it looks like it's working, guess the values I inserted just weren't obvious which surprises me as I set the values to ridiculous -500 and +500 values. Must have just cancelled each other out.
Thanks!

Thanks. Please go ahead close if it's resolved. I don't have admin rights here.


Fix 1-1-1-1 bug in parser.

The test case "1-1-1-1" is evaluated as "1-(1-(1-1))". Maybe this
fix is not the most elegant, but it fixes this issue.

Thanks for the PR! I just got back from a trip and am digging through my backlog. I hope to look at this in the next couple of days.

It appears that, in this recursive descent parser, that Parser::ParseSum() is right associative. See this blog post for more information.
I mocked up a more general solution (in the left branch, commit b90c2e62) and would love to get your opinion before I merge it into master.

That's a good catch, PetterS!
Mike, I agree that enclosing the '-' and '+' logic within a while loop is the cleaner, well established solution (and the way I handle it with my two languages: Acorn and Cone).
I offer three potential improvements purely for the sake of consistency:

Apply the same while-based logical structure to ParseProduct, on the off-chance that someone later wants to enrich it to support the division and mod operators (both of them are also right-associative).
Move ParseSum's SkipWhite() to be the first statement inside the while loop and then drop the second invocation of SkipWhite() at the end of the loop. Nearly all the other parse functions consistently dispose of white space prior to parsing the next token. No others do it afterwards. This change minimizes how often SkipWhite() will be called.
The two Consume's in ParseTerm for the sqrt function might wish to be preceded by SkipWhite.

Closed in favor of the improved commit in PR #77. Thank you PetterS for bring this to our attention!

Great! Thanks


files .h264 are not purged

hi
if .h264 or zip file are stays in media folder after error , it is not purged.
even  got one board with 24gb of .h264 and zip files so theres no place for mp4 files left at all

these 3 zips is because i was trying to download a big mp4 as zip
they can't be seen in interface and everything works like fine, it is only can be discovered if delete all files and theres still no free space.
maybe purge script should first  purge all files in media folders except mp4 and jpg every time it start, and only after that purge old mp4 and jpgs.
raspbian jessie lite. rpi3b

Normally the .h264 files get deleted after boxing unless one turns boxing off.
I don't seem to get any left over but I can see it would gradually become a problem if errors let these build up. The reason for not purging just all .h264 files is that some users turn boxing off as they want to box offline.
I will look at a strategy that does .h264 clean up for the normal case.

thank you. and zip files too, please. and maybe just any file type that are not needed in this folder

Couple of purge improvements in the latest version. Note I have to be a bit cautious here as some people store other stuff in the folder from macros etc.

.h264 files are now separately checked for when purging or deleting any video related file

zip files older than the video purge hours time limit are removed.

thank you. this  improvements will be implemented soon?

They are in the current version

so... h264 file purged only if corresponding mp4 file is present? if theres no mp4 file due to error, h264 file stays forever?

No. It starts from the thumbnail and deletes all files associated with that including mp4.h264 left over in error.
It won't retrospetively delete old .h264 files left over before the new logic. You have to those manually once. It should clear out from then on.

it looks like these h264 errors appears only when video setting is 19201080. i set to 1280720 a couple days ago and no busy files since then. also a lot of frames are dropped in a row sometimes. should i create a new issue about it?

Yes. Create a new issue, but see if you can highlight anything about your specific set up as I haven't seen any specific problems with the higher resolution.
In particular:
Are you storing to the local SD card or some other external storage?
Is the GPU RAM set to at least 128MB?  ( vcgencmd get_mem gpu )

ok this one should be closed then as i understand.
i'll create a new issue and everything about it will be there.
thank you


False positive for standard:function-signature?

I have this code in a Kotlin file:
enum class RestrictionState {
    UnderLimit,
    AtLimit,
    OverLimit,
    ;

    companion object {
        fun fromLimited(limit: Int?, value: Int?) = OverLimit
    }
}

And ktlint reports this error:

Seems weird to me, since afaict from the docs, this rule should only trigger if the full function signature doesn't fit within the max-line-length rule (which is at the default 140 for us). I'd prefer not to break the signature into multiple lines here.
Is there anything I can do to get more info on why this rule is triggering here, and how to prevent it? Spotless with ktlint doesn't seem to complain about this file.

A lot of details are missing in your report, so I have to guess what is happening in your case.
What version of Ktlint is used by your spotless version? What version of the ktlint-intellij-plugin are you using?
One thing that you can try, is to set the ktlint_code_style property in .editorconfig' to value intellij_idea`. Read more in ktlint documentation.

I've tried spotless with ktlint version 1.1.1, and the ktlint intelliJ plugin is in version 0.20.0. If there's any more info that would help, let me know!
Yeah, setting the code style to intellij_idea fixes it, but as far as I understand it just disables that rule completely, right? I do agree with the rule in general (at least as documented) and would like to keep it enabled, if possible. It just seems that for some reason it's not correctly checked. Unless I'm mistaken about that!

Next thing that you can try, is to set code style explicitly to ktlint_official in .editorconfig. But, I am not sure whether Spotless does respect that.
The plugin is still on 1.1.0 but that could not explain this behavior.

Okay, after a few more tests, now spotless also reports the same error. That's... Weird, not sure what was going on the first time. Then I guess my question is why the rule is triggering, since I don't believe it should, but that then has nothing to do with the IntelliJ plugin, so I'll close this issue here. Thanks for the help, and sorry for bothering you with a non-issue!


Need examples of Webrtc

Please add examples for this project

Sure, but have to wait unit this crate hits v0.1.0

@chet-hub , I have started adding examples of how to use webrtc-rs for both media and data channel APIs
Now, examples of data channels API are ready.
More examples of media API are on the way.

all examples are added in https://github.com/webrtc-rs/webrtc/tree/master/examples


add chat-template args to chat cli

Motivation
add chat-template args to chat cli
Requested by https://github.com/InternLM/lmdeploy/issues/1519
Modification
Please briefly describe what modification is made in this PR.
BC-breaking (Optional)
Does the modification introduce changes that break the backward-compatibility of the downstream repositories?
If so, please describe how it breaks the compatibility and how the downstream projects should modify their code to keep compatibility with this PR.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here, and update the documentation.
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit tests to ensure the correctness.
If the modification has a dependency on downstream projects of a newer version, this PR should be tested with all supported versions of downstream projects.
The documentation has been modified accordingly, like docstring or example tutorials.

@zhulinJulia24 try to add testcase.


java.lang.IllegalArgumentException: Internal error: Failed to run on the given Interpreter: OpenCL library not loaded - dlopen failed: library "libOpenCL-pixel.so" not found Falling back to OpenGL TfLiteGpuDelegate Invoke: Write to buffer failed. Source data is larger than buffer.

System information

Android 9.
TensorFlow Lite.
Google Pixel

build.gradle:
implementation('org.tensorflow:tensorflow-lite:2.2.0')
implementation ('org.tensorflow:tensorflow-lite-gpu:2.2.0')

Describe the current behavior
Exception is thrown on Google Pixel while running Blazeface model taken from Mediapipe repo (https://github.com/google/mediapipe/blob/master/mediapipe/models/face_detection_front.tflite). But this model works successfully on Samsung S10 and Xiaomi MI8.
 Internal error: Failed to run on the given Interpreter: Following operations are not supported by GPU delegate:
    DEQUANTIZE:
    164 operations will run on the GPU, and the remaining 0 operations will run on the CPU.
    Can not open OpenCL library on this device - dlopen failed: library "libOpenCL.so" not found
    Falling back to OpenGL
    TfLiteGpuDelegate Invoke: GpuDelegate must run on the same thread where it was initialized.
    Node number 164 (TfLiteGpuDelegateV2) failed to invoke.

    TfLiteGpuDelegate Invoke: GpuDele [DevelopReportingTree.log:18]
    java.lang.IllegalArgumentException: Internal error: Failed to run on the given Interpreter: Following operations are not supported by GPU delegate:
    DEQUANTIZE:
    164 operations will run on the GPU, and the remaining 0 operations will run on the CPU.
    Can not open OpenCL library on this device - dlopen failed: library "libOpenCL.so" not found
    Falling back to OpenGL
    TfLiteGpuDelegate Invoke: GpuDelegate must run on the same thread where it was initialized.
    Node number 164 (TfLiteGpuDelegateV2) failed to invoke.

    TfLiteGpuDelegate Invoke: GpuDele
        at org.tensorflow.lite.NativeInterpreterWrapper.run(Native Method)
        at org.tensorflow.lite.NativeInterpreterWrapper.run(NativeInterpreterWrapper.java:158)
        at org.tensorflow.lite.Interpreter.runForMultipleInputsOutputs(Interpreter.java:343)

When I change tflite dependencies from nightly to v. 2.2 and modify interpreter initialization, error will be a bit different for Google Pixel:
java.lang.IllegalArgumentException: Internal error: Failed to run on the given Interpreter: OpenCL library not loaded - dlopen failed: library "libOpenCL-pixel.so" not found
Falling back to OpenGL
TfLiteGpuDelegate Invoke: Write to buffer failed. Source data is larger than buffer.

Describe the expected behavior
Successfully recognizes faces without exceptions
Standalone code to reproduce the issue
   private static final int BATCH_SIZE = 1;
   private ByteBuffer imgData;
   private int[] intValues;
   private static final int PIXEL_SIZE = 3;

      Interpreter tfLite = createTfliteInterpreter(assetManager, "face_detection_front_blazefast.tflite");
        imgData = ByteBuffer.allocateDirect(BATCH_SIZE * 128 * 128 * PIXEL_SIZE * 4);
       imgData.order(ByteOrder.nativeOrder());
       intValues = new int[inputSize * inputSize];

   public List<Recognition> recognizeImage(Bitmap bitmap) {
       final int previewWidth = bitmap.getWidth();
       final int previewHeight = bitmap.getHeight();

       int sensorOrientation = 0;
       Matrix frameToCropTransform =
               getTransformationMatrix(
                       previewWidth,
                       previewHeight,
                       128, 128,
                       sensorOrientation,
                       false
               );

       // to restore location object
       cropToFrameTransform = new Matrix();
       frameToCropTransform.invert(cropToFrameTransform);

       // crop image
       Canvas canvas = new Canvas(croppedBitmap);
       canvas.drawBitmap(bitmap, frameToCropTransform, null);

       convertBitmapToByteBuffer(
               croppedBitmap,
               imgData,
               intValues,
               128
       );

       Map<Integer, Object> outputs = provideOutput();
       Object[] inputArray = {imgData};
       try {
           tfLite.runForMultipleInputsOutputs(inputArray, outputs);
       } catch (Exception e) {
           Timber.e(e);
       }
       return getDetections(bitmap, outputs);
   }

   public Map<Integer, Object> provideOutput() {
       float[][][] boxesResult = new float[1][896][16];
       float[][][] scoresResult = new float[1][896][1];
       HashMap<Integer, Object> outputs = new HashMap<>();
       outputs.put(0, boxesResult);
       outputs.put(1, scoresResult);
       return outputs;
   }

   Interpreter createTfliteInterpreter(AssetManager assetManager, String modelPath) {
       try {
           final Interpreter.Options options;
               GpuDelegate.Options options1 = new GpuDelegate.Options()
                       .setPrecisionLossAllowed(true)
                       .setInferencePreference(GpuDelegate.Options.INFERENCE_PREFERENCE_FAST_SINGLE_ANSWER);
               GpuDelegate delegate = new GpuDelegate(options1);
               options = new Interpreter.Options()
                       .addDelegate(delegate);
           return new Interpreter(
                   loadModelFile(assetManager, modelPath),
                   options
           );
       } catch (Exception e) {
           throw new RuntimeException(e);
       }
   }

   public static void convertBitmapToByteBuffer(Bitmap bitmap, ByteBuffer imgData, int[] intValues, int mInputSize) {
       bitmap.getPixels(intValues, 0, bitmap.getWidth(), 0, 0, bitmap.getWidth(), bitmap.getHeight());
       imgData.rewind();
       int pixel = 0;
       for (int i = 0; i < mInputSize; ++i) {
           for (int j = 0; j < mInputSize; ++j) {
               final int pixelValue = intValues[pixel++];
               imgData.putFloat(((pixelValue >> 16) & 0xFF) / 255.0f);
               imgData.putFloat(((pixelValue >> 8) & 0xFF) / 255.0f);
               imgData.putFloat((pixelValue & 0xFF) / 255.0f);
           }
       }
   }

public static Matrix getTransformationMatrix(
           final int srcWidth,
           final int srcHeight,
           final int dstWidth,
           final int dstHeight,
           final int applyRotation,
           final boolean maintainAspectRatio) {
       final Matrix matrix = new Matrix();

       if (applyRotation != 0) {
           if (applyRotation % 90 != 0) {
               Timber.w("Rotation of %d % 90 != 0", applyRotation);
           }

           // Translate so center of image is at origin.
           matrix.postTranslate(-srcWidth / 2.0f, -srcHeight / 2.0f);

           // Rotate around origin.
           matrix.postRotate(applyRotation);
       }

       // Account for the already applied rotation, if any, and then determine how
       // much scaling is needed for each axis.
       final boolean transpose = (Math.abs(applyRotation) + 90) % 180 == 0;

       final int inWidth = transpose ? srcHeight : srcWidth;
       final int inHeight = transpose ? srcWidth : srcHeight;

       // Apply scaling if necessary.
       if (inWidth != dstWidth || inHeight != dstHeight) {
           final float scaleFactorX = dstWidth / (float) inWidth;
           final float scaleFactorY = dstHeight / (float) inHeight;

           if (maintainAspectRatio) {
               // Scale by minimum factor so that dst is filled completely while
               // maintaining the aspect ratio. Some image may fall off the edge.
               final float scaleFactor = Math.max(scaleFactorX, scaleFactorY);
               matrix.postScale(scaleFactor, scaleFactor);
           } else {
               // Scale exactly to fill dst from src.
               matrix.postScale(scaleFactorX, scaleFactorY);
           }
       }

       if (applyRotation != 0) {
           // Translate back from origin centered reference to destination frame.
           matrix.postTranslate(dstWidth / 2.0f, dstHeight / 2.0f);
       }

       return matrix;
   }

This issue looks similar to https://github.com/tensorflow/tensorflow/issues/44659.  Just wondering does more recent tflite build fix the issue? Thx!

@iglaweb This looks more similar to this issue  & Could you please execute your code using Latest Version 2.4.1 or 2.5 and let us know if the issue still persists? Thanks!

This looks more similar to this issue & Could you please execute your code using Latest Version 2.4.1 or 2.5 and let us know if the issue still persists? Thanks!

All delegates (CPU, GPU, Hexagon, NNAPI) do not throw errors now with TensorflowLite 2.5. Thanks!

The same issue reoccurred on Android 12 while running the SSDtiny model on GPU.  The same code works fine on android 8.
I am running tfLite 2.8.0 . Is there anything that needs to be upgraded in order for tfLite to use the available GPU resources on android 12 ?

@StewardH Did you find a solution to this? I have opened a similar issue here but no luck so far.


Pin CodeQL action

The current version is so slow.

Yeah, this one seems like the last fast version (3 minutes vs half an hour). The idea would be to merge this and let Dependabot open PRs to upgrade to newer versions until the performance regression is fixed.

I think we could also let the codeQL team know and ask them to update the v2 tag to match the latest version?

I asked about it at https://github.com/github/codeql/pull/13028, maybe they already have a potential fix!

Oh wait, I'm confused now, I swear I saw the Ruby analysis finishing fast, but it seems to be still running. What happened? 🤣

I can see from the logs that the action is still using CodeQL-2.13.0 under the hood, which I believe is the slow version. I'm not sure how to configure an older version to be used.


Given one clicks on the create user link on login page, when pressing "cancel" then you are not returned to login page.

When somebody wants to create a new user and follows the create user link on login page, they are transferred to the sign up page.

When pressing cancel then you are led to an empty page with URL: https://jolly-sand-03f839703.azurestaticapps.net/

Expected result.
When pressing cancel you are returned to the login page.
See the following steps to reproduce

Please add your planning poker estimate with ZenHub @frontend-specialisten


Check Aizistral

Idea
The mod should check if Aizistral is okay and if not then make a toast or something

Reasoning
No response
Other Information
No response

Sounds like a good idea to me. This is top priority now 😂

Bazinga.

This is completely necessary. No Chat Reports will be useless without this.

How am I supposed to live without this feature? Absolutely essential in combatting the chat reporting system.

How is this mod even possible without this feature? Never heard of a more essential feature!


Missing flow listing empty state

The empty state of flow-listing looks kinda weird, should be an actuall empty state instead:
!Screenshot from 2024-09-12 15-46-12.png|width=3637,height=2107,alt="Screenshot from 2024-09-12 15-46-12.png"!

[public] Shopware automated response: This issue is linked to the internal issue: NEXT-38285
[created from NEXT-38285, comment 495669]

/assign


tcsh seems to hang in iconv_open

Issue description
Building tcsh and running tcsh via full path leads to a hanging tcsh process consuming a CPU core. Apparently the process enters an iconv_open library call and never leaves it.
Steps to reproduce
$(nix-build --no-out-link '<nixpkgs>' -A ltrace)/bin/ltrace -n1 -S -f env -i $(nix-build --no-out-link '<nixpkgs>' -A tcsh)/bin/tcsh < /dev/null

Expected: process finishes.
Observed: process hangs inside iconv_open
Without ltrace I can get a backtrace using gdb, it points to __wcsmbs_load_conv called from mbrtowc from mbtowc.
Technical details

System: NixOS: 16.09.git.06d3636 (Flounder)
Nix version: 1.11.2
Nixpkgs version: 16.09.git.06d3636

latest git commit for Nixpkgs/NixOS: ffd2afd89d856545e1aae86b4e63c4e903ba7e47

Wow, that is bizarre:
Program received signal SIGINT, Interrupt.
0x000000000043db14 in calloc ()
(gdb) bt
#0  0x000000000043db14 in calloc ()
#1  0x00007ffff763dacf in __wcsmbs_load_conv () from /nix/store/dakzb4d5db59kkpghry6czgszlwl2spp-glibc-2.23/lib/libc.so.6
#2  0x00007ffff7632a94 in mbrtowc () from /nix/store/dakzb4d5db59kkpghry6czgszlwl2spp-glibc-2.23/lib/libc.so.6
#3  0x00007ffff75cd49c in mbtowc () from /nix/store/dakzb4d5db59kkpghry6czgszlwl2spp-glibc-2.23/lib/libc.so.6
#4  0x00000000004447d8 in ?? ()
#5  0x0000000000444851 in ?? ()
#6  0x00000000004448c2 in ?? ()
#7  0x0000000000444c3f in ?? ()
#8  0x0000000000403bf7 in ?? ()
#9  0x00007ffff75b7770 in __libc_start_main () from /nix/store/dakzb4d5db59kkpghry6czgszlwl2spp-glibc-2.23/lib/libc.so.6
#10 0x00000000004053b9 in ?? ()

(gdb) x/20i calloc
   0x43db10 <calloc>:	imul   %rsi,%rdi
=> 0x43db14 <calloc+4>:	mov    $0x1,%esi
   0x43db19 <calloc+9>:	jmp    0x43db10 <calloc>
(gdb) info sym calloc
calloc in section .text of /nix/store/njg4a7j5ir9vj50jdr0kmmqks3p96fvp-tcsh-6.18.01/bin/tcsh

So tcsh defines it's own version of calloc, which is compiled into an infinite loop (looks like that is due to GCC optimizing: https://gcc.gnu.org/ml/gcc-help/2015-03/msg00093.html), which gets used by glibc for some reason...

One of the Arch patches looks like it would fix this: https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/tcsh

See also https://github.com/NixOS/nixpkgs/pull/14583


add max_combinations to the schema combinations settings

The user should be able to limit the number of header or query combinations separately from the overall limit of max_combinations.
The test combinations settings should be modified as follows:
  "test_combinations_settings": {
     "header_param_combinations" : {
          "param_type": "all",
          "max_combinations": 100
     },
     "example_payloads" : {  <-- all is assumed
          "max_combinations": 100
     },
}

@marina-p Isn't this issue addressed by PR #320 ? Can we close this?

Closed in PR #320


Add PyTorch example notebook

Add an end-to-end example of how to use Croissant in PyTorch using an adapter on top of mlcroissant and FLORES-200. The goal of the notebook is to provide a minimal yet somewhat realistic demo of how Croissant can be used in training. I am planning to expand on some of the features (e.g., performance) in future patches.

The 3 CI issues seem non-blocking to me, but let me know if you think otherwise:

Python format error is outside this patch (log says croissant/croissant/editor/events/resources.py)
The 2 Notebook tests are 10 minute timeouts likely due to ML training. The training time can be shortened to pass CI (and it would indeed be nice to tune the notebook to be faster), but I'd prefer to address that in a later patch. The notebook state already shows the full run, so run latency should not be a blocking factor.

@marcenacp What are your thoughts on external dependencies? I attempted to make torchdata optional in incorporating the changes to mlcroissant, but I'm not sure how to handle this in the CI, which either does or does not need the dependencies. Currently, the PyType test is failing because of the dynamic import behavior of optional dependencies.

@marcenacp Current patch passes CI and keeps framework dependencies as optional until used. Let me know if you have suggestions!

@marcenacp I took my pass over the suggestions. Let me know if there are any outstanding issues.


Adding to existing project, install it got 2 same icons show on device - Android APP

I am developing an Android messaging app, got an issue, was adding to an existing project, then install it got 2 same icons show on the device. is that something duplication need to remove. I have followed all the steps.
If I kill the app on memory, click one of the icons got a force close,
crash log:
Attempt to invoke virtual method 'boolean com.braunster.chatsdk.network.AbstractNetworkAdapter.facebookEnabled()' on a null object reference at com.braunster.chatsdk.activities.ChatSDKLoginActivity.onCreate(ChatSDKLoginActivity.java:44)
but click on the second icon works. is that something duplication needs to be removed?
The app can add a room, can chart, can search username, can get notifications. Pretty cool!

You need configure on the Android manifest

Remove this code from your manifest if your trying to add SDK in existing project. Because it has two launcher activities.

Hi matheuaviczki and marmik57,
OK, problem solved. You're so helpful. Thanks a lot.


Removed possibility to block candidates. Fixes #1708.

Please review carefully.

looks good. Except of travis...


(JSON / XML) Complex Nested Elements

Allow keys to be tagged and grouped together in a single JSON or XML element?
For example:
Keys:    [Factors]Strength, [Factors]Speed, [Factors]Size
Values:  10, 30, 5
Would become:
JSON: "Factors" : [ { "Strength" : 10 }, { "Speed" : 30 }, { "Size" : 5 } ]
XML: <Factors Strength="10" Speed="30" Size="5"/>

This could have syntax to determine if the group element is an array or object.
For example:
Keys: [Factors]Strength, [Factors]Speed, [Factors]Size
Values: 10, 30, 5
and
Keys: [Factors], [Factors], [Factors]
Values: 10, 30, 5
Would become:
JSON: "Factors" : { "Strength" : 10, "Speed" : 30, "Size" : 5 }
XML: <Factors Strength="10" Speed="30" Size="5"/>
and
JSON:
"Factors" : [   10, 30, 5 ]
XML:
<Factors>
  <value>10</value>
  <value>30</value>
  <value>5</value>
</Factors>

Alternatively, the complex element type could be determined by brace type.
[Factors] would export a JSON array or XML element with child elements.
{Factors} would export a JSON object or XML element with attributes.

It would also be useful if keys could contain something like a path for their nested element. For example:
[Factors|Physical|Muscles]Strength and {Factors|Physical|Muscles}Strength
Would produce:
XML: (dashes added for formatting)
<Factors>
--<Physical>
----<Muscles>
------<Strength>10</Strength>
----</Muscles>
--</Physical>
</Factors>
and
<Factors>
--<Physical>
----<Muscles Strength= "10" />
--</Physical>
</Factors>
For both JSON and XML, the path would create XML child elements and JSON objects until the last keyword, which would be either an XML attribute or child element, or JSON array or object based on if brackets ( [ ] ) or braces ( { } ) where used by the key.
I'd like to keep this from getting too complicated, but this amount of complexity may be needed to make something flexible. This may cause problems when trying to set values in nested objects inside a JSON array, but for now it should cover most bases.

It would also be good to have an option for complex elements consisting of only empty fields to be ignored.

As of v40 this is implemented for JSON. XML support is being designed currently.
See documentation: here

Hi there, ESD is very awesome, but when will the complex Nested Elements be fully developed for xml?

Glad you are enjoying ESD! Nested Elements for XML has been a back burner task while I focus on smaller, quality of life improvements. Unfortunately I don’t have an estimate on when that will be finished. Sorry for the long wait!


[SPARK-23920][SQL]add array_remove to remove all elements that equal element from array

What changes were proposed in this pull request?
add array_remove to remove all elements that equal element from array
How was this patch tested?
add unit tests

Test build #89354 has started for PR 21069 at commit cd99694.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2324/
Test PASSed.

Test build #89354 has finished for PR 21069 at commit cd99694.

This patch passes all tests.
This patch merges cleanly.
This patch adds the following public classes (experimental):
case class ArrayRemove(left: Expression, right: Expression)

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89354/
Test PASSed.

Merged build finished. Test PASSed.

Test build #89583 has started for PR 21069 at commit 7353463.

Build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2494/
Test PASSed.

Test build #89647 has started for PR 21069 at commit 60e8e2f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/2541/
Test PASSed.

Test build #89647 has finished for PR 21069 at commit 60e8e2f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/89647/
Test PASSed.

Test build #90667 has started for PR 21069 at commit 8011aa9.

Test build #90668 has started for PR 21069 at commit 7fd77d0.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/3248/
Test PASSed.

Test build #90668 has finished for PR 21069 at commit 7fd77d0.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test build #90667 has finished for PR 21069 at commit 8011aa9.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/90667/
Test FAILed.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/90668/
Test FAILed.

Merged build finished. Test FAILed.

retest this please

Test build #90688 has started for PR 21069 at commit a804c32.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/3267/
Test PASSed.

Test build #90684 has finished for PR 21069 at commit 7fd77d0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/90684/
Test PASSed.

Test build #90688 has finished for PR 21069 at commit a804c32.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/90688/
Test PASSed.

Merged build finished. Test PASSed.

Test build #90770 has started for PR 21069 at commit 89b4f48.

Test build #90770 has finished for PR 21069 at commit 89b4f48.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/90770/
Test PASSed.

Test build #90985 has started for PR 21069 at commit 9281ae2.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/3474/
Test PASSed.

Test build #90985 has finished for PR 21069 at commit 9281ae2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/90985/
Test FAILed.

retest this please

Test build #91007 has started for PR 21069 at commit 9281ae2.

Test build #91007 has finished for PR 21069 at commit 9281ae2.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

retest this please

Test build #91081 has started for PR 21069 at commit 9281ae2.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/3535/
Test PASSed.

Test build #91081 has finished for PR 21069 at commit 9281ae2.

This patch fails due to an unknown error code, -9.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/91081/
Test FAILed.

Test build #91113 has started for PR 21069 at commit 074ed88.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/3556/
Test PASSed.

Test build #91113 has finished for PR 21069 at commit 074ed88.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/91113/
Test PASSed.

Test build #91369 has started for PR 21069 at commit 52d2308.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/testing-k8s-prb-make-spark-distribution/3744/
Test PASSed.

LGTM pending Jenkins.

Thanks! merging to master.

Thank you for your help!


Merge demo to master

Change description
Incorporates code for the V15 PSQL update, transitioning from single to flexible server. Merging demo into master enables user-profile environments to utilise updated V15 code.
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[x] No

@RebeccaBaker Do we need approval from a TL for this (Terraform change to prod)?

@RebeccaBaker Do we need approval from a TL for this (Terraform change to prod)?

As this is the addition of new stuff but will not actually be used initially, it is okay to be deployed


Force tileset to never exceed maximum memory usage

For a Cesium3DTileset, the maximumMemoryUsage property controls the size of the tileset's cache but does not actually limit how many tiles are loaded. As the doc states:

If tiles sized more than maximumMemoryUsage are needed to meet the desired screen space error, determined by Cesium3DTileset#maximumScreenSpaceError, for the current view, then the memory usage of the tiles loaded will exceed maximumMemoryUsage. For example, if the maximum is 256 MB, but 300 MB of tiles are needed to meet the screen space error, then 300 MB of tiles may be loaded. When these tiles go out of view, they will be unloaded.

The name is a bit misleading and should really be called cacheMemoryUsage.
Really maximumMemoryUsage should force the tileset to never consume more than that amount of memory. This could be done by sorting all tiles by screen space error and only loading those with the greatest error until the memory limit is hit. We could also prioritize requests based on SSE as well so we don't end up requesting tiles that won't fit. Unfortunately we don't know a tile size until it is downloaded but we can save that value for later use if the tile is unloaded.
We'll also have to deal with the issue of request thrashing when the maximum memory usage is nearly reached. It may help to reserve some of the memory as a cache.
Going beyond, we should have a global maximumMemoryUsage that is shared by all tilesets loaded in the scene.

Why not include the memory size of tile in the tile information of JSON

@PolanZ that's a good idea and could be something that's included in some future extension to 3D Tiles, e.g. 3DTILES_tile_metadata. Just note, the extension there is a very early draft.

@PolanZ that's a good idea and could be something that's included in some future extension to 3D Tiles, e.g. 3DTILES_tile_metadata. Just note, the extension there is a very early draft.

@lilleyse May I know if there's any update on this?  We have several large models and crash after loading for a period of time.  It's ideal to have an option to limit global memory usage.

@asir6 Hi!  I try to load a large 3D tiles model more than 200GB now. The page runs of memory and crashes all the time. Have you ever been in the same situation?

@heylying Have you found a solution? I have a 40g file to load

@iiixxxiii On the one hand, we are trying to optimize the model files. On the other hand, I upgrade our old Electron. At the same time I use --max-old-space-size=xxx to increase the memory limit for Node.js. Now it can load the model successfully at least.

@iiixxxiii一方面，我们正在尝试优化模型文件。另一方面，我升级了我们的旧电子。同时我使用 --max-old-space-size=xxx 来增加 Node.js 的内存限制。现在它至少可以成功加载模型了。

大佬，有最近解决方法么。
先说配置

华为屏 外加ops （i7-8800 gtx1050ti 4G 16G）
模型
1个园区的（3dtiles 总文件大小12G上下）
chrome 100 版本
1.模型大概配置
maximumScreenSpaceError  32
maximumMemoryUsage  128
问题
基本加载到 显存占用3.6G上下，放置一会儿移动下就崩溃了。cesium 1.89

您的邮件我已收到，会尽快回复。亲

Hi, I also just ran into this "trap".
Especially with point clouds it's hard to optimize every tileset in a way that prevents the browser from crashing when big datasets are loaded.
So any solution that would enforce a real memory limit would be very helpful, although obviously the render quality will suffer in cases where visible tiles can't be loaded or have to be removed again. Still way better than a crashing browser tab. :D
Did anyone ever work on this? I'd be happy to have a look on it, "hack" something that works for us and then maybe provide a more general solution or at least some starting point for someone else.

您的邮件我已收到，会尽快回复。亲

Hi @UniquePanda,
No one is currently looking into this to my knowledge. We'd be happy to discuss a solution, or review a PR if you get to that point. Thanks!


update install instructions for ngld overlayplugin

This is for https://github.com/quisquous/cactbot/pull/577.


Font editor background disappear

If you edit a character then leave and go back the background will not be set to the correct color.

I have this issue too; after it shows up, the draw cursor doesn't quite know what to do. You can end up drawing in the correct bg color, white, or the new light purple.


Update E2E websocket test case

This PR:

Adds an assertion for matching_events (AAP-7873)
Removes obsolete conditional check for empty event messages (AAP-6141)

On second thoughts, instead of removing the conditional perhaps we should assert that ProcessedEvents is not empty. @Alex-Izquierdo?


fix: error message in group error handlers

Related PR:

https://github.com/utopia-php/framework/pull/78


error code 0x8000ffff when try to install Ubuntu via WSL

Version
Microsoft Windows [Version 10.0.25174.1010]
WSL Version
WSL 2
Kernel Version
unknown
PS C:\WINDOWS\system32> wsl --statuswsl --status
and I got output saying kernel not installed.
PS C:\WINDOWS\system32> wsl.exe --update
and it throws:
インストール中: Linux 用 Windows サブシステム
致命的なエラーです。
translation: Linux Windows Subsystem being installed. fatal error.
Distro Version
Ubuntu-22.04
Other Software
No response
Repro Steps
PS C:\WINDOWS\system32> wsl --list --online
インストールできる有効なディストリビューションの一覧を次に示します。
'wsl --install -d ' を使用してインストールします。
NAME                                   FRIENDLY NAME
Ubuntu                                 Ubuntu
Debian                                 Debian GNU/Linux
kali-linux                             Kali Linux Rolling
Ubuntu-18.04                           Ubuntu 18.04 LTS
Ubuntu-20.04                           Ubuntu 20.04 LTS
Ubuntu-22.04                           Ubuntu 22.04 LTS
OracleLinux_8_5                        Oracle Linux 8.5
OracleLinux_7_9                        Oracle Linux 7.9
SUSE-Linux-Enterprise-Server-15-SP4    SUSE Linux Enterprise Server 15 SP4
openSUSE-Leap-15.4                     openSUSE Leap 15.4
openSUSE-Tumbleweed                    openSUSE Tumbleweed
PS C:\WINDOWS\system32> wsl --install -d Ubuntu
インストール中: Ubuntu
インストール中にエラーが発生しました。ディストリビューション名: 'Ubuntu' エラー コード: 0x8000ffff
(translation: error during installation. Distribution name: Ubuntu. Error code: 0x8000ffff)
Expected Behavior
Ubuntu successfully installed
Actual Behavior
It throw "Error code: 0x8000ffff"
Diagnostic Logs
WslLogs-2023-03-16_18-44-34.zip

I had the same issue - Try to open ps without admin rights

Thank you @Gitnear! It works!

Issue solved

I had the same issue - Try to open ps without admin rights

I had the same issue - Try to open ps without admin rights

Thanks, it helps!

Thank you @Gitnear
Running the command in Powershell works. I tried Command prompt but had the same issue.

Terima Kasih @Gitnear sudah seminggu bingung, tidak bisa install, akhirnya bisa. Matur Nuwun yo

I had this issue on a Windows Server 2022 system, tried reinstalling WSL etc but simply running wsl --update is what solved the problem in the end.

For Windows 10 Users:
1 - I enabled the virtualization in BIOS and Hyper-v in Windows Features.
2 - Installed the Windows Subsystem For Linux from Microsoft Store.
3 - Installed Ubuntu from Microsoft Store.

Tive esse problema em um sistema Windows Server 2022, tentei reinstalar o WSL etc., mas simplesmente executar wsl --updatefoi o que resolveu o problema no final.

Atualizar o WSL também foi minha solução.

Same problem here.
As I am connecting to the server via SSH, de-elevating to a non-admin user is not an option.
Logs attached.
PS C:\Users\***> Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
PS C:\Users\***> Set-ExecutionPolicy Bypass -Scope Process -Force
PS C:\Users\***> .\collect-wsl-logs.ps1
ERROR: The system was unable to find the specified registry key or value.
ERROR: The system was unable to find the specified registry key or value.
Log collection is running. Please reproduce the problem and once done press any key to save the logs.
Saving logs...
Logs saved in: C:\Users\***\WslLogs-2024-02-26_20-14-46.zip. Please attach that file to the GitHub issue.

WslLogs-2024-02-26_20-14-46.zip

I had this issue on a Windows Server 2022 system, tried reinstalling WSL etc but simply running wsl --update is what solved the problem in the end.

Just reconfirming that running wsl --update fixed the issue on Windows Server 2022

I had the same issue - Try to open ps without admin rights

It works for me. Thanks!

Catastrophic Failure

@USSX-Hares Hey, bro! I meet the same problem with you, but finally I solve this problem in another way ! try to follow this link where you can find ANOTHER WAY TO DOWNLOAD "wsl" rather than using horrible 'cmd' !
install-manual


Missing SetExceptionBreakpointsRequest for exception capture/intercept

I cannot find out how to enable the library to capture/intercept exceptions to cause a ‘stopped’ event to be fired. If I have missed something could you please let me know how I can enable/setup the library so it can capture/intercept exceptions.
If I have read the protocol the function to setup exception capture/intercept is "SetExceptionBreakpointsRequest".
The reason I am after this is that on the MacOS C::B crashes when performing certain "things" (there are a number of logged tickets for MacOS crashes over the years that have not been fixed). I find the easiest way to try find where the issue is is to case the crash and if the debugger can stop and show the call stack it will narrow the area(s) to look at. "Try" in the previous sentence if everything works correctly.

I did not add support for SetExceptionBreakpointsRequest yet, however, I assumed that the debugger should stop when an exception occurs. I ran a small test and indeed it stopped (running under lldb-vscode):

Here is the protocol exchange between the library and the dap server:
[09:38:46:900 DEBUG] --> {"seq":37,"type":"request","command":"next","arguments":{"threadId":22512,"granularity":"line"}}
[09:38:46:900 DEBUG] <-- {"command":"next","request_seq":37,"seq":0,"success":true,"type":"response"}
[09:38:46:906 DEBUG] <-- {"body":{"allThreadsStopped":true,"preserveFocusHint":false,"reason":"exception","threadCausedFocus":true,"threadId":22512},"event":"stopped","seq":0,"type":"event"}

As you can see, once I did Next and stepped over the throw line, I received a stopped event with reason exception
can you share that protocol exchange that fails for you?

FYI: I ran similar test on macOS (macOS Monterey, 12.4, M1, using lldb-vscode installed from brew)
same thing: the debugger stopped and provided backtrace similar to the above

I did the test on Windows with C:\msys64\mingw64\bin\lldb-vscode.exe
The exception I tried was:
throw std::overflow_error("Exception throw testing");
I will do some more testing to see if I can figure out what is going on, but it will be tomorrow as I am working on getting the DLL and then the plugin building in the not very nice C::B bootstrap/configure/make process.

so, are you saying that std::overflow_error does not work as expected?

Finally back to this.  Exception capturing/intercepting works on Linux. But not on Windows. I changed the exception to throw "std::exception();" and it still did not work on Windows.
The following are the two command used to build the test exe with the exception and other simple debug tests I use:
clang++.exe -Wall -fexceptions -Og -g -I.\ -IC:\msys64\clang64\include\ -c D:\Andrew_Development\Z_Testing_Apps\Clang_printf\main.cpp -o obj\main.o
clang++.exe  -o bin\clang_Printf.exe obj\main.o

If I run the exe using  c:\msys64\mingw64\bin\lldb.exe it looks like the LLDB stops on the exception as I added printf before the std::exception() line and after. The before was printed on a seperate command prompt.
The following shows the test I ran and the LLDB commands used and the exception output:
$ c:\msys64\mingw64\bin\lldb.exe clang_Printf.exe
(lldb) target create "clang_Printf.exe"
Current executable set to 'D:\Andrew_Development\Z_Testing_Apps\Clang_printf\bin\clang_Printf.exe' (x86_64).
(lldb) break set -E C++
Breakpoint 1: no locations (pending).
(lldb) run
2 locations added to breakpoint 1
(lldb) Process 17272 launched: 'D:\Andrew_Development\Z_Testing_Apps\Clang_printf\bin\clang_Printf.exe' (x86_64)
Process 17272 stopped

thread #1, stop reason = breakpoint 1.1
frame #0: 0x00007ff97683b240 libstdc++-6.dll__cxa_throw libstdc++-6.dll__cxa_throw:
->  0x7ff97683b240 <+0>: pushq  %rdi
0x7ff97683b241 <+1>: pushq  %rsi
0x7ff97683b242 <+2>: pushq  %rbx
0x7ff97683b243 <+3>: subq   $0x20, %rsp
(lldb)

So it looks like on Windows the lldb does handle exception capture/intercepting. I wonder if on Windows the exception handling is off by default, just a thought.

i did test this on windows, and it works. note that there are 2 flavors of lldb-vscode and clang. make sure you are using clang and lldb-vscode from the clang64 repo and not from mingw64.
i.e.
/clang64/bin/lldb-vscode
and NOT
/mingw64/bin/lldb-vscode
same goes with clang

Thanks. It works using the clang64 directory.
I should probably create a MSYS2 issue as the lldb-vscode should work the same..... and see what the response is.

Closed as it looks like a package/build issue with the /mingw64/bin/lldb-vscode not working the same as the /clang64/bin/lldb-vscode


perf: propagate GQL keys in type system and vectorize GQL prop ops

This PR adds support for propagating the GQL keys from a root query node through the type system to rest of the graph. This allows us to maintain the exact GQL schema information through compilation, which is needed for things like vectorization and storage where we need to know the precise data shape coming from GQL.
Highlights

New GQLHasKeysType and helpers for creating types that can optionally have GQL keys. This allows us to represent types like projectTypeWithKeys({name: String}) that have the GQL keys present.

GqlOpPlugin now supports defining a key propagation function that gets called by compile_domain.py. This function takes the input types and returns the output type with the appropriate keys propagated.

compile_domain.py now uses GqlOpPlugin to propagate keys through the graph. It handles cases like mapping, tags, and optional types properly.

propagate_gql_keys.py contains the key propagation logic and handles things like stripping tags, calling the plugin functions, and rewrapping tags.

Lots of tests added for compilation, storage, assignment, and propagation of types with keys.

Added vectorization of all gql_prop_ops.

Benefits
This unlocks several benefits:

Vectorization functions can know the exact Arrow schema to emit based on the GQL keys. This allows us to vectorize functions that previously required breaking out to python, like run_tagged_awl.tag_run().run_id(). This will dramatically improve performance of many of our biggest perf hotspots.

Storage functions know exactly which columns to write out.

Assignment logic properly handles assignability of types with and without keys.

Op definitions can change output types based on input types while still maintaining schema information.

It also sets up infrastructure that could be used for other cases like propagating SQL schemas or other data-dependent types through the graph.
Overall this brings us much closer to the goal of maintaining data shape information throughout weave.

✅ QA testing: ran 49 notebooks on this relative to main—all output matches!
This branch does seem to print some debugging info we may want to hide from the user:

Reminder: rename schema.gql


fix: adds fake redis to publish pipeline

Pull Request Checklist
Run poetry run pytest docs/examples/tests/test_hello_world.py
ImportError while loading conftest '/home/runner/work/litestar/litestar/tests/conftest.py'.
tests/conftest.py:15: in
from fakeredis.aioredis import FakeRedis
E   ModuleNotFoundError: No module named 'fakeredis'
Error: Process completed with exit code 4.

[ ] New code has 100% test coverage
[ ] (If applicable) The prose documentation has been updated to reflect the changes introduced by this PR
[ ] (If applicable) The reference documentation has been updated to reflect the changes introduced by this PR

Description
Close Issue(s)

We shouldn’t need to do this. The point of that test is that it has no dependencies. I think the proper way to handle this would be to create a separate test for this, outside the regular test suite.
Also, we can probably just drop fakeredis and use our docker services for this.


Drop support for PY < 3.5 and Django < 2.

@dzhuang Thanks for your work.
@glasslion Any hope to merge this pull request?


Add icon only variant to back to top in Figma

Summary
Work has been done to add a new icon only variant of the back to top component. This was completed in the developed components under https://github.com/mi6/ic-ui-kit/issues/1849
An update to Figma is required to ensure equivalent functionality is available
The terminology used in the build component is variant with a value of icon or default. If this doesn't seem appropriate, we could raise a ticket to revise this
📝 Acceptance Criteria
If relevant, describe in full detail the different interactions and edge cases that the component or patterns needs to fulfil.
Given a back to top component exists
When  using the component
Then an option to use an icon only variant, without a label, exists
Guidance
will be covered by #958

Completed, merged, and published as part of v2.2


Add support for mapping command results (refs #185)

Basically making this work:
rom.command(:users).as(:entity).create[name: 'Jane']

Nice, looks good

@cflipse @aflatter @splattael @gotar @elskwid thoughts? makes sense?

Yes and no. This PR fits the way ROM currently works, but I'm not sure what I think about specifying the same mappers over and over again for each query or command that you do. I'd vote for merging though because I do stuff like Foo.new(rom.command(:create).call(...)).

we can extend command class definitions so that you can specify which mapper should always be used; however, I'd like to try to get away without having that and simply do that in my code like that:
# excuse me lack of a nice DI :P
class SomeObjectThatPersistsUserDataAndReturnsEntity
  def self.build
    new(ROM.env.command(:users).as(:entity).create)
  end

  def initialize(command)
    @command = command
  end

  def call(input)
    command.call(input)
  end
end

In general...that's how ROM is intended to be used, same applies to relations.

I like it +1 its a little strand you call mapper before create command but can live with it +1

It's actually not strange, it's inline with relation mapping - you can grab command registry and every command that it returns will use the mapper vs setting mapper for each command separately. It's actually more convenient to use it like that.

One more thing - we could consider doing the result :one, as: :entity which would set mapper_name (or something) internally and then CommandRegistry could look if this option is set and automatically set that mapper for a particular command.

result :one, as: :entity - +1


Rewrite the helm-sync tests to push and cleanup their own charts

Each helm-sync test will use the project id + cluster name + random string as a chart name and use that chart for its tests.

/assign @sdowell

/lgtm

/retest

/retest


Identical deployments in different namespaces

I have two identical statefulsets (would be the same for deployment too, I suppose), in two different namespaces. They have the same name of the set, same name of the service, and they have the same labels.
They both work in terms of "pure" k8s. They control their own three pods, respectively.
However, one of the sets keep getting evicted by descheduler. I assume the descheduler does not consider namespace of the pods? Is this intended?

https://github.com/kubernetes-incubator/descheduler/blob/fc1688057aecc30dceb4d67c5b270446f32b02a9/pkg/descheduler/strategies/duplicates.go#L92
This is probably the cause of it. Can't we use the ownerReferences[].uid instead of ownerReferences[].kind + ownerReferences[].name?

@anton-johansson , we were having the same issue and I can confirm your solution of using ownerRef.UID instead of ownerRef.Kind + ownerRef.Name fixes this just nicely! Thanks for that.
I'm not affiliated to this project though, so you might want to check with @aveshagarwal if he would accept a pull request for this. FYI, just using ownerRef.UID makes for much vaguer log messages, so you might want to keep that in mind (maybe add the UID to the string instead of replacing it).

@anton-johansson @tammert please feel free to submit a PR as that sounds like an issue.

@anton-johansson let me know if you want to make a PR, otherwise I'll be happy to contribute it!

@tammert, I would love to, but I don't see myself having the time for it as of right now. Feel free to work on it!
Sorry for the delayed response.

@anton-johansson no worries, glad you responded! I've created the PR for @aveshagarwal to review: PR #156.


Spike: Refactor MP Checks - Qualification

MP Check Specifications Document: https://ecmps.camdsupport.com/documents/ECMPS Monitoring Plan Check Specifications 2022 Q1.pdf

https://app.zenhub.com/files/287570343/44bb2fa6-e101-49d3-a26a-d03360754e19/download
Summary of checks that need to be implemented in API and which are left to Check Engine


Assist with CVE report

https://github.com/rancherlabs/image-scanning/issues/845

Changes made, PR merged.


Enable WebCodec support in VS Code (electron)

WebCodec is a new API that allows hardware/software decoding of video codecs to be exposed to Window and Workers. I need this feature to enabled in electron to bring Vysor (https://vysor.io) to VS Code as an extension.
app.commandLine.appendSwitch('--enable-blink-features', 'WebCodecs');

It seems that there's only a specific list of electron args that can be passed through:
https://github.com/microsoft/vscode/blob/400a80796db7433c05a1e5377e8e07ec683d12ca/src/main.js#L142
Ideally though, it should just be enabled by default.

This is unlikely to happen given the security advice here: https://github.com/microsoft/vscode/pull/127024


Fix broken link in /docs/MoreResources.md

Motivation (required)
Next → link on https://facebook.github.io/react-native/docs/more-resources.html is currently broken
Test Plan (required)
Click on Next → link and make sure you are not redirected to the main page

This broke the website generation (I should've checked circle CI status here), backing this out again.


Operator Configmap Changes --> reconcile all crs

Hi,
I would like to know if is there a way to trigger a reconcile of all the custom resources due to change if the operator configmap
Today i am using helm checksum annotation in the configmap and in case the configmap is changed the annotation is updated and the operator is restarted.
I would like to know if there is way to perform the same logic without using helm so I can watch to configmap my-operator-config-map (watch is easy to be done ) but my question how can i trigger reconcile of all the CRs?
Thanks

Hi @petro404,
See that the watch feature does it for you. It will re-trigger the reconcile when something change for some specific object. See its section in the user guide  for Go operators.
So, could you please let us know:

Did you try to use the watch feature?
What type of operator are you working with?
What do you mean with operator configmap? Is the config map created/managed by the operator? If yes, why would like to do it? I mean, what is the scenario that you are trying to solve with?

Hi @camilamacedo86
I am aware of the watch feature and I am already using it, my use case is the following:

Hi @petro404,
Following my comments inline.

my question if i got an event of configmp change how can start reconcile all the CR's
even the event that i got is not on the Cr'S

All reconciles that should be re-trigged by a change in a resource would need to have the watch feature implemented on it. See that you can use the watch feature for resources which are/or not directly managed by the specific controller.
Please, let me know if it answers your question and if we can close this one.

Hi @petro404,
I am closing this once since all shows sorted out.  However, please feel free to raise new issues with your questions, and your bugs as feature requests.
Also, I'd like to kindly ask for you try fill all the issue template as to provide the required information for we are able to reproduce and check your scenario such as; steps to create a POC based on the sample or getting started scenario, logs and snippets of code for example.


Update aws-java-sdk-dynamodb to 1.12.191

Updates com.amazonaws:aws-java-sdk-dynamodb from 1.11.1034 to 1.12.191.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "com.amazonaws", artifactId = "aws-java-sdk-dynamodb" } ]

labels: library-update, early-semver-minor, semver-spec-minor, commit-count:1

Superseded by #271.


dockerfile: component use base image

这个 PR 实现什么功能/修复什么问题:
是否需要 backport 到之前的 release 分支:

3.0

Codecov Report

Merging #4579 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master   #4579   +/-   ##
======================================
  Coverage    6.85%   6.85%
======================================
  Files         521     521
  Lines       88417   88417
======================================
  Hits         6059    6059
  Misses      81853   81853
  Partials      505     505

Flag
Coverage Δ

#aFlag
6.85% <ø> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Update tooling-ci.yaml

Adds Humble 22.04 and Rolling 22.04 CI
Bump to newer setup-ros @0.3
Package name is not needed, as it will build all packages by default.

@paulbovbel This PR is less significant so it doesn't matter much, but should I expect reviews from you as an author, or are you fine with me merging without your review?


refactor: turn off view encapsulation for all components

Adds a tslint rule enforce that we don't use view encapsulation on any component.
Refactors a few components not to use view encapsulation.

Fixes #6037.

@crisbeto Rebase?

Rebased.


fixes: fixes made on datatables and other minor ui changes

fixes: fixes made on datatables and other ui visuals also made adjustments in the functions of each ui.

Please refer over the timestamp made on the last commits for the month of December. Will be uploading the sample project on the Amazon aws for deployment.


Updated Import

Updated Import-Module to be more specific than Microsoft.Graph

@billmath
Can you review the proposed changes?
When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

I need to verify this.  I am not sure if you want to scope it to just groups.  I have created a work item for this and will track on my end.  I will update this once I know more.  Until then we can close.
#please-close


Any planned support for Microsoft fakes in .net core?

Hello,
Not sure if this is the right place to ask, so I apologize if it's not. I'm trying to use Microsoft Fakes to shim some non-virtual methods, and it seems fakes is not supported in .net core.
Are there any plans to support this tech in .net core?
Thank you :)

@AdamYoblick You should raise it here https://developercommunity.visualstudio.com/


Single-workflow Signal Command

What was changed
This demonstrates how to write a simple command. Admittedly it didn't have to do much output or output testing and it could have more testing. Also, this does not include the "batch" capabilities of existing CLI.

Closing this in favor of a PR pointing to the cli-rewrite branch (coming soon)


Corrected typo

Fixed typo.

@GrantMeStrength : Thanks for your contribution! The author(s) have been notified to review your proposed change.


Create EthereumRPCService

Add Ethereum to RPCService.
At minimum, the EthereumRPC service will need to implement the following functions:

loadGasPrice()

estimateNonce(address)

getAllTokenBalances(assets)

getAccountBalance(asset)

estimateGasLimit(from, to, amount, gasPrice, payloadData)

broadcastTransaction(signedTx)

async getBlockHeight()

#77