Simplify jest_test rules

rules_jest can directly consume ts tests and doesn't need a ts project
wrapper.
Avoiding transpiling helps speed up test runs and also means that any
test snapshots maintain the .ts(x) extensions instead of using .js(x)
extensions.
This simplifies the generated jest_test rules to only emit
data attrs and skips the deps attrs. The example was updated to work
with this new setup.

@ColinHeathman we've used this for a number of tests in our private typescript repo, seems to work pretty well!

@ColinHeathman we've used this for a number of tests in our private typescript repo, seems to work pretty well!

HI @philkuz, we also don't use ts_project for Jest tests at BenchSci, however I chose to merge the deps and data attributes in Starlark instead of in Gazelle.
With this project we've been trying to follow the best practices set out by the aspect-build Bazel examples for next.js, (here)[https://github.com/bazelbuild/examples/tree/main/frontend/next.js] and (here)[https://github.com/aspect-build/bazel-examples/tree/main/jest].
In both examples the jest_test rule is using the transpiled source files, however neither of them have a deps attribute either.
I'm not sure which approach is better. I think that dropping ts_project in the macro may mean that you lose typechecking support for your .test files

@ColinHeathman we've used this for a number of tests in our private typescript repo, seems to work pretty well!

HI @philkuz, we also don't use ts_project for Jest tests at BenchSci, however I chose to merge the deps and data attributes in Starlark instead of in Gazelle.
With this project we've been trying to follow the best practices set out by the aspect-build Bazel examples for next.js, here and here.
In both examples the jest_test rule is using the transpiled source files, however neither of them have a deps attribute either.

Looking at some other fairly large projects that use jest_test, they seem to not use transpiled files for tests either. See https://github.com/sourcegraph/sourcegraph/blob/e0f401aee37136bd7f27816d3d67a63ea328d7f6/dev/defs.bzl#L130-L137 for example (though they later switched to vitest)

I'm not sure which approach is better. I think that dropping ts_project in the macro may mean that you lose typechecking support for your .test files

That's a good point. I tried it out and it's simple enough to add typechecking for tests. We can both generate a ts_project rule in the starlark for tests to ensure that we typeccheck but also continue to run tests with the .ts files instead of the transpiled files (this is to support #48 and snapshots that work both in and out of bazel). That seems like the best of both worlds.
Let me know which approach you prefer and I can update this PR and #48 so we can get the snapshot stuff merged if possible.

@ColinHeathman I updated both #47 and #48
Let me know your thoughts. If you don't want to pull in this PR, then I can update #48 to be independent of this change (and use the transpiled .js.snap extension for the snapshot) and try to get that merged separately instead.


Gallery App has an editable value slider

From https://www.google.com/design/spec/components/sliders.html#sliders-continuous-slider
"With an editable numeric value
Use for settings for which users need to set the exact value. Upon pressing the thumb, the text box becomes editable for text entry and updates the value automatically with thumb movement."

This is easy to do. Do we really need an example of it in the gallery?

Hi, is this issue still valid?
If so, how can I contribute?

Contributing instructions are listed here: https://github.com/flutter/flutter/blob/master/CONTRIBUTING.md
This looks like a pretty straightforward combination of existing widgets, which means this is probably a good place to start! :)
The code would live somewhere in:
https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/

The gallery itself is located here: https://github.com/flutter/flutter/tree/master/examples/flutter_gallery/lib
Maybe we already have this widget and it just needs to be added to the gallery?

(Sorry for long delay)
I have a question: Do we want it as separate Widget added to slider.dart and be easy accessible by other developers or just implement it in Gallery app?

This issue is just about implementing it for the gallery app. It's pretty straightforward to make this from a Row with editable text fields on one end of the slider.

