IML chroma-agent-daemon: InsecureRequestWarning

Describe the bug
Disable insecure requests warning is not working. This statement "urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning)" in /usr/lib/python2.7/site-packages/chroma_agent/agent_daemon.py has no affect and still outputs following warnings on all lustre servers repeatedly ever few seconds
Warning:
oss002: May 31 14:43:30 oss002 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
oss002: May 31 14:43:30 oss002 chroma-agent-daemon: InsecureRequestWarning)
To Reproduce
Steps to reproduce the behavior:

Install IMLv5.0 on CentOS 7.5, with default python version 2.7.5
IML agents installed on CentOS 7.4, with python version 2.7.5

Screenshots
pdsh>  grep InsecureRequestWarning /var/log/messages | tail -2
mds002: May 31 14:43:26 mds002 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
mds002: May 31 14:43:26 mds002 chroma-agent-daemon: InsecureRequestWarning)
mds001: May 31 14:43:28 mds001 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
mds001: May 31 14:43:28 mds001 chroma-agent-daemon: InsecureRequestWarning)
oss007: May 31 14:43:30 oss007 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
oss007: May 31 14:43:30 oss007 chroma-agent-daemon: InsecureRequestWarning)
oss006: May 31 14:43:27 oss006 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
oss006: May 31 14:43:27 oss006 chroma-agent-daemon: InsecureRequestWarning)
oss011: May 31 14:43:30 oss011 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
oss011: May 31 14:43:30 oss011 chroma-agent-daemon: InsecureRequestWarning)
oss005: May 31 14:43:29 oss005 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
oss005: May 31 14:43:29 oss005 chroma-agent-daemon: InsecureRequestWarning)
oss003: May 31 14:43:31 oss003 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
oss003: May 31 14:43:31 oss003 chroma-agent-daemon: InsecureRequestWarning)
oss001: May 31 14:43:25 oss001 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
oss001: May 31 14:43:25 oss001 chroma-agent-daemon: InsecureRequestWarning)
oss008: May 31 14:43:29 oss008 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
oss008: May 31 14:43:29 oss008 chroma-agent-daemon: InsecureRequestWarning)
oss012: May 31 14:43:30 oss012 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
oss012: May 31 14:43:30 oss012 chroma-agent-daemon: InsecureRequestWarning)
oss004: May 31 14:43:30 oss004 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
oss004: May 31 14:43:30 oss004 chroma-agent-daemon: InsecureRequestWarning)
oss002: May 31 14:43:30 oss002 chroma-agent-daemon: /usr/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:821: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html
oss002: May 31 14:43:30 oss002 chroma-agent-daemon: InsecureRequestWarning)
Version
What version of IML? v5.0
What Operating System? CentOS
What Operating System version? v 7.5
Please let me know if you need additional information.  Thank you!!

Hi @ahkumar,
What versions of python-requests are available on the agents?
yum info python-requests --show-duplicates

HI @jgrund,
Here is what we have on the agents. Apparently our install picked up python-requests from our Cluster manager repository, below is the info:
Installed Packages
Name        : python-requests
Arch        : noarch
Version     : 2.10.0
Release     : 100031_cm8.1_f180c7427d
Size        : 369 k
Repo        : installed
From repo   : cm-rhel7-8.1-updates
Summary     : HTTP library, written in Python, for human beings
URL         : https://pypi.io/project/requests
License     : ASL 2.0
Description : Most existing Python modules for sending HTTP requests are extremely verbose and
: cumbersome. Python’s built-in urllib2 module provides most of the HTTP
: capabilities you should need, but the API is thoroughly broken. This library is
: designed to make HTTP requests easy for developers.
Available Packages
Name        : python-requests
Arch        : noarch
Version     : 2.6.0
Release     : 1.el7_1
Size        : 94 k
Repo        : base/7/x86_64
Summary     : HTTP library, written in Python, for human beings
URL         : http://pypi.python.org/pypi/requests
License     : ASL 2.0
Description : Most existing Python modules for sending HTTP requests are extremely verbose and
: cumbersome. Python’s built-in urllib2 module provides most of the HTTP
: capabilities you should need, but the API is thoroughly broken. This library is
: designed to make HTTP requests easy for developers.

Hi Joe,
Wanted to check few things:
a) Does IML expect a cert other than self-signed certs?
b) Does it expect Lustre servers to be able to communicate out to the internet? Ours don't.
Thanks,
Amit

Hi @ahkumar,

a) Does IML expect a cert other than self-signed certs?
IML uses a self signed certificate for https connections. Certificate information on the agent nodes can be found under /etc/iml (for IML 5.0).

b) Does it expect Lustre servers to be able to communicate out to the internet? Ours don't.
Please see: https://whamcloud.github.io/Online-Help/docs/Install_Guide/Create_Offline_Repos_10_0.html

Ah, you have a newer version of python-requests than what is available in base. If you can downgrade to 2.6 that should fix it.
If you can't downgrade, let me know and I'll take a look at what's needed to disable warnings on the new version.

To be clear, there is nothing that requires a self-signed cert throughout IML that I know of. It's more provided as a convenience if you don't want to provide your own signed certificates.

@jgrund,
@johnsonw
Sorry for the delay. I was tied with other things. Thank you for your comments.
Given this is production environment I don't want to downgrade a package installed from our provisioning system. I am not sure if it would cause any other issues. Is there a way you can help me with disabling warnings on the new version?

@jgrund
I happened to try downgrading on our test system and the warning disappears!! Unfortunately I am hesitant to downgrade it is production as it is I am troubleshooting data loss issues on production side in the last couple of days. Hence it wouldn't be an option to downgrade on production for the moment but the logs are filling up and any help in fixing this will be great help.

Fixed in https://github.com/whamcloud/iml-agent/pull/104


Removes inline css from all pages

Fixes #990
Changes: Removes inline css from all the pages and adds to application.scss.
Demo:
Server: https://open-event-web-appp.herokuapp.com
gh-pages: https://geekyd.github.io/eventApplication/
@mariobehling @aayusharora @Princu7 Please review. Thanks

Codecov Report

Merging #1272 into development will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development    #1272   +/-   ##
============================================
  Coverage        65.46%   65.46%
============================================
  Files                9        9
  Lines             1523     1523
  Branches           225      225
============================================
  Hits               997      997
  Misses             526      526

Continue to review full report at Codecov.

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

@aayusharora @Princu7 I have made the requested changes, please review. Thanks

@geekyd it does not completely fix the issue, it only solves the last point of the issue.
Please use "Fix  #issue no"  carefully, as it closes the issue

@aayusharora I have changed the description, the issue won't close on merge. Please merge this. Thanks

@aayusharora @Princu7 Please review this for merge. Thanks


Packaging: Move to .NET Core csproj

Now, that .csproj for .NET core has stabilized - switch all WinApi projects into .NET core csproj based projects.

Resolved by https://github.com/prasannavl/WinApi/commit/b32a3003722710b8c5c769059300f76ba88e3e4f


Automatic detection of the number of PVI trackers not detection 2nd PVI tracker

Hi there,
I'm using rscp2mqtt with an S10E, latest firmware (Q4/2023). Until rscp2mqtt v3.9 everything works fine. But from 3.10 the second PVI tracker is no longer delivering values other than zero - 0 voltage, 0 current and 0 power on the 2nd string (which is forced to be published by "FORCE_PUB=e3dc/pvi/.*/string_[1,2]" in .config).
Since PVI_TRACKER in .config does not seem to work any longer, I'm missing the second string with >=v3.10. You probably aim to get the autodetection to work - but may I suggest: If PVI_TRACKER is not defined in .config, rscp2mqtt tries auto detection, but if it's defined, it overrides auto detection?
Your great work is very much appreciated!

Hello,
can you check which value is output for the topic "e3dc/pvi/used_string_count"?
If you have installed two strings, the value should be "2".
What do you get for "e3dc/pvi/energy_all/string_2"?
Best regards
Thomas

Hi again,

Hello, can you check which value is output for the topic "e3dc/pvi/used_string_count"?
Sure: the value is 1 (even though I have 2 strings)
What do you get for "e3dc/pvi/energy_all/string_2"?
Only the topic "e3dc/pvi/energy_all/string_1" is published, with a plausible value.

Okay, then the auto detection is not working for you. The suggestion to override the detection is good. I will implement it.

Thank you in advance. If I can do any research/testing to help solving the auto detection issue I would be glad to do so.

