How to go with Anaconda3?

I have an Anaconda3 installation of python, and use a base environment.
When I use g++ testc.cpp -std=c++11 -I/usr/include/python3.6 -lpython3, I got error
n file included from testc.cpp:3:0:
matplotlibcpp.h:18:12: fatal error: numpy/arrayobject.h: No such file or directory
 #  include <numpy/arrayobject.h>
            ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.

It seems that my include files of numpy is in
/home/user1/anaconda3/lib/python3.7/site-packages/numpy/core/include/numpy/
while I can not locate Python.h either.
How do I compile it?

How was this solved?  Also having the same issue.

Same error how to solve it?

I have the same issue. Is there any solution

In your script should :
#include "/home/.../matplotlib-cpp-master/matplotlibcpp.h"
and make executable :
$ g++ guassian.cpp -I/usr/include/python2.7  -lpython2.7  -o guassian
and Run:
$ ./guassian

Are you running linux or windows？


Smart dimmer Switch

Smart Dimmer Switch, WiFi Dimmer Light Switch
This device does not appear as an entity, while it was working in tuya v1 (although only as a switch, not actually as a dimmer.

Brand: Moko
Model: https://www.amazon.nl/gp/product/B08L37M5Y6/ref=ppx_yo_dt_b_asin_title_o05_s00?ie=UTF8&psc=1

Device info
{
"active_time":<PHONE_NUMBER>,
"biz_type": 18,
"category": "tgkg",
"create_time":<PHONE_NUMBER>,
"icon": "smart/icon/bay15877086634937aF9/ba7d5485be442e99add786dcdc0f2c98.jpg",
"id": "bfddc7448369c3ef0btdks",
"ip": "",
"lat": "",
"local_key": "",
"lon": "",
"model": "Bsc-ds-1",
"name": "Light living room",
"online": true,
"owner_id": "29448985",
"product_id": "blg23kzmuce4xd6b",
"product_name": "",
"status": [
{
"code": "switch_led_1",
"value": false
},
{
"code": "bright_value_1",
"value": 703
},
{
"code": "brightness_min_1",
"value": 10
},
{
"code": "led_type_1",
"value": "led"
},
{
"code": "work_mode",
"value": "light_white"
},
{
"code": "light_mode",
"value": "pos"
}
],
"sub": false,
"time_zone": "+02:00",
"uid": "***",
"update_time":<PHONE_NUMBER>,
"uuid": "0b672d46fa9c07a4"
}
**Device specifications **
2021-09-04 10:23:20 DEBUG (SyncWorker_1) [tuya iot] Request: method = GET, url = https://openapi.tuyaeu.com/v1.0/devices/bfddc7448369c3ef0btdks/specifications, params = None, body = None, t =<PHONE_NUMBER>337
2021-09-04 10:23:20 DEBUG (SyncWorker_1) [tuya iot] Response: {
"result": {
"category": "tgkg",
"functions": [
{
"code": "switch_led_1",
"type": "Boolean",
"values": "{}"
},
{
"code": "bright_value_1",
"type": "Integer",
"values": "{"min":10,"max":1000,"scale":0,"step":1}"
},
{
"code": "brightness_min_1",
"type": "Integer",
"values": "{"min":10,"max":1000,"scale":0,"step":1}"
},
{
"code": "led_type_1",
"type": "Enum",
"values": "{"range":["led","incandescent","halogen"]}"
},
{
"code": "work_mode",
"type": "Enum",
"values": "{"range":["light_white"]}"
},
{
"code": "light_mode",
"type": "Enum",
"values": "{"range":["none","relay","pos"]}"
}
],
"status": [
{
"code": "switch_led_1",
"type": "Boolean",
"values": "{}"
},
{
"code": "bright_value_1",
"type": "Integer",
"values": "{"min":10,"max":1000,"scale":0,"step":1}"
},
{
"code": "brightness_min_1",
"type": "Integer",
"values": "{"min":10,"max":1000,"scale":0,"step":1}"
},
{
"code": "led_type_1",
"type": "Enum",
"values": "{"range":["led","incandescent","halogen"]}"
},
{
"code": "work_mode",
"type": "Enum",
"values": "{"range":["light_white"]}"
},
{
"code": "light_mode",
"type": "Enum",
"values": "{"range":["none","relay","pos"]}"
}
]
},
"success": true,
"t":<PHONE_NUMBER>383
}

same issue here

I found the issue on this. Seems a lot of the dimmers use different category codes and different function names.
Switch_value is a light
Switch_value_1 is a dimmer light value
So some of the code is incompatible. I was able to fix my feit dimmers to work. I can fix it for others if I know all the categories that are broken.

Can you provide me a pointer where I can find that info? In the debug info above it only mentions category tgkg.

Thanks for the issue and logs, I added a PR for it to be merged into the official Tuya V2 integration into home assistant
https://github.com/home-assistant/core/pull/57084/commits/3baeb2e80258de940b8ef0aeece6266cfc147229

Hi @jesse-schein
Could you please 🙏  have a look at my dimmer switch as well ? can't find them on tuya v2.
Thank you in advance
Product Name
NHZS-1路调光模块-105
Device ID
321728022462ab4deef4
Product Category
tgq
switch_led_1Boolean"{true,false}"
bright_value_1   Integer   { "min": 10, "max": 1000, "scale": 0, "step": 1 }
brightness_min_1  Integer  { "min": 10, "max": 1000, "scale": 0, "step": 1 }
led_type_1Enum{ "range": [ "incandescent", "halogen" ] }


Add motor efficient analysis module

I just add a motor efficient analysis module to this project ,which is not finish yet, but enough to use some of the ways. This module provides manual control and automatic control , samples can save to .CSV file for further analysis. A HX711 load cell sensor which connect to a Arduino has been used to collect thrust data.

Thank you for this contribution! This might really be a useful tool for bench testing.
However, while the code is undoubtedly useful, it does not seem to match the standards adopted in this project. If you looked at the diff you would see a lot of meaningless changes, such as added and removed empty lines, changed formatting, misleading copyright statements, and entities named in a way that does not adhere to PIP8.
It is questionable whether this feature would be at home within the UAVCAN GUI Tool since its specifics seem rather detached from UAVCAN. I suggest you extract your code into a separate application, which can be based on the UAVCAN GUI Tool, and host it in a dedicated repository. If you choose to do so, I urge you to avoid using my name in copyright statements provided with code I didn't write.
Thank you!


Some grammars cause the parser to enter an infinite loop

Some grammars can cause the parsing to reach an infinite loop. This probably has to do with Recurses not wanting to exit properly due to matching empty rules within them, or maybe something else involving how failure is handled.
Example:
use psi_parser::prelude::*;

fn main() {
    let rules = rules! {
        #[import (rules::Identifier)]

        start {
            (node)
        }

        node {
            (tag)
            (text)
        }

        // This is important! without this rule it won't hang!
        text {
            ()
            (text (! "<"))
        }

        tag {
            ("<" identifier ">" tag_inner "</" identifier ">")
            ("<" identifier ">" "</" identifier ">")
            ("<" identifier "/>")
        }

        tag_inner {
            (node)
            (tag_inner node)
        }
    };

    rules.parse_entire("start", "<c></c>").unwrap();
}

This seems to happen because text matches an empty string, therefore causing node_inner to succeed, and forever matching more and more empty text. Is this really a bug?
The following grammar works fine:
use psi_parser::prelude::*;

fn main() {
    let rules = rules! {
        #[import (rules::Identifier)]

        start {
            (node)
        }

        node {
            (tag)
            (text)
        }

        // Now text can't hang, it will only match 1 or more characters.
        text {
            ((! "<"))
            (text (! "<"))
        }

        tag {
            ("<" identifier ">" tag_inner "</" identifier ">")
            // and this was already here -- it matches empty text as no text
            ("<" identifier ">" "</" identifier ">")
            ("<" identifier "/>")
        }

        tag_inner {
            (node)
            (tag_inner node)
        }
    };

    rules.parse_entire("start", "<c></c>").unwrap();
}

Does allowing infinite recursion due to matching empty constitute a bug, or did I simply design the parser badly?


[DPTOOLS-2299] Separate Index creation step from Node publish

Summary of Changes
Separated Index creation step from node publish. Currently, index creation is done in the middle of node upsert enforcing publisher to commit the transaction. The change is to separate index creation step as a separate step and node publish step can have its own transaction.
This change would make publisher to have 2 passes against node file which turns out very negligible -- for 16k nodes, it just took less than 2 seconds.
Tests
Exiting unit test and performed integration test.
Documentation
What documentation did you add or modify and why? Add any relevant links then remove this line
CheckList
Make sure you have checked all steps below to ensure a timely review.

[x] PR title addresses the issue accurately and concisely. Example: "Updates the version of Flask to v1.0.2"

In case you are adding a dependency, check if the license complies with the ASF 3rd Party License Policy.

[x] PR includes a summary of changes.
[x] PR adds unit tests, updates existing unit tests, OR documents why no test additions or modifications are needed.
[x] In case of new functionality, my PR adds documentation that describes how to use it.

All the public functions and the classes in the PR contain docstrings that explain what it does

[x] PR passes make test
[x] I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message"

Codecov Report

Merging #56 into master will increase coverage by 0.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #56      +/-   ##
==========================================
+ Coverage   83.08%   83.12%   +0.03%
==========================================
  Files          50       50
  Lines        2306     2311       +5
  Branches      221      223       +2
==========================================
+ Hits         1916     1921       +5
  Misses        314      314
  Partials       76       76

Impacted Files
Coverage Δ

databuilder/publisher/neo4j_csv_publisher.py
86.12% <100%> (+0.41%)
:arrow_up:

Continue to review full report at Codecov.

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

What happens if the indices creation is succeed but fails at publish step? Do we need to rollback the indices creation step?

I think we don't need to rollback indices creation as we anyway need unique index on keys.


Immediates of Base 16 and 2

As a program user
I want to be able to declare immediates in different bases (e.g., hex, binary)
So that I can more easily represent values in different bases.
Request Description
Implement a way for immediates beginning with 0x to be interpreted as hexadecimal and immediates beginning with 0b to be interpreted as binary. A failure in base conversion (e.g., if a hex number has a P in it or a binary number has a 3) should be handled and thrown as a typical ParseError.

Duplicate of #29


[SPARK-45875][CORE] Remove MissingStageTableRowData from core module

What changes were proposed in this pull request?
SPARK-15591(https://github.com/apache/spark/pull/13708) introduced the MissingStageTableRowData, but it is no longer used after SPARK-20648(https://github.com/apache/spark/pull/19698), so this PR removes it.
Why are the changes needed?
Clean up unused code.
Does this PR introduce any user-facing change?
No
How was this patch tested?
Pass GitHub Actions
Was this patch authored or co-authored using generative AI tooling?
No

Thanks @dongjoon-hyun ~


cuelang.org: list of files presented in a code tabs element can't be scrolled

What page were you looking at?
https://cuelang.org/docs/concept/using-the-cue-export-command/inputs/#cue-package-file-inputs
What version of the site were you looking at?
https://github.com/cue-lang/cuelang.org/commit/b5ad2337b8206c753e57e85ba4a6ce80e6222a6c
What did you do?
I tried to scroll inside a code-tabs element, along the bar where the filenames are presented.
What did you expect?
That I'd be able to scroll the filename list to view the right-most filenames.
What did you see instead?
I couldn't scroll to the right either on desktop (ChromeOS v129.0.6668.80) or mobile (mobile Safari, iOS v17.7)

This is a bug: scroll functionality for this was added but seems broken. I guess something to do with the css overflow property.
estimate: 30 min


Hubble-relay not connecting to Retina-agents

Describe the bug
Hubble relay pod cannot connect to retina-agent pods when TLS is enabled.
To Reproduce
$ make quick-build
$ make quick-deploy-hubble
...
$  kg po -A | grep "hubble\|retina"
kube-system         hubble-generate-certs-28840090-82cz9                0/1     Completed   0               25m
kube-system         hubble-generate-certs-28840100-ppnhf                0/1     Completed   0               15m
kube-system         hubble-generate-certs-28840110-77cks                0/1     Completed   0               5m11s
kube-system         hubble-relay-67d669db97-jxjgl                       0/1     Running     34 (6m3s ago)   112m
kube-system         hubble-ui-b7b8c7d6-76msn                            2/2     Running     0               112m
kube-system         retina-agent-bxl22                                  1/1     Running     0               112m
kube-system         retina-agent-fqcqn                                  1/1     Running     0               112m
kube-system         retina-agent-zbr6m                                  1/1     Running     0               112m
kube-system         retina-operator-67c4c4676b-b2wp8                    1/1     Running     0               112m

Relay pod logs
level=info msg="Starting gRPC health server..." addr=":4222" subsys=hubble-relay
level=info msg="Starting gRPC server..." options="{peerTarget:hubble-peer.kube-system.svc.cluster.local:80 dialTimeout:5000000000 retryTimeout:30000000000 listenAddress::4245 healthListenAddress::4222 metricsListenAddress: log:0xc0002a0e70 serverTLSConfig:0xc0005a7fe0 insecureServer:false clientTLSConfig:0xc0005a7de8 clusterName:default insecureClient:false observerOptions:[0x1f02b40 0x1f02c20] grpcMetrics:<nil> grpcUnaryInterceptors:] grpcStreamInterceptors:]}" subsys=hubble-relay
level=warning msg="Failed to create peer client for peers synchronization; will try again after the timeout has expired" error="context deadline exceeded" subsys=hubble-relay target="hubble-peer.kube-system.svc.cluster.local:80"
level=warning msg="Failed to create peer client for peers synchronization; will try again after the timeout has expired" error="context deadline exceeded" subsys=hubble-relay target="hubble-peer.kube-system.svc.cluster.local:80"
level=info msg="Stopping server..." subsys=hubble-relay
level=info msg="Server stopped" subsys=hubble-relay
Stream closed EOF for kube-system/hubble-relay-67d669db97-jxjgl (hubble-relay)

Expected behavior
Hubble relay pod should be running.
Screenshots
If applicable, add screenshots to help explain your problem.
Platform (please complete the following information):

OS: Linux
Kubernetes Version: 1.29.9
Host: AKS
Retina Version: https://github.com/microsoft/retina/commit/303a70bb4145de714711bc9c46f42196c92dd292

There are some differences that I see comparing retina's and cilium's hubble-relay's probes configuration:

cilium's probes are set to port 4222. Retina's are set to .Values.hubble.relay.listenPort;
cilium's probes have different configuration values (timeout, period, failureThreshold);
cilium's probes use grpc.port only. Retina's uses include "hubble-relay.probe": https://github.com/microsoft/retina/blob/303a70bb4145de714711bc9c46f42196c92dd292/deploy/hubble/manifests/controller/helm/retina/templates/hubble-relay/deployment.yaml#L94
https://github.com/microsoft/retina/blob/303a70bb4145de714711bc9c46f42196c92dd292/deploy/hubble/manifests/controller/helm/retina/templates/hubble-relay/deployment.yaml#L193-L214
which uses command instead when TLS is disabled.

I hope this helps.

This was caused by 0dc47e0 , introduced by #765 . Revert PR incoming to fix this.

Some more notes on the process here for posterity:
So this morning I looked at the protos for the peer service, and saw they haven't been touched in two years, so I figured it wasn't an upstream change that did this. So knowing that, I figured git bisect would probably be effective, so I just marked HEAD of origin/main bad, then checked out a random commit from 6 months ago, marked it good, then let bisect drive it from there. I just manually rebuilt, deployed to my kind cluster where I reproed it, then told bisect whether it worked or didn't. I had to build about 7 or 8 commits to find it.


[Workflow] Add java monitor pattern example

Add missing monitor pattern example for Java

@hhunter-ms - Can we update this comment https://v1-12.docs.dapr.io/developing-applications/building-blocks/workflow/workflow-overview/#limitations to say version of the current release (since this may also be true in v1.12)


Reactive update-api job to update 2.11.x nigtly scaladoc

The nightly scaladoc for 2.11.x is still published online, but the symlink for the latest one hasn't been updated since January (scala/scala@61caba4, see the title of the online version)
because this job isn't run anymore.

@adriaanm I'm not really a specialist of this stuff, but looking at what the update-api script over at scala-dist does, this job should run at the end of every nightly job to update the symlink.

thanks. I won't have time to look at this right away, but I'll take it eventually if @adriaanm doesn't get to it first.

ping @adriaanm @SethTisue, the nightly scaladoc is still stuck in 2.11.5-land :)

yeah, working on it. I've requested an account on the relevant server (chara.epfl.ch) so I can go in and investigate.

You should be able to ssh to chara after you've logged into the publishing jenkins worker. It has the required ssh keys

Ha — I should have thought of that. Thanks.

as best I can determine, this was just an oversight and it looks to me like Antoine's change will do the trick. I put it in production, provisionally; doing a test run at https://scala-ci.typesafe.com/job/scala-2.11.x-release-main/274/console.

Ha, the job failed with the dreaded "There is not enough space on the disk"...

ok, so I have to fix https://github.com/scala/scala-jenkins-infra/issues/122 first before we'll know if this worked.

new test run: https://scala-ci.typesafe.com/job/scala-2.11.x-release-main/275/console

now I have to fix #125

#125 turned out to be intermittent; the next one succeeded, and the API link is now updated! thank you Antoine

Yay! :sparkles: Thanks for investigating!


Missing Android consumer proguard rules

Describe the bug
We started using shrinking/obfuscation for our java code by setting minifyEnabled true in our build.gradle. We build release builds for testing with the command shown here via ./gradlew assembleRelease assembleAndroidTest -DtestBuildType=release. In your docs you mention adding your proguard file shown here, but that doesn't seem to be enough to test on minified builds, and either our the app will crash in tests or Detox will log errors and tests will fail.
First, we were experiencing immediate crashes when running tests from Exceptions relating to missing classes. There is an existing issue with Android Instrumentation testing in general when minified, so Slack made a plugin called Keeper to address this for now. The short explanation is that Detox relies on some dependencies in the main app apk like Kotlin and React-Native that the test apk is then not able to find at runtime. They are being removed from the main apk during the shrinking process because the main app is not using those classes. This plugin analyzes test code and adds Proguard rules for the main app for classes the test apk relies on. That's a separate issue, but just noting as it's not mentioned in your docs as potential watch-out.
That fixed some crashes, but your library also uses reflection in a number of your classes, and the compiler cannot know what classes you're trying to use dynamically, so they could get removed or obfuscated. We then need additional proguard rules that don't seem to be in your proguard-rules-app.pro file. For example, we were using react-native 0.63.2 and Detox 17.6.1, and we see several errors like this when running tests on minified builds:
E Detox   : Can't set up RN UIModule listener
E Detox   : org.joor.ReflectException: java.lang.NoSuchFieldException: mOperationsQueue
E Detox   : 	at org.joor.Reflect.field0(Reflect.java:310)
E Detox   : 	at org.joor.Reflect.field(Reflect.java:282)
E Detox   : 	at com.wix.detox.reactnative.idlingresources.UIModuleIdlingResource.isIdleNow(UIModuleIdlingResource.java:84)
E Detox   : 	at androidx.test.espresso.base.IdlingResourceRegistry.allResourcesAreIdle(IdlingResourceRegistry.java:268)
E Detox   : 	at androidx.test.espresso.base.IdlingResourceRegistry$6.isIdleNow(IdlingResourceRegistry.java:302)
E Detox   : 	at androidx.test.espresso.base.UiControllerImpl.loopMainThreadUntilIdle(UiControllerImpl.java:453)
E Detox   : 	at androidx.test.espresso.ViewInteraction$2.call(ViewInteraction.java:275)
E Detox   : 	at androidx.test.espresso.ViewInteraction$2.call(ViewInteraction.java:272)
E Detox   : 	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
E Detox   : 	at android.os.Handler.handleCallback(Handler.java:790)
E Detox   : 	at android.os.Handler.dispatchMessage(Handler.java:99)
E Detox   : 	at android.os.Looper.loop(Looper.java:164)
E Detox   : 	at android.app.ActivityThread.main(ActivityThread.java:6494)
E Detox   : 	at java.lang.reflect.Method.invoke(Native Method)
E Detox   : 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438)
E Detox   : 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)
E Detox   : Caused by: java.lang.NoSuchFieldException: mOperationsQueue
E Detox   : 	at java.lang.Class.getField(Class.java:1601)
E Detox   : 	at org.joor.Reflect.field0(Reflect.java:295)
E Detox   : 	... 15 more