@sethladd @gspencergoog @Hixie I submitted a pull request (#23506). Can someone review please?

Hello you awesome people!
I just created a Let's Flutter Berlin group on Facebook to bring flutter developers in Berlin together to discuss problems, share ideas and create beautiful things together. If you live in Berlin, it would be awesome if you could join the group 😊! If you don't live in Berlin, feel free to join too! Im grateful for each and every supporter.
Let's Flutter Berlin: https://www.facebook.com/groups/276520973054067/about/
Sorry for spamming.

@khalithartmann Please don't spam the issues.
Please go through and delete all your spam comments so that others don't have to. Event advertisement is not an appropriate use of the issue database.
Thanks!

okay will do that. sorry for the spam..


Glyphicon height offset issue

Tested chrome 40 (zoom 125%) has the issue, IE 11 doesn't have.
Put three same inputs with glyphicon, the first one works fine, the last two have offset issue, they are using the same code,

                        @
                        <input type="text" class="form-control">

                        @
                        <input type="text" class="form-control">

                        @
                        <input type="text" class="form-control">

Obviously, bootstrap website demo examples have the same issue in some particular conditions
has

doesn't have

X-Ref: https://github.com/twbs/bootstrap/issues/15497
Also, this general note in the docs: http://getbootstrap.com/getting-started/#support-browser-zooming

Yeah, there likely won't be any changes to this in v3 per @juthilo's comment.


Changed worksheet filepath in xls/xl/worksheets

Hello. I needed to rename the prefix DEFAULT_SHEET_NAME_PREFIX of the sheet name in the file src/Writer/Common/Entity/Sheet.php. I redefined this file, changed the prefix. The Excel file has been created successfully. It had the name of the sheet that I needed. But the data on the sheet was not displayed. I studied the xlsx files created by Microsoft Excel and found out that in the xls/xl/worksheets directory, the sheets are always named sheet1.xml , sheet2.xml regardless of how the sheets are named.
Also in your file src/Writer/XLSX/Helper/FileSystemHelper.php on line 193: "worksheets/sheet'.$worksheetId.'.xml", i.e. you are correctly linking to an XML file with the name sheet1.xml , sheet2.xml... The filename is hardcoded here. I suggest that in the correction, specify a hard name. This will allow you to change the name of the sheet.
I do not know if you still support the 3.x branch, but I think my fix would not hurt.
Thanks for your work

Thank you for your contribution but indeed 3.x branch is not supported anymore.
May you target your PR against 4.x, if the patch is applicable?

In our project, we are using PHP 7.4. I think many people are still using PHP 7.4. I was surprised that it is not possible to rename the sheet. This file (src/Writer/XLSX/Manager/WorkbookManager.php ) too "deep" while the Writer is running. So I can't redefine the class and fix this method in my project in a simple way. I was considering starting using your library, but version 4.X only works with PHP ^8.1. It's very sad when a person has spent time to find a solution, and the branch cannot be updated.

May you target your PR against 4.x, if the patch is applicable?

I can't consider preparing a fix for the 4.X branch, because there are a lot of changes in the branch 4.X, and I don't have projects with PHP 8.1 yet

but version 4.X only works with PHP ^8.1

Version 4 requires PHP ^8.0:
https://github.com/openspout/openspout/blob/1f5d8500f3fdcc023543293f052a8beb4a92de78/composer.json#L31

Branch 4.x is already fixed: https://github.com/openspout/openspout/blob/ef5396bfd44b3dfa092e78458966d25c7a2c931a/src/Writer/Common/Manager/AbstractWorkbookManager.php#L176
And since branch 3.x has been EOLed, I'm not merging this.
I you really need your patch, have a look at cweagans/composer-patches


target_dir's parent folders are not created, errors instead

Based on the comment in the usage example, i.e. this one
let target_dir = PathBuf::from("my_target_dir"); // Doesn't need to exist

I assumed that supplying e.g. some/path/to/my_target_dir the library would create the entire path, not just the last folder...
So is creating only the last folder intentional behaviour or a bug? ^^

Kind of neither - I think I simply never thought of multiple non-existing folders.
At the same time, I kind of don't like the prospect of implicitly creating long chains of folders. I think in the future creating all folders should be and explicit opt-in, with no folders being created otherwise. And for now I will correct the documentation to reflect the current behavior.

Oh whoops, maybe I should've gone past the first page on the docs, my bad ^^"


Does this support windows? if so, how does it achieve parallel tasks?

It seems this is running tasks on the background to achieve parallelism. But does it work with windows?

@buddhika162 @hpr0009 sorry guys this wasn't designed to work on windows so I am not sure about the answer. But if you try it please let me know (if it doesn't I'd be happy to review/accept your PR)


Missing entity door AutoLock on Smart Wifi Touch

Eufy Wifi Smart Touch door lock has the ability to toggle auto-lock, but there is no entity (in ZHA at least) for this attribute.
I would really like to use it to style my door entity if auto-lock is off.

check with bropat if this feature is supported on eufy-security-ws add-on.
if yes, please share your Debug (Device) sensor attributes here


[VL] ENABLE_EP_CACHE=ON still uses cached Velox build although the build arguments were changed

Prior to this fix, ENABLE_EP_CACHE=ON only uses the target commit hash as cache key, which means for example, when we change BUILD_TYPE from Debug to Release, the cached debug build is still used as cached build incorrectly.
This patch is a fix for the bug.

@zhouyuan

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_3926_time.csv
log/native_master_12_05_2023_a46243420_time.csv
difference
percentage

q1
32.37
34.72
2.352
107.27%

q2
25.81
25.00
-0.810
96.86%

q3
36.00
37.98
1.982
105.51%

q4
37.90
38.25
0.356
100.94%

q5
70.74
72.06
1.320
101.87%

q6
7.05
5.37
-1.679
76.17%

q7
86.11
82.30
-3.813
95.57%

q8
86.94
86.96
0.013
100.02%

q9
127.43
126.92
-0.501
99.61%

q10
44.55
45.43
0.877
101.97%

q11
20.28
20.31
0.031
100.15%

q12
26.36
27.02
0.659
102.50%

q13
47.08
47.15
0.070
100.15%

q14
15.77
19.01
3.238
120.53%

q15
27.07
29.59
2.520
109.31%

q16
15.51
15.81
0.298
101.92%

q17
103.31
103.87
0.560
100.54%

q18
151.13
150.70
-0.434
99.71%

q19
14.34
14.53
0.190
101.33%

q20
27.86
28.18
0.324
101.16%

q21
224.64
223.72
-0.918
99.59%

q22
13.07
13.17
0.101
100.78%

total
1241.31
1248.05
6.734
100.54%


error CS1061: 'IAsyncServiceProvider' does not contain a definition for 'GetService' ...

So, I followed the above instructions to the letter, well, except where I had to jump ahead and get the ShowToolWindow() code, which did not get created when the project was initially spun up, nor were we given any code for said method above the point at which we were told to change it, and I'm getting the following exception:
FirstToolWindowCommand.cs(124,35,124,45): error CS1061: 'IAsyncServiceProvider' does not contain a definition for 'GetService' and no accessible extension method 'GetService' accepting a first argument of type 'IAsyncServiceProvider' could be found (are you missing a using directive or an assembly reference?)
Now, I'd love to try and fix this myself, but since I'm taking a tutorial and all, and thus don't yet know how these things work, that would be difficult at best. :(
-sigh-
Any help appreciated.

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

ID: 554db2bb-c0c2-d694-be77-44cb0fd311f8
Version Independent ID: e7a691ea-7540-f6c4-46e4-66abdbd07c37
Content: Adding a Tool Window - Visual Studio
Content Source: docs/extensibility/adding-a-tool-window.md
Product: visual-studio-dev15
GitHub Login: @gregvanl
Microsoft Alias: gregvanl

It looks like this issue has been addressed, so I am closing this. Thanks!


Add getLabel method to tag slot

Solves https://github.com/shentao/vue-multiselect/issues/739
Would a test case and a docs update also be required? @shentao

I will add those myself. Thanks for the contribution!

Is there a reason this was removed again with https://github.com/shentao/vue-multiselect/pull/773?


Can't get MQTT working

I have it running in a Docker (see #2) and it appears to be receiving and passing along the UDP messages to the EnelX Server.
However, I don't see it sending anything via MQTT and see the error below when Debug is enabled:
juicepassproxy  | 2023-11-05 11:19:17,301 DEBUG      Starting UDP proxy...
juicepassproxy  | 2023-11-05 11:19:17,302 DEBUG      Src: <IP_ADDRESS>:8047
juicepassproxy  | 2023-11-05 11:19:17,302 DEBUG      Dst: <IP_ADDRESS>:8047
juicepassproxy  | 2023-11-05 11:19:17,303 DEBUG      Looping proxy (press Ctrl-Break to stop)...
juicepassproxy  | 2023-11-05 11:19:19,460 DEBUG      local : b'0910042001280643829222621623:v09u,s010,F10,u00053456,V2480,L00001786832,S01,T18,M0040,C0040,m0040,t29,i52,e-0001,f5999,r51,b000,B0000000!DLD:'
juicepassproxy  | 2023-11-05 11:19:19,460 DEBUG      failed to process basic message: list index out of range
juicepassproxy  | 2023-11-05 11:19:21,691 DEBUG      remote: b'CMD01119A0040M040C208S012!JHZ$'

I've confirmed my MQTT settings are correct (I use MQTT in HA for a number of other things) and I can ping HA from within the Docker container. Any ideas?

the message coming from the Juicebox seems to be different than mine (or others from that previous thread), what model of Juicebox are you using?
Particularly, the issue seems to be that the mains frequency is the 15th element in your device and in mine it is the 13th. To fix this we may need to actually parse the message to support different devices instead of assuming the order in the CSV from the device.

I'm in the US and it is a JuiceBox 40 (NEMA 14-50P) Plug In. Model: 2JBO401RNA

A bit longer of a log if it helps. Happy to provide anything else to assist.
juicepassproxy.log


chore(deps): update dependency @types/jest to v26.0.15

This PR contains the following updates:

Package
Type
Update
Change

@types/jest
devDependencies
patch
26.0.14 -> 26.0.15

Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or if you modify the PR title to begin with "rebase!".
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

Available now for Enterprise: Renovate Pro with real-time webhook handling and priority job queue.

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

v6.1.12
GitHub release

Your semantic-release bot :package::rocket:


Added Learn Computer Networks

Added new section in Readme
Added resources and guides for learning computer networks using simulation tools and analysing tools, also added links to website providing great information regarding networks that explain core concepts clearly

Please always check the CONTRIBUTING.md file


Fix 002 module in native

I tried to build it and tu it, but it ends with error:
  "timestamp": "2021-03-04T17:56:49.569+01:00",
  "sequence": 874,
  "loggerClassName": "org.jboss.logging.Logger",
  "loggerName": "io.quarkus.runtime.Application",
  "level": "ERROR",
  "message": "Failed to start application (with profile prod)",
  "threadName": "main",
  "threadId": 1,
  "mdc": {},
  "ndc": "",
  "hostName": "rsvoboda-mac",
  "processName": "NativeImageGeneratorRunner$JDK9Plus",
  "processId": 9157,
  "exception": {
    "refId": 1,
    "exceptionType": "javax.enterprise.inject.UnsatisfiedResolutionException",
    "message": "No bean found for required type [class java.lang.Object] and qualifiers [[@io.quarkus.picocli.runtime.annotations.TopCommand()]]",
    "frames": [
...

mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /Users/rsvoboda/.sdkman/candidates/maven/current
Java version: 11.0.10, vendor: GraalVM Community, runtime: /Users/rsvoboda/.sdkman/candidates/java/<IP_ADDRESS>.r11-grl
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"

command I used:
mvn clean install -Dnative \
  -Dquarkus.native.additional-build-args=--allow-incomplete-classpath \
  -pl 002-quarkus-all-extensions -Phigh-memory-needed

Commenting out picocli helped a bit, no error in the log, but start doesn't finish with expected "started" message.

I tried to build it and tu it, but it ends with error:
  "timestamp": "2021-03-04T17:56:49.569+01:00",
  "sequence": 874,
  "loggerClassName": "org.jboss.logging.Logger",
  "loggerName": "io.quarkus.runtime.Application",
  "level": "ERROR",
  "message": "Failed to start application (with profile prod)",
  "threadName": "main",
  "threadId": 1,
  "mdc": {},
  "ndc": "",
  "hostName": "rsvoboda-mac",
  "processName": "NativeImageGeneratorRunner$JDK9Plus",
  "processId": 9157,
  "exception": {
    "refId": 1,
    "exceptionType": "javax.enterprise.inject.UnsatisfiedResolutionException",
    "message": "No bean found for required type [class java.lang.Object] and qualifiers [[@io.quarkus.picocli.runtime.annotations.TopCommand()]]",
    "frames": [
...

mvn -version
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: /Users/rsvoboda/.sdkman/candidates/maven/current
Java version: 11.0.10, vendor: GraalVM Community, runtime: /Users/rsvoboda/.sdkman/candidates/java/<IP_ADDRESS>.r11-grl
Default locale: en_GB, platform encoding: UTF-8
OS name: "mac os x", version: "10.16", arch: "x86_64", family: "mac"

command I used:
mvn clean install -Dnative \
  -Dquarkus.native.additional-build-args=--allow-incomplete-classpath \
  -pl 002-quarkus-all-extensions -Phigh-memory-needed

Commenting out picocli helped a bit, no error in the log, but start doesn't finish with expected "started" message.

Adjusted the PR to make the module build into Native and:

Removed Picocli extension as it's incompatible with REST
Added PostgresSQL and MongoDB resources necessary for some Quarkus extensions.

Still the native test is not working, so I've disabled it for now.

Native build fails for me, using GraalVM <IP_ADDRESS>.
@Sgitario were you succesfull with building the app?
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:54263]        setup:   9,890.29 ms,  5.25 GB
15:18:14,417 INFO  [org.hib.Version] HHH000412: Hibernate ORM core version 5.4.29.Final
15:18:14,427 INFO  [org.hib.env.boo.int.EnversServiceImpl] Envers integration enabled? : true
15:18:14,447 INFO  [org.hib.ann.com.Version] HCANN000001: Hibernate Commons Annotations {5.1.2.Final}
15:18:14,521 INFO  [org.hib.dia.Dialect] HHH000400: Using dialect: io.quarkus.hibernate.orm.runtime.dialect.QuarkusPostgreSQL10Dialect
15:18:14,747 INFO  [org.hib.val.int.uti.Version] HV000001: Hibernate Validator 6.2.0.Final
15:18:15,789 WARNING [org.apa.tik.par.PDFParser] J2KImageReader not loaded. JPEG2000 files will not be processed.
See https://pdfbox.apache.org/2.0/dependencies.html#jai-image-io
for optional dependencies.

15:18:16,127 WARN  [io.sma.graphql] SRGQL010000: Schema is null, or it has no operations. Not bootstrapping SmallRye GraphQL
15:19:45,529 INFO  [org.inf.SECURITY] ISPN000947: Using Java SSL Provider
15:19:47,447 INFO  [org.jbo.threads] JBoss Threads version 3.2.0.Final
ANTLR Tool version 4.7.2 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.7.2 used for parser compilation does not match the current runtime version 4.8ANTLR Tool version 4.7.2 used for code generation does not match the current runtime version 4.8ANTLR Runtime version 4.7.2 used for parser compilation does not match the current runtime version 4.8
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:54263]     (clinit):   4,129.29 ms,  6.99 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:54263]   (typeflow): 128,292.53 ms,  6.99 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:54263]    (objects): 149,565.70 ms,  6.99 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:54263]   (features):   9,350.80 ms,  6.99 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:54263]     analysis: 308,768.03 ms,  6.99 GB
Error: Unsupported features in 2 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: graphql.GraphQL$Builder.defaultDataFetcherExceptionHandler(graphql.execution.DataFetcherExceptionHandler). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
	at parsing io.smallrye.graphql.execution.ExecutionService.getGraphQL(ExecutionService.java:222)
Call path from entry point to io.smallrye.graphql.execution.ExecutionService.getGraphQL():
	at io.smallrye.graphql.execution.ExecutionService.getGraphQL(ExecutionService.java:215)
	at io.smallrye.graphql.execution.ExecutionService.execute(ExecutionService.java:99)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.doRequest(SmallRyeGraphQLExecutionHandler.java:176)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.handleGet(SmallRyeGraphQLExecutionHandler.java:133)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.doHandle(SmallRyeGraphQLExecutionHandler.java:96)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.handle(SmallRyeGraphQLExecutionHandler.java:64)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.handle(SmallRyeGraphQLExecutionHandler.java:37)
	at io.vertx.kafka.client.consumer.impl.KafkaReadStreamImpl.lambda$pollRecords$6(KafkaReadStreamImpl.java:158)
	at io.vertx.kafka.client.consumer.impl.KafkaReadStreamImpl$$Lambda$2754/0x00000007c7b2c440.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:834)
	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:519)
	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
	at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: graphql.execution.ExecutionStepInfo.getPath(). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
	at parsing io.smallrye.graphql.execution.context.SmallRyeContext.getPath(SmallRyeContext.java:119)
Call path from entry point to io.smallrye.graphql.execution.context.SmallRyeContext.getPath():
	at io.smallrye.graphql.execution.context.SmallRyeContext.getPath(SmallRyeContext.java:118)
	at io.smallrye.graphql.execution.context.SmallRyeContext.toString(SmallRyeContext.java:317)
	at java.lang.String.valueOf(String.java:2951)
	at java.io.PrintStream.print(PrintStream.java:745)
	at java.io.PrintStream.println(PrintStream.java:882)
	at com.oracle.svm.jni.functions.JNIFunctions.ExceptionDescribe(JNIFunctions.java:757)
	at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_ExceptionDescribe_b5412f7570bccae90b000bc37855f00408b2ad73(generated:0)

com.oracle.svm.core.util.UserError$UserException: Unsupported features in 2 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: graphql.GraphQL$Builder.defaultDataFetcherExceptionHandler(graphql.execution.DataFetcherExceptionHandler). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
	at parsing io.smallrye.graphql.execution.ExecutionService.getGraphQL(ExecutionService.java:222)
