Building Envoy (v1.23.1) fails on Ubuntu 22.04.

Title: Building Envoy (v1.23.1) fails on Ubuntu 22.04.
Description:

I'm doing a clang (v14.0.0) build.

Build fails with following error:

ERROR: /usr/local/home/pcsg6/temp/envoy/source/extensions/filters/http/admission_control/evaluators/BUILD:13:17: output 'source/extensions/filters/http/admission_control/evaluators/_objs/response_evaluator_lib/success_criteria_evaluator.dwo' was not created
ERROR: /usr/local/home/pcsg6/temp/envoy/source/extensions/filters/http/admission_control/evaluators/BUILD:13:17: Compiling source/extensions/filters/http/admission_control/evaluators/success_criteria_evaluator.cc failed: not all outputs were created or valid
Target //source/exe:envoy-static failed to build

Note, I'm building as a normal user. Is root a requirement? I don't see as a requirement in below Build documentation.

Dependencies

Bazelisk as Bazel:
wget -O /usr/local/bin/bazel https://github.com/bazelbuild/bazelisk/releases/latest/download/bazelisk-linux-amd64
chmod +x /usr/local/bin/bazel
Following dependencies installed:
apt-get update
apt-get install clang clang-tools clang-tidy llvm lld
apt-get install golang-go
apt-get install grpc-proto
apt-get install libtool cmake automake autoconf make ninja-build curl unzip virtualenv patch
apt-get install golang-starlark-dev libc-ares2 libc-ares-dev
NOTE: The buildifier and buildozer installed under the build user's home directory ($HOME/go/).
Install buildifier:
go install github.com/bazelbuild/buildtools/buildifier@latest
Install buildozer:
go install github.com/bazelbuild/buildtools/buildozer@latest

Build (as normal user)
git clone https://github.com/envoyproxy/envoy.git
cd envoy
git checkout tags/v1.23.1

./bazel/setup_clang.sh
bazel build --jobs=2 --define=no_debug_info=1 --config=clang --verbose_failures \
-c opt //source/exe:envoy-static 2>&1 | tee Build-Envoy.log

Notable issues

INFO: Analyzed target //source/exe:envoy-static (782 packages loaded, 34545 targets configured).
INFO: From Generating C++ proto_library @com_github_cncf_udpa//xds/type/matcher/v3:pkg:
xds/type/matcher/v3/http_inputs.proto:7:1: warning: Import validate/validate.proto is unused.
CMake Warning at CMakeLists.txt:74 (message):
WITH_GRPC is not set; building without dynamic loading support.
How to enable gROC build?
WITH_GRPC:BOOL=OFF
WITH_CARES:BOOL=OFF
WITH_LIBEVENT:BOOL=OFF
[2,820 / 7,399] Compiling external/envoy_api/envoy/extensions/access_loggers/grpc/v3/als.pb.validate.cc; 2s linux-sandbox ... (2 actions, 1 running)
ERROR: /usr/local/home/pcsg6/temp/envoy/source/extensions/filters/http/admission_control/evaluators/BUILD:13:17: output 'source/extensions/filters/http/admission_control/evaluators/_objs/response_evaluator_lib/success_criteria_evaluator.dwo' was not created
ERROR: /usr/local/home/pcsg6/temp/envoy/source/extensions/filters/http/admission_control/evaluators/BUILD:13:17: Compiling source/extensions/filters/http/admission_control/evaluators/success_criteria_evaluator.cc failed: not all outputs were created or valid
Target //source/exe:envoy-static failed to build
INFO: Elapsed time: 711.636s, Critical Path: 29.41s
INFO: 2824 processes: 1572 internal, 1250 linux-sandbox, 1 local, 1 worker.
FAILED: Build did NOT complete successfully

Full error log

$ bazel build --jobs=2 --define=no_debug_info=1 --config=clang --verbose_failures \

-c opt //source/exe:envoy-static 2>&1 | tee Build-Envoy.log
Loading:
Loading: 1 packages loaded
Loading: 1 packages loaded
currently loading: source/exe
Analyzing: target //source/exe:envoy-static (2 packages loaded, 0 targets configured)
Analyzing: target //source/exe:envoy-static (45 packages loaded, 6 targets configured)
Analyzing: target //source/exe:envoy-static (45 packages loaded, 6 targets configured)
Analyzing: target //source/exe:envoy-static (203 packages loaded, 491 targets configured)
Analyzing: target //source/exe:envoy-static (545 packages loaded, 3227 targets configured)
Analyzing: target //source/exe:envoy-static (631 packages loaded, 6625 targets configured)
Analyzing: target //source/exe:envoy-static (712 packages loaded, 31201 targets configured)
Analyzing: target //source/exe:envoy-static (718 packages loaded, 31317 targets configured)
Analyzing: target //source/exe:envoy-static (718 packages loaded, 31317 targets configured)
Analyzing: target //source/exe:envoy-static (718 packages loaded, 31317 targets configured)
Analyzing: target //source/exe:envoy-static (718 packages loaded, 31317 targets configured)
Analyzing: target //source/exe:envoy-static (776 packages loaded, 32444 targets configured)
INFO: Analyzed target //source/exe:envoy-static (782 packages loaded, 34545 targets configured).
INFO: Found 1 target...
[0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running)
INFO: From Generating C++ proto_library @com_github_cncf_udpa//xds/type/matcher/v3:pkg:
xds/type/matcher/v3/http_inputs.proto:7:1: warning: Import validate/validate.proto is unused.
INFO: From Generating Descriptor Set proto_library @com_github_cncf_udpa//xds/type/matcher/v3:pkg:
xds/type/matcher/v3/http_inputs.proto:7:1: warning: Import validate/validate.proto is unused.
[192 / 4,882] Generating C++ proto_library @envoy_api//envoy/config/cluster/v3:pkg; 0s linux-sandbox ... (2 actions, 1 running)
[457 / 5,384] Compiling src/google/protobuf/compiler/cpp/cpp_enum.cc [for tool]; 2s linux-sandbox ... (2 actions, 1 running)
[526 / 5,406] Compiling src/google/protobuf/text_format.cc [for tool]; 3s linux-sandbox ... (2 actions, 1 running)
[558 / 5,406] Compiling src/google/protobuf/compiler/java/java_map_field.cc [for tool]; 0s linux-sandbox ... (2 actions, 1 running)
[593 / 5,406] Compiling src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc [for tool]; 1s linux-sandbox ... (2 actions, 1 running)
[672 / 5,413] Compiling src/google/protobuf/compiler/cpp/cpp_file.cc [for tool]; 2s linux-sandbox ... (2 actions, 1 running)
[805 / 6,564] Compiling src/torque/cfg.cc [for tool]; 3s linux-sandbox ... (2 actions, 1 running)
[860 / 6,564] Compiling src/base/platform/platform-posix.cc [for tool]; 1s linux-sandbox ... (2 actions, 1 running)
INFO: From Executing genrule @io_opentracing_cpp//:generate_version_h:
-- The C compiler identification is Clang 14.0.0
-- The CXX compiler identification is Clang 14.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/llvm-14/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/llvm-14/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- clang-tidy found: /usr/lib/llvm-14/bin/clang-tidy
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.9EFvAXrb4w
-- Cache values
BUILD_DYNAMIC_LOADING:BOOL=ON
BUILD_MOCKTRACER:BOOL=OFF
BUILD_SHARED_LIBS:BOOL=ON
BUILD_STATIC_LIBS:BOOL=ON
BUILD_TESTING:BOOL=OFF
CLANG_TIDY_EXE:FILEPATH=/usr/lib/llvm-14/bin/clang-tidy
CMAKE_BUILD_TYPE:STRING=
CMAKE_INSTALL_PREFIX:PATH=/usr/local
ENABLE_LINTING:BOOL=ON
INFO: From Executing genrule @com_lightstep_tracer_cpp//:generate_version_h:
CMake Warning at CMakeLists.txt:74 (message):
WITH_GRPC is not set; building without dynamic loading support.

-- The C compiler identification is Clang 14.0.0
-- The CXX compiler identification is Clang 14.0.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/lib/llvm-14/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/lib/llvm-14/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/tmp.idbFsMI3O3
-- Cache values
BUILD_SHARED_LIBS:BOOL=ON
BUILD_STATIC_LIBS:BOOL=ON
CMAKE_BUILD_TYPE:STRING=
CMAKE_INSTALL_PREFIX:PATH=/usr/local
DEFAULT_SSL_ROOTS_PEM:STRING=
HEADERS_ONLY:BOOL=ON
WITH_CARES:BOOL=OFF
WITH_DYNAMIC_LOAD:BOOL=ON
WITH_GRPC:BOOL=OFF
WITH_LIBEVENT:BOOL=OFF
INFO: From Generating C++ proto_library @com_google_googleapis//google/devtools/cloudtrace/v2:cloudtrace_proto:
google/devtools/cloudtrace/v2/trace.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/devtools/cloudtrace/v2/tracing.proto:26:1: warning: Import google/protobuf/timestamp.proto is unused.
INFO: From Action external/opencensus_proto/opencensus/proto/agent/trace/v1/trace_service.grpc.pb.h:
bazel-out/k8-opt/bin/external/opencensus_proto/external/opencensus_proto: warning: directory does not exist.
INFO: From Action external/com_google_googleapis/google/devtools/cloudtrace/v2/trace.grpc.pb.h:
bazel-out/k8-opt/bin/external/com_google_googleapis/external/com_google_googleapis: warning: directory does not exist.
google/devtools/cloudtrace/v2/trace.proto:19:1: warning: Import google/api/annotations.proto is unused.
google/devtools/cloudtrace/v2/tracing.proto:26:1: warning: Import google/protobuf/timestamp.proto is unused.
[2,692 / 7,332] Compiling tcmalloc/huge_page_aware_allocator.cc; 2s linux-sandbox ... (2 actions, 1 running)
[2,820 / 7,399] Compiling external/envoy_api/envoy/extensions/access_loggers/grpc/v3/als.pb.validate.cc; 2s linux-sandbox ... (2 actions, 1 running)
ERROR: /usr/local/home/pcsg6/temp/envoy/source/extensions/filters/http/admission_control/evaluators/BUILD:13:17: output 'source/extensions/filters/http/admission_control/evaluators/_objs/response_evaluator_lib/success_criteria_evaluator.dwo' was not created
ERROR: /usr/local/home/pcsg6/temp/envoy/source/extensions/filters/http/admission_control/evaluators/BUILD:13:17: Compiling source/extensions/filters/http/admission_control/evaluators/success_criteria_evaluator.cc failed: not all outputs were created or valid
Target //source/exe:envoy-static failed to build
INFO: Elapsed time: 711.636s, Critical Path: 29.41s
INFO: 2824 processes: 1572 internal, 1250 linux-sandbox, 1 local, 1 worker.
FAILED: Build did NOT complete successfully
FAILED: Build did NOT complete successfully
pcsg6@pcsg6:~/temp/envoy$
[optional Relevant Links:]