Good evening
Dear Thomas. I have the same problem. I was already on the roof the check the cabling 😊
e3dc/pvi/used_string_count = 1
and therefore, I only see one string:
e3dc/pvi/energy_all/string_1
Best regards from Switzerland
Von: Thomas Heiny @.>
Gesendet: Sonntag, 21. Januar 2024 19:40
An: pvtom/rscp2mqtt @.>
Cc: Subscribed @.***>
Betreff: Re: [pvtom/rscp2mqtt] Automatic detection of the number of PVI trackers not detection 2nd PVI tracker (Issue #43)
Hello,
can you check which value is output for the topic "e3dc/pvi/used_string_count"?
If you have installed two strings, the value should be "2".
What do you get for "e3dc/pvi/energy_all/string_2"?
Best regards
Thomas
—
Reply to this email directly,  https://github.com/pvtom/rscp2mqtt/issues/43#issuecomment-1902723825 view it on GitHub, or  https://github.com/notifications/unsubscribe-auth/A674U4AH4CDMXENSVU4XWMDYPVOJZAVCNFSM6AAAAABCECR7JWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSG4ZDGOBSGU unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

hopefully solved by the new release v3.12.

Lieber Thomas
Up and running! Ganz herzlichen Dank.
Grüsse
Matthias
Von: Thomas Heiny @.>
Gesendet: Sonntag, 21. Januar 2024 22:29
An: pvtom/rscp2mqtt @.>
Cc: Matthias @.>; Comment @.>
Betreff: Re: [pvtom/rscp2mqtt] Automatic detection of the number of PVI trackers not detection 2nd PVI tracker (Issue #43)
hopefully solved by the new release v3.12.
—
Reply to this email directly, view it on GitHub https://github.com/pvtom/rscp2mqtt/issues/43#issuecomment-1902769659 , or unsubscribe https://github.com/notifications/unsubscribe-auth/A674U4HUDTVTKQ4ZVOFITP3YPWCDFAVCNFSM6AAAAABCECR7JWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMBSG43DSNRVHE .
You are receiving this because you commented.Message ID: @.***>

Installed v3.12 - setting PVI_TRACKER manually works perfectly. Just fyi: Now found the following error lines in the log:
Jan 22 09:17:56 smarthome rscp2mqtt[4433]: [2024-01-22 09:17:56] pid=4433 ppid=1 RscpMqttMain.cpp(1501) Error: Container 0x02840000 Tag 0x02000060 received error code 6.
Jan 22 09:17:56 smarthome rscp2mqtt[4433]: [2024-01-22 09:17:56] pid=4433 ppid=1 RscpMqttMain.cpp(1501) Error: Container 0x02840000 Tag 0x02000070 received error code 6.
Jan 22 09:17:56 smarthome rscp2mqtt[4433]: [2024-01-22 09:17:56] pid=4433 ppid=1 RscpMqttMain.cpp(1501) Error: Container 0x02840000 Tag 0x02000080 received error code 6.
They seem to appear only once on every start of rscp2mqtt (using systemd service). No further impact on the service discovered.
Many thanks and best regards!

Hi,
the messages mean that the requested tags TAG_PVI_REQ_COS_PHI, TAG_PVI_REQ_VOLTAGE_MONITORING and TAG_PVI_REQ_FREQUENCY_UNDER_OVER cannot be answered by your S10. This also occurs with my device. Apparently there are other devices or software versions that can do this. The messages only appear once at startup and can be ignored. rscp2mqtt then no longer queries these tags.
Best regards
Thomas


openai migrate

System Info
loader1 = CSVLoader(file_path='/home/calvin/下载/test.csv')
Doc = loader1.load()
text_splitter = CharacterTextSplitter(chunk_size=100,chunk_overlap=0)
texts = text_splitter.split_documents(Doc)
embeddings = OpenAIEmbeddings()
db = Chroma.from_documents(texts, embeddings)
retriever = db.as_retriever()
qa = RetrievalQA.from_chain_type(llm=OpenAI(mode="gpt-3.5-turbo"), chain_type="stuff", retriever=retriever)
query = "1501475820"
print(qa.run(query))
I run this code,but i can not use chat-gpt-3.5-turbo，so i try to opanAI MIGRATE，but i exit it ,then i found

then  always  tell me

@hwcha
Who can help?
from langchain.chains import RetrievalQA
Information

[X] The official example notebooks/scripts
[X] My own modified scripts

Related Components

[X] LLMs/Chat Models
[ ] Embedding Models
[ ] Prompts / Prompt Templates / Prompt Selectors
[ ] Output Parsers
[ ] Document Loaders
[ ] Vector Stores / Retrievers
[ ] Memory
[ ] Agents / Agent Executors
[ ] Tools / Toolkits
[ ] Chains
[ ] Callbacks/Tracing
[ ] Async

Reproduction
loader1 = CSVLoader(file_path='/home/calvin/下载/test.csv')
Doc = loader1.load()
text_splitter = CharacterTextSplitter(chunk_size=100,chunk_overlap=0)
texts = text_splitter.split_documents(Doc)
embeddings = OpenAIEmbeddings()
db = Chroma.from_documents(texts, embeddings)
retriever = db.as_retriever()
qa = RetrievalQA.from_chain_type(llm=OpenAI(mode="gpt-3.5-turbo"), chain_type="stuff", retriever=retriever)
query = "1501475820"
print(qa.run(query))
Expected behavior
i want use gpt-3.5-turbo to query

Please make your code cleaner.


对均衡器使用AutoEQ项目的EQ

仅仅提交一个建议。Submit just one proposal.
在你提交此建议前请注意：Please note before you submit this proposal:

详细阅读椒盐音乐帮助内容（应用设置-帮助）。Read more about the SaltPlayer help content (app Settings - Help).

反馈时候请注意：When giving feedback, please note:

尽量详细的描述。Be as detailed as possible.
不接收任何 UI 样式调整相关的反馈，出现此类 issue 会被关闭（如 “我不喜欢此设计” 、“我觉得这样设计更好” 、“还没原来好看” 等等类似反馈）。Do not receive any feedback on UI style changes, and the issue will be closed (" I don't like this design ", "I think this design is better", "it's not as good as the original", etc.).

建议内容 The proposals
建议内置 https://github.com/jaakkopasanen/AutoEq 项目的EQ

#112


bevy_reflect issue

bevy_relect  version: 0.4.0
bevy_relect_derive  version: 0.4.0
rust version: 1.53.0-nightly  x86_64-pc-windows-msvc
source code
use bevy_reflect_derive::Reflect;
fn main() {
    let mut foo = Foo {
        a: 1,
        b: Bar("hello".to_string()),
        c: vec![1, 2],
        d: vec![Baz { value: 3.14 }],
    };
}

#[derive(Reflect)]
struct Foo {
    a: u32,
    b: Bar,
    c: Vec<i32>,
    d: Vec<Baz>,
}

#[derive(Reflect)]
struct Bar(String);

#[derive(Reflect)]
struct Baz {
    value: f32,
}

cargo run will output
error[E0599]: no method named `type_name` found for reference `&Foo` in the current scope
  --> src\main.rs:12:10
   |
12 | #[derive(Reflect)]
   |          ^^^^^^^ method not found in `&Foo`
   |
   = help: items from traits can only be used if the trait is in scope
   = note: this error originates in a derive macro (in Nightly builds, run with -Z macro-backtrace for more info)
help: the following trait is implemented but not in scope; perhaps add a `use` for it:
   |
2  | use bevy_reflect::Reflect;

Looks like you are trying to use the derive crate directly. Try changing use bevy_reflect_derive::Reflect to use bevy_reflect::Reflect. The derive crate isn't intended to be used directly.

Looks like you are trying to use the derive crate directly. Try changing use bevy_reflect_derive::Reflect to use bevy_reflect::Reflect. The derive crate isn't intended to be used directly.

great!!！


add missing backslashes to gitbash shell executable path

Fixes #1302

@amorphousWaste Can you undo the version bump please? It's normally preferable to not update it and let the maintainers change the version instead. Thanks!

Also, since the repo was moved to the ASWF, you will need to sign the CLA, see https://github.com/AcademySoftwareFoundation/rez/pull/1303#issuecomment-1144156270.
Additionally, you also need to sign your commits, see https://github.com/AcademySoftwareFoundation/rez/pull/1303/checks?check_run_id=6715395153 for instructions on how to do that.
Let us know if you have any questions!

I reverted the version and I'm waiting on my boss to approve me for contributions to the repo. Once that is done, I'll follow the instructions to retroactively sign the commits.

Should I change the branch name?

I retroactively signed my commits following the instructions, but it looks like one got left out. I followed the instructions again and now it looks like it doesn't like an email address. Sorry, but can anyone help me with this?

DCO says:
Commit sha: [0880ee4](https://github.com/AcademySoftwareFoundation/rez/pull/1303/commits/0880ee4d5c6b4e7ec515219eb35215d10db3e561), Author: github.com/nerdvegas, Committer: amorphousWaste; nerdvegas@a043125d43e01f8c1ae440f0086f712c86b67214 is not a valid email address.

I don't know how that commit made it into the PR, but I would simply remove that commit as these commits are normally created from scheduled jobs that are not supposed to run on PRs.
By removing that commit from your branch, I think it will solve your issues.

 The benchmark CI does this, it commits the
latest benchmark results into the repo. It won't be doing DCO yet, and it
probably wasn't configured with a valid email address.
I'll see how I'm going tonight, might be able to put in a fix for this. It
should be reasonably simple though.
On Tue, Jun 7, 2022 at 7:43 AM Jean-Christophe Morin <
@.***> wrote:

DCO says:
Commit sha: 0880ee4, Author: github.com/nerdvegas, Committer: amorphousWaste; @.*** is not a valid email address.
I don't know how that commit made it into the PR, but I would simply
remove that commit as these commits are normally created from scheduled
jobs that are not supposed to run on PRs.
By removing that commit from your branch, I think it will solve your
issues.
—
Reply to this email directly, view it on GitHub
https://github.com/AcademySoftwareFoundation/rez/pull/1303#issuecomment-1147962415,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMOUSXFLWERVU7VJHPTHEDVNZWILANCNFSM5UTOYXJQ
.
You are receiving this because your review was requested.Message ID:
@.***>

@nerdvegas Yep, that's what I understood. What's not clear is how the commit got into this PR.

Yeah same actually. OP did you perhaps remerge with master at some point
after you did the retro signoff?
A
On Tue, Jun 7, 2022 at 8:11 AM Jean-Christophe Morin <
@.***> wrote:

@nerdvegas https://github.com/nerdvegas Yep, that's what I understood.
What's not clear is how the commit got into this PR.
—
Reply to this email directly, view it on GitHub
https://github.com/AcademySoftwareFoundation/rez/pull/1303#issuecomment-1147984656,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAMOUSWOOJZSVZICYGLHA7DVNZZRPANCNFSM5UTOYXJQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I don't think so. There wouldn't have been a reason to.

See comment on https://github.com/AcademySoftwareFoundation/rez/issues/1302
ps - @amorphousWaste were you able to sign onto EasyCLA? And any more word on what's going on wrt DCO? I'm going to merge https://github.com/AcademySoftwareFoundation/rez/pull/1319 soon, which hopefully will help at least (if it's the benchmark CI commit causing the problem that is).

I was finally able to jump back on this. I removed the config option and addes additional functions into the shells for returning paths in different styles as needed.

I'm not sure why there is still an EasyCLA block. Everything should be signed off. Would anyone be able to assist?

See https://github.com/AcademySoftwareFoundation/rez/pull/1303#issuecomment-1147962415. You have commits that are not supposed to be there. You also need to fix the conflict.

If you look at the commits tab, all the commits that are not authored by you shouldn't be there. I have no idea how they ended up there. But fortunately, there is multiple ways to fix that:

You can manually remove them from your branch if you do an interactive rebase and drop the commits you want to drop.
You can delete your local branch and create a new one with the same name, and cherry-pick the commits you want.
Close this PR, create a new branch and cherry-pick you commits, create a new PR.
Or any other ways that you can come up with (some people like to get creative in their usage of git)

Also, could you add a description to the pull request please? Your latest commits changed what you previously did and it's not super clear how it's all supposed to work and if it addresses my comment and Allan's comment.
In general, it's always good to put a nice descriptive description that explains the thought process and why the changes were made the way you made them.

I think I've hecked up this PR too much, so at the risk of only making things worse I'm going to close this and make a new one.


Motion along calculated smooth curves

[ ] Add a smooth motion component and system

I'll close it because I don't plan to continue in this project


Only support one completion at time ?

when I typing  function check_if_, when call  copilot-previous-completion or  copilot-next-completion, to choice another completion , got message shows " only one completion is available" , but same code in visual studio code , can get more than one completion

@eggcaker Can you verify if the fix works?

works! thanks


suggestion: match partial phone number

Right now, Match rules only apply if the provided string matches the entire caller number. I suggest matching partial numbers as well by replacing the call to String.equal() with String.contains() in MatchRuleHandler.java .
Use case: Be available (or to the contrary, unavailable) to a set of callers sharing one telephone system, like calls from a company building or a government agency.
By the way, thanks a lot for this code! it's almost exactly what I was looking for, I even installed Android Studio just to be able to run it. Are you planning to publish the app on F-Droid?

Like this:
https://github.com/korakinos/android-call-filter/commit/896a63778e3a397f13333d406dbaeae6104da4e6
Alternatively, glob/wildcard-style matches would also work.

I added the ability to apply wildcards to a match, let me know if that works for you.  If no wildcard is added to the match it falls back to an exact match.  I would be fine changing it to fall back to a wildcard match, like your commit, but would want to add another match type option for exact matches if so. If you think that is worth doing let me know.
I did not have any plans on publishing it to an app store, I felt that would imply a level of support I am not able to offer.  I am not primarily an Android developer and only have 1 phone and the emulator to test with.

This is great, thanks! You are probably right that it should stay possible to check for exact matches. And I think it makes sense to have wildcard and exact match as the same type, like you implemented, and not as two separate rule types. That way there is no possibility to select the wrong one by mistake. The only downside to me is that for simple "contains" use I have to type two extra asterisks, and I can live with that.
About publishing and support – fair point! I'll just stick to building this app myself, then.


Fine-Tuning of retrain.py

Hi,
Is there some easy way to do Fine-Tuning in retain.py script? I mean setting trainable=True hub.Module(module_spec, trainable=True)
I understand that we would need to bypass bottlenecking and pass images directly because just by setting this parameter I'm getting this error:
Caused by op 'Placeholder', defined at:
File "retrain.py", line 1333, in
tf.app.run(main=main, argv=[sys.argv[0]] + unparsed)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/platform/app.py", line 126, in run
_sys.exit(main(argv))
File "retrain.py", line 1019, in main
create_module_graph(module_spec))
File "retrain.py", line 305, in create_module_graph
resized_input_tensor = tf.placeholder(tf.float32, [None, height, width, 3])
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/array_ops.py", line 1808, in placeholder
return gen_array_ops.placeholder(dtype=dtype, shape=shape, name=name)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/ops/gen_array_ops.py", line 4848, in placeholder
"Placeholder", dtype=dtype, shape=shape, name=name)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/op_def_library.py", line 787, in _apply_op_helper
op_def=op_def)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 3392, in create_op
op_def=op_def)
File "/usr/local/lib/python3.5/dist-packages/tensorflow/python/framework/ops.py", line 1718, in init
self._traceback = self._graph._extract_stack()  # pylint: disable=protected-access
InvalidArgumentError (see above for traceback): You must feed a value for placeholder tensor 'Placeholder' with dtype float and shape [?,299,299,3]
[[Node: Placeholder = Placeholderdtype=DT_FLOAT, shape=[?,299,299,3], _device="/job:localhost/replica:0/task:0/device:CPU:0"]]