Call path from entry point to io.smallrye.graphql.execution.ExecutionService.getGraphQL():
	at io.smallrye.graphql.execution.ExecutionService.getGraphQL(ExecutionService.java:215)
	at io.smallrye.graphql.execution.ExecutionService.execute(ExecutionService.java:99)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.doRequest(SmallRyeGraphQLExecutionHandler.java:176)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.handleGet(SmallRyeGraphQLExecutionHandler.java:133)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.doHandle(SmallRyeGraphQLExecutionHandler.java:96)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.handle(SmallRyeGraphQLExecutionHandler.java:64)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.handle(SmallRyeGraphQLExecutionHandler.java:37)
	at io.vertx.kafka.client.consumer.impl.KafkaReadStreamImpl.lambda$pollRecords$6(KafkaReadStreamImpl.java:158)
	at io.vertx.kafka.client.consumer.impl.KafkaReadStreamImpl$$Lambda$2754/0x00000007c7b2c440.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:834)
	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:519)
	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
	at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: graphql.execution.ExecutionStepInfo.getPath(). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
	at parsing io.smallrye.graphql.execution.context.SmallRyeContext.getPath(SmallRyeContext.java:119)
Call path from entry point to io.smallrye.graphql.execution.context.SmallRyeContext.getPath():
	at io.smallrye.graphql.execution.context.SmallRyeContext.getPath(SmallRyeContext.java:118)
	at io.smallrye.graphql.execution.context.SmallRyeContext.toString(SmallRyeContext.java:317)
	at java.lang.String.valueOf(String.java:2951)
	at java.io.PrintStream.print(PrintStream.java:745)
	at java.io.PrintStream.println(PrintStream.java:882)
	at com.oracle.svm.jni.functions.JNIFunctions.ExceptionDescribe(JNIFunctions.java:757)
	at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_ExceptionDescribe_b5412f7570bccae90b000bc37855f00408b2ad73(generated:0)

	at com.oracle.svm.core.util.UserError.abort(UserError.java:82)
	at com.oracle.svm.hosted.FallbackFeature.reportAsFallback(FallbackFeature.java:233)
	at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:773)
	at com.oracle.svm.hosted.NativeImageGenerator.doRun(NativeImageGenerator.java:563)
	at com.oracle.svm.hosted.NativeImageGenerator.lambda$run$0(NativeImageGenerator.java:476)
	at java.base/java.util.concurrent.ForkJoinTask$AdaptedRunnableAction.exec(ForkJoinTask.java:1407)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(ForkJoinPool.java:1020)
	at java.base/java.util.concurrent.ForkJoinPool.scan(ForkJoinPool.java:1656)
	at java.base/java.util.concurrent.ForkJoinPool.runWorker(ForkJoinPool.java:1594)
	at java.base/java.util.concurrent.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:183)
Caused by: com.oracle.graal.pointsto.constraints.UnsupportedFeatureException: Unsupported features in 2 methods
Detailed message:
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: graphql.GraphQL$Builder.defaultDataFetcherExceptionHandler(graphql.execution.DataFetcherExceptionHandler). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
	at parsing io.smallrye.graphql.execution.ExecutionService.getGraphQL(ExecutionService.java:222)
Call path from entry point to io.smallrye.graphql.execution.ExecutionService.getGraphQL():
	at io.smallrye.graphql.execution.ExecutionService.getGraphQL(ExecutionService.java:215)
	at io.smallrye.graphql.execution.ExecutionService.execute(ExecutionService.java:99)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.doRequest(SmallRyeGraphQLExecutionHandler.java:176)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.handleGet(SmallRyeGraphQLExecutionHandler.java:133)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.doHandle(SmallRyeGraphQLExecutionHandler.java:96)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.handle(SmallRyeGraphQLExecutionHandler.java:64)
	at io.quarkus.smallrye.graphql.runtime.SmallRyeGraphQLExecutionHandler.handle(SmallRyeGraphQLExecutionHandler.java:37)
	at io.vertx.kafka.client.consumer.impl.KafkaReadStreamImpl.lambda$pollRecords$6(KafkaReadStreamImpl.java:158)
	at io.vertx.kafka.client.consumer.impl.KafkaReadStreamImpl$$Lambda$2754/0x00000007c7b2c440.run(Unknown Source)
	at java.lang.Thread.run(Thread.java:834)
	at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:519)
	at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:192)
	at com.oracle.svm.core.code.IsolateEnterStub.PosixJavaThreads_pthreadStartRoutine_e1f4a8c0039f8337338252cd8734f63a79b5e3df(generated:0)
Error: com.oracle.graal.pointsto.constraints.UnresolvedElementException: Discovered unresolved method during parsing: graphql.execution.ExecutionStepInfo.getPath(). To diagnose the issue you can use the --allow-incomplete-classpath option. The missing method is then reported at run time when it is accessed the first time.
Trace:
	at parsing io.smallrye.graphql.execution.context.SmallRyeContext.getPath(SmallRyeContext.java:119)
Call path from entry point to io.smallrye.graphql.execution.context.SmallRyeContext.getPath():
	at io.smallrye.graphql.execution.context.SmallRyeContext.getPath(SmallRyeContext.java:118)
	at io.smallrye.graphql.execution.context.SmallRyeContext.toString(SmallRyeContext.java:317)
	at java.lang.String.valueOf(String.java:2951)
	at java.io.PrintStream.print(PrintStream.java:745)
	at java.io.PrintStream.println(PrintStream.java:882)
	at com.oracle.svm.jni.functions.JNIFunctions.ExceptionDescribe(JNIFunctions.java:757)
	at com.oracle.svm.core.code.IsolateEnterStub.JNIFunctions_ExceptionDescribe_b5412f7570bccae90b000bc37855f00408b2ad73(generated:0)

	at com.oracle.graal.pointsto.constraints.UnsupportedFeatures.report(UnsupportedFeatures.java:129)
	at com.oracle.svm.hosted.NativeImageGenerator.runPointsToAnalysis(NativeImageGenerator.java:770)
	... 8 more

[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]     (clinit):   4,281.80 ms,  7.05 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]   (typeflow): 130,930.46 ms,  7.05 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]    (objects): 139,824.90 ms,  7.05 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]   (features):   8,765.05 ms,  7.05 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]     analysis: 297,637.83 ms,  7.05 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]     universe:   9,129.36 ms,  7.15 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]      (parse):  43,347.87 ms,  8.67 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]     (inline):  26,706.68 ms, 10.84 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]    (compile):  77,863.30 ms, 11.21 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]      compile: 159,212.71 ms, 11.10 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]        image:  37,947.86 ms,  9.90 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]        write:   4,760.64 ms,  9.90 GB
[002-quarkus-all-extensions-1.0.0-SNAPSHOT-runner:56172]      [total]: 543,932.01 ms,  9.90 GB

with mvn clean install -Dnative  -Dquarkus.native.additional-build-args=--allow-incomplete-classpath
Please add quarkus.native.additional-build-args=--allow-incomplete-classpath into application.properties and we will be good to merge

quarkus.native.additional-build-args=--allow-incomplete-classpath

Updated. I've tried it and it looks good now. Thanks for the tip!


linux-kunbus.bb: Switch to version 4.9

The kernel branch that Kunbus currently ships for their hardware
is revpi-4.9.
Changelog-entry: Switch revolution pi kernel to version 4.9
Signed-off-by: Florin Sarbu<EMAIL_ADDRESS>

@resin-ci retest

Remember though, that the piControl module is also built on a kernel specific branch.


[Go] Build failure for 32-bit platform

Describe the bug, including details regarding any error messages, version, and platform.
With a dependency from https://github.com/f5/otel-arrow-adapter, for an OpenTelemetry implementation at https://github.com/lightstep/otel-launcher-go, I have this build failure in a step that tests with GOARCH=386:
Error: ../../../go/pkg/mod/github.com/apache/arrow/go/v12@v12.0.0-20230404000714-f02d35119ae6/arrow/array/dictionary.go:1556:22: math.MaxUint32 (untyped int constant<PHONE_NUMBER>) overflows int

I expect the Arrow library to work on a 32-bit platform.
Component(s)
Go

https://github.com/lightstep/otel-launcher-go/actions/runs/5138047739/jobs/9246939471

Hey @jmacd, this got addressed in #34784 and will be included in the v12.0.1 patch release.

Thanks!


[Bug Report] Comment system cannot get a new line because of PreventDefault behavior

Describe the bug
I do not know whether this is expected by design or not.
https://github.com/nunocoracao/blowfish/blob/main/assets/js/search.js#L77
search.js L77 it prevent default if the search box is not open.
However this would prevent comment text box using "enter" to have a new line.
I have duplicated that file in my project and removed L77 and now the comment can have a new line

https://github.com/nunocoracao/blowfish/pull/1693 related pull request


Enhancement - Consider Switching to ES6 Import Syntax

Hey everyone,
I've been exploring the benefits of using ES6 import syntax over require in our project:

🌱 Smoother static analysis for cleaner code.
🚀 Selective named imports for efficiency.
⚡ Top-level await for async simplicity.
♻ Consistency with modern JavaScript trends.

Let's discuss if this switch could enhance our project's maintainability and performance.

@muttaqin1
this will require adding .js in every import are you okay with that

@muttaqin1
this will require adding .js in every import are you okay with that

Yes


Signed integer is greater than maximum in get_cal_images.py

Hi. I am following your blog to use OpenMV in ROS. When I try to do the calibration, it shows that:
Traceback (most recent call last):
File "get_cal_images.py", line 22, in
buf = serial_port.read(size)
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 488, in read
buf = os.read(self.fd, size - len(read))
OverflowError: signed integer is greater than maximum
I am using Python 2.7. Do you know how to solve this problem? Thanks for your guide.

Hi. I am following your blog to use OpenMV in ROS. When I try to do the calibration, it shows that:
Traceback (most recent call last):
File "get_cal_images.py", line 22, in
buf = serial_port.read(size)
File "/usr/lib/python2.7/dist-packages/serial/serialposix.py", line 488, in read
buf = os.read(self.fd, size - len(read))
OverflowError: signed integer is greater than maximum
I am using Python 2.7. Do you know how to solve this problem? Thanks for your guide.

It has been solved. I change nothing and then it works...


[OpenCL] Update to version 3.0

We´d like to be able to state target_compile_definitions(IconicGpu PUBLIC CL_TARGET_OPENCL_VERSION=300) (or even better not stating anything would result in PUBLIC CL_TARGET_OPENCL_VERSION=300 by default) in our builds, but that results in
cl_version: CL_TARGET_OPENCL_VERSION is not a valid value (100, 110, 120, 200, 210, 220). Defaulting to 220 (OpenCL 2.2)
OpenCL 3.0 is already quite old and is additionally "making a step forward by taking a step backwards" meaning that it puts less requirements on OpenCL implementations. Thus upgrading to 3.0 will broaden the number of available platforms.
The latest cl_version.h  has 300 as default.
E.g. my laptop´s both GPU:s (Intel+NVidia) and CPU (Intel) support 3.0, but using current vcpkg I can only check for versions up to 2.2:
Device: Intel(R) UHD Graphics 630
Vendor: Intel(R) Corporation
Version: OpenCL 3.0 NEO
Compute units: 23
Global memory:<PHONE_NUMBER>

