Transpile regexp unicode property escapes

Describe the feature
Transpile regexp unicode property escapes
const IDENTIFIER_RE = /\p{ID_Start}/u;
console.log(IDENTIFIER_RE)

Example
Babel plugin or link to the feature description
https://babeljs.io/docs/en/babel-plugin-proposal-unicode-property-regex
https://github.com/tc39/proposal-regexp-unicode-property-escapes
Babel REPL
https://mothereff.in/regexpu

https://babeljs.io/docs/en/babel-plugin-transform-unicode-regex is probably also related

👍

Regex transforms (unicode, dotall, named-capturing-groups) probably should be implemented together, because they are implemented using a shared createRegExpFeaturePlugin helper in babel:

https://github.com/babel/babel/blob/main/packages/babel-plugin-transform-unicode-regex/src/index.ts
https://github.com/babel/babel/blob/main/packages/babel-plugin-transform-dotall-regex/src/index.ts
https://github.com/babel/babel/blob/main/packages/babel-plugin-transform-named-capturing-groups-regex/src/index.ts

Up

up🔼


Compilation errors in CUDA HAL Driver with tracing features enabled

cmake -DIREE_BUILD_COMPILER=OFF -DIREE_ENABLE_RUNTIME_TRACING=ON -DIREE_TRACING_PROVIDER=console -DIREE_HAL_DRIVER_CUDA=ON .
ninja

Compilation errors:
FAILED: runtime/src/iree/hal/drivers/cuda/CMakeFiles/iree_hal_drivers_cuda_cuda.objects.dir/tracing.c.o
ccache /usr/bin/clang -DIREE_TRACING_MODE=2 -DIREE_TRACING_PROVIDER_H=\"iree/base/tracing/console.h\" -I/home/stella/src/iree -I/home/stella/src/iree-build -I/home/stella/src/iree/runtime/src -I/home/stella/src/iree-build/runtime/src -I/home/stella/src/iree-build/build_tools/third_party/cuda/12.2.1/linux-x86_64/include -I/home/stella/src/iree/third_party/nccl -I/home/stella/src/iree-build/runtime/src/iree/base/internal/flatcc -I/home/stella/src/iree-build/runtime/src/iree/schemas -isystem /home/stella/src/iree/third_party/flatcc/include -O2 -g   -gsplit-dwarf -ggnu-pubnames -std=gnu11 -flto=thin -fPIC -fvisibility=hidden -Werror -Wall -Wno-error=deprecated-declarations -Wno-ambiguous-member-template -Wno-char-subscripts -Wno-extern-c-compat -Wno-gnu-alignof-expression -Wno-gnu-variable-sized-type-not-at-end -Wno-ignored-optimization-argument -Wno-invalid-offsetof -Wno-invalid-source-encoding -Wno-mismatched-tags -Wno-pointer-sign -Wno-reserved-user-defined-literal -Wno-return-type-c-linkage -Wno-self-assign-overloaded -Wno-sign-compare -Wno-signed-unsigned-wchar -Wno-strict-overflow -Wno-trigraphs -Wno-unknown-pragmas -Wno-unknown-warning-option -Wno-unused-command-line-argument -Wno-unused-const-variable -Wno-unused-function -Wno-unused-local-typedef -Wno-unused-private-field -Wno-user-defined-warnings -Wno-missing-braces -Wc++20-extensions -Wctad-maybe-unsupported -Wfloat-overflow-conversion -Wfloat-zero-conversion -Wfor-loop-analysis -Wformat-security -Wgnu-redeclared-enum -Wimplicit-fallthrough -Winfinite-recursion -Wliteral-conversion -Wnon-virtual-dtor -Woverloaded-virtual -Wpointer-arith -Wself-assign -Wstring-conversion -Wtautological-overlap-compare -Wthread-safety -Wthread-safety-beta -Wunused-comparison -Wvla -fno-lax-vector-conversions -fno-omit-frame-pointer -fmacro-prefix-map=/home/stella/src/iree=iree -I/home/stella/src/iree/third_party/flatcc/include/ -I/home/stella/src/iree/third_party/flatcc/include/flatcc/reflection/ -MD -MT runtime/src/iree/hal/drivers/cuda/CMakeFiles/iree_hal_drivers_cuda_cuda.objects.dir/tracing.c.o -MF runtime/src/iree/hal/drivers/cuda/CMakeFiles/iree_hal_drivers_cuda_cuda.objects.dir/tracing.c.o.d -o runtime/src/iree/hal/drivers/cuda/CMakeFiles/iree_hal_drivers_cuda_cuda.objects.dir/tracing.c.o -c /home/stella/src/iree/runtime/src/iree/hal/drivers/cuda/tracing.c
/home/stella/src/iree/runtime/src/iree/hal/drivers/cuda/tracing.c:65:24: error: implicit declaration of function 'iree_tracing_time' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  *out_cpu_timestamp = iree_tracing_time();
                       ^