Fine-tune an image module is beyond current goals of retrain.py


CupertinoTextField Cursor' navigation issue

I can't use CupertinoTextField cursor to navigate through its text.
How would one enable the CupertinoTextField cursor to scroll/navigate through the text (when you pinch or hold it down)? I noticed that it isn't possible like it does for TextFormField.
Am I missing something or it's a missing feature for CupertinoTextField?

@abayomiAkanji I understand, but I think this isn't replicable at our end and based on our thread above, the navigation behavior seems to be consistent across all related widgets.
I am going ahead and closing this as working as intended. If you disagree, write in comments and I'll reopen it.
Thanks.


abstract-to-meta filter corrupts lists

Dear all,
Thank you very much for the filter collection. They can simplify our input files. I noticed though that the filter abstract-to-meta does not copy over lists.
Best,
Robert
Minimal example
Command for testing: pandoc --atx-header -L abstract-to-meta.lua -s -t markdown input.md > output.md
input.md
# Abstract

Abstract text.

- one
- two

# Next Section

Other text.

output.md
---
abstract: |
  Abstract text.

  one

  two

  -
  -
---

# Next Section

Other text.

@tarleb

Thanks for the report.

Just fyi: I believe that this problem was introduced with the release of pandoc 2.8, which features a new element traversal order. The previous code relied on the old traversal order.


Please Help!: How to save pred_traj_fake tensor?

Hi,
Could anyone can help me to save the 'pred_traj_fake (final prediction of this model)' tensor as the format compatible to be used in Matlab?
I am not an expert on python and torch so I am struggling at saving this variable. I would like to use it for some visualization.
Thanks in advance~!

I converted it to numpy array and export it as matlab file using scipy.io.savemat. Is it right direction?

Yes, you can also refer https://stackoverflow.com/questions/10997254/converting-numpy-arrays-to-matlab-and-vice-versa.

Have you solved this problem?I also want to get this result.Thx.


MGDCTRS-1037: Auto increment connector revision

This PR introduces:

automatic connector revision management based on changes in the transitive dependencies or in the connector type definition
build container images only for connector that have changed
use cos-manifests as a storage for the catalog definition (this may be a temporary solution)
no need to store generated files in the repository

The flow to update cos-manifests and then build the catalog images and trigger the re-deployment of the dev env has still to be implemented but requires this PR to be merged first

@rinaldodev @hdamarcelo @valdar I've re-opened the PR as a branch of the main repo to get some integration test running against reals services (salesforce, azure, etc)

will rebase


The Policy Training Web have some problem

I can't open this website:
http://localhost:8000/#/uploaded

Any update?

Are you sure the Python server is running? Are you able to navigate to http://localhost:8000? Did you already record any logs on the robot that have been uploaded?

Please check the python output for any errors. Sometimes there are faulty datasets. If yes, delete the datasets in the uploaded folder and try again.


An emote modifier to make emote bigger

By modifying the appdata's emote_bttv.json, I was able to use other scale of certain emotes by changing the 1x to 2x, and it looks great. But my Json file get replace on every restart and I was wondering if this could be a feature. It does not seems to break anything, plus it looks cool
http://i.imgur.com/cSPsTnZ.png