Platform: NVIDIA CUDA
Device: NVIDIA GeForce GTX 1660 Ti with Max-Q Design
Vendor: NVIDIA Corporation
Version: OpenCL 3.0 CUDA
Compute units: 24
Global memory:<PHONE_NUMBER>

Platform: Intel(R) OpenCL
Device: Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
Vendor: Intel(R) Corporation
Version: OpenCL 3.0 (Build 0)
Compute units: 8
Global memory:<PHONE_NUMBER> ```

Wen merge?


ko/docs/home/supported-doc-versions.md

new file ko/docs/home/supported-doc-versions.md
copied from en/docs/home/supported-doc-versions.md and translated

Thank you for PR.
But due to some issues, we will review after days.
/assign
/hold

Thanks. I'll check https://github.com/kubernetes/website/tree/dev-1.13-ko.4


Doesnt import security group IPv6 rules

Importing security groups with IPv6 rules dont import.
A security group with rules:
80 HTTP <IP_ADDRESS>/0 and 80 HTTP ::/0 generates just the hcl
    ingress {
        from_port        = 80
        to_port          = 80
        protocol         = "tcp"
        cidr_blocks      = ["<IP_ADDRESS>/0"]
    }

leaving the IPv6 rules out completely.
It should generate instead:
    ingress {
        from_port        = 80
        to_port          = 80
        protocol         = "tcp"
        cidr_blocks      = ["<IP_ADDRESS>/0"]
        ipv6_cidr_blocks = ["::/0"]
    }

Just noticed #325 , closign my own as dupe


NEW: Add login profile SVG for ssorg

Add two SVG files to replace images icons and add styles. Add Iframe ID's as classes to global toolbar body to target mobile/desktop versions separately.
Depends on https://github.com/silverstripeltd/ssorg/pull/93/files

Looks good otherwise =)

Cheers! 😄


More improvements on changelogs

Description

Describe your changes in detail
Why is this change required? What problem does it solve?
If it fixes an open issue, please put a link to the issue here.

Self-explained
Types of changes

What types of changes does your code introduce? Put an x in all the boxes that apply:

[x] House cleaning
[ ] Bug fix
[ ] Enhancement
[ ] Breaking change
[ ] New feature
[ ] New release
[x] Documentation

Additional details

Please, list here some additional details we should be aware of when reviewing your PR.

N/A

Codecov Report

Merging #158 (8309fda) into main (f04f242) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #158   +/-   ##
=======================================
  Coverage   84.80%   84.80%
=======================================
  Files          11       11
  Lines         500      500
=======================================
  Hits          424      424
  Misses         76       76

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 62cc8f5...8309fda. Read the comment docs.


Trying to pull artist of a specific track based on search query

Hi, I am new to Python and I'm trying to make a tool that will tell me if a track is explicit based on the search query. It is working as I'd hoped but I want to also print the artist of the track.
At the moment, It prints the name of the track, and if the track is explicit. It also prints '[{'external_urls': {'spotify': 'https://open.spotify.com/artist/7dGJo4pcD2V6oG8kP0tJRR'}, 'href': 'https://api.spotify.com/v1/artists/7dGJo4pcD2V6oG8kP0tJRR', 'id': '7dGJo4pcD2V6oG8kP0tJRR', 'name': 'Eminem', 'type': 'artist', 'uri': 'spotify:artist:7dGJo4pcD2V6oG8kP0tJRR'}]'
For the artist.
I'd like to pull the artist name out of this if possible without the full json result.
My code is below:
import os
import sys
import json
import spotipy
import webbrowser
import spotipy.util as util
from json.decoder import JSONDecodeError

# Get the username from terminal
username = sys.argv[1]

#User ID:

# Erase cache and prompt for user permission

try:
    token = util.prompt_for_user_token(username)
except:
    os.remove(f".cache-{username}")
    token = util.prompt_for_user_token(username)

# Create spotifyObject
spotifyObject = spotipy.Spotify(auth=token)

user = spotifyObject.current_user()

while True:

    print()
    print("0 - Search for a track to see if it's explicit: ")
    print("1 - Exit")
    print()
    choice = input ("Your choice: ")

    # Search for an artist
    if choice == "0":
        print("0")
        searchQuery = input("What's the track name?: ")
        print()

        # Get search results
        searchResults = spotifyObject.search(searchQuery, 1, 0, "track")

        print(json.dumps(searchResults, sort_keys=True, indent=4))

        track = searchResults['tracks']['items'][0]
        print(track['name'])
        print(track['artists'])
        print("Is the track explicit?")
        if (track['explicit']) == True:
            print("Yes")
        elif (track['explicit']) == False:
            print("No")

    # End the program
    if choice == "1":
        break

There can be multiple artists, so you need to select the one at index 0:
track['artists'][0]['name']


Added feature to poll files for help with virtual machines/docker

We do a lot of our development in docker, and the events for changed files are generated in the host OS instead of inside docker, so ptw doesn't see that files have changed.  Do you have any interest in adding a polling option, that will just scan the folder for modified file times and trigger tests?  I may be able to write the code if you are.

Hi, @carsongee. Perhaps.
Actually, do you think this is a watchdog bug? If the files are indeed changing, watchdog should pick it up regardless if it's running in a container or not. Or am I misunderstanding?

I just checked their repo, and found a very similar issue: https://github.com/gorakhargosh/watchdog/issues/283.  So it isn't really designed to handle events on remote file systems like we have with mounted container volumes since it is just using kernel events, so if you run watchdog in the container, since the kernel in the container isn't firing the event, the one in the host OS is, the watchdog can't react to it.

Good find!
Looks like watchdog provides a decent workaround with PollingObserver.
It'd be great it watchdog was able to detect whether inotify was reliable or not, so you wouldn't need an application-level concern. This is, in my opinion, a leaky abstraction that watchdog could potentially plug up. (Interested in opening a new issue asking for them to look into this? Docker is indeed growing in popularity.)
We could look at other libraries to see if they work inside of Docker out-of-the-box so pytest-watch users don't have to waste any time with this surprise. In the short-term, adding an option to use polling should be ok. I'd happily pull in a PR if you wanted to add a --poll option.

I added the PR.  As to reporting it upstream, are you thinking the issue would be to have the standard observer figure out if it needs to use polling?  That would be pretty cool.  I don't think there is any other way to address it in watchdog since the nature of remote filesystems is not to generate kernel events, that would have to be a fix in Mac and Linux kernels I think, but I'm a little out of my depth on this.

are you thinking the issue would be to have the standard observer figure out if it needs to use polling

Exactly. Then all tools that use watchdog would just work under this scenario instead of having to implement their own custom solutions.
I believe it's possible. For instance, one (bad) way would be to have watchdog create a .watchdog file and delete it right away in the directory it's observing. If no kernel events happen, turn on polling.

https://github.com/gorakhargosh/watchdog/issues/316

@carsongee Thank you!

FYI Released pytest-watch 3.0.0 today, which includes --poll.
Be sure to pip install --upgrade pytest-watch :smiley:


query with synonym expansion gives bad results

https://scicrunch.org/scicrunch/data/source/nif-0000-21306-1/search?q=TLR4&l=TLR4
lps is a synonym of TLR4. The search returns results for LP.

I think that this is the solr plural rule at work here. It sees lps and thinks that it is the plural of lp so it searches for lp as well. Short synonyms are a known issue.

For our purposes this should probably be 'LPS receptor' that goes in as a bridge file entry, however to get rid of LPS itself we will have to deal with https://github.com/SciGraph/SciGraph/issues/131.


Adding NL Places Search UI & Functionality

includes toggle to activate nl places search
NL search UI will only be present if correct env variables are set
added appropriate cypress and jest tests for all NL Search related components code refactor

Screenshots

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

The textual content has only been added to en.json. It needs to be added to update-en.json and then translated using the translation script under /extra folder. The content also needs to be added to marketing repo, because when the build is created the demo lib uses locales from the marketing repo.
I see that 2 new ENV variables have been introduced. Shouldn't the default CF template also be updated to create those resources under /extra/cloudformation/default-unauth-resources-template.yaml?
.env and .env.example also needs to be updated in the marketing repo. Since during build, demo lib will be created using the env from the marketing repo.

Let me know if anything is unclear, and I'll be more than happy to hop on a call and clarify.
CC: @vinguthh @TheRBajaj

The textual content has only been added to en.json. It needs to be added to update-en.json and then translated using the translation script under /extra folder. The content also needs to be added to marketing repo, because when the build is created the demo lib uses locales from the marketing repo.
I see that 2 new ENV variables have been introduced. Shouldn't the default CF template also be updated to create those resources under /extra/cloudformation/default-unauth-resources-template.yaml?
.env and .env.example also needs to be updated in the marketing repo. Since during build, demo lib will be created using the env from the marketing repo.

Let me know if anything is unclear, and I'll be more than happy to hop on a call and clarify.
CC: @vinguthh @TheRBajaj

updated .env.example to reflect the new optional env variables (PR to follow on marketing repo)


Error running bos accounting payments

I am receiving the following error when attempting to run bos accounting payments against my node:
/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/ln-accounting/node_modules/ln-service/bolt11/parse_payment_request.js:80
    throw new Error('ExpectedLnPrefix');
    ^

Error: ExpectedLnPrefix
    at module.exports (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/ln-accounting/node_modules/ln-service/bolt11/parse_payment_request.js:80:11)
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/ln-accounting/harmony/payments_as_records.js:40:38
    at Array.map (<anonymous>)
    at module.exports (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/ln-accounting/harmony/payments_as_records.js:37:31)
    at asyncAuto.payments (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/ln-accounting/report/get_accounting_report.js:238:26)
    at runTask (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:227:13)
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:167:31
    at processQueue (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:177:13)
    at taskComplete (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:193:9)
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:220:17
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/internal/onlyOnce.js:12:16
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/asyncjs-util/return_result.js:26:50
    at wrapper (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/internal/once.js:12:16)
    at processQueue (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:173:20)
    at taskComplete (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:193:9)
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:220:17

Interesting, if you don't have a lot of payments can you see if any of them have a payment request value that doesn't start with "ln"?

Looks like you might have already solved it, but for reference, one of my payment request values is in all caps for some reason (when I run lncli listpayments).

Aha, that makes sense

Not sure if you've pushed out an update, but on 5.0.6 I'm receiving a different error:
/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/internal/onlyOnce.js:9
        if (fn === null) throw new Error("Callback was already called.");
                         ^

Error: Callback was already called.
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/internal/onlyOnce.js:9:32
    at asyncAuto.recordsWithFiat (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/ln-accounting/report/get_accounting_report.js:373:18)
    at runTask (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:227:13)
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:167:31
    at processQueue (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:177:13)
    at taskComplete (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:193:9)
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:220:17
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/internal/onlyOnce.js:12:16
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/asyncjs-util/return_result.js:26:50
    at wrapper (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/internal/once.js:12:16)
    at processQueue (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:173:20)
    at taskComplete (/home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:193:9)
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/auto.js:220:17
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/internal/onlyOnce.js:12:16
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/ln-accounting/fiat/get_fiat_values.js:87:18
    at /home/tom/.npm-global/lib/node_modules/balanceofsatoshis/node_modules/async/internal/map.js:27:9

I pushed another update, but this may be a new issue
Have you tried changing --rate-provider?

Just tried changing it to coincap and coindesk, but they both return that same error.

It's only for payments or everything else?

This error only occurs for payments. All other subcommands work.

What if you specify a month? Is there a specific month where it happens, like the month that has the uppercase payment request?

It fails for November, succeeds for every other month I tried (June - October). Interestingly, the uppercase payment request is from October.

Hmm is there any payment in November that has a weird date?

Not that I can see. I ran lncli listpayments on my node, and I don't see anything returned that looks odd. All of the created_dates are timestamps in the right time range.

I pushed out an update that increases coverage but I'm not sure if it will fix it

I think I figured out what this problem was and I'm working on a fix

I pushed out a fix, I think it should work now


Implement NoiseGate

Like https://en.wikipedia.org/wiki/Noise_gate
Because some voice over ip applications do this

Hey @iver56, May I take a look at this?

Yes

I thought about it for a little bit and came to realize that there are two forms of noise gating:
One is simple, almost like a compressor, except it turns on and off (maybe with a short fade) the audio based on the loudness. E.g. if nobody is speaking, it will mute the sound. When one starts speaking it unmutes, and mutes again when the speech has ended. Example of this: https://www.gvst.co.uk/ggate.htm
The other one is like a simple form of denoising - it doesn't simply turn on or off the audio, but instead divides the audio into many frequency bands (as in spectrogram) and treats them independently. Then it has a noise threshold and removes anything below that threshold. Example of this: The old noise reduction feature in Audacity: https://manual.audacityteam.org/man/noise_reduction.html
Both can be useful as data augmentation
So maybe those two transforms should have different names


java.lang.RuntimeException: whoops, better handle OTHER null

Encounter error when use Gradle to compile google android code with Error Prone plugin:
src/com/android/providers/settings/SettingsProvider.java:1487: error: An unhandled exception was thrown by the Error Prone static analysis plugin.
return settingsState.new Setting(ssaidSetting) {
^

error-prone version: 2.3.3
BugPattern: NullAway

 Stack Trace:
 java.lang.RuntimeException: whoops, better handle OTHER null
at com.uber.nullaway.NullAway.mayBeNullExpr(NullAway.java:1952)
at com.uber.nullaway.NullAway.handleInvocation(NullAway.java:1352)
at com.uber.nullaway.NullAway.matchNewClass(NullAway.java:354)
at com.google.errorprone.scanner.ErrorProneScanner.processMatchers(ErrorProneScanner.java:433)
at com.google.errorprone.scanner.ErrorProneScanner.visitNewClass(ErrorProneScanner.java:759)
at com.google.errorprone.scanner.ErrorProneScanner.visitNewClass(ErrorProneScanner.java:150)
at com.sun.tools.javac.tree.JCTree$JCNewClass.accept(JCTree.java:1705)

Gradle compilation passed without error-prone plugin, but failed if plugin integrated.
Relevant code fragment:
private Setting mascaradeSsaidSetting(SettingsState settingsState, Setting ssaidSetting) {
    if (ssaidSetting != null) {
        return settingsState.new Setting(ssaidSetting) {
              @override
               public int getKey() {
                    final int userId = getUserIdFromKey(super.getKey());
                    return makeKey(SETTINGS_TYPE_SECURE, userId);
                  }

             @Override
             public String getName() {
                 return Settings.Secure.ANDROID_ID;
              }
          };
      }
    return null;
}

@shas19 @lazaroclapp either of you have time to look at this one?

Yeah, I will check it.

Apparently, there are two types of issues I can see.
Test 1:
  class AnotherClass{
    class Inner{
      int x;
    }
  }

  AnotherClass.Inner someMethod(){
    AnotherClass anotherClass = new AnotherClass();
    return anotherClass.new Inner(){
      int getX(){ return x;}
    };
  }

Java compiler parses the invocation of Inner constructor with parameter <*nullchk*>anotherClass.
Since AccessPathNullnessPropagation#visitNullChk is not expected to occur, but it is occuring, that is causing one type of crash.
Test 2:
  class AnotherClass{
    class Inner{
      int x;
      Inner(int __x) {x = __x;}
      int getX(){return 3;}
    }
  }

  AnotherClass.Inner someMethod(){
    AnotherClass anotherClass = new AnotherClass();
    return anotherClass.new Inner(4){
      @Override
      int getX(){ return 5;}
    };
  }

This test is similar to the test in the issue. Now again, Java compiler parses the invocation as having parameters <*nullchk*>anotherClass, 4. In this case while unboxing check, Nullaway#mayBeNullExpr is called on the <*nullchk*>anotherClass. Since we do not expect tree.getKind of the tree to be OTHER, this error is thrown. Here the class of the tree is class com.sun.tools.javac.tree.JCTree$JCUnary.  Basically <*nullchk*> is the unary operation on anotherClass.
@msridhar Why did we assume that AccessPathNullnessPropagation#visitNullChk is never called?

@shas19 thanks for tracking this down!  I don't know why we made that assumption.  I just had never seen that type of node before.  I'm not really sure what the node does, but my best guess is its nullability should be the same as the nullability of its child expression.  In other words, it should be treated exactly like a type cast.  So concretely, here is what we should do:

In AccessPathNullnessPropagation, have visitNullChk be exactly like visitTypeCast:

https://github.com/uber/NullAway/blob/f1307b06a1324b8b65d0fae269ff6c74d54b194d/nullaway/src/main/java/com/uber/nullaway/dataflow/AccessPathNullnessPropagation.java#L801-L807

In NullAway we have a routine stripParensAndCasts called at the beginning of mayBeNullExpr.  This routine should also strip away NullChk operators.

Does that make sense?

@guismart FYI the fix for this issue is in release 0.7.9.  Thanks for reporting!


Added traits for wrapping arithmetics.

Added Wrapping traits for the most common operations. Similar to the already present Checked traits.
It was quite strait-forward. I am unsure if the Handling of Shl / Shr is good. Their pattern is unfortunately a bit different than for the elementar mathematical operations by always taking u32 as the RHS argument.
I just copied the docs from the stdlib. Is this ok license-wise?
Closes #255

I am unsure if the Handling of Shl / Shr is good. Their pattern is unfortunately a bit different than for the elementar mathematical operations by always taking u32 as the RHS argument.

Yeah, it's weird that all the primitive types' wrapping_shr take u32, while they implement Shr<usize>, even on their Wrapping<T>.  :man_shrugging:  But as you already found, we can't add these anyway until we move beyond Rust 1.0.

I just copied the docs from the stdlib. Is this ok license-wise?

IANAL, but I think this is fine, as we use the same license.  Any reason to think it's not?

On the Travis CI failure, see #257.  If we end up bumping our effective Rust minimum, you may get access to those additional wrapping methods you wanted after all. :)
In the meantime, this looks good, but can you add some tests?  Doesn't have to be anything exhaustive, just something to exercise the traits a little, e.g. scenarios where they do and don't wrap around.

Thanks!
@homu r+

:pushpin: Commit 58b7da4 has been approved by cuviper

:hourglass: Testing commit 58b7da4 with merge a91bb41...

:broken_heart: Test failed - status


Error on Windows without shellslash

Environment: Windows 7 SP1 64-bit, VIM 7.4.589 64-bit
Related issues: #25, #52
Symptom: the following error shows up at VIM startup with vim-startify default settings (nothing other than Plugin 'mhinz/vim-startify' in my .vimrc):

Error detected while processing function startify#insane_in_the_membrane..<SNR>64_show_dir..<SNR>64_display_by_path..<SNR>64_filter_oldfiles:
line   20:
E867: (NFA) Unknown operator '\zh'

It seems the error is from the dir list while vim-startify is loading files from my %PROFILE% path: C:\Users\zhang. With shellslash set, the path becomes C:/Users/zhang and everything works fine. However, shellslash is a global option and some other plugins have difficulties with this option on.

This is a simple workaround but should do the trick.
Please try git pull && git checkout issue146.

I am sorry to report that the error persists after applying this fix... the only thing changed is the line number in the error information:

Error detected while processing function startify#insane_in_the_membrane..64_show_dir..64_display_by_path..64_filter_oldfiles:
line 25:
E867: (NFA) Unknown operator '\zh'

I confirm that my local autoload/startify.vim has been successfully patched and I have restarted my VIM after the patch.

I looked into the code and found that the problem is yielded by match() when a Windows-style (backslash) path is provided as the matching pattern. Simply changing autoload/startify.vim:423 (master branch) to
    if match(absolute_path, escape(a:path_prefix, '\'))

solves the problem.

What if the path_prefix contains . or other characters with special meaning? These should probably escaped too; or better: prefix the prefix with \V (very no magic) and escape only \.

You are right @Oberon00! I forgot that there are other regex metacharacters that are legal in a file name. Since we are simply performing literal substring search here, the following solution is more appropriate:
    if match(absolute_path, '\V' . escape(a:path_prefix, '\'))

I was actually thinking of verbatim matching, but not at escaping backslashes before that. Good idea!

I confirm that the new fix works on Windows both with and without shellslash. Thanks!
Sorry for my late report because I don't have a Windows environment for test on weekends.

Sorry for my late report because I don't have a Windows environment for test on weekends.

I don't have a Windows environment neither, thus I have to pester other people to try out patches for it.. :-)

I confirm that the new fix works on Windows both with and without shellslash. Thanks!

Thanks for reporting this!


support configurable stream-port to virtlet server instead of default 10010

What this PR does / why we need it:

virtlet server use default port 10010 conflicting with containerd server port 10010, so I strongly suggest that It shoud be a configurable flag, for example: "--stream-port"
I add argument “$*” in script start.sh to accept virtlet-ds.yaml parameter, which means we can use yaml filed like
"image: mirantis/virtlet
command:

/start.sh
--stream-port=xxx"
to set ourself streamPort.

Which issue(s) this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes #NONE
Special notes for your reviewer:
NONE
Release note:
NONE

This change is

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

When you are changing anything in virtletconfig.go you have to call later ./build/cmd.sh update-generated.

@jellonek ，what happened for my commiting, why did it have failures about deploying kubernetes-dashboard. can you give me a hand? very thanks.

Issue with dashboard looks like something connected with port forwarding. Will try to dig it out later today.

@jellonek I restarted jobs.

@volume-ji you need to rebase this PR on top of master, we have already fixed this issue with not accessible port.

OK, I get it

I have fetched and rebased  code a moment.


[Q]: How dose vehicle app connect to databroker in "velocitas_sdk"?

Question
I try to walk through the velocitas_sdk code to research that how to connect databroker by grpc, but I cannot find the code, could you show where the code which is used to connect databroker is?
In the other words, why dose the kuksa_client connect to databroker by websocket. not grpc?
Thanks a lot.

Also I have an other question, when this template can support VSS 4.x? Do you have any plans in the future? Because the latest databroker and kuksa.val have supported VSS 4.x.

Hi Liu,
the communication to the data broker is handled by the VehicleDataBrokerClient in velocitas_sdk/vdb/client.py.
The actual way how an app connects to a running data broker instance depends on the used middleware, which is configurable between native and Dapr`; Dapr is the default currently.
Dapr puts a sidecar aside each communication party which is responsible to handle all the connections and communication to all other parties. The app is then always just talking via the sidecar to other parties. Dapr-based components use the Dapr app id to determine the network address of other parties. In Python SDK the Dapr-related stuff can be found under velocitas_sdk/dapr.
But at the moment we are working to remove Dapr from Velocitas (see #232) and will only support native middleware for time being. Native middleware handling you'll find in velocitas_sdk/native. It doesn't offer any automated party discovery at the moment. All required comm party addresses needs being configured via environment variables at the moment, e.g. SDV_MQTT_ADDRESS for the address of the mqtt broker.
Support of VSS 4 is also "on the way", but will take some time. There is a ticket for that: https://github.com/eclipse-velocitas/vehicle-model-generator/issues/41
Hope that helps
Björn

Closing this receiving no further inquiry. Please re-open if needed


Add state/measurement models and RDE main class - PR4

This branch is rebased on https://github.com/isorrentino/bipedal-locomotion-framework/tree/RDE/PR3. I convert the PR to draft until https://github.com/ami-iit/bipedal-locomotion-framework/pull/743 is merged.

Hi @GiulioRomualdi and @S-Dafarra, the PR is now ready for review.

I see a memcheck error but if I run valgrind offline I do not see the error. See the output I have offline:
isorrentino@IITICUBLAP263:~/dev/robotology-superbuild/build/src/bipedal-locomotion-framework (master)$ valgrind ./bin/RobotDynamicsEstimationUnitTests
==22595== Memcheck, a memory error detector
==22595== Copyright (C) 2002-2017, and GNU GPL'd, by Julian Seward et al.
==22595== Using Valgrind-3.18.1 and LibVEX; rerun with -h for copyright info
==22595== Command: ./bin/RobotDynamicsEstimationUnitTests
==22595==
Randomness seeded to: 645987130
[2023-11-07 17:47:08.240] [thread: 22595] [blf] [info] Unpacking data...
[2023-11-07 17:47:08.302] [thread: 22595] [blf] [info] Size of s: 500x4
[2023-11-07 17:47:08.306] [thread: 22595] [blf] [info] Size of ds: 500x4
[2023-11-07 17:47:08.309] [thread: 22595] [blf] [info] Size of dds: 500x4
[2023-11-07 17:47:08.311] [thread: 22595] [blf] [info] Size of im: 500x4
[2023-11-07 17:47:08.313] [thread: 22595] [blf] [info] Size of expected_tauj: 500x4
[2023-11-07 17:47:08.315] [thread: 22595] [blf] [info] Size of expected_taum: 500x4
[2023-11-07 17:47:08.318] [thread: 22595] [blf] [info] Size of expected_tauF: 500x4
[2023-11-07 17:47:08.339] [thread: 22595] [blf] [info] Size of fts[ft_1]: 500x6
[2023-11-07 17:47:08.342] [thread: 22595] [blf] [info] Size of fts[ft_2]: 500x6
[2023-11-07 17:47:08.346] [thread: 22595] [blf] [info] Size of accs[ft_1_acc]: 500x3
[2023-11-07 17:47:08.347] [thread: 22595] [blf] [info] Size of accs[ft_2_acc]: 500x3
[2023-11-07 17:47:08.351] [thread: 22595] [blf] [info] Size of gyros[ft_1_gyro]: 500x3
[2023-11-07 17:47:08.352] [thread: 22595] [blf] [info] Size of gyros[ft_2_gyro]: 500x3
[2023-11-07 17:47:08.430] [thread: 22595] [blf] [info] Starting estimation...
===============================================================================
All tests passed (4018 assertions in 1 test case)

==22595==
==22595== HEAP SUMMARY:
==22595==     in use at exit: 51,292 bytes in 263 blocks
==22595==   total heap usage: 1,275,387 allocs, 1,275,124 frees, 445,230,829 bytes allocated
==22595==
==22595== LEAK SUMMARY:
==22595==    definitely lost: 0 bytes in 0 blocks
==22595==    indirectly lost: 0 bytes in 0 blocks
==22595==      possibly lost: 0 bytes in 0 blocks
==22595==    still reachable: 49,276 bytes in 242 blocks
==22595==         suppressed: 0 bytes in 0 blocks
==22595== Rerun with --leak-check=full to see details of leaked memory
==22595==
==22595== For lists of detected and suppressed errors, rerun with: -s
==22595== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)