I was able to fix some of these just by adding Proguard rules to our main app to just keep all of certain packages as I didn't know all the classes you might use reflection on.
-keep class com.facebook.react.modules.** { *; }
-keep class com.facebook.react.animated.** { *; }
-keep class com.facebook.react.uimanager.** { *; }

However, today we tried upgrading to 17.10.3 as there are new features and that led to a new crash:
E/AndroidRuntime: FATAL EXCEPTION: AsyncTask #1
    Process: to.hover.android.app, PID: 26450
    org.joor.ReflectException: org.joor.ReflectException: java.lang.NoSuchFieldException: mTasks
        at org.joor.Reflect.field(Reflect.java:286)
        at com.wix.detox.reactnative.idlingresources.SerialExecutorReflected.pendingTasks(SerialExecutorReflected.kt:14)
        at com.wix.detox.reactnative.idlingresources.SerialExecutorReflected.hasPendingTasks(SerialExecutorReflected.kt:9)
        at com.wix.detox.reactnative.idlingresources.AsyncStorageIdlingResource$idleCheckTaskImpl$1.run(AsyncStorageIdlingResource.kt:39)
        at com.reactnativecommunity.asyncstorage.AsyncStorageModule$g$a.run(AsyncStorageModule.java:1)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
        at java.lang.Thread.run(Thread.java:764)
     Caused by: org.joor.ReflectException: java.lang.NoSuchFieldException: mTasks
        at org.joor.Reflect.field0(Reflect.java:310)
        at org.joor.Reflect.field(Reflect.java:282)
        at com.wix.detox.reactnative.idlingresources.SerialExecutorReflected.pendingTasks(SerialExecutorReflected.kt:14)
        at com.wix.detox.reactnative.idlingresources.SerialExecutorReflected.hasPendingTasks(SerialExecutorReflected.kt:9)
        at com.wix.detox.reactnative.idlingresources.AsyncStorageIdlingResource$idleCheckTaskImpl$1.run(AsyncStorageIdlingResource.kt:39)
        at com.reactnativecommunity.asyncstorage.AsyncStorageModule$g$a.run(AsyncStorageModule.java:1)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
        at java.lang.Thread.run(Thread.java:764)
     Caused by: java.lang.NoSuchFieldException: mTasks
        at java.lang.Class.getField(Class.java:1601)
        at org.joor.Reflect.field0(Reflect.java:295)
        at org.joor.Reflect.field(Reflect.java:282)
        at com.wix.detox.reactnative.idlingresources.SerialExecutorReflected.pendingTasks(SerialExecutorReflected.kt:14)
        at com.wix.detox.reactnative.idlingresources.SerialExecutorReflected.hasPendingTasks(SerialExecutorReflected.kt:9)
        at com.wix.detox.reactnative.idlingresources.AsyncStorageIdlingResource$idleCheckTaskImpl$1.run(AsyncStorageIdlingResource.kt:39)
        at com.reactnativecommunity.asyncstorage.AsyncStorageModule$g$a.run(AsyncStorageModule.java:1)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
        at java.lang.Thread.run(Thread.java:764)