I thought about this and decided not to since not every emote has a bigger version and some that do have terrible quality.
Not to mention the possible abuse(not like the current modifiers aren't abused enough)


Corrupted JPEG Stream

Describe the bug
We are experiencing a rather strange bug with the color stream of the kinect.
On an AMD EPYC 7302 machine, the color stream is corrupted.
This is reproducible using the k4aviewer and the ros wrapper.
I patched in a better debug message in case the MJPEG decoding fails and
it gave me this:
DecodeMJPEGtoBGRA32(). MJPEG decode failed, dropping image: Not a JPEG file: starts with 0xfe 0x77
DecodeMJPEGtoBGRA32(). MJPEG decode failed, dropping image: Not a JPEG file: starts with 0xf8 0x54
DecodeMJPEGtoBGRA32(). MJPEG decode failed, dropping image: Corrupt JPEG data: premature end of data segment
DecodeMJPEGtoBGRA32(). MJPEG decode failed, dropping image: Corrupt JPEG data: 1283 extraneous bytes before marker 0xd3
DecodeMJPEGtoBGRA32(). MJPEG decode failed, dropping image: Corrupt JPEG data: 161 extraneous bytes before marker 0xd4
DecodeMJPEGtoBGRA32(). MJPEG decode failed, dropping image: Not a JPEG file: starts with 0xfb 0xbf
DecodeMJPEGtoBGRA32(). MJPEG decode failed, dropping image: Corrupt JPEG data: 9005 extraneous bytes before marker 0xd6
DecodeMJPEGtoBGRA32(). MJPEG decode failed, dropping image: Corrupt JPEG data: found marker 0xd5 instead of RST3
DecodeMJPEGtoBGRA32(). MJPEG decode failed, dropping image: Corrupt JPEG data: 841 extraneous bytes before marker 0xd6
This then leads to the error :
replace_sample(). capturesync_drop, releasing capture early due to full queue TS:  57300211 type:Depth
as there is no color image available for the depth measurement.
Note usbfs_memory_mb is set to 1024
To Reproduce
On an AMD EPYC 7302 :

Start k4aviewer
Enable color camera
Disable all other streams
Choose any resolution / fps (720p / 5 FPS also fails)
Start
Log shows a bunch of MJPEG decode failed, dropping image messages
After a few seconds a popup 'Camera failure : timed out!' appears

Desktop

OS with Version: Ubuntu 18.04
Kernel : 5.4.0-47-generic
SDK Version:  1.4.1
Firmware version:  1.6.110079014
GPU : NVidia 2070 Super
CPU AMD EPIC 7302
Mainboard : Supermicro Mainboard H11DSi-NT

Additional context
Note, on our normal desktop machines everything is working fine.
We also tried using an external PCI-E USB Host Controller (DeLock 90492)
but this did not work either. The controller also gave us a bunch of wired
kernel warnings, so it might be a driver issue with this card.
Is there any PCI-E USB Host Controller with at least two ports, that is known
to work under linux ?
Grabbing only the depth stream seems to work. Out of curiosity, is there some
sort of CRC on the depth data, to detect corruption ?

We debugged this issue further, it seems, the Azure is extremely
sensitive to the used USB host controller.
So far we tested :
Asmedia 3142

Not working
Renesas/NEC - µPD720202
Not working
Renesas/NEC - µPD720201
Working
Only one Azure per pcie card
Minor frame drops
Ros driver failure after ~20 minutes
Fresco Logic FL1100
Working
Two Azure per pcie card

Ros driver failure after ~10 minutes

Yes it definetly is. Also the choice of USB cabel matters. I hab cables labeled as USB 3.0 that did fail after some minutes. The cable that comes with the kinect itself works the best but it is a bit short.
Have already seen this page?
https://docs.microsoft.com/en-us/azure/kinect-dk/troubleshooting
"For the Azure Kinect DK on Windows, Intel, Texas Instruments (TI), and Renesas are the only host controllers that are supported. The Azure Kinect SDK on Windows platforms relies on a unified container ID, and it must span USB 2.0 and 3.0 devices so that the SDK can find the depth, color, and audio devices that are physically located on the same device. On Linux, more host controllers may be supported as that platform relies less on the container ID and more on device serial numbers."

Yes, only select USB controllers are supported per text quoted by @RoseFlunder.
Also make sure you are using Sensor SDK 1.4.1 as we made some changes to improve resilience to dropped color frames. See issue #1194.

I was aware of the troubleshooting page. But lets just say the information
regarding linux is sparse...
We are using the latest firmware and SDK 1.4.1
As for our problem, we are currently testing the Fresco Logic
FL1100 with only one camera per host controller. This ran
stable for 3 hours with one camera, yesterday.
We are trying multiple cards with a camera each now.
One thing I noticed while testing, is that only the color
stream is unstable. The depth and imu stream seems
to be stable all the time.
Also I suspect a bug in the ros node,  as it does not detect
a broken color stream.

I haven't measured the time at our PCs running the kinects but I think we kept them running for 24h without an error on Ubuntu, with default cable and connected to USB Ports on the Mainboard with Intel Chipset.
Not the ROS Node though but we don't do anything different regarding getting captures compared to the ROS node. Just calling "getCapture" using infinite timeout.
But we also use only one Kinect per PC which send their data to a central PC for processing.

@jmachowinski I have passed you ROS node issue to the Microsoft ROS team.

@jmachowinski When you say the ROS node fails after x amount of time, can you post the failure? Does it crash or start throwing errors?

@ooeygui The node does not crash, but it stops publishing any data.
The log is full of

[2020-09-18 08:52:14.087] [error] [t=8620] /__w/1/s/extern/Azure-Kinect-Sensor-SDK/src/capturesync/capturesync.c (142): replace_sample(). capturesync_drop, releasing capture early due to full queue TS:3874968522 type:Depth
[2020-09-18 08:52:14.119] [error] [t=8620] /__w/1/s/extern/Azure-Kinect-Sensor-SDK/src/capturesync/capturesync.c (142): replace_sample(). capturesync_drop, releasing capture early due to full queue TS:3875001866 type:Depth

As the color stream broke down completely.
I already looked into the code, and have the guess (only a guess, not verified yet) that if
k4a::device::get_capture()
is called with timeout infinite the function never returns in case the color stream broke down.
I just looked at the code again, and now I am pretty sure this is the case. With an infinite timeout,
we wait for a push to the capture queue. As the color stream broke down, this is never happening
and the ros node just stalls.

As for the long time tests :
2 of 3 cameras stopped sending color images after
some hours. I'll patch in some additional debug messages,
to determine the exact cause of this.
I also noticed, that this is CPU load dependent. Without subscribing to
the topics of the node, the color stream did not drop out (I verified in the code,
that the capture from the camera actually happens in this case). This behavior
puzzles me, as I run the tests on a 64 core machine, and every thread
has basically its own cpu.

@jmachowinski Thank you for the investigation!
I need to profile the code to see where the slowdown is occurring. We do know that there are some problems with the OpenCV version being used with Melodic, and there are some inefficiencies in the Kinect ROS node. Additionally, since it is using ROS pub/sub without a quality of service monitor, the publishing rate itself may be too fast for the network stack - We may need to throttle upstream of it.
I'll post findings when I am able to carve off time to work on this ROS node.

To answer my own question :

Out of curiosity, is there some sort of CRC on the depth data, to detect corruption ?
The depth data is transmitted in usb bulk mode, so it should be always complete.

I debugged this further and I am pretty sure, we are dealing with a firmware issue
here. My findings so far :
The color stream is an usb isochronous transfer.
Depth and IMU are transmitted as usb bulk transfer.
The isochronous transfer is started in the libuvc part and keeps on
going. Using wireshark, one can see, that the usb transfers are
send out to the device.
At start the color device correctly fills in the payload of the transfer,
and everything is working. At some point, the color device just stops
doing this.
Also note, there is no error transmitted to the usb host.
If one adds debug to the function :
https://github.com/microsoft/libuvc/blob/5fc483d596c63f1bcd36be35d512468c0b75c5f3/src/stream.c#L601
this behavior is visible.
Any ideas ?

As it might be perhaps useful to someone :
We now found a 4x FL1100 PCIe card from Basler<PHONE_NUMBER>).
This one works flawless under linux if only the depth and imu stream is acquired.
We performed a one day test with 5 cameras, without encountering any problems.

@qm13 can your reproduce my findings ?
If not, can I do anything to help to speed this up ?
Provide test cases etc...

Do you have a workaround to this problem using the above USB Host controllers? A workaround meaning K4AViewer runs without stopping the stream? DecodeMJPEGtoBGRA32 errors are to be expected when USB is congested.

Renesas/NEC - µPD720201
Fresco Logic FL1100

I am curious if this issue repro's with firmware 1.6.102075014? Can you try this older firmware? We did make a minor change in UVC that may not have shown up in our testing.
I am also curious how your setup runs with other PC's. As you have determined, we don't have a lot of data on USB Host controllers on Ubuntu. It would be great if you could test with a mother board that has TI/Intel on it.
If that doesn't work then, you will need to dig into LibUvc more unfortunately, as we can't repro this.

The isochronous transfer is started in the libuvc part and keeps on
going. Using wireshark, one can see, that the usb transfers are
send out to the device.

If you can see that the ISOCH transfer on WireShark, then I wonder if firmware is fine and if the bug is in LibUvc. At the completion of each packet you should be able to see that LibUvc calling libusb_submit_transfer, that has to keep happening for new packets to be received from the driver.

Do you have a workaround to this problem using the above USB Host controllers? A workaround meaning K4AViewer runs without stopping the stream? DecodeMJPEGtoBGRA32 errors are to be expected when USB is congested.

No, using the FL1100 controller made this more stable, but after around 40 minutes the color stream drops out.
We use a setup, were each camera has its own USB Host controller, so the load per bus is neglectable (~1.8 mb/sec for depth and around 3.8 mb/sec for color). Therefor the dropouts in the color stream are already strange.

I am curious if this issue repro's with firmware 1.6.102075014? Can you try this older firmware? We did make a minor change in UVC that may not have shown up in our testing.

We'll perform tests on monday, and will report back.

I am also curious how your setup runs with other PC's. As you have determined, we don't have a lot of data on USB Host controllers on Ubuntu. It would be great if you could test with a mother board that has TI/Intel on it.

We performed tests with a 10th gen intel usb controller (Q470), and it ran stable for more than a day. We also have a production
system, using 7th gen intel usb controller (Q170) running stable with 2 cameras for weeks now.
As for the TI based controllers, are you referring to the TUSB7340 host controller ? This one seems to be out of production, and we can't buy TI based PCIe cards anywhere.
For our current project we are bound to the AMD platform and sadly there are no Intel based PCIe extension cards, that we are aware of.

If you can see that the ISOCH transfer on WireShark, then I wonder if firmware is fine and if the bug is in LibUvc. At the completion of each packet you should be able to see that LibUvc calling libusb_submit_transfer, that has to keep happening for new packets to be received from the driver.

I added debug code, in case any error shows up, especially in the error path, were the transfer would NOT be resubmitted.
I also added debug code that writes a message to cout for every 10000 resubmitted transfers.
The behavior I get from this is, that there are no errors, and I get a continuous  stream of messages, that the transfers get resubmitted. At some point in time, I only get transfers back, were the pkt->actual_length is zero. This is consistent with
the data shown in WireShark. This lead me to the suspicion, it might be the firmware.
I must also say, I have limited knowledge of USB internals. If I understood it correct, the bus is completely host controlled. Any endpoint may only submit data, after is was granted a 'timeslot' by the host. This is done by sending an IN packet to the endpoint. My wild guess here would be, that the frequency of the polling is unstable, and that this somehow upsets the device.

Your results are inline with what we have seen on Windows, where we have seen more of a variety of controllers. The unfortunate fact (perhaps fortunate depending on how you look at it) is that typically using an unsupported host controller fails miserable right away. In this case the controller seems to run really well until the error hits.

I am curious if this issue repro's with firmware 1.6.102075014? Can you try this older firmware? We did make a minor change in UVC that may not have shown up in our testing.

We performed the tests with the older firmware, the behavior is the same as with the newer firmware.
Is there a particular reason, why the color image is transmitted in isochronous mode ?
The bulk transfer seems to be stable, and would likely solve this issue.

I started a second test yesterday, just letting a webcam viewer run.
Turns out, using the in kernel uvc driver (e.g. opening /dev/video0) seems stable.
The viewer has now been running for ~12 hours and the video stream is still working.

Any update on this issue ?

We are experimenting a similar behaviour in the following configuration:

Windows 10
PCIe expansion card with 2xUSB type C port with ASM3142 host controller
Connection via a single USB Type C cable

In this configuration:

Power and USB 3.0 data connection are fine (solid white led on the back)
The devices are enumerated correctly in device manager under USB devices
Azure Kinect is correctly detected by the Viewer
When i start the streams no error is displayed in the log windows and the streams are correctly received

The problem is that the RGB stream is unstable and produces drops in FPS and the image sometimes is corrupted (some part of the RGB image is displayed shifted with respect to the correct position).
Does anyone know if the unstable behaviour of the RGB stream is caused exclusively by USB host controller that is not ufficially supported by AKDK? as stated here https://docs.microsoft.com/it-it/azure/kinect-dk/troubleshooting under host controller issues
@jmachowinski which type of host controller have you used in your tests that has detected the unstability of RGB stream?

We tested almost every USB controller that you can buy as an extension card at the moment.
The color stream fails with all of them. But as I said above, I don't believe this is an issue of the
USB Controllers, but rather an issue with the Azure.

Happy new year !
Any news on this issue ?

Happy new year !
Any news on this issue ?

@jmachowinski we have been investigating this issue using an ASMedia 3142 card and can see a bunch of device level issues in the USB traces. However whilst these issues result in dropped frames they should not result in k4viewer stopping. We would like to get a little more coverage on this and ask you to perform the following test.
Repeat you test using the built in webcam application instead of k4aviewer. Does the webcam application fail after a short time?

@qm13
Are you refering to webcam by Gerd Knorr ? If yes, shall I use a special configuration or just the default one ?
For my last test I used guvcview

I just repeated the test using guvcview,
the camera fails after 5-10 minutes.
Kernel : 5.4.0-65-generic
RGB camera firmware:      1.6.110

I also repeated the test a second time using guvcview
with reduced resolution to 720P. This one is running now
for 3 hours without problems.

The 720P test ran over the weekend (~60 Hours in total) and is still fine.

@jmachowinski this seems to point to low level issues with some USB controllers under high bandwidth utilization. Some apps do better at handling the issues than others. How does the k4aviewer run with 720P?