The code is compiled in Debug mode on my laptop.
cc @GiulioRomualdi

The error was about the time. The test was taking too long. I reduced the number of samples.


stereo grabbing code (works with ptgrey bumblebee)

hm, that is interesting if you cannot check if roi is supported, according to this list it definitely is not supported.
http://damien.douxchamps.net/ieee1394/cameras/
The flag should work, bit ghetto but does the trick.
Actually if that roi command is uncommented, it still works, but I get the error below:
libdc1394 error: Format_7 Error_flag_1 is set: in _dc1394_v130_handshake (format7.c, line 122): invalid image position, size, color coding or ISO speed
libdc1394 error: Format_7 Error_flag_1 is set: in dc1394_format7_set_roi (format7.c, line 803): Handshaking failed after setting color_coding
I'm using libdc cos I want to use it on mac, and I'm using opencv for the stereo solving. Remember the code I sent you a few years ago? I've cleaned that up. I'm curious to see the performance difference between that and triclops.


Can't open notebook editor on remote-ssh

Bug: Notebook Editor, Interactive Window, Editor cells

Steps to cause the bug to occur
On remote-ssh

Open any .ipynb file on remote-ssh.
execute "Create new blank jupyter notebook"
execute "Switch to insiders daily channel".

Actual behavior

"Cannot open resource with notebook editor type 'jupyter-notebook', please check if you have the right extension installed or enabled."
"Command 'Python: Create New Blank Jupyter Notebook' resulted in an error (command 'python.datascience.createnewnotebook' not found)"
"Command 'Python: Switch to Insiders Daily Channel' resulted in an error (command 'python.switchToDailyChannel' not found)"