/home/stella/src/iree/runtime/src/iree/hal/drivers/cuda/tracing.c:125:19: error: implicit declaration of function 'iree_tracing_gpu_context_allocate' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
    context->id = iree_tracing_gpu_context_allocate(
                  ^
/home/stella/src/iree/runtime/src/iree/hal/drivers/cuda/tracing.c:126:9: error: use of undeclared identifier 'IREE_TRACING_GPU_CONTEXT_TYPE_CUDA'
        IREE_TRACING_GPU_CONTEXT_TYPE_CUDA, queue_name.data, queue_name.size,
        ^
/home/stella/src/iree/runtime/src/iree/hal/drivers/cuda/tracing.c:206:7: error: implicit declaration of function 'iree_tracing_gpu_zone_notify' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
      iree_tracing_gpu_zone_notify(context->id, query_id, gpu_timestamp);
      ^
/home/stella/src/iree/runtime/src/iree/hal/drivers/cuda/tracing.c:252:3: error: implicit declaration of function 'iree_tracing_gpu_zone_begin' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  iree_tracing_gpu_zone_begin(context->id, query_id, src_loc);
  ^
/home/stella/src/iree/runtime/src/iree/hal/drivers/cuda/tracing.c:252:3: note: did you mean 'iree_tracing_zone_end'?
/home/stella/src/iree/runtime/src/iree/base/tracing/console.h:92:6: note: 'iree_tracing_zone_end' declared here
void iree_tracing_zone_end(iree_zone_id_t zone_id);
     ^
/home/stella/src/iree/runtime/src/iree/hal/drivers/cuda/tracing.c:263:3: error: implicit declaration of function 'iree_tracing_gpu_zone_begin_external' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  iree_tracing_gpu_zone_begin_external(context->id, query_id, file_name,
  ^
/home/stella/src/iree/runtime/src/iree/hal/drivers/cuda/tracing.c:263:3: note: did you mean 'iree_tracing_zone_begin_external_impl'?
/home/stella/src/iree/runtime/src/iree/base/tracing/console.h:88:37: note: 'iree_tracing_zone_begin_external_impl' declared here
IREE_MUST_USE_RESULT iree_zone_id_t iree_tracing_zone_begin_external_impl(
                                    ^
/home/stella/src/iree/runtime/src/iree/hal/drivers/cuda/tracing.c:273:3: error: implicit declaration of function 'iree_tracing_gpu_zone_end' is invalid in C99 [-Werror,-Wimplicit-function-declaration]
  iree_tracing_gpu_zone_end(context->id, query_id);
  ^
/home/stella/src/iree/runtime/src/iree/hal/drivers/cuda/tracing.c:273:3: note: did you mean 'iree_tracing_zone_end'?
/home/stella/src/iree/runtime/src/iree/base/tracing/console.h:92:6: note: 'iree_tracing_zone_end' declared here
void iree_tracing_zone_end(iree_zone_id_t zone_id);
     ^
7 errors generated.

Looks we are missing iree_tracing_time definition in the console provider. The tracy provider, which is the default and commonly used, has it. Needs something like https://github.com/wolfpld/tracy/blob/master/public/client/TracyProfiler.hpp#L194

Looks we are missing iree_tracing_time definition in the console provider. The tracy provider, which is the default and commonly used, has it. Needs something like https://github.com/wolfpld/tracy/blob/master/public/client/TracyProfiler.hpp#L194

The Vulkan driver uses IREE_TRACING_FEATURE_INSTRUMENTATION_DEVICE to gate usage of iree_tracing_time. I'll try switching the CUDA driver to the same thing: https://github.com/openxla/iree/blob/da982154aebccb41c1cf9bf5594097a2e6906b19/runtime/src/iree/hal/drivers/cuda/tracing.c#L9
We could also define those functions for other instrumentation levels: https://github.com/openxla/iree/blob/da982154aebccb41c1cf9bf5594097a2e6906b19/runtime/src/iree/base/tracing/tracy.h#L134-L137

guarding on INSTRUMENTATION_DEVICE is the correct fix - thanks scott!


HDDS-2237. KeyDeletingService throws NPE if it's started too early

OzoneManager starts KeyManager

KeyManager starts KeyDeletingService

KeyDeletingService uses OzoneManager.isLeader()

OzoneManager.isLeader() uses omRatisServer

omRatisServer can be null (bumm)

Now the initialization order in OzoneManager:

new KeymanagerServer() Includes start()!!!!
omRatisServer initialization
start() (includes KeyManager.start())

The solution seems to be easy: start the key manager only from the OzoneManager.start() and not from the OzoneManager.instantiateServices()
See: https://issues.apache.org/jira/browse/HDDS-2237

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
47
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

-1
mvninstall
38
hadoop-hdds in trunk failed.

-1
mvninstall
41
hadoop-ozone in trunk failed.

-1
compile
20
hadoop-hdds in trunk failed.

-1
compile
15
hadoop-ozone in trunk failed.

+1
checkstyle
61
trunk passed

+1
mvnsite
0
trunk passed

+1
shadedclient
871
branch has no errors when building and testing our client artifacts.

-1
javadoc
21
hadoop-hdds in trunk failed.

-1
javadoc
21
hadoop-ozone in trunk failed.

0
spotbugs
973
Used deprecated FindBugs config; considering switching to SpotBugs.

-1
findbugs
36
hadoop-hdds in trunk failed.

-1
findbugs
19
hadoop-ozone in trunk failed.

_ Patch Compile Tests _

-1
mvninstall
35
hadoop-hdds in the patch failed.

-1
mvninstall
38
hadoop-ozone in the patch failed.

-1
compile
25
hadoop-hdds in the patch failed.

-1
compile
20
hadoop-ozone in the patch failed.

-1
javac
25
hadoop-hdds in the patch failed.

-1
javac
20
hadoop-ozone in the patch failed.

+1
checkstyle
59
the patch passed

+1
mvnsite
0
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
740
patch has no errors when building and testing our client artifacts.

-1
javadoc
22
hadoop-hdds in the patch failed.

-1
javadoc
20
hadoop-ozone in the patch failed.

-1
findbugs
31
hadoop-hdds in the patch failed.

-1
findbugs
21
hadoop-ozone in the patch failed.

_ Other Tests _

-1
unit
28
hadoop-hdds in the patch failed.

-1
unit
26
hadoop-ozone in the patch failed.

+1
asflicense
33
The patch does not generate ASF License warnings.

2422

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1584

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 2c871cb4a093 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 5a7483c

Default Java
1.8.0_222

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/branch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/branch-mvninstall-hadoop-ozone.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/branch-compile-hadoop-hdds.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/branch-compile-hadoop-ozone.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/branch-javadoc-hadoop-hdds.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/branch-javadoc-hadoop-ozone.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/branch-findbugs-hadoop-hdds.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/branch-findbugs-hadoop-ozone.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/patch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/patch-mvninstall-hadoop-ozone.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/patch-compile-hadoop-hdds.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/patch-compile-hadoop-ozone.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/patch-compile-hadoop-hdds.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/patch-compile-hadoop-ozone.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/patch-javadoc-hadoop-hdds.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/patch-javadoc-hadoop-ozone.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/patch-findbugs-hadoop-hdds.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/patch-findbugs-hadoop-ozone.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/patch-unit-hadoop-hdds.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/testReport/

Max. process+thread count
446 (vs. ulimit of 5500)

modules
C: hadoop-ozone/ozone-manager U: hadoop-ozone/ozone-manager

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/1/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Thanks for catching this. LGTM. There is a test failure TestKeyDeletingService can you verify if it is related?

The UT failure looks related.

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
41
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

+1
@author
0
The patch does not contain any @author tags.

+1
test4tests
0
The patch appears to include 1 new or modified test files.

_ trunk Compile Tests _

-1
mvninstall
30
hadoop-hdds in trunk failed.

-1
mvninstall
33
hadoop-ozone in trunk failed.

-1
compile
21
hadoop-hdds in trunk failed.

-1
compile
15
hadoop-ozone in trunk failed.

+1
checkstyle
48
trunk passed

+1
mvnsite
0
trunk passed

+1
shadedclient
871
branch has no errors when building and testing our client artifacts.

-1
javadoc
23
hadoop-hdds in trunk failed.

-1
javadoc
20
hadoop-ozone in trunk failed.

0
spotbugs
969
Used deprecated FindBugs config; considering switching to SpotBugs.

-1
findbugs
32
hadoop-hdds in trunk failed.

-1
findbugs
19
hadoop-ozone in trunk failed.

_ Patch Compile Tests _

-1
mvninstall
35
hadoop-hdds in the patch failed.

-1
mvninstall
37
hadoop-ozone in the patch failed.

-1
compile
25
hadoop-hdds in the patch failed.

-1
compile
20
hadoop-ozone in the patch failed.

-1
javac
25
hadoop-hdds in the patch failed.

-1
javac
20
hadoop-ozone in the patch failed.

+1
checkstyle
56
the patch passed

+1
mvnsite
0
the patch passed

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
719
patch has no errors when building and testing our client artifacts.

-1
javadoc
22
hadoop-hdds in the patch failed.

-1
javadoc
20
hadoop-ozone in the patch failed.

-1
findbugs
32
hadoop-hdds in the patch failed.

-1
findbugs
21
hadoop-ozone in the patch failed.

_ Other Tests _

-1
unit
28
hadoop-hdds in the patch failed.

-1
unit
26
hadoop-ozone in the patch failed.

+1
asflicense
34
The patch does not generate ASF License warnings.

2367

Subsystem
Report/Notes

Docker
Client=19.03.1 Server=19.03.1 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1584

Optional Tests
dupname asflicense compile javac javadoc mvninstall mvnsite unit shadedclient findbugs checkstyle

uname
Linux 482bb984fa76 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / 531cc93

Default Java
1.8.0_222

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/branch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/branch-mvninstall-hadoop-ozone.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/branch-compile-hadoop-hdds.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/branch-compile-hadoop-ozone.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/branch-javadoc-hadoop-hdds.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/branch-javadoc-hadoop-ozone.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/branch-findbugs-hadoop-hdds.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/branch-findbugs-hadoop-ozone.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/patch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/patch-mvninstall-hadoop-ozone.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/patch-compile-hadoop-hdds.txt

compile
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/patch-compile-hadoop-ozone.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/patch-compile-hadoop-hdds.txt

javac
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/patch-compile-hadoop-ozone.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/patch-javadoc-hadoop-hdds.txt

javadoc
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/patch-javadoc-hadoop-ozone.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/patch-findbugs-hadoop-hdds.txt

findbugs
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/patch-findbugs-hadoop-ozone.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/patch-unit-hadoop-hdds.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/testReport/

Max. process+thread count
447 (vs. ulimit of 5500)

modules
C: hadoop-ozone/ozone-manager U: hadoop-ozone/ozone-manager

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1584/2/console

versions
git=2.7.4 maven=3.3.9

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

Thank You @elek for the contribution and @arp7 for the review.
I have committed this to the trunk.


Datastore

We need some way of storing data. This issue will be updated as we figure more out.

I really want this!
A couple of things that have been suggest to be and things I was thinking myself:

A centralised database where companies can add their logos and you can always get it in various sizes and formats.
A phone book that's free and API friendly.

I have been taking an extensive look at the AWS infrastructure. They provide a lot of useful ways to solve our problems.

Does the advania hosting setup provide some sort of hosted NoSQL like AWSs DynamoDB?
I kind of don't want to run our own database and would like to use something like that or just move completely to AWS and use their database solution.

Nope, unfortunately :/ We could host our own, but it would add some ops to the stack

After having used AWS extensively for the last couple of months, I'm more and more inclined to recommend moving APIs there completely.. They solve so many issues so easily, like scaling, load balancing, storage, etc. etc. etc. - cost is trivial, we could find a sponsor/sponsors willing to help us with it (I'll help with finding that if you guys want, kolibri has fx shown interest in that)..
Example setup I've been working with lately; kubernetes cluster with load balancers fronting X number of pod instances that can automatically scale up (basically runs itself).. I could show you guys live examples if we meet up when you get home @kristjanmik

Yup, we use AWS pretty extensively at PV and it's really, really, really nice.

@benediktvaldez I'm down. The problem with hosting stuff outside of Iceland is the roundtrip to scrape the data.
Iceland -> request from Iceland 10ms + 10ms both ways + source server delay  < 100ms total with response
hosted in Ireland -> request to server from Iceland 50ms one way + server requests a site in iceland 50ms + server gets data back 50ms + server sends data back to requester in Iceland 50ms over 200ms
This can get out of hand pretty quickly,  but it is a tradeoff we can look into if we do more caching

Yeah I think caching should solve this adequately - personally think the tradeoff is worth it..
Let's revive the APIs meetups when you get back ;)

Yeah we have to! It is probably more fun to meet up during the summertime, last few times were so cold!


Check function with reference_pressure

For some functions, we need to add a coordinate with a reference_pressure (e.g. sigma1, sigma2)
From cf convention:

Sea water potential density is the density a parcel of sea water would have if moved adiabatically to a reference pressure, by default assumed to be sea level pressure. To specify the reference pressure to which the quantity applies, provide a scalar coordinate variable with standard name reference_pressure. The density of a substance is its mass per unit volume. For sea water potential density, if 1000 kg m-3 is subtracted, the standard name sea_water_sigma_theta should be chosen instead.

This is not very clear for me, should we add a dimension? Or something else?

This is saying that we need to do something like the following if the reference pressure is not 0 to conform to the CF convention (full example with toy/fake inputs):
>>> import xarray as xr
>>> from gsw_xarray import sigma1
>>> refp = xr.DataArray(1000.0, name="refp", attrs={"standard_name":"reference_pressure", "units":"dbar"})
>>> sig1 = sigma1(xr.DataArray([35.0]), 0)
>>> sig1.coords["refp"] = refp
>>> sig1
<xarray.DataArray (dim_0: 1)>
array([32.68557334])
Coordinates:
    refp     float64 1e+03
Dimensions without coordinates: dim_0
>>> sig1.coords["refp"]
<xarray.DataArray 'refp' ()>
array(1000.)
Coordinates:
    refp     float64 1e+03
Attributes:
    standard_name:  reference_pressure
    units:          dbar

The key thing to note is that the refp coordinate does not have a dimension. We would need to investigate how well doing this integrates with the xarray data model which forces variables (xr.DataArray objects) in an xr.Dataset which share the same dimensions to also share coordinates. i.e. we risk forcing all the variables in a dataset to have the same reference pressure. I suspect we may not be able to add the standard name at all due to this.

I confirm that if we add the sig1 to a dataset, then all dataarrays have the coordinate refp

Some docs that could be helpfull: cf convention scalar-coordinate-variables

I opened a discussion in the xarray repository https://github.com/pydata/xarray/discussions/6340

So the answer is that it is not possible with xarray, but possible with cf-xarray: https://github.com/pydata/xarray/discussions/6340#discussioncomment-2309193


Add a useful error message if we don't pass either ID or dictlike to session.init

The following snippet
import numpy as np
import pbjam

t = np.arange(1000.)
y = np.sin(t/10.)
s = pbjam.session(timeseries=[t, y],
                  numax=(240.0, 10.0), dnu=(20.0, 0.2),
                  teff=(5000, 100), bp_rp=(1.0, 0.02))

produces the error
Checkpoint exception raise
/home/wball/.local/lib/python3.7/site-packages/statsmodels/tools/_testing.py:19: FutureWarning: pandas.util.testing is deprecated. Use the functions in the public API at pandas.testing instead.
  import pandas.util.testing as tm
Traceback (most recent call last):
  File "tsOut_error.py", line 8, in <module>
    teff=(5000, 100), bp_rp=(1.0, 0.02))
  File "/home/wball/pypi/PBjam/pbjam/session.py", line 567, in __init__
    for i in vardf.index:
UnboundLocalError: local variable 'vardf' referenced before assignment

The actual problem is that session.__init__ needs either the ID or dictlike keyword arguments, so this PR catches when both are missing and produces a more useful error message.

Merge? (The checks are still not working - what is with that?)

Yeah merge.
It's the same problem we've been having for a while now. Travis says
everything is fine which I believe, but there's something else maybe left
over from the GitHub workflow or something that doesn't finish properly.
I can't see anything on my end though, only that it doesn't complete
whatever checks it's doing :/
On Fri, 4 Dec 2020 at 10:51, Guy Davies<EMAIL_ADDRESS>wrote:

Merge? (The checks are still not working - what is with that?)
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/grd349/PBjam/pull/250#issuecomment-738715146, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AEJWO3ZPMRYNUZ2XOQ2HDOLSTC5J3ANCNFSM4SHNPI2A
.

Done - I'll look at the Github workflow stuff next year.  How hard can it
be to fix? :()
G
Dr Guy R. Davies
PI - ERC CartographY Project
Senior Lecturer in Astrophysics
School of Physics and Astronomy
The University of Birmingham
Edgbaston
Birmingham  B15 2TT
Tel +44 (0)<PHONE_NUMBER>
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>The contents of this e-mail may be privileged and are confidential. It may
not be disclosed, used, or copied in any way by anyone other than the
addressee. If received in error please notify the sender then delete it
from your system. Should you communicate with the sender by e-mail, you
consent to The University of Birmingham monitoring and reading any such
correspondence.
On Fri, 4 Dec 2020 at 10:54, Martin Nielsen<EMAIL_ADDRESS>wrote:

Yeah merge.
It's the same problem we've been having for a while now. Travis says
everything is fine which I believe, but there's something else maybe left
over from the GitHub workflow or something that doesn't finish properly.
I can't see anything on my end though, only that it doesn't complete
whatever checks it's doing :/
On Fri, 4 Dec 2020 at 10:51, Guy Davies<EMAIL_ADDRESS>wrote:

Merge? (The checks are still not working - what is with that?)
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub
https://github.com/grd349/PBjam/pull/250#issuecomment-738715146, or
unsubscribe
<
https://github.com/notifications/unsubscribe-auth/AEJWO3ZPMRYNUZ2XOQ2HDOLSTC5J3ANCNFSM4SHNPI2A
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/grd349/PBjam/pull/250#issuecomment-738716753, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADQZOCJ4AOB5XHBSJYN7N4LSTC5X5ANCNFSM4SHNPI2A
.


Fix Sentry reporting

I want to merge this change because of fixing Sentry reporting.

Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Task linked: SALEOR-2085 Investigate Bad Exception Messages and Reports Coming from Loggers


Add tutorial from gh-pages as Jupyter notebook

So, the reason I kept them as html files was that the notebooks do not show the visualizations (because of the weird way in which I generate them with javascript).
Did you have a fix for that?
Thanks,

Ahh I see your point. So the notebooks, when uploaded to Github, do not show the visualizations. But on running the notebooks locally,  the visualizations render fine. I have attached a screenshot for the same.

So maybe we can add the notebooks with the disclaimer that visualizations render properly only when they are run locally (as of now).  In current scenario, where the demo is not available as executable code, it is harder to experiment and play around with.

Hey @marcotcr I would love to know your feedback on the proposed issue and PR.

Right now, we do have the tutorials in the repository, under doc/notebooks. I guess if you couldn't find it, it means we should create a link in the README.
I prefer to keep the gh-pages as html so that the visualizations work.

Ouch I never realized that. The PR does exactly this :)