It appears that another class AsyncStorageIdlingResource was added that uses reflection on the com.reactnativecommunity.asyncstorage.AsyncStorageModule class from another library we use.
My ask then is can you provide the necessary proguard rules for any case in which you use reflection? It's important for us to be able to test on minified builds, and it's difficult and unsustainable for us to look through your code and figure our these rules ourselves and things could still break when you add something new with reflection in between upgrades, like happened with us. These rules can just be included in your proguard-rules-app.pro file or at least suggestions for rules in your docs. Thank you.

@d4vidi .

@GEllickson-Hover thanks for using Detox and for your patience.
First, it is reasonable that adding the rules you've mentioned regarding RN modules would fix the error you specified. However, what I don't understand is - how on earth there's an app which minification strips RN down so hard that it omits RN's very core components? Things like the UIImplementation.mOperationsQueue are the fundamentals of RN. Apps simply cannot work without them. This is the reason why rules such as the ones you've suggested are not bundled into Detox' progurad rules to begin with: because they pretty much state the obvious.
Moreover, as a part of our regression process, we regularly execute simple e2e tests on a lean RN app we've created (aka the Detox example app), which is built and minified using the standard proguard rules - as mentioned in guides. The app runs on works well with rules as I explained.
That said, I don't mind adding the rules you suggestion, of course - and so I will. Although, you must understand why I'm utterly surprised by the use case you've reported. I would love to get insight as to why there are differences between our test app and your app.
Second, I sort of understand what might cause the 2nd error you've mentioned. It seems you've bundled the community's AsyncStorage module into your app as a native dependency. Is it possible that nevertheless, you're using the one provided by React Native itself, instead? Namely, import the module from ReactNative's NativeModules instead of directly from the community, like so:
import AsyncStorage from '@react-native-community/async-storage'

In any case, I will add the module in much the same way to the detox example app, and export the necessary rules, accordingly.
Thanks

@d4vidi Thank you, I really appreciate the response.
In regard to minification of RN Core components like UIImplementation.mOperationsQueue, I believe it's not that they are getting stripped in the build process and no longer exist, but rather that they get obfuscated, so the names are just shorter and harder to decode. Reflection requires strict field names, so the code is actually there under a different name such as A.b, but the hardcoded class / method name strings in the reflective code won't be dynamically re-written, so they fail at runtime. Shrinking isn't our only goal as large enough native Android apps typically also want to add obfuscation as an extra hurdle against reverse-engineering.
If I'm looking at the correct detox example app, it looks like obfuscation is turned off with this rule, which would seem to explain why you might not have encountered some of these issues.
One could argue that we don't need to obfuscate RN code, but with R8/Proguard it's more of an opt-out approach, so by default everything gets obfuscated once enabled, and it's a manual procedure to figure out what to keep and to write rules. Because of this, I feel it's generally been the native Android standard that libraries explicitly publish what they need to be kept if there's reflection (since reflection is the exception, not the norm), expecting that there could be both shrinking and obfuscation, so developers won't have to worry about runtime errors. React Native does bundle their own keep rules here, and these rules seem to imply that classes like UIImplementation are okay to be obfuscated in normal use cases.
I've since forgotten some of the context behind the AsyncStorageIdlingResource issue, but generally just seems again like a case of the obfuscation process shortening the class and field names and reflection then failing because of the mismatch in names.
In any case, I much appreciate the attention and potentially added keep rules as I know this is a more nuanced case.

So this is turning out to be quite an eye opener -- indeed, we were not properly compliant with obfuscating apps! I will have that worked out asap. Thank you!


Helm doesn't work with local mirror of stable repo

Output of helm version:
version.BuildInfo{Version:"v3.0.0", GitCommit:"e29ce2a54e96cd02ccfce88bee4f58bb6e2a28b6", GitTreeState:"clean", GoVersion:"go1.13.4"}

I've configured JFrog Artifactory as a mirror of stable helm repo https://kubernetes-charts.storage.googleapis.com
Helm client was configured to work with that mirror and I can successfully search charts there.
Unfortunately, I can't fetch any charts and install them because when I try to do so helm behaves like he wants to get this chart not from our mirror, but from https://kubernetes-charts.storage.googleapis.com.
helm repo list
NAME            URL
helm-remote     https://artifactory.domain.local/kubernetes-charts-google-helm-remote

helm search repo redis
NAME                                    CHART VERSION   APP VERSION     DESCRIPTION
helm-remote/prometheus-redis-exporter   3.2.0           1.0.4           Prometheus exporter for Redis metrics
helm-remote/redis                       10.0.1          5.0.7           Open source, advanced key-value store. It is of...
helm-remote/redis-ha                    4.1.1           5.0.5           Highly available Kubernetes implementation of R...
helm-remote/sensu                       0.2.3           0.28            Sensu monitoring framework backed by the Redis ...

helm fetch helm-remote/redis
Error: Get https://kubernetes-charts.storage.googleapis.com/redis-10.0.1.tgz: dial tcp <IP_ADDRESS>:443: connect: connection refused

While I interact with Artifactory using curl I can get index.yaml and even to download charts.
curl -I https://artifactory.domain.local/kubernetes-charts-google-helm-remote/index.yaml
HTTP/1.1 200 OK
Date: Thu, 28 Nov 2019 14:44:17 GMT
Content-Type: text/plain; charset=utf8
Content-Length: 7160555
Connection: keep-alive
Server: Artifactory/6.9.5
X-Artifactory-Id: 0af5613e476674d9:2fb567f1:16eaefca7fc:-7ffd
Last-Modified: Thu, 28 Nov 2019 13:27:57 GMT
Accept-Ranges: bytes
X-Artifactory-Filename: index.yaml
Content-Disposition: attachment; filename="index.yaml"; filename*=UTF-8''index.yaml
Cache-Control: no-store
Docker-Distribution-Api-Version: registry/2.0

curl -I https://artifactory.domain.local/kubernetes-charts-google-helm-remote/redis-10.0.1.tgz
HTTP/1.1 200 OK
Date: Thu, 28 Nov 2019 14:44:53 GMT
Content-Type: application/x-gzip
Content-Length: 28127
Connection: keep-alive
Server: Artifactory/6.9.5
X-Artifactory-Id: 0af5613e476674d9:2fb567f1:16eaefca7fc:-7ffd
Last-Modified: Thu, 28 Nov 2019 13:58:51 GMT
ETag: 2600b05691b492ea39557a3b00efc76953eb7017
X-Checksum-Sha1: 2600b05691b492ea39557a3b00efc76953eb7017
X-Checksum-Sha256: ef320c86d9862db0e16a550e8f233ddd705e04fc414b4044e7ebd63dc94163eb
X-Checksum-Md5:<PHONE_NUMBER>e5959d65bc9c0ec6b0ea73
Accept-Ranges: bytes
X-Artifactory-Filename: redis-10.0.1.tgz
Content-Disposition: attachment; filename="redis-10.0.1.tgz"; filename*=UTF-8''redis-10.0.1.tgz
Docker-Distribution-Api-Version: registry/2.0