Building
Building Envoy with Bazel

Appreciate your help to get this fixed.
Best regards
Sagara

cc @phlax @keith @lizan


Method for getting resumtion token?

Is there a custom method for getting a resumption token?

Do you mean getting a resumption token that has been retrieved from the server as part of iteration?
You can call RecordIterator::getResumptionToken().  For example:
$iterator = $endpoint->listRecords(/*...args..*/);
$iterator->current(); // need to make at-least one request in order to retrieve token from server.
$iterator->getResumptionToken();  // Now if there is a resumption token, then this method will work.


Enhance Shoot API to support multi arch machines

How to categorize this PR?

/area delivery
/kind enhancement
What this PR does / why we need it:
Which issue(s) this PR fixes:
Part of https://github.com/gardener/backlog/issues/19
Special notes for your reviewer:
This PR first needs to be rebased on #6178 to add specific validation based on cloudprfile.
Release note:

The `Shoot` API now supports a new field `spec.provider.workers[].machine.architecture`. It specifies the CPU architecture of the machine in a given worker pool of shoot. It must match the architecture of the used machine type and machine image as defined in the referenced `CloudProfile`.

I'm missing at least the changes in the component/worker package to set the new architecture in the Worker API (depends on #6178).
Yes, this needs to be done in this PR.

Do we already fetch the correct images from the image vector if somebody specifies architecture=arm64 in the Shoot API? Do we have to adapt the FindImage calls? 👀

No, for now, we are expecting to have all images multi-arch.

/milestone v1.50

/lgtm
/approve

/retest

Sorry for the noise, there seems to be some GitHub UI bug which always closes the PR when submitting a command with command+enter...

/test pull-gardener-publish-test-images


Accept 400 as a valid error code for zone/region that does not exist

GCE API started returning 400 instead of expected 404 in some cases. This is expected behavior. More details available in the bug.
Bug: b/361065819

/cc @kl52752

/lgtm

/approve


upgradeToAndCall now delegatecalls instead of externally calling.

Fixes issue [zOS2L-O01] of the Nomic audit (part of #205).
There were no tests for this, but I'm not sure what they'd look like, since we'd be testing the existence of the transparent proxy mechanism: maybe have the call query admin() and check that it reverts if the proxy is not its own admin, and doesn't otherwise?

One way of testing this is to make a proxy its own owner and upgrade itself with upgradeToAndCall. If an external call is used that will revert.


Provide support for log collection from Monolog

Since Yii 2.1 adopted PSR Log, usage of the Monolog instead of standard Yii logger is very likely.
Thus it should be support for extracting information for debug toolbar from Monolog.
This could be achived creating our own log handler for the Monolog logger and attaching it in the same way as current LogTarget.
See:
https://github.com/Seldaek/monolog/blob/master/src/Monolog/Handler/AbstractProcessingHandler.php

Since we've adopted PSR log, any PSR logger implementation will be collected.


Dragging an active connection from the connected green state to within a pre connected Server group looses the connection state.

Issue Type: Bug
Create a connection to SQL Server.
Create a Server group.
Drag the connection to the Server group. The connection state is Red now.

Azure Data Studio version: Azure Data Studio 1.2.1-insider (f7d92caae51a679934a9f945ea0b48e89f02e1de, 2018-10-23T00:30:42.493Z)
OS version: Darwin x64 17.7.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz (8 x 2200)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledrasterization: enabledvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabled

Load (avg)
2, 2, 2

Memory (System)
16.00GB (0.81GB free)

Process Argv
/private/var/folders/vc/2qtbnhx57m56_lzr6h8gv8gh0000gn/T/AppTranslocation/3EC7DA19-0CFB-44EB-8B97-3961178BD401/d/Azure Data Studio.app/Contents/MacOS/Electron

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

vscode-sanddance
dan
0.0.1

import
Mic
0.3.0

sql-vnext
Mic
0.7.2

@ronychatterjee thanks for opening the issue.  We're tracking this problem with https://github.com/Microsoft/azuredatastudio/issues/632.  So I'll close as a duplicate.  Ping me if this is blocking one of your demos.


The New C Standard - An Economic and Cultural commentary

The title should be:
The New C Standard - An Economic and Cultural commentary
not
The New C Standard - An Annotated Reference

A pull request would be appreciated!

Don't you want drive-by bug reports?  Or is your primary interest your fork count?

Bug reports also appreciated. Thanks to an amazing community, issues get resolved one way or another.


How to improve the usage of computer on rmcdhf_mpi calculation?

Hi everyone.
Last time I asked a question about rangular calculation, @jongrumer suggested me to expand the memory and I have expanded it to 256GB. But when I use the rmcdhf_mpi program, I find the usage of the computer is very low. Both the CPU and memory are not fully used. The top command shows below:
top - 21:52:55 up 15:20,  2 users,  load average: 12.14, 10.82, 6.61
Tasks: 321 total,   2 running, 319 sleeping,   0 stopped,   0 zombie
%Cpu(s):  3.7 us,  0.5 sy,  0.0 ni, 49.2 id, 46.6 wa,  0.0 hi,  0.0 si,  0.0 st
KiB Mem : 26377857+total,  6408952 free, 20250176 used, 23711945+buff/cache
KiB Swap: 16383996 total, 16273660 free,   110336 used. 24256968+avail Mem

   PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
 49406 grasp20+  20   0 1164420 725968   5716 D   5.6  0.3   9:43.40 rmcdhf_mpi
 49402 grasp20+  20   0 1164632 727820   7320 D   5.3  0.3   9:42.68 rmcdhf_mpi
 49426 grasp20+  20   0 1164012 725900   6008 D   5.3  0.3   9:44.11 rmcdhf_mpi
 49404 grasp20+  20   0 1164040 725600   5712 R   5.0  0.3   9:43.59 rmcdhf_mpi
 49411 grasp20+  20   0 1163208 724724   5672 D   4.6  0.3   9:43.65 rmcdhf_mpi
 49418 grasp20+  20   0 1163524 725100   5724 D   4.6  0.3   9:40.46 rmcdhf_mpi
 49421 grasp20+  20   0 1164064 725668   5724 D   3.6  0.3   9:42.43 rmcdhf_mpi
 49401 grasp20+  20   0 1163424 729668  10616 D   3.3  0.3   1:22.29 rmcdhf_mpi
 49408 grasp20+  20   0 1163784 725328   5712 D   3.3  0.3   9:42.92 rmcdhf_mpi
 49403 grasp20+  20   0 1163336 726488   7296 D   3.0  0.3   9:42.50 rmcdhf_mpi
 49415 grasp20+  20   0 1163572 725832   6412 D   3.0  0.3   9:40.70 rmcdhf_mpi
 49405 grasp20+  20   0 1163268 725652   6548 D   2.6  0.3   9:43.03 rmcdhf_mpi
 11545 grasp20+  20   0  162244   2500   1564 R   1.0  0.0   3:32.81 top

Is there anything I can do to improve the usage of the computer?
Have a nice day!
Yenoch

Hi @YenochQin, if the CPU usage goes down you should check the disk reading/writing - the RMCDHF code is reading the spin-angular coefficients from the mcp-files calculated by the RANGULAR code, which can be very large for complex cases with a lot of interactions (dense matrices). You can monitor the disk i/o with iotop (might require sudo). If you have access to a fast SSD disk instead of a regular mechanical HDD, that typically speeds up the calculation significantly.

You can of course also try to make the RMCHF calculation smaller, more compact, and then expand the CSF-space in the subsequent RCI calculation - which is much faster (essentially one loop of RMCDHF).

The program could be modified to store the data in memory, if possible, and only read from disk when not enough memory is available.

Thank you for the replies. It's true that the rmcdhf_mpi program need fast SSD disks. I tested on another HCP, which have SSD storage. All the CPU cores are fully used. So I will go to add some SSDs on our team's HPC.

@cffischer  Could you please tell me how to modify the program to store the data in memory? Editing the code or changing the parameters when running the program?

@YenochQin Fortran supports both external and internal files.  The simplest change would be for each process  to copyi its external files to  internal files so that during the scf iteration , the reading is from internal files in memory.   It has been a while since I did this but I believe this means that each process needs to allocate memory for the file data.  So , ideally, rangular needs to output a files about the size of data arrays. So maybe rangular needs to output a file,, say mcp.inf  (for information), the rmcdhf then used to allocate arrays.  I have an rcsfgen that produces  an rcsf.inf file for information that rangular can use.
Let  me know if you need more help.

@cffischer Thank you for your reply again. : ) After reading your introduction, I think it could be a big challenge for me due to the lack of ability about Fortran coding. So I would like to add SSD disks to our HPC.


Add support for django-reversion and django-reversion-compare

Hi Lukas,
I hope you're doing well.
Thanks so much for your great work!
Not sure if anyone else reported this, but I found that django-reversion-compare doesn't work well with unfold.
The History action button disappears and the compare pages are not correctly styled.
I'm afraid it requires some sort of work that you've done for django-import-export.
Would you consider supporting it at your earliest convenience?
Thanks in advance!
Best Regards,
Justin

Hi Justin, thank you very much for kind words. Would you mind to attach a screenshot?

I just checked the plugin and it seems that it is necessary to add a support for django-reversion and django-reversion-compare. I personally don't have any experience with any of these plugins so I was wondering that maybe you can help me with the implementation. Do you have time to prepare PR?

Hi Lukas,
Great thanks for your prompt reply. I'm so sorry for my delayed response. Been crazy busy lately.
Before giving you a simple yes or no, I might need to check with you about whether my guess is right.
So after reviewing the source code of django-admin at https://github.com/django/django/blob/stable/4.2.x/django/contrib/admin/, I learned that the history web page is based on the default template object_history.html, and it can be overridden either by specifying a modified template file under a ModelAdmin class, or by embedding that part into your or django-reversion-compare's code.
Actually, since you already provided a modified object_history template at https://github.com/unfoldadmin/django-unfold/blob/main/src/unfold/templates/admin/object_history.html, I may refer to the styling to make my own template files. And of course I will need to merge the django-reversion-compare code in to make sure the page displays correctly.
So, if my guess is right, my question is -- should I commit the code to django-reversion-compare instead? Cuz obviously its templates override yours to some extent and that messes up the styling.
Thanks again for your efforts on this great project!
Best Regards,
Justin

Hi Lukas,
I've submitted PR https://github.com/unfoldadmin/django-unfold/pull/90. Please have a look when you feel free. Happy to discuss further if any questions raised.
Cheers,
Justin

For third party application integration you can contact us here https://unfoldadmin.com/


Debian plugin alias conflicts with silver searcher

The debian plugin introduces the command ag:
alias ag='sudo $apt_pref $apt_upgr'

which conflicts w/ the Silver searcher package.
These aliases should be renamed?