[INFO] Task scheduling behavior with multiple processes

I would like to clarify my understanding of how the azure functions host dispatches tasks to multiple processes.
I currently have a Python function app with the following attributes:

Runs as a Docker container on a premium App Service Plan (P3V3 - 8vCPU, 32GB RAM)
Functions are triggered from Azure storage account queues
Multiple functions with a mix of IO and CPU bound work with an expected run time of 1-2 minutes per message
FUNCTIONS_WORKER_PROCESS_COUNT set to 8
Host file sets batchSize to 1 and newBatchThreshold to 7 which should give 8 concurrent messages being processed
My app service plan is set to scale out to 30 nodes based on queue length

As I understand it, when a new host is added by the scaler it will start with a single worker process and add a new process up to my limit (8) over time (every 15 seconds?). The task dispatcher will distribute the messages from the queue over the available processes in a round robin fashion.
Based on this, when a new host starts, I would see all 8 concurrent messages dispatched to the same worker process (as the others haven't started yet). As messages are completed, new messages would start being dispatched to the other processes.
Does this all sound correct? I added a log message at the start of my process to report the process ID, and the logs from App Insights seem to corroborate the above:

Assuming this is correct, is there a way to prevent the dispatched from dispatching all 8 messages to the first process prior to the others starting?
The impact I am seeing is all 8 messages are contesting for a single CPU resource on the same process. This increases processing time for those initially messages considerably, but also causes network timeout issues with the IO bound parts of the code as they are being blocked by other CPU bound tasks on the same process.
The only work around I have thought of since encountering this issue seems extreme but is as follows:

Deploy the function app to Azure Kubernetes Service instead
Limit the app to a single process and a single concurrent message
Schedule a pod per vCPU e.g. with a host running 8vCPU, I would end up with 8 pods each processing 1 concurrent message

As mentioned, this seems a bit extreme and inefficient, but I'm not sure how else I can avoid this startup behavior?
One other thing to clarify: triggering functions from an Azure storage queue manages the concurrent messages on a per queue/function basis, so each queue/function will have up to 8 concurrent messages. Is this correct? Is there a way to manage the concurrency across all queues, or would I need to move to a Service Bus queue trigger (which I believe has global concurrency across all queues)?
Additionally, how does the service bus queue trigger choose which queue to dispatch from next if the concurrency is managed globally?

@wallflower762 We will check this issue with our next level team and update you.


[V2V] Move V2V Model Code to ManageIQ-V2V Repo

In order to move all V2V code into a common repo, remove all V2V-dependent model code (and their spec tests) out of this repo.
Dependent on https://github.com/ManageIQ/manageiq-v2v/pull/964 being merged first.
@agrare @roliveri @djberg96 @mturley @thearifismail for your reviewing pleasure.

@miq-bot remove_label wip

@jerryk55 this is still conflicting

@agrage sorry I'd resolved everything in my branch but forgot to push again.  Should be good.

Ah okay

@agrare looks like I still have some work in the spec tests that had some V2V-related constructs intermingled.  Don't touch that dial, folks!

@miq-bot add_label wip


No data within min-max range resulting in black PNG

When there are no applicable data (e.g. after query conditions) within the min-max range, instead of a clear png, a black png is produced when running on linux.  I tested on a few Linux distro and the results are same.  To reproduce, here is the relevant code snippet
cvs = ds.Canvas(plot_width=100,
plot_height=100,
x_range=(100, 200),
y_range=(100, 200))
# intentionally create a frame with data outside of range
row = pd.DataFrame({'x': [5], 'y': [5] })
row = dd.from_pandas(row, npartitions=1)
pts = cvs.points(row, 'x', 'y', ds.mean('x'));
img = tf.shade(pts, cmap=['red'])
img = tf.spread(img, px=1);

I put in a workaround
img = img.to_pil();
pixdata = img.load()
newdata = []
iw, ih = img.size
for y in range(ih):
    for x in range(iw):
        if pixdata[x, y][0] == 0 and pixdata[x, y][1] == 0 and pixdata[x, y][2] == 0:
            newdata.append((0, 0, 0, 0))
        else:
            newdata.append(pixdata[x, y])

img.putdata(newdata)
img_io = BytesIO()
img.save(img_io, 'png')

Thanks for the bug report!  I suspect it would be this line from datashader/transfer_functions.py:
def _interpolate(agg, cmap, how, alpha, span, min_alpha, name):
    ...
        if len(masked) == 0:
            return Image(agg.data.astype(np.uint32), coords=agg.coords, dims=agg.dims, attrs=agg.attrs, name=name)

Here, it's constructing a special Image to return just in the case where there is no unmasked data, to avoid later divide-by-zero errors.  As you are already set up to have a specific use case, can you try changing this to return an all-clear image and verify that it works?  If so and you make a PR, I'd be happy to merge it.

Yes, it is this special image line.  Fixing seems to be a tricky as Image is a DataArray to PIL converter class.  One way is to pass in a special mask flag, or within to_pil() do a bitwise_and checking for all zeros.  Something like:
def to_pil
.....
# bitwise alpha and check for all zeros
if np.bitwise_and(arr, np.full(shape=arr.shape, fill_value=int('00111111', 16), dtype=np.uint32)).any():
return fromarray(arr, 'RGBA')
else:
return pl.Image.new('RGBA', arr.shape, (0,0,0,0))
which you think is a better?

The second one looks good to me, thanks!


updating to operator-sdk v1.28.1

Updating to v1.28.1 of operator-sdk
This has the change to use shas for scorecard images, so that disconnected envs can work properly again.

Relates: #971
Going to close this on, in favor of 971.


Textfield is-invalid added on every change

Hey guys,
I just started using react-mdl, so i might not be using it correctly, let me know if that is the issue.
I'm attempting to use react-mdl with redux-form and r and so far it looks like they get along REALLY well.  I'm actually surprised how easy this is.   However, it appears that using the validation tools for redux-form causes Textfield to keep adding is-invalid on every re-render or basically every time focus or blur the field.
My code:
<Textfield label="Email" {...email} floatingLabel />
where email is just a redux form field specified by redux forms.
I endup with:

I hope I've added enough information.  Let me know if I can do more testing.
Thanks for making awesome stuff!
Matt

Thanks for reporting the issue @mpolichette.
Good to know it works well with redux-form :) I'll make sure to fix the issue in the next version.


Not able to add a new deck

I've copied your file to mine and tryied to add a new deck, but I always received this message (imagem)
I liked a lot the addon but I'm not able to use it.
Good job

https://docs.google.com/document/d/e/2PACX-1vRbnnEIXgV1AYS-SmOVim7ocLMq8sPQlQENCxbcd_mnkbZx37HxCXMaoOo9tzUJbGkcgS_sIolHSH4P/pub
copied from your example and doesn't work
even from the video example I've tryied, but doesn't work


After login kanboard returns JSON { "reload": false, "setting" "" } instead of the dashboard

When using the plugin, kanboard returns JSON after logging-in
{
"reload": false,
"setting": ""
}
Looking into the files, I suspect $userscheme should not be empty, but I don't what that is about. I am able to login, by removing the controller and the action reference in the url. This is a workaround though, but would like to know how this can be fixed.

@hoendehaan  Thank you for your feedback. I'll try to fix it asap.
You can set the option $themeRevisionConfig['color scheme'] to 'light' temporarily to avoid the issue.


i18n in ejs

Well i created an isolated an simple project to test it (code snnipets bellow) because i was having exactly the same problem in the main project so i thought maybe one of the other components could cause this problem, but i had the same problem in the isolated project and now i don't know how to make it work.
The initialization an the configuration are like this:
	i18n.init({
		ns: {
			namespaces: ['ns.common', 'ns.special'],
			defaultNs: 'ns.special'
		},
		resSetPath: 'locales/__lng__/new.__ns__.json',
		saveMissing: true,
		debug: true,
		sendMissingTo: 'fallback',
		preload: ['en', 'de'],
		detectLngFromPath: 0,
		ignoreRoutes: ['img/', 'img', 'img/', '/img/', 'css/', 'i18next/']
	});

	// Configuration
	app.use(logger('dev'));
	app.use(bodyParser.json());
	app.use(bodyParser.urlencoded({
		extended: true
	}));
	app.use(i18n.handle); // have i18n befor app.router

	app.set('view engine', 'ejs');
	app.set('views', __dirname);

	i18n.registerAppHelper(app)
		.serveClientScript(app)
		.serveDynamicResources(app)
		.serveMissingKeyRoute(app);

	i18n.serveWebTranslate(app, {
		i18nextWTOptions: {
			languages: ['de-DE', 'en-US', 'dev'],
			namespaces: ['ns.common', 'ns.special'],
			resGetPath: "locales/resources.json?lng=__lng__&ns=__ns__",
			resChangePath: 'locales/change/__lng__/__ns__',
			resRemovePath: 'locales/remove/__lng__/__ns__',
			fallbackLng: "dev",
			dynamicLoad: true
		}
	});

the ejs is like this:

		Should show a hello world

		;<%t('hello.world')%>

and i added the t function like this:
	app.locals.t = function(key){
		return i18n.t(key);
	};

everything should show the next view on the website:

but instead of that it just shows this:

I would really appreciate some advises or an example of ejs using the i18n.
By the way i'm using:
-express 4
-ejs 1
-i18next 1.7.10

https://github.com/i18next/i18next-node/issues/36 might help?

yeah i used that issue to fix the t is not defined problem, but i think ejs is not displaying the text... I guess i'll have to check the ejs functions in order to fix this hehe... thank you very much for the answer