Expected behavior
Open the notebook with new ui like what I can do on the local.

Your Jupyter and/or Python environment
Please provide as much info as you readily know

Jupyter server running: Remote
Extension version: 2020.10.113101-dev
VS Code version: 1.49.3
Setting python.jediEnabled: ?
Setting python.languageServer: pylance
Python and/or Anaconda version: 3.7
OS: Linux (Ubuntu 20):
Virtual environment: conda

Microsoft Data Science for VS Code Engineering Team: @rchiodo, @IanMatthewHuff, @DavidKutu, @DonJayamanne, @greazer, @joyceerhl

Thanks for reporting this issue however Native Notebooks is only supported in insiders version of VS Code

@DonJayamanne
I am using vscode insider, is that mean there is no insider version for remote ssh ?

I am using vscode insider

When i saw VS Code version: 1.49.3, I assumed u werent on insiders.
Please could you update to the latest Insider version.
Let me know how that goes
Also you seem to be getting some errors that are unrelated to native notebooks.
I'm referring to command .... not found.

@DonJayamanne
I did the following things ...

update to 1.51.0-insider
update python on remote-ssh to 2020.10.298473528-dev
open any .ipynb
still the same "Cannot open resource with notebook editor type 'jupyter-notebook', please check if you have the right extension installed or enabled."
execute "select interpreter", and it only show python environment on local.
while I am hesitating, it choose the previously used remote python environment for me. and load ipynb in new ui.
Restart vscode and open notebook again, this time it load it correctly and automatically w/o any problem.

Maybe the problem is I need to manually start the python extension after the update of vscode or python extension ? I don't know. But I am happy now.


please check whether the model file is complete or damaged.??

paddle2onnx --model_dir C:\Users\baidu\inference_model\  --save_file C:\Users\baidu\inference_model_ok --opset_version 11 --enable_onnx_checker True
C:\Users\baidu\inference_model\    文件夹
model
params
model.yml
提示报错  我的模型下面也没这文件
UnavailableError: Load operator fail to open file C:\Users\baidu\inference_model\bn4c_branch2c_scale, please check whether the model file is complete or damaged.
[Hint: Expected static_cast(fin) == true, but received static_cast(fin):0 != true:1.] (at D:\v2.0.1\paddle\paddle/fluid/operators/load_op.h:41)
目标检测模型 FasterRCNN

命令改为
paddle2onnx --model_dir C:\Users\baidu\inference_model\ --model_filename model --params_filename params --save_file C:\Users\baidu\inference_model_ok --opset_version 11 --enable_onnx_checker True

The behavior of expression A - B has been unified with elementwise_sub(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_sub(X, Y, axis=0) instead of A - B. This transitional warning will be dropped in the future.
op_type, op_type, EXPRESSION_MAP[method_name]))
d:\anaconda3\envs\pyqt5\lib\site-packages\paddle\fluid\layers\math_op_patch.py:298: UserWarning: d:\anaconda3\envs\pyqt5\lib\site-packages\paddle2onnx\op_mapper\custom_paddle_op\generate_proposals.py:42
The behavior of expression A / B has been unified with elementwise_div(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_div(X, Y, axis=0) instead of A / B. This transitional warning will be dropped in the future.
op_type, op_type, EXPRESSION_MAP[method_name]))
Traceback (most recent call last):
File "d:\anaconda3\envs\pyqt5\lib\site-packages\paddle2onnx\op_mapper\op_mapper.py", line 102, in mapping
graph.opset_version)
File "d:\anaconda3\envs\pyqt5\lib\site-packages\paddle2onnx\op_mapper\op_mapper.py", line 162, in check_support_status
raise NotImplementedError(error_info)
NotImplementedError:
There's 2 ops are not supported in opset version 11, please try opset version >= 12.
=========== greater_equal ===========
=========== less_equal ===========
During handling of the above exception, another exception occurred:
....
Exception: Error happened when mapping node ['generate_proposals_0'] to onnx, which op_type is 'generate_proposals' with inputs: {'Anchors': ['anchor_generator_0.tmp_0'], 'BboxDeltas': ['rpn_bbox_pred_fpn2.tmp_1'], 'ImInfo': ['im_info'], 'Scores': ['rpn_cls_prob_fpn2.tmp_0'], 'Variances': ['anchor_generator_0.tmp_1']} and outputs: {'RpnRoiProbs': ['generate_proposals_0.tmp_1'], 'RpnRois': ['generate_proposals_0.tmp_0'], 'RpnRoisLod': ['generate_proposals_0.tmp_2']}, specific error:
There's 2 ops are not supported in opset version 11, please try opset version >= 12.
=========== greater_equal ===========
=========== less_equal ===========

