a serial create delete plan enters in loop

What happened:
kubectl kudo install zookeeper
the plan doesn't finishes and the validation pod is being created/deleted
kubectl kudo plan status  --instance=zookeeper-instance
Plan(s) for "zookeeper-instance" in namespace "default":
.
└── zookeeper-instance (Operator-Version: "zookeeper-0.2.0" Active-Plan: "deploy")
    ├── Plan deploy (serial strategy) [IN_PROGRESS]
    │   ├── Phase zookeeper [IN_PROGRESS]
    │   │   └── Step deploy [IN_PROGRESS]
    │   └── Phase validation [PENDING]
    │       ├── Step validation [PENDING]
    │       └── Step cleanup [PENDING]
    └── Plan validation (serial strategy) [NOT ACTIVE]
        └── Phase connection (serial strategy) [NOT ACTIVE]
            └── Step connection (serial strategy) [NOT ACTIVE]
                ├── connection [NOT ACTIVE]
                └── cleanup [NOT ACTIVE]

and
k get pods -w
NAME                    READY   STATUS    RESTARTS   AGE
zookeeper-zookeeper-0   0/1     Running   0          24s
zookeeper-zookeeper-1   0/1     Running   0          24s
zookeeper-zookeeper-2   0/1     Running   0          24s
zookeeper-zookeeper-1   1/1     Running   0          31s
zookeeper-zookeeper-2   1/1     Running   0          32s
zookeeper-zookeeper-0   1/1     Running   0          39s
zookeeper-validation-df9tf   0/1     Pending   0          0s
zookeeper-validation-df9tf   0/1     Pending   0          0s
zookeeper-validation-df9tf   0/1     ContainerCreating   0          0s
zookeeper-validation-df9tf   0/1     ContainerCreating   0          0s
zookeeper-validation-df9tf   1/1     Running             0          2s
zookeeper-validation-df9tf   0/1     Completed           0          13s
zookeeper-validation-df9tf   0/1     Terminating         0          14s
zookeeper-validation-df9tf   0/1     Terminating         0          14s
zookeeper-validation-6ktkp   0/1     Pending             0          0s
zookeeper-validation-6ktkp   0/1     Pending             0          0s
zookeeper-validation-6ktkp   0/1     ContainerCreating   0          0s
zookeeper-validation-6ktkp   0/1     ContainerCreating   0          1s
zookeeper-validation-6ktkp   1/1     Running             0          2s
zookeeper-validation-6ktkp   0/1     Completed           0          3s
zookeeper-validation-6ktkp   0/1     Terminating         0          4s
zookeeper-validation-6ktkp   0/1     Terminating         0          4s
zookeeper-validation-69b4c   0/1     Pending             0          0s
zookeeper-validation-69b4c   0/1     Pending             0          0s
zookeeper-validation-69b4c   0/1     ContainerCreating   0          0s
zookeeper-validation-69b4c   0/1     ContainerCreating   0          0s
zookeeper-validation-69b4c   1/1     Running             0          2s
zookeeper-validation-69b4c   0/1     Completed           0          3s
zookeeper-validation-69b4c   0/1     Terminating         0          3s
zookeeper-validation-69b4c   0/1     Terminating         0          3s
zookeeper-validation-vhzrg   0/1     Pending             0          0s
zookeeper-validation-vhzrg   0/1     Pending             0          0s
zookeeper-validation-vhzrg   0/1     ContainerCreating   0          0s
zookeeper-validation-vhzrg   0/1     ContainerCreating   0          0s
zookeeper-validation-vhzrg   1/1     Running             0          2s
zookeeper-validation-vhzrg   0/1     Completed           0          3s
zookeeper-validation-vhzrg   0/1     Terminating         0          3s
zookeeper-validation-vhzrg   0/1     Terminating         0          3s
zookeeper-validation-lc2vp   0/1     Pending             0          0s
zookeeper-validation-lc2vp   0/1     Pending             0          0s
zookeeper-validation-lc2vp   0/1     ContainerCreating   0          0s
zookeeper-validation-lc2vp   0/1     ContainerCreating   0          0s
zookeeper-validation-lc2vp   0/1     Completed           0          2s
zookeeper-validation-lc2vp   0/1     Terminating         0          2s
zookeeper-validation-lc2vp   0/1     Terminating         0          2s
zookeeper-validation-hplqg   0/1     Pending             0          0s
zookeeper-validation-hplqg   0/1     Pending             0          0s
zookeeper-validation-hplqg   0/1     ContainerCreating   0          0s
zookeeper-validation-hplqg   0/1     ContainerCreating   0          1s
zookeeper-validation-hplqg   1/1     Running             0          2s
zookeeper-validation-hplqg   0/1     Completed           0          3s
zookeeper-validation-hplqg   0/1     Terminating         0          3s
zookeeper-validation-hplqg   0/1     Terminating         0          3s
zookeeper-validation-tp9pd   0/1     Pending             0          0s
zookeeper-validation-tp9pd   0/1     Pending             0          0s
zookeeper-validation-tp9pd   0/1     ContainerCreating   0          0s
zookeeper-validation-tp9pd   0/1     ContainerCreating   0          0s
zookeeper-validation-tp9pd   1/1     Running             0          2s
zookeeper-validation-tp9pd   0/1     Completed           0          3s
zookeeper-validation-tp9pd   0/1     Terminating         0          3s
zookeeper-validation-tp9pd   0/1     Terminating         0          3s
zookeeper-validation-pqhj8   0/1     Pending             0          0s
zookeeper-validation-pqhj8   0/1     Pending             0          0s
zookeeper-validation-pqhj8   0/1     ContainerCreating   0          0s
zookeeper-validation-pqhj8   0/1     ContainerCreating   0          0s
zookeeper-validation-pqhj8   1/1     Running             0          2s
zookeeper-validation-pqhj8   0/1     Completed           0          3s
zookeeper-validation-pqhj8   0/1     Terminating         0          3s
zookeeper-validation-pqhj8   0/1     Terminating         0          3s
zookeeper-validation-wpgvh   0/1     Pending             0          0s
zookeeper-validation-wpgvh   0/1     Pending             0          0s
zookeeper-validation-wpgvh   0/1     ContainerCreating   0          0s
zookeeper-validation-wpgvh   0/1     ContainerCreating   0          0s
zookeeper-validation-wpgvh   1/1     Running             0          2s

What you expected to happen:
the plan to finish
How to reproduce it (as minimally and precisely as possible):
with KUDO 0.9.0 install the zookeeper version 0.2.0
Anything else we need to know?:
Environment:

Kubernetes version (use kubectl version):
Kudo version (use kubectl kudo version):
Operator:
operatorVersion:
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

this issue doesn't happen in v0.8.0

this cannot be reproduced always in a new clean cluster.


sails-mongo doesn't work with sails-permissions

======================================================
BEGIN VERSION INFO
Sails version:0.12.3
Node version:4.2.6
NPM version:3.5.2
Operating system:Linux Ubuntu server 16.0
END VERSION INFO
BEGIN PLEDGE