At Artifactory logs, I see that it's connected to https://kubernetes-charts.storage.googleapis.com and downloads charts which I get using curl.
I've tried to use the latest version of Helm 2 instead of Helm 3, but it behaves the same way.
What could be a problem?

Was the index.yaml updated to reflect the new URLs as well?
helm install fetches down the index, looks up the chart name in that index which returns a URL to fetch. I’m nearly certain it’s because those URLs were not updated.
https://helm.sh/docs/topics/chart_repository/

You must use a virtual Repository in Artifactory (see https://www.jfrog.com/confluence/display/RTF/Helm+Chart+Repositories#HelmChartRepositories-ResolvingHelmCharts).

Was the index.yaml updated to reflect the new URLs as well?
helm install fetches down the index, looks up the chart name in that index which returns a URL to fetch. I’m nearly certain it’s because those URLs were not updated.
https://helm.sh/docs/topics/chart_repository/

And your supposition was right.
Artifactory actually doesn't update these URLs for some reason.

You must use a virtual Repository in Artifactory (see https://www.jfrog.com/confluence/display/RTF/Helm+Chart+Repositories#HelmChartRepositories-ResolvingHelmCharts).

Yes, with a virtual repository it works correctly.
Thanks for the help!


Use pg_class instead of gp_segment_configuration to test Entry.

Commit 371fc971fef ignore cases related to external_fts.
As we have external_fts CI now, recover the test case.
To avoid copying large unnecessary cases for just one or several case using gp_segment_configuration, use pg_class to test Entry locus.
When external_fts is on Seq scan on
gp_segment_configuration would be replaced by
Function Scan on gp_get_segment_configuration
Inconsistence between CIs will cause such cases to fail.
Authored-by: Zhang Mingli<EMAIL_ADDRESS>

fix #ISSUE_Number

Change logs
Describe your change clearly, including what problem is being solved or what feature is being added.
If it has some breaking backward or forward compatibility, please clary.
Why are the changes needed?
Describe why the changes are necessary.
Does this PR introduce any user-facing change?
If yes, please clarify the previous behavior and the change this PR proposes.
How was this patch tested?
Please detail how the changes were tested, including manual tests and any relevant unit or integration tests.
Contributor's Checklist
Here are some reminders and checklists before/when submitting your pull request, please check them:

[x] Make sure your Pull Request has a clear title and commit message. You can take git-commit template as a reference.
[ ] Sign the Contributor License Agreement as prompted for your first-time contribution(One-time setup).
[ ] Learn the coding contribution guide, including our code conventions, workflow and more.
[ ] List your communication in the GitHub Issues or Discussions (if has or needed).
[ ] Document changes.
[x] Add tests for the change
[x] Pass make installcheck
[x] Pass make -C src/test installcheck-cbdb-parallel
[ ] Feel free to request cloudberrydb/dev team for review and approval when your PR is ready🥳

pg_upgrade failed once again #262
Failure, exiting

real	0m0.156s
user	0m0.023s
sys	0m0.041s
ERROR: Failure encountered in upgrading qd node
/code/gpdb_src/src/bin/pg_upgrade /code/gpdb_src/src/bin/pg_upgrade/tmp_check/upgrade/qd /code/gpdb_src/src/bin/pg_upgrade
make[1]: *** [Makefile:78: check] Error 1
make: *** [GNUmakefile:198: installcheck-world-src/bin/pg_upgrade-recurse] Error 2
make: Target 'installcheck-world' not remade because of errors.
Error: Process completed with exit code 1.

Pushed, thanks for reviewing.


Suggest)smartphone users Twiter's TimeLine Javascript disable or limits

Hello taizan.
Source Code location https://github.com/pfnet/PaintsChainer/blob/master/index.html#L113
Why should Twiter's timeline be limited to display count limit or invalidation for smartphone users?
because

Because it is not possible to compare PC users and watch the past timeline so far with smartphones.
User who left colloize after leaving the tab switched for 30 minutes to 1 hour. PaintsChainer tab heavyMemory.

thank you for reading.

hmm how about others feel ??

im fine but this can improve the experience.
Also adding a share button can be helpful


Implement a streaming text splitter

Currently, the TextSplitter interface only allows for splitting text into fixed-size chunks and returning the entire list before any queries are run. It would be great if we could split text input dynamically to provide each query step with as large context window as possible, this would make tasks like summarization much more efficient.
It should estimate the number of available tokens for each query and ask the TextSplitter to yield the next chunk of at most X tokens.
Implementing such TextSplitter seems pretty easy (I can contribute it), the harder problem is to integrate the support for it in various places in the library.

Is there a consistent streaming iterable or similar for yielding generations that are in progress? I saw there is a manager class, and some methods return generators but I've not figured out a pattern yet. I have been trying to figure out how to stream generated content as it comes in from new Turbo chat interfaces, and I've made some progress but haven't figured out how to do sequential chains using a yield statement yet. I'm new here and might not have looked very well yet and it's great to see the new chat interfaces coming out fast.

I think you should open a separate issue for that

Yes, I thought iterating on the output as chunks might be related to your issue but I suppose the output interfaces are probably going to remain different from the input. That said, if the input and output had a common iterator pattern it might be helpful to understand and work with them better, if that makes sense.
By the way you said "TextSplitter interface only allows for splitting text into fixed-size chunks" but there are others like NLTKTextSplitter that can split into sentences with a flexible size with a maximum bound, as in you could put in near to the largest size that the model can take, does that help? I realise it might still not be "as large context window as possible". It could be nice to automatically figure all that stuff out, since a tokeniser and character length limits are different and need some logic to predict upper bounds to integrate them. Though I've not looked at the existing summariser methods yet, maybe they already do some of this - if they do, I've not seen it while reading about the splitters. I guess we'll be querying the code with language models soon anyway :)

You don't know the upper bound in advance. Maybe your prompt template is 200 tokens and you can use 3.5k token chunk, or maybe the template+answer+intermediate result is 2k tokens, so any chunk larger than 2k tokens will produce and error.


Added Nexus3 and Imagestreams Plugins

I added plugins for Nexus3 and Image Streams. Nexus3 is creating a Nexus 3 installation rather than the Nexus 2 installation that is already included.
Image Streams removes all the image streams and then imports the Red Had Image Streams - which is useful when developing for OpenShift Container Platform rather than for Origin.

Just updated the Image Streams Plugin to also include all Red Hat Templates.

@wkulhanek Can you split this PR into two.
The one for nexus3 I'll merge it right away, the one for the imagestreams, will need some work.
Just FYI, origin/ocp oc client for version 1.5/3.5 has already the option to select which Imagestream to install, so that means that if you use the origin client, by default you'll get the origin imagestreams, if you use the ocp client you'll get the red hat imagestreams, but you'll always be able to select the other.
      --image-streams='centos7': Specify which image streams to use, centos7|rhel7

For now, I would prefer to have 2 plugins or one plugin with an option to install the appropriate imagestreams so you can get the other in case you have started the cluster with an ocp client and want the origin imagestreams. Maybe provide an option to delete all previous imagestreams.
I would not delete the openshift namespace, but rather replace the existing imagestreams. What I've seen is that there is people that want to add the wildfly to an enteprise install, or the products to an origin install.
And lastly, if the version of the imagestreams is important, I would have that as an argument as well, or taken from the oc version that you're running. (For that I might need to add a function, which I could do).

@wkulhanek There's another issue with similar request by @wpernath in https://github.com/openshift-evangelists/oc-cluster-wrapper/issues/48
it would be cool if this PR fixes what you want in the best way. Looking at Wanja's request, it seems like other imagestreams.


Learning path: Add competencyId to relative navigation

Checklist
General

[x] This is a small issue that I tested locally and was confirmed by another developer on a test server.
[x] I chose a title conforming to the naming conventions for pull requests.

Server

[x] Important: I implemented the changes with a very good performance and prevented too many (unnecessary) database calls.
[x] I strictly followed the server coding and design guidelines.
[x] I added multiple integration tests (Spring) related to the features (with a high test coverage).
[x] I added pre-authorization annotations according to the guidelines and checked the course groups for all new REST Calls (security).
[x] I documented the Java code using JavaDoc style.

Client

[x] Important: I implemented the changes with a very good performance, prevented too many (unnecessary) REST calls and made sure the UI is responsive, even with large data.
[x] I strictly followed the client coding and design guidelines.
[x] I added multiple integration tests (Jest) related to the features (with a high test coverage), while following the test guidelines.
[x] I documented the TypeScript code using JSDoc style.

Motivation and Context

Fix a bug where you currently get stuck in a loop while navigating in the learning path when a learning object is linked to two or more competencies.
Description

We now also send the id of the corresponding competency between server and client, so they know where they are in the learning path and where they have to search for the next learning object. This means that you can now click on next/previous in the learning path and reach the respective end of the path.
IMPORTANT: Learning objects linked to multiple competencies can still be present multiple times in the learning path. But their next/previous learning object should be the ones for the correct competency.
Additionally this PR introduces labels that a user can quickly identify the current competency on the learning path and the corresponding next learning object in the navigation overview. Also a placeholder has been added if a competency has no connected learning objects yet.
Steps for Testing

Prerequisites:

1 Instructor
1 Student
1 Course with activated learning paths

Log in to Artemis
Navigate to Course Administration
Create or find competencies
Link lecture units and/or exercises to these competencies
Link at least one of them to multiple competencies
Check that the student can navigate through the complete path with the next/previous button
Open the navigation overview and verify that the current competency (currently done on learning path) is highlighted
Open the learning objects accordion of the current competency and verify that the next learning object (of the learning path) is highlighted
Open an empty competency and verify the placeholder (shown in the screenshots)

Testserver States

[!NOTE]
These badges show the state of the test servers.
Green = Currently available, Red = Currently locked
Click on the badges to get to the test servers.

Review Progress

Performance Review

[ ] I (as a reviewer) confirm that the client changes (in particular related to REST calls and UI responsiveness) are implemented with a very good performance
[ ] I (as a reviewer) confirm that the server changes (in particular related to database calls) are implemented with a very good performance

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Test Coverage
Client

Class/File
Line Coverage
Confirmation (assert/expect)

learning-path-nav-overview-learning-objects.component.ts
87.87%
✅

learning-path-nav-overview.component.ts
91.66%
✅

learning-path-student-nav.component.ts
100%
✅

learning-path-api.service.ts
100%
✅

learning-path-navigation.service.ts
95.23%
✅

Server

Class/File
Line Coverage
Confirmation (assert/expect)

LearningPathNavigationService.java
90%
✅

LearningPathRecommendationService.java
96%
✅

LearningPathService.java
97%
✅

LearningPathResource.java
100%
✅

Screenshots
Identification labels

Placeholder for empty competencies

Summary by CodeRabbit

New Features

Introduced navigation logic to handle learning paths based on competencies and learning objects.
Enhanced the display of next learning object and empty states in the learning path overview.

Bug Fixes

Improved navigation and error handling for learning paths.

Refactor

Split navigation loading logic into separate methods for better clarity and maintainability.

Style

Added new styles for learning path navigation components for improved UI.

Tests

Updated integration tests to cover new navigation and competency features.

Documentation

Added new labels for navigation states in both English and German language files.

Tested on TS2: When linking an exercise to multiple competencies, the current label always sticks to the first one. I am navigating through the different exercises using the previous and next buttons. When clicking on TE3, this view is shown. This feels odd to me. Is this the way it should be?

This is the expected behaviour as the labels do not show which competency you currently navigated to but the competency which is currently the one due on the learning path.

Tested on TS2: When linking an exercise to multiple competencies, the current label always sticks to the first one. I am navigating through the different exercises using the previous and next buttons. When clicking on TE3, this view is shown. This feels odd to me. Is this the way it should be?

This is the expected behaviour as the labels do not show which competency you currently navigated to but the competency which is currently the one due on the learning path. But we could change wording maybe?

I see. It was not what I thought of at first. Maybe if it were labeled current competency, it would be more clear. Hoever, I do not have a strong opinion on this.


Remove the Management SPI from the TCK

The TCK should only rely on the specification but the Management SPI is TCK specific.
This task should be done in conjunction with #95

Resolved by PR 115


[Vaults] Migrate apps savedConfig

Datasource, database and database_schema blocks use in their config references to datasources. This is currently stored under data_source_id and was previously the name of the datasource. From now on we store the datasource view id - we should migrate all existing apps with the sId of the view associated to the datasource.

dulicates https://github.com/dust-tt/dust/issues/7155


sqlite3.OperationalError: remove_expired_responses crashes with too many SQL variables

The problem
A description of what the bug is, including a complete traceback (if applicable)
   8931 cached responses.
   Removing expired responses...
Traceback (most recent call last):
  File "C:\Users\Avasam\Documents\Git\speedrun.com_global_leaderboard_webapp\flask_app.py", line 24, in <module>
    from api.core_api import api as core_api
  File "C:\Users\Avasam\Documents\Git\speedrun.com_global_leaderboard_webapp\api\core_api.py", line 5,
in <module>
    from api.api_wrappers import authentication_required
  File "C:\Users\Avasam\Documents\Git\speedrun.com_global_leaderboard_webapp\api\api_wrappers.py", line 3, in <module>
    from models.core_models import Player
  File "C:\Users\Avasam\Documents\Git\speedrun.com_global_leaderboard_webapp\models\core_models.py", line 6, in <module>
    from services.utils import get_file, SpeedrunComError, UserUpdaterError
  File "C:\Users\Avasam\Documents\Git\speedrun.com_global_leaderboard_webapp\services\utils.py", line 117, in <module>
    clean_old_cache()
  File "C:\Users\Avasam\Documents\Git\speedrun.com_global_leaderboard_webapp\services\utils.py", line 104, in clean_old_cache
    session.cache.remove_expired_responses()
  File "C:\Program Files\Python37\Lib\site-packages\requests_cache\backends\base.py", line 145, in remove_expired_responses
    self.bulk_delete(keys_to_delete)
  File "C:\Program Files\Python37\Lib\site-packages\requests_cache\backends\sqlite.py", line 44, in bulk_delete
    self.responses.bulk_delete(keys=keys)
  File "C:\Program Files\Python37\Lib\site-packages\requests_cache\backends\sqlite.py", line 168, in bulk_delete
    con.execute(statement, args)
sqlite3.OperationalError: too many SQL variables

Expected behavior
A description of what you expected to happen
For session.cache.remove_expired_responses to take more time by splitting the bulk operations (either silently or as an option).
Steps to reproduce the behavior
With a complete code example, if possible
session.cache.remove_expired_responses(timedelta(days=1)) on this file http_cache.zip
Workarounds
Is there an existing workaround for this issue?
For now I'll just nuke the cache with session.cache.clear()
def remove_expired_responses():
    print("   Removing expired responses...")
    try:
        session.cache.remove_expired_responses()
    except OperationalError:
        print("'too many SQL variables', nuking the cache instead")
        session.cache.clear()

Environment

requests-cache version: 0.7.2
Python version: 3.9
Platform: Windows 10

Got it. This should be a straightforward fix. Thanks for reporting!


Fix for Incorrect sys.path Sanitization Logic for Linked Directories

Resolves #167.
This change now accounts for the interpreter being launched from a linked directory by calling .resolve() on existing entries in sys.path.

Looks like the code for the unit test needed to be adjusted a little bit. This commit should fix it.


$verbosePreference = 'Continue' not affect Stop-Process cmdlet (and maybe others cmdlets)

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
The help says that $VerbosePreference should affect scripts, cmdlets and providers. When setting the $VerbosePreference variable to Continue, the detailed output of the Stop-Process cmdlet does not appear, although it should, considering if you specify the Verbose parameter specifically, the verbose output is shown.
Perhaps there are other cmdlets whose detailed output is not affected by $VerbosePreference = 'Continue'.
Expected behavior
PS C:\Temp> $VerbosePreference = 'Continue'
PS C:\Temp> notepad.exe
PS C:\Temp> Stop-Process -name notepad
VERBOSE: Performing the operation "Stop-Process" on target "Notepad (18904)".

Error details
No response
Environment data
PS C:\Temp> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.3.3
PSEdition                      Core
GitCommitId                    7.3.3
OS                             Microsoft Windows 10.0.22621
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

PS C:\Temp>

Visuals

It was explained to me that preferences can be overwritten by the developer of the cmdlet. I think that this information should be added to the help in the Verbose Preference section.

I'd say that you've discovered a bug, and a very long-standing one at that: It goes back to Windows PowerShell.
Only some cmdlets do not honor the preference-variable settings - such as Stop-Process and Remove-Item; which ones do not should be investigated systematically and fixed.
Others do, such as Invoke-RestMethod; in the following example, only Invoke-RestMethod's verbose output prints:
& {
  $VerbosePreference = 'Continue'
  ''> temp:/test.txt
  Remove-Item temp:/test.txt
  Invoke-RestMethod -Method HEAD http://example.org
}

@mklement0 @iSazonov
Apparently there is already an open issue on this. https://github.com/PowerShell/PowerShell/issues/12148
Right?

Thanks, @jhoneill. I'm not aware of a list, I just stumbled upon the differences.
However, perhaps looking at the implementation of two cmdlets that behave differently in that regard (e.g., Stop-Process vs. Invoke-RestMethod) will reveal a pattern that allows systematic discovery of the cmdlets that are broken in this respect.

@mklement0  OK I'll raise it. The more examples we have the easier tracking down any pattern(s) would be.

Looking at Stop-Process, it seems this is exactly due to https://github.com/PowerShell/PowerShell/issues/12148.  Details of investigation added there.

YES I can suggest this in the cmdlet working group, but I would prefer not to keep going back with another and then another is there a list?

There are 2 different classes you can inherit from when creating cmdlets: "cmdlet" and "pscmdlet". Stop-Process is using "cmdlet" so presumably every command that is using that is affected. You can create your own list with this script:
# Import every module so ImplementingType is populated
Get-Module -ListAvailable | group Name | foreach {
    $_.Group | Sort Version -Descending | select -First 1
} | Import-Module

Get-Command -CommandType Cmdlet | Where {
    $null -ne $_.ImplementingType -and
    !$_.ImplementingType.IsSubclassOf([System.Management.Automation.PSCmdlet])
}

Here's the list from my computer:

Commands
Add-KdsRootKey
Add-RegKeyProperty
Clear-KdsCache
Clear-Tpm
Confirm-SecureBootUEFI
ConvertFrom-Json
ConvertTo-TpmOwnerAuth
Copy-RegKey
Copy-UserInternationalSettingsToSystem
Debug-Process
Disable-AppBackgroundTaskDiagnosticLog
Disable-LocalUser
Disable-TlsSessionTicketKey
Disable-TpmAutoProvisioning
Dismount-RegHive
Enable-AppBackgroundTaskDiagnosticLog
Enable-LocalUser
Enable-TlsSessionTicketKey
Enable-TpmAutoProvisioning
Format-SecureBootUEFI
Get-CertificateAutoEnrollmentPolicy
Get-CertificateEnrollmentPolicyServer
Get-CertificateNotificationTask
Get-CimAssociatedInstance
Get-CimClass
Get-CimInstance
Get-CimSession
Get-DAPolicyChange
Get-Date
Get-InstalledLanguage
Get-KdsRootKey
Get-LocalGroup
Get-LocalGroupMember
Get-LocalUser
Get-MouseSettings
Get-Process
Get-RegKey
Get-SecureBootPolicy
Get-SecureBootUEFI
Get-Service
Get-SystemPreferredUILanguage
Get-Tpm
Get-TpmEndorsementKeyInfo
Get-TpmSupportedFeature
Get-Verb
Get-WheaMemoryPolicy
Get-WinAcceptLanguageFromLanguageListOptOut
Get-WinCultureFromLanguageListOptOut
Get-WinDefaultInputMethodOverride
Get-WindowsDeveloperLicense
Get-WinHomeLocation
Get-WinLanguageBarOption
Get-WinSystemLocale
Get-WinUILanguageOverride
Get-WinUserLanguageList
Import-TpmOwnerAuth
Initialize-Tpm
Invoke-CimMethod
New-CimInstance
New-CimSession
New-CimSessionOption
New-Guid
New-LocalGroup
New-NetIPsecAuthProposal
New-NetIPsecMainModeCryptoProposal
New-NetIPsecQuickModeCryptoProposal
New-RegKey
New-Service
New-TemporaryFile
New-WinUserLanguageList
Remove-CertificateEnrollmentPolicyServer
Remove-CertificateNotificationTask
Remove-CimInstance
Remove-CimSession
Remove-LocalGroup
Remove-LocalUser
Remove-RegKey
Remove-RegKeyProperty
Remove-Service
Rename-LocalGroup
Rename-LocalUser
Rename-RegKey
Resolve-DnsName
Restart-Service
Resume-Service
Set-AppBackgroundTaskResourcePolicy
Set-CertificateAutoEnrollmentPolicy
Set-CimInstance
Set-Culture
Set-LocalGroup
Set-SecureBootUEFI
Set-Service
Set-SystemPreferredUILanguage
Set-TpmOwnerAuth
Set-WheaMemoryPolicy
Set-WinAcceptLanguageFromLanguageListOptOut
Set-WinCultureFromLanguageListOptOut
Set-WinDefaultInputMethodOverride
Set-WinHomeLocation
Set-WinLanguageBarOption
Set-WinSystemLocale
Set-WinUILanguageOverride
Set-WinUserLanguageList
Show-WindowsDeveloperLicenseRegistration
Start-Service
Stop-Process
Stop-Service
Suspend-Service
Test-KdsRootKey
Unblock-Tpm
Uninstall-Language
Unregister-WindowsDeveloperLicense
Wait-Process

@MartinGC94  That's not an especially helpful list - some things like Set-Culture don't send output even when -Verbose is specified... Plus quite a few of those are not part of PowerShell -e.g. the TPM ones. I'll leave others to comment on whether that presumption is valid

Dupe of https://github.com/PowerShell/PowerShell/issues/12148.  For other cmdlets that deal with Verbose directly incorrectly, please open a new issue.


Updated GUI

When I try to render a sequence with OBJ files with the blender loader, it seems like it creates a copy of the mesh every time I press render:

As far as I can tell, this update to the addon looks absolutely great, good work @justo46 ! I found another issue that I will address by myself in a separate PR.


fullUser fixes

Set to null if user isn't logged in.
delete fullUser.password; wasn't deleting the password so setting it to null instead.

LGTM

Current master is crashing for me. This PR fixes the issue. Merging. @jameskopacz Thanks!


conflicting recommendations, likely typo

[Enter feedback here] You say this. "Many devices now come with large internal drives. You can set Delivery Optimization to take better advantage of this space (especially if you have large numbers of devices) by changing the minimum file size to cache. If you have more than 30 devices in your local network or group, change it from the default 50 MB to 10 MB. If you have more than 100 devices (and are running Windows 10, version 1803 or later), set this value to 1 MB.
To do this in Group Policy, go to Configuration\Policies\Administrative Templates\Windows Components\Delivery Optimization and set Minimum Peer Caching Content File Size to 100 (if you have more than 30 devices) or 1 (if you have more than 100 devices)."
For the 30 device case, in the first paragraph, the recommendation is 10 MB, but in the second paragraph the instructions say set it to 100 MB.  This is seriously confusing.

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

ID: 8d745280-391c-4f6d-6a35-7125fa263548
Version Independent ID: 0ccd8add-b5fb-469c-509e-e009c43a00ac
Content: Set up Delivery Optimization - Windows Deployment
Content Source: windows/deployment/update/waas-delivery-optimization-setup.md
Product: w10
Technology: windows
GitHub Login: @jaimeo
Microsoft Alias: jaimeo

@steve-pence , Thanks for pointing out, Article author will look in this issue.And it will be fixed very soon after testing and conformation
@nam31, Will you look in this issue #8934

@steve-pence , Thanks for pointing out, Article author will look in this issue.And it will be fixed very soon after testing and conformation
@nam31, Will you look in this issue #8934

@narkissit can you advise on this?

@narkissit can you advise on this?

That's a great find.
The
sorry for the late response here, the notification from github went to my spam folder :(
The correct value is 10MB so this sentence should be:
"set Minimum Peer Caching Content File Size to 10 (if you have more than 30 devices)"

@steve-pence would you like to open a Pull Request to change the documentation?

I'm not familiar with this process of how the documentation is maintained.
I would certainly like to see it changed, but I don't want to be involved
in the details of how that happens. I just noticed the issue and reported
it.
Thanks,
Steve
On Thu, 15 Apr 2021 at 01:38, Kateyanne @.***> wrote:

@steve-pence https://github.com/steve-pence would you like to open a
Pull Request to change the documentation?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/windows-itpro-docs/issues/8934#issuecomment-819894519,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AQ4HZNZV6HKV6C6P6KALAQDTIYKONANCNFSM4V2DZLKQ
.

Fair enough. I can easily do it, unless someone on the team simply wants to create a direct commit.

Hi @illfated please create a PR. Thank you!

There you go. PR #9427 is available for review, comments, and suggestions. We may want to let @JohanFreelancer9 check for possible grammar improvements now that we have the opportunity.


Error with Model Name is Account

Hi guys,
I have existing project, it have model Account instead User model and my validate login with session not using sails-auth, when I integrate it with my project, it show error.
How to fix it, please help me.
Thank you very much.

Thank you very much,
But, when I merge My Account Model( I dont have User model) with User model it show error ORM.
I see your hook permission using fix User name of model, it effect my config? Please help me, I take 2days for fix it but cannot run :(
After add role in config folder, I run it alert error: A hook (userconfig) failed to load!
Thank you very much.


DRILL-3178 csv reader should allow newlines inside quotes

Add a option for disabling for end-of-line character detection.

Thanks for the comments so far, See my newer changes,  I suggest that we remove the flag and add an extra method instead.
There is no more check for a boolean in nextChar, but instead there is an extra method call (readNext()->readNextNoNewLineCheck())

+1


[BACKLOG-40123] Adding two new extension points and updating TransMeta

and JobMeta to call the new extension points.

 Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.

🐸 JFrog Frogbot

:white_check_mark: Build finished in 50m 17s
Build command:
mvn clean verify -B -e -Daudit -amd -Djs.no.sandbox -pl core,engine

:ok_hand: All tests passed!
Tests run: 5373, Failures: 0, Skipped: 14    Test Results

:information_source:  This is an automatic message

 Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.

🐸 JFrog Frogbot

:warning: Build finished in 51m 13s
Build command:
mvn clean verify -B -e -Daudit -amd -Djs.no.sandbox -pl core,engine

:no_entry: Failed Tests
:cloud_with_lightning_and_rain: 1 test(s) failed:
org.pentaho.di.trans.steps.rest.RestTest.testCallEndpointWithGetVerb (click to expand)
expected:<200> but was:<404>

Tests run: 5373, Failures: 1, Skipped: 14    Test Results

:information_source:  This is an automatic message

 Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.

🐸 JFrog Frogbot

:warning: Build finished in 47m 40s
Build command:
mvn clean verify -B -e -Daudit -amd -Djs.no.sandbox -pl core,engine

:no_entry: Failed Tests
:cloud_with_lightning_and_rain: 1 test(s) failed:
org.pentaho.di.trans.steps.rest.RestTest.testCallEndpointWithGetVerb (click to expand)
expected:<200> but was:<404>

Tests run: 5373, Failures: 1, Skipped: 14    Test Results

:information_source:  This is an automatic message

 Note:

Frogbot also supports Contextual Analysis, Secret Detection, IaC and SAST Vulnerabilities Scanning. This features are included as part of the JFrog Advanced Security package, which isn't enabled on your system.

🐸 JFrog Frogbot

:white_check_mark: Build finished in 40m 38s
Build command:
mvn clean verify -B -e -Daudit -amd -Djs.no.sandbox -pl core,engine

:ok_hand: All tests passed!
Tests run: 5384, Failures: 0, Skipped: 14    Test Results

:information_source:  This is an automatic message


Fix 1.42.0

Trying to fix https://github.com/conda-forge/grpcio-tools-feedstock/pull/8.

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@martinRenou, could you take a quick look at this? I want to help keep this feedstock up to date. 😇

ping, @martinRenou. :)

ping, @martinRenou. :)

one more ping, @martinRenou. sorry for spamming you. 😇


Adding a browser/web loader with passing arguments

As the whole engine now also runs in the browser it will need a loader for the browser.
For example included templates will not render without a working loader.

Are you talking about a webpack loader? Or something else?

Ah no for example if I want to render my templates in the browser and i have templates which have to be included. It should be possible to get the templates via a loader over an ajax request. Nunjuck has a good example: https://mozilla.github.io/nunjucks/api.html#writing-a-loader unfortunately nunjucks doesent allow arguments for it's templates.

The server part doesen't has to be part of the library. But for example a simplified TwingLoaderInterface
TwingWebLoaderInterface
cache:boolean
getSource(name:string, context:any)
Now if a template should be included the "master" loader will ask the "simple" loader for the context. Everything else can easily be handled by a developer. Also the "master" loader could handle the caching. The context can be passed either with a separate function or "hardcoded".

Writing a loader is actually quite simple. But for now it is not possible to write a loader that would make Ajax calls because Twing doesn't support async loaders.
For now.
It's my next move, probably for Twing 3.1 or 3.2. It's been postponed for too long.

thanks for the response. I would love to try something. But I don't get how I can get the real name of the template. I looked at your filesystem example and there is this line where you fill the templates into the cache class variable:
this.cache.set(name, nodePath.resolve(nodePath.join(path, shortname)));
Shortname is set to this:
[namespace, shortname] = this.parseName(name);
parseName returns the shortname as it get's passed (as name) to the function parseName or if starts with an @ then it returns everything after the / as the shortname.
But when I try to get the name I get the templateHash which looks like this: __string_template__5a13abdde6d8986ce9eb3885dd689b2881a9e002406ce18452b1f93f953f76de
I can see that this is generated in the environment.ts at line 244 but I don't get how your class get's a real name it can find in the system and mine gets just the hash.

__string_template__5a13abdde6d8986ce9eb3885dd689b2881a9e002406ce18452b1f93f953f76de

This is the generated name of the template when one use the template_from_string function of Twig, like this:
{{ include(template_from_string("Hello {{ foo }}")) }}

Can you show me the code of what you are trying to achieve?

Ah I tried doing this:
resolve(env.createTemplate(data[0]).render(data[1]));
So it there any way to get the actual template as I probably need to give it back inside getSourceContext?
getCacheKey would be then

__string_template__5a13abdde6d8986ce9eb3885dd689b2881a9e002406ce18452b1f93f953f76de

isFresh is part of a timestamp based cache
exists just checks if the template exists
resolve just gives back the same as getSourceContext but as a string and without the name (string instead of a TwingSource)

So it there any way to get the actual template as I probably need to give it back inside getSourceContext?

env.createTemplate returns a template (i.e. an instance of TwingTemplate).
But I have the feeling that when you talk about template you talk about the source of your template.
It's not quite clear to me what you are trying to achieve in the end.

Maybe you can join me here:
https://nightlycommit.slack.com/messages/C9FNDPD0A
It would make things easier if we need to talk a lot about your issue.

Thank you :)
I think you need to add me first as I can't log in.
Am Di., 1. Okt. 2019 um 13:10 Uhr schrieb Eric MORAND <
<EMAIL_ADDRESS>
Maybe you can join me here:
https://nightlycommit.slack.com/messages/C9FNDPD0A
It would make things easier if we need to talk a lot about your issue.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/NightlyCommit/twing/issues/388?email_source=notifications&email_token=ACLYZGPJO2C4ZVIMHPRUVFTQMMVY7A5CNFSM4IYNROC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEAA4QAQ#issuecomment-536987650,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACLYZGOCF4FKQGHCWLEFED3QMMVY7ANCNFSM4IYNROCQ
.