按照提示  我改为 12 之后
The behavior of expression A / B has been unified with elementwise_div(X, Y, axis=-1) from Paddle 2.0. If your code works well in the older versions but crashes in this version, try to use elementwise_div(X, Y, axis=0) instead of A / B. This transitional warning will be dropped in the future.
op_type, op_type, EXPRESSION_MAP[method_name]))
2021-04-11 10:19:22 [WARNING]   Operator:multiclass_nms only supports input[batch_size] == 1.
2021-04-11 10:19:23 [WARNING]   Operator:multiclass_nms only supports input[batch_size] == 1.
2021-04-11 10:19:23 [WARNING]   Operator:multiclass_nms only supports input[batch_size] == 1.
2021-04-11 10:19:23 [WARNING]   Operator:multiclass_nms only supports input[batch_size] == 1.
2021-04-11 10:19:23 [WARNING]   Operator:multiclass_nms only supports input[batch_size] == 1.
2021-04-11 10:19:23 [WARNING]   Operator:multiclass_nms only supports input[batch_size] == 1.
2021-04-11 10:19:25 [INFO]      ONNX model genarated is valid.
Traceback (most recent call last):
File "d:\anaconda3\envs\pyqt5\lib\runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "d:\anaconda3\envs\pyqt5\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "D:\anaconda3\envs\pyqt5\Scripts\paddle2onnx.exe_main.py", line 7, in
File "d:\anaconda3\envs\pyqt5\lib\site-packages\paddle2onnx\command.py", line 142, in main
enable_onnx_checker=args.enable_onnx_checker)
File "d:\anaconda3\envs\pyqt5\lib\site-packages\paddle2onnx\command.py", line 114, in program2onnx
enable_onnx_checker=enable_onnx_checker)
File "d:\anaconda3\envs\pyqt5\lib\site-packages\paddle2onnx\convert.py", line 77, in program2onnx
export_onnx(paddle_graph, save_file, opset_version, enable_onnx_checker)
File "d:\anaconda3\envs\pyqt5\lib\site-packages\paddle2onnx\convert.py", line 40, in export_onnx
with open(save_file, 'wb') as f:
PermissionError: [Errno 13] Permission denied: 'C:\Users\baidu\inference_model_ok'

嗯，这是因为你没有文写写的权限，你的命令行终端在启动时，选择使用管理员权限


Separate repo into test and publishable packages.

To let other people use Bluefish, we need to separate the test React app from the package stuff. We did this with the previous Bluefish version so it shouldn't be too bad.
Once we do this, though, major modifications will require bumping the version number of republishing.
The benefit is that other people (e.g. Geoffrey) can use it in their own projects.

done


Get rid of hard coded source address when creating/importing wallet

Closed by https://github.com/ChluNetwork/chlu-demo/commit/8e8a63e855b13b3599a601e5f4ecc81eabb0298b


Support for Target based scaling

This PR implements Target based scaling API enables function instances to scale to a particular target number of workers.
Impact:

Provides smoother scaling of workers and thereby minimal lag experience, improved performance.
Provide flexibility for the user to indirectly affect the number of workers through function attribute.

Overall changes made:

Implemented interface required for Target Scaling. (check TargetScaler.cs)
Created a new class to retrieve metrics from.
Improved logic to get TotalLag to include a hybrid approach to get Offsets to improve performance.
Edited Listener to reflect the addition of Target Scaler API.
Added Unit Tests for Target Scaler.
Changed Unit Tests for Topic Scaler (i.e. Topic Scaler + Metrics Provider).
Added new Unit Tests for Metrics Provider.

Testing:

Passes all unit tests written for Target Scaler.
Passes all the existing unit tests written for Topic Scaler.
Passes additional unit tests written for KafkaMetricsProvider along with the existing tests (moved from Topic Scaler).

Two page document for reviewing: TBS Kafka

Did you test the change manually - new "Kafka extension" + runtime driven scale?

Did you test the change manually - new "Kafka extension" + runtime driven scale?

Yes, we have locally tested a sample function with runtime driven scaling. API calls to /admin/host/scale/status through Postman return expected results.

/azp run


Remove redundant code

Remove redundant code.

Codecov Report

Merging #4885 into master will decrease coverage by 0.16%.
The diff coverage is 66.66%.

@@             Coverage Diff              @@
##             master    #4885      +/-   ##
============================================
- Coverage     63.99%   63.83%   -0.17%
+ Complexity      451      448       -3
============================================
  Files           769      769
  Lines         33161    33125      -36
  Branches       5230     5204      -26
============================================
- Hits          21221    21144      -77
- Misses         9522     9561      +39
- Partials       2418     2420       +2

Impacted Files
Coverage Δ
Complexity Δ

...bo/rpc/protocol/dubbo/telnet/LogTelnetHandler.java
69.69% <ø> (-1.74%)
0 <0> (ø)

...dubbo/rpc/protocol/dubbo/CallbackServiceCodec.java
83.45% <100%> (+2.57%)
0 <0> (ø)
:arrow_down:

...ubbo/rpc/protocol/nativethrift/ThriftProtocol.java
71.79% <50%> (-0.71%)
8 <0> (ø)

...ache/dubbo/remoting/transport/AbstractChannel.java
37.5% <0%> (-50%)
0% <0%> (ø)

...g/apache/dubbo/rpc/protocol/http/HttpProtocol.java
46.03% <0%> (-21.83%)
6% <0%> (-5%)

...che/dubbo/remoting/transport/mina/MinaChannel.java
43.42% <0%> (-10.53%)
16% <0%> (-1%)

.../remoting/transport/netty4/NettyServerHandler.java
61.9% <0%> (-9.53%)
0% <0%> (ø)

.../apache/dubbo/remoting/transport/AbstractPeer.java
58.69% <0%> (-8.7%)
0% <0%> (ø)

...mmon/threadpool/support/fixed/FixedThreadPool.java
80% <0%> (-7.5%)
0% <0%> (ø)

...ng/transport/dispatcher/all/AllChannelHandler.java
51.42% <0%> (-5.72%)
0% <0%> (ø)

... and 40 more

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 a025cc1...d3e7b3b. Read the comment docs.


[ci][docker] Always build cmake from source

This should fix some version drift in the current cmake versions in the
Docker containers (currently running all of 3.10, 3.16, 3.18, and 3.20)
cc @Mousius @areusch @gigiblender

discussed offline, and one benefit to this method is uniform cmake version. my prototype does have the disadvantage of installing different cmake versions on different platforms; that might be more interesting if they were also the default version of cmake installed via apt-get, but since we're using the ppa, we don't gain too much from this difference.


Sensor or listener is null

I get this error, also from your example app "motion sample.apk".
I'm on Moto G with 5.02 Lollipop.

Same for me


Feature/insights contact merge

Updates to Contact Merge functionality are done to display two buttons on the Contact Merge page. First button 'Search By Contacts' will redirect to the existing contact merge functionality. The second button 'Show Duplicate Record Sets' will redirect to list of DRSs related to contact duplicate rules. This second page includes pagination to handle large number of DRS records. The 'Duplicate Record Set Name', 'Duplicate Rule' and 'First Contact Name' columns of the DRS list contains the links to the detail page of the respective records

@ptewson-sfdo  The final updates to the DRS contact merge functionality are done and ready to review

@espl-ishita - I'm just starting formal review on this, but I noticed right away that the automated builds are failing (message below). Does your team have fixes in the works?
Could not process MDAPI response: Update of ApexPage DRS_ContactMerge: Error: Required field is missing: label
Update of ApexClass CON_ContactMerge_CTRL: Error on line 834, col 86: External string does not exist: conMergeErrorNoDRSFound
Update of ApexClass CON_ContactMerge_TEST: Error on line 834, col 86: Dependent class is invalid and needs recompilation:
Class CON_ContactMerge_CTRL : External string does not exist: conMergeErrorNoDRSFound
Update of ApexClass CON_ContactMerge_TEST2: Error on line 834, col 86: Dependent class is invalid and needs recompilation:
Class CON_ContactMerge_TEST : Dependent class is invalid and needs recompilation:
Class CON_ContactMerge_CTRL : External string does not exist: conMergeErrorNoDRSFound
Update of ApexPage CON_ContactMerge: Error: Apex class 'CON_ContactMerge_CTRL' does not exist

@ptewson-sfdo   I have updated the related classes and pages as per your comments. I have uploaded the respective meta.xml files. Custom labels have been added to the CustomLabels.label and package.xml files.

@espl-ishita It looks like the automated builds are still failing - "Update of ApexPage DRS_ContactMerge: Error: Required field is missing: label". Do you have visibility to those checks and the log files that display the errors?

@ptewson-sfdo The final updates to the DRS contact merge functionality are done and ready to review

Just FYI these updates aren't final - once I can functionally test this out there will be additional review, but first we have to get this in a state where it will deploy and the automated builds pass!

@ptewson-sfdo I have uploaded 2 more files inorder to solve the automatic build issues. Please have a look

@ptewson-sfdo  I have updated the classes as per code review comments. Two of the automatic builds are failing with the error 'Build Exception: ApexTestException'. But the tests which are causing these automatic builds to fail does not seem to be related to the updates we made in the CON_ContactMerge_CTRL class. Please have a look and let us know if you have any concerns

As discussed with Ali/Mike on today's(4/9/2020) call, we have updated the code to hide the 'Search Contacts' and 'See Duplicate Contact' buttons when the CON_ContactMerge page is opened from the 'Contact Merge' list button. Along with this we have added the 'Tell me more' link provided by Mike in the Custom Label
We have also cleared the the fieldRows and selectedRecords lists at the beginning of loadMergeCandidates method in the CON_ContactMerge_CTRL class so that every time only the latest selected contact to be merged will be displayed on the contact compare page.
@ptewson-sfdo  Please have a look.


bfix(markdown)!: fix inline html parsing