@robbyrussell The issue also exists in debian plugin. The PR fixes it for ubuntu only.


Don't treat class name contextToken as a completion list blocker if it is not the previousToken

Fixes https://github.com/Microsoft/TypeScript/issues/20758#issuecomment-362276881
Sequel to #20762

Please port this to release-2.7 as well.


feat(date-picker): add disable input support

Types of changes

[x] New feature
[ ] Bug fix
[x] Enhancement
[ ] Component style change
[ ] Typescript definition change
[ ] Documentation change
[ ] Coding style change
[ ] Refactoring
[ ] Test cases
[ ] Continuous integration
[ ] Breaking change
[ ] Others

Background and context
#1946

Solution

Added a new prop to control <input> readonly.
How is the change tested?

Changelog

Component
Changelog(CN)
Changelog(EN)
Related issues

date-picker
增加 disabled-input 属性，可以禁用键盘输入
Add the disabled-input property to disable keyboard input
#1946

Checklist:

[x] Test suite passes (npm run test)
[x] Provide changelog for relevant changes (e.g. bug fixes and new features) if applicable.
[x] Changes are submitted to the appropriate branch (e.g. features should be submitted to feature branch and others
should be submitted to main branch)

Other information

@flsion 麻烦看一下能不能支持一下这个功能？目前 date-picker 默认调起键盘对手机端不太友好

@kaikaibenkai 可以的，我来修改下默认值，需要时开启就行


gNMIc targets redistribution doesn`t work after pod fails

Hi, Team!
I am testing topology with 3 gNMIc nodes and redis for telemetry subscribe. Targets obtain from remote http loader file with custom tags
{"leaf1.dc": {
"address": "leaf1.dc",
"tls-server-name": "leaf.dc",
"tls-ca": "/var/run/secrets/huawei_ca",
"subscriptions": [
"huawei"
],
"tags": [
"cluster-name=default-cluster",
"instance-name=pod1"
]
},
"leaf2.dc": {
"address": "leaf2.dc",
"tls-server-name": "leaf.dc",
"tls-ca": "/var/run/secrets/huawei_ca",
"subscriptions": [
"huawei"
],
"tags": [
"cluster-name=default-cluster",
"instance-name=pod2"
]
},
...
...
These tags match same tags of collectors
pod1  -  "tags": ["cluster-name=default-cluster","instance-name=pod1"]
pod2 -  "tags": ["cluster-name=default-cluster","instance-name=pod2"]
...
gnmic.yaml is same on all pods
insecure: false
encoding: json
clustering:
targets-watch-timer: 30s
locker:
type: redis
servers:
- redis:6379
password: admin
debug: true
loader:
type: http
interval: 60s
timeout: 50s
start-delay: 5s
auth-scheme: Token
debug: true
subscriptions:
huawei:
paths:
- /openconfig-platform:components/component/state/software-version
- /openconfig-interfaces:interfaces/interface/state
- /openconfig-interfaces:interfaces/interface/openconfig-if-ethernet:ethernet/state/negotiated-port-speed
outputs:
prom:
type: prometheus
listen: :9804
path: /metrics
expiration: 60s
export-timestamps: true
timeout: 30s
We found that leafs are distributed between pods by tags values correctly. But after pod is disabled and enabled again it`s targets  reconnected to another pods and do not return back after pod become active in cluster. It seems collectors do not try to reassign elements, but  in my logic they have to do it after some interval (is it true?). Please help find the reason of such behaviour.
Thx

Yes, that's how it works today. There is no automatic redistribution of targets when pods are created (it only happens when pods fail).
There is no real advantage in moving targets automatically, it would just disconnect and reconnect to create the subscriptions.
You can delete the target manually using the rest API to trigger the leader to assign it to a newly created pod.

@karimra, thanks for response!


Added github actions

Github Action
Added a github actions workflow to remove sensitive spotify information like Client-secret, Client-id and users private information like their Access token and their Refresh token.

Error fix


feat: Add format filter for iso

What
Add a format filter for ISO.
To get a format that shoots really sharp photos but takePhoto takes longer:
const format = useCameraFormat(device, [
  { iso: 'max' }
])

To get a format that shoots okay-ish photos but takePhoto is really fast:
const format = useCameraFormat(device, [
  { iso: 'min' }
])

Changes

Tested on

Related issues

Resolves: https://github.com/mrousavy/react-native-vision-camera/issues/1885

I find the names min and max quite counter-intuitive. In photography you usually set a higher ISO for faster shutter speed. Here using max will take longer. Just a thought...

Well it technically is a number filter, max means the highest number available. What name do you suggest?


pathlib2 dependencies missing

Struggling to keep compatibility with python2 (mainly because of 4Sight old software).
plico.utils.config_file_manager.py needs pathlib2, that is not included in the dependencies.
I believe pathlib2 can be installed also in python3 without issues.

actually Path is not needed in config_file_manager.py
Try to remove it.
There may be dependencies in plico on pathlib2 in the test. But anyhow the actions are discontinued on python2

Fixed in 07d848d4bdab6d980bba67e2986ade31d8559b93
Included in v0.21.0


Problem saving

Issue Type: Bug
When saving, it will sometimes errase the last bit of code since last being saved.
VS Code version: Code 1.38.1 (b37e54c98e1a74ba89e03073e5a3761284e3ffb0, 2019-09-11T13:35:15.005Z)
OS version: Windows_NT x64 10.0.17763

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8265U CPU @ 1.60GHz (8 x 1800)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: disabled_offprotected_video_decode: enabledrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
11.89GB (4.87GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions (3)

Extension
Author (truncated)
Version

vscode-css-formatter
aes
1.0.1

debugger-for-chrome
msj
4.12.0

LiveServer
rit
5.6.1

I wonder if this issue is being caused by an installed extension. Can you try to run VS Code without extensions? From the command line (NOT the integrated terminal in Code), execute: code --disable-extensions and try your steps again to see if it reproduces. If you see it is an issue with the extension, please file it against the extension repository itself.

I executed the code and tested vs code but I'm still getting the issue that trying to save erases the previous input.

/needsmoreinfo

I'm not sure what other info you would need, I'm new to my computer science program. I noticed that the extension Debugger for Chrome offers a temporary fix. I tried to send a video but it seems to be too big to send on GitHub.

@JesseLevesque no worries, what i asked for is more exact steps how to reproduce. What file are you typing in what are your settings. What is open in browser?

So when I type out code (or erase) and save, then open in live server or refresh an open live server, it reverts to a previous save. It does this in both HTML and CSS files. The drive I'm using is a school H drive. The only websites open in my browser are my school website, outlook and the live server.

@JesseLevesque so would you agree that "Live Server" is an extension that might trigger this? Do you see the text getting removed when you type and save without using any extension?

Possibly. I can't seem to open my HTML in the browser without live server and using live server currently is a requirement in my course. Me and one other student have this problem but the whole class uses live server.

@JesseLevesque to clarify:

When saving, it will sometimes errase the last bit of code since last being saved.

This only surfaces when you try things out in the HTML live server right, not in the editor?

After I save, it's still there but once I go to the live server to test the HTML page and come back after to vs code, it reverts back to a previous save. This affects both my HTML and CSS code.

@JesseLevesque do you also see this when Live Server is not involved?

Without live server, it doesn't let me open the site using the path so I'm unable to verify this. The other student that is also having this problem with VS code can open using the path and his VS code does the same issue with saving with or without live server.

@JesseLevesque I am sorry, but I suggest you look into reporting this issue against that extension to get further.


I can't get 4K 60Hz Display

Which do you have: an M73 Tiny or an M93p?:
Do your specs match the ones shown in the README.md (minus the USB WiFi adapter)?:
If your specs do not match, what are your specs?:
What version of OS X/macOS are you using?:
What is your issue?:
Steps to reproduce your issue:

Hello, I have a lenovo m73, I used to DP to connect my display. It's KOIOS company 4K 60Hz,But On montery， I only output 4K  30Hz，Please help me

Hello! Were you able to get 4K60 on any other OS? I didn't think this ThinkCentre was capable of 4K60.

Nevermind, it seems to be a common issue with macOS. There is various solutions though, so I'll try to send you some so we can fix this.

Do you mind attempting to add this bootarg to your OpenCore config? If it doesn't work, please let me know.

Thanks for support. It's nice 4K 60Hz worked on Windows10.
"-cdfon" I had add to config. but only 4K 30Hz.
My config:
7C436110-AB2A-4BBB-A880-FE41995C9F82

#INFO (prev-lang:kbd)
en:252 (ABC), set 656e3a323532
ForceDisplayRotationInEFI
0
SystemAudioVolume
Rg==
boot-args
-cdfon
csr-active-config
AAAAAA==
prev-lang:kbd
en-US:0
run-efi-updater
No

Mhm, ok. I have a couple more solutions to try but let me find one that might be the most likely to work.

Yeah okay. Again, this seems to be a very common and solvable issue, but there's a lot of different ways to solve it. I'm going to send you another way to attempt to solve it in just a small bit.

I need to install Monterey to help solve the issue, currently running Ventura but I can't send you a screen recording from it.  Quick question, do you have an HD4400 or an HD4600 as your iGPU? You can check in "About This Mac".

My CPU is i5  4690t  ，so is  HD4600

Ok, so I made a new config that has all the settings that people say should make 4K60 work on Big Sur and Monterey. This config is bloated with options though, so I do not recommend using it as a daily and is mainly meant for testing to see if we can get this working.
PLEASE put this config on a USB, not on your hard drive. It's untested so I'm not sure if it will even boot, so I want to make sure you have another way to boot in case this config does not work.
 Try that if it happens
EFI.zip

oh，sorry
your efi is not work，my display still is 4K 60Hz

maybe its ok，i try it again

Mhm, okay. Does the config at least boot? Could you try to use this application to force 4k60? https://github.com/avibrazil/RDM

O My God，the efi is ok。
Now the display is 4K 60Hz，after I refresh the   display resolution set。
Thanks a lot，very nice

Nice! You didn't have to use the RDM application?
I'm going to send you a less bloated EFI and if you could test it that would be great!

I didn't use RDM

If you do not mind, please try this config:
EFI.zip
If that config does not work, please try this one:
EFI 2.zip
If neither of them work, please let me know.

hello，on my PC
the first  efi will make display solution become 2K 60Hz
thesecond efi-2 is worked nice  4k 60Hz

Ok, thanks! I'll test the config on my ThinkCentre to make sure it doesn't break anything for 1080p and then I'll push the changed into the main branch. Thanks for reporting the issue!

This issue has been fixed with commit 8caef5cf1aac61c434c8698becb4e531d95181ca in "main" and with commit 24fc53cc41f5f97f02c662082138c3e42e93518e in "ventura". Thank you @NatureProtect! This issue will now be closed. Please reopen if you have any further issues with this exact issue, or make a new issue.


Password screen colors

🗃 Github Issue Or Explanation for this PR. (What is it supposed to do and Why is needed)
No issue
✅ Checklist

[x] Github issue details are up to date for people to QA.
[x] I have tested all my changes.

🕵♂ Notes for Code Reviewer
Colors and Texts
🙈 Screenshots

👯♀ Paired with
Solo

gtg


service: add support for HTTPS keys and certs

This commit updates service to support loading keys and certs as strings or from file.
Fixes #777

Updated to handle relative paths!

I already did. See the most recent commit.


Include process/pane info in notification

Include some kind of identification of the process / pane in the notification.

@ChanderG Thanks a lot for the amazing plugin! It really helps my workflow. I just send you a pull request in which I fixed one small bug and added some features that I myself found useful. Let me know what you think. Feel free to change my code and the tmux-option names in any way you desire.

@rickstaa , thanks. Glad to know that such small personal tools end up being useful for others too.
Thanks for taking time to create the PR. Feel free to open PRs for any other features you need too.

@ChanderG Great thanks a lot for being opensource! I send you another pull request with some small changes. I also opened to seperate topics for the features I want to implement later this year. Maybe you can add a feature and fix label to the issues pane. You can also add me as a collaborator if you want to.

@rickstaa , feel free to add the issue labels as needed.


Fix phpstan complains about false errors

For some weird reason PHPStan was complaining about these on master: https://github.com/guzzle/guzzle/runs/359402989
We had this PR merged before in order to fix them: https://github.com/guzzle/guzzle/pull/2471
also this error was removed: https://github.com/guzzle/guzzle/pull/2485/files#diff-cbcd91b5fa0a393ebd972f66cc47dc90L538
which initially it seems to have been cause again by an array_replace here: https://github.com/guzzle/guzzle/blob/master/src/Handler/StreamHandler.php#L298
The most interesting part is that I had this weird change in behavior locally too.. I am not sure if this is related in anyway with github actions or with PHPStan.. Also in GH actions I can not see the PHPStan version. So I am not sure what version it is used on each case...

CI is green, code is great.  =)