[X ] I am experiencing a concrete technical issue (aka a bug) with Sails (ideas and feature proposals should follow the guide for proposing features and enhancements (http://bit.ly/sails-feature-guide), which involves making a pull request).  If you're not 100% certain whether it's a bug or not, that's okay--you may continue.  The worst that can happen is that the issue will be closed and we'll point you in the right direction.

[ X] I am not asking a question about how to use Sails or about whether or not Sails has a certain feature (please refer to the documentation(http://sailsjs.org), or post on http://stackoverflow.com, our Google Group (http://bit.ly/sails-google-group) or our live chat (https://gitter.im/balderdashy/sails).

[ X] I have already searched for related issues, and found none open (if you found a related closed issue, please link to it in your post).

[ X] My issue title is concise, on-topic and polite ("jst.js being removed from layout.ejs on lift" is good; "templates dont work" or "why is sails dumb" are not so good).

[ X] I have tried all the following (if relevant) and my issue remains:

Make sure you have the right app lifted.
Make sure you've killed the Sails server with CTRL+C and started it again.
Make sure you closed any open browser tabs pointed at localhost before starting Sails.
Make sure you do not have any other Sails apps running in other terminal windows.
Make sure the app you are using to reproduce the issue has a clean node_modules/ directory, meaning:

no dependencies are linked (e.g. you haven't run npm link foo)
that you haven't made any inline changes to files in the node_modules/ folder
that you don't have any weird global dependency loops. The easiest way to double-check any of the above, if you aren't sure, is to run: rm -rf node_modules && npm cache clear && npm install.

and finally...

[ X] I can provide steps to reproduce this issue that others can follow.

END PLEDGE
Hello, I'm new to sails and I have troubles using sails-mongo and roles and permissions module exactly shown as the documentation:
https://github.com/langateam/sails-permissions
So I'm receiving this stack trace from node:
info: Starting app...

debug: hookPath: /var/www/smarttrack/SmartTrack/node_modules/sails-auth/dist/api/hooks/auth
debug: marlinspike (auth): loading config from /var/www/smarttrack/SmartTrack/node_modules/sails-auth/dist/config
debug: hookPath: /var/www/smarttrack/SmartTrack/node_modules/sails-permissions/dist/api/hooks/permissions
debug: marlinspike (permissions): loading config from /var/www/smarttrack/SmartTrack/node_modules/sails-permissions/dist/config
debug: marlinspike (auth): loading Services from /var/www/smarttrack/SmartTrack/node_modules/sails-auth/dist/api/services...
debug: marlinspike (auth): loading Models...
debug: marlinspike (auth): loading Controllers...
debug: marlinspike (auth): loading Policies...
warn: sails.getBaseUrl() is deprecated and will be removed in Sails v1.0.  See http://sailsjs.org/documentation/reference/application/sails-getbaseurl for more info.
debug: marlinspike (permissions): loading Services from /var/www/smarttrack/SmartTrack/node_modules/sails-permissions/dist/api/services...
debug: marlinspike (permissions): loading Models...
debug: marlinspike (permissions): loading Controllers...
debug: marlinspike (permissions): loading Policies...
error: A hook (`orm`) failed to load!
error: Error: on mapping custom foreign keys: role->user. Attribute: `roles` does not exist on: collection: `user`
    at JoinTables.parseAttribute (/usr/local/lib/node_modules/sails/node_modules/waterline-schema/lib/waterline-schema/joinTables.js:150:11)
    at /usr/local/lib/node_modules/sails/node_modules/waterline-schema/lib/waterline-schema/joinTables.js:83:22
    at Array.forEach (native)
    at JoinTables.buildJoins (/usr/local/lib/node_modules/sails/node_modules/waterline-schema/lib/waterline-schema/joinTables.js:82:24)
    at new JoinTables (/usr/local/lib/node_modules/sails/node_modules/waterline-schema/lib/waterline-schema/joinTables.js:40:23)
    at new module.exports (/usr/local/lib/node_modules/sails/node_modules/waterline-schema/lib/waterline-schema.js:33:17)
    at Waterline.initialize (/usr/local/lib/node_modules/sails/node_modules/waterline/lib/waterline.js:104:17)
    at buildWaterlineOntology (/usr/local/lib/node_modules/sails/node_modules/sails-hook-orm/lib/build-waterline-ontology.js:45:19)
    at Array.async.auto._buildOntology (/usr/local/lib/node_modules/sails/node_modules/sails-hook-orm/lib/initialize.js:388:7)
    at listener (/usr/local/lib/node_modules/sails/node_modules/sails-hook-orm/node_modules/async/lib/async.js:605:42)
    at /usr/local/lib/node_modules/sails/node_modules/sails-hook-orm/node_modules/async/lib/async.js:544:17
    at _arrayEach (/usr/local/lib/node_modules/sails/node_modules/sails-hook-orm/node_modules/async/lib/async.js:85:13)
    at Immediate.taskComplete (/usr/local/lib/node_modules/sails/node_modules/sails-hook-orm/node_modules/async/lib/async.js:543:13)
    at processImmediate [as _immediateCallback] (timers.js:383:17)

Some people say that mongo doesn't suppor relations but checking on mongodb documentation, they DO support relations, but not the same as relational databases does.
So I really want to know if is possible implementing and using RBAC without pain, because I'm planning to serve services based on RBAC and honnestly I dont have time to waste, I've been over this for the last 3 weeks and I'm concern now if working with node and sails is possible to get REAL LIFE PROJECTS up and running.
Regards
PD: Why working with node do I have to track down all possible versions of software instead of giving all the work to NPM package manager and make it use the stable versions of each package?
thanks

ok fixed

Sorry I found the same problem, but the respond is not very clear, can you please provide a procedure to fix this ? Do we have to get rid off sails-auth ? what versions are not compatible? do i have to roll back to version 0.12.1? why? wouldn't be better to fix it instead of avoiding using new versions?
What are the possibilities to get this fixed?
regards

@hackerunet unfortunately sails-permissions, sails-auth, and marlinspike are all third party modules and I'm not sure what they support or don't. In this case Waterline is complaining because the models are invalid.
Is there anyway you can post your models?

Give me 30 minutes, I removed everything and starting from Scratch, I've been very meticoulous this time to avoid more problems and wasting mine and others time.

Ok I started from scratch using only sails documentation, and I got from here:
http://sailsjs.org/documentation/concepts/policies/sails-passport
Through a tutorial to use authentication exactly how sails suggest, but the given tutorial is too old and full of errors and missing routes.
This is making me getting nowhere with sails, please REMOVE THAT TUTORIAL FROM DOCUMENTATION and suggest something at least stable, moving on with this, I'm going to use a different framework.
Regards.

nop, the tutorial doesn't work, lots of bad reviews on it in fact.. people is saying that the tutorial does not work, thanks anyways.


Array out-of-bounds when elemtype is empty

When loading the XML config, it is possible to have an empty string as the elemtype of an array. This causes us to index into the types array with an index of -1. On instrumented builds, this can cause an error.
Example XML config snippet:
  <DXBC>
    <Debug>
      <!-- DXBC.Debug.SearchDirPaths

Paths to search for separated shader debug PDBs.

Default value: '[]' -->
      <SearchDirPaths type="Array" elemtype=""></SearchDirPaths>
    </Debug>

https://github.com/baldurk/renderdoc/blob/35b13a8e8fd2a331854dba6da81a20452e142d6f/renderdoc/core/settings.cpp#L188

Locally, I just have the following code:
    if(type == SDBasic::Array)
    {
      // Empty arrays may not have an elemtype. Default to String.
      const int32_t basicTypeIndex = basicTypeStrings.indexOf(obj.attribute("elemtype").as_string());
      type = (basicTypeIndex != -1) ? types[basicTypeIndex] : SDBasic::String;

Hi there, your issue has been closed due to not correctly following the issue template. Please read the documentation about filing issues and open a new issue which does follow the issue template. Do not reply to this issue with more information or with a correctly formatted issue, as that will only lead to confusion.
I try to address all github issues and fix bugs quickly, but badly formatted issues or poorly described bug reports especially are a significant drain on project resources. Taking a few minutes to file a good issue makes a huge difference and will get it addressed faster - everybody wins!
In github when you first create a new issue the form is pre-populated with a template which you should read over and follow. As linked above there is documentation going into more detail about what makes a good issue.


Android Support Library Class Compiler Error "Cannot Resolve Symbol"

Problem
I'm writing an Android Wallpaper app in Flutter and when I call the Android Platform Code to set the wallpaper I need to show a Snackbar from the Platform Side (Not from the Flutter side). The Android Studio compiler cannot recognize Snackbar because it is part of the Android Support Library so I added the following line in app/build.gradle.
    implementation 'com.android.support:support-v4:27.1.1'
That didn't work so I tried it for specifically for the design library
   implementation 'com.android.support:design:27.1.1'
That didn't work so I tried the 'Open for Editing in Android Studio' option, which opened up my app's android module in another window. There, Gradle Sync fixed the error, so the compiler recognized the Snackbar class, when I went back to my main app I could still see  the error. This is a nightmare.
I was previously having this issue when I was requesting some permissions and I needed to import ContextCompat and ActivityCompat. I was able to skip those by using a plugin called simple_permissions.
Steps To Reproduce
Make a new Flutter app. Go to MainActivity.java and paste the following line somewhere.
Snackbar.make(getFlutterView(), "Wallpaper Changed Successfully", Snackbar.LENGTH_LONG).show();
The compiler will say Cannot resolve symbol 'Snackbar'. I have attached a screenshot as well.

This is happening to me with the share_extend plugin

Sounds like https://flutter.io/docs/development/tools/android-studio#editing-android-code-in-android-studio-with-full-ide-support

I ended up having to update all my plugins to support AndroidX

@BasedMusa was your issue solved?

Without additional information, we are unfortunately not sure how to resolve this issue. We are therefore reluctantly going to close this bug for now. Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact descriptions what happens, logs and the output of ' flutter doctor -v'  please.
All system setups can be slightly different so its always better to open new issues and reference related issues.


⚠ Spryr has degraded performance

In 559d469, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3743 ms

Resolved: Spryr performance has improved in 4d7c4fc after 10 minutes.


invalid zset member size

看到源码里面有这个限制
MaxZSetMemberSize int = 1024

但是假如有大于这个数据量的需求应该怎么进行调整？

现在只能改源码重新编译。。。
你可以添加一个 config structure

@siddontang 嗯，感谢抽空回复🙏  ！ 修改源码重新编译已经解决了报错问题，有几个问题还是想请教下，

原来1024的值是基于怎样的逻辑设定的？修改之后(1024 * 1024 * 1024)是否有可以预知的问题
我们的场景：

高顺序写入性能
不受内存限制
尽可能简单的集群搭建步骤（可能的话）

基于上面的场景调研了比较多的key value数据库，最终在由leveldb驱动的一些数据库中选择了leveldb，而且很有可能会将这个投入到生产环境使用，但是团队go语言能力差，不知道您对此怎么看？

rocksdb，leveldb 底层这种对于大 value 的性能堪忧，尤其是数据量大的时候，写放大特别严重，IO 顶不住的。

@siddontang 感谢回复！不知道有没有推荐的合适的kv？

如果你的需求是大 value，还不如用 kv 存 meta，你的 value 直接 append 到 file

@siddontang 好的，再次感谢，稍后如果有有价值性能信息会在这里贴出来

Sorry to comment on an old thread, but I just came across this issue while searching if another problem I had was already posted....
I have been porting an implementation using boltdb over to ledisdb and had selected a Zset as a way to support a queue of values that is ordered by an incrementing integer key. Then I just randomly saw that internally the ordered set is capped to 1024. Historically, I have seen my queue reach sizes of 8 million items, and after reading (the translation of) this ticket, it seems the Ledisdb implementation of ordered set is not suitable for this solution? Hopefully you can provide a little more insight so I can choose the right approach?
Originally I had started with the idea of:

Getting the next numeric id with an INCR key
Indexing items in a hash by id -> item
Managing queue order in a list of ids (referring to hash id)

After I started writing this approach, I realized that there doesn't seem to be an efficient way to remove queued items by the id without scanning the list. With boltdb, I relied upon the ability to Get(id) and also have the bucket cursor iterate the queue ordered by those ids.
Because of this, and what also seems to be the lack of transactions support the management of those multiple data structures, I thought it would be smart to switch to Zset, using the numeric incrementing id as the score. This would give me ordered queue items that could also be addressed directly by id. But I see now that there is a cap.
What is the right way to use ledisdb for this kind of item queue? Do I just need to accept the lack of transactions when maintaining secondary indices, and also accept the potential hit if Get(id) ends up scanning deep into a list that possibly has 8 million items? Zset seemed like the closest match to boltdb bucket. Unless a hash guarantees iteration is ordered by key?

@justinfx for an unique queue, you have to save another key copy on a set included a list.


remove hardwired config for m1, m2, c1 and cc1 instance types

we have more accurate details in our external config

May be better to branch back off master so do with this commit as you will


Use constants in EventSourcedJournal too

Analogous to the EventSourcedService, use OperatorConstants instead of hardcoded values

Thanks @janory! :)

@janory Seems like this PR has conflics which needs to be resolved before I can merge, let me know when it's ready for merging, thanks! :)

@viktorklang updated!

@jroper There's been some changes in the files referred to by this PR, would you mind having a look as to what makes sense for current master?


Hi, im interested in your work, but how to get the segments folder？ Thanks!

Hi, you can download via this link: https://drive.google.com/file/d/1gD5paJ8HBOFVyMRgweTc0jNTL41SmBFz/view?usp=sharing

Hi, you can now run scripts/eval.sh to obtain the evaluation results with a pre-trained ckpt.

Hi, you can now run scripts/eval.sh to obtain the evaluation results with a pre-trained ckpt.

Thanks a lot，Great work😊！


code logic error

hi,
I found an error in generate_result function in test.py file, that is " if (np.sum(feature[i]**2))>=0:", this condition will always  be true. so it is redundant conditional statement?
lane_feature = []
x = []
y = []
for i in range(len(grid)):
if (np.sum(feature[i]**2))>=0:
point_x = int((offset[i][0]+grid[i][0])*p.resize_ratio)
point_y = int((offset[i][1]+grid[i][1])*p.resize_ratio)
.............

@koyeongmin   hello, could you give an explanation about this? thanks

Oh! It looks unnecessary condition. I think I forgot to delete the condition while experimenting with various conditions.

@koyeongmin   thanks much


Edges inserted in a colkection are not shown in the graph

My Environment

ArangoDB Version:        3.11.2
Deployment Mode:        Single Server
Deployment Strategy:   ArangoDB Starter
Configuration:
Infrastructure:               own
Operating System:        Ubuntu 22.04
Total RAM in your machine:        32Gb
Disks in use:        SSD
Used Package:              Ubuntu .deb

Component, Query & Data
Affected feature:
web interface | arangosh
AQL query (if applicable):

AQL explain and/or profile (if applicable):

Dataset:

Size of your Dataset on disk:

Replication Factor & Number of Shards (Cluster only):

Steps to reproduce
Problem:
I do my first steps with ArangoDB 3.11.2 on Ubuntu 22.04. I have a node collection, an edge collection and a graph which connects them (I installed the "knows" graph from examples to see want is neccessary).
The problem I encountered, is as following.

Edges which are inserted into the edge collection without error via the WebGUI are not shown in the graph (only nodes are visible).

Edges which are imported as a json file via arangoimport without error appear in the edges collection but are also not shown in the graph.

Edges, which are directly inserted in the graph appear in the graph and are also inserted in the edge collection.

Any ideas what might be the reason? Why are edges, which are not directly added in the graph, not visible in the graph, although they are added to the edge collection without error?
Regards
Expected result:
Edges, in a collection should be visible in the graph, regardless how they where added.

Hi!
The edges in the graphs are visualized as connections between nodes.
You may find the examples tabs usefull that create small graphs from the documentation.
If you create two similar edges, you may need to choose curved mode in the UI in order to see both of them.
You may want to consider some of https://www.arangodb.com/learn/ to learn more about graphs and how arangodb manages them.

Hi,
I know that edges are visualized as connections between nodes.
As I sad, I installed the "knows" graph from the examples tab to see what is neccessary.
I created a "materials" collection with nodes material, glass, ceramic, metal and polymer.
Then I created a edges collection with edges like this:
"_from": "Material/Glass" "_to:  "Material/Material" "desc": "is a"
When I add these edges via the editor of the collection or via import, they are inserted into the edge collection without error, but don't show up in the graph.
When I add these edges directly in the graph, they become visible AND are added to the edge collection.
I'm not talking about multiple edges between the same nodes which might lie on top of each other ...

did you properly configure the edge definitions as part of the graph definition?
This describes which edge collection may collect which vertex collections.

I deleted all and started from scratch. Defined nodes, edges and a graph where edges where visible. At some point, I don't know the exact cause, the graph disappeared in the new graph viewer for some reason, but was still visible in the old graph viewer. After reboot of the system the graph is again visible in both graph viewers.

if you happen to see this again, maybe press F12 and see in the javascript console whether there are any errors noted.
It could also be that the random startnode selection didn't work properly.


[fix] fix the nix code

[x] commit the lockfile
[x] make inputs follow lean inputs
[x] add flake lock update action
resolves #165

Warning
at github.com/settings/tokens, there needs to be a new token, named "GH_TOKEN_FOR_UPDATES"
it needs to be at least repo scope

Note
the flake update will happen each Sunday and can be triggered automatically, too.
the bot will open  new PR which can be merged if CI passes.

@Kha What do you this of this PR?

See https://github.com/leanprover/lake/issues/165#issuecomment-1475281362, I believe this is the wrong way

:vulcan_salute:


separated llm tracker by model

Each LLM now has functions in a different file. I will probably continue this to use inheritance and consistent function names

I ran a core manual test and it worked


New Term Request : 'Boot'

Dear GSSO curators,
I would like to submit a request to add a new term 'boot'.
Term Label: boot
Definition: Footwear that covers the foot, the ankle, and sometimes the leg below the knee.
Parent class: footwear (http://purl.obolibrary.org/obo/GSSO_004998)
Database cross reference : https://www.oxfordlearnersdictionaries.com/definition/english/boot_1#:~:text=a%20strong%20shoe%20that%20covers,(British%20English)%20walking%20boots
Alternate name: boots
Thank you,
Anoosha

Thank you so much for the recommendation! I have added it in 2.0.9 as GSSO:012935. Note that it may take some time for the PURLs to update.

That's perfect!! Thank you so much, Clair.

Of course! Let me know if you need anything else:)

I mean why? How is this related to gender or sexual orientations?


Parsing of copybook members with dots in the name

Describe the bug
We have a few copybooks that have a dot in the name, DATEUTL.PR and DATEUTL.DS are two of the most used copybook.   I noticed that the log is showing it having trouble opening the member; it's not the correct member name.
To Reproduce
Steps to reproduce the behavior:

Create a member with a dot in the name.
Open RPGLE source and add a line for the copybook member.
Look at the Code for IBM i log, you may have to close and reopen the RPGLE member.
Search if you have to for SELECT LENGTH(srcdta) as LENGTH FROM ILEDITOR.[yourlib_yoursrcf_yourmbr] limit 1

Expected behavior
Open the members with dots in their names.
Screenshots

Environment (please complete the following information):

Extension version 1.3.1
IBM i OS version 7.3

Additional context
I can understand the problem might be scanning for the dot and stopping.  Maybe there is a scan from the right regexp that can be used.   I am wondering if this is a cause of a problem I have been trying to identify for an issue where the outline is not producing for some members.   There are some cases when opening a member with the member that has a dot in its name is the last log entry.

What a fun bug! I will look into this.

@m-tyler Any chance you can provide a code sample for this so I can create a unit test for it?

#VS Code - Code for IBM i - Log - Case #.txt
VSCCFII89.RPGLE.TXT
A source member that will recreate and the log (with extra stuff) that shows it creating the alias with the wrong name.
It can be any pattern of dot in the name and the copy member does not have to exist.

@m-tyler is this still an issue with newer versions of the language extension?

The member name is parse correctly now.


jc should be (n-1)/2

The docs say (n+1)/2 but assume that n runs from from 0 to n-1
https://github.com/scipy/scipy/blob/ced4d67ec8bfd7e25e5087c7dedc53bd8bd632d0/scipy/fft/_fftlog.py#L74
so it should be calculated as jc = (n-1)/2. This is also what the code does:
https://github.com/scipy/scipy/blob/ced4d67ec8bfd7e25e5087c7dedc53bd8bd632d0/scipy/fft/_fftlog.py#L121

I'll take this one, I'm at PyCon at the moment so I'll work on this over the next few days and at the sprints Mon. / Tues.; still a relative beginner so I'll give it my best shot

Let me know if you get stuck


add missing field for seccomp

@utam0k PTAL

Codecov Report

Merging #79 (362cbfb) into main (3d5132a) will increase coverage by 26.79%.
The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           main      #79       +/-   ##
=========================================
+ Coverage      0   26.79%   +26.79%
=========================================
  Files         0       20       +20
  Lines         0     1366     +1366
  Branches      0      710      +710
=========================================
+ Hits          0      366      +366
- Misses        0      369      +369
- Partials      0      631      +631


enhance test coverage

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[x] I have read the CONTRIBUTING document.
[x] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Coverage increased (+2.3%) to 95.853% when pulling 1f095f02723f5984d94095be0f26f36f847bd2cc on dev into e17ed50d78d0b06d1dbd4c8aec3d8f45b37f1d42 on master.


Prevent stray accounts.toml files from breaking upgrades

The rewards calculation used to take the validators from accounts.toml when writing zero rewards to validators at genesis or at an upgrade point. This is now just replaced with an empty map, which has the same effect and doesn't depend on external data.

bors merge

bors r+

bors r+

bors r+


Add a configuration for the cloudwatch event monitoring

💡 Description

See event monitoring configured for ticket https://github.com/NASA-PDS/registry/issues/167
That need to be configured in the terraform script so that we don't loose that configuration and can reproduce it.

@sjoshi-jpl this ticket is in the review but I cannot find a pull request or a commit which implements that ? I remember you worked on that but I am now unable to find where that is. Thanks


[BP-1.20][FLINK-35803][checkpoint] Fix the wrong file reuse in cp file-merging

What is the purpose of the change
There is an issue of reusing wrong restored files in following cp when enabling file-merging. All the files from previous job should not be reused afterwards. This PR fixes that.
Brief change log

When creating/referencing a PhysicalFile during recovery, mark it unable to reuse.

Verifying this change
This change is already covered by existing IT tests, such as ResumeCheckpointManuallyITCase.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: yes
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

Unrelated CI error, re-running

@flinkbot run azure


Adding support for Docker containers as mininet nodes

This pull request is adding DockerHost which creates Docker containers to be used as emulated hosts.
For this purpose, a container running its original ENTRYPOINT and / or CMD is created. The file mnexec.c was extended to support entering all namespaces used by docker containers. This is used to spawn a shell process in startShell with a specified shell command (defaulting to sh -is). Network interfaces are then created via this shell process and its attached network namespace directly in the running docker container.
None of the modifications introduced in node.py and mnexec.c change the behaviour of mininet if DockerHosts is not used. Also the dependency to docker-py will only be effective when needed.
However, there were some changes to makeIntfPair that may require testing:

veth pairs are now directly created in their respective network namespaces from the host on which mininet is running. Before that, the creation of veth pairs was issued in the first node which therefore needed access to /proc to be able to set the netns of the remote network interface via PID, which should be avoided when using containers

the output of iproute2 is now silently ignored when No such device was sent on stderr. This is due to a bug in iproute2 which results in this error message even when the operation was successful

A usage example can be seen in the following code snippet:
from mininet.topo import LinearTopo
from mininet.net import Mininet
from mininet.node import OVSBridge, DockerHost
from mininet.cli import CLI

if __name__ == "__main__":
    DockerHost.setDefaultDockerArgs(
        image="alpine:3.10"
    )
    net = Mininet(
        topo=LinearTopo(3),
        switch=OVSBridge,
        controller=None,
        host=DockerHost,
    )
    net.start()
    net.pingAll()
    net.stop()

I am looking forward to your feedback!

Thanks for the PR; a few things:

People have been suggesting DockerHost, KVMHost, LXCHost, QemuHost for a while; I'm not opposed to it and I think it shouldn't require much code to do.
You shouldn't need to modify node.py since you can subclass it.
This is an experimental feature so it probably belongs in examples/ for now, in a single file. n the future it could move to nodelib.py.
Could you put iproute2 compatibility changes in a separate PR?
It shouldn't be necessary to modify mnexec either.
You should flatten your commits into a single commit for the PR.
The code check should not be removed.

I had a hard time to get this PR through the Travis pipeline (docker package was never found) and therefore tried to merge my changes step by step to find the issues in another branch of my fork. So I closed this PR and filed in a new one #886 which now builds (and checks) without errors.
I have furthermore moved the class DockerHost to mininet/nodelib.py as you suggested. Disabling the code check was not my intention, I just tried to find the issue :see_no_evil:


Searching from empty state never finishes

Some bug with the search changes maybe. On a clear search it doesn’t finish loading and just spins forever. Once you cancel recent results display then everything works fine.

Bug Report Dump (Auto-generated)

Version 1.12.0 (1063)
Device: iPhone 7 Plus (iOS 11.0.3)
TestFlight: false

Feels like something intro'd with all the branches coming together.
👁

Was able to trigger this again under slightly different circumstances.


[ESSNTL-5247] Store Inventory Group info with new HSP entry from Kafka message

Uses variables instead repeated hash access for readability
Stores group information to hsps as it comes from Kafka

Secure Coding Practices Checklist Link

https://github.com/RedHatInsights/secure-coding-checklist

Secure Coding Checklist

[ ] Input Validation
[ ] Output Encoding
[ ] Authentication and Password Management
[ ] Session Management
[ ] Access Control
[ ] Cryptographic Practices
[ ] Error Handling and Logging
[ ] Data Protection
[ ] Communication Security
[ ] System Configuration
[ ] Database Security
[ ] File Management
[ ] Memory Management
[x] General Coding Practices

ESSNTL-5247

Codecov Report
Patch coverage: 100.00% and project coverage change: +0.78% :tada:

Comparison is base (91a89d5) 73.13% compared to head (ddc8e26) 73.91%.
Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #386      +/-   ##
==========================================
+ Coverage   73.13%   73.91%   +0.78%
==========================================
  Files          25       25
  Lines         763      786      +23
==========================================
+ Hits          558      581      +23
  Misses        205      205

Files Changed
Coverage Δ

historical_system_profiles/archiver.py
56.04% <100.00%> (+0.98%)
:arrow_up:

historical_system_profiles/db_interface.py
71.83% <100.00%> (ø)

historical_system_profiles/models.py
98.27% <100.00%> (+0.03%)
:arrow_up:

tests/fixtures.py
100.00% <100.00%> (ø)

tests/test_archiver.py
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

ESSNTL-5247


fix(models): post field was not lowercase

Describe this PR
post field was not lowercase. Confusing because Post is the model name.

Changes

What issue does this fix?

Any other relevant information

Thank you very much for the contribution and fix 🙏


Add support for the official Sony DUALSHOCK 4 USB Wireless Adapter

This is the adapter I'm talking about
https://www.playstation.com/en-us/explore/accessories/dualshock-4-usb-wireless-adaptor/
It's still for pre-order on most places but I was about to get one from gamestop
http://www.gamestop.com/accessories/dualshock-4-usb-wireless-adapter/134132
I was able to use x360ce with the adapter but I would prefer to use DS4Windows instead.

I second that.
I bought the Adapter but it doesn't show up in ds4windows.
Would be great to be able to use it.

The USB Adapter fixed the headphone jack issue it would be great if the added support.

Someone named boganhobo on reddit made a fork that adds support for the adapter.
https://www.reddit.com/r/pcgaming/comments/5387gn/i_updated_ds4windows_with_compatibility_for_sonys/
https://github.com/boganhobo/DS4Windows
Another fork that merges boganhobo's tweak along with with a few other fixes.
https://github.com/SonicFreak94/DS4Windows

@Vanquo
I don't see how that is possible because fork you linked was released in Dec 2015.
It was not updated in 9 months how could possibly include support for the Adaptor that JUST came out a few days ago.

I'm currently working in merging this fix as well as a few others, hopefully by the week's end I shall release an update.

@Jays2Kings
AWESOME, thank you so much!

@J0JC
Not sure what you we're looking at. Here's the recent commits that were from a few days ago.
https://github.com/boganhobo/DS4Windows/commit/051029095add79ac82b0d403c5d47dd4416212ad
https://github.com/SonicFreak94/DS4Windows/commit/d10ea2e54e13ee5c48414aba5ba22791329e8ba8

@Vanquo
My bad.

As of version 1.4.5 support for the adapter has been added. I haven't been able to get an adapter yet to test, but seeing that this has been tested by others, this issue will be marked closed.

I have the adapter and I installed DS4W last night.
Works just fine (after reboot) :)
Tested with Steam Big Screen and the Assassins Creed Unity


goseg: On first boot after moving to goseg, domain is pointing to the startram, instead of the custom url.

Per @mopfel-winrux's guidance, I updated my groundseg update path and branch to staging/edge. On the first time trying to access my moon, ~nattev-palnet-sarlev-sarsen, after that transition, it tried to access via sub.startram.io instead of my previously set up custom domain.
Expected behavior is for the default to be that I continue to access at the previously set custom domain url.

thanks for letting us know! some of the startram stuff is still fucked up, its on our shortlist, though this might be a ui issue

pyseg -> goseg migration is probably not 100% right now. So some stuff might not come out right.  Likely just minor config differences -- which will be ironed out in time.
Is the custom domain missing completely, or did work after switching the URL in the pier settings?

this should be fixed


⚠ GitHub has degraded performance

In a50666f, GitHub (https://www.githubstatus.com/api/v2/status.json) experienced degraded performance:

HTTP code: 200
Response time: 359 ms

Resolved: GitHub performance has improved in b4a7e63.


SAML: IdP-initiated SSO

This implements IdP-initiated SSO. In plain English, that means that with proper configuration by the admin, users can click on the button corresponding to the "zulip" app in their Okta UI and get taken to zulip and logged in. As opposed to having to go through the zulip /login/ page and our "Sign in with SAML" buttons.
The last commit adds docs on how to set this up, and it's probably also the best explanation for the intent of the code changes in that commit. The first two commits are just minor improvements and setup for better implementation of the last commit.

The first two commits look great, so I merged them.  Posted a batch of comments on the last one.

@timabbott Should be ready for next review round! ALso added a commit to fix an important subtlety in the test setup.

Merged as b66dc9de5069ef1ebf2fae4e1bbb7e9f25d76bb2, thanks @mateuszmandera!
We should I guess now add discussion of this piece in our Okta/OneLogin instructions?

@timabbott Yup, We actually haven't merged those yet, but I updated the PR https://github.com/zulip/zulip/pull/14811 without explicitly mentioning any details, just telling the user to use .zulipchat.com/complete/saml/ for the SSO URL - as this is the simple configuration, and will probably be applicable to all organization that do SAML with us, and it'll make things "just work".


Asset 32: Lactase answer ID choices

This asset currently uses CHEMBL.COMPOUND:CHEMBL2108505 as the expected answer ID for Lactase. But the NodeNorm entry for this ID seems odd: it has no other equivalent IDs (Dev NodeNorm).
There are other lactase entities with more equivalent IDs, and they show up in BTE's results with higher scores/ranks:

MESH:D043322 - a ChemicalEntity
UMLS:C0083183 - a Protein

Should this test use a different ID for Lactase? Or is this a NodeNorm issue?

I've noted before that tools tended to fail this test. I haven't done this comparison lately though https://github.com/NCATSTranslator/Tests/issues/32

Added to https://github.com/NCATSTranslator/Tests/issues/62#issuecomment-2207903878 to consolidate issues.


Cannot install ET

🐛 Describe the bug
Command to install and Setup ET throws an error
./torchchat/utils/scripts/install_et.sh

  CMake Warning at build/Utils.cmake:241 (message):
    Failed to retrieve buck2 version: [Errno 2] No such file or directory:
    'buck2'.

    Downloading buck2 from
    https://github.com/facebook/buck2/releases/download/2024-05-15/buck2-aarch64-apple-darwin.zst...

    Traceback (most recent call last):

      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1348, in do_open
        h.request(req.get_method(), req.selector, req.data, headers,
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1298, in request
        self._send_request(method, url, body, headers, encode_chunked)
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1344, in _send_request
        self.endheaders(body, encode_chunked=encode_chunked)
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1293, in endheaders
        self._send_output(message_body, encode_chunked=encode_chunked)
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1052, in _send_output
        self.send(msg)
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 990, in send
        self.connect()
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/http/client.py", line 1470, in connect
        self.sock = self._context.wrap_socket(self.sock,
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 517, in wrap_socket
        return self.sslsocket_class._create(
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1104, in _create
        self.do_handshake()
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/ssl.py", line 1382, in do_handshake
        self._sslobj.do_handshake()

    ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate
    verify failed: unable to get local issuer certificate (_ssl.c:1006)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):

      File "/Users/jessewhite/Documents/source/torchchat/et-build/src/executorch/build/resolve_buck.py", line 224, in <module>
        main()
      File "/Users/jessewhite/Documents/source/torchchat/et-build/src/executorch/build/resolve_buck.py", line 216, in main
        resolved_path_or_error = resolve_buck2(args)
                                 ^^^^^^^^^^^^^^^^^^^
      File "/Users/jessewhite/Documents/source/torchchat/et-build/src/executorch/build/resolve_buck.py", line 198, in resolve_buck2
        urllib.request.urlretrieve(buck2_archive_url, archive_file.name)
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 241, in urlretrieve
        with contextlib.closing(urlopen(url, data)) as fp:
                                ^^^^^^^^^^^^^^^^^^
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 216, in urlopen
        return opener.open(url, data, timeout)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 519, in open
        response = self._open(req, data)
                   ^^^^^^^^^^^^^^^^^^^^^
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 536, in _open
        result = self._call_chain(self.handle_open, protocol, protocol +
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 496, in _call_chain
        result = func(*args)
                 ^^^^^^^^^^^
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1391, in https_open
        return self.do_open(http.client.HTTPSConnection, req,
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
      File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/urllib/request.py", line 1351, in do_open
        raise URLError(err)

    urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED]
    certificate verify failed: unable to get local issuer certificate
    (_ssl.c:1006)>

  Call Stack (most recent call first):
    CMakeLists.txt:318 (resolve_buck2)

  -- Killing buck2 daemon
  -- executorch: Generating source lists
  -- executorch: Generating source file list /Users/jessewhite/Documents/source/torchchat/et-build/src/executorch/pip-out/temp.macosx-10.9-universal2-cpython-311/cmake-out/executorch_srcs.cmake
  Error while generating /Users/jessewhite/Documents/source/torchchat/et-build/src/executorch/pip-out/temp.macosx-10.9-universal2-cpython-311/cmake-out/executorch_srcs.cmake. Exit code: 1
  Output:

  Error:
  Traceback (most recent call last):
    File "/Users/jessewhite/Documents/source/torchchat/et-build/src/executorch/build/extract_sources.py", line 218, in <module>
      main()
    File "/Users/jessewhite/Documents/source/torchchat/et-build/src/executorch/build/extract_sources.py", line 203, in main
      target_to_srcs[name] = sorted(target.get_sources(graph, runner))
                                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/Users/jessewhite/Documents/source/torchchat/et-build/src/executorch/build/extract_sources.py", line 116, in get_sources
      sources: set[str] = set(runner.run(["cquery", query]))
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/Users/jessewhite/Documents/source/torchchat/et-build/src/executorch/build/buck_util.py", line 26, in run
      cp: subprocess.CompletedProcess = subprocess.run(
                                        ^^^^^^^^^^^^^^^
    File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 548, in run
      with Popen(*popenargs, **kwargs) as process:
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
    File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 1026, in __init__
      self._execute_child(args, executable, preexec_fn, close_fds,
    File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/subprocess.py", line 1953, in _execute_child
      raise child_exception_type(errno_num, err_msg, err_filename)
  FileNotFoundError: [Errno 2] No such file or directory: 'buck2'

  CMake Error at build/Utils.cmake:191 (message):
    executorch: source list generation failed
  Call Stack (most recent call first):
    CMakeLists.txt:327 (extract_sources)

  -- Configuring incomplete, errors occurred!
  error: command '/Users/jessewhite/Documents/source/torchchat/.venv/bin/cmake' failed with exit code 1
  error: subprocess-exited-with-error

  × Building wheel for executorch (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> See above for output.

  note: This error originates from a subprocess, and is likely not a problem with pip.
  full command: /Users/jessewhite/Documents/source/torchchat/.venv/bin/python3.11 /Users/jessewhite/Documents/source/torchchat/.venv/lib/python3.11/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py build_wheel /var/folders/7k/2n2lk60d5n57_33yh299tt0c0000gn/T/tmprw3xt79q
  cwd: /Users/jessewhite/Documents/source/torchchat/et-build/src/executorch
  Building wheel for executorch (pyproject.toml) ... error
  ERROR: Failed building wheel for executorch
Failed to build executorch
ERROR: Could not build wheels for executorch, which is required to install pyproject.toml-based projects

Versions
Operating System Information
Darwin MadMax.local 23.1.0 Darwin Kernel Version 23.1.0: Mon Oct  9 21:33:00 PDT 2023; root:xnu-10002.41.9~7/RELEASE_ARM64_T6031 arm64
Python Version
Python 3.11.8
PIP Version
pip 24.0 from /Users/jessewhite/Documents/source/torchchat/.venv/lib/python3.11/site-packages/pip (python 3.11)
Installed Packages
absl-py==2.1.0
accelerate==0.34.0
aiohappyeyeballs==2.4.0
aiohttp==3.10.5
aiosignal==1.3.1
altair==5.4.1
annotated-types==0.7.0
anyio==4.4.0
attrs==24.2.0
blinker==1.8.2
blobfile==3.0.0
cachetools==5.5.0
certifi==2024.8.30
chardet==5.2.0
charset-normalizer==3.3.2
click==8.1.7
cmake==3.30.2
colorama==0.4.6
DataProperty==1.0.1
datasets==2.21.0
dill==0.3.8
distro==1.9.0
evaluate==0.4.2
filelock==3.15.4
Flask==3.0.3
frozenlist==1.4.1
fsspec==2024.6.1
gguf==0.10.0
gitdb==4.0.11
GitPython==3.1.43
h11==0.14.0
httpcore==1.0.5
httpx==0.27.2
huggingface-hub==0.24.6
idna==3.8
itsdangerous==2.2.0
Jinja2==3.1.4
jiter==0.5.0
joblib==1.4.2
jsonlines==4.0.0
jsonschema==4.23.0
jsonschema-specifications==2023.12.1
lm_eval==0.4.2
lxml==5.3.0
markdown-it-py==3.0.0
MarkupSafe==2.1.5
mbstrdecoder==1.1.3
mdurl==0.1.2
more-itertools==10.4.0
mpmath==1.3.0
multidict==6.0.5
multiprocess==0.70.16
narwhals==1.6.0
networkx==3.3
ninja==<IP_ADDRESS>
nltk==3.9.1
numexpr==2.10.1
numpy==1.26.4
openai==1.43.0
packaging==24.1
pandas==2.2.2
pathvalidate==3.2.1
peft==0.12.0
pillow==10.4.0
portalocker==2.10.1
protobuf==5.28.0
psutil==6.0.0
pyarrow==17.0.0
pybind11==2.13.5
pycryptodomex==3.20.0
pydantic==2.8.2
pydantic_core==2.20.1
pydeck==0.9.1
Pygments==2.18.0
pytablewriter==1.2.0
python-dateutil==2.9.0.post0
pytz==2024.1
PyYAML==6.0.2
referencing==0.35.1
regex==2024.7.24
requests==2.32.3
rich==13.8.0
rouge_score==0.1.2
rpds-py==0.20.0
sacrebleu==2.4.3
safetensors==0.4.4
scikit-learn==1.5.1
scipy==1.14.1
sentencepiece==0.2.0
six==1.16.0
smmap==5.0.1
snakeviz==2.2.0
sniffio==1.3.1
sqlitedict==2.1.0
streamlit==1.38.0
sympy==1.13.1
tabledata==1.3.3
tabulate==0.9.0
tcolorpy==0.1.6
tenacity==8.5.0
threadpoolctl==3.5.0
tiktoken==0.7.0
timm==1.0.7
tokenizers==0.19.1
toml==0.10.2
tomli==2.0.1
torch==2.5.0.dev20240716
torchao @ git+https://github.com/pytorch/ao.git@e11201a62669f582d81cdb33e031a07fb8dfc4f3
torchaudio==2.4.0.dev20240716
torchsr==1.0.4
torchvision==0.20.0.dev20240716
tornado==6.4.1
tqdm==4.66.5
tqdm-multiprocess==0.0.11
transformers==4.42.4
typepy==1.3.2
typing_extensions==4.12.2
tzdata==2024.1
urllib3==2.2.2
Werkzeug==3.0.4
word2number==1.1
xxhash==3.5.0
yarl==1.9.7
zstandard==0.23.0
zstd==<IP_ADDRESS>
PyTorch Version
2.5.0.dev20240716
Collection Complete

Certs were out of date
Resolution Steps
The error you're encountering, SSLCertVerificationError, indicates a problem with SSL certificate verification when attempting to connect securely to GitHub. This usually happens when Python cannot find or trust the root certificates needed to verify GitHub's SSL certificate. Here are a few steps you can take to resolve this issue:
Ran this command and everything started working
/Applications/Python\ 3.11/Install\ Certificates.command


Fix link and remove incorrect version

Node LTS is currently 6.11 but stating a version number here will become outdated so I think recommending the latest LTS is safer

You're absolutely right, and thanks for fixing the link!

Recommended latest LTS. Ready!

Looks like we are good to go with this as per the discussion. Thanks @rootulp 👍


I2S: register I2S object to platform failed

hi ! I flashed with the updated firmware. flash success ! in the lot , I've lot this error :
I2S: register I2S object to platform failed

That error is expected - everything should be working just fine.
Can you confirm?

Yes ! I do . thx

Some details: this is because we call i2s_stream_init() twice - once for audio capture, another time for audio playback. This calls i2s_driver_install(), which throws the error because we already installed the driver. In ESP-IDF 5.0, the I2S driver has been redesigned, but we'd have to wait until ESP-ADF components have been adapted to this new driver.


Improve compatibility with browser by using better APIs

The browser compatibility claimed by this package is only due to bundlers’ polyfills, which are increasingly missing:

https://github.com/APIDevTools/json-schema-ref-parser/issues/257
https://github.com/APIDevTools/json-schema-ref-parser/issues/254
https://github.com/JS-DevTools/ono/issues/17
https://github.com/APIDevTools/json-schema-ref-parser/issues/137
https://github.com/APIDevTools/json-schema-ref-parser/issues/267
https://github.com/APIDevTools/json-schema-ref-parser/blob/5d7f89527ea773cdd37583a3c7ab91ee3b1db5a9/lib/util/url.js#L25-L26
https://github.com/APIDevTools/json-schema-ref-parser/blob/ce236698d79b29ebddd49722a50d0dd1fdc140ff/lib/util/url.js#L3

http and https can be replaced by fetch, which is available in Node 18 and can already be used everywhere with https://github.com/matthew-andrews/isomorphic-fetch. I think this would also avoid Buffer issues
URLs can be parsed with the URL constructor, available globally in Node 10.
They can all be replaced by their modern and cross-platform equivalents or they can use something like globalThis.process?.platform to ensure that they don't immediately fail when missing.

Thank you, this makes for a great Epic for folks to work from.
If anyone can take a swing at knocking out a few of these that sounds be hugely helpful. I’ll have a go at a few right now with a strong drink and see how far I get.

Maybe this help: https://stackblitz.com/edit/webpack-webpack-js-org-vcdpkp?file=src/index.js

Maybe this will help: https://stackblitz.com/edit/webpack-webpack-js-org-vcdpkp?file=src/index.js

I've taken it, please wait for the PR when the Hacktoberfest starts :smile:

it seems node-fetch dependency recreate this issue.
How to compile it now for browsers in webpack ?


connect for named pipes

connect as designed in
[https://docs.microsoft.com/en-us/windows/win32/ipc/named-pipe-client](MSDN's
named-pipe-client).

Win32-netork: do not re-export createFile from NamedPipes module
Added System.Win32.NamedPipe.connect
Added waitNamedPipe Win32 syscall
Modify demo-chain-sync

There's more than needed, I'll need to rebase this branch when #1876 gets
merged to get rid of this patches:

Use sensible buffer sizes for Windows named pipes
Simplify the HardForkHistory code

Fixes #1874.

bors merge

bors merge


Is it possible to run the code in a single computer?

Hi!
Thank you for providing such a great program.
Is it possible to run the code in a single computer?
Looking forward to your reply.

Hi Jim,
Yes, you can run detection and tracking (and actually all modules) on a single computer as long as it has sufficient GPU resources.
The single camera examples are a good place to start-  for example, see https://github.com/OpenPTrack/open_ptrack_v2/wiki/Person-Single-Camera
Jeff
From: Jim Zhou<EMAIL_ADDRESS>Reply-To: OpenPTrack/open_ptrack_v2<EMAIL_ADDRESS>Date: Sunday, July 14, 2019 at 9:36 PM
To: OpenPTrack/open_ptrack_v2<EMAIL_ADDRESS>Cc: Subscribed<EMAIL_ADDRESS>Subject: [OpenPTrack/open_ptrack_v2] Is it possible to run the code in a single computer? (#71)
Hi!
Thank you for providing such a great program.
Is it possible to run the code in a single computer?
Looking forward to your reply.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/OpenPTrack/open_ptrack_v2/issues/71?email_source=notifications&email_token=AADFGR6535B5DPEEVPAHPGTP7P5F7A5CNFSM4IDTDSV2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G7EFBSA, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AADFGR7HGO6RKR2UUIQJHG3P7P5F7ANCNFSM4IDTDSVQ.

@jburkeucla Thank you very much. I mean several Kinect2 cameras connected on one computer. Is there any simple tutorial?

Multiple Kinect2s is possible if you have the GPU resources; you have to manually specify the imager serial number in the detection startup.  I don’t believe we have a tutorial but will check.
From: Jim Zhou<EMAIL_ADDRESS>Reply-To: OpenPTrack/open_ptrack_v2<EMAIL_ADDRESS>Date: Sunday, July 14, 2019 at 10:41 PM
To: OpenPTrack/open_ptrack_v2<EMAIL_ADDRESS>Cc: Jeff Burke<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [OpenPTrack/open_ptrack_v2] Is it possible to run the code in a single computer? (#71)
@jburkeuclahttps://github.com/jburkeucla Thank you very much. I mean several Kinect2 cameras connected on one computer. Is there any simple tutorial?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/OpenPTrack/open_ptrack_v2/issues/71?email_source=notifications&email_token=AADFGR4QUDRDUUSTFQ6AY4DP7QEZ5A5CNFSM4IDTDSV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODZ4YE3I#issuecomment-511279725, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AADFGR2APMERZQNYM3RZD3DP7QEZ5ANCNFSM4IDTDSVQ.

Hello!
I tyied to install it on Ubuntu 16.04, NVIDIA RTX 2080, but failed. Is it because RTX 2080 doesn't support nvidia-384 driver?

The 2080 should be supported – what does nvidia-smi return?  Are you trying to run from a docker image or source?   How is it failing?
From: Jim Zhou<EMAIL_ADDRESS>Reply-To: OpenPTrack/open_ptrack_v2<EMAIL_ADDRESS>Date: Tuesday, July 16, 2019 at 8:10 PM
To: OpenPTrack/open_ptrack_v2<EMAIL_ADDRESS>Cc: Jeff Burke<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [OpenPTrack/open_ptrack_v2] Is it possible to run the code in a single computer? (#71)
Hello!
I tyied to install it on Ubuntu 16.04, NVIDIA RTX 2080, but failed. Is it because RTX 2080 doesn't support nvidia-384 driver?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/OpenPTrack/open_ptrack_v2/issues/71?email_source=notifications&email_token=AADFGR2MNJEPKM2WPYRWD5DP72EQDA5CNFSM4IDTDSV2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2C4PPQ#issuecomment-512083902, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AADFGR7RY3TU6YOAKPIAPPLP72EQDANCNFSM4IDTDSVQ.

@jburkeucla Thank you for your kind reply.
Both methods have been tried.
I installed the driver and rebooted. The OS stuck in Login Loop, though I stoped lightdm and disabled nouveau.
Now I'm trying nvidia-431 driver, CUDA 10.1 and cuDNN 7.6.1. OpenCV built failed. I'm trying opencv 3.4 ...

Thank you.
Now I have built the software environment successfully. But I meet a new problem. How can I do ( multi-kinect2 ) extrinsic calibration in one computer?
Can anyone help me?

It seems that I can't add two kinects to one computer.
When I add the second one, the first becomes
[ INFO] [1564541428.495658310]: [Kinect2Bridge::main] color processing: ~-nanms (~-nanHz) publishing rate: ~0Hz [ INFO] [1564541431.497053986]: [Kinect2Bridge::main] color processing: ~-nanms (~-nanHz) publishing rate: ~0Hz [ INFO] [1564541434.501169380]: [Kinect2Bridge::main] color processing: ~-nanms (~-nanHz) publishing rate: ~0Hz [ INFO] [1564541437.504666227]: [Kinect2Bridge::main] color processing: ~-nanms (~-nanHz) publishing rate: ~0Hz
And the second one shows
`[kinect02_bridge-2] restarting process
process[kinect02_bridge-2]: started with pid [11400]
[ INFO] [1564541316.503123226]: Loading nodelet /kinect02_bridge of type kinect2_bridge/kinect2_bridge_nodelet to manager kinect02 with the following remappings:
[ INFO] [1564541316.597298713]: [Kinect2Bridge::initialize] parameter:
base_name: kinect02
sensor: default
fps_limit: -1
calib_path: /home/sdu123456/workspace/ros/src/iai_kinect2/kinect2_bridge/data/
use_png: false
jpeg_quality: 90
png_level: 1
depth_method: default
depth_device: -1
reg_method: default
reg_device: -1
max_depth: 12
min_depth: 0.1
queue_size: 5
bilateral_filter: true
edge_aware_filter: true
publish_tf: false
base_name_tf: kinect02
worker_threads: 4
exposure_method0
exposure_compensation0
pseudo_exposure_time_ms33
pseudo_exposure_time_ms33
integration_time_ms33
[Info] [CudaDepthPacketProcessorImpl] device 0: GeForce RTX 2080 Ti @ 1545MHz Memory 11018MB
[Info] [CudaDepthPacketProcessorImpl] selected device 0
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 25 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @10:3 with serial<PHONE_NUMBER>42
[Info] [Freenect2Impl] found valid Kinect v2 @4:2 with serial<PHONE_NUMBER>47
[Info] [Freenect2Impl] found 2 devices
[ INFO] [1564541316.609962584]: [Kinect2Bridge::initDevice] Kinect2 devices found:
[ INFO] [1564541316.610035089]: [Kinect2Bridge::initDevice]   0:<PHONE_NUMBER>42 (selected)
[ INFO] [1564541316.610093630]: [Kinect2Bridge::initDevice]   1:<PHONE_NUMBER>47
[Info] [Freenect2DeviceImpl] opening...
[Error] [protocol::UsbControl] failed to claim interface with ControlAndRgbInterfaceId(=0)! LIBUSB_ERROR_BUSY Resource busy. Try debugging with environment variable: export LIBUSB_DEBUG=3 .
[Info] [Freenect2DeviceImpl] closing...
[Error] [protocol::CommandTransaction] bulk transfer failed: LIBUSB_ERROR_IO Input/Output Error
[Error] [protocol::CommandTransaction] bulk transfer failed: LIBUSB_ERROR_IO Input/Output Error
[Info] [Freenect2DeviceImpl] deallocating usb transfer pools...
[Info] [Freenect2DeviceImpl] closing usb device...
[Info] [Freenect2DeviceImpl] closed
[Error] [Freenect2Impl] failed to open Kinect v2: @10:3
[ INFO] [1564541316.733787973]: [Kinect2Bridge::initDevice] no device connected or failure opening the default one!
[ERROR] [1564541316.733864317]: [Kinect2Bridge::start] Initialization failed!
[FATAL] [1564541316.829631745]: Failed to load nodelet '/kinect02_bridgeof typekinect2_bridge/kinect2_bridge_nodeletto managerkinect02'
[kinect02_bridge-2] process has died [pid 11400, exit code 255, cmd /opt/ros/kinetic/lib/nodelet/nodelet load kinect2_bridge/kinect2_bridge_nodelet kinect02 __name:=kinect02_bridge __log:=/home/sdu123456/.ros/log/4ac1674c-b33d-11e9-8cfd-54bf64a0f5c5/kinect02_bridge-2.log].
log file: /home/sdu123456/.ros/log/4ac1674c-b33d-11e9-8cfd-54bf64a0f5c5/kinect02_bridge-2*.log`
How can I solve this problem?

I can't detect all the Kinect v2s. Why?
[Info] [CudaDepthPacketProcessorImpl] device 0: GeForce RTX 2080 Ti @ 1545MHz Memory 11018MB
[Info] [CudaDepthPacketProcessorImpl] selected device 0
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 24 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @10:3 with serial<PHONE_NUMBER>42
[Info] [Freenect2Impl] found 1 devices
[ INFO] [1564542655.565172025]: [Kinect2Bridge::initDevice] Kinect2 devices found:
[ INFO] [1564542655.565245613]: [Kinect2Bridge::initDevice]   0:<PHONE_NUMBER>42 (selected)

Have you set up you camera_network.yaml file with the serial number of each Kinect?  If not, please see this section of the tutorial.

enable_people_tracking: true
enable_pose: true
enable_object: true
Camera network parameters
network:

pc: "PC_ONLY"
sensors:

type: kinect2
id: "kinect01"
serial: "500301542742"
people_detector: hog
type: kinect2
id: "kinect02"
serial: "004481451147"
people_detector: hog
type: kinect2
id: "kinect03"
serial: "019938543547"
people_detector: hog
type: kinect2
id: "kinect04"
serial: "009249464747"
people_detector: hog

Checkerboard parameters
checkerboard:
rows: 5
cols: 7
cell_width: 0.03
cell_height: 0.03
@bsubbaraman Thank you. Is it right?

Anyway, I can only run one Kinect v2 at one time.

[Error] [protocol::CommandTransaction] bulk transfer failed: LIBUSB_ERROR_IO Input/Output Error
[Error] [protocol::CommandTransaction] bulk transfer failed: LIBUSB_ERROR_IO Input/Output Error

Hello, I define kinect01 to serial 500... but it automatically select 019...
[ INFO] [1564551925.694413728]: [Kinect2Bridge::initDevice] Kinect2 devices found:
[ INFO] [1564551925.694489813]: [Kinect2Bridge::initDevice]   0:<PHONE_NUMBER>47 (selected)
[ INFO] [1564551925.694542352]: [Kinect2Bridge::initDevice]   1:<PHONE_NUMBER>42
[ INFO] [1564551925.694587573]: [Kinect2Bridge::initDevice]   2:<PHONE_NUMBER>47
[ INFO] [1564551925.694625023]: [Kinect2Bridge::initDevice]   3:<PHONE_NUMBER>47

Hello!
I connect 4 kinect v2s to one computer. But every time it can only select the first one. How can I deal with it?
Camera Network Calibration
By the way, I can run 4 kinects with 4 Protonect (libfreenect2 example) programs. But it fail with your project.
Thank you.
logging to /home/sdu123456/.ros/log/fd69dc2e-b353-11e9-9d9c-54bf64a0f5c5/roslaunch-123456-21612.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://<IP_ADDRESS>:32883/

SUMMARY
========

PARAMETERS
 * /kinect01_bridge/analog_gain: 2.0
 * /kinect01_bridge/base_name: kinect01
 * /kinect01_bridge/base_name_tf: kinect01
 * /kinect01_bridge/bilateral_filter: True
 * /kinect01_bridge/calib_path: /home/sdu123456/w...
 * /kinect01_bridge/depth_device: -1
 * /kinect01_bridge/depth_method: default
 * /kinect01_bridge/edge_aware_filter: True
 * /kinect01_bridge/exposure_compensation: 0.0
 * /kinect01_bridge/exposure_method: 0
 * /kinect01_bridge/fps_limit: -1.0
 * /kinect01_bridge/integration_time_ms: 33.0
 * /kinect01_bridge/jpeg_quality: 90
 * /kinect01_bridge/max_depth: 12.0
 * /kinect01_bridge/min_depth: 0.1
 * /kinect01_bridge/png_level: 1
 * /kinect01_bridge/pseudo_exposure_time_ms: 33.0
 * /kinect01_bridge/publish_tf: False
 * /kinect01_bridge/queue_size: 5
 * /kinect01_bridge/reg_device: -1
 * /kinect01_bridge/reg_method: default
 * /kinect01_bridge/respawn: True
 * /kinect01_bridge/sensor:
 * /kinect01_bridge/start_manager": True
 * /kinect01_bridge/use_machine: True
 * /kinect01_bridge/use_nodelet": True
 * /kinect01_bridge/use_png: False
 * /kinect01_bridge/worker_threads: 4
 * /kinect01_points_xyzrgb_hd/queue_size: 5
 * /kinect01_points_xyzrgb_qhd/queue_size: 5
 * /kinect01_points_xyzrgb_sd/queue_size: 5
 * /rosdistro: kinetic
 * /rosversion: 1.12.14

NODES
  /
    kinect01 (nodelet/nodelet)
    kinect01_bridge (nodelet/nodelet)
    kinect01_broadcaster (tf/static_transform_publisher)
    kinect01_points_xyzrgb_hd (nodelet/nodelet)
    kinect01_points_xyzrgb_qhd (nodelet/nodelet)
    kinect01_points_xyzrgb_sd (nodelet/nodelet)

ROS_MASTER_URI=http://localhost:11311

process[kinect01-1]: started with pid [21629]
process[kinect01_bridge-2]: started with pid [21630]
process[kinect01_points_xyzrgb_sd-3]: started with pid [21631]
process[kinect01_points_xyzrgb_qhd-4]: started with pid [21632]
[ INFO] [1564553162.413175038]: Loading nodelet /kinect01_bridge of type kinect2_bridge/kinect2_bridge_nodelet to manager kinect01 with the following remappings:
[ INFO] [1564553162.421856783]: waitForService: Service [/kinect01/load_nodelet] has not been advertised, waiting...
process[kinect01_points_xyzrgb_hd-5]: started with pid [21645]
[ INFO] [1564553162.437399061]: Initializing nodelet with 20 worker threads.
process[kinect01_broadcaster-6]: started with pid [21684]
[ INFO] [1564553162.447359664]: waitForService: Service [/kinect01/load_nodelet] is now available.
[ INFO] [1564553162.566830843]: [Kinect2Bridge::initialize] parameter:
        base_name: kinect01
           sensor: default
        fps_limit: -1
       calib_path: /home/sdu123456/workspace/ros/src/iai_kinect2/kinect2_bridge/data/
          use_png: false
     jpeg_quality: 90
        png_level: 1
     depth_method: default
     depth_device: -1
       reg_method: default
       reg_device: -1
        max_depth: 12
        min_depth: 0.1
       queue_size: 5
 bilateral_filter: true
edge_aware_filter: true
       publish_tf: false
     base_name_tf: kinect01
   worker_threads: 4
exposure_method0
exposure_compensation0
pseudo_exposure_time_ms33
pseudo_exposure_time_ms33
integration_time_ms33

[Info] [CudaDepthPacketProcessorImpl] device 0: GeForce RTX 2080 Ti @ 1545MHz Memory 11018MB
[Info] [CudaDepthPacketProcessorImpl] selected device 0
[Info] [Freenect2Impl] enumerating devices...
[Info] [Freenect2Impl] 27 usb devices connected
[Info] [Freenect2Impl] found valid Kinect v2 @10:7 with serial<PHONE_NUMBER>47
[Info] [Freenect2Impl] found valid Kinect v2 @8:5 with serial<PHONE_NUMBER>42
[Info] [Freenect2Impl] found valid Kinect v2 @6:4 with serial<PHONE_NUMBER>47
[Info] [Freenect2Impl] found valid Kinect v2 @4:4 with serial<PHONE_NUMBER>47
[Info] [Freenect2Impl] found 4 devices
[ INFO] [1564553162.929316554]: [Kinect2Bridge::initDevice] Kinect2 devices found:
[ INFO] [1564553162.929393402]: [Kinect2Bridge::initDevice]   0:<PHONE_NUMBER>47 (selected)
[ INFO] [1564553162.929440278]: [Kinect2Bridge::initDevice]   1:<PHONE_NUMBER>42
[ INFO] [1564553162.929475943]: [Kinect2Bridge::initDevice]   2:<PHONE_NUMBER>47
[ INFO] [1564553162.929513769]: [Kinect2Bridge::initDevice]   3:<PHONE_NUMBER>47
[Info] [Freenect2DeviceImpl] opening...
[Info] [Freenect2DeviceImpl] transfer pool sizes rgb: 20*16384 ir: 60*8*33792
[Info] [Freenect2DeviceImpl] opened
[ INFO] [1564553163.040266328]: [Kinect2Bridge::initDevice] starting kinect2
[Info] [Freenect2DeviceImpl] starting...
[Info] [Freenect2DeviceImpl] submitting rgb transfers...
[Info] [Freenect2DeviceImpl] submitting depth transfers...
[Info] [Freenect2DeviceImpl] started
[ INFO] [1564553163.392867100]: [Kinect2Bridge::initDevice] device serial:<PHONE_NUMBER>47
[ INFO] [1564553163.392946694]: [Kinect2Bridge::initDevice] device firmware: 4.0.3916.0
[Info] [Freenect2DeviceImpl] stopping...
[Info] [Freenect2DeviceImpl] canceling rgb transfers...
[Info] [Freenect2DeviceImpl] canceling depth transfers...
[Info] [Freenect2DeviceImpl] stopped
[ERROR] [1564553163.805687287]: [Kinect2Bridge::loadCalibrationDepthFile] can't open calibration depth file: /home/sdu123456/workspace/ros/src/iai_kinect2/kinect2_bridge/data/019938543547/calib_depth.yaml
[ WARN] [1564553163.805776587]: [Kinect2Bridge::initCalibration] using defaults for depth shift.
[ INFO] [1564553163.846671477]: [DepthRegistration::New] Using OpenCL registration method!
[ INFO] [1564553163.846755926]: [DepthRegistration::New] Using OpenCL registration method!
[ INFO] [1564553163.857542009]: [DepthRegistrationOpenCL::init] devices:
[ INFO] [1564553163.857731409]: [DepthRegistrationOpenCL::init]   0: GeForce RTX 2080 Ti
[ INFO] [1564553163.858216924]: [DepthRegistrationOpenCL::init] selected device: GeForce RTX 2080 Ti
[ INFO] [1564553164.004596112]: [DepthRegistrationOpenCL::init] devices:
[ INFO] [1564553164.004701868]: [DepthRegistrationOpenCL::init]   0: GeForce RTX 2080 Ti
[ INFO] [1564553164.004756285]: [DepthRegistrationOpenCL::init] selected device: GeForce RTX 2080 Ti
[ INFO] [1564553164.174292035]: [Kinect2Bridge::main] waiting for clients to connect
[ INFO] [1564553164.359695198]: [Kinect2Bridge::callbackStatus] client connected. starting device...
[Info] [Freenect2DeviceImpl] starting...
[Info] [Freenect2DeviceImpl] submitting rgb transfers...
[Info] [Freenect2DeviceImpl] started
[Info] [RgbPacketStreamParser] packetsize or sequence doesn't match!
[ INFO] [1564553167.719550216]: [Kinect2Bridge::main] color processing: ~13.5662ms (~73.7125Hz) publishing rate: ~25.2559Hz

Hello!
I have solved this problem.
I meet this problem because your code is for one-to-one connection. When multiple sensors are connected to one PC, we should distinguish them by (Kinect) sensor serial. Previously I add <arg name="sensor"              value="$(arg sensor_id)" /> to each sensor_<sensor_id>.launch and detection_node_<sensor_id>.launch manually. And it works for me. Then I try to fix the bug from your code. So here comes Support multiple sensors.
Thank you for your nice tool.


Design a dynamic platform theming mechanism between Material and Cupertino

Provide an easy way for developers to insert a simple widget whose UI conforms to Material or Cupertino depending on runtime platform

One concrete example for a semi-complex case where we probably want the experience to be magical-ish without too much user selection is with page routes.
Currently the dependency is:
material.MaterialPageRoute -> material._MountainViewPageTransition
                           -> material._CupertinoPageTransition

So the graph is
user's app
material [_MountainViewPageTransition, _CupertinoPageTransition]
widget
We'd need to clear up the dependency graph a bit. Starting from the graph down, we probably want:
user's app
platform dynamic
material / cupertino
widget
So one unpolished idea might be to do something like:
platform_widget(or something).PlatformPageRoute -> material.MaterialPageTransition
                                                -> cupertino.CupertinoPageTransition

which implies a user API change from pushing MaterialPageRoute to PlatformPageRoute.
or we can do something like:
material.MaterialPageRoute -> widget.PageTransition => platform_widget.PlatformPageTransition -> material.MaterialPageTransition
                                                                                -> cupertino.CupertinoPageTransition

which implies we're saying the users don't have to manually think about page transitions and the Material spec is automatically platform dynamic. We'd also have to do the dependency injection of widget.PageTransition -> platform_widget.PlatformPageTransition in the MaterialApp.

https://material.io/guidelines/patterns/navigational-transitions.html
Doesn't really say anything about any platform specific page transitions and basically says all parent->child transitions are hero transitions. If we take it literally, we still need to do something for #8726 since not every user wants to strictly adhere to Material design.
Which makes me lean more towards option 1 where the user specifies that he wants a platform dynamic page route (and perhaps will be overriden with a hero navigation observer most of the time).
cc @HansMuller

Material Design has a notion of adapting to the target platform.  That means it's conceptually fine for material.dart to take a dependency on cupertino.dart and for MaterialPageRoute to know about both _MountainViewPageTransition and _CupertinoPageTransition.
Another way to approach this thought experiment is to build a pure CupertinoPageRoute and then see what parts of its machinery MaterialPageRoute wants to use in order to adapt to iOS.

Developers may want to control the mapping from generic components to potentially platform-specific ones.  In other words rather than providing generic components that just map from the platform to some platform-specific component (or transition or whatever), developers might prefer for control to flow through a look-and-feel theme that they can customize.  Maybe I'd like generic buttons to map to MyButton and route transition durations to be 500ms. If the l&f theme was an inherited widget I could configure for the app or a subtree.

@HansMuller that's always going to be true in any of the options. Users can always pick a specific route or transition. If there were dynamic wrappers, they're just a thin convenience layer.

Chatted offline. So conceptually, instead of making Cupertino and Material siblings with each meaning a full spec'ed design opinion and components for iOS and Android and having a common parent, we'll extract MountainView out of Material and make MountainView and Cupertino siblings. Those will be the basic OS components that have less value add if the developers remade them. Material will be the opinionated design usage of MountainView and Cupertino base components. And the user that wants to create non-Material apps can reuse MountainView and not have to recreate non-value-add basic components.
(cc @sethladd https://docs.google.com/presentation/d/1cw7A4HbvM_Abv320rVgPVGiUP2msVs7tfGbkgdrTy0I/edit?ts=58d9dd75#slide=id.gbb3c3233b_0_162)

Is there any documentation about rendering the correct widgets for each platform? I thought there was but I'm not sure anymore.

Is this behaviour set in the MaterialApp, theme property, like
theme: new ThemeData(         platform: Theme.of(context).platform == TargetPlatform.iOS ? TargetPlatform.iOS : TargetPlatform.android       ),

@pspeter3 I don't think there was. After much digging the closest thing I could find was this by @emshack 👏

Either that or providing people a way to think about cross platform well. Right now, I feel like I would either write many Builders similar to what you wrote or leave switch statements scattered across the code.

I recently struggled with this, and kinda ditched it because it got a little too tedious for me.
All I really want is a way to get Platform Specific AppBar's (ios Navbars), BottonNavigtionBar (ios TabBar), spinners, and dialogs without extra effort. Those are the main pieces that really stand out to me that I feel like MUST be in the native design language.

👏

cc @willlarche - you may be interested in seeing above what some of our developers are saying they would like from Flutter in terms of automatic cross-platformness (beyond what Material is defined as doing today).

second pleases. https://ionicframework.com display platform styled widget, but expose the same interface.

I'd prefer the second option as well.

Second option for me as well.
If I am not wrong, it should be something like what this library is doing: https://pub.dartlang.org/packages/flutter_platform_widgets

I'm curious about what people would actually like here. For something like the back button, we do this automatically already. For something a little more elaborate, like a regular text button, one could imagine a control that automatically switches between Cupertino and Material variants. But what about more complicated things? For example, the Switch control is a different size on iOS and Material, what should happen when you use that? Should it change size? Be the biggest size? What about something like a checkbox, which exists on Material but not iOS? Or Navigator, which works entirely differently in Material and iOS paradigms?

To somewhat second Hixie, as we try to make this more concrete, it's becoming clearer that these are questions that need to be answered at design time rather than implementation time (and even less so doing it implicitly).
Even for relatively simple things like sliders and dialogs, in Material, sliders can have manually editable numeric fields, iOS does not. With dialogs, Material specs against having more than 2 responses while UIAlertController supports a vertical scrollable list of actions when there are more than 2 (though discouraged). The interchangeability of dialog/alerts and action sheets is also greater on iOS and requires more design level subjectivity. What should the API be in a common widget?
At mid-level complexity: the Material app bar supports toggling into contextual actions mode and having stateful actions (such as the pin button in Google Inbox). iOS's navigation bar commonly has segmented controls in lieu of a title. Material bottom sheets are highly flexible, can be dismissible without choosing any action, can be scrollable/expandable, can even expand into full screens themselves. iOS action sheets are always modal, can't contain arbitrary widgets and aren't even necessarily anchored at the bottom of the screen on iPads. What to do in each case are answers your apps' designers need to answer.
At your application's information architecture level, the 2 designs can diverge on the general pattern. In iOS, tab bars with parallel navigation stacks are common. Page navigations occur inside of tabs generally but you can also summon full screen modals that presents pages over the tabs. With Material, what the HIG calls "Flat Navigation" isn't common practice and lateral navigation happens in one page at the hierarchy root level via commonly the drawer. This can create entirely different app experiences. You can navigate to the same sub-item from a feed in tab 1 and from search in tab 2 on iOS. You can go into a profile tab in tab 3, change some app-wide setting and go back to tab 1. These interactions aren't possible if lateral navigation only happen at the root. These are all product/design level questions that are likely too late to try to answer at implementation time.
Given the need to make design choices, there are 2 choices we can take (and get community feedback on).
1- Present an opinionated and (arbitrarily) shrunk down set of widgets that takes the minimally supported API options from both while making compromises clearly documented. e.g. there's always 2 choices on dialogs, common app/nav bars can't have iOS 11 style large titles or be translucent etc. Since these design choices aren't inherently related to Material or Cupertino themselves, they can't be in either packages and should be separate Flutter package in pub.
2- Produce a design spec that specifies what happens in the harder cases such as the app's IA such that it's coherent in both cases. Though this is clearly a harder task and could still imply some design choices are either excluded (no sliders with manual value edits) or not platform adapting (only simple bottom/action sheets. If you try to use expandable, you need to fallback to straight Material design).
Orthogonally to all of this, some UI are always going to be 'wrong' if not done, such as back swipe navigations on iOS or iOS scroll physics on Android. For those, we always auto-adapt to the platform.

In order to move this issue forward and to take concrete action based on user feedback, I've created a doc http://bit.ly/flutter-adaptive-widget-problem to clarify terminology around this nebulous concept and hopefully break it down into smaller bits.
Please give us your feedback in terms of what specifically is desired with respect to 'dynamic adaptations'. Once we have some feedback, we can close this issue and break it down into smaller specific actionable issues.

@xster The document you provided is very helpful. I think automatic switching on types 3 and 4 is very helpful. In addition, just to add to the conversation, something like https://pub.dartlang.org/packages/flutter_platform_widgets
would also be incredibly helpful.

We haven't received any actionable feedback from http://bit.ly/flutter-adaptive-widget-problem so we're closing this issue and branching off the subset (type 4) of the problem that's solvable in #33830.
@ShadyBoukhary, for type 3, specifically based on http://bit.ly/flutter-adaptive-widget-problem, which compromises would you like us to make (such as in the dialog/dropdown/action sheet/picker/pop-up many-to-many scenario)?

This feels a lot like the discussions when Swing was first introduced.
Basically, what people WANT is the ability to say something like ( child: Text( “some text” ) ) and have the platform draw an OEM or OEM-ish textbox without thinking any more about it. When you build a material app you’re essentially agreeing to have the whole thing look like Android unless you take other actions. The DESIRE in the community is for it to look like the device’s native design language without taking extra steps.
That’s hard. But that’s what people want. Adding class decoration or different types just makes for clunkier code, and IMO, should only be necessary when you really, really want to decorate something in a very particular way.
For me and my company, we just say screw it... you get an Android-looking app while we continue to evaluate what Flutter really does for us that we can’t get with Native, beyond just the kitsch of saying we can work in Flutter. Which not one single customer has ever heard of (yet). :)
The hope of “write once, run everywhere” is still very much in its youth because every time you blink, another new company, another new platform, another new “better idea” pops up, and now you’ve got to decide between Ionic, React Native (bleh), Trigger, Flutter, and... let’s see what’s next.
Great goal. Competing platforms may drive platform enhancements and updates and innovations, but also further fragments the landscape.
At least Flutter came from one of the big campuses, and it’s pretty much the only cross-platform tool that has. That’s power. I don’t see Apple ever building XCode for Android, and native Android development is akin to eating a live rattlesnake, so at the very least, Flutter brings WAY more approachability to “native”-enough development for Android. If nothing else ever comes of it in terms of cross-platform adoption, THAT ALONE is well, well worth the price of admission.
$.02

Hello from the Flutter team!
If you’re following this discussion, we are looking for a few Flutter developers to share their experience on developing Flutter apps that have a platform-specific look & feel for both iOS and Android.
Details of the study:

The duration of the remote study is 60 minutes.
You will be asked to provide your published app’s URLs to both app stores and walk through the design to development process, including getting design spec and Flutter implementation of platform-specific theming on both iOS and Android.
You will receive a gift code after attending the session.

If you’re interested, please fill out this short questionnaire: https://forms.gle/i7uWQohBdGh2nanWA to verify your eligibility.
Thank you very much for your help!


Fix reloading of the configuration from HTTP(S)

The HttpWatcher didn't propagate the observed last modification time back to the configuration.
As a result, each new Configuration had the same last modification date as the first one and the reconfiguration process looped.
Closes #2937

Accidentally I had to rewrite HttpThreadContextMapTest. I believe it exploited the fact that its JSON configuration was reloaded every monitor interval. I'll double check that.
Since HttpThreadContextMapTest used Jetty, I rewrote also UrlConfigurationFactoryTest and removed Jetty from the dependencies of log4j-core-test (fixes #2813).

@vy, could you take a look at this?

Regarding the Source and ConfigurationSource change I added nullability annotations to both.
ConfigurationSource is basically a triple (Source, byte[] and a long timestamp). The source and data fields can be null, but not at the same time. All the ConfigurationSource#getUri() and similar methods are delegated to Source#getUri(), unless the source field is null.
If we look at the Source class, the uri and location fields can not be null, since each constructor throws something if this happens. The only constructor that does not throw if uri or location are null is the one that takes ConfigurationSource as parameter. I would propose to deprecate that constructor in the next minor release, since it introduces an artificial cyclical dependency between Source and ConfigurationSource.
I have modified the 2 call sites that use the Source(ConfigurationSource) constructor to use more appropriate ones.

While merging #2963, which was based on this PR, I accidentally merged part of these modifications.
It is fixed now, but a force-push was necessary, sorry.


Adds support for FasterWhisper

WHAT

Install faster_whisper package side-by-side
Adds faster boolean parameter to transcribe and detect-language APIs to switch between models at request time
Adds utils for faster_whisper module to support whisper style helpers

WHY

#78 #79

CHANGELOG

Adds docker compose support
Better poetry cache handling in Dockerfile
Whisper model download and conversion for faster_whisper is done at docker image build stage

Really looking forward to this!

Thanks for your contribution, I will merge it soon.

Hi! Thanks for your work!
I builded a docker with alienware's repo on windows 11 and had some troubles.
But finally it worked when you follow the information from #83 and change line 21 of Dockerfile.gpu to && $POETRY_VENV/bin/pip install "poetry==1.4.0" and keep an eye on the line endings of the faster_whisper_model_converstion.sh because it doesn't get executed at windows right now. Adding this to line 40 did the trick for me:

RUN sed -i 's/\r$//' faster_whisper_model_conversion.sh  && \
chmod +x faster_whisper_model_conversion.sh

Hi, I tried out this PR but got the error:
RuntimeError: Unable to open file 'model.bin' in model '/root/.cache/faster_whisper'
after running podman build -t fast-whisper . && podman run  -d -p 9000:9000 -e ASR_MODEL=large-v2 localhost/fast-whisper

Update. I got around this issue by adding this to the Dockerfile:
+ENV ASR_MODEL="large-v2"
+
+# TODO: Skip based on ENV variable
+RUN ./faster_whisper_model_conversion.sh ${ASR_MODEL}

But after starting the container, there is no response on port 9000 nor any errors in the logs. Any tips on where to debug this?

@tarjei My guess with be to use podman logs command to check the pod logs.

You may also consider using https://pypi.org/project/whisper-ctranslate2/

Would love support for faster whisper!

I will have some changes on ahmetoner:faster-whisper. After finish, I will merge it with main branch.


[bug] Excessive swap may result in slower builds

Document Bug Report
Document URL:
https://starcoinorg.github.io/starcoin-cookbook/zh/docs/getting-started/install/build/
Describe the document's bug:

In my experience, using a larger Swap than memory will result in slower loading of links
At the same time, too many cpu threads are also one of the reasons for link errors.
It is more appropriate to use a single thread for 4GB Ram, otherwise there may be a compilation error and need to be recompiled several times
Other information:

I do some tests, and got the following conclusions:
In the case of low machine configuration, if the swap is enabled, then the size of swap must be greater than or equal to RAM, otherwise the link will fail.
Another situation is that if the memory is large enough, the best way is to disable swap to reduce the time of disk IO.
Notice:
For low configuration machines, the core number of control is the key to greatly improve the compilation efficiency.
For example:
cargo build -j 1

I think your testing process is great
you can add relevant conclusions to the document
These conclusions can allow users to find the direction of the solution


speed up job delete

When a job is deleted in Combine, the Record table contains records with FK pointers to the Job table.  So, deleting job 42, might require deleting 100k rows from the Record table.
While Django can handle this, it does so by emulating SQL's ON DELETE CASCADE.  In all likelihood, this might normally be just as fast and efficient as InnoDB's native index for FKs, but, this might be due to an internal indexing pattern by Django.  In our situation, even though the core_record table was created by Django, we are writing the rows directly to this DB table  from Spark with jdbc.write().  In this way, we might be bypassing any indexing internal to Django that would speed up the delete.
Holding off on this for now, but will need to return.  Deleting a job with ~45k records takes 7-10 seconds, but this just increases as the Record table grows.

Switched to Django not managing tables core_record and core_indexmappingfailure, but instead, creating these tables manually outside of Django context.  Django still has models, but does not manage them.
Instead, relying on InnoDBs index for deleting related FKs.  Early tests show delete for ~45k records down from 20-30s to virtually instant.

170k records, about 13 seconds to delete, whereas originally 4+ minutes.
Still drastically quicker, but keeping re-opening this issue for now, to keep on radar.

Job deletion might also be related to removing ES index.  Might be good to benchmark all aspects of job deletion, get a sense of what parts are slow.

Consider moving job deletion to Spark job?  This could set status of job to deleting, and would run in the background.  Yes, this would queue any other jobs, but would allow the front-end to move along.
It would not utilize Spark for parallelism, but would leverage it for background tasks.

Extending this idea a bit more, deleting now a job for 2.4m records.  While perhaps not tuned, it's going to take time.  Having job deletes as a background task is likely the way to go.
Using Spark would be interesting, as it would naturally block and ensure that nothing else could use MySQL heavily as well.


Add illiniCloudDev's file

create a branch,
create a file and
made a commit, and
open a pull request

very good work

gg


Allow multiple OU types selection in the completeness_stats table

When using the new completeness table, selecting multiple OU types (which was doable in the FE) triggered an error.
Self proof reading checklist

[x] Did I use eslint and black formatters
[x] Is my code clear enough and well documented

How to test

Go to the completeness table
Make sure you can filter by OU types (either no selection, one OU type or multiple OU types)

When using the new completeness table, selecting multiple OU types (which was doable in the FE) triggered an error.
Self proof reading checklist
* [x]  Did I use eslint and black formatters

* [x]  Is my code clear enough and well documented

How to test
* Go to the completeness table

* Make sure you can filter by OU types (either no selection, one OU type or multiple OU types)

Please put the Jira ticket number in the PR title, it makes it easier to find

@quang-le: I've had a look at the performances issues and noted that the response is indeed very slow if we request an orgUnit type at the bottom of the tree (=> many results). This is because the pagination is implemented fully in Python and not at the database.  I've created a new issue for this (IA-1655) since this is not directly related to this PR, but only revealed by this.
Therefore, I suggest approving/merging this PR (if all the rest looks ok to you) and continue the performance work in IA-1655. Does that makes sense?

@quang-le: I've had a look at the performances issues and noted that the response is indeed very slow if we request an orgUnit type at the bottom of the tree (=> many results). This is because the pagination is implemented fully in Python and not at the database. I've created a new issue for this (IA-1655) since this is not directly related to this PR, but only revealed by this.
Therefore, I suggest approving/merging this PR (if all the rest looks ok to you) and continue the performance work in IA-1655. Does that makes sense?

It depends on how dependent the next steps of the completeness feature depend on this. It's really unusable in the UI. We should then at least hide it in the meantime, because if it's slow on my machine, it may just as well end up crashing in prod