@qm13 I still don't think the USB controller is the issue here. The bandwidth usage is actually very low,
usbtop shows a maximum of 8 MB/sec if the 4K stream is active, plus ~1.7MB/sec for depth and ~1.7 MB/sec
for imu and microphone.
I can copy data at 500 MB/sec the whole day long from an ssd without issues.
Also note, we are using a Basler USB Card (https://www.baslerweb.com/de/produkte/vision-komponenten/pc-karten/usb-3-0-interface-card-pcie-fresco-fl1100-4hc-x4-4ports/).
This one works flawless using linux to capture 12 MP Basler Cameras.
Also, if the USB Controller would have an issue, I would expect all data streams on the bus to stall / break. This is not what we are seeing. Only the color stream breaks down, IMU/Microphone/Depth is fine.
I'll try to perform some tests with the k4aviewer next week.

@jmachowinski the dev investigating this issue has not been able to repro it. He does not have access to a Linux box and investigated the issue on his Windows box. I am working on getting him a Linux box. In the mean time would you be able to attempt to repro the issue on Windows.

@qm13 Sorry for the delay, has been a busy week...
We don't have windows licenses for our preproduction and developer machines,
therefore I don't see a way to run a test on windows.
I still want to perform a linux test, and check the timing of the iso transfer packages, but
had no time yet, I'll report back when I have results.

StreamBreaking.zip
I finally found some time to look into this again. Above is a USB capture from the point were the stream breaks.
Interestingly enough, we can see in the dump, that an Protocol error occurred. I'm pretty sure, libusb never
reports an error. I'll add debug to verify this.
Second interesting finding, I installed an FL1100 USB Card into my developer machine (Ryzen 3700X) and the
error takes ages to occur. On the EPYC machine, it happens almost instant.

I added some debug in the libuvc and libusb:
I see some errors in packet level, and no ones on the transfer level.
Judging from the code in libuvc (stream.c:633), errors on packet level seem to be nominal.
To debug the cause of the error, I also added debug in libusb. I see 'a lot' (~every second) of EXDEV
status codes for some packets. Also while the stream is still working I see infrequently EPROTO.
For the last 4 Tests I ran, the stream always broke directly after an EPROTO return for a single packet.
Description of the error codes:
https://www.kernel.org/doc/html/latest/driver-api/usb/error-codes.html

Hello! Is there any progress made on this issue? I have the same issue with the Azure Kinect on Jetson Xavier NX while running k4arecorder to record rgb, depth, and imu, where the color stream would break silently and the recorded mkv file got corrupted.

I am running the Sensor SDK on a Jetson Xavier NX like @kvuong2711 and see what might be a similar problem to what is being discussed in this issue thread. My Azure Kinect has had a firmware update, and I'm building from source so I can customize the Sensor SDK. I generally capture data with k4arecorder with IMU off and default parameters otherwise (or sometimes at a lower --rate of 15 fps).
I've installed the SDK around 7 times on Xaviers and have noticed a loose pattern of failure related to the RGB stream. Usually k4aviewer will display live and recorded mkv files just fine when running the Microsoft-supplied k4a libraries. However, when I build the SDK I almost always begin having trouble with RGB playback and live view in k4aviewer. I've tested the recording files on Linux laptop and desktop machines with the same SDK customizations and they give the same error:
../src/record/internal/matroska_read.cpp (1754): convert_block_to_image(). Failed to decompress jpeg image to BGRA format.
I made some changes to the code so that k4aviewer continues to play when the error is thrown, in k4aconvertingimagesource.h and include/k4arecord/playback.hpp. But if the recording is made/played back using the same customized k4arecorder and k4aviewer code built for Linux and with the same Kinect attached to the laptop or desktop, this problem doesn't occur. I've also had the problem when building the SDK without modifications.
On the Xavier I'm working with at the moment, the issue got better when I unplugged a USB drive that was attached to it; the problem improved further when I moved the Kinect's USB plug to a different port and went away entirely when I moved it again. I'm not sure whether the choice of port or number of other USB ports in use actually matters, or if replugging the device is what made the difference.

I am running the Sensor SDK on a Jetson Xavier NX like @kvuong2711 and see what might be a similar problem to what is being discussed in this issue thread. My Azure Kinect has had a firmware update, and I'm building from source so I can customize the Sensor SDK. I generally capture data with k4arecorder with IMU off and default parameters otherwise (or sometimes at a lower --rate of 15 fps).
I've installed the SDK around 7 times on Xaviers and have noticed a loose pattern of failure related to the RGB stream. Usually k4aviewer will display live and recorded mkv files just fine when running the Microsoft-supplied k4a libraries. However, when I build the SDK I almost always begin having trouble with RGB playback and live view in k4aviewer. I've tested the recording files on Linux laptop and desktop machines with the same SDK customizations and they give the same error:
../src/record/internal/matroska_read.cpp (1754): convert_block_to_image(). Failed to decompress jpeg image to BGRA format.
I made some changes to the code so that k4aviewer continues to play when the error is thrown, in k4aconvertingimagesource.h and include/k4arecord/playback.hpp. But if the recording is made/played back using the same customized k4arecorder and k4aviewer code built for Linux and with the same Kinect attached to the laptop or desktop, this problem doesn't occur. I've also had the problem when building the SDK without modifications.
On the Xavier I'm working with at the moment, the issue got better when I unplugged a USB drive that was attached to it; the problem improved further when I moved the Kinect's USB plug to a different port and went away entirely when I moved it again. I'm not sure whether the choice of port or number of other USB ports in use actually matters, or if replugging the device is what made the difference.

@crystal-butler First, I want to confirm that I also built my SDK from source by customizing the k4arecorder, but I never had any issue with corrupted RGB stream on either a good Linux laptop or desktop server, only exclusively on the Jetson. On the Jetson, I do notice the problem of RGB stream failure happening much more frequently (usually right after starting the k4arecorder) if I have more devices plugged in (e.g., mouse + keyboard at the same time). The problem is usually gone and I'm almost always able to start recording for a while, but after a few minutes, the RGB stream randomly writes out garbage data (corrupted color files). I don't know the exact cause of this and I don't know if this helps, but since when I switch to SSD instead of microSD (read/write speed is about 10x faster), the problem doesn't occur anymore.

To follow up, I've got SSDs installed in all the Jetsons I work with, but I run the Jetson OS from an SD card and use the SSD for storage and swap. k4arecorder and k4aviewer run from the SD card but read & write to the SSD.

i use USB3.0 extend cable. every time below error occured.
"replace_sample(). capturesync_drop, releasing capture early due to full queue TS:   5033533 type:Depth"
when i update firmware, first time can displayed.
when programe died on debugging. firmware already have something.
when i start camera, firmware did not initializing like update firmware.
i want initializing camera method like updated firmware state.

is there any progress on identifying the problems and providing solutions for using Azure Kinect on AMD Epyc Platforms?
We recently purchased a Gigabyte G482-Z51 Server (Epyc 7352). On Linux and Windows, capturing breaks soon after starting the stream with the error "corrupted jpeg stream" (NFOV_UNBINNED, no matter which color resolution, framerate we choose, Linux & Windows, BGRA / MJPEG settings tested). We used Renesas µPD720201 based USB Controllers (1 camera per chip). Even a single camera can't capture for more than a couple of seconds before the error is occurring.
Before we tested the USB 3.0 Cards on a Supermicro SYS-7049A-T (Xeon Silver 4216, Intel C621) and capturing with up to 4 cameras worked perfectly. In all systems we used Nvidia Quadro RTX6000/A6000 GPUs, linux systems are Ubuntu 18.04, windows systems were latest Windows 10. Azure Driver 1.4.1, the last 3 Azure Kinect Camera Firmware releases were also tested (linux)
Is there any chance for a fix which allows using Azure Kinect Devices on AMD Epyc based Hosts?

The only solution that worked for us it to disable the rgb stream altogether. The problem with this is, that you loose the synchronization feature, that is crucial in a multi sensor setup.
I looked a lot into this problem on the software side, but could find obvious problems.
https://github.com/libuvc/libuvc/issues/191
Might be related. It seems, that the ISO transfer frame is oversized. But this only puts additional load on the USB bus. This does not explain why its not working on EPYC systems.
As we ultimately dumped the EPYC systems because of this, I don't have much time to look further into it.
Tips for further debugging:
I found it extremely helpful to modify the test example from libuvc in the SDK. If one activates full debug level, and adds some additional debug in the stream.c on bad iso transfers this problem is instant visible.
As soon as you see 'a lot' of "bad packet (isochronous transfer); status: %d" you are hitting the issue.
This is also a good test for bad USB cables...
Out of curiosity, is there a way to get paid support for this sensor ? Last time we tried the links on the website went to dead ends, and the MS Hotline could not help us.

Thanks for your feedback .. we'll work with intel platforms in the meantime, however it would be really appreciated if the MS team could provide some information about the compatibility of the Azure Kinect Sensor for various (multi-camera) platforms (CPU/Chipset/USB-Controller) that were testet / approved.
Disabling RGB is not an option as we depend on both streams in our application. Since the issue occurs on both platforms (windows/linux) i would expect the problem to be on the usb communication layer, rather than the actual driver - but i'm not an expert with hardware and usb specifically.

still issue with RGB using asmedia 3142 :'(


[Event Request] Codeunt 1535 Approvals Mgmt.

New event called OnSetStatusToPendingApproval to be added to the end of the SetStatusToPendingApproval function as follows…

OLD CODE

ELSE
ERROR(UnsupportedRecordTypeErr,RecRef.CAPTION);

NEW CODE…

ELSE BEGIN
OnSetStatusToPendingApproval(Variant,RecRef,Handled);
IF NOT Handled THEN
ERROR(UnsupportedRecordTypeErr,RecRef.CAPTION);
END;
This is to allow additional record types to be used with approvals.
For completeness it would also be useful also add events to IsSufficientApprover() and InformUserOnStatusChange() functions in the same codeunit to allow us to extend the CASE statement usage

This is already done!


Task in LHN still says 'No Activity' after non-chat-related activities occur

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Log into an account with tasks enabled.
Click on the large '+' sign in a green circle and choose 'Assign task'.
Fill in the fields and create the task.
Change the title, description, and the person in the 'To' field while observing the LHN.

Expected Result:
The task in the LHN updates from 'No Activity' to 'Title changed', 'Description changed', 'Assignee changed', or something of the sort.
Actual Result:
The task in the LHN displays 'No Activity' despite changes made to the title, description, and who's assigned.
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android / native
[x] Android / Chrome
[x] iOS / native
[x] iOS / Safari
[x] MacOS / Chrome / Safari
[x] MacOS / Desktop

Version Number: 1.3.32-1
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/ccd6055c-0b39-43b5-9e72-31daf377b3b4
https://github.com/Expensify/App/assets/43996225/36f921f7-255b-48e4-85f7-718c16373eec
Expensify/Expensify Issue URL:
Issue reported by: @Victor-Nyagudi
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1687096245450879
View all open jobs on GitHub

This is not a bug, we don't show anything when you edit a task description


Create a landing page config-webpack-plugin

Current situation
We don't have any landing page to show off config-webpack-plugin. 😭
Requirements
While the README does a decent job, we would like to enhance the user experience providing a simple landing page which transmit in a clear way how config-webpack-plugin works.
Details
No details for the creative one. 😉

@zxhadow is working on this: #1 – please talk to him before duplicating voluntary work (maybe via our Gitter).

My actual idea for the home page goes with a

header nav with github link, version, etc.

gif explaining the process, both the terminal and the code editor overlaps while one of them is typing commands or writing code grabbing the user attentions. The same process should be explained in text.

Markdown README rendered or not (this idea is an actual ripoff from here https://hyperterm.org/ which is awesome)

Great! I love the concept you are proposing as well as the graphics! I'm not against using the markdown similar as hyperterm's website. I'm also willing to see the regular style without the markup (if possible).

Yeah, the markdown will do just fine, but I think there are different ones and we can try some of them online to see what could be better instead of trying to reproduce here.
Here are some markdown styles http://markedstyle.com/styles


[SA-2] Instant reloading

The SA-2 rail from the mod seems to reload instantly. See for instance this image, where the same rail fired twice less than two minutes apart.

Error on my side, was still on old version.


malformed method signature for crop() in docs

See https://eventviva.github.io/php-image-resize/class-Eventviva.ImageResize.html#_crop
optional params $postion and $allow_enlarge should be switched.

Things are fine in code: https://github.com/eventviva/php-image-resize/blob/master/lib/ImageResize.php#L380
I don't know why it went wrong in docs. I will look into it when I get time. If you want, you can generate docs again and create PR against gh-pages branch.


StochRSI on 0.5.8 not working propertly for backtest (maybe also for real trades)

Note: for support questions, please join our Discord server

I'm submitting a ...
[x ] bug report
[ ] feature request
[ ] question about the decisions made in the repository

Action taken (what you did)

Expected result (what you hoped would happen)

Actual result (unexpected outcome)

Other information (e.g. detailed explanation, stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc)

Stochrsi and rsi were both changed from rsi.rsi to result.rsi to allow for simple easy export to api for ui charting. You can do a simple find replace in your strat and change rsi.rsi to result.rsi

Well, actually, it seems it should be rsi.result, I was about to submitt a patch, but found this: https://github.com/askmike/gekko/pull/1172/commits/f6e293c60708920ae63d636697dc0b87cd0f797e

Ahhhh yes.. Sorry a tad bit of dyslexia on my part... rsi.result is correct thanks @allbinmani

If you are still having issues please comment here what the issue is :)


Data Perf Closed Alpha [April 4th]

Python code that someone knowledgeable could possibly get to run
~6 people do this and give this feedback
No dependencies on MLCube
Benchmarks: data selection for image classification, data selection for keyword reco

No submissions or feedback yet, so in progress


irobot_create_msgs: 3.0.0-2 in 'jazzy/distribution.yaml' [bloom]

Increasing version of package(s) in repository irobot_create_msgs to 3.0.0-2:

upstream repository: https://github.com/iRobotEducation/irobot_create_msgs.git
release repository: https://github.com/ros2-gbp/irobot_create_msgs-release.git
distro file: jazzy/distribution.yaml
bloom version: 0.12.0
previous version for package: 3.0.0-1

irobot_create_msgs
* Merge pull request #17 <https://github.com/iRobotEducation/irobot_create_msgs/issues/17> from iRobotEducation/16-broken-link-in-the-readme
  Fix broken link about ROS 2 interfaces
* Fix broken link about ROS 2 interfaces
* Contributors: Steven Shamlian

Holding for Jazzy sync


Unexpected [] behavior compared to other access patterns

For top level keys you can use symbols, strings, or dot notation:
> Setting[:admin_auth]
=> {"url"=>"http://localhost:5100", "secret"=>"..."}
> Setting['admin_auth']
=> {"url"=>"http://localhost:5100", "secret"=>"..."}
> Setting.admin_auth
=> {"url"=>"http://localhost:5100", "secret"=>"..."}

For nested keys can use symbols-in-brackets, but not strings-in-brackets
> Setting.admin_auth[:url]
=> nil # surprise!
> Setting.admin_auth['url']
=> "http://localhost:5050"

If you call the top level key like a method, you can use symbols or strings as the argument
> Setting.admin_auth(:url)
=> "http://localhost:5050"
> Setting.admin_auth('url')
=> "http://localhost:5050"

You cannot call nested keys like methods
> Setting.admin_auth.url
NoMethodError: undefined method `url'

The "gotcha" here is using brackets with symbols, which could surprisingly not return a value. There are a few ways to address this inconsistency, but given the existing functionality that already works with both string and symbol, I'd suggest we recursively modify the Setting object so that all [] methods behave the same.

Suggestion 1. At least all nested keys should respond to both [sym|string] access equally
Suggestion 2. All keys should respond to the same methods equally, i.e. make all keys act like top level keys by responding to dot notation, method calls formation, and [string|sym] access.

Suggestion 2 is the most symmetrical, but also will require more monkey patching of Ruby core functionality. I'm leaning toward suggestion 1.
Once we have agreement on the approach I can work on a fix.

but also will require more monkey patching of Ruby core functionality.

Could you expand on this a little? Fittings could return a Hashie::Mash or something along those lines, which shouldn't require any monkeypatching.
(My personal vote would be for deprecating Fittings, which is more trouble than it's worth, but I understand that's another question.)

@mboeh Ah, I was not familiar with that gem. Looks like that's what the top level is wrapped in, so if we recursively wrapped all keys with Hashie::Mash that seems like a good option.

I think that would be the least surprising solution. In any of these cases, we'll probably need to make it a new major version, though, in case anybody has code out there assuming that these methods return regular Hashes (I very well might have some myself).


Support go 1.18beta1

Would love to use sonic to replace standard json marshalling.  I see funcdata_invalid is explict about 1.18 support.  What's the timeframe and concerns with 1.18?  Thanks!

Since internal APIs of the beta version is unstable, we will follow up when the stable version is released


[BEAM-1769] Travis should run all tox tests

Be sure to do all of the following to help us incorporate your contribution
quickly and easily:

[ ] Make sure the PR title is formatted like:
[BEAM-<Jira issue #>] Description of pull request
[ ] Make sure tests pass via mvn clean verify. (Even better, enable
Travis-CI on your fork and ensure the whole test matrix passes).
[ ] Replace <Jira issue #> in the title with the actual Jira issue
number, if there is one.
[ ] If this contribution is large, please file an Apache
Individual Contributor License Agreement.

R: @aaltay PTAL

LGTM. (Let's wait for Travis/Python tests to pass.) Thank you.

Coverage increased (+0.007%) to 70.155% when pulling 82d8b31ebab34c3ea200b256244931dff723e2a9 on sb2nov:BEAM-1769-travis-should-run-all-tests into 4ffd43ed7728c51f6af0b40970b741cc961e9636 on apache:master.

@aaltay the python tests passed. The java ones are failing on other PRs as well so might be a separate issue.


[Feature Request] Output JSON

It would be great if rclone could output JSON (with a flag), so if a script wanted to process the output it could easily.

Which output are you interested in?

The output of commands such as: ls and lsd

That would be relatively easy. Fancy giving it a go?

I had a look before created this request and I kind of got lost in the code. Care to point me in the right direction?

In fs/operations.go examine the ListLong function.
You'd want to write a variant of that and call it from cmd/ls/ls.go when a --json flag is set.
Something like that!

After a few hours of playing with this, it looks to be a little beyond my skill set. As rows are currently being printed as needed to the console, there isn't a definitive array of values to get. There would need to be a way to collect all of the rows from the data source, then the array can be converted to JSON.

@Wundark
I would encode each line at a time, so at the start print a [ then encode each line then print a ] at the end.

This feature would be really helpful for me. I use rclone from PowerShell a lot and have to manually parse the output. But if rclone had --json I could do something like $fileList = rclone ls remote: | ConvertFrom-Json

@ncw

I would encode each line at a time, so at the start print a [ then encode each line then print a ] at the end.

May i suggest to do a json stream with one json object per line.
Doing so the client reader of the son does not need to wait until the end of the backup to interpret the json feed.
So given that output, (-vv)
2017/03/11 12:59:34 INFO  :
Transferred:   7.328 MBytes (62.472 MBytes/s)
Errors:                 0
Checks:                 0
Transferred:            0
Elapsed time:       100ms
Transferring:
 * "file1": 86% done, 0 Bytes/s, ETA: -
 * "file2": 21% done, 0 Bytes/s, ETA: -
 * "file3": 14% done, 0 Bytes/s, ETA: -
 * "file4": 11% done, 0 Bytes/s, ETA: -

2017/03/11 12:59:34 INFO  : file1: Copied (new)
2017/03/11 12:59:34 INFO  : folder2/some/other/emptyfile2: Copied (new)

Rclone would return three objects,
{...stats}
{copied + new + path}
{copied + new + path}

@mh-cbon interesting idea.  That is a whole new level of JSON-ness - I've interpreted this issue as being about just having a version of ls which outputs JSON

really interested in using this feature as currently the output of ls is a bit difficult to parse into a mysql db because there seems to be no way to specify the desired formatting from ls so it just seperates by space, but weirdly the first field which is the filesize in bites is center aligned when piping out to a text file?
is there a work-in-progress version of this json output? Or is there any other way to tell the rclone ls command what type of formatting is desired? EG comma separated at the least?
Would be great to be able to output the dates and mime type as well!
Looking forward to using this as it would help with using a better advanced search system than the joke-of-a-search that is currently implemented on dropbox

I've implemented a new command lsjson in this beta - let me know what you think.
https://beta.rclone.org/v1.36-185-g64662bef/ (uploaded in 15-30 imins)

This is fantastic, thank you! Now I can rclone lsjson | ConvertFrom-Json in PowerShell to really easily work with GDrive in PS!
Soon I'll be able to throw away my terrible PowerShell rclone parsing code :)

Generally speaking, rclone should have this JSON flag for every available command, such as listremotes.
Is an global approach already there?

@schui95 there isn't a global --json approach yet.  However there are a lot commands which do dump JSON rclone config dump for instance is a superset of rclone listremotes and rclone config providers will show how to configure each backend.

@ncw Thank you for this superset!

A --json flag would be fantastic for the entire CLI!
Here is a quick'n'hacky solution for viewing totals from rclone check in a JS API:

const ids = ['matching_files', 'differences_found', 'files_missing', 'errors_while_checking'];
stderrStr.split('\n').forEach( line => {

	ids.forEach( id => {
		let i = line.indexOf(id);
		if (i == -1) i = line.indexOf( id.replace(/_/g, ' ') );
		if (i != -1) {
			const ii = line.lastIndexOf(':');
			if (ii != -1) {
				let num = line.substring(ii + 1, i);
				out[id] = parseInt(num);
			}
		}
	});

});

console.log('----------')
console.log(out)
console.log('----------')

ie.
{
  files_missing: 5,
  differences_found: 5,
  errors_while_checking: 5,
  matching_files: 6
}


Fails to build on 64bit dmd 2.056

Misc.d(137): Error: cannot implicitly convert expression (locatePattern(str,delim,0LU)) of type ulong to int

That one's fixed, but I'm keeping this report open. I have yet to test 64bit builds, but I will soon.

Tested and works on Ubuntu x64.


DDG Privacy Essentials breaks WeVideo screen recording

Description
We cannot enable file access for WeVideo under Chrome for macOS or on Chromebooks. Works on Windows.
Steps to Reproduce

Install DDG Privacy Essentials via GSuite in an OU of which you are a member. Or install it manually, if you don't use GSuite.
Reset all site settings in Chrome Settings.
Go to wevideo.com and login. Create a new account using Google if necessary.
Once logged into WeVideo, click on the Dashboard tab at the top of the page.
Click the Recording item.
In the Record From dialog, choose Webcam. Click Next.

Expected behavior:
Chrome should ask to allow WeVideo access to camera, microphone, and filesystem.
Actual behavior:
Chrome asks for access to camera and microphone, but not filesystem, and WeVideo puts up an error alert that reads 'Allow Access. WeVideo needs permission to record. Follow these instructions and try again.' Clicking Got It and trying again makes no difference.
This behaviour continues until DDG Privacy Essentials is disabled or removed. After that, everything works as expected.
Note that this happens even if the site is marked as unprotected in DDG Privacy Essentials and reloaded.
Versions

Extension: 2020.10.21
Browser: Chrome, latest version.
OS: macOS or ChromeOS.

Additional Information
This issue is 100% reproducible on any device running macOS or ChromeOS.

Thank you for the detailed report, I was just able to repro the issue on my machine. Not totally clear what's causing it yet, but I suspect it's related to the fingerprinting protections we recently shipped. I'll make sure this gets to the right person and let you know when we've shipped a fix.

Just wanted to let you know that we've identified a fix and will be shipping it in an update next week. Apologies again for causing the breakage.

Cheers! Many thanks for the quick fix.


Extension issue

Issue Type: Bug
Extension Name: live-sass
Extension Version: 5.0.4
OS Version: Windows_NT x64 10.0.22000
VS Code version: 1.57.1

:warning: We have written the needed data into your clipboard. Please paste! :warning:

Please paste the data from your clipboard. Thanks

Closing as more info required


Dependencies not installed or yarn dev not working

Svelte and all other dependencies were not installed.
yarn dev is not working instead shows dependencies not installed error

The reason is yarn command installs packages only after verifying the yarn.lock file. The yarn.lock file holds all the info about installed packages. Since, this boilerplate contains yarn.lock from my device it has the list of installed packages in my device. So, while running yarn it consider all packages to be installed already and skips them. if you run yarn --force it will skips the yarn.lock verification and installs all the packages locally


[IOSP-178] Ensure tags deploy the docker image

The previous logic was faulty as tags are not enabled by default and they need to be enabled on each job part of the workflow.

😄 #guilty
I'm curious how you're gonna name your next commit btw… "Naming is hard – Volume 3" ? 😜

I was thinking in Episode III but Volume 3 works too!


problem when masking empty field

Hi,
Is it possible to force maskMoney to apply masks on fields which already has a value when the page loads? It running only when i put the focus at the field.
Thanks!

Using $('#field').maskMoney('mask') the issue was solved. Thanks!

I got another issue, if the field has a content, everything is okay, but if it is empty, i got "0" instead of the placeholder. Is there a way to solve this?

can you provide a test case?

Hi plentz,
I created a test case here.
I will be glad if you can take a look.

@masimao thanks. I will take a look at it this weekend.

@masimao the problem is harder than I thought. Currently I'm fighting another bug, but I want to include a fix for this in the next release. If you want to help, our test coverage is quite good right now, so you just need to download the code and open the test/index.html :)
(the 2 failing tests are the ones that I'm fighting right now)

@plentz Many thanks for your attention! I will try to help with tests!


Possible to run WhisperS2T without GPU? (Issue with CUDA)

I have received this error when trying to run with CTranslate2:
Fetching 4 files: 100%|██████████| 4/4 [00:00<?, ?it/s]
Traceback (most recent call last):
File "C:\Users\xxx\PycharmProjects\LifeLogs\LifeLogsHandler\scripts\audio\whisper_setup.py", line 3, in
model = whisper_s2t.load_model(model_identifier="large-v2", backend='CTranslate2')
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xxx\PycharmProjects\LifeLogs\LifeLogsHandler\venv\Lib\site-packages\whisper_s2t_init_.py", line 44, in load_model
return WhisperModel(model_identifier, **model_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\xxx\PycharmProjects\LifeLogs\LifeLogsHandler\venv\Lib\site-packages\whisper_s2t\backends\ctranslate2\model.py", line 80, in init
self.model = ctranslate2.models.Whisper(self.model_path,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: CUDA failed with error CUDA driver version is insufficient for CUDA runtime version
Process finished with exit code 1
I see that there is a way to configure CTranslate2 to not require CUDA (as I am running from a simple laptop with CPU, for testing, before running this code on some cloud processing system), but I do not know if there is a way to access that without rewriting the CTranslate2 source code?
I apologize if I am misunderstanding the problem. Thank you for your help.
Best,
tlc

i'm interested too

It is possible to use the CPU instead of CUDA. Just give the function the respective model kwargs:
if not torch.cuda.is_available():
    logger.warning('Graphics card not available. Switching to CPU. Transcription will be significantly slower.')
    model_kwargs['device'] = 'cpu'
    model_kwargs['compute_type'] = "float32"

And then load the model:
model = whisper_s2t.load_model(model_identifier=model, backend=backend, **kwargs)
For reference, have a look at the model file:


IPNS - Username association via external centralized service

The problem is: how can I find a user if I don't know his Node ID?
I think we should have a system that resolves names to IPNS IDs, of course it has to be centralized so users can register their names, but then the user can choose which service to use in his application.

Identity is a big, big topic. i've a datastructure in mind for this, similar to (and for use with) POST.
i dont think we need a centralized though, we just need byzantine consensus, and even at that we only need federated bizantine consensus (stellat).
i suggest do something simple for now, like email or OAuth, but leave room for upgrading this

For now the plan is:

a user is identified by his node ID
a user will be able to include "proofs" into his profile, to prove that he also has access to social media accounts like twitter, facebook. Just like keybase.io does it.

The real issues are:

A user wants to be able to access his identity from multiple devices: looks like you have big plans for this, so I won't try to solve this problem on my own :+1: maybe just a workaround such as istructions to transfer the keys to another machine
associating a name such as fazo96 or jbenet to an IPNS name or an identity. I thought about an external centralized service to register names, but I probably won't work on this since it's too much hassle for what it's worth

Thanks for your input :+1:


PostgreSQL dialect support

While this is a high hanging fruit and I don't think it's a highly demanded feature, there is a room to support the PostgreSQL database dialect with native RPC(not PostgreSQL wire protocol).

I'm not sure if supporting PostgreSQL dialect in spanner-cli is a good approach.
We can use PGAdapter to use psql against Cloud Spanner database, so it should be able to cover most of the statements in PostgreSQL dialect.

I have reconsidered potential usecases of this feature.
I suspect that psql with PGAdapter does not support Cloud Spanner's native execution plans. Therefore, it seems that spanner-cli's PostgreSQL interface support has value as a plan viewer.
Of course, this is not a high priority feature, but I think there are use cases that I haven't imagined yet, so I think it's best to leave this issue open.


remove kiali url from operator

@ferhoyos this is just a draft PR to show what needs to be done to remove the kiali.url configuration setting. We can merge this as-is or you can add this to your PR. If you prefer, I can create a PR to your PR with this information so it would be easier for you to integrate this in your work. Let me know what you want to do with this.

I think it is better to create a PR to my PR, so I can check that plugin operator installation is ok with my PR code (except for the cluster param issue, but that's another story).

I did run this and things works. It even was able to get the kiali version using the service directly (not the route).
$ kubectl get ossmconsoles.kiali.io ossmconsole -n ossmconsole -o jsonpath='{.status.environment.kialiVersion}{"\n"}'
v1.71.0-SNAPSHOT

I think it is better to create a PR to my PR, so I can check that plugin operator installation is ok with my PR code (except for the cluster param issue, but that's another story).

OK. Stay tuned for that - I'll create that shortly.


add handler env to gpt language server

This makes the configuration self contained, also I chose codeium as a placeholder, because it just works without any token, so the user can get started immediately, obviously you can disagree with that and we can set it to openai

First of all, thanks a lot for the PRs. I've been sick the past few days so I'm just catching up on them.
I'm going to have to decline this one though unfortunately. If you need to make changes to the readme, it's in assets/template.md as I'm updating the version in the build step. Probably not the best approach though.
Also, the chat/actions handler isn't supported for Codeium yet, so I don't want to make it the default just yet.


add browserify/webpack support

quick hack for installing as module from npm

Hi there,
Looks great - but you know you're going to have to do some more changes to be able to push it to npm and such.... such as increasing versions , minifying and registering tags.
There's actually a gulp task for that called 'version' it should get you started.
10x,
Shahar.

you are allready publishing this package on npm
you are allready maintaining your package.json and increase versions in it

this PR is just for people using browserify and webpack to use this package as easy as require('ng-device-detector')
i dont think there is anything else to do here?

sure but your changes will not be published to npm unless a new version
number is issued.
also for it to publish to users that use bower instead the other steps are
needed.
On Sat, Oct 31, 2015 at 6:46 PM ctaepper<EMAIL_ADDRESS>wrote:

you are allready publishing this package on npm
you are allready maintaining your package.json and increase versions
in it

this PR is just for people using browserify and webpack to use this
package as easy as require('ng-device-detector')
i dont think there is anything else to do here?
—
Reply to this email directly or view it on GitHub
https://github.com/srfrnk/ng-device-detector/pull/38#issuecomment-152748172
.

i realize you have to create a new version for my PR to kick in...
these changes do not affect bower users. this is relevant for browserify/webpack only

sorry for the delay :)


qgis: 3.6.10 -> 3.6.13

Motivation for this change
This is based on #142685 and replaces it since a new version is now out.
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[X] Fits CONTRIBUTING.md.

3.16.14 is out. @lsix Please fix commit message s/3.6/3.16/g.


Check how many people signup / reportback for a given broadcast

SMS admins need the ability to check for a given MoCo broadcast ID, how many people have signed up, started reportback & finished a reportback.

Resolved by https://github.com/DoSomething/gambit/pull/757

 Query for total signups & rb's from a broadcast


repeat in in collector

In unordered queries or if there is only 1 shard it is possible to repeat
directly in the Collector instead of caching the rows in the RowMerger.

otherwise ack if benchmarks still don't lie

ack


[dv,chip] Fix tests failing for flash_ctrl_testutils change

A recent change I made to flash_ctrl_testutils missed updating
many tests, which started failing after the change.
Signed-off-by: Guillermo Maturana<EMAIL_ADDRESS>

My recent change to flash_ctrl_testutils should have also changed these tests. My apologies.

The change in https://github.com/lowRISC/opentitan/pull/13810 changed many flash_ctrl_testutils functions return false on error, and this change propagates that to more tests.


Posix Does Not Alert Users of Undefined Symbol During Load

The posix OSAL implementation of the OS_ModuleLoad API simply returns OS_ERROR when a bundle fails to load.  This return error code provides no information for users to troubleshoot the cause of the load failure.  In many cases the load error is due to an undefined symbol in the load bundle.  The undefined symbol name may be captured in the string returned by the dl_error() function.  The information captured in the call to dl_error() should be printed via the OS_printf function and/or easily made accessible to users for troubleshooting.
Note: The VxWorks OSAL implementation of the OS_ModuleLoad API (when OS_DEBUG_PRINTF is defined) will print information to the console when a module cannot be loaded.  Specifically the following OS_printf statement is used:
OS_printf("OSAL: Error, cannot open application file: %s\n",translated_path);

Imported from trac issue 170.  Created by sstrege on 2016-07-06T14:09:42, last modified: 2019-04-23T15:45:34

Trac comment by abrown4 on 2016-07-22 15:26:26:
Dupe of #169??

Trac comment by jphickey on 2019-03-26 09:14:51:
This is an exact duplicate of #169.


Sessions persist between jobs on the same queue worker

Laravel Version: 5.3.31
PHP Version: 7.1.7
Database Driver & Version: any

Description:
Multiple jobs running on the same queue worker (php artisan queue:work) will share the same session, even if they are completely independent. Although the concept of a session within jobs does not make sense and therefore should not be relied on, this issue has become relevant to some of my code:
I use Auth::user() in a lot of places (e.g. repositories, which are shared between the web component and job component), and expected it to return null while inside a job. I encountered this bug when an independent job running before called Auth::setUser(...), having side effects on all subsequent jobs.
I cannot imagine that this is desirable behavior for anyone. The jobs should run independently of each other, without side effects.
As a mitigation, we could either flush the session between each queue job or even issue a completely new session id.
Steps To Reproduce:
Create a job that sets some session variable. Create a second job that reads this session variable. Queue both jobs after another, run php artisan queue:work to process both. You will observe that the second job will be seeing the value from the first.

Yeah - using sessions inside a queue is likely to lead to unexpected behavior.
Your best bet is to try using queue:listen instead of queue:work. Rebooting the framework should give you a clean slate each time.

Although the concept of a session within jobs does not make sense and therefore should not be relied on

Yes it doesn't make sense at all, sessions aren't available during jobs execution, sessions are tied to the web middleware group, running a job under queue:work or queue:listen doesn't give you access to sessions correctly
You'll need to update your app and make sure sessions receive what they need to run via a serialized object. Also I'm afraid it's a bad idea to use sessions in repositories. Sessions aren't available all the time, don't rely on it in code that's not HTTP only.


Add ability to alert when humans access secrets

Release Note

Add ability to alert when humans access secrets

/assign @yegle

/assign @yegle


Cannot test local on windows

I have xampp installed and have setup everything like described. Everything works, except I cannot run any program. Everything does get stored in the tmp-folder and I also can get it back using deeplinks and the embed, but when I press "build+run" it says:
Build failure.
Class not found : Test

Any pointers on how to solve this?

I would guess it has to do with path separator hard-coded to /, for example here : https://github.com/clemos/try-haxe/blob/master/src/api/Compiler.hx#L57
You may want to replace all / with haxe.io.Path.backslash ? '\' : '/', or even better, use the Path API when possible.
Unfortunately I won't have time to debug this myself, especially on Windows :p


Use the new shiny tile-decorator

Switches to using the new tile-decorator module.
Requires additional keepKeys param in the url (e.g. keepKeys=foo,bar). Features:

all keys/values that aren't in keepKeys are removed
features with the same type + tags are merged into one feature with multiple parts, closes #2
parts within one feature are sorted by proximity for better VT compression
fixes a bug with number encoding, closes #3

cc @aaronlidman @willwhite @mick

Nice! :bow:

all keys/values that aren't in keepKeys are removed

What's the use case for this versus removing the keys in the source (undecorated) tiles? Is this for if you want to remove the key  field that's used for joining?

Is this for if you want to remove the key field that's used for joining?

Yes, in addition to the case where you don't have easy control over undecorated tiles. I could make it optional but it'll require some more code in tile-decorator, so I suggest keeping it required for now if no one objects.

:+1: no objections from me!

awesome! :clap:

Awesome @mourner this is fantastic.


GM Vision does not stick between scenes

After enabling the GM Vision feature on a scene, if I go to another scene GM vision stops working and must be disabled/re-enabled. Nothing shows up in the console when this happens.

Not able to reproduce. Is it possible there's a module conflict?
video

Looks like it's a conflict with SmallTime, actually.


TODO: Report external IP? in LibP2PNetwork.java

This comment appears in LibP2PNetwork.java. Should be done or comment removed or handled via the backlog.
            .setObservedAddr(
                ByteArrayExtKt.toProtobuf( // TODO: Report external IP?
                    advertisedAddr.getBytes()))

Dup of #1854