这个项目已经放弃维护了吗？官网都302了

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior.
Expected behavior
A clear and concise description of what you expected to happen.
Environment

PowerJob Version: [e.g. 3.0.0]
Java Version: [e.g. OpenJDK 8]
OS: [e.g. CentOS 8.1]

Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

没有，这段时间略忙，正在 fix。


Update maven wrapper to 3.9.6

Using the maven wrapper is currently broken since the org.apache.maven.plugins:maven-enforcer-plugin  plugin requires at least maven 3.6.3. The committed maven wrapper uses version 3.5.0.
This PR updates the wrapper straight to 3.9.6 which fixes the issue.

We have jar files in the repository? Gross. I'd rather get rid of this since it will automatically go out of date with the next release, and the next one. I never use it. The GitHub CI doesn't either.

I mean...personally, I like the wrapper scripts. But if you want, I can change this PR to simply remove the wrapper :) Should I do that?

Hi @beatbrot
Let's see if anyone else chimes in who is in love with these scripts...

I mean...personally, I like the wrapper scripts. But if you want, I can change this PR to simply remove the wrapper :) Should I do that?

Sure, go for it. TY.

@garydgregory Done :)


pybind unable to convert pycolmap.Reconstruction.points3D

I apologize in advance for the badly formatted issue. In some conda-forge builds of pycolmap, it is not possible to access the attributes of the reconstruction objects: https://github.com/conda-forge/pycolmap-feedstock/issues/14
It seems that this issue is coming from here and it is resolved in the latest commits as stated by a maintainer of the conda-forge feedstock: https://github.com/conda-forge/pycolmap-feedstock/issues/14#issuecomment-1854755308
I'm creating this issue only to share information between repos and to track when the issue will be solved (hopefully with the next release).
(Feel free to close this if you are not happy with that).

Hi, I'm the pycolmap maintainer on conda-forge. I am currently in the process of creating a build of pycolmap based on the latest commit on the main branch, as opposed to the latest release. The issue does not exist there. So please ignore here.

Hi, it would be amazing if the build frequency could be increased and synced.
This would help conda-forge a lot, including getting rid of those patches that you refer to (which are mostly pull requests already merged into main in colmap/pycolmap).
For colmap, I have released a package based on a recent colmap commit, which only has two minor patches (see https://github.com/conda-forge/colmap-feedstock/tree/dev/recipe). The LZ4 patch is conda-specific on Windows, but should work upstream without issues (happy to create a PR). The boost patch seems like it should actually be upstreamed (otherwise Windows build failed with a missing link error).
For pycolmap, I am currently in the process of releasing a package based on a recent commit, too - just some Windows+CUDA issues to resolve (I saw/use your PR), but there is an issue using scikit-build+win+cuda+conda.
Ideally, the PyPi and conda builds should be able to happily exist side-by-side; if there are more frequent releases here, then the conda-forge feedstock should be a thin wrapper around the repositories here. If the PyPi builds are a big effort for you, I'd be more than happy to add you as maintainers to the conda-forge feedstocks so you can take control there. I'm personally a big fan of conda-forge and maintain >100 repos ..

The boost patch seems like it should actually be upstreamed (otherwise Windows build failed with a missing link error).

I believe that this should be fixed by PR https://github.com/colmap/colmap/pull/2304. I'd be great if you could send a PR for LZ4.

there is an issue using scikit-build+win+cuda+conda.

We use the PyPI build pipeline for continuous testing. Not having the conda pipeline tightly integrated means we currently cannot use it to drive the development. Currently the PyPI pipeline doesn't cover CUDA and osx-arm64, but I'd like it to in the future - though it's low priority for now.

if there are more frequent releases here, then the conda-forge feedstock should be a thin wrapper around the repositories here

Yes, it would be great to have the feedstock closely track the upstream repos (with frequent releases) so we can catch issues early and minimize discrepancies across wheels. One thing we'll need to unify are build configs - currently we build COLAMP for PyPI wheels without GUI and CGAL to reduce the wheel size.


individual selection on parent nodes

Hi,
I have a parent node, some of which nodes are not to be selected on parent selection. but I should be able to select individually.
Is there any way for this?

If I understand here is the demo of what you need: https://vue-treeselect.js.org/#more-features

Hi, Thanks for the reply
actually, this is not what I need,
suppose A is group and having a child (1,2,3,4),
one of the children 3 should be selected individually, on clicking A this 3 shouldn't be selected.

one of the children 3 should be selected individually, on clicking A this 3 shouldn't be selected.
Sorry, I do not understand it.

Do you mean that on clicking A just 3 must be selected or 1,2,4?
or do you mean than you want to select 3 first, then on clicking A you want to select 1,2,4 and deselect 3?

on clicking on A 1,2,4 should be selected, and 3 shouldn't be selected

The simplest way I can come up right now is to let Treeselect select all children (1,2,3,4), this fires "select" which you can listen event and then you can deselect 3.
Another option (probably), do not use "v-model", use :value="yourValues" + events, so you can handle yourValues as you need yourself.


Improve exception message of UnknownHostException

Motivation:
The UnknownHostException created by DefaultDnsNameResolver does
not tell a user about the DNS queries it sent.
Modifications:

Update the messages of the UnknownHostExceptions created by
DefaultDnsNameResolver, so they are more user-friendly.
Improve the coverage of DnsAddressEndpointGroupTest.
Maybe fix the flakiness of DnsAddressEndpointGroupTest.backoff() and
backoffOnEmptyResponse().

Result:

User-friendliness
Fixes #2315

Thanks, @minwoox @ikhoon


Failure on "Metadata" step with Agilent .d files

I tried to process an imaging experiment that used an Agilent QTOF instrument and I got imzML_Writer to complete the first two steps shown ("RAW --> mzML" and "Write imzML"). However, no imzML was written and the loading bar for the "Metadata" step just had a small bar going back and forth and never began. I used default parameters if that matters.  I included the error traceback below:
(imzmlwriter) C:\Users\elher\OneDrive\Documents\imzML_Writer>python imzML_Writer.py
Exception in thread Thread-3 (<lambda>):
Traceback (most recent call last):
  File "C:\Users\elher\miniforge3\envs\imzmlwriter\Lib\threading.py", line 1041, in _bootstrap_inner
    self.run()
    ~~~~~~~~^^
  File "C:\Users\elher\miniforge3\envs\imzmlwriter\Lib\threading.py", line 992, in run
    self._target(*self._args, **self._kwargs)
    ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\elher\OneDrive\Documents\imzML_Writer\imzML_Writer.py", line 227, in <lambda>
    thread = threading.Thread(target=lambda:imzML_metadata_process(path_to_models,slashes,x_speed=int(speed_entry.get()),y_step=int(Y_step_entry.get()),tgt_progress=Annotate_progress,path=CD_entry.get()))
                                            ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\elher\OneDrive\Documents\imzML_Writer\gui_functions.py", line 298, in imzML_metadata_process
    annotate_imzML(target_file,model_files+sl+model_file_list[0],final_time_point,filt,x_speed=x_speed,y_step=y_step)
    ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\elher\OneDrive\Documents\imzML_Writer\gui_functions.py", line 338, in annotate_imzML
    data = BeautifulSoup(data,'xml')
  File "C:\Users\elher\miniforge3\envs\imzmlwriter\Lib\site-packages\bs4\__init__.py", line 250, in __init__
    raise FeatureNotFound(
    ...<2 lines>...
        % ",".join(features))
bs4.FeatureNotFound: Couldn't find a tree builder with the features you requested: xml. Do you need to install a parser library?
Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Users\elher\miniforge3\envs\imzmlwriter\Lib\tkinter\__init__.py", line 2068, in __call__
    return self.func(*args)
           ~~~~~~~~~^^^^^^^
  File "C:\Users\elher\miniforge3\envs\imzmlwriter\Lib\tkinter\__init__.py", line 862, in callit
    func(*args)
    ~~~~^^^^^^^
  File "C:\Users\elher\OneDrive\Documents\imzML_Writer\imzML_Writer.py", line 259, in check_metadata_completion
    populate_list(CD_entry.get())
    ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^
  File "C:\Users\elher\OneDrive\Documents\imzML_Writer\imzML_Writer.py", line 52, in populate_list
    files = os.listdir(dir)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:/Users/elher/Desktop/raw_files/Soybean93Y21-S10-sample2-00'

Hi Emerson,
Thanks for posting, and sorry you're encountering an error! Our Agilent test data set wasn't the deepest (few GC-MS runs for pseudo-images), so I'm not surprised errors are cropping up with real data. From the call stack and the lack of imzML file, I think it's probably struggling to find the scan filters to separate the file(s) if appropriate. Would you be willing to (privately) share some raw data that I can tinker with?
Also - Is the QToF writing data with ion mobility as well? If so the extra dimension of drift time may be the issue.
Thanks,
Joseph


feat: kwargs unpacking

Oh also, we need to add in tests for both Starred and for kwargs unpacking.


runtime(vim): Fix indent after :silent! function

See https://github.com/vim/vim/commit/35699f17497dcdcfdd747fedaef28f208ac6eb5f#commitcomment-148816912
@Konfekt, does that work for your cases?
Ping @lacygoill

Yes, thank you very much @dkearns for catering to my idiosyncrasies.

sure, thanks


got initialization tests working

@0x1c0de4f00d I'm going to merge this. I fixed the issues quickly. Can you try to figure out how to get those .swo files to stop being added? If they keep getting created by your system, you might have to manually stage each file to be committed instead of doing git add .


Relax rules for commit messages

I like the rules for commit messages, but please can we relax them.
My proposal:
$1($2): $3
$1: One of feat fix chore docs tests
$2: Any single word, any case
$3: Any string, any case
Example:
feat(types): Expand User type and apply 'on-the-fly' migrations
Reasoning:
I like to keep my commit messages consistent with the code is touches. If I fix a bug in someBuggyFunction, I want to reference it in my commit message. Or if I am working with types, I want to use StartCase in the commit message to reference the type I have worked on, which uses StartCase in the code base.

I'm all for this.
I do see merit in having consistency in regards to a full stop, the only thing I care about is consistency. Happy to keep enforcing full stops?

Are we enforcing full stops? Haven't tripped that rule yet

I'm guilty of having tripped that plenty of times, an old habit. Appears commitlint/config-conventional, which we extend, enforces subject-full-stop.

So, are we saying

full stop - yes
or
full stop - no

??

Let's keep the default of "full stop - no".

All yours @user512 !

@Bouncey I tested the PR with your example commit message and returns no error/ warning.


Shivendu Kumar

Profile Screenshot

Hey! you can use this screenshot instead, your whole profile is visible and the window taskbar is also not visible :)
Thank you for opening the issue