So it there any way to get the actual template as I probably need to give it back inside getSourceContext?

env.createTemplate returns a template (i.e. an instance of TwingTemplate).
But I have the feeling that when you talk about template you talk about the source of your template.
It's not quite clear to me what you are trying to achieve in the end.

The only thing I want to do is to make an interface communicating between my local storage (preloaded template"sources") and the loader. Because I have includes inside the template the loader should fetch them. But I don't get further than getting the string template key. I would need the names/paths of the includes when they get fetched by the loader and the respond with the corresponding template"source".

OK, it's clear.
First, you got it right but it's good to re-say it: templates are loaded by their name. Filesystem loader considers that the name of a template should be considered as a path, but this is an implementation detail.
You should take TwingLoaderArray as an example instead of TwingLoaderFilesystem. It's much easier and much closer to what you are trying to achieve: the local storage is a key/value store.
Here is what I would do:

Inherit from TwingLoaderArray
Subclass the constructor to call super with an empty array
Implement exists to return true when the name passed as parameter is a key in the local storage
Implements getSourceContext that actually do the core job - namely returning a TwingSource which code is the value stored in the local storage under the passed name

Other methods of the TwingLoaderInterface can be left untouched from the parent.
Something like that, out of my head, untested:
import {TwingLoaderArray} from "./array";
import {TwingSource} from "../source";