Fixes #196
Describe the changes you have made in this PR -
Inline HTML Elements between backticks (`) are not parsed. So, I have split the content between ` and if there exist HTML elements in between them then omitted the `.

Screenshots of the changes (If any) -

Note: Please check Allow edits from maintainers. if you would like us to assist in the PR.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

10 of 11 (90.91%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.02%) to 70.735%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

lib/services/ib_engine_service.dart
10
11
90.91%

Totals

Change from base Build<PHONE_NUMBER>:
0.02%

Covered Lines:
3918

Relevant Lines:
5539

💛  - Coveralls

Good effort @aman-singh7, I will review it soon.

@manjotsidhu I will work on the fork of flutter_markdown in CircuitVerse (i.e CircuitVerse/packages) and try to it include it there. :+1:

@manjotsidhu Ok, I will work on the fork of flutter_markdown in CircuitVerse (i.e CircuitVerse/packages) and try to it include it there. +1

Ok, it's upto you. Other way (can be the best way) can also be to introduce custom builder which will build the blockquote in our way.

Ok cool, I will implement this way :+1:

@manjotsidhu The custom builder has been implemented.


Fixed some minor copy-paste mistakes in README.md

Thank you for your helpful Docker images!
I came across a few mistakes that are probably due to copy-pasting and I took the liberty of submitting a PR. I hope that's okay.
Let me know if you'd like to make any changes :)

Thanks!


Unable to follow instructions and get things to work

Thanks for this project. I had some difficulty getting started.
eric@Erics-MBP-M1 accelerate-lapacke % cmake --build --preset accelerate-lapacke64 --verbose
Error: /Users/eric/workspace/accelerate-lapacke/build/64 is not a directory
eric@Erics-MBP-M1 accelerate-lapacke % cmake --build --preset accelerate-lapacke32 --verbose
Error: /Users/eric/workspace/accelerate-lapacke/build/32 is not a directory

Once I create the directories I get the following:
eric@Erics-MBP-M1 accelerate-lapacke % cmake --build --preset accelerate-lapacke64 --verbose
Error: could not load cache

I tried the following found on SOF:
cmake -S . -B ./build

Then this seemed to help.
cmake -S . -B ./build/64

Then when I tried to build it worked. I don't know much about cmake so maybe this is obvious to others or just omitted from the instructions.
Next I tried to install and got the following which I guess would require sudo:
Install the project...
/opt/homebrew/Cellar/cmake/3.29.6/bin/cmake -P cmake_install.cmake
-- Install configuration: "Release"
CMake Error at _deps/reference-lapack-build/cmake_install.cmake:41 (file):
  file cannot create directory: /usr/local/lib/pkgconfig.  Maybe need
  administrative privileges.
Call Stack (most recent call first):
  src/cmake_install.cmake:42 (include)
  cmake_install.cmake:42 (include)

make: *** [install] Error 1

I tried linking with -L/path/to/lib where they were built since I didn't want it to go into /usr/local/lib and got the following:
dyld[25695]: Library not loaded: @rpath/liblapacke.3.dylib
  Referenced from: <E2DB11F5-DEE4-37C2-ADDE-58982620D083> /Users/eric/workspace/slapack/slapack/target/scala-3.3.3/slapack-test
  Reason: tried: '/usr/local/lib/liblapacke.3.dylib' (no such file), '/usr/lib/liblapacke.3.dylib' (no such file, not in dyld cache)

Next I tried this maybe to help with the @rpath issue.
cmake -S . -B ./build -D "CMAKE_PREFIX_PATH=~/.local"

I again tried install with no luck - was thinking that maybe the libs would go in ~/.local but not sure.
Sorry, if I don't know a ton about this but thought it might be helpful to share my experience - this seems like this is an extremely useful project. Too bad Apple doesn't just do this for us. Not being cross platform at least with LAPACKE is not great and using LAPACKE is much nicer than LAPACK.

Some configuration info.
OS 13.6.7
XCode 14.2
% cc --version
Apple clang version 14.0.3 (clang-14<IP_ADDRESS>.1)
Target: arm64-apple-darwin22.6.0
Thread model: posix
InstalledDir: /Library/Developer/CommandLineTools/usr/bin

For context I am trying to create bindings for LAPACK that are cross platform. I would prefer the LAPACKE interfaces thus why I am here.
This is for Scala Native. https://github.com/scala-native/scala-native
I created simple bindings for CBLAS that can be found here for reference. https://github.com/ekrich/sblas

I did the install using sudo which put the library in /usr/local/lib and then my project worked. Note that the install also put cmake and pkgconfig directories into the lib dir. Doesn't seem like it should do that.

Thanks, this is a great project. Initially I did skip the first step and jumped right to the build. I was able to make the library work by installing into /usr/local. In the mean time I have messed things up and been unable to duplicate my success.
I ended up running the first step. Had to install some dependency via brew which I didn't write down. Sorry, I am a bit scattered. I will run through the process again to repeat a working config. If I don't find any gotchas I'll go ahead and close this issue.
Thanks again for getting back to me and clarifying. Would be great is Apple would include this so everyone can use it. lapacke is a nice interface from C compared to using lapack directly.

Please note, that I just updated this project to handle the new MacOS SDK 15 coming with XCode 16 and MacOS 15 Sequoia.


Install and configure x-pack

Hey, this is not a real issue but I spent time to install and configure x-pack plugin. If you are interested I can make a PR to add this into the documentation.
Here is my doc:
Configure X-Pack
Official documentation
Into elasticsearch/Dockerfile, install xpack plugin:
RUN elasticsearch-plugin install x-pack

Into kibana/Dockerfile, install xpack plugin:
RUN kibana-plugin install x-pack

Rebuild your stack:
docker-compose up -d --build

Generate passwords:
docker exec -it elk_elasticsearch_1 bin/x-pack/setup-passwords auto

Initiating the setup of reserved user elastic,kibana,logstash_system passwords.
The passwords will be randomly generated and printed to the console.
Please confirm that you would like to continue [y/N]y

Changed password for user kibana
PASSWORD kibana = #j*LO*V$W+!oPFO^~tgw

Changed password for user logstash_system
PASSWORD logstash_system = HNn8Vi3g9i_#A9c=sX%~

Changed password for user elastic
PASSWORD elastic = lOHjUOb6TOGTJODRNdMg

Add credentials to kibana/config/kibana.yml:
elasticsearch.username: "kibana"
elasticsearch.password:  "<pwd>"

Restart Stack:
docker-compose restart

Login with elastic user at http://localhost:5601
Create a new User for logstash pipeline
logstash_gelf
nvR9fKYKb2\yiQze5

Create a role and assign the index and all permissions

Configure your pipeline
output {
	elasticsearch {
		hosts => "elasticsearch:9200"
        index => "app-%{+YYYY.MM.dd}"
        user => logstash_gelf
        password => "nvR9fKYKb2\yiQze5"
	}
}

Restart Stack to reload the configuration:
    docker-compose restart

Let me know ;)

Hi @Nightbr, we do maintain a branch with X-Pack already (see README).

Thanks for the proposal anyway. I'm gonna go ahead and close this, but feel free to reopen the issue if you have suggestions about improving the X-Pack flavour!

@antoineco I've been playing with your x-pack branch for a couple of days now but I'm having issues with trying to change the passwords.
I've tried updating the configs with new passwords, and that works great until a password is entered incorrectly and the stack falls over with an authentication error. Is there a different method for updating the passwords? Nothing is really explained in the README.
Many thanks,

@liamptk I was not aware of this lockout, but the process for chamging built-in user passwords is described here:
X-Pack for the Elastic Stack [6.0] » Securing Elasticsearch and Kibana » Getting Started with Security


RotatedFileLogger crashes if fails to create log

Godot version
4.0.rc + libgodot
System information
Windows 10
Issue description
RotatedFileLogger calls FileAccess::open and then immediately calls detach_from_objectdb on it without checking for nullptr.

This particular instance occurred in developing libgodot which does not configure a writeable home directory correctly.
However, given that rotating logfiles are enabled by default on templates on PC, and end users may have varied configurations and home directory permissions (especially given that the Roaming folder is currently used on Windows for logfiles), this case could conceivably happen in the wild so it may be worth handling this case or presenting an error message to the user.
It's probably pretty rare, and godot assumes the home directory is writeable, otherwise shader_cache won't work, but it would be good not to crash.
Steps to reproduce

Set Godot to enable file logging on pc (default).
Ensure its home directory's logs folder is not writable
Run the app (we used a debug template)

Minimal reproduction project
We believe it happens even in a default project, since file logging is true by default on pc.

Can you still reproduce this in 4.0.3 and 4.1-beta3 or later?

Closing due to lack of response, if you provide the requested information this can be reopened


Overhaul release reference and upgrade reference

This PR does a few things to the two pages (A) Upgrade reference and (B) Releases reference:

Move content that is only about releases from the upgrade reference to the release reference
Add ETA info for v13.x.x (November) and v14.x.x (December)
Add information about skipping releases to the upgrade reference
Add information about release lifecycle (deprecation, archiving) to the release reference

Thanks in advance for reviewing!

Adding @giantswarm/sig-docs to the reviewers list


append an "s" to duplicate operationIds

There are some duplicate operationIds:

domainAuthinfo2Create
domainBuy
domainCancelationDelete
zonePatch

It has to be unique among the api documentation: https://swagger.io/docs/specification/paths-and-operations/ (scroll down a bit).
This results in duplicate function implementations when generating a client from the swagger file.  It seems as if these are some new bulk functions - not sure?! I fixed these by appending an "s" to be consistent to other places (even if I think that this is not that beautiful).

Hi Patrick.
Thank you for your pull request. We will check  this issue and come back to you as soon as possible.
Regards.
Frederik

Hello @patrickhilker ,
Thanks for the pull request.
Unfortunately we generate the Swagger file on our site automatically and upload it to github, so we have to change it on our site as well.
We will have it fixed early next week. Background is that the "Bulk" routes are named exactly like the normal routes. Therefore there are double OperationIds. For the newly added bulk routes, the OperationId is now adjusted.
Regards

Hello, this issue was closed 22 days ago, are there any updates on this? I would be more than happy to generate a new client! :-)

Hello @patrickhilker ,
the update will probably be installed next week. Over the holidays we did not roll out an update of our API, that's why the Swagger file is not yet updated.
Regards

We are generating a TypeScript client from the swagger file.


Diff appears to wrongly show removal of some entities

I have a group template for Okta like so
template_type: NOQ::Okta::Group
idp_name: noq-dev
properties:
  name: greg-test-group
  group_id: XYZ
  members:
    - username<EMAIL_ADDRESS>    - username<EMAIL_ADDRESS>
This currently corresponds to the membership of the group in Okta.
I am now going to add to it a new user (keeping the others as is):
- username: greg2.noq.dev

And run iambic apply. I see the following:
Attach
└── /Users/greg/git/iambic-templates-greg-orig/resources/okta/group/noq-dev/greg-test-group.yaml
    └── noq-dev
        └── okta:group // 00gdglbcs4CiEbMsU4x7
            └── users:
                -(From)
<EMAIL_ADDRESS>                +(To)
<EMAIL_ADDRESS>                -(Remove)
                [
<EMAIL_ADDRESS>                ]

The emails in the "Remove" section have not actually been removed from the template, and are not removed when the actual action proceeds. Looks like just the diff is wrong as displayed.

This is also addressed by the change in https://github.com/noqdev/iambic/pull/548