Hey! you can use this screenshot instead, your whole profile is visible and the window taskbar is also not visible :) Thank you for opening the issue

Thanks, I am on it .


Underlined headers not supported

A document like this one:
header
=====

section
-------

lorepipsum

will generate an empty TOC.
Thanks!

Recognized title and ignore other grammar, it 's troublesome, I need a lot's time. Thank you for your issue.

#12


Notify wasmtime install is local not system wide

I don't think an issue is needed for this. Just a brief notice that the install script install wasmtime locally, not system wide.
Why
This won't work when executed as a standalone script outside of a local terminal
#!/usr/bin/env wasmtime ...

because
$ sudo su
# wasmtime --help
wasmtime: command not found

Cf. WasmEdge's installation instructions re https://wasmedge.org/book/en/quick_start/install.html#quick-install and https://wasmedge.org/book/en/quick_start/install.html#install-for-all-users.


Bulk import methods

We're currently evaluating threat_note along with some other intel tools, and I was hoping to give some feedback.  If opening a ticket is not the right avenue for this, let me know and I can submit ideas via some other preferred method.
It'd be nice to have some form of bulk import.  I'm assuming that CSV would be the most natural to parse. This would be useful when migrating DB's or importing giant lists of indicators from events.

This is the perfect place to leave feedback and feature requests. @sroberts is working on a better API which supports uploading indicators to threat_note.
If that doesn't work for you, we could definitely look into a bulk import from CSV, since I think that could be pretty useful. Hang tight for the API, and let me know if that will satisfy this requirement.
Thanks!

Import/Export to CSV & JSON is on my list of must haves for the API. I've been actively working on it in #104. I don't have the bunk endpoints yet, but they're coming quickly.


install Error