class LocalStorageLoader extends TwingLoaderArray {
    constructor() {
        super([]);
    }

    getSourceContext(name: string, from: TwingSource): TwingSource {
        return new TwingSource(localStorage.getItem(name), name);
    }

    exists(name: string, from: TwingSource): boolean {
        return localStorage.getItem(name) !== null;
    }
}

Thank you so much! I will look into that. Got kicked out of the airport because I used a power outlet I wasn't supposed to :P but should be back with my laptop at the 3rd.

From: Eric MORAND<EMAIL_ADDRESS>Sent: Tuesday, October 1, 2019 2:16:26 PM
To: NightlyCommit/twing<EMAIL_ADDRESS>Cc: Noel Schenk<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [NightlyCommit/twing] Adding a browser/web loader with passing arguments (#388)
OK, it's clear.
First, you got it right but it's good to re-say it: templates are loaded by their name. Filesystem loader considers that the name of a template should be considered as a path, but this is an implementation detail.
You should take TwingLoaderArray as an example instead of TwingLoaderFilesystem. It's much easier and much closer to what you are trying to achieve: the local storage is a key/value store.
Here is what I would do:

Inherit from TwingLoaderArray
Subclass the constructor to call super with an empty array
Implement exists to return true when the name passed as parameter is a key in the local storage
Implements getSourceContext that actually do the core job - namely returning a TwingSource which code is the value stored in the local storage under the passed name

Other methods of the TwingLoaderInterface can be left untouched from the parent.
Something like that, out of my head, untested:
import {TwingLoaderArray} from "./array";
import {TwingSource} from "../source";
class LocalStorageLoader extends TwingLoaderArray {
constructor() {
super([]);
}
getSourceContext(name: string, from: TwingSource): TwingSource {
    return new TwingSource(localStorage.getItem(name), name);
}

exists(name: string, from: TwingSource): boolean {
    return localStorage.getItem(name) !== null;
}

}
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/NightlyCommit/twing/issues/388?email_source=notifications&email_token=ACLYZGPHKVVSITNBGNZ3NFLQMM5RVA5CNFSM4IYNROC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEABBUXI#issuecomment-537008733, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ACLYZGPK2WZYZ5ID3Q6IK4DQMM5RVANCNFSM4IYNROCQ.


Automator: update istio/client-go@master dependency in istio/istio@master

Generated by Automator - 2023-08-10T17:45:30+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

integ-pilot_istio
43ad8801c0b83c3a1e0c4444fb6cd79fc1404cb8
link
true
/test integ-pilot

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


adding support for getAllRouteParams and getAllHeaders

Hi! Thanks for the contribution. It looks really good :+1: Do you think it's possible to make return types of these functions more precise, e.g. StrMap Foreign?

Wonderful! Would you also be up for adding some tests?

merged https://github.com/purescript-express/purescript-express/commit/c62c721e7373ef6a6c11c928658b7194f0d235b4


SCP-5110: Reproducible tests

Introduced seed and size parameters for  generate-random-value request in the marlowe-test-spec.

Pre-submit checklist:

Branch

[ ] Tests are provided (if possible)
[ ] Test report is updated (if relevant)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description

Review required
[ ] Substantial changes to code, test, or documentation
[ ] Change made to Marlowe validator (@bwbush and @palas must be included as reviewers)
Review not required
[x] Minor changes to non-critical code, documentation, nix derivations, configuration files, or scripts
[ ] Formatting, spelling, grammar, or reorganization

[x] Reviewer requested

Also, could you update the tag on cabal.project to use the latest spec?


[core] Changelogs for upcoming release.

CC: @maorleger

@KarishmaGhiya, did I use the right format? I've now seen several in the tree and I'm no longer sure which is the right one.

I agree with @jeremymeng
I am not aware of any pending work going into any of the core packages in this PR in this week. @deyaaeldeen and @jeremymeng can confirm for the new Azure Core v2 packages.
So, we might as well release all of them together.
core-auth and core-amqp are being prepped in #14612
cc @chradek

I agree with @jeremymeng
I am not aware of any pending work going into any of the core packages in this PR in this week. @deyaaeldeen and @jeremymeng can confirm for the new Azure Core v2 packages.
So, we might as well release all of them together.
core-auth and core-amqp are being prepped in #14612
cc @chradek

Yeah, let's do it!

@ramya-rao-a I only know of https://github.com/Azure/azure-sdk-for-js/pull/12733 as still in flight but I do not think it is badly needed to go out in this release. cc @joheredi

Thanks @deyaaeldeen!
@richardpark-msft Let's go ahead with releasing all the core packages from the same release pipeline.
Please co-ordinate with @chradek, @deyaaeldeen and @jeremymeng for testing


Plotter update from pinn

Plot primarily updated to go with PINN, but written to be flexible between tasks. Sorting takes place in main.

Closes #21

Oops, accidentally closed


[JetChat] TextField stops reacting once it loses focus once

This behaviour was introduced with alpha-05 update.
Steps to reproduce:

Tap on text field.
Enter some text.
Tap away, so it loses focus.
There is no way of entering text edit mode.

Let's track all focus issues here
I'll add this report from slack:

launch the app
click anywhere outside the message input field
try clicking on the input field to type the message
keyboard does not show up

I found a bug in Jetchat, but that didn't fix it (keyboardController  is always null in UserInputText`)
Looks like https://android-review.googlesource.com/c/platform/frameworks/support/+/1456460 is fixing this general problem which will probably remove a lot of boilerplate in UserInput. Let's wait until that lands.

Problem still exists in alpha09.

Tracked in https://issuetracker.google.com/164859446

Has this been fixed ?
It facing a similar issue on a project I'm working on

Does it still happen in latest rc?


CORE-5347: Split vnode schemas into envelope and requests

Looks like corda-api has already been changed, I think we need to merge changes from the main branch.

@conalsmith-r3 @vkolomeyko just reading back here as I've finally overcome all my tech difficulties. It seems we both like and dislike the fail success response. I think I should take Viktors feedback onboard instead and just drop the failure wrapper for now. We can reintroduce that additional envelope later on if it's appropriate

https://github.com/corda/corda-runtime-os/pull/1565


Have side panal to show the personalized resouce file (installer conf)

In the Console side panel, we should provide an option to download a customised resource file that can be used with the installer. It should contain the information as configured in the console (Ex: with correct client id, client secret etc...)

This issue is being closed due to extended inactivity. Please feel free to reopen it if further attention is needed. Thank you for helping us keep the issue list relevant and focused!


how to pupulate existing data

Hi,
How can I populate existing data during updating?
thanks in advance.

Just update the model provided


The current transaction attempted to update a record that has been updated since this transaction started. The transaction was aborted. Uncommittable transaction is detected at the end of the batch. The transaction is rolled back. The statement has been terminated.

System.Data.SqlClient.SqlException
The current transaction attempted to update a record that has been updated since this transaction started. The transaction was aborted. Uncommittable transaction is detected at the end of the batch. The transaction is rolled back. The statement has been terminated.
System.AggregateException: One or more errors occurred. ---> System.Data.SqlClient.SqlException: The current transaction attempted to update a record that has been updated since this transaction started. The transaction was aborted.
Uncommittable transaction is detected at the end of the batch. The transaction is rolled back.
The statement has been terminated.
at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)    at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)    at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)    at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()    at System.Data.SqlClient.SqlDataReader.get_MetaData()    at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)    at System.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader(Boolean isInternal, Boolean forDescribeParameterEncryption)    at System.Data.SqlClient.SqlCommand.InternalEndExecuteReader(IAsyncResult asyncResult, String endMethod, Boolean isInternal)    at System.Data.SqlClient.SqlCommand.EndExecuteReaderInternal(IAsyncResult asyncResult)    at System.Data.SqlClient.SqlCommand.EndExecuteReaderAsync(IAsyncResult asyncResult)    at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)    --- End of inner exception stack trace ---    at System.Threading.Tasks.Task1.GetResultCore(Boolean waitCompletionNotification)
at Dynatrace.OneAgent.Introspection.Ado.Detail.AsyncHelper.<>c__DisplayClass0_02.<AppendContinuation>b__0(Task1 t)
at System.Threading.Tasks.ContinuationResultTaskFromResultTask2.InnerInvoke()    at System.Threading.Tasks.Task.Execute() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.AspNet.SessionState.SqlSessionStateRepositoryUtil.<SqlExecuteReaderWithRetryAsync>d__12.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNet.SessionState.SqlInMemoryTableSessionStateRepository.<GetSessionStateItemAsync>d__19.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNet.SessionState.SqlSessionStateProviderAsync.<DoGet>d__29.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at Microsoft.AspNet.SessionState.SessionStateModuleAsync.<GetSessionStateItemAsync>d__74.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNet.SessionState.SessionStateModuleAsync.<AcquireStateAsync>d__65.MoveNext() --- End of stack trace from previous location where exception was thrown ---    at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)    at Microsoft.AspNet.SessionState.TaskAsyncHelper.EndTask(IAsyncResult ar)    at System.Web.HttpApplication.AsyncEventExecutionStep.InvokeEndHandler(IAsyncResult ar)    at System.Web.HttpApplication.AsyncEventExecutionStep.OnAsyncEventCompletion(IAsyncResult ar) ---> (Inner Exception #0) System.Data.SqlClient.SqlException (0x80131904): The current transaction attempted to update a record that has been updated since this transaction started. The transaction was aborted. Uncommittable transaction is detected at the end of the batch. The transaction is rolled back. The statement has been terminated.    at System.Data.SqlClient.SqlConnection.OnError(SqlException exception, Boolean breakConnection, Action1 wrapCloseInAction)
at System.Data.SqlClient.TdsParser.ThrowExceptionAndWarning(TdsParserStateObject stateObj, Boolean callerHasConnectionLock, Boolean asyncClose)
at System.Data.SqlClient.TdsParser.TryRun(RunBehavior runBehavior, SqlCommand cmdHandler, SqlDataReader dataStream, BulkCopySimpleResultSet bulkCopyHandler, TdsParserStateObject stateObj, Boolean& dataReady)
at System.Data.SqlClient.SqlDataReader.TryConsumeMetaData()
at System.Data.SqlClient.SqlDataReader.get_MetaData()
at System.Data.SqlClient.SqlCommand.FinishExecuteReader(SqlDataReader ds, RunBehavior runBehavior, String resetOptionsString, Boolean isInternal, Boolean forDescribeParameterEncryption, Boolean shouldCacheForAlwaysEncrypted)
at System.Data.SqlClient.SqlCommand.CompleteAsyncExecuteReader(Boolean isInternal, Boolean forDescribeParameterEncryption)
at System.Data.SqlClient.SqlCommand.InternalEndExecuteReader(IAsyncResult asyncResult, String endMethod, Boolean isInternal)
at System.Data.SqlClient.SqlCommand.EndExecuteReaderInternal(IAsyncResult asyncResult)
at System.Data.SqlClient.SqlCommand.EndExecuteReaderAsync(IAsyncResult asyncResult)
at System.Threading.Tasks.TaskFactory1.FromAsyncCoreLogic(IAsyncResult iar, Func2 endFunction, Action1 endAction, Task1 promise, Boolean requiresSynchronization)
ClientConnectionId:394d88d1-ab13-4cb6-81ae-f8e2c762d96d
Error Number:41302,State:110,Class:16<---

Callstack is System.Data.SqlClient - not supported here.
Have you tried to use Microsoft.Data.SqlClient driver instead?

we are using the MS SQL 2016

so should we use the Microsoft.Data.SqlClient  will it have any implcations for the app? or is it recommended?

Microsoft.Data.SqlClient is the recommended one. Closing issue, feel free to open it again if you are still having problems with  it after changing it to  Microsoft.Data.SqlClient


NeusFacto Custom Data Instructions

Is your feature request related to a problem? Please describe.
Hi, I saw that NeusFacto got merged in the last day.
I tried running the model, but ended up with some issues in getting it to work on my data.
It seems it requires some pre-processing steps from sdfstudio, but I cannot find the proper documentation for this.
Describe the solution you'd like
A small piece of documentation or a (brief) explanation on how I can pre-process custom data to be used with the newly merged NeusFacto.
Suggestion
If provided with a (brief) explanation, I would be willing to document this process somewhere if that helps the project.

Hi so you are correct, currently the SDF based models (NeuS and NeuS Facto) require some pre-processing for custom data to work (as of this point they will only work with the sdfstudio-demo-data download). I had written a script for this over at the SDFStudio that you can find here. I plan on bringing this over and integrating it directly into ns-proccess-data (not totally clear as to how I'll do this yet). For now you're welcome to use the script over at the SDFstudio repo to get things preprocessed.

You don't need to but it helps in some cases (especially for indoor scenes), what command did you use exactly and what did the dataset/output look like? Most of my testing has been with indoor room enviroments

Hi, how do I know what to put in pretrained_models and omnidata-path for that script?
https://github.com/autonomousvision/sdfstudio/blob/master/scripts/datasets/process_nerfstudio_to_sdfstudio.py

Hi, how do I know what to put in pretrained_models and omnidata-path for that script?
https://github.com/autonomousvision/sdfstudio/blob/master/scripts/datasets/process_nerfstudio_to_sdfstudio.py

I believe that is only required when you want to extract mono-prior depths and normals.
If that's not needed, you can simply do:
python3 scripts/datasets/process_nerfstudio_to_sdfstudio.py --data <path/to/data/dir> --output-dir <path/to/output/dir> --data-type <colmap/polycam> --scene-type <indoor/object/unbound>

@pablovela5620 I was able to train a Neusfacto model on custom data recently.
For this, I did not extract monocular depth and normal cues.
I did encounter some issues, which I'll highlight below.
Issue 1
After using your conversion script, I encountered an error when training a Neusfacto model.
The error was triggered by the following lines:
# file: nerfstudio > data > dataparsers > sdfstudio_dataparser.py

# lines 90-91
depth_filename = self.config.data / frame["mono_depth_path"]    # KeyError since key not present
normal_filename = self.config.data / frame["mono_normal_path"]  # KeyError since key not present

Fix 1
Before:
# file: nerfstudio > data > dataparsers > sdfstudio_dataparser.py

# lines 90-91
depth_filename = self.config.data / frame["mono_depth_path"]    # KeyError since key not present
normal_filename = self.config.data / frame["mono_normal_path"]  # KeyError since key not present

# lines 98-99
depth_filenames.append(depth_filename)
normal_filenames.append(normal_filename)

After:
# file: nerfstudio > data > dataparsers > sdfstudio_dataparser.py

# lines 90-91
depth_filename = self.config.data / frame.get("mono_depth_path", [])
normal_filename = self.config.data / frame.get("mono_normal_path", [])

# lines 98-99
depth_filenames.extend(depth_filename)
normal_filenames.extend(normal_filename)

Let me know if you think I should create a PR for this, I'd love to.
Issue 2
The results are not what I would have expected, which I'll visualize here.
Perhaps you know what is going wrong here?
Neusfacto (GT left, render right):

Nerfacto for comparison (GT left, render right):

Some other interesting thing I found with Neus is that the ETA is nearly twice as long with --pipeline.datamanager.train-num-rays-per-batch 1024 as when I use --pipeline.datamanager.train-num-rays-per-batch 512, which seems odd to me.

Will close this issue since issues are mainly due to initialization and sensitivity to hyperparameters.


[Snyk] Upgrade @radix-ui/react-tooltip from 0.0.19 to 0.1.7

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade @radix-ui/react-tooltip from 0.0.19 to 0.1.7.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 70 versions ahead of your current version.
The recommended version was released a year ago, on 2022-02-24.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Closing as this does not affect vulnerabilities as a synk PR


Sending events to JS from Swift across the bridge

Is this something that should be possible to do?  I'm struggling finding any concrete details on it, and would love some feedback from the community.  I realize this isn't the ideal forum for such a thing, but questions go unanswered elsewhere.  See my question on SO.  I'll keep that updated if I find a resolution.

You can do this with RCTDeviceEventEmitter for example. See https://facebook.github.io/react-native/docs/native-components-ios.html#events. (The example is in Obj-C. It's usually simple to write the equivalent Swift code though.)