Added missing dependency.

Added the async dependency.

npm ERR! notarget No compatible version found<EMAIL_ADDRESS><2.0.0'
npm ERR! notarget Valid install targets:
npm ERR! notarget ["1.0.0","1.1.0","1.2.0","1.3.0","1.4.0"]

@gabipetrovay Forgot to publish is! Thanks! :+1: :rocket:


Orquesta next/do/fail drops output variables

SUMMARY
Making an orquesta workflow that has unconditional cleanup logic.  At the end of the unconditional logic the last task needs to check and see if the workflow should fail.  I am doing this by checking a published variable from a previous task, and if that says the workflow failed, I fail it at the end of the unconditional cleanup.
When next/do/fail is encountered, all of the output variables are discarded.
My use case is that I am using an API that starts a process on a remote system, then another API that checks the exit code of that process, then another API that downloads a file from that system where stdout and stderr are redirected.  (No, I can't change this API, it belongs to someone else).  To use this API effectively I want to run the process, wait for it to finish (where I can see the exit_code) and then unconditionally grab stdout and stderr as well as run a cleanup API.  At the end of all of this I want the workflow to fail if the remote process failed, but I still want the downloaded stdout and stderr from the remote process in the workflow output.
With mistral I believe this was happening, but I switched to Orquesta to resolve backslash handling issues, and now the output is gone when the remote process fails.  To demonstrate this I made a small example that has no external dependencies, see "steps to reproduce".
ISSUE TYPE

Bug Report

STACKSTORM VERSION
st2 3.0dev (5377ebb), on Python 2.7.6
OS / ENVIRONMENT / INSTALL METHOD
st2-docker
STEPS TO REPRODUCE
Install my issue pack:
root@b9bab223e4fa:/# st2 pack install https://github.com/jeking3/st2-issue-4368.git

	[ succeeded ] download pack
	[ succeeded ] make a prerun
	[ succeeded ] install pack dependencies
	[ succeeded ] register pack

+-------------+-------------------------------------+
| Property    | Value                               |
+-------------+-------------------------------------+
| name        | backslash                           |
| description | Demonstrates various GitHub issues. |
| version     | 0.0.4                               |
| author      | James E. King III                   |
+-------------+-------------------------------------+

Run the demonstration workflow from the backslash pack asking for workflow success (simulates remote process success):
root@b9bab223e4fa:/# st2 run backslash.orquesta_output succeed=True
...
id: 5bbd0c8f366fe70104cebd59
action.ref: backslash.orquesta_output
parameters:
  succeed: true
status: succeeded
start_timestamp: Tue, 09 Oct 2018 20:16:15 UTC
end_timestamp: Tue, 09 Oct 2018 20:16:20 UTC
result:
  output:
    exit_code: '0'
    stderr: ''
    stdout: standard output says horray!
+--------------------------+------------------------+-------------------------+------------+------------------------+
| id                       | status                 | task                    | action     | start_timestamp        |
+--------------------------+------------------------+-------------------------+------------+------------------------+
| 5bbd0c90366fe70036924887 | succeeded (0s elapsed) | pretend_to_start_comman | core.noop  | Tue, 09 Oct 2018       |
|                          |                        | d                       |            | 20:16:16 UTC           |
| 5bbd0c91366fe7003692488a | succeeded (0s elapsed) | pretend_to_wait_for_pro | core.local | Tue, 09 Oct 2018       |
|                          |                        | cess                    |            | 20:16:17 UTC           |
| 5bbd0c92366fe7003692488d | succeeded (0s elapsed) | pretend_to_grab_stdout  | core.noop  | Tue, 09 Oct 2018       |
|                          |                        |                         |            | 20:16:18 UTC           |
| 5bbd0c92366fe70036924890 | succeeded (1s elapsed) | pretend_to_grab_stderr  | core.noop  | Tue, 09 Oct 2018       |
|                          |                        |                         |            | 20:16:18 UTC           |
| 5bbd0c93366fe70036924893 | succeeded (1s elapsed) | pretend_to_cleanup      | core.noop  | Tue, 09 Oct 2018       |
|                          |                        |                         |            | 20:16:19 UTC           |
+--------------------------+------------------------+-------------------------+------------+------------------------+

Now ask for the workflow to fail:
root@b9bab223e4fa:/# st2 run backslash.orquesta_output succeed=False
...
id: 5bbd0b31366fe70104cebd56
action.ref: backslash.orquesta_output
parameters:
  succeed: false
status: failed
start_timestamp: Tue, 09 Oct 2018 20:10:25 UTC
end_timestamp: Tue, 09 Oct 2018 20:10:31 UTC
result:
  errors:
  - message: Execution failed. See result for details.
    result:
      failed: true
      return_code: 1
      stderr: ''
      stdout: 'False'
      succeeded: false
    task_id: pretend_to_wait_for_process
  - message: Execution failed. See result for details.
    task_id: fail
  output: null
+--------------------------+------------------------+-------------------------+------------+------------------------+
| id                       | status                 | task                    | action     | start_timestamp        |
+--------------------------+------------------------+-------------------------+------------+------------------------+
| 5bbd0b32366fe70036924878 | succeeded (1s elapsed) | pretend_to_start_comman | core.noop  | Tue, 09 Oct 2018       |
|                          |                        | d                       |            | 20:10:26 UTC           |
| 5bbd0b33366fe7003692487b | failed (1s elapsed)    | pretend_to_wait_for_pro | core.local | Tue, 09 Oct 2018       |
|                          |                        | cess                    |            | 20:10:27 UTC           |
| 5bbd0b34366fe7003692487e | succeeded (0s elapsed) | pretend_to_grab_stdout  | core.noop  | Tue, 09 Oct 2018       |
|                          |                        |                         |            | 20:10:28 UTC           |
| 5bbd0b35366fe70036924881 | succeeded (0s elapsed) | pretend_to_grab_stderr  | core.noop  | Tue, 09 Oct 2018       |
|                          |                        |                         |            | 20:10:29 UTC           |
| 5bbd0b36366fe70036924884 | succeeded (0s elapsed) | pretend_to_cleanup      | core.noop  | Tue, 09 Oct 2018       |
|                          |                        |                         |            | 20:10:30 UTC           |
+--------------------------+------------------------+-------------------------+------------+------------------------+

EXPECTED RESULTS
I expected to see the output of the workflow regardless of success or failure.
ACTUAL RESULTS
There is no output when the workflow fails.

@m4dcoder As long as the failure case in this demo can end up with:
status: failed
result:
  output:
    exit_code: 4
    stderr: "error code 4"
    stdout: ''

In the result then okay.

It will definitely not end up what you specify above.  Please review the
https://github.com/StackStorm/st2/issues/4336#issuecomment-424106383 what you have to do in the workflow and where the information will be placed in the result.


Allow adding other addons

Hallo, tnx for nice lib. It would be also good, if in constructor could be passed some more addons, for example "dexie-relationships".
Have a nice day!

Hi there, I will try to do that tomorrow evening. Shouldn't take too much time.

Thank you for quick answer, I have just written 1 comment to the last commit with a simple code, that could be useful for this update.

Fixed in https://github.com/nponiros/sync_client/commit/0078b9da6da092fbefe29f0b31e6b6bfa57509ee and published to npm as v1.0.0-beta.9. Checkout the readme for infos on how to pass the addons. If everything works as expected please close this issue. Thanks.

Thanks a lot, Nikolas!


Arigatou gozaimasu @juhair-cupcake


A way to not re-create an instance of the item.

I have observed that on path change, app-router creates an instance of the given item. I need to have app-router showing and hiding the items instead of removing and creating them because I do not want the scrollbar reset when navigating to back one level. Is there a way to do it?
I am manually creating content using <template> inside app-route.

Right now there isn't a way. The topic of hiding and showing pages has come up a few times now (https://github.com/erikringsmuth/app-router/issues/36, https://github.com/erikringsmuth/app-router/issues/81). I may have to cave and implement #36. Although, I'm not sure if that will fix the scroll position issue. That's a really tough one in client side routers since the browser won't maintain the scroll position with the history.

Closing as duplicate of https://github.com/erikringsmuth/app-router/issues/36


Cleanup import SST files periodically

The import SST process is divided into two steps:

Upload an SST file to all peers of a region
Ingest the SST file to the region with a Raft command

However, since these two steps are not atomic, a lot of reasons can
stop a client from ingesting an uploaded SST file to the region. In
that case, the uploaded SST file will remain in the import
directory. So we need a way to clean up these obsoleted SST files.
Before we can delete an uploaded SST file, we need to make sure that
the SST file will not be ingested anymore.
We need to guarantee one of these:

The epoch of the SST is staler than the local region peer
The region information from PD shows that the SST does not belong
to the store, and there is no stale peer of that region in the store too.

Does it mean that once ingestion has been started, it can no longer be aborted?

What does "ingestion has been started" mean?

rest LGTM

/run-all-tests


[otp / flash_ctrl] Isolated partition access during DEV state

There is some concern that having the isolated partition readable during DEV state could impact the security of secrets injected during the very early stages of production.
We should consider making ISO_SW_RD_EN only possible during production states (PROD and PROD_END), but this will come at the cost of some early sample debuggability.
This is something we should quickly settle on.

This is very easy to implement, and requires only 2 lines to be changed in RTL - i.e., the following two lines would have to be set to Off.
https://github.com/lowRISC/opentitan/blob/d0cbfad15ccb1e8962e2e961ca69db4aaa3f2090/hw/ip/lc_ctrl/rtl/lc_ctrl_signal_decode.sv#L139-L140
@cindychip are the lc_iso_part_sw_wr_en and lc_iso_part_sw_rd_en access signals already checked in the DV environment? What would be the impact to change their behavior?

yeah i agree. And i think @zi-v has a point, we should probably make this change.
Let me just double check to make sure there aren't other unexpected effects.

This issue has been addressed - closing.

hmmm...i was hoping to discuss this with the software teams before going through with the change...

Ah sorry, I moved a bit too fast on this one. Let me reopen this issue such that we can track this. If needed, I'll revert the RTL change.

no it's fine let's close this for now.
I was actually hoping to discuss this today but most of the needed people are out.
i'll bring it up next week, and if there's a need to revert, let's re-open it then.


Experiment with using Bun

Experiment with using bun to replace npm, nodemon (in this case servor), esbuild, and testing framework.

Currently bun's lack of support for the esbuild importGlobPlugin (specifically the resolveDir argument of esbuild plugins) slowed the switch to bun build.
Since my stack is already setup and since bun is only slightly faster than esbuild there is not a ton of incentive to switch atm. I will leave this issue open in case I decide to return to it


Print Full SQL Instead of PreparedStatement

Is your feature request related to a problem? Please describe.
Currently we are using RDS Data API which has a very specific way of doing queries (Doesn't support ? character).
We required to either have named placeholders (each prefixed by :) and typed arguments, or we just call ExecuteStatement with the fully generated and escaped SQL.
Connecting directly via Connection String is not an option because we are using AWS Lambda.
Source
Describe the solution you'd like
A .RawSql() Function that prints the whole SQL

Hi @driverpt. .DebugSql() will return SQL without parameters.

Will it he pretty printed? I'm asking because some of the queries are a bit big and there is a 1 MB Limit

DebugSql will return valid sql. You can see sample here or in tests.
But, note that DebugSql is not intended to be used on the production, because of the possible SQL injection attacks.
If I were you, I would probably use .Sql() and replace each occurrence of ? with some generated name :gen_name in the query.

We could do what, but wouldn't it be a bit costly in long queries?
AWS RDS Data Api is nice, but it requires a lot of custom code.
Is there some way of creating a custom adapter for JET? To generate the query to Execute Statement Endpoint?

You can also fork the repo and update ArgumentPlaceholder function -
return ":var_" + strconv.Itoa(ord).
Or maybe update the code so that this function can be updated on startup.

Is there some way of creating a custom adapter for JET? To generate the query to Execute Statement Endpoint?

Not sure what you mean?
Do you mean adapter for query generation (.Sql())? Should be answered with above comment.
Or do you mean do adapt .Exec or .Query methods? No, there is no such possibility.

Can you make these configurable when we're initializing Jet?
Can you modify the ArgumentPlaceholder Function to also receive the Parameter Name ?
Thanks in advance

I think it is the best, for you to fork the project and make necessary changes. Additional changes will probably be needed, because this data source is not supported currently.


Fix: Prevent data duplication in TraceTelemetry with IncludeFormattedMessage

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

API change check
API changes are not detected in this pull request.


add TPC-DS Tests for spark-monitor module

add TPC-DS Tests for spark-monitor module

Codecov Report

Merging #763 (d52fcfd) into master (a8db49a) will decrease coverage by 0.06%.
The diff coverage is 100.00%.

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

@@            Coverage Diff             @@
##           master     #763      +/-   ##
==========================================
- Coverage   80.54%   80.48%   -0.07%
==========================================
  Files         122      122
  Lines        4749     4749
  Branches      576      576
==========================================
- Hits         3825     3822       -3
- Misses        604      606       +2
- Partials      320      321       +1

Impacted Files
Coverage Δ

...ain/scala/org/apache/kyuubi/engine/EngineRef.scala
76.11% <100.00%> (ø)

...org/apache/spark/kyuubi/SQLOperationListener.scala
92.30% <0.00%> (-5.13%)
:arrow_down:

.../scala/org/apache/kyuubi/server/KyuubiServer.scala
47.36% <0.00%> (-2.64%)
:arrow_down:

Continue to review full report at Codecov.

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

thanks, merging to master


regex in route isn't working as expected

I'm using bottle v0.12.19 on rPi and have the following routes:
@route('stream/d')
@route('stream/val:re:d\d*'
When the app starts, it sends an image with 'stream/d' as the source and I get a flash of image on the screen, then it proceeds on to a imageRefresh javascript function that extracts the first part of the http data (http://<IP_ADDRESS>:8080) and appends to it a /d and a Date.time() value.  So this request would look like:
"GET /stream/d1234567654321" and that results in a 404 error at the browser - which I believe means it's not matching the second route.  I need some guidance on this as to whether it's something I'm doing wrong or is there a bug in the bottle code.

According to http://bottlepy.org/docs/dev/routing.html#legacy-syntax

This works:
@route('/stream/d')
@route('/stream/<val:re:d\d*>')
#      ^ notice the leading /

Yes, stream/val:re:d\d* is does not make any sense. The old syntax would be /stream/:val#d\d*#. The 'new' Syntax would be /stream/<val:re:d\d*>. In any case, don't forget the leading slash.


[Bug]: Preview option on ghost does not work

Description
So the preview options of ghost do not work, be it signup/signin / the post/ website preview nothing . it stays in loading state
https://jam.dev/c/7513d6d7-d92f-4097-bc59-2ee00caf48af
Minimal Reproduction (if possible, example repository)
Start a ghost instance and try customizing it
Exception or Error
No response
Version
v4.0.0-beta.277

So I did some troubleshooting and realized that if I add https:// domain in the environment variable for GHOST the app doesn't render due to too many redirects and if I use http:// then the above issue and other issues are there care to look into this @andrasbacsai  please?

@scshiv29-dev Do you use Cloudflare? if so check this: https://coolify.io/docs/knowledge-base/faq#too-many-redirections

Due to inactivity, we're closing this issue.


Support same types but with different names in unions

Porting tests over from the official Avro python package (see #18), I found out that Avro allows unions to contain more than once the same type (only for record, fixed and enum) as long as they specify different names.
Quoting the spec:

Unions may not contain more than one schema with the same type, except for the types record, fixed and enum. For example, unions containing two array types or two map types are not permitted, but two types with different names are permitted. (Names permit efficient resolution when reading and writing unions.)

There is already a test to uncomment which covers the issue; it can be found grepping for the issue number.

This is very likely a duplicate of #61

There are two related pull requests: #76 and #90


Multi Pin Bumps across PT/AO/tune/ET

Accounts for:

PyTorch changing weight_only default from False to True https://github.com/pytorch/torchchat/issues/1356
Moving from export to export_for_training https://github.com/pytorch/torchchat/pull/1319
Should also fix cuDNN error: https://github.com/huggingface/diffusers/issues/9704
_convert_weight_to_int4pack API change from https://github.com/pytorch/pytorch/pull/139611, requiring AO PinBump for https://github.com/pytorch/ao/pull/1278
Change in CUDA support in PT wheels https://github.com/pytorch/pytorch/issues/140885
Lock on llama.cpp SHA to avoid active changes (e.g. deprecating make https://github.com/ggerganov/llama.cpp/pull/10514)
PT buildwheel migration https://github.com/pytorch/pytorch/issues/123649
Missing OMP in nightly regression on aarch64 https://github.com/pytorch/pytorch/issues/142266

initial debugging shows the test-cpu-aoti segfault is within aoti_torch_cpu_cat, which is automatically generated by https://github.com/pytorch/pytorch/blob/7e86a7c0155295539996e0cf422883571126073e/torchgen/gen_aoti_c_shim.py . digging up the generated source now.

digging up the generated source now.

generated source looks OK. here's what doesn't look OK in the generated inductor .cpp file:
    AtenTensorHandle buf0_handle;
    AOTI_TORCH_ERROR_CODE_CHECK(aoti_torch_empty_strided(2, int_array_12, int_array_13, cached_torch_dtype_uint8, cached_torch_device_type_cpu, this->device_idx_, &buf0_handle));
    RAIIAtenTensorHandle buf0(buf0_handle);
    AtenTensorHandle buf1_handle;
    AOTI_TORCH_ERROR_CODE_CHECK(aoti_torch_empty_strided(2, int_array_12, int_array_13, cached_torch_dtype_uint8, cached_torch_device_type_cpu, this->device_idx_, &buf1_handle));
    RAIIAtenTensorHandle buf1(buf1_handle);
    cpp_fused_div_remainder_0((const uint8_t*)(self___model_tok_embeddings__buffers__weight.data_ptr()), (uint8_t*)(buf0.data_ptr()), (uint8_t*)(buf1.data_ptr()));
    // Topologically Sorted Source Nodes: [weight_unpacked], Original ATen: [aten.stack]
    static constexpr int64_t int_array_0[] = {32000LL, 144LL, 1LL};
    static constexpr int64_t int_array_1[] = {144LL, 1LL, 0LL};
    auto tmp_tensor_handle_0 = reinterpret_tensor_wrapper(buf0, 3, int_array_0, int_array_1, 0LL);
    auto tmp_tensor_handle_1 = reinterpret_tensor_wrapper(buf1, 3, int_array_0, int_array_1, 0LL);
    const AtenTensorHandle var_array_0[] = {wrap_with_raii_handle_if_needed(tmp_tensor_handle_0), wrap_with_raii_handle_if_needed(tmp_tensor_handle_1)};
    AtenTensorHandle buf3_handle;
    AOTI_TORCH_ERROR_CODE_CHECK(aoti_torch_cpu_cat(var_array_0, 2, -1LL, &buf3_handle));

The problem seems to be    const AtenTensorHandle var_array_0[] = {wrap_with_raii_handle_if_needed(tmp_tensor_handle_0), wrap_with_raii_handle_if_needed(tmp_tensor_handle_1)}; -- this is creating RAIIATenTensorHandles, whose operator ATenTensorHandle is immediately called, and then they're destroyed (which decrements the refcount), so the net effect is (I think) to create dangling ATenTensorHandles.

@desertfire any change the above is a quick fix for you?

actually we might just need https://github.com/pytorch/pytorch/pull/139411

no torchvision nightly again today. I'm guessing we could probably use torchvision from yesterday with torch from today?

I had issues with Vision nightlies requiring the corresponding PT nightly few weeks back, I'll give it another go

_convert_weight_to_int4pack breakage appears to be from https://github.com/pytorch/pytorch/pull/139611; I guess it's now called _convert_weight_to_int4pack_for_cpu .

AO has a fix so we'll need a bump there too: https://github.com/pytorch/ao/pull/1278

https://github.com/pytorch/pytorch/pull/139411 Also got reverted on pt/pt so that's fun

Need to bump everything cuda related: https://github.com/pytorch/pytorch/issues/140885

Best me to it; luckily AO has a fix so we'll need a bump there too: pytorch/ao#1278

also need to manually edit torchchat/utils/gguf_loader.py

Bumped the AO/pt pin, will update the gguf_loader next
Looks like we need https://github.com/pytorch/pytorch/pull/141063

ImportError: /home/jackkhuu/.conda/envs/test_D/lib/python3.10/site-packages/torch/lib/../../nvidia/cusparse/lib/libcusparse.so.12: undefined symbol: __nvJitLinkComplete_12_4, version libnvJitLink.so.12

Need to bump tune version to pick up changes from AO BC changes (https://github.com/pytorch/ao/pull/1049)

Potential AO import bug? https://github.com/pytorch/ao/issues/1365

https://github.com/pytorch/vision/issues/8778

torchvision 0.20.0.dev20241205 depends on torch==2.6.0.dev20241204

Smells like a bug on the vision side, but testing mismatch version

Talking to torchvision team about mismatch torch dep

Missing omp.h for aarch is a regression on pt/pt, we're looking into it and will pinbump to a fix when found

Note that the changes to gguf_loader are suspicious at best and an attempt to recover previous behavior prior to https://github.com/pytorch/pytorch/pull/139611

Missing omp.h for aarch is a regression on pt/pt, we're looking into it and will pinbump to a fix when found
pytorch/pytorch#142266

Hmmm looks like the wheels aren't fixed with the changes...


Update translations

Please update it to the latest version, so there are no merge conflicts. Also note that "programme" is the British spelling. Since there is no en-us / en-gb file it's a good question what the right locale should be.

I have the latest version from the master branch.
Should I create a PR for the testing branch also?
I think en-US should be the right one.

In the future, you need to rebase to the latest commit before submitting the PR.
I did that and merged this one. Thanks.


Existing sampling decision ignored when creating new segments with no http.Request (SQS -> ECS tracing)

To implement tracing on an ECS worker processing SQS messages, we use the NewSegmentFromHeader function:
https://github.com/aws/aws-xray-sdk-go/blob/3b7709c6db4285afc07af03cc0a657c800a8c93f/xray/segment.go#L315
Since there's no http.Request available in a SQS processing context, a nil is passed instead. This causes the existing sampling decision to be ignored and a new one requested instead:
https://github.com/aws/aws-xray-sdk-go/blob/3b7709c6db4285afc07af03cc0a657c800a8c93f/xray/segment.go#L101-L103
This results in some segments missing and possibly in depleting the sampling reservoir, which could be used by other traces.
Looking through the docs and code there doesn't seem to be any alternative way of creating a segment from an existing tracing header. A workaround we've come up with is to pass an empty request (&http.Request{URL: &url.URL{}}) to the NewSegmentFromHeader function.
This could preferably be solved on the SDK level, though. A relatively simple solution would seem to be to remove the r == nil condition from:
https://github.com/aws/aws-xray-sdk-go/blob/3b7709c6db4285afc07af03cc0a657c800a8c93f/xray/segment.go#L101
and instead fill the sampling.Request with HTTP request related data in both if branches only when it's available. After all, the HTTP request is only used when requesting the sampling decision.
Any insight into the issue and proposed fix would be much appreciated.
Possibly related issue: #234

Yes, I agree with the temporary fix you suggested and suggestion you provided for permanent fix as well. I will mark this as an enhancement. Yeah, we can probably remove the r == nil check to include use cases like yours.


GitHub master currently broken?

Gave the current master (6f7ae022e3159ceafe96b38f3e92448ef0051668) a try but knife solo cook <node> fails:
...
Vendoring zap (0.8.4) to cookbooks/zap
Uploading the kitchen...
Generating solo config...
Running Chef: sudo chef-solo -c ~/chef-solo/solo.rb -j ~/chef-solo/dna.json
{:config_missing=>true}
[2015-07-09T11:30:01+00:00] WARN: *****************************************
[2015-07-09T11:30:01+00:00] WARN: Did not find config file: /home/rmoriz/chef-solo/solo.rb, using command line options.
[2015-07-09T11:30:01+00:00] WARN: *****************************************
[2015-07-09T11:30:01+00:00] FATAL: Cannot load configuration from /home/rmoriz/chef-solo/dna.json
ERROR: RuntimeError: chef-solo failed. See output above.

Switching back to v0.4.2 fixes it…

Can you provide the full output with '-VV' ?
Could be an issue with the new ssh/rsync control socket stuff.
On Thursday, July 9, 2015, Roland Moriz<EMAIL_ADDRESS>wrote:

Gave the current master (6f7ae02
https://github.com/matschaffer/knife-solo/commit/6f7ae022e3159ceafe96b38f3e92448ef0051668)
a try but knife solo cook  fails:
...
Vendoring zap (0.8.4) to cookbooks/zap
Uploading the kitchen...
Generating solo config...
Running Chef: sudo chef-solo -c ~/chef-solo/solo.rb -j ~/chef-solo/dna.json
{:config_missing=>true}
[2015-07-09T11:30:01+00:00] WARN: *****************************************
[2015-07-09T11:30:01+00:00] WARN: Did not find config file: /home/rmoriz/chef-solo/solo.rb, using command line options.
[2015-07-09T11:30:01+00:00] WARN: *****************************************
[2015-07-09T11:30:01+00:00] FATAL: Cannot load configuration from /home/rmoriz/chef-solo/dna.json
ERROR: RuntimeError: chef-solo failed. See output above.
Switching back to v0.4.2 fixes it…
—
Reply to this email directly or view it on GitHub
https://github.com/matschaffer/knife-solo/issues/444.

--
-Mat
about.me/matschaffer

closing this, as I cannot reproduce it right now.

Okay, so here is the problem again including steps to reproduce:

provision a VM with root access using ssh keys
call knife solo bootstrap fqdn.example.com -x root
in a sane environment, this will remove root-login, create admins users with sudo rights
then call knife solo cook fqdn.example.com for subsequent converges.

However, instead of syncing and executing to the root's /root/chef-solo the following will be executed:
sudo chef-solo -c ~/chef-solo/solo.rb -j ~/chef-solo/dna.json
this expands to the user home of the admin user and fails.

Okay, found the issue.
When I first bootstrapped the machine as ssh user root a local rsync/ssh socket was created in /Users/rmoriz/.chef/knife-solo-sockets which later was re-used although the changed other username!
This seems like a bug…

Yeah, in short term I'm thinking we should include the user & port in the
name and maybe sha it to keep length down.
This also feels like more reason the sockets weren't a great idea, but plan
B (packaging locally then a single rsync) will take some re-work.
On Saturday, September 19, 2015, Roland Moriz<EMAIL_ADDRESS>wrote:

Okay, found the issue.
When I first bootstrapped the machine as ssh user root a local rsync/ssh
socket was created in /Users/rmoriz/.chef/knife-solo-sockets which later
was re-used although the changed other username!
This seems like a bug…
—
Reply to this email directly or view it on GitHub
https://github.com/matschaffer/knife-solo/issues/444#issuecomment-141537546
.

--
-Mat
matschaffer.com

Thanks @rmoriz for reporting this. I just ran into it as well. Should the issue name change to reflect the actual problem for easier searching?
For others that find this issue, I added a hard dependency on 0.4.1 for the time being and it seems to be working as expected.

Happy to use whatever issue name you think suits the issue best. You may
have edit access, if not just let me know and I'll update it.
The control socket was a 0.5 feature so pinning to less than that should be
good.
I'm planning to replace it with a local staging step in 0.6 so be sure to
try that when it's available.
On Monday, 16 November 2015, Adam Duke<EMAIL_ADDRESS>wrote:

Thanks @rmoriz https://github.com/rmoriz for reporting this. I just ran
into it as well. Should the issue name change to reflect the actual problem
for easier searching?
For others that find this issue, I added a hard dependency on 0.4.1 for
the time being and it seems to be working as expected.
—
Reply to this email directly or view it on GitHub
https://github.com/matschaffer/knife-solo/issues/444#issuecomment-156866765
.

--
-Mat
matschaffer.com

Took a stab at a title. @rmoriz to answer your "no" I suspect I was trying to mirror the way ssh_config defines it (ControlMaster no). Though granted, not very idomatic for chef configs.


Internals - Add logging functionality to RuleFactory

While working on #1035 I would like to log out warnings but discovered there is no good way to log inside rules.
I propose us adding a RuleLogger interface that rules can use that will delegate the logging to the given frameworks logger.  This interface can be exposed to each rule through the RuleFactory.
Maven -> org.apache.maven.plugin.logging.Log
Ant -> org.apache.tools.ant.Project.log()
Gradle -> org.gradle.api.logging.Logger
CLI -> Slf4J (the universal logging facade) w/Slf4J Simple Impl

I like this change, it's a good one. Thanks for the PR! It's something that I've always wanted to get around to but never ended up doing so. I've reviewed the PR and added some comments.
I'm actually going to close this ticket because we can continue discussion about this on #1040.


Renaming idk to imk throughout ZIP 227

This PR does a consistent renaming of the issuance derivation key to call it the issuance master key.

Still updated, is this done in the subsequent pr?

The subsequent PR (#40 )renames the idk in the image to imk and also reduces to a two-key structure instead of three keys.


Use OSS package versions consistent with aspnet/benchmarks and Microsoft.AspNetcore.All 2.1.2

update our own NuGet packages to align lower-level dependencies
add metadata to BasicApi controllers

avoids analyzer failures when building with Microsoft.AspNetCore.All e.g. in benchmark runs
especially important in PetController because it's associated with [ApiContoller]

use pooled DbContexts for MySql too

c34830f9de


Refactor NEP-17 unit tests to use Test Runner

Summary or solution description
Part of an overall refactoring.
Changed the execution tests of the NEP17 example to use TestRunner instead of TestEngine. Also did some small changes on the smart contract
Tests
Reran the test in test_nep17.py
Platform:

OS: Windows 10 x64
Python version: Python 3.8

Task linked: CU-864ebct2q Refactor NEP-17 unit tests to use Test Runner

Coverage: 91.36% (-0.07%) from 91.43% when pulling 8d338ee17bc305c784c98eabe7748d7a6cad6324 on CU-864ebct2q into 7957a372c2288df82568656edab1c99fe0758ad3 on development.


refactor: push notifications for holders - @type outside encrypted and decrypt message attachment in AFJ and mediator for basic message

[x] To send encrypted messages in AFJ on basic message, send @type to the outside.
[x] Received @type to outside for messages and decrypt message in Mediator.
[x] Patch the AFJ package after the messages as encrypted.

This is completed


:lang/rust: Add rustic-lsp

Adding rustic-lsp allows users to select rust-analyzer as their language server.

Isn't rustic-lsp a part of rustic and enabld by default? And rust-analyzer can already be selected as the server of choice by following instructions in the README for rustic (source: tested myself).

It is a part of rustic, but it doesn't seem to be loaded by default. Maybe I'm missing something. I went looking because changing that setting didn't enable rust-analyzer for me.

Thank you for your attention. I'll see if it's an issue on a fresh installation - there may be something to it. If you have anything to add, feel free to reopen this issue.

 It now works with rust-analyzer.


Fram 11

updated video in ticket - https://vacso.atlassian.net/browse/FRAM-11?focusedCommentId=10026

Let me know where you want to keep viewer's component on the page.

@BhuvaneshPatil  overall, looks good. some tweaks:

Move the component to the same row as the record header. Justify it right.
Move all the data pulling logic for the activeviewers component into that component.
Switch from callbackend to useBackend, which uses tanstack query under the hood. To force it to refresh every 5 seconds, use a reload usestate, and pass it to reload of the usebackend. This will force it to update when the usestate increments via an interval in a useeffect.
Inside view.js on the backend, feel free to use knex directly. it is available to every class via this.knex. This way you can request just the relevant rows, and use more advanced queries then rowsget provides.

Let me know if you have any questions. If you have an issues let me know and we can either discuss more, or I can refactor the code my self.
Thanks!

also please merge the latest main into this branch.

changed the position of Viewers component, moved to header
moved logic inside the component

@BhuvaneshPatil
This all looks good. I pushed a commit into your branch just to tweak some spacing so the page doesn't move when the active viewers data comes in.
can we combine the two usebackend calls into one that updates that this user is active and gets a list of all the active users?

Yeah sounds like good idea.
I will update the code


"Roslyn server stopped" on open, no LspLogs on WSL

When attempting to open a .cs file I get the message "roslyn server stopped" immediately. :LspLog shows nothing regarding Roslyn.
Here is my config
			{
				"seblj/roslyn.nvim",
				config = function()
					require("roslyn").setup({
						config = {
							-- settings = {
							-- 	["csharp|inlay_hints"] = {
							-- 		csharp_enable_inlay_hints_for_implicit_object_creation = true,
							-- 		csharp_enable_inlay_hints_for_implicit_variable_types = true,
							-- 		csharp_enable_inlay_hints_for_lambda_parameter_types = true,
							-- 		csharp_enable_inlay_hints_for_types = true,
							-- 		dotnet_enable_inlay_hints_for_indexer_parameters = true,
							-- 		dotnet_enable_inlay_hints_for_literal_parameters = true,
							-- 		dotnet_enable_inlay_hints_for_object_creation_parameters = true,
							-- 		dotnet_enable_inlay_hints_for_other_parameters = true,
							-- 		dotnet_enable_inlay_hints_for_parameters = true,
							-- 		dotnet_suppress_inlay_hints_for_parameters_that_differ_only_by_suffix = true,
							-- 		dotnet_suppress_inlay_hints_for_parameters_that_match_argument_name = true,
							-- 		dotnet_suppress_inlay_hints_for_parameters_that_match_method_intent = true,
							-- 	},
							-- },
						},
					})
				end,
			},

I'm on WSL, and the LSP has been downloaded and verified correctly, with version: 4.8.0-3.23451.1+3686f3061a9202260a0de4d06e91855b0fa21e8c
I'm using Linux-x64 but have also tried with Win-x86. It might be of note that attempting to run the LSP using dotnet Microsoft.CodeAnalysis.LanguageServer.dll returns the following error:
Option '--logLevel' is required.
Option '--extensionLogDirectory' is required.

Try to download the latest version of the server. I don't know what else it can be.
Regarding running the server from the command line. The error messages are pretty clear. I am using those options in the plugin when running the server

That fixed it, for some reason downloading the package without a platform gives you an older version. I figured you were probably using those flags, but it could be relevant.
Thanks


Add support for BigBird

🌟 New adapter setup
Model description
Big Bird is a new model available in huggingface ( efficient transformer)

Open source status

[ X] the model implementation is available: (give details)
[ X] the model weights are available: (give details)

Any progress on this?


fixed specified

Coverage increased (+0.3%) to 28.257% when pulling ebf127be5a8bb5e7c547647fb986ff5e12482dcc on 0xflotus:master into e4c0f623bc831c479a1a0204aff0e5968fcd3f53 on tomv564:master.


Import for multiple locale

Is it possible to import entries in multiple locales?
If not, do you think it’s possible to make separate import but to reconcile them at the db level?

Yes, just use the field "locale"

Is there a way to link multiple locales of the same entry?

What do you mean with "link"

For example, If I have a french and english version of the same news entry, how can I import both and have them show as a unique entry in the CP?

Just use separate rows, one row with locale fr and one row with locale en

Which field should I use to map both line to the same entry?
Currently, my CSV contains key, title, body, post_date, locale, where key is the same on both line/locale.

That will work when you append data and set key as unique criterium.

I've recently tried this too and end up with duplicate entries instead of one entry with multiple locales.

This is an important issue. If an entry has multiple locals. How do we target each language individually with the import?

I've managed to get this working.  Here's how I did it.
I applied a unique key to my entries and used the same key in en and fr.  Create that Key field in your Section in Craft and import it.
I also included the Locale in my csv, obviously.
First CSV to import, choose Append Data.  This will create all the new entries.
Second CSV to import, choose Replace Data. On the next page, you will be asked what Criterium to use to consider duplicates.  Choose Key and Locale.
There you go, you should be all set.
Not very elegant though.  Could be done better.
I would also suggest an option to clear the Slug in the import language because right now, all the slugs are in the first language and I have to go in and manually delete and save them one by one to get it in the correct language.

@echantigny thanks for finding a solution.
Regarding the slug issue, this SO post may help.

@echantigny I can't seem to get your method to work.
The data I'm trying to import is structured like so
keyid,locale,title,body,price,enabled
The csv that I'm importing contains all my entries and their translations. title and body are the only translated fields.
The keyid is the unique key for my entries and they are the same in en, fr, es, de etc
I have created that keyid field in my section. Then I follow the steps below.

Import the CSV, choose append data
This imports all translations as individual entries.

Import the same CSV, choose replace data then select keyid and locale as Criterium.
This doesn't do anything, the data stays the same.

As this method wansn't working I tried to separate each translations in to separate csv's and follow the steps below.

Import en CSV, choose append data
Import fr CSV, choose replace data then select keyid and locale as Criterium.
Data doesn't change.

Is there something that I'm missing?


Improve documentation regarding local dev setup (dependencies + DB)

Add missing PostGIS instructions
Add some details about setting up database (test database is not setup automatically)
Add missing dev API token to local GraphiQL URL in documentation

Once more, thanks 👍 , we really appreciate it


Prevent users from changing their profile data

As an admin I want to prevent users from changing their profile information such that they have to stick to imported/synced data from an external directory.

3PIDs
Display name
Avatar

Similar to https://matrix-org.github.io/synapse/latest/usage/configuration/config_documentation.html#enable_set_displayname

https://github.com/matrix-org/matrix-authentication-service/issues/1663

https://github.com/matrix-org/matrix-authentication-service/issues/2198


Question: is "uv" just "uv" or all of these?

Hi,
Here is the line that I am confused with.
Would the standard "uv-vis" and "uv-vis-nir" measurements belong to the key "uv" as well? Otherwise the only key left for those is "other".
At the moment, in the local updated version I have, the folder dropping is displaying -at least some- spc  files. Apart from a few issues problems with xyxy spectra.
Here some Images. (I am not sure why "IV" Tab is being added, as there is no current v voltage curve being added.)

Currently it is an open question and @santimirandarp you are probable more aware of those analysis than me.
The idea behind grouping the categories under the same tab is that the same tools would apply to them.
For example IR you would like to see transmittance or absorbance.
UV you would like peak picking, etc.
So if you think that the tools related with the specific kind of measurements will be different it should be a new category and therefore a new tab.
Don't hesitate to paste directly images in the issue. If you make a screen snapshot to the clipboard you can paste it directly in the issue.
There is a bug somewhere concerning IV because it should be there.

For example, spc format, defines several types of spectra / chromatogram
1. 'Gas Chromatogram';
2. 'General Chromatogram (same as SPCGEN with TCGRAM)';
3. 'HPLC Chromatogram';
3. 'FT-IR, FT-NIR, FT-Raman Spectrum or Igram (Can also be used for scanning IR.)';

'NIR Spectrum (Usually multi-spectral data sets for calibration.)';
'UV-VIS Spectrum (Can be used for single scanning UV-VIS-NIR.)';
'X-ray Diffraction Spectrum';
'Mass Spectrum  (Can be single, GC-MS, Continuum, Centroid or TOF.)'
'NMR Spectrum or FID';
'Raman Spectrum (Usually Diode Array, CCD, etc. use SPCFTIR for FT-Raman.)';
'Fluorescence Spectrum';
'Atomic Spectrum';
'Chromatography Diode Array Spectra';
'General SPC (could be anything)';

But from a current tools and current parsers point of view, could be collapsed.
Following number 5 I'd do  uv/uv-vis/uv-vis-nir as one type ("uv"). Maybe adding atomic absorption because the tools would be the same.
And any type of only-ir under "ir", mass under "mass" etc. and whichever there aren't special tools just yet, under "other".
Would this be fine @lpatiny? I will send the spc anyways, but maybe this can be updated.


Generate code on paste

Most people paste code. No reason to click the button in most cases. Attempt to autogenerate on every keystroke in the input box.

Fixed this a while ago.


not start not break in windows 11

[2022-06-12T20:09:07.881Z DEBUG codelldb::dap_codec] <-- {"seq":157,"type":"event","event":"module","body":{"module":{"id":"FFFFFFFFFFFFFFFF","name":""},"reason":"removed"}}
[2022-06-12T20:09:07.881Z DEBUG codelldb::dap_codec] <-- {"seq":158,"type":"event","event":"output","body":{"output":"Process exited with code 0.\n"}}
[2022-06-12T20:09:07.881Z DEBUG codelldb::dap_codec] <-- {"seq":159,"type":"event","event":"exited","body":{"exitCode":0}}
[2022-06-12T20:09:07.881Z DEBUG codelldb::dap_codec] <-- {"seq":160,"type":"event","event":"terminated","body":{}}
[2022-06-12T20:09:07.918Z DEBUG codelldb::dap_codec] --> {"command":"disconnect","arguments":{"restart":false,"terminateDebuggee":false},"type":"request","seq":10}
[2022-06-12T20:09:07.918Z DEBUG codelldb::dap_codec] <-- {"seq":161,"type":"response","request_seq":10,"success":true,"command":"disconnect"}
[2022-06-12T20:09:08.421Z DEBUG codelldb::dap_session] Client has disconnected
[2022-06-12T20:09:08.421Z DEBUG codelldb::debug_session] End of the requests stream
[2022-06-12T20:09:08.421Z DEBUG codelldb::debug_session] DebugSession::drop()
[2022-06-12T20:09:08.421Z DEBUG codelldb] End of debug session
[2022-06-12T20:09:08.437Z DEBUG codelldb] Exiting
Debug adapter exit code=0, signal=null.

Please check your debug info.   https://github.com/vadimcn/vscode-lldb/wiki/Breakpoints-are-not-getting-hit

windows 11 , i tried simple program with this project's and llvm-project's lldb from command line. i have "error: unknown error" with run.  then, i tried msys2's lldb , it is works!

There is insufficient information to do anything about this bug.   Please provide a detailed description of what you are doing, including compiler identification, version, what ABI you are targeting, etc.  Preferably with a minimal program to reproduce the problem and command line flags used to compile it.

it works now. i think one of the recent updates fixed the problem.


Command error (PublishRemoteError): Retry count for command: handleStoreInitCommand reached! Unable to validate data for operation id

Issue description
My node starts but goes into reboot loop continuously
Expected behavior
Node starts and keeps running
Actual behavior
Reboot loop after successfully starting the node and every dependencies
Steps to reproduce the problem

Install a fresh node
check logs after every dependencies load

Specifications

Node version: v6.0.0-beta.2.2.2
Platform: Ubuntu 20.04
Node wallet: 0xf19da42c2fa6070d197c53a95cd5d8999696cabf
Node libp2p identity: Qmdki3QeKaQGGowTYz5v59vhz5b6S9R9NouANjuiZc4y7M

The same thing happened to my arch linux node running Kernel 5.19.6
Contact details

Email<EMAIL_ADDRESS>
Error logs
[2022-09-03 05:29:09] DEBUG: Marking operation id 0ecd3475-7faa-46e2-8628-e69a2aa7f346 as failed
[2022-09-03 05:29:09] DEBUG: Removing operation id: 0ecd3475-7faa-46e2-8628-e69a2aa7f346 cached data
[2022-09-03 05:29:09] DEBUG: Removing file on path: /root/ot-node/data/operation_id_cache/0ecd3475-7faa-46e2-8628-e69a2aa7f346
[2022-09-03 05:29:09] DEBUG: Removing operation id: 0ecd3475-7faa-46e2-8628-e69a2aa7f346 cached data from memory
[2022-09-03 05:29:09] WARN: Error in command: publishInitCommand, error: id.equals is not a function
[2022-09-03 05:29:09] WARN: Error in command: publishInitCommand, error: id.equals is not a function
[2022-09-03 05:29:09] DEBUG: Sending response from Qmdki3QeKaQGGowTYz5v59vhz5b6S9R9NouANjuiZc4y7M to QmUUf9WhoTK7sbbfZsQVFjLEnW3GwF5Asiycooas2udvyk: event=/store/1.0.0, messageType=ACK;
[2022-09-03 05:29:09] ERROR: Command error (PublishRemoteError): Retry count for command: handleStoreInitCommand reached! Unable to validate data for operation id: cac2f024-7c6f-4d95-be43-8f0fd6798bca
[2022-09-03 05:29:09] DEBUG: Marking operation id cac2f024-7c6f-4d95-be43-8f0fd6798bca as failed
[2022-09-03 05:29:09] DEBUG: Removing operation id: cac2f024-7c6f-4d95-be43-8f0fd6798bca cached data
[2022-09-03 05:29:09] DEBUG: Removing file on path: /root/ot-node/data/operation_id_cache/cac2f024-7c6f-4d95-be43-8f0fd6798bca
[2022-09-03 05:29:09] DEBUG: Sending response from Qmdki3QeKaQGGowTYz5v59vhz5b6S9R9NouANjuiZc4y7M to QmadRL22p2ipwS44DisDtwWiGTpx6NtTFkZFuUh97HqpqD: event=/store/1.0.0, messageType=ACK;
[2022-09-03 05:29:09] ERROR: Command error (PublishRemoteError): Retry count for command: handleStoreInitCommand reached! Unable to validate data for operation id: f828b454-594a-4275-9066-fcce7fd6f7ad
[2022-09-03 05:29:09] DEBUG: Marking operation id f828b454-594a-4275-9066-fcce7fd6f7ad as failed
[2022-09-03 05:29:09] DEBUG: Removing operation id: f828b454-594a-4275-9066-fcce7fd6f7ad cached data
[2022-09-03 05:29:09] DEBUG: Removing file on path: /root/ot-node/data/operation_id_cache/f828b454-594a-4275-9066-fcce7fd6f7ad
[2022-09-03 05:29:09] DEBUG: Sending response from Qmdki3QeKaQGGowTYz5v59vhz5b6S9R9NouANjuiZc4y7M to Qma5qcgyM826rHgczt5SKfseyrHDDr3iCcxKWSYwyPfuh2: event=/store/1.0.0, messageType=ACK;
[2022-09-03 05:29:09] ERROR: Command error (PublishRemoteError): Retry count for command: handleStoreInitCommand reached! Unable to validate data for operation id: 216f58f8-682c-44cf-adfe-818cb8be0c71
[2022-09-03 05:29:09] DEBUG: Marking operation id 216f58f8-682c-44cf-adfe-818cb8be0c71 as failed
[2022-09-03 05:29:09] DEBUG: Removing operation id: 216f58f8-682c-44cf-adfe-818cb8be0c71 cached data
[2022-09-03 05:29:09] DEBUG: Removing file on path: /root/ot-node/data/operation_id_cache/216f58f8-682c-44cf-adfe-818cb8be0c71
[2022-09-03 05:29:09] DEBUG: Sending response from Qmdki3QeKaQGGowTYz5v59vhz5b6S9R9NouANjuiZc4y7M to QmXFXCffcrTZR2mgKYH4ArvSmDkb7YzeHb28MfokRjfEqV: event=/store/1.0.0, messageType=ACK;
[2022-09-03 05:29:09] ERROR: Command error (PublishRemoteError): Retry count for command: handleStoreInitCommand reached! Unable to validate data for operation id: fdab6a14-72be-4274-9cca-878751e0de5c
[2022-09-03 05:29:09] DEBUG: Marking operation id fdab6a14-72be-4274-9cca-878751e0de5c as failed
[2022-09-03 05:29:09] DEBUG: Removing operation id: fdab6a14-72be-4274-9cca-878751e0de5c cached data
[2022-09-03 05:29:09] DEBUG: Removing file on path: /root/ot-node/data/operation_id_cache/fdab6a14-72be-4274-9cca-878751e0de5c
[2022-09-03 05:29:09] DEBUG: Removing operation id: cac2f024-7c6f-4d95-be43-8f0fd6798bca cached data from memory
[2022-09-03 05:29:09] DEBUG: Removing operation id: f828b454-594a-4275-9066-fcce7fd6f7ad cached data from memory
[2022-09-03 05:29:09] DEBUG: Removing operation id: 216f58f8-682c-44cf-adfe-818cb8be0c71 cached data from memory
[2022-09-03 05:29:09] DEBUG: Removing operation id: fdab6a14-72be-4274-9cca-878751e0de5c cached data from memory
[2022-09-03 05:29:09] DEBUG: Sending response from Qmdki3QeKaQGGowTYz5v59vhz5b6S9R9NouANjuiZc4y7M to QmPzKAXVZoNkhHRQp6ai7WXnN8f5w4BfgbmoUnXqDihF2z: event=/store/1.0.0, messageType=ACK;
[2022-09-03 05:29:09] ERROR: Command error (PublishRemoteError): Retry count for command: handleStoreInitCommand reached! Unable to validate data for operation id: cb82237f-4325-496e-bd82-f9fae2cdf12d
[2022-09-03 05:29:09] DEBUG: Marking operation id cb82237f-4325-496e-bd82-f9fae2cdf12d as failed
[2022-09-03 05:29:09] DEBUG: Removing operation id: cb82237f-4325-496e-bd82-f9fae2cdf12d cached data
[2022-09-03 05:29:09] DEBUG: Removing file on path: /root/ot-node/data/operation_id_cache/cb82237f-4325-496e-bd82-f9fae2cdf12d
Something went really wrong! OT-node shutting down... [Error: ENOENT: no such file or directory, unlink '/root/ot-node/data/operation_id_cache/a425b55c-0e08-4509-8c65-48008e10f143'] {
errno: -2,
code: 'ENOENT',
syscall: 'unlink',
path: '/root/ot-node/data/operation_id_cache/a425b55c-0e08-4509-8c65-48008e10f143'
}
[2022-09-03 05:29:09] DEBUG: Sending response from Qmdki3QeKaQGGowTYz5v59vhz5b6S9R9NouANjuiZc4y7M to QmZYXTRArxYTo9skNtV7zFzQPkc4xrS1ZZdX8s1LzLHYsp: event=/store/1.0.0, messageType=ACK;
[2022-09-03 05:29:09] ERROR: Command error (PublishRemoteError): Retry count for command: handleStoreInitCommand reached! Unable to validate data for operation id: a425b55c-0e08-4509-8c65-48008e10f143
[2022-09-03 05:29:09] DEBUG: Marking operation id a425b55c-0e08-4509-8c65-48008e10f143 as failed
otnode.service: Main process exited, code=exited, status=1/FAILURE
otnode.service: Failed with result 'exit-code'.
otnode.service: Scheduled restart job, restart counter is at 5.
Stopped OriginTrail V6 Stage 1 Beta Node.
Started OriginTrail V6 Stage 1 Beta Node.
Full logs:
log.txt
Disclaimer
Please be aware that the issue reported on a public repository allows everyone to see your node logs, node details, and contact details. If you have any sensitive information, feel free to share it by sending an email to<EMAIL_ADDRESS>

I'm getting the same thing
I'm not trying to publish anything, I've rebooted and restarted the node, with no changes
It's now been doing this for hours

Also getting this error
[2022-09-09 11:43:33] DEBUG: Removing file on path: /root/ot-node/data/operation_id_cache/8f86246b-59b4-468b-be3a-a4c0b6d6eb8b
Something went really wrong! OT-node shutting down... [Error: ENOENT: no such file or directory, unlink '/root/ot-node/data/operation_id_cache/8f86246b-59b4-468b-be3a-a4c0b6d6eb8b'] {
errno: -2,
code: 'ENOENT',
syscall: 'unlink',
path: '/root/ot-node/data/operation_id_cache/8f86246b-59b4-468b-be3a-a4c0b6d6eb8b'
}
otnode.service: Main process exited, code=exited, status=1/FAILURE
otnode.service: Failed with result 'exit-code'.
otnode.service: Scheduled restart job, restart counter is at 8203.
Stopped OriginTrail V6 Stage 1 Beta Node.
Started OriginTrail V6 Stage 1 Beta Node.
It ends up in an infinite loop of this

This issue is being closed as inactive due to the date of the last activity on it. If you believe this is still a problem, please create a new issue and confirm that it is reproducible in the current ot-node release version. We are working towards closing open issues that meet specific criteria and ask you to create a new one for those that that are truly bugs in current release. We'll be monitoring those issues so that they are properly managed.
Thank you,
OriginTrail Team


feat(rpc-types-trace/prestate): support disable_{code,storage}

Motivation

In some cases, we only need to track the ether balance/nonce changes, so no need to return the lonng code/storage back, so propose to add two new options: disableCode and disableStorage to indicate wheather need to track code/storage or not.
Solution

PR Checklist

[x] Added Tests
[x] Added Documentation
[x] Breaking changes

I think these additional settings make sense, but there is no reference impl for these, right?

Yeah, erigon's changes are also in the way https://github.com/erigontech/erigon/pull/12384, and I'll file the similar changes for geth later


Forget about the iterator type after constructing a JoinAll.

Fixes #285.

The current type parameter situation is left over from before #255, when JoinAll did in fact keep the iterator around as one of its fields.

This seems reasonable to me, and it seems like we probably won't be storing the iterator in the JoinAll future any time soon as well, so seems fine moving forward. Could you add a test for this as well?
Unfortunately this is a breaking change so this can't land until 0.2, but I don't mind keeping this around until that time.

Test added.

Awesome, thanks! I've tagged this to ensure it makes it into 0.2 and we don't forget about it.

@alexcrichton : It looks like 0.2 might be ramping up. Would it be a good time to tackle this in order to help with #662?

Certainly! I'd recommend coordinating with @cramertj though!

@stuhood Can you send a PR to 0.2 in the next hour or so? If not, I'd recommend waiting until later this afternoon once I've had a chance to reorg 0.2 into multiple crates, otherwise the rebase will be a pain.

@cramertj : Should be able to, as this PR is already green.

@stuhood Great! ty :)

@cramertj, @alexcrichton : Opened #732.

Landed in https://github.com/rust-lang-nursery/futures-rs/pull/732


Players receive immediate feedback if the image generation process encounters any errors, with suggestions to modify the input phrase for successful processing.

commit: 0ce79ac


Removed bower asset exclusion

Reasons for making this change:

Bower asset inclusion is encouraged by the Symfony documentation

Links to documentation supporting these rule changes:

http://symfony.com/doc/current/frontend/bower.html#should-i-git-ignore-or-commit-bower-assets

@robinkanters thanks!


coffee notes sections in html, js, and css

replaced search history section in html, added empty coffee notes section in js and css.  made comments denoting beginning and end of some other sections more obvious.

Update, Coffee Notes section finished.   styled to look like a notepad.  local storage works on save button click.  also, more importantly, everything else still works too.


How do I know when all of my children is in the DOM

I got a CollectionView that needs to know if all its children has been rendered and is in the DOM.
I know the View has onDomRefresh, but there is no such thing for CollectionView. Why is that so?
I can bypass the problem by just putting a setTimeout in onRenderChildren.

You shoyld open a issue at https://github.com/marionettejs/backbone.marionette . Here is for radio messaging

Sorry! :)


Readme is wrong?

@vanackej
In readme you speak about config.json
But the actually file is config/risco-mqtt.json
A bit confusing :-)

Readme is for initial standalone config. Config file for HA addon is not named the same. I will add a note about it


Binary Sensors offline

In addition to issues with polling and updating HA GUI, all the binary sensors also drop offline in 3.0.3

Closing


update bal-radio styles

on mobile should be expanded
dot should be centred
all items should use the max height on expanded

reported by @svene & @m4rc0z