Hi,
I am using the Windows system and after downloading the file, I use anaconda to enter the file directory and execute pip install Command, but an error occurred. I am not sure how to solve this problem
(py3.10) D:\cc\torch_kdtree-main_torch>pip install .
WARNING: Ignoring invalid distribution -harset-normalizer (e:\anaconda3\envs\py3.10\lib\site-packages)
Processing d:\cc\torch_kdtree-main_torch
Installing build dependencies ... done
Getting requirements to build wheel ... done
Preparing metadata (pyproject.toml) ... done
Requirement already satisfied: numpy>=1.20 in e:\anaconda3\envs\py3.10\lib\site-packages (from torch-kdtree==1.0) (1.23.5)
Requirement already satisfied: torch in e:\anaconda3\envs\py3.10\lib\site-packages (from torch-kdtree==1.0) (1.13.1+cu116)
Requirement already satisfied: typing-extensions in e:\anaconda3\envs\py3.10\lib\site-packages (from torch->torch-kdtree==1.0) (4.5.0)
Building wheels for collected packages: torch-kdtree
Building wheel for torch-kdtree (pyproject.toml) ... error
error: subprocess-exited-with-error
× Building wheel for torch-kdtree (pyproject.toml) did not run successfully.
│ exit code: 1
╰─> [71 lines of output]
running bdist_wheel
running build
running build_py
running build_ext
CMake Error at E:/Temp/pip-build-env-j9fya7em/overlay/Lib/site-packages/cmake/data/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:503 (message):
No CUDA toolset found.
Call Stack (most recent call first):
E:/Temp/pip-build-env-j9fya7em/overlay/Lib/site-packages/cmake/data/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:8 (CMAKE_DETERMINE_COMPILER_ID_BUILD)
E:/Temp/pip-build-env-j9fya7em/overlay/Lib/site-packages/cmake/data/share/cmake-3.27/Modules/CMakeDetermineCompilerId.cmake:53 (__determine_compiler_id_test)
E:/Temp/pip-build-env-j9fya7em/overlay/Lib/site-packages/cmake/data/share/cmake-3.27/Modules/CMakeDetermineCUDACompiler.cmake:307 (CMAKE_DETERMINE_COMPILER_ID)
CMakeLists.txt:4 (project)
  -- Configuring incomplete, errors occurred!
  Building extension...
  Building extension #2...
  Build temp dir:  build\temp.win-amd64-cpython-310\Release D:\cc\torch_kdtree-main_torch\build\lib.win-amd64-cpython-310\
  Traceback (most recent call last):
    File "E:\anaconda3\envs\py3.10\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 353, in <module>
      main()
    File "E:\anaconda3\envs\py3.10\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 335, in main
      json_out['return_val'] = hook(**hook_input['kwargs'])
    File "E:\anaconda3\envs\py3.10\lib\site-packages\pip\_vendor\pyproject_hooks\_in_process\_in_process.py", line 251, in build_wheel
      return _build_backend().build_wheel(wheel_directory, config_settings,
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\build_meta.py", line 434, in build_wheel
      return self._build_with_temp_dir(
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\build_meta.py", line 419, in _build_with_temp_dir
      self.run_setup()
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\build_meta.py", line 341, in run_setup
      exec(code, locals())
    File "<string>", line 143, in <module>
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\__init__.py", line 103, in setup
      return distutils.core.setup(**attrs)
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 185, in setup
      return run_commands(dist)
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\_distutils\core.py", line 201, in run_commands
      dist.run_commands()
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 969, in run_commands
      self.run_command(cmd)
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\dist.py", line 989, in run_command
      super().run_command(command)
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\wheel\bdist_wheel.py", line 364, in run
      self.run_command("build")
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\dist.py", line 989, in run_command
      super().run_command(command)
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\_distutils\command\build.py", line 131, in run
      self.run_command(cmd_name)
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\_distutils\cmd.py", line 318, in run_command
      self.distribution.run_command(command)
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\dist.py", line 989, in run_command
      super().run_command(command)
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\_distutils\dist.py", line 988, in run_command
      cmd_obj.run()
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\command\build_ext.py", line 88, in run
      _build_ext.run(self)
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 345, in run
      self.build_extensions()
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 467, in build_extensions
      self._build_extensions_serial()
    File "E:\Temp\pip-build-env-j9fya7em\overlay\Lib\site-packages\setuptools\_distutils\command\build_ext.py", line 493, in _build_extensions_serial
      self.build_extension(ext)
    File "<string>", line 129, in build_extension
    File "E:\anaconda3\envs\py3.10\lib\subprocess.py", line 369, in check_call
      raise CalledProcessError(retcode, cmd)
  subprocess.CalledProcessError: Command '['cmake', 'D:\\cc\\torch_kdtree-main_torch', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=D:\\cc\\torch_kdtree-main_torch\\build\\lib.win-amd64-cpython-310', '-DPYTHON_EXECUTABLE=E:\\anaconda3\\envs\\py3.10\\python.exe', '-DEXAMPLE_VERSION_INFO=1.0', '-DCMAKE_BUILD_TYPE=Release', '-DPIP_BUILD=ON', '-A', 'x64']' returned non-zero exit status 1.
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for torch-kdtree
Failed to build torch-kdtree
ERROR: Could not build wheels for torch-kdtree, which is required to install pyproject.toml-based projects

Hi, after going through your stderr, the main problem to me seems to be the line No CUDA toolset found.. Can you run nvcc --version on your command line? A common related problem is a mismatch of torch and system cuda versions.


In chapter 3.2, Why Aliasing Matters section, is the optimize example wrong?

In chapter 3.2(Aliasing), Why Aliasing Matters section, is the optimize example wrong?

fn compute(input: &u32, output: &mut u32) {
    let cached_input = *input; // keep *input in a register
    if cached_input > 10 {
        *output = 2;  // x > 10 implies x > 5, so double and exit immediately
    } else if cached_input > 5 {
        *output *= 2;
    }
}

should be:
fn compute(input: &u32, output: &mut u32) {
    let cached_input = *input; // keep *input in a register
    if cached_input > 10 {
        *output *= 2;  // x > 10 implies x > 5, so double and exit immediately
    } else if cached_input > 5 {
        *output *= 2;
    }
}

or
fn compute(input: &u32, output: &mut u32) {
    let cached_input = *input; // keep *input in a register
    if cached_input > 10 {
        *output = 1;  // x > 10 implies x > 5, so double and exit immediately
    } else if cached_input > 5 {
        *output *= 2;
    }
}

No it's correct. When it's > 10 we set it to 1 and then double it. The given optimization is to just replace this with setting it to 2.
It's a misleading comment, though. That should be fixed.


Bump version of github actions - Testing from a FORK

actions/setup-go: Bumping it to v5.
With the v5, cache is done by default, so there is no need to
specify cache: true

actions/checkout: bumping it to v4
A lot of different improvements, but the one that made me decide
to upgrade was to use node20 instead of node16.
Node16 has en end of life on 11 Sep 2023

codecov/codecov-action: bumping it to v4 (v4.5.0)
It was hard-coded v4.2.0, meaning that the fixes around detecting
if running from a fork (v4.3, v4.4 and v.4.5) were not backported,
therefore making the job not being able to detect when it was
running from a fork

For those who have no idea what's going on, Creating a PR from a forked repo (like this PR) used to fail to upload files to codecov.  For example https://github.com/NethermindEth/juno/pull/1788
This PR passing the all the checks (including codecov/patch and codecov/project) means that it's working as desired :)

If you are waiting for codecov to write a new message, it doesn't.  They only update the message that they sent before:


[Feature]: Added RNA Transcription exercise

Fixed the merge conflict, didn't realize that the Reverse String PR was already merged and needed to fix the config.json


Build test: Couldn't find CORSDK, when running with latest framework

Running build test with the latest framework throws: couldn't find CORSDK
Repro steps
Clean install of windows and clean install of VS2017 RC
Run: build test
Expected behavior
Test should run
Actual behavior

Known workarounds
Modifying test-framework.fs to include these entries:
regQueryREG_SOFTWARE @"SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\NETFXSDK\4.6.1\WinSDK-NetFx40Tools" "InstallationFolder"
regQueryREG_SOFTWARE @"SOFTWARE\WOW6432Node\Microsoft\Microsoft SDKs\NETFXSDK\4.6.2\WinSDK-NetFx40Tools" "InstallationFolder"

will make the tests run again.
Related information
None of the following registry keys are matched when running tests with the latest frameworks:

Software\Microsoft\Microsoft SDKs\NETFXSDK\4.6\WinSDK-NetFx40Tools
Software\Microsoft\Microsoft SDKs\Windows\v8.1A\WinSDK-NetFx40Tools
Software\Microsoft\Microsoft SDKs\Windows\v8.0A\WinSDK-NetFx40Tools
Software\Microsoft\Microsoft SDKs\Windows\v7.1\WinSDK-NetFx40Tools
Software\Microsoft\Microsoft SDKs\Windows\v7.0A\WinSDK-NetFx40Tools

Let me know if adding those keys is the correct approach and I'll create a PR with the changes

Sure add these please


How to instruct Angular CLI to NOT inline images less than 10Kb in size

Versions
Angular CLI: 1.6.0
Node: 8.9.0
OS: darwin x64
Angular: 5.0.0
... compiler, compiler-cli, core, service-worker

Repro steps

Make sure your app has assets, e.g. images of size less than 10Kb referenced from your css
run ng build --target=production

Observed behavior
Assets, e.g. images of size less than 10kb are inlined in CSS

Desired behavior

When building an Angular app with Angular CLI, resources in CSS, e.g. svg images, less than 10kb in size will be inlined.
This sounds like a good concept from the performance point of view, however, it violates very strict Content Security Policies in my app, which I 'm not allowed to change.
data: Allows data: URIs to be used as a content source. This is insecure; an attacker can also inject arbitrary data: URIs. Use this sparingly and definitely not for scripts.

https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/img-src
I want an option to NOT to inline any assets, e.g. images, in CSS due to strict CSP requirements.
Mention any other details that might be useful (optional)

For extremely strict environments, an option is to eject the configuration and customize the webpack configuration for the applications target environment.
Out of curiosity, that warning may sound alarming but is there any research that suggests a data URI as an image source represents a security issue?  As opposed to scripts which are a completely different matter (which that warning is pointing towards).
Also, note that unsafe-inline will be needed by for style-src and currently unsafe-eval may also be needed for script-src (this can be eliminated by removing reflect polyfills, running in AOT mode, and removing the webpack node global shim from an ejected configuration).

@clydin Well, I submitted a request to verify the possibility to add img-src data:; rule in the CSP headers.  Though, it's almost Christmas, may take a while before I get a response.
From my understanding the issue is in the fact that it's img-src cannot define a specific resource type, e.g. img-src data:image/svg+xml;, so all resource types will be allowed...
Meanwhile, I created a PR to add --inline-asset-max-size build flag https://github.com/angular/angular-cli/pull/8953

ok, 10KB sounds like fine right? until you have 100 of them
a 1MB+ styles file is not a good thing
on a localhost or fast connection, you won't notice it,
but not all connections are created equally
we should at least be able to disable this all together
in .angular-cli.json or so

Got response from the security. It appears adding img-src data:; to the CSP headers is not a big security issue.
This issue is not relevant t me anymore, though, it would be good to have options.

Created a dumb example to show how dangerous this can be to bundle sizes.
This generates 850kb styles.css with ng build -prod:
https://github.com/intellix/cli-inline-svg/blob/master/src/scss/_coloured.scss
I'm thinking it could happen easily within a team of developers when someone has a folder full of language flag SVGs and then someone decides to add some extra background colours. It's definitely unexpected and I think even this example generating 20kb is pretty bad:
.visa-1 {
  background: url('assets/visa.svg'), transparent;
}
.visa-2 {
  background: transparent, url('assets/visa.svg');
}

This has become a big problem for the project I am on.  We need the background image to be customizable per deployment. The ability to swap images in a folder seemed like a good solution at the time.
background: url('#{$custom-images-folder}background-logo.svg') center
I'm pretty disappointed to see that #8967 was closed. There is a comment on that PR stating that the next major release would "more easily support this feature", but it doesn't sound like it is being considered for that major release.
Does anyone have a work-around suggestion?

In case someone else needs a solution suggestion...
We're using gradle to build our OSGi project. The build process copies Angular's dist folder to a location that bndtools can easily bundle.
I added a filter to our gradle script copy task to put the path/filename back.
filter {
    String line ->
    line.replaceAll(/background:url\("data:image.*?background-logo.*?"\)/, "background:url(\"custom/assets/images/background-logo.svg\")")
}

One more reason to allow modify this option: devserver recompiles the app on < 10kb resource change, but the old version of resource is served.

There is a library that can help with situations like this => patch-package, you only need to change this value to 0 and problem solved.

Please make this option configurable and do not let developers guess if the resource will be inlined and if they need to be preloaded in advance, or not. It's not intuitive now.

Inlining has been completely removed in the upcoming 7.0.   As indicated, considering caching and with the advent of HTTP/2.0 inlining is no longer needed.

@clydin i have been using custom elements to package a angular project into just a single javascript file which i could easily include in a 3rd party website without additional dependencies. the JS included all resources because the referenced images were inlined. without inlining, is there any suggestion how i could bundle everything up into 1 js file, or do I have to do some post processing myself?


[FP]: osgi-resource-locator detected as eclipse glassfish

Package URl
<EMAIL_ADDRESS>CPE
cpe:2.3:a:eclipse:glassfish:1.0.3:*:*:*:*:*:*:*
CVE
CVE-2024-9329
ODC Integration
{"label"=>"Maven Plugin"}
ODC Version
10.0.1
Description
Another dependency under the glassfish org is being detected as eclipse glassfish, which recently had a published CVE released.

Dupe of #7015, already fixed in #7016 but needs another "automated" FP report to be merged before it gets published.


Prevent cache tampering by freezing cached value

This PR freezes the merged class String object before writing it to the cache.
Currently, the merge method returns the mutable String object of the cached class string after merging. Here is an example test case that fails:
# frozen_string_literal: true

require "test_helper"

class TestMutateCachedValue < Minitest::Test
  def setup
    @merger = TailwindMerge::Merger.new
  end

  def test_cache_is_immutable
    merged_classes = @merger.merge("font-medium font-bold")
    assert_equal("font-bold", merged_classes)
    merged_classes << " text-white"
    assert_equal("font-bold", @merger.merge("font-medium font-bold"))
  end
end

with
Minitest::Assertion: Expected: "font-bold"
  Actual: "font-bold text-white"

This causes some very confusing and hard to debug bugs. Initially, the merger computes the correct value and saves it to the cache. Then the output is modified externally, e.g. because you want to append a class in some special case. For all in-place operations, like <<, this changes the cached value. The cache can never recover because the value is not recalculated.
The obvious candidates for fixing this are either .freeze on the cache value, like in this PR, or .dup on the return value of the merge method. I picked .freeze because it comes with almost no additional computational penalty. I imagine that in the vast majority of cases, the consumer won't need to modify the merged classes. So spawning a new String object on every request seems wasteful. Also Ruby is moving forward to freeze all strings by default in 3.5. The downside is, that .freeze is a breaking change. But then again, it probably mostly breaks code that had unnoticed bugs, so it seems justified.
Results of my test suite indicate, that .freeze doesn't affect the computation speed. .dub performs 10% worse when the cache isn't overflowing and equally to .freeze once the cache size is exceeded. Here are some results:
--------------- 500 samples ---------------
ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [x86_64-linux]
Warming up --------------------------------------
              Merger   131.978k i/100ms
        FreezeMerger   129.696k i/100ms
           DupMerger   117.562k i/100ms
Calculating -------------------------------------
              Merger      1.190M (± 2.0%) i/s  (840.43 ns/i) -      6.071M in   5.104444s
        FreezeMerger      1.153M (± 2.3%) i/s  (867.32 ns/i) -      5.836M in   5.064749s
           DupMerger      1.068M (± 3.3%) i/s  (936.47 ns/i) -      5.408M in   5.070382s

Comparison:
              Merger:  1189862.4 i/s
        FreezeMerger:  1152977.3 i/s - same-ish: difference falls within error
           DupMerger:  1067845.3 i/s - 1.11x  slower

--------------- 800 samples ---------------
ruby 3.3.6 (2024-11-05 revision 75015d4c1f) [x86_64-linux]
Warming up --------------------------------------
              Merger     9.264k i/100ms
        FreezeMerger     9.400k i/100ms
           DupMerger     9.163k i/100ms
Calculating -------------------------------------
              Merger     86.642k (± 4.9%) i/s   (11.54 μs/i) -    435.408k in   5.038346s
        FreezeMerger     88.249k (± 2.2%) i/s   (11.33 μs/i) -    441.800k in   5.008778s
           DupMerger     87.516k (± 2.3%) i/s   (11.43 μs/i) -    439.824k in   5.028285s

Comparison:
        FreezeMerger:    88248.9 i/s
           DupMerger:    87516.5 i/s - same-ish: difference falls within error
              Merger:    86642.3 i/s - same-ish: difference falls within error

This is the suite:
require 'securerandom'
require "bundler/inline"

gemfile(true) do
  source "https://rubygems.org"

  gem "benchmark-ips"
  gem "tailwind_merge"
end

module TailwindMerge
  class FreezeMerger < Merger
    def merge(class_names)
      if class_names.is_a?(Array)
        class_names = class_names.compact.join(" ")
      end

      @cache.getset(class_names) do
        merge_class_list(class_names).freeze
      end
    end
  end

  class DupMerger < Merger
    def merge(class_names)
      if class_names.is_a?(Array)
        class_names = class_names.compact.join(" ")
      end

      @cache.getset(class_names) do
        merge_class_list(class_names)
      end.dup
    end
  end

  class Sampler
    TAILWIND_CLASSES = %w[
      text-left text-center text-right text-justify
      bg-red-500 bg-green-500 bg-blue-500 bg-yellow-500
      border border-0 border-2 border-dashed
      m-0 m-1 m-2 m-4 m-8
      p-0 p-1 p-2 p-4 p-8
      flex flex-row flex-col flex-wrap
      items-start items-center items-end items-stretch
      justify-start justify-center justify-end justify-between justify-around
      hidden block inline-block inline
      w-1/4 w-1/2 w-3/4 w-full
      h-1/4 h-1/2 h-3/4 h-full
      rounded rounded-sm rounded-md rounded-lg
      shadow shadow-md shadow-lg shadow-none
      text-sm text-base text-lg text-xl text-2xl
      font-thin font-light font-normal font-medium font-semibold font-bold font-black
      italic not-italic underline no-underline
      absolute relative fixed sticky
      top-0 top-1/2 bottom-0 bottom-1/2 left-0 left-1/2 right-0 right-1/2
      grid grid-cols-1 grid-cols-2 grid-cols-3 grid-cols-4
      gap-0 gap-1 gap-2 gap-4 gap-8
      hover:bg-red-500 hover:bg-green-500 hover:bg-blue-500 hover:bg-yellow-500
      active:bg-red-500 active:bg-green-500 active:bg-blue-500 active:bg-yellow-500
      focus:ring focus:ring-0 focus:ring-2 focus:ring-offset-2
      overflow-hidden overflow-auto overflow-scroll overflow-visible
      whitespace-nowrap whitespace-normal whitespace-pre
      cursor-pointer cursor-default cursor-wait cursor-move
    ].freeze

    attr_reader :class_samples, :sample_indices

    def initialize(num_samples: 500, avg_classes: 5, std_dev_classes: 2, num_operations: 10)
      @class_samples = generate_class_samples(num_samples, avg_classes, std_dev_classes)
      @sample_indices = Array.new(num_operations) {<EMAIL_ADDRESS>}
    end

    def sample_class_names(index)
      @class_samples[@sample_indices[index % @sample_indices.size]]
    end

    private

    def generate_class_samples(num_samples, avg_classes, std_dev_classes)
      [].tap do |unique_samples|
        while unique_samples.size < num_samples
          num_classes = clamp_value(random_gaussian(avg_classes, std_dev_classes).round, 0, TAILWIND_CLASSES.size)
          sample_classes = TAILWIND_CLASSES.sample(num_classes, random: SecureRandom).sort
          unique_samples << sample_classes unless unique_samples.include?(sample_classes)
        end
      end
    end

    def random_gaussian(mean, std_dev)
      theta = 2 * Math::PI * rand
      rho = Math.sqrt(-2 * Math.log(rand))
      scale = std_dev * rho
      mean + scale * Math.cos(theta)
    end

    def clamp_value(value, min, max)
      [[value, min].max, max].min
    end
  end
end

# Benchmarking
[500, 800].each do |num_samples|
  puts "--------------- #{num_samples} samples ---------------"
  sampler = TailwindMerge::Sampler.new(
    num_samples: num_samples,
    num_operations: 2_000_000
  )
  Benchmark.ips do |benchmark|
    [TailwindMerge::Merger, TailwindMerge::FreezeMerger, TailwindMerge::DupMerger].each do |merger_class|
      benchmark.report(merger_class.name.split("::").last) do |iterations|
        merger_instance = merger_class.new
        (0...iterations).each { |i| merger_instance.merge(sampler.sample_class_names(i)) }
      end
    end

    benchmark.compare!
  end
end

The cache can never recover because the value is not recalculated.

Gah, whoops!

The downside is, that .freeze is a breaking change. But then again, it probably mostly breaks code that had unnoticed bugs, so it seems justified.

I agree. Besides which, this gem is still pre 1.0, so per semver just like this can be made.
Thanks for the PR! I'll release this as a new patch release shortly.


Inkscape Story

By @doctormo via inkscape-dev:
I'd also like to make sure we can record user contributions and
donations no matter how we got them. This is so user contributions are
rewarded and gives them a better community standing than currently.
where I feel coding is always given almost all the reputation points,
followed by docs writers, designers and other jobs and then at dead last
people who help finding :-). Not everyone can pay, not everyone can
code. But helping is helping.

There are two points raised, I don't know if we have open issues to address them:

[ ] - project needs a way to record people and their donations
[ ] - people are given reputation points for donations
[ ] - reputation points are not easy to calculate for docs, design and other jobs

From the other side, people may want to preserve privacy:

[ ] - users need a way to donate anonymously

So, we need to expose donations via API and provide a convenient interface to count such contributions.
We may also provide a way for people who code to value contributions of other community members, so that you (as a coder) can distribute some amount of points given to you among people who you think are also important for your work, but don't receive the deserved amount of share. This may be a parallel resource to donations, specific to the given project.

So, we need to expose donations via API and provide a convenient interface to count such contributions.

I've added a +1 to #1546.

We may also provide a way for people who code to value contributions of other community members, so that you (as a coder) can distribute some amount of points given to you among people who you think are also important for your work, but don't receive the deserved amount of share.

We do! It's called money. :-)
Seriously, though, we have translators on the Gratipay team. They take money alongside developers.

It sounded like you were saying we should give money to people who give us money. :palm_tree:


Question: the MDDropDownMenu shadow

Just a question, not a bug report.
Is it possible to remove the shadow behind the MDDropDownMenu in some way?
I read the code but it seems ther's no option/parameter to set/remove the shadow

Versions

OS: Windows 10 x64
Python: 3.7.3
Kivy: 2.0.0
KivyMD: 1.0dev

@radiolondra
instance_menu.ids.card.elevation = 0


Add concurrently && nodemon to devDependencies

Adding concurrently and nodemon to devDependencies allows developers who don't those packets globally installed to use the yarn develop command without any friction.

Sounds great, thank you!


Click on last point doesn't work

I have the following chart in which I'd like to be able to click the last point and get the information (value and label data) but I'm not able to. I need to click on it directly and not clicking firstly on another and then on the last one.
Am I missing something?
Chart demo: https://codepen.io/edomazi/pen/zYxxjVy
Frappé Charts version: 1.3.0

@edomazi

I'd like to be able to click the last point and get the information (value and label data) but I'm not able to.

Thanks for reporting this. Sure seems like something missing in the library. Just to avoid any confusion, from what I understand you want the event to be triggered automatically for the last item, without have the user to click it themselves?

If you see on demo, when isNavigable is true, frappe select automatically last element.

Yes, this behaviour is intentionally added. Any reason you don't want it selected by default?

@scmmishra
Thanks for answering. No, I'd like, when isNavigable is true, to have no item selected as default (now it automatically selects the last point as hammeronthenet said too). So if a user decides to click on the last point when the chart loads he would be able to and therefore I will do some parsing with the data point he just clicked on.
To be clear, I'm able to get the values from the last point but only if firstly i click on another one then on the last one.

We can have a configuration, navigateToLastItem option, with default set to true.
How does this sound?

That sounds great. So everyone is free to use this how they please

Yes, for example when I have two charts connected. The first present the
main data and the second (onclick) is the detail of the first one. If
someone clicks on the last value he is unable to select the data and the
only way is to click another "bar" and next click the wanted.
Il ven 26 giu 2020, 11:59 Shivam Mishra<EMAIL_ADDRESS>ha
scritto:

If you see on demo, when isNavigable is true, frappe select automatically
last element.
Yes, this behaviour is intentionally added. Any reason you don't want it
selected by default?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/frappe/charts/issues/258#issuecomment-650096936, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AH7JGT6COZVD3QBJWA4VJPTRYRWRPANCNFSM4JVFO57A
.


CORE-V Extension Interface - Add memory and memory result interfaces

This commit adds memory interface and memory result interface
of the RISC-V Extension Interface.

I've now rebased this on the current cvxif/2022/v0.2 branch and will merge it into the feature branch (not master) to close the PR and still save the work. FYI this was a student project exploring the feasibility to integrate the Core-V Extension Interface which ended already some time ago.


New release ?

Its been quite a while since the last release - maybe it's soon time to make a new with the recent changes ?

@mausch Do you at least have a list of things you want resolved before making the next release ?

Hi, seems I missed this issue when it was created.
There aren't many fixes since the last release actually, see https://github.com/SolrNet/SolrNet/compare/1.0.19...master .
It would be a good idea to make a release anyway probably.
After a long hiatus I've recently picked up the project again. I've been working mainly on testing... can't really build reliably without testing things. Got the core integration tests up and running, we need to also include the tests around SolrNet.Cloud and test against multiple versions of Solr. Also need to automate the build again.

Any news regarding a new release ?

Seconding this; we are interested in the AddSolrNet(urlRetriever) overload in particular.

I still need to automate some stuff around versioning and publishing packages to nuget.
In the meantime packages are published automatically to the Github nuget repository : https://github.com/orgs/SolrNet/packages

Released 1.1.0 yesterday


How to increase output depth map resolution?

Hi. Great work and thanks for sharing the colab notebook! I noticed that the on the colab notebook, output depth map appears to be of relatively low resolution compared to the input image, which could result in some fuzziness. As such, I am curious to know whether there is a way to increase the output depth map resolution.
If it is not too much trouble, could you kindly point me to the relevant section of the notebook where I can make the necessary changes? I would be incredibly grateful for your help in this regard :)

I also used the notebook, do you know how we can add code to extract the metric depth at each pixel?

I am also curious how we could improve on the depth map resolution. I think the current pre-trained models won't be able to generate higher resolutions. However, are there any plans to use backbones with larger image sizes? Or are there any tricks to generate e.g. a sliding window inference with recalibration based on other predictions? For example,  I cropped a high resolution image into multiple non-overlapping images and stitched the resulting depth maps together, but the boundary artifacts are clearly visible and there are also some depth inconsistencies between the individual crops.
A hierarchical approach could be the way to go, using ZoeDepth for depth estimation at the full image but coarse resolution and afterwards using this as an additional input to give guidance to a decoder which predicts on a fine resolution crop.

Boosting Monocular Depth Estimation Models to High-Resolution via Content-Adaptive Multi-Resolution Merging – Yağız Aksoy this research looks like a good place to start @razorx89


Added optional color button get started

@nghminh163 Sorry, it's been a while. :sweat: Thank you for the PR. I'll close it and add a ButtonProps property instead that allows to customize the button.


Examples seem to be missing workflow metadata

The example .png files do not load any workflow data into ComfyUI.

+1, tried the meshgraphormer example, nothing in there seemingly

The images in examples aren't really examples. Maybe they could be moved to doc/assets instead, because that's all they are, images used in the README.md. Similarly, I came here to get some more information on how to use the mesh graphormer nodes.


Fatal error: Class 'GraphQL\Blog\Data\DataSource' not found

Am I missing something?

You are missing at least some more details to reproduce this %)
At least:

What example you were using?
What was the GraphQL query you were trying to run

Quick search over source files doesn't find any GraphQL\Blog\Data namespace.  Only GraphQL\Examples\Blog\Data.
So I am curious which code is producing this error. Is it your custom code or code of one of the examples?

Hi vladar. I think i figured it out already. I forgot to do a composer install on the root directory. Thank you.


configure cert-manager ClusterIssuer/Issuer in k8s cluster with CA certificate stored in Azure Key Vault

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

Currently, the CA stored in Azure Key Vault is copied over to K8s cluster to configure ClusterIssuer/Issuer and referencing this in configuration as k8s secret. There is security constraint, as CA is replicated/leaving the Azure Key vault.
The requirement is CA has to be only present in AKV and never copied to any local k8s cluster.
Example:
apiVersion: cert-manager.io/v1
kind: Issuer
metadata:
  name: ca-issuer
  namespace: sandbox
spec:
  ca:
    secretName: ca-key-pair  # k8s secret containing CA key pair.

Describe the solution you'd like

Can cert-manager issue TLS certificate without copying the CA from Azure Key vault to local k8s cluster, like PKI issuer as done with Hashicorp Vault..
Regarding authentication, cert-manager SA can be configured with necessary RBAC to access AKV and can issue certificate based on Certificate CRO.
Describe alternatives you've considered

Currently CA certificate is synced to K8s cluster using CSI driver/Provider or via AKV2K8S solution.

Additional context

Environment details (remove if not applicable):

Kubernetes version: 1.27.x, 1.29.x
Cloud-provider/provisioner: Azure/ Azure Key Vault

cert-manager version: v1.12.x
Install method: e.g. helm/static manifests: helm

/kind feature

Hey @porwalameet I am not too familiar with Azure services, but in your example you are specifying a CA issuer.
Is this because you have your own privately managed CA, just stored in Azure Key Vault?
Or are you issuing from an Azure service?
I was just wondering if you used another issuer type, it might pull the CA back for you, like the Vault issuer.
Also although it does not solve your problem, have you also considered using trust-manager to distribute your CA?

@hawksight , I have my privately managed CA which is stored in Azure Key Vault. Since CA certificate (+key) is highly sensitive data, copying to multiple Kubernetes cluster in form of kubernetes cluster will raise security concerns. So was wondering, can cert-manager can issue certificate without expecting in k8s secret.
We are using Azure Key Vault just as storage here.
I will explore trust-manager as well and get back. Thanks.


[HOW-TO] add WaitUntilAvailable to the test

I have the following code piece where I try to add waitUntilAvailable for SubArea("Sales", "Contacts"). How can I do this? Thanks!
[Test]
public void UCITestCreateContact()
{
var client = new WebClient(TestSettings.Options);
using (var xrmApp = new XrmApp(client))
{
xrmApp.OnlineLogin.Login(_xrmUri, _username, _password);
xrmApp.ThinkTime(5000);
//xrmApp.Navigation.OpenApp(UCIAppName.Sales);
client.Browser.Driver.WaitUntilAvailable();
xrmApp.Navigation.OpenSubArea("Sales", "Contacts");
            xrmApp.CommandBar.ClickCommand("New");

            xrmApp.Entity.SetValue("firstname", TestSettings.GetRandomString(5, 10));
            xrmApp.Entity.SetValue("lastname", TestSettings.GetRandomString(5, 10));

            xrmApp.Entity.Save();
        }

You don't need to Wait. This is already included in the call to OpenSubArea in the latest version

Hi @xuejunh,
Are you already familiar with the Wait-Methods?
Ex: var input = client.Browser.Driver.WaitUntilClickable(By.XPath("//input[@aria-label='Customer  Lookup']"));
here is another way, full example (at the end, expand to see it)
Can we close this Issue? Can I help you in some way?
br.

Thanks! I am closing this one.


canvas is wiped on retina displays

Unless I set data-caman-hidpi-disabled on my canvas, caman's hidpiadjustments (or similar named) routine resizes it, and this action clears its content - certainly not the effect we want.

Same problem here, i'm trying to find a solution for this very anoying on every apple retina products.

+1

Same issue here. Thanks for the workaround @makc

looks like this is not going to be fixed in master #191


adding gcp login to auth types

I've added the Google Cloud login as a supported auth type, per the API documentation here:
https://www.vaultproject.io/api/auth/gcp/index.html#login
Let me know if there's anything else I should add/amend!

Hi @saranrapjs, my PR #111 fixed the test setup 🎉
Could you please merge the latest changes from master? Thanks 🙏

@kr1sp1n done!

@saranrapjs Merged and published as v0.9.6 on npm 🎉


DevTools web is terminal by error message when in debugger

F:\flutter_dev\src_new\flutter>flutter doctor -v
[√] Flutter (Channel master, 1.21.0-6.0.pre.193, on Microsoft Windows [Version 10.0.17763.615], locale en-US)
• Flutter version 1.21.0-6.0.pre.193 at F:\flutter_dev\src_new\flutter
• Framework revision a00b57be00 (17 hours ago), 2020-08-05 04:21:02 -0400
• Engine revision 39a31934c6
• Dart version 2.10.0 (build 2.10.0-3.0.dev 363c72111d)
• Pub download mirror https://pub.flutter-io.cn
• Flutter download mirror https://storage.flutter-io.cn
[√] Android toolchain - develop for Android devices (Android SDK version 29.0.3)
• Android SDK at C:\Users\Administrator\AppData\Local\Android\sdk
• Platform android-29, build-tools 29.0.3
• Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
• All Android licenses accepted.
[√] Android Studio (version 3.6)
• Android Studio at C:\Program Files\Android\Android Studio1
• Flutter plugin version 45.1.1
• Dart plugin version 192.8052
• Java version OpenJDK Runtime Environment (build 1.8.0_212-release-1586-b04)
[√] VS Code (version 1.47.2)
• VS Code at C:\Users\Administrator\AppData\Local\Programs\Microsoft VS Code
• Flutter extension version 3.12.1
[√] Connected device (1 available)
• PDCM00 (mobile) • 9LL7VO8XUOIN75ZH • android-arm64 • Android 10 (API 29)
• No issues found!
F:\flutter_dev\src_new\flutter>

Hi @xu-baolin
Not able to reproduce this issue on Windows from VS Code or terminal

logs
PS C:\Users\Taha\AndroidStudioProjects\master_flutter> flutterm run
Using hardware rendering with device Android SDK built for x86. If you notice graphics artifacts, consider enabling software
rendering with "--enable-software-rendering".
Launching lib\main.dart on Android SDK built for x86 in debug mode...
Running Gradle task 'assembleDebug'...
Running Gradle task 'assembleDebug'... Done                        12.9s
√ Built build\app\outputs\flutter-apk\app-debug.apk.
Installing build\app\outputs\flutter-apk\app.apk...                 0.7s
Waiting for Android SDK built for x86 to report its views...          8ms
D/EGL_emulation(10087): eglMakeCurrent: 0xea5c7ac0: ver 2 0 (tinfo 0xe250f7c0)
Syncing files to device Android SDK built for x86...               268ms

Flutter run key commands.
r Hot reload.
R Hot restart.
h Repeat this help message.
d Detach (terminate "flutter run" but leave application running).
c Clear the screen
q Quit (terminate the application on the device).
An Observatory debugger and profiler on Android SDK built for x86 is available at: http://<IP_ADDRESS>:57561/1OQu9Wcx50E=/

flutter doctor -v
[√] Flutter (Channel master, 1.21.0-6.0.pre.223, on Microsoft Windows [Version 10.0.19041.388], locale en-US)
    • Flutter version 1.21.0-6.0.pre.223 at C:\Code\flutter_master
    • Framework revision 6d487355a3 (8 hours ago), 2020-08-05 20:21:02 -0700
    • Engine revision d728f691f4
    • Dart version 2.10.0 (build 2.10.0-3.0.dev d5ff386abe)

[√] Android toolchain - develop for Android devices (Android SDK version 30.0.1)
    • Android SDK at C:\Code\sdk
    • Platform android-30, build-tools 30.0.1
    • ANDROID_HOME = C:\Code\sdk
    • Java binary at: C:\Code\android-studio\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)
    • All Android licenses accepted.

[√] Chrome - develop for the web
    • Chrome at C:\Program Files (x86)\Google\Chrome\Application\chrome.exe

[√] Visual Studio - develop for Windows (Visual Studio Community 2019 16.6.5)
    • Visual Studio at C:\Program Files (x86)\Microsoft Visual Studio\2019\Community
    • Visual Studio Community 2019 version 16.6.30320.27
    • Windows 10 SDK version 10.0.18362.0

[√] Android Studio (version 4.0)
    • Android Studio at C:\Code\android-studio
    • Flutter plugin version 48.0.2
    • Dart plugin version 193.7361
    • Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b01)

[√] VS Code (version 1.47.3)
    • VS Code at C:\Users\Taha\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.13.2

[√] Connected device (4 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 10 (API 29) (emulator)
    • Windows (desktop)                  • windows       • windows-x64    • Microsoft Windows [Version 10.0.19041.388]
    • Web Server (web)                   • web-server    • web-javascript • Flutter Tools
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 84.0.4147.105

• No issues found!

Can you please more details? Steps by steps to reproduce this issue
Thank. you

@TahaTesser we have a different version. Actually, I can not reproduce with the latest version(1.21.0-6.0.pre.225). Maybe this is temporary unavailability. ^-^ thank you

Hi @xu-baolin
I see there's an open issue addressing the case you described. Please follow up on that issue, I'm closing the current one as a duplicate. If you disagree, please write in the comments and I will reopen it.
Thank you


naked domain explainpowershell.com should also work / explainpowershell.com does not support https

When I navigate to explainpowershell.com, it should also just work.

I have set this up, and it does work. Just without HTTPS support.
The reason is, I am using Azure CDN managed HTTPS on www.explainpowershell.com, but it seems this is no longer supported for apex domains (in my case explainpowershell.com).
See also:
https://github.com/MicrosoftDocs/azure-docs/issues/63977
Next step would be to find out how to get a valid public SSL cert for explainpowershell.com in Azure KeyVault, and configure that cert as an SSL cert for the explainpowershell.com domain in Azure CDN.

This looks promising:
https://github.com/shibayan/keyvault-acmebot

Illustration of what happens if I try to enable CDN managed cert on apex domain (not supported):

I've managed to work around this by putting a DNS CNAME in place, and adding a redirect from http -> https. Those combined, make sure people end up in the right place: https://www.explainpowershell.com

hmm. everything works, except ofcourse when someone explicitly navigates to https://explainpowershell.com, because SSL check takes place before url redirect :( #sadpanda.


Support UDFs

Not all operations need to be LLM operations :-)
Users should be able to define Python functions for map and reduce operations, instead of LLM calls.
This will also enable a code synthesis optimization: if an operation can be accurately executed via code than an LLM call that operates directly on the document, then we should prefer the code implementation.

Is this available to work?

yes!! feel free to take it! we might want a proposal first though, lmk what you think